Skip to content

Commit

Permalink
Release (#18)
Browse files Browse the repository at this point in the history
* Update setup.py

* add bump2version config

* Bump version: 0.0.1 → 0.0.2-rc0
  • Loading branch information
adamltyson authored Jul 13, 2021
1 parent d383b37 commit 302f2f9
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 42 deletions.
2 changes: 1 addition & 1 deletion brainreg_napari/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.0.1"
__version__ = "0.0.2-rc0"
65 changes: 27 additions & 38 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,42 +1,31 @@
[metadata]
name = brainreg-napari
version = 0.0.1
author = Stephen Lenzi
author_email = [email protected]
license = MIT
url = https://github.com/brainglobe/brainreg-napari
description = A simple plugin for running and viewing brainreg results
long_description = file: README.md
long_description_content_type = text/markdown
classifiers =
Development Status :: 2 - Pre-Alpha
Intended Audience :: Developers
Framework :: napari
Topic :: Software Development :: Testing
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Operating System :: OS Independent
License :: OSI Approved :: MIT License
project_urls =
Bug Tracker = https://github.com/brainglobe/brainreg-napari/issues
Documentation = https://github.com/brainglobe/brainreg-napari#README.md
Source Code = https://github.com/brainglobe/brainreg-napari
User Support = https://forum.image.sc/tag/brainglobe
[bumpversion]
current_version = 0.0.2-rc0
commit = True
tag = True
tag_name = {new_version}
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<rc>\d+))?
serialize =
{major}.{minor}.{patch}-{release}{rc}
{major}.{minor}.{patch}

[options]
packages = find:
python_requires = >=3.6
[bumpversion:part:release]
optional_value = prod
first_value = rc
values =
rc
prod

# add your package requirements here
install_requires =
napari-plugin-engine>=0.1.4
numpy
[bumpversion:part:rc]

[bumpversion:file:setup.py]
search = version="{current_version}"
replace = version="{new_version}"

[options.entry_points]
napari.plugin =
brainreg-napari = brainreg_napari
[bumpversion:file:brainreg_napari/__init__.py]
search = __version__ = "{current_version}"
replace = __version__ = "{new_version}"

[flake8]
ignore = E203, E231, W503, E722
max-line-length = 79
exclude = __init__.py,build,.eggs
12 changes: 9 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

setup(
name="brainreg-napari",
version="0.0.1",
version="0.0.2-rc0",
author="Stephen Lenzi, Adam Tyson",
author_email="[email protected]",
license="BSD-3-Clause",
Expand All @@ -39,8 +39,14 @@
"check-manifest",
]
},
url="",
project_urls={},
url="https://brainglobe.info",
project_urls={
"Source Code": "https://github.com/brainglobe/brainreg-napari",
"Bug Tracker": "https://github.com/brainglobe/brainreg-napari/issues",
"Documentation": "https://docs.brainglobe.info/",
"User Support": "https://forum.image.sc/tag/brainglobe",
"Twitter": "https://twitter.com/brain_globe",
},
classifiers=[
"Development Status :: 4 - Beta",
"Framework :: napari",
Expand Down

0 comments on commit 302f2f9

Please sign in to comment.