File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -17,3 +17,4 @@ Vagrantfile
17
17
/python_vagrant.egg-info /
18
18
* .egg-info /
19
19
* .box
20
+ src /vagrant /_version.py
Original file line number Diff line number Diff line change @@ -23,3 +23,4 @@ filterwarnings = ["error"]
23
23
24
24
[tool .setuptools_scm ]
25
25
local_scheme = " no-local-version"
26
+ write_to = " src/vagrant/_version.py"
Original file line number Diff line number Diff line change 24
24
from . import compat
25
25
26
26
27
- # python package version
28
- # should match r"^__version__ = '(?P<version>[^']+)'$" for setup.py
29
- __version__ = "0.5.15"
30
-
27
+ # python package version dumped by setuptools-scm
28
+ try :
29
+ from ._version import version as __version__
30
+ except ImportError :
31
+ __version__ = "unknown"
31
32
32
33
log = logging .getLogger (__name__ )
33
34
You can’t perform that action at this time.
0 commit comments