/
setup.py
41 lines (38 loc) · 1.06 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
import re
from os.path import join, dirname
from setuptools import setup, find_packages
# reading package version (same way the sqlalchemy does)
with open(join(dirname(__file__), 'tuner', '__init__.py')) as v_file:
package_version = re.compile(r".*__version__ = '(.*?)'", re.S).match(v_file.read()).group(1)
dependencies = [
'kivy == 1.11.1',
'pymlconf == 0.8.9',
'pyaudio == 0.2.11',
'numpy == 1.17.2',
'scipy >= 1.6',
'pygame > 2'
]
setup(
name="tuner",
description="Musical instrument tuner using Kivy.",
version=package_version,
author="Vahid Mardani",
url="http://github.com/pylover/tuner",
author_email="vahid.mardani@gmail.com",
long_description=open('README.md').read(),
install_requires=dependencies,
packages=find_packages(),
package_data={
'tuner': [
'data/*.yaml',
'gui/*.kv',
'gui/styles/*.kv'
]
},
# data_files=[('', ['tuner/data/*.yaml'])],
entry_points={
'console_scripts': [
'tuner = tuner:main'
]
}
)