<commit_before>
from setuptools import setup

# Dynamically calculate the version based on pyautogui.VERSION.
version = __import__('pymsgbox').__version__

setup(
    name='PyMsgBox',
    version=version,
    url='https://github.com/asweigart/PyMsgBox',
    author='Al Sweigart',
    author_email='al@inventwithpython.com',
    description=('A simple, cross-platform, pure Python module for JavaScript-like message boxes.'),
    license='BSD',
    packages=['pymsgbox'],
    test_suite='tests',
    keywords="gui msgbox message box dialog confirmation confirm password alert",
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Win32 (MS Windows)',
        'Environment :: X11 Applications',
        'Environment :: MacOS X',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.5',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.1',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
    ],
)<commit_msg>Updated setup.py to a more modern format (using my cookiecutter-basicpythonproject template) which also solved the issue of not being able to install pymsgbox with 'pip install -e .'<commit_after>import re
from setuptools import setup, find_packages

# Load version from module (without loading the whole module)
with open('src/pymsgbox/__init__.py', 'r') as fo:
    version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
                        fo.read(), re.MULTILINE).group(1)

# Read in the README.md for the long description.
with open('README.md') as fo:
    long_description = fo.read()

setup(
    name='PyMsgBox',
    version=version,
    url='https://github.com/asweigart/pymsgbox',
    author='Al Sweigart',
    author_email='al@inventwithpython.com',
    description=('''A simple, cross-platform, pure Python module for JavaScript-like message boxes.'''),
    long_description=long_description,
    long_description_content_type="text/markdown",
    license='GPLv3+',
    packages=find_packages(where='src'),
    package_dir={'': 'src'},
    test_suite='tests',
    install_requires=[],
    keywords='',
    classifiers=[
        'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: 3.8'
    ],
)
<|endoftext|>


<commit_before>"""
MIT License

Copyright (c) 2016 Miles Granger

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 setuptools import setup, find_packages

setup(name='cluster-clyde',
      version='0.0.1',
      author='Miles Granger',
      author_email='miles.granger@outlook.com',
      description='Cluster manager for AWS EC2 instances - Focus with Dask Distributed',
      packages=find_packages('.', exclude=('examples', 'docs', )),
      url='https://github.com/milesgranger/cluster-clyde',
      requires=['boto3', 'requests'],
      zip_safe=True
      )
<commit_msg>Update setup.py with parallel-ssh fork dep.<commit_after>"""
MIT License

Copyright (c) 2016 Miles Granger

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 setuptools import setup, find_packages

setup(name='cluster-clyde',
      version='0.0.1',
      author='Miles Granger',
      author_email='miles.granger@outlook.com',
      description='Cluster manager for AWS EC2 instances - Focus with Dask Distributed',
      packages=find_packages('.', exclude=('examples', 'docs', )),
      url='https://github.com/milesgranger/cluster-clyde',
      requires=['boto3', 'requests'],
      dependency_links=['https://github.com/milesgranger/parallel-ssh/archive/optional_monkey_patch.zip', ],
      zip_safe=True
      )
<|endoftext|>


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

This script will install Dopamine as a Python module.

See: https://github.com/google/dopamine
"""

import pathlib
from setuptools import find_packages
from setuptools import setup

here = pathlib.Path(__file__).parent.resolve()

long_description = (here / 'README.md').read_text(encoding='utf-8')

install_requires = [
    'tensorflow >= 2.2.0',
    'gin-config >= 0.3.0',
    'absl-py >= 0.9.0',
    'opencv-python >= 3.4.8.29',
    'gym[atari] >= 0.13.1',
    'flax >= 0.2.0',
    'jax >= 0.1.72',
    'jaxlib >= 0.1.51',
    'Pillow >= 7.0.0',
    'numpy >= 1.16.4',
    'pygame >= 1.9.2',
    'pandas >= 0.24.2',
    'tf_slim >= 1.0',
    'tensorflow-probability >= 0.13.0',
]

dopamine_description = (
    'Dopamine: A framework for flexible Reinforcement Learning research')

setup(
    name='dopamine_rl',
    version='3.2.1',
    description=dopamine_description,
    long_description=long_description,
    long_description_content_type='text/markdown',
    url='https://github.com/google/dopamine',
    author='The Dopamine Team',
    classifiers=[
        'Development Status :: 4 - Beta',

        'Intended Audience :: Developers',
        'Intended Audience :: Education',
        'Intended Audience :: Science/Research',

        'License :: OSI Approved :: Apache Software 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',
        'Programming Language :: Python :: 3 :: Only',

        'Topic :: Scientific/Engineering',
        'Topic :: Scientific/Engineering :: Mathematics',
        'Topic :: Scientific/Engineering :: Artificial Intelligence',
        'Topic :: Software Development',
        'Topic :: Software Development :: Libraries',
        'Topic :: Software Development :: Libraries :: Python Modules',

    ],
    keywords='dopamine, reinforcement, machine, learning, research',
    include_package_data=True,
    packages=find_packages(exclude=['docs']),
    package_data={'testdata': ['testdata/*.gin']},
    install_requires=install_requires,
    project_urls={  # Optional
        'Documentation': 'https://github.com/google/dopamine',
        'Bug Reports': 'https://github.com/google/dopamine/issues',
        'Source': 'https://github.com/google/dopamine',
    },
    license='Apache 2.0',
)
<commit_msg>Increase pypi version to 3.3.0.<commit_after># coding=utf-8
# Copyright 2018 The Dopamine Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Setup script for Dopamine.

This script will install Dopamine as a Python module.

See: https://github.com/google/dopamine
"""

import pathlib
from setuptools import find_packages
from setuptools import setup

here = pathlib.Path(__file__).parent.resolve()

long_description = (here / 'README.md').read_text(encoding='utf-8')

install_requires = [
    'tensorflow >= 2.2.0',
    'gin-config >= 0.3.0',
    'absl-py >= 0.9.0',
    'opencv-python >= 3.4.8.29',
    'gym[atari] >= 0.13.1',
    'flax >= 0.2.0',
    'jax >= 0.1.72',
    'jaxlib >= 0.1.51',
    'Pillow >= 7.0.0',
    'numpy >= 1.16.4',
    'pygame >= 1.9.2',
    'pandas >= 0.24.2',
    'tf_slim >= 1.0',
    'tensorflow-probability >= 0.13.0',
]

dopamine_description = (
    'Dopamine: A framework for flexible Reinforcement Learning research')

setup(
    name='dopamine_rl',
    version='3.3.0',
    description=dopamine_description,
    long_description=long_description,
    long_description_content_type='text/markdown',
    url='https://github.com/google/dopamine',
    author='The Dopamine Team',
    classifiers=[
        'Development Status :: 4 - Beta',

        'Intended Audience :: Developers',
        'Intended Audience :: Education',
        'Intended Audience :: Science/Research',

        'License :: OSI Approved :: Apache Software 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',
        'Programming Language :: Python :: 3 :: Only',

        'Topic :: Scientific/Engineering',
        'Topic :: Scientific/Engineering :: Mathematics',
        'Topic :: Scientific/Engineering :: Artificial Intelligence',
        'Topic :: Software Development',
        'Topic :: Software Development :: Libraries',
        'Topic :: Software Development :: Libraries :: Python Modules',

    ],
    keywords='dopamine, reinforcement, machine, learning, research',
    include_package_data=True,
    packages=find_packages(exclude=['docs']),
    package_data={'testdata': ['testdata/*.gin']},
    install_requires=install_requires,
    project_urls={  # Optional
        'Documentation': 'https://github.com/google/dopamine',
        'Bug Reports': 'https://github.com/google/dopamine/issues',
        'Source': 'https://github.com/google/dopamine',
    },
    license='Apache 2.0',
)
<|endoftext|>


<commit_before>from setuptools import setup

setup(
    name='bookmarks',
    packages=['bookmarks'],
    version='0.0.1',
    description='A bookmarking and link shortening service.',
    author='Brandon Yanofsky',
    author_email='byanofsky@me.com',
    include_package_data=True,
    install_requires=[
        'Flask',
        'SQLalchemy',
        'psycopg2',
        'Flask-Bcrypt',
        'Flask-Login',
        'Flask-WTF',
        'requests'
    ],
)
<commit_msg>Increment to version 0.0.1<commit_after>from setuptools import setup

setup(
    name='bookmarks',
    packages=['bookmarks'],
    version='0.0.2',
    description='A bookmarking and link shortening service.',
    author='Brandon Yanofsky',
    author_email='byanofsky@me.com',
    include_package_data=True,
    install_requires=[
        'Flask',
        'SQLalchemy',
        'psycopg2',
        'Flask-Bcrypt',
        'Flask-Login',
        'Flask-WTF',
        'requests'
    ],
)
<|endoftext|>


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

import os
from setuptools import setup, find_packages

def find_data_files(source):
  result = []
  for directory, _, files in os.walk(source):
    files = [os.path.join(directory, x) for x in files]
    result.append((directory, files))

  return result
data_files = (["aclcheck_cmdline.py", "aclgen.py", "definate.py",
               "cgrep.py"] +
              find_data_files("def") +
              find_data_files("definate") +
              find_data_files("doc") +
              find_data_files("filter") +
              find_data_files("lib") +
              find_data_files("policies") +
              find_data_files("test") +
              find_data_files("tests") +
              find_data_files("third_party") +
              find_data_files("tools"))

setup(
    name='capirca',
    version="1.115",
    description='Capirca',
    license='Apache License, Version 2.0',
    url='https://github.com/google/capirca/',
    packages=find_packages(),
    zip_safe=False,
    include_package_data=True,
    data_files=data_files,
    install_requires=['python-gflags', 'ply', 'ipaddr', 'mock'])
<commit_msg>increment capirca version number after nsxv.py changes.<commit_after>#!/usr/bin/env python
#
# Copyright 2009 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import os
from setuptools import setup, find_packages

def find_data_files(source):
  result = []
  for directory, _, files in os.walk(source):
    files = [os.path.join(directory, x) for x in files]
    result.append((directory, files))

  return result
