-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
41 lines (36 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
import pathlib
import setuptools
from importlib.machinery import SourceFileLoader
version = SourceFileLoader('version', 'aioviberbot/version.py').load_module()
def readfile(filename) -> str:
return pathlib.Path(filename).read_text('utf-8').strip()
setuptools.setup(
name='aioviberbot',
version=version.__version__,
packages=['aioviberbot', 'aioviberbot.api', 'aioviberbot.api.viber_requests',
'aioviberbot.api.messages', 'aioviberbot.api.messages.data_types'],
install_requires=['aiohttp'],
tests_require=['pytest', 'pytest-aiohttp', 'asynctest'],
url='https://github.com/antonmyronyuk/aioviberbot',
author='Anton Myronyuk',
author_email='antonmyronyuk@gmail.com',
description='Viber Python Bot Async API',
long_description=readfile('README.md'),
long_description_content_type='text/markdown',
license='Apache',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
],
python_requires='>=3.7',
)