Skip to content

Commit

Permalink
remove versioneer
Browse files Browse the repository at this point in the history
  • Loading branch information
RMeli committed Oct 13, 2023
1 parent b5532dd commit e940761
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 2,985 deletions.
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 e940761

Please sign in to comment.