-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
61 lines (54 loc) · 1.92 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
""" Installation module """
import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
""" PyTest integration with setuptools """
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = ["streamrecord"]
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)
setup(
name='streamrecord',
version='0.9.1',
description='Record and split an audio stream',
long_description="""RecordStream allows you to record audio from streaming services (like Spotify, Deezer, Youtube, etc.) and to split this stream in tracks, named and tagged with proper informations.""",
url='http://github.com/AlexisBRENON/deezer_record',
author='Alexis BRENON',
author_email='brenon.alexis+streamrecord@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Topic :: Multimedia :: Sound/Audio :: Capture/Recording',
'Topic :: Utilities'
],
keywords='audio stream record',
packages=['streamrecord'],
install_requires=[
'python-slugify',
'python-xlib',
'dbus-python',
'notify2'
],
python_requires='>=3',
entry_points={
'console_scripts': ['streamrecord=streamrecord.__main__:main']
},
zip_safe=True,
tests_require=['pytest'],
cmdclass={'test':PyTest}
)