forked from msaltnet/smtm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
59 lines (51 loc) · 1.27 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
53
54
55
56
57
58
59
import io
import unittest
from setuptools import setup
# Package meta-data.
NAME = "smtm"
DESCRIPTION = "A algorithm crypto trading system."
URL = "https://github.com/msaltnet/smtm"
EMAIL = "[email protected]"
AUTHOR = "msalt"
VERSION = "1.4.0"
# What packages are required for this module to be executed?
REQUIRED = [
"requests",
"pandas",
"numpy",
"matplotlib",
"mplfinance",
"pyjwt",
"python-dotenv",
"jupyter",
"psutil",
"scikit-learn",
]
def long_description():
with io.open("README-en_us.md", "r", encoding="utf-8") as f:
readme = f.read()
return readme
def smtm_test_suite():
test_loader = unittest.TestLoader()
test_suite = test_loader.discover("tests", pattern="*test.py")
return test_suite
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=long_description(),
long_description_content_type="text/markdown",
url=URL,
author=AUTHOR,
author_email=EMAIL,
license="MIT",
packages=["smtm"],
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.6",
],
install_requires=REQUIRED,
extras_require={"dev": ["coverage"]},
test_suite="setup.smtm_test_suite",
zip_safe=False,
)