- setup(name='geniwrapper',
- version = version,
- packages = package_dirs,
- data_files = data_files,
- ext_modules = [],
- py_modules = [],
- scripts = scripts,
- url = 'http://svn.planet-lab.org/svn/geniwrapper/',
- description = "Geni API",
- long_description = """\
-Geniwrapper implements the Geni interface which serves
-as a layer between the existing PlanetLab interfaces
-and the Geni API.
- """,
- license = 'GPL')
-
- # create symlink to geniwrapper source in /usr/share
- python_path = sys.path
- site_packages_only = lambda path: path.endswith('site-packages')
- site_packages_path = filter(site_packages_only, python_path)
- add_geni_path = lambda path: path + os.sep + 'geni'
- site_packages_path = map(add_geni_path, site_packages_path)
- # python path usualy has /urs/local/lib/ path , filter this out
- site_packages_path = filter(lambda x: 'local' not in x, site_packages_path)
+
+ # avoid repeating what's in the specfile already
+ setup(name='sfa',
+ packages = package_dirs,
+ data_files = data_files,
+ ext_modules = [],
+ py_modules = [],
+ scripts = bins,
+ )