-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alternatives to poetry #144
Comments
Regarding the Are you saying you'd like to use the project without any Python-specific build system at all? I do think that's doable, but it would require us building the tools to generate valid wheels and source dists, etc. |
@gatesn Thanks for your reply
Understood 👍
Not at all. I understand the convenience that |
Ah gotcha. So with We may need a small refactor to builzig so it accepts config as an argument instead of loading it itself. (https://github.com/fulcrum-so/ziggy-pydust/blob/7291db36ec6ac2362671acdfd75ec83569f45fbf/pydust/buildzig.py#L36) That way, you could build your own config object (https://github.com/fulcrum-so/ziggy-pydust/blob/7291db36ec6ac2362671acdfd75ec83569f45fbf/pydust/config.py#L45) and then invoke the build. Similarly, the pytest_plugin.py might need its own way to load some config. You should be able to try this out by cloning the repo and then |
Thanks very much for your help and guidance. I'll revert back if I have something worth sharing... |
Just some thoughts: Python has at least three popular package managers. Besides Poetry they are pip and anaconda (dominant in data science). Providing clear dependencies list would help to adopt |
Hello all, I'm new to this repo, but what I would recommend would be to take a look at https://github.com/pypa for "official" build systems in addition to |
FYI, I have just added a pull request PR-158 which enables building an extension without any build system except zig's: python -m pydust build --generate-stubs --ext-name 'fib._lib' --ext-path 'fib/fib.zig' This builds the fibonnaci example in-place with optional stub generation enabled. |
An update: PR-158 has been merged, and as of release .0.12.1 the command line api for the new
The earlier api has changed to the more intuitive form for multiple extensions: python -m pydust build --extensions 'fib._lib=fib/fib.zig' 'fib._hello=fib/hello.zig' |
Hi,
Really cool project, I'm very pleased to discover it given that I am trying to learn zig.
I'd be interested to explore alternative ways to use
ziggy-pydust
.I'm thinking that a single python script (akin to Django's
manage.py
but self-contained) could drive project creation, project mgmt tasks.py and virtualenv creation. This could be an alternative to using poetry.I would also like to be able to use my builtin installation of zig v12 rather than having to use v11 if possible.
The text was updated successfully, but these errors were encountered: