-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
47 lines (38 loc) · 1.5 KB
/
Copy pathsetup.py
File metadata and controls
47 lines (38 loc) · 1.5 KB
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
import os
from setuptools import setup, find_packages
dir_path = os.path.abspath(os.path.dirname(__file__))
version_contents = {}
with open(os.path.join(dir_path, "src", "pyfinbot", "version.py"), encoding="utf-8") as f:
exec(f.read(), version_contents)
with open(os.path.join(dir_path, "README.md"), "r", encoding="utf-8") as file:
long_description = file.read()
install_requires = [
]
setup(
name=version_contents["PROJECT_NAME_TEXT"],
version=version_contents["VERSION"],
author=version_contents["AUTHOR"],
author_email=version_contents["AUTHOR_EMAIL"],
maintainer=version_contents["AUTHOR"],
maintainer_email=version_contents["AUTHOR_EMAIL"],
description=version_contents["DESCRIPTION"],
long_description=long_description,
long_description_content_type="text/markdown",
url=version_contents["URL"],
packages_dir={"": "src"},
packages=find_packages(where=version_contents["PROJECT_NAME"]),
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.14",
"Topic :: Software Development :: Finance :: Database",
],
keywords="python, finance, database",
python_requires=">=3.12.0",
install_requires=install_requires,
)