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

setup(
    name='blanc-basic-assets',
    version='0.3',
    description='Blanc Basic Assets for Django',
    long_description=open('README.rst').read(),
    url='https://github.com/blancltd/blanc-basic-assets',
    maintainer='Blanc Ltd',
    maintainer_email='studio@blanc.ltd.uk',
    platforms=['any'],
    packages=find_packages(exclude=['tests']),
    classifiers=[
        'Environment :: Web Environment',
        'Framework :: Django',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
    ],
    license='BSD',
)
<commit_msg>Version 0.3.1<commit_after>#!/usr/bin/env python
from setuptools import find_packages, setup

setup(
    name='blanc-basic-assets',
    version='0.3.1',
    description='Blanc Basic Assets for Django',
    long_description=open('README.rst').read(),
    url='https://github.com/blancltd/blanc-basic-assets',
    maintainer='Blanc Ltd',
    maintainer_email='studio@blanc.ltd.uk',
    platforms=['any'],
    packages=find_packages(exclude=['tests']),
    classifiers=[
        'Environment :: Web Environment',
        'Framework :: Django',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
    ],
    license='BSD',
)
<|endoftext|>


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

from setuptools import setup, find_packages

setup (
    name='bpcommons',
    version='0.1',
    description='Common utilities for Django',
    author='K.K. BeProud',
    author_email='ianmlewis@beproud.jp',
    url='https://project.beproud.jp/hg/bpcommons/',
    classifiers=[
      'Development Status :: 3 - Alpha',
      'Environment :: Plugins',
      'Framework :: Django',
      'Intended Audience :: Developers',
      'License :: OSI Approved :: BSD License',
      'Programming Language :: Python',
      'Topic :: Software Development :: Libraries :: Python Modules',
    ],
    packages=find_packages(),
)
<commit_msg>setuptoolsのパッケージリストを更新<commit_after>#!/usr/bin/env python
#:coding=utf-8:

from setuptools import setup, find_packages

setup (
    name='bpcommons',
    version='0.1',
    description='Common utilities for Django',
    author='K.K. BeProud',
    author_email='ianmlewis@beproud.jp',
    url='https://project.beproud.jp/hg/bpcommons/',
    classifiers=[
      'Development Status :: 3 - Alpha',
      'Environment :: Plugins',
      'Framework :: Django',
      'Intended Audience :: Developers',
      'License :: OSI Approved :: BSD License',
      'Programming Language :: Python',
      'Topic :: Software Development :: Libraries :: Python Modules',
    ],
    packages=["commons"],
)
<|endoftext|>


<commit_before># encoding: utf-8

from setuptools import setup, find_packages

import codecs
import os
import re

try:
    # Workaround for https://bugs.python.org/issue15881#msg170215
    # See: https://groups.google.com/forum/#!topic/nose-users/fnJ-kAUbYHQ
    # If this can be removed and the tests pass on Python 2.6, hooray!
    import multiprocessing
except ImportError:
    pass
else:
    del multiprocessing

def find_version(*file_paths):
    # Open in Latin-1 so that we avoid encoding errors.
    # Use codecs.open for Python 2 compatibility
    here = os.path.abspath(os.path.dirname(__file__))

    with codecs.open(os.path.join(here, *file_paths), 'r', 'latin1') as f:
        version_file = f.read()

    # The version line must have the form
    # __version__ = 'ver'
    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.")

VERSION = find_version('utcdatetime', '__init__.py')

def get_install_requires():
    # This is a good place to do conditional requirements, for example
    # on Python 2.6 there's no OrderedDict class, so we could detect that
    # and add the `ordereddict` dependency.
    dependencies = []
    return dependencies

setup(
    name='utcdatetime',
    packages=find_packages(),
    version=VERSION,
    description='Simple UTC datetimes using RFC3339 subset of ISO8601.',
    author='Paul M Furley',
    author_email='paul@paulfurley.com',
    url='https://github.com/paulfurley/utcdatetime',
    download_url=('https://github.com/paulfurley/utcdatetime/tarball/{0}'
                  .format(VERSION)),
    install_requires=get_install_requires(),
    test_suite='nose.collector',
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Environment :: Console',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Operating System :: MacOS :: MacOS X',
        'Operating System :: POSIX :: Linux',
        '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.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: Implementation :: CPython',
        'Programming Language :: Python :: Implementation :: PyPy',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ],
)
<commit_msg>Fix GitHub URL links<commit_after># encoding: utf-8

from setuptools import setup, find_packages

import codecs
import os
import re

try:
    # Workaround for https://bugs.python.org/issue15881#msg170215
    # See: https://groups.google.com/forum/#!topic/nose-users/fnJ-kAUbYHQ
    # If this can be removed and the tests pass on Python 2.6, hooray!
    import multiprocessing
except ImportError:
    pass
else:
    del multiprocessing

def find_version(*file_paths):
    # Open in Latin-1 so that we avoid encoding errors.
    # Use codecs.open for Python 2 compatibility
    here = os.path.abspath(os.path.dirname(__file__))

    with codecs.open(os.path.join(here, *file_paths), 'r', 'latin1') as f:
        version_file = f.read()

    # The version line must have the form
    # __version__ = 'ver'
    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.")

VERSION = find_version('utcdatetime', '__init__.py')

def get_install_requires():
    # This is a good place to do conditional requirements, for example
    # on Python 2.6 there's no OrderedDict class, so we could detect that
    # and add the `ordereddict` dependency.
    dependencies = []
    return dependencies

setup(
    name='utcdatetime',
    packages=find_packages(),
    version=VERSION,
    description='Simple UTC datetimes using RFC3339 subset of ISO8601.',
    author='Paul M Furley',
    author_email='paul@paulfurley.com',
    url='https://github.com/paulfurley/python-utcdatetime',
    download_url=('https://github.com/paulfurley/python-utcdatetime/tarball/{0}'
                  .format(VERSION)),
    install_requires=get_install_requires(),
    test_suite='nose.collector',
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Environment :: Console',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Operating System :: MacOS :: MacOS X',
        'Operating System :: POSIX :: Linux',
        '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.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: Implementation :: CPython',
        'Programming Language :: Python :: Implementation :: PyPy',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ],
)
<|endoftext|>


<commit_before>from distutils.core import setup

setup(
    name='pyhatchbuck',
    version='0.1dev',
    description='Python library for Hatchbuck API',
    url='https://github.com/jakesen/pyhatchbuck',
    author='Jacob Senecal',
    author_email='jacob.senecal@gmail.com',
    license='MIT',
    packages=['pyhatchbuck',],
    install_requires=['requests',],
)
<commit_msg>Fix package name in setup<commit_after>from distutils.core import setup

setup(
    name='pyhatchbuck',
    version='0.1dev',
    description='Python library for Hatchbuck API',
    url='https://github.com/jakesen/pyhatchbuck',
    author='Jacob Senecal',
    author_email='jacob.senecal@gmail.com',
    license='MIT',
    packages=['hatchbuck',],
    install_requires=['requests',],
)
<|endoftext|>


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

# Python setup script
# http://docs.python.org/2/distutils/setupscript.html

from setuptools import setup

long_description = """
Similar to the Nest thermostat, Roost adapts to your habits and figures out an optimal schedule for heat, A/C, and humidity controls.

Unlike the Nest, Roost is built around open standards and easy data access. It provides an API for data access and control and can be assembled from open-source software and hardware.
"""

import sys

try:
    import twisted
except ImportError:
    raise SystemExit("twisted not found.  Make sure you "
                     "have installed the Twisted core package.")
def refresh_plugin_cache():
    from twisted.plugin import IPlugin, getPlugins
    list(getPlugins(IPlugin))

setup(name='Roost',
      version='0.1',
      description='Open-Source Adaptive Thermostat and Home Automation',
      long_description=long_description,
      author='Ben Rady',
      author_email='benrady@gmail.com',
      packages=["roost", "web", 'twisted.plugins'],
      install_requires=['txXBee>=0.0.4', 'twisted>=12.0.0'],
      url='http://github.com/benrady/roost',
      package_data={
          'twisted': ['plugins/twist_plugin.py'],
          'web': ['public/**/**/**']
      },
      data_files=[
        ('/etc/init.d', ['deb/init.d/roost']),
        ('/etc/roost', ['deb/roost.conf'])
      ])

refresh_plugin_cache()
<commit_msg>Adding service package to setup.py<commit_after>#!/usr/bin/env python

# Python setup script
# http://docs.python.org/2/distutils/setupscript.html

from setuptools import setup

long_description = """
Similar to the Nest thermostat, Roost adapts to your habits and figures out an optimal schedule for heat, A/C, and humidity controls.

Unlike the Nest, Roost is built around open standards and easy data access. It provides an API for data access and control and can be assembled from open-source software and hardware.
"""

import sys

try:
    import twisted
except ImportError:
    raise SystemExit("twisted not found.  Make sure you "
                     "have installed the Twisted core package.")
def refresh_plugin_cache():
    from twisted.plugin import IPlugin, getPlugins
    list(getPlugins(IPlugin))

setup(name='Roost',
      version='0.1',
      description='Open-Source Adaptive Thermostat and Home Automation',
      long_description=long_description,
      author='Ben Rady',
      author_email='benrady@gmail.com',
      packages=['roost', 'roost.services', 'web', 'twisted.plugins'],
      install_requires=['txXBee>=0.0.4', 'twisted>=12.0.0'],
      url='http://github.com/benrady/roost',
      package_data={
          'twisted': ['plugins/twist_plugin.py'],
          'web': ['public/**/**/**']
      },
      data_files=[
        ('/etc/init.d', ['deb/init.d/roost']),
        ('/etc/roost', ['deb/roost.conf'])
      ])

refresh_plugin_cache()
<|endoftext|>


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

import imp
import os
import subprocess

try:
    from setuptools import find_packages, setup
except AttributeError:
    from setuptools import find_packages, setup

NAME = 'wofrysrw'

VERSION = '1.0.23'
ISRELEASED = False

DESCRIPTION = 'WOFRY (Wave Optics FRamework in pYthon) for SRW library'
README_FILE = os.path.join(os.path.dirname(__file__), 'README.txt')
LONG_DESCRIPTION = open(README_FILE).read()
AUTHOR = 'Manuel Sanchez del Rio, Luca Rebuffi'
AUTHOR_EMAIL = 'luca.rebuffi@elettra.eu'
URL = 'https://github.com/lucarebuffi/wofrysrw'
DOWNLOAD_URL = 'https://github.com/lucarebuffi/wofrysrw'
MAINTAINER = 'Luca Rebuffi'
MAINTAINER_EMAIL = 'luca.rebuffi@elettra.eu'
LICENSE = 'GPLv3'

