Comments (9)
cc @ghisvail
from imageio.
I believe you have 2 options here:
- add the content of the docs/ folder to setup.py
package_data
attribute
or - use a MANIFEST.in file
Since you seem to be using a single master branch, I'd propose you just branch out from the 1.0
commit, add the docs, tag it as 1.0+docs
and merge back to HEAD
. You probably don't need to release 1.0+docs
to PyPI. For me, the tag is enough to consider it an official tarball for Debian.
Cheers,
from imageio.
I'll get on it asap. I have another small issue to fix that helps make imageio easier to adopt. Will probably release a 1.0.1 by the end of this week.
from imageio.
Hi Almar, any updates on this ? Otherwise, I can just submit the pkg for 1.0.0 and later make an update to it with 1.0.1 with the documentation included.
Cheers,
from imageio.
Sorry about the delay. I guess I was hoping I could fix the test thing as well. Anyway, there is now a tag v1.0+docs
that has a setup.py that also puts docs and tests in the dist package.
from imageio.
... and I used data_files
instead of package_data
, so the files end up in the dist package, but or not installed. Let me know whether this does the trick.
from imageio.
It seems that building the sphinx documentation sill requires to download external resources. So it still fails with v1.0.0+docs
.
PYTHONPATH=. http_proxy='127.0.0.1:9' sphinx-build -N -bhtml docs/ build/html
Making output directory...
Running Sphinx v1.2.3
Exception occurred:
File "/tmp/buildd/imageio-1.0+docs/imageio/core/fetching.py", line 115, in _fetch_file
'Dataset fetching aborted (%s)' % (url, e))
IOError: Error while fetching file https://github.com/imageio/imageio-binaries/raw/master/freeimage/libfreeimage-3.16.0-linux64.so.
Dataset fetching aborted (<urlopen error [Errno -2] Name or service not known>)
from imageio.
Ah yes. The docs makes a lot of use of autodoc, so imageio is imported, which triggers a download. So I guess we need the no-internet-required version for this too. I am working on it #45.
from imageio.
FYI, I submitted v1.0
for inclusion in Debian, without the test suite and documentation. I notified that you were working to include them in future releases.
from imageio.
Related Issues (20)
- imread() fails on HTTPS, code example from documentation HOT 3
- 8bit grayscale now loaded as RGB HOT 5
- 2.31.4: documentation build fails HOT 1
- iio pyav plugin crash along with python when handling a webm file, setting format to rgba HOT 2
- It does not seem to support avif image format HOT 1
- Support for Pillow v10.1 (re: setting `image.mode`) HOT 8
- Inconsistency when reading floating point .exr image file HOT 3
- imageio.imread changes the values of graycale pixels, try to read 12-bit png grayscale image. HOT 8
- super slow video reads HOT 6
- imageio v2.33.0 requieres Pillow>=9.1.0 for GIFs HOT 1
- Trouble using freeimage plugin on MacOS arm64 HOT 2
- 2.33.1: pytest is failing in 5 units HOT 1
- [Question] What tonemapping method does the imageio library use when reading HDR images? HOT 2
- title of the gif got stacked together HOT 2
- UnicodeDecodeError if metadata is not UTF-8 encoded (pyav plugin) HOT 3
- [request] more color/palette control on GIF writing HOT 3
- Transition from v2 ffmpeg read/write to v3 pyav read/write: quality, batching HOT 7
- AttributeError: 'SeekableFileObject' object has no attribute 'readline' HOT 1
- Find out what kwargs are available for each function
- Only partial DICOM layers loading in Google Colab using imageio.volread HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imageio.