cea-hpc/clustershell — Issue #175: Packaging: towards New Way to define configuration files
Author: thiell
Created: 2012-03-03 16:49:08+00:00
State: open
Labels: Lib

ClusterShell packaging needs to be fixed in a more pythonic way (PyPI compliant) to define {{{/etc/clustershell/*.conf}}} files. I've found the following slides from distutils maintainer (Tarek Ziadé):

New way to define data files:
http://ziade.org/pycon-ua.html#slide32

and then use {{{get_file}}}:
http://ziade.org/pycon-ua.html#slide34

This uses new packaging module:
http://docs.python.org/dev/library/packaging.html
http://docs.python.org/dev/library/packaging.database.html

This is very elegant, however, the packaging module is only available in Python 3.3 !...

We have to find the cleaner way to do it before and at least be able to do a full install of ClusterShell with {{{python setup.py install}}} (without the need to create {{{/etc/clustershell/}}} manually).