3 ms·
Whilst I understand the motivation behind this, introducing a new way of doing things hurts more than helps. https://xkcd.com/927/ https://xkcd.com/927/ I
by w_t_payne 11y ago
Whilst I understand the motivation behind this, introducing a new way of doing things hurts more than helps.
https://xkcd.com/927/ https://xkcd.com/927/
In particular, I think that the setup.py needs to stay right in the repo root. It's an affordance thing. It is probably the single most common way of interacting with any given package, so it should advertise itself prominently and sit right where people can most easily see it.
Similarly, I don't think that having the module scripts in the root of the repository is at all helpful for those who just want to use (and not actually contribute to) the library.
I guess it is a question of balancing the needs of different sorts of consumers. However, given that (under most circumstances) count(users) >> count(contributors), prioritising the needs of users over contributors is entirely justifiable.
One point where we agree is on the ugliness of configuration files in the repo root. After all, the following is true:
count(users) >> count(contributors) >> count(package-mantainers).
As a result, I would be quite happy to support a convention that places package configuration (and other tool configuration) files in a .config subdir:
<reporoot>/.config/.<toolname>rc