Skip to content

Commit f0ed6e0

Browse files
committed
Package project in order to upload to PyPi
1 parent e0d12a5 commit f0ed6e0

File tree

5 files changed

+67
-1
lines changed

5 files changed

+67
-1
lines changed

LICENSE renamed to LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2016 Rui Gao
3+
Copyright (c) 2016 sinall
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
include LICENSE.txt
File renamed without changes.

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[bdist_wheel]
2+
universal=1

setup.py

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
# -*- coding: utf-8 -*-
2+
3+
from setuptools import setup, find_packages
4+
from codecs import open
5+
from os import path
6+
7+
here = path.abspath(path.dirname(__file__))
8+
9+
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
10+
long_description = f.read()
11+
12+
setup(
13+
name='shipane_sdk',
14+
15+
version='1.0.0.a1',
16+
17+
description=u'实盘易(ShiPanE)Python SDK,通达信自动化交易 API。',
18+
long_description=long_description,
19+
20+
url='https://github.com/sinall/ShiPanE-Python-SDK',
21+
22+
author='sinall',
23+
author_email='gaoruinan@163.com',
24+
25+
license='MIT',
26+
27+
classifiers=[
28+
'Development Status :: 3 - Alpha',
29+
30+
'Intended Audience :: Developers',
31+
'Intended Audience :: Financial and Insurance Industry',
32+
'Topic :: Office/Business :: Financial :: Investment',
33+
34+
'License :: OSI Approved :: MIT License',
35+
36+
'Programming Language :: Python :: 2.7',
37+
'Programming Language :: Python :: 3',
38+
'Programming Language :: Python :: 3.3',
39+
'Programming Language :: Python :: 3.4',
40+
'Programming Language :: Python :: 3.5',
41+
],
42+
43+
keywords='ShiPanE SDK 通达信 TDX Automation',
44+
45+
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
46+
47+
install_requires=['requests', 'six'],
48+
49+
extras_require={
50+
'dev': [],
51+
'test': [],
52+
},
53+
54+
package_data={
55+
},
56+
57+
data_files=[],
58+
59+
entry_points={
60+
'console_scripts': [
61+
],
62+
},
63+
)

0 commit comments

Comments
 (0)