oslo.concurrency/setup.cfg
Ben Nemec 5d1461204d Make lockutils main() a console entry point
This is more lib-ish than calling python -m on the module.

As part of this change, I also improved the unit tests for this code.
Before we weren't unsetting OSLO_LOCK_PATH before calling the main
function, so we had no way of knowing if it was being set correctly.

I also added a test case to verify return value propagation and
removed a private method that was never called.

Change-Id: I6c35b5409bf567767c5c71b9041dd7f7a012255d
2014-09-30 15:03:48 +00:00

62 lines
1.5 KiB
INI

[metadata]
name = oslo.concurrency
summary = oslo.concurrency library
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
[files]
packages =
oslo
oslo.concurrency
namespace_packages =
oslo
[entry_points]
oslo.config.opts =
oslo.concurrency = oslo.concurrency.opts:list_opts
console_scripts =
lockutils-wrapper = oslo.concurrency.lockutils:main
[build_sphinx]
source-dir = doc/source
build-dir = doc/build
all_files = 1
[upload_sphinx]
upload-dir = doc/build/html
[compile_catalog]
directory = oslo.concurrency/locale
domain = oslo.concurrency
[update_catalog]
domain = oslo.concurrency
output_dir = oslo.concurrency/locale
input_file = oslo.concurrency/locale/oslo.concurrency.pot
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = oslo.concurrency/locale/oslo.concurrency.pot
[pbr]
# NOTE(dims): uncomment ``warnerrors`` line, when
# want to treat sphinx warnings as errors
# warnerrors = True
autodoc_index_modules = True