Skip to content
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.

Commit

Permalink
Add dependency pywin32 to windows systems
Browse files Browse the repository at this point in the history
  • Loading branch information
srevinsaju committed Mar 6, 2020
1 parent 93b3f05 commit 55a313e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,12 @@


def gen_version():
"""
Generates a version from the avaailable git repositories
If git repository is not valid, fallback to __version__
:return:
"""
import git

repo = git.Repo(search_parent_directories=True)
sha = repo.head.object.hexsha
ver = repo.git.describe("--tags")
Expand Down

0 comments on commit 55a313e

Please sign in to comment.