<commit_before>import distutils.cmd
import distutils.log
import subprocess
import os
from setuptools import setup

class CudaCommand(distutils.cmd.Command):

    description = "Compile CUDA sources"
    user_options = [
        ("gcc=", None, "Path to the gcc compiler."),
        ("nvcc=", None, "Path to the Nvidia nvcc compiler."),
    ]

    def run(self):
        srcPath = os.path.abspath("./phi/physics/pressuresolver/cuda/src")
        buildPath = os.path.abspath("./phi/physics/pressuresolver/cuda/build")
        print("Source Path:\t" + srcPath)
        print("Build Path:\t" + buildPath)

        # Get TF Compile/Link Flags and write to env
        import tensorflow as tf
        TF_CFLAGS = tf.sysconfig.get_compile_flags()
        TF_LFLAGS = tf.sysconfig.get_link_flags()

        # Remove old build files
        if os.path.isdir(buildPath):
            print("Removing old build files from %s" % buildPath)
            for f in os.listdir(buildPath):
                os.remove(os.path.join(buildPath, f))
        else:
            print("Creating build directory at %s" % buildPath)
            os.mkdir(buildPath)

        print("Compiling CUDA code...")
        # Build the Laplace Matrix Generation CUDA Kernels
        subprocess.check_call(
            [
                self.nvcc,
                "-std=c++11",
                "-c",
                "-o",
                os.path.join(buildPath, "laplace_op.cu.o"),
                os.path.join(srcPath, "laplace_op.cu.cc"),
                "-x",
                "cu",
                "-Xcompiler",
                "-fPIC"
            ]
            + TF_CFLAGS
        )

        # Build the Laplace Matrix Generation Custom Op
        # This is only needed for the Laplace Matrix Generation Benchmark
        subprocess.check_call(
            [
                self.gcc,
                "-std=c++11",
                "-shared",
                "-o",
                os.path.join(buildPath, "laplace_op.so"),
                os.path.join(srcPath, "laplace_op.cc"),
                os.path.join(buildPath, "laplace_op.cu.o"),
                "-fPIC"
            ]
            + TF_CFLAGS
            + TF_LFLAGS
        )

        # Build the Pressure Solver CUDA Kernels
        subprocess.check_call(
            [
                self.nvcc,
                "-std=c++11",
                "-c",
                "-lcublas",
                "-o",
                os.path.join(buildPath, "pressure_solve_op.cu.o"),
                os.path.join(srcPath, "pressure_solve_op.cu.cc"),
                "-x", "cu",
                "-Xcompiler",
                "-fPIC"
            ]
            + TF_CFLAGS
        )

        # Build the Pressure Solver Custom Op
        subprocess.check_call(
            [
                self.gcc,
                "-std=c++11",
                "-shared",
                "-o",
                os.path.join(buildPath, "pressure_solve_op.so"),
                os.path.join(srcPath, "pressure_solve_op.cc"),
                os.path.join(buildPath, "pressure_solve_op.cu.o"),
                os.path.join(buildPath, "laplace_op.cu.o"),
                "-fPIC"
            ]
            + TF_CFLAGS
            + TF_LFLAGS
        )

    def initialize_options(self):
        self.gcc = "gcc"
        self.nvcc = "nvcc"

    def finalize_options(self):
        assert os.path.isfile(self.gcc) or self.gcc == "gcc"
        assert os.path.isfile(self.nvcc) or self.nvcc == "nvcc"

extras = {
    'gui': ["dash",
            "dash-renderer",
            "dash-html-components",
            "dash-core-components",
            "plotly"],
}

setup(
    name='phiflow',
    version='0.4.1',
    packages=['phi',
              'phi.app',
              'phi.data',
              'phi.geom',
              'phi.local',
              'phi.math',
              'phi.physics',
              'phi.physics.field',
              'phi.physics.pressuresolver',
              'phi.struct',
              'phi.tf',
              'phi.viz'],
    cmdclass={
        "cuda": CudaCommand,
    },
    include_package_data=True,
    url='https://bitbucket.org/thunil/mantaflowgit/src/PhiFlow/',
    license='Apache License, Version 2.0',
    author='Philipp Holl',
    author_email='philipp.holl@tum.de',
    description='Fully Differentiable Grid-based Fluid Simulations on the GPU',
    install_requires=['six'],
    extras_require=extras
)
<commit_msg>Bump version to 0.4.2<commit_after>import distutils.cmd
import distutils.log
import subprocess
import os
from setuptools import setup

class CudaCommand(distutils.cmd.Command):

    description = "Compile CUDA sources"
    user_options = [
        ("gcc=", None, "Path to the gcc compiler."),
        ("nvcc=", None, "Path to the Nvidia nvcc compiler."),
    ]

    def run(self):
        srcPath = os.path.abspath("./phi/physics/pressuresolver/cuda/src")
        buildPath = os.path.abspath("./phi/physics/pressuresolver/cuda/build")
        print("Source Path:\t" + srcPath)
        print("Build Path:\t" + buildPath)

        # Get TF Compile/Link Flags and write to env
        import tensorflow as tf
        TF_CFLAGS = tf.sysconfig.get_compile_flags()
        TF_LFLAGS = tf.sysconfig.get_link_flags()

        # Remove old build files
        if os.path.isdir(buildPath):
            print("Removing old build files from %s" % buildPath)
            for f in os.listdir(buildPath):
                os.remove(os.path.join(buildPath, f))
        else:
            print("Creating build directory at %s" % buildPath)
            os.mkdir(buildPath)

        print("Compiling CUDA code...")
        # Build the Laplace Matrix Generation CUDA Kernels
        subprocess.check_call(
            [
                self.nvcc,
                "-std=c++11",
                "-c",
                "-o",
                os.path.join(buildPath, "laplace_op.cu.o"),
                os.path.join(srcPath, "laplace_op.cu.cc"),
                "-x",
                "cu",
                "-Xcompiler",
                "-fPIC"
            ]
            + TF_CFLAGS
        )

        # Build the Laplace Matrix Generation Custom Op
        # This is only needed for the Laplace Matrix Generation Benchmark
        subprocess.check_call(
            [
                self.gcc,
                "-std=c++11",
                "-shared",
                "-o",
                os.path.join(buildPath, "laplace_op.so"),
                os.path.join(srcPath, "laplace_op.cc"),
                os.path.join(buildPath, "laplace_op.cu.o"),
                "-fPIC"
            ]
            + TF_CFLAGS
            + TF_LFLAGS
        )

        # Build the Pressure Solver CUDA Kernels
        subprocess.check_call(
            [
                self.nvcc,
                "-std=c++11",
                "-c",
                "-lcublas",
                "-o",
                os.path.join(buildPath, "pressure_solve_op.cu.o"),
                os.path.join(srcPath, "pressure_solve_op.cu.cc"),
                "-x", "cu",
                "-Xcompiler",
                "-fPIC"
            ]
            + TF_CFLAGS
        )

        # Build the Pressure Solver Custom Op
        subprocess.check_call(
            [
                self.gcc,
                "-std=c++11",
                "-shared",
                "-o",
                os.path.join(buildPath, "pressure_solve_op.so"),
                os.path.join(srcPath, "pressure_solve_op.cc"),
                os.path.join(buildPath, "pressure_solve_op.cu.o"),
                os.path.join(buildPath, "laplace_op.cu.o"),
                "-fPIC"
            ]
            + TF_CFLAGS
            + TF_LFLAGS
        )

    def initialize_options(self):
        self.gcc = "gcc"
        self.nvcc = "nvcc"

    def finalize_options(self):
        assert os.path.isfile(self.gcc) or self.gcc == "gcc"
        assert os.path.isfile(self.nvcc) or self.nvcc == "nvcc"

extras = {
    'gui': ["dash",
            "dash-renderer",
            "dash-html-components",
            "dash-core-components",
            "plotly"],
}

setup(
    name='phiflow',
    version='0.4.2',
    packages=['phi',
              'phi.app',
              'phi.data',
              'phi.geom',
              'phi.local',
              'phi.math',
              'phi.physics',
              'phi.physics.field',
              'phi.physics.pressuresolver',
              'phi.struct',
              'phi.tf',
              'phi.viz'],
    cmdclass={
        "cuda": CudaCommand,
    },
    include_package_data=True,
    url='https://bitbucket.org/thunil/mantaflowgit/src/PhiFlow/',
    license='Apache License, Version 2.0',
    author='Philipp Holl',
    author_email='philipp.holl@tum.de',
    description='Fully Differentiable Grid-based Fluid Simulations on the GPU',
    install_requires=['six'],
    extras_require=extras
)
<|endoftext|>


<commit_before>import os
from setuptools import setup, find_packages

requires = [
        "Flask==0.10.1",
        "celery==3.1.5",
        "redis==2.8.0",
        "hiredis==0.1.1",
        "requests==2.0.1",
        "furl==0.3.6",
        "python-dateutil==2.2",
        "gevent==1.0",
        "grequests==0.2.0",
]

if os.environ.has_key('MOZ_UPHEADLINER_DEV'):
    requires.extend([
        "ipython==1.1.0",
        "nose==1.3.0",
    ])
if os.environ.has_key('MOZ_UPHEADLINER_PROD'):
    requires.extend([
        "uWSGI==1.9.20",
    ])

setup(
        name = "headliner",
        version = "0.1",
        description = "Demo content provider based on Mozilla UP interests",
        author = "Mozilla",
        packages=find_packages(),
        package_data={"": ["*.lua"]},
        include_package_data=True,
        install_requires = requires,
        scripts=["scripts/up-headliner-server"],
)
<commit_msg>switch to using gunicorn for production deployment<commit_after>import os
from setuptools import setup, find_packages

requires = [
        "Flask==0.10.1",
        "celery==3.1.5",
        "redis==2.8.0",
        "hiredis==0.1.1",
        "requests==2.0.1",
        "furl==0.3.6",
        "python-dateutil==2.2",
        "gevent==1.0",
        "grequests==0.2.0",
]

if os.environ.has_key('MOZ_UPHEADLINER_DEV'):
    requires.extend([
        "ipython==1.1.0",
        "nose==1.3.0",
    ])
if os.environ.has_key('MOZ_UPHEADLINER_PROD'):
    requires.extend([
        "gunicorn==18.0",
    ])

setup(
        name = "headliner",
        version = "0.1",
        description = "Demo content provider based on Mozilla UP interests",
        author = "Mozilla",
        packages=find_packages(),
        package_data={"": ["*.lua"]},
        include_package_data=True,
        install_requires = requires,
        scripts=["scripts/up-headliner-server"],
)
<|endoftext|>


<commit_before>try:
    from setuptools import setup, find_packages
except ImportError:
    from ez_setup import use_setuptools
    use_setuptools()
    from setuptools import setup, find_packages

version = '0.9.7beta5'

