<commit_before>import os

from setuptools import setup, find_packages

here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()

requires = [
    'pyramid',
    'pyramid_zodbconn',
    'pyramid_tm',
    'pyramid_debugtoolbar',
    'ZODB3',
    'waitress',
    'repoze.folder',
    'zope.interface',
    'requests',
    'feedparser',
    'WebHelpers',
    'zc.queue',
    ]

setup(name='push-hub',
      version='0.7',
      description='push-hub',
      long_description=README + '\n\n' +  CHANGES,
      classifiers=[
        "Programming Language :: Python",
        "Framework :: Pylons",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
        ],
      author='Six Feet Up',
      author_email='info@sixfeetup.com',
      url='http://www.sixfeetup.com',
      keywords='web pylons pyramid',
      packages=find_packages(),
      include_package_data=True,
      zip_safe=False,
      install_requires = requires,
      tests_require= requires,
      extras_require={'test': ['mock']},
      test_suite="pushhub",
      entry_points = """\
      [paste.app_factory]
      main = pushhub:main
      [console_scripts]
      process_subscriber_notices = pushhub.scripts:process_subscriber_notices
      """,
      )

<commit_msg>Bump version for release.<commit_after>import os

from setuptools import setup, find_packages

here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()

requires = [
    'pyramid',
    'pyramid_zodbconn',
    'pyramid_tm',
    'pyramid_debugtoolbar',
    'ZODB3',
    'waitress',
    'repoze.folder',
    'zope.interface',
    'requests',
    'feedparser',
    'WebHelpers',
    'zc.queue',
    ]

setup(name='push-hub',
      version='0.8',
      description='push-hub',
      long_description=README + '\n\n' +  CHANGES,
      classifiers=[
        "Programming Language :: Python",
        "Framework :: Pylons",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
        ],
      author='Six Feet Up',
      author_email='info@sixfeetup.com',
      url='http://www.sixfeetup.com',
      keywords='web pylons pyramid',
      packages=find_packages(),
      include_package_data=True,
      zip_safe=False,
      install_requires = requires,
      tests_require= requires,
      extras_require={'test': ['mock']},
      test_suite="pushhub",
      entry_points = """\
      [paste.app_factory]
      main = pushhub:main
      [console_scripts]
      process_subscriber_notices = pushhub.scripts:process_subscriber_notices
      """,
      )

<|endoftext|>


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

from setuptools import setup, find_packages

setup(name='relengapi-mapper',
      version='0.6',
      description='hg to git mapper',
      author='Chris AtLee',
      author_email='chris@atlee.ca',
      url='https://github.com/petemoore/mapper',
      packages=find_packages(),
      namespace_packages=['relengapi', 'relengapi.blueprints'],
      entry_points={
          "relengapi_blueprints": [
              'mapper = relengapi.blueprints.mapper:bp',
          ],
      },
      install_requires=[
          'Flask',
          'relengapi',
          'IPy',
          'python-dateutil',
      ],
      license='MPL2',
      extras_require={
          'test': [
              'nose',
              'mock'
          ]
      })
<commit_msg>Bumped version number from 0.6 to 0.7<commit_after>#!/usr/bin/env python

from setuptools import setup, find_packages

setup(name='relengapi-mapper',
      version='0.7',
      description='hg to git mapper',
      author='Chris AtLee',
      author_email='chris@atlee.ca',
      url='https://github.com/petemoore/mapper',
      packages=find_packages(),
      namespace_packages=['relengapi', 'relengapi.blueprints'],
      entry_points={
          "relengapi_blueprints": [
              'mapper = relengapi.blueprints.mapper:bp',
          ],
      },
      install_requires=[
          'Flask',
          'relengapi',
          'IPy',
          'python-dateutil',
      ],
      license='MPL2',
      extras_require={
          'test': [
              'nose',
              'mock'
          ]
      })
<|endoftext|>


<commit_before>import io
import re
from glob import glob
from os.path import basename, dirname, join, splitext

from setuptools import find_packages, setup

INSTALL_REQUIRES = [
    "inflection>=0.3.1",
    "python-dateutil>=2.7.3",
    "python-magic>=0.4.15",
]
EXTRAS_REQUIRE = {
    "amazon": ["boto3>=1.8.00", "boto3-stubs[s3]>==1.12.41.0"],
    "digitalocean": ["boto3>=1.8.00", "boto3-stubs[s3]>==1.12.41.0"],
    "google": ["google-cloud-storage>=1.18.0", "requests>=2.19.1"],
    "local": [
        "filelock>=3.0.0",
        "itsdangerous>=1.1.0",
        "xattr>=0.9.6; sys_platform != 'win32'",
    ],
    "microsoft": ["azure==4.0.0"],
    "minio": ["minio>=4.0.0"],
    "rackspace": ["openstacksdk<=0.17.2", "rackspacesdk==0.7.5", "requests>=2.19.1"],
    "tests": ["flake8", "pytest", "prettyconf", "requests>=2.19.1"],
    "lint": [
        "black==19.10b0",
        "flake8==3.7.9",
        "flake8-bugbear==20.1.4",
        "pre-commit~=2.0",
    ],
    "docs": [
        "sphinx==3.0.2",
        "sphinx_rtd_theme==0.4.3",
        "sphinx_autodoc_typehints==1.10.3",
        "pygments==2.6.1",
    ],
}
EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_REQUIRE["lint"] + ["tox"]

def read(*names, **kwargs):
    with io.open(
        join(dirname(__file__), *names), encoding=kwargs.get("encoding", "utf8")
    ) as fh:
        return fh.read()

def find_version(fname):
    """Attempts to find the version number in the file names fname.
    Raises RuntimeError if not found.
    """
    version = ""
    with open(fname, "r") as fp:
        reg = re.compile(r'__version__ = [\'"]([^\'"]*)[\'"]')
        for line in fp:
            m = reg.match(line)
            if m:
                version = m.group(1)
                break
    if not version:
        raise RuntimeError("Cannot find version information")
    return version

setup(
    name="cloudstorage",
    version=find_version("src/cloudstorage/__init__.py"),
    license="MIT",
    description="Unified cloud storage API for storage services.",
    long_description="%s\n%s"
    % (
        re.compile("^.. start-badges.*^.. end-badges", re.M | re.S).sub(
            "", read("README.rst")
        ),
        re.sub(":[a-z]+:`~?(.*?)`", r"``\1``", read("CHANGELOG.rst")),
    ),
    author="Scott Werner",
    author_email="scott.werner.vt@gmail.com",
    url="https://github.com/scottwernervt/cloudstorage/",
    packages=find_packages("src", exclude=("test*", "docs*")),
    package_dir={"": "src"},
    py_modules=[splitext(basename(path))[0] for path in glob("src/*.py")],
    include_package_data=True,
    zip_safe=False,
    python_requires=">=3.5",
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Environment :: Web Environment",
        "Intended Audience :: Developers",
        "Intended Audience :: Information Technology",
        "Intended Audience :: System Administrators",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python :: 3 :: Only",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Topic :: Internet",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
    keywords=" ".join(
        [
            "storage",
            "amazon",
            "aws",
            "s3",
            "azure",
            "rackspace",
            "cloudfiles",
            "google",
            "cloudstorage",
            "gcs",
            "minio",
        ]
    ),
    install_requires=INSTALL_REQUIRES,
    extras_require=EXTRAS_REQUIRE,
    test_suite="tests",
    project_urls={
        "Changelog": "https://cloudstorage.readthedocs.io/en/latest/changelog.html",
        "Issues": "https://github.com/scottwernervt/cloudstorage/issues",
    },
)
<commit_msg>Fix minio version until refactor.<commit_after>import io
import re
from glob import glob
from os.path import basename, dirname, join, splitext

from setuptools import find_packages, setup

INSTALL_REQUIRES = [
    "inflection>=0.3.1",
    "python-dateutil>=2.7.3",
    "python-magic>=0.4.15",
]
EXTRAS_REQUIRE = {
    "amazon": ["boto3>=1.8.00", "boto3-stubs[s3]>==1.12.41.0"],
    "digitalocean": ["boto3>=1.8.00", "boto3-stubs[s3]>==1.12.41.0"],
    "google": ["google-cloud-storage>=1.18.0", "requests>=2.19.1"],
    "local": [
        "filelock>=3.0.0",
        "itsdangerous>=1.1.0",
        "xattr>=0.9.6; sys_platform != 'win32'",
    ],
    "microsoft": ["azure==4.0.0"],
    "minio": ["minio==4.0.0"],
    "rackspace": ["openstacksdk<=0.17.2", "rackspacesdk==0.7.5", "requests>=2.19.1"],
    "tests": ["flake8", "pytest", "prettyconf", "requests>=2.19.1"],
    "lint": [
        "black==19.10b0",
        "flake8==3.7.9",
        "flake8-bugbear==20.1.4",
        "pre-commit~=2.0",
    ],
    "docs": [
        "sphinx==3.0.2",
        "sphinx_rtd_theme==0.4.3",
        "sphinx_autodoc_typehints==1.10.3",
        "pygments==2.6.1",
    ],
}
EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_REQUIRE["lint"] + ["tox"]

def read(*names, **kwargs):
    with io.open(
        join(dirname(__file__), *names), encoding=kwargs.get("encoding", "utf8")
    ) as fh:
        return fh.read()

def find_version(fname):
    """Attempts to find the version number in the file names fname.
    Raises RuntimeError if not found.
    """
    version = ""
    with open(fname, "r") as fp:
        reg = re.compile(r'__version__ = [\'"]([^\'"]*)[\'"]')
        for line in fp:
            m = reg.match(line)
            if m:
                version = m.group(1)
                break
    if not version:
        raise RuntimeError("Cannot find version information")
    return version

