Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0db61d1

Browse files
committed
Helper file for version-checking
1 parent a2139fe commit 0db61d1

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Mac/_checkversion.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
"""This file (which is sourced, not imported) checks the version of the
2+
"versioncheck" package. It is also an example of how to format your own
3+
_checkversion.py file"""
4+
5+
import pyversioncheck
6+
7+
_PACKAGE="MacPython"
8+
_VERSION="1.5b3"
9+
_URL="http://www.cwi.nl/~jack/macpythonversion.txt"
10+
11+
try:
12+
_myverbose=VERBOSE
13+
except NameError:
14+
_myverbose=1
15+
16+
pyversioncheck.versioncheck(_PACKAGE, _URL, _VERSION, verbose=_myverbose)

0 commit comments

Comments
 (0)