Skip to content

Commit

Permalink
update installation on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
gcroci2 committed Jan 18, 2024
1 parent 1bc12fc commit 941823b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 25 deletions.
20 changes: 13 additions & 7 deletions .github/actions/install-python-and-package/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,26 @@ runs:
access_token: ${{ github.token }}
- uses: actions/checkout@v3
- name: Setup conda
uses: conda-incubator/setup-miniconda@v2
uses: s-weigand/setup-conda@v1
with:
activate-environment: deeprank2
environment-file: ./env/environment.yml
auto-activate-base: false
- run: |
conda info
conda list
update-conda: true
python-version: ${{ inputs.python-version }}
conda-channels: pytorch, pyg, bioconda, defaults, sbl, conda-forge
- run: conda --version
shell: bash {0}
- name: Python info
shell: bash -e {0}
run: |
which python3
python3 --version
- name: Install dependencies on Linux
shell: bash {0}
env:
CMAKE_INSTALL_PREFIX: .local
if: runner.os == 'Linux'
run: |
# Install dependencies
conda env update --file ./env/environment.yml
- name: Install the package
shell: bash {0}
run: pip install .'[${{ inputs.extras-require }}]'
18 changes: 0 additions & 18 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,6 @@ classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10"
]
dependencies = [
"tables >= 3.8.0",
"numpy >= 1.21.5",
"scipy >= 1.11.2",
"h5py >= 3.6.0",
"networkx >= 2.6.3",
"matplotlib >= 3.5.1",
"pdb2sql >= 0.5.1",
"scikit-learn >= 1.0.2",
"chart-studio >= 1.1.0",
"biopython >= 1.81",
"python-louvain >= 0.16",
"markov-clustering >= 0.0.6.dev0",
"tqdm >= 4.63.0",
"freesasa >= 2.1.0",
"tensorboard >= 0.9.0",
"protobuf >= 3.20.1"
]

[project.optional-dependencies]
# development dependency groups
Expand Down

0 comments on commit 941823b

Please sign in to comment.