Exemplo n.º 1
0
    def install(self, download_directory, install_directory, arguments):
        AutoconfRecipe.install(self, download_directory, install_directory, arguments)
        
        # shall we install setuptools ? 
        if arguments.with_setuptools:
            fromurl = "https://pypi.python.org/packages/source/s/setuptools/setuptools-2.1.tar.gz"
            output_directory = '%s/setuptools' % download_directory
            retrieve(fromurl, download_directory, output_directory)

            os.chdir(output_directory)
            self.run('install', ['%s/bin/python' % install_directory,
                                 'setup.py',
                                 'install'])
Exemplo n.º 2
0
 def __init__(self):
     GitSourceRecipe.__init__(self, 'git://github.com/npm/npm')
     AutoconfRecipe.__init__(self)
Exemplo n.º 3
0
 def __init__(self):
     GitSourceRecipe.__init__(self, 'git://github.com/joyent/node')
     AutoconfRecipe.__init__(self)