Show
Ignore:
Timestamp:
10/06/08 00:22:07 (16 years ago)
Author:
jerome
Message:

Removed spaces at EOL.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pkpgcounter/trunk/setup.py

    r564 r3436  
    11#! /usr/bin/env python 
    2 # -*- coding: UTF-8 -*- 
     2# -*- coding: utf-8 -*- 
    33# 
    44# pkpgcounter : a generic Page Description Language parser 
     
    99# the Free Software Foundation, either version 3 of the License, or 
    1010# (at your option) any later version. 
    11 #  
     11# 
    1212# This program is distributed in the hope that it will be useful, 
    1313# but WITHOUT ANY WARRANTY; without even the implied warranty of 
    1414# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
    1515# GNU General Public License for more details. 
    16 #  
     16# 
    1717# You should have received a copy of the GNU General Public License 
    1818# along with this program.  If not, see <http://www.gnu.org/licenses/>. 
     
    2828try : 
    2929    from distutils.core import setup 
    30 except ImportError, msg :     
     30except ImportError, msg : 
    3131    sys.stderr.write("%s\n" % msg) 
    3232    sys.stderr.write("You need the DistUtils Python module.\nunder Debian, you may have to install the python-dev package.\nOf course, YMMV.\n") 
    3333    sys.exit(-1) 
    34      
    35 try :     
     34 
     35try : 
    3636    from PIL import Image 
    37 except ImportError :     
     37except ImportError : 
    3838    sys.stderr.write("You need the Python Imaging Library (aka PIL).\nYou can grab it from http://www.pythonware.com\n") 
    3939    sys.exit(-1) 
    40      
    41 try :     
     40 
     41try : 
    4242    import psyco 
    43 except ImportError :     
     43except ImportError : 
    4444    sys.stderr.write("WARN: If you are running on a 32 Bits x86 platform, you should install the Python Psyco module if possible, this would greatly speedup parsing. NB : Psyco doesn't work on other platforms, so don't worry if you're in this case.\n") 
    45      
     45 
    4646sys.path.insert(0, "pkpgpdls") 
    4747from pkpgpdls.version import __version__, __doc__ 
     
    5353    directory = os.sep.join(["share", "locale", lang, "LC_MESSAGES"]) 
    5454    data_files.append((directory, [ mofile ])) 
    55      
    56 docdir = "share/doc/pkpgcounter"     
     55 
     56docdir = "share/doc/pkpgcounter" 
    5757docfiles = ["README", "COPYING", "BUGS", "CREDITS", "NEWS"] 
    5858data_files.append((docdir, docfiles)) 
    5959 
    6060directory = os.sep.join(["share", "man", "man1"]) 
    61 manpages = glob.glob(os.sep.join(["man", "*.1"]))     
     61manpages = glob.glob(os.sep.join(["man", "*.1"])) 
    6262data_files.append((directory, manpages)) 
    6363 
     
    7171      scripts = [ "bin/pkpgcounter" ], 
    7272      data_files = data_files) 
    73        
     73