Skip to content

"Dist currently only works with Git or Mercurial repos" when running simple example #641

Answered by dnicolodi
dtromb asked this question in Q&A
Discussion options

You must be logged in to vote

It is possible to create a source distribution only from the content of a Git or Mercurial repository. build by default builds a package by building an sdist first, and then a wheel from that. For the first point, this does not work if the package is not committed to a Git or Mercurial repository. If you want to test your package, you can instruct build to do not go through the build of an sdist using the -w command line flag.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@dtromb
Comment options

Answer selected by dtromb
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #640 on June 06, 2024 17:55.