<commit_before>from setuptools import find_packages, setup

VERSION = (0, 5, 1, 'final', 0)

def get_version():
    version = '%s.%s' % (VERSION[0], VERSION[1])
    if VERSION[2]:
        version = '%s.%s' % (version, VERSION[2])
    if VERSION[3:] == ('alpha', 0):
        version = '%s pre-alpha' % version
    else:
        if VERSION[3] != 'final':
            version = '%s %s %s' % (version, VERSION[3], VERSION[4])
    return version

setup(
    name="customerio",
    version=get_version(),
    author="Peaberry Software Inc.",
    author_email="support@customerio.com",
    license="BSD",
    description="Customer.io Python bindings.",
    url="https://github.com/customerio/customerio-python",
    packages=find_packages(),
    classifiers=[
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
    ],
    install_requires=['requests>=2.20.0'],
    test_suite="tests",
)
<commit_msg>update version to 0.5.2<commit_after>from setuptools import find_packages, setup

VERSION = (0, 5, 2, 'final', 0)

def get_version():
    version = '%s.%s' % (VERSION[0], VERSION[1])
    if VERSION[2]:
        version = '%s.%s' % (version, VERSION[2])
    if VERSION[3:] == ('alpha', 0):
        version = '%s pre-alpha' % version
    else:
        if VERSION[3] != 'final':
            version = '%s %s %s' % (version, VERSION[3], VERSION[4])
    return version

