Include AUTHORS in release package.
Fixes Bug #976267. Include AUTHORS file in release package. The file is generated automatically from git. Handle different combination for mailmap records. Include test case to verify this fix. * MANIFEST.in Include AUTHORS file in release package. * .gitignore Add AUTHORS file. * quantum/openstack/common/setup.py generate_authors(): New method to create AUTHORS file. If AUTHORS.in file exists, append it's content to AUTHORS file. parse_mailmap(): Handle all mailmap combination while parsing. * setup.py Import the new method. Generate AUTHORS file before creating the package. * quantum/tests/unit/test_setup.py New test script to verify different combination of records in mailmap file. Change-Id: I220e8a20c96d37df3fa2ba0424e8372496e67895
This commit is contained in:
parent
4c8a18a29c
commit
6982f5af25
|
@ -1,5 +1,6 @@
|
|||
*.pyc
|
||||
*.DS_Store
|
||||
AUTHORS
|
||||
build/*
|
||||
build-stamp
|
||||
quantum.egg-info/
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
include README LICENSE TESTING
|
||||
include README LICENSE TESTING AUTHORS
|
||||
include run_tests.py run_tests.sh
|
||||
include .pylintrc
|
||||
include openstack-common.conf
|
||||
|
|
2
setup.py
2
setup.py
|
@ -14,6 +14,7 @@
|
|||
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
from quantum.openstack.common.setup import generate_authors
|
||||
from quantum.openstack.common.setup import parse_requirements
|
||||
from quantum.openstack.common.setup import parse_dependency_links
|
||||
from quantum.openstack.common.setup import write_requirements
|
||||
|
@ -29,6 +30,7 @@ depend_links = parse_dependency_links()
|
|||
write_requirements()
|
||||
write_git_changelog()
|
||||
write_vcsversion('quantum/vcsversion.py')
|
||||
generate_authors()
|
||||
|
||||
from quantum import version
|
||||
|
||||
|
|
Loading…
Reference in New Issue