Skip to content

Commit

Permalink
Correct Apecosm package version
Browse files Browse the repository at this point in the history
  • Loading branch information
barriern committed Sep 19, 2023
1 parent 2cc864a commit 9acd2e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions CITATION.cff
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,4 @@ authors:
orcid: https://orcid.org/0000-0002-7999-9982

title: APECOSM Python package
version: 1.0.2
date-released: 2023-02-28
doi: 10.5281/zenodo.4110303
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.1
1.1.0
4 changes: 2 additions & 2 deletions apecosm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@

import pkg_resources # part of setuptools
try:
__version__ = pkg_resources.require("apecosm")[0].version
except:
VERSION_FILE = os.path.join(f'{os.path.dirname(__file__)}', '..', 'VERSION')
with open(VERSION_FILE, 'r') as infile:
__version__ = infile.read().strip()
except:
__version__ = pkg_resources.require("apecosm")[0].version

__description__ = "Python package for the manipulation of the Apecosm model"
__author_email__ = "[email protected]"
Expand Down

0 comments on commit 9acd2e4

Please sign in to comment.