setup(
    name="cloudstorage",
    version=find_version("src/cloudstorage/__init__.py"),
    license="MIT",
    description="Unified cloud storage API for storage services.",
    long_description="%s\n%s"
    % (
        re.compile("^.. start-badges.*^.. end-badges", re.M | re.S).sub(
            "", read("README.rst")
        ),
        re.sub(":[a-z]+:`~?(.*?)`", r"``\1``", read("CHANGELOG.rst")),
    ),
    author="Scott Werner",
    author_email="scott.werner.vt@gmail.com",
    url="https://github.com/scottwernervt/cloudstorage/",
    packages=find_packages("src", exclude=("test*", "docs*")),
    package_dir={"": "src"},
    py_modules=[splitext(basename(path))[0] for path in glob("src/*.py")],
    include_package_data=True,
    zip_safe=False,
    python_requires=">=3.5",
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Environment :: Web Environment",
        "Intended Audience :: Developers",
        "Intended Audience :: Information Technology",
        "Intended Audience :: System Administrators",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python :: 3 :: Only",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Topic :: Internet",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
    keywords=" ".join(
        [
            "storage",
            "amazon",
            "aws",
            "s3",
            "azure",
            "rackspace",
            "cloudfiles",
            "google",
            "cloudstorage",
            "gcs",
            "minio",
        ]
    ),
    install_requires=INSTALL_REQUIRES,
    extras_require=EXTRAS_REQUIRE,
    test_suite="tests",
    project_urls={
        "Changelog": "https://cloudstorage.readthedocs.io/en/latest/changelog.html",
        "Issues": "https://github.com/scottwernervt/cloudstorage/issues",
    },
)
<|endoftext|>


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

import os

from setuptools import setup, find_packages

VERSION = '0.2.1'

if __name__ == '__main__':
    setup(
        name='datastream',
        version=VERSION,
        description="Datastream API time-series library.",
        long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(),
        author='wlan slovenija',
        author_email='open@wlan-si.net',
        url='https://github.com/wlanslovenija/datastream',
        license='AGPLv3',
        packages=find_packages(exclude=('*.tests', '*.tests.*', 'tests.*', 'tests')),
        package_data={},
        classifiers=[
            'Development Status :: 4 - Beta',
            'Intended Audience :: Developers',
            'License :: OSI Approved :: GNU Affero General Public License v3',
            'Operating System :: OS Independent',
            'Programming Language :: Python',
        ],
        include_package_data=True,
        zip_safe=False,
        install_requires=[
            'mongoengine>=0.6.20,<=0.8.1',
            'pymongo>=2.2.1',
            'pytz>=2012h',
        ],
        test_suite='tests',
    )
<commit_msg>Version bump.<commit_after>#!/usr/bin/env python

import os

from setuptools import setup, find_packages

VERSION = '0.2.2'

if __name__ == '__main__':
    setup(
        name='datastream',
        version=VERSION,
        description="Datastream API time-series library.",
        long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(),
        author='wlan slovenija',
        author_email='open@wlan-si.net',
        url='https://github.com/wlanslovenija/datastream',
        license='AGPLv3',
        packages=find_packages(exclude=('*.tests', '*.tests.*', 'tests.*', 'tests')),
        package_data={},
        classifiers=[
            'Development Status :: 4 - Beta',
            'Intended Audience :: Developers',
            'License :: OSI Approved :: GNU Affero General Public License v3',
            'Operating System :: OS Independent',
            'Programming Language :: Python',
        ],
        include_package_data=True,
        zip_safe=False,
        install_requires=[
            'mongoengine>=0.6.20,<=0.8.1',
            'pymongo>=2.2.1',
            'pytz>=2012h',
        ],
        test_suite='tests',
    )
<|endoftext|>


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

from setuptools import setup, find_packages

setup(
    name = "OpenFisca-France",
    version = "34.3.0",
    author = "OpenFisca Team",
    author_email = "contact@openfisca.fr",
    classifiers = [
        "Development Status :: 5 - Production/Stable",
        "License :: OSI Approved :: GNU Affero General Public License v3",
        "Operating System :: POSIX",
        "Programming Language :: Python",
        "Topic :: Scientific/Engineering :: Information Analysis",
        ],
    description = "French tax and benefit system for OpenFisca",
    keywords = "benefit france microsimulation social tax",
    license = "http://www.fsf.org/licensing/licenses/agpl-3.0.html",
    url = "https://github.com/openfisca/openfisca-france",

    data_files = [
        ("share/openfisca/openfisca-france", ["CHANGELOG.md", "LICENSE.AGPL.txt", "README.md"]),
        ],
    extras_require = {
        "baremes_ipp": [
            "xlrd >= 1.0.0",
            "lxml >= 3.8.0, < 4.0",
            "Biryani[datetimeconv] >= 0.10.4",
            ],
        "inversion_revenus": [
            "scipy >= 0.17",
            ],
        "de_net_a_brut": [
            "scipy >= 0.17",
            ],
        "taxipp": [
            "pandas >= 0.13",
            ],
        "dev": [
            "autopep8 == 1.4.0",
            "flake8 >= 3.5.0, < 3.6.0",
            "flake8-print",
            "pycodestyle >= 2.3.0, < 2.4.0",  # To avoid incompatibility with flake
            "pytest < 4.0",
            "scipy >= 0.17",  # Only used to test de_net_a_brut reform
            "requests >= 2.8",
            "yamllint >= 1.11.1, < 1.12",
            ],
        },
    include_package_data = True,  # Will read MANIFEST.in
    install_requires = [
        "OpenFisca-Core >= 25, < 26.0",
        ],
    message_extractors = {"openfisca_france": [
        ("**.py", "python", None),
        ]},
    packages = find_packages(exclude=["openfisca_france.tests*"]),
    )
<commit_msg>Modifie setup.py<commit_after>#! /usr/bin/env python
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages

setup(
    name = "OpenFisca-France",
    version = "34.3.1",
    author = "OpenFisca Team",
    author_email = "contact@openfisca.fr",
    classifiers = [
        "Development Status :: 5 - Production/Stable",
        "License :: OSI Approved :: GNU Affero General Public License v3",
        "Operating System :: POSIX",
        "Programming Language :: Python",
        "Topic :: Scientific/Engineering :: Information Analysis",
        ],
    description = "French tax and benefit system for OpenFisca",
    keywords = "benefit france microsimulation social tax",
    license = "http://www.fsf.org/licensing/licenses/agpl-3.0.html",
    url = "https://github.com/openfisca/openfisca-france",

    data_files = [
        ("share/openfisca/openfisca-france", ["CHANGELOG.md", "LICENSE.AGPL.txt", "README.md"]),
        ],
    extras_require = {
        "baremes_ipp": [
            "xlrd >= 1.0.0",
            "lxml >= 3.8.0, < 4.0",
            "Biryani[datetimeconv] >= 0.10.4",
            ],
        "inversion_revenus": [
            "scipy >= 0.17",
            ],
        "de_net_a_brut": [
            "scipy >= 0.17",
            ],
        "taxipp": [
            "pandas >= 0.13",
            ],
        "dev": [
            "autopep8 == 1.4.0",
            "flake8 >= 3.5.0, < 3.6.0",
            "flake8-print",
            "pycodestyle >= 2.3.0, < 2.4.0",  # To avoid incompatibility with flake
            "pytest < 4.0",
            "scipy >= 0.17",  # Only used to test de_net_a_brut reform
            "requests >= 2.8",
            "yamllint >= 1.11.1, < 1.12",
            ],
        },
    include_package_data = True,  # Will read MANIFEST.in
    install_requires = [
        "OpenFisca-Core >= 25, < 26.0",
        ],
    message_extractors = {"openfisca_france": [
        ("**.py", "python", None),
        ]},
    packages = find_packages(exclude=["openfisca_france.tests*"]),
    )
<|endoftext|>


<commit_before>import sys
from setuptools import setup, find_packages

py26_dependency = []
if sys.version_info[:2] <= (2, 6):
    py26_dependency = ["argparse >= 1.1", "ordereddict >= 1.1"]

setup(
    name='dataset',
    version='0.7.1',
    description="Toolkit for Python-based data processing.",
    long_description="",
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.3'
        'Programming Language :: Python :: 3.4'
        'Programming Language :: Python :: 3.5'
    ],
    keywords='sql sqlalchemy etl loading utility',
    author='Friedrich Lindenberg, Gregor Aisch, Stefan Wehrmeyer',
    author_email='info@okfn.org',
    url='http://github.com/pudo/dataset',
    license='MIT',
    packages=find_packages(exclude=['ez_setup', 'examples', 'test']),
    namespace_packages=[],
    include_package_data=False,
    zip_safe=False,
    install_requires=[
        'sqlalchemy >= 0.9.1',
        'alembic >= 0.6.2',
        'normality >= 0.2.2',
        "PyYAML >= 3.10",
        "six >= 1.7.3"
    ] + py26_dependency,
    tests_require=[],
    test_suite='test',
    entry_points={
        'console_scripts': [
            'datafreeze = dataset.freeze.app:main',
        ]
    }
)
<commit_msg>add missing commas<commit_after>import sys
from setuptools import setup, find_packages

py26_dependency = []
if sys.version_info[:2] <= (2, 6):
    py26_dependency = ["argparse >= 1.1", "ordereddict >= 1.1"]

setup(
    name='dataset',
    version='0.7.1',
    description="Toolkit for Python-based data processing.",
    long_description="",
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5'
    ],
    keywords='sql sqlalchemy etl loading utility',
    author='Friedrich Lindenberg, Gregor Aisch, Stefan Wehrmeyer',
    author_email='info@okfn.org',
    url='http://github.com/pudo/dataset',
    license='MIT',
    packages=find_packages(exclude=['ez_setup', 'examples', 'test']),
    namespace_packages=[],
    include_package_data=False,
    zip_safe=False,
    install_requires=[
        'sqlalchemy >= 0.9.1',
        'alembic >= 0.6.2',
        'normality >= 0.2.2',
        "PyYAML >= 3.10",
        "six >= 1.7.3"
    ] + py26_dependency,
    tests_require=[],
    test_suite='test',
    entry_points={
        'console_scripts': [
            'datafreeze = dataset.freeze.app:main',
        ]
    }
)
<|endoftext|>


<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals

import logging
import sys

from setuptools import setup

def read_file(fname):
    """
    Read file and decode in py2k
    """
    if sys.version_info < (3,):
        return open(fname).read().decode("utf-8")
    return open(fname).read()

dist_name = 'kolibri_exercise_perseus_plugin'

readme = read_file('README.rst')

# Default description of the distributed package
description = (
    """Kolibri plugin for rendering Khan Academy Perseus style exercises"""
)

######################################
# STATIC AND DYNAMIC BUILD SPECIFICS #
######################################

