Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace explicit version number with versioneer #229

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[metadata]
name=benchcab
summary= Software to run a benchmarking suite for CABLE LSM
version=3.0.0
description=To benchmark CABLE simulations
url=https://github.com/CABLE-LSM/benchcab
license=Apache 2.0
Expand All @@ -21,3 +20,9 @@ addopts = --doctest-modules --doctest-glob='*.rst' --ignore setup.py --ignore co

[options]
include_package_data = True

[versioneer]
VCS = git
style = pep440
versionfile_source = None
tag_prefix = v
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/usr/bin/env python

from setuptools import setup
import versioneer

Check warning on line 4 in setup.py

View check run for this annotation

Codecov / codecov/patch

setup.py#L4

Added line #L4 was not covered by tests

setup(
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
)

setup()
Loading