PyBGL 纯 Python 图形库 项目简介
PyBGL 是一个纯 Python 图形库,灵感来自于 BGL (Boost Graph Library).依赖Minifold 要求最低 Python 3 <http://python.org/>.sudo apt-get update
sudo apt-get install python3安装步骤源码安装mkdir ~/git
cd ~/git
git clone https://github.com/nokia/pybgl.git
cd pybgl
python3 setup.py build
sudo python3 setup.py install测试测试脚本存放在 tests/ 目录. 安装 python3-pytest. 运行如下测试脚本cd ~/git/pybgl/tests/
pytest-3安装包可通过 rpm 和 deb 方式安装python3-setuptools python3-stdeb for .deb packages rpm for .rpm packages例如,基于 Debian 的发行版可以使用如下命令来安装sudo apt-get update
sudo apt-get install python3-setuptools python3-stdeb rpmTo build .rpm package (in dist/), run:cd ~/git/pybgl/tests/
python3 setup.py bdist_rpmTo build .deb package (in deb_dist/), run:python3 setup.py --command-packages=stdeb.command bdist_deb
sudo apt-get install python3安装步骤源码安装mkdir ~/git
cd ~/git
git clone https://github.com/nokia/pybgl.git
cd pybgl
python3 setup.py build
sudo python3 setup.py install测试测试脚本存放在 tests/ 目录. 安装 python3-pytest. 运行如下测试脚本cd ~/git/pybgl/tests/
pytest-3安装包可通过 rpm 和 deb 方式安装python3-setuptools python3-stdeb for .deb packages rpm for .rpm packages例如,基于 Debian 的发行版可以使用如下命令来安装sudo apt-get update
sudo apt-get install python3-setuptools python3-stdeb rpmTo build .rpm package (in dist/), run:cd ~/git/pybgl/tests/
python3 setup.py bdist_rpmTo build .deb package (in deb_dist/), run:python3 setup.py --command-packages=stdeb.command bdist_deb