I have a clean python package that relies on 3 other python packages: I use distutils.core.setup to install.
This is my code from setup.py:
from distutils.core import setup
setup(
name='mypackage',
version='0.2',
scripts=['myscript'],
packages=['mypackage'],
install_requires=[
'netifaces > 0.5',
'IPy > 0.75',
'yaml > 3.10'])
I have indicated the modules I need with install_requires, but it seems to have no effect on startup
python ./setup.py install
How can I guarantee that the modules mypackage depends on are installed?
source
share