Skip to content

Commit

Permalink
Add versioning and version route
Browse files Browse the repository at this point in the history
  • Loading branch information
jlowin committed Sep 24, 2021
1 parent b804ab8 commit 7cad27f
Show file tree
Hide file tree
Showing 8 changed files with 2,714 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
src/prefect/_version.py export-subst
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 src/prefect/_version.py
8 changes: 8 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,11 @@ max-line-length = 88
extend-ignore =
# See https://github.com/PyCQA/pycodestyle/issues/373
E203,

[versioneer]
VCS = git
style = pep440
versionfile_source = src/prefect/_version.py
versionfile_build = prefect/_version.py
tag_prefix =
parentdir_prefix =
3 changes: 3 additions & 0 deletions src/prefect/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@
from prefect.flows import flow
from prefect.tasks import task
from prefect.engine import get_result, tags

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

0 comments on commit 7cad27f

Please sign in to comment.