From: Adam Israel Date: Mon, 1 Oct 2018 14:35:42 +0000 (-0400) Subject: Update package versioning X-Git-Tag: v5.0.0~10 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=refs%2Fchanges%2F94%2F6594%2F1;p=osm%2FN2VC.git Update package versioning Update the package versioning to include git hash Signed-off-by: Adam Israel --- 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=[