[metadata]
name = pycadf
author = OpenStack
author-email = openstack-dev@lists.openstack.org
summary = CADF Library
description-file =
    README.rst
home-page = https://launchpad.net/pycadf
classifier =
    Development Status :: 3 - Alpha
    Environment :: OpenStack
    Intended Audience :: Developers
    Intended Audience :: Information Technology
    License :: OSI Approved :: Apache Software License
    Operating System :: OS Independent
    Programming Language :: Python
    Programming Language :: Python :: 2.6
    Programming Language :: Python :: 2.7
    Programming Language :: Python :: 3.3

[files]
packages =
    pycadf
data_files =
    etc/pycadf =
        etc/pycadf/api_audit_map.conf

[global]
setup-hooks =
    pbr.hooks.setup_hook

[build_sphinx]
source-dir = doc/source
build-dir = doc/build
all_files = 1

[upload_sphinx]
upload-dir = doc/build/html

[metadata]
name = pycadf
author = OpenStack
author-email = openstack-dev@lists.openstack.org
summary = CADF Library
description-file =
    README.rst
home-page = https://launchpad.net/pycadf
classifier =
    Development Status :: 3 - Alpha
    Environment :: OpenStack
    Intended Audience :: Developers
    Intended Audience :: Information Technology
    License :: OSI Approved :: Apache Software License
    Operating System :: OS Independent
    Programming Language :: Python
    Programming Language :: Python :: 2.6
    Programming Language :: Python :: 2.7
    Programming Language :: Python :: 3.3

[files]
packages =
    pycadf
data_files =
    /etc/pycadf =
        etc/pycadf/api_audit_map.conf

[global]
setup-hooks =
    pbr.hooks.setup_hook

[build_sphinx]
source-dir = doc/source
build-dir = doc/build
all_files = 1

[upload_sphinx]
upload-dir = doc/build/html

Install configs into /etc, not /usr/etc
Install configs into /etc, not /usr/etc

Not providing an absolute path to data_files means that "setup.py
install" will put it under whatever "--prefix" is specified. For most
RPM-based distros this is /usr. For machine-local installations this is
/usr/local. However, there's no such thing as /usr/etc or
/usr/local/etc, there's just /etc.

Distributions could either fix this manuall or work-around by using
"python setup.py --install-data=/etc". But this isn't future-proof since
all data would end up in the (potentially) wrong place.

Change-Id: I844b33d1fdd87f2c255f72b30a78eeab677ec09d
