Skip to content

Commit

Permalink
Implement --version
Browse files Browse the repository at this point in the history
  • Loading branch information
yaqwsx committed Aug 5, 2020
1 parent 7435dea commit 086d6fe
Show file tree
Hide file tree
Showing 8 changed files with 2,366 additions and 5 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pcbdraw/_version.py export-subst
4 changes: 3 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
recursive-include pcbdraw/footprints *.svg
recursive-include pcbdraw/styles *.json
recursive-include pcbdraw/templates *
recursive-include pcbdraw/templates *include versioneer.py
include pcbdraw/_version.py
include versioneer.py
4 changes: 4 additions & 0 deletions pcbdraw/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@

from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
Loading

0 comments on commit 086d6fe

Please sign in to comment.