Skip to content

Commit

Permalink
Migrate from setup.py to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
ma-sadeghi committed Mar 10, 2024
1 parent 812c1a0 commit 6efe937
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 98 deletions.
84 changes: 84 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
[project]
name = "porespy"
dynamic = ["version"]
description = "A set of tools for analyzing 3D images of porous materials"
authors = [{ name = "PoreSpy Team", email = "jgostick@gmail.com" }]
maintainers = [
{ name = "Jeff Gostick", email = "jgostick@gmail.com" },
{ name = "Amin Sadeghi", email = "amin.sadeghi@live.com" },
]
license = "MIT"
keywords = [
"voxel images",
"porous materials",
"image analysis",
"direct numerical simulation",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
]
dependencies = [
"dask",
"deprecated",
"edt",
"matplotlib",
"numba",
"numpy",
"openpnm",
"pandas",
"psutil",
"rich",
"scikit-image",
"scipy",
"tqdm",
"pywavelets",
"nanomesh",
"setuptools",
]
readme = "README.md"
requires-python = ">= 3.10"

[project.urls]
Homepage = "https://porespy.org"
Repository = "https://github.com/PMEAL/porespy"
"Bug Tracker" = "https://github.com/PMEAL/porespy/issues"
Documentation = "https://porespy.org/"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.rye]
managed = true
dev-dependencies = [
"pytest",
"hatch",
"numpy-stl>=3.1.1",
"pyevtk>=1.6.0",
"trimesh>=4.1.8",
"ipykernel>=6.29.3",
"pypardiso>=0.4.5",
]

[tool.hatch.metadata]
allow-direct-references = true

[tool.hatch.version]
path = "src/porespy/__version__.py"

[tool.hatch.build.targets.wheel]
packages = ["src/porespy"]

[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-ra -v"
testpaths = ["test"]

[tool.ruff]
line-length = 92
98 changes: 0 additions & 98 deletions setup.py

This file was deleted.

0 comments on commit 6efe937

Please sign in to comment.