File tree 3 files changed +25
-5
lines changed
3 files changed +25
-5
lines changed Original file line number Diff line number Diff line change @@ -22,5 +22,5 @@ serve = "mkdocs serve --dev-addr localhost:8000"
22
22
packages = [" src/pointers" ]
23
23
include = [" src/pointers/*.py" , " src/pointers/_pointers.pyi" ]
24
24
25
- [build .hooks .custom ]
26
- enable-by-default = true
25
+ # [build.hooks.custom]
26
+ # enable-by-default = true
Original file line number Diff line number Diff line change 1
1
[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"
4
6
5
7
[project ]
6
8
name = " pointers.py"
@@ -23,7 +25,7 @@ classifiers = [
23
25
dependencies = [
24
26
" typing_extensions" ,
25
27
]
26
- dynamic = [ " version " ]
28
+ version = " 2.6.0 "
27
29
28
30
[project .urls ]
29
31
Documentation = " https://pointers.zintensity.dev"
Original file line number Diff line number Diff line change
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
+ )
You can’t perform that action at this time.
0 commit comments