Closed prjemian closed 2 years ago
See: Updating Versioneer
pip install -U versioneer
or equivalent)setup.cfg
, if necessary, to include any new configuration settings indicated by the release notes. See UPGRADING for details.versioneer install
in your source tree, to replace SRC/_version.py
(dev-hklpy) prjemian@zap:~/.../Bluesky/hklpy$ versioneer install
replacing old versioneer.py (0.15)
versioneer.py (0.22) installed into local tree
Now running 'versioneer.py setup' to install the generated files..
creating hkl/_version.py
appending to hkl/__init__.py
'versioneer.py' already in MANIFEST.in
versionfile_source already in MANIFEST.in
These changes include the principle change implemented in PR https://github.com/bluesky/hkl-notebooks/pull/4:
parser = configparser.ConfigParser()
This additional change remains to replace the two lines following:
parser.read(setup_cfg)
Confirm if updates to versioneer support is necessary. (Note similar PR https://github.com/bluesky/hkl-notebooks/pull/4) with these remarks:
Similar code exists now in hklpy: https://github.com/bluesky/hklpy/blob/208652f1c93a343f1fef85098b96d9ec90d6962d/versioneer.py#L403