[DOCs][Dependencies] Added PyPi logo
This commit is contained in:
parent
eb2f32d5bb
commit
b1726e0915
13
README.md
13
README.md
|
|
@ -104,17 +104,18 @@ Notes:
|
|||
- Note that on some systems (i.e. Debian) ImageMagick disables PDF manipulation in its `policy.xml` file.
|
||||
Comment or remove lines like this: `<policy domain="coder" rights="none" pattern="PDF" />` (On Debian: `/etc/ImageMagick-6/policy.xml`)
|
||||
-  Link to Debian stable package.
|
||||
-  This is a Python dependency from PyPi and will be installed when using `pip`
|
||||
|
||||
[**Distutils**](https://pypi.org/project/Distutils/) (python module) [](https://packages.debian.org/bullseye/python3-distutils)
|
||||
- Mandatory
|
||||
|
||||
[**PyYAML**](https://pypi.org/project/PyYAML/) (python module) (PyPi dependency) [](https://packages.debian.org/bullseye/python3-yaml)
|
||||
[**PyYAML**](https://pypi.org/project/PyYAML/) (python module)  [](https://packages.debian.org/bullseye/python3-yaml)
|
||||
- Mandatory
|
||||
|
||||
[**Requests**](https://pypi.org/project/Requests/) (python module) (PyPi dependency) [](https://packages.debian.org/bullseye/python3-requests)
|
||||
[**Requests**](https://pypi.org/project/Requests/) (python module)  [](https://packages.debian.org/bullseye/python3-requests)
|
||||
- Mandatory
|
||||
|
||||
[**KiCad Automation tools**](https://github.com/INTI-CMNB/KiAuto) v1.6.13 (tool) (PyPi dependency) (Auto-download)
|
||||
[**KiCad Automation tools**](https://github.com/INTI-CMNB/KiAuto) v1.6.13 (tool)  (Auto-download)
|
||||
- Mandatory for: `gencad`, `netlist`, `pdf_pcb_print`, `pdf_sch_print`, `render_3d`, `run_drc`, `run_erc`, `step`, `svg_pcb_print`, `svg_sch_print`, `update_xml`
|
||||
|
||||
[**KiCost**](https://github.com/hildogjr/KiCost) v1.1.8 (tool) (Auto-download)
|
||||
|
|
@ -134,10 +135,10 @@ Notes:
|
|||
[**LXML**](https://pypi.org/project/LXML/) (python module) [](https://packages.debian.org/bullseye/python3-lxml)
|
||||
- Mandatory for `pcb_print`
|
||||
|
||||
[**QRCodeGen**](https://pypi.org/project/QRCodeGen/) (python module) (PyPi dependency) [](https://packages.debian.org/bullseye/python3-qrcodegen)
|
||||
[**QRCodeGen**](https://pypi.org/project/QRCodeGen/) (python module)  [](https://packages.debian.org/bullseye/python3-qrcodegen)
|
||||
- Mandatory for `qr_lib`
|
||||
|
||||
[**Colorama**](https://pypi.org/project/Colorama/) (python module) (PyPi dependency) [](https://packages.debian.org/bullseye/python3-colorama)
|
||||
[**Colorama**](https://pypi.org/project/Colorama/) (python module)  [](https://packages.debian.org/bullseye/python3-colorama)
|
||||
- Optional to get color messages in a portable way for general use
|
||||
|
||||
[**RSVG tools**](https://gitlab.gnome.org/GNOME/librsvg) v2.40 (tool) [](https://packages.debian.org/bullseye/librsvg2-bin) (Auto-download)
|
||||
|
|
@ -171,7 +172,7 @@ Notes:
|
|||
[**RAR**](https://www.rarlab.com/) (tool) [](https://packages.debian.org/bullseye/rar) (Auto-download)
|
||||
- Optional to compress in RAR format for `compress`
|
||||
|
||||
[**XLSXWriter**](https://pypi.org/project/XLSXWriter/) (python module) (PyPi dependency) [](https://packages.debian.org/bullseye/python3-xlsxwriter)
|
||||
[**XLSXWriter**](https://pypi.org/project/XLSXWriter/) (python module)  [](https://packages.debian.org/bullseye/python3-xlsxwriter)
|
||||
- Optional to create XLSX files for `bom`
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -104,6 +104,7 @@ Notes:
|
|||
- Note that on some systems (i.e. Debian) ImageMagick disables PDF manipulation in its `policy.xml` file.
|
||||
Comment or remove lines like this: `<policy domain="coder" rights="none" pattern="PDF" />` (On Debian: `/etc/ImageMagick-6/policy.xml`)
|
||||
-  Link to Debian stable package.
|
||||
-  This is a Python dependency from PyPi and will be installed when using `pip`
|
||||
|
||||
@dependencies@
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 1.7 KiB |
|
|
@ -0,0 +1,239 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
width="117.13261"
|
||||
height="110.1948"
|
||||
viewBox="0 0 109.81175 103.30779"
|
||||
version="1.1"
|
||||
id="svg72">
|
||||
<metadata
|
||||
id="metadata78">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs76" />
|
||||
<path
|
||||
d="m 15.800229,43.689 15.555,5.662 15.786,-5.746 -15.555,-5.662 z m 15.623,-12.783 15.556,5.662 15.785,-5.746 -15.555,-5.662 z"
|
||||
fill="#f7f7f4"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path2" />
|
||||
<path
|
||||
d="m 31.423229,30.906 15.556,5.662 V 54.85 l -15.556,-5.661 z"
|
||||
fill="#efeeea"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path4" />
|
||||
<path
|
||||
d="m 0.17722943,67.833 15.55499957,5.663 15.786,-5.746 -15.556,-5.662 z"
|
||||
fill="#f7f7f4"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path6" />
|
||||
<path
|
||||
d="M 0.17722943,67.833 15.732229,73.496 V 91.778 L 0.17722943,86.117 Z"
|
||||
fill="#efeeea"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path8" />
|
||||
<path
|
||||
d="m 0.17722943,41.833 15.55499957,5.663 15.786,-5.746 -15.556,-5.662 z"
|
||||
fill="#f7f7f4"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path10" />
|
||||
<path
|
||||
d="m 15.732229,47.496 v 18.282 l 15.786,-5.745 V 41.75 Z"
|
||||
fill="#ffffff"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path12" />
|
||||
<path
|
||||
d="M 0.17722943,41.833 15.732229,47.496 V 65.778 L 0.17722943,60.117 Z"
|
||||
fill="#efeeea"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path14" />
|
||||
<path
|
||||
d="m 15.984229,26.282 -0.025,0.031 a 2.783,2.783 0 0 0 -2.758,2.781 2.783,2.783 0 0 0 0.053,0.532 L 1.5092294,44.01 l 7.647,9.364 -3.87,-9.364 9.9849996,-12.228 a 2.783,2.783 0 0 0 0.715,0.096 2.783,2.783 0 0 0 0.715,-0.094 l 5.314,6.508 5.373,1.955 -8.672,-10.621 a 2.783,2.783 0 0 0 0.051,-0.531 2.783,2.783 0 0 0 -2.756,-2.782 l -0.025,-0.03 z m 2.135,-7.289 a 2.136,2.136 0 1 0 -4.27,0 v 3.265 a 2.136,2.136 0 0 0 4.27,0 z m -0.98,-0.002 v 3.265 a 1.155,1.155 0 0 1 -2.31,0 v -3.265 a 1.155,1.155 0 1 1 2.31,0 z m 0.98,-11.211 a 2.136,2.136 0 1 0 -4.27,0 v 3.266 a 2.136,2.136 0 0 0 4.27,0 z m -0.98,-0.002 v 3.266 a 1.155,1.155 0 0 1 -2.31,0 V 7.778 a 1.155,1.155 0 1 1 2.31,0 z"
|
||||
fill="#646464"
|
||||
id="path16" />
|
||||
<path
|
||||
d="m 16.504229,11.77 v 6.498 a 0.52,0.52 0 1 1 -1.04,0 V 11.77 a 0.52,0.52 0 1 1 1.04,0 z m 0,11.213 v 6.498 a 0.52,0.52 0 1 1 -1.04,0 v -6.498 a 0.52,0.52 0 1 1 1.04,0 z m 0,-22.463 v 6.498 a 0.52,0.52 0 1 1 -1.04,0 V 0.52 a 0.52,0.52 0 1 1 1.04,0 z"
|
||||
fill="#646464"
|
||||
id="path18" />
|
||||
<path
|
||||
d="m 15.799229,73.515 15.556,5.662 V 97.46 l -15.555,-5.662 z"
|
||||
fill="#efeeea"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path20" />
|
||||
<path
|
||||
d="m 15.799229,55.051 15.556,5.662 15.786,-5.746 -15.555,-5.661 z"
|
||||
fill="#f7f7f4"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path22" />
|
||||
<path
|
||||
d="m 15.799229,55.051 15.556,5.662 v 18.283 l -15.555,-5.662 z"
|
||||
fill="#efeeea"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path24" />
|
||||
<path
|
||||
d="M 93.849229,67.814 V 86.097 L 109.63423,80.352 V 62.069 Z"
|
||||
fill="#ffffff"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path26" />
|
||||
<path
|
||||
d="m 78.225229,73.496 v 18.282 l 15.786,-5.745 V 67.75 Z"
|
||||
fill="#ffd242"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path28" />
|
||||
<path
|
||||
d="m 91.150229,77.953 a 2.617,3.737 35 0 1 -3.032,4.33 2.617,3.737 35 0 1 -3.031,-2.122 2.617,3.737 35 0 1 3.031,-4.33 2.617,3.737 35 0 1 3.032,2.123 z"
|
||||
fill="#ffffff"
|
||||
id="path30" />
|
||||
<path
|
||||
d="M 62.602229,79.177 V 97.46 l 15.786,-5.746 V 73.431 Z"
|
||||
fill="#ffd242"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path32" />
|
||||
<path
|
||||
d="m 46.979229,84.858 v 18.283 l 15.785,-5.746 V 79.113 Z"
|
||||
fill="#ffffff"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path34" />
|
||||
<path
|
||||
d="m 31.423229,79.196 15.556,5.662 v 18.283 l -15.556,-5.662 z"
|
||||
fill="#efeeea"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path36" />
|
||||
<path
|
||||
d="M 93.849229,49.351 V 67.633 L 109.63423,61.888 V 43.605 Z"
|
||||
fill="#ffd242"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path38" />
|
||||
<path
|
||||
d="m 78.293229,25.225 15.556,5.662 15.785001,-5.746 -15.555001,-5.662 z"
|
||||
fill="#ffc91d"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path40" />
|
||||
<path
|
||||
d="M 93.849229,30.887 V 49.169 L 109.63423,43.424 V 25.141 Z m -15.624,24.145 v 18.282 l 15.786,-5.745 V 49.286 Z"
|
||||
fill="#ffd242"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path42" />
|
||||
<path
|
||||
d="M 78.225229,36.568 V 54.85 l 15.786,-5.745 V 30.822 Z"
|
||||
fill="#3775a9"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path44" />
|
||||
<path
|
||||
d="m 62.670229,12.442 15.555,5.662 15.786,-5.746 -15.555,-5.661 z"
|
||||
fill="#2f6491"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path46" />
|
||||
<path
|
||||
d="m 78.225229,18.103 v 18.283 l 15.786,-5.745 V 12.358 Z"
|
||||
fill="#3775a9"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path48" />
|
||||
<path
|
||||
d="m 62.602229,60.713 v 18.283 l 15.786,-5.746 V 54.967 Z"
|
||||
fill="#ffd242"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path50" />
|
||||
<path
|
||||
d="m 62.602229,42.249 v 18.283 l 15.786,-5.746 V 36.503 Z m -15.623,24.145 v 18.283 l 15.785,-5.746 V 60.649 Z"
|
||||
fill="#3775a9"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path52" />
|
||||
<path
|
||||
d="m 31.423229,60.733 15.556,5.661 v 18.283 l -15.556,-5.662 z m 0,-18.465 15.556,5.662 15.785,-5.745 -15.555,-5.662 z"
|
||||
fill="#2f6491"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path54" />
|
||||
<path
|
||||
d="m 46.979229,47.93 v 18.283 l 15.785,-5.746 V 42.185 Z"
|
||||
fill="#3775a9"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path56" />
|
||||
<path
|
||||
d="m 31.423229,42.268 15.556,5.662 v 18.283 l -15.556,-5.662 z m 15.624,-24.145 15.555,5.662 15.786,-5.746 -15.556,-5.661 z"
|
||||
fill="#2f6491"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path58" />
|
||||
<path
|
||||
d="m 62.602229,23.785 v 18.283 l 15.786,-5.746 V 18.039 Z"
|
||||
fill="#3775a9"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path60" />
|
||||
<path
|
||||
d="m 47.047229,18.123 15.555,5.662 v 18.283 l -15.555,-5.662 z"
|
||||
fill="#2f6491"
|
||||
stroke="#cccccc"
|
||||
stroke-width="0.355"
|
||||
stroke-linejoin="bevel"
|
||||
id="path62" />
|
||||
<path
|
||||
d="m 71.527229,29.657 a 2.617,3.737 35 0 1 -3.032,4.33 2.617,3.737 35 0 1 -3.032,-2.123 2.617,3.737 35 0 1 3.032,-4.33 2.617,3.737 35 0 1 3.032,2.123 z"
|
||||
fill="#ffffff"
|
||||
id="path64" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 7.7 KiB |
|
|
@ -29,6 +29,9 @@ LOCAL_OPTIONAL = 1
|
|||
GLOBAL_OPTIONAL = LOCAL_OPTIONAL*100
|
||||
LOCAL_MANDATORY = GLOBAL_OPTIONAL*100
|
||||
GLOBAL_MANDATORY = LOCAL_MANDATORY*100
|
||||
DEB_LOGO = ''
|
||||
PYPI_LOGO = ('')
|
||||
|
||||
|
||||
try:
|
||||
|
|
@ -736,7 +739,7 @@ def print_dependencies(markdown=True, jsn=False):
|
|||
for name, dep in sorted(sorted(RegDependency.get_registered().items(), key=lambda x: x[0].lower()), # noqa C414
|
||||
key=lambda x: x[1].importance, reverse=True):
|
||||
dtype = 'python module' if dep.is_python else 'tool'
|
||||
is_pypi_dep = ' (PyPi dependency)' if dep.pypi_name.lower() in __pypi_deps__ else ''
|
||||
is_pypi_dep = ' '+PYPI_LOGO if dep.pypi_name.lower() in __pypi_deps__ else ''
|
||||
has_dowloader = ' (Auto-download)' if dep.downloader is not None else ''
|
||||
deb = ''
|
||||
if markdown:
|
||||
|
|
@ -746,9 +749,7 @@ def print_dependencies(markdown=True, jsn=False):
|
|||
url = dep.url
|
||||
name = '[**{}**]({})'.format(name, url)
|
||||
if dep.in_debian:
|
||||
img = ('')
|
||||
deb = ' [{}](https://packages.debian.org/bullseye/{})'.format(img, dep.deb_package)
|
||||
deb = ' [{}](https://packages.debian.org/bullseye/{})'.format(DEB_LOGO, dep.deb_package)
|
||||
needed = []
|
||||
optional = []
|
||||
version = None
|
||||
|
|
|
|||
Loading…
Reference in New Issue