From 29010c1c7222341535a3ac3be02dd163663772c6 Mon Sep 17 00:00:00 2001 From: rht Date: Thu, 27 Jun 2024 03:11:05 -0400 Subject: [PATCH] setup: Migrate from setup.py to pyproject.toml (#13) * setup: Migrate from setup.py to pyproject.toml * Use Hatchling instead of setuptools --------- Co-authored-by: Adam Amer <136176500+adamamer20@users.noreply.github.com> --- pyproject.toml | 15 +++++++++++++++ setup.py | 10 ---------- 2 files changed, 15 insertions(+), 10 deletions(-) create mode 100644 pyproject.toml delete mode 100644 setup.py diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..2f1e080 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,15 @@ +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +name = "mesa_frames" +version = "0.1.0-alpha1" +description = "An extension to the Mesa framework which uses pandas/Polars DataFrames for enhanced performance" +authors = [ + { name = "Adam Amer" }, +] +license = { text = "MIT" } + +[tool.hatch.build.targets.wheel] +packages = ["mesa_frames"] diff --git a/setup.py b/setup.py deleted file mode 100644 index 80feb0f..0000000 --- a/setup.py +++ /dev/null @@ -1,10 +0,0 @@ -from setuptools import find_packages, setup - -setup( - name="mesa_frames", - packages=find_packages(where="mesa_frames"), - version="0.1.0-alpha1", - description="An extension to the Mesa framework which uses Pandas DataFrames for enhanced performance", - author="Adam Amer", - license="MIT License", -)