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

try:
    import sys
    reload(sys).setdefaultencoding("UTF-8")
except:
    pass

try:
    from setuptools import setup
except ImportError:
    print('Please install or upgrade setuptools or pip to continue')
    sys.exit(1)

import codecs

def read(filename):
    return codecs.open(filename, encoding='utf-8').read()

long_description = '\n\n'.join([read('README'),
                                read('AUTHORS'),
                                read('CHANGES')])

__doc__ = long_description

requirements = ['pyvisa>1.5']

setup(name='PyVISA-py',
      description='Python VISA bindings for GPIB, RS232, and USB instruments',
      version='0.1.dev0',
      long_description=long_description,
      author='Hernan E. Grecco',
      author_email='hernan.grecco@gmail.com',
      maintainer='Hernan E. Grecco',
      maintainer_email='hernan.grecco@gmail.com',
      url='https://github.com/hgrecco/pyvisa-py',
      keywords='Remote VISA GPIB USB serial RS232 measurement acquisition',
      license='MIT License',
      install_requires=requirements,
      classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: MIT License',
        'Operating System :: Microsoft :: Windows',
        'Operating System :: POSIX :: Linux',
        'Operating System :: MacOS :: MacOS X',
        'Programming Language :: Python',
        'Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        ],
      packages=['pyvisa-py', 'pyvisa-py.protocols'],
      platforms="Linux, Windows,Mac",
      use_2to3=False,
      zip_safe=False)
<commit_msg>Updated the requirements of the package<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

try:
    import sys
    reload(sys).setdefaultencoding("UTF-8")
except:
    pass

try:
    from setuptools import setup
except ImportError:
    print('Please install or upgrade setuptools or pip to continue')
    sys.exit(1)

import codecs

def read(filename):
    return codecs.open(filename, encoding='utf-8').read()

long_description = '\n\n'.join([read('README'),
                                read('AUTHORS'),
                                read('CHANGES')])

__doc__ = long_description

requirements = ['pyvisa>=1.6.1']

setup(name='PyVISA-py',
      description='Python VISA bindings for GPIB, RS232, and USB instruments',
      version='0.1.dev0',
      long_description=long_description,
      author='Hernan E. Grecco',
      author_email='hernan.grecco@gmail.com',
      maintainer='Hernan E. Grecco',
      maintainer_email='hernan.grecco@gmail.com',
      url='https://github.com/hgrecco/pyvisa-py',
      keywords='Remote VISA GPIB USB serial RS232 measurement acquisition',
      license='MIT License',
      install_requires=requirements,
      classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: MIT License',
        'Operating System :: Microsoft :: Windows',
        'Operating System :: POSIX :: Linux',
        'Operating System :: MacOS :: MacOS X',
        'Programming Language :: Python',
        'Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        ],
      packages=['pyvisa-py', 'pyvisa-py.protocols'],
      platforms="Linux, Windows,Mac",
      use_2to3=False,
      zip_safe=False)
<|endoftext|>


<commit_before>#!/usr/bin/env python
# Bootstrap setup tools
try:
    from setuptools import setup
except ImportError:
    try:
        import ez_setup
    except ImportError:
        print "Install failed: You don't have setuptools installed, and we couldn't install it for you"
    else:
        ez_setup.use_setuptools()
        from setuptools import setup

from distutils.command.install import INSTALL_SCHEMES
import os

from molly import __version__ as molly_version
from molly.utils.installer import get_packages_and_data

print """
                                 ;Ok;
                                 lMM:
                                .0MX.
                                ;WMx
                 .xx,           dMW;
                 .oWWd.        .XM0.
                   ,0M0,       ;MMo          .;xKx.
                    .oWWl      oMN'       .,dXMNx;.
                      ,0Wx.    ,dc.    .;dXMNk:.
   ;KX0d:.             .d0:           .XMNk:.
   ;OXMMMK;  ..',..                   .;;.              ...   ...
     .,0MMNx0NMMMMN0l.  .;ok000xc.                     dWWk. :NMK'
       .KMMMMXkddONMMXllKMMWXKNMMNo.    .:ooc:;'..     xMMW, cMMMl
      ;KMMMMd.    .OMMMMMXo'. .oMMMd.   .oOKXWMMMK.   .OMMN. lMMMc
    .xWMMWMMx      :WMMMd.     .kMMW;       ...,;.    ;WMMx .KMMX.
   .KMMWlkMM0    .lWMMMMc       :MMMd                .kMMW, :MMMo
  .OMMX; dMM0    lMMMMMMd       ,MMMx     'ldkxo:.   ,WMMx  kMMX..cl'    .cl'
 .xMMN,  xMM0   ;WMMkNMMd       ;MMMd    lWMMMMMMK,  dMMW, 'WMMl xMM0.   dMMO
 :WMW:  .0MMx  'XMMx,WMMo       oMMMc 'oxWMMK,;XMMK..KMMk. dMMX..NMMo   .OMMk
;0MMx   ,WMMc  xMMK.cMMM:      .KMMX. OMMMMMMWKKMMW';MMM: .KMMd :MMM,   :WMMx
dMMM;  .kMM0. 'WMMc.0MMN.      :MMMo .NMMd:dkOOWMMK.dMMK. :MMM; oMMN.  ,XMMMo
xMMW, .dMMW,  :MMW'oMMMo      .KMM0. .XMMk.  .xMMW: OMMx  oMMX. lMMN..:NMMMM:
cXMMOl0MMWc   ;MMM0WMWd.     .0MMX'   oMMMOodKMMX:..0MMx  dMMX. 'NMM0KMMMMMW'
 'OMMMMWO,    .oNMMM0:.      cWM0'    .cKWMMMMKl.   lWMx  ,XMX.  'OWMMXxXMMO.
  .'::;.        .,,..         ...       ..,;,..      ...   ... .':lkK0kkWMM:
                                                            .,xXMMMMMWMMMMM0,
                                                           .dWMMKdc,.:XMMWMMNo
                                                           cMMWc.  .xWMMK;xXOc
                                                           cMMWkoxOWMMKl.
                                                           .oNMMMMWKd,.
                                                             :dOOxl

Welcome to the Molly Installer!

http://mollyproject.org/
"""

# Tell distutils to put the data_files in platform-specific installation
# locations. See here for an explanation:
# http://groups.google.com/group/comp.lang.python/browse_thread/thread/35ec7b2fed36eaec/2105ee4d9e8042cb
for scheme in INSTALL_SCHEMES.values():
    scheme['data'] = scheme['purelib']

packages, data_files = get_packages_and_data(os.path.dirname(__file__))

setup(
    name = 'molly',
    version = molly_version,
    url = 'http://mollyproject.org/',
    author = 'The Molly Project',
    description = "A framework for building mobile information portals",
    license = 'Academic Free License',
    packages = packages,
    data_files = data_files,
    classifiers=[
        'Framework :: Django',
        'Development Status :: 5 - Production/Stable',
        'License :: OSI Approved :: Academic Free License (AFL)',
        'Intended Audience :: Education',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Education',
        'Topic :: Internet',
    ],
    setup_requires = ["setuptools"],
    install_requires = [
        "python-Levenshtein",
        "pywurfl",
        "mollyZ3950",
        "feedparser>=5.0",
        "simplejson",
        "rdflib",
        "python-dateutil==1.5",
        "Django==1.3",
        "oauth==1.0.1",
        "psycopg2",
        "PIL",
        "lxml",
        "python-ldap",
        "django-pipeline",
        "South",
        "suds",
        "django-slimmer",
        'pyyaml',
    ],
    scripts = [
        'molly/commands/molly-admin'
    ]
)
<commit_msg>MOLLY-198: Bump to minimum pipeline version we need to not error<commit_after>#!/usr/bin/env python
# Bootstrap setup tools
try:
    from setuptools import setup
except ImportError:
    try:
        import ez_setup
    except ImportError:
        print "Install failed: You don't have setuptools installed, and we couldn't install it for you"
    else:
        ez_setup.use_setuptools()
        from setuptools import setup

from distutils.command.install import INSTALL_SCHEMES
import os

from molly import __version__ as molly_version
from molly.utils.installer import get_packages_and_data

print """
                                 ;Ok;
                                 lMM:
                                .0MX.
                                ;WMx
                 .xx,           dMW;
                 .oWWd.        .XM0.
                   ,0M0,       ;MMo          .;xKx.
                    .oWWl      oMN'       .,dXMNx;.
                      ,0Wx.    ,dc.    .;dXMNk:.
   ;KX0d:.             .d0:           .XMNk:.
   ;OXMMMK;  ..',..                   .;;.              ...   ...
     .,0MMNx0NMMMMN0l.  .;ok000xc.                     dWWk. :NMK'
       .KMMMMXkddONMMXllKMMWXKNMMNo.    .:ooc:;'..     xMMW, cMMMl
      ;KMMMMd.    .OMMMMMXo'. .oMMMd.   .oOKXWMMMK.   .OMMN. lMMMc
    .xWMMWMMx      :WMMMd.     .kMMW;       ...,;.    ;WMMx .KMMX.
   .KMMWlkMM0    .lWMMMMc       :MMMd                .kMMW, :MMMo
  .OMMX; dMM0    lMMMMMMd       ,MMMx     'ldkxo:.   ,WMMx  kMMX..cl'    .cl'
 .xMMN,  xMM0   ;WMMkNMMd       ;MMMd    lWMMMMMMK,  dMMW, 'WMMl xMM0.   dMMO
 :WMW:  .0MMx  'XMMx,WMMo       oMMMc 'oxWMMK,;XMMK..KMMk. dMMX..NMMo   .OMMk
;0MMx   ,WMMc  xMMK.cMMM:      .KMMX. OMMMMMMWKKMMW';MMM: .KMMd :MMM,   :WMMx
dMMM;  .kMM0. 'WMMc.0MMN.      :MMMo .NMMd:dkOOWMMK.dMMK. :MMM; oMMN.  ,XMMMo
xMMW, .dMMW,  :MMW'oMMMo      .KMM0. .XMMk.  .xMMW: OMMx  oMMX. lMMN..:NMMMM:
cXMMOl0MMWc   ;MMM0WMWd.     .0MMX'   oMMMOodKMMX:..0MMx  dMMX. 'NMM0KMMMMMW'
 'OMMMMWO,    .oNMMM0:.      cWM0'    .cKWMMMMKl.   lWMx  ,XMX.  'OWMMXxXMMO.
  .'::;.        .,,..         ...       ..,;,..      ...   ... .':lkK0kkWMM:
                                                            .,xXMMMMMWMMMMM0,
                                                           .dWMMKdc,.:XMMWMMNo
                                                           cMMWc.  .xWMMK;xXOc
                                                           cMMWkoxOWMMKl.
                                                           .oNMMMMWKd,.
                                                             :dOOxl

Welcome to the Molly Installer!

http://mollyproject.org/
"""

# Tell distutils to put the data_files in platform-specific installation
# locations. See here for an explanation:
# http://groups.google.com/group/comp.lang.python/browse_thread/thread/35ec7b2fed36eaec/2105ee4d9e8042cb
for scheme in INSTALL_SCHEMES.values():
    scheme['data'] = scheme['purelib']

packages, data_files = get_packages_and_data(os.path.dirname(__file__))

setup(
    name = 'molly',
    version = molly_version,
    url = 'http://mollyproject.org/',
    author = 'The Molly Project',
    description = "A framework for building mobile information portals",
    license = 'Academic Free License',
    packages = packages,
    data_files = data_files,
    classifiers=[
        'Framework :: Django',
        'Development Status :: 5 - Production/Stable',
        'License :: OSI Approved :: Academic Free License (AFL)',
        'Intended Audience :: Education',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Education',
        'Topic :: Internet',
    ],
    setup_requires = ["setuptools"],
    install_requires = [
        "python-Levenshtein",
        "pywurfl",
        "mollyZ3950",
        "feedparser>=5.0",
        "simplejson",
        "rdflib",
        "python-dateutil==1.5",
        "Django==1.3",
        "oauth==1.0.1",
        "psycopg2",
        "PIL",
        "lxml",
        "python-ldap",
        "django-pipeline>=1.1.10",
        "South",
        "suds",
        "django-slimmer",
        'pyyaml',
    ],
    scripts = [
        'molly/commands/molly-admin'
    ]
)
<|endoftext|>


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

import os
import codecs
from setuptools import setup

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

setup(
    name='pytest-skipper',
    version='0.1.0',
    author='Pekka Pöyry',
    author_email='pekka.poyry@gmail.com',
    license='MIT',
    url='https://github.com/quantus/pytest-skipper',
    description=(
        'A plugin that selects only tests with changes in execution path'
    ),
    long_description=read('README.rst'),
    py_modules=['pytest_skipper'],
    install_requires=[
        'pytest>=3.0.6',
        'coverage>=4.2',
        'GitPython>=2.1.1'
        ],
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Framework :: Pytest',
        'Intended Audience :: Developers',
        'Topic :: Software Development :: Testing',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        '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 :: PyPy',
        'Operating System :: OS Independent',
        'License :: OSI Approved :: MIT License',
    ],
    entry_points={
        'pytest11': [
            'pytest_skipper = pytest_skipper',
        ],
    },
)
<commit_msg>Release 0.1.1<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os
import codecs
from setuptools import setup

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

setup(
    name='pytest-skipper',
    version='0.1.1',
    author='Pekka Pöyry',
    author_email='pekka.poyry@gmail.com',
    license='MIT',
    url='https://github.com/quantus/pytest-skipper',
    description=(
        'A plugin that selects only tests with changes in execution path'
    ),
    long_description=read('README.rst'),
    py_modules=['pytest_skipper'],
    install_requires=[
        'pytest>=3.0.6',
        'coverage>=4.2',
        'GitPython>=2.1.1'
        ],
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Framework :: Pytest',
        'Intended Audience :: Developers',
        'Topic :: Software Development :: Testing',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        '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 :: PyPy',
        'Operating System :: OS Independent',
        'License :: OSI Approved :: MIT License',
    ],
    entry_points={
        'pytest11': [
            'pytest_skipper = pytest_skipper',
        ],
    },
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

setup(
    name="docker_xylem",
    version='0.1.8a0',
    url='http://github.com/praekeltfoundation/docker-xylem',
    license='MIT',
    description="A docker storage plugin",
    author='Colin Alston',
    author_email='colin@praekelt.com',
    packages=find_packages() + [
        "twisted.plugins",
    ],
    package_data={
        'twisted.plugins': ['twisted/plugins/docker_xylem_plugin.py']
    },
    include_package_data=True,
    install_requires=[
        'Twisted',
        'pyyaml'
    ],
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: System Administrators',
        'License :: OSI Approved :: MIT License',
        'Operating System :: POSIX',
        'Programming Language :: Python',
        'Topic :: System :: Distributed Computing',
    ],
)
<commit_msg>Release 0.1.8.<commit_after>from setuptools import setup, find_packages

setup(
    name="docker_xylem",
    version='0.1.8',
    url='http://github.com/praekeltfoundation/docker-xylem',
    license='MIT',
    description="A docker storage plugin",
    author='Colin Alston',
    author_email='colin@praekelt.com',
    packages=find_packages() + [
        "twisted.plugins",
    ],
    package_data={
        'twisted.plugins': ['twisted/plugins/docker_xylem_plugin.py']
    },
    include_package_data=True,
    install_requires=[
        'Twisted',
        'pyyaml'
    ],
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: System Administrators',
        'License :: OSI Approved :: MIT License',
        'Operating System :: POSIX',
        'Programming Language :: Python',
        'Topic :: System :: Distributed Computing',
    ],
)
<|endoftext|>


<commit_before>"""
The setup package to install SeleniumBase dependencies and plugins
(Uses selenium 3.x and is compatible with Python 2.7+ and Python 3.6+)
"""

from setuptools import setup, find_packages  # noqa

setup(
    name='seleniumbase',
    version='1.12.0',
    description='Web Automation & Testing Framework - http://seleniumbase.com',
    long_description='Web Automation and Testing Framework - seleniumbase.com',
    platforms='Mac * Windows * Linux * Docker',
    url='http://seleniumbase.com',
    author='Michael Mintz',
    author_email='mdmintz@gmail.com',
    maintainer='Michael Mintz',
    license='The MIT License',
    install_requires=[
        'pip',
        'setuptools',
        'ipython==5.6.0',
        'selenium==3.11.0',
        'nose==1.3.7',
        'pytest==3.6.3',
        'pytest-html==1.19.0',
        'pytest-xdist==1.22.2',
        'six==1.10.0',
        'flake8==3.5.0',
        'requests==2.19.1',
        'beautifulsoup4==4.6.0',
        'unittest2==1.1.0',
        'chardet==3.0.4',
        'boto==2.48.0',
        'ipdb==0.11',
        'PyVirtualDisplay==0.2.1',
        ],
    packages=['seleniumbase',
              'seleniumbase.common',
              'seleniumbase.config',
              'seleniumbase.core',
              'seleniumbase.fixtures',
              'seleniumbase.masterqa',
              'seleniumbase.plugins',
              'console_scripts',
              'integrations',
              'integrations.selenium_grid',
              'integrations.selenium_ide',
              ],
    entry_points={
        'console_scripts': [
            'seleniumbase = console_scripts.run:main',
        ],
        'nose.plugins': [
            'base_plugin = seleniumbase.plugins.base_plugin:Base',
            'selenium = seleniumbase.plugins.selenium_plugin:SeleniumBrowser',
            'page_source = seleniumbase.plugins.page_source:PageSource',
            'screen_shots = seleniumbase.plugins.screen_shots:ScreenShots',
            'test_info = seleniumbase.plugins.basic_test_info:BasicTestInfo',
            ('db_reporting = '
             'seleniumbase.plugins.db_reporting_plugin:DBReporting'),
            's3_logging = seleniumbase.plugins.s3_logging_plugin:S3Logging',
            ('hipchat_reporting = seleniumbase.plugins'
             '.hipchat_reporting_plugin:HipchatReporting'),
            ],
        'pytest11': ['seleniumbase = seleniumbase.plugins.pytest_plugin']
        }
    )

# print(os.system("cat seleniumbase.egg-info/PKG-INFO"))
print("\n*** SeleniumBase Installation Complete! ***\n")
<commit_msg>Version 1.12.1<commit_after>"""
The setup package to install SeleniumBase dependencies and plugins
(Uses selenium 3.x and is compatible with Python 2.7+ and Python 3.6+)
"""

from setuptools import setup, find_packages  # noqa

setup(
    name='seleniumbase',
    version='1.12.1',
    description='Web Automation & Testing Framework - http://seleniumbase.com',
    long_description='Web Automation and Testing Framework - seleniumbase.com',
    platforms='Mac * Windows * Linux * Docker',
    url='http://seleniumbase.com',
    author='Michael Mintz',
    author_email='mdmintz@gmail.com',
    maintainer='Michael Mintz',
    license='The MIT License',
    install_requires=[
        'pip',
        'setuptools',
        'ipython==5.6.0',
        'selenium==3.11.0',
        'nose==1.3.7',
        'pytest==3.6.3',
        'pytest-html==1.19.0',
        'pytest-xdist==1.22.2',
        'six==1.10.0',
        'flake8==3.5.0',
        'requests==2.19.1',
        'beautifulsoup4==4.6.0',
        'unittest2==1.1.0',
        'chardet==3.0.4',
        'boto==2.48.0',
        'ipdb==0.11',
        'PyVirtualDisplay==0.2.1',
        ],
    packages=['seleniumbase',
              'seleniumbase.common',
              'seleniumbase.config',
              'seleniumbase.core',
              'seleniumbase.fixtures',
              'seleniumbase.masterqa',
              'seleniumbase.plugins',
              'console_scripts',
              'integrations',
              'integrations.selenium_grid',
              'integrations.selenium_ide',
              ],
    entry_points={
        'console_scripts': [
            'seleniumbase = console_scripts.run:main',
        ],
        'nose.plugins': [
            'base_plugin = seleniumbase.plugins.base_plugin:Base',
            'selenium = seleniumbase.plugins.selenium_plugin:SeleniumBrowser',
            'page_source = seleniumbase.plugins.page_source:PageSource',
            'screen_shots = seleniumbase.plugins.screen_shots:ScreenShots',
            'test_info = seleniumbase.plugins.basic_test_info:BasicTestInfo',
            ('db_reporting = '
             'seleniumbase.plugins.db_reporting_plugin:DBReporting'),
            's3_logging = seleniumbase.plugins.s3_logging_plugin:S3Logging',
            ('hipchat_reporting = seleniumbase.plugins'
             '.hipchat_reporting_plugin:HipchatReporting'),
            ],
        'pytest11': ['seleniumbase = seleniumbase.plugins.pytest_plugin']
        }
    )

# print(os.system("cat seleniumbase.egg-info/PKG-INFO"))
print("\n*** SeleniumBase Installation Complete! ***\n")
<|endoftext|>


<commit_before>from distutils.core import setup

setup(
    name='Aeon',
    url='https://github.com/sMAshdot/aeon',
    author='Marc-Antonio Bisotti',
    author_email='mail@marc-antonio.de',
    version='1.0',
    packages=['aeon', ],
    license='The MIT License (MIT)',
    description=('Runtime and number of calls for designated functions, '
                 'methods, or pieces of code. Optionally output nice report.')
    long_description=open('README.txt').read(),
)
<commit_msg>fix missing comma in setup.py<commit_after>from distutils.core import setup

setup(
    name='Aeon',
    url='https://github.com/sMAshdot/aeon',
    author='Marc-Antonio Bisotti',
    author_email='mail@marc-antonio.de',
    version='1.0',
    packages=['aeon', ],
    license='The MIT License (MIT)',
    description=('Runtime and number of calls for designated functions, '
                 'methods, or pieces of code. Optionally output nice report.'),
    long_description=open('README.txt').read(),
)
<|endoftext|>


<commit_before>from distutils.core import setup

setup(
    name="influxer",
    version="1.0.7",
    description="Read and Write Event Data to InfluxDB",
    author="Vince Forgione",
    author_email="vforgione@theonion.com",
    packages=["influxer"],
    install_requires=[
        "gevent==1.0.1",
        "influxdb==0.1.13",
        "pylibmc==1.4.2",
    ],
    url="https://github.com/theonion/influxer"
)
<commit_msg>new release<commit_after>from distutils.core import setup

setup(
    name="influxer",
    version="1.0.8",
    description="Read and Write Event Data to InfluxDB",
    author="Vince Forgione",
    author_email="vforgione@theonion.com",
    packages=["influxer"],
    install_requires=[
        "gevent==1.0.1",
        "influxdb==0.1.13",
        "pylibmc==1.4.2",
    ],
    url="https://github.com/theonion/influxer"
)
<|endoftext|>


<commit_before>import setuptools

with open("README_pypi.md", "r") as fh:
    long_description = fh.read()
print("PACKAGES FOUND:", setuptools.find_packages())

setuptools.setup(
    name="simple_parsing",
    version="0.0.3post3",
    author="Fabrice Normandin",
    author_email="fabrice.normandin@gmail.com",
    description="A small utility for simplifying and cleaning up argument parsing scripts.",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/lebrice/SimpleParsing",
    packages=["simple_parsing"],
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
    python_requires='>=3.6',
)<commit_msg>Updated README<commit_after>import setuptools

with open("README_pypi.md", "r") as fh:
    long_description = fh.read()
print("PACKAGES FOUND:", setuptools.find_packages())

setuptools.setup(
    name="simple_parsing",
    version="0.0.3post4",
    author="Fabrice Normandin",
    author_email="fabrice.normandin@gmail.com",
    description="A small utility for simplifying and cleaning up argument parsing scripts.",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/lebrice/SimpleParsing",
    packages=["simple_parsing"],
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
    ],
    python_requires='>=3.6',
)<|endoftext|>


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

from setuptools import setup

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

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

requirements = [
    # put package requirements here
]

test_requirements = [
    # put package test requirements here
]

setup(
    name='project_template',
    version='0.1.1',
    description="Python Boilerplate contains all the boilerplate you need " \
                "to create a Python package.",
    long_description=readme + '\n\n' + history,
    author="David R. Smith",
    author_email='drsmith48@gmail.com',
    url='https://github.com/drsmith48/project_template',
    packages=[
        'project_template',
    ],
    package_dir={'project_template':
                 'project_template'},
    include_package_data=True,
    install_requires=requirements,
    license="MIT license",
    zip_safe=False,
    keywords='project_template',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        '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
)
<commit_msg>fixed style in setup.py<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

from setuptools import setup

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

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

requirements = [
    # put package requirements here
]

test_requirements = [
    # put package test requirements here
]

setup(
    name='project_template',
    version='0.1.1',
    description="Python Boilerplate contains all the boilerplate you need "
                "to create a Python package.",
    long_description=readme + '\n\n' + history,
    author="David R. Smith",
    author_email='drsmith48@gmail.com',
    url='https://github.com/drsmith48/project_template',
    packages=[
        'project_template',
    ],
    package_dir={'project_template':
                 'project_template'},
    include_package_data=True,
    install_requires=requirements,
    license="MIT license",
    zip_safe=False,
    keywords='project_template',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        '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
)
<|endoftext|>


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

from setuptools import setup, find_packages

description = """
PostgreSQL json field support for Django.
"""

setup(
    name="django-pgjson",
    version="0.3.1",
    url="https://github.com/niwibe/djorm-pgjson",
    license="BSD",
    platforms=["OS Independent"],
    description=description.strip(),
    author="Andrey Antukh",
    author_email="niwi@niwi.be",
    keywords="django, postgresql, pgsql, json, field",
    maintainer="Andrey Antukh",
    maintainer_email="niwi@niwi.be",
    packages=find_packages(),
    include_package_data=False,
    install_requires=[],
    zip_safe=False,
    classifiers=[
        "Development Status :: 4 - Beta",
        "Framework :: Django",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: BSD License",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.3",
        "Topic :: Internet :: WWW/HTTP",
    ]
)
<commit_msg>Fix home page url<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages

description = """
PostgreSQL json field support for Django.
"""

setup(
    name="django-pgjson",
    version="0.3.1",
    url="https://github.com/djangonauts/django-pgjson",
    license="BSD",
    platforms=["OS Independent"],
    description=description.strip(),
    author="Andrey Antukh",
    author_email="niwi@niwi.be",
    keywords="django, postgresql, pgsql, json, field",
    maintainer="Andrey Antukh",
    maintainer_email="niwi@niwi.be",
    packages=find_packages(),
    include_package_data=False,
    install_requires=[],
    zip_safe=False,
    classifiers=[
        "Development Status :: 4 - Beta",
        "Framework :: Django",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: BSD License",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.3",
        "Topic :: Internet :: WWW/HTTP",
    ]
)
<|endoftext|>


<commit_before>#!/usr/bin/env python
# coding=utf-8
"""Setup script."""

import sys
from setuptools import setup, find_packages

dependencies = ["mongoengine", "dateutils"]
desc = "More human readable JSON serializer/de-serializer for MongoEngine"
version = "0.10.1"
if sys.version_info < (2, 7):
    raise RuntimeError("Not supported on earlier then python 2.7.")

try:
    from functools import singledispatch
except ImportError:
    dependencies.append("singledispatch")

try:
    with open('README.rst') as readme:
        long_desc = readme.read()
except Exception:
    long_desc = None

setup(
    name="mongoengine_goodjson",
    version=version,
    description=desc,
    long_description=long_desc,
    packages=find_packages(exclude=["tests"]),
    install_requires=dependencies,
    zip_safe=False,
    author="Hiroaki Yamamoto",
    author_email="hiroaki@hysoftware.net",
    license="MIT",
    keywords="json mongoengine mongodb",
    url="https://github.com/hiroaki-yamamoto/mongoengine-goodjson",
    classifiers=[
        "Development Status :: 4 - Beta",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3.5"
    ]
)
<commit_msg>Bump the version<commit_after>#!/usr/bin/env python
# coding=utf-8
"""Setup script."""

import sys
from setuptools import setup, find_packages

dependencies = ["mongoengine", "dateutils"]
desc = "More human readable JSON serializer/de-serializer for MongoEngine"
version = "0.11.0"
if sys.version_info < (2, 7):
    raise RuntimeError("Not supported on earlier then python 2.7.")

try:
    from functools import singledispatch
except ImportError:
    dependencies.append("singledispatch")

try:
    with open('README.rst') as readme:
        long_desc = readme.read()
except Exception:
    long_desc = None

setup(
    name="mongoengine_goodjson",
    version=version,
    description=desc,
    long_description=long_desc,
    packages=find_packages(exclude=["tests"]),
    install_requires=dependencies,
    zip_safe=False,
    author="Hiroaki Yamamoto",
    author_email="hiroaki@hysoftware.net",
    license="MIT",
    keywords="json mongoengine mongodb",
    url="https://github.com/hiroaki-yamamoto/mongoengine-goodjson",
    classifiers=[
        "Development Status :: 4 - Beta",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3.5"
    ]
)
<|endoftext|>


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

"""
A deployer, remote shell and status monitor built upon MarcoPolo
"""

from setuptools import setup, find_packages
from distutils.command.clean import clean
from distutils.command.install import install
from codecs import open
import os, sys, subprocess
import glob
import stat

custom_deployer_params = [
                            "--marcodeployer-disable-daemons",
                            "--marcodeployer-disable-deployer",
                            "--marcodeployer-enable-receiver",
                            "--marcodeployer-no-start"
                         ]

def detect_init():
    try:
        subprocess.check_call(["systemctl", "--version"], stdout=None, stderr=None, shell=False)
        return 0
    except (subprocess.CalledProcessError, OSError):
        return 1

def enable_service(service):
    sys.stdout.write("Enabling service " + service +"...\n")
    if init_bin == 0:
        subprocess.call(["systemctl", "enable", service], shell=False)
    else:
        subprocess.call(["update-rc.d", "-f", service, "remove"], shell=False)
        subprocess.call(["update-rc.d", service, "defaults"], shell=False)

    sys.stdout.write("Enabled!\n")

def start_service(service):
    sys.stdout.write("Starting service " + service + "...")
    if init_bin == 0:
        subprocess.call(["systemctl", "stop", service], shell=False)
        subprocess.call(["systemctl", "start", service], shell=False)
    else:
        subprocess.call(["service", service, "stop"], shell=False)
        subprocess.call(["service", service, "start"], shell=False)

    sys.stdout.write("Started!\n")

if __name__ == "__main__":

    deployer_params = []

    python_version = int(sys.version[0])

    for param in sys.argv:
        if param in custom_deployer_params:
            deployer_params.append(param)
            sys.argv.remove(param)

    here = os.path.abspath(os.path.dirname(__file__))

    long_description = ""

    with open(os.path.join(here, "DESCRIPTION.rst"), encoding='utf-8') as f:
        long_description = f.read()

    def copy_dir(directory, module):
        dir_path = directory
        base_dir = os.path.join(module, dir_path)
        for (dirpath, dirnames, files) in os.walk(base_dir):
            for f in files:
                yield os.path.join(dirpath.split('/', 1)[1], f)

    data_files = [
                    ('/usr/lib/marcodeployer/static/css', glob.glob("usr/lib/marcodeployer/static/css/*")),
                    ('/usr/lib/marcodeployer/static/fonts', glob.glob("usr/lib/marcodeployer/static/fonts/*")),
                    ('/usr/lib/marcodeployer/static/img',  glob.glob("usr/lib/marcodeployer/static/img/*")),
                    ('/usr/lib/marcodeployer/static/js',  glob.glob("usr/lib/marcodeployer/static/js/*")),
                    ('/usr/lib/marcodeployer/certs', glob.glob("usr/lib/marcodeployer/certs/*")),
                    ('/usr/lib/marcodeployer/templates', glob.glob("usr/lib/marcodeployer/templates/*.jade")),
                    ('/etc/marcodeployer', glob.glob('etc/marcodeployer/*'))
                 ]

    daemon_files = []
    if "--marcodeployer-disable-daemons" not in deployer_params:
        init_bin = detect_init()

        if init_bin == 1:
            daemon_files = [
                            ('/etc/init.d/', ["daemon/systemv/marcodeployerd",
                                              "daemon/systemv/marcoreceiverd"])
                            ]

        else:
            daemon_files = [
                            ('/etc/systemd/system/', ["daemon/systemd/marcodeployerd.service",
                                                      "daemon/systemd/marcoreceiverd.service"])
                           ]

    data_files.extend(daemon_files)

    description = "The deployer for the marcopolo environment"

    setup(
        name="marcopolo-deployer",
        provides=["marcodeployer"],
        version='0.1.6',
        description=description,
        long_description = long_description,
        url="marcopolo.martinarroyo.net/apps/marcodeployer",
        author="Diego Martín",
        author_email="martinarroyo@usal.es",
        license="MIT",
        classifiers=[
        'Development Status :: 3 - Alpha',

        'Intended Audience :: Developers',
        'Intended Audience :: System Administrators',

        'Topic :: Software Development',
        'Topic :: System :: Networking',
        'Topic :: System :: Monitoring',
        'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',

        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.4',
        'Natural Language :: English',

        ],
        keywords="marcopolo deployer statusmonitor",
        packages=find_packages(),
        install_requires=[
            'certifi>=2015.4.28',
            'netifaces>=0.10.4',
            'pyjade>=3.0.0',
            'python-pam>=1.8.2',
            'requests>=2.7.0',
            'requests-futures>=0.9.5',
            'six>=1.9.0',
            'tornado>=4.1',
            'marcopolo>=0.1.0',
            'marcopolo.bindings>=0.1.0',
        #    'transifex-client',
        #    'sphinx-intl'
        ],
        zip_safe=False,
        data_files=data_files,
        entry_points={
            'console_scripts':[
                'marcodeployerd = marcodeployer.deployer:main',
                'marcoreceiverd = marcodeployer.receiver:main'
            ]
        }
    )

    if "install" in sys.argv:
        if "--marcodeployer-disable-daemons" not in deployer_params:
            if "--marcodeployer-disable-deployer" not in deployer_params:
                enable_service("marcodeployerd")
                if "--marcodeployer-no-start" not in deployer_params:
                    start_service("marcodeployerd")

            if "--marcodeployer-enable-receiver" in deployer_params:
                enable_service("marcoreceiverd")
                if "--marcodeployer-no-start" not in deployer_params:
                    start_service("marcoreceiverd")

        if not os.path.exists("/var/log/marcodeployer"):
            os.makedirs('/var/log/marcodeployer')

        for f in os.listdir('/usr/lib/marcodeployer/certs'):
            os.chmod(os.path.join('/usr/lib/marcodeployer/certs', f), stat.S_IREAD | stat.S_IWRITE)

        os.chmod('/etc/marcodeployer/secret', stat.S_IREAD | stat.S_IWRITE)<commit_msg>Change in version<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
A deployer, remote shell and status monitor built upon MarcoPolo
"""

from setuptools import setup, find_packages
from distutils.command.clean import clean
from distutils.command.install import install
from codecs import open
import os, sys, subprocess
import glob
import stat

custom_deployer_params = [
                            "--marcodeployer-disable-daemons",
                            "--marcodeployer-disable-deployer",
                            "--marcodeployer-enable-receiver",
                            "--marcodeployer-no-start"
                         ]

def detect_init():
    try:
        subprocess.check_call(["systemctl", "--version"], stdout=None, stderr=None, shell=False)
        return 0
    except (subprocess.CalledProcessError, OSError):
        return 1

def enable_service(service):
    sys.stdout.write("Enabling service " + service +"...\n")
    if init_bin == 0:
        subprocess.call(["systemctl", "enable", service], shell=False)
    else:
        subprocess.call(["update-rc.d", "-f", service, "remove"], shell=False)
        subprocess.call(["update-rc.d", service, "defaults"], shell=False)

    sys.stdout.write("Enabled!\n")

def start_service(service):
    sys.stdout.write("Starting service " + service + "...")
    if init_bin == 0:
        subprocess.call(["systemctl", "stop", service], shell=False)
        subprocess.call(["systemctl", "start", service], shell=False)
    else:
        subprocess.call(["service", service, "stop"], shell=False)
        subprocess.call(["service", service, "start"], shell=False)

    sys.stdout.write("Started!\n")

if __name__ == "__main__":

    deployer_params = []

    python_version = int(sys.version[0])

    for param in sys.argv:
        if param in custom_deployer_params:
            deployer_params.append(param)
            sys.argv.remove(param)

    here = os.path.abspath(os.path.dirname(__file__))

    long_description = ""

    with open(os.path.join(here, "DESCRIPTION.rst"), encoding='utf-8') as f:
        long_description = f.read()

    def copy_dir(directory, module):
        dir_path = directory
        base_dir = os.path.join(module, dir_path)
        for (dirpath, dirnames, files) in os.walk(base_dir):
            for f in files:
                yield os.path.join(dirpath.split('/', 1)[1], f)

    data_files = [
                    ('/usr/lib/marcodeployer/static/css', glob.glob("usr/lib/marcodeployer/static/css/*")),
                    ('/usr/lib/marcodeployer/static/fonts', glob.glob("usr/lib/marcodeployer/static/fonts/*")),
                    ('/usr/lib/marcodeployer/static/img',  glob.glob("usr/lib/marcodeployer/static/img/*")),
                    ('/usr/lib/marcodeployer/static/js',  glob.glob("usr/lib/marcodeployer/static/js/*")),
                    ('/usr/lib/marcodeployer/certs', glob.glob("usr/lib/marcodeployer/certs/*")),
                    ('/usr/lib/marcodeployer/templates', glob.glob("usr/lib/marcodeployer/templates/*.jade")),
                    ('/etc/marcodeployer', glob.glob('etc/marcodeployer/*'))
                 ]

    daemon_files = []
    if "--marcodeployer-disable-daemons" not in deployer_params:
        init_bin = detect_init()

        if init_bin == 1:
            daemon_files = [
                            ('/etc/init.d/', ["daemon/systemv/marcodeployerd",
                                              "daemon/systemv/marcoreceiverd"])
                            ]

        else:
            daemon_files = [
                            ('/etc/systemd/system/', ["daemon/systemd/marcodeployerd.service",
                                                      "daemon/systemd/marcoreceiverd.service"])
                           ]

    data_files.extend(daemon_files)

    description = "The deployer for the marcopolo environment"

    setup(
        name="marcopolo-deployer",
        provides=["marcodeployer"],
        version='0.1.7',
        description=description,
        long_description = long_description,
        url="marcopolo.martinarroyo.net/apps/marcodeployer",
        author="Diego Martín",
        author_email="martinarroyo@usal.es",
        license="MIT",
        classifiers=[
        'Development Status :: 3 - Alpha',

        'Intended Audience :: Developers',
        'Intended Audience :: System Administrators',

        'Topic :: Software Development',
        'Topic :: System :: Networking',
        'Topic :: System :: Monitoring',
        'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)',

        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.4',
        'Natural Language :: English',

        ],
        keywords="marcopolo deployer statusmonitor",
        packages=find_packages(),
        install_requires=[
            'certifi>=2015.4.28',
            'netifaces>=0.10.4',
            'pyjade>=3.0.0',
            'python-pam>=1.8.2',
            'requests>=2.7.0',
            'requests-futures>=0.9.5',
            'six>=1.9.0',
            'tornado>=4.1',
            'marcopolo>=0.1.0',
            'marcopolo.bindings>=0.1.0',
        #    'transifex-client',
        #    'sphinx-intl'
        ],
        zip_safe=False,
        data_files=data_files,
        entry_points={
            'console_scripts':[
                'marcodeployerd = marcodeployer.deployer:main',
                'marcoreceiverd = marcodeployer.receiver:main'
            ]
        }
    )

    if "install" in sys.argv:
        if "--marcodeployer-disable-daemons" not in deployer_params:
            if "--marcodeployer-disable-deployer" not in deployer_params:
                enable_service("marcodeployerd")
                if "--marcodeployer-no-start" not in deployer_params:
                    start_service("marcodeployerd")

            if "--marcodeployer-enable-receiver" in deployer_params:
                enable_service("marcoreceiverd")
                if "--marcodeployer-no-start" not in deployer_params:
                    start_service("marcoreceiverd")

        if not os.path.exists("/var/log/marcodeployer"):
            os.makedirs('/var/log/marcodeployer')

        for f in os.listdir('/usr/lib/marcodeployer/certs'):
            os.chmod(os.path.join('/usr/lib/marcodeployer/certs', f), stat.S_IREAD | stat.S_IWRITE)

        os.chmod('/etc/marcodeployer/secret', stat.S_IREAD | stat.S_IWRITE)
<|endoftext|>


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

"""
    Setup file for patroni
