<commit_before>from setuptools import setup, find_packages, Extension
from subprocess import Popen, PIPE
import platform
import os

# Don't build extensions if we're on readthedocs.org
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'

# Determine the name for LLVM config binary
for path in ["llvm-config-3.2", "llvm-config"]:
    proc = Popen(["which", path], stdout=PIPE, stderr=PIPE)
    if not proc.wait():
        LLVM_CONFIG = proc.stdout.read().strip()
        break
else:
    if not on_rtd:
        raise OSError("Could not locate a suitable llvm-config binary")

def llvm_config(*args):
    p = Popen([LLVM_CONFIG] + list(args), stdout=PIPE)
    return p.communicate()[0].strip().split()

def link_args():
    # System-specific link flags for LLVM shared library.
    system = platform.system()
    llvm_libs = llvm_config("--libs", "native", "ipo", "jit", "linker")
    args = llvm_config("--ldflags")

    if system == "Linux":
        args += ["-Wl,--whole-archive"] + llvm_libs
        args += ["-Wl,--no-whole-archive", "-Wl,--no-undefined", "-lpthread", "-ldl", "-lc"]
    elif system == "Darwin":
        args += llvm_libs + ["-all_load", "-Wl,-dead_strip", "-Wl,-seg1addr", "-Wl,0xE0000000"]
    else:
        raise OSError("Unsupported system type {0}".format(system))

    return args

ext_modules = []

if not on_rtd:
    llvm_version = llvm_config("--version")[0]
    # HACK this isn't really a Python extension, however it's
    # a valid shared library so we'll use the available facilities.
    ext_modules.append(
        Extension(
            "nitrous.llvm._llvm", ["src/_llvm.cc"],
            include_dirs=llvm_config("--includedir"),
            extra_compile_args=llvm_config("--cxxflags"),
            library_dirs=llvm_config("--libdir"),
            extra_link_args=link_args()
        )
    )

setup(name="nitrous",
      version="0.0.0",
      description="Run-time LLVM-based compiler for CPython functions",
      author="Dimitri Tcaciuc",
      author_email="dtcaciuc@gmail.com",
      url="https://github.com/dtcaciuc/nitrous",
      license="MIT License",
      classifiers=["Development Status :: 2 - Pre-Alpha",
                   "Intended Audience :: Developers",
                   "Natural Language :: English",
                   "Programming Language :: Python :: 2.7",
                   "Topic :: Software Development :: Libraries"],
      install_requires=["nose", "coverage"],
      ext_modules=ext_modules,
      packages=find_packages(),
     )
<commit_msg>CI: Add more logging to llvm-config running stage.<commit_after>from setuptools import setup, find_packages, Extension
from subprocess import Popen, PIPE
import platform
import sys
import os

# Don't build extensions if we're on readthedocs.org
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'

# Determine the name for LLVM config binary
for path in ["llvm-config-3.2", "llvm-config"]:
    proc = Popen(["which", path], stdout=PIPE, stderr=PIPE)
    if not proc.wait():
        LLVM_CONFIG = proc.stdout.read().strip()
        print "Found LLVM config at '{0}'".format(LLVM_CONFIG)
        break
else:
    if not on_rtd:
        raise OSError("Could not locate a suitable llvm-config binary")

def llvm_config(*args):
    try:
        print "Running `{0}`".format("".join([LLVM_CONFIG] + list(args)))
        p = Popen([LLVM_CONFIG] + list(args), stdout=PIPE)
        return p.communicate()[0].strip().split()
    except OSError, e:
        print >>sys.stderr, "llvm-config failed: {0}".format(e)

def link_args():
    # System-specific link flags for LLVM shared library.
    system = platform.system()
    llvm_libs = llvm_config("--libs", "native", "ipo", "jit", "linker")
    args = llvm_config("--ldflags")

    if system == "Linux":
        args += ["-Wl,--whole-archive"] + llvm_libs
        args += ["-Wl,--no-whole-archive", "-Wl,--no-undefined", "-lpthread", "-ldl", "-lc"]
    elif system == "Darwin":
        args += llvm_libs + ["-all_load", "-Wl,-dead_strip", "-Wl,-seg1addr", "-Wl,0xE0000000"]
    else:
        raise OSError("Unsupported system type {0}".format(system))

    return args

ext_modules = []

if not on_rtd:
    llvm_version = llvm_config("--version")[0]
    # HACK this isn't really a Python extension, however it's
    # a valid shared library so we'll use the available facilities.
    ext_modules.append(
        Extension(
            "nitrous.llvm._llvm", ["src/_llvm.cc"],
            include_dirs=llvm_config("--includedir"),
            extra_compile_args=llvm_config("--cxxflags"),
            library_dirs=llvm_config("--libdir"),
            extra_link_args=link_args()
        )
    )

setup(name="nitrous",
      version="0.0.0",
      description="Run-time LLVM-based compiler for CPython functions",
      author="Dimitri Tcaciuc",
      author_email="dtcaciuc@gmail.com",
      url="https://github.com/dtcaciuc/nitrous",
      license="MIT License",
      classifiers=["Development Status :: 2 - Pre-Alpha",
                   "Intended Audience :: Developers",
                   "Natural Language :: English",
                   "Programming Language :: Python :: 2.7",
                   "Topic :: Software Development :: Libraries"],
      install_requires=["nose", "coverage"],
      ext_modules=ext_modules,
      packages=find_packages(),
     )
<|endoftext|>


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

from setuptools import setup
import os

long_description = open("README.rst").read()
install_requires = ['numpy>=1.13.0,!=1.16.0',
                    'quantities>=0.12.1']
extras_require = {
    'hdf5io': ['h5py'],
    'igorproio': ['igor'],
    'kwikio': ['scipy', 'klusta'],
    'neomatlabio': ['scipy>=1.0.0'],
    'nixio': ['nixio>=1.5.0b2'],
    'stimfitio': ['stfio'],
    'tiffio': ['pillow']
}

with open("neo/version.py") as fp:
    d = {}
    exec(fp.read(), d)
    neo_version = d['version']

setup(
    name="neo",
    version=neo_version,
    packages=[
        'neo', 'neo.core', 'neo.io', 'neo.rawio', 'neo.rawio.neuralynxrawio',
        'neo.test', 'neo.test.coretest', 'neo.test.iotest',
        'neo.test.rawiotest'],
    install_requires=install_requires,
    extras_require=extras_require,
    author="Neo authors and contributors",
    author_email="samuel.garcia@cnrs.fr",
    description="Neo is a package for representing electrophysiology data in "
                "Python, together with support for reading a wide range of "
                "neurophysiology file formats",
    long_description=long_description,
    license="BSD-3-Clause",
    url='https://neuralensemble.org/neo',
    python_requires=">=3.6",
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: BSD License',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: 3.8',
        'Programming Language :: Python :: 3 :: Only',
        'Topic :: Scientific/Engineering']
)
<commit_msg>Locate sub-packages automatically using setuptools find_packages<commit_after>#!/usr/bin/env python

from setuptools import setup, find_packages
import os

long_description = open("README.rst").read()
install_requires = ['numpy>=1.13.0,!=1.16.0',
                    'quantities>=0.12.1']
extras_require = {
    'hdf5io': ['h5py'],
    'igorproio': ['igor'],
    'kwikio': ['scipy', 'klusta'],
    'neomatlabio': ['scipy>=1.0.0'],
    'nixio': ['nixio>=1.5.0b2'],
    'stimfitio': ['stfio'],
    'tiffio': ['pillow']
}

with open("neo/version.py") as fp:
    d = {}
    exec(fp.read(), d)
    neo_version = d['version']

setup(
    name="neo",
    version=neo_version,
    packages=find_packages(),
    install_requires=install_requires,
    extras_require=extras_require,
    author="Neo authors and contributors",
    author_email="samuel.garcia@cnrs.fr",
    description="Neo is a package for representing electrophysiology data in "
                "Python, together with support for reading a wide range of "
                "neurophysiology file formats",
    long_description=long_description,
    license="BSD-3-Clause",
    url='https://neuralensemble.org/neo',
    python_requires=">=3.6",
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: BSD License',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: 3.8',
        'Programming Language :: Python :: 3 :: Only',
        'Topic :: Scientific/Engineering']
)
<|endoftext|>


<commit_before>from distutils.core import setup, Extension
from os import environ
from os.path import dirname, join, exists
import sys
from platform import architecture

files = [
    'jni.pxi',
    'jnius_conversion.pxi',
    'jnius_export_class.pxi',
    'jnius_export_func.pxi',
    'jnius_jvm_android.pxi',
    'jnius_jvm_desktop.pxi',
    'jnius_localref.pxi',
    'jnius.pyx',
    'jnius_utils.pxi',
]

libraries = []
library_dirs = []
extra_link_args = []
include_dirs = []
install_requires = []

# detect Python for android
platform = sys.platform
ndkplatform = environ.get('NDKPLATFORM')
if ndkplatform is not None and environ.get('LIBLINK'):
    platform = 'android'

# detect cython
try:
    from Cython.Distutils import build_ext
    install_requires.append('cython')
