-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathsetup.py
52 lines (45 loc) · 1.51 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
import os
from setuptools import setup, find_packages
with open(
os.path.join(os.path.dirname(__file__), "requirements/common.txt"), "r"
) as fh:
requirements = fh.readlines()
NAME = "bitmart-python-sdk-api"
DESCRIPTION = (
"BitMart Exchange official(https://bitmart.com) Python client for the BitMart Cloud API"
)
AUTHOR = "BitMart"
URL = "https://github.com/bitmartexchange/bitmart-python-sdk-api"
VERSION = None
about = {}
with open("README.md", "r") as fh:
about["long_description"] = fh.read()
root = os.path.abspath(os.path.dirname(__file__))
if not VERSION:
with open(os.path.join(root, "bitmart", "__version__.py")) as f:
exec(f.read(), about)
else:
about["__version__"] = VERSION
setup(
name=NAME,
version=about["__version__"],
license="MIT",
description=DESCRIPTION,
long_description=about["long_description"],
long_description_content_type="text/markdown",
AUTHOR=AUTHOR,
url=URL,
keywords=["BitMart Exchange", "BitMart API", "BitMart Websocket"],
install_requires=[req for req in requirements],
packages=find_packages(exclude=("tests",)),
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Financial and Insurance Industry",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
python_requires=">=3.7",
)