KEYWORDS = (
    'dictionary',
    'glossary',
    'synchrotron'
    'simulation',
)

CLASSIFIERS = (
    'Development Status :: 1 - Planning',
    'Environment :: Console',
    'Environment :: Plugins',
    'Programming Language :: Python :: 3',
    'License :: OSI Approved :: '
    'GNU General Public License v3 or later (GPLv3+)',
    'Operating System :: POSIX',
    'Operating System :: Microsoft :: Windows',
    'Topic :: Scientific/Engineering :: Visualization',
    'Topic :: Software Development :: Libraries :: Python Modules',
    'Intended Audience :: Education',
    'Intended Audience :: Science/Research',
    'Intended Audience :: Developers',
)

INSTALL_REQUIRES = (
    'setuptools',
    'numpy',
    'scipy',
    'syned>=1.0.8',
    'wofry>=1.0.14',
    'oasys1-srwlib>=1.0.8'
)

SETUP_REQUIRES = (
    'setuptools',
)

# Return the git revision as a string
def git_version():
    """Return the git revision as a string.

    Copied from numpy setup.py
    """
    def _minimal_ext_cmd(cmd):
        # construct minimal environment
        env = {}
        for k in ['SYSTEMROOT', 'PATH']:
            v = os.environ.get(k)
            if v is not None:
                env[k] = v
        # LANGUAGE is used on win32
        env['LANGUAGE'] = 'C'
        env['LANG'] = 'C'
        env['LC_ALL'] = 'C'
        out = subprocess.Popen(cmd, stdout=subprocess.PIPE, env=env).communicate()[0]
        return out

    try:
        out = _minimal_ext_cmd(['git', 'rev-parse', 'HEAD'])
        GIT_REVISION = out.strip().decode('ascii')
    except OSError:
        GIT_REVISION = "Unknown"

    return GIT_REVISION

def write_version_py(filename='wofrysrw/version.py'):
    # Copied from numpy setup.py
    cnt = """
# THIS FILE IS GENERATED FROM wofrysrw SETUP.PY
short_version = '%(version)s'
version = '%(version)s'
full_version = '%(full_version)s'
git_revision = '%(git_revision)s'
release = %(isrelease)s

if not release:
    version = full_version
    short_version += ".dev"
"""
    FULLVERSION = VERSION
    if os.path.exists('.git'):
        GIT_REVISION = git_version()
    elif os.path.exists('wofrysrw/version.py'):
        # must be a source distribution, use existing version file
        version = imp.load_source("wofrysrw.version", "wofrysrw/version.py")
        GIT_REVISION = version.git_revision
    else:
        GIT_REVISION = "Unknown"

    if not ISRELEASED:
        FULLVERSION += '.dev0+' + GIT_REVISION[:7]

    a = open(filename, 'w')
    try:
        a.write(cnt % {'version': VERSION,
                       'full_version': FULLVERSION,
                       'git_revision': GIT_REVISION,
                       'isrelease': str(ISRELEASED)})
    finally:
        a.close()

PACKAGES = [
    "wofrysrw",
]

PACKAGE_DATA = {
}

def setup_package():
    write_version_py()
    setup(
        name=NAME,
        version=VERSION,
        description=DESCRIPTION,
        long_description=LONG_DESCRIPTION,
        author=AUTHOR,
        author_email=AUTHOR_EMAIL,
        maintainer=MAINTAINER,
        maintainer_email=MAINTAINER_EMAIL,
        url=URL,
        download_url=DOWNLOAD_URL,
        license=LICENSE,
        keywords=KEYWORDS,
        classifiers=CLASSIFIERS,
        packages=PACKAGES,
        package_data=PACKAGE_DATA,
        # extra setuptools args
        zip_safe=False,  # the package can run out of an .egg file
        include_package_data=True,
        install_requires=INSTALL_REQUIRES,
        setup_requires=SETUP_REQUIRES,
    )

if __name__ == '__main__':
    setup_package()
<commit_msg>Bug Fixing<commit_after>#! /usr/bin/env python3

import imp
import os
import subprocess

try:
    from setuptools import find_packages, setup
except AttributeError:
    from setuptools import find_packages, setup

NAME = 'wofrysrw'

VERSION = '1.0.24'
ISRELEASED = False

DESCRIPTION = 'WOFRY (Wave Optics FRamework in pYthon) for SRW library'
README_FILE = os.path.join(os.path.dirname(__file__), 'README.txt')
LONG_DESCRIPTION = open(README_FILE).read()
AUTHOR = 'Manuel Sanchez del Rio, Luca Rebuffi'
AUTHOR_EMAIL = 'luca.rebuffi@elettra.eu'
URL = 'https://github.com/lucarebuffi/wofrysrw'
DOWNLOAD_URL = 'https://github.com/lucarebuffi/wofrysrw'
MAINTAINER = 'Luca Rebuffi'
MAINTAINER_EMAIL = 'luca.rebuffi@elettra.eu'
LICENSE = 'GPLv3'

KEYWORDS = (
    'dictionary',
    'glossary',
    'synchrotron'
    'simulation',
)

CLASSIFIERS = (
    'Development Status :: 1 - Planning',
    'Environment :: Console',
    'Environment :: Plugins',
    'Programming Language :: Python :: 3',
    'License :: OSI Approved :: '
    'GNU General Public License v3 or later (GPLv3+)',
    'Operating System :: POSIX',
    'Operating System :: Microsoft :: Windows',
    'Topic :: Scientific/Engineering :: Visualization',
    'Topic :: Software Development :: Libraries :: Python Modules',
    'Intended Audience :: Education',
    'Intended Audience :: Science/Research',
    'Intended Audience :: Developers',
)

INSTALL_REQUIRES = (
    'setuptools',
    'numpy',
    'scipy',
    'syned>=1.0.8',
    'wofry>=1.0.14',
    'oasys1-srwlib>=1.0.8'
)

SETUP_REQUIRES = (
    'setuptools',
)

# Return the git revision as a string
def git_version():
    """Return the git revision as a string.

    Copied from numpy setup.py
    """
    def _minimal_ext_cmd(cmd):
        # construct minimal environment
        env = {}
        for k in ['SYSTEMROOT', 'PATH']:
            v = os.environ.get(k)
            if v is not None:
                env[k] = v
        # LANGUAGE is used on win32
        env['LANGUAGE'] = 'C'
        env['LANG'] = 'C'
        env['LC_ALL'] = 'C'
        out = subprocess.Popen(cmd, stdout=subprocess.PIPE, env=env).communicate()[0]
        return out

    try:
        out = _minimal_ext_cmd(['git', 'rev-parse', 'HEAD'])
        GIT_REVISION = out.strip().decode('ascii')
    except OSError:
        GIT_REVISION = "Unknown"

    return GIT_REVISION

def write_version_py(filename='wofrysrw/version.py'):
    # Copied from numpy setup.py
    cnt = """
# THIS FILE IS GENERATED FROM wofrysrw SETUP.PY
short_version = '%(version)s'
version = '%(version)s'
full_version = '%(full_version)s'
git_revision = '%(git_revision)s'
release = %(isrelease)s

if not release:
    version = full_version
    short_version += ".dev"
"""
    FULLVERSION = VERSION
    if os.path.exists('.git'):
        GIT_REVISION = git_version()
    elif os.path.exists('wofrysrw/version.py'):
        # must be a source distribution, use existing version file
        version = imp.load_source("wofrysrw.version", "wofrysrw/version.py")
        GIT_REVISION = version.git_revision
    else:
        GIT_REVISION = "Unknown"

    if not ISRELEASED:
        FULLVERSION += '.dev0+' + GIT_REVISION[:7]

    a = open(filename, 'w')
    try:
        a.write(cnt % {'version': VERSION,
                       'full_version': FULLVERSION,
                       'git_revision': GIT_REVISION,
                       'isrelease': str(ISRELEASED)})
    finally:
        a.close()

PACKAGES = [
    "wofrysrw",
]

PACKAGE_DATA = {
}

def setup_package():
    write_version_py()
    setup(
        name=NAME,
        version=VERSION,
        description=DESCRIPTION,
        long_description=LONG_DESCRIPTION,
        author=AUTHOR,
        author_email=AUTHOR_EMAIL,
        maintainer=MAINTAINER,
        maintainer_email=MAINTAINER_EMAIL,
        url=URL,
        download_url=DOWNLOAD_URL,
        license=LICENSE,
        keywords=KEYWORDS,
        classifiers=CLASSIFIERS,
        packages=PACKAGES,
        package_data=PACKAGE_DATA,
        # extra setuptools args
        zip_safe=False,  # the package can run out of an .egg file
        include_package_data=True,
        install_requires=INSTALL_REQUIRES,
        setup_requires=SETUP_REQUIRES,
    )

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


<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2006-2008 Edgewall Software
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at http://genshi.edgewall.org/wiki/License.
#
# This software consists of voluntary contributions made by many
# individuals. For the exact contribution history, see the revision
# history and logs, available at http://genshi.edgewall.org/log/.

from distutils.cmd import Command
from distutils.command.build_ext import build_ext
from distutils.errors import CCompilerError, DistutilsPlatformError
import doctest
from glob import glob
import os
try:
    from setuptools import setup, Extension, Feature
except ImportError:
    from distutils.core import setup, Extension
    Feature = None
import sys

sys.path.append(os.path.join('doc', 'common'))
try:
    from doctools import build_doc, test_doc
except ImportError:
    build_doc = test_doc = None

class optional_build_ext(build_ext):
    # This class allows C extension building to fail.
    def run(self):
        try:
            build_ext.run(self)
        except DistutilsPlatformError:
            self._unavailable()

    def build_extension(self, ext):
        try:
            build_ext.build_extension(self, ext)
        except CCompilerError, x:
            self._unavailable()

    def _unavailable(self):
        print '*' * 70
        print """WARNING:
An optional C extension could not be compiled, speedups will not be
available."""
        print '*' * 70

if Feature:
    speedups = Feature(
        "optionial C speed-enhancements",
        standard = True,
        ext_modules = [
            Extension('genshi._speedups', ['genshi/_speedups.c']),
        ],
    )
