Changeset 1297

Show
Ignore:
Timestamp:
01/15/04 13:50:41 (21 years ago)
Author:
jalet
Message:

Installation scripts now tells where the documentation was installed.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/setup.py

    r1279 r1297  
    2424# 
    2525# $Log$ 
     26# Revision 1.31  2004/01/15 12:50:41  jalet 
     27# Installation scripts now tells where the documentation was installed. 
     28# 
    2629# Revision 1.30  2004/01/12 15:45:03  jalet 
    2730# Now installs documentation in /usr/share/doc/pykota too. 
     
    306309     
    307310    # WARNING MESSAGE     
    308     sys.stdout.write("WARNING : IF YOU ARE UPGRADING FROM A PRE-1.14 TO 1.14 OR ABOVE\n") 
     311    sys.stdout.write("WARNING : IF YOU ARE UPGRADING FROM A PRE-1.14 TO 1.16 OR ABOVE\n") 
    309312    sys.stdout.write("AND USE THE POSTGRESQL BACKEND, THEN YOU HAVE TO MODIFY YOUR\n") 
    310313    sys.stdout.write("DATABASE SCHEMA USING initscripts/postgresql/upgrade-to-1.14.sql\n") 
     314    sys.stdout.write("AND initscripts/postgresql/upgrade-to-1.16.sql\n") 
    311315    sys.stdout.write("PLEASE READ DOCUMENTATION IN initscripts/postgresql/ TO LEARN HOW TO DO.\n") 
    312316    sys.stdout.write("YOU CAN DO THAT AFTER THE INSTALLATION IS FINISHED, OR PRESS CTRL+C NOW.\n") 
    313     sys.stdout.write("\n\nYOU DON'T HAVE ANYTHING SPECIAL TO DO IF THIS IS YOUR FIRST INSTALLATION\nOR IF YOU ARE ALREADY RUNNING VERSION 1.14 OR ABOVE.\n\n") 
     317    sys.stdout.write("\n\nYOU DON'T HAVE ANYTHING SPECIAL TO DO IF THIS IS YOUR FIRST INSTALLATION\nOR IF YOU ARE ALREADY RUNNING VERSION 1.16 OR ABOVE.\n\n") 
    314318    dummy = raw_input("Please press ENTER when you have read the message above. ") 
    315319     
     
    340344    data_files.append((directory, [ mofile ])) 
    341345     
     346docdir = "/usr/share/doc/pykota"     
    342347docfiles = ["README", "FAQ", "SECURITY", "COPYING", "LICENSE", "CREDITS", "TODO", "NEWS"] + glob.glob(os.sep.join(["docs", "*.pdf"])) + glob.glob(os.sep.join(["docs", "pykota", "*.html"])) 
    343 data_files.append(("/usr/share/doc/pykota", docfiles)) 
     348data_files.append((docdir, docfiles)) 
    344349 
    345350directory = os.sep.join(["share", "man", "man1"]) 
     
    357362      data_files = data_files) 
    358363 
     364if ("install" in sys.argv) and not ("help" in sys.argv) : 
     365    sys.stdout.write("\n\nYou can give a look at PyKota's documentation in:\n%s\n\n" % docdir)