跟着医生学kivy:kivy-garden 究竟怎样安装?

目前kivy garden 已经被做成了一个模块module,但是还有不少的朋友抱怨kivy garden由于国内网站的速度差,不稳定,只能通过镜像操作,于是乎一顿神操作,将我们这些业余IT人士吓得只想换个更成熟的编程语言,从头开始。
还好,幸亏有官方网站,搜索了一下 kivy garden,结果看到如下的文字,讲的明明白白,官方虽然不对kivy garden中的代码安全性做任何担保,当然,这也理解,毕竟每天都有更新,也没有门槛,谁都可以更新,但是官方为了大家调用方便,做成了kivy-garden模块,在ubuntu上面使用pip安装轻松的很。具体官方文字如下,我配一个翻译:
Legacy garden tool instructions¶
传统的花园工具说明:
Garden is now distributed as a separate Python module, kivy-garden. You can install it with pip:
Garden现在作为一个独立的Python模块kivygarden发布。可以使用pip安装:
pip install kivy-garden

The garden module does not initially include any packages. You can download them with the garden tool installed by the pip package:
花园模块最初不包括任何包。您可以使用pip包安装的garden工具下载它们:

Installing a garden package

garden install graph

Upgrade a garden package

garden install --upgrade graph

Uninstall a garden package

garden uninstall graph

List all the garden packages installed

garden list

Search new packages

garden search

Search all the packages that contain “graph”

garden search graph

Show the help

garden --help

All the garden packages are installed by default in ~/.kivy/garden.
默认情况下,所有花园软件包都安装在~/.kivy/garden中。
Note

In previous versions of Kivy, garden was a tool at kivy/tools/garden. This no longer exists, but the kivy-garden module provides exactly the same functionality.
在以前版本的Kivy中,garden是Kivy/tools/garden的一个工具。这已经不存在了,但是kivy garden模块提供了完全相同的功能。
Packaging¶

If you want to include garden packages in your application, you can add –app to the install command. This will create a libs/garden directory in your current directory which will be used by kivy.garden.
如果要在应用程序中包含garden包,可以将–app添加到install命令中。这将在当前目录中创建一个libs/garden目录,供kivy.garden使用.

For example:

cd myapp
garden install --app graph

你可能感兴趣的:(跟着医生学kivy:kivy-garden 究竟怎样安装?)