else:
    speedups = None

setup(
    name = 'Genshi',
    version = '0.6',
    description = 'A toolkit for generation of output for the web',
    long_description = \
"""Genshi is a Python library that provides an integrated set of
components for parsing, generating, and processing HTML, XML or
other textual content for output generation on the web. The major
feature is a template language, which is heavily inspired by Kid.""",
    author = 'Edgewall Software',
    author_email = 'info@edgewall.org',
    license = 'BSD',
    url = 'http://genshi.edgewall.org/',
    download_url = 'http://genshi.edgewall.org/wiki/Download',
    zip_safe = True,

    classifiers = [
        'Development Status :: 4 - Beta',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Topic :: Text Processing :: Markup :: HTML',
        'Topic :: Text Processing :: Markup :: XML'
    ],
    keywords = ['python.templating.engines'],
    packages = ['genshi', 'genshi.filters', 'genshi.template'],
    test_suite = 'genshi.tests.suite',

    extras_require = {
        'i18n': ['Babel>=0.8'],
        'plugin': ['setuptools>=0.6a2']
    },
    entry_points = """
    [babel.extractors]
    genshi = genshi.filters.i18n:extract[i18n]

    [python.templating.engines]
    genshi = genshi.template.plugin:MarkupTemplateEnginePlugin[plugin]
    genshi-markup = genshi.template.plugin:MarkupTemplateEnginePlugin[plugin]
    genshi-text = genshi.template.plugin:TextTemplateEnginePlugin[plugin]
    """,

    features = {'speedups': speedups},
    cmdclass = {'build_doc': build_doc, 'test_doc': test_doc,
                'build_ext': optional_build_ext}
)
<commit_msg>Set zip_safe to False if the c speedup module is successfully built. Closes #252.<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2006-2008 Edgewall Software
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at http://genshi.edgewall.org/wiki/License.
#
# This software consists of voluntary contributions made by many
# individuals. For the exact contribution history, see the revision
# history and logs, available at http://genshi.edgewall.org/log/.

from distutils.cmd import Command
from distutils.command.build_ext import build_ext
from distutils.errors import CCompilerError, DistutilsPlatformError
import doctest
from glob import glob
import os
try:
    from setuptools import setup, Extension, Feature
    from setuptools.command.bdist_egg import bdist_egg
except ImportError:
    from distutils.core import setup, Extension
    Feature = None
    bdist_egg = None
import sys

sys.path.append(os.path.join('doc', 'common'))
try:
    from doctools import build_doc, test_doc
except ImportError:
    build_doc = test_doc = None

_speedup_available = False

class optional_build_ext(build_ext):
    # This class allows C extension building to fail.
    def run(self):
        try:
            build_ext.run(self)
        except DistutilsPlatformError:
            self._unavailable()

    def build_extension(self, ext):
        try:
            build_ext.build_extension(self, ext)
            global _speedup_available
            _speedup_available = True
        except CCompilerError, x:
            self._unavailable()

    def _unavailable(self):
        print '*' * 70
        print """WARNING:
An optional C extension could not be compiled, speedups will not be
available."""
        print '*' * 70

if Feature:
    speedups = Feature(
        "optionial C speed-enhancements",
        standard = True,
        ext_modules = [
            Extension('genshi._speedups', ['genshi/_speedups.c']),
        ],
    )
else:
    speedups = None

# Setuptools need some help figuring out if the egg is "zip_safe" or not
if bdist_egg:
    class my_bdist_egg(bdist_egg):
        def zip_safe(self):
            return not _speedup_available and bdist_egg.zip_safe(self)

cmdclass = {'build_doc': build_doc, 'test_doc': test_doc,
            'build_ext': optional_build_ext}
if bdist_egg:
    cmdclass['bdist_egg'] = my_bdist_egg

setup(
    name = 'Genshi',
    version = '0.6',
    description = 'A toolkit for generation of output for the web',
    long_description = \
"""Genshi is a Python library that provides an integrated set of
components for parsing, generating, and processing HTML, XML or
other textual content for output generation on the web. The major
feature is a template language, which is heavily inspired by Kid.""",
    author = 'Edgewall Software',
    author_email = 'info@edgewall.org',
    license = 'BSD',
    url = 'http://genshi.edgewall.org/',
    download_url = 'http://genshi.edgewall.org/wiki/Download',

    classifiers = [
        'Development Status :: 4 - Beta',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Topic :: Text Processing :: Markup :: HTML',
        'Topic :: Text Processing :: Markup :: XML'
    ],
    keywords = ['python.templating.engines'],
    packages = ['genshi', 'genshi.filters', 'genshi.template'],
    test_suite = 'genshi.tests.suite',

    extras_require = {
        'i18n': ['Babel>=0.8'],
        'plugin': ['setuptools>=0.6a2']
    },
    entry_points = """
    [babel.extractors]
    genshi = genshi.filters.i18n:extract[i18n]

    [python.templating.engines]
    genshi = genshi.template.plugin:MarkupTemplateEnginePlugin[plugin]
    genshi-markup = genshi.template.plugin:MarkupTemplateEnginePlugin[plugin]
    genshi-text = genshi.template.plugin:TextTemplateEnginePlugin[plugin]
    """,

    features = {'speedups': speedups},
    cmdclass = cmdclass
)
<|endoftext|>


<commit_before>#  Copyright (c) 2015 SONATA-NFV, UBIWHERE
# ALL RIGHTS RESERVED.
#
# 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.
#
# Neither the name of the SONATA-NFV, UBIWHERE
# nor the names of its contributors may be used to endorse or promote
# products derived from this software without specific prior written
# permission.
#
# This work has been performed in the framework of the SONATA project,
# funded by the European Commission under Grant number 671517 through
# the Horizon 2020 and 5G-PPP programmes. The authors would like to
# acknowledge the contributions of their colleagues of the SONATA
# partner consortium (www.sonata-nfv.eu).

from setuptools import setup, find_packages
import codecs
import os.path as path

# buildout build system
# http://www.buildout.org/en/latest/docs/tutorial.html

# setup() documentation:
# http://python-packaging-user-guide.readthedocs.org/en/
# latest/distributing/#setup-py

cwd = path.dirname(__file__)
longdesc = codecs.open(path.join(cwd, 'README.md'), 'r', 'utf-8').read()

name = 'sonata-cli'
setup(
        name=name,
        license='Apache License, Version 2.0',
        version='0.9',
        url='https://github.com/sonata-nfv/son-cli',
        author_email='sonata-dev@sonata-nfv.eu',
        long_description=longdesc,
        package_dir={'': 'src'},
        packages=find_packages('src'),  # dependency resolution
        namespace_packages=['son', ],
        include_package_data=True,
        package_data= {
            'son': ['schema/tests/son-schema/*', 'workspace/samples/*',
                    'monitor/docker_compose_files/*', 'monitor/grafana/*',
                    'monitor/prometheus/*', 'monitor/*.exp',
                    'validate/eventcfg.yml']
        },
        # in jenkins, the last package in the list is installed first
        install_requires=['setuptools', 'pyaml', 'jsonschema', 'validators',
                          'requests>2.4.2', 'coloredlogs<=5.1.1', 'paramiko',
                          'termcolor', 'tabulate', 'networkx', 'PyJWT',
                          'Flask', 'docker==2.0.2', 'scipy', 'numpy',
                          'Crypto', 'watchdog', 'Flask-Cors', 'flask_cache']
        zip_safe=False,
        entry_points={
            'console_scripts': [
                'son-workspace=son.workspace.workspace:main',
                'son-package=son.package.package:main',
                'son-monitor=son.monitor.monitor:main',
                'son-profile=son.profile.profile:main',
                'son-validate=son.validate.validate:main',
                'son-validate-api=son.validate.api.api:main',
                'son-validate-watchdog=son.validate.api.watchdog:main',
                'son-access=son.access.access:main'
            ],
        },
        test_suite='son',
        setup_requires=['pytest-runner'],
        tests_require=['pytest']
    )
<commit_msg>Debug test<commit_after>#  Copyright (c) 2015 SONATA-NFV, UBIWHERE
# ALL RIGHTS RESERVED.
#
# 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.
#
# Neither the name of the SONATA-NFV, UBIWHERE
# nor the names of its contributors may be used to endorse or promote
# products derived from this software without specific prior written
# permission.
#
# This work has been performed in the framework of the SONATA project,
# funded by the European Commission under Grant number 671517 through
# the Horizon 2020 and 5G-PPP programmes. The authors would like to
# acknowledge the contributions of their colleagues of the SONATA
# partner consortium (www.sonata-nfv.eu).

from setuptools import setup, find_packages
import codecs
import os.path as path

# buildout build system
# http://www.buildout.org/en/latest/docs/tutorial.html

# setup() documentation:
# http://python-packaging-user-guide.readthedocs.org/en/
# latest/distributing/#setup-py

cwd = path.dirname(__file__)
longdesc = codecs.open(path.join(cwd, 'README.md'), 'r', 'utf-8').read()

name = 'sonata-cli'
setup(
        name=name,
        license='Apache License, Version 2.0',
        version='0.9',
        url='https://github.com/sonata-nfv/son-cli',
        author_email='sonata-dev@sonata-nfv.eu',
        long_description=longdesc,
        package_dir={'': 'src'},
        packages=find_packages('src'),  # dependency resolution
        namespace_packages=['son', ],
        include_package_data=True,
        package_data= {
            'son': ['schema/tests/son-schema/*', 'workspace/samples/*',
                    'monitor/docker_compose_files/*', 'monitor/grafana/*',
                    'monitor/prometheus/*', 'monitor/*.exp',
                    'validate/eventcfg.yml']
        },
        # in jenkins, the last package in the list is installed first
        install_requires=['setuptools', 'pyaml', 'jsonschema', 'validators',
                          'requests>2.4.2', 'coloredlogs<=5.1.1', 'paramiko',
                          'termcolor', 'tabulate', 'networkx', 'PyJWT',
                          'Flask', 'docker==2.0.2', 'scipy', 'numpy',
                          'watchdog', 'Flask-Cors', 'flask_cache', 'Crypto'],
        zip_safe=False,
        entry_points={
            'console_scripts': [
                'son-workspace=son.workspace.workspace:main',
                'son-package=son.package.package:main',
                'son-monitor=son.monitor.monitor:main',
                'son-profile=son.profile.profile:main',
                'son-validate=son.validate.validate:main',
                'son-validate-api=son.validate.api.api:main',
                'son-validate-watchdog=son.validate.api.watchdog:main',
                'son-access=son.access.access:main'
            ],
        },
        test_suite='son',
        setup_requires=['pytest-runner'],
        tests_require=['pytest']
    )
