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()] with open('./VERSION', 'r') as f: version = f.read() # see setup.cfg for metadata and other options properties config = { 'version': version, 'python_requires': '>=3.7, <4', 'tests_require': tests_require, 'install_requires': install_requires, # 'package_data': {'es_utils': ['static/*']}, } setup(**config)