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

from distutils.core import setup

setup(name='TCFlib',
      version='0.1',
      description='Python TCF library',
      author='Frederik Elwert',
      author_email='frederik.elwert@web.de',
#      url='',
      packages=['tcflib'],
#      package_data={'tcflib': ['data/dcs-119.dcif']},
     )
<commit_msg>Bump version to 0.2 in setup.py.<commit_after>#!/usr/bin/env python3
# -*- coding: utf-8 -*-

from distutils.core import setup

setup(name='TCFlib',
      version='0.2',
      description='Python TCF library',
      author='Frederik Elwert',
      author_email='frederik.elwert@web.de',
      url='https://github.com/SeNeReKo/TCFlib',
      packages=['tcflib'],
#      package_data={'tcflib': ['data/dcs-119.dcif']},
     )
<|endoftext|>


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

from setuptools import setup

setup(
    name="htmlgen",
    version="2.0.0",
    description="HTML 5 Generator",
    long_description=open("README.md").read(),
    long_description_content_type="text/markdown",
    author="Sebastian Rittau",
    author_email="srittau@rittau.biz",
    url="https://github.com/srittau/python-htmlgen",
    packages=["htmlgen", "test_htmlgen"],
    package_data={"htmlgen": ["*.pyi", "py.typed"]},
    python_requires=">=3.5",
    tests_require=["asserts >= 0.8.0, < 0.11"],
    license="MIT",
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Topic :: Internet :: WWW/HTTP :: WSGI",
        "Topic :: Text Processing :: Markup :: HTML",
    ],
)
<commit_msg>Add Python 3.8 to trove classifiers<commit_after>#!/usr/bin/env python

from setuptools import setup

setup(
    name="htmlgen",
    version="2.0.0",
    description="HTML 5 Generator",
    long_description=open("README.md").read(),
    long_description_content_type="text/markdown",
    author="Sebastian Rittau",
    author_email="srittau@rittau.biz",
    url="https://github.com/srittau/python-htmlgen",
    packages=["htmlgen", "test_htmlgen"],
    package_data={"htmlgen": ["*.pyi", "py.typed"]},
    python_requires=">=3.5",
    tests_require=["asserts >= 0.8.0, < 0.11"],
    license="MIT",
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Topic :: Internet :: WWW/HTTP :: WSGI",
        "Topic :: Text Processing :: Markup :: HTML",
    ],
)
<|endoftext|>


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

from setuptools import setup
from setuptools import find_packages

with open('requirements.txt', 'r') as f:
      requirements = f.readlines()

setup(name='inferbeddings',
      version='0.2.0',
      description='Adversarial Set Regularizaton for '
                  'Knowledge Base Population and '
                  'Natural Language Inference',
      author='Pasquale Minervini',
      author_email='p.minervini@ucl.ac.uk',
      url='https://github.com/uclmr/inferbeddings',
      test_suite='tests',
      license='MIT',
      install_requires=requirements,
      setup_requires=['pytest-runner'] + requirements,
      tests_require=requirements,
      packages=find_packages())
<commit_msg>bump in version number<commit_after># -*- coding: utf-8 -*-

from setuptools import setup
from setuptools import find_packages

with open('requirements.txt', 'r') as f:
      requirements = f.readlines()

setup(name='inferbeddings',
      version='0.3.0',
      description='Adversarial Set Regularizaton for '
                  'Knowledge Base Population and '
                  'Natural Language Inference',
      author='Pasquale Minervini',
      author_email='p.minervini@ucl.ac.uk',
      url='https://github.com/uclmr/inferbeddings',
      test_suite='tests',
      license='MIT',
      install_requires=requirements,
      setup_requires=['pytest-runner'] + requirements,
      tests_require=requirements,
      packages=find_packages())
<|endoftext|>


<commit_before>from setuptools import setup, find_packages, Extension

#from distutils.extension import Extension

#from Cython.Distutils import build_ext
#from Cython.Build import cythonize

print("packages:", find_packages())

setup_requires = [
        'cython',
        'numpy'
        ]

install_requires = [
        'cython',
        'numpy',
        'negspy',
        'pysam',
        'requests',
        'h5py',
        'pybedtools',
        'pandas',
        'slugid',
        'sortedcontainers',
        'nose',
        'pyBigWig',
        'Click']

def extensions():
    import numpy
    from Cython.Build import cythonize
    clodius_fast = Extension(
        "clodius.fast", ["clodius/fast.pyx"], include_dirs=[
            numpy.get_include()])
    return cythonize([clodius_fast])

def numpy_include():
    import numpy

    return [numpy.get_include()]

class lazy_cythonize(list):
    '''
    Don't try to include these files until absolutely necessary.

    This function is required because at the time of calling the
    scripts in setup_requires may not have been installed.

    This delays their use until after they've been installed.
    '''
    def __init__(self, callback):
        self._list, self.callback = None, callback
    def c_list(self):
        if self._list is None: self._list = self.callback()
        return self._list
    def __iter__(self):
        for e in self.c_list(): yield e
    def __getitem__(self, ii): return self.c_list()[ii]
    def __len__(self): return len(self.c_list())

setup(
    name='clodius',
    include_dirs= lazy_cythonize(numpy_include),
    ext_modules = lazy_cythonize(extensions),
    version='0.4.4',
    description='Tile generation for big data',
    author='Peter Kerpedjiev',
    author_email='pkerpedjiev@gmail.com',
    url='',
    packages=['clodius', 'clodius.cli'],
    setup_requires=setup_requires,
    install_requires=install_requires,
    entry_points={
        'console_scripts': [
            'clodius = clodius.cli.aggregate:cli',
            ]
        }
)
<commit_msg>Removed pybedtools from setup_requires<commit_after>from setuptools import setup, find_packages, Extension

#from distutils.extension import Extension

#from Cython.Distutils import build_ext
#from Cython.Build import cythonize

print("packages:", find_packages())

setup_requires = [
        'cython',
        'numpy'
        ]

install_requires = [
        'cython',
        'numpy',
        'negspy',
        'pysam',
        'requests',
        'h5py',
        'pandas',
        'slugid',
        'sortedcontainers',
        'nose',
        'pyBigWig',
        'Click']

def extensions():
    import numpy
    from Cython.Build import cythonize
    clodius_fast = Extension(
        "clodius.fast", ["clodius/fast.pyx"], include_dirs=[
            numpy.get_include()])
    return cythonize([clodius_fast])

def numpy_include():
    import numpy

    return [numpy.get_include()]

class lazy_cythonize(list):
    '''
    Don't try to include these files until absolutely necessary.

    This function is required because at the time of calling the
    scripts in setup_requires may not have been installed.

    This delays their use until after they've been installed.
    '''
    def __init__(self, callback):
        self._list, self.callback = None, callback
    def c_list(self):
        if self._list is None: self._list = self.callback()
        return self._list
    def __iter__(self):
        for e in self.c_list(): yield e
    def __getitem__(self, ii): return self.c_list()[ii]
    def __len__(self): return len(self.c_list())

setup(
    name='clodius',
    include_dirs= lazy_cythonize(numpy_include),
    ext_modules = lazy_cythonize(extensions),
    version='0.4.4',
    description='Tile generation for big data',
    author='Peter Kerpedjiev',
    author_email='pkerpedjiev@gmail.com',
    url='',
    packages=['clodius', 'clodius.cli'],
    setup_requires=setup_requires,
    install_requires=install_requires,
    entry_points={
        'console_scripts': [
            'clodius = clodius.cli.aggregate:cli',
            ]
        }
)
<|endoftext|>


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

from distutils.core import setup

CLASSIFIERS = filter(None, map(str.strip,
"""
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 3
Topic :: Software Development :: Libraries :: Python Modules
Topic :: System :: Networking
Topic :: Internet
""".splitlines()))

setup(name='whizzer',
      version='0.2',
      description='Fast event driven socket server framework based on pyev',
      author='Tom Burdick',
      author_email='thomas.burdick@gmail.com',
      url='http://bitbucket.org/bfrog/whizzer',
      packages=['whizzer'],
      classifiers=CLASSIFIERS,
     )
<commit_msg>working a better installation script<commit_after># -*- coding: utf-8 -*-
# Copyright (c) 2010 Tom Burdick <thomas.burdick@gmail.com>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.

from distutils.core import setup

CLASSIFIERS = filter(None, map(str.strip,
"""
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 3
Topic :: Software Development :: Libraries :: Python Modules
Topic :: System :: Networking
Topic :: Internet
""".splitlines()))

setup(name='whizzer',
      version='0.2.1',
      description='Fast event driven socket server framework based on pyev',
      author='Tom Burdick',
      author_email='thomas.burdick@gmail.com',
      url='http://bitbucket.org/bfrog/whizzer',
      packages=['whizzer'],
      install_requires=['pyev', 'msgpack-python'],
      classifiers=CLASSIFIERS,
     )
<|endoftext|>


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

import os
from distutils.core import setup

import ldapom

# Utility function to read the README file.
def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(name='ldapom',
      version='0.10.0',
      description='A pythonic LDAP to Python object mapper',
      url='https://github.com/leonhandreke/ldapom',
      license='MIT',
      keywords = "ldap object mapper",
      long_description=read('README.md'),
      packages=['ldapom',],
      ext_modules=[ldapom.connection.ffi.verifier.get_extension()],
     )

<commit_msg>Fix setup.py by copying setup.py from https://github.com/xattr/xattr<commit_after># -*- coding: utf-8 -*-

import os
from setuptools import setup
from distutils.command.build import build

class cffi_build(build):
    """This is a shameful hack to ensure that cffi is present when
    we specify ext_modules. We can't do this eagerly because
    setup_requires hasn't run yet.

    Copied from https://github.com/xattr/xattr
    """
    def finalize_options(self):
        import ldapom
        self.distribution.ext_modules = [ldapom.connection.ffi.verifier.get_extension()]
        build.finalize_options(self)

