Skip to content

Commit 3a2f806

Browse files
committed
back to setuptools i guess
1 parent 5806cc8 commit 3a2f806

File tree

3 files changed

+25
-5
lines changed

3 files changed

+25
-5
lines changed

hatch.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ serve = "mkdocs serve --dev-addr localhost:8000"
2222
packages = ["src/pointers"]
2323
include = ["src/pointers/*.py", "src/pointers/_pointers.pyi"]
2424

25-
[build.hooks.custom]
26-
enable-by-default = true
25+
#[build.hooks.custom]
26+
#enable-by-default = true

pyproject.toml

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
[build-system]
2-
requires = ["hatchling", "setuptools", "find-libpython"]
3-
build-backend = "hatchling.build"
2+
#requires = ["hatchling", "setuptools", "find-libpython"]
3+
#build-backend = "hatchling.build"
4+
requires = ["setuptools", "hatchling"]
5+
build-backend = "setuptools.build_meta"
46

57
[project]
68
name = "pointers.py"
@@ -23,7 +25,7 @@ classifiers = [
2325
dependencies = [
2426
"typing_extensions",
2527
]
26-
dynamic = ["version"]
28+
version = "2.6.0"
2729

2830
[project.urls]
2931
Documentation = "https://pointers.zintensity.dev"

setup.py

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
from setuptools import Extension, setup
2+
3+
with open("./README.md") as f:
4+
long_desc: str = f.read()
5+
6+
if __name__ == "__main__":
7+
setup(
8+
name="pointers.py",
9+
version="2.6.0",
10+
packages=["pointers"],
11+
license="MIT",
12+
project_urls={
13+
"Source": "https://github.com/ZeroIntensity/pointers.py",
14+
"Documentation": "https://pointers.zintensity.dev/",
15+
},
16+
package_dir={"": "src"},
17+
ext_modules=[Extension("_pointers", ["./src/mod.c"])],
18+
)

0 commit comments

Comments
 (0)