File tree Expand file tree Collapse file tree 4 files changed +12
-10
lines changed
Expand file tree Collapse file tree 4 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 2323author = 'Bryant Liu'
2424
2525# The full version, including alpha/beta/rc tags
26- from multirunnable import _github_tag_version__ , __version__
26+ from multirunnable import __github_tag_version__ , __version__
2727
28- version = _github_tag_version__
28+ version = __github_tag_version__ ()
2929release = __version__
3030
3131
Original file line number Diff line number Diff line change @@ -8,9 +8,6 @@ Welcome to MultiRunnable's documentation!
88
99|python-versions | |release-version | |pypi-version | |license |
1010
11-
12- :GitHub Release: |version |
13- :PyPi Release: |release |
1411:Date: |today |
1512
1613
Original file line number Diff line number Diff line change 1414PYTHON_MINOR_VERSION = int (version_info [1 ])
1515PYTHON_VERSION = f"{ PYTHON_MAJOR_VERSION } .{ PYTHON_MINOR_VERSION } "
1616
17- from multirunnable ._version import _github_tag_version__ , __version__
17+ from multirunnable ._version import __github_tag_version__ , __version__
1818from multirunnable .mode import RunningMode , FeatureMode
1919from multirunnable .tasks import QueueTask
2020from multirunnable .executor import SimpleExecutor
Original file line number Diff line number Diff line change 11import urllib .request
22import json
33
4+
45__GitHub_API = 'https://api.github.com/repos/Chisanan232/multirunnable/releases/latest'
5- __response = urllib .request .urlopen (__GitHub_API )
6- __data = __response .readlines ()
7- _github_tag_version__ = json .loads (__data [0 ].decode ('ascii' ))["tag_name" ]
8- __version__ = "0.15.2"
6+
7+ __version__ = "0.16.1"
8+
9+
10+ def __github_tag_version__ ():
11+ __response = urllib .request .urlopen (__GitHub_API )
12+ __data = __response .readlines ()
13+ return json .loads (__data [0 ].decode ('ascii' ))["tag_name" ]
You can’t perform that action at this time.
0 commit comments