# Utility function to read the README file.
def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(name='ldapom',
      version='0.10.0',
      description='A pythonic LDAP to Python object mapper',
      url='https://github.com/leonhandreke/ldapom',
      license='MIT',
      keywords = "ldap object mapper",
      long_description=read('README.md'),
      packages=['ldapom',],
      install_requires=['cffi'],
      setup_requires=['cffi'],
      zip_safe=False,
      cmdclass={'build': cffi_build},
     )

<|endoftext|>


<commit_before>from setuptools import setup, find_packages

setup(
    name='formal',
    version='0.15',
    description='HTML forms framework for Nevow',
    author='Matt Goodall',
    author_email='matt@pollenation.net',
    packages=find_packages(),
    include_package_data=True,
    zip_safe = True,
    )
<commit_msg>added keytocssid for backward compatibility<commit_after>from setuptools import setup, find_packages

setup(
    name='formal',
    version='0.15.1',
    description='HTML forms framework for Nevow',
    author='Matt Goodall',
    author_email='matt@pollenation.net',
    packages=find_packages(),
    include_package_data=True,
    zip_safe = True,
    )
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

version = '0.0.1'

install_requires = (
    'djangorestframework>=2.3.12,<3',
    'incuna_mail>=0.1.1',
)

setup(
    name='django-user-management',
    packages=find_packages(),
    include_package_data=True,
    version=version,
    description='',
    long_description='',
    author='incuna',
    author_email='admin@incuna.com',
    url='https://github.com/incuna/django-user-management/',
    install_requires=install_requires,
    zip_safe=False,
)
<commit_msg>Bump to v0.0.2<commit_after>from setuptools import setup, find_packages

version = '0.0.2'

install_requires = (
    'djangorestframework>=2.3.12,<3',
    'incuna_mail>=0.1.1',
)

setup(
    name='django-user-management',
    packages=find_packages(),
    include_package_data=True,
    version=version,
    description='',
    long_description='',
    author='incuna',
    author_email='admin@incuna.com',
    url='https://github.com/incuna/django-user-management/',
    install_requires=install_requires,
    zip_safe=False,
)
<|endoftext|>


<commit_before>#!/usr/bin/env python
#
# Copyright 2014 Trey Morris
#
#   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

setup(
    name='paste_capsule',
    version='1.1.0',
    author='Trey Morris',
    author_email='trey@treymorris.com',
    description='paste capsule for storing pastes associatd with tags',
    long_description=open('README.md').read(),
    install_requires=['gunicorn', 'gevent',
                      'flask', 'flask-appconfig', 'flask-bootstrap',
                      'flask-sqlalchemy', 'mysql-python'],
    classifiers=['Development Status :: 5 - Production/Stable',
                 'License :: OSI Approved :: Apache Software License'],
    keywords='gist gists paste pastes capsule',
    packages=find_packages(),
    include_package_data=True,
    zip_safe=False,
    license='Apache Software License',
    url='https://github.com/tr3buchet/paste_capsule')
<commit_msg>added datetime to requires<commit_after>#!/usr/bin/env python
#
# Copyright 2014 Trey Morris
#
#   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

setup(
    name='paste_capsule',
    version='1.1.0',
    author='Trey Morris',
    author_email='trey@treymorris.com',
    description='paste capsule for storing pastes associatd with tags',
    long_description=open('README.md').read(),
    install_requires=['gunicorn', 'gevent', 'datetime',
                      'flask', 'flask-appconfig', 'flask-bootstrap',
                      'flask-sqlalchemy', 'mysql-python'],
    classifiers=['Development Status :: 5 - Production/Stable',
                 'License :: OSI Approved :: Apache Software License'],
    keywords='gist gists paste pastes capsule',
    packages=find_packages(),
    include_package_data=True,
    zip_safe=False,
    license='Apache Software License',
    url='https://github.com/tr3buchet/paste_capsule')
<|endoftext|>


<commit_before>"""Setup file for netdisco."""
import os
from setuptools import setup, find_packages

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

with open(os.path.join(here, 'README.md'), encoding='utf-8') as readme_file:
    long_description = readme_file.read()

setup(
    name='netdisco',
    version='2.4.0',
    description='Discover devices on your local network',
    long_description=long_description,
    long_description_content_type='text/markdown',
    url='https://github.com/home-assistant/netdisco',
    author='Paulus Schoutsen',
    author_email='Paulus@PaulusSchoutsen.nl',
    license='Apache License 2.0',
    install_requires=['requests>=2.0', 'zeroconf>=0.21.0'],
    python_requires='>=3',
    packages=find_packages(exclude=['tests', 'tests.*']),
    zip_safe=False,
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: POSIX',
        'Programming Language :: Python :: 3',
        'Topic :: Utilities',
        'Topic :: Home Automation',
        'Topic :: System :: Networking',
    ],
)
<commit_msg>Version bump to 2.6.0<commit_after>"""Setup file for netdisco."""
import os
from setuptools import setup, find_packages

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

with open(os.path.join(here, 'README.md'), encoding='utf-8') as readme_file:
    long_description = readme_file.read()

setup(
    name='netdisco',
    version='2.6.0',
    description='Discover devices on your local network',
    long_description=long_description,
    long_description_content_type='text/markdown',
    url='https://github.com/home-assistant/netdisco',
    author='Paulus Schoutsen',
    author_email='Paulus@PaulusSchoutsen.nl',
    license='Apache License 2.0',
    install_requires=['requests>=2.0', 'zeroconf>=0.21.0'],
    python_requires='>=3',
    packages=find_packages(exclude=['tests', 'tests.*']),
    zip_safe=False,
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: POSIX',
        'Programming Language :: Python :: 3',
        'Topic :: Utilities',
        'Topic :: Home Automation',
        'Topic :: System :: Networking',
    ],
)
<|endoftext|>


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

class bump_version(Command):

    description = "increment the package version and commit the changes"

    user_options = [
        ("major", None, "bump the first digit, for incompatible API changes"),
        ("minor", None, "bump the second digit, for new backward-compatible features"),
        ("patch", None, "bump the third digit, for bug fixes (default)"),
    ]

    def initialize_options(self):
        self.minor = False
        self.major = False
        self.patch = False

    def finalize_options(self):
        part = None
        for attr in ("major", "minor", "patch"):
            if getattr(self, attr, False):
                if part is None:
                    part = attr
                else:
                    from distutils.errors import DistutilsOptionError
                    raise DistutilsOptionError(
                        "version part options are mutually exclusive")
        self.part = part or "patch"

    def bumpversion(self, part, **kwargs):
        """ Run bump2version.main() with the specified arguments.
        """
        import bumpversion

        args = ['--verbose'] if self.verbose > 1 else []
        for k, v in kwargs.items():
            k = "--{}".format(k.replace("_", "-"))
            is_bool = isinstance(v, bool) and v is True
            args.extend([k] if is_bool else [k, str(v)])
        args.append(part)

        log.debug(
            "$ bumpversion %s" % " ".join(a.replace(" ", "\\ ") for a in args))

        bumpversion.main(args)

    def run(self):
        log.info("bumping '%s' version" % self.part)
        self.bumpversion(self.part)

class release(bump_version):
    """Drop the developmental release '.devN' suffix from the package version,
    open the default text $EDITOR to write release notes, commit the changes
    and generate a git tag.
    Release notes can also be set with the -m/--message option, or by reading
    from standard input.
    """

    description = "tag a new release"

    user_options = [
        ("message=", 'm', "message containing the release notes"),
    ]

    def initialize_options(self):
        self.message = None

    def finalize_options(self):
        import re

        current_version = self.distribution.metadata.get_version()
        if not re.search(r"\.dev[0-9]+", current_version):
            from distutils.errors import DistutilsSetupError
            raise DistutilsSetupError(
                "current version (%s) has no '.devN' suffix.\n       "
                "Run 'setup.py bump_version' with any of "
                "--major, --minor, --patch options" % current_version)

        message = self.message
        if message is None:
            if sys.stdin.isatty():
                # stdin is interactive, use editor to write release notes
                message = self.edit_release_notes()
            else:
                # read release notes from stdin pipe
                message = sys.stdin.read()

        if not message.strip():
            from distutils.errors import DistutilsSetupError
            raise DistutilsSetupError("release notes message is empty")

        self.message = "v{new_version}\n\n%s" % message

    @staticmethod
    def edit_release_notes():
        """Use the default text $EDITOR to write release notes.
        If $EDITOR is not set, use 'nano'."""
        from tempfile import mkstemp
        import os
        import shlex
        import subprocess

        text_editor = shlex.split(os.environ.get('EDITOR', 'nano'))

        fd, tmp = mkstemp(prefix='bumpversion-')
        try:
            os.close(fd)
            with open(tmp, 'w') as f:
                f.write("\n\n# Write release notes.\n"
                        "# Lines starting with '#' will be ignored.")
            subprocess.check_call(text_editor + [tmp])
            with open(tmp, 'r') as f:
                changes = "".join(
                    l for l in f.readlines() if not l.startswith('#'))
        finally:
            os.remove(tmp)
        return changes

    def run(self):
        log.info("stripping developmental release suffix")
        # drop '.dev0' suffix, commit with given message and create git tag
        self.bumpversion("release",
                         tag=True,
                         message="Release {new_version}",
                         tag_message=self.message)

needs_sphinx = {'build_sphinx', 'dist'}.intersection(sys.argv)
sphinx = ['sphinx'] if needs_sphinx else []
needs_pytest = {'pytest', 'test'}.intersection(sys.argv)
pytest_runner = ['pytest_runner'] if needs_pytest else []
needs_wheel = {'bdist_wheel'}.intersection(sys.argv)
wheel = ['wheel'] if needs_wheel else []
needs_bump2version = {'release', 'bump_version'}.intersection(sys.argv)
bump2version = ['bump2version'] if needs_bump2version else []

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

