/
setup.py
40 lines (33 loc) · 1.12 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
from pathlib import Path
import setuptools
def long_description():
with Path('README.md').open() as ld:
return ld.read()
def find_requires():
with Path('requirements.txt').open() as reqs:
return reqs.readlines()
def find_version():
with Path('VERSION').open() as ver:
return ver.readline().strip()
setuptools.setup(
name='monobankua',
version=find_version(),
author='Serhiy Shliapuhin',
author_email='shlyapugin@gmail.com',
description='Monobank.ua API client',
long_description=long_description(),
long_description_content_type='text/markdown',
url='https://github.com/inbalboa/python-monobankua',
packages=setuptools.find_packages(),
install_requires=find_requires(),
python_requires='>=3.10,<4.0',
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3 :: Only',
'License :: OSI Approved',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
],
license='GPLv3'
)