source: python/trunk/Tools/versioncheck/_checkversion.py

Last change on this file was 2, checked in by Yuri Dario, 15 years ago

Initial import for vendor code.

  • Property svn:eol-style set to native
File size: 430 bytes
Line 
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
5import pyversioncheck
6
7_PACKAGE="versioncheck"
8_VERSION="1.0"
9_URL="http://www.cwi.nl/~jack/versioncheck/curversion.txt"
10
11try:
12 _myverbose=VERBOSE
13except NameError:
14 _myverbose=1
15
16pyversioncheck.versioncheck(_PACKAGE, _URL, _VERSION, verbose=_myverbose)
Note: See TracBrowser for help on using the repository browser.