From beedfecaa39c24cba059e6e562d890b4358021be Mon Sep 17 00:00:00 2001 From: Adam Israel Date: Mon, 1 Oct 2018 10:35:42 -0400 Subject: [PATCH 1/1] Update package versioning Update the package versioning to include git hash Signed-off-by: Adam Israel --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 1450a15..09c0bdf 100644 --- a/setup.py +++ b/setup.py @@ -12,12 +12,12 @@ # See the License for the specific language governing permissions and # limitations under the License. -from pathlib import Path from setuptools import setup, find_packages setup( name='N2VC', - version=0.1, + version_command=('git describe --match v* --tags --long --dirty', + 'pep440-git-full'), packages=find_packages( exclude=["*.tests", "*.tests.*", "tests.*", "tests"]), install_requires=[ -- 2.17.1