forked from Chandlercjy/OnePy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
42 lines (30 loc) · 965 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
32
33
34
35
36
37
38
39
40
41
42
# encoding: UTF-8
"""
OnePy - An Own Built Trading Framework in Python.
The OnePy project is an open-source quantitative trading framework.
The project is mainly written in Python.
"""
import os
from setuptools import setup, find_packages, Command
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 ./*.egg-info")
setup(
name="OnePy_trader",
version="1.52.1",
author="Chandler_Chan",
author_email="[email protected]",
license="MIT",
url = "https://github.com/Chandlercjy/OnePy",
description="Python Backtesting library for trading strategies.",
packages=find_packages(),
cmdclass={
"clean": CleanCommand,
}, install_requires=["pandas", "numpy","TA-Lib","plotly","funcy","arrow"]
)