forked from disqus/disqus-postgres
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
56 lines (46 loc) · 1.1 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
import sys
import warnings
try:
import multiprocessing
except:
pass
try:
from notsetuptools import setup
except ImportError:
# If you are using namespaces you should **not** allow installation of your package without
# using the ``notsetuptools`` package.
warnings.warn('You are missing the ``notsetuptools`` package; falling back to ``setuptools``.')
from setuptools import setup
from setuptools import find_packages
if 'nosetests' == sys.argv[1]:
setup_requires = ['nose>=1.0']
else:
setup_requires = []
tests_require = [
'django-nose==1.1',
'nose==1.0',
'mock==0.8',
]
requires = [
'psycopg2',
'Django>=1.2,<1.5',
]
entry_points = {
}
setup(
name='disqus-postgres',
version='0.1.0',
author="DISQUS",
author_email="dev@disqus.com",
license='Apache License 2.0',
package_dir={'': 'src'},
packages=find_packages("src"),
install_requires=requires,
extras_require={
'tests': tests_require,
},
setup_requires=setup_requires,
test_suite='nose.collector',
entry_points=entry_points,
zip_safe=False,
)