Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MAINT: setup.py: enable Cython generation for sdist in released versions
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
c012492
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, this was not the only problem. You still can't checkout a release tag in a repo and install it. I don't see a clean solution yet.
c012492
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps it should be some flag that is turned on only in sdist tarballs? Not sure how to do this properly...
c012492
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The best I can think of is to add something to the release scripts to modify setup.py inside the tarballs after they're written. But that's not very robust to changes in setup.py
c012492
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Checking for presence of a PKG-INFO file would probably work.