Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove versioneer #91

Merged
merged 3 commits into from
Oct 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading