[Distutils] Fwd: setup('postinstall'='my.py')

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Feb 3 15:39:31 EST 2016


Leonardo Rochael Almeida wrote:

> On the other hand, I don't think there's a post-install in the usual way 
> of installing things on the Mac. It's just a folder that is dragged into 
> another folder (not a Mac user myself, so I could be wrong, there could 
> be some side effects on this action).

A lot of Mac software is distributed that way, but not all. There
is an installer mechanism, using .pkg files (the moral equivalent
of a .msi file) that can run whatever scripts it needs during
installation.

-- 
Greg


More information about the Distutils-SIG mailing list