Setup bumpversion
This commit is contained in:
parent
49100f43f5
commit
6873927349
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 .neural_gas import NeuralGas
|
||||||
from .vis import *
|
from .vis import *
|
||||||
|
|
||||||
VERSION_FALLBACK = "uninstalled_version"
|
__version__ = "0.0.0"
|
||||||
try:
|
|
||||||
__version__ = version(__name__.replace(".", "-"))
|
|
||||||
except PackageNotFoundError:
|
|
||||||
__version__ = VERSION_FALLBACK
|
|
||||||
pass
|
|
3
setup.py
3
setup.py
@ -26,7 +26,7 @@ ALL = EXAMPLES + TESTS
|
|||||||
|
|
||||||
setup(
|
setup(
|
||||||
name=safe_name("prototorch_" + PLUGIN_NAME),
|
name=safe_name("prototorch_" + PLUGIN_NAME),
|
||||||
use_scm_version=True,
|
version="0.0.0",
|
||||||
descripion=
|
descripion=
|
||||||
"Pre-packaged prototype-based machine learning models using ProtoTorch and PyTorch-Lightning.",
|
"Pre-packaged prototype-based machine learning models using ProtoTorch and PyTorch-Lightning.",
|
||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
@ -36,7 +36,6 @@ setup(
|
|||||||
download_url=DOWNLOAD_URL,
|
download_url=DOWNLOAD_URL,
|
||||||
license="MIT",
|
license="MIT",
|
||||||
install_requires=INSTALL_REQUIRES,
|
install_requires=INSTALL_REQUIRES,
|
||||||
setup_requires=["setuptools_scm"],
|
|
||||||
extras_require={
|
extras_require={
|
||||||
"examples": EXAMPLES,
|
"examples": EXAMPLES,
|
||||||
"tests": TESTS,
|
"tests": TESTS,
|
||||||
|
Loading…
Reference in New Issue
Block a user