-
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
finalize version 3.2.2, use `setuptools-scm` to set the version number from the git tag
- Loading branch information
Showing
4 changed files
with
32 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
uncertainties-py23/ | ||
uncertainties/version.py | ||
*.pyc | ||
build | ||
doc/_build | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,14 @@ | |
requires = ["setuptools>=64", "setuptools-scm>=8"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.setuptools_scm] | ||
write_to = "uncertainties/version.py" | ||
version_scheme = "post-release" | ||
|
||
|
||
[project] | ||
name = "uncertainties" | ||
version = "3.2.1" | ||
dynamic = ["version"] | ||
authors = [ | ||
{name = "Eric O. LEBIGOT (EOL)", email = "[email protected]"}, | ||
] | ||
|
@@ -48,7 +53,6 @@ dependencies = [] | |
[tool.setuptools] | ||
packages = ["uncertainties", "uncertainties.unumpy"] | ||
|
||
[tool.setuptools_scm] | ||
|
||
[project.urls] | ||
Documentation = "https://uncertainties.readthedocs.io/" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -221,12 +221,11 @@ | |
This software is released under the BSD license. | ||
''' | ||
|
||
from builtins import map | ||
from .core import * | ||
from .core import __all__ # For a correct help(uncertainties) | ||
|
||
# Numerical version: | ||
__version_info__ = (3, 2, 1) | ||
__version__ = '.'.join(map(str, __version_info__)) | ||
from .version import __version__, __version_tuple__ | ||
# for backward compatibility | ||
__version_info__ = __version_tuple__ | ||
|
||
__author__ = 'Eric O. LEBIGOT (EOL) <[email protected]>' |