Auto generate AUTHORS file for glanceclient component.
Bug: 976267 Now that git commits are gated by CLA, we shouldn't enforce committers to add an entry in AUTHORS file. The AUTHORS file should be generated automatically, based on git commits. This commit fixes the problem. * AUTHORS Remove this file. * .gitignore Add AUTHORS file. * glanceclient/openstack/common/setup.py Sync changes from openstack-common. * setup.py Generate AUTHORS file before creating the package. * glanceclient/shell.py Pep8 fix. * tests/test_authors.py Remove this test case. Change-Id: I9e9d4da5ca3b147b483250dcf25a3b2a840123c2
This commit is contained in:
@@ -3,6 +3,7 @@ import sys
|
||||
|
||||
import setuptools
|
||||
|
||||
from glanceclient.openstack.common.setup import generate_authors
|
||||
from glanceclient.openstack.common.setup import parse_requirements
|
||||
from glanceclient.openstack.common.setup import parse_dependency_links
|
||||
from glanceclient.openstack.common.setup import write_git_changelog
|
||||
@@ -12,6 +13,7 @@ requires = parse_requirements()
|
||||
dependency_links = parse_dependency_links()
|
||||
tests_require = parse_requirements(['tools/test-requires'])
|
||||
write_git_changelog()
|
||||
generate_authors()
|
||||
|
||||
if sys.version_info < (2, 6):
|
||||
requires.append('simplejson')
|
||||
|
||||
Reference in New Issue
Block a user