diff --git a/requirements.txt b/requirements.txt index 6ef3ac7..9098b17 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -asyncio-dgram==1.2.0 -click==7.1.1 -dnspython3==1.15.0 -six==1.14.0 +asyncio-dgram>=1.2.0 +click>=7.1.1 +dnspython3>=1.15.0 +six>=1.14.0 diff --git a/setup.py b/setup.py index ba5c5ed..8feaad3 100644 --- a/setup.py +++ b/setup.py @@ -1,9 +1,11 @@ from setuptools import setup -# TODO: read requirements from file -install_requires = ["click", "dnspython3", "six"] +with open("requirements.txt") as f: + install_requires = f.read().splitlines() -tests_require = ["mock", "nose"] +with open("test-requirements.txt") as f: + tests_require = f.read().splitlines() + tests_require.pop(0) # remove '-r requirements.txt' line setup( name="mcstatus",