hi fotis,

we are going to make the VSC-tools available so they can be easily installed/packaged/distributed (eg with easy_install)

what is done with fancylogger in easybuild for now (ie ship the module with easybuild) should be considered an exception. it will be removed and replaced with an installation dependency later.

simply adding 'install_requires':['VSC-tools'] in your setup.py will be sufficient to use eg fancylogger of generaloption.

stijn

btw, you may also want to look at https://github.com/hpcugent/VSC-tools/tree/master/bin/mympirun.py to be used with easybuild ;)

Hello there,

On 05 Nov, 2012, at 17:49, Jens Timmerman wrote:
It would be nice if we could set every config parameter in either the
config file, the environment, or the command line, so I created [1] and
[2].

Not only is this [0] a very good idea for the easybuild case,
it actually is the way things should be done in a few other codes, too.

Add to it, the possibility to pick its default config info from files like:
~/.easybuild.conf
~/.local/easybuild.conf
or similar, and this is a very generic solution for many many situations!

<off-topic>

In fact, I would like to reuse the source of [0] in another project
(see http://cern.ch/fotis/QTOP/ ; it is now being rewritten in Python)
but, for that we would need to include as license one of MIT/BSD/APLv2;
I will try to convince you about licenses later (!), in the meantime read:
http://www.geant.net/Media_Centre/Media_Library/Media%20Library/GN3-10-325%20GEANT%20IPR%20Policy.pdf
 # appendix F, p. 53

I'd prefer asking Jens to dual license it & add the reference from our side.

</off-topic>

[0]
https://github.com/hpcugent/VSC-tools/blob/master/lib/vsc/generaloption.py

tia,
Fotis



Reply via email to