From c4878f806ea5987148edbf1155c369c001897889 Mon Sep 17 00:00:00 2001 From: blackfly Date: Sun, 5 Apr 2020 13:31:06 +0200 Subject: [PATCH] Update versioning convention --- .bumpversion.cfg | 16 ++++++++++++++-- setup.py | 9 +++++---- 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/.bumpversion.cfg b/.bumpversion.cfg index daa98f9..d9ff017 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,7 +1,19 @@ [bumpversion] -current_version = 0.0.0 +current_version = 0.0.0-dev1 commit = True -tag = True +tag = False +parse = (?P\d+)\.(?P\d+)\.(?P\d+)(\-(?P[a-z]+)(?P\d+))? +serialize = + {major}.{minor}.{patch}-{release}{build} + {major}.{minor}.{patch} + +[bumpversion:part:release] +optional_value = prod +first_value = dev +values = + dev + rc + prod [bumpversion:file:setup.py] diff --git a/setup.py b/setup.py index 2d1e902..39cd167 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ with open('README.md', 'r') as fh: long_description = fh.read() setup(name='prototorch', - version='0.0.0', + version='0.0.0-dev1', description='Highly extensible, GPU-supported ' 'Learning Vector Quantization (LVQ) toolbox ' 'built using PyTorch and its nn API.', @@ -23,7 +23,7 @@ setup(name='prototorch', license='MIT', install_requires=[ 'torch>=1.3.1', - 'torchvision>=0.4.2', + 'torchvision>=0.5.0', 'numpy>=1.9.1', 'matplotlib', 'sklearn', @@ -38,14 +38,15 @@ setup(name='prototorch', 'tests': ['pytest'], }, classifiers=[ - 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', - 'Intended Audience :: Education', + 'Development Status :: 2 - Pre-Alpha', 'Environment :: Console', + 'Intended Audience :: Developers', 'Intended Audience :: Education', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Operating System :: OS Independent', + 'Topic :: Scientific/Engineering :: Artificial Intelligence', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules' ],