oslo.cache/setup.cfg
Matt Riedemann 950a4448e3 Move optional backend dependencies into setup.cfg [extras]
The dogpile and mongo backends are optional so therefore the
dependencies that are only used for those backends are optional.

This makes use of the 'extras' capability in setuptools to declare those
as optional dependencies if you're using those backends.

If a consumer of oslo.cache wants to use the dogpile backend, for
example, then they install oslo.cache like 'sudo pip install
oslo.cache[dogpile]'.

Note that the dogpile dependency is left in requirements.txt because
the oslo_cache.core module has an unconditional import on that library.

Change-Id: I28332964d568bda405fb8d1376d50db49d288b94
2015-08-18 09:09:56 -07:00

65 lines
1.4 KiB
INI

[metadata]
name = oslo.cache
summary = Cache storage for Openstack projects.
description-file =
README.rst
author = OpenStack
author-email = openstack-dev@lists.openstack.org
home-page = http://launchpad.net/oslo
classifier =
Environment :: OpenStack
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 2.6
Programming Language :: Python :: 3
Programming Language :: Python :: 3.3
Programming Language :: Python :: 3.4
[files]
packages =
oslo_cache
[entry_points]
oslo.config.opts =
oslo.cache = oslo_cache._opts:list_opts
[extras]
dogpile =
python-memcached>=1.56
mongo =
pymongo>=3.0.2
[pbr]
warnerrors = true
autodoc_tree_index_modules = True
[build_sphinx]
source-dir = doc/source
build-dir = doc/build
all_files = 1
[upload_sphinx]
upload-dir = doc/build/html
[compile_catalog]
directory = oslo.cache/locale
domain = oslo.cache
[update_catalog]
domain = oslo.cache
output_dir = oslo.cache/locale
input_file = oslo.cache/locale/oslo.cache.pot
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = oslo.cache/locale/oslo.cache.pot
[wheel]
universal = true