Skip to content

Commit

Permalink
Switched to Python 3 only to reduce the docker image size. Version 1.…
Browse files Browse the repository at this point in the history
…6.2.
  • Loading branch information
set-soft committed Apr 23, 2020
1 parent 38ebe9f commit 70c8102
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,5 @@ venv.bak/
htmlcov/

.python-version

kibom.epr
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ dist: xenial
language: python

python:
- 2.7
- 3.6

install:
Expand Down
2 changes: 1 addition & 1 deletion KiBOM_CLI.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]))

Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
kibom.inti-cmnb (1.6.2-1) stable; urgency=medium

* Switched dependencies to Python 3

-- Salvador E. Tropea <salvador@kaira.inti.gov.ar> 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.
Expand Down
5 changes: 2 additions & 3 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@ Source: kibom.inti-cmnb
Section: electronics
Priority: optional
Maintainer: Salvador Eduardo Tropea <salvador@inti.gob.ar>
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.
2 changes: 1 addition & 1 deletion debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
#export DH_VERBOSE = 1

%:
dh $@ --with python2,python3 --buildsystem=pybuild
dh $@ --with python3 --buildsystem=pybuild
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 70c8102

Please sign in to comment.