-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
39 lines (35 loc) · 1.23 KB
/
setup.py
File metadata and controls
39 lines (35 loc) · 1.23 KB
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
import re
from setuptools import find_packages, setup
def get_version(filename):
with open(filename) as fh:
metadata = dict(re.findall(r"__([a-z]+)__ = \"([^\"]+)\"", fh.read()))
print(metadata['version'])
return metadata['version']
setup(
name='audtekapi',
version=get_version('audtekapi/__init__.py'),
python_requires='~=3.7',
url='https://github.com/jedrus2000/audtekapi',
license='Apache License, Version 2.0',
author=u'Andrzej Bargański',
author_email='a.barganski@gmail.com',
description='Unofficial API for Audioteka',
long_description=open('README.rst').read(),
packages=find_packages(exclude=['tests', 'tests.*']),
zip_safe=False,
include_package_data=True,
install_requires=[
'setuptools',
'requests >= 2.25.0',
],
classifiers=[
'Environment :: No Input/Output (Daemon)',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Multimedia :: Sound/Audio',
],
)