Skip to content

Commit

Permalink
ENH: Version info using Versioneer (#97)
Browse files Browse the repository at this point in the history
* ENH: Use versioneer for version information.

* FIX: rc.py is a build artifact and should not be version controlled.

* FIX: Move processResourceFile to its own command.
  • Loading branch information
hhslepicka authored and githubuser0xFFFF committed Dec 19, 2019
1 parent 65c080a commit 084c5c5
Show file tree
Hide file tree
Showing 9 changed files with 2,407 additions and 762 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PyQtAds/_version.py export-subst
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,5 @@ Makefile
.eggs
*.pyc
*.pyd
__pycache__
__pycache__
PyQtAds/rc.py
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include versioneer.py
include PyQtAds/_version.py
10 changes: 9 additions & 1 deletion PyQtAds/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
from .rc import *
from .rc import *
from ._version import get_versions
__version__ = get_versions()['version']
short_version = __version__
version = __version__
full_version = __version__
git_revision = get_versions()['full-revisionid']
release = not get_versions()['dirty']
del get_versions
Loading

0 comments on commit 084c5c5

Please sign in to comment.