-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathsetup.py
44 lines (38 loc) · 1.07 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
import io
import os
from setuptools import find_packages
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
about = {}
with open(
os.path.join(here, "codechain", "__version__.py"), "r", encoding="utf-8"
) as f:
exec(f.read(), about)
with io.open("README.md", "rt", encoding="utf8") as f:
readme = f.read()
requires = [
"rlp",
"coincurve",
"dataclasses; python_version < '3.7'",
"pycryptodome",
"jsondatabase",
"jsonrpcclient[requests]",
]
setup(
name=about["__title__"],
version=about["__version__"],
url=about["__url__"],
project_urls={
"Documentation": "",
"Code": "https://github.com/CodeChain-io/codechain-sdk-python",
"Issue tracker": "https://github.com/CodeChain-io/codechain-sdk-python/issues",
},
author=about["__author__"],
author_email=about["__author_email__"],
description=about["__description__"],
long_description=readme,
packages=find_packages(),
license=about["__license__"],
install_requires=requires,
python_requires=">=3.6",
)