Activity for setuptools-zig

  • Anthon van der Neut Anthon van der Neut committed [8fe70a] on Code

    updated to Python 3.14 and Zig 0.15

  • Anthon van der Neut Anthon van der Neut posted a comment on ticket #3

    I have been working on this, making sure Python 3.9-3.14 work with the examples and wilth Zig 0.11-0.15, which it now does. Since all the combinations work, and I don't have to have a specific version of zig with a specific setuptools-zig (or vv.), I decided against the optional extension for now. A user has to specify the build dependency anyway and it doesn't really differ to have: setup_requires=['setuptools-zig', 'ziglang'], instead of setup_requires=['setuptools-zig[ziglang]'], and with the...

  • Tobias Simetsreiter Tobias Simetsreiter posted a comment on ticket #3

    Hi, I have done some testing, and would prefer not to couple ziglang and setuptools-zig versions tightly. Rather leave it to the consuming package and have it as a separate build-dependency next to it. So my idea was to add a boolean option on the build_zig config to use whatever version is installed alongside setuptools-zig and keep the PY_ZIG usage the default. Something like this: dasimmet / setuptools-zig - Code / [5d9822] /setuptools_zig.py https://sourceforge.net/u/dasimmet/setuptools-zig/ci/default/tree/setuptools_zig.py#l31...

  • Anthon van der Neut Anthon van der Neut posted a comment on ticket #3

    Hi Tobias, I somehow missed that the Zig compiler package (ziglang) had been uploaded to PyPI when I made the 0.2.0 release. I have considered this before, but never got to a decision, primarily because I don't want to force people to install ziglang to every virtual environment, if they already have the file somewhere global. Reconsidering this, making the package optional is probably the way to go (i.e. pip install setuptools-zig[ziglang]) I have to check, but should try to be able get the correct...

  • Tobias Simetsreiter Tobias Simetsreiter created ticket #3

    Support the ziglang python package

  • Joshua Haberman Joshua Haberman posted a comment on ticket #1

    I was able to solve this with the following patch: diff -r 85a4f0350abb setuptools_zig.py --- a/setuptools_zig.py Fri Dec 04 22:16:55 2020 +0100 +++ b/setuptools_zig.py Sun Mar 21 15:16:38 2021 -0700 @@ -29,7 +29,7 @@ target = Path(self.get_ext_fullpath(ext.name)) zig = os.environ.get('PY_ZIG', 'zig') # override zig in path with specific version - bld_cmd = [zig, 'build-lib', '-dynamic', '-DPYHEXVER={}'.format(sys.hexversion), '--name', output.stem] + bld_cmd = [zig, 'build-lib', '-dynamic', '-DPYHEXVER={}'.format(sys.hexversion),...

  • Joshua Haberman Joshua Haberman created ticket #2

    macOS: Building module fails

  • Joshua Haberman Joshua Haberman created ticket #1

    Linux: @cImport requires compiling with "--library c"

  • Anthon van der Neut Anthon van der Neut committed [568650]

    clean up zig only version

  • Anthon van der Neut Anthon van der Neut committed [85a4f0]

    Added tag 0.1.3 for changeset 5686501bd8f6

  • Anthon van der Neut Anthon van der Neut committed [bab4a3]

    pypi img

  • Anthon van der Neut Anthon van der Neut committed [5c90b4]

    corrected classifier, added long desc

  • Anthon van der Neut Anthon van der Neut committed [679970]

    Added tag 0.1.1 for changeset 5c90b4e0d69f

  • Anthon van der Neut Anthon van der Neut committed [bd93a8]

    initial

  • Anthon van der Neut Anthon van der Neut committed [ee7b08]

    Added tag 0.1.0 for changeset bd93a83af158

  • Anthon van der Neut Anthon van der Neut committed [dd087d]

    links for _README.ryd

1