用于python的icon commmons包
iconcommons的Python项目详细描述
图标共享
icon commons是一个用于运行t-bears和icon服务的实用程序项目。 此项目提供一些用于设置配置数据和日志记录的实用程序类。
从源构建
签出源代码后,创建一个虚拟环境并在源目录中运行构建脚本,如下所示。
$ virtualenv -p python3 venv # create a virtual environment
$ source venv/bin/activate # switch to the virtual environment
(venv) $ ./build.sh # run the build script
(venv) $ ls dist/ # check the generated wheel file
iconcommons-1.1.2-py3-none-any.whl
安装
基本上,您可以在本地环境中使用pip3
命令安装icon commons包。
要求
icon commons包需要以下环境。
- 操作系统:MacOS、Linux
- 不支持Windows
- Python
- 为python 3.6.5+制作virtualenv(也支持3.7)
- 检查python版本
$ python3 -V Python 3.6.7
- IDE:推荐Pycharm。
在MacOS/Linux上安装
(venv) $ pip3 install iconcommons
参考
许可证
此项目遵循Apache2.0许可证。详情请参阅LICENSE。