setup(
    name="customerio",
    version=get_version(),
    author="Peaberry Software Inc.",
    author_email="support@customerio.com",
    license="BSD",
    description="Customer.io Python bindings.",
    url="https://github.com/customerio/customerio-python",
    packages=find_packages(),
    classifiers=[
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
    ],
    install_requires=['requests>=2.20.0'],
    test_suite="tests",
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

version = '0.0.1'

setup(
    name='poinspection',
    version=version,
    description='Python inspection magic functions for ipython',
    long_description=open('README.md').read(),
    classifiers=[
        "Programming Language :: Python",
        "Intended Audience :: Developers",
        "License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication",
        "Operating System :: OS Independent",
    ],
    keywords='ipython',
    author='Luis Montiel',
    author_email='luismmontielg@gmail.com',
    url='https://github.com/luismmontielg/poinspection',
    license='Creative Commons CC0 1.0 Universal (CC0 1.0) Public Domain Dedication',
    packages=find_packages(),
    include_package_data=True,
    zip_safe=True,
    install_requires=[
        'ipython',
    ]
)
<commit_msg>new version 0.0.2<commit_after>from setuptools import setup, find_packages

version = '0.0.2'

setup(
    name='poinspection',
    version=version,
    description='Python inspection magic functions for ipython',
    long_description=open('README.md').read(),
    classifiers=[
        "Programming Language :: Python",
        "Intended Audience :: Developers",
        "License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication",
        "Operating System :: OS Independent",
    ],
    keywords='ipython',
    author='Luis Montiel',
    author_email='luismmontielg@gmail.com',
    url='https://github.com/luismmontielg/poinspection',
    license='Creative Commons CC0 1.0 Universal (CC0 1.0) Public Domain Dedication',
    packages=find_packages(),
    include_package_data=True,
    zip_safe=True,
    install_requires=[
        'ipython',
    ]
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

with open('restructuredtext_lint/VERSION') as version_file:
    VERSION = version_file.read().strip()

setup(
    name='restructuredtext_lint',
    version=VERSION,
    description='reStructuredText linter',
    long_description=open('README.rst').read(),
    keywords=[
        'restructuredtext',
        'restructured text',
        'rest',
        'rst',
        'lint'
    ],
    author='Todd Wolfson',
    author_email='todd@twolfson.com',
    url='https://github.com/twolfson/restructuredtext-lint',
    download_url='https://github.com/twolfson/restructuredtext-lint/archive/master.zip',
    entry_points={
        'console_scripts': [
            'restructuredtext-lint = restructuredtext_lint.cli:main',
            'rst-lint = restructuredtext_lint.cli:main'
        ]
    },
    packages=find_packages(),
    license='UNLICENSE',
    install_requires=open('requirements.txt').readlines(),
    # https://pypi.python.org/pypi?%3Aaction=list_classifiers
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Developers',
        'License :: Public Domain',
        'Operating System :: OS Independent',
        'Topic :: Text Processing :: Markup'
    ]
)
<commit_msg>Added DEV comments<commit_after># Load in our dependencies
from setuptools import setup, find_packages

# Load in VERSION from standalone file to avoid loading library
with open('restructuredtext_lint/VERSION') as version_file:
    VERSION = version_file.read().strip()

# Declare our library
setup(
    name='restructuredtext_lint',
    version=VERSION,
    description='reStructuredText linter',
    long_description=open('README.rst').read(),
    keywords=[
        'restructuredtext',
        'restructured text',
        'rest',
        'rst',
        'lint'
    ],
    author='Todd Wolfson',
    author_email='todd@twolfson.com',
    url='https://github.com/twolfson/restructuredtext-lint',
    download_url='https://github.com/twolfson/restructuredtext-lint/archive/master.zip',
    entry_points={
        'console_scripts': [
            'restructuredtext-lint = restructuredtext_lint.cli:main',
            'rst-lint = restructuredtext_lint.cli:main'
        ]
    },
    packages=find_packages(),
    license='UNLICENSE',
    install_requires=open('requirements.txt').readlines(),
    # https://pypi.python.org/pypi?%3Aaction=list_classifiers
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Developers',
        'License :: Public Domain',
        'Operating System :: OS Independent',
        'Topic :: Text Processing :: Markup'
    ]
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

VERSION = "0.4.5"

setup(
    name='wikidataintegrator',
    version=VERSION,
    author='Andra Waagmeester, Greg Stupp, Sebastian Burgstaller-Muehlbacher ',
    author_email='andra@micel.io',
    description='Python package for reading and writing to/from Wikidata',
    license='MIT',
    keywords='Wikidata genewiki biology chemistry medicine ShEx citations',
    url='https://github.com/sulab/WikidataIntegrator',
    packages=find_packages(),
    # packages=['wikidataintegrator', 'wikidataintegrator.backoff',
    #          'wikidataintegrator.ref_handlers', 'wikidataintegrator.wdi_helpers'],
    include_package_data=True,
    ## long_description=read('README.md'),
    classifiers=[
        "Programming Language :: Python",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Development Status :: 4 - Beta",
        "Operating System :: POSIX",
        "Operating System :: MacOS :: MacOS X",
        "Operating System :: Microsoft :: Windows",
        "Intended Audience :: Science/Research",
        "Intended Audience :: Information Technology",
        "Intended Audience :: Healthcare Industry",
        "Intended Audience :: Developers",
        "Topic :: Utilities",
        "Topic :: Scientific/Engineering :: Bio-Informatics",
    ],
    install_requires=[
        'requests',
        'python-dateutil',
        'simplejson',
        'mwoauth',
        'oauthlib',
        'sparql_slurper',
        'ShExJSG',
        'jsonasobj',
        'pyshex'
    ],
)
<commit_msg>Increased the max-retries up to 25 as per https://www.wikidata.org/wiki/User_talk:Andrawaag#WikidataIntegrator_and_maxlag<commit_after>from setuptools import setup, find_packages

VERSION = "0.4.6"

setup(
    name='wikidataintegrator',
    version=VERSION,
    author='Andra Waagmeester, Greg Stupp, Sebastian Burgstaller-Muehlbacher ',
    author_email='andra@micel.io',
    description='Python package for reading and writing to/from Wikidata',
    license='MIT',
    keywords='Wikidata genewiki biology chemistry medicine ShEx citations',
    url='https://github.com/sulab/WikidataIntegrator',
    packages=find_packages(),
    # packages=['wikidataintegrator', 'wikidataintegrator.backoff',
    #          'wikidataintegrator.ref_handlers', 'wikidataintegrator.wdi_helpers'],
    include_package_data=True,
    ## long_description=read('README.md'),
    classifiers=[
        "Programming Language :: Python",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Development Status :: 4 - Beta",
        "Operating System :: POSIX",
        "Operating System :: MacOS :: MacOS X",
        "Operating System :: Microsoft :: Windows",
        "Intended Audience :: Science/Research",
        "Intended Audience :: Information Technology",
        "Intended Audience :: Healthcare Industry",
        "Intended Audience :: Developers",
        "Topic :: Utilities",
        "Topic :: Scientific/Engineering :: Bio-Informatics",
    ],
    install_requires=[
        'requests',
        'python-dateutil',
        'simplejson',
        'mwoauth',
        'oauthlib',
        'sparql_slurper',
        'ShExJSG',
        'jsonasobj',
        'pyshex'
    ],
)
<|endoftext|>


<commit_before>"""
SunPy: Python for Solar Physics

The SunPy project is an effort to create an open-source software library for
solar physics using the Python programming language.
"""
DOCLINES = __doc__.split("\n")

CLASSIFIERS = [
    'Development Status :: 3 - Alpha',
    'Intended Audience :: Science/Research',
    'Intended Audience :: Developers',
    'License :: OSI Approved :: BSD License',
    'Programming Language :: Python',
    'Programming Language :: Python :: 3',
    'Topic :: Software Development',
    'Topic :: Scientific/Engineering',
    'Topic :: Scientific/Engineering :: Physics',
    'Operating System :: Microsoft :: Windows',
    'Operating System :: POSIX',
    'Operating System :: Unix',
    'Operating System :: MacOS'
]

VERSION = '0.3.2'

def git_description():
    import subprocess
    try:
        out = subprocess.Popen(['git', 'describe', '--tags'], stdout = subprocess.PIPE).communicate()[0]
        description = out.strip().decode('ascii')
    except OSError:
        description = 'Error: could not run git'
    return description

def write_version_py():
    import os
    if os.path.exists('.git'):
        GIT_DESCRIPTION = git_description()
    else:
        GIT_DESCRIPTION = 'N/A'

    out = open('sunpy/version.py', 'w')
    template = """# This file is automatically generated by SunPy's setup.py
version = '%(version)s'
git_description = '%(git_description)s'
"""
    try:
        out.write(template % {'version': VERSION,
                              'git_description': GIT_DESCRIPTION})
    finally:
        out.close()

def install(setup): #pylint: disable=W0621
    from setuptools import find_packages
    #Crotate Module
    from distutils.core import Extension
    from os.path import dirname, join
    cwd = dirname(__file__)
    try:
        import numpy as np
    except ImportError:
        print("SunPy WARNING: NumPy must be installed first to build the C extension")

    if 'np' in locals():
        module = 'sunpy.image.Crotate'   # import this
        sourcefiles = [join(cwd, 'sunpy', 'image', 'src', 'rot_extn.c'),
                       join(cwd, 'sunpy', 'image', 'src', 'transform', 'aff_tr.c')]
        libs = ['m']
        # -ON for compile optimise
        gcc_args = ['-std=c99', '-O3']
        # gcc_args = ['-std=c99']

        # need *module* name here
        crotate = Extension(module,
                            sources = sourcefiles,
                            libraries = libs,
                            extra_compile_args = gcc_args,
                            include_dirs =
                            [np.get_include(), join(cwd, 'sunpy', 'image', 'src')]
                            )

        module_ana = 'sunpy.io._pyana'
        sourcefiles_ana = [join(cwd, 'sunpy', 'io', 'src', 'ana', 'anacompress.c'),
                       join(cwd, 'sunpy', 'io', 'src', 'ana', 'anadecompress.c'),
                       join(cwd, 'sunpy', 'io', 'src', 'ana', 'anarw.c'),
                       join(cwd, 'sunpy', 'io', 'src', 'ana', 'testrw.c'),
                       join(cwd, 'sunpy', 'io', 'src', 'ana', '_pyana.c')]

        ana = Extension(module_ana,
                            sources = sourcefiles_ana,
                            libraries = libs,
                            extra_compile_args = gcc_args,
                            include_dirs =
                            [np.get_include(), join(cwd, 'sunpy', 'io', 'src')]
                            )
    ext_modules = []
    if 'crotate' in locals():
        ext_modules.append(crotate)
    if 'ana' in locals():
        ext_modules.append(ana)

    write_version_py()

    setup(
	author="Steven Christe, Matt Earnshaw,  Russell Hewett, Keith Hughitt, Jack Ireland, Florian Mayer, Stuart Mumford,  Albert Shih, David Perez-Suarez et. al",
        author_email="sunpy@googlegroups.com",
        classifiers=CLASSIFIERS,
        description=DOCLINES[0],
        download_url="http://www.sunpy.org/download/",
        install_requires=[
            'numpy>1.7.1',
            'astropy>=0.3.0',
            'scipy',
            'pandas>=0.12.1',
            'matplotlib>=1.1',
            'sqlalchemy',
        ],
        license="BSD",
        long_description="\n".join(DOCLINES[2:]),
        maintainer="SunPy Developers",
        maintainer_email="sunpy@googlegroups.com",
        name="sunpy",
        packages=find_packages(),
        package_data={'': ['*.fits', '*.fit', 'sunpyrc']},
        platforms=["Windows", "Linux", "Solaris", "Mac OS-X", "Unix"],
        provides=['sunpy'],
        url="http://www.sunpy.org/",
        use_2to3=True,
        version=VERSION,
        ext_modules = ext_modules
    )

if __name__ == '__main__':
    from distribute_setup import use_setuptools
    use_setuptools()
    from setuptools import setup
    install(setup)
<commit_msg>Change version for 0.4.0<commit_after>"""
SunPy: Python for Solar Physics

The SunPy project is an effort to create an open-source software library for
solar physics using the Python programming language.
"""
DOCLINES = __doc__.split("\n")

CLASSIFIERS = [
    'Development Status :: 3 - Alpha',
    'Intended Audience :: Science/Research',
    'Intended Audience :: Developers',
    'License :: OSI Approved :: BSD License',
    'Programming Language :: Python',
    'Programming Language :: Python :: 3',
    'Topic :: Software Development',
    'Topic :: Scientific/Engineering',
    'Topic :: Scientific/Engineering :: Physics',
    'Operating System :: Microsoft :: Windows',
    'Operating System :: POSIX',
    'Operating System :: Unix',
    'Operating System :: MacOS'
]

VERSION = '0.4.0'

def git_description():
    import subprocess
    try:
        out = subprocess.Popen(['git', 'describe', '--tags'], stdout = subprocess.PIPE).communicate()[0]
        description = out.strip().decode('ascii')
    except OSError:
        description = 'Error: could not run git'
    return description

def write_version_py():
    import os
    if os.path.exists('.git'):
        GIT_DESCRIPTION = git_description()
    else:
        GIT_DESCRIPTION = 'N/A'

    out = open('sunpy/version.py', 'w')
    template = """# This file is automatically generated by SunPy's setup.py
version = '%(version)s'
git_description = '%(git_description)s'
"""
    try:
        out.write(template % {'version': VERSION,
                              'git_description': GIT_DESCRIPTION})
    finally:
        out.close()

def install(setup): #pylint: disable=W0621
    from setuptools import find_packages
    #Crotate Module
    from distutils.core import Extension
    from os.path import dirname, join
    cwd = dirname(__file__)
    try:
        import numpy as np
    except ImportError:
        print("SunPy WARNING: NumPy must be installed first to build the C extension")

    if 'np' in locals():
        module = 'sunpy.image.Crotate'   # import this
        sourcefiles = [join(cwd, 'sunpy', 'image', 'src', 'rot_extn.c'),
                       join(cwd, 'sunpy', 'image', 'src', 'transform', 'aff_tr.c')]
        libs = ['m']
        # -ON for compile optimise
        gcc_args = ['-std=c99', '-O3']
        # gcc_args = ['-std=c99']

        # need *module* name here
        crotate = Extension(module,
                            sources = sourcefiles,
                            libraries = libs,
                            extra_compile_args = gcc_args,
                            include_dirs =
                            [np.get_include(), join(cwd, 'sunpy', 'image', 'src')]
                            )

        module_ana = 'sunpy.io._pyana'
        sourcefiles_ana = [join(cwd, 'sunpy', 'io', 'src', 'ana', 'anacompress.c'),
                       join(cwd, 'sunpy', 'io', 'src', 'ana', 'anadecompress.c'),
                       join(cwd, 'sunpy', 'io', 'src', 'ana', 'anarw.c'),
                       join(cwd, 'sunpy', 'io', 'src', 'ana', 'testrw.c'),
                       join(cwd, 'sunpy', 'io', 'src', 'ana', '_pyana.c')]

        ana = Extension(module_ana,
                            sources = sourcefiles_ana,
                            libraries = libs,
                            extra_compile_args = gcc_args,
                            include_dirs =
                            [np.get_include(), join(cwd, 'sunpy', 'io', 'src')]
                            )
    ext_modules = []
    if 'crotate' in locals():
        ext_modules.append(crotate)
    if 'ana' in locals():
        ext_modules.append(ana)

    write_version_py()

    setup(
	author="Steven Christe, Matt Earnshaw,  Russell Hewett, Keith Hughitt, Jack Ireland, Florian Mayer, Stuart Mumford,  Albert Shih, David Perez-Suarez et. al",
        author_email="sunpy@googlegroups.com",
        classifiers=CLASSIFIERS,
        description=DOCLINES[0],
        download_url="http://www.sunpy.org/download/",
        install_requires=[
            'numpy>1.7.1',
            'astropy>=0.3.0',
            'scipy',
            'pandas>=0.12.1',
            'matplotlib>=1.1',
            'sqlalchemy',
        ],
        license="BSD",
        long_description="\n".join(DOCLINES[2:]),
        maintainer="SunPy Developers",
        maintainer_email="sunpy@googlegroups.com",
        name="sunpy",
        packages=find_packages(),
        package_data={'': ['*.fits', '*.fit', 'sunpyrc']},
        platforms=["Windows", "Linux", "Solaris", "Mac OS-X", "Unix"],
        provides=['sunpy'],
        url="http://www.sunpy.org/",
        use_2to3=True,
        version=VERSION,
        ext_modules = ext_modules
    )

if __name__ == '__main__':
    from distribute_setup import use_setuptools
    use_setuptools()
    from setuptools import setup
    install(setup)
<|endoftext|>


<commit_before># The MIT License (MIT)
#
# Copyright (c) 2018 Niklas Rosenstein
#
# 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.

import os
import sys
from setuptools import setup, find_packages

def readme():
  if os.path.isfile('README.md') and any('dist' in x for x in sys.argv[1:]):
    if os.system('pandoc -s README.md -o README.rst') != 0:
      print('-----------------------------------------------------------------')
      print('WARNING: README.rst could not be generated, pandoc command failed')
      print('-----------------------------------------------------------------')
      if sys.stdout.isatty():
        input("Enter to continue... ")
    else:
      print("Generated README.rst with Pandoc")

  if os.path.isfile('README.rst'):
    with open('README.rst') as fp:
      return fp.read()
  return ''

setup(
  name='nr',
  version='2.0.0',
  license='MIT',
  description='Compound utility library and command-line tools for Python 2/3',
  long_description=readme(),
  url='https://github.com/NiklasRosenstein/py-nr',
  author='Niklas Rosenstein',
  author_email='rosensteinniklas@gmail.com',
  packages=find_packages(),
  entry_points = {
    'console_scripts': [
      'nr = nr.__main__:main'
    ]
  }
)
<commit_msg>Prepare 2.0.1 release.<commit_after># The MIT License (MIT)
#
# Copyright (c) 2018 Niklas Rosenstein
#
# 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.

import os
import sys
from setuptools import setup, find_packages

def readme():
  if os.path.isfile('README.md') and any('dist' in x for x in sys.argv[1:]):
    if os.system('pandoc -s README.md -o README.rst') != 0:
      print('-----------------------------------------------------------------')
      print('WARNING: README.rst could not be generated, pandoc command failed')
      print('-----------------------------------------------------------------')
      if sys.stdout.isatty():
        input("Enter to continue... ")
    else:
      print("Generated README.rst with Pandoc")

  if os.path.isfile('README.rst'):
    with open('README.rst') as fp:
      return fp.read()
  return ''

setup(
  name='nr',
  version='2.0.1',
  license='MIT',
  description='Compound utility library and command-line tools for Python 2/3',
  long_description=readme(),
  url='https://github.com/NiklasRosenstein/py-nr',
  author='Niklas Rosenstein',
  author_email='rosensteinniklas@gmail.com',
  packages=find_packages(),
  entry_points = {
    'console_scripts': [
      'nr = nr.__main__:main'
    ]
  }
)
<|endoftext|>


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

setup(
    name='bughunter',
    version='0.0.1',
    description='A Git repository mining tool for studying bugs in C programs',
    long_description='TBA',
    author='Chris Timperley',
    author_email='christimperley@gmail.com',
    url='https://github.com/ChrisTimperley/BugHunter',
    license='MIT',
    packages=find_packages()
)
<commit_msg>added more details to setup.py<commit_after>#!/usr/bin/python3
from setuptools import setup, find_packages

setup(
    name='bughunter',
    version='0.0.1',
    description='A Git repository mining tool for studying bugs in C programs',
    long_description='TBA',
    author='Chris Timperley',
    author_email='christimperley@gmail.com',
    url='https://github.com/ChrisTimperley/BugHunter',
    license='MIT',
    packages=['bughunter'],
    install_requires=[
        'docker'
    ],
    include_package_data=True
)
<|endoftext|>


<commit_before># Licensed under the MIT License
# https://github.com/craigahobbs/chisel/blob/main/LICENSE

# pylint: disable=missing-function-docstring, missing-module-docstring

import os

from setuptools import setup

def main():
    # Read the readme for use as the long description
    with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.rst'), encoding='utf-8') as readme_file:
        long_description = readme_file.read()

    # Do the setup
    setup(
        name='chisel',
        description='Lightweight WSGI application framework, schema-validated JSON APIs, and API documentation.',
        long_description=long_description,
        long_description_content_type='text/x-rst',
        version='1.1.8',
        author='Craig A. Hobbs',
        author_email='craigahobbs@gmail.com',
        keywords='api json framework schema wsgi',
        url='https://github.com/craigahobbs/chisel',
        license='MIT',
        classifiers=[
            'Development Status :: 5 - Production/Stable',
            'Intended Audience :: Developers',
            'License :: OSI Approved :: MIT License',
            'Operating System :: OS Independent',
            'Programming Language :: Python :: 3.7',
            'Programming Language :: Python :: 3.8',
            'Programming Language :: Python :: 3.9',
            'Programming Language :: Python :: 3.10',
            'Programming Language :: Python :: 3.11',
            'Topic :: Internet :: WWW/HTTP :: WSGI',
            'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
            'Topic :: Software Development :: Libraries :: Application Frameworks'
        ],
        package_dir={'': 'src'},
        packages=['chisel'],
        install_requires=[
            'schema-markdown >= 1.1.12'
        ]
    )

if __name__ == '__main__':
    main()
<commit_msg>chisel 1.1.9<commit_after># Licensed under the MIT License
# https://github.com/craigahobbs/chisel/blob/main/LICENSE

# pylint: disable=missing-function-docstring, missing-module-docstring

import os

from setuptools import setup

def main():
    # Read the readme for use as the long description
    with open(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.rst'), encoding='utf-8') as readme_file:
        long_description = readme_file.read()

    # Do the setup
    setup(
        name='chisel',
        description='Lightweight WSGI application framework, schema-validated JSON APIs, and API documentation.',
        long_description=long_description,
        long_description_content_type='text/x-rst',
        version='1.1.9',
        author='Craig A. Hobbs',
        author_email='craigahobbs@gmail.com',
        keywords='api json framework schema wsgi',
        url='https://github.com/craigahobbs/chisel',
        license='MIT',
        classifiers=[
            'Development Status :: 5 - Production/Stable',
            'Intended Audience :: Developers',
            'License :: OSI Approved :: MIT License',
            'Operating System :: OS Independent',
            'Programming Language :: Python :: 3.7',
            'Programming Language :: Python :: 3.8',
            'Programming Language :: Python :: 3.9',
            'Programming Language :: Python :: 3.10',
            'Programming Language :: Python :: 3.11',
            'Topic :: Internet :: WWW/HTTP :: WSGI',
            'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
            'Topic :: Software Development :: Libraries :: Application Frameworks'
        ],
        package_dir={'': 'src'},
        packages=['chisel'],
        install_requires=[
            'schema-markdown >= 1.1.12'
        ]
    )

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


<commit_before>import sys
from setuptools import setup

if sys.version_info < (2, 7):
    sys.stdout.write("At least Python 2.7 is required.\n")
    sys.exit(1)

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

setup(
    name='xopen',
    use_scm_version=True,
    setup_requires=['setuptools_scm'],  # Support pip versions that don’t know about pyproject.toml
    author='Marcel Martin',
    author_email='mail@marcelm.net',
    url='https://github.com/marcelm/xopen/',
    description='Open compressed files transparently',
    long_description=long_description,
    license='MIT',
    py_modules=['xopen'],
    install_requires=[
        'bz2file; python_version=="2.7"',
    ],
    extras_require={
        'dev': ['pytest'],
    },
    python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4',
    classifiers=[
        "Development Status :: 4 - Beta",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
    ]
)
<commit_msg>Make setup.py ASCII-only<commit_after>import sys
from setuptools import setup

if sys.version_info < (2, 7):
    sys.stdout.write("At least Python 2.7 is required.\n")
    sys.exit(1)

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

setup(
    name='xopen',
    use_scm_version=True,
    setup_requires=['setuptools_scm'],  # Support pip versions that don't know about pyproject.toml
    author='Marcel Martin',
    author_email='mail@marcelm.net',
    url='https://github.com/marcelm/xopen/',
    description='Open compressed files transparently',
    long_description=long_description,
    license='MIT',
    py_modules=['xopen'],
    install_requires=[
        'bz2file; python_version=="2.7"',
    ],
    extras_require={
        'dev': ['pytest'],
    },
    python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4',
    classifiers=[
        "Development Status :: 4 - Beta",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
    ]
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages
import re

module_file = open("teuthology/__init__.py").read()
metadata = dict(re.findall(r"__([a-z]+)__\s*=\s*['\"]([^'\"]*)['\"]", module_file))
long_description = open('README.rst').read()

setup(
    name='teuthology',
    version=metadata['version'],
    packages=find_packages(),
    package_data={
     'teuthology.task': ['valgrind.supp', 'adjust-ulimits', 'edit_sudoers.sh', 'daemon-helper'],
     'teuthology.task': ['valgrind.supp', 'adjust-ulimits', 'edit_sudoers.sh', 'daemon-helper'],
     'teuthology.openstack': [
         'archive-key',
         'archive-key.pub',
         'openstack-centos-6.5-user-data.txt',
         'openstack-centos-7.0-user-data.txt',
         'openstack-centos-7.1-user-data.txt',
         'openstack-centos-7.2-user-data.txt',
         'openstack-debian-8.0-user-data.txt',
         'openstack-opensuse-42.1-user-data.txt',
         'openstack-teuthology.cron',
         'openstack-teuthology.init',
         'openstack-ubuntu-12.04-user-data.txt',
         'openstack-ubuntu-14.04-user-data.txt',
         'openstack-user-data.txt',
         'openstack.yaml',
         'setup-openstack.sh'
     ],
    },
    author='Inktank Storage, Inc.',
    author_email='ceph-qa@ceph.com',
    description='Ceph test framework',
    license='MIT',
    keywords='teuthology test ceph cluster',
    url='https://github.com/ceph/teuthology',
    long_description=long_description,
    classifiers=[
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Operating System :: POSIX :: Linux',
        'Programming Language :: Python :: 2.7',
        'Topic :: Software Development :: Quality Assurance',
        'Topic :: Software Development :: Testing',
        'Topic :: System :: Distributed Computing',
        'Topic :: System :: Filesystems',
    ],
    install_requires=['setuptools',
                      'gevent',
                      # For teuthology-coverage
                      'MySQL-python == 1.2.3',
                      'PyYAML',
                      'argparse >= 1.2.1',
                      'beanstalkc >= 0.2.0',
                      'boto >= 2.0b4',
                      'bunch >= 1.0.0',
                      'configobj',
                      'six >= 1.9', # python-openstackclient won't work properly with less
                      'httplib2',
                      'paramiko',
                      'pexpect',
                      'requests',
                      'raven',
                      'web.py',
                      'docopt',
                      'psutil >= 2.1.0',
                      'configparser',
                      'pytest',
                      'pytest-capturelog',
                      'mock',
                      'fudge',
                      'ansible>=2.0',
                      'pyopenssl>=0.13',
                      'ndg-httpsclient',
                      'pyasn1',
                      # python-novaclient is specified here, even though it is
                      # redundant, because python-openstackclient requires
                      # Babel, and installs 2.3.3, which is forbidden by
                      # python-novaclient 4.0.0
                      'python-novaclient',
                      'python-openstackclient',
                      # Copy the below from python-openstackclient's
                      # requirements to avoid a conflict
                      'openstacksdk!=0.9.11,!=0.9.12,>=0.9.10',
                      # with openstacklient >= 2.1.0, neutronclient no longer is
                      # a dependency but we need it anyway.
                      'python-neutronclient',
                      'prettytable',
                      'libvirt-python',
                      'python-dateutil',
                      'manhole',
                      'apache-libcloud',
                      # For apache-libcloud when using python < 2.7.9
                      'backports.ssl_match_hostname',
                      ],

    # to find the code associated with entry point
    # A.B:foo first cd into directory A, open file B
    # and find sub foo
    entry_points={
        'console_scripts': [
            'teuthology = scripts.run:main',
            'teuthology-openstack = scripts.openstack:main',
            'teuthology-nuke = scripts.nuke:main',
            'teuthology-suite = scripts.suite:main',
            'teuthology-ls = scripts.ls:main',
            'teuthology-worker = scripts.worker:main',
            'teuthology-lock = scripts.lock:main',
            'teuthology-schedule = scripts.schedule:main',
            'teuthology-updatekeys = scripts.updatekeys:main',
            'teuthology-update-inventory = scripts.update_inventory:main',
            'teuthology-coverage = scripts.coverage:main',
            'teuthology-results = scripts.results:main',
            'teuthology-report = scripts.report:main',
            'teuthology-kill = scripts.kill:main',
            'teuthology-queue = scripts.queue:main',
            'teuthology-prune-logs = scripts.prune_logs:main',
            'teuthology-describe-tests = scripts.describe_tests:main',
            ],
        },

    )
<commit_msg>setup.py: disallow requests 2.13.0<commit_after>from setuptools import setup, find_packages
import re

module_file = open("teuthology/__init__.py").read()
metadata = dict(re.findall(r"__([a-z]+)__\s*=\s*['\"]([^'\"]*)['\"]", module_file))
long_description = open('README.rst').read()

setup(
    name='teuthology',
    version=metadata['version'],
    packages=find_packages(),
    package_data={
     'teuthology.task': ['valgrind.supp', 'adjust-ulimits', 'edit_sudoers.sh', 'daemon-helper'],
     'teuthology.task': ['valgrind.supp', 'adjust-ulimits', 'edit_sudoers.sh', 'daemon-helper'],
     'teuthology.openstack': [
         'archive-key',
         'archive-key.pub',
         'openstack-centos-6.5-user-data.txt',
         'openstack-centos-7.0-user-data.txt',
         'openstack-centos-7.1-user-data.txt',
         'openstack-centos-7.2-user-data.txt',
         'openstack-debian-8.0-user-data.txt',
         'openstack-opensuse-42.1-user-data.txt',
         'openstack-teuthology.cron',
         'openstack-teuthology.init',
         'openstack-ubuntu-12.04-user-data.txt',
         'openstack-ubuntu-14.04-user-data.txt',
         'openstack-user-data.txt',
         'openstack.yaml',
         'setup-openstack.sh'
     ],
    },
    author='Inktank Storage, Inc.',
    author_email='ceph-qa@ceph.com',
    description='Ceph test framework',
    license='MIT',
    keywords='teuthology test ceph cluster',
    url='https://github.com/ceph/teuthology',
    long_description=long_description,
    classifiers=[
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Operating System :: POSIX :: Linux',
        'Programming Language :: Python :: 2.7',
        'Topic :: Software Development :: Quality Assurance',
        'Topic :: Software Development :: Testing',
        'Topic :: System :: Distributed Computing',
        'Topic :: System :: Filesystems',
    ],
    install_requires=['setuptools',
                      'gevent',
                      # For teuthology-coverage
                      'MySQL-python == 1.2.3',
                      'PyYAML',
                      'argparse >= 1.2.1',
                      'beanstalkc >= 0.2.0',
                      'boto >= 2.0b4',
                      'bunch >= 1.0.0',
                      'configobj',
                      'six >= 1.9', # python-openstackclient won't work properly with less
                      'httplib2',
                      'paramiko',
                      'pexpect',
                      'requests != 2.13.0',
                      'raven',
                      'web.py',
                      'docopt',
                      'psutil >= 2.1.0',
                      'configparser',
                      'pytest',
                      'pytest-capturelog',
                      'mock',
                      'fudge',
                      'ansible>=2.0',
                      'pyopenssl>=0.13',
                      'ndg-httpsclient',
                      'pyasn1',
                      # python-novaclient is specified here, even though it is
                      # redundant, because python-openstackclient requires
                      # Babel, and installs 2.3.3, which is forbidden by
                      # python-novaclient 4.0.0
                      'python-novaclient',
                      'python-openstackclient',
                      # Copy the below from python-openstackclient's
                      # requirements to avoid a conflict
                      'openstacksdk!=0.9.11,!=0.9.12,>=0.9.10',
                      # with openstacklient >= 2.1.0, neutronclient no longer is
                      # a dependency but we need it anyway.
                      'python-neutronclient',
                      'prettytable',
                      'libvirt-python',
                      'python-dateutil',
                      'manhole',
                      'apache-libcloud',
                      # For apache-libcloud when using python < 2.7.9
                      'backports.ssl_match_hostname',
                      ],

    # to find the code associated with entry point
    # A.B:foo first cd into directory A, open file B
    # and find sub foo
    entry_points={
        'console_scripts': [
            'teuthology = scripts.run:main',
            'teuthology-openstack = scripts.openstack:main',
            'teuthology-nuke = scripts.nuke:main',
            'teuthology-suite = scripts.suite:main',
            'teuthology-ls = scripts.ls:main',
            'teuthology-worker = scripts.worker:main',
            'teuthology-lock = scripts.lock:main',
            'teuthology-schedule = scripts.schedule:main',
            'teuthology-updatekeys = scripts.updatekeys:main',
            'teuthology-update-inventory = scripts.update_inventory:main',
            'teuthology-coverage = scripts.coverage:main',
            'teuthology-results = scripts.results:main',
            'teuthology-report = scripts.report:main',
            'teuthology-kill = scripts.kill:main',
            'teuthology-queue = scripts.queue:main',
            'teuthology-prune-logs = scripts.prune_logs:main',
            'teuthology-describe-tests = scripts.describe_tests:main',
            ],
        },

    )
<|endoftext|>


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

from setuptools import setup

setup(
    name='ascii2hdf5',
    author='Phil Rosenfield',
    author_email='philrosenfield@gmail.com',
    url='https://github.com/philrosenfield/ascii2hdf5',
    version='1.2',
    py_modules=['ascii2hdf5'],
    scripts=['ascii2hdf5']
)<commit_msg>new version<commit_after>#!/usr/bin/env python

from setuptools import setup

setup(
    name='ascii2hdf5',
    author='Phil Rosenfield',
    author_email='philrosenfield@gmail.com',
    url='https://github.com/philrosenfield/ascii2hdf5',
    version='1.3',
    py_modules=['ascii2hdf5'],
    scripts=['ascii2hdf5']
)<|endoftext|>


<commit_before>#!/usr/bin/env python
import os
import sys
#from distutils.core import setup, Extension
from setuptools import setup, Extension
import glob

from runspade import __version__

#if os.name != "posix":
#   import py2exe
try:
    import bdist_mpkg
except:
    # This is not a mac
    pass

if sys.platform == "win32":
    ext = Extension("tlslite.utils.win32prng",
                    sources=["tlslite/utils/win32prng.c"],
                    libraries=["advapi32"])
    exts = [ext]
else:
    exts = []

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

setup(name='SPADE',
    version=__version__,
    license="LGPL",
    description='Smart Python multi-Agent Development Environment',
    long_description=long_description,
    author='Javier Palanca, Gustavo Aranda, Miguel Escriva',
    author_email='jpalanca@gmail.com',
    url='http://spade2.googlecode.com',
    package_dir={'spade': 'spade'},
    packages=['spade','spade.mtp', 'xmpp', 'xmppd', 'xmppd.modules', 'xmppd.socker', 'tlslite', 'tlslite.utils', 'tlslite.integration'],
    scripts=['runspade.py','configure.py'],#,"tlslite/scripts/tls.py", "tlslite/scripts/tlsdb.py"],
    package_data={'spade':['templates/*.*', 'templates/images/*.*'],},
    include_package_data=True,
    ext_modules=exts,
    classifiers=[
    'Development Status :: 5 - Production/Stable',
    'Environment :: Console',
    'Environment :: Web Environment',
    'Intended Audience :: Developers',
    'License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)',
    'Natural Language :: English',
    'Operating System :: OS Independent',
    'Programming Language :: Python :: 2.7',
    'Topic :: Adaptive Technologies',
    'Topic :: Scientific/Engineering :: Artificial Intelligence',
    ],
    install_requires = [
    "pexpect",
    "SPARQLWrapper",
    "unittest-xml-reporting",
    ],
    )

<commit_msg>fixed setup.py from mtp to mtps<commit_after>#!/usr/bin/env python
import os
import sys
#from distutils.core import setup, Extension
from setuptools import setup, Extension
import glob

from runspade import __version__

#if os.name != "posix":
#   import py2exe
try:
    import bdist_mpkg
except:
    # This is not a mac
    pass

if sys.platform == "win32":
    ext = Extension("tlslite.utils.win32prng",
                    sources=["tlslite/utils/win32prng.c"],
                    libraries=["advapi32"])
    exts = [ext]
else:
    exts = []

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

setup(name='SPADE',
    version=__version__,
    license="LGPL",
    description='Smart Python multi-Agent Development Environment',
    long_description=long_description,
    author='Javier Palanca, Gustavo Aranda, Miguel Escriva',
    author_email='jpalanca@gmail.com',
    url='http://spade2.googlecode.com',
    package_dir={'spade': 'spade'},
    packages=['spade','spade.mtps', 'xmpp', 'xmppd', 'xmppd.modules', 'xmppd.socker', 'tlslite', 'tlslite.utils', 'tlslite.integration'],
    scripts=['runspade.py','configure.py'],#,"tlslite/scripts/tls.py", "tlslite/scripts/tlsdb.py"],
    package_data={'spade':['templates/*.*', 'templates/images/*.*'],},
    include_package_data=True,
    ext_modules=exts,
    classifiers=[
    'Development Status :: 5 - Production/Stable',
    'Environment :: Console',
    'Environment :: Web Environment',
    'Intended Audience :: Developers',
    'License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)',
    'Natural Language :: English',
    'Operating System :: OS Independent',
    'Programming Language :: Python :: 2.7',
    'Topic :: Adaptive Technologies',
    'Topic :: Scientific/Engineering :: Artificial Intelligence',
    ],
    install_requires = [
    "pexpect",
    "SPARQLWrapper",
    "unittest-xml-reporting",
    ],
    )

<|endoftext|>


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

#  Copyright (c) 2015 Lingaro
#
#  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.

"""Setup script for Robot's TestManagementLibrary distributions"""

from setuptools import setup, find_packages

import os
import sys

sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'src'))

from TestManagementLibrary import __version__

setup(
    name=u'robotframework-testmanagement-library',
    version=__version__,
    description=u'Test management utility library for Robot Framework',
    author=u'Michał Lula',
    author_email=u'michal.lula@lingaro.com',
    url=u'https://github.com/IlfirinPL/robotframework-testmanagement',
    package_dir={u'': 'src'},
    packages=find_packages(),
    install_requires=[
        u'robotframework',
        u'requests',
        u'pyral'
    ]
)
<commit_msg>FIX setup.py<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

#  Copyright (c) 2015 Lingaro
#
#  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.

"""Setup script for Robot's TestManagementLibrary distributions"""

from setuptools import setup, find_packages

setup(
    name=u'robotframework-testmanagement-library',
    version=u'0.1',
    description=u'Test management utility library for Robot Framework',
    author=u'Michał Lula',
    author_email=u'michal.lula@lingaro.com',
    url=u'https://github.com/IlfirinPL/robotframework-testmanagement',
    package_dir={u'': 'src'},
    packages=['TestManagementLibrary'],
    install_requires=[
        u'robotframework',
        u'requests',
        u'pyral'
    ]
)
<|endoftext|>


<commit_before>#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# make Wheels with:
# python setup.py bdist_wheel --plat-name macosx_10_10_x86_64 --python-tag cp35.cp36
# python setup.py bdist_wheel --plat-name win_amd64 --python-tag cp35.cp36
# twine upload dist/*

import os
import shutil
import sys
import ast
import re

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

from setuptools.command.install import install as _install
from distutils import log as setup_log

from os.path import join as pjoin
from os.path import relpath as rpath

# Begin modified code from Flask's version getter
# BSD license
# Copyright (c) 2015 by Armin Ronacher and contributors.
# https://github.com/pallets/flask
_version_re = re.compile(r'__version__\s+=\s+(.*)')

with open('cadnano/__init__.py', 'rb') as initfile:
    version = str(ast.literal_eval(_version_re.search(
                                   initfile.read().decode('utf-8')).group(1)))
# end Flask derived code

__doc__ = '''
===================================================================
cadnano: computer-aided design tool for creating DNA nanostructures
===================================================================

**cadnano** %s beta

Installation
------------

If you would like to install cadnano in your local Python environment
you may do so the setup.py script::

  $ python setup.py install

or::

  $ pip install cadnano
''' % (version)

LONG_DESCRIPTION = __doc__

PACKAGE_PATH = os.path.abspath(os.path.dirname(__file__))
MODULE_PATH = pjoin(PACKAGE_PATH, 'cadnano')
INSTALL_EXE_PATH = pjoin(MODULE_PATH, 'install_exe')
TESTS_PATH = pjoin(MODULE_PATH, 'tests')
TEST_DATA_PATH = pjoin(TESTS_PATH, 'data')
IMAGES_PATH1 = pjoin(MODULE_PATH, 'gui', 'ui', 'mainwindow', 'images')
IMAGES_PATH2 = pjoin(MODULE_PATH, 'gui', 'ui', 'dialogs', 'images')

# batch files and launch scripts

test_files = [rpath(pjoin(root, f), MODULE_PATH) for root, _, files in
              os.walk(TESTS_PATH) for f in files]
test_data_files = [rpath(pjoin(root, f), MODULE_PATH) for root, _, files in
                   os.walk(TEST_DATA_PATH) for f in files]
cn_files = [rpath(pjoin(root, f), MODULE_PATH) for root, _, files in
            os.walk(IMAGES_PATH1) for f in files]
cn_files += [rpath(pjoin(root, f), MODULE_PATH) for root, _, files in
             os.walk(IMAGES_PATH2) for f in files]
cn_files += test_files + test_data_files

entry_points = {'console_scripts': [
                'cadnano = cadnano.bin.main:main',
                'cadnanoinstall = cadnano.install_exe.cadnanoinstall:post_install'
                ]}

if sys.platform == 'win32':
    path_scheme = {
        'scripts': 'Scripts',
    }
    cadnano_binaries = ['cadnano.exe']
    cn_files += [pjoin('install_exe', 'cadnano.exe')]
else:
    cadnano_binaries = []
    path_scheme = {'scripts': 'bin'}
cadnano_binary_fps = [pjoin(INSTALL_EXE_PATH, fn) for fn in cadnano_binaries]
script_path = os.path.join(sys.exec_prefix, path_scheme['scripts'])

# Insure that the copied binaries are executable
def makeExecutable(fp):
    ''' Adds the executable bit to the file at filepath `fp`
    '''
    mode = ((os.stat(fp).st_mode) | 0o555) & 0o7777
    setup_log.info("Adding executable bit to %s (mode is now %o)", fp, mode)
    os.chmod(fp, mode)
# en def

def _post_install(dir):
    new_cadnano_binary_fps = [pjoin(script_path, fn) for fn in cadnano_binaries]
    print(new_cadnano_binary_fps)
    print(cadnano_binary_fps)
    [shutil.copy2(o, d) for o, d in zip(cadnano_binary_fps,
                                        new_cadnano_binary_fps)]
    list(map(makeExecutable, new_cadnano_binary_fps))
# end def

class CNINSTALL(_install):
    def run(self):
        _install.run(self)
        self.execute(_post_install, (self.install_lib,),
                     msg="Running post install task")
# end class

if len(sys.argv) > 0 and sys.argv[1] == 'install':
    cmdclass = {'install': CNINSTALL}
else:
    cmdclass = {'install': _install}

# Build the C API and Cython extensions
is_py_3 = int(sys.version_info[0] > 2)

exclude_list = ['*.genbank', '*.fasta',
                '*.tests.*', '*.tests', 'tests.*', 'tests', '*.test',
                'pyqtdeploy', 'nno2stl', '*.autobreak']
cn_packages = find_packages(exclude=exclude_list)

install_requires = ['sip>=4.19',
                    'PyQt5>=5.9.0',
                    'numpy>=1.10.0',
                    'pandas>=0.18',
                    'pytz>=2011k',
                    'python-dateutil>=2',
                    'termcolor>=1.1.0'
                    ]

if sys.platform == 'win32':
    install_requires += ['pypiwin32', 'winshell']

setup(
    name='cadnano',
    version=version,
    license='multiple',
    author='Nick Conway, Shawn Douglas',
    author_email='a.grinner@gmail.com',
    url='https://github.com/cadnano/cadnano2.5',
    description='computer-aided design tool for creating DNA nanostructures',
    long_description=LONG_DESCRIPTION,
    classifiers=[
        'Programming Language :: C',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Development Status :: 4 - Beta',
        'Intended Audience :: Science/Research',
        'Topic :: Scientific/Engineering :: Bio-Informatics',
        'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
        'License :: OSI Approved :: BSD License'
    ],
    packages=cn_packages,
    ext_modules=[],
    zip_safe=False,
    install_requires=install_requires,
    scripts=[],
    package_data={'cadnano': cn_files},
    entry_points=entry_points,
    cmdclass=cmdclass,
    platforms='any'
)
<commit_msg>2.5.0:  Bump PyQt version to 5.9.1<commit_after>#!/usr/bin/env python
# -*- coding: UTF-8 -*-
# make Wheels with:
# python setup.py bdist_wheel --plat-name macosx_10_10_x86_64 --python-tag cp35.cp36
# python setup.py bdist_wheel --plat-name win_amd64 --python-tag cp35.cp36
# twine upload dist/*

import os
import shutil
import sys
import ast
import re

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

from setuptools.command.install import install as _install
from distutils import log as setup_log

from os.path import join as pjoin
from os.path import relpath as rpath

# Begin modified code from Flask's version getter
# BSD license
# Copyright (c) 2015 by Armin Ronacher and contributors.
# https://github.com/pallets/flask
_version_re = re.compile(r'__version__\s+=\s+(.*)')

with open('cadnano/__init__.py', 'rb') as initfile:
    version = str(ast.literal_eval(_version_re.search(
                                   initfile.read().decode('utf-8')).group(1)))
# end Flask derived code

__doc__ = '''
===================================================================
cadnano: computer-aided design tool for creating DNA nanostructures
===================================================================

**cadnano** %s beta

Installation
------------

If you would like to install cadnano in your local Python environment
you may do so the setup.py script::

  $ python setup.py install

or::

  $ pip install cadnano
''' % (version)

LONG_DESCRIPTION = __doc__

PACKAGE_PATH = os.path.abspath(os.path.dirname(__file__))
MODULE_PATH = pjoin(PACKAGE_PATH, 'cadnano')
INSTALL_EXE_PATH = pjoin(MODULE_PATH, 'install_exe')
TESTS_PATH = pjoin(MODULE_PATH, 'tests')
TEST_DATA_PATH = pjoin(TESTS_PATH, 'data')
IMAGES_PATH1 = pjoin(MODULE_PATH, 'gui', 'ui', 'mainwindow', 'images')
IMAGES_PATH2 = pjoin(MODULE_PATH, 'gui', 'ui', 'dialogs', 'images')

# batch files and launch scripts

test_files = [rpath(pjoin(root, f), MODULE_PATH) for root, _, files in
              os.walk(TESTS_PATH) for f in files]
test_data_files = [rpath(pjoin(root, f), MODULE_PATH) for root, _, files in
                   os.walk(TEST_DATA_PATH) for f in files]
cn_files = [rpath(pjoin(root, f), MODULE_PATH) for root, _, files in
            os.walk(IMAGES_PATH1) for f in files]
cn_files += [rpath(pjoin(root, f), MODULE_PATH) for root, _, files in
             os.walk(IMAGES_PATH2) for f in files]
cn_files += test_files + test_data_files

entry_points = {'console_scripts': [
                'cadnano = cadnano.bin.main:main',
                'cadnanoinstall = cadnano.install_exe.cadnanoinstall:post_install'
                ]}

if sys.platform == 'win32':
    path_scheme = {
        'scripts': 'Scripts',
    }
    cadnano_binaries = ['cadnano.exe']
    cn_files += [pjoin('install_exe', 'cadnano.exe')]
else:
    cadnano_binaries = []
    path_scheme = {'scripts': 'bin'}
cadnano_binary_fps = [pjoin(INSTALL_EXE_PATH, fn) for fn in cadnano_binaries]
script_path = os.path.join(sys.exec_prefix, path_scheme['scripts'])

# Insure that the copied binaries are executable
def makeExecutable(fp):
    ''' Adds the executable bit to the file at filepath `fp`
    '''
    mode = ((os.stat(fp).st_mode) | 0o555) & 0o7777
    setup_log.info("Adding executable bit to %s (mode is now %o)", fp, mode)
    os.chmod(fp, mode)
# en def

def _post_install(dir):
    new_cadnano_binary_fps = [pjoin(script_path, fn) for fn in cadnano_binaries]
    print(new_cadnano_binary_fps)
    print(cadnano_binary_fps)
    [shutil.copy2(o, d) for o, d in zip(cadnano_binary_fps,
                                        new_cadnano_binary_fps)]
    list(map(makeExecutable, new_cadnano_binary_fps))
# end def

class CNINSTALL(_install):
    def run(self):
        _install.run(self)
        self.execute(_post_install, (self.install_lib,),
                     msg="Running post install task")
# end class

if len(sys.argv) > 0 and sys.argv[1] == 'install':
    cmdclass = {'install': CNINSTALL}
else:
    cmdclass = {'install': _install}

# Build the C API and Cython extensions
is_py_3 = int(sys.version_info[0] > 2)

exclude_list = ['*.genbank', '*.fasta',
                '*.tests.*', '*.tests', 'tests.*', 'tests', '*.test',
                'pyqtdeploy', 'nno2stl', '*.autobreak']
cn_packages = find_packages(exclude=exclude_list)

install_requires = ['sip>=4.19',
                    'PyQt5>=5.9.1',
                    'numpy>=1.10.0',
                    'pandas>=0.18',
                    'pytz>=2011k',
                    'python-dateutil>=2',
                    'termcolor>=1.1.0'
                    ]

if sys.platform == 'win32':
    install_requires += ['pypiwin32', 'winshell']

setup(
    name='cadnano',
    version=version,
    license='multiple',
    author='Nick Conway, Shawn Douglas',
    author_email='a.grinner@gmail.com',
    url='https://github.com/cadnano/cadnano2.5',
    description='computer-aided design tool for creating DNA nanostructures',
    long_description=LONG_DESCRIPTION,
    classifiers=[
        'Programming Language :: C',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Development Status :: 4 - Beta',
        'Intended Audience :: Science/Research',
        'Topic :: Scientific/Engineering :: Bio-Informatics',
        'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
        'License :: OSI Approved :: BSD License'
    ],
    packages=cn_packages,
    ext_modules=[],
    zip_safe=False,
    install_requires=install_requires,
    scripts=[],
    package_data={'cadnano': cn_files},
    entry_points=entry_points,
    cmdclass=cmdclass,
    platforms='any'
)
<|endoftext|>


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

import os

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

try:
  import pypandoc
  readme = pypandoc.convert(readme, to='rst', format='md')
except:
  print("Conversion of long_description from MD to reStructuredText failed...")
  pass

from setuptools import setup

if __name__ == '__main__':
    setup(
        name='utopia',
        version="0.0.0",
        description="Given variants, generate scored epitopes",
      	author="Tavi Nathanson",
        author_email="tavi {dot} nathanson {at} gmail {dot} com",
      	url="https://github.com/hammerlab/utopia",
        license="http://www.apache.org/licenses/LICENSE-2.0.html",
        classifiers=[
            'Development Status :: 3 - Alpha',
            'Environment :: Console',
            'Operating System :: OS Independent',
            'Intended Audience :: Science/Research',
            'License :: OSI Approved :: Apache Software License',
            'Programming Language :: Python',
            'Topic :: Scientific/Engineering :: Bio-Informatics',
        ],
        install_requires=[
            'numpy==1.7',
            'pandas==0.13.1',
            'mhctools==0.0.0',
            'varcode==0.1.0',
            'nose==1.3.6'
        ],
        long_description=readme,
        packages=['utopia'],
    )
<commit_msg>specify library dependency ranges<commit_after># Copyright (c) 2014. Mount Sinai School of Medicine
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from __future__ import print_function
import os

from setuptools import setup

readme_dir = os.path.dirname(__file__)
readme_filename = os.path.join(readme_dir, 'README.md')

try:
    with open(readme_filename, 'r') as f:
        readme = f.read()
except:
    readme = ""

try:
    import pypandoc
    readme = pypandoc.convert(readme, to='rst', format='md')
except:
    print(
        "Conversion of long_description from MD to reStructuredText failed...")

if __name__ == '__main__':
    setup(
        name='utopia',
        version="0.0.0",
        description="Given variants, generate scored epitopes",
        author="Tavi Nathanson",
        author_email="tavi {dot} nathanson {at} gmail {dot} com",
        url="https://github.com/hammerlab/utopia",
        license="http://www.apache.org/licenses/LICENSE-2.0.html",
        classifiers=[
            'Development Status :: 3 - Alpha',
            'Environment :: Console',
            'Operating System :: OS Independent',
            'Intended Audience :: Science/Research',
            'License :: OSI Approved :: Apache Software License',
            'Programming Language :: Python',
            'Topic :: Scientific/Engineering :: Bio-Informatics',
        ],
        install_requires=[
            'numpy >=1.7, <2.0',
            'pandas >=0.13.1, <0.17.0',
            'mhctools >=0.0.0, <0.1.0',
            'varcode >=0.1.1, <0.2.0',
            'nose >=1.3.6, <1.4'
        ],
        long_description=readme,
        packages=['utopia'],
    )
<|endoftext|>


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

#from ez_setup import use_setuptools
#use_setuptools()

from setuptools import setup, find_packages, Extension
from setuptools.command.install import install
from setuptools.command.develop import develop

from distutils.extension import Extension

import sys

ext_modules = [
    Extension('landlab.components.flexure.cfuncs',
              ['landlab/components/flexure/cfuncs.pyx']),
    Extension('landlab.components.flow_routing.cfuncs',
              ['landlab/components/flow_routing/cfuncs.pyx']),
    Extension('landlab.components.stream_power.cfuncs',
              ['landlab/components/stream_power/cfuncs.pyx']),
    Extension('landlab.grid.structured_quad.cfuncs',
              ['landlab/grid/structured_quad/cfuncs.pyx']),
    Extension('landlab.grid.structured_quad.c_faces',
              ['landlab/grid/structured_quad/c_faces.pyx']),
]

import numpy as np

from landlab import __version__

def register(**kwds):
    import httplib, urllib

    data = urllib.urlencode(kwds)
    header = {"Content-type": "application/x-www-form-urlencoded",
              "Accept": "text/plain"}
    conn = httplib.HTTPConnection('csdms.colorado.edu')
    conn.request('POST', '/register/', data, header)

def register_landlab():
    try:
        from sys import argv
        import platform
        data = {
            'name': 'landlab',
            'version': __version__,
            'platform': platform.platform(),
            'desc': ';'.join(argv),
        }
        register(**data)
    except Exception:
        pass

class install_and_register(install):
    def run(self):
        install.run(self)
        register_landlab()

class develop_and_register(develop):
    def run(self):
        develop.run(self)
        register_landlab()

import os

#cython_pathspec = os.path.join('landlab', 'components','**','*.pyx')
#ext_modules = cythonize(cython_pathspec)

setup(name='landlab',
      version=__version__,
      author='Eric Hutton',
      author_email='eric.hutton@colorado.edu',
      url='https://github.com/landlab',
      description='Plugin-based component modeling tool.',
      long_description=open('README.rst').read(),
      install_requires=['scipy>=0.12',
                        'nose>=1.3',
                        'matplotlib',
                        'sympy',
                        'pandas',
                        'six',
                        'pyyaml',
                       ],
      #                  'Cython>=0.22'],
      setup_requires=['cython'],
      classifiers=[
          'Intended Audience :: Science/Research',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Programming Language :: Cython',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: Implementation :: CPython',
          'Topic :: Scientific/Engineering :: Physics'
      ],
      packages=find_packages(),
      package_data={'': ['tests/*txt', 'data/*asc', 'data/*nc',
                         'preciptest.in']},
      test_suite='nose.collector',
      cmdclass={
          'install': install_and_register,
          'develop': develop_and_register,
      },
      entry_points={
          'console_scripts': [
              'landlab=landlab.cmd.landlab:main',
          ]
      },
      include_dirs = [np.get_include()],
      ext_modules = ext_modules,
     )
<commit_msg>add cfuncs for ca to setup.py<commit_after>#! /usr/bin/env python

#from ez_setup import use_setuptools
#use_setuptools()

from setuptools import setup, find_packages, Extension
from setuptools.command.install import install
from setuptools.command.develop import develop

from distutils.extension import Extension

import sys

ext_modules = [
    Extension('landlab.ca.cfuncs',
              ['landlab/ca/cfuncs.pyx']),
    Extension('landlab.components.flexure.cfuncs',
              ['landlab/components/flexure/cfuncs.pyx']),
    Extension('landlab.components.flow_routing.cfuncs',
              ['landlab/components/flow_routing/cfuncs.pyx']),
    Extension('landlab.components.stream_power.cfuncs',
              ['landlab/components/stream_power/cfuncs.pyx']),
    Extension('landlab.grid.structured_quad.cfuncs',
              ['landlab/grid/structured_quad/cfuncs.pyx']),
    Extension('landlab.grid.structured_quad.c_faces',
              ['landlab/grid/structured_quad/c_faces.pyx']),
]

import numpy as np

from landlab import __version__

def register(**kwds):
    import httplib, urllib

    data = urllib.urlencode(kwds)
    header = {"Content-type": "application/x-www-form-urlencoded",
              "Accept": "text/plain"}
    conn = httplib.HTTPConnection('csdms.colorado.edu')
    conn.request('POST', '/register/', data, header)

def register_landlab():
    try:
        from sys import argv
        import platform
        data = {
            'name': 'landlab',
            'version': __version__,
            'platform': platform.platform(),
            'desc': ';'.join(argv),
        }
        register(**data)
    except Exception:
        pass

class install_and_register(install):
    def run(self):
        install.run(self)
        register_landlab()

class develop_and_register(develop):
    def run(self):
        develop.run(self)
        register_landlab()

import os

#cython_pathspec = os.path.join('landlab', 'components','**','*.pyx')
#ext_modules = cythonize(cython_pathspec)

setup(name='landlab',
      version=__version__,
      author='Eric Hutton',
      author_email='eric.hutton@colorado.edu',
      url='https://github.com/landlab',
      description='Plugin-based component modeling tool.',
      long_description=open('README.rst').read(),
      install_requires=['scipy>=0.12',
                        'nose>=1.3',
                        'matplotlib',
                        'sympy',
                        'pandas',
                        'six',
                        'pyyaml',
                       ],
      #                  'Cython>=0.22'],
      setup_requires=['cython'],
      classifiers=[
          'Intended Audience :: Science/Research',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Programming Language :: Cython',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: Implementation :: CPython',
          'Topic :: Scientific/Engineering :: Physics'
      ],
      packages=find_packages(),
      package_data={'': ['tests/*txt', 'data/*asc', 'data/*nc',
                         'preciptest.in']},
      test_suite='nose.collector',
      cmdclass={
          'install': install_and_register,
          'develop': develop_and_register,
      },
      entry_points={
          'console_scripts': [
              'landlab=landlab.cmd.landlab:main',
          ]
      },
      include_dirs = [np.get_include()],
      ext_modules = ext_modules,
     )
<|endoftext|>


<commit_before>__doc__ = """
Send alerts, notifications, and messages based on events in your django application.

See the README file for details, usage info, and a list of gotchas.
"""

from setuptools import setup

setup(
    name='django-alert',
    version='0.5.1',
    author='James Robert',
    author_email='jiaaro@gmail.com',
    description=('Send alerts, notifications, and messages based '
                'on events in your django application'),
    license='MIT',
    keywords='django alerts notifications social',
    url='https://djangoalert.com',
    packages=['alert', 'alert.management', 'alert.management.commands'],
    long_description=__doc__,
    classifiers=[
    	'Development Status :: 5 - Production/Stable',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python',
        'Framework :: Django',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent',
        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Utilities'
    ]
)
<commit_msg>oops no migrations in the app via setup.py - doh!<commit_after>__doc__ = """
Send alerts, notifications, and messages based on events in your django application.

See the README file for details, usage info, and a list of gotchas.
"""

from setuptools import setup

setup(
    name='django-alert',
    version='0.5.2',
    author='James Robert',
    author_email='jiaaro@gmail.com',
    description=('Send alerts, notifications, and messages based '
                'on events in your django application'),
    license='MIT',
    keywords='django alerts notifications social',
    url='https://djangoalert.com',
    packages=['alert', 'alert.management', 'alert.management.commands', 'alert.migrations',],
    long_description=__doc__,
    classifiers=[
    	'Development Status :: 5 - Production/Stable',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python',
        'Framework :: Django',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent',
        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Utilities'
    ]
)
<|endoftext|>


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

# Copyright 2014–2019 Nico Madysa

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

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

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

from setuptools import setup, find_packages

long_description = """\
This script offers a class GlitchedPNGFile that enables the user
to partially decompress a PNG file and deliberately put errors into
it's bytestream.

It can also be called from the command line to corrupt PNG files individually
or in bulk.
"""

setup(
    name='pngglitch',
    version='1.0.1',
    python_requires='>=2.7',
    packages=['pngglitch'],
    entry_points={
        'console_scripts': [
            'pngglitch = pngglitch.__main__:main',
            ]
        },
    zip_safe=True,
    author='Nico Madysa',
    author_email='uebertreiber@gmx.de',
    description='Corrupt PNG files without breaking their checksums',
    long_description=long_description,
    license='Apache License, Version 2.0',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Console',
        'Intended Audience :: Other Audience',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 2 :: Only',
        'Topic :: Artistic Software',
        ],
    keywords='png glitch art',
    url='https://github.com/troiganto/pngglitch',
)
<commit_msg>Fix minor lints in setup.py.<commit_after>#!/usr/bin/env python3
# -*- coding: utf-8 -*-

# Copyright 2014–2019 Nico Madysa

# 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.
"""Setup script for Pngglitch."""

from setuptools import setup

# pylint: disable=invalid-name

long_description = """\
This script offers a class GlitchedPNGFile that enables the user
to partially decompress a PNG file and deliberately put errors into
it's bytestream.

It can also be called from the command line to corrupt PNG files individually
or in bulk.
"""

setup(
    name='pngglitch',
    version='1.0.1',
    python_requires='>=2.7',
    packages=['pngglitch'],
    entry_points={
        'console_scripts': [
            'pngglitch = pngglitch.__main__:main',
        ]
    },
    zip_safe=True,
    author='Nico Madysa',
    author_email='uebertreiber@gmx.de',
    description='Corrupt PNG files without breaking their checksums',
    long_description=long_description,
    license='Apache License, Version 2.0',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Console',
        'Intended Audience :: Other Audience',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 2 :: Only',
        'Topic :: Artistic Software',
    ],
    keywords='png glitch art',
    url='https://github.com/troiganto/pngglitch',
)
<|endoftext|>


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

from setuptools import setup, find_packages

setup(
  name='python-cvmfsutils',
  version='0.1.0',
  url='http://cernvm.cern.ch',
  author='Rene Meusel',
  author_email='rene.meusel@cern.ch',
  license='(c) 2014 CERN - BSD License',
  description='Inspect CernVM-FS repositories and in particular their catalogs.',
  long_description=open('README').read(),
  classifiers= [
    'Development Status :: 4 - Beta',
    'Environment :: Console',
    'Intended Audience :: Developers',
    'Intended Audience :: System Administrators',
    'License :: OSI Approved :: BSD License',
    'Natural Language :: English',
    'Operating System :: POSIX :: Linux',
    'Topic :: Software Development',
    'Topic :: Software Development :: Libraries :: Python Modules',
    'Topic :: System :: Filesystems',
    'Topic :: System :: Networking :: Monitoring',
    'Topic :: System :: Systems Administration'
  ],
  packages=find_packages(),
  test_suite='cvmfs.test',
  tests_require='xmlrunner',
  install_requires=[ # don't forget to adapt the matching RPM dependencies!
    'python-dateutil >= 1.4.1',
    'requests >= 1.1.0',
    'M2Crypto >= 0.20.0'
  ]
)
<commit_msg>update setup.py<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages

setup(
  name='python-cvmfsutils',
  version='0.1.0',
  url='http://cernvm.cern.ch',
  author='Rene Meusel',
  author_email='rene.meusel@cern.ch',
  license='(c) 2015 CERN - BSD License',
  description='Inspect CernVM-FS repositories',
  long_description=open('README').read(),
  classifiers= [
    'Development Status :: 4 - Beta',
    'Environment :: Console',
    'Intended Audience :: Developers',
    'Intended Audience :: System Administrators',
    'License :: OSI Approved :: BSD License',
    'Natural Language :: English',
    'Operating System :: POSIX :: Linux',
    'Operating System :: MacOS :: MacOS X',
    'Topic :: Software Development',
    'Topic :: Software Development :: Libraries :: Python Modules',
    'Topic :: System :: Filesystems',
    'Topic :: System :: Networking :: Monitoring',
    'Topic :: System :: Systems Administration'
  ],
  packages=find_packages(),
  test_suite='cvmfs.test',
  tests_require='xmlrunner',
  install_requires=[ # don't forget to adapt the matching RPM dependencies!
    'python-dateutil >= 1.4.1',
    'requests >= 1.1.0',
    'M2Crypto >= 0.20.0'
  ]
)
<|endoftext|>


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

try:
    from setuptools import setup, Extension