setup(
    name="Pylons",
    version=version,
    description='Pylons Web Framework',
    long_description="""
Pylons
======

The Pylons web framework is aimed at making webapps and large programmatic
website development in Python easy. Several key points:

* A framework to make writing web applications in Python easy

* Utilizes a minimalist, component-based philosophy that makes it easy to
  expand on

* Harness existing knowledge about Python

Knowing Python makes Pylons easy
---------------------------------

Pylons makes it easy to expand on your knowledge of Python to master Pylons for
web development. Using a MVC style dispath, Python knowledge is used at various
levels:

* The Controller is just a basic Python class, called for each
  request. Customizing the response is as easy as overriding __call__ to make
  your webapp work how you want.

* Mako templating compiles directly to Python byte-code for speed and utilizes
  Python for template control rather than creating its own template syntax for
  "for, while, etc"

Current Status
---------------

Pylons %s described on this page is stable.

There is also an unstable `develoment version
<https://www.knowledgetap.com/hg/pylons-dev/archive/tip.tar.gz#egg=Pylons-dev>`_ of Pylons.

Download and Installation
-------------------------

Pylons can be installed with `Easy Install
<http://peak.telecommunity.com/DevCenter/EasyInstall>`_ by typing::

    > easy_install Pylons

Dependant packages are automatically installed from
the `Pylons download page <http://pylonshq.com/download/>`_ .

""" % version,
    keywords='web wsgi framework sqlalchemy formencode mako templates buffet',
    license='BSD',
    author='Ben Bangert, Philip Jenvey, James Gardner',
    author_email='ben@groovie.org, pjenvey@underboss.org',
    url='http://www.pylonshq.com/',
    packages=find_packages(exclude=['ez_setup']),
    zip_safe=False,
    include_package_data=True,
    test_suite='nose.collector',
    tests_require=['nose'],
    install_requires=[
        "Routes>=1.8", "WebHelpers>=0.6dev-20080410", "Beaker>=0.9.4",
        "Paste>=1.6", "PasteDeploy>=1.3.1", "PasteScript==dev,>=1.6.3dev-r7370",
        "FormEncode>=1.0.1", "simplejson>=1.8.1", "decorator>=2.2.0",
        "nose>=0.10.1", "Mako>=0.1.10", "WebOb>=0.9.1", "WebError>=0.8a",
        "Tempita>=0.2",
    ],
    dependency_links=[
        "http://www.pylonshq.com/download/0.9.7"
    ],
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: BSD License",
        "Framework :: Pylons",
        "Programming Language :: Python",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
        "Topic :: Internet :: WWW/HTTP :: WSGI",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
    extras_require = {
        'pudge': ["docutils>=0.4", "elementtree>=1.2.6", "kid>=0.9",
                  "Pygments>=0.7", "pudge>=0.1.3",
                  "buildutils>=0.1.2"],
        'cheetah':["Cheetah>=1.0", "TurboCheetah>=0.9.5"],
        'myghty':["Myghty>=1.1"],
        'kid':["kid>=0.9", "TurboKid>=0.9.1"],
        'genshi':["Genshi>=0.3.6"],
        'full':[
            "docutils>=0.4", "elementtree>=1.2.6",
            "Pygments>=0.7", "pudge>=0.1.3",
            "buildutils>=0.1.2", "Cheetah>=1.0",
            "TurboCheetah>=0.9.5", "kid>=0.9", "TurboKid>=0.9.1",
            "TurboJson>=1.1.1", 'Genshi>=0.4.4',
        ],
    },
    entry_points="""
    [paste.paster_command]
    controller = pylons.commands:ControllerCommand
    restcontroller = pylons.commands:RestControllerCommand
    shell = pylons.commands:ShellCommand

    [paste.paster_create_template]
    pylons = pylons.util:PylonsTemplate
    pylons_minimal = pylons.util:MinimalPylonsTemplate

    [python.templating.engines]
    pylonsmyghty = pylons.templating:MyghtyTemplatePlugin [myghty]

    [nose.plugins]
    pylons = pylons.test:PylonsPlugin
    """,
)
<commit_msg>Updating for latest webheleprs<commit_after>try:
    from setuptools import setup, find_packages
except ImportError:
    from ez_setup import use_setuptools
    use_setuptools()
    from setuptools import setup, find_packages

version = '0.9.7beta5'

setup(
    name="Pylons",
    version=version,
    description='Pylons Web Framework',
    long_description="""
Pylons
======

The Pylons web framework is aimed at making webapps and large programmatic
website development in Python easy. Several key points:

* A framework to make writing web applications in Python easy

* Utilizes a minimalist, component-based philosophy that makes it easy to
  expand on

* Harness existing knowledge about Python

Knowing Python makes Pylons easy
---------------------------------

Pylons makes it easy to expand on your knowledge of Python to master Pylons for
web development. Using a MVC style dispath, Python knowledge is used at various
levels:

* The Controller is just a basic Python class, called for each
  request. Customizing the response is as easy as overriding __call__ to make
  your webapp work how you want.

* Mako templating compiles directly to Python byte-code for speed and utilizes
  Python for template control rather than creating its own template syntax for
  "for, while, etc"

Current Status
---------------

Pylons %s described on this page is stable.

There is also an unstable `develoment version
<https://www.knowledgetap.com/hg/pylons-dev/archive/tip.tar.gz#egg=Pylons-dev>`_ of Pylons.

Download and Installation
-------------------------

Pylons can be installed with `Easy Install
<http://peak.telecommunity.com/DevCenter/EasyInstall>`_ by typing::

    > easy_install Pylons

Dependant packages are automatically installed from
the `Pylons download page <http://pylonshq.com/download/>`_ .

""" % version,
    keywords='web wsgi framework sqlalchemy formencode mako templates buffet',
    license='BSD',
    author='Ben Bangert, Philip Jenvey, James Gardner',
    author_email='ben@groovie.org, pjenvey@underboss.org',
    url='http://www.pylonshq.com/',
    packages=find_packages(exclude=['ez_setup']),
    zip_safe=False,
    include_package_data=True,
    test_suite='nose.collector',
    tests_require=['nose'],
    install_requires=[
        "Routes>=1.8", "WebHelpers>=0.6dev-20080601", "Beaker>=0.9.4",
        "Paste>=1.6", "PasteDeploy>=1.3.1", "PasteScript==dev,>=1.6.3dev-r7370",
        "FormEncode>=1.0.1", "simplejson>=1.8.1", "decorator>=2.2.0",
        "nose>=0.10.1", "Mako>=0.1.10", "WebOb>=0.9.1", "WebError>=0.8a",
        "Tempita>=0.2",
    ],
    dependency_links=[
        "http://www.pylonshq.com/download/0.9.7"
    ],
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: BSD License",
        "Framework :: Pylons",
        "Programming Language :: Python",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
        "Topic :: Internet :: WWW/HTTP :: WSGI",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
    extras_require = {
        'pudge': ["docutils>=0.4", "elementtree>=1.2.6", "kid>=0.9",
                  "Pygments>=0.7", "pudge>=0.1.3",
                  "buildutils>=0.1.2"],
        'cheetah':["Cheetah>=1.0", "TurboCheetah>=0.9.5"],
        'myghty':["Myghty>=1.1"],
        'kid':["kid>=0.9", "TurboKid>=0.9.1"],
        'genshi':["Genshi>=0.3.6"],
        'full':[
            "docutils>=0.4", "elementtree>=1.2.6",
            "Pygments>=0.7", "pudge>=0.1.3",
            "buildutils>=0.1.2", "Cheetah>=1.0",
            "TurboCheetah>=0.9.5", "kid>=0.9", "TurboKid>=0.9.1",
            "TurboJson>=1.1.1", 'Genshi>=0.4.4',
        ],
    },
    entry_points="""
    [paste.paster_command]
    controller = pylons.commands:ControllerCommand
    restcontroller = pylons.commands:RestControllerCommand
    shell = pylons.commands:ShellCommand

    [paste.paster_create_template]
    pylons = pylons.util:PylonsTemplate
    pylons_minimal = pylons.util:MinimalPylonsTemplate

    [python.templating.engines]
    pylonsmyghty = pylons.templating:MyghtyTemplatePlugin [myghty]

    [nose.plugins]
    pylons = pylons.test:PylonsPlugin
    """,
)
<|endoftext|>


<commit_before>
from setuptools import setup, find_packages

setup(name='provoke',
      version='0.2.2',
      author='Ian Good',
      author_email='ian.good@rackspace.com',
      description='Lightweight, asynchronous function execution in Python '
                  'using AMQP.',
      packages=find_packages(),
      install_requires=['amqp', 'six'],
      extras_require={
          'mysql': ['PyMySQL'],
      },
      entry_points={'console_scripts': [
          'provoke-worker = provoke.worker.main:main',
      ]})
<commit_msg>fix dependency and set version 0.2.3<commit_after>
import sys

from setuptools import setup, find_packages

if sys.version_info[0] == 2:
    mysql = 'MySQL-python'
else:
    mysql = 'PyMySQL'

setup(name='provoke',
      version='0.2.3',
      author='Ian Good',
      author_email='ian.good@rackspace.com',
      description='Lightweight, asynchronous function execution in Python '
                  'using AMQP.',
      packages=find_packages(),
      install_requires=['amqp', 'six'],
      extras_require={
          'mysql': [mysql],
      },
      entry_points={'console_scripts': [
          'provoke-worker = provoke.worker.main:main',
      ]})
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

setup(
    name='frasco',
    version='1.0.22',
    url='http://github.com/digicoop/frasco',
    license='MIT',
    author='Maxime Bouroumeau-Fuseau',
    author_email='maxime.bouroumeau@gmail.com',
    description='Set of extensions for Flask to develop SaaS applications',
    packages=find_packages(),
    package_data={
        'frasco': [
            'angular/static/*.js',
            'billing/invoicing/emails/*.html',
            'mail/templates/*.html',
            'mail/templates/layouts/*',
            'templating/*.html',
            'templating/bootstrap/*.html',
            'users/emails/users/*.txt',
            'users/templates/users/*.html'
        ],
    },
    zip_safe=False,
    platforms='any',
    install_requires=[
        'Flask',
        'Flask-SQLAlchemy',
        'Flask-Migrate',
        'Flask-Login',
        'Flask-Bcrypt',
        'Flask-Mail',
        'Flask-Babel',
        'Flask-Assets',
        'Flask-WTF',
        'Flask-CORS',
        'Flask-RQ2',
        'psycopg2-binary',
        'PyYAML',
        'jinja-macro-tags',
        'jinja-layout',
        'python-slugify',
        'ago',
        'simplejson',
        'speaklater',
        'requests',
        'apispec',
        'htmlmin',
        'cssmin',
        'jsmin',
        'boto',
        'goslate',
        'premailer',
        'Markdown',
        'inflection',
        'geoip2',
        'redis',
        'python-socketio',
        'eventlet',
        'authlib',
        'stripe',
        'suds'
    ],
    entry_points='''
        [console_scripts]
        frasco=flask.cli:main
    '''
)
<commit_msg>update version<commit_after>from setuptools import setup, find_packages

