Skip to content

Commit

Permalink
chore: new pyproject.toml
Browse files Browse the repository at this point in the history
removed install requires from setup.py
  • Loading branch information
nauaneed committed Aug 20, 2024
1 parent 0316d2b commit 557998d
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 4 deletions.
47 changes: 47 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
[build-system]
requires = [
"setuptools >= 61.0",
"cython>3.0",
"cyarray",
"mpi4py>=1.2, <4.0"
]
build-backend = "setuptools.build_meta"

[project]
name = "pyzoltan"
dynamic = ["version"]
readme = "README.rst"
license = {file = "LICENSE.txt"}
dependencies = ["numpy", "mpi4py>=1.2, <4.0"]
description = "Wrapper for the Zoltan data management library"
authors = [
{name = "PySPH Developers", email = "[email protected]"}
]
keywords = ["Cython", "Zoltan", "Dynamic load balancing"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Software Development :: Libraries"
]

[project.optional-dependencies]
docs = ["sphinx"]
tests = ["pytest>=3.0"]
dev = ["sphinx", "pytest>=3.0", "cython>3.0", "cyarray"]

[project.urls]
Documentation = "https://pyzoltan.readthedocs.io"
Repository = "https://github.com/pypr/pyzoltan.git"
Issues = "https://github.com/pypr/pyzoltan/issues"
4 changes: 0 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,9 +337,6 @@ def setup_package():
exec(compile(open(module).read(), module, 'exec'), info)

# The requirements.
install_requires = [
'cyarray', 'numpy', 'Cython', 'setuptools>=6.0', 'mpi4py>=1.2,<4.0'
]
tests_require = ["pytest>=3.0"]
docs_require = ["sphinx"]

Expand Down Expand Up @@ -388,7 +385,6 @@ def setup_package():
ext_modules=ext_modules,
include_package_data=True,
cmdclass=cmdclass,
install_requires=install_requires,
extras_require={
"docs": docs_require,
"tests": tests_require,
Expand Down

0 comments on commit 557998d

Please sign in to comment.