Example #1
0
def sphinx():
    # they are not available in older releases
    require_deb_packages(
        '''
                    python-blockdiag
                    python-seqdiag
                    python-sphinxcontrib.blockdiag
                    python-sphinxcontrib.seqdiag
                    python-tablib
                    ''', error_if_not_exists=False
    )

    require_deb_packages(
        '''
gtkwave
mercurial
python-sphinx
scrot
texlive-fonts-recommended
texlive-latex-extra
                    '''
    )

    require_python_packages(
        '''
PyVirtualDisplay
pyscreenshot

sphinxcontrib-programoutput
sphinxcontrib-programscreenshot
sphinxcontrib-gtkwave
sphinxcontrib-eagle
eagexp
discogui
PyMouse
                    ''')

    # sphinx-contrib
    if not is_installed('autorun'):
        if is_dir('/tmp/sphinx-contrib'):
            run('rm -rf /tmp/sphinx-contrib')
        with cd('/tmp'):
            run('hg clone https://bitbucket.org/birkenfeld/sphinx-contrib')
        install('/tmp/sphinx-contrib/autorun', use_sudo=True)
Example #2
0
def pyavr():
    require_deb_packages(
        '''
        build-essential
        libelf-dev
        python-dev
        swig
                    '''
    )

    require_python_packages(
        '''
        confduino
        entrypoint2
        ino
        nanpy
        pyavrutils
        pysimavr
        pysimavrgui
        python-eeml
                            ''')
Example #3
0
def python_dev():

    require_deb_packages(
        '''
                    bpython
                    #curl    # for pip download
                    doxypy
                    fabric
                    ipython
                    ipython-qtconsole
                    pep8
                    pychecker
                    pyflakes
                    pypy
                    python-all
                    python-all-dev
                    python-alsaaudio
                    python-anyjson
                    python-beautifulsoup
                    python-cairo
                    python-cjson
                    python-configobj
                    python-daemon
                    python-decorator
                    python-gobject
                    python-gst0.10
                    python-h5py
                    python-imaging
                    python-lxml
                    python-matplotlib
                    python-mysqldb
                    python-nose
                    python-numpy
                    python-pandas
                    python-parallel
                    python-pexpect
                    # python-pip # disabled because we need the latest version
                    python-psutil
                    python-psutil
                    python-pydot
                    python-pygame
                    python-pyglet
                    python-pygraphviz
                    python-pyparsing
                    python-qt4
                    python-scipy
                    python-scrapy
                    python-serial
                    python-simplejson
                    python-six
                    python-sympy
                    python-sphinx
                    python-squaremap
                    python-stdeb
                    python-tables
                    python-tk
                    python-traits
                    python-traitsui
                    python-uncertainties
                    python-usb
                    # python-virtualenv
                    python-yaml
                    runsnakerun
                    swig
                    '''
    )

    # for latest version
    require.deb.nopackage('python-pip')
    require.python.pip()

    require_python_packages(
        '''
                    aeon
                    apscheduler
                    autoflake
                    autopep8
                    bunch
                    cogapp
                    construct
                    decotrace
                    easyprocess
                    entrypoint2
                    fabtools
                    ghp-import
                    https://github.com/ronnix/fabtools/archive/master.zip
                    path.py
                    paved
                    paver
                    psidialogs
                    pyformat
                    python-dateutil
                    pyunpack
                    sh
                    tox
                    versioneer
                    ''')

    # latest tox needs latest virtualenv
    require.deb.nopackage('python-virtualenv')
    require.python.package('virtualenv', use_sudo=True)

    require.directory('pythonpath')