setup(
    name='frasco',
    version='1.1.0',
    url='http://github.com/digicoop/frasco',
    license='MIT',
    author='Maxime Bouroumeau-Fuseau',
    author_email='maxime.bouroumeau@gmail.com',
    description='Set of extensions for Flask to develop SaaS applications',
    packages=find_packages(),
    package_data={
        'frasco': [
            'angular/static/*.js',
            'billing/invoicing/emails/*.html',
            'mail/templates/*.html',
            'mail/templates/layouts/*',
            'templating/*.html',
            'templating/bootstrap/*.html',
            'users/emails/users/*.txt',
            'users/templates/users/*.html'
        ],
    },
    zip_safe=False,
    platforms='any',
    install_requires=[
        'Flask',
        'Flask-SQLAlchemy',
        'Flask-Migrate',
        'Flask-Login',
        'Flask-Bcrypt',
        'Flask-Mail',
        'Flask-Babel',
        'Flask-Assets',
        'Flask-WTF',
        'Flask-CORS',
        'Flask-RQ2',
        'psycopg2-binary',
        'PyYAML',
        'jinja-macro-tags',
        'jinja-layout',
        'python-slugify',
        'ago',
        'simplejson',
        'speaklater',
        'requests',
        'apispec',
        'htmlmin',
        'cssmin',
        'jsmin',
        'boto',
        'goslate',
        'premailer',
        'Markdown',
        'inflection',
        'geoip2',
        'redis',
        'python-socketio',
        'eventlet',
        'authlib',
        'stripe',
        'suds'
    ],
    entry_points='''
        [console_scripts]
        frasco=flask.cli:main
    '''
)
<|endoftext|>


<commit_before>import os
import sys
import codecs
from setuptools import setup, find_packages

version = '1.0.0'

if sys.argv[-1] == 'publish':
    os.system('python setup.py sdist upload')
    os.system('python setup.py bdist_wheel upload')
    print('You probably want to also tag the version now:')
    print('  git tag -a %s -m "version %s"' % (version, version))
    print('  git push --tags')
    sys.exit()

def read(*parts):
    filename = os.path.join(os.path.dirname(__file__), *parts)
    with codecs.open(filename, encoding='utf-8') as fp:
        return fp.read()

install_requirements = [
    'django>=1.6,<1.10',
    'Markdown>=2.6,<2.7',
]

if sys.version_info < (2, 7):
    install_requirements = [
        'django<1.7',  # 1.6.x is last version to support py26
        'markdown-py26-support==2.6.2',
    ]

test_requirements = [
    'tox',
    'tox-pyenv',
    'pytest==2.8.0',
    'pytest-cache==1.0',
    'pytest-cov==2.1.0',
    'pytest-django==2.8.0',
    'pytest-flakes==1.0.1',
    'pytest-pep8==1.0.6',
    'cov-core==1.15.0',
    'mock==1.3.0',
    'factory-boy==2.5.2',
    'django-filer<1.3.0',
    'django-anylink',
]

setup(
    name='django-markymark',
    version=version,
    description=(
        'django-markymark provides helpers and tools to integrate markdown '
        'into your editor.'),
    long_description=read('README.rst'),
    author='Moccu GmbH & Co. KG',
    author_email='info@moccu.com',
    url='https://github.com/moccu/django-markymark/',
    packages=find_packages(exclude=[
        'testing',
        'testing.pytests',
        'examples',
        'examples.example',
        'examples.example.app',
    ]),
    install_requires=install_requirements,
    extras_require={
        'tests': test_requirements,
        'filer': ['django-filer>=1.2.0,<1.3.0', ],
        'anylink': ['django-anylink', ],
    },
    include_package_data=True,
    license='Apache License (2.0)',
    keywords=['markdown', 'django'],
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: OS Independent',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Framework :: Django',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: Implementation :: CPython',
    ],
    zip_safe=False,
)
<commit_msg>Update setup.py<commit_after>import os
import sys
import codecs
from setuptools import setup, find_packages

version = '1.0.0'

if sys.argv[-1] == 'publish':
    os.system('python setup.py sdist upload')
    os.system('python setup.py bdist_wheel upload')
    print('You probably want to also tag the version now:')
    print('  git tag -a %s -m "version %s"' % (version, version))
    print('  git push --tags')
    sys.exit()

def read(*parts):
    filename = os.path.join(os.path.dirname(__file__), *parts)
    with codecs.open(filename, encoding='utf-8') as fp:
        return fp.read()

install_requirements = [
    'django>=1.6,<1.10',
    'Markdown>=2.6,<2.7',
]

if sys.version_info < (2, 7):
    install_requirements = [
        'django<1.7',  # 1.6.x is last version to support py26
        'markdown-py26-support==2.6.2',
    ]

test_requirements = [
    'tox',
    'tox-pyenv',
    'pytest==2.8.0',
    'pytest-cache==1.0',
    'pytest-cov==2.1.0',
    'pytest-django==2.8.0',
    'pytest-flakes==1.0.1',
    'pytest-pep8==1.0.6',
    'cov-core==1.15.0',
    'mock==1.3.0',
    'factory-boy==2.5.2',
    'django-filer<1.3.0',
    'django-anylink',
]

setup(
    name='django-markymark',
    version=version,
    description=(
        'django-markymark provides helpers and tools to integrate markdown '
        'into your editor.'),
    long_description=read('README.rst'),
    author='Moccu GmbH & Co. KG',
    author_email='info@moccu.com',
    url='https://github.com/moccu/django-markymark/',
    packages=find_packages(exclude=[
        'testing',
        'testing.pytests',
        'testing.pytests.factories',
        'examples',
        'examples.example',
        'examples.example.app',
    ]),
    install_requires=install_requirements,
    extras_require={
        'tests': test_requirements,
        'filer': ['django-filer>=1.2.0,<1.3.0', ],
        'anylink': ['django-anylink', ],
    },
    include_package_data=True,
    license='Apache License (2.0)',
    keywords=['markdown', 'django'],
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: OS Independent',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Framework :: Django',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: Implementation :: CPython',
    ],
    zip_safe=False,
)
<|endoftext|>


<commit_before>from setuptools import setup

import pypack

setup(
    name='python-package-template',
    version=pypack.__version__,
    author='Gary Wilson Jr.',
    author_email='gary@thegarywilson.com',
    packages=['pypack'],
    entry_points={
        'console_scripts': [
            'pypack = pypack.commands:pypack_command',
        ],
    },
    include_package_data = True,
    url=pypack.__url__,
    license='MIT',
    description=("Provides a command to easily create a standard Python"
                 " package layout (i.e. package directory, README file,"
                 " setup.py, etc.)."),
    long_description=open('README.rst').read(),
)
<commit_msg>Added trove classifiers.<commit_after>from setuptools import setup

import pypack

