Changeset 1120

Show
Ignore:
Timestamp:
08/06/05 07:25:38 (3 years ago)
Author:
paul
Message:

Moved dabo directory one level down (dabo begins in trunk/dabo now
instead of trunk/).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/setup.py

    r1119 r1120  
    1 ### 8/5/2005: 
    2 ### The following is submitted by limodou, and edited by Paul McNett 
    3 ### to reflect author, version, and email. Limodou, testing this with: 
    4 ###   sudo python setup.py install 
    5 ### resulted in my site-packages having directories of ui, lib, and biz 
    6 ### instead of having a dabo directory with those sub directories. It 
    7 ### also resulted in a bunch of dabo stuff going into a directory called 
    8 ### 'huh'. So something isn't right. Named -notyet so that people don't  
    9 ### run it until this is fixed. 
     1import ez_setup # From http://peak.telecommunity.com/DevCenter/setuptools 
     2ez_setup.use_setuptools() 
    103 
    11 from distutils.core import setup 
    12 import os 
    13  
    14 def find_packages(where='.'): 
    15     out = [] 
    16     stack=[('.', '')] 
    17     while stack: 
    18         where,prefix = stack.pop(0) 
    19         for name in os.listdir(where): 
    20             fn = os.path.join(where,name) 
    21             if (os.path.isdir(fn) and 
    22                 os.path.isfile(os.path.join(fn,'__init__.py')) 
    23             ): 
    24                 out.append(prefix+name); stack.append((fn,prefix+name+'.')) 
    25     return out 
     4from setuptools import setup, find_packages 
    265 
    276setup( 
     
    4423    }, 
    4524) 
    46  
    47