setup_params = dict(
    name="defcon",
    version="0.6.0.dev0",
    description="A set of flexible objects for representing UFO data.",
    long_description=long_description,
    author="Tal Leming",
    author_email="tal@typesupply.com",
    url="http://code.typesupply.com",
    license="MIT",
    package_dir={"": "Lib"},
    packages=find_packages("Lib"),
    include_package_data=True,
    setup_requires=pytest_runner + sphinx + wheel + bump2version,
    tests_require=[
        'pytest>=3.0.3',
    ],
    install_requires=[
        "fonttools[ufo] >= 3.31.0",
    ],
    extras_require={
        'pens': ["fontPens>=0.1.0"],
        'lxml': ["fonttools[lxml] >= 3.31.0"],
    },
    cmdclass={
        "release": release,
        "bump_version": bump_version,
    },
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 3',
        'Topic :: Multimedia :: Graphics :: Editors :: Vector-Based',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ],
)

if __name__ == "__main__":
    setup(**setup_params)
<commit_msg>setup.py: install fonttools with '[unicode]' extra to install unicodedata2 backport<commit_after>#!/usr/bin/env python
from setuptools import setup, find_packages, Command
import sys
from distutils import log

class bump_version(Command):

    description = "increment the package version and commit the changes"

    user_options = [
        ("major", None, "bump the first digit, for incompatible API changes"),
        ("minor", None, "bump the second digit, for new backward-compatible features"),
        ("patch", None, "bump the third digit, for bug fixes (default)"),
    ]

    def initialize_options(self):
        self.minor = False
        self.major = False
        self.patch = False

    def finalize_options(self):
        part = None
        for attr in ("major", "minor", "patch"):
            if getattr(self, attr, False):
                if part is None:
                    part = attr
                else:
                    from distutils.errors import DistutilsOptionError
                    raise DistutilsOptionError(
                        "version part options are mutually exclusive")
        self.part = part or "patch"

    def bumpversion(self, part, **kwargs):
        """ Run bump2version.main() with the specified arguments.
        """
        import bumpversion

        args = ['--verbose'] if self.verbose > 1 else []
        for k, v in kwargs.items():
            k = "--{}".format(k.replace("_", "-"))
            is_bool = isinstance(v, bool) and v is True
            args.extend([k] if is_bool else [k, str(v)])
        args.append(part)

        log.debug(
            "$ bumpversion %s" % " ".join(a.replace(" ", "\\ ") for a in args))

        bumpversion.main(args)

    def run(self):
        log.info("bumping '%s' version" % self.part)
        self.bumpversion(self.part)

class release(bump_version):
    """Drop the developmental release '.devN' suffix from the package version,
    open the default text $EDITOR to write release notes, commit the changes
    and generate a git tag.
    Release notes can also be set with the -m/--message option, or by reading
    from standard input.
    """

    description = "tag a new release"

    user_options = [
        ("message=", 'm', "message containing the release notes"),
    ]

    def initialize_options(self):
        self.message = None

    def finalize_options(self):
        import re

        current_version = self.distribution.metadata.get_version()
        if not re.search(r"\.dev[0-9]+", current_version):
            from distutils.errors import DistutilsSetupError
            raise DistutilsSetupError(
                "current version (%s) has no '.devN' suffix.\n       "
                "Run 'setup.py bump_version' with any of "
                "--major, --minor, --patch options" % current_version)

        message = self.message
        if message is None:
            if sys.stdin.isatty():
                # stdin is interactive, use editor to write release notes
                message = self.edit_release_notes()
            else:
                # read release notes from stdin pipe
                message = sys.stdin.read()

        if not message.strip():
            from distutils.errors import DistutilsSetupError
            raise DistutilsSetupError("release notes message is empty")

        self.message = "v{new_version}\n\n%s" % message

    @staticmethod
    def edit_release_notes():
        """Use the default text $EDITOR to write release notes.
        If $EDITOR is not set, use 'nano'."""
        from tempfile import mkstemp
        import os
        import shlex
        import subprocess

        text_editor = shlex.split(os.environ.get('EDITOR', 'nano'))

        fd, tmp = mkstemp(prefix='bumpversion-')
        try:
            os.close(fd)
            with open(tmp, 'w') as f:
                f.write("\n\n# Write release notes.\n"
                        "# Lines starting with '#' will be ignored.")
            subprocess.check_call(text_editor + [tmp])
            with open(tmp, 'r') as f:
                changes = "".join(
                    l for l in f.readlines() if not l.startswith('#'))
        finally:
            os.remove(tmp)
        return changes

    def run(self):
        log.info("stripping developmental release suffix")
        # drop '.dev0' suffix, commit with given message and create git tag
        self.bumpversion("release",
                         tag=True,
                         message="Release {new_version}",
                         tag_message=self.message)

needs_sphinx = {'build_sphinx', 'dist'}.intersection(sys.argv)
sphinx = ['sphinx'] if needs_sphinx else []
needs_pytest = {'pytest', 'test'}.intersection(sys.argv)
pytest_runner = ['pytest_runner'] if needs_pytest else []
needs_wheel = {'bdist_wheel'}.intersection(sys.argv)
wheel = ['wheel'] if needs_wheel else []
needs_bump2version = {'release', 'bump_version'}.intersection(sys.argv)
bump2version = ['bump2version'] if needs_bump2version else []

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

setup_params = dict(
    name="defcon",
    version="0.6.0.dev0",
    description="A set of flexible objects for representing UFO data.",
    long_description=long_description,
    author="Tal Leming",
    author_email="tal@typesupply.com",
    url="http://code.typesupply.com",
    license="MIT",
    package_dir={"": "Lib"},
    packages=find_packages("Lib"),
    include_package_data=True,
    setup_requires=pytest_runner + sphinx + wheel + bump2version,
    tests_require=[
        'pytest>=3.0.3',
    ],
    install_requires=[
        "fonttools[ufo,unicode] >= 3.31.0",
    ],
    extras_require={
        'pens': ["fontPens>=0.1.0"],
        'lxml': ["fonttools[lxml] >= 3.31.0"],
    },
    cmdclass={
        "release": release,
        "bump_version": bump_version,
    },
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 3',
        'Topic :: Multimedia :: Graphics :: Editors :: Vector-Based',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ],
)

if __name__ == "__main__":
    setup(**setup_params)
<|endoftext|>


<commit_before>#!/usr/bin/env python
try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

# Allow trove classifiers in previous python versions
from sys import version
if version < '2.2.3':
    from distutils.dist import DistributionMetadata
    DistributionMetadata.classifiers = None
    DistributionMetadata.download_url = None

from yandex_tank_api import __version__ as version

def requireModules(moduleNames=None):
    import re
    if moduleNames is None:
        moduleNames = []
    else:
        moduleNames = moduleNames

    commentPattern = re.compile(r'^\w*?#')
    moduleNames.extend(
        filter(lambda line: not commentPattern.match(line),
            open('requirements.txt').readlines()))

    return moduleNames

setup(
    name='yandex-tank-api',
    version=version,

    author='Andrei Sekretenko',
    author_email='asekretenko@gmail.com',

    description='Yandex.Tank HTTP API',
    long_description=open('README.txt').read(),
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers'
    ],

    install_requires=requireModules([
        'tornado',

    ]),
    packages=['yandex_tank_api'],
    package_dir={'yandex_tank_api': 'yandex_tank_api'},
    package_data={'yandex_tank_api': [
        'templates/*.jade',
        'static/css/*.css',
        'static/favicon.ico',
        'static/fonts/*',
        'static/js/*.js',
        'static/js/vendor/ace/*.js',
        'static/js/vendor/*.js',
    ]},
    scripts=['scripts/yandex-tank-api-server'],
    data_files=[('/var/lib/yandex-tank-api/stpd-cache', []),
                ('/etc/yandex-tank-api/defaults', ['tank_configs/00-tank-api-defaults.ini']),
                ('/etc/yandex-tank-api/override',['tank_configs/99-tank-api-override.ini'])],
    test_suite='yandex-tank-api'
)
<commit_msg>Added pyjade and version requirements<commit_after>#!/usr/bin/env python
try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

# Allow trove classifiers in previous python versions
from sys import version
if version < '2.2.3':
    from distutils.dist import DistributionMetadata
    DistributionMetadata.classifiers = None
    DistributionMetadata.download_url = None

from yandex_tank_api import __version__ as version

def requireModules(moduleNames=None):
    import re
    if moduleNames is None:
        moduleNames = []
    else:
        moduleNames = moduleNames

    commentPattern = re.compile(r'^\w*?#')
    moduleNames.extend(
        filter(lambda line: not commentPattern.match(line),
            open('requirements.txt').readlines()))

    return moduleNames

setup(
    name='yandex-tank-api',
    version=version,

    author='Andrei Sekretenko',
    author_email='asekretenko@gmail.com',

    description='Yandex.Tank HTTP API',
    long_description=open('README.txt').read(),
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers'
    ],

    install_requires=requireModules([
        'tornado>=3.1',
        'pyjade>=3.0.0'
    ]),
    packages=['yandex_tank_api'],
    package_dir={'yandex_tank_api': 'yandex_tank_api'},
    package_data={'yandex_tank_api': [
        'templates/*.jade',
        'static/css/*.css',
        'static/favicon.ico',
        'static/fonts/*',
        'static/js/*.js',
        'static/js/vendor/ace/*.js',
        'static/js/vendor/*.js',
    ]},
    scripts=['scripts/yandex-tank-api-server'],
    data_files=[('/var/lib/yandex-tank-api/stpd-cache', []),
                ('/etc/yandex-tank-api/defaults', ['tank_configs/00-tank-api-defaults.ini']),
                ('/etc/yandex-tank-api/override',['tank_configs/99-tank-api-override.ini'])],
    test_suite='yandex-tank-api'
)
<|endoftext|>


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

from setuptools import setup, find_packages

