diff --git a/pyproject.toml b/pyproject.toml
new file mode 100644
index 0000000000000000000000000000000000000000..556c384549329df707d1b0257d9a1614ce9a33c2
--- /dev/null
+++ b/pyproject.toml
@@ -0,0 +1,3 @@
+[build-system]
+requires = ["setuptools>=42", "wheel"]   # PEP 508 specifications.
+build-backend = "setuptools.build_meta"
diff --git a/setup.cfg b/setup.cfg
new file mode 100644
index 0000000000000000000000000000000000000000..422109f4dd54f7cb90dd1fee644fb863c822c141
--- /dev/null
+++ b/setup.cfg
@@ -0,0 +1,12 @@
+[metadata]
+name = moist_thermodynamics
+version = 0.5.0
+description = Constants and functions for the treatment of moist atmospheric thermodynamics.
+long_description = file: README.md
+license = BSD 3-Clause License
+
+[options]
+packages = find:
+install_requires =
+    numpy
+    scipy
diff --git a/setup.py b/setup.py
index a8d2f2abc8ff7409a86c6a5587d0f7123771defe..b024da80e9c1c8c800cc1b46e90c1e783cb446cc 100644
--- a/setup.py
+++ b/setup.py
@@ -1,13 +1,4 @@
-# content of setup.py
-from setuptools import setup, find_packages
+from setuptools import setup
 
-setup(
-    name="moist_thermodynamics",
-    version="0.5",
-    description="Constants and functions for the treatment of moist atmospheric thermodynamics",
-    packages=find_packages(),
-    install_requires=[
-        "numpy",
-        "scipy",
-    ],
-)
+
+setup()