setup(
    name='python-package-template',
    version=pypack.__version__,
    author='Gary Wilson Jr.',
    author_email='gary@thegarywilson.com',
    packages=['pypack'],
    entry_points={
        'console_scripts': [
            'pypack = pypack.commands:pypack_command',
        ],
    },
    include_package_data = True,
    url=pypack.__url__,
    license='MIT',
    description=("Provides a command to easily create a standard Python"
                 " package layout (i.e. package directory, README file,"
                 " setup.py, etc.)."),
    long_description=open('README.rst').read(),
    classifiers = [
	'Intended Audience :: Developers',
	'License :: OSI Approved :: BSD License',
	'Operating System :: OS Independent',
	'Programming Language :: Python :: 3',
    ],
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

setup(
    name='mg-process-fastq',
    packages=find_packages(),
    include_package_data=True,
    install_requires=[
        'numpy', 'h5py', 'scipy', 'matplotlib', 'pysam==0.9.1.4', 'MACS2',
        'rpy2', 'pytest'
    ],
    setup_requires=[
        'pytest-runner',
    ],
    tests_require=[
        'pytest',
    ],
)
<commit_msg>Removed rpy2 from the installation as this needs to be done via a package manager, as reflected in teh changes to the full installation docs<commit_after>"""
.. Copyright 2017 EMBL-European Bioinformatics Institute

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
"""

from setuptools import setup, find_packages

setup(
    name='mg_process_fastq',
    packages=find_packages(),
    include_package_data=True,
    install_requires=[
        'numpy', 'h5py', 'scipy', 'matplotlib', 'pysam==0.9.1.4', 'MACS2',
        'pytest'
    ],
    setup_requires=[
        'pytest-runner',
    ],
    tests_require=[
        'pytest',
    ],
)
<|endoftext|>


<commit_before># -*- coding: utf-8 -*
"""
Setup script for behave.

USAGE:
    python setup.py install
    python setup.py behave_test     # -- XFAIL on Windows (currently).
    python setup.py nosetests
"""

import sys
import os.path

HERE0 = os.path.dirname(__file__) or os.curdir
os.chdir(HERE0)
HERE = os.curdir
sys.path.insert(0, HERE)

from setuptools import find_packages, setup
from setuptools_behave import behave_test

# -----------------------------------------------------------------------------
# CONFIGURATION:
# -----------------------------------------------------------------------------
python_version = float("%s.%s" % sys.version_info[:2])
requirements = ["parse>=1.6.3", "parse_type>=0.3.4", "six"]
py26_extra = ["argparse", "importlib", "ordereddict"]
py33_extra = ["enum34"]
if python_version < 2.6:
    requirements.append("simplejson")
if python_version < 2.7:
    requirements.extend(py26_extra)
if python_version < 3.4:
    requirements.extend(py33_extra)

BEHAVE = os.path.join(HERE, "behave")
README = os.path.join(HERE, "README.rst")
description = "".join(open(README).readlines()[4:])

# -----------------------------------------------------------------------------
# UTILITY:
# -----------------------------------------------------------------------------
def find_packages_by_root_package(where):
    """
    Better than excluding everything that is not needed,
    collect only what is needed.
    """
    root_package = os.path.basename(where)
    packages = [ "%s.%s" % (root_package, sub_package)
                 for sub_package in find_packages(where)]
    packages.insert(0, root_package)
    return packages

# -----------------------------------------------------------------------------
# SETUP:
# -----------------------------------------------------------------------------
setup(
    name="behave",
    version="1.2.6.dev0",
    description="behave is behaviour-driven development, Python style",
    long_description=description,
    author="Benno Rice, Richard Jones and Jens Engel",
    author_email="behave-users@googlegroups.com",
    url="http://github.com/behave/behave",
    provides = ["behave", "setuptools_behave"],
    packages = find_packages_by_root_package(BEHAVE),
    py_modules = ["setuptools_behave"],
    entry_points={
        "console_scripts": [
            "behave = behave.__main__:main"
        ],
        "distutils.commands": [
            "behave_test = setuptools_behave:behave_test"
        ]
    },
    install_requires=requirements,
    test_suite="nose.collector",
    tests_require=["nose>=1.3", "mock>=1.0", "PyHamcrest>=1.8", "pytest"],
    cmdclass = {
        "behave_test": behave_test,
    },
    extras_require={
        # -- SUPPORT-WHEELS: Extra packages for Python2.6
        # SEE: https://bitbucket.org/pypa/wheel/ , CHANGES.txt (v0.24.0)
        ':python_version=="2.6"': py26_extra,
        ':python_version=="3.3"': py33_extra,
    },
    # MAYBE-DISABLE: use_2to3
    use_2to3= bool(python_version >= 3.0),
    license="BSD",
    classifiers=[
        "Development Status :: 4 - Beta",
        "Environment :: Console",
        "Intended Audience :: Developers",
        "Operating System :: OS Independent",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.6",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: Implementation :: CPython",
        "Programming Language :: Python :: Implementation :: Jython",
        "Programming Language :: Python :: Implementation :: PyPy",
        "Topic :: Software Development :: Testing",
        "License :: OSI Approved :: BSD License",
    ],
    zip_safe = True,
)

<commit_msg>Tweak to enforce a newer version of six (related to pull #388).<commit_after># -*- coding: utf-8 -*
"""
Setup script for behave.

USAGE:
    python setup.py install
    python setup.py behave_test     # -- XFAIL on Windows (currently).
    python setup.py nosetests
"""

import sys
import os.path

HERE0 = os.path.dirname(__file__) or os.curdir
os.chdir(HERE0)
HERE = os.curdir
sys.path.insert(0, HERE)

from setuptools import find_packages, setup
from setuptools_behave import behave_test

# -----------------------------------------------------------------------------
# CONFIGURATION:
# -----------------------------------------------------------------------------
python_version = float("%s.%s" % sys.version_info[:2])
requirements = ["parse>=1.6.3", "parse_type>=0.3.4", "six>=1.9"]
py26_extra = ["argparse", "importlib", "ordereddict"]
py33_extra = ["enum34"]
if python_version < 2.6:
    requirements.append("simplejson")
if python_version < 2.7:
    requirements.extend(py26_extra)
if python_version < 3.4:
    requirements.extend(py33_extra)

BEHAVE = os.path.join(HERE, "behave")
README = os.path.join(HERE, "README.rst")
description = "".join(open(README).readlines()[4:])

# -----------------------------------------------------------------------------
# UTILITY:
# -----------------------------------------------------------------------------
def find_packages_by_root_package(where):
    """
    Better than excluding everything that is not needed,
    collect only what is needed.
    """
    root_package = os.path.basename(where)
    packages = [ "%s.%s" % (root_package, sub_package)
                 for sub_package in find_packages(where)]
    packages.insert(0, root_package)
    return packages

# -----------------------------------------------------------------------------
# SETUP:
# -----------------------------------------------------------------------------
setup(
    name="behave",
    version="1.2.6.dev0",
    description="behave is behaviour-driven development, Python style",
    long_description=description,
    author="Benno Rice, Richard Jones and Jens Engel",
    author_email="behave-users@googlegroups.com",
    url="http://github.com/behave/behave",
    provides = ["behave", "setuptools_behave"],
    packages = find_packages_by_root_package(BEHAVE),
    py_modules = ["setuptools_behave"],
    entry_points={
        "console_scripts": [
            "behave = behave.__main__:main"
        ],
        "distutils.commands": [
            "behave_test = setuptools_behave:behave_test"
        ]
    },
    install_requires=requirements,
    test_suite="nose.collector",
    tests_require=["nose>=1.3", "mock>=1.0", "PyHamcrest>=1.8", "pytest"],
    cmdclass = {
        "behave_test": behave_test,
    },
    extras_require={
        # -- SUPPORT-WHEELS: Extra packages for Python2.6
        # SEE: https://bitbucket.org/pypa/wheel/ , CHANGES.txt (v0.24.0)
        ':python_version=="2.6"': py26_extra,
        ':python_version=="3.3"': py33_extra,
    },
    # MAYBE-DISABLE: use_2to3
    use_2to3= bool(python_version >= 3.0),
    license="BSD",
    classifiers=[
        "Development Status :: 4 - Beta",
        "Environment :: Console",
        "Intended Audience :: Developers",
        "Operating System :: OS Independent",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.6",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: Implementation :: CPython",
        "Programming Language :: Python :: Implementation :: Jython",
        "Programming Language :: Python :: Implementation :: PyPy",
        "Topic :: Software Development :: Testing",
        "License :: OSI Approved :: BSD License",
    ],
    zip_safe = True,
)

<|endoftext|>


<commit_before>from setuptools import setup

setup(
    name='wssh',
    version='0.1.0',
    author='Andrea Luzzardi <aluzzardi@gmail.com>',
    packages=[
        'wssh'
        ],
    scripts=[
        'bin/wssh',
        'bin/wsshd'
        ],
    package_data={'': ['static/*', 'templates/*']},
    include_package_data=True,
    zip_safe=False
)
<commit_msg>add install_requires<commit_after>from setuptools import setup

setup(
    name='wssh',
    version='0.1.0',
    author='Andrea Luzzardi <aluzzardi@gmail.com>',
    packages=[
        'wssh'
        ],
    scripts=[
        'bin/wssh',
        'bin/wsshd'
        ],
    package_data={'': ['static/*', 'templates/*']},
    include_package_data=True,
    zip_safe=False,
    install_requires=[
        'paramiko',
        'six',
    ],
)
<|endoftext|>


<commit_before>import os
import re
import sys
import platform
import subprocess
import multiprocessing

from setuptools import setup, Extension
from setuptools.command.build_ext import build_ext
from distutils.version import LooseVersion

cores = multiprocessing.cpu_count()*1.25

threads="-j" + str(int(cores))

class CMakeExtension(Extension):
    def __init__(self, name, sourcedir=''):
        Extension.__init__(self, name, sources=[])
        self.sourcedir = os.path.abspath(sourcedir)

def readme():
  with open("README.md", "r") as fh:
    return fh.read()

def operatingsystem():
  if (platform.platform().find("Darwin") >= 0):
    return "Operating System :: MacOS"
  else:
    return "Operating System :: POSIX :: Linux"

setup(
    name='sharkbite',
    version='0.6.0.2',
    author='Marc Parisi',
    author_email='phrocker@apache.org',
    url='https://www.github.com/phrocker/sharkbite',
    description='Python bindings for sharkbite, a native Apache Accumulo Key/Value Connector',
    long_description=readme(),
    long_description_content_type='text/markdown',
    ext_modules=[CMakeExtension('pysharkbite')],
    zip_safe=False,
    classifiers=[
        "Programming Language :: C++",
        "License :: OSI Approved :: Apache Software License",
        operatingsystem(),
    ],
    python_requires='>=3.7',
)
<commit_msg>update py version<commit_after>import os
import re
import sys
import platform
import subprocess
import multiprocessing

from setuptools import setup, Extension
from setuptools.command.build_ext import build_ext
from distutils.version import LooseVersion

cores = multiprocessing.cpu_count()*1.25

threads="-j" + str(int(cores))

class CMakeExtension(Extension):
    def __init__(self, name, sourcedir=''):
        Extension.__init__(self, name, sources=[])
        self.sourcedir = os.path.abspath(sourcedir)

def readme():
  with open("README.md", "r") as fh:
    return fh.read()

def operatingsystem():
  if (platform.platform().find("Darwin") >= 0):
    return "Operating System :: MacOS"
  else:
    return "Operating System :: POSIX :: Linux"

setup(
    name='sharkbite',
    version='0.6.0.3',
    author='Marc Parisi',
    author_email='phrocker@apache.org',
    url='https://www.github.com/phrocker/sharkbite',
    description='Python bindings for sharkbite, a native Apache Accumulo Key/Value Connector',
    long_description=readme(),
    long_description_content_type='text/markdown',
    ext_modules=[CMakeExtension('pysharkbite')],
    zip_safe=False,
    classifiers=[
        "Programming Language :: C++",
        "License :: OSI Approved :: Apache Software License",
        operatingsystem(),
    ],
    python_requires='>=3.7',
)
<|endoftext|>


<commit_before>#!/usr/bin/env python
# Copyright 2008-2009 WebDriver committers
# Copyright 2008-2009 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from setuptools import setup
from setuptools.command.install import install

from os.path import dirname, join, isfile, abspath
from shutil import copy
import sys

from distutils.command.install import INSTALL_SCHEMES
for scheme in INSTALL_SCHEMES.values():
    scheme['data'] = scheme['purelib']

def setup_python3():
    # Taken from "distribute" setup.py
    from distutils.filelist import FileList
    from distutils import dir_util, file_util, util, log

    tmp_src = join("build", "src")
    log.set_verbosity(1)
    fl = FileList()
    for line in open("MANIFEST.in"):
        if not line.strip():
            continue
        fl.process_template_line(line)
    dir_util.create_tree(tmp_src, fl.files)
    outfiles_2to3 = []
    for f in fl.files:
        outf, copied = file_util.copy_file(f, join(tmp_src, f), update=1)
        if copied and outf.endswith(".py"):
            outfiles_2to3.append(outf)

    util.run_2to3(outfiles_2to3)

    # arrange setup to use the copy
    sys.path.insert(0, tmp_src)

    return tmp_src

if sys.version_info >= (3,):
    src_root = setup_python3()
else:
    src_root = "."

setup(
    cmdclass={'install': install},
    name='selenium',
    version="2.16.0",
    description='Python bindings for Selenium',
    long_description=open(join(abspath(dirname(__file__)), "py", "README")).read(),
    url='http://code.google.com/p/selenium/',
    src_root=src_root,
    classifiers=['Development Status :: 5 - Production/Stable',
                     'Intended Audience :: Developers',
                     'License :: OSI Approved :: Apache Software License',
                     'Operating System :: POSIX',
                     'Operating System :: Microsoft :: Windows',
                     'Operating System :: MacOS :: MacOS X',
                     'Topic :: Software Development :: Testing',
                     'Topic :: Software Development :: Libraries',
                     'Programming Language :: Python'],
    package_dir={
        'selenium': 'py/selenium',
        'selenium.common': 'py/selenium/common',
        'selenium.test': 'py/test',
        'selenium.test.selenium': 'py/test/selenium',
        'selenium.webdriver': 'py/selenium/webdriver',
    },
    packages=['selenium',
              'selenium.common',
              'selenium.webdriver',
              'selenium.webdriver.chrome',
              'selenium.webdriver.common',
              'selenium.webdriver.support',
              'selenium.webdriver.firefox',
              'selenium.webdriver.ie',
              'selenium.webdriver.remote',
              'selenium.webdriver.support', ],
    package_data={
        'selenium.webdriver.firefox': ['*.xpi'],
    },
    data_files=[('selenium/webdriver/ie/win32',['py/selenium/webdriver/ie/win32/IEDriver.dll']),
		    ('selenium/webdriver/ie/x64',['py/selenium/webdriver/ie/x64/IEDriver.dll']),
            ('selenium/webdriver/firefox/x86', ['py/selenium/webdriver/firefox/x86/x_ignore_nofocus.so']),
            ('selenium/webdriver/firefox/amd64', ['py/selenium/webdriver/firefox/amd64/x_ignore_nofocus.so'])],
    include_package_data=True,
    install_requires=['rdflib==3.1.0'],
    zip_safe=False,

)
<commit_msg>DavidBurns reverting setup.py changes<commit_after>#!/usr/bin/env python
# Copyright 2008-2009 WebDriver committers
# Copyright 2008-2009 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from setuptools import setup
from setuptools.command.install import install

from os.path import dirname, join, isfile, abspath
from shutil import copy
import sys

from distutils.command.install import INSTALL_SCHEMES
for scheme in INSTALL_SCHEMES.values():
    scheme['data'] = scheme['purelib']

def setup_python3():
    # Taken from "distribute" setup.py
    from distutils.filelist import FileList
    from distutils import dir_util, file_util, util, log

    tmp_src = join("build", "src")
    log.set_verbosity(1)
    fl = FileList()
    for line in open("MANIFEST.in"):
        if not line.strip():
            continue
        fl.process_template_line(line)
    dir_util.create_tree(tmp_src, fl.files)
    outfiles_2to3 = []
    for f in fl.files:
        outf, copied = file_util.copy_file(f, join(tmp_src, f), update=1)
        if copied and outf.endswith(".py"):
            outfiles_2to3.append(outf)

    util.run_2to3(outfiles_2to3)

    # arrange setup to use the copy
    sys.path.insert(0, tmp_src)

    return tmp_src

if sys.version_info >= (3,):
    src_root = setup_python3()
else:
    src_root = "."

setup(
    cmdclass={'install': install},
    name='selenium',
    version="2.16.0",
    description='Python bindings for Selenium',
    long_description=open(join(abspath(dirname(__file__)), "py", "README")).read(),
    url='http://code.google.com/p/selenium/',
    src_root=src_root,
    classifiers=['Development Status :: 5 - Production/Stable',
                     'Intended Audience :: Developers',
                     'License :: OSI Approved :: Apache Software License',
                     'Operating System :: POSIX',
                     'Operating System :: Microsoft :: Windows',
                     'Operating System :: MacOS :: MacOS X',
                     'Topic :: Software Development :: Testing',
                     'Topic :: Software Development :: Libraries',
                     'Programming Language :: Python'],
    package_dir={
        'selenium': 'py/selenium',
        'selenium.common': 'py/selenium/common',
        'selenium.test': 'py/test',
        'selenium.test.selenium': 'py/test/selenium',
        'selenium.webdriver': 'py/selenium/webdriver',
    },
    packages=['selenium',
              'selenium.common',
              'selenium.test',
 	          'selenium.test.selenium',
 	          'selenium.test.selenium.common',
 	          'selenium.test.selenium.webdriver',
 	          'selenium.test.selenium.webdriver.common',
 	          'selenium.test.selenium.webdriver.ie',
 	          'selenium.test.selenium.webdriver.support',
              'selenium.webdriver',
              'selenium.webdriver.chrome',
              'selenium.webdriver.common',
              'selenium.webdriver.support',
              'selenium.webdriver.firefox',
              'selenium.webdriver.ie',
              'selenium.webdriver.remote',
              'selenium.webdriver.support', ],
    package_data={
        'selenium.webdriver.firefox': ['*.xpi'],
    },
    data_files=[('selenium/webdriver/ie/win32',['py/selenium/webdriver/ie/win32/IEDriver.dll']),
		    ('selenium/webdriver/ie/x64',['py/selenium/webdriver/ie/x64/IEDriver.dll']),
            ('selenium/webdriver/firefox/x86', ['py/selenium/webdriver/firefox/x86/x_ignore_nofocus.so']),
            ('selenium/webdriver/firefox/amd64', ['py/selenium/webdriver/firefox/amd64/x_ignore_nofocus.so'])],
    include_package_data=True,
    install_requires=['rdflib==3.1.0'],
    zip_safe=False,

)
<|endoftext|>


<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages

with open('README.rst') as readme_file:
    readme = readme_file.read()

with open('HISTORY.rst') as history_file:
    history = history_file.read()

requirements = [
    'unidiff',
    'github3.py',
    'xmltodict',
    'pyyaml',
    'scandir',
    'uritemplate.py',
    'dirtyjson',
    'python-dateutil',
    'git-url-parse'
]

test_requirements = [
    # TODO: put package test requirements here
]

setup(
    name='inlineplz',
    version='0.30.0',
    description="Inline your lint messages",
    long_description=readme + '\n\n' + history,
    author="Guy Kisel",
    author_email='guy.kisel@gmail.com',
    url='https://github.com/guykisel/inline-plz',
    packages=find_packages('.', exclude=('tests*', 'testing*')),
    include_package_data=True,
    install_requires=requirements,
    license="ISCL",
    zip_safe=False,
    keywords='inlineplz',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: ISC License (ISCL)',
        'Natural Language :: English',
        "Programming Language :: Python :: 2",
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
    ],
    test_suite='tests',
    tests_require=test_requirements,
    entry_points={
        'console_scripts': [
            'inline-plz = inlineplz.main:main'
        ],
    }
)
<commit_msg>pin unidiff to 0.5.4 (#226)<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages

with open('README.rst') as readme_file:
    readme = readme_file.read()

with open('HISTORY.rst') as history_file:
    history = history_file.read()

requirements = [
    'unidiff==0.5.4',
    'github3.py',
    'xmltodict',
    'pyyaml',
    'scandir',
    'uritemplate.py',
    'dirtyjson',
    'python-dateutil',
    'git-url-parse'
]

test_requirements = [
    # TODO: put package test requirements here
]

setup(
    name='inlineplz',
    version='0.30.0',
    description="Inline your lint messages",
    long_description=readme + '\n\n' + history,
    author="Guy Kisel",
    author_email='guy.kisel@gmail.com',
    url='https://github.com/guykisel/inline-plz',
    packages=find_packages('.', exclude=('tests*', 'testing*')),
    include_package_data=True,
    install_requires=requirements,
    license="ISCL",
    zip_safe=False,
    keywords='inlineplz',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: ISC License (ISCL)',
        'Natural Language :: English',
        "Programming Language :: Python :: 2",
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
    ],
    test_suite='tests',
    tests_require=test_requirements,
    entry_points={
        'console_scripts': [
            'inline-plz = inlineplz.main:main'
        ],
    }
)
<|endoftext|>


<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-

from distutils.core import setup
setup( name="Djapian", version="1.0.1",
       author='Rafael "SDM" Sierra', author_email="rafaeljsg14@gmail.com",
       packages=[ "djapian", "djapian.backend" ], package_dir={ "djapian": "src/djapian" },
       scripts=['src/scripts/run_djapian.py']
)
<commit_msg>the next release will be v 0.9<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

from distutils.core import setup
setup( name="Djapian", version="0.9",
       author='Rafael "SDM" Sierra', author_email="rafaeljsg14@gmail.com",
       packages=[ "djapian", "djapian.backend" ], package_dir={ "djapian": "src/djapian" },
       scripts=['src/scripts/run_djapian.py']
)
<|endoftext|>


<commit_before># coding: utf8

from distutils.core import setup
import os
import re

project_dir = 'accountant'

def parse_requirements(file_name):
    requirements = []
    for line in open(file_name, 'r').read().split('\n'):
        if re.match(r'(\s*#)|(\s*$)', line):
            continue
        if re.match(r'\s*-e\s+', line):
            requirements.append(re.sub(r'\s*-e\s+.*#egg=(.*)$', r'\1', line))
        elif re.match(r'\s*-f\s+', line):
            pass
        else:
            requirements.append(line)

    return requirements

def parse_dependency_links(file_name):
    dependency_links = []
    for line in open(file_name, 'r').read().split('\n'):
        if re.match(r'\s*-[ef]\s+', line):
            dependency_links.append(re.sub(r'\s*-[ef]\s+', '', line))

    return dependency_links

packages, data_files = [], []
root_dir = os.path.dirname(__file__)
if root_dir != '':
    os.chdir(root_dir)

def fullsplit(path, result=None):
    """
    Split a pathname into components (the opposite of os.path.join) in a
    platform-neutral way.
    """
    if result is None:
        result = []
    head, tail = os.path.split(path)
    if head == '':
        return [tail] + result
    if head == path:
        return result
    return fullsplit(head, [tail] + result)

for dirpath, dirnames, filenames in os.walk(project_dir):
    # Ignore PEP 3147 cache dirs and those whose names start with '.'
    dirnames[:] = [
        d for d in dirnames if not d.startswith('.') and d != '__pycache__'
    ]
    if '__init__.py' in filenames:
        packages.append('.'.join(fullsplit(dirpath)))
    elif filenames:
        data_files.append([
            dirpath, [os.path.join(dirpath, f) for f in filenames]
        ])

setup(
    name='django-accountant',
    version='0.1.7',
    description='Django based account manager.',
    author='Ron Elliott',
    author_email='ronaldbelliott@gmail.com',
    install_requires=parse_requirements('requirements.txt'),
    dependency_links=parse_dependency_links('requirements.txt'),
    packages=packages,
    data_files=data_files,
)
<commit_msg>Version bump to v0.1.8<commit_after># coding: utf8

from distutils.core import setup
import os
import re

project_dir = 'accountant'

def parse_requirements(file_name):
    requirements = []
    for line in open(file_name, 'r').read().split('\n'):
        if re.match(r'(\s*#)|(\s*$)', line):
            continue
        if re.match(r'\s*-e\s+', line):
            requirements.append(re.sub(r'\s*-e\s+.*#egg=(.*)$', r'\1', line))
        elif re.match(r'\s*-f\s+', line):
            pass
        else:
            requirements.append(line)

    return requirements

def parse_dependency_links(file_name):
    dependency_links = []
    for line in open(file_name, 'r').read().split('\n'):
        if re.match(r'\s*-[ef]\s+', line):
            dependency_links.append(re.sub(r'\s*-[ef]\s+', '', line))

    return dependency_links

packages, data_files = [], []
root_dir = os.path.dirname(__file__)
if root_dir != '':
    os.chdir(root_dir)

def fullsplit(path, result=None):
    """
    Split a pathname into components (the opposite of os.path.join) in a
    platform-neutral way.
    """
    if result is None:
        result = []
    head, tail = os.path.split(path)
    if head == '':
        return [tail] + result
    if head == path:
        return result
    return fullsplit(head, [tail] + result)

for dirpath, dirnames, filenames in os.walk(project_dir):
    # Ignore PEP 3147 cache dirs and those whose names start with '.'
    dirnames[:] = [
        d for d in dirnames if not d.startswith('.') and d != '__pycache__'
    ]
    if '__init__.py' in filenames:
        packages.append('.'.join(fullsplit(dirpath)))
    elif filenames:
        data_files.append([
            dirpath, [os.path.join(dirpath, f) for f in filenames]
        ])

setup(
    name='django-accountant',
    version='0.1.8',
    description='Django based account manager.',
    author='Ron Elliott',
    author_email='ronaldbelliott@gmail.com',
    install_requires=parse_requirements('requirements.txt'),
    dependency_links=parse_dependency_links('requirements.txt'),
    packages=packages,
    data_files=data_files,
)
<|endoftext|>


<commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
from os import path
import codecs
import re

def read(*parts):
    file_path = path.join(path.dirname(__file__), *parts)
    return codecs.open(file_path, encoding='utf-8').read()

def find_version(*parts):
    version_file = read(*parts)
    version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", version_file, re.M)
    if version_match:
        return str(version_match.group(1))
    raise RuntimeError("Unable to find version string.")

setup(
    name='django-template-analyzer',
    version=find_version('template_analyzer', '__init__.py'),
    license='BSD License',
    platforms=['OS Independent'],

    description='Django Template Analyzer - Extract template nodes from a Django template',
    long_description=read('README.rst'),

    author='Diederik van der Boor & Django CMS developers',
    author_email='opensource@edoburu.nl',

    url='https://github.com/edoburu/django-template-analyzer',
    download_url='https://github.com/edoburu/django-template-analyzer/zipball/master',

    packages=find_packages(),
    include_package_data=True,

    test_suite = 'runtests',

    zip_safe=False,
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Framework :: Django',
        'Framework :: Django :: 1.4',
        'Framework :: Django :: 1.5',
        'Framework :: Django :: 1.6',
        'Framework :: Django :: 1.7',
        'Framework :: Django :: 1.8',
        'Topic :: Software Development',
        'Topic :: Software Development :: Libraries :: Application Frameworks',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ]
)
<commit_msg>update trove classifiers<commit_after>#!/usr/bin/env python
from setuptools import setup, find_packages
from os import path
import codecs
import re

