I feel like these are stupid questions but I cannot seem to find a straight answer.
I'm updating some packages on pypi and am having difficulty defining requirements.
I'm initially defining the requirements in a requirements.txt that then gets parsed in setup.py and install_requires gets set to the contents of requirements.txt. Some of the output from python setup.py sdist build is below. The resulting requires.txt in jsui.egg-info is:
However, when I upload this to pypi with "python setup.py sdist upload" I'm not seeing these requirements listed nor does pip installing the package install the requirements.
Thanks for your help.
writing requirements to jsui.egg-info/requires.txt
writing top-level names to jsui.egg-info/top_level.txt
writing dependency_links to jsui.egg-info/dependency_links.txt
reading manifest file 'jsui.egg-info/SOURCES.txt'
writing manifest file 'jsui.egg-info/SOURCES.txt'
warning: check: missing required meta-data: url
making hard links in jsui-0.0.1...
hard linking README -> jsui-0.0.1
hard linking setup.py -> jsui-0.0.1
hard linking jsui/__init__.py -> jsui-0.0.1/jsui
hard linking jsui/serve.py -> jsui-0.0.1/jsui
hard linking jsui.egg-info/PKG-INFO -> jsui-0.0.1/jsui.egg-info
hard linking jsui.egg-info/SOURCES.txt -> jsui-0.0.1/jsui.egg-info
hard linking jsui.egg-info/dependency_links.txt -> jsui-0.0.1/jsui.egg-info
hard linking jsui.egg-info/requires.txt -> jsui-0.0.1/jsui.egg-info
hard linking jsui.egg-info/top_level.txt -> jsui-0.0.1/jsui.egg-info
Creating tar archive
removing 'jsui-0.0.1' (and everything under it)