setup(
	name='twitchy-term',
	version='1.0.0',
	description='A command line interface for browsing/streaming on Twitch.tv.',
	long_description=open('README.rst').read(),
	url='https://github.com/Andy-Au/twitchy-term',
	author='Andy Au',
	author_email='au.andy.ch@gmail.com',
	license='MIT',
	keywords='twitch livestreamer command line interface terminal stream',
	classifiers=[
        'Intended Audience :: End Users/Desktop',
        'Environment :: Console :: Curses',
        'Operating System :: POSIX',
        'Natural Language :: English',
        'Programming Language :: Python :: 3 :: Only',
        'Programming Language :: Python :: 3.4',
        'Topic :: Terminals',
        'Topic :: Games/Entertainment',
        ],
    packages=find_packages(),
    install_requires=['livestreamer'],
	entry_points={
        'console_scripts': [
            'twitchy-term=twitchyterm.__main__:main',
        ],
    },
)

<commit_msg>changed description and classifiers in setup.py<commit_after>#!/usr/bin/env python3

from setuptools import setup, find_packages

setup(
	name='twitchy-term',
	version='1.0.0',
	description='A terminal tool for browsing/streaming on Twitch.tv.',
	long_description=open('README.rst').read(),
	url='https://github.com/Andy-Au/twitchy-term',
	author='Andy Au',
	author_email='au.andy.ch@gmail.com',
	license='MIT',
	keywords='twitch livestreamer command line interface terminal stream',
	classifiers=[
        'Intended Audience :: End Users/Desktop',
        'Environment :: Console :: Curses',
        'Operating System :: POSIX',
        'Natural Language :: English',
        'Programming Language :: Python :: 3 :: Only',
        'Programming Language :: Python :: 3.4',
        'Topic :: Multimedia :: Video',
        'Topic :: Multimedia :: Sound/Audio',
        'Topic :: Games/Entertainment',
        ],
    packages=find_packages(),
    install_requires=['livestreamer'],
	entry_points={
        'console_scripts': [
            'twitchy-term=twitchyterm.__main__:main',
        ],
    },
)

<|endoftext|>


<commit_before>from setuptools import setup

setup(name='admproc',
      version='0.1.0',
      description='Admittance measurement file process',
      author='Dmitry Folov',
      license='MIT',
      packages=['admproc']
      )
      <commit_msg>added install requires<commit_after>from setuptools import setup

setup(name='admproc',
      version='0.1.0',
      description='Admittance measurement file process',
      author='Dmitry Folov',
      license='MIT',
      packages=['admproc'],
      install_requires=['numpy'],
      )<|endoftext|>


<commit_before>from setuptools import setup, find_packages
import os

version = '1.0.0.dev50'

setup(name='openprocurement.auction',
      version=version,
      description="",
      long_description=open("README.txt").read() + "\n" +
                       open(os.path.join("docs", "HISTORY.txt")).read(),
      # Get more strings from
      # http://pypi.python.org/pypi?:action=list_classifiers
      classifiers=[
        "License :: OSI Approved :: Apache Software License",
        "Programming Language :: Python",
      ],
      keywords='',
      author='Quintagroup, Ltd.',
      author_email='info@quintagroup.com',
      license='Apache License 2.0',
      url='https://github.com/openprocurement/openprocurement.auction',
      packages=find_packages(exclude=['ez_setup']),
      namespace_packages=['openprocurement'],
      include_package_data=True,
      zip_safe=False,
      install_requires=[
          'setuptools',
          'requests',
          'APScheduler',
          'iso8601',
          'python-dateutil',
          'Flask',
          'WTForms',
          'WTForms-JSON',
          'Flask-Redis',
          'WSGIProxy2',
          'gevent',
          'sse',
          'flask_oauthlib',
          'Flask-Assets',
          'cssmin',
          'jsmin'
      ],
      entry_points={
          'console_scripts': [
              'auction_worker = openprocurement.auction.auction_worker:main',
              'auctions_data_bridge = openprocurement.auction.databridge:main'
          ],
          'paste.app_factory': [
              'auctions_server = openprocurement.auction.auctions_server:make_auctions_app'
          ]
      },
      )
<commit_msg>Prepare openprocurement.auction 1.0.0.dev51.<commit_after>from setuptools import setup, find_packages
import os

version = '1.0.0.dev51'

setup(name='openprocurement.auction',
      version=version,
      description="",
      long_description=open("README.txt").read() + "\n" +
                       open(os.path.join("docs", "HISTORY.txt")).read(),
      # Get more strings from
      # http://pypi.python.org/pypi?:action=list_classifiers
      classifiers=[
        "License :: OSI Approved :: Apache Software License",
        "Programming Language :: Python",
      ],
      keywords='',
      author='Quintagroup, Ltd.',
      author_email='info@quintagroup.com',
      license='Apache License 2.0',
      url='https://github.com/openprocurement/openprocurement.auction',
      packages=find_packages(exclude=['ez_setup']),
      namespace_packages=['openprocurement'],
      include_package_data=True,
      zip_safe=False,
      install_requires=[
          'setuptools',
          'requests',
          'APScheduler',
          'iso8601',
          'python-dateutil',
          'Flask',
          'WTForms',
          'WTForms-JSON',
          'Flask-Redis',
          'WSGIProxy2',
          'gevent',
          'sse',
          'flask_oauthlib',
          'Flask-Assets',
          'cssmin',
          'jsmin'
      ],
      entry_points={
          'console_scripts': [
              'auction_worker = openprocurement.auction.auction_worker:main',
              'auctions_data_bridge = openprocurement.auction.databridge:main'
          ],
          'paste.app_factory': [
              'auctions_server = openprocurement.auction.auctions_server:make_auctions_app'
          ]
      },
      )
<|endoftext|>


<commit_before>from setuptools import setup, Extension
from Cython.Build import cythonize
from Cython.Distutils import build_ext
from pip.req import parse_requirements
from pip.download import PipSession

import numpy

install_reqs = parse_requirements("requirements.txt", session=PipSession())

# python setup.py build_ext [--inplace]
setup(
    name="crossing_tree",
    ext_modules=cythonize([Extension("crossing_tree/_crossing",
                                     ["crossing_tree/_crossing.pyx"],
                                     include_dirs=[numpy.get_include()],),]),
    cmdclass={"build_ext": build_ext},
    packages=["crossing_tree","crossing_tree/processes",],
    author='Ivan Nazarov',
    version='0.9.2',
    description="A library for experimentation with crossing trees for analysis of self-similarity",
    install_requires=[str(ir.req) for ir in install_reqs],
)
<commit_msg>Cython-related update of setup.py<commit_after>from setuptools import setup, Extension
from Cython.Build import cythonize
from Cython.Distutils import build_ext
from pip.req import parse_requirements
from pip.download import PipSession

import numpy

install_reqs = parse_requirements("requirements.txt",
                                  session=PipSession())

# python setup.py build_ext [--inplace]
setup(
    name="crossing_tree",
    ext_modules=cythonize([Extension("crossing_tree._crossing",
                                     ["crossing_tree/_crossing.pyx"],
                                     include_dirs=[numpy.get_include()],)]),
    cmdclass={"build_ext": build_ext},
    packages=["crossing_tree", "crossing_tree/processes"],
    author='Ivan Nazarov',
    version='0.9.2',
    description="""A library for experimentation with crossing trees """
                """for analysis of self-similarity.""",
    install_requires=[str(ir.req) for ir in install_reqs],
)
<|endoftext|>


<commit_before>from sys import version_info
from vmcasterpub.__version__ import version
if version_info < (2, 6):
    import sys
    print ("Please use a newer version of python")
    sys.exit(1)

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

from setuptools.command.test import test as TestCommand
import sys

doc_files_installdir = "/usr/share/doc/vmcaster"
cfg_files_installdir = "/etc/vmcaster"
if "VIRTUAL_ENV" in  os.environ:
    doc_files_installdir = 'usr/share/doc/vmcaster'
    cfg_files_installdir = "etc/vmcaster"

class Tox(TestCommand):
    user_options = [('tox-args=', 'a', "Arguments to pass to tox")]
    def initialize_options(self):
        TestCommand.initialize_options(self)
        self.tox_args = None
    def finalize_options(self):
        TestCommand.finalize_options(self)
        self.test_args = []
        self.test_suite = True
    def run_tests(self):
        #import here, cause outside the eggs aren't loaded
        import tox
        import shlex
        args = self.tox_args
        if args:
            args = shlex.split(self.tox_args)
        else:
            args = ['-c', 'tox.ini']
        errno = tox.cmdline(args=args)
        sys.exit(errno)

setup(name='vmcaster',
    version=version,
    description="""vmcaster is a simple tool for managing and updating your published virtual machines image lists. Following the Hepix image list format.""",
    long_description="""vmcaster was designed with the realisation that users typically create new virtual machines images rarely but update them frequently. Most other tools for marking up image lists don't minimise the amount of data entry for updates. vmcaster attempts to be the first of a new generation of image list publishers. the tasks of updating an image and uploading a fresh signed imagelist have been made as painless as possible as these are the most common tasks.""",
    author="O M Synge",
    author_email="owen.synge@desy.de",
    license='Apache License (2.0)',
    install_requires=[
       "sqlalchemy>=0.5",
       "M2Crypto>=0.16",
        ],
    url = 'https://svnsrv.desy.de/desy/grid-virt/org.desy.dish.updator',
    classifiers=[
        'Development Status :: 4 - Production/Stable',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'Intended Audience :: Science/Research'
        'Intended Audience :: System Administrators',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: POSIX',
        'Programming Language :: Python',
        ],
    packages=['vmcasterpub'],
    scripts=['vmcaster'],

    data_files=[(doc_files_installdir, ['README.md', 'ChangeLog', 'LICENSE']),
        (cfg_files_installdir, ['vmcaster.cfg.template']) ],
    tests_require=[
        'coverage >= 3.0',
        'nose >= 1.1.0',
        'mock',
        'SQLAlchemy >= 0.7.8',
    ],
    setup_requires=[
        'SQLAlchemy >= 0.7.8',
    ],
    test_suite = 'nose.collector',
    cmdclass = {'test': Tox},

    )
