Changes to make work with conda skeleton pypi jupyter-book
#315
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I tried to install this package using conda skeleton (see also) but ran into the error:
Traceback
It seems like (and I'm not really sure) that
conda build
isn't able to runsetup.py
becauserequirements.txt
isn't included with the source distribution uploaded to PyPI. So I added aMANIFEST.in
and an extrainclude_package_data
line in the call tosetup
. But admittedly I'm not sure whether this is sufficient to fix the error, nor am I sure how to test locally whether this would fix the error (since it seems likeconda skeleton
must pull the package remotely from PyPI).Anyway since there isn't yet a conda-forge conda package for this project (which is understandable, because it takes a really long time for PR's to staged-recipes to get looked at/reviewed, and even longer for them to get approved), ensuring that the PyPI distribution is properly configured to work with
conda skeleton pypi
seems like it would be a helpful intermediate step for users.