mozilla / taar-lite

A lightweight version of the TAAR service intended for specific deployments with reduced feature visibility.
Mozilla Public License 2.0
2 stars 6 forks source link

requirements.txt, test_requirements.txt and setup.py #38

Closed birdsarah closed 6 years ago

birdsarah commented 6 years ago

I was just getting back into taar-lite code and ran python setup.py test to try and run the tests. This failed due to lack of dependencies listed in setup.py

I was thinking about reorganizing, but thought I would check in, in case I missed some logic.

I was going to do two things:

1) in setup.py

with open('requirements.txt') as f: requirements = f.read().splitlines() with open('test_requirements.txt') as f: test_requirements = f.read().splitlines() ...

setup( ... install_requires=requirements, test_requires=test_requirements, ... )

2) clean-up requirements.txt and test_requirements.txt

requirements.txt has a bunch of the test requirements in it e.g. pytest, moto, coverage, ...

What do you think?