Changeset 3264 for pykota/trunk/setup.py

Show
Ignore:
Timestamp:
11/29/07 10:29:01 (17 years ago)
Author:
jerome
Message:

Ensure only developers will install the latest development tree for now,
to prevent people from forming bad feelings about this (great) software.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/setup.py

    r3260 r3264  
    3737sys.path.insert(0, "pykota") 
    3838from pykota.version import __version__, __doc__ 
     39 
     40if (__version__.upper().find("BROKEN") != -1) and ("--force" not in sys.argv[1:]) : 
     41    sys.stderr.write("THIS VERSION OF PYKOTA IS BROKEN. YOU MUST NOT USE IT. YOU SHOULD DOWNLOAD AN EARLIER RELEASE INSTEAD, EITHER THROUGH AN ENTRY PASS, OR BY DOWNLOADING THE LATEST STABLE TAG FROM SUBVERSION.\n") 
     42    sys.exit(-1) 
    3943 
    4044data_files = []