Skip to content

pip sdist command #1323

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

Closed
pfmoore opened this issue Nov 16, 2013 · 2 comments
Closed

pip sdist command #1323

pfmoore opened this issue Nov 16, 2013 · 2 comments
Labels
auto-locked Outdated issues that have been locked by automation type: enhancement Improvements to functionality

Comments

@pfmoore
Copy link
Member

pfmoore commented Nov 16, 2013

pip install -d . XXX can be used to get a sdist for a project off pypi. But it does not work as a general "make a sdist" command - if XXX is a local source directory, it copies the source to the directory specified in -d

Having a dedicated "sdist" command which takes a requirement and builds/downloads a sdist for it (in the same way that pip wheel builds wheels) would be a useful addition.

@qwcode
Copy link
Contributor

qwcode commented Nov 16, 2013

sidenote: we should probably make -d give a command failure, except when using with archive urls.

@dstufft
Copy link
Member

dstufft commented Mar 22, 2017

Closing this, we're probably going to want a command like this when we get abstract build systems, but I don't know that it should live in pip and I don't think we're going to forget about it without an issue to keep track of it.

@dstufft dstufft closed this as completed Mar 22, 2017
@lock lock bot added the auto-locked Outdated issues that have been locked by automation label Jun 3, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jun 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
auto-locked Outdated issues that have been locked by automation type: enhancement Improvements to functionality
Projects
None yet
Development

No branches or pull requests

3 participants