data_files = (["aclcheck_cmdline.py", "aclgen.py", "definate.py",
               "cgrep.py"] +
              find_data_files("def") +
              find_data_files("definate") +
              find_data_files("doc") +
              find_data_files("filter") +
              find_data_files("lib") +
              find_data_files("policies") +
              find_data_files("test") +
              find_data_files("tests") +
              find_data_files("third_party") +
              find_data_files("tools"))

setup(
    name='capirca',
    version="1.116",
    description='Capirca',
    license='Apache License, Version 2.0',
    url='https://github.com/google/capirca/',
    packages=find_packages(),
    zip_safe=False,
    include_package_data=True,
    data_files=data_files,
    install_requires=['python-gflags', 'ply', 'ipaddr', 'mock'])
<|endoftext|>


<commit_before>from distutils.core import setup
from glob import glob

setup(name='plstackapi',
      version='0.1',
      description='PlanetStack API',
      packages=['plstackapi', 'plstackapi/planetstack', 'plstackapi/planetstack/views', 'plstackapi/planetstack/api', 'plstackapi/openstack' ,'plstackapi/util', 'plstackapi/importer', 'plstackapi/importer/plclassic'],
      scripts=['plstackapi/plstackapi-debug-server.py'],
      data_files=[
        ('/etc/planetstack/', ['config/plstackapi_config']),
        ('/opt/planetstack/', glob('plstackapi/planetstack/*')),
        ])
<commit_msg>fix paths<commit_after>from distutils.core import setup
from glob import glob

setup(name='plstackapi',
      version='0.1',
      description='PlanetStack API',
      packages=['plstackapi', 'plstackapi/planetstack', 'plstackapi/planetstack/views', 'plstackapi/planetstack/api', 'plstackapi/planetstack/fixtures', 'plstackapi/openstack' ,'plstackapi/util', 'plstackapi/importer', 'plstackapi/importer/plclassic'],
      scripts=['plstackapi/plstackapi-debug-server.py'],
      data_files=[
        ('/etc/planetstack/', ['config/plstackapi_config']),
        ('/opt/planetstack/', glob('plstackapi/planetstack/*')),
        ])
<|endoftext|>


<commit_before>#! /usr/bin/env python
'''
This file is part of RTSLib.
Copyright (c) 2011-2013 by Datera, Inc

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

setup (
    name = 'rtslib-fb',
    version = '2.1.55',
    description = 'API for Linux kernel SCSI target (aka LIO)',
    license = 'Apache 2.0',
    maintainer = 'Andy Grover',
    maintainer_email = 'agrover@redhat.com',
    url = 'http://github.com/agrover/rtslib-fb',
    packages = ['rtslib_fb', 'rtslib'],
    scripts = ['scripts/targetctl'],
    classifiers = [
        "Programming Language :: Python",
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: Apache Software License",
    ],
    )
<commit_msg>update to 2.1.fb56<commit_after>#! /usr/bin/env python
'''
This file is part of RTSLib.
Copyright (c) 2011-2013 by Datera, Inc

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

setup (
    name = 'rtslib-fb',
    version = '2.1.56',
    description = 'API for Linux kernel SCSI target (aka LIO)',
    license = 'Apache 2.0',
    maintainer = 'Andy Grover',
    maintainer_email = 'agrover@redhat.com',
    url = 'http://github.com/agrover/rtslib-fb',
    packages = ['rtslib_fb', 'rtslib'],
    scripts = ['scripts/targetctl'],
    classifiers = [
        "Programming Language :: Python",
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: Apache Software License",
    ],
    )
<|endoftext|>


<commit_before>"""
Based entirely on Django's own ``setup.py``.
"""
import os
from distutils.command.install import INSTALL_SCHEMES
from distutils.core import setup

def fullsplit(path, result=None):
    """
    Split a pathname into components (the opposite of os.path.join) in a
    platform-neutral way.
    """
    if result is None:
        result = []
    head, tail = os.path.split(path)
    if head == '':
        return [tail] + result
    if head == path:
        return result
    return fullsplit(head, [tail] + result)

# Tell distutils to put the data_files in platform-specific installation
# locations. See here for an explanation:
# http://groups.google.com/group/comp.lang.python/browse_thread/thread/35ec7b2fed36eaec/2105ee4d9e8042cb
for scheme in INSTALL_SCHEMES.values():
    scheme['data'] = scheme['purelib']

# Compile the list of packages available, because distutils doesn't have
# an easy way to do this.
packages, data_files = [], []
root_dir = os.path.dirname(__file__)
flowplayer_dir = os.path.join(root_dir, 'flowplayer')
pieces = fullsplit(root_dir)
if pieces[-1] == '':
    len_root_dir = len(pieces) - 1
else:
    len_root_dir = len(pieces)

for dirpath, dirnames, filenames in os.walk(flowplayer_dir):
    # Ignore dirnames that start with '.'
    for i, dirname in enumerate(dirnames):
        if dirname.startswith('.'): del dirnames[i]
    if '__init__.py' in filenames:
        packages.append('.'.join(fullsplit(dirpath)[len_root_dir:]))
    elif filenames:
        data_files.append([dirpath, [os.path.join(dirpath, f) for f in filenames]])

# Dynamically calculate the version based on flowplayer.VERSION
version_tuple = (0, 3, None)
if version_tuple[2] is not None:
    version = "%d.%d_%s" % version_tuple
else:
    version = "%d.%d" % version_tuple[:2]

setup(
    name = 'django-flowplayer',
    version = version,
    description = 'Mediaplayer application for Django based on flowplayer flash player',
    author = 'Martin Fitzpatrick',
    author_email = 'martin.fitzpatrick@gmail.com',
    url = 'http://github.com/mfitzp/django-flowplayer',
    packages = packages,
    data_files = data_files,
    classifiers = ['Development Status :: 4 - Beta',
                   'Environment :: Web Environment',
                   'Framework :: Django',
                   'Intended Audience :: Developers',
                   'License :: OSI Approved :: BSD License',
                   'Operating System :: OS Independent',
                   'Programming Language :: Python',
                   'Topic :: Utilities'],
)
<commit_msg>fixed setup<commit_after>#!/usr/bin/env python
from setuptools import setup, find_packages

setup(
    name='django-flowplayer',
    version='0.3.1',
    description='Mediaplayer application for Django based on flowplayer flash player',

    author='Martin Fitzpatrick',
    author_email='martin.fitzpatrick@gmail.com',
    license='BSD',
    url='http://github.com/mfitzp/django-flowplayer',

    packages=find_packages(exclude=['tests.*', 'tests', 'example.*', 'example']),
    include_package_data=True, # declarations in MANIFEST.in

    install_requires=['Django >=1.3'],
    tests_require=['Django >=1.3'],
#~ Nestor
    #~ Nestor test_loader='tests:loader',
    #~ Nestor test_suite='tests.everything',

    classifiers=[
        'Environment :: Web Environment',
        'Development Status :: 4 - Beta',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Software Development :: Libraries',
    ],
)
<|endoftext|>


<commit_before>#!/usr/bin/env python
# -*- mode: python -*-

from setuptools import setup
from setuptools.extension import Extension
from Cython.Build import cythonize

modules = [Extension("pypolycomp",
                     sources=["pypolycomp.pyx"],
                     libraries=["polycomp"])]

setup(name="pypolycomp",
      ext_modules=cythonize(modules))
<commit_msg>Add project metadata to "setup.py"<commit_after>#!/usr/bin/env python
# -*- mode: python -*-

from setuptools import setup, find_packages
from setuptools.extension import Extension
from Cython.Build import cythonize

modules = [Extension("pypolycomp",
                     sources=["pypolycomp.pyx"],
                     libraries=["polycomp"])]

setup(name="pypolycomp",
      version="1.0",
      author="Maurizio Tomasi",
      author_email="ziotom78@gmail.com",
      description="Python bindings to the libpolycomp C library",
      license="MIT",
      url="",
      ext_modules=cythonize(modules),
      packages=find_packages())
<|endoftext|>


