Skip to content

Commit d2c3beb

Browse files
authored
Merge pull request #21 from SpikeInterface/version
Bump up version
2 parents 8b6db0e + da8e00f commit d2c3beb

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

setup.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,17 @@ def open_requirements(fname):
2828

2929
install_requires = open_requirements('requirements.txt')
3030

31+
d = {}
32+
exec(open("src/pynwb/ndx_probeinterface/version.py").read(), None, d)
33+
version = d['version']
34+
3135
setup_args = {
3236
'name': 'ndx-probeinterface',
33-
'version': '0.1.0',
37+
'version': version,
3438
'description': 'Extension for defining neural probes in the probeinterface format',
3539
'long_description': readme,
3640
'long_description_content_type': readme_type,
37-
'author': 'Alessio Buccino',
41+
'author': 'Alessio Buccino, Kyu Hyun Lee, Geeling Chau',
3842
'author_email': 'alessiop.buccino@gmail.com',
3943
'url': '',
4044
'license': 'MIT',

src/pynwb/ndx_probeinterface/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import os
22
from pynwb import load_namespaces, get_class
33

4+
from .version import version as __version__
5+
46
# Set path of the namespace.yaml file to the expected install location
57
ndx_probeinterface_specpath = os.path.join(os.path.dirname(__file__), "spec", "ndx-probeinterface.namespace.yaml")
68

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
version = "0.1.0"

0 commit comments

Comments
 (0)