From 1d0069ee8818fbfe0e3647e9b49d17e29644847e Mon Sep 17 00:00:00 2001 From: Luke Craig Date: Tue, 2 Apr 2024 22:10:49 -0400 Subject: [PATCH] PyPANDA versioning (#1489) * add pypanda versioning * cleanup * not quite right * Add fallback version --- panda/python/core/setup.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/panda/python/core/setup.py b/panda/python/core/setup.py index 4890c85bf99..4831ff0a0ad 100644 --- a/panda/python/core/setup.py +++ b/panda/python/core/setup.py @@ -122,9 +122,14 @@ def run(self): long_description = fh.read() setup(name='pandare', - version='0.1.2.0', description='Python Interface to PANDA', long_description=long_description, + setup_requires=['setuptools_scm'], + use_scm_version = { + "root": "../../..", + "relative_to": __file__, + "fallback_version": "0.0.0.1", + }, long_description_content_type="text/markdown", author='Andrew Fasano, Luke Craig, and Tim Leek', author_email='fasano@mit.edu',