Skip to content

Commit

Permalink
fix get_current_version dummy
Browse files Browse the repository at this point in the history
* "raise" NotGitRepository, not "return" silly! this was causing
get_current_version() to say version was <type: NotGitRepository> and
wasn't getting trapped in try: except:, ugh!
* also clean MANIFEST.in since no more CHANGES and AUTHORS not md
* change AUTHORS to not be markdown, but just plaintext list, remove
heading "Authors" from inside file since redundant

Signed-off-by: Mark Mikofski <[email protected]>
  • Loading branch information
mikofski committed Feb 15, 2017
1 parent 1bfecac commit 86150cf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
3 changes: 3 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Bennet Emil Meyers <[email protected]>
Mark Mikofski <[email protected]>
Nicolas Zweibaum <[email protected]>
5 changes: 0 additions & 5 deletions AUTHORS.md

This file was deleted.

5 changes: 2 additions & 3 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
include pvmismatch/pvmismatch_json/*.json
include pvmismatch/res/*.png
include AUTHORS.md
include CHANGES.md
include AUTHORS
include README.rst
include LICENSE
recursive-include pvmismatch/res *.png
recursive-include pvmismatch/docs *.rst
include pvmismatch/docs/conf.py
include pvmismatch/docs/make.bat
include pvmismatch/docs/Makefile
recursive-include pvmismatch/tests *.py
recursive-include pvmismatch/tests *.py
2 changes: 1 addition & 1 deletion pvmismatch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
NotGitRepository = NotImplementedError

def get_current_version():
return NotGitRepository
raise NotGitRepository

# import pvmismatch_lib modules so to match old API
import pvmismatch.pvmismatch_lib.pvconstants as pvconstants
Expand Down

0 comments on commit 86150cf

Please sign in to comment.