<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hi,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I feel like these are stupid questions but I cannot seem to find a straight answer.</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">In brief,</div><div style="font-family:arial,sans-serif;font-size:13px"><div><br></div><div>1) what is egg-info/requires.txt used for?</div>
<div>2) how do I properly define requirements for pypi?</div></div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">The details are:</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">I'm updating some packages on pypi and am having difficulty defining requirements.</div><div style="font-family:arial,sans-serif;font-size:13px"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:13px">One of the packages in question is: <a href="http://pypi.python.org/pypi/jsui" target="_blank">pypi.python.org/pypi/jsui</a></div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">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:</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">flask</div><div style="font-family:arial,sans-serif;font-size:13px">wsrpc</div><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">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.</div>
<div style="font-family:arial,sans-serif;font-size:13px"> </div><div style="font-family:arial,sans-serif;font-size:13px">Thanks for your help.</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">
==== python setup.py sdist build partial output ====</div><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><div>running sdist</div><div>running egg_info</div>
<div>writing requirements to jsui.egg-info/requires.txt</div><div>writing jsui.egg-info/PKG-INFO</div><div>writing top-level names to jsui.egg-info/top_level.txt</div><div>writing dependency_links to jsui.egg-info/dependency_links.txt</div>
<div>reading manifest file 'jsui.egg-info/SOURCES.txt'</div><div>writing manifest file 'jsui.egg-info/SOURCES.txt'</div><div>running check</div><div>warning: check: missing required meta-data: url</div><div>
<br></div><div>creating jsui-0.0.1</div><div>creating jsui-0.0.1/jsui</div><div>creating jsui-0.0.1/jsui.egg-info</div><div>making hard links in jsui-0.0.1...</div><div>hard linking README -> jsui-0.0.1</div><div>hard linking setup.py -> jsui-0.0.1</div>
<div>hard linking jsui/__init__.py -> jsui-0.0.1/jsui</div><div>hard linking jsui/serve.py -> jsui-0.0.1/jsui</div><div>hard linking jsui.egg-info/PKG-INFO -> jsui-0.0.1/jsui.egg-info</div><div>hard linking jsui.egg-info/SOURCES.txt -> jsui-0.0.1/jsui.egg-info</div>
<div>hard linking jsui.egg-info/dependency_links.txt -> jsui-0.0.1/jsui.egg-info</div><div>hard linking jsui.egg-info/requires.txt -> jsui-0.0.1/jsui.egg-info</div><div>hard linking jsui.egg-info/top_level.txt -> jsui-0.0.1/jsui.egg-info</div>
<div>Writing jsui-0.0.1/setup.cfg</div><div>Creating tar archive</div><div>removing 'jsui-0.0.1' (and everything under it)</div><div>running build</div><div>running build_py</div></div></div>