"""

import inspect
import os
import sys

from patroni import check_psycopg2, fatal
from patroni.version import __version__ as VERSION
from setuptools.command.test import test as TestCommand
from setuptools import find_packages, setup

if sys.version_info < (2, 7, 0):
    fatal('patroni needs to be run with Python 2.7+')
check_psycopg2()
del sys.modules['patroni']
del sys.modules['patroni.version']

__location__ = os.path.join(os.getcwd(), os.path.dirname(inspect.getfile(inspect.currentframe())))

NAME = 'patroni'
MAIN_PACKAGE = NAME
SCRIPTS = 'scripts'
DESCRIPTION = 'PostgreSQL High-Available orchestrator and CLI'
LICENSE = 'The MIT License'
URL = 'https://github.com/zalando/patroni'
AUTHOR = 'Alexander Kukushkin, Dmitrii Dolgov, Oleksii Kliukin'
AUTHOR_EMAIL = 'alexander.kukushkin@zalando.de, dmitrii.dolgov@zalando.de, alexk@hintbits.com'
KEYWORDS = 'etcd governor patroni postgresql postgres ha haproxy confd' +\
    ' zookeeper exhibitor consul streaming replication kubernetes k8s'

COVERAGE_XML = True
COVERAGE_HTML = False
JUNIT_XML = False

# Add here all kinds of additional classifiers as defined under
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
CLASSIFIERS = [
    'Development Status :: 5 - Production/Stable',
    'Environment :: Console',
    'Intended Audience :: Developers',
    'Intended Audience :: System Administrators',
    'License :: OSI Approved :: MIT License',
    'Operating System :: MacOS',
    'Operating System :: POSIX :: Linux',
    'Operating System :: POSIX :: BSD :: FreeBSD',
    'Operating System :: Microsoft :: Windows',
    'Programming Language :: Python',
    'Programming Language :: Python :: 2.7',
    'Programming Language :: Python :: 3',
    'Programming Language :: Python :: 3.4',
    'Programming Language :: Python :: 3.5',
    'Programming Language :: Python :: 3.6',
    'Programming Language :: Python :: 3.7',
    'Programming Language :: Python :: Implementation :: CPython',
]

CONSOLE_SCRIPTS = ['patroni = patroni:main',
                   'patronictl = patroni.ctl:ctl',
                   "patroni_wale_restore = patroni.scripts.wale_restore:main",
                   "patroni_aws = patroni.scripts.aws:main"]

class PyTest(TestCommand):

    user_options = [('cov=', None, 'Run coverage'), ('cov-xml=', None, 'Generate junit xml report'), ('cov-html=',
                    None, 'Generate junit html report'), ('junitxml=', None, 'Generate xml of test results')]

    def initialize_options(self):
        TestCommand.initialize_options(self)
        self.cov_xml = False
        self.cov_html = False
        self.junitxml = None

    def finalize_options(self):
        TestCommand.finalize_options(self)
        if self.cov_xml or self.cov_html:
            self.cov = ['--cov', MAIN_PACKAGE, '--cov-report', 'term-missing']
            if self.cov_xml:
                self.cov.extend(['--cov-report', 'xml'])
            if self.cov_html:
                self.cov.extend(['--cov-report', 'html'])
        if self.junitxml is not None:
            self.junitxml = ['--junitxml', self.junitxml]

    def run_tests(self):
        try:
            import pytest
        except Exception:
            raise RuntimeError('py.test is not installed, run: pip install pytest')
        params = {'args': self.test_args}
        if self.cov:
            params['args'] += self.cov
        if self.junitxml:
            params['args'] += self.junitxml
        params['args'] += ['--doctest-modules', MAIN_PACKAGE, '-vv']

        import logging
        silence = logging.WARNING
        logging.basicConfig(format='%(asctime)s %(levelname)s: %(message)s', level=os.getenv('LOGLEVEL', silence))
        params['args'] += ['-s' if logging.getLogger().getEffectiveLevel() < silence else '--capture=fd']
        if not os.getenv('SYSTEMROOT'):
            os.environ['SYSTEMROOT'] = '/'
        errno = pytest.main(**params)
        sys.exit(errno)

def read(fname):
    with open(os.path.join(__location__, fname)) as fd:
        return fd.read()

def setup_package():
    # Assemble additional setup commands
    cmdclass = {'test': PyTest}

    install_requires = []
    extras_require = {'aws': ['boto'], 'etcd': ['python-etcd'], 'consul': ['python-consul'],
                      'exhibitor': ['kazoo'], 'zookeeper': ['kazoo'], 'kubernetes': ['kubernetes']}

    for r in read('requirements.txt').split('\n'):
        r = r.strip()
        if r == '':
            continue
        extra = False
        for e, v in extras_require.items():
            if r.startswith(v[0]):
                extras_require[e] = [r]
                extra = True
        if not extra:
            install_requires.append(r)

    command_options = {'test': {'test_suite': ('setup.py', 'tests')}}
    if JUNIT_XML:
        command_options['test']['junitxml'] = 'setup.py', 'junit.xml'
    if COVERAGE_XML:
        command_options['test']['cov_xml'] = 'setup.py', True
    if COVERAGE_HTML:
        command_options['test']['cov_html'] = 'setup.py', True

    setup(
        name=NAME,
        version=VERSION,
        url=URL,
        author=AUTHOR,
        author_email=AUTHOR_EMAIL,
        description=DESCRIPTION,
        license=LICENSE,
        keywords=KEYWORDS,
        long_description=read('README.rst'),
        classifiers=CLASSIFIERS,
        test_suite='tests',
        packages=find_packages(exclude=['tests', 'tests.*']),
        package_data={MAIN_PACKAGE: ["*.json"]},
        install_requires=install_requires,
        extras_require=extras_require,
        cmdclass=cmdclass,
        tests_require=['flake8', 'mock>=2.0.0', 'pytest-cov', 'pytest'],
        command_options=command_options,
        entry_points={'console_scripts': CONSOLE_SCRIPTS},
    )

if __name__ == '__main__':
    setup_package()
<commit_msg>Tidy up setup.py (#1308)<commit_after>#!/usr/bin/env python

"""
    Setup file for patroni
"""

import inspect
import os
import sys

from patroni import check_psycopg2, fatal
from patroni.version import __version__ as VERSION
from setuptools import Command, find_packages, setup

if sys.version_info < (2, 7, 0):
    fatal('patroni needs to be run with Python 2.7+')
check_psycopg2()
del sys.modules['patroni']
del sys.modules['patroni.version']

__location__ = os.path.join(os.getcwd(), os.path.dirname(inspect.getfile(inspect.currentframe())))

NAME = 'patroni'
MAIN_PACKAGE = NAME
DESCRIPTION = 'PostgreSQL High-Available orchestrator and CLI'
LICENSE = 'The MIT License'
URL = 'https://github.com/zalando/patroni'
AUTHOR = 'Alexander Kukushkin, Dmitrii Dolgov, Oleksii Kliukin'
AUTHOR_EMAIL = 'alexander.kukushkin@zalando.de, dmitrii.dolgov@zalando.de, alexk@hintbits.com'
KEYWORDS = 'etcd governor patroni postgresql postgres ha haproxy confd' +\
    ' zookeeper exhibitor consul streaming replication kubernetes k8s'

COVERAGE_XML = True
COVERAGE_HTML = False

# Add here all kinds of additional classifiers as defined under
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
CLASSIFIERS = [
    'Development Status :: 5 - Production/Stable',
    'Environment :: Console',
    'Intended Audience :: Developers',
    'Intended Audience :: System Administrators',
    'License :: OSI Approved :: MIT License',
    'Operating System :: MacOS',
    'Operating System :: POSIX :: Linux',
    'Operating System :: POSIX :: BSD :: FreeBSD',
    'Operating System :: Microsoft :: Windows',
    'Programming Language :: Python',
    'Programming Language :: Python :: 2.7',
    'Programming Language :: Python :: 3',
    'Programming Language :: Python :: 3.4',
    'Programming Language :: Python :: 3.5',
    'Programming Language :: Python :: 3.6',
    'Programming Language :: Python :: 3.7',
    'Programming Language :: Python :: Implementation :: CPython',
]

CONSOLE_SCRIPTS = ['patroni = patroni:main',
                   'patronictl = patroni.ctl:ctl',
                   "patroni_wale_restore = patroni.scripts.wale_restore:main",
                   "patroni_aws = patroni.scripts.aws:main"]

class PyTest(Command):

    user_options = [('cov=', None, 'Run coverage'), ('cov-xml=', None, 'Generate junit xml report'),
                    ('cov-html=', None, 'Generate junit html report')]

    def initialize_options(self):
        self.cov = []
        self.cov_xml = False
        self.cov_html = False

    def finalize_options(self):
        if self.cov_xml or self.cov_html:
            self.cov = ['--cov', MAIN_PACKAGE, '--cov-report', 'term-missing']
            if self.cov_xml:
                self.cov.extend(['--cov-report', 'xml'])
            if self.cov_html:
                self.cov.extend(['--cov-report', 'html'])

    def run_tests(self):
        try:
            import pytest
        except Exception:
            raise RuntimeError('py.test is not installed, run: pip install pytest')

        import logging
        silence = logging.WARNING
        logging.basicConfig(format='%(asctime)s %(levelname)s: %(message)s', level=os.getenv('LOGLEVEL', silence))

        args = ['--verbose', 'tests', '--doctest-modules', MAIN_PACKAGE] +\
            ['-s' if logging.getLogger().getEffectiveLevel() < silence else '--capture=fd']
        if self.cov:
            args += self.cov

        errno = pytest.main(args=args)
        sys.exit(errno)

    def run(self):
        from pkg_resources import evaluate_marker
        requirements = self.distribution.install_requires + ['flake8', 'mock>=2.0.0', 'pytest-cov', 'pytest'] +\
            [v for k, v in self.distribution.extras_require.items() if not k.startswith(':') or evaluate_marker(k[1:])]
        self.distribution.fetch_build_eggs(requirements)
        self.run_tests()

def read(fname):
    with open(os.path.join(__location__, fname)) as fd:
        return fd.read()

def setup_package():
    # Assemble additional setup commands
    cmdclass = {'test': PyTest}

    install_requires = []
    extras_require = {'aws': ['boto'], 'etcd': ['python-etcd'], 'consul': ['python-consul'],
                      'exhibitor': ['kazoo'], 'zookeeper': ['kazoo'], 'kubernetes': ['kubernetes']}

    for r in read('requirements.txt').split('\n'):
        r = r.strip()
        if r == '':
            continue
        extra = False
        for e, v in extras_require.items():
            if r.startswith(v[0]):
                extras_require[e] = [r]
                extra = True
        if not extra:
            install_requires.append(r)

    command_options = {'test': {}}
    if COVERAGE_XML:
        command_options['test']['cov_xml'] = 'setup.py', True
    if COVERAGE_HTML:
        command_options['test']['cov_html'] = 'setup.py', True

    setup(
        name=NAME,
        version=VERSION,
        url=URL,
        author=AUTHOR,
        author_email=AUTHOR_EMAIL,
        description=DESCRIPTION,
        license=LICENSE,
        keywords=KEYWORDS,
        long_description=read('README.rst'),
        classifiers=CLASSIFIERS,
        packages=find_packages(exclude=['tests', 'tests.*']),
        package_data={MAIN_PACKAGE: ["*.json"]},
        python_requires='>=2.7',
        install_requires=install_requires,
        extras_require=extras_require,
        cmdclass=cmdclass,
        command_options=command_options,
        entry_points={'console_scripts': CONSOLE_SCRIPTS},
    )

if __name__ == '__main__':
    setup_package()
<|endoftext|>


<commit_before>import setuptools

import versioneer

DESCRIPTION_FILES = ["pypi-intro.rst"]

long_description = []
import codecs
for filename in DESCRIPTION_FILES:
    with codecs.open(filename, 'r', 'utf-8') as f:
        long_description.append(f.read())
long_description = "\n".join(long_description)

setuptools.setup(
    name = "h5preserve",
    version = versioneer.get_version(),
    packages = setuptools.find_packages(),
    install_requires = [
        "h5py",
    ],
    python_requires = '>=3.4',
    author = "James Tocknell",
    author_email = "aragilar@gmail.com",
    description = "Thin wrapper around h5py, inspired by camel",
    long_description = long_description,
    license = "3-clause BSD",
    keywords = "hdf5",
    url = "https://h5preserve.readthedocs.io",
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Developers',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: BSD License',
        'Topic :: Scientific/Engineering',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3 :: Only',
    ],
    cmdclass=versioneer.get_cmdclass(),
)
<commit_msg>DOC: Add project urls to setup.py<commit_after>import setuptools

import versioneer

DESCRIPTION_FILES = ["pypi-intro.rst"]

long_description = []
import codecs
for filename in DESCRIPTION_FILES:
    with codecs.open(filename, 'r', 'utf-8') as f:
        long_description.append(f.read())
long_description = "\n".join(long_description)

setuptools.setup(
    name = "h5preserve",
    version = versioneer.get_version(),
    packages = setuptools.find_packages(),
    install_requires = [
        "h5py",
    ],
    python_requires = '>=3.4',
    author = "James Tocknell",
    author_email = "aragilar@gmail.com",
    description = "Thin wrapper around h5py, inspired by camel",
    long_description = long_description,
    license = "3-clause BSD",
    keywords = "hdf5",
    url = "https://h5preserve.readthedocs.io",
    project_urls={
        'Documentation': 'https://h5preserve.readthedocs.io',
        'Source': 'https://github.com/h5preserve/h5preserve/',
        'Tracker': 'https://github.com/h5preserve/h5preserve/issues',
    },
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Developers',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: BSD License',
        'Topic :: Scientific/Engineering',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3 :: Only',
    ],
    cmdclass=versioneer.get_cmdclass(),
)
<|endoftext|>


<commit_before>import os

from setuptools import setup

with open(os.path.join(os.path.dirname(__file__), 'README.md')) as f:
    long_description = f.read()

setup(
    name='pyflow-swf',
    version='2.0.0',
    author='Adam Jenkins',
    author_email='adam@thejenkins.org',
    license='MIT',
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Developers',
        'Topic :: Software Development :: Libraries :: Python Modules',

        'License :: OSI Approved :: MIT License',

        'Programming Language :: Python :: 2.7',
    ],
    packages=['pyflow'],
    url='https://github.com/ajenkins-cargometrics/pyflow',
    description='Python Workflow Library built on the AWS SWF service',
    long_description=long_description,
    install_requires=[
        'boto3',
        'attrs',
        'python-dateutil'
    ],
    setup_requires=['pytest-runner'],
    tests_require=[
        'pytest>=3.0',
    ]
)
<commit_msg>Specify long description format in setup.py<commit_after>import os

from setuptools import setup

with open(os.path.join(os.path.dirname(__file__), 'README.md')) as f:
    long_description = f.read()

setup(
    name='pyflow-swf',
    version='2.0.0',
    author='Adam Jenkins',
    author_email='adam@thejenkins.org',
    license='MIT',
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Developers',
        'Topic :: Software Development :: Libraries :: Python Modules',

        'License :: OSI Approved :: MIT License',

        'Programming Language :: Python :: 2.7',
    ],
    packages=['pyflow'],
    url='https://github.com/ajenkins-cargometrics/pyflow',
    description='Python Workflow Library built on the AWS SWF service',
    long_description=long_description,
    long_description_content_type="text/markdown",
    install_requires=[
        'boto3',
        'attrs',
        'python-dateutil'
    ],
    setup_requires=['pytest-runner'],
    tests_require=[
        'pytest>=3.0',
    ]
)
<|endoftext|>


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

# apache-libcloud is required by AWS plugin
# defusedxml is required by djangosaml2
# jira is required by JIRA plugin
# lxml is required by waldur-auth-valimo
# passlib is required by Ansible plugin
# paypalrestsdk is required by PayPal plugin
# python-digitalocean is required by DigitalOcean plugin
# python-freeipa is required by FreeIPA plugin
install_requires = [
    'ansible-waldur-module>=0.8.2',
    'apache-libcloud>=1.1.0,<2.3.0',
    'azure-mgmt-compute==5.0.0',
    'azure-mgmt-network==2.0.0',
    'azure-mgmt-rdbms==1.2.0',
    'azure-mgmt-resource==2.0.0',
    'azure-mgmt-storage==2.0.0',
    'Babel!=2.4.0,>=2.3.4',
    'Celery>=4.3.0',
    'croniter>=0.3.4',
    'defusedxml>=0.4.1',
    'django-admin-tools==0.9.0',
    'django-auth-ldap>=2.0.0',
    'django-defender>=0.6.2',
    'django-filter==2.2',
    'django-fluent-dashboard==1.0.1',
    'django-fsm==2.6.1',
    'django-jsoneditor>=0.0.7',
    'django-model-utils==3.2.0',
    'django-redis-cache>=2.0.0',
    'django-rest-swagger==2.1.2',
    'django-reversion==2.0.8',
    'django-taggit>=1.1.0',
    'Django>=2.2.9,<3.0',
    'djangorestframework>=3.10.2,<3.11.0',
    'djangosaml2==0.17.2',
    'docker>=4.1',
    'hiredis>=0.2.0',
    'influxdb>=4.1.0',
    'iptools>=0.6.1',
    'jira>=2.0.0',
    'lxml>=3.2.0',
    'passlib>=1.7.0',
    'paypalrestsdk>=1.10.0,<2.0',
    'pbr!=2.1.0',
    'pdfkit>=0.6.1',
    'Pillow>=6.2.0',
    'PrettyTable<0.8,>=0.7.1',
    'psycopg2-binary>=2.8.4',  # https://docs.djangoproject.com/en/2.2/ref/databases/#postgresql-notes
    'pycountry>=1.20,<2.0',
    'python-cinderclient>=3.1.0',
    'python-digitalocean>=1.5',
    'python-freeipa==0.2.5',
    'python-glanceclient>=2.8.0',
    'python-keystoneclient>=3.13.0',
    'python-neutronclient>=6.5.0',
    'python-novaclient>=9.1.0',
    'pyvat>=1.3.1,<2.0',
    'pyvmomi>=6.7.1',
    'PyYAML>=5.1',
    'pyzabbix>=0.7.2',
    'redis>=3.2.1,<3.3',
    'requests>=2.20.0',
    'sqlparse>=0.1.11',
    'pyjwt>=1.5.3',
    'sentry-sdk>=0.9.0',
]

test_requires = [
    'ddt>=1.0.0,<1.1.0',
    'docker',
    'factory_boy==2.4.1',
    'freezegun==0.3.7',
    'mock-django==0.6.9',
    'sqlalchemy>=1.3.0',
    'responses',
]

setup(
    name='waldur-mastermind',
    version='4.4.1',
    author='OpenNode Team',
    author_email='info@opennodecloud.com',
    url='http://waldur.com',
    description='Waldur MasterMind is a hybrid cloud orchestrator.',
    license='MIT',
    long_description=open('README.rst').read(),
    package_dir={'': 'src'},
    packages=find_packages('src', exclude=['*.tests', '*.tests.*', 'tests.*', 'tests']),
    install_requires=install_requires,
    extras_require={
        'test': test_requires,
    },
    zip_safe=False,
    entry_points={
        'console_scripts': (
            'waldur = waldur_core.server.manage:main',
        ),
        'waldur_extensions': (
            'waldur_analytics = waldur_mastermind.analytics.extension:AnalyticsExtension',
            'waldur_ansible_estimator = waldur_mastermind.ansible_estimator.extension:AnsibleEstimatorExtension',
            'waldur_auth_bcc = waldur_auth_bcc.extension:AuthBCCExtension',
            'waldur_auth_saml2 = waldur_auth_saml2.extension:SAML2Extension',
            'waldur_auth_social = waldur_auth_social.extension:AuthSocialExtension',
            'waldur_auth_valimo = waldur_auth_valimo.extension:AuthValimoExtension',
            'waldur_aws = waldur_aws.extension:AWSExtension',
            'waldur_azure = waldur_azure.extension:AzureExtension',
            'waldur_billing = waldur_mastermind.billing.extension:BillingExtension',
            'waldur_booking = waldur_mastermind.booking.extension:BookingExtension',
            'waldur_common = waldur_ansible.common.extension:AnsibleCommonExtension',
            'waldur_cost_planning = waldur_cost_planning.extension:CostPlanningExtension',
            'waldur_digitalocean = waldur_digitalocean.extension:DigitalOceanExtension',
            'waldur_freeipa = waldur_freeipa.extension:FreeIPAExtension',
            'waldur_geo_ip = waldur_geo_ip.extension:GeoIPExtension',
            'waldur_invoices = waldur_mastermind.invoices.extension:InvoicesExtension',
            'waldur_jira = waldur_jira.extension:JiraExtension',
            'waldur_marketplace = waldur_mastermind.marketplace.extension:MarketplaceExtension',
            'waldur_marketplace_azure = waldur_mastermind.marketplace_azure.extension:MarketplaceAzureExtension',
            'waldur_marketplace_checklist = waldur_mastermind.marketplace_checklist.extension:MarketplaceChecklistExtension',
            'waldur_marketplace_openstack = waldur_mastermind.marketplace_openstack.extension:MarketplaceOpenStackExtension',
            'waldur_marketplace_rancher = waldur_mastermind.marketplace_rancher.extension:MarketplaceRancherExtension',
            'waldur_marketplace_script = waldur_mastermind.marketplace_script.extension:MarketplaceScriptExtension',
            'waldur_marketplace_slurm = waldur_mastermind.marketplace_slurm.extension:MarketplaceSlurmExtension',
            'waldur_marketplace_support = waldur_mastermind.marketplace_support.extension:MarketplaceSupportExtension',
            'waldur_marketplace_vmware = waldur_mastermind.marketplace_vmware.extension:MarketplaceVMwareExtension',
            'waldur_openstack = waldur_openstack.openstack.extension:OpenStackExtension',
            'waldur_openstack_tenant = waldur_openstack.openstack_tenant.extension:OpenStackTenantExtension',
            'waldur_packages = waldur_mastermind.packages.extension:PackagesExtension',
            'waldur_paypal = waldur_paypal.extension:PayPalExtension',
            'waldur_playbook_jobs = waldur_ansible.playbook_jobs.extension:PlaybookJobsExtension',
            'waldur_rancher = waldur_rancher.extension:RancherExtension',
            'waldur_rancher_invoices = waldur_mastermind.rancher_invoices.extension:RancherInvoicesExtension',
            'waldur_rijkscloud = waldur_rijkscloud.extension:RijkscloudExtension',
            'waldur_slurm = waldur_slurm.extension:SlurmExtension',
            'waldur_slurm_invoices = waldur_mastermind.slurm_invoices.extension:SlurmInvoicesExtension',
            'waldur_support = waldur_mastermind.support.extension:SupportExtension',
            'waldur_support_invoices = waldur_mastermind.support_invoices.extension:SupportInvoicesExtension',
            'waldur_vmware = waldur_vmware.extension:VMwareExtension',
            'waldur_zabbix = waldur_zabbix.extension:ZabbixExtension',
            'waldur_zabbix_openstack = waldur_mastermind.zabbix_openstack.extension:ZabbixOpenStackExtension',
            'waldur_pid = waldur_pid.extension:PIDExtension',
        ),
    },
    include_package_data=True,
    classifiers=[
        'Framework :: Django',
        'Intended Audience :: Developers',
        'Intended Audience :: System Administrators',
        'Operating System :: OS Independent',
        'License :: OSI Approved :: MIT License',
    ],
)
<commit_msg>Preparing new release: 4.4.2<commit_after>#!/usr/bin/env python
from setuptools import setup, find_packages

# apache-libcloud is required by AWS plugin
# defusedxml is required by djangosaml2
# jira is required by JIRA plugin
# lxml is required by waldur-auth-valimo
# passlib is required by Ansible plugin
# paypalrestsdk is required by PayPal plugin
# python-digitalocean is required by DigitalOcean plugin
# python-freeipa is required by FreeIPA plugin
install_requires = [
    'ansible-waldur-module>=0.8.2',
    'apache-libcloud>=1.1.0,<2.3.0',
    'azure-mgmt-compute==5.0.0',
    'azure-mgmt-network==2.0.0',
    'azure-mgmt-rdbms==1.2.0',
    'azure-mgmt-resource==2.0.0',
    'azure-mgmt-storage==2.0.0',
    'Babel!=2.4.0,>=2.3.4',
    'Celery>=4.3.0',
    'croniter>=0.3.4',
    'defusedxml>=0.4.1',
    'django-admin-tools==0.9.0',
    'django-auth-ldap>=2.0.0',
    'django-defender>=0.6.2',
    'django-filter==2.2',
    'django-fluent-dashboard==1.0.1',
    'django-fsm==2.6.1',
    'django-jsoneditor>=0.0.7',
    'django-model-utils==3.2.0',
    'django-redis-cache>=2.0.0',
    'django-rest-swagger==2.1.2',
    'django-reversion==2.0.8',
    'django-taggit>=1.1.0',
    'Django>=2.2.9,<3.0',
    'djangorestframework>=3.10.2,<3.11.0',
    'djangosaml2==0.17.2',
    'docker>=4.1',
    'hiredis>=0.2.0',
    'influxdb>=4.1.0',
    'iptools>=0.6.1',
    'jira>=2.0.0',
    'lxml>=3.2.0',
    'passlib>=1.7.0',
    'paypalrestsdk>=1.10.0,<2.0',
    'pbr!=2.1.0',
    'pdfkit>=0.6.1',
    'Pillow>=6.2.0',
    'PrettyTable<0.8,>=0.7.1',
    'psycopg2-binary>=2.8.4',  # https://docs.djangoproject.com/en/2.2/ref/databases/#postgresql-notes
    'pycountry>=1.20,<2.0',
    'python-cinderclient>=3.1.0',
    'python-digitalocean>=1.5',
    'python-freeipa==0.2.5',
    'python-glanceclient>=2.8.0',
    'python-keystoneclient>=3.13.0',
    'python-neutronclient>=6.5.0',
    'python-novaclient>=9.1.0',
    'pyvat>=1.3.1,<2.0',
    'pyvmomi>=6.7.1',
    'PyYAML>=5.1',
    'pyzabbix>=0.7.2',
    'redis>=3.2.1,<3.3',
    'requests>=2.20.0',
    'sqlparse>=0.1.11',
    'pyjwt>=1.5.3',
    'sentry-sdk>=0.9.0',
]

test_requires = [
    'ddt>=1.0.0,<1.1.0',
    'docker',
    'factory_boy==2.4.1',
    'freezegun==0.3.7',
    'mock-django==0.6.9',
    'sqlalchemy>=1.3.0',
    'responses',
]

setup(
    name='waldur-mastermind',
    version='4.4.2',
    author='OpenNode Team',
    author_email='info@opennodecloud.com',
    url='http://waldur.com',
    description='Waldur MasterMind is a hybrid cloud orchestrator.',
    license='MIT',
    long_description=open('README.rst').read(),
    package_dir={'': 'src'},
    packages=find_packages('src', exclude=['*.tests', '*.tests.*', 'tests.*', 'tests']),
    install_requires=install_requires,
    extras_require={
        'test': test_requires,
    },
    zip_safe=False,
    entry_points={
        'console_scripts': (
            'waldur = waldur_core.server.manage:main',
        ),
        'waldur_extensions': (
            'waldur_analytics = waldur_mastermind.analytics.extension:AnalyticsExtension',
            'waldur_ansible_estimator = waldur_mastermind.ansible_estimator.extension:AnsibleEstimatorExtension',
            'waldur_auth_bcc = waldur_auth_bcc.extension:AuthBCCExtension',
            'waldur_auth_saml2 = waldur_auth_saml2.extension:SAML2Extension',
            'waldur_auth_social = waldur_auth_social.extension:AuthSocialExtension',
            'waldur_auth_valimo = waldur_auth_valimo.extension:AuthValimoExtension',
            'waldur_aws = waldur_aws.extension:AWSExtension',
            'waldur_azure = waldur_azure.extension:AzureExtension',
            'waldur_billing = waldur_mastermind.billing.extension:BillingExtension',
            'waldur_booking = waldur_mastermind.booking.extension:BookingExtension',
            'waldur_common = waldur_ansible.common.extension:AnsibleCommonExtension',
            'waldur_cost_planning = waldur_cost_planning.extension:CostPlanningExtension',
            'waldur_digitalocean = waldur_digitalocean.extension:DigitalOceanExtension',
            'waldur_freeipa = waldur_freeipa.extension:FreeIPAExtension',
            'waldur_geo_ip = waldur_geo_ip.extension:GeoIPExtension',
            'waldur_invoices = waldur_mastermind.invoices.extension:InvoicesExtension',
            'waldur_jira = waldur_jira.extension:JiraExtension',
            'waldur_marketplace = waldur_mastermind.marketplace.extension:MarketplaceExtension',
            'waldur_marketplace_azure = waldur_mastermind.marketplace_azure.extension:MarketplaceAzureExtension',
            'waldur_marketplace_checklist = waldur_mastermind.marketplace_checklist.extension:MarketplaceChecklistExtension',
            'waldur_marketplace_openstack = waldur_mastermind.marketplace_openstack.extension:MarketplaceOpenStackExtension',
            'waldur_marketplace_rancher = waldur_mastermind.marketplace_rancher.extension:MarketplaceRancherExtension',
            'waldur_marketplace_script = waldur_mastermind.marketplace_script.extension:MarketplaceScriptExtension',
            'waldur_marketplace_slurm = waldur_mastermind.marketplace_slurm.extension:MarketplaceSlurmExtension',
            'waldur_marketplace_support = waldur_mastermind.marketplace_support.extension:MarketplaceSupportExtension',
            'waldur_marketplace_vmware = waldur_mastermind.marketplace_vmware.extension:MarketplaceVMwareExtension',
            'waldur_openstack = waldur_openstack.openstack.extension:OpenStackExtension',
            'waldur_openstack_tenant = waldur_openstack.openstack_tenant.extension:OpenStackTenantExtension',
            'waldur_packages = waldur_mastermind.packages.extension:PackagesExtension',
            'waldur_paypal = waldur_paypal.extension:PayPalExtension',
            'waldur_playbook_jobs = waldur_ansible.playbook_jobs.extension:PlaybookJobsExtension',
            'waldur_rancher = waldur_rancher.extension:RancherExtension',
            'waldur_rancher_invoices = waldur_mastermind.rancher_invoices.extension:RancherInvoicesExtension',
            'waldur_rijkscloud = waldur_rijkscloud.extension:RijkscloudExtension',
            'waldur_slurm = waldur_slurm.extension:SlurmExtension',
            'waldur_slurm_invoices = waldur_mastermind.slurm_invoices.extension:SlurmInvoicesExtension',
            'waldur_support = waldur_mastermind.support.extension:SupportExtension',
            'waldur_support_invoices = waldur_mastermind.support_invoices.extension:SupportInvoicesExtension',
            'waldur_vmware = waldur_vmware.extension:VMwareExtension',
            'waldur_zabbix = waldur_zabbix.extension:ZabbixExtension',
            'waldur_zabbix_openstack = waldur_mastermind.zabbix_openstack.extension:ZabbixOpenStackExtension',
            'waldur_pid = waldur_pid.extension:PIDExtension',
        ),
    },
    include_package_data=True,
    classifiers=[
        'Framework :: Django',
        'Intended Audience :: Developers',
        'Intended Audience :: System Administrators',
        'Operating System :: OS Independent',
        'License :: OSI Approved :: MIT License',
    ],
)
<|endoftext|>


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

from setuptools import setup, find_packages

setup(
    name='Flask-RESTful',
    version='0.2.5',
    url='https://www.github.com/twilio/flask-restful/',
    author='Kyle Conroy',
    author_email='help@twilio.com',
    description='Simple framework for creating REST APIs',
    packages=find_packages(),
    zip_safe=False,
    include_package_data=True,
    platforms='any',
    test_suite = 'nose.collector',
    setup_requires=[
        'nose>=1.1.2',
        'mock>=0.8',
        'six>=1.3.0',
        'blinker==1.2',
    ],
    install_requires=[
        'Flask>=0.8',
    ],
    # Install these with "pip install -e '.[paging]'" or '.[docs]'
    extras_require={
        'paging': 'pycrypto>=2.6',
        'docs': 'sphinx',
    }
)
<commit_msg>Change dependencies<commit_after>#!/usr/bin/env python

from setuptools import setup, find_packages

setup(
    name='Flask-RESTful',
    version='0.2.5',
    url='https://www.github.com/twilio/flask-restful/',
    author='Kyle Conroy',
    author_email='help@twilio.com',
    description='Simple framework for creating REST APIs',
    packages=find_packages(),
    zip_safe=False,
    include_package_data=True,
    platforms='any',
    test_suite = 'nose.collector',
    setup_requires=[
        'nose>=1.1.2',
        'mock>=0.8',
        'six>=1.1.0',
        'blinker==1.2',
    ],
    install_requires=[
        'Flask>=0.8',
    ],
    # Install these with "pip install -e '.[paging]'" or '.[docs]'
    extras_require={
        'paging': 'pycrypto>=2.6',
        'docs': 'sphinx',
    }
)
<|endoftext|>


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

from distutils.core import setup
from distutils.command.install import INSTALL_SCHEMES
import os

for scheme in INSTALL_SCHEMES.values():
  scheme['data'] = scheme['purelib']

template_files = []
for (path, dirs, files) in os.walk('templates'):
  template_files.extend([os.path.join('..', path, f) for f in files])

setup(
  name='Toto',
  version='0.9.7',
  author='JeremyOT',
  author_email='',
  download_url='https://github.com/JeremyOT/Toto/zipball/master',
  license='MIT License',
  platforms=['OS X', 'Linux'],
  url='https://github.com/JeremyOT/Toto',
  packages=['toto','toto.methods','toto.methods.account'],
  requires=['tornado(>=2.1)',],
  install_requires=['tornado>=2.1',],
  provides=['toto',],
  scripts=['scripts/toto-create',],
  description='A Tornado based framework designed to accelerate web service development',
  long_description='Documentation is available at http://jeremyot.com/Toto/docs',
  classifiers=['License :: OSI Approved :: MIT License', 'Operating System :: POSIX'],
  package_data={'toto': template_files}
  )

print """
*****************************************************************************

