Metadata-Version: 2.0
Name: cepcenv
Version: 0.1.1
Summary: CEPC software management toolkit
Home-page: https://github.com/cepc/cepcenv
Author: Xianghu Zhao
Author-email: zhaoxh@ihep.ac.cn
License: MIT
Keywords: CEPC
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering :: Physics
Classifier: Topic :: System :: Software Distribution
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Dist: PyYAML (>=3.0,<4.0)
Requires-Dist: click (>=6.0,<7.0)
Requires-Dist: distro
Requires-Dist: paradag

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
-----------------------------

``git`` command is necessary for executing the following commands. ``git`` could
be installed via the package manager::

    yum install -y git

Setup ``cepcenv``::

    . <CEPCENV_DIR>/setup.sh

List available ``cepc-release`` version::

    cepcenv ls-remote

Specified ``cepc-release`` version and where to install::

    cepcenv [-r <CEPCSOFT_INSTALL_DIR>] install <version>

If ``-r <CEPCSOFT_INSTALL_DIR>`` is not specified, everything will be installed
in the current directory.

List local installed ``cepc-release`` version::

    cepcenv -r <CEPCSOFT_INSTALL_DIR> ls

Select local ``cepc-release`` version you would like to use::

    cepcenv -r <CEPCSOFT_INSTALL_DIR> use <version>


