Add Django dependency in setup.py

This commit is contained in:
Joost Cassee 2014-06-01 22:46:48 +02:00
parent 8770c37b33
commit c28f509ff9
2 changed files with 10 additions and 1 deletions

2
.gitignore vendored
View file

@ -8,3 +8,5 @@
*.pyc
*.pyo
*.egg-info

View file

@ -1,6 +1,10 @@
from distutils.core import setup, Command
import os
try:
from setuptools import setup, Command
except ImportError:
from distutils.core import setup, Command
os.environ['DJANGO_SETTINGS_MODULE'] = 'analytical.tests.settings'
cmdclass = {}
@ -70,4 +74,7 @@ setup(
url = 'http://github.com/jcassee/django-analytical',
download_url = 'http://github.com/jcassee/django-analytical/archives/master',
cmdclass = cmdclass,
install_requires = [
'Django>=1.4',
],
)