setuptools-zig-build 0.2.0__tar.gz → 0.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {setuptools_zig_build-0.2.0/setuptools_zig_build.egg-info → setuptools_zig_build-0.2.1}/PKG-INFO +12 -5
- {setuptools_zig_build-0.2.0 → setuptools_zig_build-0.2.1}/README.md +11 -4
- {setuptools_zig_build-0.2.0 → setuptools_zig_build-0.2.1}/setup.py +1 -1
- {setuptools_zig_build-0.2.0 → setuptools_zig_build-0.2.1/setuptools_zig_build.egg-info}/PKG-INFO +12 -5
- {setuptools_zig_build-0.2.0 → setuptools_zig_build-0.2.1}/LICENSE +0 -0
- {setuptools_zig_build-0.2.0 → setuptools_zig_build-0.2.1}/setup.cfg +0 -0
- {setuptools_zig_build-0.2.0 → setuptools_zig_build-0.2.1}/setuptools_zig_build.egg-info/SOURCES.txt +0 -0
- {setuptools_zig_build-0.2.0 → setuptools_zig_build-0.2.1}/setuptools_zig_build.egg-info/dependency_links.txt +0 -0
- {setuptools_zig_build-0.2.0 → setuptools_zig_build-0.2.1}/setuptools_zig_build.egg-info/entry_points.txt +0 -0
- {setuptools_zig_build-0.2.0 → setuptools_zig_build-0.2.1}/setuptools_zig_build.egg-info/top_level.txt +0 -0
- {setuptools_zig_build-0.2.0 → setuptools_zig_build-0.2.1}/setuptools_zig_build.py +0 -0
{setuptools_zig_build-0.2.0/setuptools_zig_build.egg-info → setuptools_zig_build-0.2.1}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: setuptools_zig_build
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: A setuptools extension, for building cpython extensions with zig build
|
|
5
5
|
Home-page: https://codeberg.org/dasimmet/setuptools-zig-build
|
|
6
6
|
Author-email: dasimmet@gmail.com
|
|
@@ -33,9 +33,14 @@ Dynamic: summary
|
|
|
33
33
|
A setuptools extension, for building cpython extensions with zig build,
|
|
34
34
|
enabling simple source-only pip distributions that compile at install time.
|
|
35
35
|
|
|
36
|
-
check out [zig-zon](https://
|
|
36
|
+
check out [zig-zon](https://codeberg.org/dasimmet/python-zig-zon/) for a full example.
|
|
37
37
|
|
|
38
|
-
## Example
|
|
38
|
+
## Example
|
|
39
|
+
|
|
40
|
+
Your project needs to have:
|
|
41
|
+
- `setup.py` to configure this setuptools extension to run during python's wheel build
|
|
42
|
+
- `build.zig` to configure the build of the shared library
|
|
43
|
+
- `build.zig.zon` optionally - to specify zig dependencies
|
|
39
44
|
|
|
40
45
|
```python
|
|
41
46
|
from setuptools import Extension
|
|
@@ -45,8 +50,9 @@ setup(
|
|
|
45
50
|
name='zig-zon',
|
|
46
51
|
packages=[],
|
|
47
52
|
zig_build={
|
|
48
|
-
# stores zig's
|
|
53
|
+
# stores zig's depdendency pacakges in python's sdist. This requires a call to
|
|
49
54
|
# CPython.addSdistList(b); in `build.zig`
|
|
55
|
+
# If set to False, potential dependencies will be downloaded by zig instead.
|
|
50
56
|
"sdist": True,
|
|
51
57
|
# tries to import 'ziglang' to get a zig compiler when building wheel
|
|
52
58
|
"use_ziglang_python_package": True,
|
|
@@ -54,11 +60,12 @@ setup(
|
|
|
54
60
|
"optimize": "ReleaseSmall",
|
|
55
61
|
# passes -Dversion=<pip package version> to zig build
|
|
56
62
|
"pass_version_option": True,
|
|
57
|
-
# extra arguments to zig build
|
|
63
|
+
# extra arguments to zig build. In this case we pass the `install` and `test` steps
|
|
58
64
|
'extra_args': [
|
|
59
65
|
"install", "test",
|
|
60
66
|
],
|
|
61
67
|
},
|
|
68
|
+
# Names of the libraries your `build.zig` will produce, and this module will install
|
|
62
69
|
ext_modules=[Extension('zig_zon', [])],
|
|
63
70
|
)
|
|
64
71
|
```
|
|
@@ -3,9 +3,14 @@
|
|
|
3
3
|
A setuptools extension, for building cpython extensions with zig build,
|
|
4
4
|
enabling simple source-only pip distributions that compile at install time.
|
|
5
5
|
|
|
6
|
-
check out [zig-zon](https://
|
|
6
|
+
check out [zig-zon](https://codeberg.org/dasimmet/python-zig-zon/) for a full example.
|
|
7
7
|
|
|
8
|
-
## Example
|
|
8
|
+
## Example
|
|
9
|
+
|
|
10
|
+
Your project needs to have:
|
|
11
|
+
- `setup.py` to configure this setuptools extension to run during python's wheel build
|
|
12
|
+
- `build.zig` to configure the build of the shared library
|
|
13
|
+
- `build.zig.zon` optionally - to specify zig dependencies
|
|
9
14
|
|
|
10
15
|
```python
|
|
11
16
|
from setuptools import Extension
|
|
@@ -15,8 +20,9 @@ setup(
|
|
|
15
20
|
name='zig-zon',
|
|
16
21
|
packages=[],
|
|
17
22
|
zig_build={
|
|
18
|
-
# stores zig's
|
|
23
|
+
# stores zig's depdendency pacakges in python's sdist. This requires a call to
|
|
19
24
|
# CPython.addSdistList(b); in `build.zig`
|
|
25
|
+
# If set to False, potential dependencies will be downloaded by zig instead.
|
|
20
26
|
"sdist": True,
|
|
21
27
|
# tries to import 'ziglang' to get a zig compiler when building wheel
|
|
22
28
|
"use_ziglang_python_package": True,
|
|
@@ -24,11 +30,12 @@ setup(
|
|
|
24
30
|
"optimize": "ReleaseSmall",
|
|
25
31
|
# passes -Dversion=<pip package version> to zig build
|
|
26
32
|
"pass_version_option": True,
|
|
27
|
-
# extra arguments to zig build
|
|
33
|
+
# extra arguments to zig build. In this case we pass the `install` and `test` steps
|
|
28
34
|
'extra_args': [
|
|
29
35
|
"install", "test",
|
|
30
36
|
],
|
|
31
37
|
},
|
|
38
|
+
# Names of the libraries your `build.zig` will produce, and this module will install
|
|
32
39
|
ext_modules=[Extension('zig_zon', [])],
|
|
33
40
|
)
|
|
34
41
|
```
|
|
@@ -2,7 +2,7 @@ from setuptools import setup
|
|
|
2
2
|
|
|
3
3
|
setup(
|
|
4
4
|
name='setuptools_zig_build',
|
|
5
|
-
version="0.2.
|
|
5
|
+
version="0.2.1",
|
|
6
6
|
author_email='dasimmet@gmail.com',
|
|
7
7
|
description='A setuptools extension, for building cpython extensions with zig build',
|
|
8
8
|
long_description=open("README.md").read(),
|
{setuptools_zig_build-0.2.0 → setuptools_zig_build-0.2.1/setuptools_zig_build.egg-info}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: setuptools_zig_build
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: A setuptools extension, for building cpython extensions with zig build
|
|
5
5
|
Home-page: https://codeberg.org/dasimmet/setuptools-zig-build
|
|
6
6
|
Author-email: dasimmet@gmail.com
|
|
@@ -33,9 +33,14 @@ Dynamic: summary
|
|
|
33
33
|
A setuptools extension, for building cpython extensions with zig build,
|
|
34
34
|
enabling simple source-only pip distributions that compile at install time.
|
|
35
35
|
|
|
36
|
-
check out [zig-zon](https://
|
|
36
|
+
check out [zig-zon](https://codeberg.org/dasimmet/python-zig-zon/) for a full example.
|
|
37
37
|
|
|
38
|
-
## Example
|
|
38
|
+
## Example
|
|
39
|
+
|
|
40
|
+
Your project needs to have:
|
|
41
|
+
- `setup.py` to configure this setuptools extension to run during python's wheel build
|
|
42
|
+
- `build.zig` to configure the build of the shared library
|
|
43
|
+
- `build.zig.zon` optionally - to specify zig dependencies
|
|
39
44
|
|
|
40
45
|
```python
|
|
41
46
|
from setuptools import Extension
|
|
@@ -45,8 +50,9 @@ setup(
|
|
|
45
50
|
name='zig-zon',
|
|
46
51
|
packages=[],
|
|
47
52
|
zig_build={
|
|
48
|
-
# stores zig's
|
|
53
|
+
# stores zig's depdendency pacakges in python's sdist. This requires a call to
|
|
49
54
|
# CPython.addSdistList(b); in `build.zig`
|
|
55
|
+
# If set to False, potential dependencies will be downloaded by zig instead.
|
|
50
56
|
"sdist": True,
|
|
51
57
|
# tries to import 'ziglang' to get a zig compiler when building wheel
|
|
52
58
|
"use_ziglang_python_package": True,
|
|
@@ -54,11 +60,12 @@ setup(
|
|
|
54
60
|
"optimize": "ReleaseSmall",
|
|
55
61
|
# passes -Dversion=<pip package version> to zig build
|
|
56
62
|
"pass_version_option": True,
|
|
57
|
-
# extra arguments to zig build
|
|
63
|
+
# extra arguments to zig build. In this case we pass the `install` and `test` steps
|
|
58
64
|
'extra_args': [
|
|
59
65
|
"install", "test",
|
|
60
66
|
],
|
|
61
67
|
},
|
|
68
|
+
# Names of the libraries your `build.zig` will produce, and this module will install
|
|
62
69
|
ext_modules=[Extension('zig_zon', [])],
|
|
63
70
|
)
|
|
64
71
|
```
|
|
File without changes
|
|
File without changes
|
{setuptools_zig_build-0.2.0 → setuptools_zig_build-0.2.1}/setuptools_zig_build.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|