skel cleanup
authorSylvain Thenault <sylvain.thenault@logilab.fr>
Tue, 25 Nov 2008 12:33:39 +0100
changeset 139 16aafc56a1ac
parent 138 ed8a7efaadb6
child 140 478bdd15bc0e
skel cleanup
skeleton/__pkginfo__.py.tmpl
skeleton/setup.py
--- a/skeleton/__pkginfo__.py.tmpl	Tue Nov 25 12:33:26 2008 +0100
+++ b/skeleton/__pkginfo__.py.tmpl	Tue Nov 25 12:33:39 2008 +0100
@@ -19,10 +19,7 @@
 from os import listdir as _listdir
 from os.path import join, isdir
 
-from glob import glob
-scripts = glob(join('bin', '%(cubename)s-*'))
-
-web, ftp = '', ''
+web = ''
 
 pyversions = ['2.4']
 
@@ -40,17 +37,9 @@
     data_files = [
         # common files
         [THIS_CUBE_DIR, [fname for fname in glob('*.py') if fname != 'setup.py']],
-        
-        # client (web) files
-        [join(THIS_CUBE_DIR, 'data'),  listdir('data')],
-        [join(THIS_CUBE_DIR, 'i18n'),  listdir('i18n')],
-        
-        # server files
-        [join(THIS_CUBE_DIR, 'migration'), listdir('migration')],
-        ]
-    
+        ]    
     # check for possible extended cube layout
-    for dirname in ('entities', 'views', 'sobjects', 'schema'):
+    for dirname in ('entities', 'views', 'sobjects', 'schema', 'data', 'i18n', 'migration'):
         if isdir(dirname):
             data_files.append([join(THIS_CUBE_DIR, dirname), listdir(dirname)])
     # Note: here, you'll need to add subdirectories if you want
@@ -62,4 +51,5 @@
 
 cube_eid = None # <=== FIXME if you need direct bug-subscription
 __use__ = (%(dependancies)s)
+__recommend__ = ()
 
--- a/skeleton/setup.py	Tue Nov 25 12:33:26 2008 +0100
+++ b/skeleton/setup.py	Tue Nov 25 12:33:39 2008 +0100
@@ -52,7 +52,7 @@
     """setup entry point"""
     return setup(name=distname,
                  version=version,
-                 license =license,
+                 license=license,
                  description=short_desc,
                  long_description=long_desc,
                  author=author,