except ImportError:
    from distutils.command.build_ext import build_ext
    if platform != 'android':
        print('\n\nYou need Cython to compile Pyjnius.\n\n')
        raise
    files = [fn[:-3] + 'c' for fn in files if fn.endswith('pyx')]

if platform == 'android':
    # for android, we use SDL...
    libraries = ['sdl', 'log']
    library_dirs = ['libs/' + environ['ARCH']]
elif platform == 'darwin':
    import objc
    framework = objc.pathForFramework('JavaVM.framework')
    if not framework:
        raise Exception('You must install Java on your Mac OS X distro')
    extra_link_args = ['-framework', 'JavaVM']
    include_dirs = [join(framework, 'Versions/A/Headers')]
else:
    import subprocess
    # otherwise, we need to search the JDK_HOME
    jdk_home = environ.get('JDK_HOME')
    if not jdk_home:
        if platform == 'win32':
            env_var = environ.get('JAVA_HOME')
            if env_var and 'jdk' in env_var:
                jdk_home = env_var

                # Remove /bin if it's appended to JAVA_HOME
                if jdk_home[-3:] == 'bin':
                    jdk_home = jdk_home[:-4]
        else:
            jdk_home = subprocess.Popen('readlink -f `which javac` | sed "s:bin/javac::"',
                    shell=True, stdout=subprocess.PIPE).communicate()[0].strip()
    if not jdk_home or not exists(jdk_home):
        raise Exception('Unable to determine JDK_HOME')

    jre_home = environ.get('JRE_HOME')
    if exists(join(jdk_home, 'jre')):
        jre_home = join(jdk_home, 'jre')
    if not jre_home:
        jre_home = subprocess.Popen('readlink -f `which java` | sed "s:bin/java::"',
                shell=True, stdout=subprocess.PIPE).communicate()[0].strip()
    if not jre_home:
        raise Exception('Unable to determine JRE_HOME')
    cpu = 'amd64' if architecture()[0] == '64bit' else 'i386'

    if platform == 'win32':
        incl_dir = join(jdk_home, 'include', 'win32')
    else:
        incl_dir = join(jdk_home, 'include', 'linux')

    include_dirs = [
            join(jdk_home, 'include'),
            incl_dir]
    if platform == 'win32':
        library_dirs = [
                join(jdk_home, 'lib'),
                join(jre_home, 'bin', 'server')]
    else:
        library_dirs = [join(jre_home, 'lib', cpu, 'server')]
    extra_link_args = ['-Wl,-rpath', library_dirs[0]]
    libraries = ['jvm']

# generate the config.pxi
with open(join(dirname(__file__), 'jnius', 'config.pxi'), 'w') as fd:
    fd.write('DEF JNIUS_PLATFORM = {0!r}'.format(platform))

with open(join('jnius', '__init__.py')) as fd:
    versionline = [x for x in fd.readlines() if x.startswith('__version__')]
    version = versionline[0].split("'")[-2]

# create the extension
setup(name='jnius',
      version=version,
      cmdclass={'build_ext': build_ext},
      packages=['jnius'],
      py_modules=['jnius_config'],
      url='http://pyjnius.readthedocs.org/',
      author='Mathieu Virbel and Gabriel Pettier',
      author_email='mat@kivy.org,gabriel@kivy.org',
      license='LGPL',
      description='Python library to access Java classes',
      install_requires=install_requires,
      ext_package='jnius',
      ext_modules=[
          Extension(
              'jnius', [join('jnius', x) for x in files],
              libraries=libraries,
              library_dirs=library_dirs,
              include_dirs=include_dirs,
              extra_link_args=extra_link_args)
          ],
      classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: GNU Library or Lesser '
        'General Public License (LGPL)',
        'Natural Language :: English',
        'Operating System :: MacOS :: MacOS X',
        'Operating System :: Microsoft :: Windows',
        'Operating System :: POSIX :: Linux',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Topic :: Software Development :: Libraries :: Application Frameworks'])
<commit_msg>fix license. Closes #139<commit_after>from distutils.core import setup, Extension
from os import environ
from os.path import dirname, join, exists
import sys
from platform import architecture

files = [
    'jni.pxi',
    'jnius_conversion.pxi',
    'jnius_export_class.pxi',
    'jnius_export_func.pxi',
    'jnius_jvm_android.pxi',
    'jnius_jvm_desktop.pxi',
    'jnius_localref.pxi',
    'jnius.pyx',
    'jnius_utils.pxi',
]

libraries = []
library_dirs = []
extra_link_args = []
include_dirs = []
install_requires = []

# detect Python for android
platform = sys.platform
ndkplatform = environ.get('NDKPLATFORM')
if ndkplatform is not None and environ.get('LIBLINK'):
    platform = 'android'

# detect cython
try:
    from Cython.Distutils import build_ext
    install_requires.append('cython')
except ImportError:
    from distutils.command.build_ext import build_ext
    if platform != 'android':
        print('\n\nYou need Cython to compile Pyjnius.\n\n')
        raise
    files = [fn[:-3] + 'c' for fn in files if fn.endswith('pyx')]

if platform == 'android':
    # for android, we use SDL...
    libraries = ['sdl', 'log']
    library_dirs = ['libs/' + environ['ARCH']]
elif platform == 'darwin':
    import objc
    framework = objc.pathForFramework('JavaVM.framework')
    if not framework:
        raise Exception('You must install Java on your Mac OS X distro')
    extra_link_args = ['-framework', 'JavaVM']
    include_dirs = [join(framework, 'Versions/A/Headers')]
else:
    import subprocess
    # otherwise, we need to search the JDK_HOME
    jdk_home = environ.get('JDK_HOME')
    if not jdk_home:
        if platform == 'win32':
            env_var = environ.get('JAVA_HOME')
            if env_var and 'jdk' in env_var:
                jdk_home = env_var

                # Remove /bin if it's appended to JAVA_HOME
                if jdk_home[-3:] == 'bin':
                    jdk_home = jdk_home[:-4]
        else:
            jdk_home = subprocess.Popen('readlink -f `which javac` | sed "s:bin/javac::"',
                    shell=True, stdout=subprocess.PIPE).communicate()[0].strip()
    if not jdk_home or not exists(jdk_home):
        raise Exception('Unable to determine JDK_HOME')

    jre_home = environ.get('JRE_HOME')
    if exists(join(jdk_home, 'jre')):
        jre_home = join(jdk_home, 'jre')
    if not jre_home:
        jre_home = subprocess.Popen('readlink -f `which java` | sed "s:bin/java::"',
                shell=True, stdout=subprocess.PIPE).communicate()[0].strip()
    if not jre_home:
        raise Exception('Unable to determine JRE_HOME')
    cpu = 'amd64' if architecture()[0] == '64bit' else 'i386'

    if platform == 'win32':
        incl_dir = join(jdk_home, 'include', 'win32')
    else:
        incl_dir = join(jdk_home, 'include', 'linux')

    include_dirs = [
            join(jdk_home, 'include'),
            incl_dir]
    if platform == 'win32':
        library_dirs = [
                join(jdk_home, 'lib'),
                join(jre_home, 'bin', 'server')]
    else:
        library_dirs = [join(jre_home, 'lib', cpu, 'server')]
    extra_link_args = ['-Wl,-rpath', library_dirs[0]]
    libraries = ['jvm']

# generate the config.pxi
with open(join(dirname(__file__), 'jnius', 'config.pxi'), 'w') as fd:
    fd.write('DEF JNIUS_PLATFORM = {0!r}'.format(platform))

with open(join('jnius', '__init__.py')) as fd:
    versionline = [x for x in fd.readlines() if x.startswith('__version__')]
    version = versionline[0].split("'")[-2]

# create the extension
setup(name='jnius',
      version=version,
      cmdclass={'build_ext': build_ext},
      packages=['jnius'],
      py_modules=['jnius_config'],
      url='http://pyjnius.readthedocs.org/',
      author='Mathieu Virbel and Gabriel Pettier',
      author_email='mat@kivy.org,gabriel@kivy.org',
      license='LGPL',
      description='Python library to access Java classes',
      install_requires=install_requires,
      ext_package='jnius',
      ext_modules=[
          Extension(
              'jnius', [join('jnius', x) for x in files],
              libraries=libraries,
              library_dirs=library_dirs,
              include_dirs=include_dirs,
              extra_link_args=extra_link_args)
          ],
      classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Operating System :: MacOS :: MacOS X',
        'Operating System :: Microsoft :: Windows',
        'Operating System :: POSIX :: Linux',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Topic :: Software Development :: Libraries :: Application Frameworks'])
<|endoftext|>


<commit_before>"""setuptools setup module for oauth-dropins.

Docs:
https://packaging.python.org/en/latest/distributing.html
http://pythonhosted.org/setuptools/setuptools.html

Based on https://github.com/pypa/sampleproject/blob/master/setup.py
"""
from setuptools import setup, find_packages

setup(name='oauth-dropins',
      version='3.0',
      description='Drop-in App Engine OAuth client handlers for many popular sites.',
      long_description=open('README.md').read(),
      long_description_content_type='text/markdown',
      url='https://github.com/snarfed/oauth-dropins',
      packages=find_packages(),
      include_package_data = True,
      author='Ryan Barrett',
      author_email='oauth-dropins@ryanb.org',
      license='Public domain',
      classifiers=[
          'Development Status :: 5 - Production/Stable',
          'Intended Audience :: Developers',
          'Topic :: System :: Systems Administration :: Authentication/Directory',
          'Topic :: Software Development :: Libraries :: Python Modules',
          'Environment :: Web Environment',
          'License :: OSI Approved :: MIT License',
          'License :: Public Domain',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.5',
          'Programming Language :: Python :: 3.6',
          'Programming Language :: Python :: 3.7',
          'Programming Language :: Python :: 3.8',
      ],
      keywords='oauth appengine',
      install_requires=[
          'beautifulsoup4~=4.8',
          'cachetools>=3.1,<5.0',
          'gdata-python3~=3.0',
          'google-cloud-ndb~=1.2',
          'humanize>=0.5,<4.0',
          'jinja2~=2.10',
          'mf2py~=1.1,>=1.1.2',
          'mf2util>=0.5.0',
          'oauthlib~=3.1',
          'praw>=6.5,<8.0',
          'python-tumblpy~=1.1',
          'requests-oauthlib',
          'requests~=2.22',
          'tweepy~=3.7',
          'ujson>=1.35,<4.0',
          'urllib3~=1.14',
          'webapp2>=3.0.0b1',
      ],
      tests_require=['mox3>=0.28,<2.0'],
)
<commit_msg>Update ujson requirement from <4.0,>=1.35 to >=1.35,<5.0<commit_after>"""setuptools setup module for oauth-dropins.

Docs:
https://packaging.python.org/en/latest/distributing.html
http://pythonhosted.org/setuptools/setuptools.html

Based on https://github.com/pypa/sampleproject/blob/master/setup.py
"""
from setuptools import setup, find_packages

setup(name='oauth-dropins',
      version='3.0',
      description='Drop-in App Engine OAuth client handlers for many popular sites.',
      long_description=open('README.md').read(),
      long_description_content_type='text/markdown',
      url='https://github.com/snarfed/oauth-dropins',
      packages=find_packages(),
      include_package_data = True,
      author='Ryan Barrett',
      author_email='oauth-dropins@ryanb.org',
      license='Public domain',
      classifiers=[
          'Development Status :: 5 - Production/Stable',
          'Intended Audience :: Developers',
          'Topic :: System :: Systems Administration :: Authentication/Directory',
          'Topic :: Software Development :: Libraries :: Python Modules',
          'Environment :: Web Environment',
          'License :: OSI Approved :: MIT License',
          'License :: Public Domain',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.5',
          'Programming Language :: Python :: 3.6',
          'Programming Language :: Python :: 3.7',
          'Programming Language :: Python :: 3.8',
      ],
      keywords='oauth appengine',
      install_requires=[
          'beautifulsoup4~=4.8',
          'cachetools>=3.1,<5.0',
          'gdata-python3~=3.0',
          'google-cloud-ndb~=1.2',
          'humanize>=0.5,<4.0',
          'jinja2~=2.10',
          'mf2py~=1.1,>=1.1.2',
          'mf2util>=0.5.0',
          'oauthlib~=3.1',
          'praw>=6.5,<8.0',
          'python-tumblpy~=1.1',
          'requests-oauthlib',
          'requests~=2.22',
          'tweepy~=3.7',
          'ujson>=1.35,<5.0',
          'urllib3~=1.14',
          'webapp2>=3.0.0b1',
      ],
      tests_require=['mox3>=0.28,<2.0'],
)
<|endoftext|>


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

import os
import string
import subprocess
import sys
import warnings

#from distutils.core import setup
from setuptools import setup

MAJOR = 0
MINOR = 5
PATCH = 1

RELEASE = False

VERSION = "{0}.{1}.{2}".format(MAJOR, MINOR, PATCH)

if not RELEASE:
    try:
        try:
            pipe = subprocess.Popen(["git", "describe", "--dirty", "--tags"],
                                    stdout=subprocess.PIPE)
        except EnvironmentError:
            warnings.warn("WARNING: git not installed or failed to run")

        revision = pipe.communicate()[0].strip().lstrip('v')
        if pipe.returncode != 0:
            warnings.warn("WARNING: couldn't get git revision")

        if revision != VERSION:
            revision = revision.lstrip(string.digits + '.')
            VERSION += '.dev' + revision
    except:
        VERSION += '.dev'
        warnings.warn("WARNING: git not installed or failed to run")

def write_version():
    """writes the pycarddav/version.py file"""
    template = """\
__version__ = '{0}'
"""
    filename = os.path.join(
        os.path.dirname(__file__), 'pycarddav', 'version.py')
    with open(filename, 'w') as versionfile:
        versionfile.write(template.format(VERSION))
        print("wrote pycarddav/version.py with version={0}".format(VERSION))

write_version()

requirements = [
    'lxml',
    'vobject',
    'requests',
    'urwid',
    'pyxdg'
]
if sys.version_info[:2] in ((2, 6),):
    # there is no argparse in python2.6
    requirements.append('argparse')

setup(
    name='pyCardDAV',
    version=VERSION,
    description='A CardDAV based address book tool',
    long_description=open('README.rst').read(),
    author='Christian Geier',
    author_email='pycarddav@lostpackets.de',
    url='http://lostpackets.de/pycarddav/',
    license='Expat/MIT',
    packages=['pycarddav'],
    scripts=['bin/pycardsyncer', 'bin/pc_query', 'bin/pycard-import'],
    requires=requirements,
    install_requires=requirements,
    classifiers=[
        "Development Status :: 4 - Beta",
        "License :: OSI Approved :: MIT License",
        "Environment :: Console :: Curses",
        "Intended Audience :: End Users/Desktop",
        "Operating System :: POSIX",
        "Programming Language :: Python :: 2 :: Only",
        "Topic :: Utilities",
        "Topic :: Communications :: Email :: Address Book"
    ],
)
<commit_msg>0.5.1 release<commit_after>#!/usr/bin/env python2

import os
import string
import subprocess
import sys
import warnings

#from distutils.core import setup
from setuptools import setup

MAJOR = 0
MINOR = 5
PATCH = 1

RELEASE = True

VERSION = "{0}.{1}.{2}".format(MAJOR, MINOR, PATCH)

if not RELEASE:
    try:
        try:
            pipe = subprocess.Popen(["git", "describe", "--dirty", "--tags"],
                                    stdout=subprocess.PIPE)
        except EnvironmentError:
            warnings.warn("WARNING: git not installed or failed to run")

        revision = pipe.communicate()[0].strip().lstrip('v')
        if pipe.returncode != 0:
            warnings.warn("WARNING: couldn't get git revision")

        if revision != VERSION:
            revision = revision.lstrip(string.digits + '.')
            VERSION += '.dev' + revision
    except:
        VERSION += '.dev'
        warnings.warn("WARNING: git not installed or failed to run")

def write_version():
    """writes the pycarddav/version.py file"""
    template = """\
__version__ = '{0}'
"""
    filename = os.path.join(
        os.path.dirname(__file__), 'pycarddav', 'version.py')
    with open(filename, 'w') as versionfile:
        versionfile.write(template.format(VERSION))
        print("wrote pycarddav/version.py with version={0}".format(VERSION))

write_version()

requirements = [
    'lxml',
    'vobject',
    'requests',
    'urwid',
    'pyxdg'
]
if sys.version_info[:2] in ((2, 6),):
    # there is no argparse in python2.6
    requirements.append('argparse')

setup(
    name='pyCardDAV',
    version=VERSION,
    description='A CardDAV based address book tool',
    long_description=open('README.rst').read(),
    author='Christian Geier',
    author_email='pycarddav@lostpackets.de',
    url='http://lostpackets.de/pycarddav/',
    license='Expat/MIT',
    packages=['pycarddav'],
    scripts=['bin/pycardsyncer', 'bin/pc_query', 'bin/pycard-import'],
    requires=requirements,
    install_requires=requirements,
    classifiers=[
        "Development Status :: 4 - Beta",
        "License :: OSI Approved :: MIT License",
        "Environment :: Console :: Curses",
        "Intended Audience :: End Users/Desktop",
        "Operating System :: POSIX",
        "Programming Language :: Python :: 2 :: Only",
        "Topic :: Utilities",
        "Topic :: Communications :: Email :: Address Book"
    ],
)
<|endoftext|>


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

<commit_msg>Adds setup.py.<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

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

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

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

setup(
    name = 'ext_pylib',

    version = '0.1',

    description = 'Extra python libraries for scaffolding server scripts.',
    long_description = long_description,

    # The project's main homepage.
    url = 'https://github.com/hbradleyiii/ext_pylib',

    # Author details
    author = 'Harold Bradley III',
    author_email = 'harold@bradleystudio.net',

    # Choose your license
    license = 'GPL v2',

    # See https://pypi.python.org/pypi?%3Aaction = list_classifiers
    classifiers = [
        # How mature is this project? Common values are
        #   3 - Alpha
        #   4 - Beta
        #   5 - Production/Stable
        'Development Status :: 3 - Alpha',

        # Indicate who your project is intended for
        'Intended Audience :: Developers',
        'Topic :: Software Development :: Build Tools',

        # Pick your license as you wish (should match "license" above)
        'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',

        # Specify the Python versions you support here. In particular, ensure
        # that you indicate whether you support Python 2, Python 3 or both.
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
    ],

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

    # You can just specify the packages manually here if your project is
    # simple. Or you can use find_packages().
    packages = [
        'ext_pylib',
        'ext_pylib.domain',
        'ext_pylib.files',
        'ext_pylib.meta',
        'ext_pylib.password',
        'ext_pylib.prompt',
        'ext_pylib.user',
    ],

    # 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 = ['peppercorn'],

    # List additional groups of dependencies here (e.g. development
    # dependencies). You can install these using the following syntax,
    # for example:
    # $ pip install -e .[dev,test]
    extras_require = {
        'test': ['pytest'],
    },

    # If there are data files included in your packages that need to be
    # installed, specify them here.  If using Python 2.6 or less, then these
    # have to be included in MANIFEST.in as well.
    package_data = { },

    # Although 'package_data' is the preferred approach, in some case you may
    # need to place data files outside of your packages. See:
    # http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
    # In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
    data_files = [ ],

    # To provide executable scripts, use entry points in preference to the
    # "scripts" keyword. Entry points provide cross-platform support and allow
    # pip to create the appropriate form of executable for the target platform.
    entry_points = { },
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

setup(
    name='django-search-filter-sort',
    version='0.2.0',
    # find_packages() takes a source directory and two lists of package name patterns to exclude and include.
    # If omitted, the source directory defaults to the same directory as the setup script.
    packages=find_packages(),
    include_package_data=True,
    url='https://github.com/Macainian/Django-Search-Filter-Sort',
    license='MIT License',
    author='Keith Hostetler',
    author_email='robh@syscon-intl.com',
    description='Django app designed to help with the creation of list views with full functionality for searching, '
                'filtering, and sorting.',
    classifiers=[
        "Development Status :: 3 - Alpha",
        "License :: OSI Approved :: MIT License",
        "Intended Audience :: Developers",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
)<commit_msg>Fixed version number<commit_after>from setuptools import setup, find_packages

setup(
    name='django-search-filter-sort',
    version='0.1.10',
    # find_packages() takes a source directory and two lists of package name patterns to exclude and include.
    # If omitted, the source directory defaults to the same directory as the setup script.
    packages=find_packages(),
    include_package_data=True,
    url='https://github.com/Macainian/Django-Search-Filter-Sort',
    license='MIT License',
    author='Keith Hostetler',
    author_email='robh@syscon-intl.com',
    description='Django app designed to help with the creation of list views with full functionality for searching, '
                'filtering, and sorting.',
    classifiers=[
        "Development Status :: 3 - Alpha",
        "License :: OSI Approved :: MIT License",
        "Intended Audience :: Developers",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
)<|endoftext|>


<commit_before>#!/usr/bin/env python
# encoding: utf-8
#
# This file is part of ckanext-nhm
# Created by the Natural History Museum in London, UK

from collections import OrderedDict
from setuptools import find_packages, setup

__version__ = '3.0.0'

with open('README.md', 'r') as f:
    __long_description__ = f.read()

def github(name, tag, org='NaturalHistoryMuseum'):
    return name, f'git+https://github.com/{org}/{name}@{tag}#egg={name}'

ckan_extensions = OrderedDict([
    # note that this version must be kept up to date with the version in the docker/Dockerfile
    github('ckanext-dcat', 'v1.1.0', org='ckan'),
    # the latest josh/ckan-upgrade-2.9 branch for each of these should be compatible with python3
    github('ckanext-ckanpackager', 'josh/ckan-upgrade-2.9'),
    github('ckanext-contact', 'josh/ckan-upgrade-2.9'),
    github('ckanext-doi', 'josh/ckan-upgrade-2.9'),
    github('ckanext-gallery', 'josh/ckan-upgrade-2.9'),
    github('ckanext-gbif', 'josh/ckan-upgrade-2.9'),
    github('ckanext-graph', 'josh/ckan-upgrade-2.9'),
    github('ckanext-ldap', 'josh/ckan-upgrade-2.9'),
    github('ckanext-query-dois', 'josh/ckan-upgrade-2.9'),
    github('ckanext-statistics', 'josh/ckan-upgrade-2.9'),
    github('ckanext-versioned-datastore', 'josh/ckan-upgrade-2.9'),
])

setup(
    name='ckanext-nhm',
    version=__version__,
    description='A CKAN extension for the Natural History Museum\'s Data Portal.',
    long_description=__long_description__,
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3 :: Only',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: 3.8',
    ],
    keywords='CKAN data nhm',
    author='Natural History Museum',
    author_email='data@nhm.ac.uk',
    url='https://github.com/NaturalHistoryMuseum/ckanext-nhm',
    license='GNU GPLv3',
    packages=find_packages(exclude=['tests']),
    namespace_packages=['ckanext', 'ckanext.nhm'],
    include_package_data=True,
    zip_safe=False,
    install_requires=[
        'lxml>=3.4.4',
        'elasticsearch-dsl>=6.0.0,<7.0.0',
        # extensions we need to be installed too
    ] + [f'{name} @ {repo}' for (name, repo) in ckan_extensions.items()],
    dependency_links=list(ckan_extensions.values()),
    entry_points='''
        [ckan.plugins]
            nhm=ckanext.nhm.plugin:NHMPlugin

        [ckan.rdf.profiles]
            nhm_dcat=ckanext.nhm.dcat.profiles:NHMDCATProfile
        ''',
)
<commit_msg>Update extension dependencies<commit_after>#!/usr/bin/env python
# encoding: utf-8
#
# This file is part of ckanext-nhm
# Created by the Natural History Museum in London, UK

from collections import OrderedDict
from setuptools import find_packages, setup

__version__ = '3.0.0'

with open('README.md', 'r') as f:
    __long_description__ = f.read()

def github(name, tag, org='NaturalHistoryMuseum'):
    return name, f'git+https://github.com/{org}/{name}@{tag}#egg={name}'

ckan_extensions = OrderedDict([
    github('ckanext-dcat', '6b7ec505f303fb18e0eebcebf67130d36b3dca82', org='ckan'),
    github('ckanext-ckanpackager', 'v2.0.0'),
    github('ckanext-contact', 'v2.0.0'),
    github('ckanext-doi', 'v3.0.0'),
    github('ckanext-gallery', 'v2.0.0'),
    github('ckanext-gbif', 'v2.0.0'),
    github('ckanext-graph', 'v2.0.0'),
    github('ckanext-ldap', 'v3.0.0'),
    github('ckanext-query-dois', 'v2.0.0'),
    github('ckanext-statistics', 'v2.0.0'),
    github('ckanext-versioned-datastore', 'v2.0.0'),
])

setup(
    name='ckanext-nhm',
    version=__version__,
    description='A CKAN extension for the Natural History Museum\'s Data Portal.',
    long_description=__long_description__,
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3 :: Only',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: 3.8',
    ],
    keywords='CKAN data nhm',
    author='Natural History Museum',
    author_email='data@nhm.ac.uk',
    url='https://github.com/NaturalHistoryMuseum/ckanext-nhm',
    license='GNU GPLv3',
    packages=find_packages(exclude=['tests']),
    namespace_packages=['ckanext', 'ckanext.nhm'],
    include_package_data=True,
    zip_safe=False,
    install_requires=[
        'lxml>=3.4.4',
        'elasticsearch-dsl>=6.0.0,<7.0.0',
        # extensions we need to be installed too
    ] + [f'{name} @ {repo}' for (name, repo) in ckan_extensions.items()],
    dependency_links=list(ckan_extensions.values()),
    entry_points='''
        [ckan.plugins]
            nhm=ckanext.nhm.plugin:NHMPlugin

        [ckan.rdf.profiles]
            nhm_dcat=ckanext.nhm.dcat.profiles:NHMDCATProfile
        ''',
)
<|endoftext|>


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

import os
from setuptools import setup, find_packages

def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

__version__ = "1.2.6"

packages = find_packages(exclude=("GPyOpt.testing",))
setup(name = 'GPyOpt',
      version = __version__,
      author = read('AUTHORS.txt'),
      author_email = "j.h.gonzalez@sheffield.ac.uk",
      description = "The Bayesian Optimization Toolbox",
      long_description=read('README.md'),
      long_description_content_type='text/markdown',
      license = "BSD 3-clause",
      keywords = "machine-learning gaussian-processes kernels optimization",
      url = "http://sheffieldml.github.io/GPyOpt/",
      packages = packages,
      package_dir = {'GPyOpt': 'GPyOpt'},
      include_package_data = True,
      py_modules = ['GPyOpt.__init__'],
      install_requires = ['numpy>=1.7', 'scipy>=0.16', 'GPy>=1.8'],
      extras_require = {'optimizer':['DIRECT','cma','pyDOE','sobol_seq','emcee'],'docs':['matplotlib >=1.3','Sphinx','IPython']},
      classifiers=['License :: OSI Approved :: BSD License',
                   'Natural Language :: English',
                   'Operating System :: MacOS :: MacOS X',
                   'Operating System :: Microsoft :: Windows',
                   'Operating System :: POSIX :: Linux',
                   'Programming Language :: Python :: 2.7',
                   'Topic :: Scientific/Engineering :: Artificial Intelligence'],
      scripts=['gpyopt.py'],
     )
<commit_msg>Fix the author names in setup.py<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os
from setuptools import setup, find_packages

def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

__version__ = "1.2.6"

packages = find_packages(exclude=("GPyOpt.testing",))
setup(name = 'GPyOpt',
      version = __version__,
      author = read('AUTHORS.txt').replace('\n', ', ').replace('-', ''),
      author_email = "j.h.gonzalez@sheffield.ac.uk",
      description = "The Bayesian Optimization Toolbox",
      long_description = read('README.md'),
      long_description_content_type = 'text/markdown',
      license = "BSD 3-clause",
      keywords = "machine-learning gaussian-processes kernels optimization",
      url = "http://sheffieldml.github.io/GPyOpt/",
      packages = packages,
      package_dir = {'GPyOpt': 'GPyOpt'},
      include_package_data = True,
      py_modules = ['GPyOpt.__init__'],
      install_requires = ['numpy>=1.7', 'scipy>=0.16', 'GPy>=1.8'],
      extras_require = {'optimizer':['DIRECT','cma','pyDOE','sobol_seq','emcee'],'docs':['matplotlib >=1.3','Sphinx','IPython']},
      classifiers=['License :: OSI Approved :: BSD License',
                   'Natural Language :: English',
                   'Operating System :: MacOS :: MacOS X',
                   'Operating System :: Microsoft :: Windows',
                   'Operating System :: POSIX :: Linux',
                   'Programming Language :: Python :: 2.7',
                   'Topic :: Scientific/Engineering :: Artificial Intelligence'],
      scripts=['gpyopt.py'],
     )
<|endoftext|>


<commit_before># Use the newer `setuptools.setup()`, if available.
try:
    from setuptools import setup
    kw = {
        'test_suite': 'tests',
        'tests_require': ['astunparse'],
    }
except ImportError:
    from distutils.core import setup
    kw = {}

setup(name='gast',  # gast, daou naer!
      version='0.2.1post1',
      packages=['gast'],
      description='Python AST that abstracts the underlying Python version',
      long_description='''
A generic AST to represent Python2 and Python3's Abstract Syntax Tree(AST).

GAST provides a compatibility layer between the AST of various Python versions,
as produced by ``ast.parse`` from the standard ``ast`` module.''',
      author='serge-sans-paille',
      author_email='serge.guelton@telecom-bretagne.eu',
      url='https://github.com/serge-sans-paille/gast/',
      license="BSD 3-Clause",
      classifiers=['Development Status :: 4 - Beta',
                   'Environment :: Console',
                   'Intended Audience :: Developers',
                   'License :: OSI Approved :: BSD License',
                   'Natural Language :: English',
                   'Programming Language :: Python :: 2',
                   'Programming Language :: Python :: 2.7',
                   'Programming Language :: Python :: 3',
                   'Programming Language :: Python :: 3.4',
                   'Programming Language :: Python :: 3.5',
                   'Programming Language :: Python :: 3.6',
                   ],
      python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
      **kw
      )
<commit_msg>Version bump<commit_after># Use the newer `setuptools.setup()`, if available.
try:
    from setuptools import setup
    kw = {
        'test_suite': 'tests',
        'tests_require': ['astunparse'],
    }
except ImportError:
    from distutils.core import setup
    kw = {}

setup(name='gast',  # gast, daou naer!
      version='0.2.2',
      packages=['gast'],
      description='Python AST that abstracts the underlying Python version',
      long_description='''
A generic AST to represent Python2 and Python3's Abstract Syntax Tree(AST).

GAST provides a compatibility layer between the AST of various Python versions,
as produced by ``ast.parse`` from the standard ``ast`` module.''',
      author='serge-sans-paille',
      author_email='serge.guelton@telecom-bretagne.eu',
      url='https://github.com/serge-sans-paille/gast/',
      license="BSD 3-Clause",
      classifiers=['Development Status :: 4 - Beta',
                   'Environment :: Console',
                   'Intended Audience :: Developers',
                   'License :: OSI Approved :: BSD License',
                   'Natural Language :: English',
                   'Programming Language :: Python :: 2',
                   'Programming Language :: Python :: 2.7',
                   'Programming Language :: Python :: 3',
                   'Programming Language :: Python :: 3.4',
                   'Programming Language :: Python :: 3.5',
                   'Programming Language :: Python :: 3.6',
                   ],
      python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
      **kw
      )
<|endoftext|>


<commit_before>import re
from setuptools import setup, find_packages

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

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

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

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

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

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

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

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

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

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

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

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


<commit_before>from setuptools import setup

setup(
    name='overpass',
    packages=['overpass'],
    version='0.5.7',
    description='Python wrapper for the OpenStreetMap Overpass API',
    long_description='See README.md',
    author='Martijn van Exel',
    author_email='m@rtijn.org',
    url='https://github.com/mvexel/overpass-api-python-wrapper',
    license='Apache',
    keywords=['openstreetmap', 'overpass', 'wrapper'],
    classifiers=[
        'License :: OSI Approved :: Apache Software License',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Topic :: Scientific/Engineering :: GIS',
        'Topic :: Utilities',
    ],
    install_requires=['requests>=2.3.0', 'geojson>=1.0.9'],
    extras_require={
        'test': ['pytest'],
    }
)
<commit_msg>bump to 0.6.0<commit_after>from setuptools import setup

setup(
    name='overpass',
    packages=['overpass'],
    version='0.6.0',
    description='Python wrapper for the OpenStreetMap Overpass API',
    long_description='See README.md',
    author='Martijn van Exel',
    author_email='m@rtijn.org',
    url='https://github.com/mvexel/overpass-api-python-wrapper',
    license='Apache',
    keywords=['openstreetmap', 'overpass', 'wrapper'],
    classifiers=[
        'License :: OSI Approved :: Apache Software License',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Topic :: Scientific/Engineering :: GIS',
        'Topic :: Utilities',
    ],
    install_requires=['requests>=2.3.0', 'geojson>=1.0.9'],
    extras_require={
        'test': ['pytest'],
    }
)
<|endoftext|>


<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
The setup script for napalm-logs
'''
import uuid

from setuptools import setup, find_packages
from pip.req import parse_requirements

__author__ = 'Mircea Ulinic <mircea.ulinic@gmail.com>'

install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
reqs = [str(ir.req) for ir in install_reqs]

setup(
    name='napalm-logs',
    version='0.0.1b4',
    packages=find_packages(),
    author='Mircea Ulinic',
    author_email='mircea.ulinic@gmail.com',
    description='Network Automation and Programmability Abstraction Layer with Multivendor support: syslog parser',
    classifiers=[
        'Topic :: Utilities',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Operating System :: POSIX :: Linux',
        'Operating System :: POSIX :: Linux',
        'Operating System :: MacOS',
    ],
    url='https://github.com/napalm-automation/napalm-logs',
    include_package_data=True,
    install_requires=reqs,
    entry_points={
        'console_scripts': [
            'napalm-logs=napalm_logs.scripts.cli:napalm_logs_engine'
        ],
    }
)
<commit_msg>Version 0.0.1b5<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
The setup script for napalm-logs
'''
import uuid

from setuptools import setup, find_packages
from pip.req import parse_requirements

__author__ = 'Mircea Ulinic <mircea.ulinic@gmail.com>'

install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
reqs = [str(ir.req) for ir in install_reqs]

setup(
    name='napalm-logs',
    version='0.0.1b5',
    packages=find_packages(),
    author='Mircea Ulinic',
    author_email='mircea.ulinic@gmail.com',
    description='Network Automation and Programmability Abstraction Layer with Multivendor support: syslog parser',
    classifiers=[
        'Topic :: Utilities',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Operating System :: POSIX :: Linux',
        'Operating System :: POSIX :: Linux',
        'Operating System :: MacOS',
    ],
    url='https://github.com/napalm-automation/napalm-logs',
    include_package_data=True,
    install_requires=reqs,
    entry_points={
        'console_scripts': [
            'napalm-logs=napalm_logs.scripts.cli:napalm_logs_engine'
        ],
    }
)
<|endoftext|>


<commit_before>import subprocess
import sys
from distutils.core import setup, Command

class TestCommand(Command):
    user_options = []

    def initialize_options(self):
        pass

    def finalize_options(self):
        pass

    def run(self):
        errno = subprocess.call([sys.executable, 'test_facebook.py'])
        raise SystemExit(errno)

setup(
    name='facebook-ads-api',
    version='0.1.49',
    author='Chee-Hyung Yoon',
    author_email='yoonchee@gmail.com',
    py_modules=['facebook', ],
    url='http://github.com/narrowcast/facebook-ads-api',
    license='LICENSE',
    description='Python client for the Facebook Ads API',
    long_description=open('README.md').read(),
    cmdclass={'test': TestCommand},
)
<commit_msg>Bump up version number.<commit_after>import subprocess
import sys
from distutils.core import setup, Command

class TestCommand(Command):
    user_options = []

    def initialize_options(self):
        pass

    def finalize_options(self):
        pass

    def run(self):
        errno = subprocess.call([sys.executable, 'test_facebook.py'])
        raise SystemExit(errno)

setup(
    name='facebook-ads-api',
    version='0.1.50',
    author='Chee-Hyung Yoon',
    author_email='yoonchee@gmail.com',
    py_modules=['facebook', ],
    url='http://github.com/narrowcast/facebook-ads-api',
    license='LICENSE',
    description='Python client for the Facebook Ads API',
    long_description=open('README.md').read(),
    cmdclass={'test': TestCommand},
)
<|endoftext|>


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

# -----------------------------------------------------------------------------
# Copyright (c) 2013, The Qiita Development Team.
#
# Distributed under the terms of the BSD 3-clause License.
#
# The full license is in the file LICENSE, distributed with this software.
# -----------------------------------------------------------------------------
from setuptools import setup
from glob import glob

__version__ = "0.2.0-dev"

classes = """
    Development Status :: 3 - Alpha
    License :: OSI Approved :: BSD License
    Topic :: Scientific/Engineering :: Bio-Informatics
    Topic :: Software Development :: Libraries :: Application Frameworks
    Topic :: Software Development :: Libraries :: Python Modules
    Programming Language :: Python
    Programming Language :: Python :: 3.6
    Programming Language :: Python :: Implementation :: CPython
    Operating System :: POSIX :: Linux
    Operating System :: MacOS :: MacOS X
"""

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

classifiers = [s.strip() for s in classes.split('\n') if s]

setup(name='qiita-spots',
      version=__version__,
      long_description=long_description,
      license="BSD",
      description='Qiita: Spot Patterns',
      author="Qiita development team",
      author_email="qiita.help@gmail.com",
      url='https://github.com/biocore/qiita',
      test_suite='nose.collector',
      packages=['qiita_core',
                'qiita_db',
                'qiita_db/handlers',
                'qiita_db/metadata_template',
                'qiita_pet',
                'qiita_pet/handlers',
                'qiita_pet/handlers/study_handlers',
                'qiita_pet/handlers/api_proxy',
                'qiita_ware'
                ],
      include_package_data=True,
      package_data={
          'qiita_core': [
              'support_files/config_test.cfg'
              'support_files/server.crt',
              'support_files/server.csr',
              'support_files/server.key'
            ],
          'qiita_db': [
              'support_files/*.sql',
              'support_files/patches/*.sql',
              'support_files/patches/python_patches/*.py',
              'support_files/test_data/preprocessed_data/*',
              'support_files/test_data/processed_data/*',
              'support_files/test_data/raw_data/*',
              'support_files/test_data/analysis/*',
              'support_files/test_data/reference/*',
              'support_files/test_data/job/*.txt',
              'support_files/test_data/job/2_test_folder/*',
              'support_files/test_data/uploads/1/a_folder/*.txt',
              'support_files/test_data/uploads/1/.hidden_file.txt',
              'support_files/test_data/uploads/1/uploaded_file.txt',
              'support_files/test_data/templates/*',
              'support_files/work_data/*'],
          'qiita_pet': [
              'static/css/*.css', 'static/img/*.png',
              'static/img/*.gif', 'static/img/*.ico',
              'static/js/*.js', 'static/vendor/css/*.css',
              'static/vendor/css/images/*.png',
              'static/vendor/css/*.png',
              'static/vendor/fonts/glyphicons*.*',
              'static/vendor/images/*.png',
              'static/vendor/js/*.js',
              'results/admin/jobname/*.html',
              'templates/*.html',
              'support_files/config_portal.cfg',
              'support_files/doc/Makefile',
              'support_files/doc/README.md',
              'support_files/doc/source/conf.py',
              'support_files/doc/source/*.rst',
              'support_files/doc/source/tutorials/*.rst',
              'support_files/doc/source/admin/*.rst',
              'support_files/doc/source/dev/*.rst',
              'support_files/doc/source/qiita-philosophy/*.rst',
              'support_files/doc/source/admin/images/*.png',
              'support_files/doc/source/tutorials/images/*.png',
              'support_files/doc/source/qiita-philosophy/images/*.png',
              'support_files/doc/source/_static/*.png'
              ]},
      scripts=glob('scripts/*'),
      # making sure that numpy is installed before biom
      setup_requires=['numpy'],
      # psycopg2 2.7 has substantial changes to the code base so let's stick
      # to 2.6
      install_requires=['psycopg2<2.7', 'click', 'future', 'bcrypt', 'pandas',
                        'biom-format', 'tornado<6.0', 'toredis', 'redis',
                        'scp', 'pyparsing', 'h5py',  'natsort', 'nose', 'pep8',
                        'networkx', 'humanize', 'scikit-bio', 'wtforms',
                        'openpyxl', 'sphinx-bootstrap-theme', 'Sphinx', 'nltk',
                        'gitpython', 'redbiom', 'pyzmq', 'sphinx_rtd_theme',
                        'paramiko', 'seaborn',  'matplotlib', 'scipy', 'nose',
                        'flake8', 'six', 'qiita-files @ https://github.com/'
                        'qiita-spots/qiita-files/archive/master.zip', 'mock',
                        'supervisor @ https://github.com/Supervisor/'
                        'supervisor/archive/master.zip'],
      classifiers=classifiers
      )
<commit_msg>latest psycopg2<commit_after>#!/usr/bin/env python

# -----------------------------------------------------------------------------
# Copyright (c) 2013, The Qiita Development Team.
#
# Distributed under the terms of the BSD 3-clause License.
#
# The full license is in the file LICENSE, distributed with this software.
# -----------------------------------------------------------------------------
from setuptools import setup
from glob import glob

__version__ = "0.2.0-dev"

classes = """
    Development Status :: 3 - Alpha
    License :: OSI Approved :: BSD License
    Topic :: Scientific/Engineering :: Bio-Informatics
    Topic :: Software Development :: Libraries :: Application Frameworks
    Topic :: Software Development :: Libraries :: Python Modules
    Programming Language :: Python
    Programming Language :: Python :: 3.6
    Programming Language :: Python :: Implementation :: CPython
    Operating System :: POSIX :: Linux
    Operating System :: MacOS :: MacOS X
"""

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

classifiers = [s.strip() for s in classes.split('\n') if s]

setup(name='qiita-spots',
      version=__version__,
      long_description=long_description,
      license="BSD",
      description='Qiita: Spot Patterns',
      author="Qiita development team",
      author_email="qiita.help@gmail.com",
      url='https://github.com/biocore/qiita',
      test_suite='nose.collector',
      packages=['qiita_core',
                'qiita_db',
                'qiita_db/handlers',
                'qiita_db/metadata_template',
                'qiita_pet',
                'qiita_pet/handlers',
                'qiita_pet/handlers/study_handlers',
                'qiita_pet/handlers/api_proxy',
                'qiita_ware'
                ],
      include_package_data=True,
      package_data={
          'qiita_core': [
              'support_files/config_test.cfg'
              'support_files/server.crt',
              'support_files/server.csr',
              'support_files/server.key'
            ],
          'qiita_db': [
              'support_files/*.sql',
              'support_files/patches/*.sql',
              'support_files/patches/python_patches/*.py',
              'support_files/test_data/preprocessed_data/*',
              'support_files/test_data/processed_data/*',
              'support_files/test_data/raw_data/*',
              'support_files/test_data/analysis/*',
              'support_files/test_data/reference/*',
              'support_files/test_data/job/*.txt',
              'support_files/test_data/job/2_test_folder/*',
              'support_files/test_data/uploads/1/a_folder/*.txt',
              'support_files/test_data/uploads/1/.hidden_file.txt',
              'support_files/test_data/uploads/1/uploaded_file.txt',
              'support_files/test_data/templates/*',
              'support_files/work_data/*'],
          'qiita_pet': [
              'static/css/*.css', 'static/img/*.png',
              'static/img/*.gif', 'static/img/*.ico',
              'static/js/*.js', 'static/vendor/css/*.css',
              'static/vendor/css/images/*.png',
              'static/vendor/css/*.png',
              'static/vendor/fonts/glyphicons*.*',
              'static/vendor/images/*.png',
              'static/vendor/js/*.js',
              'results/admin/jobname/*.html',
              'templates/*.html',
              'support_files/config_portal.cfg',
              'support_files/doc/Makefile',
              'support_files/doc/README.md',
              'support_files/doc/source/conf.py',
              'support_files/doc/source/*.rst',
              'support_files/doc/source/tutorials/*.rst',
              'support_files/doc/source/admin/*.rst',
              'support_files/doc/source/dev/*.rst',
              'support_files/doc/source/qiita-philosophy/*.rst',
              'support_files/doc/source/admin/images/*.png',
              'support_files/doc/source/tutorials/images/*.png',
              'support_files/doc/source/qiita-philosophy/images/*.png',
              'support_files/doc/source/_static/*.png'
              ]},
      scripts=glob('scripts/*'),
      # making sure that numpy is installed before biom
      setup_requires=['numpy'],
      install_requires=['psycopg2', 'click', 'future', 'bcrypt', 'pandas',
                        'biom-format', 'tornado<6.0', 'toredis', 'redis',
                        'scp', 'pyparsing', 'h5py',  'natsort', 'nose', 'pep8',
                        'networkx', 'humanize', 'scikit-bio', 'wtforms',
                        'openpyxl', 'sphinx-bootstrap-theme', 'Sphinx', 'nltk',
                        'gitpython', 'redbiom', 'pyzmq', 'sphinx_rtd_theme',
                        'paramiko', 'seaborn',  'matplotlib', 'scipy', 'nose',
                        'flake8', 'six', 'qiita-files @ https://github.com/'
                        'qiita-spots/qiita-files/archive/master.zip', 'mock',
                        'supervisor @ https://github.com/Supervisor/'
                        'supervisor/archive/master.zip'],
      classifiers=classifiers
      )
<|endoftext|>


<commit_before>import codecs
try:
    from setuptools import setup, find_packages
    extra_setup = dict(
        install_requires=[
            'PyYAML',
            'epyparse',
            'epydoc',
        ],
        test_suite='nose.collector',
        tests_require=['nose', 'mock'],
    )
except ImportError:
    from distutils.core import setup
    extra_setup = dict(
        requires=[
            'PyYAML',
            'epyparse',
            'epydoc',
        ],
    )

setup(
    name='sphinx-autoapi',
    version='0.1.0',
    author='Eric Holscher',
    author_email='eric@ericholscher.com',
    url='http://github.com/ericholscher/sphinx-autoapi',
    license='BSD',
    description='',
    package_dir={'': '.'},
    packages=find_packages('.'),
    long_description=codecs.open("README.rst", "r", "utf-8").read(),
    # trying to add files...
    include_package_data=True,
    package_data={
        'autoapi': [
            'templates/*.rst',
            'templates/*/*.rst',
        ],
    },
    **extra_setup
)
<commit_msg>More futzing<commit_after>import codecs
try:
    from setuptools import setup, find_packages
    extra_setup = dict(
        install_requires=[
            'PyYAML',
            'epyparse',
            'epydoc',
        ],
        test_suite='nose.collector',
        tests_require=['nose', 'mock'],
    )
except ImportError:
    from distutils.core import setup
    extra_setup = dict(
        requires=[
            'PyYAML',
            'epyparse',
            'epydoc',
        ],
    )

setup(
    name='sphinx-autoapi',
    version='0.1.0',
    author='Eric Holscher',
    author_email='eric@ericholscher.com',
    url='http://github.com/ericholscher/sphinx-autoapi',
    license='BSD',
    description='',
    packages=['autoapi'],
    long_description=codecs.open("README.rst", "r", "utf-8").read(),
    # trying to add files...
    include_package_data=True,
    package_data={
        'autoapi': [
            'templates/*.rst',
            'templates/*/*.rst',
        ],
    },
    **extra_setup
)
<|endoftext|>


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

import os
import sys
import subprocess

from setuptools import setup, find_packages

if not os.path.exists('./xcffib'):
    print("It looks like you need to generate the binding.")
    print("please run 'make xcffib' or 'make check'.")
    sys.exit(1)

# version = subprocess.check_output(['git', 'describe', '--tags'])

setup(
    name="xcffib",
    version="prerelease",
    description="A drop in replacement for xpyb, an XCB python binding",
    keywords="xcb xpyb cffi x11 x windows",
    license="MIT",
    install_requires=['six', 'cffi>=0.8.2'],
    packages= ['xcffib'],
)
<commit_msg>don't require users to have a C compiler<commit_after>#!/usr/bin/env python

import os
import sys
import subprocess

from setuptools import setup, find_packages

if not os.path.exists('./xcffib'):
    print("It looks like you need to generate the binding.")
    print("please run 'make xcffib' or 'make check'.")
    sys.exit(1)

# version = subprocess.check_output(['git', 'describe', '--tags'])

import xcffib

setup(
    name="xcffib",
    version="prerelease",
    description="A drop in replacement for xpyb, an XCB python binding",
    keywords="xcb xpyb cffi x11 x windows",
    license="MIT",
    install_requires=['six', 'cffi>=0.8.2'],
    packages=['xcffib'],
    zip_safe=False,
    ext_modules=[xcffib.ffi.verifier.get_extension()],
)
<|endoftext|>


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

from distutils.core import setup
setup(
    name='py2docx',
    version='0.1',
    description='Write .docx documents using Python Code',
    long_description="",
    keywords=['docx', 'word', 'microsoft word'],
    author='Rafael Soares',
    author_email='rafaeltravel88@gmail.com',
    url='http://github.com/rafaels88/py2docx',
    license='MIT',
    packages=['py2docx', 'py2docx.elements', 'py2docx.tmp'],
    include_package_data=True,
    install_requires=['PIL>=1.0']
)
<commit_msg>Changing version on setup.py<commit_after>#!/usr/bin/env python

from distutils.core import setup
setup(
    name='py2docx',
    version='0.1.1',
    description='Write .docx documents using Python Code',
    long_description="",
    keywords=['docx', 'word', 'microsoft word'],
    author='Rafael Soares',
    author_email='rafaeltravel88@gmail.com',
    url='http://github.com/rafaels88/py2docx',
    license='MIT',
    packages=['py2docx', 'py2docx.elements', 'py2docx.tmp'],
    include_package_data=True,
    install_requires=['PIL>=1.0']
)
<|endoftext|>


<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
# file: $Id$
# auth: Philip J Grabner <grabner@cadit.com>
# date: 2013/07/03
# copy: (C) Copyright 2013 Cadit Inc., see LICENSE.txt
#------------------------------------------------------------------------------

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

# require python 2.7+
assert(sys.version_info[0] > 2
       or sys.version_info[0] == 2
       and sys.version_info[1] >= 7)

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

test_requires = [
  'nose                 >= 1.2.1',
  'coverage             >= 3.5.3',
  ]

requires = [
  'distribute           >= 0.6.24',
  'PyYAML               >= 3.10',
  # TODO: make these only dependencies if they are actually wanted...
  'SQLAlchemy           >= 0.8.1',
  'Mako                 >= 0.7.2',
  'MarkupSafe           >= 0.15',
  'pystache             >= 0.5.3',
  # 'Markdown             >= 2.3.1',
  ]

entrypoints = {
  'console_scripts': [
    'ta-eval            = templatealchemy.cli:main',
    ],
  }

setup(
  name                  = 'TemplateAlchemy',
  version               = '0.1.8',
  description           = 'An un-opinionated template abstraction layer',
  long_description      = README,
  classifiers           = [
    'Development Status :: 4 - Beta',
    'Intended Audience :: Developers',
    'Programming Language :: Python',
    'Operating System :: OS Independent',
    'Topic :: Software Development',
    'Natural Language :: English',
    'License :: OSI Approved :: MIT License',
    'License :: Public Domain',
    ],
  author                = 'Philip J Grabner, Cadit Health Inc',
  author_email          = 'oss@cadit.com',
  url                   = 'http://github.com/cadithealth/templatealchemy',
  keywords              = 'template unopinionated abstraction layer sqlalchemy mako mustache',
  packages              = find_packages(),
  namespace_packages    = ['templatealchemy'],
  include_package_data  = True,
  zip_safe              = True,
  install_requires      = requires,
  tests_require         = test_requires,
  test_suite            = 'templatealchemy',
  entry_points          = entrypoints,
  license               = 'MIT (http://opensource.org/licenses/MIT)',
  )

#------------------------------------------------------------------------------
# end of $Id$
#------------------------------------------------------------------------------
<commit_msg>corrected namespace declaration<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
#------------------------------------------------------------------------------
# file: $Id$
# auth: Philip J Grabner <grabner@cadit.com>
# date: 2013/07/03
# copy: (C) Copyright 2013 Cadit Inc., see LICENSE.txt
#------------------------------------------------------------------------------

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

# require python 2.7+
assert(sys.version_info[0] > 2
       or sys.version_info[0] == 2
       and sys.version_info[1] >= 7)

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

test_requires = [
  'nose                 >= 1.2.1',
  'coverage             >= 3.5.3',
  ]

requires = [
  'distribute           >= 0.6.24',
  'PyYAML               >= 3.10',
  # TODO: make these only dependencies if they are actually wanted...
  'SQLAlchemy           >= 0.8.1',
  'Mako                 >= 0.7.2',
  'MarkupSafe           >= 0.15',
  'pystache             >= 0.5.3',
  # 'Markdown             >= 2.3.1',
  ]

entrypoints = {
  'console_scripts': [
    'ta-eval            = templatealchemy.cli:main',
    ],
  }

setup(
  name                  = 'TemplateAlchemy',
  version               = '0.1.9',
  description           = 'An un-opinionated template abstraction layer',
  long_description      = README,
  classifiers           = [
    'Development Status :: 4 - Beta',
    'Intended Audience :: Developers',
    'Programming Language :: Python',
    'Operating System :: OS Independent',
    'Topic :: Software Development',
    'Natural Language :: English',
    'License :: OSI Approved :: MIT License',
    'License :: Public Domain',
    ],
  author                = 'Philip J Grabner, Cadit Health Inc',
  author_email          = 'oss@cadit.com',
  url                   = 'http://github.com/cadithealth/templatealchemy',
  keywords              = 'template unopinionated abstraction layer sqlalchemy mako mustache',
  packages              = find_packages(),
  namespace_packages    = ['templatealchemy.driver'],
  include_package_data  = True,
  zip_safe              = True,
  install_requires      = requires,
  tests_require         = test_requires,
  test_suite            = 'templatealchemy',
  entry_points          = entrypoints,
  license               = 'MIT (http://opensource.org/licenses/MIT)',
  )

#------------------------------------------------------------------------------
# end of $Id$
#------------------------------------------------------------------------------
<|endoftext|>


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

__title__ = 'sherlock'
__version__ = '.'.join(map(str, (0, 0, 0)))
__author__ = 'Vaidik Kapoor'

import os

# get path of repo files
path = lambda fname: os.path.join(os.path.dirname(__file__), fname)

description = ''
for file_ in ('README.rst', 'CHANGELOG.rst'):
    with open(path('%s' % file_)) as f:
        description += f.read() + '\n\n'

setup(
    name='sherlock',
    version=__version__,
    author='Vaidik Kapoor',
    author_email='kapoor.vaidik@gmail.com',
    description=('Distributed inter-process locks with a choice of backend.'),
    long_description=description,
    platforms=('Any',),
    packages=find_packages(exclude=['tests']),
    include_package_data=True,
    install_requires=[
        'redis',
        'python-etcd',
        'pylibmc',
    ],
    zip_safe = False,
    classifiers = [
        'Development Status :: 5 - Production/Stable',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
    ],
    test_suite='nose.collector',
    tests_require=[
        'nose',
        'mock',
    ]
)
<commit_msg>add more classifiers for pypi<commit_after>try:
    from setuptools import setup, find_packages
except ImportError:
    from distribute_setup import use_setuptools
    use_setuptools()
    from setuptools import setup, find_packages

__title__ = 'sherlock'
__version__ = '.'.join(map(str, (0, 0, 0)))
__author__ = 'Vaidik Kapoor'

import os

# get path of repo files
path = lambda fname: os.path.join(os.path.dirname(__file__), fname)

description = ''
for file_ in ('README.rst', 'CHANGELOG.rst'):
    with open(path('%s' % file_)) as f:
        description += f.read() + '\n\n'

setup(
    name='sherlock',
    version=__version__,
    author='Vaidik Kapoor',
    author_email='kapoor.vaidik@gmail.com',
    description=('Distributed inter-process locks with a choice of backend.'),
    long_description=description,
    platforms=('Any',),
    packages=find_packages(exclude=['tests']),
    include_package_data=True,
    install_requires=[
        'redis',
        'python-etcd',
        'pylibmc',
    ],
    zip_safe = False,
    classifiers = [
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python',
    ],
    test_suite='nose.collector',
    tests_require=[
        'nose',
        'mock',
    ]
)
<|endoftext|>


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

from setuptools import setup

setup(
    name='rocketchat_API',
    version='0.6.35',
    packages=['rocketchat_API', 'rocketchat_API.APIExceptions'],
    url='https://github.com/jadolg/rocketchat_API',
    license='MIT',
    author='Jorge Alberto Díaz Orozco',
    author_email='diazorozcoj@gmail.com',
    description='Python API wrapper for Rocket.Chat',
    long_description=open("README.md", "r").read(),
    long_description_content_type="text/markdown",
    install_requires=(
        'requests',
    )
)
<commit_msg>Update to version 0.6.36<commit_after># -*-coding:utf-8-*-

from setuptools import setup

setup(
    name='rocketchat_API',
    version='0.6.36',
    packages=['rocketchat_API', 'rocketchat_API.APIExceptions'],
    url='https://github.com/jadolg/rocketchat_API',
    license='MIT',
    author='Jorge Alberto Díaz Orozco',
    author_email='diazorozcoj@gmail.com',
    description='Python API wrapper for Rocket.Chat',
    long_description=open("README.md", "r").read(),
    long_description_content_type="text/markdown",
    install_requires=(
        'requests',
    )
)
<|endoftext|>


<commit_before># coding: utf-8
from distutils.core import setup

setup(
    name='Flask-API-Utils',
    version='0.2.0',
    packages=['api_utils'],
    author='Marsel Mavletkulov',
    author_email='marselester@ya.ru',
    url='https://github.com/marselester/flask-api-utils',
    description='Flask-API-Utils helps you to create APIs.',
    long_description=open('README.rst').read(),
    install_requires=['Flask>=0.10'],
    classifiers=[
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ],
)
<commit_msg>Bump version to 1.0.0<commit_after># coding: utf-8
from distutils.core import setup

setup(
    name='Flask-API-Utils',
    version='1.0.0',
    packages=['api_utils'],
    author='Marsel Mavletkulov',
    author_email='marselester@ya.ru',
    url='https://github.com/marselester/flask-api-utils',
    description='Flask-API-Utils helps you to create APIs.',
    long_description=open('README.rst').read(),
    install_requires=['Flask>=0.10'],
    classifiers=[
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ],
)
<|endoftext|>


<commit_before>try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

__version__ = '0.6.0'

setup(
    name = 'smps',
    version = __version__,
    packages = ['smps'],
    description = 'A simple python library to import and visualize SMPS data.',
    author = 'David H Hagan',
    author_email = 'dhagan@mit.edu',
    license = 'MIT',
    url = 'https://github.com/dhhagan/py-smps',
    keywords = ['atmospheric chemistry'],
    test_suite = 'tests',
    install_requires = [
        'pandas',
        'numpy',
        'seaborn',
        'scipy',
        'statsmodels',
    ],
    classifiers = [
        'Development Status :: 3 - Alpha',
        'Operating System :: OS Independent',
        'Intended Audience :: Science/Research',
        'Intended Audience :: Developers',
		'Intended Audience :: Education',
		'Programming Language :: Python :: 2.7',
		'Programming Language :: Python :: 3.3',
		'Programming Language :: Python :: 3.4',
		'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
		'Topic :: Scientific/Engineering :: Atmospheric Science',
		'Topic :: Software Development',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ]
)
<commit_msg>removed statsmodels from dependencies<commit_after>try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

__version__ = '0.6.0'

setup(
    name = 'smps',
    version = __version__,
    packages = ['smps'],
    description = 'A simple python library to import and visualize SMPS data.',
    author = 'David H Hagan',
    author_email = 'dhagan@mit.edu',
    license = 'MIT',
    url = 'https://github.com/dhhagan/py-smps',
    keywords = ['atmospheric chemistry'],
    test_suite = 'tests',
    install_requires = [
        'pandas',
        'numpy',
        'seaborn',
        'scipy',
    ],
    classifiers = [
        'Development Status :: 3 - Alpha',
        'Operating System :: OS Independent',
        'Intended Audience :: Science/Research',
        'Intended Audience :: Developers',
		'Intended Audience :: Education',
		'Programming Language :: Python :: 2.7',
		'Programming Language :: Python :: 3.3',
		'Programming Language :: Python :: 3.4',
		'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
		'Topic :: Scientific/Engineering :: Atmospheric Science',
		'Topic :: Software Development',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ]
)
<|endoftext|>


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

from __future__ import unicode_literals
from setuptools import setup, find_packages

setup(name = 'round',
      version = '0.9.0',
      description = 'Python client for Gem.co',
      url = 'http://github.com/GemHQ/round-py',
      author = 'Matt Smith <matt@gem.co>, Dustin Laurence <dustin@gem.co>',
      author_email = 'developers@gem.co',
      license = 'MIT',
      packages = find_packages(exclude=[
          u'*.tests', u'*.tests.*', u'tests.*', u'tests']),
      scripts = [ 'gemcli' ],
      install_requires = [
          'PyYAML',
          'patchboard==0.5.1',
          'pyotp',
          'coinop==0.3.0',
          'future'
      ],
      tests_require = [
          'pytest',
          'tox'
      ],
      dependency_links=[
          'https://github.com/marcobiscaro2112/pyotp/tarball/python3#egg=pyotp'
      ],
      zip_safe = False
)
<commit_msg>Added dependency on tablute for gemcli<commit_after># -*- coding: utf-8 -*-

from __future__ import unicode_literals
from setuptools import setup, find_packages

setup(name = 'round',
      version = '0.9.0',
      description = 'Python client for Gem.co',
      url = 'http://github.com/GemHQ/round-py',
      author = 'Matt Smith <matt@gem.co>, Dustin Laurence <dustin@gem.co>',
      author_email = 'developers@gem.co',
      license = 'MIT',
      packages = find_packages(exclude=[
          u'*.tests', u'*.tests.*', u'tests.*', u'tests']),
      scripts = [ 'gemcli' ],
      install_requires = [
          'PyYAML',
          'patchboard==0.5.1',
          'pyotp',
          'coinop==0.3.0',
          'future',
          'tabulate'
      ],
      tests_require = [
          'pytest',
          'tox'
      ],
      dependency_links=[
          'https://github.com/marcobiscaro2112/pyotp/tarball/python3#egg=pyotp'
      ],
      zip_safe = False
)
<|endoftext|>