<|endoftext|>


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

from setuptools import setup, find_packages
import re

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

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

def relative2absolute(input, old, new):
    """ Replaces every instance of rel_key in input with absolute_stem.
    Use this to change relative links to absolute links in pypi.
    """
    pattern = old
    p = re.compile(pattern)
    output = p.sub(new, input)
    return output

relative = r'_static'
stem = r'https://raw.githubusercontent.com/mroberge/hydrofunctions/master/_static'
readme = relative2absolute(readme, relative, stem)

requirements = [
    'matplotlib',
    'numpy',
    'pandas',
    'requests',
    'IPython',
    'pyarrow==0.16.0',
    'ipykernel',
    'nbsphinx',
]

test_requirements = [
    # Use coverage to run coverage tests locally.
    # Do not list codecov here. It is only listed in .travis.yml because
    # we only run codecov during Travis CI builds.
    'coverage'
]

setup(
    name='hydrofunctions',
    version='0.1.7',
    description="A suite of convenience functions for exploring water data in a Jupyter Notebook.",
    long_description=readme + '\n\n' + history,
    author="Martin Roberge",
    author_email='mroberge.whois@gmail.com',
    url='https://github.com/mroberge/hydrofunctions',
    packages=find_packages(),
    package_dir={'hydrofunctions':
                 'hydrofunctions'},
    include_package_data=True,
    install_requires=requirements,
    license="MIT license",
    zip_safe=False,
    keywords='hydrofunctions hydrology USGS stream gauge water NWIS',
    project_urls={
            'Documentation': 'https://hydrofunctions.readthedocs.io',
            'Source': 'https://github.com/mroberge/hydrofunctions',
            'Latest': 'https://github.com/mroberge/hydrofunctions/tree/develop',
            'Tracker': 'https://github.com/mroberge/hydrofunctions/issues'
            },
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Topic :: Scientific/Engineering :: Information Analysis',
        'Topic :: Scientific/Engineering :: Visualization',
        'Topic :: Utilities'
    ],
    test_suite='tests',
    tests_require=test_requirements
)
<commit_msg>require numpy 1.15.4<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages
import re

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

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

def relative2absolute(input, old, new):
    """ Replaces every instance of rel_key in input with absolute_stem.
    Use this to change relative links to absolute links in pypi.
    """
    pattern = old
    p = re.compile(pattern)
    output = p.sub(new, input)
    return output

relative = r'_static'
stem = r'https://raw.githubusercontent.com/mroberge/hydrofunctions/master/_static'
readme = relative2absolute(readme, relative, stem)

requirements = [
    'matplotlib',
    'numpy==1.15.4',
    'pandas',
    'requests',
    'IPython',
    'pyarrow==0.16.0',
    'ipykernel',
    'nbsphinx',
]

test_requirements = [
    # Use coverage to run coverage tests locally.
    # Do not list codecov here. It is only listed in .travis.yml because
    # we only run codecov during Travis CI builds.
    'coverage'
]

setup(
    name='hydrofunctions',
    version='0.1.7',
    description="A suite of convenience functions for exploring water data in a Jupyter Notebook.",
    long_description=readme + '\n\n' + history,
    author="Martin Roberge",
    author_email='mroberge.whois@gmail.com',
    url='https://github.com/mroberge/hydrofunctions',
    packages=find_packages(),
    package_dir={'hydrofunctions':
                 'hydrofunctions'},
    include_package_data=True,
    install_requires=requirements,
    license="MIT license",
    zip_safe=False,
    keywords='hydrofunctions hydrology USGS stream gauge water NWIS',
    project_urls={
            'Documentation': 'https://hydrofunctions.readthedocs.io',
            'Source': 'https://github.com/mroberge/hydrofunctions',
            'Latest': 'https://github.com/mroberge/hydrofunctions/tree/develop',
            'Tracker': 'https://github.com/mroberge/hydrofunctions/issues'
            },
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Topic :: Scientific/Engineering :: Information Analysis',
        'Topic :: Scientific/Engineering :: Visualization',
        'Topic :: Utilities'
    ],
    test_suite='tests',
    tests_require=test_requirements
)
<|endoftext|>


<commit_before>#!/usr/bin/env python3
#   setup.py

from setuptools import find_packages, setup

setup(name='timeflies',
      packages=find_packages(),
      entry_points={
          'console_scripts': [
              'timeflies = timeflies.cli:main',
          ],
      })
<commit_msg>Brining up to consistence with Flask8.<commit_after>#!/usr/bin/env python3
#   setup.py

from setuptools import find_packages, setup

setup(name='timeflies',
      packages=find_packages(),
      entry_points={
          'console_scripts': [
              'timeflies = timeflies.bot:main',
          ],
      })
<|endoftext|>


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

from distutils.core import setup

setup(
    name='xmpp2',
    version='0.1',
    description='An XMPP client',
    long_description='An XMPP client',
    author='Alex Lee',
    author_email='xmpp2@thirdbeat.com',
    url='http://xmpp2.thirdbeat.com',
    packages=['xmpp2', 'xmpp2.handler']
)
<commit_msg>Version bump to 0.2.<commit_after>#!/usr/bin/env python

from distutils.core import setup

setup(
    name='xmpp2',
    version='0.2',
    description='An XMPP client',
    long_description='An XMPP client',
    author='Alex Lee',
    author_email='xmpp2@thirdbeat.com',
    url='http://xmpp2.thirdbeat.com',
    packages=['xmpp2', 'xmpp2.handler']
)
<|endoftext|>


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

from setuptools import setup, find_packages

readme = open('README.md').read()
history = open('CHANGELOG.md').read()

setup(
    author='Oscar Cortez',
    author_email='om.cortez.2010@gmail.com',
    name='dj-places',
    version='5.0.0',
    install_requires=['Django>=3.0'],
    python_requires='>=3',
    keywords='django geocomplete google maps places',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Intended Audience :: Developers',
        'Framework :: Django',
        'Natural Language :: English',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
    ],
    description='A django app for store places using Google Maps API',
    license='MIT',
    long_description=readme + '\n\n' + history,
    long_description_content_type='text/markdown',
    url='https://github.com/oscarmcm/django-places',
    include_package_data=True,
    packages=find_packages(),
    package_data={
        'places': [
            'locale/*/LC_MESSAGES/*',
            'templates/places/widgets/*.html',
            'static/places/*',
        ],
    },
    project_urls={
        'Funding': 'https://donate.pypi.org',
        'Say Thanks!': 'http://saythanks.io/to/oscarmcm',
        'Source': 'https://github.com/oscarmcm/django-places/',
        'Tracker': 'https://github.com/oscarmcm/django-places/issues',
    },
    zip_safe=False,
)
<commit_msg>Update setup.py Python version to match required version by Django - Fixes #37<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages

readme = open('README.md').read()
history = open('CHANGELOG.md').read()

setup(
    author='Oscar Cortez',
    author_email='om.cortez.2010@gmail.com',
    name='dj-places',
    version='5.0.0',
    install_requires=['Django>=3.0'],
    python_requires='>=3.6',
    keywords='django geocomplete google maps places',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Intended Audience :: Developers',
        'Framework :: Django',
        'Natural Language :: English',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
    ],
    description='A django app for store places using Google Maps API',
    license='MIT',
    long_description=readme + '\n\n' + history,
    long_description_content_type='text/markdown',
    url='https://github.com/oscarmcm/django-places',
    include_package_data=True,
    packages=find_packages(),
    package_data={
        'places': [
            'locale/*/LC_MESSAGES/*',
            'templates/places/widgets/*.html',
            'static/places/*',
        ],
    },
    project_urls={
        'Funding': 'https://donate.pypi.org',
        'Say Thanks!': 'http://saythanks.io/to/oscarmcm',
        'Source': 'https://github.com/oscarmcm/django-places/',
        'Tracker': 'https://github.com/oscarmcm/django-places/issues',
    },
    zip_safe=False,
)
<|endoftext|>


<commit_before>import os
from setuptools import setup
from distutils.core import Command

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

# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))

class TestCommand(Command):
    user_options = []

    def initialize_options(self):
        pass

    def finalize_options(self):
        pass

    def run(self):
        from django.conf import settings
        settings.configure(
            DATABASES={
                'default': {
                    'NAME': ':memory:',
                    'ENGINE': 'django.db.backends.sqlite3'
                }
            },
            INSTALLED_APPS=('irs',)
        )
        from django.core.management import call_command
        from django.conf import settings
        import django
        if django.VERSION[:2] >= (1, 7):
            django.setup()
            settings.BASE_DIR = os.path.dirname(__file__)
        call_command('test', 'irs')

setup(
    name='django-irs-filings',
    version='0.1.1',
    packages=['irs'],
    include_package_data=True,
    license='MIT',
    description='A Django app to download IRS 527 filings and \
    load them into a database',
    long_description=README,
    url='https://github.com/sahilchinoy/django-irs',
    author='Sahil Chinoy',
    author_email='sahil.chinoy@gmail.com',
    classifiers=[
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
    ],
    install_requires = [
        'probablepeople>=0.3.1',
        'requests>=2.7.0',
    ],
    cmdclass = {
        'test': TestCommand
    },
)<commit_msg>Python 3 support!<commit_after>import os
from setuptools import setup
from distutils.core import Command

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

# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))

class TestCommand(Command):
    user_options = []

    def initialize_options(self):
        pass

    def finalize_options(self):
        pass

    def run(self):
        from django.conf import settings
        settings.configure(
            DATABASES={
                'default': {
                    'NAME': ':memory:',
                    'ENGINE': 'django.db.backends.sqlite3'
                }
            },
            INSTALLED_APPS=('irs',)
        )
        from django.core.management import call_command
        from django.conf import settings
        import django
        if django.VERSION[:2] >= (1, 7):
            django.setup()
            settings.BASE_DIR = os.path.dirname(__file__)
        call_command('test', 'irs')

