-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
60 lines (50 loc) · 1.57 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
import os
from setuptools import setup, dist
dist.Distribution().fetch_build_eggs(
['Cython>=0.29.17', 'numpy>=1.18.4', 'cysignals>=1.10.2'])
from Cython.Build import cythonize
import numpy
os.environ["CPPFLAGS"] = os.getenv("CPPFLAGS", "") + "-I" + numpy.get_include()
tests_require = [
'pytest',
'pytest-mock',
'pytest-cov'
]
with open("README.md", "r") as fh:
long_description = fh.read()
with open('requirements.txt') as f:
requirements = f.read().splitlines()
setup(
name="soundfactory",
packages=["soundfactory"],
version="0.2.1",
author="TSAK",
author_email="[email protected]",
description="simple tools for audio-signal manipulations",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://gitlab.com/babaMar/soundfactory",
license='MIT',
include_package_data=True,
python_requires='>=3.6',
install_requires=requirements,
ext_modules=cythonize("soundfactory/cyutils/*.pyx"),
tests_require=[tests_require],
extras_require={
'tests': tests_require
},
entry_points={
'console_scripts': [
'soundfactory = soundfactory.cli:main',
]
},
classifiers=[
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: Unix',
'Programming Language :: Python :: 3',
'Topic :: Artistic Software',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)