Changeset 1120
- Timestamp:
- 08/06/05 07:25:38 (3 years ago)
- Files:
-
- trunk/dabo (added)
- trunk/dabo/LICENSE.TXT (copied) (copied from trunk/LICENSE.TXT)
- trunk/dabo/__init__.py (moved) (moved from trunk/__init__.py)
- trunk/dabo/__version__.py (moved) (moved from trunk/__version__.py)
- trunk/dabo/biz (moved) (moved from trunk/biz)
- trunk/dabo/common (moved) (moved from trunk/common)
- trunk/dabo/dApp.py (moved) (moved from trunk/dApp.py)
- trunk/dabo/dBug.py (moved) (moved from trunk/dBug.py)
- trunk/dabo/dConstants.py (moved) (moved from trunk/dConstants.py)
- trunk/dabo/dEvents.py (moved) (moved from trunk/dEvents.py)
- trunk/dabo/dException.py (moved) (moved from trunk/dException.py)
- trunk/dabo/dLocalize.py (moved) (moved from trunk/dLocalize.py)
- trunk/dabo/dReportWriter.py (moved) (moved from trunk/dReportWriter.py)
- trunk/dabo/dSecurityManager.py (moved) (moved from trunk/dSecurityManager.py)
- trunk/dabo/db (moved) (moved from trunk/db)
- trunk/dabo/icons (moved) (moved from trunk/icons)
- trunk/dabo/lib (moved) (moved from trunk/lib)
- trunk/dabo/settings.py (moved) (moved from trunk/settings.py)
- trunk/dabo/ui (moved) (moved from trunk/ui)
- trunk/ez_setup.py (added)
- trunk/setup.py (moved) (moved from trunk/setup.py.not-yet) (2 diffs)
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. 1 import ez_setup # From http://peak.telecommunity.com/DevCenter/setuptools 2 ez_setup.use_setuptools() 10 3 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 4 from setuptools import setup, find_packages 26 5 27 6 setup( … … 44 23 }, 45 24 ) 46 47