setup(
    name='django-irs-filings',
    version='0.1.1',
    packages=['irs'],
    include_package_data=True,
    license='MIT',
    description='A Django app to download IRS 527 filings and \
    load them into a database',
    long_description=README,
    url='https://github.com/sahilchinoy/django-irs',
    author='Sahil Chinoy',
    author_email='sahil.chinoy@gmail.com',
    classifiers=[
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
    ],
    install_requires = [
        'probablepeople>=0.3.1',
        'requests>=2.7.0',
    ],
    cmdclass = {
        'test': TestCommand
    },
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

setup(
    name = 'PyPokerEngine',
    version = '0.1.0',
    author = 'ishikota',
    author_email = 'ishikota086@gmail.com',
    description = 'Poker engine for poker AI development in Python ',
    license = 'MIT',
    keywords = 'python poker emgine ai',
    url = 'https://github.com/ishikota/PyPokerEngine',
    packages = [pkg for pkg in find_packages() if pkg != "tests"],
    classifiers=[
        "Development Status :: 4 - Beta",
        "License :: OSI Approved :: MIT License",
    ],
    )

<commit_msg>Bump up version to 0.1.1<commit_after>from setuptools import setup, find_packages

setup(
    name = 'PyPokerEngine',
    version = '0.1.1',
    author = 'ishikota',
    author_email = 'ishikota086@gmail.com',
    description = 'Poker engine for poker AI development in Python ',
    license = 'MIT',
    keywords = 'python poker emgine ai',
    url = 'https://github.com/ishikota/PyPokerEngine',
    packages = [pkg for pkg in find_packages() if pkg != "tests"],
    classifiers=[
        "Development Status :: 4 - Beta",
        "License :: OSI Approved :: MIT License",
    ],
    )

<|endoftext|>


<commit_before>from distutils.core import setup
setup(
  name = 'rest_framework_auth0',
  packages = ['rest_framework_auth0'],
  version = '0.1.7',
  description = 'Django Rest Framework Library to use Auth0 authentication',
  author = 'Marcelo Cueto',
  author_email = 'yo@marcelocueto.cl',
  url = 'https://github.com/mcueto/djangorestframework-auth0',
  download_url = 'https://github.com/mcueto/djangorestframework-auth0/tarball/0.1.5',
  keywords = ['auth0', 'rest framework', 'django'],
  classifiers=[
      'Environment :: Web Environment',
      'Framework :: Django',
      'Intended Audience :: Developers',
      'License :: OSI Approved :: MIT License',
      'Operating System :: OS Independent',
      'Programming Language :: Python',
      'Programming Language :: Python :: 3',
      'Programming Language :: Python :: 3.4',
      'Programming Language :: Python :: 3.5',
      'Topic :: Internet :: WWW/HTTP',
  ],
  install_requires = [
      'djangorestframework>=1.9.0',
      'djangorestframework-jwt>=1.7.2',
      'django-filter',
  ],
)
<commit_msg>Added django as requirement<commit_after>from distutils.core import setup
setup(
  name = 'rest_framework_auth0',
  packages = ['rest_framework_auth0'],
  version = '0.1.8',
  description = 'Django Rest Framework Library to use Auth0 authentication',
  author = 'Marcelo Cueto',
  author_email = 'yo@marcelocueto.cl',
  url = 'https://github.com/mcueto/djangorestframework-auth0',
  download_url = 'https://github.com/mcueto/djangorestframework-auth0/tarball/0.1.8',
  keywords = ['auth0', 'rest framework', 'django'],
  classifiers=[
      'Environment :: Web Environment',
      'Framework :: Django',
      'Intended Audience :: Developers',
      'License :: OSI Approved :: MIT License',
      'Operating System :: OS Independent',
      'Programming Language :: Python',
      'Programming Language :: Python :: 3',
      'Programming Language :: Python :: 3.4',
      'Programming Language :: Python :: 3.5',
      'Topic :: Internet :: WWW/HTTP',
  ],
  install_requires = [
      'django>=1.10.0',
      'djangorestframework>=1.9.0',
      'djangorestframework-jwt>=1.7.2',
      'django-filter',
  ],
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

setup(
    name='incuna-test-utils',
    packages=find_packages(),
    include_package_data=True,
    version='3.0.0',
    description='',
    long_description=open('README.rst').read(),
    author='Incuna',
    author_email='admin@incuna.com',
    url='https://github.com/incuna/incuna-test-utils/',
    install_requires=[],
    zip_safe=False,
)
<commit_msg>Update setup.py.<commit_after>from setuptools import setup, find_packages

setup(
    name='incuna-test-utils',
    packages=find_packages(),
    include_package_data=True,
    version='3.1.0',
    description='',
    long_description=open('README.rst').read(),
    author='Incuna',
    author_email='admin@incuna.com',
    url='https://github.com/incuna/incuna-test-utils/',
    install_requires=[],
    zip_safe=False,
)
<|endoftext|>


<commit_before># This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

from setuptools import setup, find_packages

data_patterns = [
    'templates/**.html',
    'static/**.jpg',
    'static/**.css',
    'static/**.js',
    'static/**.txt',
]

setup(
    name='relengapi-clobberer',
    version='0.0',
    description='Clobberer blueprint for relengapi',
    author='Morgan Phillips',
    author_email='mphillips@mozilla.com',
    url='',
    install_requires=[
        "Flask",
        "relengapi",
    ],
    extras_require={
        'test': [
            'nose',
            'mock'
        ]
    },
    packages=find_packages(),
    package_data={  # NOTE: these files must *also* be specified in MANIFEST.in
        'relengapi.blueprints.clobberer': data_patterns + [
            'docs/**.rst'
        ],
    },
    include_package_data=True,
    namespace_packages=['relengapi', 'relengapi.blueprints'],
    entry_points={
        "relengapi.blueprints": [
            'clobberer = relengapi.blueprints.clobberer:bp',
        ],
    },
    license='MPL2',
)
<commit_msg>Adds the skeleton setup.py file in favor of the original.<commit_after>#!/usr/bin/env python

import os
from setuptools import setup, find_packages

data_patterns = [
    'templates/**.html',
    'static/**.jpg',
    'static/**.css',
    'static/**.js',
    'static/**.txt',
]

setup(name='relengapi-clobberer',
    version='0.1.0',
    description='The RelengAPI clobberer service.',
    author='Morgan Phillips',
    author_email='mphillips@mozilla.com',
    url='https://github.com/buildbot/build-relengapi-clobberer',
    entry_points={
        "relengapi_blueprints": [
            'mapper = relengapi.blueprints.clobberer:bp',
        ],
    },
    packages=find_packages(),
    namespace_packages=['relengapi', 'relengapi.blueprints'],
    data_files=[
        ('relengapi-' + dirpath, [os.path.join(dirpath, f) for f in files])
        for dirpath, _, files in os.walk('docs')
    ],
    package_data={  # NOTE: these files must *also* be specified in MANIFEST.in
        'relengapi.blueprints.clobberer': data_patterns,
    },
    install_requires=[
        'Flask',
        'relengapi>=0.3',
    ],
    license='MPL2',
    extras_require={
        'test': [
            'nose',
            'mock',
            'pep8',
            'pyflakes',
            'coverage',
        ]
    })
<|endoftext|>


<commit_before># -*- coding: utf-8 -*-
#
# Copyright (C) 2015 McKinsey Academy
#
# Authors:
#          Jonathan Piacenti <jonathan@opencraft.com>
#
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# the GNU Affero General Public License (AGPL) as published by the Free
# Software Foundation (FSF), either version 3 of the License, or (at your
# option) any later version of the AGPL published by the FSF.
#
# This program 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 in a file in the toplevel directory called
# "AGPLv3".  If not, see <http://www.gnu.org/licenses/>.
#
"""Setup for poll XBlock."""

import os
from setuptools import setup

def package_data(pkg, roots):
    """Generic function to find package_data.

    All of the files under each of the `roots` will be declared as package
    data for package `pkg`.

    """
    data = []
    for root in roots:
        for dirname, _, files in os.walk(os.path.join(pkg, root)):
            for fname in files:
                data.append(os.path.relpath(os.path.join(dirname, fname), pkg))

    return {pkg: data}

setup(
    name='xblock-checkpoll',
    version='0.2',
    description='An XBlock for polling users.',
    packages=[
        'checkpoll',
    ],
    install_requires=[
        'XBlock',
        'markdown',
        'xblock-utils',
        'ddt',
        'mock',
    ],
    dependency_links=['http://github.com/edx-solutions/xblock-utils/tarball/master#egg=xblock-utils'],
    entry_points={
        'xblock.v1': [
            'checkpoll = checkpoll:CheckPollBlock',
        ]
    },
    package_data=package_data("checkpoll", ["static", "public"]),
)
<commit_msg>setup checkpoll to poll<commit_after># -*- coding: utf-8 -*-
#
# Copyright (C) 2015 McKinsey Academy
#
# Authors:
#          Jonathan Piacenti <jonathan@opencraft.com>
#
# This software's license gives you freedom; you can copy, convey,
# propagate, redistribute and/or modify this program under the terms of
# the GNU Affero General Public License (AGPL) as published by the Free
# Software Foundation (FSF), either version 3 of the License, or (at your
# option) any later version of the AGPL published by the FSF.
#
# This program 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 in a file in the toplevel directory called
# "AGPLv3".  If not, see <http://www.gnu.org/licenses/>.
#
"""Setup for poll XBlock."""

import os
from setuptools import setup

def package_data(pkg, roots):
    """Generic function to find package_data.

    All of the files under each of the `roots` will be declared as package
    data for package `pkg`.

    """
    data = []
    for root in roots:
        for dirname, _, files in os.walk(os.path.join(pkg, root)):
            for fname in files:
                data.append(os.path.relpath(os.path.join(dirname, fname), pkg))

    return {pkg: data}

setup(
    name='xblock-poll',
    version='0.2',
    description='An XBlock for polling users.',
    packages=[
        'checkpoll',
    ],
    install_requires=[
        'XBlock',
        'markdown',
        'xblock-utils',
        'ddt',
        'mock',
    ],
    dependency_links=['http://github.com/edx-solutions/xblock-utils/tarball/master#egg=xblock-utils'],
    entry_points={
        'xblock.v1': [
            'checkpoll = checkpoll:CheckPollBlock',
        ]
    },
    package_data=package_data("checkpoll", ["static", "public"]),
)
<|endoftext|>


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

# --------------------------------------------------------------------
# The MIT License (MIT)
#
# Copyright (c) 2014 Jonathan Labéjof <jonathan.labejof@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# --------------------------------------------------------------------

"""b3j0f project building script.
"""

from setuptools import setup, find_packages

from os.path import abspath, dirname, join

from re import compile as re_compile, S as re_S

NAME = 'b3j0f.utils'  # library name

_namepath = NAME.replace('.', '/')

_base_path = dirname(abspath(__file__))

# get long description from setup directory abspath
with open(join(_base_path, 'README.rst')) as f:
    DESC = f.read()

# Get the version - do not use normal import because it does break coverage
# thanks to the python jira project
# (https://github.com/pycontribs/jira/blob/master/setup.py)
with open(join(_base_path, _namepath, 'version.py')) as f:
    stream = f.read()
    regex = r".*__version__ = '(.*?)'"
    VERSION = re_compile(regex, re_S).match(stream).group(1)

KEYWORDS = [
    'utils', 'chaining', 'iterable', 'tools', 'path', 'property', 'dynamic',
    'reflection', 'reflect', 'runtime', 'unittest', 'unit test', 'version',
    'common'
]

# add ordereddict if version for 2.6.x python version
DEPENDENCIES = ['ordereddict']

DESCRIPTION = 'Set of tools and utilities useful in python projects'

URL = 'https://github.com/{0}'.format(_namepath)

setup(
    name=NAME,
    version=VERSION,
    packages=find_packages(exclude=['test.*', '*.test.*']),
    author='b3j0f',
    author_email='jlabejof@yahoo.fr',
    install_requires=DEPENDENCIES,
    description=DESCRIPTION,
    long_description=DESC,
    include_package_data=True,
    url=URL,
    license='MIT License',
    classifiers=[
        "Development Status :: 4 - Beta",
        "License :: OSI Approved :: MIT License",
        "Natural Language :: French",
        "Operating System :: OS Independent",
        "Topic :: Utilities",
        "Topic :: Software Development",
        "Intended Audience :: Developers",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2.6",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.0",
        "Programming Language :: Python :: 3.1",
        "Programming Language :: Python :: 3.2",
        "Programming Language :: Python :: 3.3",
        "Programming Language :: Python :: 3.4"
    ],
    test_suite='b3j0f',
    keywords=KEYWORDS
)
<commit_msg>:update: remove double quotes in documentation and setup.py<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

# --------------------------------------------------------------------
# The MIT License (MIT)
#
# Copyright (c) 2014 Jonathan Labéjof <jonathan.labejof@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# --------------------------------------------------------------------

"""b3j0f project building script."""

from setuptools import setup, find_packages

from os.path import abspath, dirname, join

from re import compile as re_compile, S as re_S

NAME = 'b3j0f.utils'  # library name

_namepath = NAME.replace('.', '/')

_base_path = dirname(abspath(__file__))

# get long description from setup directory abspath
with open(join(_base_path, 'README.rst')) as f:
    DESC = f.read()

# Get the version - do not use normal import because it does break coverage
# thanks to the python jira project
# (https://github.com/pycontribs/jira/blob/master/setup.py)
with open(join(_base_path, _namepath, 'version.py')) as f:
    stream = f.read()
    regex = r'.*__version__ = \'(.*?)\''
    VERSION = re_compile(regex, re_S).match(stream).group(1)

KEYWORDS = [
    'utils', 'chaining', 'iterable', 'tools', 'path', 'property', 'dynamic',
    'reflection', 'reflect', 'runtime', 'unittest', 'unit test', 'version',
    'common'
]

# add ordereddict if version for 2.6.x python version
DEPENDENCIES = ['ordereddict']

DESCRIPTION = 'Set of tools and utilities useful in python projects'

URL = 'https://github.com/{0}'.format(_namepath)

setup(
    name=NAME,
    version=VERSION,
    packages=find_packages(exclude=['test.*', '*.test.*']),
    author='b3j0f',
    author_email='jlabejof@yahoo.fr',
    install_requires=DEPENDENCIES,
    description=DESCRIPTION,
    long_description=DESC,
    include_package_data=True,
    url=URL,
    license='MIT License',
    classifiers=[
        'Development Status :: 4 - Beta',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: French',
        'Operating System :: OS Independent',
        'Topic :: Utilities',
        'Topic :: Software Development',
        'Intended Audience :: Developers',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.0',
        'Programming Language :: Python :: 3.1',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4'
    ],
    test_suite='b3j0f',
    keywords=KEYWORDS
)
<|endoftext|>


<commit_before># -*- coding: utf-8 -*-
"""
weppy-Assets
------------

Integrates the ``webassets`` library with Weppy, adding support for
merging, minifying and compiling CSS and Javascript files.
"""

from setuptools import setup

setup(
    name='weppy-Assets',
    version='0.3-dev',
    url='https://github.com/gi0baro/weppy-assets',
    license='BSD',
    author='Giovanni Barillari',
    author_email='gi0baro@d4net.org',
    description='Assets management for weppy',
    long_description=__doc__,
    packages=[
        'weppy_assets',
        'weppy_assets.webassets',
        'weppy_assets.webassets.filter',
        'weppy_assets.webassets.filter.cssrewrite',
        'weppy_assets.webassets.filter.jspacker',
        'weppy_assets.webassets.filter.rjsmin'
    ],
    zip_safe=False,
    platforms='any',
    install_requires=[
        'weppy>=0.3',
        'CoffeeScript',
        'jsmin',
        'cssmin',
        'libsass'
    ],
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 3',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ]
)
<commit_msg>Releasing 0.3<commit_after># -*- coding: utf-8 -*-
"""
weppy-Assets
------------

Integrates the ``webassets`` library with Weppy, adding support for
merging, minifying and compiling CSS and Javascript files.
"""

from setuptools import setup

setup(
    name='weppy-Assets',
    version='0.3',
    url='https://github.com/gi0baro/weppy-assets',
    license='BSD',
    author='Giovanni Barillari',
    author_email='gi0baro@d4net.org',
    description='Assets management for weppy',
    long_description=__doc__,
    packages=[
        'weppy_assets',
        'weppy_assets.webassets',
        'weppy_assets.webassets.filter',
        'weppy_assets.webassets.filter.cssrewrite',
        'weppy_assets.webassets.filter.jspacker',
        'weppy_assets.webassets.filter.rjsmin'
    ],
    zip_safe=False,
    platforms='any',
    install_requires=[
        'weppy>=0.5',
        'CoffeeScript',
        'jsmin',
        'cssmin',
        'libsass'
    ],
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 3',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ]
)
<|endoftext|>


<commit_before>from setuptools import setup

name = 'turbasen'
VERSION = '2.3.6'

setup(
    name=name,
    packages=[name],
    version=VERSION,
    description='Client for Nasjonal Turbase REST API',
    long_description='See https://github.com/Turbasen/turbasen.py/blob/master/README.md',
    author='Ali Kaafarani',
    author_email='ali.kaafarani@turistforeningen.no',
    url='https://github.com/Turbasen/turbasen.py',
    download_url='https://github.com/Turbasen/turbasen.py/tarball/v%s' % (VERSION),
    keywords=['turbasen', 'nasjonalturbase', 'turistforening', 'rest-api'],
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: Norwegian',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 3',
    ],
    install_requires=['requests'],
)
<commit_msg>Bump patch version<commit_after>from setuptools import setup

name = 'turbasen'
VERSION = '2.3.7'

setup(
    name=name,
    packages=[name],
    version=VERSION,
    description='Client for Nasjonal Turbase REST API',
    long_description='See https://github.com/Turbasen/turbasen.py/blob/master/README.md',
    author='Ali Kaafarani',
    author_email='ali.kaafarani@turistforeningen.no',
    url='https://github.com/Turbasen/turbasen.py',
    download_url='https://github.com/Turbasen/turbasen.py/tarball/v%s' % (VERSION),
    keywords=['turbasen', 'nasjonalturbase', 'turistforening', 'rest-api'],
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: Norwegian',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 3',
    ],
    install_requires=['requests'],
)
<|endoftext|>


