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] setup('postinstall'='my.py')

2016-02-03 Thread AltSheets Dev
cgi...@gmail.com> wrote: > 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 > > -Robert > > On Tue, Feb 2,

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

2016-02-02 Thread AltSheets Dev
Hello everyone on distutils-sig@, this is a first timer, please be gentle to me *g* I am just starting with setuptools, and I just cannot get my idea working: At install time, I'd like to generate a file with a random UID, which will later always be the same. I had hoped for a