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

2016-02-05 Thread AltSheets Dev
Thank you Robert, Leonardo, Jeremy, Paul, Greg! > One very simple technique used by some projects like > numpy is just to have ``setup.py`` write a file into the > source tree before calling setup(). example: > https://github.com/numpy/numpy/blob/master/setup.py#L338-L339 Done that now. But: >

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

2016-02-05 Thread Paul Moore
On 5 February 2016 at 16:39, AltSheets Dev wrote: > Would it be a valid feature request to make those two useful options > (pre-install-script/install-script) available platform-independent? It's something that has been discussed under the "Metadata 2.0"

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

2016-02-05 Thread Chris Barker
On Fri, Feb 5, 2016 at 8:39 AM, AltSheets Dev < altsheets+mailingli...@gmail.com> wrote: > > consider adding some code to the installer itself > Wouldn't it be great if setuptools.setup provided that option, and > OS-independent? > well, no. setuptools is a bit of an (ugly?) amalgamation of

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

2016-02-03 Thread Greg Ewing
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

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

2016-02-03 Thread Paul Moore
On 3 February 2016 at 19:04, Leonardo Rochael Almeida wrote: > Unless, of course, you only upload the source package to PyPI. But in this > case your setup.py will be run on every machine only as a side effect of the > fact that your package would have to be built every time

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

2016-02-03 Thread Jeremy Kloth
Resending to list... -- Forwarded message -- From: Jeremy Kloth Date: Wed, Feb 3, 2016 at 10:50 AM Subject: Re: [Distutils] setup('postinstall'='my.py') To: AltSheets Dev It appears that you are using bdist_wininst to

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

2016-02-03 Thread Leonardo Rochael Almeida
Re-sending to the list as well: -- Forwarded message -- From: Leonardo Rochael Almeida Date: 3 February 2016 at 16:23 Subject: Re: [Distutils] setup('postinstall'='my.py') To: Alt Sheets Hi, [...] On 3 February 2016 at 14:45, Alt