-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsetup.py
48 lines (44 loc) · 1.55 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
import os
import setuptools
import sys
# 'setup.py publish' shortcut.
if sys.argv[-1] == 'publish':
print("publish")
os.system('python setup.py sdist bdist_wheel')
os.system('twine upload dist/*')
sys.exit()
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
with open("requirements.txt", "r", encoding="utf-8") as requeriments:
REQUIREMENTS = requeriments.readlines()
setuptools.setup(
name="cryptomarket",
version="3.3.0",
packages=[
'cryptomarket',
'cryptomarket.websockets',
'cryptomarket.dataclasses'
],
include_package_data=True,
description="Cryptomarket API client library",
long_description=long_description,
long_description_content_type="text/markdown",
keywords=['api', 'cryptomkt', 'cryptomarket', 'bitcoin', 'client'],
url="https://github.com/cryptomkt/cryptomkt-python",
install_requires=REQUIREMENTS,
author="CryptoMarket",
python_requires='>=3.8',
classifiers=[
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)