-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
77 lines (71 loc) · 2.09 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import sys
version = __import__('schooldata').__version__
install_requires = [
'setuptools',
'south==0.8.2',
'Django==1.6.4',
'django-configurations==0.8',
'dj-database-url==0.3.0',
'pylibmc==1.3.0',
'boto==2.9.5',
'django-storages==1.1.8',
'Pillow==2.0.0',
'django-cache-url==0.8.0',
'werkzeug==0.9.4',
'gunicorn==0.17.4',
'easy-thumbnails==1.2',
'django-debug-toolbar==1.1',
'django-extensions==1.3.4',
'django-braces==1.4.0',
'django-allauth==0.16.1',
'django-floppyforms==1.1.1',
'django-zurb-foundation==5.1.1',
'django-custom-user==0.4',
]
class Tox(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#import here, cause outside the eggs aren't loaded
import tox
errno = tox.cmdline(self.test_args)
sys.exit(errno)
setup(
name="schooldata",
version=version,
url='http://github.com/powellc/schooldata',
license='BSD',
platforms=['OS Independent'],
description="An schooldata for django applications.",
author="Colin Powell",
author_email='[email protected]',
packages=find_packages(),
install_requires=install_requires,
include_package_data=True,
zip_safe=False,
tests_require=['tox'],
cmdclass={'test': Tox},
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
package_dir={
'schooldata': 'schooldata',
'schooldata/templates': 'schooldata/templates',
},
entry_points={
'console_scripts': [
'schooldata = schooldata.manage_schooldata:main',
],
},
)