Changeset 1297
- Timestamp:
- 01/15/04 13:50:41 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/setup.py
r1279 r1297 24 24 # 25 25 # $Log$ 26 # Revision 1.31 2004/01/15 12:50:41 jalet 27 # Installation scripts now tells where the documentation was installed. 28 # 26 29 # Revision 1.30 2004/01/12 15:45:03 jalet 27 30 # Now installs documentation in /usr/share/doc/pykota too. … … 306 309 307 310 # WARNING MESSAGE 308 sys.stdout.write("WARNING : IF YOU ARE UPGRADING FROM A PRE-1.14 TO 1.1 4OR ABOVE\n")311 sys.stdout.write("WARNING : IF YOU ARE UPGRADING FROM A PRE-1.14 TO 1.16 OR ABOVE\n") 309 312 sys.stdout.write("AND USE THE POSTGRESQL BACKEND, THEN YOU HAVE TO MODIFY YOUR\n") 310 313 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") 311 315 sys.stdout.write("PLEASE READ DOCUMENTATION IN initscripts/postgresql/ TO LEARN HOW TO DO.\n") 312 316 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.1 4OR 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") 314 318 dummy = raw_input("Please press ENTER when you have read the message above. ") 315 319 … … 340 344 data_files.append((directory, [ mofile ])) 341 345 346 docdir = "/usr/share/doc/pykota" 342 347 docfiles = ["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))348 data_files.append((docdir, docfiles)) 344 349 345 350 directory = os.sep.join(["share", "man", "man1"]) … … 357 362 data_files = data_files) 358 363 364 if ("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)