diff options
| author | Bhuvan Arumugam <bhuvan@apache.org> | 2012-04-21 02:13:45 -0700 |
|---|---|---|
| committer | Bhuvan Arumugam <bhuvan@apache.org> | 2012-04-30 07:40:48 -0700 |
| commit | 6c3d9c42cc9f04ba99d89de7830675f6b59e2d25 (patch) | |
| tree | 7f9eef1567879ddc70b4f3fbdce8102a199b9fe9 /setup.py | |
| parent | d65147bda724d6b38df934686647284932c3c46f (diff) | |
Auto generate AUTHORS file for keystone 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.
* keystone/openstack/common/setup.py
generate_authors(): New method to create AUTHORS file. If
AUTHORS.in file exists, append it's content to AUTHORS file.
* setup.py
Import the new method.
local_sdist.run(): Generate AUTHORS file before creating the
package.
* tests/test_authors.py
Remove this test case.
Change-Id: Id3ca59382e417d054d14f7735f30595bfbe2df48
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -19,6 +19,7 @@ from setuptools.command.sdist import sdist from setuptools import setup import subprocess +from keystone.openstack.common.setup import generate_authors from keystone.openstack.common.setup import parse_requirements from keystone.openstack.common.setup import parse_dependency_links from keystone.openstack.common.setup import write_requirements @@ -29,6 +30,7 @@ class local_sdist(sdist): """Customized sdist hook - builds the ChangeLog file from VC first""" def run(self): write_git_changelog() + generate_authors() sdist.run(self) cmdclass = {'sdist': local_sdist} |
