Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#370: setup script does not generate AUTHORS and ChangeLog #379

Merged
merged 1 commit into from
Sep 29, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@

os.environ['PBR_VERSION'] = VERSION

# Ask pbr to not generate AUTHORS file if environment variable does not require it
if not os.environ.get('SKIP_GENERATE_AUTHORS'):
os.environ['SKIP_GENERATE_AUTHORS'] = '1'

# Ask pbr to not generate ChangeLog file if environment variable does not require it
if not os.environ.get('SKIP_WRITE_GIT_CHANGELOG'):
os.environ['SKIP_WRITE_GIT_CHANGELOG'] = '1'

setuptools.setup(
setup_requires=['pbr'],
version=VERSION,
Expand Down