<commit_msg>imports os<commit_after>from sys import version_info
from vmcasterpub.__version__ import version
if version_info < (2, 6):
    import sys
    print ("Please use a newer version of python")
    sys.exit(1)

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

from setuptools.command.test import test as TestCommand
import sys
import os

doc_files_installdir = "/usr/share/doc/vmcaster"
cfg_files_installdir = "/etc/vmcaster"
if "VIRTUAL_ENV" in  os.environ:
    doc_files_installdir = 'usr/share/doc/vmcaster'
    cfg_files_installdir = "etc/vmcaster"

class Tox(TestCommand):
    user_options = [('tox-args=', 'a', "Arguments to pass to tox")]
    def initialize_options(self):
        TestCommand.initialize_options(self)
        self.tox_args = None
    def finalize_options(self):
        TestCommand.finalize_options(self)
        self.test_args = []
        self.test_suite = True
    def run_tests(self):
        #import here, cause outside the eggs aren't loaded
        import tox
        import shlex
        args = self.tox_args
        if args:
            args = shlex.split(self.tox_args)
        else:
            args = ['-c', 'tox.ini']
        errno = tox.cmdline(args=args)
        sys.exit(errno)

setup(name='vmcaster',
    version=version,
    description="""vmcaster is a simple tool for managing and updating your published virtual machines image lists. Following the Hepix image list format.""",
    long_description="""vmcaster was designed with the realisation that users typically create new virtual machines images rarely but update them frequently. Most other tools for marking up image lists don't minimise the amount of data entry for updates. vmcaster attempts to be the first of a new generation of image list publishers. the tasks of updating an image and uploading a fresh signed imagelist have been made as painless as possible as these are the most common tasks.""",
    author="O M Synge",
    author_email="owen.synge@desy.de",
    license='Apache License (2.0)',
    install_requires=[
       "sqlalchemy>=0.5",
       "M2Crypto>=0.16",
        ],
    url = 'https://svnsrv.desy.de/desy/grid-virt/org.desy.dish.updator',
    classifiers=[
        'Development Status :: 4 - Production/Stable',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'Intended Audience :: Science/Research'
        'Intended Audience :: System Administrators',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: POSIX',
        'Programming Language :: Python',
        ],
    packages=['vmcasterpub'],
    scripts=['vmcaster'],

    data_files=[(doc_files_installdir, ['README.md', 'ChangeLog', 'LICENSE']),
        (cfg_files_installdir, ['vmcaster.cfg.template']) ],
    tests_require=[
        'coverage >= 3.0',
        'nose >= 1.1.0',
        'mock',
        'SQLAlchemy >= 0.7.8',
    ],
    setup_requires=[
        'SQLAlchemy >= 0.7.8',
    ],
    test_suite = 'nose.collector',
    cmdclass = {'test': Tox},

    )
<|endoftext|>


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

import glob
import sys
PY2 = sys.version_info[0] == 2
PYX6 = sys.version_info[1] <= 6

install_requires = [
    'matplotlib',
    'scipy',
    'numpy',
    'astropy'
    ]

if PY2 and PYX6:
    install_requires += ['unittest2']

print(install_requires)
setup(name='maltpynt',
      version='1.0b',
      description="Matteo's Library and Tools in Python for NuSTAR Timing",
      packages=['maltpynt'],
      package_data={'': ['README.md']},
      include_package_data=True,
      author='Matteo Bachetti',
      author_email="matteo@matteobachetti.it",
      license='read README.md',
      url='',
      keywords='X-ray astronomy nustar rxte xmm timing cospectrum PDS',
      scripts=glob.glob('scripts/*'),
      platforms='all',
      classifiers=[
          'Intended Audience :: Science/Research, Education, Developers',
          'Operating System :: OS Independent',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: 3.4',
          'Topic :: Scientific/Engineering :: Astronomy'
          ],
      install_requires=install_requires
      )
<commit_msg>Small correction to version number<commit_after>from __future__ import print_function
try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

import glob
import sys
PY2 = sys.version_info[0] == 2
PYX6 = sys.version_info[1] <= 6

install_requires = [
    'matplotlib',
    'scipy',
    'numpy',
    'astropy'
    ]

if PY2 and PYX6:
    install_requires += ['unittest2']

print(install_requires)
setup(name='maltpynt',
      version='1.0b1',
      description="Matteo's Library and Tools in Python for NuSTAR Timing",
      packages=['maltpynt'],
      package_data={'': ['README.md']},
      include_package_data=True,
      author='Matteo Bachetti',
      author_email="matteo@matteobachetti.it",
      license='read README.md',
      url='',
      keywords='X-ray astronomy nustar rxte xmm timing cospectrum PDS',
      scripts=glob.glob('scripts/*'),
      platforms='all',
      classifiers=[
          'Intended Audience :: Science/Research, Education, Developers',
          'Operating System :: OS Independent',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3.3',
          'Programming Language :: Python :: 3.4',
          'Topic :: Scientific/Engineering :: Astronomy'
          ],
      install_requires=install_requires
      )
<|endoftext|>


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

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

import os
import sys

# Add /usr/local/include to the path for macs, fixes easy_install for several packages (like gevent and pyyaml)
if sys.platform == 'darwin':
    os.environ['C_INCLUDE_PATH'] = '/usr/local/include'

version = '2.0.38-dev'

setup(  name = 'coi-services',
        version = version,
        description = 'OOI ION COI Services',
        url = 'https://github.com/ooici/coi-services',
        download_url = 'http://sddevrepo.oceanobservatories.org/releases/',
        license = 'Apache 2.0',
        author = 'Michael Meisinger',
        author_email = 'mmeisinger@ucsd.edu',
        keywords = ['ooici','ioncore', 'pyon', 'coi'],
        packages = find_packages(),
        dependency_links = [
            'http://sddevrepo.oceanobservatories.org/releases/',
        ],
        test_suite = 'pyon',
        install_requires = [
            'pyzmq==2.2.0',
            'coverage-model',
            'ion-functions',
            'pyon',
            'Flask==0.9',
            'python-dateutil==1.5',
            'WebTest==1.4.0',
            'seawater==2.0.1',
            'pygsw==0.0.6',
            'matplotlib==1.1.1',
            'Pydap==3.1.RC1',
            'netCDF4>=1.0',
            'elasticpy==0.12',
            'pyparsing==1.5.6',
            'ntplib',
            'xlrd==0.8.0',
            'apscheduler==2.1.0',
            'pyproj==1.9.3',
            'udunitspy==0.0.6',
        ],
        entry_points = """
            [pydap.handler]
            coverage = ion.util.pydap.handlers.coverage:Handler
        """,
     )
<commit_msg>Release Version 2.0.38<commit_after>#!/usr/bin/env python

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

import os
import sys

# Add /usr/local/include to the path for macs, fixes easy_install for several packages (like gevent and pyyaml)
if sys.platform == 'darwin':
    os.environ['C_INCLUDE_PATH'] = '/usr/local/include'

version = '2.0.38'

setup(  name = 'coi-services',
        version = version,
        description = 'OOI ION COI Services',
        url = 'https://github.com/ooici/coi-services',
        download_url = 'http://sddevrepo.oceanobservatories.org/releases/',
        license = 'Apache 2.0',
        author = 'Michael Meisinger',
        author_email = 'mmeisinger@ucsd.edu',
        keywords = ['ooici','ioncore', 'pyon', 'coi'],
        packages = find_packages(),
        dependency_links = [
            'http://sddevrepo.oceanobservatories.org/releases/',
        ],
        test_suite = 'pyon',
        install_requires = [
            'pyzmq==2.2.0',
            'coverage-model',
            'ion-functions',
            'pyon',
            'Flask==0.9',
            'python-dateutil==1.5',
            'WebTest==1.4.0',
            'seawater==2.0.1',
            'pygsw==0.0.6',
            'matplotlib==1.1.1',
            'Pydap==3.1.RC1',
            'netCDF4>=1.0',
            'elasticpy==0.12',
            'pyparsing==1.5.6',
            'ntplib',
            'xlrd==0.8.0',
            'apscheduler==2.1.0',
            'pyproj==1.9.3',
            'udunitspy==0.0.6',
        ],
        entry_points = """
            [pydap.handler]
            coverage = ion.util.pydap.handlers.coverage:Handler
        """,
     )
<|endoftext|>


<commit_before>metadata = dict( name= 'gufm1',
                 version = '0.1',
                 description='Functions to calculate historial magnetic field for the Earth using GUFM1',
                 url='https://github.com/nknezek/gufm1',
                 author='Nicholas Knezek',
                 author_email='nknezek@gmail.com',
                 license='MIT',
                 long_description='Functions to calculate historial magnetic field for the Earth using GUFM1',
                 packages = ['gufm1'],
                 package_dir = {'gufm1': 'gufm1'},
                 package_data = {'gufm1_data':['data/*.txt']},
                 install_requires = ['numpy', 'scipy'],
                 include_package_data = True
               )

from setuptools import setup, find_packages, Extension

setup ( **metadata )<commit_msg>testing<commit_after>metadata = dict( name= 'gufm1',
                 version = '0.1',
                 description='Functions to calculate historial magnetic field for the Earth using GUFM1',
                 url='https://github.com/nknezek/gufm1',
                 author='Nicholas Knezek',
                 author_email='nknezek@gmail.com',
                 license='MIT',
                 long_description='Functions to calculate historial magnetic field for the Earth using GUFM1',
                 packages = ['gufm1'],
                 package_dir = {'gufm1': 'gufm1'},
                 package_data = {'gufm1_data':['data/*.txt']},
                 install_requires = ['numpy', 'scipy'],
               )

from setuptools import setup, find_packages, Extension

setup ( **metadata )<|endoftext|>


<commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages, Extension
import os
import subprocess
import sys
import glob
import numpy

c_binding_path=None

def package_files(directory):
    paths = []
    for (path, directories, filenames) in os.walk(directory):
        for filename in filenames:
            if '.so' in filename:
                paths.append(os.path.join(path, filename))
    return paths

