[Distutils] Confused by setuptools, distribute, disutils and distutils2

Alex Clark aclark at aclark.net
Tue Jan 29 16:17:01 CET 2013


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/




More information about the Distutils-SIG mailing list