From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D5686A0507; Wed, 6 Apr 2022 16:58:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7AF56428C3; Wed, 6 Apr 2022 16:56:38 +0200 (CEST) Received: from lb.pantheon.sk (lb.pantheon.sk [46.229.239.20]) by mails.dpdk.org (Postfix) with ESMTP id A9F31428A4 for ; Wed, 6 Apr 2022 16:56:33 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lb.pantheon.sk (Postfix) with ESMTP id D95CA1B27AA; Wed, 6 Apr 2022 16:56:32 +0200 (CEST) X-Virus-Scanned: amavisd-new at siecit.sk Received: from lb.pantheon.sk ([127.0.0.1]) by localhost (lb.pantheon.sk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id gGfDFo10bmEs; Wed, 6 Apr 2022 16:56:32 +0200 (CEST) Received: from entguard.lab.pantheon.local (unknown [46.229.239.141]) by lb.pantheon.sk (Postfix) with ESMTP id 0FD9C1B27A2; Wed, 6 Apr 2022 16:56:14 +0200 (CEST) From: =?UTF-8?q?Juraj=20Linke=C5=A1?= To: thomas@monjalon.net, david.marchand@redhat.com, Honnappa.Nagarahalli@arm.com, ohilyard@iol.unh.edu, lijuan.tu@intel.com Cc: dev@dpdk.org, =?UTF-8?q?Juraj=20Linke=C5=A1?= Subject: [RFC PATCH v1 15/15] dts: merge DTS version.py to DPDK Date: Wed, 6 Apr 2022 14:56:06 +0000 Message-Id: <20220406145606.2913834-16-juraj.linkes@pantheon.tech> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220406145606.2913834-1-juraj.linkes@pantheon.tech> References: <20220406145606.2913834-1-juraj.linkes@pantheon.tech> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org --- dts/version.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 dts/version.py diff --git a/dts/version.py b/dts/version.py new file mode 100755 index 0000000000..9f23357435 --- /dev/null +++ b/dts/version.py @@ -0,0 +1,21 @@ +# + +VERSION_MAJOR = "21" +VERSION_MINOR = "11" +VERSION_PATCH = "0" +VERSION_EXTRA = "" + +__version__ = "%s.%s.%s" % (VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH) + +if VERSION_EXTRA: + __version__ = "%s-%s" % (__version__, VERSION_EXTRA) + + +def dts_version(): + """ + Return the version of dts package + """ + return __version__ + + +__all__ = ["dts_version", "__version__"] -- 2.20.1