Ignore distutils
. If you want to create a package that specifies dependencies for a tool like pip
to go out and find for you, you need to base your setup.py
of off setuptools
instead.
setuptools
dependencies are listed in install_requires
, which takes a list:
setup(name='MyStuff',
version='1.0',
install_requires=['progressbar'],
# ...
)
which should be distributions of their own. os
and sys
are modules included with Python and should not be listed.