<commit_before># -*- coding: utf-8 -*-
"""
A template setup.py file.

See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""

# Always prefer setuptools over distutils
from setuptools import setup, find_packages
from os import path
# io.open is needed for projects that support Python 2.7
# It ensures open() defaults to text mode with universal newlines,
# and accepts an argument to specify the text encoding
# Python 3 only projects can skip this import
from io import open

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

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

# Arguments marked as "Required" below must be included for upload to PyPI.
# Fields marked as "Optional" may be commented out.

setup(
    # This is the name of your project. The first time you publish this
    # package, this name will be registered for you. It will determine how
    # users can install this project, e.g.:
    #
    # $ pip install sampleproject
    #
    # And where it will live on PyPI: https://pypi.org/project/sampleproject/
    #
    # There are some restrictions on what makes a valid project name
    # specification here:
    # https://packaging.python.org/specifications/core-metadata/#name
    name='sampleproject',  # Required

    # Versions should comply with PEP 440:
    # https://www.python.org/dev/peps/pep-0440/
    #
    # For a discussion on single-sourcing the version across setup.py and the
    # project code, see
    # https://packaging.python.org/en/latest/single_source_version.html
    version='0.1',

    # Denotes that our long_description is in Markdown; valid values are
    # text/plain, text/x-rst, and text/markdown
    #
    # Optional if long_description is written in reStructuredText (rst) but
    # required for plain-text or Markdown; if unspecified, "applications should
    # attempt to render [the long_description] as text/x-rst; charset=UTF-8 and
    # fall back to text/plain if it is not valid rst" (see link below)
    #
    # This field corresponds to the "Description-Content-Type" metadata field:
    # https://packaging.python.org/specifications/core-metadata/#description-content-type-optional
    long_description_content_type='text/markdown',  # Optional (see note above)

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

    # Author details
    author='Adrian Schlatter',
    author_email='ad@tambora.ch',

    # Choose your license
    license='Revised BSD',

    # Classifiers help users find your project by categorizing it.
    #
    # For a list of valid classifiers, see https://pypi.org/classifiers/
    classifiers=[  # Optional
        # How mature is this project? Common values are
        #   3 - Alpha
        #   4 - Beta
        #   5 - Production/Stable
        'Development Status :: 4 - Beta',

        # Indicate who your project is intended for
        'Intended Audience :: Developers',

        # Pick your license as you wish (should match "license" above)
        'License :: OSI Approved :: BSD License',

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

    # This field adds keywords for your project which will appear on the
    # project page. What does your project relate to?
    #
    # Note that this is a string of words separated by whitespace, not a list.
    keywords='sample setuptools development',  # Optional

    # You can just specify package directories manually here if your project is
    # simple. Or you can use find_packages().
    #
    # Alternatively, if you just want to distribute a single Python file, use
    # the `py_modules` argument instead as follows, which will expect a file
    # called `my_module.py` to exist:
    #
    #   py_modules=["my_module"],
    #
    packages=find_packages(exclude=['contrib', 'docs', 'tests']),  # Required

    # This field lists other packages that your project depends on to run.
    # Any package you put here will be installed by pip when your project is
    # installed, so they must be valid existing projects.
    #
    # For an analysis of "install_requires" vs pip's requirements files see:
    # https://packaging.python.org/en/latest/requirements.html
    install_requires=['numpy', 'plumbum'],

    # List additional groups of dependencies here (e.g. development
    # dependencies). Users will be able to install these using the "extras"
    # syntax, for example:
    #
    #   $ pip install sampleproject[dev]
    #
    # Similar to `install_requires` above, these must be valid existing
    # projects.
    extras_require={  # Optional
        'dev': ['check-manifest'],
        'test': ['pytest', 'twine', 'check-manifest', 'readme_renderer',
                 'flake8', 'coverage'],
    },

    # If there are data files included in your packages that need to be
    # installed, specify them here.
    #
    # If using Python 2.6 or earlier, then these have to be included in
    # MANIFEST.in as well.
    package_data={  # Optional
        'sample': ['package_data.dat'],
    },

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

    # To provide executable scripts, use entry points in preference to the
    # "scripts" keyword. Entry points provide cross-platform support and allow
    # `pip` to create the appropriate form of executable for the target
    # platform.
    #
    # For example, the following would provide a command called `sample` which
    # executes the function `main` from this package when invoked:
    entry_points={  # Optional
        'console_scripts': [
            'sample=sample:main',
        ],
    },

    # List additional URLs that are relevant to your project as a dict.
    #
    # This field corresponds to the "Project-URL" metadata fields:
    # https://packaging.python.org/specifications/core-metadata/#project-url-multiple-use
    #
    # Examples listed include a pattern for specifying where the package tracks
    # issues, where the source is hosted, where to say thanks to the package
    # maintainers, and where to support the project financially. The key is
    # what's used to render the link text on PyPI.
    project_urls={  # Optional
        'Bug Reports': 'https://github.com/pypa/sampleproject/issues',
        'Funding': 'https://donate.pypi.org',
        'Say Thanks!': 'http://saythanks.io/to/example',
        'Source': 'https://github.com/pypa/sampleproject/',
    },
)
<commit_msg>Make description optional<commit_after># -*- coding: utf-8 -*-
"""
A template setup.py file.

See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""

# Always prefer setuptools over distutils
from setuptools import setup, find_packages
from os import path
# io.open is needed for projects that support Python 2.7
# It ensures open() defaults to text mode with universal newlines,
# and accepts an argument to specify the text encoding
# Python 3 only projects can skip this import
from io import open

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

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

# Arguments marked as "Required" below must be included for upload to PyPI.
# Fields marked as "Optional" may be commented out.

setup(
    # This is the name of your project. The first time you publish this
    # package, this name will be registered for you. It will determine how
    # users can install this project, e.g.:
    #
    # $ pip install sampleproject
    #
    # And where it will live on PyPI: https://pypi.org/project/sampleproject/
    #
    # There are some restrictions on what makes a valid project name
    # specification here:
    # https://packaging.python.org/specifications/core-metadata/#name
    name='sampleproject',  # Required

    # Versions should comply with PEP 440:
    # https://www.python.org/dev/peps/pep-0440/
    #
    # For a discussion on single-sourcing the version across setup.py and the
    # project code, see
    # https://packaging.python.org/en/latest/single_source_version.html
    version='1.2.0',  # Required

    # This is a one-line description or tagline of what your project does. This
    # corresponds to the "Summary" metadata field:
    # https://packaging.python.org/specifications/core-metadata/#summary
    description='A sample Python project',  # Optional

    # This is an optional longer description of your project that represents
    # the body of text which users will see when they visit PyPI.
    #
    # Often, this is the same as your README, so you can just read it in from
    # that file directly (as we have already done above)
    #
    # This field corresponds to the "Description" metadata field:
    # https://packaging.python.org/specifications/core-metadata/#description-optional
    long_description=long_description,  # Optional

    # Denotes that our long_description is in Markdown; valid values are
    # text/plain, text/x-rst, and text/markdown
    #
    # Optional if long_description is written in reStructuredText (rst) but
    # required for plain-text or Markdown; if unspecified, "applications should
    # attempt to render [the long_description] as text/x-rst; charset=UTF-8 and
    # fall back to text/plain if it is not valid rst" (see link below)
    #
    # This field corresponds to the "Description-Content-Type" metadata field:
    # https://packaging.python.org/specifications/core-metadata/#description-content-type-optional
    long_description_content_type='text/markdown',  # Optional (see note above)

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

    # Author details
    author='Adrian Schlatter',
    author_email='ad@tambora.ch',

    # Choose your license
    license='Revised BSD',

    # Classifiers help users find your project by categorizing it.
    #
    # For a list of valid classifiers, see https://pypi.org/classifiers/
    classifiers=[  # Optional
        # How mature is this project? Common values are
        #   3 - Alpha
        #   4 - Beta
        #   5 - Production/Stable
        'Development Status :: 4 - Beta',

        # Indicate who your project is intended for
        'Intended Audience :: Developers',

        # Pick your license as you wish (should match "license" above)
        'License :: OSI Approved :: BSD License',

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

    # This field adds keywords for your project which will appear on the
    # project page. What does your project relate to?
    #
    # Note that this is a string of words separated by whitespace, not a list.
    keywords='sample setuptools development',  # Optional

    # You can just specify package directories manually here if your project is
    # simple. Or you can use find_packages().
    #
    # Alternatively, if you just want to distribute a single Python file, use
    # the `py_modules` argument instead as follows, which will expect a file
    # called `my_module.py` to exist:
    #
    #   py_modules=["my_module"],
    #
    packages=find_packages(exclude=['contrib', 'docs', 'tests']),  # Required

    # This field lists other packages that your project depends on to run.
    # Any package you put here will be installed by pip when your project is
    # installed, so they must be valid existing projects.
    #
    # For an analysis of "install_requires" vs pip's requirements files see:
    # https://packaging.python.org/en/latest/requirements.html
    install_requires=['numpy', 'plumbum'],

    # List additional groups of dependencies here (e.g. development
    # dependencies). Users will be able to install these using the "extras"
    # syntax, for example:
    #
    #   $ pip install sampleproject[dev]
    #
    # Similar to `install_requires` above, these must be valid existing
    # projects.
    extras_require={  # Optional
        'dev': ['check-manifest'],
        'test': ['pytest', 'twine', 'check-manifest', 'readme_renderer',
                 'flake8', 'coverage'],
    },

    # If there are data files included in your packages that need to be
    # installed, specify them here.
    #
    # If using Python 2.6 or earlier, then these have to be included in
    # MANIFEST.in as well.
    package_data={  # Optional
        'sample': ['package_data.dat'],
    },

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

    # To provide executable scripts, use entry points in preference to the
    # "scripts" keyword. Entry points provide cross-platform support and allow
    # `pip` to create the appropriate form of executable for the target
    # platform.
    #
    # For example, the following would provide a command called `sample` which
    # executes the function `main` from this package when invoked:
    entry_points={  # Optional
        'console_scripts': [
            'sample=sample:main',
        ],
    },

    # List additional URLs that are relevant to your project as a dict.
    #
    # This field corresponds to the "Project-URL" metadata fields:
    # https://packaging.python.org/specifications/core-metadata/#project-url-multiple-use
    #
    # Examples listed include a pattern for specifying where the package tracks
    # issues, where the source is hosted, where to say thanks to the package
    # maintainers, and where to support the project financially. The key is
    # what's used to render the link text on PyPI.
    project_urls={  # Optional
        'Bug Reports': 'https://github.com/pypa/sampleproject/issues',
        'Funding': 'https://donate.pypi.org',
        'Say Thanks!': 'http://saythanks.io/to/example',
        'Source': 'https://github.com/pypa/sampleproject/',
    },
)
<|endoftext|>


<commit_before>from distutils.core import setup
from codecs import open

setup(
    name = 'uoftscrapers',
    packages = ['uoftscrapers'],
    version = '0.4.0',
    description = 'University of Toronto public web scraping scripts.',
    author = 'Qasim Iqbal',
    author_email = 'me@qas.im',
    url = 'https://github.com/cobalt-io/uoft-scrapers',
    download_url = 'https://github.com/cobalt-io/uoft-scrapers/tarball/0.4.0',
    package_data = {'': ['LICENSE.md']},
    package_dir = {'uoftscrapers': 'uoftscrapers'},
    include_package_data = True,
    keywords = ['uoft', 'scraper', 'toronto', 'university of toronto', 'cobalt'],
    install_requires = ['requests>=2.6.2', 'beautifulsoup4>=4.3.2', 'pytidylib>=0.2.4', 'lxml>=3.6.0', 'pytz>=2016.3'],
    classifiers = [],
)
<commit_msg>io -> uoft<commit_after>from distutils.core import setup
from codecs import open

setup(
    name = 'uoftscrapers',
    packages = ['uoftscrapers'],
    version = '0.4.0',
    description = 'University of Toronto public web scraping scripts.',
    author = 'Qasim Iqbal',
    author_email = 'me@qas.im',
    url = 'https://github.com/cobalt-io/uoft-scrapers',
    download_url = 'https://github.com/cobalt-uoft/uoft-scrapers/tarball/0.4.0',
    package_data = {'': ['LICENSE.md']},
    package_dir = {'uoftscrapers': 'uoftscrapers'},
    include_package_data = True,
    keywords = ['uoft', 'scraper', 'toronto', 'university of toronto', 'cobalt'],
    install_requires = ['requests>=2.6.2', 'beautifulsoup4>=4.3.2', 'pytidylib>=0.2.4', 'lxml>=3.6.0', 'pytz>=2016.3'],
    classifiers = [],
)
<|endoftext|>


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

from setuptools import setup, find_packages

readme = open('README.rst').read()
history = open('HISTORY.rst').read().replace('.. :changelog:', '')

requirements = [
    'configobj',
    'six',
    'validator',
    'argparse'
]

test_requirements = [
    # TODO: put package test requirements here
]

setup(
    name='masterha_toolkit',
    version='0.1.0',
    description='Tools for MySQL MasterHA failover and monitoring',
    long_description=readme + '\n\n' + history,
    author='Tyler Mitchell',
    author_email='zastari@gmail.com',
    url='https://github.com/zastari/masterha_toolkit',
    packages=find_packages(exclude=["build", "dist", "docs", "tests"]),
    package_dir={'masterha_toolkit':
                 'masterha_toolkit'},
    include_package_data=True,
    install_requires=requirements,
    license="BSD",
    zip_safe=False,
    keywords='masterha_toolkit',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Natural Language :: English',
        'Programming Language :: Python :: 2.7',
    ],
    test_suite='tests',
    tests_require=test_requirements,
    entry_points = {
        'console_scripts': ['masterha_dispatch=masterha_toolkit.dispatch:main']
    }
)
<commit_msg>Increment minor version number<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

from setuptools import setup, find_packages

readme = open('README.rst').read()
history = open('HISTORY.rst').read().replace('.. :changelog:', '')

requirements = [
    'configobj',
    'six',
    'validator',
    'argparse'
]

test_requirements = [
    # TODO: put package test requirements here
]

setup(
    name='masterha_toolkit',
    version='0.2.0',
    description='Tools for MySQL MasterHA failover and monitoring',
    long_description=readme + '\n\n' + history,
    author='Tyler Mitchell',
    author_email='zastari@gmail.com',
    url='https://github.com/zastari/masterha_toolkit',
    packages=find_packages(exclude=["build", "dist", "docs", "tests"]),
    package_dir={'masterha_toolkit':
                 'masterha_toolkit'},
    include_package_data=True,
    install_requires=requirements,
    license="BSD",
    zip_safe=False,
    keywords='masterha_toolkit',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Natural Language :: English',
        'Programming Language :: Python :: 2.7',
    ],
    test_suite='tests',
    tests_require=test_requirements,
    entry_points = {
        'console_scripts': ['masterha_dispatch=masterha_toolkit.dispatch:main']
    }
)
<|endoftext|>


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

with open(join(dirname(__file__), 'openaddr', 'VERSION')) as file:
    version = file.read().strip()

conditional_requirements = list()

if sys.version_info[0] == 2:
    conditional_requirements += [
        # http://python-future.org
        'future >= 0.14.3',

        # https://github.com/jdunck/python-unicodecsv
        'unicodecsv >= 0.11.2',

        # https://code.google.com/p/python-subprocess32/
        'subprocess32 == 3.2.6',

        # https://pypi.python.org/pypi/python-memcached
        'python-memcached == 1.57',

        # https://github.com/kennethreitz/requests/issues/2022#issuecomment-143348232
        'ndg-httpsclient == 0.4.0',
        'pyOpenSSL == 16.0.0',
        'pyasn1 == 0.1.9',
    ]
else:
    conditional_requirements += [
        # https://pypi.python.org/pypi/python-memcached
        'python3-memcached == 1.51',
    ]

setup(
    name = 'OpenAddresses-Machine',
    version = version,
    url = 'https://github.com/openaddresses/machine',
    author = 'Michal Migurski',
    author_email = 'mike-pypi@teczno.com',
    description = 'In-progress scripts for running OpenAddresses on a complete data set and publishing the results.',
    packages = ['openaddr', 'openaddr.util', 'openaddr.ci', 'openaddr.tests', 'openaddr.parcels'],
    entry_points = dict(
        console_scripts = [
            'openaddr-render-us = openaddr.render:main',
            'openaddr-process-one = openaddr.process_one:main',
            'openaddr-ci-recreate-db = openaddr.ci.recreate_db:main',
            'openaddr-ci-run-dequeue = openaddr.ci.run_dequeue:main',
            'openaddr-ci-worker = openaddr.ci.worker:main',
            'openaddr-enqueue-sources = openaddr.ci.enqueue:main',
            'openaddr-collect-extracts = openaddr.ci.collect:main',
            'openaddr-index-tiles = openaddr.ci.tileindex:main',
            'openaddr-run-ec2-command = openaddr.run_ec2_ami:main',
            'openaddr-update-dotmap = openaddr.dotmap:main',
        ]
    ),
    package_data = {
        'openaddr': [
            'geodata/*.shp', 'geodata/*.shx', 'geodata/*.prj', 'geodata/*.dbf',
            'geodata/*.cpg', 'VERSION',
        ],
        'openaddr.ci': [
            'schema.pgsql', 'templates/*.*', 'static/*.*'
        ],
        'openaddr.tests': [
            'data/*.*', 'outputs/*.*', 'sources/*.*', 'sources/fr/*.*',
            'sources/us/*/*.*', 'sources/de/*.*', 'sources/nl/*.*',
            'conforms/lake-man-gdb.gdb/*',
            'conforms/*.csv', 'conforms/*.dbf', 'conforms/*.zip', 'conforms/*.gfs',
            'conforms/*.gml', 'conforms/*.json', 'conforms/*.prj', 'conforms/*.shp',
            'conforms/*.shx', 'conforms/*.vrt',
            'parcels/sources/us/ca/*.*', 'parcels/sources/us/id/*.*',
            'parcels/data/*.*', 'parcels/data/us/ca/*.*',
            'parcels/data/us/ca/berkeley/*.*'
        ],
        'openaddr.parcels': [
            'README.md'
        ],
        'openaddr.util': [
            'templates/*.*'
        ]
    },
    test_suite = 'openaddr.tests',
    install_requires = [
        'boto == 2.43.0', 'Jinja2 == 2.8.0', 'dateutils == 0.6.6', 'ijson == 2.3',

        # http://flask.pocoo.org
        'Flask == 0.11.1',

        # http://flask-cors.corydolphin.com
        'Flask-Cors == 3.0.2',

        # https://www.palletsproject.com/projects/werkzeug/
        'Werkzeug == 0.11.11',

        # http://gunicorn.org
        'gunicorn == 19.6.0',

        # http://www.voidspace.org.uk/python/mock/
        'mock == 2.0.0',

        # https://github.com/uri-templates/uritemplate-py/
        'uritemplate == 0.6',

        # https://github.com/malthe/pq/
        'pq == 1.4',

        # http://initd.org/psycopg/
        'psycopg2 == 2.6.2',

        # http://docs.python-requests.org/en/master/
        'requests == 2.11.1',

        # https://pypi.python.org/pypi/requests-ftp, appears no longer maintained.
        'requests-ftp == 0.2.0',

        # https://github.com/patrys/httmock
        'httmock == 1.2.5',

        # https://boto3.readthedocs.org
        'boto3 == 1.1.4',

        # https://github.com/openaddresses/pyesridump
        'esridump == 1.4.1',

        # Used in openaddr.parcels
        'Shapely == 1.5.15',
        'Fiona == 1.6.4',

        # http://pythonhosted.org/itsdangerous/
        'itsdangerous == 0.24',

        ] + conditional_requirements
)
<commit_msg>Bumped boto3 version<commit_after>from setuptools import setup
from os.path import join, dirname
import sys

with open(join(dirname(__file__), 'openaddr', 'VERSION')) as file:
    version = file.read().strip()

conditional_requirements = list()

if sys.version_info[0] == 2:
    conditional_requirements += [
        # http://python-future.org
        'future >= 0.14.3',

        # https://github.com/jdunck/python-unicodecsv
        'unicodecsv >= 0.11.2',

        # https://code.google.com/p/python-subprocess32/
        'subprocess32 == 3.2.6',

        # https://pypi.python.org/pypi/python-memcached
        'python-memcached == 1.57',

        # https://github.com/kennethreitz/requests/issues/2022#issuecomment-143348232
        'ndg-httpsclient == 0.4.0',
        'pyOpenSSL == 16.0.0',
        'pyasn1 == 0.1.9',
    ]
else:
    conditional_requirements += [
        # https://pypi.python.org/pypi/python-memcached
        'python3-memcached == 1.51',
    ]

setup(
    name = 'OpenAddresses-Machine',
    version = version,
    url = 'https://github.com/openaddresses/machine',
    author = 'Michal Migurski',
    author_email = 'mike-pypi@teczno.com',
    description = 'In-progress scripts for running OpenAddresses on a complete data set and publishing the results.',
    packages = ['openaddr', 'openaddr.util', 'openaddr.ci', 'openaddr.tests', 'openaddr.parcels'],
    entry_points = dict(
        console_scripts = [
            'openaddr-render-us = openaddr.render:main',
            'openaddr-process-one = openaddr.process_one:main',
            'openaddr-ci-recreate-db = openaddr.ci.recreate_db:main',
            'openaddr-ci-run-dequeue = openaddr.ci.run_dequeue:main',
            'openaddr-ci-worker = openaddr.ci.worker:main',
            'openaddr-enqueue-sources = openaddr.ci.enqueue:main',
            'openaddr-collect-extracts = openaddr.ci.collect:main',
            'openaddr-index-tiles = openaddr.ci.tileindex:main',
            'openaddr-run-ec2-command = openaddr.run_ec2_ami:main',
            'openaddr-update-dotmap = openaddr.dotmap:main',
        ]
    ),
    package_data = {
        'openaddr': [
            'geodata/*.shp', 'geodata/*.shx', 'geodata/*.prj', 'geodata/*.dbf',
            'geodata/*.cpg', 'VERSION',
        ],
        'openaddr.ci': [
            'schema.pgsql', 'templates/*.*', 'static/*.*'
        ],
        'openaddr.tests': [
            'data/*.*', 'outputs/*.*', 'sources/*.*', 'sources/fr/*.*',
            'sources/us/*/*.*', 'sources/de/*.*', 'sources/nl/*.*',
            'conforms/lake-man-gdb.gdb/*',
            'conforms/*.csv', 'conforms/*.dbf', 'conforms/*.zip', 'conforms/*.gfs',
            'conforms/*.gml', 'conforms/*.json', 'conforms/*.prj', 'conforms/*.shp',
            'conforms/*.shx', 'conforms/*.vrt',
            'parcels/sources/us/ca/*.*', 'parcels/sources/us/id/*.*',
            'parcels/data/*.*', 'parcels/data/us/ca/*.*',
            'parcels/data/us/ca/berkeley/*.*'
        ],
        'openaddr.parcels': [
            'README.md'
        ],
        'openaddr.util': [
            'templates/*.*'
        ]
    },
    test_suite = 'openaddr.tests',
    install_requires = [
        'boto == 2.43.0', 'Jinja2 == 2.8.0', 'dateutils == 0.6.6', 'ijson == 2.3',

        # http://flask.pocoo.org
        'Flask == 0.11.1',

        # http://flask-cors.corydolphin.com
        'Flask-Cors == 3.0.2',

        # https://www.palletsproject.com/projects/werkzeug/
        'Werkzeug == 0.11.11',

        # http://gunicorn.org
        'gunicorn == 19.6.0',

        # http://www.voidspace.org.uk/python/mock/
        'mock == 2.0.0',

        # https://github.com/uri-templates/uritemplate-py/
        'uritemplate == 0.6',

        # https://github.com/malthe/pq/
        'pq == 1.4',

        # http://initd.org/psycopg/
        'psycopg2 == 2.6.2',

        # http://docs.python-requests.org/en/master/
        'requests == 2.11.1',

        # https://pypi.python.org/pypi/requests-ftp, appears no longer maintained.
        'requests-ftp == 0.2.0',

        # https://github.com/patrys/httmock
        'httmock == 1.2.5',

        # https://boto3.readthedocs.org
        'boto3 == 1.4.1',

        # https://github.com/openaddresses/pyesridump
        'esridump == 1.4.1',

        # Used in openaddr.parcels
        'Shapely == 1.5.15',
        'Fiona == 1.6.4',

        # http://pythonhosted.org/itsdangerous/
        'itsdangerous == 0.24',

        ] + conditional_requirements
)
<|endoftext|>


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

import os
from setuptools import setup, find_packages

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

README = read('README.rst')

setup(
    name = "django-periodically",
    version = "0.2.0",
    description='Periodic task management for your Django projects.',
    url = 'https://github.com/hzdg/django-periodically',
    long_description=README,

    author = 'Matthew Tretter',
    author_email = 'matthew@exanimo.com',
    packages = find_packages()
)
<commit_msg>Bump to 0.3.0<commit_after>#!/usr/bin/env python

import os
from setuptools import setup, find_packages

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

README = read('README.rst')

setup(
    name = "django-periodically",
    version = "0.3.0",
    description='Periodic task management for your Django projects.',
    url = 'https://github.com/hzdg/django-periodically',
    long_description=README,

    author = 'Matthew Tretter',
    author_email = 'matthew@exanimo.com',
    packages = find_packages()
)
<|endoftext|>


<commit_before>import sys

from setuptools import setup

meta = dict(
    name="stacklogger",
    version="0.1.0",
    description="A stack-aware logging extension",
    author="Will Maier",
    author_email="willmaier@ml1.net",
    py_modules=["stacklogger"],
    test_suite="tests",
    install_requires=["setuptools"],
    keywords="logging stack frame",
    url="http://packages.python.org/stacklogger",
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: BSD License",
        "License :: OSI Approved :: MIT License",
        "Natural Language :: English",
        "Programming Language :: Python"
        "Topic :: System :: Logging",
    ],
)

# Automatic conversion for Python 3 requires distribute.
if False and sys.version_info >= (3,):
    meta.update(dict(
        use_2to3=True,
    ))

setup(**meta)
<commit_msg>Fix classifier.<commit_after>import sys

from setuptools import setup

meta = dict(
    name="stacklogger",
    version="0.1.0",
    description="A stack-aware logging extension",
    author="Will Maier",
    author_email="willmaier@ml1.net",
    py_modules=["stacklogger"],
    test_suite="tests",
    install_requires=["setuptools"],
    keywords="logging stack frame",
    url="http://packages.python.org/stacklogger",
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: BSD License",
        "License :: OSI Approved :: MIT License",
        "Natural Language :: English",
        "Programming Language :: Python",
        "Topic :: System :: Logging",
    ],
)

# Automatic conversion for Python 3 requires distribute.
if False and sys.version_info >= (3,):
    meta.update(dict(
        use_2to3=True,
    ))

setup(**meta)
<|endoftext|>


<commit_before>from distutils.core import setup
setup(name='sitemap_loader',
    author='Alec Deason',
    email='alec@brandverity.com',
    version='1.0',
    install_requires=['tldextract'],
    scripts=['sitemap_loader']
    )
<commit_msg>add url<commit_after>from distutils.core import setup
setup(name='sitemap_loader',
    author='Alec Deason',
    email='alec@brandverity.com',
    version='1.0',
    install_requires=['tldextract'],
    url='https://github.com/brandverity/sitemap_loader',
    scripts=['sitemap_loader']
    )
<|endoftext|>


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

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

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

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

with open('HISTORY.rst') as history_file:
    history = history_file.read().replace('.. :changelog:', '')

requirements = [
    # TODO: put package requirements here
]

test_requirements = ['tox']

class Tox(TestCommand):
    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
        errcode = tox.cmdline(self.test_args)
        sys.exit(errcode)

setup(
    name='fibonacci',
    version='0.1.0',
    description="A minimal python project for integration test purposes.",
    long_description=readme + '\n\n' + history,
    author="Maik Figura",
    author_email='maiksensi@gmail.com',
    url='https://github.com/maiksensi/fibonacci',
    packages=[
        'fibonacci',
    ],
    package_dir={'fibonacci':
                 'fibonacci'},
    include_package_data=True,
    install_requires=requirements,
    cmdclass={'test': Tox},
    license="BSD",
    zip_safe=False,
    keywords='fibonacci',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Natural Language :: English',
        "Programming Language :: Python :: 2",
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
    ],
    test_suite='tests',
    tests_require=test_requirements
)
<commit_msg>changed package discovery<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-\

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

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

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

with open('HISTORY.rst') as history_file:
    history = history_file.read().replace('.. :changelog:', '')

requirements = [
    # TODO: put package requirements here
]

test_requirements = ['tox']

class Tox(TestCommand):
    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
        errcode = tox.cmdline(self.test_args)
        sys.exit(errcode)

setup(
    name='fibonacci',
    version='0.1.0',
    description="A minimal python project for integration test purposes.",
    long_description=readme + '\n\n' + history,
    author="Maik Figura",
    author_email='maiksensi@gmail.com',
    url='https://github.com/maiksensi/fibonacci',
    packages=find_packages('src'),
    package_dir={'': 'src'},
    include_package_data=True,
    install_requires=requirements,
    cmdclass={'test': Tox},
    license="BSD",
    zip_safe=False,
    keywords='fibonacci',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Natural Language :: English',
        "Programming Language :: Python :: 2",
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
    ],
    test_suite='tests',
    tests_require=test_requirements
)
<|endoftext|>


<commit_before>import os
import re
import sys
import platform
import subprocess

from setuptools import setup, Extension
from setuptools.command.build_ext import build_ext
from distutils.version import LooseVersion

class CMakeExtension(Extension):
    def __init__(self, name, sourcedir=''):
        Extension.__init__(self, name, sources=[])
        self.sourcedir = os.path.abspath(sourcedir)

class CMakeBuild(build_ext):
    def run(self):
        try:
            out = subprocess.check_output(['cmake', '--version'])
        except OSError:
            raise RuntimeError("CMake must be installed to build the following extensions: " +
                               ", ".join(e.name for e in self.extensions))

        if platform.system() == "Windows":
            cmake_version = LooseVersion(re.search(r'version\s*([\d.]+)', out.decode()).group(1))
            if cmake_version < '3.1.0':
                raise RuntimeError("CMake >= 3.1.0 is required on Windows")

        for ext in self.extensions:
            self.build_extension(ext)

    def build_extension(self, ext):
        setup_py_dir = os.path.dirname(os.path.realpath(__file__))
        extdir = os.path.join(setup_py_dir, 'ants/lib/')

        cmake_args = ['-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=' + extdir,
                      '-DPYTHON_EXECUTABLE=' + sys.executable,
                      "-Wno-inconsistent-missing-override"]

        cfg = 'Debug' if self.debug else 'Release'
        build_args = ['--config', cfg]

        if platform.system() == "Windows":
            cmake_args += ['-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_{}={}'.format(cfg.upper(), extdir)]
            if sys.maxsize > 2**32:
                cmake_args += ['-A', 'x64']
            build_args += ['--', '/m']
        else:
            cmake_args += ['-DCMAKE_BUILD_TYPE=' + cfg]
            build_args += ['--', '-j2']

        env = os.environ.copy()
        env['CXXFLAGS'] = '{} {} -DVERSION_INFO=\\"{}\\"'.format("-Wno-inconsistent-missing-override",
                                                                    env.get('CXXFLAGS', ''),
                                                                    self.distribution.get_version())
        env['LINKFlAGS'] = '{}'.format("-Wno-inconsistent-missing-override")

        if not os.path.exists(self.build_temp):
            os.makedirs(self.build_temp)
        subprocess.check_call(['cmake', ext.sourcedir] + cmake_args, cwd=self.build_temp, env=env)
        subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)

setup_py_dir = os.path.dirname(os.path.realpath(__file__))

if os.getenv('ITK_DIR'):
    print('Using Local ITK Installation at:\n %s' % os.getenv('ITK_DIR'))
elif os.path.exists(os.path.join(setup_py_dir, 'itkbuild')):
    os.environ['ITK_DIR'] = os.path.join(setup_py_dir, 'itkbuild')
else:
    print('No Local ITK Installation Found...')
    print('Building ITK now...')
    subprocess.check_call(['./configure_itk.sh'], cwd=setup_py_dir)
    os.environ['ITK_DIR'] = os.path.join(setup_py_dir, 'itkbuild')

print('ITK_DIR: ' , os.getenv('ITK_DIR'))

if os.path.exists(os.path.join(setup_py_dir,'ants/lib/pybind11/')):
    try:
        os.rmdir(os.path.join(setup_py_dir,'ants/lib/pybind11/'))
    except:
        pass

subprocess.check_call(['./configure_antspy.sh'], cwd=setup_py_dir)

setup(
    name='ants',
    version='0.1.2',
    author='Nicholas C. Cullen',
    author_email='nickmarch31@yahoo.com',
    description='Advanced Normalization Tools in Python',
    long_description='',
    ext_modules=[CMakeExtension('ants', sourcedir=os.path.join(setup_py_dir,'ants/lib/'))],
    cmdclass=dict(build_ext=CMakeBuild),
    zip_safe=False,
)

<commit_msg>better setup.py<commit_after>import os
import re
import sys
import platform
import subprocess

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

class CMakeExtension(Extension):
    def __init__(self, name, sourcedir=''):
        Extension.__init__(self, name, sources=[])
        self.sourcedir = os.path.abspath(sourcedir)

class CMakeBuild(build_ext):
    def run(self):
        try:
            out = subprocess.check_output(['cmake', '--version'])
        except OSError:
            raise RuntimeError("CMake must be installed to build the following extensions: " +
                               ", ".join(e.name for e in self.extensions))

        if platform.system() == "Windows":
            cmake_version = LooseVersion(re.search(r'version\s*([\d.]+)', out.decode()).group(1))
            if cmake_version < '3.1.0':
                raise RuntimeError("CMake >= 3.1.0 is required on Windows")

        for ext in self.extensions:
            self.build_extension(ext)

    def build_extension(self, ext):
        setup_py_dir = os.path.dirname(os.path.realpath(__file__))
        extdir = os.path.join(setup_py_dir, 'ants/lib/')

        cmake_args = ['-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=' + extdir,
                      '-DPYTHON_EXECUTABLE=' + sys.executable,
                      "-Wno-inconsistent-missing-override"]

        cfg = 'Debug' if self.debug else 'Release'
        build_args = ['--config', cfg]

        if platform.system() == "Windows":
            cmake_args += ['-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_{}={}'.format(cfg.upper(), extdir)]
            if sys.maxsize > 2**32:
                cmake_args += ['-A', 'x64']
            build_args += ['--', '/m']
        else:
            cmake_args += ['-DCMAKE_BUILD_TYPE=' + cfg]
            build_args += ['--', '-j2']

        env = os.environ.copy()
        env['CXXFLAGS'] = '{} {} -DVERSION_INFO=\\"{}\\"'.format("-Wno-inconsistent-missing-override",
                                                                    env.get('CXXFLAGS', ''),
                                                                    self.distribution.get_version())
        env['LINKFlAGS'] = '{}'.format("-Wno-inconsistent-missing-override")

        if not os.path.exists(self.build_temp):
            os.makedirs(self.build_temp)
        subprocess.check_call(['cmake', ext.sourcedir] + cmake_args, cwd=self.build_temp, env=env)
        subprocess.check_call(['cmake', '--build', '.'] + build_args, cwd=self.build_temp)

setup_py_dir = os.path.dirname(os.path.realpath(__file__))

if os.getenv('ITK_DIR'):
    print('Using Local ITK Installation at:\n %s' % os.getenv('ITK_DIR'))
elif os.path.exists(os.path.join(setup_py_dir, 'itkbuild')):
    os.environ['ITK_DIR'] = os.path.join(setup_py_dir, 'itkbuild')
else:
    print('No Local ITK Installation Found...')
    print('Building ITK now...')
    subprocess.check_call(['./configure_itk.sh'], cwd=setup_py_dir)
    os.environ['ITK_DIR'] = os.path.join(setup_py_dir, 'itkbuild')

print('ITK_DIR: ' , os.getenv('ITK_DIR'))

if os.path.exists(os.path.join(setup_py_dir,'ants/lib/pybind11/')):
    try:
        os.rmdir(os.path.join(setup_py_dir,'ants/lib/pybind11/'))
    except:
        pass

subprocess.check_call(['./configure_antspy.sh'], cwd=setup_py_dir)

setup(
    name='ants',
    version='0.1.2',
    author='Nicholas C. Cullen',
    author_email='nickmarch31@yahoo.com',
    description='Advanced Normalization Tools in Python',
    long_description='',
    ext_modules=[CMakeExtension('ants', sourcedir=os.path.join(setup_py_dir,'ants/lib/'))],
    cmdclass=dict(build_ext=CMakeBuild),
    zip_safe=False,
    packages=find_packages(),
    package_data={'ants':['ants/lib/*.so*','lib/*.so*']}
)

<|endoftext|>


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

import os
import setuptools

setuptools.setup(
  name='clicast',
  version='0.2.2',

  author='Max Zheng',
  author_email='mzheng@linkedin.com',

  description=open('README.rst').read(),

  entry_points={
    'console_scripts': [
      'cast = clicast.editor:cast',
    ],
  },

  install_requires=[
    'requests',
  ],

  license='MIT',

  package_dir={'': 'src'},
  packages=setuptools.find_packages('src'),
  include_package_data=True,

  setup_requires=['setuptools-git'],

#  scripts=['bin/cast-example'],

  classifiers=[
    'Development Status :: 5 - Production/Stable',

    'Intended Audience :: Developers',
    'Topic :: Software Development :: Development Tools',

    'License :: OSI Approved :: MIT License',

    'Programming Language :: Python :: 2',
    'Programming Language :: Python :: 2.6',
    'Programming Language :: Python :: 2.7',
  ],

  keywords='cli broadcast command warning critical bug',
)
<commit_msg>Publish version 0.2.3<commit_after>#!/usr/bin/env python2.6

import os
import setuptools

setuptools.setup(
  name='clicast',
  version='0.2.3',

  author='Max Zheng',
  author_email='mzheng@linkedin.com',

  description=open('README.rst').read(),

  entry_points={
    'console_scripts': [
      'cast = clicast.editor:cast',
    ],
  },

  install_requires=[
    'requests',
  ],

  license='MIT',

  package_dir={'': 'src'},
  packages=setuptools.find_packages('src'),
  include_package_data=True,

  setup_requires=['setuptools-git'],

#  scripts=['bin/cast-example'],

  classifiers=[
    'Development Status :: 5 - Production/Stable',

    'Intended Audience :: Developers',
    'Topic :: Software Development :: Development Tools',

    'License :: OSI Approved :: MIT License',

    'Programming Language :: Python :: 2',
    'Programming Language :: Python :: 2.6',
    'Programming Language :: Python :: 2.7',
  ],

  keywords='cli broadcast command warning critical bug',
)
<|endoftext|>


<commit_before>from distutils import log
from setuptools import Command, find_packages, setup
import os
import shutil

VERSION = '0.9.0'

class PublishCommand(Command):
    """
    Publish the source distribution to local pypi cache and remote
    Chevah PyPi server.
    """

    description = "copy distributable to Chevah cache folder"
    user_options = []

    def initialize_options(self):
        self.cwd = None
        self.destination_base = '~/chevah/brink/cache/pypi/'

    def finalize_options(self):
        self.cwd = os.getcwd()

    def run(self):
        assert os.getcwd() == self.cwd, (
            'Must be in package root: %s' % self.cwd)
        self.run_command('sdist')
        sdist_command = self.distribution.get_command_obj('sdist')
        for archive in sdist_command.archive_files:
            source = os.path.join(archive)
            destination = os.path.expanduser(
                self.destination_base + os.path.basename(archive))
            shutil.copyfile(source, destination)
        log.info(
            "Distributable files copied to %s " % (self.destination_base))

        # Upload package to Chevah PyPi server.
        upload_command = self.distribution.get_command_obj('upload')
        upload_command.repository = u'chevah'
        self.run_command('upload')

distribution = setup(
    name="chevah-utils",
    version=VERSION,
    maintainer='Adi Roiban',
    maintainer_email='adi.roiban@chevah.com',
    license='BSD 3-Clause',
    platforms='any',
    description="Common code for Chevah project.",
    long_description=open('README.rst').read(),
    url='http://www.chevah.com',
    namespace_packages=['chevah'],
    packages=find_packages('.'),
    package_data={'chevah.utils': [
        'static/events/*'
        ]},
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "Programming Language :: Python",
        ],
    cmdclass={
        'publish': PublishCommand,
        },
    )
<commit_msg>Release 0.9.1.<commit_after>from distutils import log
from setuptools import Command, find_packages, setup
import os
import shutil

VERSION = '0.9.1'

class PublishCommand(Command):
    """
    Publish the source distribution to local pypi cache and remote
    Chevah PyPi server.
    """

    description = "copy distributable to Chevah cache folder"
    user_options = []

    def initialize_options(self):
        self.cwd = None
        self.destination_base = '~/chevah/brink/cache/pypi/'

    def finalize_options(self):
        self.cwd = os.getcwd()

    def run(self):
        assert os.getcwd() == self.cwd, (
            'Must be in package root: %s' % self.cwd)
        self.run_command('sdist')
        sdist_command = self.distribution.get_command_obj('sdist')
        for archive in sdist_command.archive_files:
            source = os.path.join(archive)
            destination = os.path.expanduser(
                self.destination_base + os.path.basename(archive))
            shutil.copyfile(source, destination)
        log.info(
            "Distributable files copied to %s " % (self.destination_base))

        # Upload package to Chevah PyPi server.
        upload_command = self.distribution.get_command_obj('upload')
        upload_command.repository = u'chevah'
        self.run_command('upload')

distribution = setup(
    name="chevah-utils",
    version=VERSION,
    maintainer='Adi Roiban',
    maintainer_email='adi.roiban@chevah.com',
    license='BSD 3-Clause',
    platforms='any',
    description="Common code for Chevah project.",
    long_description=open('README.rst').read(),
    url='http://www.chevah.com',
    namespace_packages=['chevah'],
    packages=find_packages('.'),
    package_data={'chevah.utils': [
        'static/events/*'
        ]},
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "Programming Language :: Python",
        ],
    cmdclass={
        'publish': PublishCommand,
        },
    )
<|endoftext|>


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