def cmake_build():
    global c_binding_path
    import re
    c_bind_re = re.compile("--c_binding=*")
    try:
        c_binding_path_opt = next(arg for arg in sys.argv if (re.match("--c_binding=*", arg)))
        c_binding_path = re.search("--c_binding=(.*)", c_binding_path_opt).groups()[0]
        sys.argv.remove(c_binding_path_opt)
    except (IndexError, StopIteration):
        c_binding_path=None

    try:
        cmake_args=["cmake", "-H./hecuba_core", "-B./build"]
        if c_binding_path:
            cmake_args=cmake_args + [ "-DC_BINDING_INSTALL_PREFIX={}".format(c_binding_path)]
            cmake_args=cmake_args + [ "-DPYTHON_VERSION=python{}.{}".format(sys.version_info.major, sys.version_info.minor)]
        if subprocess.call(cmake_args) != 0:
            raise EnvironmentError("error calling cmake")
    except OSError as e:
        if e.errno == os.errno.ENOENT:
            # CMake not found error.
            raise OSError(os.errno.ENOENT, os.strerror(os.errno.ENOENT), 'cmake')
        else:
            # Different error
            raise e

    jobs = get_var("CMAKE_BUILD_PARALLEL_LEVEL")
    jobs = "-j{}".format(jobs[0] if jobs else 1)
    print("JOBS={}".format(jobs), flush=True)
    if subprocess.call(["make", jobs, "-C", "./build"]) != 0:
        raise EnvironmentError("error calling make build")

    if subprocess.call(["make", jobs, "-C", "./build", "install"]) != 0:
        raise EnvironmentError("error calling make install")

def get_var(var):
    value = os.environ.get(var,'')
    return [p for p in value.split(':') if p != '']

def setup_packages():
    # We first build C++ libraries
    if 'build' in sys.argv:
        cmake_build()

    # TODO use some flag to detect that build has already been done instead of this
    if 'install' in sys.argv:
        cmake_build()

    extra_files = package_files('build/lib') + package_files('build/lib64')

    PATH_LIBS = get_var('LD_LIBRARY_PATH')
    PATH_INCLUDE = get_var('CPATH') + get_var('CPLUS_INCLUDE_PATH') + get_var('C_INCLUDE_PATH')
    if c_binding_path:
        PATH_INCLUDE += [c_binding_path + "/include"]
        PATH_LIBS += [c_binding_path + "/lib"]

    extensions = [
        Extension(
            "hfetch",
            sources=glob.glob("hecuba_core/src/py_interface/*.cpp"),
            include_dirs=['hecuba_core/src/', 'build/include', numpy.get_include()] + PATH_INCLUDE,
            libraries=['hfetch', 'cassandra'],
            library_dirs=['build/lib', 'build/lib64'] + PATH_LIBS,
            extra_compile_args=['-std=c++11'],
            extra_link_args=['-Wl,-rpath=$ORIGIN']
        ),
    ]

    # compute which libraries were built
    metadata = dict(name="Hecuba",
                    version="1.2.2",
                    package_dir={'hecuba': 'hecuba_py/hecuba', 'storage': 'storageAPI/storage'},
                    packages=['hecuba', 'storage'],  # find_packages(),
                    install_requires=['cassandra-driver>=3.7.1', 'numpy>=1.16'],
                    zip_safe=False,
                    data_files=[('', extra_files)],

                    # metadata for upload to PyPI
                    license="Apache License Version 2.0",
                    keywords="key-value, scientific computing",
                    description='Hecuba',
                    author='Guillem Alomar, Yolanda Becerra, Juanjo Costa, Cesare Cugnasco, Adrián Espejo, Pol Santamaria',
                    author_email='yolanda.becerra@bsc.es,jcosta@ac.upc.edu',
                    url='https://www.bsc.es',
                    long_description='''Hecuba.''',
                    #   test_suite='nose.collector',
                    #    tests_require=['nose'],
                    ext_modules=extensions

                    )

    setup(**metadata)
    return

if __name__ == '__main__':
    setup_packages()
<commit_msg>Update to python 3.8<commit_after>#!/usr/bin/env python
from setuptools import setup, find_packages, Extension
import os
import errno
import subprocess
import sys
import glob
import numpy

c_binding_path=None

def package_files(directory):
    paths = []
    for (path, directories, filenames) in os.walk(directory):
        for filename in filenames:
            if '.so' in filename:
                paths.append(os.path.join(path, filename))
    return paths

def cmake_build():
    global c_binding_path
    import re
    c_bind_re = re.compile("--c_binding=*")
    try:
        c_binding_path_opt = next(arg for arg in sys.argv if (re.match("--c_binding=*", arg)))
        c_binding_path = re.search("--c_binding=(.*)", c_binding_path_opt).groups()[0]
        sys.argv.remove(c_binding_path_opt)
    except (IndexError, StopIteration):
        c_binding_path=None

    try:
        cmake_args=["cmake", "-H./hecuba_core", "-B./build"]
        if c_binding_path:
            cmake_args=cmake_args + [ "-DC_BINDING_INSTALL_PREFIX={}".format(c_binding_path)]
            cmake_args=cmake_args + [ "-DPYTHON_VERSION=python{}.{}".format(sys.version_info.major, sys.version_info.minor)]
        if subprocess.call(cmake_args) != 0:
            raise EnvironmentError("error calling cmake")
    except OSError as e:
        if e.errno == errno.ENOENT:
            # CMake not found error.
            raise OSError(errno.ENOENT, os.strerror(errno.ENOENT), 'cmake')
        else:
            # Different error
            raise e

    jobs = get_var("CMAKE_BUILD_PARALLEL_LEVEL")
    jobs = "-j{}".format(jobs[0] if jobs else 1)
    print("JOBS={}".format(jobs), flush=True)
    if subprocess.call(["make", jobs, "-C", "./build"]) != 0:
        raise EnvironmentError("error calling make build")

    if subprocess.call(["make", jobs, "-C", "./build", "install"]) != 0:
        raise EnvironmentError("error calling make install")

def get_var(var):
    value = os.environ.get(var,'')
    return [p for p in value.split(':') if p != '']

def setup_packages():
    # We first build C++ libraries
    if 'build' in sys.argv:
        cmake_build()

    # TODO use some flag to detect that build has already been done instead of this
    if 'install' in sys.argv:
        cmake_build()

    extra_files = package_files('build/lib') + package_files('build/lib64')

    PATH_LIBS = get_var('LD_LIBRARY_PATH')
    PATH_INCLUDE = get_var('CPATH') + get_var('CPLUS_INCLUDE_PATH') + get_var('C_INCLUDE_PATH')
    if c_binding_path:
        PATH_INCLUDE += [c_binding_path + "/include"]
        PATH_LIBS += [c_binding_path + "/lib"]

    extensions = [
        Extension(
            "hfetch",
            sources=glob.glob("hecuba_core/src/py_interface/*.cpp"),
            include_dirs=['hecuba_core/src/', 'build/include', numpy.get_include()] + PATH_INCLUDE,
            libraries=['hfetch', 'cassandra'],
            library_dirs=['build/lib', 'build/lib64'] + PATH_LIBS,
            extra_compile_args=['-std=c++11'],
            extra_link_args=['-Wl,-rpath=$ORIGIN']
        ),
    ]

    # compute which libraries were built
    metadata = dict(name="Hecuba",
                    version="1.2.2",
                    package_dir={'hecuba': 'hecuba_py/hecuba', 'storage': 'storageAPI/storage'},
                    packages=['hecuba', 'storage'],  # find_packages(),
                    install_requires=['cassandra-driver>=3.7.1', 'numpy>=1.16'],
                    zip_safe=False,
                    data_files=[('', extra_files)],

                    # metadata for upload to PyPI
                    license="Apache License Version 2.0",
                    keywords="key-value, scientific computing",
                    description='Hecuba',
                    author='Guillem Alomar, Yolanda Becerra, Juanjo Costa, Cesare Cugnasco, Adrián Espejo, Pol Santamaria',
                    author_email='yolanda.becerra@bsc.es,jcosta@ac.upc.edu',
                    url='https://www.bsc.es',
                    long_description='''Hecuba.''',
                    #   test_suite='nose.collector',
                    #    tests_require=['nose'],
                    ext_modules=extensions

                    )

    setup(**metadata)
    return

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


<commit_before>import os
from setuptools import setup, find_packages

from tdda.version import version as __version__

def read(fname):
    # read contents of file
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

def data(path, pathitems):
    # build list of additional files to package up from a subdirectory
    names = []
    for relpath in pathitems:
        subpath = path + [relpath]
        dirname = os.path.join(*subpath)
        for name in os.listdir(dirname):
            pathname = os.path.join(relpath, name)
            fullpathname = os.path.join(dirname, name)
            if os.path.isdir(fullpathname):
                names.extend(data(path, [pathname]))
            else:
                names.append(pathname)
    return names

setup(
    name='tdda',
    version=__version__,
    description='Test Driven Data Analysis',
    long_description=read('README.md'),
    author='Stochastic Solutions Limited',
    author_email='info@StochasticSolutions.com',
    license='MIT',
    url='http://www.stochasticsolutions.com',
    download_url='https://github.com/tdda/tdda',
    keywords='tdda constraint referencetest rexpy',
    packages=find_packages(),
    package_data={
        'tdda.referencetest': data(['tdda', 'referencetest'], ['examples']),
        'tdda.referencetest.tests': data(['tdda', 'referencetest', 'tests'],
                                         ['testdata']),
        'tdda.constraints': data(['tdda', 'constraints'],
                                  ['testdata', 'examples']),
        'tdda.rexpy': data(['tdda', 'rexpy'], ['examples']),
        'tdda': ['README.md', 'LICENSE.txt'],
    },
    include_package_data=True,
)

<commit_msg>Fixed problem with setup - it wasn't including package data in source dist.<commit_after>import os
from setuptools import setup, find_packages