except ImportError :
    raise ImportError("setuptools module required, please go to https://pypi.python.org/pypi/setuptools and follow the instructions for installing setuptools")

# from Michael Hoffman's http://www.ebi.ac.uk/~hoffman/software/sunflower/

class NumpyExtension(Extension):

    def __init__(self, *args, **kwargs):
        Extension.__init__(self, *args, **kwargs)

        self._include_dirs = self.include_dirs
        del self.include_dirs  # restore overwritten property

    # warning: Extension is a classic class so it's not really read-only

    @property
    def include_dirs(self):
        from numpy import get_include

        return self._include_dirs + [get_include()]

setup(
    name='Dedupe',
    url='https://github.com/open-city/dedupe',
    version='0.5',
    packages=['dedupe', 'dedupe.distance'],
    ext_modules=[NumpyExtension('dedupe.distance.affinegap', ['src/affinegap.c']),
                 Extension('dedupe.distance.jaccard', ['src/jaccard.c']),
                 NumpyExtension('dedupe.distance.haversine', ['src/haversine.c'], libraries=['m']),
                 NumpyExtension('dedupe.distance.cosine', ['src/cosine.c'], libraries=['m']),
                 NumpyExtension('dedupe.lr', sources=['src/lr.c'])],

    license='The MIT License: http://www.opensource.org/licenses/mit-license.php',
    install_requires=['numpy', 'fastcluster', 'hcluster', 'networkx'],
    long_description=open('README.md').read(),
    )
