-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
48 lines (44 loc) · 1.44 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
#!/usr/bin/env python3
from setuptools import (
setup, find_packages
)
# README.md
with open("README.md", "r", encoding="utf-8") as readme:
long_description: str = readme.read()
# requirements.txt
with open("requirements.txt", "r") as _requirements:
requirements: list = list(map(str.strip, _requirements.read().split("\n")))
setup(
name="pyxdc",
version="0.2.0",
description="Python library with tools for XinFin blockchain.",
long_description=long_description,
long_description_content_type="text/markdown",
license="MIT",
author="Meheret Tesfaye Batu",
author_email="[email protected]",
url="https://github.com/meherett/pyxdc",
keywords=["xinfin", "wallet", "protocol", "blockchain"],
python_requires=">=3.6,<4",
packages=find_packages(),
install_requires=requirements,
extras_require={
"tests": [
"pytest>=7.4.3,<8",
"pytest-cov>=4.1.0,<5"
],
"docs": [
"sphinx>=3.5.4,<4",
"sphinx-rtd-theme>=0.5.2,<1"
]
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Software Development :: Libraries :: Python Modules"
],
)