forked from bitshares/python-bitshares
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,45 @@ | ||
#!/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') | ||
codecs.lookup("mbcs") | ||
except LookupError: | ||
ascii = codecs.lookup('ascii') | ||
codecs.register(lambda name, enc=ascii: {True: enc}.get(name == 'mbcs')) | ||
ascii = codecs.lookup("ascii") | ||
codecs.register(lambda name, enc=ascii: {True: enc}.get(name == "mbcs")) | ||
|
||
VERSION = '0.2.1' | ||
VERSION = "0.3.0rc1" | ||
URL = "https://github.com/bitshares/python-bitshares" | ||
|
||
setup( | ||
name='bitshares', | ||
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]', | ||
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" | ||
], | ||
keywords=["bitshares", "library", "api", "rpc"], | ||
packages=["bitshares", "bitsharesapi", "bitsharesbase"], | ||
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', | ||
"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'], | ||
setup_requires=["pytest-runner"], | ||
tests_require=["pytest"], | ||
include_package_data=True, | ||
) |