def read(*parts):
    file_path = path.join(path.dirname(__file__), *parts)
    return codecs.open(file_path, encoding='utf-8').read()

def find_version(*parts):
    version_file = read(*parts)
    version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", version_file, re.M)
    if version_match:
        return str(version_match.group(1))
    raise RuntimeError("Unable to find version string.")

setup(
    name='django-template-analyzer',
    version=find_version('template_analyzer', '__init__.py'),
    license='BSD License',
    platforms=['OS Independent'],

    description='Django Template Analyzer - Extract template nodes from a Django template',
    long_description=read('README.rst'),

    author='Diederik van der Boor & Django CMS developers',
    author_email='opensource@edoburu.nl',

    url='https://github.com/edoburu/django-template-analyzer',
    download_url='https://github.com/edoburu/django-template-analyzer/zipball/master',

    packages=find_packages(),
    include_package_data=True,

    test_suite = 'runtests',

    zip_safe=False,
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Framework :: Django',
        'Framework :: Django :: 1.4',
        'Framework :: Django :: 1.5',
        'Framework :: Django :: 1.6',
        'Framework :: Django :: 1.7',
        'Framework :: Django :: 1.8',
        'Framework :: Django :: 1.9',
        'Topic :: Software Development',
        'Topic :: Software Development :: Libraries :: Application Frameworks',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ]
)
<|endoftext|>


