Skip to content

Commit 4185ba3

Browse files
author
Thinh Nguyen
committed
add version.py
1 parent ea1547f commit 4185ba3

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

element_array_ephys/version.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
"""Package metadata."""
2+
__version__ = '0.1.1'

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
from setuptools import setup, find_packages
22
from os import path
33

4+
pkg_name = 'element_array_ephys'
45
here = path.abspath(path.dirname(__file__))
56

67
long_description = """"
@@ -10,9 +11,12 @@
1011
with open(path.join(here, 'requirements.txt')) as f:
1112
requirements = f.read().splitlines()
1213

14+
with open(path.join(here, pkg_name, 'version.py')) as f:
15+
exec(f.read())
16+
1317
setup(
1418
name='element-array-ephys',
15-
version='0.0.1',
19+
version=__version__,
1620
description="DataJoint Element for Extracellular Array Electrophysiology",
1721
long_description=long_description,
1822
author='DataJoint NEURO',

0 commit comments

Comments
 (0)