Xpra-org / xpra-html5

HTML5 client for Xpra
Mozilla Public License 2.0
192 stars 53 forks source link

Cannot install from sdist. #309

Closed gl-yziquel closed 1 month ago

gl-yziquel commented 1 month ago

Hi.

I like to generate artifacts so that I may install from artifacts and not only from source.

Basically, I did:

./setup.py sdist

It creates an sdist.

However, running pip install on the sdist doesn't work. "invalid number of arguments". It obviously tries to run "python setup.py egg_info" but the script is not structured to be called with a "python" prefix.

totaam commented 1 month ago

There is no egg info to produce, this is not a python project. Use setup.py install This command does work with prefixes.

gl-yziquel commented 1 month ago

The sdist target for setup.py is nonetheless advertised in ./setup.py.

totaam commented 1 month ago

Because sdist can be used to generate source archives. This is how we publish releases.