Show
Ignore:
Timestamp:
06/07/06 10:51:39 (18 years ago)
Author:
jerome
Message:

Ensure that the manual page is installed undex *nix, and that the screenshots are included in the source
package.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykoticon/trunk/setup.py

    r140 r144  
    3838    else :     
    3939        directory = os.sep.join(["share", "pykoticon"]) 
     40        mandir = os.sep.join(["share", "man", "man1"]) 
     41        manpages = glob.glob(os.sep.join(["man", "*.1"]))     
     42        initialdatafiles = [(mandir, manpages)] 
    4043        withPy2EXE = False 
    4144else :         
    4245    directory = "." 
     46    initialdatafiles = [] 
    4347    withPy2EXE = True 
    4448 
     
    5155                    "author_email" : config.__author_email__, 
    5256                    "url" : config.__url__, 
    53                     "data_files" : [(directory, 
    54                                     glob.glob(os.path.join("icons", "*.ico")))], 
     57                    "data_files" : initialdatafiles \ 
     58                      + [(directory, glob.glob(os.path.join("icons", "*.ico")))], 
    5559                  } 
    5660if withPy2EXE :