<commit_msg>add zope.interface and zope.index to install_requires<commit_after>#!/usr/bin/python
# -*- coding: utf-8 -*-

try:
    from setuptools import setup, Extension
except ImportError :
    raise ImportError("setuptools module required, please go to https://pypi.python.org/pypi/setuptools and follow the instructions for installing setuptools")

# from Michael Hoffman's http://www.ebi.ac.uk/~hoffman/software/sunflower/

class NumpyExtension(Extension):

    def __init__(self, *args, **kwargs):
        Extension.__init__(self, *args, **kwargs)

        self._include_dirs = self.include_dirs
        del self.include_dirs  # restore overwritten property

    # warning: Extension is a classic class so it's not really read-only

    @property
    def include_dirs(self):
        from numpy import get_include

        return self._include_dirs + [get_include()]

setup(
    name='Dedupe',
    url='https://github.com/open-city/dedupe',
    version='0.5',
    packages=['dedupe', 'dedupe.distance'],
    ext_modules=[NumpyExtension('dedupe.distance.affinegap', ['src/affinegap.c']),
                 Extension('dedupe.distance.jaccard', ['src/jaccard.c']),
                 NumpyExtension('dedupe.distance.haversine', ['src/haversine.c'], libraries=['m']),
                 NumpyExtension('dedupe.distance.cosine', ['src/cosine.c'], libraries=['m']),
                 NumpyExtension('dedupe.lr', sources=['src/lr.c'])],

    license='The MIT License: http://www.opensource.org/licenses/mit-license.php',
    install_requires=['numpy', 'fastcluster', 'hcluster', 'networkx', 'zope.interface', 'zope.index'],
    long_description=open('README.md').read(),
    )