def enable_log_to_stdout(logname):
    """Given a log name, outputs > INFO to stdout."""
    log = logging.getLogger(logname)
    log.setLevel(logging.DEBUG)
    ch = logging.StreamHandler()
    ch.setLevel(logging.DEBUG)
    # create formatter
    formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
    # add formatter to ch
    ch.setFormatter(formatter)
    # add ch to logger
    log.addHandler(ch)

setup(
    name=dist_name,
    version="0.7.2",
    description=description,
    long_description="{readme}".format(
        readme=readme,
    ),
    author='Learning Equality',
    author_email='info@learningequality.org',
    url='https://github.com/learningequality/kolibri-exercise-perseus-plugin',
    packages=[
        str('kolibri_exercise_perseus_plugin'),  # https://github.com/pypa/setuptools/pull/597
    ],
    package_dir={'kolibri_exercise_perseus_plugin': 'kolibri_exercise_perseus_plugin'},
    include_package_data=True,
    license='MIT',
    zip_safe=False,
    keywords='kolibri',
    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.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: Implementation :: PyPy',
    ],
)
<commit_msg>increment version number<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import absolute_import, print_function, unicode_literals

import logging
import sys

from setuptools import setup

def read_file(fname):
    """
    Read file and decode in py2k
    """
    if sys.version_info < (3,):
        return open(fname).read().decode("utf-8")
    return open(fname).read()

dist_name = 'kolibri_exercise_perseus_plugin'

readme = read_file('README.rst')

# Default description of the distributed package
description = (
    """Kolibri plugin for rendering Khan Academy Perseus style exercises"""
)

######################################
# STATIC AND DYNAMIC BUILD SPECIFICS #
######################################

def enable_log_to_stdout(logname):
    """Given a log name, outputs > INFO to stdout."""
    log = logging.getLogger(logname)
    log.setLevel(logging.DEBUG)
    ch = logging.StreamHandler()
    ch.setLevel(logging.DEBUG)
    # create formatter
    formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
    # add formatter to ch
    ch.setFormatter(formatter)
    # add ch to logger
    log.addHandler(ch)

setup(
    name=dist_name,
    version="0.7.3",
    description=description,
    long_description="{readme}".format(
        readme=readme,
    ),
    author='Learning Equality',
    author_email='info@learningequality.org',
    url='https://github.com/learningequality/kolibri-exercise-perseus-plugin',
    packages=[
        str('kolibri_exercise_perseus_plugin'),  # https://github.com/pypa/setuptools/pull/597
    ],
    package_dir={'kolibri_exercise_perseus_plugin': 'kolibri_exercise_perseus_plugin'},
    include_package_data=True,
    license='MIT',
    zip_safe=False,
    keywords='kolibri',
    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.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: Implementation :: PyPy',
    ],
)
<|endoftext|>


<commit_before>import re
from setuptools import setup, find_packages

# take the version
with open("indexdigest/__init__.py", "r") as fh:
    # e.g. VERSION = '1.5.0'
    last_line = fh.readlines()[-1]
    VERSION = re.search(r'[\d.]+', last_line).group(0)

# @see https://packaging.python.org/tutorials/packaging-projects/#creating-setup-py
with open("README.md", "r") as fh:
    long_description = fh.read()

# @see https://github.com/pypa/sampleproject/blob/master/setup.py
setup(
    name='indexdigest',
    version=VERSION,
    author='Maciej Brencz',
    author_email='maciej.brencz@gmail.com',
    license='MIT',
    description='Analyses your database queries and schema and suggests indices and schema improvements',
    long_description=long_description,
    long_description_content_type="text/markdown",
    url='https://github.com/macbre/index-digest',
    # https://pypi.python.org/pypi?%3Aaction=list_classifiers
    classifiers=[
        # How mature is this project? Common values are
        #   3 - Alpha
        #   4 - Beta
        #   5 - Production/Stable
        'Development Status :: 5 - Production/Stable',

        # Indicate who your project is intended for
        'Intended Audience :: Developers',
        'Intended Audience :: System Administrators',
        'Topic :: Database',

        # Pick your license as you wish
        'License :: OSI Approved :: MIT License',

        # Specify the Python versions you support here. In particular, ensure
        # that you indicate whether you support Python 2, Python 3 or both.
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: 3.8',
        'Programming Language :: Python :: 3.9',
        'Programming Language :: Python :: 3.10',
    ],
    packages=find_packages(),
    extras_require={
        'dev': [
            'coverage==6.4.4',
            'coveralls==3.3.1',
            'pylint==2.15.2',
            'pytest==7.1.3',
            'pytest-cov==3.0.0',
            'twine==4.0.1',
        ]
    },
    install_requires=[
        'docopt==0.6.2',
        'PyYAML==6.0',
        'mysqlclient==2.1.1',
        'sql_metadata==2.6.0',
        'termcolor==1.1.0',
        'yamlordereddictloader==0.4.0'
    ],
    entry_points={
        'console_scripts': [
            'add_linter=indexdigest.cli.add_linter:main',  # creates a new linter from a template
            'index_digest=indexdigest.cli.script:main',
        ],
    }
)
<commit_msg>Bump termcolor from 1.1.0 to 2.0.1<commit_after>import re
from setuptools import setup, find_packages

# take the version
with open("indexdigest/__init__.py", "r") as fh:
    # e.g. VERSION = '1.5.0'
    last_line = fh.readlines()[-1]
    VERSION = re.search(r'[\d.]+', last_line).group(0)

# @see https://packaging.python.org/tutorials/packaging-projects/#creating-setup-py
with open("README.md", "r") as fh:
    long_description = fh.read()

# @see https://github.com/pypa/sampleproject/blob/master/setup.py
setup(
    name='indexdigest',
    version=VERSION,
    author='Maciej Brencz',
    author_email='maciej.brencz@gmail.com',
    license='MIT',
    description='Analyses your database queries and schema and suggests indices and schema improvements',
    long_description=long_description,
    long_description_content_type="text/markdown",
    url='https://github.com/macbre/index-digest',
    # https://pypi.python.org/pypi?%3Aaction=list_classifiers
    classifiers=[
        # How mature is this project? Common values are
        #   3 - Alpha
        #   4 - Beta
        #   5 - Production/Stable
        'Development Status :: 5 - Production/Stable',

        # Indicate who your project is intended for
        'Intended Audience :: Developers',
        'Intended Audience :: System Administrators',
        'Topic :: Database',

        # Pick your license as you wish
        'License :: OSI Approved :: MIT License',

        # Specify the Python versions you support here. In particular, ensure
        # that you indicate whether you support Python 2, Python 3 or both.
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: 3.8',
        'Programming Language :: Python :: 3.9',
        'Programming Language :: Python :: 3.10',
    ],
    packages=find_packages(),
    extras_require={
        'dev': [
            'coverage==6.4.4',
            'coveralls==3.3.1',
            'pylint==2.15.2',
            'pytest==7.1.3',
            'pytest-cov==3.0.0',
            'twine==4.0.1',
        ]
    },
    install_requires=[
        'docopt==0.6.2',
        'PyYAML==6.0',
        'mysqlclient==2.1.1',
        'sql_metadata==2.6.0',
        'termcolor==2.0.1',
        'yamlordereddictloader==0.4.0'
    ],
    entry_points={
        'console_scripts': [
            'add_linter=indexdigest.cli.add_linter:main',  # creates a new linter from a template
            'index_digest=indexdigest.cli.script:main',
        ],
    }
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages
import os
import scrapydd

version = scrapydd.__version__

os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
    name         = 'scrapydd',
    version      = version,
    author       ='kevenli',
    author_email ='pbleester@gmail.com',
    url          = 'http://github.com/kevenli/scrapydd',
    packages     = find_packages(exclude=('tests', 'tests.*')),
    package_data = {
        'scrapydd': [
            'scrapydd.default.conf',
            'scrapyddagent.default.conf',
            'templates/**/*.html',
            'migrates/migrate.cfg',
            'static/*',
        ],
    },
    entry_points = {
        'console_scripts': [
            'scrapydd = scrapydd.scripts.cmdline:main',
        ]
    },
    install_requires=[
        'tornado>=4.4.2,<5.0',
        'apscheduler',
        'scrapy',
        'sqlalchemy',
        'sqlalchemy-migrate',
        'poster>=0.8.1',
        'service-identity',
        'virtualenv',
        'pysyncobj>=0.2.3',
        'attrs>=17.4.0'
    ]
)
<commit_msg>include template files in installing<commit_after>from setuptools import setup, find_packages
import os
import scrapydd

version = scrapydd.__version__

os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
    name         = 'scrapydd',
    version      = version,
    author       ='kevenli',
    author_email ='pbleester@gmail.com',
    url          = 'http://github.com/kevenli/scrapydd',
    packages     = find_packages(exclude=('tests', 'tests.*')),
    package_data = {
        'scrapydd': [
            'scrapydd.default.conf',
            'scrapyddagent.default.conf',
            'templates/**/*.html',
            'templates/*.html',
            'migrates/migrate.cfg',
            'static/**/*',
        ],
    },
    entry_points = {
        'console_scripts': [
            'scrapydd = scrapydd.scripts.cmdline:main',
        ]
    },
    install_requires=[
        'tornado>=4.4.2,<5.0',
        'apscheduler',
        'scrapy',
        'sqlalchemy',
        'sqlalchemy-migrate',
        'poster>=0.8.1',
        'service-identity',
        'virtualenv',
        'pysyncobj>=0.2.3',
        'attrs>=17.4.0'
    ]
)
<|endoftext|>


<commit_before>from setuptools import setup, Command
import subprocess

class Test(Command):
    user_options = []

    def initialize_options(self):
        pass

    def finalize_options(self):
        pass

    def run(self):
        err1 = subprocess.call(['py.test', 'tests/python'])
        err2 = subprocess.call(['node_modules/mocha/bin/mocha', 'tests/js'])
        raise SystemExit(err1 or err2)

setup(
    name='Flask-Split-JS',
    version='0.2.0',
    url='http://github.com/FelixLoether/flask-split-js',
    license='MIT',
    author='Oskari Hiltunen',
    author_email='flask-split-js@loethr.net',
    description='A JavaScript library for Flask-Split.',
    long_description=(
        open('README.rst').read() + '\n\n' +
        open('CHANGES.rst').read()
    ),
    packages=['flask_split_js'],
    include_package_data=True,
    zip_safe=False,
    platforms='any',
    install_requires=[
        'Flask>=0.8',
        'Flask-Split>=0.2',
    ],
    cmdclass={'test': Test},
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Web Environment',
        'Framework :: Flask',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ]
)
<commit_msg>Fix version number in setup.py.<commit_after>from setuptools import setup, Command
import subprocess

