Skip to content

Commit

Permalink
FIX(pvlib,setup): hopeless WIP (0e831a4) NEGLECTED default_version
Browse files Browse the repository at this point in the history
Bug on Sun 3 Jun
  • Loading branch information
ankostis committed Jun 4, 2018
1 parent 85eccee commit 6519a1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pvlib/polyversion/setuplugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def _establish_setup_py_version(dist, repo_path=None, **pvargs):
pvargs['repo_path'] = (repo_path or
(dist.package_dir and dist.package_dir.get('')) or
'.')
pvargs['default_version'] = dist.metadata.version

## Store `pvargs` so bdist-check can rerun `polyversion()` for r-tags.
dist.polyversion_args = pvargs
Expand Down

0 comments on commit 6519a1b

Please sign in to comment.