From 86edf70b76ae3052c8877b5873f282d54643f451 Mon Sep 17 00:00:00 2001 From: Ben Marshall Date: Thu, 22 Jun 2017 09:26:02 +1200 Subject: [PATCH 1/2] Removed python 3 shebang. Project seems compatible with python2.7. --- hlsclt/hlsclt.py | 1 - 1 file changed, 1 deletion(-) diff --git a/hlsclt/hlsclt.py b/hlsclt/hlsclt.py index f80392c..e619290 100755 --- a/hlsclt/hlsclt.py +++ b/hlsclt/hlsclt.py @@ -1,4 +1,3 @@ -#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ A Vivado HLS Command Line Helper tool From 7e6465b9216cb8911a6017d61377505f3639f7e3 Mon Sep 17 00:00:00 2001 From: Ben Marshall Date: Thu, 22 Jun 2017 09:32:17 +1200 Subject: [PATCH 2/2] Added universal flag and extra classifiers to setup config to specificy python 2 compatibility. --- setup.cfg | 2 ++ setup.py | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 setup.cfg diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..3c6e79c --- /dev/null +++ b/setup.cfg @@ -0,0 +1,2 @@ +[bdist_wheel] +universal=1 diff --git a/setup.py b/setup.py index 30bc277..0b0e64d 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,8 @@ 'Intended Audience :: Developers', 'Topic :: Software Development :: Build Tools', 'License :: OSI Approved :: MIT License', - 'Programming Language :: Python :: 3.6' + 'Programming Language :: Python :: 3.6', + 'Programming Language :: Python :: 2.7' ], keywords='xilinx vivado development',