clustershell icon indicating copy to clipboard operation
clustershell copied to clipboard

Packaging: towards New Way to define configuration files

Open thiell opened this issue 12 years ago • 0 comments

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).

thiell avatar Mar 03 '12 16:03 thiell