diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 00000000..0424c85e --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +pygame +ppb-vector +dataclasses; python_version < "3.7" diff --git a/setup.py b/setup.py index 7d3052fb..86c97b8c 100644 --- a/setup.py +++ b/setup.py @@ -5,16 +5,15 @@ def readme(): with open('README.md') as file: return file.read() +def requirements(): + with open('requirements.txt') as file: + return [line.strip() for line in file] setup( name='ppb', version='0.5.0', packages=['ppb', 'ppb.systems'], - install_requires=[ - 'pygame', - 'ppb-vector', - 'dataclasses; python_version < "3.7"' - ], + install_requires=requirements(), python_requires=">=3.6", url='https://github.com/ppb/pursuedpybear', license='Artistic-2.0',