File tree Expand file tree Collapse file tree 2 files changed +5
-25
lines changed Expand file tree Collapse file tree 2 files changed +5
-25
lines changed Original file line number Diff line number Diff line change 9
9
10
10
import os
11
11
12
- from ._version import get_versions
13
- __version__ = get_versions ()['version' ]
14
- del get_versions
15
-
16
- from .info import long_description as __doc__
12
+ from .info import __version__ , long_description as __doc__
17
13
__doc__ += """
18
14
Quickstart
19
15
==========
Original file line number Diff line number Diff line change 1
- """ Define distrubution parameters for nibabel, including package version
1
+ """ Define distribution parameters for nibabel, including package version
2
2
3
3
This file contains defines parameters for nibabel that we use to fill settings
4
4
in setup.py, the nibabel top-level docstring, and for building the docs. In
8
8
import re
9
9
from distutils .version import StrictVersion
10
10
11
- # nibabel version information. An empty _version_extra corresponds to a
12
- # full release. *Any string* in `_version_extra` labels the version as
13
- # pre-release. So, if `_version_extra` is not empty, the version is taken to
14
- # be earlier than the same version where `_version_extra` is empty (see
15
- # `cmp_pkg_version` below).
16
- #
17
- # We usually use `dev` as `_version_extra` to label this as a development
18
- # (pre-release) version.
19
- _version_major = 3
20
- _version_minor = 0
21
- _version_micro = 0
22
- _version_extra = 'dev'
23
- # _version_extra = ''
24
-
25
- # Format expected by setup.py and doc/source/conf.py: string of form "X.Y.Z"
26
- __version__ = "%s.%s.%s%s" % (_version_major ,
27
- _version_minor ,
28
- _version_micro ,
29
- _version_extra )
11
+ from ._version import get_versions
12
+ __version__ = get_versions ()['version' ]
13
+ del get_versions
30
14
31
15
32
16
def _parse_version (version_str ):
You can’t perform that action at this time.
0 commit comments