[DOCs][Dependencies] Removed extra spaces
This commit is contained in:
parent
482efbd81b
commit
3db94210cc
24
README.md
24
README.md
|
|
@ -112,13 +112,13 @@ Notes:
|
||||||
-  This is a Python module, not a separated tool.
|
-  This is a Python module, not a separated tool.
|
||||||
-  This is an independent tool, can be a binary or a Python script.
|
-  This is an independent tool, can be a binary or a Python script.
|
||||||
|
|
||||||
[**Distutils**](https://pypi.org/project/Distutils/) [](https://pypi.org/project/Distutils/)[](https://pypi.org/project/Distutils/) [](https://packages.debian.org/bullseye/python3-distutils)
|
[**Distutils**](https://pypi.org/project/Distutils/) [](https://pypi.org/project/Distutils/) [](https://packages.debian.org/bullseye/python3-distutils)
|
||||||
- Mandatory
|
- Mandatory
|
||||||
|
|
||||||
[**PyYAML**](https://pypi.org/project/PyYAML/) [](https://pypi.org/project/PyYAML/)[](https://pypi.org/project/PyYAML/) [](https://packages.debian.org/bullseye/python3-yaml)
|
[**PyYAML**](https://pypi.org/project/PyYAML/) [](https://pypi.org/project/PyYAML/) [](https://pypi.org/project/PyYAML/) [](https://packages.debian.org/bullseye/python3-yaml)
|
||||||
- Mandatory
|
- Mandatory
|
||||||
|
|
||||||
[**Requests**](https://pypi.org/project/Requests/) [](https://pypi.org/project/Requests/)[](https://pypi.org/project/Requests/) [](https://packages.debian.org/bullseye/python3-requests)
|
[**Requests**](https://pypi.org/project/Requests/) [](https://pypi.org/project/Requests/) [](https://pypi.org/project/Requests/) [](https://packages.debian.org/bullseye/python3-requests)
|
||||||
- Mandatory
|
- Mandatory
|
||||||
|
|
||||||
[**KiCad Automation tools**](https://github.com/INTI-CMNB/KiAuto) v1.6.13 [](https://github.com/INTI-CMNB/KiAuto) 
|
[**KiCad Automation tools**](https://github.com/INTI-CMNB/KiAuto) v1.6.13 [](https://github.com/INTI-CMNB/KiAuto) 
|
||||||
|
|
@ -138,13 +138,13 @@ Notes:
|
||||||
[**KiBoM**](https://github.com/INTI-CMNB/KiBoM) v1.8.0 [](https://github.com/INTI-CMNB/KiBoM) 
|
[**KiBoM**](https://github.com/INTI-CMNB/KiBoM) v1.8.0 [](https://github.com/INTI-CMNB/KiBoM) 
|
||||||
- Mandatory for `kibom`
|
- Mandatory for `kibom`
|
||||||
|
|
||||||
[**LXML**](https://pypi.org/project/LXML/) [](https://pypi.org/project/LXML/)[](https://pypi.org/project/LXML/) [](https://packages.debian.org/bullseye/python3-lxml)
|
[**LXML**](https://pypi.org/project/LXML/) [](https://pypi.org/project/LXML/) [](https://packages.debian.org/bullseye/python3-lxml)
|
||||||
- Mandatory for `pcb_print`
|
- Mandatory for `pcb_print`
|
||||||
|
|
||||||
[**QRCodeGen**](https://pypi.org/project/QRCodeGen/) [](https://pypi.org/project/QRCodeGen/)[](https://pypi.org/project/QRCodeGen/) [](https://packages.debian.org/bullseye/python3-qrcodegen)
|
[**QRCodeGen**](https://pypi.org/project/QRCodeGen/) [](https://pypi.org/project/QRCodeGen/) [](https://pypi.org/project/QRCodeGen/) [](https://packages.debian.org/bullseye/python3-qrcodegen)
|
||||||
- Mandatory for `qr_lib`
|
- Mandatory for `qr_lib`
|
||||||
|
|
||||||
[**Colorama**](https://pypi.org/project/Colorama/) [](https://pypi.org/project/Colorama/)[](https://pypi.org/project/Colorama/) [](https://packages.debian.org/bullseye/python3-colorama)
|
[**Colorama**](https://pypi.org/project/Colorama/) [](https://pypi.org/project/Colorama/) [](https://pypi.org/project/Colorama/) [](https://packages.debian.org/bullseye/python3-colorama)
|
||||||
- Optional to get color messages in a portable way for general use
|
- Optional to get color messages in a portable way for general use
|
||||||
|
|
||||||
[**RSVG tools**](https://gitlab.gnome.org/GNOME/librsvg) v2.40 [](https://gitlab.gnome.org/GNOME/librsvg) [](https://packages.debian.org/bullseye/librsvg2-bin) 
|
[**RSVG tools**](https://gitlab.gnome.org/GNOME/librsvg) v2.40 [](https://gitlab.gnome.org/GNOME/librsvg) [](https://packages.debian.org/bullseye/librsvg2-bin) 
|
||||||
|
|
@ -155,30 +155,30 @@ Notes:
|
||||||
- Create EPS format for `pcb_print` (v2.40)
|
- Create EPS format for `pcb_print` (v2.40)
|
||||||
- Create PNG and JPG images for `pcbdraw`
|
- Create PNG and JPG images for `pcbdraw`
|
||||||
|
|
||||||
[**Git**](https://git-scm.com/) [](https://git-scm.com/) [](https://packages.debian.org/bullseye/git) 
|
[**Git**](https://git-scm.com/) [](https://git-scm.com/) [](https://packages.debian.org/bullseye/git) 
|
||||||
- Optional to:
|
- Optional to:
|
||||||
- Find commit hash and/or date for `pcb_replace`
|
- Find commit hash and/or date for `pcb_replace`
|
||||||
- Find commit hash and/or date for `sch_replace`
|
- Find commit hash and/or date for `sch_replace`
|
||||||
- Find commit hash and/or date for `set_text_variables`
|
- Find commit hash and/or date for `set_text_variables`
|
||||||
|
|
||||||
[**ImageMagick**](https://imagemagick.org/) [](https://imagemagick.org/) [](https://packages.debian.org/bullseye/imagemagick) 
|
[**ImageMagick**](https://imagemagick.org/) [](https://imagemagick.org/) [](https://packages.debian.org/bullseye/imagemagick) 
|
||||||
- Optional to:
|
- Optional to:
|
||||||
- Create outputs preview for `navigate_results`
|
- Create outputs preview for `navigate_results`
|
||||||
- Create monochrome prints for `pcb_print`
|
- Create monochrome prints for `pcb_print`
|
||||||
- Create JPG images for `pcbdraw`
|
- Create JPG images for `pcbdraw`
|
||||||
|
|
||||||
[**Ghostscript**](https://www.ghostscript.com/) [](https://www.ghostscript.com/) [](https://packages.debian.org/bullseye/ghostscript) 
|
[**Ghostscript**](https://www.ghostscript.com/) [](https://www.ghostscript.com/) [](https://packages.debian.org/bullseye/ghostscript) 
|
||||||
- Optional to:
|
- Optional to:
|
||||||
- Create outputs preview for `navigate_results`
|
- Create outputs preview for `navigate_results`
|
||||||
- Create PS files for `pcb_print`
|
- Create PS files for `pcb_print`
|
||||||
|
|
||||||
[**Pandoc**](https://pandoc.org/) [](https://pandoc.org/) [](https://packages.debian.org/bullseye/pandoc)
|
[**Pandoc**](https://pandoc.org/) [](https://pandoc.org/) [](https://packages.debian.org/bullseye/pandoc)
|
||||||
- Optional to create PDF/ODF/DOCX files for `report`
|
- Optional to create PDF/ODF/DOCX files for `report`
|
||||||
|
|
||||||
[**RAR**](https://www.rarlab.com/) [](https://www.rarlab.com/) [](https://packages.debian.org/bullseye/rar) 
|
[**RAR**](https://www.rarlab.com/) [](https://www.rarlab.com/) [](https://packages.debian.org/bullseye/rar) 
|
||||||
- Optional to compress in RAR format for `compress`
|
- Optional to compress in RAR format for `compress`
|
||||||
|
|
||||||
[**XLSXWriter**](https://pypi.org/project/XLSXWriter/) [](https://pypi.org/project/XLSXWriter/)[](https://pypi.org/project/XLSXWriter/) [](https://packages.debian.org/bullseye/python3-xlsxwriter)
|
[**XLSXWriter**](https://pypi.org/project/XLSXWriter/) [](https://pypi.org/project/XLSXWriter/) [](https://pypi.org/project/XLSXWriter/) [](https://packages.debian.org/bullseye/python3-xlsxwriter)
|
||||||
- Optional to create XLSX files for `bom`
|
- Optional to create XLSX files for `bom`
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -747,7 +747,8 @@ def print_dependencies(markdown=True, jsn=False):
|
||||||
has_dowloader = ' '+AUTO_DOWN if dep.downloader is not None else ''
|
has_dowloader = ' '+AUTO_DOWN if dep.downloader is not None else ''
|
||||||
if dep.is_python:
|
if dep.is_python:
|
||||||
url = 'https://pypi.org/project/{}/'.format(name)
|
url = 'https://pypi.org/project/{}/'.format(name)
|
||||||
is_pypi_dep = ' [{}]({})'.format(is_pypi_dep, url)
|
if is_pypi_dep:
|
||||||
|
is_pypi_dep = ' [{}]({})'.format(is_pypi_dep, url)
|
||||||
else:
|
else:
|
||||||
url = dep.url
|
url = dep.url
|
||||||
name = '[**{}**]({})'.format(name, url)
|
name = '[**{}**]({})'.format(name, url)
|
||||||
|
|
@ -770,10 +771,8 @@ def print_dependencies(markdown=True, jsn=False):
|
||||||
optional.append(r)
|
optional.append(r)
|
||||||
if r.version and (version is None or r.version > version):
|
if r.version and (version is None or r.version > version):
|
||||||
version = r.version
|
version = r.version
|
||||||
ver = ''
|
ver = ' v'+'.'.join(map(str, version)) if version else ''
|
||||||
if version:
|
print(name+ver+dtype+is_pypi_dep+deb+has_dowloader)
|
||||||
ver = 'v'+'.'.join(map(str, version))
|
|
||||||
print("{} {}{}{}{}{}".format(name, ver, dtype, is_pypi_dep, deb, has_dowloader))
|
|
||||||
if needed:
|
if needed:
|
||||||
if len(needed) == 1:
|
if len(needed) == 1:
|
||||||
if needed[0] == 'general use':
|
if needed[0] == 'general use':
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue