-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Move all setup metadata to pyproject.toml * Restructure workflow to use uv * Use pyproject.toml as cache key * Use setup-uv's own cache handling * Use strings for Python versions * Specify that UV uses system python * Specify specific patch version of 3.6 * Test against 3.7 * Use uv pip install of sync * Revert back to specifying latest Python without x * Specify system python in each step * Revert "Specify system python in each step" This reverts commit 752a640. * Revert "Use uv pip install of sync" This reverts commit 67eb8bf. * Use UV to install Python * Specify a requires-python entry * Test against 3.7 * Test against Python 3.8 * Test against Python 3.9 * Work-around llvm installation issues for numba dependency * Install openmpi on ubuntu * Specify dev dependencies * Set-up mpi to make sure mpi4py can install * Pin numba instead of llvm * Reorder dependencies * Drop support for Python 3.6 and 3.7, add support for 3.11 and 3.12 * Test specifically on Python 3.12 * Add six as optional dependency * Set up Python while synching * Make compatible with higher patch versions of 3.12 * Bump numba bound * Require Python 3.9 * Use importlib to get e3fp version * Use uv also to build the docs * Remove conda environment files * Fix outdated doctest * Run pytest verbosely * Set RDMAV_FORK_SAFE * Update installation instructions * Build docs from the correct source dir * Revert "Run pytest verbosely" This reverts commit 0838e20. * Explicitly request XML coverage report * Remove setup.py * Use UV for building and publishing to PyPI * Switch from setuptools to flit * Setup uv the same for both actions
- Loading branch information
Showing
12 changed files
with
160 additions
and
197 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
conda: | ||
file: doc/environment.yml | ||
python: | ||
setup_py_install: true | ||
version: 2 | ||
|
||
build: | ||
os: "ubuntu-22.04" | ||
tools: | ||
python: "3.12" | ||
commands: | ||
- asdf plugin add uv | ||
- asdf install uv latest | ||
- asdf global uv latest | ||
- uv sync --extra docs --frozen | ||
- uv run -m sphinx -T -b html -d docs/_build/doctrees -D language=en doc/source $READTHEDOCS_OUTPUT/html |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,77 @@ | ||
[build-system] | ||
requires = ["setuptools", "wheel"] | ||
requires = ["flit_core >=3.2,<4"] | ||
build-backend = "flit_core.buildapi" | ||
|
||
[project] | ||
name = "e3fp" | ||
dynamic = ["version"] | ||
requires-python = ">=3.9, <3.13" | ||
description = "Molecular 3D fingerprinting" | ||
readme = "README.rst" | ||
authors = [ | ||
{name = "Seth Axen", email = "seth.axen@gmail.com"}, | ||
] | ||
license = {text = "LGPLv3"} | ||
keywords = ["e3fp", "3d", "molecule", "fingerprint", "conformer"] | ||
classifiers = [ | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", | ||
"Operating System :: OS Independent", | ||
"Development Status :: 4 - Beta", | ||
"Intended Audience :: Science/Research", | ||
"Intended Audience :: Developers", | ||
"Topic :: Scientific/Engineering :: Chemistry", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
] | ||
dependencies = [ | ||
"mmh3>=2.3.1", | ||
"numpy>=1.11.3", | ||
"rdkit>=2016.03.4", | ||
"scipy>=0.18.0", | ||
"sdaxen_python_utilities>=0.1.5", | ||
"smart_open>=1.8.3", | ||
] | ||
|
||
[project.optional-dependencies] | ||
optional = [ | ||
"h5py", | ||
"mpi4py", | ||
"numba", | ||
"six", # needed by standardiser, but not listed as a dependency | ||
"standardiser", | ||
] | ||
test = [ | ||
"mock", | ||
"pytest", | ||
"e3fp[optional]", | ||
] | ||
dev = [ | ||
"e3fp[test]", | ||
"pytest-cov", | ||
] | ||
docs = [ | ||
"sphinx", | ||
"sphinxcontrib-programoutput" | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/keiserlab/e3fp" | ||
Download = "https://github.com/keiserlab/e3fp/tarball/{version}" | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["e3fp", "e3fp.*"] | ||
|
||
[tool.setuptools.dynamic] | ||
version = {attr = "e3fp.version"} | ||
|
||
[tool.pytest.ini_options] | ||
addopts = "-ra -q" | ||
testpaths = ["e3fp/test"] | ||
|
||
# https://github.com/astral-sh/uv/issues/6281 | ||
[tool.uv] | ||
constraint-dependencies = ["numba>=0.60.0"] |
Oops, something went wrong.