forked from GauravJain98/django-subdomains
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
36 lines (29 loc) · 932 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/env python
import os
import sys
from setuptools import find_packages, setup
def get_version():
from subdomains import __version__
return '.'.join(map(str, __version__))
try:
version = get_version()
except ImportError:
sys.path.append(os.path.join(os.path.dirname(__file__, 'subdomains')))
version = get_version()
install_requires = ['django']
tests_require = install_requires + ['mock']
setup(name='django-subdomains',
version=version,
url='http://github.com/tkaemming/django-subdomains/',
author='ted kaemming',
author_email='[email protected]',
description="Subdomain tools for the Django framework, including "
"subdomain-based URL routing.",
packages=find_packages(),
include_package_data=True,
install_requires=install_requires,
tests_require=tests_require,
test_suite='subdomains.tests.run',
zip_safe=False,
license='MIT License',
)