forked from Parisson/Telemeta
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
91 lines (81 loc) · 2.55 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# -*- coding: utf-8 -*-
import multiprocessing
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import sys
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = []
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 pytest
errno = pytest.main(self.pytest_args)
sys.exit(errno)
CLASSIFIERS = ['Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Science/Research',
'Intended Audience :: Education',
'Programming Language :: Python',
'Programming Language :: JavaScript',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
'Topic :: Multimedia :: Sound/Audio',
'Topic :: Multimedia :: Sound/Audio :: Analysis',
'Topic :: Multimedia :: Sound/Audio :: Players',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: System :: Archiving', ]
setup(
name = "Telemeta",
url = "http://telemeta.org",
description = "Open web audio application with semantics",
long_description = open('README.rst').read(),
author = "Guillaume Pellerin",
author_email = "[email protected]",
version = '1.6.3',
install_requires = [
'django==1.6.11',
'django-registration==1.0',
'django-extensions',
'django-timezones',
'django-jqchat',
'django-debug-toolbar==1.3.2',
'django-extra-views',
'django-breadcrumbs',
'django-bootstrap3==6.2.1',
'django-bootstrap-pagination',
'django-json-rpc',
'django-suit',
'django-google-tools',
'django-ipauth',
'django-celery',
'timeside>=0.7',
'south',
'docutils',
'psutil',
'pyyaml',
'python-ebml',
'zipstream',
'elasticsearch==1.6.0',
'django-haystack',
'ebooklib',
'django-environ',
'redis',
'Werkzeug',
'django-dirtyfields'
],
tests_require=['pytest-django', 'pytest-cov', 'factory-boy'],
# Provide a test command through django-setuptest
cmdclass={'test': PyTest},
platforms=['OS Independent'],
license='CeCILL v2',
classifiers = CLASSIFIERS,
packages = find_packages(),
include_package_data = True,
zip_safe = False,
)