-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
49 lines (42 loc) · 1.28 KB
/
setup.py
File metadata and controls
49 lines (42 loc) · 1.28 KB
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 sys
from pathlib import Path
from runpy import run_path
from setuptools import setup
description = 'Library for launching tasks in parallel environment'
try:
with open('README.rst', 'rt') as f:
long_description = f.read()
except Exception:
long_description = description
version_file = Path(__file__).parent / 'async_rpc' / 'version.py'
if sys.version_info < (3, 6):
version_file = str(version_file)
version = run_path(version_file)['__version__']
setup(
name='async-rpc',
version=version,
author='Jan Seifert',
author_email='jan.seifert@fotkyzcest.net',
description=description,
long_description=long_description,
long_description_content_type='text/x-rst',
license='BSD',
url='https://github.com/seifert/async-rpc',
classifiers=[
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Development Status :: 3 - Alpha',
],
platforms=['any'],
packages=['async_rpc'],
zip_safe=True,
install_requires=[
'aiodns',
'aiohttp',
'async-timeout',
],
)