Exemplo n.º 1
0
setup(
    name='FlexGet',
    version=
    '1.0',  # our tasks append the r1234 (current svn revision) to the version number
    description=
    'FlexGet is a program aimed to automate downloading or processing content (torrents, podcasts, etc.) from different sources like RSS-feeds, html-pages, various sites and more.',
    author='Marko Koivusalo',
    author_email='*****@*****.**',
    license='MIT',
    url='http://flexget.com',
    install_requires=install_requires,
    packages=find_packages(exclude=['tests']),
    package_data=find_package_data(
        'flexget',
        package='flexget',
        exclude=['FlexGet.egg-info', '*.pyc'],
        only_in_packages=False),  # NOTE: the exclude does not seem to work
    zip_safe=False,
    test_suite='nose.collector',
    extras_require={
        'memusage': ['guppy'],
        'NZB': ['pynzb'],
        'TaskTray': ['pywin32'],
    },
    entry_points=entry_points)

options(
    minilib=Bunch(extra_files=['virtual', 'svn']),
    virtualenv=Bunch(paver_command_line='develop',
                     unzip_setuptools=True,
Exemplo n.º 2
0
install_distutils_tasks()

options(
    setup=Bunch(
        name="mdemos.metrics",
        version="0.1",
        release="1",
        url="http://moksha.fedorahosted.org",
        description="Moksha Metrics App",
        long_description="",
        author="Luke Macken",
        author_email="*****@*****.**",
        license="ASL 2.0",
        rpm_name='moksha-metrics',
        packages=find_packages(),
        package_data=find_package_data(),
        namespace_packages=['mdemos'],
        install_requires=[
            "moksha>=0.7.0a",
        ],
        entry_points={
            'moksha.stream': (
                'moksha_metrics = mdemos.metrics.streams:MokshaMetricsProducer',
            ),
            'moksha.consumer': (
                'moksha_message_metrics = mdemos.metrics.consumers:MokshaMessageMetricsConsumer',
            ),
            'moksha.widget': (
                ### Commented out from the tw1/tw2 config conversion
                #'MokshaTW2CPUUsageWidget = mdemos.metrics.widgets:MokshaTW2CPUUsageWidget',
                'MokshaMemoryUsageWidget = mdemos.metrics.widgets:MokshaMemoryUsageWidget',
Exemplo n.º 3
0
      classifiers  = """
Development Status :: 5 - Production/Stable
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
Programming Language :: Python
Topic :: Software Development :: Testing
          """.strip().splitlines(),
      author       = 'Robot Framework Developers',
      author_email = 'robotframework-devel@googlegroups,com',
      url          = 'https://github.com/robotframework/RIDE/',
      download_url = 'https://github.com/robotframework/RIDE/downloads/',
      package_dir  = {'' : str(SOURCE_DIR)},
      packages     = find_packages(str(SOURCE_DIR)) + \
                        ['robotide.lib.%s' % str(name) for name
                         in find_packages(str(LIB_SOURCE))],
      package_data = find_package_data(str(SOURCE_DIR)),
      # Robot Framework package data is not included, but RIDE does not need it.
      # # Always install everything, since we may be switching between versions
      options      = { 'install': { 'force' : True } },
      scripts      = ['src/bin/ride.py', 'ride_postinstall.py'],
      install_requires = ['Pygments']
      )


@task
@consume_args
def run(args):
    """Start development version of RIDE"""
    _set_development_path()
    from robotide import main
    main(*args)
Exemplo n.º 4
0
import os
import sys
from pprint import pprint

from paver.easy import task, needs, path
from paver.setuputils import setup, find_package_data

sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
import version

avr_helpers_files = find_package_data(package='avr_helpers',
                                      where='avr_helpers',
                                      only_in_packages=False)
pprint(avr_helpers_files)

setup(name='avr_helpers',
      version=version.getVersion(),
      description='Minimal tool-set for flashing bit-streams to AVR '
      'micro-controllers.',
      author='Christian Fobel',
      author_email='*****@*****.**',
      url='http://github.com/wheeler-microfluidics/avr_helpers.git',
      license='GPLv2',
      packages=['avr_helpers'],
      package_data=avr_helpers_files,
      install_requires=['path_helpers', 'serial_device'])


@task
@needs('generate_setup', 'minilib', 'setuptools.command.sdist')
def sdist():
Exemplo n.º 5
0
from setuptools import find_packages
from paver.setuputils import find_package_data

from paver.easy import *
from paver import setuputils
setuputils.install_distutils_tasks()


execfile(os.path.join('bespin', '__init__.py'))

options(
    setup=Bunch(
        name="BespinServer",
        version=VERSION,
        packages=find_packages(),
        package_data=find_package_data('bespin', 'bespin', 
                                only_in_packages=False),
        entry_points="""
[console_scripts]
bespin_worker=bespin.queue:process_queue
queue_stats=bespin.queuewatch:command
telnet_mobwrite=bespin.mobwrite.mobwrite_daemon:process_mobwrite
bespin_mobwrite=bespin.mobwrite.mobwrite_web:start_server
"""
    )
)

@task
@needs(['sdist'])
def production():
    """Gets things ready for production."""
    non_production_packages = set(["py", "WebTest", "boto", "virtualenv", 
Exemplo n.º 6
0
 name='FlexGet',
 version=__version__,  # release task may edit this
 description=
 'FlexGet is a program aimed to automate downloading or processing content (torrents, podcasts, etc.) '
 'from different sources like RSS-feeds, html-pages, various sites and more.',
 long_description=long_description,
 author='Marko Koivusalo',
 author_email='*****@*****.**',
 license='MIT',
 url='http://flexget.com',
 download_url='http://download.flexget.com',
 install_requires=install_requires,
 packages=find_packages(exclude=['tests']),
 package_data=find_package_data(
     'flexget',
     package='flexget',
     exclude=['FlexGet.egg-info', '*.pyc'],
     exclude_directories=['node_modules', 'bower_components'],
     only_in_packages=False),  # NOTE: the exclude does not seem to work
 zip_safe=False,
 test_suite='nose.collector',
 extras_require={
     'memusage': ['guppy'],
     'NZB': ['pynzb'],
     'TaskTray': ['pywin32'],
 },
 entry_points=entry_points,
 classifiers=[
     "Development Status :: 5 - Production/Stable",
     "License :: OSI Approved :: MIT License",
     "Operating System :: OS Independent",
     "Programming Language :: Python",
Exemplo n.º 7
0
install_distutils_tasks()

options(setup=Bunch(
    name="moksha.metrics",
    version="0.1",
    release="1",
    url="http://moksha.fedorahosted.org",
    description="Moksha Metrics App",
    long_description="",
    author="Luke Macken",
    author_email="*****@*****.**",
    license="ASL 2.0",
    rpm_name='moksha-metrics',
    packages=find_packages(),
    package_data=find_package_data(),
    namespace_packages=['moksha', 'moksha.apps'],
    install_requires=["Moksha"],
    entry_points={
        'moksha.stream':
        ('moksha_metrics = moksha.apps.metrics.streams:MokshaMetricsDataStream',
         ),
        'moksha.consumer':
        ('moksha_message_metrics = moksha.apps.metrics.consumers:MokshaMessageMetricsConsumer',
         ),
        'moksha.widget': (
            'MokshaTW2CPUUsageWidget = moksha.apps.metrics.widgets:MokshaTW2CPUUsageWidget',
            'MokshaMemoryUsageWidget = moksha.apps.metrics.widgets:MokshaMemoryUsageWidget',
            'MokshaCPUUsageWidget = moksha.apps.metrics.widgets:MokshaCPUUsageWidget',
            'MokshaMessageMetricsWidget = moksha.apps.metrics.widgets:MokshaMessageMetricsWidget',
        ),
from pprint import pprint

from paver.easy import task, needs, path, sh, cmdopts, options
from paver.setuputils import setup, find_package_data

import version
import peltier_controller

peltier_controller_files = find_package_data(package='peltier_controller',
                                             where='peltier_controller',
                                             only_in_packages=False)
pprint(peltier_controller_files)

setup(name='wheeler.peltier-controller-firmware',
      version=version.getVersion(),
      description='Arduino-based peltier controller firmware and Python API.',
      author='Ryan Fobel',
      author_email='*****@*****.**',
      url='https://github.com/wheeler-microfluidics/peltier-controller-firmware',
      license='GPLv2',
      packages=['peltier_controller'],
      package_data=peltier_controller_files,
      install_requires=['wheeler.base-node'])


@task
def create_config():
    sketch_directory = path(peltier_controller.get_sketch_directory())
    sketch_directory.joinpath('Config.h.skeleton').copy(sketch_directory
                                                        .joinpath('Config.h'))
Exemplo n.º 9
0
                         extra_compile_args=['-O3'],
                         include_dirs=['cythrust'])
               for f in pyx_files]

ext_modules = cythonize(ext_modules)


setup(name='cythrust',
      version=version.getVersion(),
      description='Cython bindings for the Thrust parallel library.',
      keywords='cython thrust cuda gpu numpy',
      author='Christian Fobel',
      url='https://github.com/cfobel/cythrust',
      license='GPL',
      packages=['cythrust'],
      package_data=find_package_data('cythrust', package='cythrust',
                                     only_in_packages=False),
      ext_modules=ext_modules,
      install_requires=['pandas', 'Cybuild', 'jinja2', 'theano-helpers'])


@task
def build_ext():
    pass


@task
@needs('build_ext', 'generate_setup', 'minilib', 'setuptools.command.sdist')
def sdist():
    """Overrides sdist to make sure that our setup.py is generated."""
    pass
from paver.setuputils import find_package_data

from paver.easy import *
from paver import setuputils
setuputils.install_distutils_tasks()

execfile(os.path.join('bespin', '__init__.py'))

options(
    staticdir="",
    server_base_url="/",
    setup=Bunch(name="BespinServer",
                version=VERSION,
                packages=find_packages(),
                package_data=find_package_data('bespin',
                                               'bespin',
                                               only_in_packages=False),
                entry_points="""
[console_scripts]
bespin_worker=bespin.queue:process_queue
queue_stats=bespin.queuewatch:command
telnet_mobwrite=bespin.mobwrite.mobwrite_daemon:process_mobwrite
bespin_mobwrite=bespin.mobwrite.mobwrite_web:start_server
"""),
    server=Bunch(
        # set to true to allow connections from other machines
        address="",
        port=8080,
        try_build=False,
        dburl=None,
        async=False,
Exemplo n.º 11
0
    minilib=Bunch(extra_files=['virtual', 'doctools']),
    sphinx=Bunch(
      docroot='docs',
      builddir="_build",
      sourcedir=""
      ),
    virtualenv=Bunch(
      packages_to_install=['pip'],
      dest_dir='./',
      install_paver=True,
      script_name='bootstrap.py',
      paver_command_line='post_bootstrap'
      ),
    )

options.setup.package_data=find_package_data(package='GeoNode',
                                             only_in_packages=False)

venv = os.environ.get('VIRTUAL_ENV')

@task
def install_deps(options):
    """
    Installs all the python deps from a requirments file
    """
    bundle = path('shared/geonode.bundle')
    if bundle.exists():
        info('using to install python deps bundle')
        sh("pip install %s" %bundle)    
    else:
        info('installing from requirements file')
        sh("pip install -r shared/geonode-requirments.txt")
Exemplo n.º 12
0
from paver.easy import *
import paver.virtual
import paver.setuputils
from paver.setuputils import setup, find_package_data, find_packages

options = environment.options
setup(
    name='imobilesync',
    version='0.1',
    description='',
    author='Bryan Forbes',
    author_email='*****@*****.**',
    url='',
    install_requires=['vobject'],
    packages=['imobilesync', 'imobilesync.data'],
    package_data=find_package_data('imobilesync', package='imobilesync', only_in_packages=False),
    zip_safe=True,
    #test_suite='nose.collector',
    #setup_requires=['nose>=0.11'],
    entry_points="""
        [console_scripts]
        imobilesync = imobilesync.commands:main
    """
)
options(
    minilib=Bunch(
        extra_files=['virtual']
    ),
    virtualenv=Bunch(
        packages_to_install=["ipython"],
        paver_command_line='develop',
Exemplo n.º 13
0
from paver.setuputils import setup
from paver.setuputils import find_package_data
from paver.easy import *

setup(
	name="pypsd",
	packages=['pypsd'],
	package_data=find_package_data('pypsd', 'pypsd', only_in_packages=False),
	version="0.1.3",
	url="http://code.google.com/p/pypsd",
	author="Aleksandr Motsjonov",
	author_email="*****@*****.**",
)

@task
@needs('setuptools.command.sdist')
def sdist():
	"""Overrides sdist to make sure that our setup.py is generated."""
	pass
Exemplo n.º 14
0
     Intended Audience :: Science/Research
     License :: OSI Approved :: MIT License
     Operating System :: OS Independent
     Programming Language :: Python
     Topic :: Internet
     Topic :: Internet :: WWW/HTTP :: WSGI
     Topic :: Scientific/Engineering
     Topic :: Software Development :: Libraries :: Python Modules
 '''.split('\n'))),
 author='Roberto De Almeida',
 author_email='*****@*****.**',
 url='http://pydap.org/',
 license='MIT',
 packages=find_packages(),
 package_data=find_package_data("pydap",
                                package="pydap",
                                only_in_packages=False),
 include_package_data=True,
 zip_safe=False,
 namespace_packages=[
     'pydap', 'pydap.responses', 'pydap.handlers', 'pydap.wsgi'
 ],
 test_suite='nose.collector',
 dependency_links=[],
 install_requires=[
     'numpy',
     'httplib2>=0.4.0',
     'Genshi',
     'Paste',
     'PasteScript',
     'PasteDeploy',
Exemplo n.º 15
0
from pprint import pprint
import sys

from paver.easy import task, needs, path, sh, cmdopts, options
from paver.setuputils import setup, find_package_data

import version
sys.path.append(path('.').abspath())
import blink

blink_files = find_package_data(package='blink',
                                where='blink',
                                only_in_packages=False)
pprint(blink_files)

DEFAULT_ARDUINO_BOARDS = ['diecimila', 'uno', 'mega2560']

setup(name='wheeler.blink',
      version=version.getVersion(),
      description='Example Arduino sketch packaged as Python package.',
      author='Christian Fobel',
      author_email='*****@*****.**',
      url='http://github.com/wheeler-microfluidics/blink.git',
      license='GPLv2',
      packages=['blink'],
      package_data=blink_files)


@task
@cmdopts([('sconsflags=', 'f', 'Flags to pass to SCons.'),
          ('boards=', 'b', 'Comma-separated list of board names to compile '
Exemplo n.º 16
0
if platform == "mac":
    install_requires.append('appscript')

options(
    setup=Bunch(
        name="W3TestRunner",
        version="0.2",
        packages=find_packages(),
        zip_safe=False,
        entry_points={
            'console_scripts': [
                'testrunner = w3testrunner.runner:main',
            ]
        },
        install_requires = install_requires,
        package_data=find_package_data('w3testrunner', 'w3testrunner',
                                       only_in_packages=False),
        author="Sylvain Pasche",
        author_email="*****@*****.**",
        license="BSD",
        keywords="browser testing",
        url="http://www.browsertests.org/",
        test_suite="nose.collector",
        test_runner="unittest:TextTestRunner",
        tests_require=["nose"],
    ),
    virtualenv=Bunch(
        packages_to_install=["."],
        paver_command_line="post_install",
    ),
)
Exemplo n.º 17
0
from pprint import pprint
import sys

from paver.easy import task, needs, path, sh, cmdopts, options
from paver.setuputils import setup, find_package_data

import version
sys.path.append(path('.').abspath())
import simple_rpc
from simple_rpc.proto import (get_protobuf_definitions,
                              get_command_processor_header)


simple_rpc_files = find_package_data(package='simple_rpc', where='simple_rpc',
                                     only_in_packages=False)
pprint(simple_rpc_files)

DEFAULT_ARDUINO_BOARDS = ['mega2560']

setup(name='wheeler.simple_rpc',
      version=version.getVersion(),
      description='Simple Arduino RPC node packaged as Python package.',
      author='Christian Fobel',
      author_email='*****@*****.**',
      url='http://github.com/wheeler-microfluidics/simple_rpc.git',
      license='GPLv2',
      packages=['simple_rpc'],
      package_data=simple_rpc_files)


@task
Exemplo n.º 18
0
setup(name='lifescore',
      version='0.0',
      description='lifescore',
      long_description=README + '\n\n' +  CHANGES,
      classifiers=[
        "Programming Language :: Python",
        "Framework :: Pylons",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
        ],
      author='',
      author_email='',
      url='',
      keywords='web wsgi bfg pylons pyramid',
      packages=find_package_data(),
      include_package_data=True,
      zip_safe=False,
      test_suite='lifescore',
      install_requires = requires,
      entry_points = """\
      [paste.app_factory]
      main = lifescore:main
      """,
      paster_plugins=['pyramid'],
      )

options(
    DB=Bunch(
        host='localhost',
        user='******',
Exemplo n.º 19
0
    from github.tools.task import *
    import paver.doctools
    import paver.virtual
    import paver.misctasks
    ALL_TASKS_LOADED = True
except ImportError, e:
    info("some tasks could not not be imported.")
    debug(str(e))
    ALL_TASKS_LOADED = False

setuputils.standard_exclude+=('.gitignore',)
setuputils.standard_exclude_directories+=('.git',)


PACKAGE_DATA = setuputils.find_package_data(PROJECT, 
                                            package=PROJECT,
                                            only_in_packages=False,)

version = '0.1-alpha'

classifiers = [
    # Get more strings from http://www.python.org/pypi?%3Aaction=list_classifiers
    "Development Status :: 3 - Alpha",
    "Intended Audience :: Developers",
    "License :: OSI Approved :: BSD License",
    "Operating System :: MacOS :: MacOS X",
    "Operating System :: POSIX",
    "Programming Language :: Python",
    "Programming Language :: JavaScript",
    "Topic :: Database",
    "Topic :: Text Processing :: Indexing"
Exemplo n.º 20
0
from pprint import pprint
import sys

from paver.easy import task, needs, path, sh, cmdopts, options
from paver.setuputils import setup, find_package_data

import version
sys.path.append(path('.').abspath())
import blink

blink_files = find_package_data(package='blink', where='blink',
                                only_in_packages=False)
pprint(blink_files)

DEFAULT_ARDUINO_BOARDS = ['diecimila', 'uno', 'mega2560']

setup(name='wheeler.blink',
      version=version.getVersion(),
      description='Example Arduino sketch packaged as Python package.',
      author='Christian Fobel',
      author_email='*****@*****.**',
      url='http://github.com/wheeler-microfluidics/blink.git',
      license='GPLv2',
      packages=['blink'],
      package_data=blink_files)


@task
@cmdopts([('sconsflags=', 'f', 'Flags to pass to SCons.'),
          ('boards=', 'b', 'Comma-separated list of board names to compile '
           'for (e.g., `uno`).')])
Exemplo n.º 21
0
from paver.setuputils import setup
from paver.setuputils import find_package_data
from paver.easy import *

setup(
    name="pypsd",
    packages=['pypsd'],
    package_data=find_package_data('pypsd', 'pypsd', only_in_packages=False),
    version="0.1.3",
    url="http://code.google.com/p/pypsd",
    author="Aleksandr Motsjonov",
    author_email="*****@*****.**",
)


@task
@needs('setuptools.command.sdist')
def sdist():
    """Overrides sdist to make sure that our setup.py is generated."""
    pass
Exemplo n.º 22
0
setup(
    name="FlexGet",
    version="1.2",  # our tasks append the .1234 (current build number) to the version number
    description="FlexGet is a program aimed to automate downloading or processing content (torrents, podcasts, etc.) "
    "from different sources like RSS-feeds, html-pages, various sites and more.",
    long_description=long_description,
    author="Marko Koivusalo",
    author_email="*****@*****.**",
    license="MIT",
    url="http://flexget.com",
    download_url="http://download.flexget.com",
    install_requires=install_requires,
    packages=find_packages(exclude=["tests"]),
    package_data=find_package_data(
        "flexget", package="flexget", exclude=["FlexGet.egg-info", "*.pyc"], only_in_packages=False
    ),  # NOTE: the exclude does not seem to work
    zip_safe=False,
    test_suite="nose.collector",
    extras_require={
        "memusage": ["guppy"],
        "NZB": ["pynzb"],
        "TaskTray": ["pywin32"],
        "webui": ["flask>=0.7", "cherrypy"],
    },
    entry_points=entry_points,
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
Exemplo n.º 23
0
from paver.easy import task, needs, path, sh, cmdopts, options
from paver.setuputils import setup, find_package_data

import version
sys.path.append(path('.').abspath())
from signal_generator_board_rpc import get_sketch_directory, package_path
try:
    from arduino_rpc.proto import CodeGenerator
except ImportError:
    import warnings

    warnings.warn('Could not import `clang`-based code-generator.')


signal_generator_board_rpc_files = find_package_data(
    package='signal_generator_board_rpc', where='signal_generator_board_rpc',
    only_in_packages=False)
pprint(signal_generator_board_rpc_files)

PROTO_PREFIX = 'commands'

DEFAULT_ARDUINO_BOARDS = ['uno']

setup(name='wheeler.signal_generator_board_rpc',
      version=version.getVersion(),
      description='Arduino RPC node packaged as Python package.',
      author='Christian Fobel',
      author_email='*****@*****.**',
      url='http://github.com/wheeler-microfluidics/signal_generator_board_rpc.git',
      license='GPLv2',
      install_requires=['arduino_rpc'],
Exemplo n.º 24
0
from pprint import pprint
import sys

from paver.easy import task, needs, path, sh, cmdopts, options
from paver.setuputils import setup, find_package_data

import version
sys.path.append(path('.').abspath())
import simple_rpc
from simple_rpc.proto import (get_protobuf_definitions,
                              get_command_processor_header)

simple_rpc_files = find_package_data(package='simple_rpc',
                                     where='simple_rpc',
                                     only_in_packages=False)
pprint(simple_rpc_files)

DEFAULT_ARDUINO_BOARDS = ['mega2560']

setup(name='wheeler.simple_rpc',
      version=version.getVersion(),
      description='Simple Arduino RPC node packaged as Python package.',
      author='Christian Fobel',
      author_email='*****@*****.**',
      url='http://github.com/wheeler-microfluidics/simple_rpc.git',
      license='GPLv2',
      packages=['simple_rpc'],
      package_data=simple_rpc_files)


@task
Exemplo n.º 25
0
            Intended Audience :: Science/Research
            License :: OSI Approved :: MIT License
            Operating System :: OS Independent
            Programming Language :: Python
            Topic :: Internet
            Topic :: Internet :: WWW/HTTP :: WSGI
            Topic :: Scientific/Engineering
            Topic :: Software Development :: Libraries :: Python Modules
        '''.split('\n'))),
        author='Roberto De Almeida',
        author_email='*****@*****.**',
        url='http://pydap.org/',
        license='MIT',

        packages=find_packages(),
        package_data=find_package_data("pydap", package="pydap",
                only_in_packages=False),
        include_package_data=True,
        zip_safe=False,
        namespace_packages=['pydap', 'pydap.responses', 'pydap.handlers', 'pydap.wsgi'],

        test_suite='nose.collector',

        dependency_links=[],
        install_requires=[
            'numpy',
            'httplib2>=0.4.0',
            'Genshi',
            'Paste',
            'PasteScript',
            'PasteDeploy',
        ],
import platform
import os
from pprint import pprint
import sys

from paver.easy import task, needs, path, sh, cmdopts, options
from paver.setuputils import setup, find_package_data

import version
sys.path.append(path('.').abspath())
from dmf_control_board_rpc import get_sketch_directory, package_path
from arduino_rpc.proto import CodeGenerator


dmf_control_board_rpc_files = find_package_data(package=
                                                'dmf_control_board_rpc',
                                                where= 'dmf_control_board_rpc',
                                                only_in_packages=False)
pprint(dmf_control_board_rpc_files)

PROTO_PREFIX = 'commands'

DEFAULT_ARDUINO_BOARDS = ['mega2560']

setup(name='wheeler.dmf_control_board_rpc',
      version=version.getVersion(),
      description='Arduino RPC node packaged as Python package.',
      author='Christian Fobel',
      author_email='*****@*****.**',
      url='http://github.com/wheeler-microfluidics/dmf_control_board_rpc.git',
      license='GPLv2',
      install_requires=['nadamq', 'path_helpers', 'arduino_helpers',
Exemplo n.º 27
0
setup(
    name='FlexGet',
    version='1.2',  # our tasks append the .1234 (current build number) to the version number
    description='FlexGet is a program aimed to automate downloading or processing content (torrents, podcasts, etc.) '
                'from different sources like RSS-feeds, html-pages, various sites and more.',
    long_description=long_description,
    author='Marko Koivusalo',
    author_email='*****@*****.**',
    license='MIT',
    url='http://flexget.com',
    download_url='http://download.flexget.com',
    install_requires=install_requires,
    packages=find_packages(exclude=['tests']),
    package_data=find_package_data('flexget', package='flexget',
        exclude=['FlexGet.egg-info', '*.pyc'],
        only_in_packages=False),  # NOTE: the exclude does not seem to work
    zip_safe=False,
    test_suite='nose.collector',
    extras_require={
        'memusage': ['guppy'],
        'NZB': ['pynzb'],
        'TaskTray': ['pywin32'],
        'webui': ['flask>=0.7', 'cherrypy']
    },
    entry_points=entry_points,
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
Exemplo n.º 28
0
        [paste.app_factory]
        main = demisauce.config.middleware:make_app

        [paste.paster_command]
        dataload = demisauce.websetup:SetupTestData
    
        [paste.app_install]
        main = demisauce.lib.dsinstaller:DemisauceInstaller
        """
    ),
    sphinx=Bunch(
            builddir=".build"
    )
)

options.setup.package_data=setuputils.find_package_data("demisauce", package="demisauce",
                                                only_in_packages=False)

@task
@needs('paver.doctools.html')
def htmlnot():
    """Build the docs and put them into our package."""
    builtdocs = path("docs") / options.sphinx.builddir / "html"
    destdir = path('htmldocs')
    destdir.rmtree()
    builtdocs.move(destdir)
    



Exemplo n.º 29
0
setup(
    name='FlexGet',
    version=__version__,  # release task may edit this
    description='FlexGet is a program aimed to automate downloading or processing content (torrents, podcasts, etc.) '
                'from different sources like RSS-feeds, html-pages, various sites and more.',
    long_description=long_description,
    author='Marko Koivusalo',
    author_email='*****@*****.**',
    license='MIT',
    url='http://flexget.com',
    download_url='http://download.flexget.com',
    install_requires=install_requires,
    packages=find_packages(exclude=['tests']),
    package_data=find_package_data('flexget', package='flexget',
                                   exclude=['FlexGet.egg-info', '*.pyc'],
                                   exclude_directories=['node_modules', 'bower_components', '.tmp'],
                                   only_in_packages=False),  # NOTE: the exclude does not seem to work
    zip_safe=False,
    test_suite='nose.collector',
    extras_require={
        'memusage': ['guppy'],
        'NZB': ['pynzb'],
        'TaskTray': ['pywin32'],
    },
    entry_points=entry_points,
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2",
Exemplo n.º 30
0
ZIP_SAFE = True

setup(
    name="dyce",
    version=__version__,
    author="David Eyk",
    author_email="*****@*****.**",
    url="http://github.com/eykd/dyce/",
    description=__description__,
    long_description=__long_description__,
    download_url="http://pypi.python.org/pypi/dyce/",
    classifiers=__classifiers__,
    package_dir={"": "dyce"},
    packages=find_package_data(
        "dyce",
        exclude=("*.py", "*.pyc", "*~", ".*", "*.bak", "*.swp*"),
        exclude_directories=(".*", ".svn", "./lib", "./build", "./dist", "EGG-INFO", "*.egg-info"),
    ),
    include_package_data=True,
    exclude_package_data={"": ["*.c", "*.h", "*.pyx", "*.pxd", "*.g"]},
    install_requires=INSTALL_REQUIRES,
    zip_safe=ZIP_SAFE,
    test_suite="nose.collector",
)

options(
    minilib=Bunch(extra_files=["doctools", "virtual"]),
    virtualenv=Bunch(
        script_name="bootstrap.py",
        packages_to_install=["epydoc", "sphinx", "nose", "testoob", "ipython", "pyflakes"],
        paver_command_line="_virtualenv_post",
Exemplo n.º 31
0
      keywords     = 'robotframework testing testautomation',
      platforms    = 'any',
      classifiers  = """
Development Status :: 5 - Production/Stable
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
Programming Language :: Python
Topic :: Software Development :: Testing
          """.strip().splitlines(),
      author       = 'Robot Framework Developers',
      author_email = '*****@*****.**',
      url          = 'https://github.com/robotframework/RIDE/',
      download_url = 'https://github.com/robotframework/RIDE/releases/',
      package_dir  = {'' : str(SOURCE_DIR)},
      packages     = find_packages(str(SOURCE_DIR)),
      package_data = find_package_data(str(SOURCE_DIR)),
      # Robot Framework package data is not included, but RIDE does not need it.
      # # Always install everything, since we may be switching between versions
      options      = { 'install': { 'force' : True } },
      scripts      = ['src/bin/ride.py', 'ride_postinstall.py'],
      install_requires = ['Pygments']
      )


@task
@consume_args
def run(args):
    """Start development version of RIDE"""
    _set_development_path()
    from robotide import main
    main(*args)
Exemplo n.º 32
0
sys.path.insert(0, '.')
import version
install_distutils_tasks()

DEFAULT_ARDUINO_BOARDS = ['uno', 'mega2560']
PROJECT_PREFIX = [d for d in path('.').dirs()
                  if d.joinpath('Arduino').isdir()][0].name
rpc_module = import_module(PROJECT_PREFIX)
VERSION = version.getVersion()
URL='http://github.com/wheeler-microfluidics/%s.git' % PROJECT_PREFIX
PROPERTIES = OrderedDict([('name', PROJECT_PREFIX),
                          ('manufacturer', 'Wheeler Lab'),
                          ('software_version', VERSION),
                          ('url', URL)])
package_files = find_package_data(package=PROJECT_PREFIX, where=PROJECT_PREFIX,
                                  only_in_packages=False)

options(
    rpc_module=rpc_module,
    PROPERTIES=PROPERTIES,
    base_classes=['BaseNodeEeprom',
                  'BaseNodeI2c',
                  'BaseNodeI2cHandler',
                  'BaseNodeConfig<ConfigMessage, Address>',
                  'BaseNodeState<StateMessage>'],
    rpc_classes=['demo_rpc::Node'],
    DEFAULT_ARDUINO_BOARDS=DEFAULT_ARDUINO_BOARDS,
    setup=dict(name='wheeler.' + PROJECT_PREFIX,
               version=VERSION,
               description='Arduino RPC node packaged as Python package.',
               author='Christian Fobel',