<div>
                    packaging (in 3.3) and distutils2 (2.x-3.2) is a new metadata format for python
                </div><div>packages. It gets rid of setup.py and it includes a way to specify the requirements</div><div>that your package needs. This will show up on PyPI/Crate.</div>
                <div></div>
                 
                <p style="color: #A0A0A8;">On Tuesday, March 20, 2012 at 8:01 AM, Andrea Crotti wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><div>On 03/20/2012 11:18 AM, Ben Finney wrote:</div><blockquote type="cite"><div><div>Andrea Crotti<<a href="mailto:andrea.crotti.0@gmail.com">andrea.crotti.0@gmail.com</a>>  writes:</div><div><br></div><blockquote type="cite"><div><div>When I publish something on Pypi, is there a way to make it fetch the list</div><div>of dependencies needed by my project automatically?</div><div><br></div><div>It would be nice to have it in the Pypi page, without having to look at the</div><div>actual code..</div></div></blockquote><div>Sadly, no. The metadata available for packages on PyPI does not include</div><div>information about the dependencies.</div><div><br></div><div>(I'd love to be wrong about that, but I'm pretty certain that for most,</div><div>if not all, packages that's the case.)</div><div><br></div><blockquote type="cite"><div>Any other possible solution?</div></blockquote><div>All the solutions I've seen involve fetching the full package in order</div><div>to unpack it and *then* parse it for dependencies.</div><div><br></div><div>This is very sub-optimal, and I believe people are working on it; but</div><div>fixing it will at least require adjustment to all existing packages that</div><div>don't have dependencies in their metadata.</div></div></blockquote><div><br></div><div>Yes that's not so nice, many projects write clearly the dependencies in </div><div>the README file,</div><div>but that's annoying because it might get outdated.</div><div><br></div><div>And it's also sad that it's not automatically fetched from setuptools, </div><div>because it's just</div><div><br></div><div>python setup.py egg-info && cat package.egg-info/requirements.txt</div><div><br></div><div>to actually extract them.</div><div>Should I file a bug maybe or is completely not feasible?</div><div>-- </div><div><a href="http://mail.python.org/mailman/listinfo/python-list">http://mail.python.org/mailman/listinfo/python-list</a></div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>