-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
45 lines (38 loc) · 1.24 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
43
44
45
# -*- coding: utf-8 -*-
import os
from setuptools import find_packages, setup
import sys
PY2 = sys.version_info[0] == 2
with open(os.path.join(os.path.dirname(__file__), 'requirements.txt')) as f:
requires = f.readlines()
if PY2:
requires += ['futures==3.2.0', 'monotonic==1.5']
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
README = f.read()
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='rabbit-rpc',
version='0.0.5',
packages=find_packages(),
include_package_data=True,
description='A simple rpc client/server library',
long_description=README,
author='midtin',
author_email='midtin@gmail.com',
url='https://github.com/MidTin/rabbit-rpc',
license='MIT',
install_requires=requires,
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
],
entry_points={
'console_scripts': [
'rabbit_rpc=rabbit_rpc:main',
]
}
)