diff --git a/rna/__init__.py b/rna/__init__.py index fd50dd5a1fa0bb728cb94481f83fb7c7c3e3dc11..342c1540019337d694325fe149ec67ac8a2b1324 100644 --- a/rna/__init__.py +++ b/rna/__init__.py @@ -2,7 +2,7 @@ __author__ = """Daniel Böckenhoff""" __email__ = 'dboe@ipp.mpg.de' -__version__ = '0.2.2' +__version__ = '0.2.3' from . import plotting from . import log # NOQA diff --git a/setup.cfg b/setup.cfg index 1e04eaffa29adbd8a2622b2adfb0bb588a895f37..9290bdc6f725bd488dd57f8ac9aac651e315f011 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,19 +1,23 @@ +[bumpversion] +current_version = 0.2.3 +commit = True +tag = True + [metadata] name = rna version = attr: rna.__version__ url = https://gitlab.mpcdf.mpg.de/dboe/rna author = Daniel Böckenhoff author_email = dboe@ipp.mpg.de -# find the full list of possible classifiers at https://pypi.org/classifiers/ classifiers = - Development Status :: 3 - Alpha - License :: OSI Approved :: MIT License - Programming Language :: Python - Programming Language :: Python :: 3 - Programming Language :: Python :: 3.5 - Programming Language :: Python :: 3.6 - Programming Language :: Python :: 3.7 - Programming Language :: Python :: 3.8 + Development Status :: 3 - Alpha + License :: OSI Approved :: MIT License + Programming Language :: Python + Programming Language :: Python :: 3 + Programming Language :: Python :: 3.5 + Programming Language :: Python :: 3.6 + Programming Language :: Python :: 3.7 + Programming Language :: Python :: 3.8 license = MIT License license_files = LICENSE.rst description = Basic and essential code building blocks of all pythons @@ -21,47 +25,42 @@ long_description = file: README.rst, LICENSE.rst long_description_content_type = text/x-rst keywords = plotting, matplotlib, pyqtgraph, backend, logging, path, argparse install_requires = - numpy - matplotlib - pathlib2;python_version<"3.0" - pathlib;python_version>="3.0" -project_urls = - Documentation = https://gitlab.mpcdf.mpg.de/dboe/rna - Source = https://gitlab.mpcdf.mpg.de/dboe/rna -tests_require = - doctest - unittest + numpy + matplotlib + pathlib2;python_version<"3.0" + pathlib;python_version>="3.0" +project_urls = + Documentation = https://gitlab.mpcdf.mpg.de/dboe/rna + Source = https://gitlab.mpcdf.mpg.de/dboe/rna +tests_require = + doctest + unittest python_requires = >=3.0 [options.extras_require] -all = - %(dev)s - %(test)s -dev = - twine # for publishing - %(test)s - sphinx # for documentation -test = - flake8 - pytest - pytest-cov - coverage - pytest-shutil - pytest-virtualenv - pytest-fixture-config - pytest-xdist - - tfields - %(pyqtgraph)s -pyqtgraph = - pyqt5 - pyopengl - pyqtgraph - -[bumpversion] -current_version = '0.2.2' -commit = True -tag = True +all = + %(dev)s + %(test)s +dev = + twine # for publishing + %(test)s + sphinx # for documentation +test = + flake8 + pytest + pytest-cov + coverage + pytest-shutil + pytest-virtualenv + pytest-fixture-config + pytest-xdist + + tfields + %(pyqtgraph)s +pyqtgraph = + pyqt5 + pyopengl + pyqtgraph [bumpversion:file:rna/__init__.py] search = __version__ = '{current_version}' @@ -72,19 +71,14 @@ universal = 1 [coverage:report] show_missing = true -exclude_lines = - pragma: no cover - if False - # @abc.abstractmethod - # @abc.abstractproperty - # raise NotImplementedError - # return NotImplemented - # except ImportError +exclude_lines = + pragma: no cover + if False [flake8] max-line-length = 99 doctests = True -exclude = .git, .eggs, __pycache__, tests/, docs/, dist/, builds/, +exclude = .git, .eggs, __pycache__, tests/, docs/, dist/, builds/, [build_sphinx] builder = html,man @@ -98,26 +92,26 @@ addopts = --doctest-modules --ignore=builds [tox:tox] minversion = 3.7 skip_missing_interpreters = true -envlist = - flake8 - py{35,36,37,38}-tox{312,315,latest} +envlist = + flake8 + py{35,36,37,38}-tox{312,315,latest} recreate = true [gh-actions] -python = - 3.5: py35 - 3.6: py36 - 3.7: py37 - 3.8: py38, flake8 +python = + 3.5: py35 + 3.6: py36 + 3.7: py37 + 3.8: py38, flake8 [testenv] description = run test suite under {basepython} -deps = - tox312: tox>=3.12,<3.13 - tox315: tox>=3.15,<3.16 +deps = + tox312: tox>=3.12,<3.13 + tox315: tox>=3.15,<3.16 extras = testing -commands = - pytest --cov={[metadata]name} +commands = + pytest --cov={[metadata]name} [testenv:flake8] commands = flake8 {[metadata]name}/ tests/