How to make uploaded package install binaries through internet ?

35 views
Skip to first unread message

蕭毅

unread,
Jul 19, 2018, 5:25:43 PM7/19/18
to virtualenv
Hi all:

I have a new Python package https://github.com/NAL-i5K/GFF3toolkit with new release.

In this new release, I have removed some binaries originally in git repo and make them been install through internet.
https://github.com/NAL-i5K/GFF3toolkit/blob/6cd86e007713f7ab0fbf07adc2caed88889056a9/setup.py#L22.

However, when I upload the package to PyPI through

python2 setup.py sdist
twine upload
--repository-url https://test.pypi.org/legacy/ dist/*

and install through

pip2 install --index-url https://test.pypi.org/simple/

It will invoke

python setup.py bdist_wheel

rather than sdist. 

It looks like the customized install command will not be run. Therefore, binaries file will not be downloaded and installed into site-packages.
How should I do to make it work ?

Thanks !
Reply all
Reply to author
Forward
0 new messages