<commit_before>from setuptools import setup
try:
    with open('readme.rst') as f:
        long_description = f.read()
except IOError:
    with open('readme.md') as f:
        long_description = f.read()

def read_version():
    with open('catex/version.py') as f:
        code = f.readlines()[0]
    exec(code)
    assert('version' in locals())
    return locals()['version']

setup(
    name='CaTeX',

    version=read_version(),

    description='CaTeX Concatenates LateX documents.',
    long_description=long_description,

    # The project's main homepage.d
    url='https://github.com/Alexis-benoist/catex',

    # Author details
    author='Alexis Benoist',
    author_email='alexis@benoist.it',

    # Choose your license
    license='Apache License 2.0',

    # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
    classifiers=[
        'Development Status :: 4 - Beta',

        'Intended Audience :: Developers',

        # that you indicate whether you support Python 2, Python 3 or both.
        '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',
    ],

    # What does your project relate to?
    keywords='latex',

    # You can just specify the packages manually here if your project is
    # simple. Or you can use find_packages().
    packages=[
        'catex',
    ],

    # List run-time dependencies here.  These will be installed by pip when
    # your project is installed. For an analysis of "install_requires" vs pip's
    # requirements files see:
    # https://packaging.python.org/en/latest/requirements.html
    install_requires=[
        'click==6.6'
    ],
    entry_points={
        'console_scripts': [
            'catex=catex.cli:cli',
        ],
    },
)
<commit_msg>updated setup.py.<commit_after>from setuptools import setup
try:
    with open('readme.rst') as f:
        long_description = f.read()
except IOError:
    with open('readme.md') as f:
        long_description = f.read()

def read_version():
    with open('catex/version.py') as f:
        code = f.readlines()[0]
    exec(code)
    assert('version' in locals())
    return locals()['version']

