From b016d2b55c16d1d7303cd93d5a9a3e2362a9fb58 Mon Sep 17 00:00:00 2001 From: dusoleil Date: Thu, 23 Feb 2023 05:24:29 -0500 Subject: Update project's build and package to the newer standard Currently, the standard way to build and package a Python project is through a pyproject.toml file rather than the old setup.py. This is also build back-end agnostic and we can choose to use something other than setuptools. After looking through a few options, I've decided to use hatchling. Signed-off-by: dusoleil Reviewed-by: Malfurious --- pyproject.toml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 pyproject.toml (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..385c6ce --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,22 @@ +[project] +name = "sploit" +version = "0.1" +description = "sploit is a process interaction automation tool with software exploitation focused utilities." +readme = "README.txt" +requires-python = ">=3.8" +license = "Unlicense" +license-files.paths = ["UNLICENSE"] +authors = [ + {name="dusoleil",email="howcansocksbereal@gmail.com"}, + {name="Malfurious",email="m@lfurio.us"}, +] + +[project.urls] +"Homepage" = "https://github.com/dusoleil/sploit" + +[project.scripts] +sploit = "sploit.main:main" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" -- cgit v1.2.3