forked from ksato9700/msgpack-rpc-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·38 lines (33 loc) · 1.02 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
#!/usr/bin/env python
# coding: utf-8
import distutils.core
import sys
try:
from setuptools import setup, find_packages
except ImportError:
setup = distutils.core.setup
pass
kwargs = {}
major, minor = sys.version_info[:2]
if major >= 3:
import setuptools # setuptools is required for use_2to3
kwargs["use_2to3"] = True
setup(name='msgpack-rpc-python',
version='0.2.0',
author='Masahiro Nakagawa',
author_email='repeatedly@gmail.com',
url="https://github.com/msgpack/msgpack-rpc",
description="MessagePack RPC",
long_description="""\
MessagePack RPC for Python.
This implementation uses Tornado framework as a backend.
""",
packages=['msgpackrpc', 'msgpackrpc/transport'],
install_requires=['msgpack-python', 'tornado'],
license="Apache Software License",
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'License :: OSI Approved :: Apache Software License'],
**kwargs
)