Skip to content

Commit ed25119

Browse files
committed
dev[fix]: fix install.sh, remove unused dependencies
1 parent 4291560 commit ed25119

File tree

4 files changed

+26
-11
lines changed

4 files changed

+26
-11
lines changed

README.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,18 +33,34 @@ $$ -->
3333

3434
## Usage
3535

36+
Please use mamba for fast download and installation
37+
38+
```sh
39+
conda install mamba -n base -c conda-forge
40+
```
41+
3642
### Local Install
3743

38-
Linux only:
44+
*NIX systems only:
45+
Linux and MacOS
46+
47+
Remove all previous pydockrmsd installation
48+
49+
> If you have MacOS with apple silicon 'M' processor, please use manual installation.
50+
> Github Action cannot handle apple silicon yet
51+
52+
```bash
53+
pip uninstall pydockrmsd
54+
```
3955

4056
```bash
41-
conda env create --name pydockrmsd --file condaenv/requirement.yml
57+
mamba env create --name pydockrmsd --file condaenv/requirement.yml
4258
conda activate pydockrmsd
43-
conda env update --name pydockrmsd --file condaenv/ci-cd.yml
59+
mamba env update --name pydockrmsd --file condaenv/ci-cd.yml --prune
4460
./scripts/install.sh
4561
```
4662

47-
### Requirement
63+
### Pypi install
4864

4965
Build Requirement
5066

condaenv/ci-cd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# Copyright (c) 2021 Barre kevin - All rights reserved.
12
channels:
23
- defaults
34
dependencies:

condaenv/requirement.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2020 Aqemia - All rights reserved.
1+
# Copyright (c) 2021 Barre kevin - All rights reserved.
22
channels:
33
- defaults
44
- conda-forge
@@ -10,4 +10,3 @@ dependencies:
1010
- pip
1111
- pip:
1212
- pyarrow
13-
- table

scripts/install.sh

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1+
#!/usr/bin/env bash
12
current_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
23
. "$current_dir/info.sh" && \
3-
python -m build . && \
4-
# python -m cibuildwheel --platform linux \
5-
# pip install --force dist/pydockrmsd-${version}-py3-none-any.whl && \
6-
pip install --force dist/pydockrmsd-${version}-cp38-cp38-linux_x86_64.whl && \
4+
python setup.py bdist_wheel && \
5+
pip install --force dist/pydockrmsd-${version}-*.whl && \
76
printf "pydockrmsd " && \
87
python -c "import pydockrmsd; print(pydockrmsd.__version__, end='');" && \
98
echo " correctly installed";
10-
rm -r build/
9+
cd examples && python3 crystal_example.py

0 commit comments

Comments
 (0)