setup(
    name='CaTeX',

    version=read_version(),

    description='Concatenates LateX documents.',
    long_description=long_description,

    # The project's main homepage.d
    url='https://github.com/Alexis-benoist/catex',

    # Author details
    author='Alexis Benoist',
    author_email='alexis@benoist.it',

    # Choose your license
    license='Apache License 2.0',

    # See https://pypi.python.org/pypi?%3Aaction=list_classifiers
    classifiers=[
        'Development Status :: 4 - Beta',

        # that you indicate whether you support Python 2, Python 3 or both.
        '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',
        'Intended Audience :: Science/Research',
        'Topic :: Scientific/Engineering',
        'Topic :: Printing',
        'Topic :: Text Processing :: General',
        'Topic :: Text Processing :: Markup :: LaTeX',
    ],

    # What does your project relate to?
    keywords='latex',

    # You can just specify the packages manually here if your project is
    # simple. Or you can use find_packages().
    packages=[
        'catex',
    ],

    # List run-time dependencies here.  These will be installed by pip when
    # your project is installed. For an analysis of "install_requires" vs pip's
    # requirements files see:
    # https://packaging.python.org/en/latest/requirements.html
    install_requires=[
        'click==6.6'
    ],
    entry_points={
        'console_scripts': [
            'catex=catex.cli:cli',
        ],
    },
)
<|endoftext|>


<commit_before>from setuptools import setup

VERSION="0.2.6"

setup(
    name="twitter-monitor",
    packages=['twitter_monitor'],

    version=VERSION,
    download_url='https://github.com/michaelbrooks/twitter-monitor/archive/v%s.zip' % VERSION,
    url="https://github.com/michaelbrooks/twitter-monitor",

    author="Michael Brooks",
    author_email="mjbrooks@uw.edu",

    description=("A Twitter streaming library built on tweepy "
                 "that enables dynamic term tracking"),
    long_description=open('README.md').read(),
    license="MIT",
    keywords=["twitter", "streaming", "tweepy", "filter"],
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Topic :: Utilities",
        "License :: OSI Approved :: MIT License",
    ],

    install_requires=[
        "tweepy >= 2.2"
    ],
    test_suite="tests",
    tests_require=["mock == 1.0.1"],
    scripts=['scripts/stream_tweets'],
)
<commit_msg>update version to 0.2.7<commit_after>from setuptools import setup

VERSION="0.2.7"

setup(
    name="twitter-monitor",
    packages=['twitter_monitor'],

    version=VERSION,
    download_url='https://github.com/michaelbrooks/twitter-monitor/archive/v%s.zip' % VERSION,
    url="https://github.com/michaelbrooks/twitter-monitor",

    author="Michael Brooks",
    author_email="mjbrooks@uw.edu",

    description=("A Twitter streaming library built on tweepy "
                 "that enables dynamic term tracking"),
    long_description=open('README.md').read(),
    license="MIT",
    keywords=["twitter", "streaming", "tweepy", "filter"],
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Topic :: Utilities",
        "License :: OSI Approved :: MIT License",
    ],

    install_requires=[
        "tweepy >= 2.2"
    ],
    test_suite="tests",
    tests_require=["mock == 1.0.1"],
    scripts=['scripts/stream_tweets'],
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

setup(
    name='PySMT',
    version='0.3.0',
    author='PySMT Team',
    author_email='info@pysmt.org',
    packages = find_packages(),
    include_package_data = True,
    url='http://www.pysmt.org',
    license='APACHE',
    description='A library for SMT Formulae manipulation and solving',
    long_description=open('README.rst').read(),
    install_requires=["six"],
    entry_points={
        'console_scripts': [
            'pysmt = pysmt.cmd.shell:main',
            'pysmt-shell = pysmt.cmd.shell:main_interactive',
            'pysmt-install = pysmt.cmd.install:main',
        ],
    },
)
<commit_msg>Version bump: Updated version to 0.3.1.dev<commit_after>from setuptools import setup, find_packages

