forked from peerplays-network/python-peerplays
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·44 lines (39 loc) · 1.46 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
#!/usr/bin/env python3
from setuptools import setup
# Work around mbcs bug in distutils.
# http://bugs.python.org/issue10945
import codecs
try:
codecs.lookup("mbcs")
except LookupError:
ascii = codecs.lookup("ascii")
codecs.register(lambda name, enc=ascii: {True: enc}.get(name == "mbcs"))
VERSION = "0.3.11"
setup(
name="peerplays",
version=VERSION,
description="Python library for PEERPLAYS",
long_description=open("README.md").read(),
download_url="https://github.com/PBSA/python-peerplays/tarball/" + VERSION,
author="Fabian Schuh",
author_email="Fabian.Schuh@BlockchainProjectsBV.com",
maintainer="Fabian Schuh",
maintainer_email="Fabian.Schuh@BlockchainProjectsBV.com",
url="https://github.com/PBSA/peerplays-python",
keywords=["peerplays", "library", "api", "rpc"],
packages=["peerplays", "peerplays.cli", "peerplaysapi", "peerplaysbase"],
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"Topic :: Games/Entertainment",
],
entry_points={"console_scripts": ["peerplays = peerplays.cli.cli:main"]},
install_requires=open("requirements.txt").readlines(),
setup_requires=["pytest-runner"],
tests_require=["pytest"],
include_package_data=True,
)