|
1 | 1 | #!/usr/bin/env python3
|
| 2 | +# -*- coding: utf-8 -*- |
2 | 3 |
|
3 | 4 | from setuptools import setup
|
4 | 5 |
|
5 | 6 | # Work around mbcs bug in distutils.
|
6 | 7 | # http://bugs.python.org/issue10945
|
7 | 8 | import codecs
|
| 9 | + |
8 | 10 | try:
|
9 |
| - codecs.lookup('mbcs') |
| 11 | + codecs.lookup("mbcs") |
10 | 12 | except LookupError:
|
11 |
| - ascii = codecs.lookup('ascii') |
12 |
| - codecs.register(lambda name, enc=ascii: {True: enc}.get(name == 'mbcs')) |
| 13 | + ascii = codecs.lookup("ascii") |
| 14 | + codecs.register(lambda name, enc=ascii: {True: enc}.get(name == "mbcs")) |
13 | 15 |
|
14 |
| -VERSION = '0.2.1' |
| 16 | +VERSION = "0.3.0rc1" |
15 | 17 | URL = "https://github.com/bitshares/python-bitshares"
|
16 | 18 |
|
17 | 19 | setup(
|
18 |
| - name='bitshares', |
| 20 | + name="bitshares", |
19 | 21 | version=VERSION,
|
20 |
| - description='Python library for bitshares', |
21 |
| - long_description=open('README.md').read(), |
22 |
| - download_url='{}/tarball/{}'.format(URL, VERSION), |
23 |
| - author='Fabian Schuh', |
24 |
| - |
25 |
| - maintainer='Fabian Schuh', |
26 |
| - maintainer_email='[email protected]', |
| 22 | + description="Python library for bitshares", |
| 23 | + long_description=open("README.md").read(), |
| 24 | + download_url="{}/tarball/{}".format(URL, VERSION), |
| 25 | + author="Fabian Schuh", |
| 26 | + |
| 27 | + maintainer="Fabian Schuh", |
| 28 | + maintainer_email="[email protected]", |
27 | 29 | url=URL,
|
28 |
| - keywords=['bitshares', 'library', 'api', 'rpc'], |
29 |
| - packages=[ |
30 |
| - "bitshares", |
31 |
| - "bitsharesapi", |
32 |
| - "bitsharesbase" |
33 |
| - ], |
| 30 | + keywords=["bitshares", "library", "api", "rpc"], |
| 31 | + packages=["bitshares", "bitsharesapi", "bitsharesbase"], |
34 | 32 | classifiers=[
|
35 |
| - 'License :: OSI Approved :: MIT License', |
36 |
| - 'Operating System :: OS Independent', |
37 |
| - 'Programming Language :: Python :: 3', |
38 |
| - 'Development Status :: 3 - Alpha', |
39 |
| - 'Intended Audience :: Developers', |
40 |
| - 'Intended Audience :: Financial and Insurance Industry', |
41 |
| - 'Topic :: Office/Business :: Financial', |
| 33 | + "License :: OSI Approved :: MIT License", |
| 34 | + "Operating System :: OS Independent", |
| 35 | + "Programming Language :: Python :: 3", |
| 36 | + "Development Status :: 3 - Alpha", |
| 37 | + "Intended Audience :: Developers", |
| 38 | + "Intended Audience :: Financial and Insurance Industry", |
| 39 | + "Topic :: Office/Business :: Financial", |
42 | 40 | ],
|
43 | 41 | install_requires=open("requirements.txt").readlines(),
|
44 |
| - setup_requires=['pytest-runner'], |
45 |
| - tests_require=['pytest'], |
| 42 | + setup_requires=["pytest-runner"], |
| 43 | + tests_require=["pytest"], |
46 | 44 | include_package_data=True,
|
47 | 45 | )
|
0 commit comments