Commits

Anonymous committed 513771d

preparing for 1.0

Comments (0)

Files changed (3)

 Python Game Development
 by Pete Shinners
 
+http://pygame.seul.org
+pete@shinners.org
+
+
+
 
 INTRO
 
 Pygame is a cross-platfrom library designed to make it easy to write
 multimedia software, such as games, in Python.
-Website and source code are at: http://pygame.seul.org
 
 Pygame depends on SDL >= 1.1.7 and Python ?= 2.0. It also is optionally
 dependent on SDL_ttf, SDL_image, SDL_mixer, and Numeric.
 make a worthwhile attempt at configuring the compiler variables and
 getting everything installed.
 
-Distutils has a lot of compiler options. To get started with them
+Distutils has a lot of installation options. To get started with them
 run "python setup.py --help". Also, if you are getting errors compiling,
-you can change the compiler flags in the "Setup" file (which is similar
-to a Makefile)
+you can change the compiler flags in the "Setup" file (which resembles
+a Makefile)
 
 
 
 
 
 
+
 CREDITS
 
 Thanks to everyone who made this possible, including:
 
 
 
+
 LINKS
 
 Pygame Website   : http://pygame.seul.org
         inc = os.path.join(incdir, self.checkhead)
         lib = os.path.join(libdir, self.checklib)
         if os.path.isfile(inc) and glob(lib):
-        print self.name + '        '[len(self.name):] + ': found'
+            print self.name + '        '[len(self.name):] + ': found'
             self.found = 1
-    else:
-        print self.name + '        '[len(self.name):] + ': not found'
+        else:
+            print self.name + '        '[len(self.name):] + ': not found'
 
 
 
     def run(self):
         #need to change self.install_dir to the library dir
 
-        print 'SMART_INSTALL_DATA'
-        print '  old:', self.install_dir
-
         install_cmd = self.get_finalized_command('install')
         self.install_dir = getattr(install_cmd, 'install_lib')
         print '  new:', self.install_dir
         return install_data.run(self)
 
-        
-        #self.outfiles = []
-        #install_cmd = self.get_finalized_command('install')
- 
-        #for d in self.data_files:
-        #    d = self.check_data(d)
- 
-        #    install_dir = self.install_dir
-            # alternative base dir given => overwrite install_dir
-        #    if d.base_dir != None:
-        #        install_dir = getattr(install_cmd,d.base_dir)
-     
-            # copy to an other directory 
-        #    if d.copy_to != None:
-        #        if not os.path.isabs(d.copy_to):
-        #            # relatiev path to install_dir
-        #            dir = os.path.join(install_dir, d.copy_to)
-        #        elif install_cmd.root:
-        #            # absolute path and alternative root set 
-        #            dir = change_root(self.root,d.copy_to)
-        #        else:
-        #            # absolute path
-        #            dir = d.copy_to                  
-        #    else:
-        #        # simply copy to install_dir
-        #        dir = install_dir
-        #        # warn if necceassary  
-        #        self.warn("setup script did not provide a directory to copy files to "
-        #                  " -- installing right in '%s'" % install_dir)
- 
-         #   dir=os.path.normpath(dir)
-            # create path
-         #   self.mkpath(dir) 
- 
+