plain-fireman-49959
03/01/2022, 9:48 AMhappy-kitchen-89482
03/01/2022, 11:22 PMhappy-kitchen-89482
03/01/2022, 11:22 PMhappy-kitchen-89482
03/01/2022, 11:22 PMhappy-kitchen-89482
03/01/2022, 11:25 PMcalm-ambulance-65371
03/02/2022, 4:21 AMcalm-ambulance-65371
03/02/2022, 4:22 AMhappy-kitchen-89482
03/02/2022, 4:48 AMhappy-kitchen-89482
03/02/2022, 4:50 AMplain-fireman-49959
03/02/2022, 9:04 AM[tool.poetry.build] section with a build.py file, the def build(): function passes `setuptools.Extension`s to the setup_kwargs . Again I'm not very familiar with the current build system, but I'm guessing we let poetry handle everything. Of course it would be great to have a generic plugin solution for Cython, but I'm more than happy to develop a specific plugin for my use case, I just need some pointer to the right direction (like this blog post)!plain-fireman-49959
03/02/2022, 9:20 AMpex_a) that today depends on this project. I'd like to move it as use it as a source dependency, this has been straightforward until cython came along. My understanding is that the python_sources should have dependency on a something that runs the cython build process (that would be implemented in a plugin), then pants should package pex_a with the sources and the cython compiled files. Does this make sense? What I'm not 100% sure about is what kind of plugin I'd need: is this a new target? would a macro be enough (if I can run arbitrary python code I should be able to compile it maybe?)?happy-kitchen-89482
03/02/2022, 6:51 PMhappy-kitchen-89482
03/02/2022, 6:52 PMhappy-kitchen-89482
03/02/2022, 6:53 PMpython_sources to depend on a python_distribution target (assuming that setuptools can be configured to build cython)happy-kitchen-89482
03/02/2022, 6:53 PMpython_distribution wraps a setup.py and runs setuptools on ithappy-kitchen-89482
03/02/2022, 6:53 PMhappy-kitchen-89482
03/02/2022, 6:53 PMplain-fireman-49959
03/03/2022, 9:53 AMsetuptools to build a distribution which my sources will depend upon. I'll update you when I have news!happy-kitchen-89482
03/03/2022, 2:51 PMhappy-kitchen-89482
03/03/2022, 2:53 PMhappy-kitchen-89482
03/03/2022, 2:53 PMpython_distribution target to point to ithappy-kitchen-89482
03/03/2022, 2:53 PMpython_distribution)plain-fireman-49959
03/08/2022, 3:53 PMsetup.py file with this pyproject.toml
[build-system]
requires = ["setuptools", "wheel", "Cython"]
build-backend = "setuptools.build_meta"
I think I am almost there, but I am getting this error (even with the __legacy__ build backend:
error in REDACTED setup command: <lambda>() missing 1 required positional argument: 'value'
Has anyone seen this before?