6 Commits

Author SHA1 Message Date
Doug Hellmann
bca4a0d827 Move out of the oslo namespace package
Move the public API out of oslo.concurrency to oslo_concurrency. Retain
the ability to import from the old namespace package for backwards
compatibility for this release cycle.

bp/drop-namespace-packages

Change-Id: I20d1647b1c3ef8cab3b69eccfe168eeb01703b72
2014-11-14 17:17:25 -05:00
Davanum Srinivas
ccc8a39117 Support building wheels (PEP-427)
Universal is used to identify pure-Python module(by bdist_wheel). For
these, it is sufficient to build a wheel with _any_ Python ABI version
and publish that to PyPI (by whatever means).

Change-Id: I25af4512f3e7198d03828a87bdca719cb7105d7b
2014-10-07 12:58:38 +00:00
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
Ben Nemec
c98d5edc44 Expose lockutils opts to config generator
* Adds an opts module for the config generator to use.
* Makes the opts in lockutils private since we don't want consumers
  using them directly.
* Moves the options to an oslo_concurrency group with appropriate
  deprecated_group settings to keep existing configs working.

Change-Id: Ifdb4d99e27588e8a91d941c60b248ea526c06e0a
2014-09-30 15:03:44 +00:00
Davanum Srinivas
17b33061b2 Add code/api documentation
Once we use the pbr based build to generate files, we prune
the indexes to remove references to code we would like to
hide like the common modules and private modules in conf.py.
We reuse the same excluded_patterns variable that is already
used in Sphinx and filter these modules from autoindex.rst

Change-Id: I4baea1efa227ef14bc6706d59ff3dcad93c2eacc
Closes-Bug: #1364140
2014-09-04 22:48:57 -04:00
Yuriy Taraday
6fc3e6808b exported from oslo-incubator by graduate.sh 2014-08-07 22:26:50 +04:00