Open Zopolis4 opened 2 months ago
Dumb question, sorry if I'm missing something obvious: why did you expect this to work?
I'm trying to add this package to chromebrew, and this is just the default build command it uses if there is a setup.py
file.
if File.file?('setup.py')
system "python3 setup.py build --executable=/usr/local/bin/python3"
else
system "python3 -m build --wheel --no-isolation"
end
I assumed that, given that this logic works for the 50-odd other python packages, that this was the correct command.
That being said, I probably should have looked more closely at the readme before submitting this issue, sorry about that.
Thanks! I'm not a Python packaging expert, and to be honest I have struggled with getting packaging to work smoothly with an up-to-date style.
I think what is happening here is that psutils is falling "in the cracks": it's mostly a modern-style package, but it still needs a small setup.py
for a couple of things. So in this case, the chromebrew script is misled about which build method it should use.
I think I should at least be able to reduce the amount of code in setup.py
now, so I'll look into that.
Indeed, it should be possible with the current version of argparse-manpage (4.5) to remove setup.py
altogether. I have run into a problem while trying to do so, so I'll keep this issue open to track it. The work is on the pure-pyproject
branch, and the issue I ran into is https://github.com/praiskup/argparse-manpage/issues/111
(
Debian GNU/Linux trixie/sid x86_64
)