diff options
author | jaseg <git@jaseg.de> | 2022-06-12 15:41:52 +0200 |
---|---|---|
committer | jaseg <git@jaseg.de> | 2022-06-12 15:41:52 +0200 |
commit | c339f4cec15fc48713e1a94c991be9a13025f3c0 (patch) | |
tree | 77a85ab93319c24b07c7f02c7e0594d80005b9c5 | |
parent | dddced97aa4e2af9a1ea7b267b9ce9a3f844eff2 (diff) | |
download | gerbolyze-c339f4cec15fc48713e1a94c991be9a13025f3c0.tar.gz gerbolyze-c339f4cec15fc48713e1a94c991be9a13025f3c0.tar.bz2 gerbolyze-c339f4cec15fc48713e1a94c991be9a13025f3c0.zip |
pkg: require minimum resvg-wasi versionv3.0.2
-rw-r--r-- | README.rst | 88 | ||||
-rwxr-xr-x | setup.py | 2 |
2 files changed, 4 insertions, 86 deletions
@@ -54,94 +54,12 @@ Gerbolyze works in three steps. $ gerbolyze paste --top template_top_edited.svg [--bottom ...] my_gerber_dir output_gerber_dir -Quick Start Installation ------------------------- - -This will install gerbolyze and svg-flatten into a Python virtualenv and install usvg into your ``~/.cargo``. - -Note: - Right now (2020-02-07), ``pcb-tools-extension`` must be installed manually from the fork at: - - ``pip3 install --user git+https://git.jaseg.de/pcb-tools-extension.git`` - - This fork contains fixes for compatibility issues with KiCAD nightlies that are still in the process of being - upstreamed. - -Debian -~~~~~~ - -Note: - Right now, debian stable ships with a rust that is so stable it can't even build half of usvg's dependencies. That's - why we yolo-install our own rust here. Sorry about that. I guess it'll work with the packaged rust on sid. - -.. code-block:: shell - - sudo apt install libopencv-dev libpugixml-dev libpangocairo-1.0-0 libpango1.0-dev libcairo2-dev clang make python3 git python3-wheel curl python3-pip python3-venv - - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh - source $HOME/.cargo/env - rustup install stable - rustup default stable - cargo install usvg - - pip3 install --user git+https://git.jaseg.de/pcb-tools-extension.git - pip3 install --user gerbolyze --no-binary gerbolyze - -Ubuntu -~~~~~~ - -.. code-block:: shell - - sudo apt install libopencv-dev libpugixml-dev libpangocairo-1.0-0 libpango1.0-dev libcairo2-dev clang make python3 git python3-wheel curl python3-pip python3-venv cargo - cargo install usvg - - pip3 install --user git+https://git.jaseg.de/pcb-tools-extension.git - pip3 install --user gerbolyze --no-binary gerbolyze - - -Fedora -~~~~~~ - -.. code-block:: shell - - sudo dnf install python3 make clang opencv-devel pugixml-devel pango-devel cairo-devel rust cargo - cargo install usvg - - pip3 install --user git+https://git.jaseg.de/pcb-tools-extension.git - pip3 install --user gerbolyze --no-binary gerbolyze - -Arch -~~~~ - -.. code-block:: shell - - sudo pacman -S pugixml opencv pango cairo git python make clang rustup cargo pkgconf - - rustup install stable - rustup default stable - cargo install usvg - - pip3 install --user git+https://git.jaseg.de/pcb-tools-extension.git - pip3 install --user gerbolyze --no-binary gerbolyze - -macOS (via Homebrew) -~~~~~~~~~~~~~~~~~~~~ +Quick Start Installation (Any Platform) +--------------------------------------- .. code-block:: shell - # Tested on a fresh Mac OS 10.15.7 Catalina installation - - # Requires homebrew. To install, run: - # /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"\n - # --> Now, restart the terminal app to load new $PATH from /etc/paths <-- - - brew install python3 rustup pugixml cairo pango opencv pkg-config - - rustup-init - cargo install usvg - - pip3 install git+https://git.jaseg.de/pcb-tools-extension.git - pip3 install gerbolyze --no-binary gerbolyze + pip3 install --user gerbolyze Build from source (any distro) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -47,7 +47,7 @@ setup( }, author = 'jaseg', author_email = 'gerbonara@jaseg.de', - install_requires = ['gerbonara', 'numpy', 'python-slugify', 'lxml', 'click', 'resvg-wasi', 'svg-flatten-wasi[resvg-wasi]'], + install_requires = ['gerbonara', 'numpy', 'python-slugify', 'lxml', 'click', 'resvg-wasi >= 0.23.0', 'svg-flatten-wasi[resvg-wasi]'], license = 'AGPLv3', classifiers = [ 'Development Status :: 5 - Production/Stable', |