Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["setuptools>=68", "cython", "numpy < 2.0"]
requires = ["setuptools>=68", "cython", "numpy>=2.0"]
build-backend = "setuptools.build_meta"

[project]
Expand All @@ -11,13 +11,13 @@ authors = [
]
description = "A Quality Measure for Protein, Nucleic Acids and Small Ligand Docking Models"
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = ["numpy < 2.0", "biopython >= 1.79", "networkx", "parallelbar"]
dependencies = ["numpy >= 2.0", "biopython >= 1.79", "networkx", "parallelbar"]

[project.urls]
Homepage = "https://github.com/bjornwallner/DockQ"
Expand Down
Empty file modified run_test.sh
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ install_requires =
setuptools
cython
parallelbar
numpy<2.0
numpy>=2.0
biopython>=1.79
networkx

Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
]

setup(
name="dockq",
ext_modules=cythonize(extensions),
package_data={
"src/DockQ": ["operations.pyx"],
"DockQ": ["operations.pyx"],
},
packages=["DockQ"],
package_dir={"": "src"},
)
1 change: 1 addition & 0 deletions src/DockQ/operations.pyx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#cython: language_level=3
import numpy as np
cimport numpy as np
np.import_array()
import cython

@cython.boundscheck(False)
Expand Down