Skip to content

Commit

Permalink
First release version - very simple and probably buggy but needed for…
Browse files Browse the repository at this point in the history
… a first instance
  • Loading branch information
thomasms committed Feb 18, 2020
1 parent 83b1d79 commit d8a976f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions .VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.1.1
5 changes: 5 additions & 0 deletions actigamma/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# version in two places - here and .VERSION file
# TODO: somehow unify this, without reading the .VERSION every time
# the package is imported
__version__ = "0.1.1"

from .database import ReadOnlyDatabase, DatabaseJSONFileLoader
from .decorators import *
from .core import *
Expand Down
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
import os
from setuptools import setup


VERSION = ""
with open(os.path.join(os.path.dirname(os.path.abspath(__file__)), '.VERSION'), 'rt') as vfile:
VERSION = vfile.readlines()[0].strip("\n").strip()

setup(name='actigamma',
version='0.0.1',
version=VERSION,
description='The package for producing gamma spec from nuclide activities',
url='https://github.com/fispact/actigamma',
author='UKAEA',
Expand Down

0 comments on commit d8a976f

Please sign in to comment.