-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (37 loc) · 1.08 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
import pathlib
import setuptools
LONG_DESCRIPTION = pathlib.Path('README.rst').read_text('utf-8')
def find_version():
with open("asyncapp/__version__.py") as f:
version = f.readlines()[-1].split('=')[-1].strip().strip("'").strip('"')
if not version:
raise RuntimeError('No version found')
return version
setuptools.setup(
name='asyncapp',
long_description=LONG_DESCRIPTION,
description='(a)sync Slack API library',
keywords=[
'bot',
'slack',
'api',
'sans-io',
'async'
],
packages=setuptools.find_packages(),
zip_safe=True,
install_requires=['aiohttp'],
# python_requires='>=3.6',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.7',
],
author='Ovv',
author_email='[email protected]',
license='MIT',
url='https://github.com/Eyepea/asyncapp',
version=find_version(),
)