<commit_before>"""
In order to create a package for pypi, you need to follow several steps.

1. Create a .pypirc in your home directory. It should look like this:

```
[distutils]
index-servers =
  pypi
  pypitest

[pypi]
username=allennlp
password= Get the password from LastPass.

[pypitest]
repository=https://test.pypi.org/legacy/
username=allennlp
password= Get the password from LastPass.
```
run chmod 600 ./pypirc so only you can read/write.

1. Change the version in docs/conf.py and setup.py.

2. Commit these changes with the message: "Release: VERSION"

3. Add a tag in git to mark the release: "git tag VERSION -m'Adds tag VERSION for pypi' "
   Push the tag to git: git push --tags origin master

4. Build both the sources and the wheel. Do not change anything in setup.py between
   creating the wheel and the source distribution (obviously).

   For the wheel, run: "python setup.py bdist_wheel" in the top level allennlp directory.
   (this will build a wheel for the python version you use to build it - make sure you use python 3.x).

   For the sources, run: "python setup.py sdist"
   You should now have a /dist directory with both .whl and .tar.gz source versions of allennlp.

5. Check that everything looks correct by uploading the package to the pypi test server:

   twine upload dist/* -r pypitest
   (pypi suggest using twine as other methods upload files via plaintext.)

   Check that you can install it in a virtualenv by running:
   pip install -i https://testpypi.python.org/pypi allennlp

6. Upload the final version to actual pypi:
   twine upload dist/* -r pypi

7. Copy the release notes from RELEASE.md to the tag in github once everything is looking hunky-dory.

"""
from setuptools import setup, find_packages
import sys

# PEP0440 compatible formatted version, see:
# https://www.python.org/dev/peps/pep-0440/
#
# release markers:
#   X.Y
#   X.Y.Z   # For bugfix releases
#
# pre-release markers:
#   X.YaN   # Alpha release
#   X.YbN   # Beta release
#   X.YrcN  # Release Candidate
#   X.Y     # Final release

# version.py defines the VERSION and VERSION_SHORT variables.
# We use exec here so we don't import allennlp whilst setting up.
VERSION = {}
with open("allennlp/version.py", "r") as version_file:
    exec(version_file.read(), VERSION)

# make pytest-runner a conditional requirement,
# per: https://github.com/pytest-dev/pytest-runner#considerations
needs_pytest = {"pytest", "test", "ptr"}.intersection(sys.argv)
pytest_runner = ["pytest-runner"] if needs_pytest else []

setup_requirements = [
    # add other setup requirements as necessary
] + pytest_runner