class Test(Command):
    user_options = []

    def initialize_options(self):
        pass

    def finalize_options(self):
        pass

    def run(self):
        err1 = subprocess.call(['py.test', 'tests/python'])
        err2 = subprocess.call(['node_modules/mocha/bin/mocha', 'tests/js'])
        raise SystemExit(err1 or err2)

setup(
    name='Flask-Split-JS',
    version='0.0.1',
    url='http://github.com/FelixLoether/flask-split-js',
    license='MIT',
    author='Oskari Hiltunen',
    author_email='flask-split-js@loethr.net',
    description='A JavaScript library for Flask-Split.',
    long_description=(
        open('README.rst').read() + '\n\n' +
        open('CHANGES.rst').read()
    ),
    packages=['flask_split_js'],
    include_package_data=True,
    zip_safe=False,
    platforms='any',
    install_requires=[
        'Flask>=0.8',
        'Flask-Split>=0.2',
    ],
    cmdclass={'test': Test},
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Web Environment',
        'Framework :: Flask',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ]
)
<|endoftext|>


<commit_before># coding=utf-8
from setuptools import setup

########################################################################################################################

plugin_identifier = "filamentmanager"
plugin_package = "octoprint_filamentmanager"
plugin_name = "OctoPrint-FilamentManager"
plugin_version = "0.5.2"
plugin_description = "Manage your spools and keep track of remaining filament on them"
plugin_author = "Sven Lohrmann"
plugin_author_email = "malnvenshorn@gmail.com"
plugin_url = "https://github.com/malnvenshorn/OctoPrint-FilamentManager"
plugin_license = "AGPLv3"
plugin_requires = ["backports.csv>=1.0.5,<1.1",
                   "uritools>=2.1,<2.2",
                   "SQLAlchemy>=1.1.15,<1.2"]
plugin_additional_data = []
plugin_additional_packages = []
plugin_ignored_packages = []
additional_setup_parameters = {}

########################################################################################################################

try:
    import octoprint_setuptools
except ImportError:
    print("Could not import OctoPrint's setuptools, are you sure you are running that under "
          "the same python installation that OctoPrint is installed under?")
    import sys
    sys.exit(-1)

setup_parameters = octoprint_setuptools.create_plugin_setup_parameters(
    identifier=plugin_identifier,
    package=plugin_package,
    name=plugin_name,
    version=plugin_version,
    description=plugin_description,
    author=plugin_author,
    mail=plugin_author_email,
    url=plugin_url,
    license=plugin_license,
    requires=plugin_requires,
    additional_packages=plugin_additional_packages,
    ignored_packages=plugin_ignored_packages,
    additional_data=plugin_additional_data
)

if len(additional_setup_parameters):
    from octoprint.util import dict_merge
    setup_parameters = dict_merge(setup_parameters, additional_setup_parameters)

setup(**setup_parameters)
<commit_msg>Finish 0.5.3<commit_after># coding=utf-8
from setuptools import setup

########################################################################################################################

plugin_identifier = "filamentmanager"
plugin_package = "octoprint_filamentmanager"
plugin_name = "OctoPrint-FilamentManager"
plugin_version = "0.5.3"
plugin_description = "Manage your spools and keep track of remaining filament on them"
plugin_author = "Sven Lohrmann"
plugin_author_email = "malnvenshorn@gmail.com"
plugin_url = "https://github.com/malnvenshorn/OctoPrint-FilamentManager"
plugin_license = "AGPLv3"
plugin_requires = ["backports.csv>=1.0.5,<1.1",
                   "uritools>=2.1,<2.2",
                   "SQLAlchemy>=1.1.15,<1.2"]
plugin_additional_data = []
plugin_additional_packages = []
plugin_ignored_packages = []
additional_setup_parameters = {}

########################################################################################################################

try:
    import octoprint_setuptools
except ImportError:
    print("Could not import OctoPrint's setuptools, are you sure you are running that under "
          "the same python installation that OctoPrint is installed under?")
    import sys
    sys.exit(-1)

setup_parameters = octoprint_setuptools.create_plugin_setup_parameters(
    identifier=plugin_identifier,
    package=plugin_package,
    name=plugin_name,
    version=plugin_version,
    description=plugin_description,
    author=plugin_author,
    mail=plugin_author_email,
    url=plugin_url,
    license=plugin_license,
    requires=plugin_requires,
    additional_packages=plugin_additional_packages,
    ignored_packages=plugin_ignored_packages,
    additional_data=plugin_additional_data
)

if len(additional_setup_parameters):
    from octoprint.util import dict_merge
    setup_parameters = dict_merge(setup_parameters, additional_setup_parameters)

setup(**setup_parameters)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

setup(
    name='ladybug',
    packages=find_packages()
)
<commit_msg>forcing a fail<commit_after>from setuptools import setup, find_packages

setup(
    name='ladybug',
    #packages=find_packages()
)
<|endoftext|>


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

INSTALL_REQUIRES = ["sphinx"]
EXTRAS_REQUIRE = {
    "tests": ["pytest", 'mock; python_version < "3.0"'],
    "lint": [
        "flake8==3.7.4",
        'flake8-bugbear==18.8.0; python_version >= "3.5"',
        "pre-commit==1.14.2",
    ],
}
EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_REQUIRE["lint"] + ["tox"]

def find_version(fname):
    """Attempts to find the version number in the file names fname.
    Raises RuntimeError if not found.
    """
    version = ""
    with open(fname, "r") as fp:
        reg = re.compile(r'__version__ = [\'"]([^\'"]*)[\'"]')
        for line in fp:
            m = reg.match(line)
            if m:
                version = m.group(1)
                break
    if not version:
        raise RuntimeError("Cannot find version information")
    return version

def read(fname):
    with open(fname) as fp:
        content = fp.read()
    return content

setup(
    name="sphinx-issues",
    version=find_version("sphinx_issues.py"),
    description="A Sphinx extension for linking to your project's " "issue tracker",
    long_description=read("README.rst"),
    install_requires=INSTALL_REQUIRES,
    extras_require=EXTRAS_REQUIRE,
    author="Steven Loria",
    author_email="sloria1@gmail.com",
    url="https://github.com/sloria/sphinx-issues",
    license="MIT",
    keywords="sphinx issues github",
    classifiers=[
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Topic :: Software Development :: Documentation",
    ],
    py_modules=["sphinx_issues"],
    project_urls={"Issues": "https://github.com/sloria/sphinx-issues/issues"},
)
<commit_msg>Bump flake8 from 3.7.4 to 3.7.5<commit_after># -*- coding: utf-8 -*-
import re
from setuptools import setup

INSTALL_REQUIRES = ["sphinx"]
EXTRAS_REQUIRE = {
    "tests": ["pytest", 'mock; python_version < "3.0"'],
    "lint": [
        "flake8==3.7.5",
        'flake8-bugbear==18.8.0; python_version >= "3.5"',
        "pre-commit==1.14.2",
    ],
}
EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_REQUIRE["lint"] + ["tox"]

def find_version(fname):
    """Attempts to find the version number in the file names fname.
    Raises RuntimeError if not found.
    """
    version = ""
    with open(fname, "r") as fp:
        reg = re.compile(r'__version__ = [\'"]([^\'"]*)[\'"]')
        for line in fp:
            m = reg.match(line)
            if m:
                version = m.group(1)
                break
    if not version:
        raise RuntimeError("Cannot find version information")
    return version

def read(fname):
    with open(fname) as fp:
        content = fp.read()
    return content

setup(
    name="sphinx-issues",
    version=find_version("sphinx_issues.py"),
    description="A Sphinx extension for linking to your project's " "issue tracker",
    long_description=read("README.rst"),
    install_requires=INSTALL_REQUIRES,
    extras_require=EXTRAS_REQUIRE,
    author="Steven Loria",
    author_email="sloria1@gmail.com",
    url="https://github.com/sloria/sphinx-issues",
    license="MIT",
    keywords="sphinx issues github",
    classifiers=[
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Topic :: Software Development :: Documentation",
    ],
    py_modules=["sphinx_issues"],
    project_urls={"Issues": "https://github.com/sloria/sphinx-issues/issues"},
)
<|endoftext|>


<commit_before>#!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""Setup for PyPI usage."""

import os.path as op

from glob import glob
from setuptools import setup
from setup_helper import SetupHelper

NAME = "goatools"
CLASSIFIERS = [
    'Development Status :: 4 - Beta',
    'Intended Audience :: Science/Research',
    'License :: OSI Approved :: BSD License',
    'Programming Language :: Python',
    'Programming Language :: Python :: 2',
    'Programming Language :: Python :: 3',
    'Topic :: Scientific/Engineering :: Bio-Informatics',
    ]

# Use the helper
HLPR = SetupHelper(initfile="goatools/__init__.py", readmefile="README.md")

SETUP_DIR = op.abspath(op.dirname(__file__))
REQUIREMENTS = ['wget'] + \
               [x.strip() for x in open(op.join(SETUP_DIR, 'requirements.txt')).readlines()]

setup(
    NAME=NAME,
    version=HLPR.version,
    author=HLPR.author,
    author_email=HLPR.email,
    license=HLPR.license,
    long_description=HLPR.long_description,
    packages=[
        NAME,
        NAME + ".godag",
        NAME + ".gosubdag",
        NAME + ".gosubdag.plot",
        NAME + ".gosubdag.rpt",
        NAME + ".test_data",
        NAME + ".test_data.sections",
        NAME + ".test_data.cli",
        NAME + ".cli",
        NAME + ".rpt",
        NAME + ".anno",
        NAME + ".anno.extensions",
        NAME + ".grouper",
        NAME + ".parsers"],
    include_package_data=True,
    package_data={"goatools.test_data.nbt_3102": ["*.*"]},
    scripts=glob('scripts/*.py'),
    classifiers=CLASSIFIERS,
    url='http://github.com/tanghaibao/goatools',
    description="Python scripts to find enrichment of GO terms",
    install_requires=REQUIREMENTS
)
<commit_msg>[setup] Change NAME => name<commit_after>#!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""Setup for PyPI usage."""

