-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
52 lines (47 loc) · 1.74 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
"""
Setup project
"""
import os
import pathlib
import setuptools
current_path = pathlib.Path(__file__).parent.resolve()
with open(os.path.join(current_path, 'README.md'), 'r', encoding='UTF-8') as f:
long_description = f.read()
with open(os.path.join(current_path, 'requirements.txt'), 'r', encoding='UTF-8') as f:
requirements = f.readlines()
setuptools.setup(
name='dolbyio-rest-apis',
author='Dolby.io',
author_email='[email protected]',
description='A Python wrapper for the Dolby.io REST APIs.',
long_description=long_description,
long_description_content_type='text/markdown',
license='MIT',
url='https://github.com/dolbyio/dolbyio-rest-apis-client-python',
project_urls={
'Documentation': 'https://docs.dolby.io/streaming-apis/reference',
'Source': 'https://github.com/dolbyio/dolbyio-rest-apis-client-python',
'Bug Tracker': 'https://github.com/dolbyio/dolbyio-rest-apis-client-python/issues',
},
package_dir={'': os.path.join(current_path, 'src')},
packages=setuptools.find_packages(where=os.path.join(current_path, 'src')),
python_requires='>=3.10',
use_scm_version= {
'local_scheme': 'no-local-version',
'version_scheme': 'release-branch-semver',
},
setup_requires=[
'setuptools_scm',
],
install_requires=requirements,
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3 :: Only',
'Operating System :: OS Independent',
'Intended Audience :: Developers',
],
)