from setuptools import setup install_requires = [] with open('./requirements/base.pip', 'r') as f: install_requires = [x.strip() for x in f.readlines()] tests_require = [] with open('./requirements/test.pip', 'r') as f: tests_require = [x.strip() for x in f.readlines()] # see setup.cfg for metadata and other options properties config = { 'python_requires': '>=3.7, <4', 'tests_require': tests_require, 'install_requires': install_requires, # 'package_data': {'delphi_api': ['static/*']}, } setup(**config)