<|endoftext|>


<commit_before>"""
MongoNorm
=========

**MongoNorm** is Not a Object Relational Mapping library for mongodb.

MongoNorm just packages document Mongo's as an object. you can add custom
methods and properties for it, And you can still use it as dict.

MongoNorm based on pymongo. The class and methods which is not be mentioned
is same as pymongo's, please refer to pymongo's documentation first.

"""
from setuptools import setup

VERSION = '0.2.1'

CLASSIFIERS = [
    'Development Status :: 3 - Alpha',
    'Intended Audience :: Developers',
    'License :: OSI Approved :: BSD License',
    'Operating System :: OS Independent',
    'Programming Language :: Python',
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.3",
    "Programming Language :: Python :: 3.4",
    "Programming Language :: Python :: 3.5",
    "Programming Language :: Python :: 3.6",
    "Programming Language :: Python :: Implementation :: CPython",
    "Programming Language :: Python :: Implementation :: PyPy",
    'Topic :: Database',
    'Topic :: Software Development :: Libraries :: Python Modules',
]

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

setup(
    name='MongoNorm',
    version=VERSION,
    url='https://github.com/CrowsT/MongoNorm',
    license='BSD',
    author='Crows',
    author_email='pt.wenhan@gmail.com',
    description="MongoNorm is Not a Object Relational Mapping library "
                "for mongodb.",
    long_description=__doc__,
    packages=['mongonorm'],
    platforms='any',
    install_requires=[
        'PyMongo(>=3.0)'
    ],
    classifiers=CLASSIFIERS
)
<commit_msg>0.2.2<commit_after>"""
MongoNorm
=========

**MongoNorm** is Not a Object Relational Mapping library for mongodb.

MongoNorm just packages document Mongo's as an object. you can add custom
methods and properties for it, And you can still use it as dict.

MongoNorm based on pymongo. The class and methods which is not be mentioned
is same as pymongo's, please refer to pymongo's documentation first.

"""
from setuptools import setup

