Update pbr usage to modern understandings

Explicitly, d2to1 is the devil. Updated pep8 issues.

Change-Id: I35307f820a98244f5a9ae32ce01f18ce7b434c19
This commit is contained in:
Monty Taylor
2013-09-14 10:16:51 -05:00
committed by Andrew Hutchings
parent f5798a499d
commit 23bcb03e13
6 changed files with 13 additions and 18 deletions

View File

@@ -59,4 +59,5 @@ class ExpungeScheduler(object):
except: except:
self.logger.exception('Exception occurred during expunge') self.logger.exception('Exception occurred during expunge')
self.logger.info('Expunge thread sleeping for 24 hours') self.logger.info('Expunge thread sleeping for 24 hours')
self.expunge_timer = threading.Timer(24*60*60, self.run_expunge, ()) self.expunge_timer = threading.Timer(
24 * 60 * 60, self.run_expunge, ())

View File

@@ -1,8 +1,3 @@
[build_sphinx]
all_files = 1
build-dir = build/sphinx
source-dir = doc
[metadata] [metadata]
name = libra name = libra
author = David Shrewsbury <shrewsbury.dave@gmail.com>, Andrew Hutchings <andrew@linuxjedi.co.uk> author = David Shrewsbury <shrewsbury.dave@gmail.com>, Andrew Hutchings <andrew@linuxjedi.co.uk>
@@ -23,13 +18,14 @@ classifier =
packages = packages =
libra libra
[global]
setup-hooks =
pbr.hooks.setup_hook
[entry_points] [entry_points]
console_scripts = console_scripts =
libra_worker = libra.worker.main:main libra_worker = libra.worker.main:main
libra_pool_mgm = libra.mgm.mgm:main libra_pool_mgm = libra.mgm.mgm:main
libra_api = libra.api.app:main libra_api = libra.api.app:main
libra_admin_api = libra.admin_api.app:main libra_admin_api = libra.admin_api.app:main
[build_sphinx]
all_files = 1
build-dir = build/sphinx
source-dir = doc

View File

@@ -1,5 +1,6 @@
hacking>=0.5.6,<0.8
fixtures>=0.3.12 fixtures>=0.3.12
flake8
mock mock
python-subunit python-subunit
sphinx>=1.1.2 sphinx>=1.1.2

View File

@@ -13,11 +13,8 @@ downloadcache = ~/cache/pip
deps = flake8 deps = flake8
commands = flake8 commands = flake8
[testenv:pyflakes]
deps = pyflakes
commands = pyflakes libra
[flake8] [flake8]
ignore = H
show-source = True show-source = True
exclude = .venv,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tests,build exclude = .venv,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,tests,build