mirror of
https://github.com/jazzband/django-analytical.git
synced 2026-03-16 22:20:25 +00:00
Add Django dependency in setup.py
This commit is contained in:
parent
8770c37b33
commit
c28f509ff9
2 changed files with 10 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -8,3 +8,5 @@
|
|||
|
||||
*.pyc
|
||||
*.pyo
|
||||
|
||||
*.egg-info
|
||||
|
|
|
|||
9
setup.py
9
setup.py
|
|
@ -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',
|
||||
],
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue