On 2013-01-29 14:08:33 +0000, Vraj Mohan said:

If I need to build a package that depends on other packages installed
in PyPI, what should I use?


setuptools provides this functionality with the install_requires parameter e.g.:


setup(

   name='my_package',
   install_requires=[
       'other',
       'packages',
       'installed',
       'in',
       'PyPI',
   ]


distribute is a fork of setuptools that is more actively maintained, I would suggest using that. (And packaging plans for Python 3 are still in motion…)



--
Alex Clark · https://www.gittip.com/aclark4life/


_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to