Re: [Cython] CLI for using Shared utility module

2025-02-14 Thread matus valo via cython-devel
Another question popped in my mind. How we will deal with: > Introduce new `cython` command parameter `--shared` which will take fully qualified module name: On Fri, 14 Feb 2025 at 16:06, matus valo wrote: > >> I think I tend to agree with David. Here is my point of view: >> >> I am not sure how

Re: [Cython] CLI for using Shared utility module

2025-02-14 Thread matus valo via cython-devel
Snap! Clicked send by mistake. Another question popped in my mind. How we will deal with: > Introduce new `cython` command parameter `--shared` which will take fully qualified module name: When we will introduce new `--shared` option we will have 3 places where we can specify shared module ffull

[Cython] CLI for using Shared utility module

2025-02-11 Thread matus valo via cython-devel
Hi All, I am writing to you to not get lost in https://github.com/cython/cython/pull/6531. I would like to get an agreement on how we would like to proceed with a CLI. The PR has two parts: 1. Utility for generating C file of shared utility. Here, I propose to pass the full path to the file e.g.

Re: [Cython] CLI for using Shared utility module

2025-02-17 Thread matus valo via cython-devel
17:37, Stefan Behnel via cython-devel < cython-devel@python.org> wrote: > matus valo via cython-devel schrieb am 15.02.25 um 00:07: > > Another question popped in my mind. How we will deal with: > > > >> Introduce new `cython` command parameter `--shared` which will ta

Re: [Cython] Shared utility Option vs. Compilation Directive

2025-03-03 Thread matus valo via cython-devel
> I don't think 3 is worthwhile. I tend to agree. > I weakly prefer 1 to 2 on the basis that we were trying to get away from Options where possible. I think I have the same opinion. `Option` variant is much simpler and I cannot see any benefit using a shared module with only a subset of .pyx fil

[Cython] Shared utility Option vs. Compilation Directive

2025-03-03 Thread matus valo via cython-devel
Hi All, Based on the comment https://github.com/cython/cython/pull/6531#discussion_r1975502026 I would like to start a discussion about using Option vs Compilation Directive. Basically, we have 3 options: 1. Use PR https://github.com/cython/cython/pull/6531 as is. I will proceed with the rest of

Re: [Cython] CLI for using Shared utility module

2025-02-14 Thread matus valo via cython-devel
> > > I think I tend to agree with David. Here is my point of view: > > I am not sure how to implement it. cython command *does not know* about > the build directory. This is more part of the build system > (setuptools/meson etc). My point is that the cython command should be > stupid and just gene