-
Notifications
You must be signed in to change notification settings - Fork 17
/
setup.py
31 lines (27 loc) · 839 Bytes
/
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
# coding:utf8
from setuptools import setup,Command,find_packages
import os
class CleanCommand(Command):
"""Custom clean command to tidy up the project root."""
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
os.system('rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info')
setup(
name="quant_trader",
version="1.0.0",
description="Trade Proxy for realtime",
long_description="",
author="piginzoo",
author_email="[email protected]",
license="BSD",
url="https://github.com/piginzoo/quant_trader",
keywords="China stock trade",
cmdclass={
'clean': CleanCommand,
},
packages=find_packages(where=".", exclude=('test', 'test.*', 'conf'), include=('*',))
)