# HG changeset patch # User Sylvain Thenault # Date 1227612819 -3600 # Node ID 16aafc56a1ac1900d9cb9e6799697a32f4a76694 # Parent ed8a7efaadb6ce998e6641fa83c9ac3536dfc081 skel cleanup diff -r ed8a7efaadb6 -r 16aafc56a1ac skeleton/__pkginfo__.py.tmpl --- 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__ = () diff -r ed8a7efaadb6 -r 16aafc56a1ac skeleton/setup.py --- 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,