import os.path as op

from glob import glob
from setuptools import setup
from setup_helper import SetupHelper

NAME = "goatools"
CLASSIFIERS = [
    'Development Status :: 4 - Beta',
    'Intended Audience :: Science/Research',
    'License :: OSI Approved :: BSD License',
    'Programming Language :: Python',
    'Programming Language :: Python :: 2',
    'Programming Language :: Python :: 3',
    'Topic :: Scientific/Engineering :: Bio-Informatics',
    ]

# Use the helper
HLPR = SetupHelper(initfile="goatools/__init__.py", readmefile="README.md")

SETUP_DIR = op.abspath(op.dirname(__file__))
REQUIREMENTS = ['wget'] + \
               [x.strip() for x in open(op.join(SETUP_DIR, 'requirements.txt')).readlines()]

setup(
    name=NAME,
    version=HLPR.version,
    author=HLPR.author,
    author_email=HLPR.email,
    license=HLPR.license,
    long_description=HLPR.long_description,
    packages=[
        NAME,
        NAME + ".godag",
        NAME + ".gosubdag",
        NAME + ".gosubdag.plot",
        NAME + ".gosubdag.rpt",
        NAME + ".test_data",
        NAME + ".test_data.sections",
        NAME + ".test_data.cli",
        NAME + ".cli",
        NAME + ".rpt",
        NAME + ".anno",
        NAME + ".anno.extensions",
        NAME + ".grouper",
        NAME + ".parsers"],
    include_package_data=True,
    package_data={"goatools.test_data.nbt_3102": ["*.*"]},
    scripts=glob('scripts/*.py'),
    classifiers=CLASSIFIERS,
    url='http://github.com/tanghaibao/goatools',
    description="Python scripts to find enrichment of GO terms",
    install_requires=REQUIREMENTS
)
<|endoftext|>


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

PROJECT = 'automata'

# Change docs/sphinx/conf.py too!
VERSION = '0.0.1'

from setuptools import setup, find_packages

try:
    long_description = open('README.md', 'rt').read()
except IOError:
    long_description = ''

setup(
    name=PROJECT,
    version=VERSION,

    description='Automata classes',
    long_description=long_description,

    author='George Argyros, Ioannis Stais',
    author_email='ioannis.stais@gmail.com',

    url='https://github.com/GeorgeArgyros/automata',
    download_url='https://github.com/GeorgeArgyros/automata/tarball/master',

    classifiers=['Development Status :: 3 - Alpha',
                 'Programming Language :: Python',
                 'Programming Language :: Python :: 2',
                 'Programming Language :: Python :: 2.7',
                 'Intended Audience :: Developers',
                 'Environment :: Console',
                 ],

    platforms=['Any'],
    scripts=[],
    provides=[],
    install_requires=[],
    namespace_packages=[],
    packages=find_packages(),
    include_package_data=True,
    zip_safe=False,
)
<commit_msg>Initialize<commit_after>#!/usr/bin/env python
import ez_setup
ez_setup.use_setuptools()

PROJECT = 'automata'

# Change docs/sphinx/conf.py too!
VERSION = '0.0.1'

from setuptools import setup, find_packages

try:
    long_description = open('README.md', 'rt').read()
except IOError:
    long_description = ''

setup(
    name=PROJECT,
    version=VERSION,

    description='Automata classes',
    long_description=long_description,

    author='George Argyros, Ioannis Stais',
    author_email='ioannis.stais@gmail.com',

    url='https://github.com/GeorgeArgyros/automata',
    download_url='https://github.com/GeorgeArgyros/automata/tarball/master',

    classifiers=['Development Status :: 3 - Alpha',
                 'Programming Language :: Python',
                 'Programming Language :: Python :: 2',
                 'Programming Language :: Python :: 2.7',
                 'Intended Audience :: Developers',
                 'Environment :: Console',
                 ],

    platforms=['Any'],
    scripts=[],
    provides=[],
    install_requires=[],
    namespace_packages=[],
    packages=find_packages(),
    include_package_data=True,
    zip_safe=False,
)
<|endoftext|>


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

from gunicorn_thrift import __version__

setup(
    name = 'gunicorn_thrift',
    version = __version__,

    description = 'python thrift server plugin for gunicorn.',
    author = 'wmttom',
    author_email = 'wmttom@gmail.com',
    license = 'MIT',
    url = 'http://github.com/wmttom/gunicorn_thrift',

    zip_safe = False,
    packages = find_packages(exclude=['examples', 'tests']),
    include_package_data = True,

    install_requires = [
        "gunicorn==19.0",
        "gevent==1.0.1",
        "thrift==0.9.1",
    ],

    entry_points="""

    [console_scripts]
    gunicorn_thrift=gunicorn_thrift.app.thriftapp:run

    """
)
<commit_msg>change name to ggthrift in setup.py for pypi<commit_after># -*- coding: utf-8 -
import os
from setuptools import setup, find_packages, Command
import sys

from gunicorn_thrift import __version__

setup(
    name = 'ggthrift',
    version = __version__,

    description = 'python thrift server plugin for gunicorn.',
    author = 'wmttom',
    author_email = 'wmttom@gmail.com',
    license = 'MIT',
    url = 'http://github.com/wmttom/gunicorn_thrift',

    zip_safe = False,
    packages = find_packages(exclude=['examples', 'tests']),
    include_package_data = True,

    install_requires = [
        "gunicorn==19.0",
        "gevent==1.0.1",
        "thrift==0.9.1",
    ],

    entry_points="""

    [console_scripts]
    gunicorn_thrift=gunicorn_thrift.app.thriftapp:run

    """
)
<|endoftext|>


<commit_before># import multiprocessing to avoid this bug (http://bugs.python.org/issue15881#msg170215)
import multiprocessing
import re
from setuptools import setup, find_packages

assert multiprocessing

def get_version():
    """
    Extracts the version number from the version.py file.
    """
    VERSION_FILE = 'issue/version.py'
    mo = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', open(VERSION_FILE, 'rt').read(), re.M)
    if mo:
        return mo.group(1)
    else:
        raise RuntimeError('Unable to find version string in {0}.'.format(VERSION_FILE))

setup(
    name='django-issue',
    version=get_version(),
    description='An app for tracking ongoing issues within your web application!',
    long_description=open('README.rst').read(),
    url='https://github.com/ambitioninc/django-issue',
    author='Josh Marlow',
    author_email='opensource@ambition.com',
    keywords='python,issue',
    packages=find_packages(),
    classifiers=[
        'Programming Language :: Python',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Framework :: Django',
        'Framework :: Django :: 2.0',
        'Framework :: Django :: 2.1',
        'Framework :: Django :: 2.2',
    ],
    license='MIT',
    install_requires=[
        'Django>=2.0',
        'django-manager-utils>=1.4.0',
        'django-regex-field>=1.3.1',
        'jsonfield>=0.9.20',
    ],
    tests_require=[
        'psycopg2',
        'coverage>=3.7.1',
        'django-dynamic-fixture',
        'django-nose>=1.4',
        'freezegun>=0.1.12',
        'mock',
        'six>=1.8.0',
    ],
    test_suite='run_tests.run_tests',
    include_package_data=True,
    zip_safe=False,
)
<commit_msg>Pin Django<commit_after># import multiprocessing to avoid this bug (http://bugs.python.org/issue15881#msg170215)
import multiprocessing
import re
from setuptools import setup, find_packages

assert multiprocessing

def get_version():
    """
    Extracts the version number from the version.py file.
    """
    VERSION_FILE = 'issue/version.py'
    mo = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', open(VERSION_FILE, 'rt').read(), re.M)
    if mo:
        return mo.group(1)
    else:
        raise RuntimeError('Unable to find version string in {0}.'.format(VERSION_FILE))

setup(
    name='django-issue',
    version=get_version(),
    description='An app for tracking ongoing issues within your web application!',
    long_description=open('README.rst').read(),
    url='https://github.com/ambitioninc/django-issue',
    author='Josh Marlow',
    author_email='opensource@ambition.com',
    keywords='python,issue',
    packages=find_packages(),
    classifiers=[
        'Programming Language :: Python',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Framework :: Django',
        'Framework :: Django :: 2.0',
        'Framework :: Django :: 2.1',
        'Framework :: Django :: 2.2',
    ],
    license='MIT',
    install_requires=[
        'Django>=2.0,<3.0',
        'django-manager-utils>=1.4.0',
        'django-regex-field>=1.3.1',
        'jsonfield>=0.9.20',
    ],
    tests_require=[
        'psycopg2',
        'coverage>=3.7.1',
        'django-dynamic-fixture',
        'django-nose>=1.4',
        'freezegun>=0.1.12',
        'mock',
        'six>=1.8.0',
    ],
    test_suite='run_tests.run_tests',
    include_package_data=True,
    zip_safe=False,
)
<|endoftext|>


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

import io
from os.path import exists

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

__version__ = "3.3.3"

setup(
    name='django-tenants',
    version=__version__,
    author='Thomas Turner',
    author_email='tom@twt.me.uk',
    packages=[
        'django_tenants',
        'django_tenants.files',
        'django_tenants.postgresql_backend',
        'django_tenants.management',
        'django_tenants.management.commands',
        'django_tenants.migration_executors',
        'django_tenants.template',
        'django_tenants.template.loaders',
        'django_tenants.templatetags',
        'django_tenants.test',
        'django_tenants.tests',
        'django_tenants.staticfiles',
        'django_tenants.middleware',
    ],
    include_package_data=True,
    scripts=[],
    url='https://github.com/django-tenants/django-tenants',
    license='MIT',
    description='Tenant support for Django using PostgreSQL schemas.',
    long_description=io.open('README.rst', encoding='utf-8').read() if exists("README.rst") else "",
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'License :: OSI Approved :: MIT License',
        'Framework :: Django',
        'Framework :: Django :: 2.1',
        'Framework :: Django :: 2.2',
        'Framework :: Django :: 3.0',
        'Framework :: Django :: 3.1',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: 3.8',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ],
    install_requires=[
        'Django >= 2.1,<4.0',
    ],
    zip_safe=False,
)
<commit_msg>Updated to 3.3.4<commit_after> #!/usr/bin/env python

import io
from os.path import exists

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

__version__ = "3.3.4"

setup(
    name='django-tenants',
    version=__version__,
    author='Thomas Turner',
    author_email='tom@twt.me.uk',
    packages=[
        'django_tenants',
        'django_tenants.files',
        'django_tenants.postgresql_backend',
        'django_tenants.management',
        'django_tenants.management.commands',
        'django_tenants.migration_executors',
        'django_tenants.template',
        'django_tenants.template.loaders',
        'django_tenants.templatetags',
        'django_tenants.test',
        'django_tenants.tests',
        'django_tenants.staticfiles',
        'django_tenants.middleware',
    ],
    include_package_data=True,
    scripts=[],
    url='https://github.com/django-tenants/django-tenants',
    license='MIT',
    description='Tenant support for Django using PostgreSQL schemas.',
    long_description=io.open('README.rst', encoding='utf-8').read() if exists("README.rst") else "",
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'License :: OSI Approved :: MIT License',
        'Framework :: Django',
        'Framework :: Django :: 2.1',
        'Framework :: Django :: 2.2',
        'Framework :: Django :: 3.0',
        'Framework :: Django :: 3.1',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: 3.8',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ],
    install_requires=[
        'Django >= 2.1,<4.0',
    ],
    zip_safe=False,
)
<|endoftext|>


<commit_before># This setup is based on the recommendations from the
# https://packaging.python.org/ documentation.

from setuptools import setup, find_packages
from codecs import open
from os import path

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

def readAbout():
    """Reads the fields of the about file."""
    fields = {}
    here = path.abspath(path.dirname(__file__))
    with open(path.join(here, 'clx', 'xms', '__about__.py')) as f:
        exec(f.read(), fields)
    return fields

ABOUT = readAbout()

setup(

    name=ABOUT['__title__'],
    version=ABOUT['__version__'],
    description='Library for CLX Communications HTTP REST Messaging API',
    long_description=read('README.rst'),
    url='https://github.com/clxcommunications/sdk-xms-python',

    author='Robert Helgesson',
    author_email='robert@chaitsa.com',

    packages=['clx.xms'],

    install_requires=['iso8601 >= 0.1.9', 'requests >= 2.4.2'],

    tests_require=['nose', 'requests-mock >= 0.6.0'],
    test_suite='nose.collector',

    license=ABOUT['__license__'],

    keywords='messaging mobile sms',

    classifiers=[
        'Development Status :: 1 - Planning',
        'Intended Audience :: Developers',
        'Intended Audience :: Telecommunications Industry',
        'License :: OSI Approved :: Apache Software License',
        '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 :: 3.6',
        'Topic :: Communications :: Telephony',
        'Topic :: Communications'
    ]

)
<commit_msg>Fix packages attribute in setup<commit_after># This setup is based on the recommendations from the
# https://packaging.python.org/ documentation.

from setuptools import setup, find_packages
from codecs import open
from os import path

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

def readAbout():
    """Reads the fields of the about file."""
    fields = {}
    here = path.abspath(path.dirname(__file__))
    with open(path.join(here, 'clx', 'xms', '__about__.py')) as f:
        exec(f.read(), fields)
    return fields

ABOUT = readAbout()

setup(

    name=ABOUT['__title__'],
    version=ABOUT['__version__'],
    description='Library for CLX Communications HTTP REST Messaging API',
    long_description=read('README.rst'),
    url='https://github.com/clxcommunications/sdk-xms-python',

    author='Robert Helgesson',
    author_email='robert@chaitsa.com',

    packages=['clx'],

    install_requires=['iso8601 >= 0.1.9', 'requests >= 2.4.2'],

    tests_require=['nose', 'requests-mock >= 0.6.0'],
    test_suite='nose.collector',

    license=ABOUT['__license__'],

    keywords='messaging mobile sms',

    classifiers=[
        'Development Status :: 1 - Planning',
        'Intended Audience :: Developers',
        'Intended Audience :: Telecommunications Industry',
        'License :: OSI Approved :: Apache Software License',
        '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 :: 3.6',
        'Topic :: Communications :: Telephony',
        'Topic :: Communications'
    ]

)
<|endoftext|>


<commit_before>from __future__ import with_statement, print_function, absolute_import

from setuptools import setup, find_packages, Extension
from distutils.version import LooseVersion

# import numpy as np
import os
from glob import glob
from os.path import join

from setuptools.command.build_ext import build_ext as _build_ext

class build_ext(_build_ext):
    def finalize_options(self):
        _build_ext.finalize_options(self)
        # Prevent numpy from thinking it is still in its setup process:
        __builtins__.__NUMPY_SETUP__ = False
        import numpy
        self.include_dirs.append(numpy.get_include())

# # This can be loosen probably, though it's fine I think
# min_cython_ver = '0.24.0'
# try:
#     import Cython
#     ver = Cython.__version__
#     _CYTHON_INSTALLED = ver >= LooseVersion(min_cython_ver)
# except ImportError:
#     _CYTHON_INSTALLED = False

# try:
#     if not _CYTHON_INSTALLED:
#         raise ImportError('No supported version of Cython installed.')
#     from Cython.Distutils import build_ext
#     cython = True
# except ImportError:
#     cython = False

# if cython:
#     ext = '.pyx'
#     cmdclass = {'build_ext': build_ext}
# else:
#     ext = '.cpp'
#     cmdclass = {}
#     if not os.path.exists(join("pyworld", "pyworld" + ext)):
#         raise RuntimeError("Cython is required to generate C++ wrapper")

world_src_top = join("lib", "World", "src")
world_sources = glob(join(world_src_top, "*.cpp"))

ext_modules = [
    Extension(
        name="pyworld.pyworld",
        # include_dirs=[np.get_include(), world_src_top],
        include_dirs=[world_src_top],
        sources=[join("pyworld", "pyworld.pyx")] + world_sources,
        language="c++")]

setup(
    name="pyworld",
    ext_modules=ext_modules,
    # cmdclass=cmdclass,
    cmdclass={'build_ext': build_ext},
    version='0.2.5',
    packages=find_packages(),
    setup_requires=[
        'numpy',
    #     'cython>=0.24.0',
    ],
    install_requires=[
        'numpy',
        'cython>=0.24.0',
    ],
    extras_require={
        'test': ['nose'],
        # 'develop': ['cython >= ' + min_cython_ver],
        'sdist': ['numpy', 'cython'],
    },
    author="Pyworld Contributors",
    author_email="jeremycchsu@gmail.com",
    url="https://github.com/JeremyCCHsu/Python-Wrapper-for-World-Vocoder",
    description="a Python wrapper for the WORLD vocoder",
    keywords=['vocoder'],
    classifiers=[],
)
<commit_msg>update description<commit_after>"""
PyWorld is a Python wrapper for WORLD vocoder.

WORLD is free software for high-quality speech analysis, manipulation and
synthesis. It can estimate Fundamental frequency (F0), aperiodicity and
spectral envelope and also generate the speech like input speech with only
estimated parameters.
"""

from __future__ import with_statement, print_function, absolute_import

from setuptools import setup, find_packages, Extension
from distutils.version import LooseVersion

import os
from glob import glob
from os.path import join

from setuptools.command.build_ext import build_ext as _build_ext

class build_ext(_build_ext):
    def finalize_options(self):
        _build_ext.finalize_options(self)
        # Prevent numpy from thinking it is still in its setup process:
        __builtins__.__NUMPY_SETUP__ = False
        import numpy
        self.include_dirs.append(numpy.get_include())

world_src_top = join("lib", "World", "src")
world_sources = glob(join(world_src_top, "*.cpp"))

ext_modules = [
    Extension(
        name="pyworld.pyworld",
        include_dirs=[world_src_top],
        sources=[join("pyworld", "pyworld.pyx")] + world_sources,
        language="c++")]

setup(
    name="pyworld",
    ext_modules=ext_modules,
    cmdclass={'build_ext': build_ext},
    version='0.2.5a',
    packages=find_packages(),
    setup_requires=[
        'numpy',
    ],
    install_requires=[
        'numpy',
        'cython>=0.24.0',
    ],
    extras_require={
        'test': ['nose'],
        'sdist': ['numpy', 'cython'],
    },
    author="Pyworld Contributors",
    author_email="jeremycchsu@gmail.com",
    url="https://github.com/JeremyCCHsu/Python-Wrapper-for-World-Vocoder",
    description="a Python wrapper for the WORLD vocoder",
    keywords=['vocoder'],
    classifiers=[],
)
<|endoftext|>


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

# CKAN-of-Worms -- A logger for errors found in CKAN datasets
# By: Emmanuel Raviart <emmanuel@raviart.com>
#
# Copyright (C) 2013 Etalab
# http://github.com/etalab/ckan-of-worms
#
# This file is part of CKAN-of-Worms.
#
# CKAN-of-Worms is free software; you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# CKAN-of-Worms is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

"""A logger for errors found in CKAN datasets"""

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

classifiers = """\
Development Status :: 2 - Pre-Alpha
Environment :: Web Environment
Intended Audience :: Information Technology
License :: OSI Approved :: GNU Affero General Public License v3
Operating System :: POSIX
Programming Language :: Python
Topic :: Scientific/Engineering :: Information Analysis
Topic :: Sociology
Topic :: Internet :: WWW/HTTP :: WSGI :: Server
"""

doc_lines = __doc__.split('\n')

setup(
    name = 'CKAN-of-Worms',
    version = '0.1dev',

    author = 'Emmanuel Raviart',
    author_email = 'emmanuel@raviart.com',
    classifiers = [classifier for classifier in classifiers.split('\n') if classifier],
    description = doc_lines[0],
    keywords = 'ckan dataset error logger server web',
    license = 'http://www.fsf.org/licensing/licenses/agpl-3.0.html',
    long_description = '\n'.join(doc_lines[2:]),
    url = 'http://github.com/etalab/ckan-of-worms',

    data_files = [
        ('share/locale/fr/LC_MESSAGES', ['ckanofworms/i18n/fr/LC_MESSAGES/ckan-of-worms.mo']),
        ],
    entry_points = {
        'distutils.commands': 'build_assets = ckanofworms.commands:BuildAssets',
        'paste.app_factory': 'main = ckanofworms.application:make_app',
        },
    include_package_data = True,
    install_requires = [
        'Biryani1 >= 0.9dev',
        'bleach >= 1.2',
        'CKAN-Toolbox >= 0.1dev',
        'Mako >= 0.8',
        'Markdown >= 2.3',
        'PyYAML',
        'pymongo >= 2.2',
        'requests >= 1.2',
        'webassets >= 0.8',
        'WebError >= 0.10',
        'WebOb >= 1.1',
        ],
    message_extractors = {'ckanofworms': [
        ('**.py', 'python', None),
        ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}),
        ('static/**', 'ignore', None)]},