By default, Toto will not connect to a database. Connect to a database with
the --database option. Database functionality requires the following modules:

  pbkdf2>=1.3

  MySQL: MySQL-python>=1.2.3
  Redis: redis>=2.4.12, hiredis>=0.1.1 (optional)
  Postres: psycopg2>=2.4.5
  MongoDB: pymongo>=2.1

Toto's event and worker frameworks require pyzmq>=2.2.0

*****************************************************************************
"""
<commit_msg>version bump<commit_after>#!/usr/bin/env python

from distutils.core import setup
from distutils.command.install import INSTALL_SCHEMES
import os

for scheme in INSTALL_SCHEMES.values():
  scheme['data'] = scheme['purelib']

template_files = []
for (path, dirs, files) in os.walk('templates'):
  template_files.extend([os.path.join('..', path, f) for f in files])

setup(
  name='Toto',
  version='0.9.8',
  author='JeremyOT',
  author_email='',
  download_url='https://github.com/JeremyOT/Toto/zipball/master',
  license='MIT License',
  platforms=['OS X', 'Linux'],
  url='https://github.com/JeremyOT/Toto',
  packages=['toto','toto.methods','toto.methods.account'],
  requires=['tornado(>=2.1)',],
  install_requires=['tornado>=2.1',],
  provides=['toto',],
  scripts=['scripts/toto-create',],
  description='A Tornado based framework designed to accelerate web service development',
  long_description='Documentation is available at http://jeremyot.com/Toto/docs',
  classifiers=['License :: OSI Approved :: MIT License', 'Operating System :: POSIX'],
  package_data={'toto': template_files}
  )

print """
*****************************************************************************

