From d11f6d7068ffb0c22a5559c3ea6890d101cb0981 Mon Sep 17 00:00:00 2001 From: zqfang Date: Mon, 28 Aug 2023 13:32:51 -0700 Subject: [PATCH] README --- README.rst | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/README.rst b/README.rst index dc65e60..d314424 100644 --- a/README.rst +++ b/README.rst @@ -99,41 +99,29 @@ Installation ------------ | Install gseapy package from bioconda or pypi. +| For .. code:: shell # if you have conda (MacOS_x86-64 and Linux only) $ conda install -c bioconda gseapy - - # or use pip to install the latest release + # Windows and MacOS_ARM64(M1/2-Chip) $ pip install gseapy - -| For `ARM-MacOS M1/2-Chip` users, Github build did not have a M1-runner for MacOS. you need do compile rust code by yourself - -.. code:: shell - # install rust compiler - curl https://sh.rustup.rs -sSf | sh -s -- -y - # export rust compiler - export PATH="$PATH:$HOME/.cargo/bin" - # install gseapy - pip install gseapy - - -| You may instead want to use the development version from Github, by running +| If pip install failed, use .. code:: shell # you need to install rust first to compile the code - # rust: https://www.rust-lang.org/tools/install curl https://sh.rustup.rs -sSf | sh -s -- -y # export rust compiler export PATH="$PATH:$HOME/.cargo/bin" # install $ pip install git+git://github.com/zqfang/gseapy.git#egg=gseapy + Dependency -------------- * Python 3.7+