bitbake-1.4/lib/bb/cache.py:
[vuplus_bitbake] / setup.py
index 2c5d43b..adb14a7 100755 (executable)
--- a/setup.py
+++ b/setup.py
@@ -44,23 +44,25 @@ def generate_doc(type):
 if 'bdist' in sys.argv[1:]:
     generate_doc('html')
 
+sys.path.append(os.path.join(os.path.dirname(sys.argv[0]), 'lib'))
+import bb
 import glob
 setup(name='bitbake',
-      version='1.0',
+      version=bb.__version__,
       license='GPL',
+      url='http://developer.berlios.de/projects/bitbake/',
       description='BitBake build tool',
       long_description='BitBake is a simple tool for the execution of tasks. It is derived from Portage, which is the package management system used by the Gentoo Linux distribution. It is most commonly used to build packages, as it can easily use its rudamentary inheritence to abstract common operations, such as fetching sources, unpacking them, patching them, compiling them, and so on.  It is the basis of the OpenEmbedded project, which is being used for OpenZaurus, Familiar, and a number of other Linux distributions.',
       author='Chris Larson',
       author_email='clarson@elinux.org',
-      packages=['bb', 'bb.parse'],
+      packages=['bb', 'bb.fetch', 'bb.parse', 'bb.parse.parse_py'],
       package_dir={'bb': os.path.join('lib', 'bb')},
       scripts=[os.path.join('bin', 'bitbake'),
-               os.path.join('bin', 'bbread'), 
                os.path.join('bin', 'bbimage')],
       data_files=[(os.path.join(bbdir, 'conf'), [os.path.join('conf', 'bitbake.conf')]),
                   (os.path.join(bbdir, 'classes'), [os.path.join('classes', 'base.bbclass')]),
-                  (os.path.join(docdir, 'bitbake-1.0', 'html'), glob.glob(os.path.join('doc', 'manual', 'html', '*.html'))),
-                  (os.path.join(docdir, 'bitbake-1.0', 'pdf'), glob.glob(os.path.join('doc', 'manual', 'pdf', '*.pdf'))),],
+                  (os.path.join(docdir, 'bitbake-%s' % bb.__version__, 'html'), glob.glob(os.path.join('doc', 'manual', 'html', '*.html'))),
+                  (os.path.join(docdir, 'bitbake-%s' % bb.__version__, 'pdf'), glob.glob(os.path.join('doc', 'manual', 'pdf', '*.pdf'))),],
      )
 
 if 'bdist' in sys.argv[1:]: