Setup bumpversion
This commit is contained in:
		
							
								
								
									
										11
									
								
								.bumpversion.cfg
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								.bumpversion.cfg
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
[bumpversion]
 | 
			
		||||
current_version = 0.0.0
 | 
			
		||||
commit = True
 | 
			
		||||
tag = True
 | 
			
		||||
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)
 | 
			
		||||
serialize = 
 | 
			
		||||
	{major}.{minor}.{patch}
 | 
			
		||||
 | 
			
		||||
[bumpversion:file:setup.py]
 | 
			
		||||
 | 
			
		||||
[bumpversion:file:./prototorch/models/__init__.py]
 | 
			
		||||
@@ -5,9 +5,4 @@ from .glvq import GLVQ, GMLVQ, GRLVQ, LVQMLN, ImageGLVQ, SiameseGLVQ
 | 
			
		||||
from .neural_gas import NeuralGas
 | 
			
		||||
from .vis import *
 | 
			
		||||
 | 
			
		||||
VERSION_FALLBACK = "uninstalled_version"
 | 
			
		||||
try:
 | 
			
		||||
    __version__ = version(__name__.replace(".", "-"))
 | 
			
		||||
except PackageNotFoundError:
 | 
			
		||||
    __version__ = VERSION_FALLBACK
 | 
			
		||||
    pass
 | 
			
		||||
__version__ = "0.0.0"
 | 
			
		||||
							
								
								
									
										3
									
								
								setup.py
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								setup.py
									
									
									
									
									
								
							@@ -26,7 +26,7 @@ ALL = EXAMPLES + TESTS
 | 
			
		||||
 | 
			
		||||
setup(
 | 
			
		||||
    name=safe_name("prototorch_" + PLUGIN_NAME),
 | 
			
		||||
    use_scm_version=True,
 | 
			
		||||
    version="0.0.0",
 | 
			
		||||
    descripion=
 | 
			
		||||
    "Pre-packaged prototype-based machine learning models using ProtoTorch and PyTorch-Lightning.",
 | 
			
		||||
    long_description=long_description,
 | 
			
		||||
@@ -36,7 +36,6 @@ setup(
 | 
			
		||||
    download_url=DOWNLOAD_URL,
 | 
			
		||||
    license="MIT",
 | 
			
		||||
    install_requires=INSTALL_REQUIRES,
 | 
			
		||||
    setup_requires=["setuptools_scm"],
 | 
			
		||||
    extras_require={
 | 
			
		||||
        "examples": EXAMPLES,
 | 
			
		||||
        "tests": TESTS,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user