Skip to content

Commit

Permalink
#370: default is to not generate AUTHORS and ChangeLog
Browse files Browse the repository at this point in the history
  • Loading branch information
mohierf committed Sep 29, 2016
1 parent 43f4318 commit e32e772
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions setup.py
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

0 comments on commit e32e772

Please sign in to comment.