Changeset 120

Show
Ignore:
Timestamp:
04/20/06 10:50:45 (18 years ago)
Author:
jerome
Message:

Improved packaging stuff

Location:
pykoticon/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • pykoticon/trunk/clean.sh

    r78 r120  
    2323 
    2424rm -fr MANIFEST build dist 
     25rm -f bin/pykoticonc 
    2526find . -name "*.bak" -exec rm -f {} \; 
    2627find . -name "*~" -exec rm -f {} \; 
  • pykoticon/trunk/setup.py

    r118 r120  
    2828import sys 
    2929import os 
     30import imp 
    3031import glob 
    3132try : 
     
    4243    withPy2EXE = True 
    4344 
    44 version = "1.00" 
    45  
     45config = imp.load_source("config", os.path.join("bin", "pykoticon")) 
    4646setupDictionary = { "name" : "pykoticon",  
    47                     "version" : version, 
    48                     "license" : "GNU GPL", 
    49                     "description" : "a generic, networked, cross-platform, dialog box manager", 
    50                     "author" : "Jerome Alet", 
    51                     "author_email" : "alet@librelogiciel.com", 
    52                     "url" : "http://www.librelogiciel.com/software/", 
     47                    "version" : config.__version__, 
     48                    "license" : config.__license__, 
     49                    "description" : config.__doc__, 
     50                    "author" : config.__author__, 
     51                    "author_email" : config.__author_email__, 
     52                    "url" : config.__url__, 
    5353                    "data_files" : [(directory, glob.glob(os.path.join("icons", "*.ico")))], 
    5454                  }