#    package_data = {'ckanofworms': ['i18n/*/LC_MESSAGES/*.mo']},
    packages = find_packages(),
    paster_plugins = ['PasteScript'],
    setup_requires = ['PasteScript >= 1.6.3'],
    zip_safe = False,
    )
<commit_msg>Reduce Mako version number for compatibility with Debian Wheezy.<commit_after>#! /usr/bin/env python
# -*- coding: utf-8 -*-

# CKAN-of-Worms -- A logger for errors found in CKAN datasets
# By: Emmanuel Raviart <emmanuel@raviart.com>
#
# Copyright (C) 2013 Etalab
# http://github.com/etalab/ckan-of-worms
#
# This file is part of CKAN-of-Worms.
#
# CKAN-of-Worms is free software; you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# CKAN-of-Worms is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

"""A logger for errors found in CKAN datasets"""

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

classifiers = """\
Development Status :: 2 - Pre-Alpha
Environment :: Web Environment
Intended Audience :: Information Technology
License :: OSI Approved :: GNU Affero General Public License v3
Operating System :: POSIX
Programming Language :: Python
Topic :: Scientific/Engineering :: Information Analysis
Topic :: Sociology
Topic :: Internet :: WWW/HTTP :: WSGI :: Server
"""

doc_lines = __doc__.split('\n')

setup(
    name = 'CKAN-of-Worms',
    version = '0.1dev',

    author = 'Emmanuel Raviart',
    author_email = 'emmanuel@raviart.com',
    classifiers = [classifier for classifier in classifiers.split('\n') if classifier],
    description = doc_lines[0],
    keywords = 'ckan dataset error logger server web',
    license = 'http://www.fsf.org/licensing/licenses/agpl-3.0.html',
    long_description = '\n'.join(doc_lines[2:]),
    url = 'http://github.com/etalab/ckan-of-worms',

    data_files = [
        ('share/locale/fr/LC_MESSAGES', ['ckanofworms/i18n/fr/LC_MESSAGES/ckan-of-worms.mo']),
        ],
    entry_points = {
        'distutils.commands': 'build_assets = ckanofworms.commands:BuildAssets',
        'paste.app_factory': 'main = ckanofworms.application:make_app',
        },
    include_package_data = True,
    install_requires = [
        'Biryani1 >= 0.9dev',
        'bleach >= 1.2',
        'CKAN-Toolbox >= 0.1dev',
        'Mako >= 0.7',
        'Markdown >= 2.3',
        'PyYAML',
        'pymongo >= 2.2',
        'requests >= 1.2',
        'webassets >= 0.8',
        'WebError >= 0.10',
        'WebOb >= 1.1',
        ],
    message_extractors = {'ckanofworms': [
        ('**.py', 'python', None),
        ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}),
        ('static/**', 'ignore', None)]},
#    package_data = {'ckanofworms': ['i18n/*/LC_MESSAGES/*.mo']},
    packages = find_packages(),
    paster_plugins = ['PasteScript'],
    setup_requires = ['PasteScript >= 1.6.3'],
    zip_safe = False,
    )
<|endoftext|>


<commit_before>#!/usr/bin/env python
import codecs
import os.path
import re

from setuptools import setup, find_packages

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

def read(*parts):
    return codecs.open(os.path.join(here, *parts), 'r').read()

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

requires = ['boto3>=1.4.4',
            'botocore>=1.5.78']

setup_options = dict(
    name='lambda-toolkit',
    version=find_version("lambda_toolkit", "__init__.py"),
    description='An AWS Lambda command line interface (CLI). It helps you in creating, building, testing and deploying your lambda functions.',
    long_description=open('README.md').read(),
    author='Lucio Veloso Guimaraes',
    url='https://github.com/lucioveloso/lambda-toolkit',
    scripts=['bin/lt'],
    packages=find_packages(exclude=['tests*']),
    package_data={
        "lambda_toolkit": ["lambda_toolkit/templates/*/*.py", "lambda_toolkit/templates/*/*.json"]},
    install_requires=requires,
    classifiers=(
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'Intended Audience :: System Administrators',
        'Natural Language :: English',
        'License :: OSI Approved :: Apache Software License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7'
    ),
)

setup(**setup_options)
<commit_msg>All templates.<commit_after>#!/usr/bin/env python
import codecs
import os.path
import re

from setuptools import setup, find_packages

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

def read(*parts):
    return codecs.open(os.path.join(here, *parts), 'r').read()

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

requires = ['boto3>=1.4.4',
            'botocore>=1.5.78']

setup_options = dict(
    name='lambda-toolkit',
    version=find_version("lambda_toolkit", "__init__.py"),
    description='An AWS Lambda command line interface (CLI). It helps you in creating, building, testing and deploying your lambda functions.',
    long_description=open('README.md').read(),
    author='Lucio Veloso Guimaraes',
    url='https://github.com/lucioveloso/lambda-toolkit',
    scripts=['bin/lt'],
    packages=find_packages(exclude=['tests*']),
    package_data={
        "lambda_toolkit": ["lambda_toolkit/templates/*/*"]},
    install_requires=requires,
    classifiers=(
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'Intended Audience :: System Administrators',
        'Natural Language :: English',
        'License :: OSI Approved :: Apache Software License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7'
    ),
)

setup(**setup_options)
<|endoftext|>


<commit_before># import multiprocessing to avoid this bug (http://bugs.python.org/issue15881#msg170215)
import multiprocessing
assert multiprocessing
import re
from setuptools import setup, find_packages

def get_version():
    """
    Extracts the version number from the version.py file.
    """
    VERSION_FILE = 'querybuilder/version.py'
    mo = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', open(VERSION_FILE, 'rt').read(), re.M)
    if mo:
        return mo.group(1)
    else:
        raise RuntimeError('Unable to find version string in {0}.'.format(VERSION_FILE))

setup(
    name='django-query-builder',
    version=get_version(),
    description='Build complex nested queries',
    long_description=open('README.rst').read(),
    url='https://github.com/ambitioninc/django-query-builder',
    author='Wes Okes',
    author_email='wes.okes@gmail.com',
    keywords='django, database, query, sql, postgres, upsert',
    packages=find_packages(),
    classifiers=[
        'Programming Language :: Python',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Framework :: Django',
        'Framework :: Django :: 1.11',
        'Framework :: Django :: 2.0',
        'Development Status :: 5 - Production/Stable',
    ],
    license='MIT',
    install_requires=[
        'Django>=1.11',
        'pytz>=2015.6',
        'fleming>=0.4.4',
        'six',
    ],
    tests_require=[
        'psycopg2',
        'django-nose>=1.4',
        'django-dynamic-fixture',
        'jsonfield==0.9.20',
        'mock'
    ],
    test_suite='run_tests.run_tests',
    include_package_data=True,
)
<commit_msg>update setup file<commit_after># import multiprocessing to avoid this bug (http://bugs.python.org/issue15881#msg170215)
import multiprocessing
assert multiprocessing
import re
from setuptools import setup, find_packages

def get_version():
    """
    Extracts the version number from the version.py file.
    """
    VERSION_FILE = 'querybuilder/version.py'
    mo = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', open(VERSION_FILE, 'rt').read(), re.M)
    if mo:
        return mo.group(1)
    else:
        raise RuntimeError('Unable to find version string in {0}.'.format(VERSION_FILE))

setup(
    name='django-query-builder',
    version=get_version(),
    description='Build complex nested queries',
    long_description=open('README.rst').read(),
    url='https://github.com/ambitioninc/django-query-builder',
    author='Wes Okes',
    author_email='wes.okes@gmail.com',
    keywords='django, database, query, sql, postgres, upsert',
    packages=find_packages(),
    classifiers=[
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Framework :: Django',
        'Framework :: Django :: 1.10',
        'Framework :: Django :: 1.11',
        'Framework :: Django :: 2.0',
        'Development Status :: 5 - Production/Stable',
    ],
    license='MIT',
    install_requires=[
        'Django>=1.10',
        'pytz>=2015.6',
        'fleming>=0.4.4',
        'six',
    ],
    tests_require=[
        'psycopg2',
        'django-nose>=1.4',
        'django-dynamic-fixture',
        'jsonfield==0.9.20',
        'mock'
    ],
    test_suite='run_tests.run_tests',
    include_package_data=True,
)
<|endoftext|>


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

import io
import os

import setuptools

# Package metadata.

name = 'google-cloud-dns'
description = 'Google Cloud DNS API client library'
version = '0.29.2'
# Should be one of:
# 'Development Status :: 3 - Alpha'
# 'Development Status :: 4 - Beta'
# 'Development Status :: 5 - Production/Stable'
release_status = 'Development Status :: 3 - Alpha'
dependencies = [
    'google-api-core >= 1.0.0, < 2.0.0dev',
    'google-cloud-core >= 0.29.0, < 0.30dev',
]
extras = {
}

# Setup boilerplate below this line.

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

readme_filename = os.path.join(package_root, 'README.rst')
with io.open(readme_filename, encoding='utf-8') as readme_file:
    readme = readme_file.read()

# Only include packages under the 'google' namespace. Do not include tests,
# benchmarks, etc.
packages = [
    package for package in setuptools.find_packages()
    if package.startswith('google')]

# Determine which namespaces are needed.
namespaces = ['google']
if 'google.cloud' in packages:
    namespaces.append('google.cloud')

