Skip to content

Commit

Permalink
add nutils.__version__ alias
Browse files Browse the repository at this point in the history
In a follow-up patch `setup.py` will be replaced by a `pyproject.toml` using
Flit as build system. To prepare for this change, this patch adds
`nutils.__version__` as an alias for `nutils.version`, which is used by Flit to
determine the version of the package.
  • Loading branch information
joostvanzwieten committed Nov 30, 2022
1 parent 229b93f commit 708b0e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nutils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
assert sys.version_info >= (3, 5)
assert LooseVersion(numpy.version.version) >= LooseVersion('1.16'), 'nutils requires numpy 1.16 or higher, got {}'.format(numpy.version.version)

version = '8.0a0'
__version__ = version = '8.0a0'
version_name = None
long_version = ('{} "{}"' if version_name else '{}').format(version, version_name)

Expand Down

0 comments on commit 708b0e2

Please sign in to comment.