Closed cthoyt closed 7 years ago
Sorry, I accidentally posted to the wrong repo, what I posted was: I also just ran into this problem but only on Python 3. Installation on Python 2 works fine.
It's not usually obvious how a given package is uploaded to PyPI (usually with the built-in distutils
, or more preferred twine
). So I have an idea on why this might be the case:
setup.cfg
doesn't state that this code is universal for python2/python3 so perhaps it was just a mistake in manual addition of the extra files. This stackoverflow answer has a good explanation of which files get copied automatically without further information from a MANIFEST.in
file (all python modules, README.txt
, and test/test*.py
) which leads me to believe README.md
might not make it by default
I have uploaded a new package (3.0.11.19). Could you try it?
Just to be in the loop... is this the same build that you pushed to ndex-dev last friday? ThanksR
Sent from my Verizon Wireless 4G LTE smartphone
-------- Original message -------- From: Jing Chen notifications@github.com Date: 02/06/2017 4:17 PM (GMT-08:00) To: ndexbio/ndex-python ndex-python@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [ndexbio/ndex-python] Installation error (#2)
I have uploaded a new package (3.0.11.19). Could you try it?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/ndexbio/ndex-python","title":"ndexbio/ndex-python","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/ndexbio/ndex-python"}},"updates":{"snippets":[{"icon":"PERSON","message":"@jingjingbic in #2: I have uploaded a new package (3.0.11.19). Could you try it?"}],"action":{"name":"View Issue","url":"https://github.com/ndexbio/ndex-python/issues/2#issuecomment-277858228"}}}
Yes.
From: rpillich notifications@github.com Reply-To: ndexbio/ndex-python reply@reply.github.com Date: Monday, February 6, 2017 at 5:08 PM To: ndexbio/ndex-python ndex-python@noreply.github.com Cc: "Chen, Jing" jic002@soe.ucsd.edu, Comment comment@noreply.github.com Subject: Re: [ndexbio/ndex-python] Installation error (#2)
Just to be in the loop... is this the same build that you pushed to ndex-dev last friday? ThanksR
Sent from my Verizon Wireless 4G LTE smartphone
-------- Original message -------- From: Jing Chen notifications@github.com Date: 02/06/2017 4:17 PM (GMT-08:00) To: ndexbio/ndex-python ndex-python@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: Re: [ndexbio/ndex-python] Installation error (#2)
I have uploaded a new package (3.0.11.19). Could you try it?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/ndexbio/ndex-python","title":"ndexbio/ndex-python","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/ndexbio/ndex-python"}},"updates":{"snippets":[{"icon":"PERSON","message":"@jingjingbic in #2: I have uploaded a new package (3.0.11.19). Could you try it?"}],"action":{"name":"View Issue","url":"https://github.com/ndexbio/ndex-python/issues/2#issuecomment-277858228"}}}
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/ndexbio/ndex-python/issues/2#issuecomment-277868245, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ABfwdEzdCgE75yBT77sbV4GIkFmnYi3Bks5rZ8QMgaJpZM4L4bQa.
The install works for me now, thanks!
Works for me too!
I think you need to add a
MANIFEST.in
file (trypip install check-manifest
, runcheck-manifest
in the directory and check its suggestions) and also addinclude_package_data=True
to the kwargs ofsetuptools.setup
Originally posted in: https://github.com/ndexbio/ndex-python-client/issues/3