Skip to content

Commit

Permalink
remove versioneer
Browse files Browse the repository at this point in the history
  • Loading branch information
grlee77 committed Oct 24, 2023
1 parent 5310870 commit ebb27b4
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 2,363 deletions.
1 change: 0 additions & 1 deletion python/cucim/MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ include README.md

include tox.ini .travis.yml .appveyor.yml .readthedocs.yml

include versioneer.py
include src/cucim/clara/*.so*

recursive-include src/cucim *.py *.pyi *.cu *.h *.npy *.txt *.md
Expand Down
11 changes: 1 addition & 10 deletions python/cucim/setup.cfg
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
[versioneer]
VCS = git
style = pep440
versionfile_source = src/cucim/_version.py
versionfile_build = cucim/_version.py
tag_prefix = v
parentdir_prefix = cucim-

[bdist_wheel]
universal = 0

Expand All @@ -26,7 +18,6 @@ ignore =
exclude = .tox,.eggs,ci/templates,build,dist,.git,__pycache__,doc/conf.py,doc/sphinxext,build,dist,__init__.py
per-file-ignores =
setup.py:F821
versioneer.py:W605
src/localtest.py:E127
src/cucim/skimage/__init__.py:F401
src/cucim/skimage/measure/tests/test_block.py:E201,E202,E241
Expand Down Expand Up @@ -65,6 +56,6 @@ line_length = 80
known_first_party = cucim
default_section = THIRDPARTY
forced_separate = test_cucim
skip = .tox,.eggs,ci/templates,build,dist,versioneer.py,ndimage.py
skip = .tox,.eggs,ci/templates,build,dist,ndimage.py
sections = FUTURE,STDLIB,THIRDPARTY,FIRSTPARTY,LOCALFOLDER
multi_line_output = GRID
4 changes: 1 addition & 3 deletions python/cucim/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
import sys
from os.path import dirname, join

import versioneer
from setuptools import find_packages, setup

# Give setuptools a hint to complain if it's too old a version
Expand All @@ -26,8 +25,7 @@ def read(*names, **kwargs):

opts = dict(
name='cucim',
version=read('VERSION').strip(), # versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
version=read('VERSION').strip(),
license='Apache-2.0',
description='cuCIM - an extensible toolkit designed to provide GPU accelerated I/O, computer vision & image processing primitives for N-Dimensional images with a focus on biomedical imaging.', # noqa
long_description='%s\n%s' % (
Expand Down
5 changes: 1 addition & 4 deletions python/cucim/src/cucim/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ try:
_is_clara_available = True
submodules += ['clara']
except ImportError:
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
del _version
__version__ = "23.12.00"

__all__ = submodules + ['__version__', 'is_available']
Loading

0 comments on commit ebb27b4

Please sign in to comment.