Browse Source

New version 3.2.2

master
Ruben Verweij 5 years ago
parent
commit
1d560969c6
6 changed files with 24 additions and 6 deletions
  1. +2
    -1
      MANIFEST.in
  2. +1
    -0
      VERSION
  3. +1
    -1
      docs
  4. +7
    -1
      nd2reader/__init__.py
  5. +5
    -1
      setup.py
  6. +8
    -2
      sphinx/conf.py

+ 2
- 1
MANIFEST.in View File

@ -1,5 +1,6 @@
include MANIFEST.in
include VERSION
include setup.py
include README.md
include LICENSE
include COPYING
include COPYING

+ 1
- 0
VERSION View File

@ -0,0 +1 @@
3.2.2

+ 1
- 1
docs

@ -1 +1 @@
Subproject commit f700c239f8f9d7d1f99a3c10d9f67e2b3b8ef307
Subproject commit c42c8525ee3a593ef7e63f7146b9cca2a7e0c7f7

+ 7
- 1
nd2reader/__init__.py View File

@ -1,4 +1,10 @@
from os import path
from nd2reader.reader import ND2Reader
from nd2reader.legacy import Nd2
__version__ = '3.2.1'
VERSION = ''
CURRENT_DIRECTORY = path.abspath(path.dirname(__file__))
with open(path.join(CURRENT_DIRECTORY, '..', 'VERSION')) as version_file:
VERSION = version_file.read().strip()
__version__ = VERSION

+ 5
- 1
setup.py View File

@ -1,6 +1,10 @@
from os import path
from setuptools import setup
VERSION = '3.2.1'
VERSION = ''
CURRENT_DIRECTORY = path.abspath(path.dirname(__file__))
with open(path.join(CURRENT_DIRECTORY, 'VERSION')) as version_file:
VERSION = version_file.read().strip()
if __name__ == '__main__':
setup(


+ 8
- 2
sphinx/conf.py View File

@ -1,8 +1,14 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from os import path
import sphinx_bootstrap_theme
from recommonmark.parser import CommonMarkParser
VERSION = ''
CURRENT_DIRECTORY = path.abspath(path.dirname(__file__))
with open(path.join(CURRENT_DIRECTORY, '..', 'VERSION')) as version_file:
VERSION = version_file.read().strip()
# -- General configuration ------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.
@ -44,9 +50,9 @@ author = 'Ruben Verweij'
# built documents.
#
# The short X.Y version.
version = '3.2.1'
version = VERSION
# The full version, including alpha/beta/rc tags.
release = '3.2.1'
release = VERSION
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.


Loading…
Cancel
Save