-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
49 lines (44 loc) · 1.21 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
# coding: utf-8
from setuptools import setup, find_packages
import sys, os
version = '0.1'
setup(name='taobao-tmc-py',
version=version,
description="淘宝平台消息服务python版本",
long_description="""
taobao-tmc-python
=======================
淘宝平台消息服务python版本
usage:
```python
logging.basicConfig(level=logging.DEBUG)
ws = TmcClient('ws://mc.api.tbsandbox.com/', 'appkey', 'appsecret', 'default',
query_message_interval=50)
def print1():
print 'on_open'
ws.on("on_open", print1)
try:
ioloop.IOLoop.instance().start()
except KeyboardInterrupt:
pass
finally:
ws.close()
```
""",
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
keywords='taobao tmc python',
author='baocaixiong',
author_email='[email protected]',
url='https://github.com/baocaixiong/taobao-tmc-python',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
install_requires=[
# -*- Extra requirements: -*-
'tornado==4.0'
],
entry_points="""
# -*- Entry points: -*-
""",
)