-
Notifications
You must be signed in to change notification settings - Fork 59
/
setup.py
65 lines (54 loc) · 2.17 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
# Utility function to read file in the setup.py directory
def open_here(fname):
return open(os.path.join(os.path.dirname(__file__), fname))
# Pytest
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = ['tests', '--ignore', 'tests/sandbox', '--verbose', '--ds=app.test_settings']
self.test_suite = True
def run_tests(self):
# import here, cause outside the eggs aren't loaded
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
CLASSIFIERS = [
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Programming Language :: Python',
'Programming Language :: JavaScript',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Multimedia :: Sound/Audio',
'Topic :: Multimedia :: Sound/Audio :: Analysis',
'Topic :: Multimedia :: Sound/Audio :: Players',
'Topic :: Multimedia :: Sound/Audio :: Conversion',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Software Development :: Libraries :: Python Modules',
]
KEYWORDS = 'audio analysis features extraction MIR transcoding graph visualize plot HTML5 interactive metadata player'
setup(
name='TimeSide',
url='https://github.com/Ircam-WAM/TimeSide/',
description="scalable audio processing framework and server written in Python",
long_description=open_here('README.rst').read(),
author="Guillaume Pellerin, Paul Brossier, Antoine Grandry, Romain Herbelleau, \
Martin Desrumaux, Thomas Fillon, Riccardo Zaccarelli, Olivier Guilyardi",
author_email="[email protected]",
version='1.1.1',
platforms=['OS Independent'],
license='Affero GNU Public License v2',
classifiers=CLASSIFIERS,
keywords=KEYWORDS,
packages=find_packages(),
include_package_data=True,
zip_safe=False,
tests_require=['pytest>=3', 'pytest-django'],
cmdclass={'test': PyTest},
)