-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathsetup.py
52 lines (44 loc) · 1.37 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
46
47
48
49
50
51
52
# coding: utf8
import sys
from setuptools import find_packages, setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
setup(
name="dogerpc",
version="0.1.4",
description="A RPC Framework",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
author="Timmy",
author_email="[email protected]",
url="http://github.com/zhu327/doge",
packages=["doge"] + [f"{'doge'}.{i}" for i in find_packages("doge")],
license="Apache License 2.0",
keywords=["rpc", "etcd", "messagepack", "gevent", "microservices"],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
],
install_requires=[
"mprpc",
"pyformance",
"python-etcd",
],
tests_require=[
"pytest",
],
cmdclass={"test": PyTest},
)