Removed distutils as dependency

This commit is contained in:
Salvador E. Tropea 2022-06-30 13:59:42 -03:00
parent 5b732867f5
commit 84f3b0ede1
4 changed files with 11 additions and 35 deletions

View File

@ -112,9 +112,6 @@ Notes:
- ![Python module](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/Python-logo-notext-22x22.png) This is a Python module, not a separated tool. - ![Python module](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/Python-logo-notext-22x22.png) This is a Python module, not a separated tool.
- ![Tool](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/llave-inglesa-22x22.png) This is an independent tool, can be a binary or a Python script. - ![Tool](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/llave-inglesa-22x22.png) This is an independent tool, can be a binary or a Python script.
[**Distutils**](https://pypi.org/project/Distutils/) [![Python module](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/Python-logo-notext-22x22.png)](https://pypi.org/project/Distutils/) [![Debian](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/debian-openlogo-22x22.png)](https://packages.debian.org/bullseye/python3-distutils)
- Mandatory
[**PyYAML**](https://pypi.org/project/PyYAML/) [![Python module](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/Python-logo-notext-22x22.png)](https://pypi.org/project/PyYAML/) [![PyPi dependency](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/PyPI_logo_simplified-22x22.png)](https://pypi.org/project/PyYAML/) [![Debian](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/debian-openlogo-22x22.png)](https://packages.debian.org/bullseye/python3-yaml) [**PyYAML**](https://pypi.org/project/PyYAML/) [![Python module](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/Python-logo-notext-22x22.png)](https://pypi.org/project/PyYAML/) [![PyPi dependency](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/PyPI_logo_simplified-22x22.png)](https://pypi.org/project/PyYAML/) [![Debian](https://raw.githubusercontent.com/INTI-CMNB/KiBot/master/docs/images/debian-openlogo-22x22.png)](https://packages.debian.org/bullseye/python3-yaml)
- Mandatory - Mandatory

2
debian/control vendored
View File

@ -10,7 +10,7 @@ X-Python3-Version: >= 3.6
Package: kibot Package: kibot
Architecture: all Architecture: all
Multi-Arch: foreign Multi-Arch: foreign
Depends: ${misc:Depends}, ${python3:Depends}, python3-distutils, python3-yaml, kicad (>= 5.1.6), python3-wxgtk4.0 Depends: ${misc:Depends}, ${python3:Depends}, python3-yaml, kicad (>= 5.1.6), python3-wxgtk4.0
Recommends: kibom.inti-cmnb (>= 1.8.0), kicost (>= 1.1.8), interactivehtmlbom.inti-cmnb (>= 2.4.1), pcbdraw (>= 0.9.0), imagemagick, librsvg2-bin, python3-xlsxwriter, rar, ghostscript, python3-lxml Recommends: kibom.inti-cmnb (>= 1.8.0), kicost (>= 1.1.8), interactivehtmlbom.inti-cmnb (>= 2.4.1), pcbdraw (>= 0.9.0), imagemagick, librsvg2-bin, python3-xlsxwriter, rar, ghostscript, python3-lxml
Suggests: pandoc, texlive-latex-base, texlive-latex-recommended, git, poppler-utils Suggests: pandoc, texlive-latex-base, texlive-latex-recommended, git, poppler-utils
Description: KiCad Bot Description: KiCad Bot

View File

@ -158,6 +158,5 @@ class RegDependency(Registrable):
# Here we register some global dependencies # Here we register some global dependencies
RegDependency.register(ToolDependency('global', 'Colorama', is_python=True, RegDependency.register(ToolDependency('global', 'Colorama', is_python=True,
roles=ToolDependencyRole(desc='get color messages in a portable way'))) roles=ToolDependencyRole(desc='get color messages in a portable way')))
RegDependency.register(ToolDependency('global', 'Distutils', is_python=True))
RegDependency.register(ToolDependency('global', 'Requests', is_python=True)) RegDependency.register(ToolDependency('global', 'Requests', is_python=True))
RegDependency.register(ToolDependency('global', 'PyYAML', is_python=True, deb='python3-yaml', module_name='yaml')) RegDependency.register(ToolDependency('global', 'PyYAML', is_python=True, deb='python3-yaml', module_name='yaml'))

View File

@ -46,34 +46,6 @@ deps = '{\
"url": null,\ "url": null,\
"url_down": null\ "url_down": null\
},\ },\
"Distutils": {\
"command": "distutils",\
"deb_package": "python3-distutils",\
"downloader": null,\
"extra_deb": null,\
"help_option": "--version",\
"importance": 1000000,\
"in_debian": true,\
"is_kicad_plugin": false,\
"is_python": true,\
"module_name": "distutils",\
"name": "Distutils",\
"no_cmd_line_version": false,\
"no_cmd_line_version_old": false,\
"output": "global",\
"plugin_dirs": null,\
"pypi_name": "Distutils",\
"roles": [\
{\
"desc": null,\
"mandatory": true,\
"output": "global",\
"version": null\
}\
],\
"url": null,\
"url_down": null\
},\
"Ghostscript": {\ "Ghostscript": {\
"command": "ghostscript",\ "command": "ghostscript",\
"deb_package": "ghostscript",\ "deb_package": "ghostscript",\
@ -313,7 +285,11 @@ deps = '{\
"desc": null,\ "desc": null,\
"mandatory": true,\ "mandatory": true,\
"output": "pdf_sch_print",\ "output": "pdf_sch_print",\
"version": null\ "version": [\
1,\
5,\
4\
]\
},\ },\
{\ {\
"desc": null,\ "desc": null,\
@ -349,7 +325,11 @@ deps = '{\
"desc": null,\ "desc": null,\
"mandatory": true,\ "mandatory": true,\
"output": "svg_sch_print",\ "output": "svg_sch_print",\
"version": null\ "version": [\
1,\
5,\
4\
]\
},\ },\
{\ {\
"desc": null,\ "desc": null,\