forked from facioquo/stock-indicators-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
64 lines (59 loc) · 1.95 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
60
61
62
63
64
import sys
import setuptools
# Set semver.
PREFIX_VERSION = "semver:"
DEFAULT_VERSION = "0.0.0.dev0"
if sys.argv[-1].startswith(PREFIX_VERSION):
version = sys.argv[-1].split(':')[1]
sys.argv.pop()
else:
version = DEFAULT_VERSION
# Build.
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="stock-indicators",
version=version,
author="Dave Skender",
maintainer="Dong-Geon Lee",
description="Stock Indicators for Python. Send in historical price quotes and get back desired technical indicators such as Stochastic RSI, Average True Range, Parabolic SAR, etc. Nothing more.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://daveskender.github.io/Stock.Indicators.Python",
project_urls={
"Bug Tracker": "https://github.com/DaveSkender/Stock.Indicators.Python/issues",
"Documentation": "https://daveskender.github.io/Stock.Indicators.Python",
"Source Code": "https://github.com/DaveSkender/Stock.Indicators.Python/tree/main",
},
license="Apache 2.0",
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
platforms=["Windows", "Linux"],
package_dir={"": "."},
packages=setuptools.find_packages(
exclude=(
'tests',
'tests.*',
'benchmarks',
'benchmarks.*'
)
),
package_data={
"stock_indicators._cslib": [
"runtimeconfig.json",
"lib/*.dll"
],
},
python_requires=">=3.7",
install_requires=[
'pythonnet==3.0.1',
'typing_extensions>=4.0.0',
],
)