forked from xeroc/python-graphenelib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·43 lines (38 loc) · 1.32 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
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 = "1.1.7"
URL = "https://github.com/xeroc/python-graphenelib"
setup(
name="graphenelib",
version=VERSION,
description="Python library for graphene-based blockchains",
long_description=open("README.md").read(),
download_url="{}/tarball/{}".format(URL, VERSION),
author="Fabian Schuh",
author_email="Fabian@chainsquad.com",
maintainer="Fabian Schuh",
maintainer_email="Fabian@chainsquad.com",
url=URL,
keywords=["graphene", "api", "rpc", "ecdsa", "secp256k1"],
packages=["grapheneapi", "graphenebase", "graphenestorage", "graphenecommon"],
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
],
install_requires=open("requirements.txt").readlines(),
setup_requires=["pytest-runner"],
tests_require=["pytest"],
include_package_data=True,
)