django-rest-framework
django-rest-framework copied to clipboard
automatically install dependencies
by using the requires keyword in setup.py
Example:
https://bitbucket.org/birkenfeld/sphinx/src/65e4c29a24e4/setup.py
motivation:
- much nicer
- tox.ini will reduce in size significantly
approach:
- have
setup.pyfind dependencies as stored inrequirements.txt - don't use
==signs in requirements, but rather>=, this will prevent unnecessary downloads
Not sure if setup.py should or shouldn't include dependancies for building docs, and for examples.
Probably not, since doing pip install djangorestframework only gives you the package anyways, not the examples or docs.
You're right, it's probably not necessary.