from tdda.version import version as __version__

def read(fname):
    # read contents of file
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

def data(path, pathitems):
    # build list of additional files to package up from a subdirectory
    names = []
    for relpath in pathitems:
        subpath = path + [relpath]
        dirname = os.path.join(*subpath)
        for name in os.listdir(dirname):
            pathname = os.path.join(relpath, name)
            fullpathname = os.path.join(dirname, name)
            if os.path.isdir(fullpathname):
                names.extend(data(path, [pathname]))
            else:
                names.append(pathname)
    return names

setup(
    name='tdda',
    version=__version__,
    description='Test Driven Data Analysis',
    long_description=read('README.md'),
    author='Stochastic Solutions Limited',
    author_email='info@StochasticSolutions.com',
    license='MIT',
    url='http://www.stochasticsolutions.com',
    download_url='https://github.com/tdda/tdda',
    keywords='tdda constraint referencetest rexpy',
    packages=find_packages(),
    package_data={
        'tdda.referencetest': data(['tdda', 'referencetest'], ['examples']),
        'tdda.referencetest.tests': data(['tdda', 'referencetest', 'tests'],
                                         ['testdata']),
        'tdda.constraints': data(['tdda', 'constraints'],
                                  ['testdata', 'examples']),
        'tdda.rexpy': data(['tdda', 'rexpy'], ['examples']),
        'tdda': ['README.md', 'LICENSE.txt'],
    },
    zip_safe=False,
)

<|endoftext|>


<commit_before>from setuptools import setup, find_packages

setup(
    name='karmaid',
    version='1.0',
    packages=find_packages(),
    include_package_data=True,
    url='http://karmaid.org/',
    license='AGPLv3',
    author='hirokiky',
    author_email='hirokiky@gmail.com',
    description='Karma ++/-- for everything',
    zip_safe=False,
    install_requires=[
        'pyramid==1.4.5',
        'pyramid_debugtoolbar',
        'waitress',
        'redis==2.9.1',
    ],
    entry_points="""\
    [paste.app_factory]
    main = karmaid:main
    """,
)
<commit_msg>Bumped the version<commit_after>from setuptools import setup, find_packages

setup(
    name='karmaid',
    version='1.0.1',
    packages=find_packages(),
    include_package_data=True,
    url='http://karmaid.org/',
    license='AGPLv3',
    author='hirokiky',
    author_email='hirokiky@gmail.com',
    description='Karma ++/-- for everything',
    zip_safe=False,
    install_requires=[
        'pyramid==1.4.5',
        'pyramid_debugtoolbar',
        'waitress',
        'redis==2.9.1',
    ],
    entry_points="""\
    [paste.app_factory]
    main = karmaid:main
    """,
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

setup(
    name='BCN',
    version='0.1.0',
    description='Blind Compressive Normalization',
    author='Sebastian Ohse',
    author_email='sebastian.ohse@mailbox.org',
    url='https://github.com/a378ec99/bcn',
    license='LICENSE.txt',
    long_description=open('README.txt').read(),
    keywords=('optimization,manifold optimization,automatic differentiation,'
              'machine learning,numpy,scipy,theano,autograd,tensorflow'),
    packages=find_packages(exclude=['tests']),
    install_requires=['anaconda >= 5.0.1', 'pymanopt >= 0.2.3', 'mpi4py >= 3.0.0'],
)
<commit_msg>setup.py<commit_after>from setuptools import setup, find_packages

setup(
    name='BCN',
    version='0.1.0',
    description='Blind Compressive Normalization',
    author='Sebastian Ohse',
    author_email='sebastian.ohse@mailbox.org',
    url='https://github.com/a378ec99/bcn',
    license='LICENSE.txt',
    long_description=open('README.txt').read(),
    keywords=('bias recovery, blind, manifold optimization'),
    packages=find_packages(exclude=['tests']),
    install_requires=['anaconda >= 5.0.1', 'pymanopt >= 0.2.3', 'mpi4py >= 3.0.0'],
)
<|endoftext|>


<commit_before>import io
import os.path
from setuptools import setup, find_packages

execfile(os.path.join('hammock', 'version.py'))

setup(
	name='hammock',
	version=__version__,
	description='Create ReST APIs how you\'ve always wanted.',
	long_description=io.open('README.rst', 'r', 'utf-8'),
	classifiers=[
        'Development Status :: 1 - Planning',
        'Environment :: Web Environment',
        'Natural Language :: English',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: MacOS :: MacOS X',
        'Operating System :: Microsoft :: Windows',
        'Operating System :: POSIX',
        'Topic :: Internet :: WWW/HTTP :: WSGI',
        'Topic :: Software Development :: Libraries :: Application Frameworks',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7'
    ],
    keywords='wsgi web api framework rest http cloud',
    author='Elisha Fitch-Cook',
    author_email='elisha@cooper.com',
    url='http://github.com/cooper-software/hammock',
    license='MIT',
    packages=find_packages(exclude=['tests']),
    install_requires=['falcon'],
    extras_require={
        'mongo_storage': ['pymongo'],
        'timelib_parsing': ['timelib'],
        'dateutil_parsing': ['python-dateutil'],
        'msgpack': ['msgpack-python']
    },
    tests_require=[
        'mock',
        'nose',
        'timelib',
        'python-dateutil',
        'msgpack-python',
        'pymongo'],
    test_suite='nose.collector'
)<commit_msg>Fixed incorrect call to io.open<commit_after>import io
import os.path
from setuptools import setup, find_packages

execfile(os.path.join('hammock', 'version.py'))

setup(
	name='hammock',
	version=__version__,
	description='Create ReST APIs how you\'ve always wanted.',
	long_description=io.open('README.rst', mode='r', encoding='utf-8').read(),
	classifiers=[
        'Development Status :: 1 - Planning',
        'Environment :: Web Environment',
        'Natural Language :: English',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: MacOS :: MacOS X',
        'Operating System :: Microsoft :: Windows',
        'Operating System :: POSIX',
        'Topic :: Internet :: WWW/HTTP :: WSGI',
        'Topic :: Software Development :: Libraries :: Application Frameworks',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7'
    ],
    keywords='wsgi web api framework rest http cloud',
    author='Elisha Fitch-Cook',
    author_email='elisha@cooper.com',
    url='http://github.com/cooper-software/hammock',
    license='MIT',
    packages=find_packages(exclude=['tests']),
    install_requires=['falcon'],
    extras_require={
        'mongo_storage': ['pymongo'],
        'timelib_parsing': ['timelib'],
        'dateutil_parsing': ['python-dateutil'],
        'msgpack': ['msgpack-python']
    },
    tests_require=[
        'mock',
        'nose',
        'timelib',
        'python-dateutil',
        'msgpack-python',
        'pymongo'],
    test_suite='nose.collector'
)<|endoftext|>


<commit_before>from setuptools import setup, find_packages

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

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

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

<|endoftext|>


<commit_before># -*- coding: utf-8 -*
from setuptools.command.install import install
from setuptools import find_packages
from setuptools import setup
import subprocess
import codecs
import sys
import os

def read(*parts):
    # intentionally *not* adding an encoding option to open
    # see here: https://github.com/pypa/virtualenv/issues/201#issuecomment-3145690
    return codecs.open(os.path.join(os.path.abspath(os.path.dirname(__file__)), *parts), 'r').read()

setup(name="hitchpython",
      version="0.3.6",
      description="Hitch plug-in to test python programs, including Celery and Django.",
      long_description=read('README.rst'),
      classifiers=[
          'Development Status :: 3 - Alpha',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
          'Topic :: Software Development :: Quality Assurance',
          'Topic :: Software Development :: Testing',
          'Topic :: Software Development :: Libraries',
          'Topic :: Utilities',
          'Environment :: Console',
          'Operating System :: Unix',
          'Framework :: Django',
          'Framework :: Django :: 1.8',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.4',
      ],
      keywords='hitch testing framework bdd tdd declarative tests testing service django celery python',
      author='Colm O\'Connor',
      author_email='colm.oconnor.github@gmail.com',
      url='https://hitch.readthedocs.org/',
      license='AGPL',
      install_requires=['hitchserve', 'hitchtest', 'python-build', ],
      packages=find_packages(exclude=[]),
      package_data={},
      zip_safe=False,
      include_package_data=True,
)
<commit_msg>RELEASE : Bumped version.<commit_after># -*- coding: utf-8 -*
from setuptools.command.install import install
from setuptools import find_packages
from setuptools import setup
import subprocess
import codecs
import sys
import os

def read(*parts):
    # intentionally *not* adding an encoding option to open
    # see here: https://github.com/pypa/virtualenv/issues/201#issuecomment-3145690
    return codecs.open(os.path.join(os.path.abspath(os.path.dirname(__file__)), *parts), 'r').read()

setup(name="hitchpython",
      version="0.3.7",
      description="Hitch plug-in to test python programs, including Celery and Django.",
      long_description=read('README.rst'),
      classifiers=[
          'Development Status :: 3 - Alpha',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
          'Topic :: Software Development :: Quality Assurance',
          'Topic :: Software Development :: Testing',
          'Topic :: Software Development :: Libraries',
          'Topic :: Utilities',
          'Environment :: Console',
          'Operating System :: Unix',
          'Framework :: Django',
          'Framework :: Django :: 1.8',
          'Programming Language :: Python :: 2',
          'Programming Language :: Python :: 2.6',
          'Programming Language :: Python :: 2.7',
          'Programming Language :: Python :: 3',
          'Programming Language :: Python :: 3.4',
      ],
      keywords='hitch testing framework bdd tdd declarative tests testing service django celery python',
      author='Colm O\'Connor',
      author_email='colm.oconnor.github@gmail.com',
      url='https://hitch.readthedocs.org/',
      license='AGPL',
      install_requires=['hitchserve', 'hitchtest', 'python-build', ],
      packages=find_packages(exclude=[]),
      package_data={},
      zip_safe=False,
      include_package_data=True,
)
<|endoftext|>


<commit_before>import os
from setuptools import find_packages, setup

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

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

setup(
    name='redsys',
    version='0.2.4',
    packages=find_packages(),
    include_package_data=True,
    license='MIT License',
    description='A simple, clean and less dependant client for handle payments through RedSys.',
    long_description=README,
    url='https://github.com/ddiazpinto/python-redsys',
    author='David Díaz',
    author_email='d.diazp@gmail.com',
    classifiers=[
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
    ],
)
<commit_msg>BUMP version 0.2.5<commit_after>import os
from setuptools import find_packages, setup

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

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

setup(
    name='redsys',
    version='0.2.5',
    packages=find_packages(),
    include_package_data=True,
    license='MIT License',
    description='A simple, clean and less dependant client for handle payments through RedSys.',
    long_description=README,
    url='https://github.com/ddiazpinto/python-redsys',
    author='David Díaz',
    author_email='d.diazp@gmail.com',
    classifiers=[
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
    ],
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages
from os.path import abspath, dirname, join

path = abspath(dirname(__file__))
with open(join(path, 'README.rst')) as f:
    readme = f.read()

test_deps = [
    'coveralls',
    'pytest',
    'pytest-cov',
]
extras = {'test': test_deps}

setup(
    name='bdd-tester',
    description='A very very basic BDD test runner',
    author='Andy Lulham',
    author_email='a.lulham@gmail.com',
    version='0.0.3',
    packages=find_packages(),
    scripts=[join('bin', 'bdd_tester')],
    license='MIT',
    long_description=readme,
    install_requires=[
        'gherkin-official',
        'six',
    ],
    setup_requires=['pytest-runner'],
    tests_require=test_deps,
    extras_require=extras,
)
<commit_msg>v0.0.4<commit_after>from setuptools import setup, find_packages
from os.path import abspath, dirname, join

path = abspath(dirname(__file__))
with open(join(path, 'README.rst')) as f:
    readme = f.read()

test_deps = [
    'coveralls',
    'pytest',
    'pytest-cov',
]
extras = {'test': test_deps}

setup(
    name='bdd-tester',
    description='A very very basic BDD test runner',
    author='Andy Lulham',
    author_email='a.lulham@gmail.com',
    version='0.0.4',
    packages=find_packages(),
    scripts=[join('bin', 'bdd_tester')],
    license='MIT',
    long_description=readme,
    install_requires=[
        'gherkin-official',
        'six',
    ],
    setup_requires=['pytest-runner'],
    tests_require=test_deps,
    extras_require=extras,
)
<|endoftext|>


<commit_before>import setuptools

with open("README.md", "r") as fh:
    long_description = fh.read()

setuptools.setup(
    name="mutovis-analysis",
    version="3.0.4",
    author="Grey Christoforo",
    author_email="grey@mutovis.com",
    description="Software for analyzing solar cell i-v curves",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/mutovis/analysis-software",
    packages=setuptools.find_packages(),
    entry_points={'gui_scripts': ['mutovis-analysis = batch_iv_analysis:main', ],},
    data_files=[('bin',['util/h52csv'])],
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: GPL-3.0",
        "Operating System :: OS Independent",
    ],
)

<commit_msg>fix setup version<commit_after>import setuptools

with open("README.md", "r") as fh:
    long_description = fh.read()

setuptools.setup(
    name="mutovis-analysis",
    version="3.0.5",
    author="Grey Christoforo",
    author_email="grey@mutovis.com",
    description="Software for analyzing solar cell i-v curves",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/mutovis/analysis-software",
    packages=setuptools.find_packages(),
    entry_points={'gui_scripts': ['mutovis-analysis = batch_iv_analysis:main', ],},
    data_files=[('bin',['util/h52csv'])],
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: GPL-3.0",
        "Operating System :: OS Independent",
    ],
)

