forked from bitshares/python-bitshares
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
executable file
·51 lines (46 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
45
46
47
48
49
50
51
#!/usr/bin/env python3
# -*- 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__ = "0.7.0"
URL = "https://github.com/bitshares/python-bitshares"
setup(
name="bitshares",
version=__version__,
description="Python library for bitshares",
long_description=open("README.md").read(),
download_url="{}/tarball/{}".format(URL, __version__),
author="Fabian Schuh",
author_email="[email protected]",
maintainer="Fabian Schuh",
maintainer_email="[email protected]",
url=URL,
keywords=["bitshares", "library", "api", "rpc"],
packages=[
"bitshares",
"bitsharesapi",
"bitsharesbase",
"bitshares.aio",
"bitsharesapi.aio",
],
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Financial and Insurance Industry",
"Topic :: Office/Business :: Financial",
],
install_requires=open("requirements.txt").readlines(),
setup_requires=["pytest-runner"],
tests_require=["pytest"],
include_package_data=True,
)