Last active
October 4, 2019 17:25
-
-
Save gounthar/b1870915710a0437b4e4eb8690e93553 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
src/lxml/etree.c:97:20: fatal error: Python.h: No such file or directory | |
linaro@rk3399–4GB:~/termtosvg$ sudo apt install libxml2-dev libxslt-dev python-dev | |
pip3 install dist/termtosvg-0.9.0-py3-none-any.whl | |
Processing ./dist/termtosvg-0.9.0-py3-none-any.whl | |
Requirement already satisfied: pyte in /usr/local/lib/python3.5/dist-packages (from termtosvg==0.9.0) (0.8.0) | |
Requirement already satisfied: lxml in /usr/local/lib/python3.5/dist-packages (from termtosvg==0.9.0) (4.4.1) | |
Requirement already satisfied: wcwidth in /home/linaro/.local/lib/python3.5/site-packages (from termtosvg==0.9.0) (0.1.7) | |
Installing collected packages: termtosvg | |
Successfully installed termtosvg-0.9.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make build | |
rm -rf dist && \ | |
python setup.py sdist bdist_wheel | |
running sdist | |
running egg_info | |
creating termtosvg.egg-info | |
writing requirements to termtosvg.egg-info/requires.txt | |
writing termtosvg.egg-info/PKG-INFO | |
writing top-level names to termtosvg.egg-info/top_level.txt | |
writing dependency_links to termtosvg.egg-info/dependency_links.txt | |
writing manifest file 'termtosvg.egg-info/SOURCES.txt' | |
reading manifest file 'termtosvg.egg-info/SOURCES.txt' | |
reading manifest template 'MANIFEST.in' | |
warning: no previously-included files matching '__pycache__' found anywhere in distribution | |
warning: no previously-included files matching '*.pyc' found anywhere in distribution | |
warning: no files found matching 'man/*.man.?' | |
writing manifest file 'termtosvg.egg-info/SOURCES.txt' | |
warning: sdist: standard file not found: should have one of README, README.rst, README.txt | |
running check | |
creating termtosvg-0.9.0 | |
creating termtosvg-0.9.0/scripts | |
creating termtosvg-0.9.0/termtosvg | |
creating termtosvg-0.9.0/termtosvg.egg-info | |
creating termtosvg-0.9.0/termtosvg/data | |
creating termtosvg-0.9.0/termtosvg/data/templates | |
creating termtosvg-0.9.0/termtosvg/tests | |
copying files to termtosvg-0.9.0… | |
copying LICENSE -> termtosvg-0.9.0 | |
copying MANIFEST.in -> termtosvg-0.9.0 | |
copying setup.py -> termtosvg-0.9.0 | |
copying scripts/termtosvg -> termtosvg-0.9.0/scripts | |
copying termtosvg/__init__.py -> termtosvg-0.9.0/termtosvg | |
copying termtosvg/anim.py -> termtosvg-0.9.0/termtosvg | |
copying termtosvg/asciicast.py -> termtosvg-0.9.0/termtosvg | |
copying termtosvg/config.py -> termtosvg-0.9.0/termtosvg | |
copying termtosvg/main.py -> termtosvg-0.9.0/termtosvg | |
copying termtosvg/term.py -> termtosvg-0.9.0/termtosvg | |
copying termtosvg.egg-info/PKG-INFO -> termtosvg-0.9.0/termtosvg.egg-info | |
copying termtosvg.egg-info/SOURCES.txt -> termtosvg-0.9.0/termtosvg.egg-info | |
copying termtosvg.egg-info/dependency_links.txt -> termtosvg-0.9.0/termtosvg.egg-info | |
copying termtosvg.egg-info/requires.txt -> termtosvg-0.9.0/termtosvg.egg-info | |
copying termtosvg.egg-info/top_level.txt -> termtosvg-0.9.0/termtosvg.egg-info | |
copying termtosvg/data/svg11-flat-20110816.dtd -> termtosvg-0.9.0/termtosvg/data | |
copying termtosvg/data/templates/base16_default_dark.svg -> termtosvg-0.9.0/termtosvg/data/templates | |
copying termtosvg/data/templates/dracula.svg -> termtosvg-0.9.0/termtosvg/data/templates | |
copying termtosvg/data/templates/gjm8.svg -> termtosvg-0.9.0/termtosvg/data/templates | |
copying termtosvg/data/templates/gjm8_play.svg -> termtosvg-0.9.0/termtosvg/data/templates | |
copying termtosvg/data/templates/gjm8_single_loop.svg -> termtosvg-0.9.0/termtosvg/data/templates | |
copying termtosvg/data/templates/progress_bar.svg -> termtosvg-0.9.0/termtosvg/data/templates | |
copying termtosvg/data/templates/solarized_dark.svg -> termtosvg-0.9.0/termtosvg/data/templates | |
copying termtosvg/data/templates/solarized_light.svg -> termtosvg-0.9.0/termtosvg/data/templates | |
copying termtosvg/data/templates/window_frame.svg -> termtosvg-0.9.0/termtosvg/data/templates | |
copying termtosvg/data/templates/window_frame_js.svg -> termtosvg-0.9.0/termtosvg/data/templates | |
copying termtosvg/tests/__init__.py -> termtosvg-0.9.0/termtosvg/tests | |
copying termtosvg/tests/suite.py -> termtosvg-0.9.0/termtosvg/tests | |
copying termtosvg/tests/test_anim.py -> termtosvg-0.9.0/termtosvg/tests | |
copying termtosvg/tests/test_asciicast.py -> termtosvg-0.9.0/termtosvg/tests | |
copying termtosvg/tests/test_config.py -> termtosvg-0.9.0/termtosvg/tests | |
copying termtosvg/tests/test_main.py -> termtosvg-0.9.0/termtosvg/tests | |
copying termtosvg/tests/test_term.py -> termtosvg-0.9.0/termtosvg/tests | |
Writing termtosvg-0.9.0/setup.cfg | |
creating dist | |
Creating tar archive | |
removing 'termtosvg-0.9.0' (and everything under it) | |
running bdist_wheel | |
running build | |
running build_py | |
creating build | |
creating build/lib.linux-aarch64–2.7 | |
creating build/lib.linux-aarch64–2.7/termtosvg | |
copying termtosvg/config.py -> build/lib.linux-aarch64–2.7/termtosvg | |
copying termtosvg/anim.py -> build/lib.linux-aarch64–2.7/termtosvg | |
copying termtosvg/__init__.py -> build/lib.linux-aarch64–2.7/termtosvg | |
copying termtosvg/term.py -> build/lib.linux-aarch64–2.7/termtosvg | |
copying termtosvg/main.py -> build/lib.linux-aarch64–2.7/termtosvg | |
copying termtosvg/asciicast.py -> build/lib.linux-aarch64–2.7/termtosvg | |
creating build/lib.linux-aarch64–2.7/termtosvg/tests | |
copying termtosvg/tests/suite.py -> build/lib.linux-aarch64–2.7/termtosvg/tests | |
copying termtosvg/tests/test_anim.py -> build/lib.linux-aarch64–2.7/termtosvg/tests | |
copying termtosvg/tests/test_main.py -> build/lib.linux-aarch64–2.7/termtosvg/tests | |
copying termtosvg/tests/test_term.py -> build/lib.linux-aarch64–2.7/termtosvg/tests | |
copying termtosvg/tests/test_config.py -> build/lib.linux-aarch64–2.7/termtosvg/tests | |
copying termtosvg/tests/__init__.py -> build/lib.linux-aarch64–2.7/termtosvg/tests | |
copying termtosvg/tests/test_asciicast.py -> build/lib.linux-aarch64–2.7/termtosvg/tests | |
creating build/lib.linux-aarch64–2.7/termtosvg/data | |
copying termtosvg/data/svg11-flat-20110816.dtd -> build/lib.linux-aarch64–2.7/termtosvg/data | |
creating build/lib.linux-aarch64–2.7/termtosvg/data/templates | |
copying termtosvg/data/templates/base16_default_dark.svg -> build/lib.linux-aarch64–2.7/termtosvg/data/templates | |
copying termtosvg/data/templates/dracula.svg -> build/lib.linux-aarch64–2.7/termtosvg/data/templates | |
copying termtosvg/data/templates/gjm8.svg -> build/lib.linux-aarch64–2.7/termtosvg/data/templates | |
copying termtosvg/data/templates/gjm8_play.svg -> build/lib.linux-aarch64–2.7/termtosvg/data/templates | |
copying termtosvg/data/templates/gjm8_single_loop.svg -> build/lib.linux-aarch64–2.7/termtosvg/data/templates | |
copying termtosvg/data/templates/progress_bar.svg -> build/lib.linux-aarch64–2.7/termtosvg/data/templates | |
copying termtosvg/data/templates/solarized_dark.svg -> build/lib.linux-aarch64–2.7/termtosvg/data/templates | |
copying termtosvg/data/templates/solarized_light.svg -> build/lib.linux-aarch64–2.7/termtosvg/data/templates | |
copying termtosvg/data/templates/window_frame.svg -> build/lib.linux-aarch64–2.7/termtosvg/data/templates | |
copying termtosvg/data/templates/window_frame_js.svg -> build/lib.linux-aarch64–2.7/termtosvg/data/templates | |
running build_scripts | |
creating build/scripts-2.7 | |
copying and adjusting scripts/termtosvg -> build/scripts-2.7 | |
changing mode of build/scripts-2.7/termtosvg from 644 to 755 | |
installing to build/bdist.linux-aarch64/wheel | |
running install | |
running install_lib | |
creating build/bdist.linux-aarch64 | |
creating build/bdist.linux-aarch64/wheel | |
creating build/bdist.linux-aarch64/wheel/termtosvg | |
creating build/bdist.linux-aarch64/wheel/termtosvg/data | |
copying build/lib.linux-aarch64–2.7/termtosvg/data/svg11-flat-20110816.dtd -> build/bdist.linux-aarch64/wheel/termtosvg/data | |
creating build/bdist.linux-aarch64/wheel/termtosvg/data/templates | |
copying build/lib.linux-aarch64–2.7/termtosvg/data/templates/solarized_light.svg -> build/bdist.linux-aarch64/wheel/termtosvg/data/templates | |
copying build/lib.linux-aarch64–2.7/termtosvg/data/templates/gjm8_single_loop.svg -> build/bdist.linux-aarch64/wheel/termtosvg/data/templates | |
copying build/lib.linux-aarch64–2.7/termtosvg/data/templates/progress_bar.svg -> build/bdist.linux-aarch64/wheel/termtosvg/data/templates | |
copying build/lib.linux-aarch64–2.7/termtosvg/data/templates/dracula.svg -> build/bdist.linux-aarch64/wheel/termtosvg/data/templates | |
copying build/lib.linux-aarch64–2.7/termtosvg/data/templates/base16_default_dark.svg -> build/bdist.linux-aarch64/wheel/termtosvg/data/templates | |
copying build/lib.linux-aarch64–2.7/termtosvg/data/templates/gjm8_play.svg -> build/bdist.linux-aarch64/wheel/termtosvg/data/templates | |
copying build/lib.linux-aarch64–2.7/termtosvg/data/templates/solarized_dark.svg -> build/bdist.linux-aarch64/wheel/termtosvg/data/templates | |
copying build/lib.linux-aarch64–2.7/termtosvg/data/templates/gjm8.svg -> build/bdist.linux-aarch64/wheel/termtosvg/data/templates | |
copying build/lib.linux-aarch64–2.7/termtosvg/data/templates/window_frame.svg -> build/bdist.linux-aarch64/wheel/termtosvg/data/templates | |
copying build/lib.linux-aarch64–2.7/termtosvg/data/templates/window_frame_js.svg -> build/bdist.linux-aarch64/wheel/termtosvg/data/templates | |
copying build/lib.linux-aarch64–2.7/termtosvg/config.py -> build/bdist.linux-aarch64/wheel/termtosvg | |
copying build/lib.linux-aarch64–2.7/termtosvg/anim.py -> build/bdist.linux-aarch64/wheel/termtosvg | |
creating build/bdist.linux-aarch64/wheel/termtosvg/tests | |
copying build/lib.linux-aarch64–2.7/termtosvg/tests/suite.py -> build/bdist.linux-aarch64/wheel/termtosvg/tests | |
copying build/lib.linux-aarch64–2.7/termtosvg/tests/test_anim.py -> build/bdist.linux-aarch64/wheel/termtosvg/tests | |
copying build/lib.linux-aarch64–2.7/termtosvg/tests/test_main.py -> build/bdist.linux-aarch64/wheel/termtosvg/tests | |
copying build/lib.linux-aarch64–2.7/termtosvg/tests/test_term.py -> build/bdist.linux-aarch64/wheel/termtosvg/tests | |
copying build/lib.linux-aarch64–2.7/termtosvg/tests/test_config.py -> build/bdist.linux-aarch64/wheel/termtosvg/tests | |
copying build/lib.linux-aarch64–2.7/termtosvg/tests/__init__.py -> build/bdist.linux-aarch64/wheel/termtosvg/tests | |
copying build/lib.linux-aarch64–2.7/termtosvg/tests/test_asciicast.py -> build/bdist.linux-aarch64/wheel/termtosvg/tests | |
copying build/lib.linux-aarch64–2.7/termtosvg/__init__.py -> build/bdist.linux-aarch64/wheel/termtosvg | |
copying build/lib.linux-aarch64–2.7/termtosvg/term.py -> build/bdist.linux-aarch64/wheel/termtosvg | |
copying build/lib.linux-aarch64–2.7/termtosvg/main.py -> build/bdist.linux-aarch64/wheel/termtosvg | |
copying build/lib.linux-aarch64–2.7/termtosvg/asciicast.py -> build/bdist.linux-aarch64/wheel/termtosvg | |
running install_egg_info | |
Copying termtosvg.egg-info to build/bdist.linux-aarch64/wheel/termtosvg-0.9.0.egg-info | |
running install_scripts | |
creating build/bdist.linux-aarch64/wheel/termtosvg-0.9.0.data | |
creating build/bdist.linux-aarch64/wheel/termtosvg-0.9.0.data/scripts | |
copying build/scripts-2.7/termtosvg -> build/bdist.linux-aarch64/wheel/termtosvg-0.9.0.data/scripts | |
changing mode of build/bdist.linux-aarch64/wheel/termtosvg-0.9.0.data/scripts/termtosvg to 755 | |
adding license file "LICENSE" (matched pattern "LICEN[CS]E*") | |
creating build/bdist.linux-aarch64/wheel/termtosvg-0.9.0.dist-info/WHEEL | |
creating 'dist/termtosvg-0.9.0-py2-none-any.whl' and adding 'build/bdist.linux-aarch64/wheel' to it | |
adding 'termtosvg/__init__.py' | |
adding 'termtosvg/anim.py' | |
adding 'termtosvg/asciicast.py' | |
adding 'termtosvg/config.py' | |
adding 'termtosvg/main.py' | |
adding 'termtosvg/term.py' | |
adding 'termtosvg/data/svg11-flat-20110816.dtd' | |
adding 'termtosvg/data/templates/base16_default_dark.svg' | |
adding 'termtosvg/data/templates/dracula.svg' | |
adding 'termtosvg/data/templates/gjm8.svg' | |
adding 'termtosvg/data/templates/gjm8_play.svg' | |
adding 'termtosvg/data/templates/gjm8_single_loop.svg' | |
adding 'termtosvg/data/templates/progress_bar.svg' | |
adding 'termtosvg/data/templates/solarized_dark.svg' | |
adding 'termtosvg/data/templates/solarized_light.svg' | |
adding 'termtosvg/data/templates/window_frame.svg' | |
adding 'termtosvg/data/templates/window_frame_js.svg' | |
adding 'termtosvg/tests/__init__.py' | |
adding 'termtosvg/tests/suite.py' | |
adding 'termtosvg/tests/test_anim.py' | |
adding 'termtosvg/tests/test_asciicast.py' | |
adding 'termtosvg/tests/test_config.py' | |
adding 'termtosvg/tests/test_main.py' | |
adding 'termtosvg/tests/test_term.py' | |
adding 'termtosvg-0.9.0.data/scripts/termtosvg' | |
adding 'termtosvg-0.9.0.dist-info/LICENSE' | |
adding 'termtosvg-0.9.0.dist-info/METADATA' | |
adding 'termtosvg-0.9.0.dist-info/WHEEL' | |
adding 'termtosvg-0.9.0.dist-info/top_level.txt' | |
adding 'termtosvg-0.9.0.dist-info/RECORD' | |
removing build/bdist.linux-aarch64/wheel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.PHONY: usage tests build deploy_test deploy_prod html man install | |
PIP=pip3 | |
PYTHON=python3 | |
EXAMPLES_DIR=docs/examples | |
CASTS_DIR=$(EXAMPLES_DIR)/casts | |
.DEFAULT: usage | |
usage: | |
@echo "Usage:" | |
@echo " make build # Build source distribution archives" | |
@echo " make deploy_prod # Upload source distribution archives to pypi.org" | |
@echo " make deploy_test # Upload source distribution archives to test.pypi.org" | |
@echo " make man # Build manual pages" | |
@echo " make html # Build GitHub pages website" | |
@echo " make tests # Run unit tests" | |
install: | |
$(PYTHON) --version | |
$(PIP) install -U -e .[dev] | |
$(PIP) freeze | |
tests: | |
coverage run --branch --source termtosvg -m unittest termtosvg.tests.suite -v | |
coverage report | |
pylint -j 0 --extension-pkg-whitelist lxml termtosvg/*.py || exit 0 | |
build: | |
rm -rf dist && \ | |
$(PYTHON) setup.py sdist bdist_wheel | |
man: | |
pandoc man/termtosvg.md -s -t man > man/termtosvg.man.1 | |
pandoc man/termtosvg-templates.md -s -t man > man/termtosvg-templates.man.5 | |
tar -czf "man_$${TRAVIS_TAG}.tar.gz" man/termtosvg*.man.* | |
html: | |
cp -r termtosvg/data/templates/ docs/ | |
rm -rf $(EXAMPLES_DIR)/*.svg | |
termtosvg render $(CASTS_DIR)/awesome.cast $(EXAMPLES_DIR)/awesome_window_frame.svg -t window_frame | |
termtosvg render $(CASTS_DIR)/awesome.cast $(EXAMPLES_DIR)/awesome_window_frame_js.svg -t window_frame_js | |
termtosvg render $(CASTS_DIR)/colors.cast $(EXAMPLES_DIR)/colors_progress_bar.svg -t progress_bar | |
termtosvg render $(CASTS_DIR)/htop.cast $(EXAMPLES_DIR)/htop_gjm8.svg -t gjm8 | |
termtosvg render $(CASTS_DIR)/ipython.cast $(EXAMPLES_DIR)/ipython_window_frame.svg -t window_frame | |
termtosvg render $(CASTS_DIR)/unittest.cast $(EXAMPLES_DIR)/unittest_solarized_dark.svg -t solarized_dark | |
deploy_test: | |
twine upload -r pypitest dist/* | |
deploy_prod: | |
twine upload -r pypi dist/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Makefile 2019-10-03 16:34:43.735536357 +0000 | |
+++ Makefile.perso 2019-10-03 16:23:04.297536024 +0000 | |
@@ -1,7 +1,7 @@ | |
.PHONY: usage tests build deploy_test deploy_prod html man install | |
-PIP=pip | |
-PYTHON=python | |
+PIP=pip3 | |
+PYTHON=python3 | |
EXAMPLES_DIR=docs/examples | |
CASTS_DIR=$(EXAMPLES_DIR)/casts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make build | |
rm -rf dist && \ | |
python setup.py sdist bdist_wheel | |
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] …] | |
or: setup.py - help [cmd1 cmd2 …] | |
or: setup.py - help-commands | |
or: setup.py cmd - help | |
error: invalid command 'bdist_wheel' | |
Makefile:31: recipe for target 'build' failed | |
make: *** [build] Error 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install dist/termtosvg-0.9.0-py2-none-any.whl | |
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support | |
Processing ./dist/termtosvg-0.9.0-py2-none-any.whl | |
ERROR: Package 'termtosvg' requires a different Python: 2.7.13 not in '>=3.5' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install wheel | |
-bash: pip: command not found | |
linaro@captation-techforum-rk3399–4GB:~/termtosvg$ sudo apt install pip | |
Reading package lists… Done | |
Building dependency tree | |
Reading state information… Done | |
E: Unable to locate package pip | |
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 1733k 100 1733k 0 0 3057k 0 - : - : - - : - : - - : - : - 3063k | |
python get-pip.py | |
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support | |
Collecting pip | |
Downloading https://files.pythonhosted.org/packages/30/db/9e38760b32e3e7f40cce46dd5fb107b8c73840df38f0046d8e6514e675a1/pip-19.2.3-py2.py3-none-any.whl (1.4MB) | |
|████████████████████████████████| 1.4MB 1.9MB/s | |
Collecting wheel | |
Downloading https://files.pythonhosted.org/packages/00/83/b4a77d044e78ad1a45610eb88f745be2fd2c6d658f9798a15e384b7d57c9/wheel-0.33.6-py2.py3-none-any.whl | |
Installing collected packages: pip, wheel | |
Successfully installed pip-19.2.3 wheel-0.33.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
linaro@rk3399–4GB:~/termtosvg$ python - version | |
Python 2.7.13 | |
linaro@rk3399–4GB:~/termtosvg$ sudo apt-get install python-setuptools | |
Reading package lists… Done | |
Building dependency tree | |
Reading state information… Done | |
The following additional packages will be installed: | |
python-pkg-resources | |
Suggested packages: | |
python-setuptools-doc | |
The following NEW packages will be installed: | |
python-pkg-resources python-setuptools | |
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. | |
Need to get 463 kB of archives. | |
After this operation, 1590 kB of additional disk space will be used. | |
Do you want to continue? [Y/n] | |
Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main armhf python-pkg-resources all 33.1.1–1 [166 kB] | |
Get:2 http://cdn-fastly.deb.debian.org/debian stretch/main armhf python-setuptools all 33.1.1–1 [297 kB] | |
Fetched 463 kB in 0s (1102 kB/s) | |
Selecting previously unselected package python-pkg-resources. | |
(Reading database … 60960 files and directories currently installed.) | |
Preparing to unpack …/python-pkg-resources_33.1.1–1_all.deb … | |
Unpacking python-pkg-resources (33.1.1–1) … | |
Selecting previously unselected package python-setuptools. | |
Preparing to unpack …/python-setuptools_33.1.1–1_all.deb … | |
Unpacking python-setuptools (33.1.1–1) … | |
Setting up python-pkg-resources (33.1.1–1) … | |
Setting up python-setuptools (33.1.1–1) … |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config - global http.proxy http://proxy-machine:proxy-port | |
linaro@rk3399–4GB:~$ git clone https://github.com/nbedos/termtosvg.git | |
Cloning into 'termtosvg'… | |
remote: Enumerating objects: 3, done. | |
remote: Counting objects: 100% (3/3), done. | |
remote: Compressing objects: 100% (3/3), done. | |
remote: Total 1496 (delta 0), reused 1 (delta 0), pack-reused 1493 | |
Receiving objects: 100% (1496/1496), 1.18 MiB | 2.21 MiB/s, done. | |
Resolving deltas: 100% (871/871), done. | |
linaro@rk3399–4GB:~$ cd termtosvg | |
linaro@rk3399–4GB:~$ make build | |
ImportError: No module named setuptools |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global http.proxy http://proxy-machine:proxy-port | |
git clone https://github.com/nbedos/termtosvg.git | |
sudo apt-get install python-setuptools libxml2-dev libxslt-dev python-dev | |
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py | |
python get-pip.py | |
cd termtosvg | |
echo "Let's modify the Makefile so that we use python3 and pip3 as I can't get rid of Python2.7.x on this machine..." | |
echo "See at https://gist.github.com/gounthar/b1870915710a0437b4e4eb8690e93553#file-makefile-patch" | |
make build | |
pip3 install dist/termtosvg-0.9.0-py3-none-any.whl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment