[Python-Dev] Packaging and binary distributions (original) (raw)
Vinay Sajip vinay_sajip at yahoo.co.uk
Tue Nov 8 22:42:41 CET 2011
- Previous message: [Python-Dev] Packaging and binary distributions
- Next message: [Python-Dev] PEP 382 specification and implementation complete
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'd provide a fixed custom action which gets hold of the installer session, and then runs a Python script. IIUC, it should be possible to map categories to entries in the Directory table, so that the Python script would actually configure the installer process before the installer actually starts installing the files. The DLL could be part of packaging, similar to how the bdistwininst executable is part of distutils.
Presumably the code in the DLL would need to be independent of Python, and find the correct Python version to run? Perhaps a variable in the .MSI could serve to indicate the version dependency.
It's certainly feasible, but needs specifying in more detail ...
Regards,
Vinay Sajip
- Previous message: [Python-Dev] Packaging and binary distributions
- Next message: [Python-Dev] PEP 382 specification and implementation complete
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]