-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathsetup.py
More file actions
33 lines (30 loc) · 864 Bytes
/
setup.py
File metadata and controls
33 lines (30 loc) · 864 Bytes
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
#!/usr/bin/env python3
from setuptools import setup, find_packages
from sys import version_info
ver = version_info[:3]
min_py_ver = (3, 5, 2)
min_py_ver_str = '.'.join([str(x) for x in min_py_ver])
if ver < min_py_ver:
raise SystemExit('Sorry! multio requires python {} or later.'.format(min_py_ver_str))
setup(
name='multio',
description='multio - an unified async library for curio and trio',
license='MIT',
version='0.2.5',
author='theelous3, SunDwarf, and Akuli',
url='https://github.com/theelous3/multio',
python_requires=">={}".format(min_py_ver_str),
packages=find_packages(),
classifiers=[
'Programming Language :: Python :: 3',
'Framework :: Trio',
],
extras_require={
'curio': [
'curio>=0.7.0'
],
'trio': [
'trio>=0.2.0'
]
}
)