import codecs
import os

_version = "4.4.1"
_packages = find_packages('.', exclude=["*.tests", "*.tests.*", "tests.*", "tests"])

if os.path.exists('README.rst'):
    _long_description = codecs.open('README.rst', 'r', 'utf-8').read()
else:
    _long_description = ""

setup(
    name='laterpay-client',
    version=_version,

    description="LaterPay API client",
    long_description=_long_description,
    author="LaterPay GmbH",
    author_email="support@laterpay.net",
    url="https://github.com/laterpay/laterpay-client-python",
    license='MIT',
    keywords="LaterPay API client",

    test_suite="tests",

    packages=_packages,

    install_requires=[
        'requests',
        'six',
    ],

    classifiers=(
        "Development Status :: 5 - Production/Stable",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3.3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ),
)
<commit_msg>[4.5.0] Bump version<commit_after># -*- coding: utf-8 -*-
from setuptools import find_packages, setup

import codecs
import os

_version = "4.5.0"
_packages = find_packages('.', exclude=["*.tests", "*.tests.*", "tests.*", "tests"])

if os.path.exists('README.rst'):
    _long_description = codecs.open('README.rst', 'r', 'utf-8').read()
else:
    _long_description = ""

setup(
    name='laterpay-client',
    version=_version,

    description="LaterPay API client",
    long_description=_long_description,
    author="LaterPay GmbH",
    author_email="support@laterpay.net",
    url="https://github.com/laterpay/laterpay-client-python",
    license='MIT',
    keywords="LaterPay API client",

    test_suite="tests",

    packages=_packages,

    install_requires=[
        'requests',
        'six',
    ],

    classifiers=(
        "Development Status :: 5 - Production/Stable",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3.3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ),
)
<|endoftext|>


<commit_before>import sys
import setuptools
import subprocess

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

if sys.version_info[0:2] == (2, 6):
    ipython_version = '<=0.11'
else:
    ipython_version = '>=5'

requirements = [
    'Click>=6.0',
    'iPython{0}'.format(ipython_version),
    'traitlets',
]

class Venv(setuptools.Command):
    user_options = []

    def initialize_options(self):
        """Abstract method that is required to be overwritten"""

    def finalize_options(self):
        """Abstract method that is required to be overwritten"""

    def run(self):
        venv_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'venv', 'hiss')
        venv_cmd = [
            'virtualenv',
            venv_path
        ]
        print('Creating virtual environment in ', venv_path)
        subprocess.check_call(venv_cmd)
        print('Linking `activate` to top level of project.\n')
        print('To activate, simply run `source activate`.')
        try:
            os.symlink(
                os.path.join(venv_path, 'bin', 'activate'),
                os.path.join(os.path.dirname(os.path.abspath(__file__)), 'activate')
            )
        except OSError:
            print('Unable to create symlink, you may have a stale symlink from a previous invocation.')

setuptools.setup(
    name='hiss-repl',
    version='0.1.4',
    description="A simple and easily configured iPython-based python repl",
    long_description=readme,
    author="Loren Carvalho",
    author_email='me@loren.pizza',
    url='https://github.com/sixninetynine/hiss',
    packages=[
        'hiss',
    ],
    package_dir={'hiss':
                 'hiss'},
    entry_points={
        'console_scripts': [
            'hiss=hiss.cli:main'
        ]
    },
    include_package_data=True,
    install_requires=requirements,
    license="MIT license",
    zip_safe=False,
    keywords='hiss',
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        "Programming Language :: Python :: 2",
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
    ],
    cmdclass={'venv': Venv},
)
<commit_msg>add conditional dep on enum34<commit_after>import sys
import setuptools
import subprocess

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

requirements = [
    'Click>=6.0',
    'setuptools>25',
]

python_version = sys.version_info[0:2]

if python_version == (2, 6):
    requirements.append("IPython<=0.13")

if python_version <= (3, 3):
    requirements.extend(["enum34", "backports.shutil-get-terminal-size"])

if python_version >= (2, 7):
    requirements.extend(["IPython>=5", "traitlets"])

class Venv(setuptools.Command):
    user_options = []

    def initialize_options(self):
        """Abstract method that is required to be overwritten"""

    def finalize_options(self):
        """Abstract method that is required to be overwritten"""

    def run(self):
        venv_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'venv', 'hiss')
        venv_cmd = [
            'virtualenv',
            venv_path
        ]
        print('Creating virtual environment in ', venv_path)
        subprocess.check_call(venv_cmd)
        print('Linking `activate` to top level of project.\n')
        print('To activate, simply run `source activate`.')
        try:
            os.symlink(
                os.path.join(venv_path, 'bin', 'activate'),
                os.path.join(os.path.dirname(os.path.abspath(__file__)), 'activate')
            )
        except OSError:
            print('Unable to create symlink, you may have a stale symlink from a previous invocation.')

setuptools.setup(
    name='hiss-repl',
    version='0.1.12',
    description="A simple and easily configured iPython-based python repl",
    long_description=readme,
    author="Loren Carvalho",
    author_email='me@loren.pizza',
    url='https://github.com/sixninetynine/hiss',
    packages=[
        'hiss',
    ],
    package_dir={'hiss': 'hiss'},
    entry_points={
        'console_scripts': [
            'hiss=hiss.cli:main'
        ]
    },
    include_package_data=True,
    install_requires=requirements,
    license="MIT license",
    keywords='hiss',
    classifiers=[
        'License :: OSI Approved :: MIT License',
        "Programming Language :: Python :: 2",
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
    ],
    cmdclass={'venv': Venv},
)
<|endoftext|>


<commit_before>from setuptools import setup

setup(
    name='mysqlstmt',
    version='1.0.0',
    url='https://github.com/lovette/mysqlstmt',
	download_url = 'https://github.com/lovette/mysqlstmt/archive/master.tar.gz',
    license='BSD',
    author='Lance Lovette',
    author_email='lance.lovette@gmail.com',
    description='Python library to build SQL statements for MySQL.',
    long_description=open('README.md').read(),
    packages=['mysqlstmt',],
    install_requires=[],
    tests_require=['nose',],
    zip_safe=False,
    platforms='any',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Topic :: Database',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ]
)
<commit_msg>Tweak setup config.<commit_after>from setuptools import setup

setup(
    name='mysqlstmt',
    version='1.0.1',
    url='https://github.com/lovette/mysqlstmt',
    download_url='https://github.com/lovette/mysqlstmt/archive/master.tar.gz',
    license='BSD',
    author='Lance Lovette',
    author_email='lance.lovette@gmail.com',
    description='Python library to build SQL statements for MySQL.',
    long_description=open('README.md').read(),
    packages=['mysqlstmt'],
    install_requires=[],
    tests_require=['nose'],
    zip_safe=False,
    platforms='any',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Topic :: Database',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ]
)
<|endoftext|>


<commit_before>from setuptools import setup
setup(name='smartpass', version='0.1.1')
<commit_msg>forgot to add some files<commit_after>from setuptools import setup
setup(name='smartpass', version='0.1.1', packages=['smartpass'])
<|endoftext|>


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

from distutils.core import setup
from distutils.command.install import INSTALL_SCHEMES
import os

for scheme in INSTALL_SCHEMES.values():
  scheme['data'] = scheme['purelib']

template_files = []
for (path, dirs, files) in os.walk('templates'):
  template_files.extend([os.path.join('..', path, f) for f in files])

setup(
  name='Toto',
  version='0.7.4',
  author='JeremyOT',
  author_email='',
  download_url='https://github.com/JeremyOT/Toto/zipball/master',
  license='MIT License',
  platforms=['OS X', 'Linux'],
  url='https://github.com/JeremyOT/Toto',
  packages=['toto','toto.methods','toto.methods.account'],
  requires=['tornado(>=2.1)',],
  provides=['toto',],
  scripts=['scripts/toto-create',],
  description='A Tornado based framework designed to accelerate web service development',
  classifiers=['License :: OSI Approved :: MIT License', 'Operating System :: POSIX'],
  package_data={'toto': template_files}
  )

<commit_msg>version bump<commit_after>#!/usr/bin/env python

from distutils.core import setup
from distutils.command.install import INSTALL_SCHEMES
import os

for scheme in INSTALL_SCHEMES.values():
  scheme['data'] = scheme['purelib']

template_files = []
for (path, dirs, files) in os.walk('templates'):
  template_files.extend([os.path.join('..', path, f) for f in files])

setup(
  name='Toto',
  version='0.8.0',
  author='JeremyOT',
  author_email='',
  download_url='https://github.com/JeremyOT/Toto/zipball/master',
  license='MIT License',
  platforms=['OS X', 'Linux'],
  url='https://github.com/JeremyOT/Toto',
  packages=['toto','toto.methods','toto.methods.account'],
  requires=['tornado(>=2.1)',],
  provides=['toto',],
  scripts=['scripts/toto-create',],
  description='A Tornado based framework designed to accelerate web service development',
  classifiers=['License :: OSI Approved :: MIT License', 'Operating System :: POSIX'],
  package_data={'toto': template_files}
  )

<|endoftext|>


<commit_before>from setuptools import setup, find_packages

setup(
    name='enki',
    version='0.0.1',
    packages=find_packages(),
    install_requires=['pybossa-client', 'pandas'],
    # metadata for upload to PyPI
    author='Daniel Lombraña González',
    author_email='teleyinex@gmail.com',
    description='A Python library to analyze PyBossa application results',
    long_description='''PyBossa is a crowdsourcing framework. This tiny library that allows you to analyze the results of a PyBossa aplication.''',
    license='AGPLv3',
    url='https://github.com/pybossa/enki',
    download_url='https://github.com/PyBossa/enki/zipball/master',
    include_package_data=True,
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: AGPLv3 License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ],
    entry_points=''''''
)
<commit_msg>Fix license<commit_after># -*- encoding: utf8 -*-
from setuptools import setup, find_packages

