Skip to content

Commit 4eea6a8

Browse files
author
Ruben Verweij
committed
Version 3.2.3 due to build error of new version number storage system
1 parent fe644d2 commit 4eea6a8

File tree

6 files changed

+5
-20
lines changed

6 files changed

+5
-20
lines changed

VERSION

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs

Submodule docs updated from c42c852 to 47a1165

nd2reader/__init__.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,4 @@
22
from nd2reader.reader import ND2Reader
33
from nd2reader.legacy import Nd2
44

5-
VERSION = ''
6-
CURRENT_DIRECTORY = path.abspath(path.dirname(__file__))
7-
with open(path.join(CURRENT_DIRECTORY, '..', 'VERSION')) as version_file:
8-
VERSION = version_file.read().strip()
9-
10-
__version__ = VERSION
5+
__version__ = '3.2.3'

release.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Update version in 'VERSION' file
1+
Update version in 'nd2reader/__init__.py' file
22

33
Rebuild sphinx documentation
44

setup.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
from os import path
22
from setuptools import setup
3-
4-
VERSION = ''
5-
CURRENT_DIRECTORY = path.abspath(path.dirname(__file__))
6-
with open(path.join(CURRENT_DIRECTORY, 'VERSION')) as version_file:
7-
VERSION = version_file.read().strip()
3+
from nd2reader import __version__ as VERSION
84

95
if __name__ == '__main__':
106
setup(

sphinx/conf.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,8 @@
11
#!/usr/bin/env python3
22
# -*- coding: utf-8 -*-
3-
from os import path
43
import sphinx_bootstrap_theme
54
from recommonmark.parser import CommonMarkParser
6-
7-
VERSION = ''
8-
CURRENT_DIRECTORY = path.abspath(path.dirname(__file__))
9-
with open(path.join(CURRENT_DIRECTORY, '..', 'VERSION')) as version_file:
10-
VERSION = version_file.read().strip()
5+
from nd2reader import __version__ as VERSION
116

127
# -- General configuration ------------------------------------------------
138

0 commit comments

Comments
 (0)