<|endoftext|>


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

# Utility function to read README.md file
def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(name='membersuite_api_client',
      version='0.1.13',
      description='MemberSuite API Client',
      author='AASHE',
      author_email='webdev@aashe.org',
      url='https://github.com/AASHE/python-membersuite-api-client',
      long_description=read("README.md"),
      packages=[
          'membersuite_api_client',
      ],
      classifiers=[
          'Environment :: Web Environment',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: BSD License',
          'Operating System :: OS Independent',
          'Programming Language :: Python :: 3.4',
      ],
      include_package_data=True,
      install_requires=["future==0.16.0",
                        "retrying>=1.3.3",
                        "zeep>=0.26"]
      )
<commit_msg>Version Bump<commit_after>#!/usr/bin/env python
from setuptools import setup
import os

# Utility function to read README.md file
def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(name='membersuite_api_client',
      version='0.1.14',
      description='MemberSuite API Client',
      author='AASHE',
      author_email='webdev@aashe.org',
      url='https://github.com/AASHE/python-membersuite-api-client',
      long_description=read("README.md"),
      packages=[
          'membersuite_api_client',
      ],
      classifiers=[
          'Environment :: Web Environment',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: BSD License',
          'Operating System :: OS Independent',
          'Programming Language :: Python :: 3.4',
      ],
      include_package_data=True,
      install_requires=["future==0.16.0",
                        "retrying>=1.3.3",
                        "zeep>=0.26"]
      )
<|endoftext|>


<commit_before>from setuptools import setup

setup(name='changetip',
      version='0.0.2',
      description='ChangeTip helper library',
      url='https://github.com/changecoin/changetip-python',
      classifiers=[
          'Development Status :: 2 - Pre-Alpha',
          'License :: OSI Approved :: MIT License',
          'Programming Language :: Python',
          'Intended Audience :: Developers'
      ],
      keywords=['changetip', 'changecoin', 'bitcoin', 'tipping', 'micropayments'],
      author='ChangeCoin, Inc.',
      author_email='oss@changecoin.com',
      license='MIT',
      install_requires=['requests'],
      test_suite='nose.collector',
      tests_require=['nose'],
      packages=['changetip'])
<commit_msg>bump version<commit_after>from setuptools import setup

setup(name='changetip',
      version='0.0.3',
      description='ChangeTip helper library',
      url='https://github.com/changecoin/changetip-python',
      classifiers=[
          'Development Status :: 2 - Pre-Alpha',
          'License :: OSI Approved :: MIT License',
          'Programming Language :: Python',
          'Intended Audience :: Developers'
      ],
      keywords=['changetip', 'changecoin', 'bitcoin', 'tipping', 'micropayments'],
      author='ChangeCoin, Inc.',
      author_email='oss@changecoin.com',
      license='MIT',
      install_requires=['requests'],
      test_suite='nose.collector',
      tests_require=['nose'],
      packages=['changetip'])
<|endoftext|>


<commit_before>#!/usr/bin/env python
try:
    from setuptools import setup, find_packages
except ImportError:
    from distutils.core import setup, find_packages

tests_require = [
    'coverage',
    'coveralls'
]

docs_require = [
    'Sphinx>=1.3.5',
    'recommonmark>=0.4.0',
    'sphinx-rtd-theme>=0.1.9',
    'sphinxcontrib-napoleon>=0.4.4',
    'sphinxcontrib-httpdomain>=1.5.0',
    'mock',
]

setup(
    name='prov-db-connector',
    version='0.3.1',
    description='PROV Database Connector',
    keywords=[
        'provenance', 'graph', 'model', 'PROV', 'PROV-DM', 'PROV-JSON', 'JSON',
        'PROV-XML', 'PROV-N'
    ],
    author='DLR, Stefan Bieliauskas, Martin Stoffers',
    author_email='opensource@dlr.de, sb@conts.de, martin.stoffers@studserv.uni-leipzig.de',
    url='https://github.com/DLR-SC/prov-db-connector',
    classifiers=[
        'Development Status :: 1 - Planning',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'License :: OSI Approved :: Apache Software License',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5'
    ],
    license="Apache License 2.0",

    packages=find_packages(),
    package_dir={
        'provdbconnector': 'provdbconnector'
    },
    include_package_data=True,
    zip_safe=False,
    install_requires=[
        "prov==1.5.2",
        "neo4j-driver==1.6.0"
    ],
    extras_require={
        'test': tests_require,
        'dev': tests_require + docs_require,
        'docs': docs_require,
    },

    test_suite='provdbconnector.tests',
)
<commit_msg>Change to 1.6.2 <commit_after>#!/usr/bin/env python
try:
    from setuptools import setup, find_packages
except ImportError:
    from distutils.core import setup, find_packages

tests_require = [
    'coverage',
    'coveralls'
]

docs_require = [
    'Sphinx>=1.3.5',
    'recommonmark>=0.4.0',
    'sphinx-rtd-theme>=0.1.9',
    'sphinxcontrib-napoleon>=0.4.4',
    'sphinxcontrib-httpdomain>=1.5.0',
    'mock',
]

setup(
    name='prov-db-connector',
    version='0.3.1',
    description='PROV Database Connector',
    keywords=[
        'provenance', 'graph', 'model', 'PROV', 'PROV-DM', 'PROV-JSON', 'JSON',
        'PROV-XML', 'PROV-N'
    ],
    author='DLR, Stefan Bieliauskas, Martin Stoffers',
    author_email='opensource@dlr.de, sb@conts.de, martin.stoffers@studserv.uni-leipzig.de',
    url='https://github.com/DLR-SC/prov-db-connector',
    classifiers=[
        'Development Status :: 1 - Planning',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'License :: OSI Approved :: Apache Software License',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5'
    ],
    license="Apache License 2.0",

    packages=find_packages(),
    package_dir={
        'provdbconnector': 'provdbconnector'
    },
    include_package_data=True,
    zip_safe=False,
    install_requires=[
        "prov==1.5.2",
        "neo4j-driver==1.6.2"
    ],
    extras_require={
        'test': tests_require,
        'dev': tests_require + docs_require,
        'docs': docs_require,
    },

    test_suite='provdbconnector.tests',
)
<|endoftext|>