joke2k / django-faker

Django-faker uses fake-factory to generate test data for Django models and templates
MIT License
245 stars 48 forks source link

pip install -r requirements.txt – fails on fresh install #7

Open darylantony opened 10 years ago

darylantony commented 10 years ago

because pip hasn't installed django yet, which is referenced by the django_faker/__init__.py

adding setup_requires as an 'abstract' dependency in addition to install_requires, as according to the documentation:

"...projects listed in setup_requires will NOT be automatically installed on the system where the setup script is being run. They are simply downloaded to the setup directory if they’re not locally available already. If you want them to be installed, as well as being available when the setup script is run, you should add them to install_requires and setup_requires..."

unfortunately, I'm not sure this will work because of the separation or responsibilities between pip and setuptools.

rosscdh commented 6 years ago

+1 also submitted a PR fixing same issue https://github.com/joke2k/django-faker/pull/29