cepcenv-0.2.2
توضیحات
CEPC software management toolkit
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cepcenv-0.2.2 |
| نام | cepcenv |
| نسخه کتابخانه | 0.2.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Xianghu Zhao |
| ایمیل نویسنده | zhaoxh@ihep.ac.cn |
| آدرس صفحه اصلی | https://github.com/cepc/cepcenv |
| آدرس اینترنتی | https://pypi.org/project/cepcenv/ |
| مجوز | MIT |
cepcenv
=======
CEPC software management toolkit
Install cepcenv
---------------
Install ``cepcenv`` with ``curl`` or ``wget`` ::
curl -sSL http://cepcsoft.ihep.ac.cn/package/cepcenv/script/install.sh | sh -s [CEPCENV_DIR]
or ::
wget -qO- http://cepcsoft.ihep.ac.cn/package/cepcenv/script/install.sh | sh -s [CEPCENV_DIR]
If ``CEPCENV_DIR`` is omitted, ``cepcenv`` will be installed in the
current directory.
Install cepcsoft with cepcenv
-----------------------------
Setup ``cepcenv``::
. <CEPCENV_DIR>/setup.sh
List available CEPC software version::
cepcenv ls-remote
Specify CEPC software version and where to install::
cepcenv [-r <SOFTWARE_ROOT>] install <version>
If ``-r <SOFTWARE_ROOT>`` is not specified, everything will be
installed in the current directory.
Multiple versions could be installed under the same software root
directory.
Configuration
-------------
Create the configuration file if it does not exist::
[ -e ~/.cepcenv.conf ] || cepcenv config -e > ~/.cepcenv.conf
Edit `~/.cepcenv.conf` and uncomment `software_root`::
software_root: <SOFTWARE_ROOT>
Select cepcsoft Version
-----------------------
List local installed CEPC software version::
cepcenv -r <SOFTWARE_ROOT> ls
Select local CEPC software version you would like to use::
cepcenv -r <SOFTWARE_ROOT> use <version>
نیازمندی
| مقدار | نام |
|---|---|
| <=0.2.0 | paradag |
| <7.0,>=6.0 | click |
| <4.0,>=3.0 | PyYAML |
| - | distro |
نحوه نصب
نصب پکیج whl cepcenv-0.2.2:
pip install cepcenv-0.2.2.whl
نصب پکیج tar.gz cepcenv-0.2.2:
pip install cepcenv-0.2.2.tar.gz