I have created a package for internal use. In my setup file I have something like:
from setuptools import setup, find_packages
setup(
name='myutils',
version='0.3',
description='Set of utils for these projects',
packages=find_packages(),
install_requires=[
'requests',
'arrow',
'slackclient'
]
)
It works well and it installs all the packages in install_requires
smoothly.
However, from time to time some of these packages may need an update, so I expected pip install --upgrade myutils
to update the packages in install_requires
, while it does not.
Is there a way to do some kind of pip install --upgrade --recursive myutils
or similar, so that the inner packages are installed as well? The only workaround I can think of is to define a minimum package version in the form of package>=that_version.X.y.z
, but it does not seem to be the most recommended way to do it.