-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 10/30/2011 04:47 PM, Vinay Sajip wrote:
Antoine Pitrou <solipsis <at> pitrou.net> writes:
It would be even simpler not to process it at all, but install the scripts as-is (without the execute bit) :)
Sure, but such an approach makes it difficult to provide a mechanism which is easily extensible; for example, with the current approach, it is straightforward for third party tools to either easily replace completely, update selectively or augment simply the scripts provided by base classes.
I don't understand this point either. It seems to me too that having the scripts installed as plain data files inside a package is just as easy or easier for third-party tools to work with flexibly in all of the ways you mention, compared to having them available in any kind of zipped format.
The current os.name-based directory structure can still be used, and we can still provide the helper to take such a directory structure and install the appropriate scripts based on os.name.
I don't see any advantage to zipping. If done at install-time (which is necessary to make the scripts maintainable in the source tree) it also has the downside of introducing another difficulty in supporting source builds equivalently to installed builds.