VERSION = '0.2.2'

CLASSIFIERS = [
    'Development Status :: 3 - Alpha',
    'Intended Audience :: Developers',
    'License :: OSI Approved :: BSD License',
    'Operating System :: OS Independent',
    'Programming Language :: Python',
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.3",
    "Programming Language :: Python :: 3.4",
    "Programming Language :: Python :: 3.5",
    "Programming Language :: Python :: 3.6",
    "Programming Language :: Python :: Implementation :: CPython",
    "Programming Language :: Python :: Implementation :: PyPy",
    'Topic :: Database',
    'Topic :: Software Development :: Libraries :: Python Modules',
]

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

setup(
    name='MongoNorm',
    version=VERSION,
    url='https://github.com/CrowsT/MongoNorm',
    license='BSD',
    author='Crows',
    author_email='pt.wenhan@gmail.com',
    description="MongoNorm is Not a Object Relational Mapping library "
                "for mongodb.",
    long_description=__doc__,
    packages=['mongonorm'],
    platforms='any',
    install_requires=[
        'PyMongo(>=3.0)'
    ],
    classifiers=CLASSIFIERS
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

setup(
    name='beerlog',
    version='0.50',
    long_description=__doc__,
    packages=['beerlog'],
    include_package_data=True,
    zip_safe=False,
    data_files=[('/var/www_apps/', ['beerlog.wsgi'])],
    install_requires=['Flask',
                      'PIL',
                      'WTForms',
                      'Flask-WTF',
                      'Boto',
                      'SQLObject',
                      'Fabric',
                      'python-dateutil==1.5',],
    )<commit_msg>lets try this<commit_after>from setuptools import setup, find_packages

setup(
    name='beerlog',
    version='0.50',
    long_description=__doc__,
    packages=['beerlog', 'beerlog.blog', 'beerlog.admin', 'beerlog.image'],
    include_package_data=True,
    zip_safe=False,
    data_files=[('/var/www_apps/', ['beerlog.wsgi'])],
    install_requires=['Flask',
                      'PIL',
                      'WTForms',
                      'Flask-WTF',
                      'Boto',
                      'SQLObject',
                      'Fabric',
                      'python-dateutil==1.5',],
    )<|endoftext|>


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

from distutils.core import setup
from subprocess import call

def convert_readme():
    try:
        call(["pandoc", "-t",  "rst", "-o",  "README.txt", "readme.md"])
    except OSError:
        pass
    return open('README.txt').read()

setup(name='mongodbforms',
    version='0.1.3',
    description="An implementation of django forms using mongoengine.",
    author='Jan Schrewe',
    author_email='jan@schafproductions.com',
    url='http://www.schafproductions.com/projects/django-mongodb-forms/',
    packages=['mongodbforms',],
    package_data={
    },
    license='New BSD License',
    long_description=convert_readme(),
)
<commit_msg>Version bump and more info in setup.py<commit_after>#!/usr/bin/env python

from setuptools import setup
from subprocess import call

def convert_readme():
    try:
        call(["pandoc", "-t",  "rst", "-o",  "README.txt", "readme.md"])
    except OSError:
        pass
    return open('README.txt').read()

setup(name='mongodbforms',
    version='0.1.4',
    description="An implementation of django forms using mongoengine.",
    author='Jan Schrewe',
    author_email='jan@schafproductions.com',
    url='http://www.schafproductions.com/projects/django-mongodb-forms/',
    packages=['mongodbforms',],
    package_data={},
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Framework :: Django',
    ],
    license='New BSD License',
    long_description=convert_readme(),
    include_package_data=True,
    zip_safe=False,
    install_requires=['setuptools', 'django>=1.3', 'mongoengine',],
)
<|endoftext|>