by colpabar · 5y ago · 0 comments
It seems crazy to me that we don't have this yet.
[0]: There should be one-- and preferably only one --obvious way to do it. (from the zen of python)
python setup.py build_ext --inplace
I don't see a valid replacement for this invocation, but fortunately, it's the only one.When I include the library from a project that uses it, the same `pip install' command that brings the library in also performs all the compilation described by my setup.py.
All I'd need to move away from deprecated syntax entirely is a way to build the module when I'm testing it within it's own source directory. Until then I won't be changing anything.