☛ Python requirements made easy
Write your adorable
requirements.txt once and forget
from setuptools import setup from requirements import r setup( name='your-package', version='0.0.1', **r.dependencies)
- Requirements discovery
- Just drop
requirements.pyin your package directory
- Works well with pip-tools
- Configurable for different requirements layout
- Very light, well tested, no dependencies and more!
- Download latest
requirements.pyrelease in your package root directory
- Import it in your
setup.py, like in previous example
Some variables are configurable like that:
from requirements import r r.requirements_path = 'reqs.txt' r.tests_requirements_path = 'reqs-tests.txt'