Skip to content

Commit

Permalink
Fetch version number from _version.py
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-risch committed Jun 10, 2021
1 parent f992a59 commit 2a87ec8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion farm/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.7.2+snapshot"
__version__ = "0.8.0"
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def versionfromfile(*filepath):
keywords="BERT NLP deep-learning language-model transformer qa question-answering transfer-learning",
license="Apache",
url="https://github.com/deepset-ai/FARM",
download_url="https://github.com/deepset-ai/FARM/archive/0.8.0.tar.gz",
download_url="https://github.com/deepset-ai/FARM/archive/v"+versionfromfile(here, "farm", "_version.py")+".tar.gz",
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
dependency_links=dependency_links,
install_requires=parsed_requirements,
Expand Down

0 comments on commit 2a87ec8

Please sign in to comment.