-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
37 lines (31 loc) · 1020 Bytes
/
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
import setuptools
from aionet import __version__, __author__
try:
# for pip >= 10
from pip._internal.req import parse_requirements
except ImportError:
# for pip <= 9.0.3
from pip.req import parse_requirements
def load_requirements(fname):
reqs = parse_requirements(fname, session="test")
return [str(ir.req) for ir in reqs]
with open("README.rst", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="aionet",
version=__version__,
author=__author__,
author_email="aaqrabaw@gmail.com",
description="async networking SDK",
long_description=long_description,
url="https://github.com/Ali-aqrabawi/aionet",
packages=setuptools.find_packages(),
include_package_data=True,
install_requires=load_requirements("requirements.txt"),
classifiers=[
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)