setup(
    name='enki',
    version='0.0.1',
    packages=find_packages(),
    install_requires=['pybossa-client', 'pandas'],
    # metadata for upload to PyPI
    author='Daniel Lombraña González',
    author_email='teleyinex@gmail.com',
    description='A Python library to analyze PyBossa application results',
    long_description='''PyBossa is a crowdsourcing framework. This tiny library that allows you to analyze the results of a PyBossa aplication.''',
    license='AGPLv3',
    url='https://github.com/pybossa/enki',
    download_url='https://github.com/PyBossa/enki/zipball/master',
    include_package_data=True,
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ],
    entry_points=''''''
)
<|endoftext|>


<commit_before>from setuptools import setup

setup(
    name='pwlf',
    version='1.1.6',
    author='Charles Jekel',
    author_email='cjekel@gmail.com',
    packages=['pwlf'],
    url='https://github.com/cjekel/piecewise_linear_fit_py',
    license='MIT License',
    description='fit piecewise linear functions to data',
    long_description=open('README.rst').read(),
    platforms=['any'],
    install_requires=[
        "numpy >= 1.14.0",
        "scipy >= 0.19.0",
        "pyDOE >= 0.3.8",
    ],
    extras_require={
        'PiecewiseLinFitTF':  ["tensorflow < 2.0.0"]
    }
)
<commit_msg>add setuptools as a requirement<commit_after>from setuptools import setup

setup(
    name='pwlf',
    version='1.1.6',
    author='Charles Jekel',
    author_email='cjekel@gmail.com',
    packages=['pwlf'],
    url='https://github.com/cjekel/piecewise_linear_fit_py',
    license='MIT License',
    description='fit piecewise linear functions to data',
    long_description=open('README.rst').read(),
    platforms=['any'],
    install_requires=[
        "numpy >= 1.14.0",
        "scipy >= 0.19.0",
        "pyDOE >= 0.3.8",
        "setuptools >= 38.6.0",
    ],
    extras_require={
        'PiecewiseLinFitTF':  ["tensorflow < 2.0.0"]
    }
)
<|endoftext|>


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

try:
    import setuptools
except ImportError:
    import distribute_setup
    distribute_setup.use_setuptools()

import os
import sys

here = os.path.dirname(__file__)
def _read(name):
    try:
        f = open(os.path.join(here, name))
        return f.read()
    except:
        return ""

version = '0.2.2'
name = 'suddendeath'
short_description = '`suddendeath` generates "突然の死" message.'
readme = _read('README')
history = _read('HISTORY.txt')

long_description = readme + "\n" + history

classifiers = [
    'Development Status :: 2 - Pre-Alpha',
    'License :: OSI Approved :: Python Software Foundation License',
    'Programming Language :: Python',
    'Programming Language :: Python :: 2',
    'Programming Language :: Python :: 2.6',
    'Programming Language :: Python :: 2.7',
    'Programming Language :: Python :: 3',
    'Programming Language :: Python :: 3.3',
    'Topic :: Utilities',
    ]

extra = {}

if sys.version_info >= (3, 0):
    if not getattr(setuptools, '_distribute', False):
        raise RuntimeError(
                'You must installed `distribute` to setup suddendeath with Python3')
    extra.update(
        use_2to3=True
    )

setuptools.setup(
    name=name,
    version=version,
    description=short_description,
    long_description=long_description,
    classifiers=classifiers,
    keywords=['suddendeath',],
    author='ymotongpoo',
    author_email='ymotongpoo@gmail.com',
    packages = ['suddendeath'],
    url='http://github.com/ymotongpoo/pysuddendeath/',
    license='PSL',
    entry_points = {
        'console_scripts': [
            'suddendeath=suddendeath.__init__:main',
        ],
    },
    test_suite="suddendeath",
    **extra
    )
<commit_msg>fixed version<commit_after># -*- coding:utf-8 -*-

try:
    import setuptools
except ImportError:
    import distribute_setup
    distribute_setup.use_setuptools()

import os
import sys

here = os.path.dirname(__file__)
def _read(name):
    try:
        f = open(os.path.join(here, name))
        return f.read()
    except:
        return ""

version = '0.2.3'
name = 'suddendeath'
short_description = '`suddendeath` generates "突然の死" message.'
readme = _read('README')
history = _read('HISTORY.txt')

long_description = readme + "\n" + history

classifiers = [
    'Development Status :: 2 - Pre-Alpha',
    'License :: OSI Approved :: Python Software Foundation License',
    'Programming Language :: Python',
    'Programming Language :: Python :: 2',
    'Programming Language :: Python :: 2.6',
    'Programming Language :: Python :: 2.7',
    'Programming Language :: Python :: 3',
    'Programming Language :: Python :: 3.3',
    'Topic :: Utilities',
    ]

extra = {}

if sys.version_info >= (3, 0):
    if not getattr(setuptools, '_distribute', False):
        raise RuntimeError(
                'You must installed `distribute` to setup suddendeath with Python3')
    extra.update(
        use_2to3=True
    )

setuptools.setup(
    name=name,
    version=version,
    description=short_description,
    long_description=long_description,
    classifiers=classifiers,
    keywords=['suddendeath',],
    author='ymotongpoo',
    author_email='ymotongpoo@gmail.com',
    packages = ['suddendeath'],
    url='http://github.com/ymotongpoo/pysuddendeath/',
    license='PSL',
    entry_points = {
        'console_scripts': [
            'suddendeath=suddendeath.__init__:main',
        ],
    },
    test_suite="suddendeath",
    **extra
    )
<|endoftext|>


<commit_before>import os
from setuptools import setup

README = """
See the README on `GitHub
<https://github.com/uw-it-aca/myuw>`_.
"""

# The VERSION file is created by travis-ci, based on the tag name
version_path = 'myuw/VERSION'
VERSION = open(os.path.join(os.path.dirname(__file__), version_path)).read()
VERSION = VERSION.replace("\n", "")

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

url = "https://github.com/uw-it-aca/myuw"
setup(
    name='MyUW',
    version=VERSION,
    packages=['myuw'],
    author="UW-IT AXDD",
    author_email="aca-it@uw.edu",
    include_package_data=True,
    install_requires=[
        'Django==1.10.5',
        'ordereddict',
        'simplejson',
        'django-compressor==2.2',
        'BeautifulSoup',
        'urllib3==1.10.2',
        'django-templatetag-handlebars',
        'django-userservice==1.2.1',
        'django-blti==0.6',
        'unittest2',
        'AuthZ-Group',
        'python-binary-memcached',
        'UW-RestClients-Core==0.9.1',
        'UW-RestClients-SWS<2.0,>=1.4.4',
        'UW-RestClients-PWS<1.0,>=0.6',
        'UW-RestClients-HFS<1.0',
        'UW-RestClients-GWS<1.0',
        'UW-RestClients-GradePage<1.0,>=0.1.1',
        'UW-RestClients-Libraries<1.0',
        'UW-RestClients-IASystem<1.0,>=0.1.5',
        'UW-RestClients-Canvas<1.0,>=0.6.6',
        'UW-RestClients-UPass>=0.2,<1.0',
        'UW-RestClients-UWNetID>=0.3.2,<1.0',
        'UW-RestClients-Grad<1.0',
        'UW-RestClients-Bookstore<1.0',
        'UW-RestClients-Mailman<1.0',
        'UW-RestClients-MyPlan<1.0',
        'UW-RestClients-Trumba<1.0,>=0.3',
        'UW-RestClients-Django-Utils>=0.6.9.1,<1.0',
        'UW-RestClients-Sdbmyuw',
        'UW-HX-Toolkit==0.2.0',
        'Django-Safe-EmailBackend>=0.1,<1.0',
        'Django-SupportTools>=1.2,<2.0',
        'django_mobileesp',
        'django_client_logger',
        'yajl',
        'bleach',
    ],
    license='Apache License, Version 2.0',
    description=('MyUW is the portal of the University of Washington'),
    long_description=README,
    url=url,
    classifiers=[
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
    ],
)
<commit_msg>pushing hx version again<commit_after>import os
from setuptools import setup

README = """
See the README on `GitHub
<https://github.com/uw-it-aca/myuw>`_.
"""

# The VERSION file is created by travis-ci, based on the tag name
version_path = 'myuw/VERSION'
VERSION = open(os.path.join(os.path.dirname(__file__), version_path)).read()
VERSION = VERSION.replace("\n", "")

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

url = "https://github.com/uw-it-aca/myuw"
setup(
    name='MyUW',
    version=VERSION,
    packages=['myuw'],
    author="UW-IT AXDD",
    author_email="aca-it@uw.edu",
    include_package_data=True,
    install_requires=[
        'Django==1.10.5',
        'ordereddict',
        'simplejson',
        'django-compressor==2.2',
        'BeautifulSoup',
        'urllib3==1.10.2',
        'django-templatetag-handlebars',
        'django-userservice==1.2.1',
        'django-blti==0.6',
        'unittest2',
        'AuthZ-Group',
        'python-binary-memcached',
        'UW-RestClients-Core==0.9.1',
        'UW-RestClients-SWS<2.0,>=1.4.4',
        'UW-RestClients-PWS<1.0,>=0.6',
        'UW-RestClients-HFS<1.0',
        'UW-RestClients-GWS<1.0',
        'UW-RestClients-GradePage<1.0,>=0.1.1',
        'UW-RestClients-Libraries<1.0',
        'UW-RestClients-IASystem<1.0,>=0.1.5',
        'UW-RestClients-Canvas<1.0,>=0.6.6',
        'UW-RestClients-UPass>=0.2,<1.0',
        'UW-RestClients-UWNetID>=0.3.2,<1.0',
        'UW-RestClients-Grad<1.0',
        'UW-RestClients-Bookstore<1.0',
        'UW-RestClients-Mailman<1.0',
        'UW-RestClients-MyPlan<1.0',
        'UW-RestClients-Trumba<1.0,>=0.3',
        'UW-RestClients-Django-Utils>=0.6.9.1,<1.0',
        'UW-RestClients-Sdbmyuw',
        'UW-HX-Toolkit==0.2.1',
        'Django-Safe-EmailBackend>=0.1,<1.0',
        'Django-SupportTools>=1.2,<2.0',
        'django_mobileesp',
        'django_client_logger',
        'yajl',
        'bleach',
    ],
    license='Apache License, Version 2.0',
    description=('MyUW is the portal of the University of Washington'),
    long_description=README,
    url=url,
    classifiers=[
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
    ],
)
<|endoftext|>