Changeset 826:81517281879a

Show
Ignore:
Timestamp:
2009-11-06 11:33:31 (10 months ago)
Author:
Stefan Schwarzer <sschwarzer@…>
Branch:
default
convert_revision:
svn:778c30c8-61e0-0310-89d4-fe2f97a467b2/trunk@897
Message:
Show an error message upon tried installation if an HTML file is missing.
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • setup.py

    r825 r826  
    6262 
    6363 
     64if "install" in sys.argv[1:] and \ 
     65  not (os.path.isfile("ftputil.html") and os.path.isfile("README.html")): 
     66    print "One or more of the HTML documentation files are missing." 
     67    print "Please generate them with `make docs`." 
     68    sys.exit(1) 
     69 
    6470core.setup( 
    6571  # installation data