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

flit register, check closes names. #40

Open Carreau opened 9 years ago

Carreau commented 9 years ago

I already do that here:

https://github.com/Carreau/PipCreate/blob/master/pipcreate/pipcreate.py#L66-L78

Might need a (weekly) cache for speed ?

takluyver commented 9 years ago

I think it makes more sense to do this when creating the package than registering it, and it's really outside what flit init does - that's for adding flit.ini to an already created package more than creating a package from scratch.

The more I think about this, though, the more I think there's room for a tool to set up packages without taking a one-size-fits-all approach. There's a lot of places where one tool has a majority, but some people will use alternatives, or not want to set that feature up at all:

I'm going to try to put together a prototype.