~gary/zc.buildout/python-support-7

« back to all changes in this revision

Viewing changes to src/zc/buildout/easy_install.py

  • Committer: Gary Poster
  • Date: 2010-02-24 23:21:51 UTC
  • mfrom: (558.1.1 gary-6)
  • Revision ID: gary.poster@canonical.com-20100224232151-66v058ag3mo0o2lz
merge from gary-6 <- gary-5

Show diffs side-by-side

added added

removed removed

Lines of Context:
294
294
                 newest=True,
295
295
                 versions=None,
296
296
                 use_dependency_links=None,
 
297
                 allow_hosts=('*',),
297
298
                 include_site_packages=None,
298
 
                 allowed_eggs_from_site_packages=None,
299
 
                 allow_hosts=('*',)
 
299
                 allowed_eggs_from_site_packages=None
300
300
                 ):
301
301
        self._dest = dest
302
302
        self._allow_hosts = allow_hosts
1014
1014
            links=(), index=None,
1015
1015
            executable=sys.executable, always_unzip=None,
1016
1016
            path=None, working_set=None, newest=True, versions=None,
1017
 
            use_dependency_links=None, include_site_packages=None,
1018
 
            allowed_eggs_from_site_packages=None, allow_hosts=('*',)):
 
1017
            use_dependency_links=None, allow_hosts=('*',),
 
1018
            include_site_packages=None, allowed_eggs_from_site_packages=None):
1019
1019
    installer = Installer(dest, links, index, executable, always_unzip, path,
1020
1020
                          newest, versions, use_dependency_links,
 
1021
                          allow_hosts=allow_hosts,
1021
1022
                          include_site_packages=include_site_packages,
1022
1023
                          allowed_eggs_from_site_packages=
1023
 
                            allowed_eggs_from_site_packages,
1024
 
                          allow_hosts=allow_hosts)
 
1024
                            allowed_eggs_from_site_packages)
1025
1025
    return installer.install(specs, working_set)
1026
1026
 
1027
1027
 
1028
1028
def build(spec, dest, build_ext,
1029
1029
          links=(), index=None,
1030
1030
          executable=sys.executable,
1031
 
          path=None, newest=True, versions=None, include_site_packages=None,
1032
 
          allowed_eggs_from_site_packages=None, allow_hosts=('*',)):
 
1031
          path=None, newest=True, versions=None, allow_hosts=('*',),
 
1032
          include_site_packages=None, allowed_eggs_from_site_packages=None):
1033
1033
    installer = Installer(dest, links, index, executable, True, path, newest,
1034
 
                          versions,
 
1034
                          versions, allow_hosts=allow_hosts,
1035
1035
                          include_site_packages=include_site_packages,
1036
1036
                          allowed_eggs_from_site_packages=
1037
 
                            allowed_eggs_from_site_packages,
1038
 
                          allow_hosts=allow_hosts)
 
1037
                            allowed_eggs_from_site_packages)
1039
1038
    return installer.build(spec, build_ext)
1040
1039
 
1041
1040