setuptools.setup(
    name=name,
    version=version,
    description=description,
    long_description=readme,
    author='Google LLC',
    author_email='googleapis-packages@google.com',
    license='Apache 2.0',
    url='https://github.com/GoogleCloudPlatform/google-cloud-python',
    classifiers=[
        release_status,
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Operating System :: OS Independent',
        'Topic :: Internet',
    ],
    platforms='Posix; MacOS X; Windows',
    packages=packages,
    namespace_packages=namespaces,
    install_requires=dependencies,
    extras_require=extras,
    python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
    include_package_data=True,
    zip_safe=False,
)
<commit_msg>Pin 'google-cloud-core >= 1.0.0, < 2.0dev'. (#7993)<commit_after># Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import io
import os

import setuptools

# Package metadata.

name = 'google-cloud-dns'
description = 'Google Cloud DNS API client library'
version = '0.29.2'
# Should be one of:
# 'Development Status :: 3 - Alpha'
# 'Development Status :: 4 - Beta'
# 'Development Status :: 5 - Production/Stable'
release_status = 'Development Status :: 3 - Alpha'
dependencies = [
    'google-api-core >= 1.0.0, < 2.0.0dev',
    "google-cloud-core >= 1.0.0, < 2.0dev",
]
extras = {
}

# Setup boilerplate below this line.

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

readme_filename = os.path.join(package_root, 'README.rst')
with io.open(readme_filename, encoding='utf-8') as readme_file:
    readme = readme_file.read()

# Only include packages under the 'google' namespace. Do not include tests,
# benchmarks, etc.
packages = [
    package for package in setuptools.find_packages()
    if package.startswith('google')]

# Determine which namespaces are needed.
namespaces = ['google']
if 'google.cloud' in packages:
    namespaces.append('google.cloud')

setuptools.setup(
    name=name,
    version=version,
    description=description,
    long_description=readme,
    author='Google LLC',
    author_email='googleapis-packages@google.com',
    license='Apache 2.0',
    url='https://github.com/GoogleCloudPlatform/google-cloud-python',
    classifiers=[
        release_status,
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Operating System :: OS Independent',
        'Topic :: Internet',
    ],
    platforms='Posix; MacOS X; Windows',
    packages=packages,
    namespace_packages=namespaces,
    install_requires=dependencies,
    extras_require=extras,
    python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*',
    include_package_data=True,
    zip_safe=False,
)
<|endoftext|>


<commit_before>from distutils.core import setup

setup(
    name='pypub',
    version='0.8',
    packages=['pypub',],
    package_data={'pypub': ['epub_templates/*',]},
    author = 'William Cember',
    author_email = 'wcember@gmail.com',
    url = 'https://github.com/wcember/pypub',
    license='MIT',
    install_requires=[
            'beautifulsoup4',
            'jinja2',
            'requests',
            ],
    description= "Create epub's using python. Pypub is a python library to create epub files quickly without having to worry about the intracies of the epub specification.",
)<commit_msg>version number<commit_after>from distutils.core import setup

setup(
    name='pypub',
    version='0.9',
    packages=['pypub',],
    package_data={'pypub': ['epub_templates/*',]},
    author = 'William Cember',
    author_email = 'wcember@gmail.com',
    url = 'https://github.com/wcember/pypub',
    license='MIT',
    install_requires=[
            'beautifulsoup4',
            'jinja2',
            'requests',
            ],
    description= "Create epub's using python. Pypub is a python library to create epub files quickly without having to worry about the intricacies of the epub specification.",
)<|endoftext|>


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

from setuptools import setup
from setuptools import find_packages

setup(name='stellar-ml',
      version='0.1.0.rcb',
      description='Stellar Machine Learning Library',
      license='Apache 2.0',
      install_requires=['keras', 'numpy'],
      setup_requires=['pytest-runner'],
      tests_require=['pytest'],
      extras_require={
            'testing': [],
      },
      packages=find_packages())
<commit_msg>changed version number to 0.1.0b<commit_after># -*- coding: utf-8 -*-
#
# Copyright 2018 Data61, CSIRO
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from setuptools import setup
from setuptools import find_packages

setup(name='stellar-ml',
      version='0.1.0.b',
      description='Stellar Machine Learning Library',
      license='Apache 2.0',
      install_requires=['keras', 'numpy'],
      setup_requires=['pytest-runner'],
      tests_require=['pytest'],
      extras_require={
            'testing': [],
      },
      packages=find_packages())
<|endoftext|>


<commit_before># Patch for swig.
from distutils.command.build import build as _build
_build.sub_commands = [
    ('build_ext', _build.has_ext_modules),
    ('build_py', _build.has_pure_modules),
    ('build_clib', _build.has_c_libraries),
    ('build_scripts', _build.has_scripts)
]

#from setuptools.command.bdist_egg import bdist_egg
#old_run = bdist_egg.run
#
#def run(self):
#    old_run(self)
#    self.run_command("install_lib")
#
#bdist_egg.run = run

import os
import sys
from setuptools import setup
from distutils.core import Extension

if sys.version_info < (2, 6):
    raise Exception('extractor requires Python 2.6 or higher.')

# This is quite the hack, but we don't want to import our package from here
# since that's recipe for disaster (it might have some uninstalled
# dependencies, or we might import another already installed version).
distmeta = {}
for line in open(os.path.join('extractor', '__init__.py')):
    try:
        field, value = (x.strip() for x in line.split('='))
    except ValueError:
        continue
    value = value.strip('\'"')
    distmeta[field] = value

# The __version__ value is actually defined in extractor.h.
for line in open(os.path.join('extractor', 'extractor.h')):
    if ' VERSION = ' in line:
        version = line.split('=')[-1].replace(';', '').replace('"', '') \
                                     .replace("'", '').strip()
        distmeta['__version__'] = version
        distmeta['__version_info__'] = tuple(version.split('.'))
        break

try:
    with open('readme.md') as readme:
        long_description = readme.read()
except IOError:
    long_description = 'See ' + distmeta['__homepage__']

setup(
    name='description-extractor',
    ext_modules=[Extension('_extractor', ['extractor/extractor.i',
        'extractor/extractor.cc'], swig_opts=['-c++'])],
    version=distmeta['__version__'],
    description='HGVS variant description extractor',
    long_description=long_description,
    author=distmeta['__author__'],
    author_email=distmeta['__contact__'],
    url=distmeta['__homepage__'],
    license='MIT License',
    platforms=['any'],
    packages=['extractor'],
    classifiers = [
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Science/Research',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: C++',
        'Topic :: Scientific/Engineering',
    ],
    keywords='bioinformatics'
)
<commit_msg>Fix setup.py to always run SWIG before copying generated files<commit_after>import os
import sys
from setuptools import setup
from distutils.core import Extension

# We do some trickery to assure SWIG is always run before installing the
# generated files.
# http://stackoverflow.com/questions/12491328/python-distutils-not-include-the-swig-generated-module
from setuptools.command.install import install
from distutils.command.build import build
class CustomBuild(build):
    def run(self):
        self.run_command('build_ext')
        build.run(self)
class CustomInstall(install):
    def run(self):
        self.run_command('build_ext')
        self.do_egg_install()
custom_cmdclass = {'build': CustomBuild, 'install': CustomInstall}

if sys.version_info < (2, 6):
    raise Exception('extractor requires Python 2.6 or higher.')

# This is quite the hack, but we don't want to import our package from here
# since that's recipe for disaster (it might have some uninstalled
# dependencies, or we might import another already installed version).
distmeta = {}
for line in open(os.path.join('extractor', '__init__.py')):
    try:
        field, value = (x.strip() for x in line.split('='))
    except ValueError:
        continue
    value = value.strip('\'"')
    distmeta[field] = value

# The __version__ value is actually defined in extractor.h.
for line in open(os.path.join('extractor', 'extractor.h')):
    if ' VERSION = ' in line:
        version = line.split('=')[-1].replace(';', '').replace('"', '') \
                                     .replace("'", '').strip()
        distmeta['__version__'] = version
        distmeta['__version_info__'] = tuple(version.split('.'))
        break

try:
    with open('readme.md') as readme:
        long_description = readme.read()
except IOError:
    long_description = 'See ' + distmeta['__homepage__']

setup(
    name='description-extractor',
    cmdclass=custom_cmdclass,
    ext_modules=[Extension('_extractor', ['extractor/extractor.i',
        'extractor/extractor.cc'], swig_opts=['-c++'])],
    version=distmeta['__version__'],
    description='HGVS variant description extractor',
    long_description=long_description,
    author=distmeta['__author__'],
    author_email=distmeta['__contact__'],
    url=distmeta['__homepage__'],
    license='MIT License',
    platforms=['any'],
    packages=['extractor'],
    classifiers = [
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Science/Research',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: C++',
        'Topic :: Scientific/Engineering',
    ],
    keywords='bioinformatics'
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages # pylint: disable=no-name-in-module,import-error
import os

def dependencies(file):
    with open(file) as f:
        return f.read().splitlines()

setup(
    name='halo',
    packages=find_packages(exclude=('tests', 'examples')),
    version='0.0.6',
    license='MIT',
    description='Beautiful terminal spinners in Python',
    long_description='Beautiful terminal spinners in Python. Find the documentation here: https://github.com/ManrajGrover/halo',
    author='Manraj Singh',
    author_email='manrajsinghgrover@gmail.com',
    url='https://github.com/ManrajGrover/halo',
    keywords=[
        "console",
        "loading",
        "indicator",
        "progress",
        "cli",
        "spinner",
        "spinners",
        "terminal",
        "term",
        "busy",
        "wait",
        "idle"
    ],
    install_requires=dependencies('requirements.txt'),
    tests_require=dependencies('requirements-dev.txt'),
    include_package_data=True
)
<commit_msg>Version: 0.0.7 released (#24)<commit_after>from setuptools import setup, find_packages # pylint: disable=no-name-in-module,import-error
import os

def dependencies(file):
    with open(file) as f:
        return f.read().splitlines()

setup(
    name='halo',
    packages=find_packages(exclude=('tests', 'examples')),
    version='0.0.7',
    license='MIT',
    description='Beautiful terminal spinners in Python',
    long_description='Beautiful terminal spinners in Python. Find the documentation here: https://github.com/ManrajGrover/halo',
    author='Manraj Singh',
    author_email='manrajsinghgrover@gmail.com',
    url='https://github.com/ManrajGrover/halo',
    keywords=[
        "console",
        "loading",
        "indicator",
        "progress",
        "cli",
        "spinner",
        "spinners",
        "terminal",
        "term",
        "busy",
        "wait",
        "idle"
    ],
    install_requires=dependencies('requirements.txt'),
    tests_require=dependencies('requirements-dev.txt'),
    include_package_data=True
)
<|endoftext|>