Changeset 74:c54d9c90e732 for pycommunity/setup.py
- Timestamp:
- 02/24/07 16:43:37 (21 months ago)
- Files:
-
- 1 modified
-
pycommunity/setup.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pycommunity/setup.py
r71 r74 21 21 """ 22 22 import sys 23 import os 23 24 24 25 classifiers = """\ … … 42 43 doclines = __doc__.split("\n") 43 44 45 dirname = os.path.dirname(__file__) 46 if dirname == '': 47 dirname = '.' 48 49 etc_dir = os.path.join(dirname, 'etc') 50 etc_files = [] 51 52 for root, dir_, files in os.walk(etc_dir): 53 for file_ in files: 54 path = os.path.join(root, file_) 55 if not os.path.isfile(path): 56 continue 57 etc_files.append(path) 58 59 44 60 setup(name="PyCommunity", 45 61 version="0.1a", … … 53 69 long_description = "\n".join(doclines[2:]), 54 70 scripts = ['pycy'], 55 packages = ['pycommunity'] 56 ) 71 packages = ['pycommunity'], 72 install_requires = ['cheesecake', 'cheetah'], 73 data_files = [('/etc/pycommunity', etc_files)]) 57 74
