From 70c8102bd0c0ff5e68b90bdef696ee5e70b5e2d1 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Thu, 23 Apr 2020 15:22:30 -0300 Subject: [PATCH] Switched to Python 3 only to reduce the docker image size. Version 1.6.2. --- .gitignore | 2 ++ .travis.yml | 1 - KiBOM_CLI.py | 2 +- debian/changelog | 6 ++++++ debian/control | 5 ++--- debian/rules | 2 +- setup.py | 2 +- 7 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 30e5569..d8f7215 100644 --- a/.gitignore +++ b/.gitignore @@ -20,3 +20,5 @@ venv.bak/ htmlcov/ .python-version + +kibom.epr diff --git a/.travis.yml b/.travis.yml index b9e4929..ee102c2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,6 @@ dist: xenial language: python python: - - 2.7 - 3.6 install: diff --git a/KiBOM_CLI.py b/KiBOM_CLI.py index 15f8881..07d0d7b 100755 --- a/KiBOM_CLI.py +++ b/KiBOM_CLI.py @@ -35,7 +35,7 @@ else: xlsxwriter_available = True -KIBOM_VERSION = "1.6.1" +KIBOM_VERSION = "1.6.2" here = os.path.abspath(os.path.dirname(sys.argv[0])) diff --git a/debian/changelog b/debian/changelog index 868760d..b089623 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +kibom.inti-cmnb (1.6.2-1) stable; urgency=medium + + * Switched dependencies to Python 3 + + -- Salvador E. Tropea Thu, 23 Apr 2020 14:52:02 -0300 + kibom.inti-cmnb (1.6.1-1) testing; urgency=medium * New upstream version. Note that the style changed. diff --git a/debian/control b/debian/control index 8f7d5d4..0b80f74 100644 --- a/debian/control +++ b/debian/control @@ -2,16 +2,15 @@ Source: kibom.inti-cmnb Section: electronics Priority: optional Maintainer: Salvador Eduardo Tropea -Build-Depends: debhelper (>=11~), dh-python, python-all, python3-all +Build-Depends: debhelper (>=11~), dh-python, python3-all Standards-Version: 4.1.4 Homepage: https://github.com/INTI-CMNB/KiBoM -X-Python-Version: >= 2.6 X-Python3-Version: >= 3.2 Package: kibom.inti-cmnb Architecture: all Multi-Arch: foreign -Depends: ${misc:Depends}, ${python:Depends} +Depends: ${misc:Depends}, ${python3:Depends} Description: Configurable BoM generation tool for KiCad Can generate CSV, HTML, XML and XLSX Bill of Materials for KiCad projects. The script can be used from the command line or as a KiCad BoM generator. diff --git a/debian/rules b/debian/rules index 81cf197..158e311 100755 --- a/debian/rules +++ b/debian/rules @@ -3,4 +3,4 @@ #export DH_VERBOSE = 1 %: - dh $@ --with python2,python3 --buildsystem=pybuild + dh $@ --with python3 --buildsystem=pybuild diff --git a/setup.py b/setup.py index 159593e..37c850a 100644 --- a/setup.py +++ b/setup.py @@ -50,7 +50,7 @@ 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 3', 'Topic :: Scientific/Engineering :: Electronic Design Automation (EDA)', ], platforms='POSIX',