From 772686a27ec7da22be8a1493d88cad8120847008 Mon Sep 17 00:00:00 2001 From: iamdefinitelyahuman Date: Wed, 19 Feb 2020 14:08:59 +0400 Subject: [PATCH] update changelog, add bumpversion, bump version to 0.8.0 --- CHANGELOG | 5 +++-- requirements-dev.txt | 1 + setup.cfg | 6 ++++++ setup.py | 49 +++++++++++++++++++------------------------- 4 files changed, 31 insertions(+), 30 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 46fc526..d8aa15a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,7 @@ -Unreleased ----------- +0.8.0 +----- + - Allow user-specified installation directory via `SOLCX_BINARY_PATH` environment variable - Include `which` when importing installed versions on OSX 0.7.2 diff --git a/requirements-dev.txt b/requirements-dev.txt index 0b07b95..70f9652 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,4 +1,5 @@ black==19.10b0 +bumpversion==0.5.3 coveralls==1.9.2 flake8==3.7.9 isort==4.3.21 diff --git a/setup.cfg b/setup.cfg index 5fe5328..74dcb6b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,3 +1,8 @@ +[bumpversion] +current_version = 0.8.0 + +[bumpversion:file:setup.py] + [flake8] max-line-length = 100 ignore = E203,W503 @@ -8,3 +13,4 @@ include_trailing_comma = True line_length = 100 multi_line_output = 3 use_parentheses = True + diff --git a/setup.py b/setup.py index 25f6936..dddeea0 100644 --- a/setup.py +++ b/setup.py @@ -1,40 +1,33 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- -from setuptools import ( - setup, - find_packages, -) - +from setuptools import find_packages, setup setup( - name='py-solc-x', - version='0.7.2', + name="py-solc-x", + version="0.8.0", description="""Python wrapper around the solc binary with 0.5.x and 0.6.x support""", - long_description_markdown_filename='README.md', - author='Ben Hauser (forked from py-solc by Piper Merriam)', - author_email='ben@hauser.id', - url='https://github.com/iamdefinitelyahuman/py-solc-x', + long_description_markdown_filename="README.md", + author="Ben Hauser (forked from py-solc by Piper Merriam)", + author_email="ben@hauser.id", + url="https://github.com/iamdefinitelyahuman/py-solc-x", include_package_data=True, - py_modules=['solcx'], - setup_requires=['setuptools-markdown'], - python_requires='>=3.4, <4', - install_requires=[ - "semantic_version>=2.8.1,<3", - "requests>=2.19.0,<3" - ], + py_modules=["solcx"], + setup_requires=["setuptools-markdown"], + python_requires=">=3.4, <4", + install_requires=["semantic_version>=2.8.1,<3", "requests>=2.19.0,<3"], license="MIT", zip_safe=False, - keywords='ethereum solidity solc', + keywords="ethereum solidity solc", packages=find_packages(exclude=["tests", "tests.*"]), classifiers=[ - 'Intended Audience :: Developers', - 'License :: OSI Approved :: MIT License', - 'Natural Language :: English', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.4', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8' + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Natural Language :: English", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.4", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", + "Programming Language :: Python :: 3.8", ], )