Test wouldn't work in debug mode.
[python.git] / Tools / versioncheck / _checkversion.py
blob7b3bb5082d15fea6e0df9f9192dc8e5b9eff2e20
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"""
5 import pyversioncheck
7 _PACKAGE="versioncheck"
8 _VERSION="1.0"
9 _URL="http://www.cwi.nl/~jack/versioncheck/curversion.txt"
11 try:
12 _myverbose=VERBOSE
13 except NameError:
14 _myverbose=1
16 pyversioncheck.versioncheck(_PACKAGE, _URL, _VERSION, verbose=_myverbose)