Closed bhaddow closed 3 years ago
They dependencies are also listed in the README, which is unnecessary. And the README says python 3.5, whereas setup says python 3.6.
Hello, I don't think there's any "preferred" solution, but I would do it simply like:
with open('requirements.txt') as f:
install_requires = f.read().splitlines()
#...
setup(
install_requires = install_requires
)
Both setup.py and requirements.txt have the list of package dependencies. They can easily get out of sync (filelock was missing from setup.py). I am unsure what the pythonic solution to this is.