I wrote a python module that depends on openpyxl. I want openpxyl to be installed as a dependency automatically using setuptools. I read that the correct way to do this is to include the following in the setup.py script:
setup(name='methpipe', version=find_version("lala", "__init__.py"), description='Utilities', author='Jonathan T', author_email=' jt@lala.com ', url='https://git.com...', packages=find_packages(), install_requires=[ 'openpxyl = 2.3.3', ], scripts=["bin/submit_run_full.py"], cmdclass=dict(install=my_install) )
So, I packed my module using python setup.py sdist , took the * .tar.gz file, unpacked it, and then ran python setup.py install , and openpyxl is NOT installed !!!
What am I doing wrong here?
python pip setuptools
jmtoung
source share