diff --git a/pyproject.toml b/pyproject.toml index 4f4fed6..3131305 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,7 @@ requires = [ "cython<3", "numpy", - "setuptools", + "setuptools>=61.0", ] [project] @@ -22,3 +22,17 @@ classifiers = [ dependencies = [ "numpy", ] + +[tool.setuptools] +packages = [ + "pyquante2", + "pyquante2.basis", + "pyquante2.dft", + "pyquante2.geo", + "pyquante2.graphics", + "pyquante2.grid", + "pyquante2.ints", + "pyquante2.pt", + "pyquante2.scf", + "pyquante2.viewer", +] diff --git a/setup.py b/setup.py index ea3dd18..aec62a1 100644 --- a/setup.py +++ b/setup.py @@ -58,18 +58,5 @@ setup( name="pyquante2", - install_requires=["numpy"], - packages=[ - "pyquante2", - "pyquante2.basis", - "pyquante2.dft", - "pyquante2.geo", - "pyquante2.graphics", - "pyquante2.grid", - "pyquante2.ints", - "pyquante2.pt", - "pyquante2.scf", - "pyquante2.viewer", - ], ext_modules=ext_modules, )