setup(
    name="allennlp",
    version=VERSION["VERSION"],
    description="An open-source NLP research library, built on PyTorch.",
    long_description=open("README.md").read(),
    long_description_content_type="text/markdown",
    classifiers=[
        "Intended Audience :: Science/Research",
        "Development Status :: 3 - Alpha",
        "License :: OSI Approved :: Apache Software License",
        "Programming Language :: Python :: 3.6",
        "Topic :: Scientific/Engineering :: Artificial Intelligence",
    ],
    keywords="allennlp NLP deep learning machine reading",
    url="https://github.com/allenai/allennlp",
    author="Allen Institute for Artificial Intelligence",
    author_email="allennlp@allenai.org",
    license="Apache",
    packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
    install_requires=[
        "torch>=1.2.0,!=1.3.0",
        "jsonnet>=0.10.0 ; sys.platform != 'win32'",
        "overrides==2.0",
        "nltk",
        "spacy>=2.1.0,<2.3",
        "numpy",
        "tensorboardX>=1.2",
        "boto3",
        "requests>=2.18",
        "tqdm>=4.19",
        "editdistance",
        "h5py",
        "scikit-learn",
        "scipy",
        "pytz>=2017.3",
        "unidecode",
        "matplotlib>=2.2.3",
        "pytest",
        "flaky",
        "responses>=0.7",
        "numpydoc>=0.8.0",
        "conllu==1.3.1",
        "parsimonious>=0.8.0",
        "ftfy",
        "sqlparse>=0.2.4",
        "word2number>=1.1",
        "pytorch-pretrained-bert>=0.6.0",
        "transformers>=2.1.1,!=2.2.1",
        "jsonpickle",
        "python-dateutil<2.8.1",
    ],
    entry_points={"console_scripts": ["allennlp=allennlp.run:run"]},
    setup_requires=setup_requirements,
    tests_require=["pytest", "flaky", "responses>=0.7"],
    include_package_data=True,
    python_requires=">=3.6.1",
    zip_safe=False,
)
<commit_msg>Remove unidecode as it's GPLv2 and isn't in requirements.txt. (#3543)<commit_after>"""
In order to create a package for pypi, you need to follow several steps.

1. Create a .pypirc in your home directory. It should look like this:

```
[distutils]
index-servers =
  pypi
  pypitest

[pypi]
username=allennlp
password= Get the password from LastPass.

[pypitest]
repository=https://test.pypi.org/legacy/
username=allennlp
password= Get the password from LastPass.
```
run chmod 600 ./pypirc so only you can read/write.

1. Change the version in docs/conf.py and setup.py.

2. Commit these changes with the message: "Release: VERSION"

3. Add a tag in git to mark the release: "git tag VERSION -m'Adds tag VERSION for pypi' "
   Push the tag to git: git push --tags origin master

4. Build both the sources and the wheel. Do not change anything in setup.py between
   creating the wheel and the source distribution (obviously).

   For the wheel, run: "python setup.py bdist_wheel" in the top level allennlp directory.
   (this will build a wheel for the python version you use to build it - make sure you use python 3.x).

   For the sources, run: "python setup.py sdist"
   You should now have a /dist directory with both .whl and .tar.gz source versions of allennlp.

5. Check that everything looks correct by uploading the package to the pypi test server:

   twine upload dist/* -r pypitest
   (pypi suggest using twine as other methods upload files via plaintext.)

   Check that you can install it in a virtualenv by running:
   pip install -i https://testpypi.python.org/pypi allennlp

6. Upload the final version to actual pypi:
   twine upload dist/* -r pypi

7. Copy the release notes from RELEASE.md to the tag in github once everything is looking hunky-dory.

"""
from setuptools import setup, find_packages
import sys

# PEP0440 compatible formatted version, see:
# https://www.python.org/dev/peps/pep-0440/
#
# release markers:
#   X.Y
#   X.Y.Z   # For bugfix releases
#
# pre-release markers:
#   X.YaN   # Alpha release
#   X.YbN   # Beta release
#   X.YrcN  # Release Candidate
#   X.Y     # Final release

# version.py defines the VERSION and VERSION_SHORT variables.
# We use exec here so we don't import allennlp whilst setting up.
VERSION = {}
with open("allennlp/version.py", "r") as version_file:
    exec(version_file.read(), VERSION)

# make pytest-runner a conditional requirement,
# per: https://github.com/pytest-dev/pytest-runner#considerations
needs_pytest = {"pytest", "test", "ptr"}.intersection(sys.argv)
pytest_runner = ["pytest-runner"] if needs_pytest else []

setup_requirements = [
    # add other setup requirements as necessary
] + pytest_runner

setup(
    name="allennlp",
    version=VERSION["VERSION"],
    description="An open-source NLP research library, built on PyTorch.",
    long_description=open("README.md").read(),
    long_description_content_type="text/markdown",
    classifiers=[
        "Intended Audience :: Science/Research",
        "Development Status :: 3 - Alpha",
        "License :: OSI Approved :: Apache Software License",
        "Programming Language :: Python :: 3.6",
        "Topic :: Scientific/Engineering :: Artificial Intelligence",
    ],
    keywords="allennlp NLP deep learning machine reading",
    url="https://github.com/allenai/allennlp",
    author="Allen Institute for Artificial Intelligence",
    author_email="allennlp@allenai.org",
    license="Apache",
    packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
    install_requires=[
        "torch>=1.2.0,!=1.3.0",
        "jsonnet>=0.10.0 ; sys.platform != 'win32'",
        "overrides==2.0",
        "nltk",
        "spacy>=2.1.0,<2.3",
        "numpy",
        "tensorboardX>=1.2",
        "boto3",
        "requests>=2.18",
        "tqdm>=4.19",
        "editdistance",
        "h5py",
        "scikit-learn",
        "scipy",
        "pytz>=2017.3",
        "matplotlib>=2.2.3",
        "pytest",
        "flaky",
        "responses>=0.7",
        "numpydoc>=0.8.0",
        "conllu==1.3.1",
        "parsimonious>=0.8.0",
        "ftfy",
        "sqlparse>=0.2.4",
        "word2number>=1.1",
        "pytorch-pretrained-bert>=0.6.0",
        "transformers>=2.1.1,!=2.2.1",
        "jsonpickle",
        "python-dateutil<2.8.1",
    ],
    entry_points={"console_scripts": ["allennlp=allennlp.run:run"]},
    setup_requires=setup_requirements,
    tests_require=["pytest", "flaky", "responses>=0.7"],
    include_package_data=True,
    python_requires=">=3.6.1",
    zip_safe=False,
)
<|endoftext|>


<commit_before>from distutils.core import setup

setup(name = "python-gnupg",
    description="A wrapper for the Gnu Privacy Guard (GPG or GnuPG)",
    long_description = "This module allows easy access to GnuPG's key \
management, encryption and signature functionality from Python programs. \
It is intended for use with Python 2.4 or greater.",
    license="""Copyright (C) 2008-2011 by Vinay Sajip. All Rights Reserved. See LICENSE for license.""",
    version = "0.2.8",
    author = "Vinay Sajip",
    author_email = "vinay_sajip@red-dove.com",
    maintainer = "Vinay Sajip",
    maintainer_email = "vinay_sajip@red-dove.com",
    url = "http://www.red-dove.com/python_gnupg.html",
    py_modules = ["gnupg"],
    platforms = "No particular restrictions",
    classifiers = [
        'Development Status :: 5 - Production/Stable',
        "Intended Audience :: Developers",
        'License :: OSI Approved :: BSD License',
        "Programming Language :: Python",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 2.4",
        "Programming Language :: Python :: 2.5",
        "Programming Language :: Python :: 2.6",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3.0",
        "Programming Language :: Python :: 3.1",
        "Programming Language :: Python :: 3.2",
        "Operating System :: OS Independent",
        "Topic :: Software Development :: Libraries :: Python Modules"
    ]
)
<commit_msg>Use distribute!<commit_after>from setuptools import setup

setup(name = "python-gnupg",
    description="A wrapper for the Gnu Privacy Guard (GPG or GnuPG)",
    long_description = "This module allows easy access to GnuPG's key \
management, encryption and signature functionality from Python programs. \
It is intended for use with Python 2.4 or greater.",
    license="""Copyright (C) 2008-2011 by Vinay Sajip. All Rights Reserved. See LICENSE for license.""",
    version = "0.2.8",
    author = "Vinay Sajip",
    author_email = "vinay_sajip@red-dove.com",
    maintainer = "Vinay Sajip",
    maintainer_email = "vinay_sajip@red-dove.com",
    url = "http://www.red-dove.com/python_gnupg.html",
    py_modules = ["gnupg"],
    platforms = "No particular restrictions",
    classifiers = [
        'Development Status :: 5 - Production/Stable',
        "Intended Audience :: Developers",
        'License :: OSI Approved :: BSD License',
        "Programming Language :: Python",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 2.4",
        "Programming Language :: Python :: 2.5",
        "Programming Language :: Python :: 2.6",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3.0",
        "Programming Language :: Python :: 3.1",
        "Programming Language :: Python :: 3.2",
        "Operating System :: OS Independent",
        "Topic :: Software Development :: Libraries :: Python Modules"
    ]
)
<|endoftext|>


<commit_before># Copyright (c) 2013 Per Unneberg
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.

from setuptools import setup, find_packages
import sys
import os
import glob

setup(name = "ratatosk",
      version = "0.1.0",
      author = "Per Unneberg",
      author_email = "per.unneberg@scilifelab.se",
      description = "Project/pipeline manager",
      license = "Apache",
      scripts = glob.glob('scripts/*.py'),
      install_requires = [
        "drmaa >= 0.5",
        "mock",
        # Currently works with luigi version 1.0, commit hash tag
        # da20852fa10a60a388 - would want to put this here in master
        # in case something breaks in the future
        "luigi",
        "nose"
        ],
      test_suite = 'nose.collector',
      packages=[
            'ratatosk'
            ],
      package_data = {
        'ratatosk':[
            'data/grf/*',
            'data/templates/*',
            'config/*'
            ]}
      )

os.system("git rev-parse --short --verify HEAD > ~/.ratatosk_version")
<commit_msg>Add ratatoskd to install path<commit_after># Copyright (c) 2013 Per Unneberg
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy of
# the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.

from setuptools import setup, find_packages
import sys
import os
import glob

setup(name = "ratatosk",
      version = "0.1.0",
      author = "Per Unneberg",
      author_email = "per.unneberg@scilifelab.se",
      description = "Project/pipeline manager",
      license = "Apache",
      scripts = glob.glob('scripts/*.py') + ['bin/ratatoskd'],
      install_requires = [
        "drmaa >= 0.5",
        "mock",
        # Currently works with luigi version 1.0, commit hash tag
        # da20852fa10a60a388 - would want to put this here in master
        # in case something breaks in the future
        "luigi",
        "nose"
        ],
      test_suite = 'nose.collector',
      packages=[
            'ratatosk'
            ],
      package_data = {
        'ratatosk':[
            'data/grf/*',
            'data/templates/*',
            'config/*'
            ]}
      )

os.system("git rev-parse --short --verify HEAD > ~/.ratatosk_version")
<|endoftext|>


<commit_before># -*- coding: UTF-8 -*-

import io
from distutils.core import setup

# http://stackoverflow.com/a/7071358/735926
import re
VERSIONFILE='freesms/__init__.py'
# In Python 2.x open() doesn't support the encoding keyword parameter.
verstrline = io.open(VERSIONFILE, encoding='utf-8').read()
VSRE = r'^__version__\s+=\s+[\'"]([^\'"]+)[\'"]'
mo = re.search(VSRE, verstrline, re.M)
if mo:
    verstr = mo.group(1)
else:
    raise RuntimeError("Unable to find version string in %s." % VERSIONFILE)

setup(
    name='freesms',
    version=verstr,
    author='Baptiste Fontaine',
    author_email='b@ptistefontaine.fr',
    packages=['freesms'],
    url='https://github.com/bfontaine/freesms',
    license=io.open('LICENSE', encoding='utf-8').read().encode("utf-8"),
    description='Send SMS with Free Mobile',
    long_description="""\
freesms is a Python interface to Free mobile SMS API.""",
    classifiers=[
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent',
    ],
)
<commit_msg>setup.py: Show support for Python 3.5<commit_after># -*- coding: UTF-8 -*-

import io
from distutils.core import setup

# http://stackoverflow.com/a/7071358/735926
import re
VERSIONFILE='freesms/__init__.py'
# In Python 2.x open() doesn't support the encoding keyword parameter.
verstrline = io.open(VERSIONFILE, encoding='utf-8').read()
VSRE = r'^__version__\s+=\s+[\'"]([^\'"]+)[\'"]'
mo = re.search(VSRE, verstrline, re.M)
if mo:
    verstr = mo.group(1)
else:
    raise RuntimeError("Unable to find version string in %s." % VERSIONFILE)

setup(
    name='freesms',
    version=verstr,
    author='Baptiste Fontaine',
    author_email='b@ptistefontaine.fr',
    packages=['freesms'],
    url='https://github.com/bfontaine/freesms',
    license=io.open('LICENSE', encoding='utf-8').read().encode("utf-8"),
    description='Send SMS with Free Mobile',
    long_description="""\
freesms is a Python interface to Free mobile SMS API.""",
    classifiers=[
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent',
    ],
)
<|endoftext|>


<commit_before>from setuptools import setup

with open('requirements.txt', 'r') as f:
    requirements = f.read().splitlines()
requirements = [x for x in requirements
                if ((len(x) > 0) and (x[0] != '-') and ("+" not in x))]
requirements = [x.replace("python-", "python_") for x in requirements]
dependencies = ["https://github.com/semantic-web-company/nif/tarball/master#egg=nif"]

setup(
    name='pp_api',
    version='0.1dev',
    description='Library for accessing PoolParty APIs',
    packages=['pp_api'],
    license='MIT',
    install_requires=requirements,
    dependency_links=dependencies
)
<commit_msg>added nif to requirements<commit_after>from setuptools import setup

with open('requirements.txt', 'r') as f:
    requirements = f.read().splitlines()
requirements = [x for x in requirements
                if ((len(x) > 0) and (x[0] != '-') and ("+" not in x))]
requirements = [x.replace("python-", "python_") for x in requirements]+[nif]
dependencies = ["https://github.com/semantic-web-company/nif/tarball/master#egg=nif"]

setup(
    name='pp_api',
    version='0.1dev',
    description='Library for accessing PoolParty APIs',
    packages=['pp_api'],
    license='MIT',
    install_requires=requirements,
    dependency_links=dependencies
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages
from codecs import open
from os import path

# Get the long description from the relevant file
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
    long_description = f.read()

setup(
    name = "pannenkoek",
      long_description=long_description,
    version = "0.1.8",
    packages = find_packages(),
    scripts = ['pannenkoek/pannenkoek.py', 'pannenkoek/lefse/format_input.py', 'pannenkoek/lefse/run_lefse.py'],

    # Project uses reStructuredText, so ensure that the
    # docutils get installed or upgraded on the target
    # machine
    install_requires = ['rpy2', 'numpy', 'matplotlib', 'argparse', 'pandas', 'biopython'],

    package_data = {
        # If any package contains *.txt or *.rst files,
        # include them:
        '': ['*.txt', '*.rst'],
        # And include any *.msg files found in the
        # 'hello' package, too:
        'hello': ['*.msg'],
    },

    # metadata for upload to PyPI
    author = "Thomas W. Battaglia",
    author_email = "tb1280@nyu.com",
    description = "A wrapper for Qiime and LEfSe analysis. Split an OTU table by time and make certain comparisons with ease.",
    license = "MIT",
    keywords = "Biology Microbiome LEFSE QIIME Formatting Diversity Python Bioinformatics",

    # project home page, if any :
    url = "https://github.com/twbattaglia/pannenkoek",

    # could also include long_description, download_url,
    # classifiers, etc.
)
<commit_msg>add pretty lease<commit_after>from setuptools import setup, find_packages
from codecs import open
from os import path

# Get the long description from the relevant file
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
    long_description = f.read()

setup(
    name = "pannenkoek",
      long_description=long_description,
    version = "0.1.8",
    packages = find_packages(),
    scripts = ['pannenkoek/pannenkoek.py', 'pannenkoek/lefse/format_input.py', 'pannenkoek/lefse/run_lefse.py', 'pannenkoek/lefse/lefse.py', 'pannenkoek/pretty_lefse/prettylefse.R'],

    # Project uses reStructuredText, so ensure that the
    # docutils get installed or upgraded on the target
    # machine
    install_requires = ['rpy2', 'numpy', 'matplotlib', 'argparse', 'pandas', 'biopython'],

    package_data = {
        # If any package contains *.txt or *.rst files,
        # include them:
        '': ['*.txt', '*.rst'],
        # And include any *.msg files found in the
        # 'hello' package, too:
        'hello': ['*.msg'],
    },

    # metadata for upload to PyPI
    author = "Thomas W. Battaglia",
    author_email = "tb1280@nyu.com",
    description = "A wrapper for Qiime and LEfSe analysis. Split an OTU table by time and make certain comparisons with ease.",
    license = "MIT",
    keywords = "Biology Microbiome LEFSE QIIME Formatting Diversity Python Bioinformatics",

    # project home page, if any :
    url = "https://github.com/twbattaglia/pannenkoek",

    # could also include long_description, download_url,
    # classifiers, etc.
)
<|endoftext|>


<commit_before># -*- coding: utf-8 -*-
from setuptools import setup, find_packages

setup(
    name            = 'cmsplugin-survey',
    version         = '1.2.2',
    description     = 'django CMS plugin to show simple surveys',
    author          = 'Jakub Dorňák',
    author_email    = 'jakub.dornak@misli.cz',
    license         = 'BSD',
    url             = 'https://github.com/misli/cmsplugin-survey',
    packages        = find_packages(),
    include_package_data = True,
    install_requires = [
        'django-cms',
    ],
    classifiers     = [
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Framework :: Django',
        'Framework :: Django :: 1.11',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Natural Language :: Czech',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.5',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development',
        'Topic :: Software Development :: Libraries :: Application Frameworks',
    ],
)
<commit_msg>support Django 2.1<commit_after># -*- coding: utf-8 -*-
from setuptools import setup, find_packages

setup(
    name            = 'cmsplugin-survey',
    version         = '1.2.2',
    description     = 'django CMS plugin to show simple surveys',
    author          = 'Jakub Dorňák',
    author_email    = 'jakub.dornak@misli.cz',
    license         = 'BSD',
    url             = 'https://github.com/misli/cmsplugin-survey',
    packages        = find_packages(),
    include_package_data = True,
    install_requires = [
        'django-cms',
    ],
    classifiers     = [
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Framework :: Django',
        'Framework :: Django :: 1.11',
        'Framework :: Django :: 2.1',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Natural Language :: Czech',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.5',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development',
        'Topic :: Software Development :: Libraries :: Application Frameworks',
    ],
)
<|endoftext|>


<commit_before>from setuptools import setup

setup(
    name="authentise_services",
    description="A client library for Authentise open services",
    author="Joeseph Rodrigues",
    author_email="dowhilegeek@gmail.com",
    version="0.3.0",
    packages=["authentise_services"],
    package_data={"authentise_services": ["authentise_services/*"], },
    include_package_data=True,
    install_requires=[
        "requests==2.7.0",
    ],
    extras_require={
        'develop': [
            'pylint==1.4.3',
            'pytest==2.6.4',
            'httpretty==0.8.10',
            'twine==1.5.0',
        ]},
)
<commit_msg>add setup.py settings<commit_after>from setuptools import setup

with open("README.md") as readme_file:
    long_description = readme_file.read()

setup(
    name="authentise_services",
    url="https://github.com/DoWhileGeek/authentise-services",
    description="A client library for Authentise open services",
    long_description=long_description,
    author="Joeseph Rodrigues",
    author_email="dowhilegeek@gmail.com",
    version="0.3.0",
    packages=["authentise_services"],
    package_data={"authentise_services": ["authentise_services/*"], },
    include_package_data=True,
    install_requires=[
        "requests==2.7.0",
    ],
    extras_require={
        'develop': [
            'pylint==1.4.3',
            'pytest==2.6.4',
            'httpretty==0.8.10',
            'twine==1.5.0',
        ]},
)
<|endoftext|>


<commit_before>import ez_setup
ez_setup.use_setuptools()

from setuptools import setup, find_packages
import sys, os

version = '0.8'

setup(name='ZopeSkel',
      version=version,
      description="A collection of skeletons for quickstarting Zope projects.",
      long_description="""
A collection of skeletons for quickstarting Zope projects.

This package adds to the list of available `PasteScript
<http://pythonpaste.org/script/>`_ templates a few that are useful for
quickly starting Zope projects that have a `setuptools
<http://peak.telecommunity.com/DevCenter/setuptools>`_-ready file
layout.

The latest version is available in a `Subversion repository
<http://svn.plone.org/svn/collective/ZopeSkel/trunk#egg=ZopeSkel-dev>`_.

Please contribute by submitting patches for what you consider 'best of
breed' file layouts for starting Zope projects.
""",
      classifiers=[
        "Development Status :: 3 - Alpha",
        "Framework :: Zope2",
        "Framework :: Zope3",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
        "Topic :: Software Development :: Libraries :: Python Modules",
        ],
      keywords='web zope command-line skeleton project',
      author='Daniel Nouri',
      author_email='daniel.nouri@gmail.com',
      url='',
      packages=find_packages(exclude=['ez_setup']),
      include_package_data=True,
      zip_safe=False,
      install_requires=[
        "PasteScript>=0.9.1dev-r5487,==dev",
        "Cheetah",
      ],
      entry_points="""
      [paste.paster_create_template]
      basic_namespace = zopeskel:Namespace
      nested_namespace = zopeskel:NestedNamespace
      basic_zope = zopeskel:BasicZope
      plone = zopeskel:Plone
      plone_app = zopeskel:PloneApp
      plone2_theme = zopeskel:Plone2Theme
      plone2.5_theme = zopeskel:Plone25Theme
      plone3_theme = zopeskel:Plone3Theme
      plone3_buildout = zopeskel:Plone3Buildout
      """,
      )
<commit_msg>Updating version on trunk after tagging<commit_after>import ez_setup
ez_setup.use_setuptools()

from setuptools import setup, find_packages
import sys, os

version = '0.9'

setup(name='ZopeSkel',
      version=version,
      description="A collection of skeletons for quickstarting Zope projects.",
      long_description="""
A collection of skeletons for quickstarting Zope projects.

This package adds to the list of available `PasteScript
<http://pythonpaste.org/script/>`_ templates a few that are useful for
quickly starting Zope projects that have a `setuptools
<http://peak.telecommunity.com/DevCenter/setuptools>`_-ready file
layout.

The latest version is available in a `Subversion repository
<http://svn.plone.org/svn/collective/ZopeSkel/trunk#egg=ZopeSkel-dev>`_.

Please contribute by submitting patches for what you consider 'best of
breed' file layouts for starting Zope projects.
""",
      classifiers=[
        "Development Status :: 3 - Alpha",
        "Framework :: Zope2",
        "Framework :: Zope3",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
        "Topic :: Software Development :: Libraries :: Python Modules",
        ],
      keywords='web zope command-line skeleton project',
      author='Daniel Nouri',
      author_email='daniel.nouri@gmail.com',
      url='',
      packages=find_packages(exclude=['ez_setup']),
      include_package_data=True,
      zip_safe=False,
      install_requires=[
        "PasteScript>=0.9.1dev-r5487,==dev",
        "Cheetah",
      ],
      entry_points="""
      [paste.paster_create_template]
      basic_namespace = zopeskel:Namespace
      nested_namespace = zopeskel:NestedNamespace
      basic_zope = zopeskel:BasicZope
      plone = zopeskel:Plone
      plone_app = zopeskel:PloneApp
      plone2_theme = zopeskel:Plone2Theme
      plone2.5_theme = zopeskel:Plone25Theme
      plone3_theme = zopeskel:Plone3Theme
      plone3_buildout = zopeskel:Plone3Buildout
      """,
      )
<|endoftext|>


<commit_before>#!/usr/bin/env python

import os
import sys

sys.path.insert(0, os.path.abspath('lib'))
from ansibledocgen import __version__, __author__

try:
    from setuptools import setup, find_packages
except ImportError:
    print("ansible-docgen needs setuptools in order to build. Install it using"
            " your package manager (usually python-setuptools) or via pip (pip"
            " install setuptools).")
    sys.exit(1)

setup(name='ansible-docgen',
      version=__version__,
      description='Generate Documentation from Annotated Ansible Playbooks and Roles',
      author=__author__,
      author_email='david@davidwhiteside.com',
      url='http://www.davidwhiteside.com/',
      license='MIT',
      install_requires=["PyYAML", 'setuptools'],
      package_dir={ '': 'lib' },
      packages=find_packages('lib'),
      classifiers=[
          'Environment :: Console',
          'Intended Audience :: Developers',
          'Intended Audience :: Information Technology',
          'Intended Audience :: System Administrators',
          'License :: OSI Approved :: MIT License',
          'Natural Language :: English',
          'Operating System :: POSIX',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Topic :: System :: Installation/Setup',
          'Topic :: System :: Systems Administration',
          'Topic :: Utilities',
      ],
      scripts=[
         'bin/ansible-docgen',
      ],
      data_files=[],
)
<commit_msg>updated url to reference github<commit_after>#!/usr/bin/env python

import os
import sys

sys.path.insert(0, os.path.abspath('lib'))
from ansibledocgen import __version__, __author__

try:
    from setuptools import setup, find_packages
except ImportError:
    print("ansible-docgen needs setuptools in order to build. Install it using"
            " your package manager (usually python-setuptools) or via pip (pip"
            " install setuptools).")
    sys.exit(1)

setup(name='ansible-docgen',
      version=__version__,
      description='Generate Documentation from Annotated Ansible Playbooks and Roles',
      author=__author__,
      author_email='david@davidwhiteside.com',
      url='https://github.com/starboarder2001/ansible-docgen',
      license='MIT',
      install_requires=["PyYAML", 'setuptools'],
      package_dir={ '': 'lib' },
      packages=find_packages('lib'),
      classifiers=[
          'Environment :: Console',
          'Intended Audience :: Developers',
          'Intended Audience :: Information Technology',
          'Intended Audience :: System Administrators',
          'License :: OSI Approved :: MIT License',
          'Natural Language :: English',
          'Operating System :: POSIX',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Topic :: System :: Installation/Setup',
          'Topic :: System :: Systems Administration',
          'Topic :: Utilities',
      ],
      scripts=[
         'bin/ansible-docgen',
      ],
      data_files=[],
)
<|endoftext|>