Staging
v0.5.1
https://github.com/python/cpython
Raw File
Tip revision: ef57abdb6012c9c97cdd22b7bb1f82a645ae3141 authored by Anthony Baxter on 18 April 2007, 03:35:45 UTC
2.5.1 final
Tip revision: ef57abd
_checkversion.py
"""This file (which is sourced, not imported) checks the version of the
"versioncheck" package. It is also an example of how to format your own
_checkversion.py file"""

import pyversioncheck

_PACKAGE="versioncheck"
_VERSION="1.0"
_URL="http://www.cwi.nl/~jack/versioncheck/curversion.txt"

try:
    _myverbose=VERBOSE
except NameError:
    _myverbose=1

pyversioncheck.versioncheck(_PACKAGE, _URL, _VERSION, verbose=_myverbose)
back to top