Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install from sdist. #309

Closed
gl-yziquel opened this issue Jun 11, 2024 · 3 comments
Closed

Cannot install from sdist. #309

gl-yziquel opened this issue Jun 11, 2024 · 3 comments
Labels
invalid This doesn't seem right

Comments

@gl-yziquel
Copy link

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
Copy link
Collaborator

totaam commented Jun 11, 2024

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

@totaam totaam closed this as completed Jun 11, 2024
@totaam totaam added the invalid This doesn't seem right label Jun 11, 2024
@gl-yziquel
Copy link
Author

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

@totaam
Copy link
Collaborator

totaam commented Jun 11, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants