Skip to content

Commit

Permalink
Merge pull request #91 from RMeli/ver
Browse files Browse the repository at this point in the history
Remove versioneer
  • Loading branch information
RMeli authored Oct 15, 2023
2 parents 4c02adf + 51b4fd7 commit 8d3c540
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 2,986 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@

## Version X.Y.Z

Date: XX/YY/ZZZ
Date: XX/YY/ZZZZ
Contributors: @RMeli

### Improved

* Messages for `NotImplementedError` exceptions [PR #90 | @RMeli]

### Removed

* `versioneer` [PR #91 | @RMeli]

## Version 0.6.0

Expand Down
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
include LICENSE
include MANIFEST.in
include versioneer.py

graft spyrmsd
global-exclude *.py[cod] __pycache__ *.so
11 changes: 0 additions & 11 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ ignore = E203, E266, E501, W503
max-line-length = 88
max-complexity = 18
select = B,C,E,F,W,T4
exclude=versioneer.py

[mypy]
files=spyrmsd, tests
Expand All @@ -32,13 +31,3 @@ markers =
omit =
# Omit the tests
*/tests/*
# Omit generated versioneer
spyrmsd/_version.py

[versioneer]
# Automatic version numbering scheme
VCS = git
style = pep440
versionfile_source = spyrmsd/_version.py
versionfile_build = spyrmsd/_version.py
tag_prefix = ''
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

from setuptools import find_packages, setup

import versioneer

short_description = __doc__.split("\n")

try:
Expand All @@ -25,8 +23,7 @@
description=short_description[0],
long_description=long_description,
long_description_content_type="text/markdown",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
version="0.7.0-dev",
license="MIT",
packages=find_packages(),
include_package_data=True,
Expand Down
6 changes: 1 addition & 5 deletions spyrmsd/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,9 @@
Python RMSD tool with symmetry correction.
"""

from ._version import get_versions
from .due import Doi, due

versions = get_versions()
__version__ = versions["version"]
__git_revision__ = versions["full-revisionid"]
del get_versions, versions
__version__ = "0.7.0-dev"

# This will print latest Zenodo version
due.cite(
Expand Down
Loading

0 comments on commit 8d3c540

Please sign in to comment.