Skip to content

Commit

Permalink
build: add unidock_tools dependency in toml (#110)
Browse files Browse the repository at this point in the history
* build:add pyproject deps

* doc:update doc unidock_tools install

* doc: update unidock_tools installation tutorial

Co-authored-by: Chun Cai <amoycaic@gmail.com>

* build:remove no-dep in pip install

---------

Co-authored-by: Chun Cai <amoycaic@gmail.com>
  • Loading branch information
dp-yuanyn and caic99 authored Mar 20, 2024
1 parent c006c8e commit 93c3ecc
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
3 changes: 1 addition & 2 deletions unidock_tools/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ RUN wget --quiet -O CDPKit.sh https://github.com/molinfo-vienna/CDPKit/releases/
rm CDPKit.sh

WORKDIR /opt
RUN mamba install -y ipython requests rdkit openbabel networkx numpy pandas -c conda-forge
RUN mamba install -y ipython requests openbabel pandas -c conda-forge
RUN mamba create -y -n mgltools mgltools autogrid -c bioconda
ENV PATH $PATH:/opt/conda/envs/mgltools/bin
RUN pip install tqdm

COPY . /opt/unidock_tools
RUN cd /opt/unidock_tools && \
Expand Down
10 changes: 5 additions & 5 deletions unidock_tools/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@ Main features are:
## Dependency

- [Uni-Dock](../unidock/README.md#installation)
- Python >= 3.6
- RDKit
- networkx
- Python >= 3.8
- MGLTools, if you want to use AD4 scoring function in Uni-Dock
- mcdock dependencies, see [MCDock Installation](./MCDOCK.md#installation)
- MCDock dependencies, see [MCDock Installation](./MCDOCK.md#installation)

## Install

- ```pip install .```
Clone Uni-Dock repo, and under `unidock_tools` subdirectory run ```pip install .```

Or ```pip install git+https://github.com/dptech-corp/Uni-Dock.git#subdirectory=unidock_tools```

## Docker

Expand Down
11 changes: 7 additions & 4 deletions unidock_tools/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,19 @@ authors = [
description = "Several docking-related applications based on Uni-Dock."
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"rdkit",
"networkx",
"tqdm",
"numpy",
]

license = { file = "LICENSE" }
classifiers = [
"Programming Language :: Python :: 3",
"Environment :: GPU :: NVIDIA CUDA",
"License :: OSI Approved :: Apache Software License",
]
#dependencies = [
# "rdkit",
# "networkx",
#]

[tool.setuptools.package-data]
"*" = ["*.dat"]
Expand Down

0 comments on commit 93c3ecc

Please sign in to comment.