Loading README.md +11 −14 Original line number Diff line number Diff line Loading @@ -4,34 +4,31 @@ CSST 流水线原型,用于展示示例代码。 ## dependency - numpy==1.23.3 - scipy==1.9.2 - joblib==1.2.0 - astropy==5.1 - pytest==7.2.1 - coverage==7.2.1 - numpy==1.26.1 - scipy==1.11.3 - astropy==5.3.4 - joblib==1.3.0 - toml==0.10.2 ## installation `csst_proto` can be installed with the following shell command `csst_proto` 可用如下方式安装 ```bash ```shell git clone https://csst-tb.bao.ac.cn/code/csst-l1/csst_proto.git cd csst_proto pip install -r requirements.txt python setup.py install pip install . ``` or a single-line command (the requirements are not installed automatically) 或者单行命令: ```bash sh -c "$(curl -fsSL https://csst-tb.bao.ac.cn/code/csst-l1/csst_proto/-/raw/main/install.sh)" ```shell pip install --force-reinstall git+https://csst-tb.bao.ac.cn/code/csst-l1/csst_proto.git ``` ## tutorial A simple example on how to use this package: 一个简单使用教程 ```python from csst_proto import flip_image Loading setup.py +6 −1 Original line number Diff line number Diff line Loading @@ -5,8 +5,13 @@ with open("README.md", "r") as f: long_description = f.read() # 读取依赖列表requirements.txt # 忽略#开头或者版本号不明确指定的条目 with open("requirements.txt", "r") as f: requirements = [_.strip() for _ in f.readlines()] requirements = [ req.strip() for req in f.readlines() if not req.startswith("#") and req.__contains__("==") ] # 配置、安装 setuptools.setup( Loading Loading
README.md +11 −14 Original line number Diff line number Diff line Loading @@ -4,34 +4,31 @@ CSST 流水线原型,用于展示示例代码。 ## dependency - numpy==1.23.3 - scipy==1.9.2 - joblib==1.2.0 - astropy==5.1 - pytest==7.2.1 - coverage==7.2.1 - numpy==1.26.1 - scipy==1.11.3 - astropy==5.3.4 - joblib==1.3.0 - toml==0.10.2 ## installation `csst_proto` can be installed with the following shell command `csst_proto` 可用如下方式安装 ```bash ```shell git clone https://csst-tb.bao.ac.cn/code/csst-l1/csst_proto.git cd csst_proto pip install -r requirements.txt python setup.py install pip install . ``` or a single-line command (the requirements are not installed automatically) 或者单行命令: ```bash sh -c "$(curl -fsSL https://csst-tb.bao.ac.cn/code/csst-l1/csst_proto/-/raw/main/install.sh)" ```shell pip install --force-reinstall git+https://csst-tb.bao.ac.cn/code/csst-l1/csst_proto.git ``` ## tutorial A simple example on how to use this package: 一个简单使用教程 ```python from csst_proto import flip_image Loading
setup.py +6 −1 Original line number Diff line number Diff line Loading @@ -5,8 +5,13 @@ with open("README.md", "r") as f: long_description = f.read() # 读取依赖列表requirements.txt # 忽略#开头或者版本号不明确指定的条目 with open("requirements.txt", "r") as f: requirements = [_.strip() for _ in f.readlines()] requirements = [ req.strip() for req in f.readlines() if not req.startswith("#") and req.__contains__("==") ] # 配置、安装 setuptools.setup( Loading