-
Notifications
You must be signed in to change notification settings - Fork 137
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
Only tar.gz format is made with flit build
when there is .git
?
#685
Comments
That's weird, what do the messages say? Most of my projects have a |
The message is a bit different. Structure
But here this is with
This is when I don't have the git folder
|
Aha, OK. So it's by design that it's stopping early, as the message indicates:
It uses git to decide which files to include in the sdist, but if they're neither checked in nor ignored, it doesn't know what to do, so it refuses until you decide on those files. (This is what it does for now, anyway - we're actually moving away from this). You can override this with the There is a bug, however, in that it's creating the .tar.gz file before doing that check. It's actually giving you an empty archive, that's why the length is only 79 bytes. It shouldn't do this if it's refusing to build. |
1 2
I'm not very knowledgeable at Flit. So I'm assuming "it" means "Flit" and "it refuses" mean "it refuses to build" is what you meant for clarity. .gitignore
|
All the files in your project directory (where |
flit build
normally produces bothtar.gz
and.whl
formatbut when I use
git init
to have.git
in the project, onlytar.gz
is made.The text was updated successfully, but these errors were encountered: