Look into way to synchronize setup.py and requirements.txt
Created by: player1537
- Django Remote Submission version: 0.6.0
- Django version: n/a
- Python version: n/a
- Operating System: n/a
Description
While making changes to fix #11 (closed), I realized that it's very easy for the requirements that setup.py
lists to become out of sync with the ones in requirements.txt
. I noticed that we've actually been missing Django Rest Framework in setup.py
for a while.
I know some other projects use some code to parse the requirements file into install_requires
to keep them in sync. I'm not sure the tradeoffs, though, so I'll need to look into that some.
I'm also not clear what the best method is to have an optional dependency in setup.py
. For example, the library doesn't require Celery (because it can use some fallback behavior), but it does support Celery.