Example #1
0
 def install_development_libraries(self):
     os = fab.env.os
     if isinstance(os, Ubuntu):
         os.install_package('python-software-properties')
         fab.sudo('add-apt-repository ppa:nginx/stable')
         fab.sudo('apt-get update')
     os.install_package('nginx')
Example #2
0
    def install_development_libraries(self):
        os = fab.env.os
        # TODO
        self.append_source()
        os.install_package("mariadb-server")

        self.install_db_misc()
Example #3
0
    def install_development_libraries(self):
        os = fab.env.os

        os.install_package('libxml2 libxml2-dev')
        os.install_package('libexpat1 libexpat1-dev')

        fab.env.db.install_headers()
Example #4
0
 def install_development_libraries(self):
     os = fab.env.os
     if isinstance(os, Ubuntu):
         os.install_package('python-software-properties')
         fab.sudo('add-apt-repository ppa:nginx/stable')
         fab.sudo('apt-get update')
     os.install_package('nginx')
Example #5
0
    def install_development_libraries(self):
        os = fab.env.os
        # TODO
        self.append_source()
        os.install_package('mariadb-server')

        self.install_db_misc()
Example #6
0
    def install_development_libraries(self):
        os = fab.env.os

        os.install_package('libxml2 libxml2-dev')
        os.install_package('libexpat1 libexpat1-dev')

        fab.env.db.install_headers()
Example #7
0
    def install_db_misc(self):
        os = fab.env.os
        os.install_package("python-mysqldb")

        # XXX needed condition here
        # bug in phpmyadmin install sql with mariadb
        # http://www.mail-archive.com/[email protected]/msg342522.html
        os.install_package("phpmyadmin")
Example #8
0
    def install_db_misc(self):
        os = fab.env.os
        os.install_package('python-mysqldb')

        # XXX needed condition here
        # bug in phpmyadmin install sql with mariadb
        # http://www.mail-archive.com/[email protected]/msg342522.html
        os.install_package('phpmyadmin')
Example #9
0
    def install_development_libraries(self):
        os = fab.env.os
        if isinstance(os, Ubuntu) and os.version.split('.') == ['10','4']:
            # XXX default libmemcached-dev in Ubuntu lucid
            # is version 0.31. its too small for pylibmc
            os.install_package('python-software-properties')
            fab.sudo('add-apt-repository ppa:muffinresearch/pylibmc-build-deps')
            fab.sudo('apt-get update')

        super(PyLibMC, self).install_development_libraries()
        os.install_package('libmemcached-dev')
Example #10
0
    def install_development_libraries(self):
        os = fab.env.os
        if isinstance(os, Ubuntu) and os.version.split('.') == ['10','4']:
            # XXX default libmemcached-dev in Ubuntu lucid
            # is version 0.31. its too small for pylibmc
            os.install_package('python-software-properties')
            fab.sudo('add-apt-repository ppa:muffinresearch/pylibmc-build-deps')
            fab.sudo('apt-get update')

        super(PyLibMC, self).install_development_libraries()
        os.install_package('libmemcached-dev')
Example #11
0
    def install_development_libraries(self):
        os = fab.env.os
        os.install_package("mysql-server")

        self.install_db_misc()
Example #12
0
 def install_development_libraries(self):
     os = fab.env.os
     os.install_package('apache2')
Example #13
0
    def install_development_libraries(self):
        os = fab.env.os

        if self.use_pip:
            # vcs (needed by pip) XXX remove to pip object
            os.install_package('subversion')
            os.install_package('mercurial')
            os.install_package('git-core')

        if self.use_pil:
            # must have to compile PIL jpeg support
            # XXX remove to PIL object
            if isinstance(os, Debian):
                os.install_package('libjpeg62 libjpeg62-dev')
                os.install_package('libfreetype6 libfreetype6-dev')
            elif isinstance(os, RedHat):
                os.install_package('zlib-devel libjpeg-devel freetype-devel')

        for name in ('os', 'server', 'db', 'supervisor',
                     'scrapy', 'vcs', 'celery', 'sphinxsearch',
                     'memcache'):
            if getattr(self, 'use_' + name, False):
                getattr(fab.env, name).install_development_libraries()
Example #14
0
    def install_development_libraries(self):
        os = fab.env.os
        os.install_package('mysql-server')

        self.install_db_misc()
Example #15
0
 def install_development_libraries(self):
     os = fab.env.os
     os.install_package('rabbitmq-server')
Example #16
0
    def install_development_libraries(self):
        os = fab.env.os

        if self.use_pip:
            # vcs (needed by pip) XXX remove to pip object
            os.install_package('subversion')
            os.install_package('mercurial')
            os.install_package('git-core')

        if self.use_pil:
            # must have to compile PIL jpeg support
            # XXX remove to PIL object
            if isinstance(os, Debian):
                os.install_package('libjpeg-dev')
                os.install_package('libfreetype6 libfreetype6-dev')
                os.install_package('libtiff-dev')
            elif isinstance(os, RedHat):
                os.install_package('zlib-devel libjpeg-devel freetype-devel')

        for name in ('os', 'server', 'db', 'supervisor',
                     'scrapy', 'vcs', 'celery', 'sphinxsearch',
                     'memcache'):
            if getattr(self, 'use_' + name, False):
                getattr(fab.env, name).install_development_libraries()
Example #17
0
 def install_development_libraries(self):
     os = fab.env.os
     os.install_package('apache2')