derek-schaefer / django-json-field

Generic JSON model and form fields.
BSD 3-Clause "New" or "Revised" License
122 stars 86 forks source link

Can't install from empty virtualenv #19

Closed chronossc closed 11 years ago

chronossc commented 11 years ago

When installing from a empty virtualenv, I get this:

Obtaining django-json-field from git+git://github.com/chronossc/django-json-field.git#egg=django-json-field (from -r requirements.txt (line 12)) Updating /home/crmadm/virtualenvs/crm-prd/src/django-json-field clone Running setup.py egg_info for package django-json-field Traceback (most recent call last): File "", line 14, in File "/home/crmadm/virtualenvs/crm-prd/src/django-json-field/setup.py", line 1, in import json_field File "json_field/init.py", line 1, in from django.core.exceptions import ImproperlyConfigured ImportError: No module named django.core.exceptions Complete output from command python setup.py egg_info: Traceback (most recent call last):

File "", line 14, in

File "/home/crmadm/virtualenvs/crm-prd/src/django-json-field/setup.py", line 1, in

import json_field

File "json_field/init.py", line 1, in

from django.core.exceptions import ImproperlyConfigured

ImportError: No module named django.core.exceptions

After installs Django, it works.

derek-schaefer commented 11 years ago

Noted. Instead of importing the version from the base init file I'll maintain the version string in two places. Not the end of the world.