pypa / flit

Simplified packaging of Python modules
https://flit.pypa.io/
BSD 3-Clause "New" or "Revised" License
2.15k stars 131 forks source link

Add options to control install dir, tmp dir and keep tmp files #217

Open merwok opened 5 years ago

merwok commented 5 years ago

I would like to build wheels and sdists in a tox testenv in order to run twine check to validate the long description. I’ve seen how some projects do that but their methods don’t work for me:

I understand that flit wants to minimize settings and knobs, which is a part of its appeal, but I feel that some typical options are really missing:

Thanks for considering this!

merwok commented 2 years ago

We now have PEP 517 support and generic wheel build tools!

My original use case is addressed by these, but the specific request for typical directory options still stands.

gl-yziquel commented 1 year ago

I fully concur. I'd like to piggyback on flit to make a rather language agnostic build tool. And I'd like to use flit to follow rust cargo conventions and have the sdist and wheel built in target/ instead of dist/.

merwok commented 1 month ago

Could you make this request in another ticket? It’s not the same thing that I’m requesting.

gl-yziquel commented 1 month ago

@merwok You wrote: "I can run flit build but (apart from https://github.com/pypa/flit/issues/216) that always creates the dists in repo-root/dist, which seems a little rude".

That is the same problem I am facing. Not with the same folder layout as you, but I need the same functionality.

merwok commented 1 month ago

ah, I misunderstood the part about making flit and a language-agnostic build tool!