-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
49 lines (44 loc) · 1.49 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
import setuptools
from oppe import __name__ as name
from oppe import __version__ as version
from oppe.utils import format_tag_name
# Add README.md as long description using open() and read()
with open('README.md') as f:
readme = f.read()
# Add requirements.txt as install_requires using open() and readlines()
with open('requirements.txt') as f:
requirements = f.read().splitlines()
setuptools.setup(
name=name,
version=version,
description='A Python API Wrapper for Oppe',
long_description=readme,
long_description_content_type='text/markdown',
project_urls={
'Homepage': 'https://oppe.app',
'Documentation': 'https://docs.oppe.app',
'Github': 'https://github.com/kilobyteno/oppe-for-python',
},
url='https://github.com/kilobyteno/oppe-for-python',
author='Kilobyte AS',
license='MIT',
python_requires='>=3.8',
packages=['oppe'],
include_package_data=True,
install_requires=requirements,
setuptools_git_versioning={
'enabled': True,
'dev_template': '{tag}',
'dirty_template': '{tag}',
'tag_formatter': format_tag_name,
},
setup_requires=['setuptools-git-versioning<2'],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
)