setup(
    name='PySMT',
    version='0.3.1.dev1',
    author='PySMT Team',
    author_email='info@pysmt.org',
    packages = find_packages(),
    include_package_data = True,
    url='http://www.pysmt.org',
    license='APACHE',
    description='A library for SMT Formulae manipulation and solving',
    long_description=open('README.rst').read(),
    install_requires=["six"],
    entry_points={
        'console_scripts': [
            'pysmt = pysmt.cmd.shell:main',
            'pysmt-shell = pysmt.cmd.shell:main_interactive',
            'pysmt-install = pysmt.cmd.install:main',
        ],
    },
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

setup(
    name='django-google-credentials',
    version='0.0.1',
    description='Django app storing Google API OAuth credentials.',
    long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(),
    author='Praekelt Foundation',
    author_email='dev@praekeltfoundation.org',
    license='BSD',
    url='http://github.com/praekelt/django-google-credentials',
    packages = find_packages(),
    dependency_links = [
    ],
    install_requires=[
        'django',
        'google-api-python-client',
        'south',
    ],
    tests_require=[
        'django-setuptest',
    ],
    test_suite="setuptest.SetupTestSuite",
    include_package_data=True,
    classifiers = [
        "Programming Language :: Python",
        "License :: OSI Approved :: BSD License",
        "Development Status :: 4 - Beta",
        "Operating System :: OS Independent",
        "Framework :: Django",
        "Intended Audience :: Developers",
        "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
    ],
    zip_safe=False,
)
<commit_msg>version bump<commit_after>from setuptools import setup, find_packages

setup(
    name='django-google-credentials',
    version='0.0.2',
    description='Django app storing Google API OAuth credentials.',
    long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(),
    author='Praekelt Foundation',
    author_email='dev@praekeltfoundation.org',
    license='BSD',
    url='http://github.com/praekelt/django-google-credentials',
    packages = find_packages(),
    dependency_links = [
    ],
    install_requires=[
        'django',
        'google-api-python-client',
        'south',
    ],
    tests_require=[
        'django-setuptest',
    ],
    test_suite="setuptest.SetupTestSuite",
    include_package_data=True,
    classifiers = [
        "Programming Language :: Python",
        "License :: OSI Approved :: BSD License",
        "Development Status :: 4 - Beta",
        "Operating System :: OS Independent",
        "Framework :: Django",
        "Intended Audience :: Developers",
        "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
    ],
    zip_safe=False,
)
<|endoftext|>


<commit_before>import sys
import setuptools

with open("twarc/version.py") as f:
    exec(f.read())

with open("docs/README.md") as f:
    long_description = f.read()

with open("requirements.txt") as f:
    dependencies = f.read().split()

if __name__ == "__main__":
    setuptools.setup(
        name="twarc",
        version=version,
        url="https://github.com/docnow/twarc",
        author="Ed Summers",
        author_email="ehs@pobox.com",
        packages=["twarc"],
        description="Archive tweets from the command line",
        long_description=long_description,
        long_description_content_type="text/markdown",
        python_requires=">=3.3",
        install_requires=dependencies,
        setup_requires=["pytest-runner"],
        tests_require=["pytest", "pytest-black" "python-dotenv", "pytz"],
        entry_points={
            "console_scripts": [
                "twarc = twarc.command:main",
                "twarc2 = twarc.command2:twarc2",
            ]
        },
    )
<commit_msg>typo in tests_require<commit_after>import sys
import setuptools

with open("twarc/version.py") as f:
    exec(f.read())

with open("docs/README.md") as f:
    long_description = f.read()

with open("requirements.txt") as f:
    dependencies = f.read().split()

if __name__ == "__main__":
    setuptools.setup(
        name="twarc",
        version=version,
        url="https://github.com/docnow/twarc",
        author="Ed Summers",
        author_email="ehs@pobox.com",
        packages=["twarc"],
        description="Archive tweets from the command line",
        long_description=long_description,
        long_description_content_type="text/markdown",
        python_requires=">=3.3",
        install_requires=dependencies,
        setup_requires=["pytest-runner"],
        tests_require=["pytest", "pytest-black", "python-dotenv", "pytz"],
        entry_points={
            "console_scripts": [
                "twarc = twarc.command:main",
                "twarc2 = twarc.command2:twarc2",
            ]
        },
    )
<|endoftext|>


<commit_before>from distutils.core import setup

install_requires = ['hy>=0.12.1']

#python setup.py register -r pypitest
#python setup.py register -r pypi
# next command not recommended but what can you do in Windows...
#python setup.py sdist upload -r pypitest
#python setup.py sdist upload

setup(
  name = 'hyml',

  packages = ['hyml'],
  package_dir = {'hyml': 'hyml'},
  package_data = {
    'hyml': ['*.hy']
  },

  version = 'v0.1.8',
  description = 'HyML - XML / (X)HTML generator for Hy',
  author = 'Marko Manninen',
  author_email = 'elonmedia@gmail.com',

  url = 'https://github.com/markomanninen/hyml',
  download_url = 'https://github.com/markomanninen/hyml/archive/v0.1.8.tar.gz',
  keywords = ['hylang', 'python', 'lisp', 'macros', 'markup language', 'dsl', 'xml', 'html', 'xhtml'],
  platforms = ['any'],

  classifiers = [
    "Development Status :: 3 - Alpha",
    "Intended Audience :: Developers",
    "License :: OSI Approved :: MIT License",
    "Operating System :: OS Independent",
    "Programming Language :: Lisp",
    "Topic :: Software Development :: Libraries",
  ]
)
<commit_msg>py init imports off<commit_after>from distutils.core import setup

install_requires = ['hy>=0.12.1']

#python setup.py register -r pypitest
#python setup.py register -r pypi
# next command not recommended but what can you do in Windows...
#python setup.py sdist upload -r pypitest
#python setup.py sdist upload

setup(
  name = 'hyml',

  packages = ['hyml'],
  package_dir = {'hyml': 'hyml'},
  package_data = {
    'hyml': ['*.hy']
  },

  version = 'v0.1.9',
  description = 'HyML - XML / (X)HTML generator for Hy',
  author = 'Marko Manninen',
  author_email = 'elonmedia@gmail.com',

  url = 'https://github.com/markomanninen/hyml',
  download_url = 'https://github.com/markomanninen/hyml/archive/v0.1.9.tar.gz',
  keywords = ['hylang', 'python', 'lisp', 'macros', 'markup language', 'dsl', 'xml', 'html', 'xhtml'],
  platforms = ['any'],

  classifiers = [
    "Development Status :: 3 - Alpha",
    "Intended Audience :: Developers",
    "License :: OSI Approved :: MIT License",
    "Operating System :: OS Independent",
    "Programming Language :: Lisp",
    "Topic :: Software Development :: Libraries",
  ]
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

__version__ = '0.12.2'

setup(
    name="Flask-REST-JSONAPI",
    version=__version__,
    description='Flask extension to create REST web api according to JSONAPI 1.0 specification with Flask, Marshmallow \
                 and data provider of your choice (SQLAlchemy, MongoDB, ...)',
    url='https://github.com/miLibris/flask-rest-jsonapi',
    author='miLibris API Team',
    author_email='pf@milibris.net',
    license='MIT',
    classifiers=[
        'Framework :: Flask',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'License :: OSI Approved :: MIT License',
    ],
    keywords='web api rest jsonapi flask sqlalchemy marshmallow',
    packages=find_packages(exclude=['tests']),
    zip_safe=False,
    platforms='any',
    install_requires=['six',
                      'Flask',
                      'marshmallow==2.13.1',
                      'marshmallow_jsonapi',
                      'sqlalchemy'],
    setup_requires=['pytest-runner'],
    tests_require=['pytest'],
    extras_require={'tests': 'pytest', 'docs': 'sphinx'}
)
<commit_msg>Bump version to 0.12.3<commit_after>from setuptools import setup, find_packages

__version__ = '0.12.3'

setup(
    name="Flask-REST-JSONAPI",
    version=__version__,
    description='Flask extension to create REST web api according to JSONAPI 1.0 specification with Flask, Marshmallow \
                 and data provider of your choice (SQLAlchemy, MongoDB, ...)',
    url='https://github.com/miLibris/flask-rest-jsonapi',
    author='miLibris API Team',
    author_email='pf@milibris.net',
    license='MIT',
    classifiers=[
        'Framework :: Flask',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'License :: OSI Approved :: MIT License',
    ],
    keywords='web api rest jsonapi flask sqlalchemy marshmallow',
    packages=find_packages(exclude=['tests']),
    zip_safe=False,
    platforms='any',
    install_requires=['six',
                      'Flask',
                      'marshmallow==2.13.1',
                      'marshmallow_jsonapi',
                      'sqlalchemy'],
    setup_requires=['pytest-runner'],
    tests_require=['pytest'],
    extras_require={'tests': 'pytest', 'docs': 'sphinx'}
)
<|endoftext|>


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

# Copyright (C) 2017 Michael Hogg

# This file is part of pyoctree - See LICENSE.txt for information on usage and redistribution

from setuptools import setup, find_packages
from setuptools.extension import Extension
from codecs import open
from os import path
import numpy
import sys

# Get current path
here = path.abspath(path.dirname(__file__))

# Function to open the readme file
def readme():
    with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
        return f.read()

# Function to parse command line arguments to check for openmp option. Modified from kwikteam/klustakwik2/setup.py
def parse_cmdline_args(arg):
    try:
        sys.argv.remove('--%s' % arg)
        return True
    except ValueError:
        pass
    return False

# Find the version
exec(open(path.join('pyoctree','version.py')).read())

try:
    from Cython.Distutils import build_ext
except ImportError:
    from setuptools.command.build_ext import build_ext
    use_cython = False
else:
    use_cython = True

# Check if user wants to use openmp
use_openmp = parse_cmdline_args('openmp')

# Supply correct openmp compiler arguments depending on os. Based on SO question:
# http://stackoverflow.com/questions/30985862/how-to-identify-compiler-before-defining-cython-extensions
# However, need to add extra link args in addition to build args, as these are required for gcc.
# From http://stackoverflow.com/questions/16737260/how-to-tell-distutils-to-use-gcc, the distutils --compiler
# option expects "unix", "msvc", "cygwin", "mingw32", "bcpp", or "emx". Therefore, should add support for
# all these, but will currently support only mscv, mingw32, and unix.
# The current code has been tested on Windows 10 and CentOS 6. The CentOS compiler type is "unix", which uses gcc by default.
BUILD_ARGS = {}
BUILD_ARGS['msvc']    = ['/openmp', '/EHsc', ]
BUILD_ARGS['mingw32'] = ['-fopenmp', ]
BUILD_ARGS['unix']    = ['-fopenmp', ]  # On CentOS, "compiler" variable equals 'unix' for gcc compiler
LINK_ARGS = {}
LINK_ARGS['msvc']     = []
LINK_ARGS['mingw32']  = []
LINK_ARGS['unix']     = ['-lgomp', ]    # gcc requires -lgomp for linking. Otherwise get unrecognised symbol error

# Custom class to add compiler depended build and link arguments
class build_ext_compiler_check(build_ext):
    def build_extensions(self):
        if use_openmp:
            compiler = self.compiler.compiler_type
            for ext in self.extensions:
                if compiler in BUILD_ARGS:
                    ext.extra_compile_args = BUILD_ARGS[compiler]
                if compiler in LINK_ARGS:
                    ext.extra_link_args    = LINK_ARGS[compiler]
        build_ext.build_extensions(self)

cmdclass    = {}
ext_modules = []
if use_cython:
    ext_modules += [ Extension("pyoctree.pyoctree", sources=["pyoctree/pyoctree.pyx","pyoctree/cOctree.cpp"],include_dirs=[numpy.get_include()],language="c++")]
    cmdclass.update({ 'build_ext': build_ext_compiler_check })
else:
    ext_modules += [ Extension("pyoctree.pyoctree", sources=["pyoctree/pyoctree.cpp","pyoctree/cOctree.cpp"],include_dirs=[numpy.get_include()],language="c++")]

setup(
    name = 'pyoctree',
    version = __version__,
    description = 'Octree structure containing 3D triangular mesh model',
    long_description = readme(),
    license = 'MIT license',
    keywords = ["octree","triangle","mesh","python","cython","ray","tracing"],
    author = 'Michael Hogg',
    author_email = 'michael.christopher.hogg@gmail.com',
    url = "https://github.com/mhogg/pyoctree",
    download_url = "https://github.com/mhogg/pyoctree/releases",
    packages = find_packages(),
    include_package_data = True,
    package_data = {'': ['README.rst','LICENSE.txt'],
                    'pyoctree': ['Examples\*']},
    classifiers = [
        "Development Status :: 4 - Beta",
        "Environment :: Other Environment",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Cython",
        "Programming Language :: C++",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.6",
        ],
    ext_modules = ext_modules,
    cmdclass = cmdclass,
    install_requires = ["numpy"],
)
<commit_msg>Fix "numpy" dependency in "setup.py"<commit_after># -*- coding: utf-8 -*-

# Copyright (C) 2017 Michael Hogg

# This file is part of pyoctree - See LICENSE.txt for information on usage and redistribution

from setuptools import setup, find_packages
from setuptools.extension import Extension
from codecs import open
from os import path
import sys

# Get current path
here = path.abspath(path.dirname(__file__))

# Function to open the readme file
def readme():
    with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
        return f.read()

# Function to parse command line arguments to check for openmp option. Modified from kwikteam/klustakwik2/setup.py
def parse_cmdline_args(arg):
    try:
        sys.argv.remove('--%s' % arg)
        return True
    except ValueError:
        pass
    return False

# Find the version
exec(open(path.join('pyoctree','version.py')).read())

try:
    from Cython.Distutils import build_ext
except ImportError:
    from setuptools.command.build_ext import build_ext
    use_cython = False
else:
    use_cython = True

# Check if user wants to use openmp
use_openmp = parse_cmdline_args('openmp')

# Supply correct openmp compiler arguments depending on os. Based on SO question:
# http://stackoverflow.com/questions/30985862/how-to-identify-compiler-before-defining-cython-extensions
# However, need to add extra link args in addition to build args, as these are required for gcc.
# From http://stackoverflow.com/questions/16737260/how-to-tell-distutils-to-use-gcc, the distutils --compiler
# option expects "unix", "msvc", "cygwin", "mingw32", "bcpp", or "emx". Therefore, should add support for
# all these, but will currently support only mscv, mingw32, and unix.
# The current code has been tested on Windows 10 and CentOS 6. The CentOS compiler type is "unix", which uses gcc by default.
BUILD_ARGS = {}
BUILD_ARGS['msvc']    = ['/openmp', '/EHsc', ]
BUILD_ARGS['mingw32'] = ['-fopenmp', ]
BUILD_ARGS['unix']    = ['-fopenmp', ]  # On CentOS, "compiler" variable equals 'unix' for gcc compiler
LINK_ARGS = {}
LINK_ARGS['msvc']     = []
LINK_ARGS['mingw32']  = []
LINK_ARGS['unix']     = ['-lgomp', ]    # gcc requires -lgomp for linking. Otherwise get unrecognised symbol error

# Custom class to add required dependencies for building the project
class build_ext_dependencies(build_ext):
    def finalize_options(self):
        build_ext.finalize_options(self)
        import numpy
        self.include_dirs.append(numpy.get_include())

# Custom class to add compiler depended build and link arguments
class build_ext_compiler_check(build_ext_dependencies):
    def build_extensions(self):
        if use_openmp:
            compiler = self.compiler.compiler_type
            for ext in self.extensions:
                if compiler in BUILD_ARGS:
                    ext.extra_compile_args = BUILD_ARGS[compiler]
                if compiler in LINK_ARGS:
                    ext.extra_link_args    = LINK_ARGS[compiler]
        build_ext.build_extensions(self)

cmdclass    = { "build_ext": build_ext_dependencies }
ext_modules = []
if use_cython:
    ext_modules += [ Extension("pyoctree.pyoctree", sources=["pyoctree/pyoctree.pyx","pyoctree/cOctree.cpp"],language="c++")]
    cmdclass.update({ 'build_ext': build_ext_compiler_check })
else:
    ext_modules += [ Extension("pyoctree.pyoctree", sources=["pyoctree/pyoctree.cpp","pyoctree/cOctree.cpp"],language="c++")]
    cmdclass.update({ 'build_ext': build_ext_dependencies })

setup(
    name = 'pyoctree',
    version = __version__,
    description = 'Octree structure containing 3D triangular mesh model',
    long_description = readme(),
    license = 'MIT license',
    keywords = ["octree","triangle","mesh","python","cython","ray","tracing"],
    author = 'Michael Hogg',
    author_email = 'michael.christopher.hogg@gmail.com',
    url = "https://github.com/mhogg/pyoctree",
    download_url = "https://github.com/mhogg/pyoctree/releases",
    packages = find_packages(),
    include_package_data = True,
    package_data = {'': ['README.rst','LICENSE.txt'],
                    'pyoctree': ['Examples\*']},
    classifiers = [
        "Development Status :: 4 - Beta",
        "Environment :: Other Environment",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Cython",
        "Programming Language :: C++",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.6",
        ],
    ext_modules = ext_modules,
    cmdclass = cmdclass,
    setup_requires = ["numpy"],
    install_requires = ["numpy"],
)
<|endoftext|>