Closed expobrain closed 10 years ago
You mean from this page [1]?
That page was generated from cookiecutter-pypackage and I don't usually use those directions. Let me try it from a fresh virtualenv and later today or tomorrow I'll make it more accurate.
In the meantime the simplest thing is to just pip install -r requirements.txt
from the project folder in your virtualenv.
[1] http://drf-compound-fields.readthedocs.org/en/latest/contributing.html
Yes, I followed those steps, especially:
$ mkvirtualenv drf_compound_fields $ pip install -r requirements.txt $ python setup.py test
I added a missing dependency in setup.py and now the default instructions do work as-is.
I was able to just use requirements.txt before that fix and get passing tests, but this gets setup.py where it should be.
Following the instructions of how to setup a developer's environment and running the unit tests raises this error on
python setup.py test
:_____ ERROR collecting djangorestframework-2.3.14-py2.7.egg/rest_framework/tests/test_authentication.py __ djangorestframework-2.3.14-py2.7.egg/rest_framework/tests/test_authentication.py:2: in
I'm not sure if it's some step missing in the docs or some problem on my virtualenv