Commits

illume  committed 2efdff5

If error reading files, just continue.

  • Participants
  • Parent commits a0a03d5

Comments (0)

Files changed (1)

File trunk/setup.py

 #
 # To configure, compile, install, just run this script.
 
-#DESCRIPTION = pywebsite is for making websites with python.
 
-DESCRIPTION = open('readme.txt').read()
-CHANGES = open('CHANGES.txt').read()
-TODO = open('TODO.txt').read()
+try:
+    DESCRIPTION = open('readme.txt').read()
+    CHANGES = open('CHANGES.txt').read()
+    TODO = open('TODO.txt').read()
+except:
+    DESCRIPTION = "pywebsite is for making websites with python."
+    CHANGES = ""
+    TODO = ""
 
 EXTRAS = {}