-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathsetup.py
91 lines (81 loc) · 2.58 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.7.4',
install_requires = [
'django==1.8.*',
'django-bootstrap-pagination==1.6.4',
'django-bootstrap3==8.1.0',
'django-breadcrumbs==1.1.3',
'django-celery==3.2.2',
'django-dirtyfields==1.2.1',
'django-environ==0.4.5',
'django-extensions==2.1.0',
'django-extra-views==0.11.0',
'django-debug-toolbar==1.6',
'django-haystack==2.4.1',
'django-ipauth',
'django-json-rpc==0.7.2',
'django-registration-redux==2.4',
'django-suit==0.2.26',
'django-timezones==0.2',
'djangorestframework==3.6.4',
'docutils==0.14',
'ebooklib',
'elasticsearch==1.6.0',
'lxml==4.2.3',
'psutil==5.4.6',
'pyyaml==3.12',
'python-ebml==0.2.1',
'redis==2.10.6',
'sqlparse==0.2.2',
'timeside==0.9.6',
'Werkzeug==0.14.1',
'zipstream==1.1.4',
],
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,
)