By default, Toto will not connect to a database. Connect to a database with
the --database option. Database functionality requires the following modules:

  pbkdf2>=1.3

  MySQL: MySQL-python>=1.2.3
  Redis: redis>=2.4.12, hiredis>=0.1.1 (optional)
  Postres: psycopg2>=2.4.5
  MongoDB: pymongo>=2.1

Toto's event and worker frameworks require pyzmq>=2.2.0

*****************************************************************************
"""
<|endoftext|>


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

from setuptools import setup, find_packages

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

with open('LICENSE') as f:
    license = f.read()

setup(
    name='quail',
    version='0.1.0',
    description='Sample package for Python-Guide.org',
    long_description=readme,
    author='Kenneth Reitz',
    author_email='me@kennethreitz.com',
    url='https://github.com/kennethreitz/samplemod',
    license=license,
    packages=find_packages(exclude=('tests', 'docs'))
)
<commit_msg>updated setup.py<commit_after># -*- coding: utf-8 -*-

from setuptools import setup, find_packages

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

with open('LICENSE') as f:
    license = f.read()

setup(
    name='quail',
    version='0.1.0',
    description='A python toolbox for analyzing and plotting free recall data',
    long_description=readme,
    author='Contextual Dynamics Lab',
    author_email='contextualdynamics@gmail.com',
    url='https://github.com/ContextLab/quail',
    license=license,
    packages=find_packages(exclude=('tests', 'docs'))
)
<|endoftext|>


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

# from distutils.core import setup
from setuptools import setup, find_packages

setup(
  name = 'cnprep',
  version = '0.0.4',
  description = 'A lib for Chinese text preprocessing',
  author = 'MomingCoder',
  author_email = 'a398445075@gmail.com',
  url = 'https://github.com/momingcoder/cnprep', # use the URL to the github repo
  license = 'MIT',
  keywords = ['Chinese', 'text', 'preprocess'], # arbitrary keywords
  classifiers = ['Topic :: Text Processing'],
  packages = find_packages(exclude=['contrib', 'docs', 'tests']),
  install_requires = ['xpinyin'],
)
<commit_msg>setup<commit_after>#!/usr/bin/python
# -*-coding:utf-8-*-

# from distutils.core import setup
from setuptools import setup, find_packages

setup(
  name = 'cnprep',
  version = '0.0.4',
  description = 'A lib for Chinese text preprocessing',
  author = 'MomingCoder',
  author_email = 'a398445075@gmail.com',
  url = 'https://github.com/momingcoder/cnprep', # use the URL to the github repo
  download_url = 'https://github.com/momingcoder/cnprep/tarball/0.0.4',
  license = 'MIT',
  keywords = ['Chinese', 'text', 'preprocess'], # arbitrary keywords
  classifiers = ['Topic :: Text Processing'],
  packages = find_packages(),
  install_requires = ['xpinyin'],
  platform = ['Windows', 'Linux', 'Mac'],
)
<|endoftext|>


<commit_before>#!/usr/bin/env python
# coding=utf8

import sys

from dope import db
import model
import acl

def read_yesno():
	while True:
		l = sys.stdin.readline()
		if l.lower().startswith('y'): return True
		if l.lower().startswith('n'): return False
		sys.stdout.write('Please enter "yes" or "no": ')

def read_openid():
	while True:
		sys.stdout.write('Enter the OpenID for the admin account: ')
		openid = sys.stdin.readline().strip()
		sys.stdout.write('Using OpenID "%s". Is that correct? ' % openid)
		if read_yesno(): return openid

openid = read_openid()

db.drop_all()
db.create_all()
acl.Base.metadata.bind = db.engine
acl.Base.metadata.drop_all()
acl.Base.metadata.create_all()

# create initial groups
anonymous = model.Group(name = 'anonymous') # pseudo-group
registered = model.Group(name = 'registered') # pseudo-group

uploaders = model.Group(name = 'uploaders')
admins = model.Group(name = 'admins')

db.session.add_all([anonymous, registered, uploaders, admins])

# the following acl verbs are recognized:
# register
# upload_file
# download_file
# delete_file
# create_tickets

anonymous.permit('register')
anonymous.permit('download_file')

uploaders.permit('upload_file')

admins.permit('upload_file')
admins.permit('download_file')
admins.permit('delete_file')
admins.permit('create_tickets')

# create admin account
u = model.create_new_user(openid)
u.groups.append(admins)
db.session.commit()
<commit_msg>Made setup script executable.<commit_after>#!/usr/bin/env python
# coding=utf8

import sys

from dope import db
import model
import acl

def read_yesno():
	while True:
		l = sys.stdin.readline()
		if l.lower().startswith('y'): return True
		if l.lower().startswith('n'): return False
		sys.stdout.write('Please enter "yes" or "no": ')

def read_openid():
	while True:
		sys.stdout.write('Enter the OpenID for the admin account: ')
		openid = sys.stdin.readline().strip()
		sys.stdout.write('Using OpenID "%s". Is that correct? ' % openid)
		if read_yesno(): return openid

openid = read_openid()

db.drop_all()
db.create_all()
acl.Base.metadata.bind = db.engine
acl.Base.metadata.drop_all()
acl.Base.metadata.create_all()

# create initial groups
anonymous = model.Group(name = 'anonymous') # pseudo-group
registered = model.Group(name = 'registered') # pseudo-group

uploaders = model.Group(name = 'uploaders')
admins = model.Group(name = 'admins')

db.session.add_all([anonymous, registered, uploaders, admins])

# the following acl verbs are recognized:
# register
# upload_file
# download_file
# delete_file
# create_tickets

anonymous.permit('register')
anonymous.permit('download_file')

uploaders.permit('upload_file')

admins.permit('upload_file')
admins.permit('download_file')
admins.permit('delete_file')
admins.permit('create_tickets')

# create admin account
u = model.create_new_user(openid)
u.groups.append(admins)
db.session.commit()
<|endoftext|>


<commit_before>from setuptools import setup

setup(
    name='autoresponse',
    version='0.3.1',
    description=('A Python package for automaticaly generating'
                 ' Response objects for scrapy.http.Request objects'),
    url='https://github.com/paulproteus/autoresponse',
    packages=['autoresponse'],
    license='Apache License 2.0',
    long_description=open('README').read(),
    description='Package for automatically generating Response objects for scrapy.http.Request objects',
    install_requires=[
        'scrapy',
        ],
)

<commit_msg>Spell automatically with two 'l's<commit_after>from setuptools import setup

setup(
    name='autoresponse',
    version='0.3.1',
    description=('A Python package for automatically generating'
                 ' Response objects for scrapy.http.Request objects'),
    url='https://github.com/paulproteus/autoresponse',
    packages=['autoresponse'],
    license='Apache License 2.0',
    long_description=open('README').read(),
    description='Package for automatically generating Response objects for scrapy.http.Request objects',
    install_requires=[
        'scrapy',
        ],
)

<|endoftext|>


<commit_before>from setuptools import setup, find_packages
import sys

userena = __import__('userena')

readme_file = 'README.mkd'
try:
    long_description = open(readme_file).read()
except IOError, err:
    sys.stderr.write("[ERROR] Cannot find file specified as "
        "``long_description`` (%s)\n" % readme_file)
    sys.exit(1)

setup(name='django-userena',
      version=userena.get_version(),
      description='Complete user management application for Django',
      long_description=long_description,
      zip_safe=False,
      author='Petar Radosevic',
      author_email='petar@wunki.org',
      url='https://github.com/bread-and-pepper/django-userena/',
      download_url='https://github.com/bread-and-pepper/django-userena/downloads',
      packages = find_packages(exclude=['demo', 'demo.*']),
      include_package_data=True,
      install_requires = [
        'easy_thumbnails',
        'django-guardian>=1.1.0.beta',
        'html2text',
        ### Required to build documentation
        # 'sphinx',
        # 'south',
      ],
      test_suite='tests.main',
      classifiers = ['Development Status :: 4 - Beta',
                     'Environment :: Web Environment',
                     'Framework :: Django',
                     'Intended Audience :: Developers',
                     'License :: OSI Approved :: BSD License',
                     'Operating System :: OS Independent',
                     'Programming Language :: Python',
                     'Topic :: Utilities'],
      )
<commit_msg>Removed err from exception handling in setup file as it breaks installation in Python 3 and isn't being used.<commit_after>from setuptools import setup, find_packages
import sys

userena = __import__('userena')

readme_file = 'README.mkd'
try:
    long_description = open(readme_file).read()
except IOError:
    sys.stderr.write("[ERROR] Cannot find file specified as "
        "``long_description`` (%s)\n" % readme_file)
    sys.exit(1)

setup(name='django-userena',
      version=userena.get_version(),
      description='Complete user management application for Django',
      long_description=long_description,
      zip_safe=False,
      author='Petar Radosevic',
      author_email='petar@wunki.org',
      url='https://github.com/bread-and-pepper/django-userena/',
      download_url='https://github.com/bread-and-pepper/django-userena/downloads',
      packages = find_packages(exclude=['demo', 'demo.*']),
      include_package_data=True,
      install_requires = [
        'easy_thumbnails',
        'django-guardian>=1.1.0.beta',
        'html2text',
        ### Required to build documentation
        # 'sphinx',
        # 'south',
      ],
      test_suite='tests.main',
      classifiers = ['Development Status :: 4 - Beta',
                     'Environment :: Web Environment',
                     'Framework :: Django',
                     'Intended Audience :: Developers',
                     'License :: OSI Approved :: BSD License',
                     'Operating System :: OS Independent',
                     'Programming Language :: Python',
                     'Topic :: Utilities'],
      )
<|endoftext|>