<commit_before>from setuptools import setup, find_packages

version = '0.4.26'

requires = [
    'six >= 1.11.0',
    'setuptools >= 2.2',
    'eduid-userdb >= 0.4.17',
]

# Flavours
webapp_requires = [
    'Flask>=1.1,<1.2',
    'pysaml2 >= 4.9.0',  # version sync with dashboard to avoid pip catastrophes
    'redis >= 2.10.5',
    'pwgen == 0.4',
    'vccs_client >= 0.4.5',
    'PyNaCl >= 1.0.1',
    'python-etcd >= 0.4.5',
    'PyYAML >= 3.11',
    'bleach>=3.1.3',
    'marshmallow>=3.0,==3.*',
    'Flask-Mail == 0.9.1',
    'eduid_msg >= 0.10.9',
    'eduid-am >= 0.7.3',
    'statsd==3.2.1',
    'zxcvbn>=4.4.27,<5.0',
    'python-u2flib-server>=5.0.0',
    'fido2==0.6.0',
]
webapp_extras = webapp_requires + []

idp_requires = [
    'pysaml2 >= 4.9.0',
    'redis >= 2.10.5',
    'vccs_client >= 0.4.2',
    'PyNaCl >= 1.0.1',
    'PyYAML >= 3.11',
    'statsd==3.2.1',
    'bleach>=3.1.3',
    'Flask>=0.12.2,==0.12.*',
    'pwgen == 0.4',
    'python-etcd >= 0.4.5',
]
idp_extras = idp_requires + []

worker_requires = [
    'python-etcd >= 0.4.5',
    'PyNaCl >= 1.0.1',
    'PyYAML >= 3.11',
    ]
worker_extras = worker_requires + []
api_extras = worker_extras

# No dependecies flavor, let the importing application handle dependencies
nodeps_requires = requires

test_requires = [
    'mock == 1.0.1',
]
testing_extras = test_requires + webapp_extras + [
    'pytest>=5.2.0'
    'pytest-cov>=2.7.1'
]

long_description = open('README.txt').read()

setup(name='eduid-common',
      version=version,
      description="Common code for eduID applications",
      long_description=long_description,
      classifiers=[
          "Programming Language :: Python",
      ],
      keywords='',
      author='SUNET',
      author_email='',
      url='https://github.com/SUNET/',
      license='bsd',
      packages=find_packages('src'),
      package_dir={'': 'src'},
      include_package_data=True,
      zip_safe=False,
      install_requires=requires,
      tests_require=test_requires,
      extras_require={
          'testing': testing_extras,
          'webapp': webapp_extras,
          'idp': idp_extras,
          'worker': worker_extras,
          'api': api_extras,
          'nodeps': []
      },
      entry_points="""
      """,
      )
<commit_msg>bump version to 0.5.0<commit_after>from setuptools import setup, find_packages

version = '0.5.0'

requires = [
    'six >= 1.11.0',
    'setuptools >= 2.2',
    'eduid-userdb >= 0.4.17',
]

# Flavours
webapp_requires = [
    'Flask>=1.1,<1.2',
    'pysaml2 >= 4.9.0',  # version sync with dashboard to avoid pip catastrophes
    'redis >= 2.10.5',
    'pwgen == 0.4',
    'vccs_client >= 0.4.5',
    'PyNaCl >= 1.0.1',
    'python-etcd >= 0.4.5',
    'PyYAML >= 3.11',
    'bleach>=3.1.3',
    'marshmallow>=3.0,==3.*',
    'Flask-Mail == 0.9.1',
    'eduid_msg >= 0.10.9',
    'eduid-am >= 0.7.3',
    'statsd==3.2.1',
    'zxcvbn>=4.4.27,<5.0',
    'python-u2flib-server>=5.0.0',
    'fido2==0.6.0',
]
webapp_extras = webapp_requires + []

idp_requires = [
    'pysaml2 >= 4.9.0',
    'redis >= 2.10.5',
    'vccs_client >= 0.4.2',
    'PyNaCl >= 1.0.1',
    'PyYAML >= 3.11',
    'statsd==3.2.1',
    'bleach>=3.1.3',
    'Flask>=0.12.2,==0.12.*',
    'pwgen == 0.4',
    'python-etcd >= 0.4.5',
]
idp_extras = idp_requires + []

worker_requires = [
    'python-etcd >= 0.4.5',
    'PyNaCl >= 1.0.1',
    'PyYAML >= 3.11',
    ]
worker_extras = worker_requires + []
api_extras = worker_extras

# No dependecies flavor, let the importing application handle dependencies
nodeps_requires = requires

test_requires = [
    'mock == 1.0.1',
]
testing_extras = test_requires + webapp_extras + [
    'pytest>=5.2.0'
    'pytest-cov>=2.7.1'
]

long_description = open('README.txt').read()

setup(name='eduid-common',
      version=version,
      description="Common code for eduID applications",
      long_description=long_description,
      classifiers=[
          "Programming Language :: Python",
      ],
      keywords='',
      author='SUNET',
      author_email='',
      url='https://github.com/SUNET/',
      license='bsd',
      packages=find_packages('src'),
      package_dir={'': 'src'},
      include_package_data=True,
      zip_safe=False,
      install_requires=requires,
      tests_require=test_requires,
      extras_require={
          'testing': testing_extras,
          'webapp': webapp_extras,
          'idp': idp_extras,
          'worker': worker_extras,
          'api': api_extras,
          'nodeps': []
      },
      entry_points="""
      """,
      )
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

version = '0.0.5'

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

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

version = '0.0.6'

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

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


<commit_before>import os
from setuptools import setup, find_packages
import warnings

setup(
    name='cloud-compose-mongo',
    version='0.1.1',
    packages=find_packages(),
    include_package_data=True,
    install_requires=[
        'click>=6.6',
        'boto3>=1.3.1',
        'botocore>=1.4.14',
        'docutils>=0.12',
        'futures>=3.0.5',
        'Jinja2>=2.8',
        'jmespath>=0.9.0',
        'MarkupSafe>=0.23',
        'cloud-compose>=0.3.0',
        'cloud-compose-cluster>=0.13.0',
        'PyYAML>=3.11',
        'retrying>=1.3.3',
        'six>=1.10.0',
        'pymongo>=3.4.0',
        'future>=0.16.0'
    ],
    setup_requires=[
        'pytest-runner'
    ],
    tests_require=[
        'pytest',
    ],
    namespace_packages = ['cloudcompose'],
    author="Patrick Cullen and the WaPo platform tools team",
    author_email="opensource@washingtonpost.com",
    url="https://github.com/cloud-compose/cloud-compose-mongo",
    download_url = "https://github.com/cloud-compose/cloud-compose-mongo/tarball/v0.1.1",
    keywords = ['mongo', 'cloud', 'compose', 'aws'],
    classifiers = []
)
<commit_msg>Fixing the version<commit_after>import os
from setuptools import setup, find_packages
import warnings

setup(
    name='cloud-compose-mongo',
    version='0.1.2',
    packages=find_packages(),
    include_package_data=True,
    install_requires=[
        'click>=6.6',
        'boto3>=1.3.1',
        'botocore>=1.4.14',
        'docutils>=0.12',
        'futures>=3.0.5',
        'Jinja2>=2.8',
        'jmespath>=0.9.0',
        'MarkupSafe>=0.23',
        'cloud-compose>=0.3.0',
        'cloud-compose-cluster>=0.13.0',
        'PyYAML>=3.11',
        'retrying>=1.3.3',
        'six>=1.10.0',
        'pymongo>=3.4.0',
        'future>=0.16.0'
    ],
    setup_requires=[
        'pytest-runner'
    ],
    tests_require=[
        'pytest',
    ],
    namespace_packages = ['cloudcompose'],
    author="Patrick Cullen and the WaPo platform tools team",
    author_email="opensource@washingtonpost.com",
    url="https://github.com/cloud-compose/cloud-compose-mongo",
    download_url = "https://github.com/cloud-compose/cloud-compose-mongo/tarball/v0.1.1",
    keywords = ['mongo', 'cloud', 'compose', 'aws'],
    classifiers = []
)
<|endoftext|>


<commit_before>"""
	wikilink
	~~~~~~~~

	wikilink is a web-scraping application to find minimum number
	of links between two given wiki pages.

    :copyright: (c) 2016 - 2019 by Tran Ly VU. All Rights Reserved.
    :license: Apache License 2.0.
"""
from setuptools import setup, find_packages
from re import search, MULTILINE

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

with open('wikilink/__init__.py', 'r') as f:
    version = search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.read(), MULTILINE).group(1)

setup(
	name="wikilink",
	version=version,
	author="Tran Ly Vu",
	author_email="vutransingapore@gmail.com",
	maintainer="Tran Ly Vu <vutransingapore@gmail.com>",
	maintainer_email="vutransingapore@gmail.com",
	description="A web-scraping application to find the minimum number of links between 2 given wiki pages",
	long_description=long_description,
	long_description_content_type="text/markdown",
	url="https://github.com/tranlyvu/wiki-link",
	packages=find_packages(where="wikilink", exclude=["docs", "tests*"]),
	package_dir={"":"wikilink"},
	license="Apache License 2.0",
	zip_safe=False,
	platforms="any",
	classifiers=[
		"Programming Language :: Python :: 3",
		"Programming Language :: Python :: 3.6",
		"Programming Language :: Python :: 3.7",
		"License :: OSI Approved :: Apache Software License ",
		"Operating System :: POSIX",
		"Operating System :: POSIX :: BSD",
		"Operating System :: POSIX :: Linux",
		"Operating System :: Unix",
		"Development Status :: 4 - Beta",
		"Natural Language :: English",
		"Environment :: Console",
		"Intended Audience :: Education",
		"Intended Audience :: End Users/Desktop",
		"Intended Audience :: Information Technology",
		"Intended Audience :: Science/Research",
		"Topic :: Scientific/Engineering :: Artificial Intelligence",
		"Topic :: Scientific/Engineering :: Information Analysis",
		"Topic :: Education",
		"Programming Language :: Python :: Implementation :: CPython",
		"Programming Language :: Python :: Implementation :: PyPy",
		"Framework :: Pytest",
		"Framework :: Flake8"
	],
	keywords=["Web Scraping", "Artificial Intelligence", "Breadth First Search", "Graph", "Data Science", "Web Extracting", "Information Analysis"],
	project_urls={
    "Source": "https://github.com/tranlyvu/wiki-link",
    "Tracker": "https://github.com/tranlyvu/wiki-link/issues",
    "Chat: Gitter": "https://gitter.im/find-link/Lobby",
    "CI: Travis": "https://travis-ci.org/tranlyvu/wiki-link",
    "Coverage: coveralls": "https://coveralls.io/github/tranlyvu/wiki-link",
	},
	py_modules=["six"],
	install_requires=[
		"beautifulsoup4>=4.7.1",
		"requests>=2.21.0",
		"SQLAlchemy-Utils>=0.33.11",
		"mysqlclient>=1.4.2.post1"
	],
	python_requires=">=3.0, <4",
	tests_require = [
    	"pytest",
    	"python-coveralls"
    ]
)<commit_msg>Fix packages directories<commit_after>"""
	wikilink
	~~~~~~~~

	wikilink is a multiprocessing web-scraping application to scrape wiki pages and
	find minimum number of links between two given wiki pages.

    :copyright: (c) 2016 - 2019 by Tran Ly VU. All Rights Reserved.
    :license: Apache License 2.0.
"""
from setuptools import setup, find_packages
from re import search, MULTILINE

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

setup(
	name="wikilink",
	version="0.3.0",
	author="Tran Ly Vu",
	author_email="vutransingapore@gmail.com",
	maintainer="Tran Ly Vu <vutransingapore@gmail.com>",
	maintainer_email="vutransingapore@gmail.com",
	description="A multiprocessing web-scraping application to scrape wiki pages and find minimum number of links between two given wiki pages.",
	long_description=long_description,
	long_description_content_type="text/markdown",
	url="https://github.com/tranlyvu/wiki-link",
	packages=find_packages(),
	license="Apache License 2.0",
	zip_safe=False,
	include_package_data=True,
	platforms="any",
	classifiers=[
		"Programming Language :: Python :: 3",
		"Programming Language :: Python :: 3.6",
		"Programming Language :: Python :: 3.7",
		"License :: OSI Approved :: Apache Software License ",
		"Operating System :: POSIX",
		"Operating System :: POSIX :: BSD",
		"Operating System :: POSIX :: Linux",
		"Operating System :: Unix",
		"Development Status :: 4 - Beta",
		"Natural Language :: English",
		"Environment :: Console",
		"Intended Audience :: Education",
		"Intended Audience :: End Users/Desktop",
		"Intended Audience :: Information Technology",
		"Intended Audience :: Science/Research",
		"Topic :: Scientific/Engineering :: Artificial Intelligence",
		"Topic :: Scientific/Engineering :: Information Analysis",
		"Topic :: Education",
		"Programming Language :: Python :: Implementation :: CPython",
		"Programming Language :: Python :: Implementation :: PyPy",
		"Framework :: Pytest",
		"Framework :: Flake8"
	],
	keywords=["Web Scraping", "Artificial Intelligence", "Breadth First Search", "Graph", "Data Science", "Web Extracting", "Information Analysis"],
	project_urls={
    "Source": "https://github.com/tranlyvu/wiki-link",
    "Tracker": "https://github.com/tranlyvu/wiki-link/issues",
    "Chat: Gitter": "https://gitter.im/find-link/Lobby",
    "CI: Travis": "https://travis-ci.org/tranlyvu/wiki-link",
    "Coverage: coveralls": "https://coveralls.io/github/tranlyvu/wiki-link",
	},
	py_modules=["six"],
	install_requires=[
		"beautifulsoup4>=4.7.1",
		"requests>=2.21.0",
		"SQLAlchemy-Utils>=0.33.11",
		"mysqlclient>=1.4.2.post1"
	],
	python_requires=">=3.0, <4",
	tests_require = [
    	"pytest",
    	"python-coveralls"
    ]
)<|endoftext|>


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

import os
from distutils.core import setup

import pubchempy

if os.path.exists('README.rst'):
    long_description = open('README.rst').read()
else:
    long_description = '''PubChemPy is a wrapper around the PubChem PUG REST API that provides a way to interact
        with PubChem in Python. It allows chemical searches (including by name, substructure and similarity), chemical
        standardization, conversion between chemical file formats, depiction and retrieval of chemical properties.
    '''

setup(
    name='PubChemPy',
    version=pubchempy.__version__,
    author=pubchempy.__author__,
    author_email=pubchempy.__email__,
    license=pubchempy.__license__,
    url='https://github.com/mcs07/PubChemPy',
    py_modules=['pubchempy'],
    description='A simple Python wrapper around the PubChem PUG REST API.',
    long_description=long_description,
    keywords='pubchem python rest api pug',
    extras_require={'pandas': ['pandas']},
    classifiers=[
        'Intended Audience :: Science/Research',
        'Intended Audience :: Healthcare Industry',
        'Intended Audience :: Developers',
        'Topic :: Scientific/Engineering',
        'Topic :: Scientific/Engineering :: Bio-Informatics',
        'Topic :: Scientific/Engineering :: Chemistry',
        'Topic :: Database :: Front-Ends',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Topic :: Internet',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 2.7',
    ],
)
<commit_msg>Add supported python versions to classifiers<commit_after>#!/usr/bin/env python

import os
from distutils.core import setup

import pubchempy

if os.path.exists('README.rst'):
    long_description = open('README.rst').read()
else:
    long_description = '''PubChemPy is a wrapper around the PubChem PUG REST API that provides a way to interact
        with PubChem in Python. It allows chemical searches (including by name, substructure and similarity), chemical
        standardization, conversion between chemical file formats, depiction and retrieval of chemical properties.
    '''

setup(
    name='PubChemPy',
    version=pubchempy.__version__,
    author=pubchempy.__author__,
    author_email=pubchempy.__email__,
    license=pubchempy.__license__,
    url='https://github.com/mcs07/PubChemPy',
    py_modules=['pubchempy'],
    description='A simple Python wrapper around the PubChem PUG REST API.',
    long_description=long_description,
    keywords='pubchem python rest api pug',
    extras_require={'pandas': ['pandas']},
    classifiers=[
        'Intended Audience :: Science/Research',
        'Intended Audience :: Healthcare Industry',
        'Intended Audience :: Developers',
        'Topic :: Scientific/Engineering',
        'Topic :: Scientific/Engineering :: Bio-Informatics',
        'Topic :: Scientific/Engineering :: Chemistry',
        'Topic :: Database :: Front-Ends',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Topic :: Internet',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
    ],
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages
import os, fnmatch
import cms

media_files = []

for dirpath, dirnames, filenames in os.walk(os.path.join('cms', 'media')):
    for filename in filenames:
        filepath = os.path.join(dirpath, filename)
        failed = False
        for pattern in ('*.py', '*.pyc', '*~', '.*', '*.bak', '*.swp*'):
            if fnmatch.fnmatchcase(filename, pattern):
                failed = True
        if failed:
            continue
        media_files.append(os.path.join(*filepath.split(os.sep)[1:]))

if cms.VERSION[-1] == 'final':
    CLASSIFIERS = ['Development Status :: 5 - Stable']
elif 'beta' in cms.VERSION[-1]:
    CLASSIFIERS = ['Development Status :: 4 - Beta']
else:
    CLASSIFIERS = ['Development Status :: 3 - Alpha']

CLASSIFIERS += [
    'Environment :: Web Environment',
    'Framework :: Django',
    'Intended Audience :: Developers',
    'License :: OSI Approved :: BSD License',
    'Operating System :: OS Independent',
    'Programming Language :: Python',
    'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
    'Topic :: Software Development',
    'Topic :: Software Development :: Libraries :: Application Frameworks',
]

setup(
    author="Patrick Lauber",
    author_email="digi@treepy.com",
    name='django-cms-dev-placeholder',
    version='2.1.0a-dev53',
    description='An Advanced Django CMS',
    long_description=open(os.path.join(os.path.dirname(__file__), 'README.md')).read(),
    url='http://www.django-cms.org/',
    license='BSD License',
    platforms=['OS Independent'],
    classifiers=CLASSIFIERS,
    requires=[
        'django (>1.1.0)',
    ],
    packages=find_packages(exclude=["example", "example.*"]),
    package_data={
        'cms': [
            'templates/admin/*.html',
            'templates/admin/cms/mail/*.html',
            'templates/admin/cms/mail/*.txt',
            'templates/admin/cms/page/*.html',
            'templates/admin/cms/page/*/*.html',
            'templates/cms/*.html',
            'templates/cms/*/*.html',
            'plugins/*/templates/cms/plugins/*.html',
            'plugins/*/templates/cms/plugins/*/*.html',
            'plugins/*/templates/cms/plugins/*/*.js',
            'locale/*/LC_MESSAGES/*',
        ] + media_files,
        'example': [
            'media/css/*.css',
            'media/img/*.jpg',
            'templates/*.html',
            'sampleapp/media/sampleapp/img/gift.jpg',
            'sampleapp/templates/sampleapp/*.html',
        ],
        'menus': [
            'templates/menu/*.html',
        ],
    },
    zip_safe = False
)
<commit_msg>fixed setup.py<commit_after>from setuptools import setup, find_packages
import os, fnmatch
import cms

media_files = []

for dirpath, dirnames, filenames in os.walk(os.path.join('cms', 'media')):
    for filename in filenames:
        filepath = os.path.join(dirpath, filename)
        failed = False
        for pattern in ('*.py', '*.pyc', '*~', '.*', '*.bak', '*.swp*'):
            if fnmatch.fnmatchcase(filename, pattern):
                failed = True
        if failed:
            continue
        media_files.append(os.path.join(*filepath.split(os.sep)[1:]))

if cms.VERSION[-1] == 'final':
    CLASSIFIERS = ['Development Status :: 5 - Stable']
elif 'beta' in cms.VERSION[-1]:
    CLASSIFIERS = ['Development Status :: 4 - Beta']
else:
    CLASSIFIERS = ['Development Status :: 3 - Alpha']

CLASSIFIERS += [
    'Environment :: Web Environment',
    'Framework :: Django',
    'Intended Audience :: Developers',
    'License :: OSI Approved :: BSD License',
    'Operating System :: OS Independent',
    'Programming Language :: Python',
    'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
    'Topic :: Software Development',
    'Topic :: Software Development :: Libraries :: Application Frameworks',
]

setup(
    author="Patrick Lauber",
    author_email="digi@treepy.com",
    name='django-cms',
    version=cms.__version__,
    description='An Advanced Django CMS',
    long_description=open(os.path.join(os.path.dirname(__file__), 'README.md')).read(),
    url='http://www.django-cms.org/',
    license='BSD License',
    platforms=['OS Independent'],
    classifiers=CLASSIFIERS,
    requires=[
        'django (>1.1.0)',
    ],
    packages=find_packages(exclude=["example", "example.*"]),
    package_data={
        'cms': [
            'templates/admin/*.html',
            'templates/admin/cms/mail/*.html',
            'templates/admin/cms/mail/*.txt',
            'templates/admin/cms/page/*.html',
            'templates/admin/cms/page/*/*.html',
            'templates/cms/*.html',
            'templates/cms/*/*.html',
            'plugins/*/templates/cms/plugins/*.html',
            'plugins/*/templates/cms/plugins/*/*.html',
            'plugins/*/templates/cms/plugins/*/*.js',
            'locale/*/LC_MESSAGES/*',
        ] + media_files,
        'example': [
            'media/css/*.css',
            'media/img/*.jpg',
            'templates/*.html',
            'sampleapp/media/sampleapp/img/gift.jpg',
            'sampleapp/templates/sampleapp/*.html',
        ],
        'menus': [
            'templates/menu/*.html',
        ],
    },
    zip_safe = False
)
<|endoftext|>


<commit_before>from setuptools import setup

setup(
    name='calibre-access',
    version='0.23.1',
    url='',
    license='MIT',
    author='laharah',
    author_email='laharah22+ca@gmail.com',
    description='Quick and dirty log parser for calibre server',
    py_modules=['calibre_access'],
    install_requires=[
        'pygeoip >= 0.3',
        'appdirs >= 1.4.0',
        'docopt >= 0.5.0'
    ],
    entry_points={
        'console_scripts': [
            'calibre-access = calibre_access:main'
        ]
    }

)
<commit_msg>- added utillities module to setup.py - version bump<commit_after>from setuptools import setup

setup(
    name='calibre-access',
    version='1.0.1',
    url='',
    license='MIT',
    author='laharah',
    author_email='laharah22+ca@gmail.com',
    description='Quick and dirty log parser for calibre server',
    py_modules=['calibre_access', 'utilities'],
    install_requires=[
        'pygeoip >= 0.3',
        'appdirs >= 1.4.0',
        'docopt >= 0.5.0'
    ],
    entry_points={
        'console_scripts': [
            'calibre-access = calibre_access:main'
        ]
    }

)
<|endoftext|>


<commit_before>from setuptools import setup

from sys import version
if version < '2.6.0':
    raise Exception("This module doesn't support any version less than 2.6")

import sys
sys.path.append("./test")

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

classifiers = [
    'Development Status :: 4 - Beta',
    'Intended Audience :: Developers',
    'License :: OSI Approved :: BSD License',
    'Operating System :: OS Independent',
    "Programming Language :: Python",
    'Programming Language :: Python :: 2',
    'Programming Language :: Python :: 2.6',
    'Programming Language :: Python :: 2.7',
    'Topic :: Software Development :: Libraries :: Python Modules'
]

requires = ['selenium>=2.25.0']

setup(
    author='Keita Oouchi',
    author_email='keita.oouchi@gmail.com',
    url = 'https://github.com/keitaoouchi/seleniumwrapper',
    name = 'seleniumwrapper',
    version = '0.4.1',
    package_dir={"":"src"},
    packages = ['seleniumwrapper'],
    test_suite = "test_seleniumwrapper.suite",
    license='BSD License',
    classifiers=classifiers,
    description = 'selenium webdriver wrapper to make manipulation easier.',
    long_description=long_description,
    install_requires=requires,
)
<commit_msg>Require selenium>=2.28.0 for PhantomJS support.<commit_after>from setuptools import setup

from sys import version
if version < '2.6.0':
    raise Exception("This module doesn't support any version less than 2.6")

import sys
sys.path.append("./test")

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

classifiers = [
    'Development Status :: 4 - Beta',
    'Intended Audience :: Developers',
    'License :: OSI Approved :: BSD License',
    'Operating System :: OS Independent',
    "Programming Language :: Python",
    'Programming Language :: Python :: 2',
    'Programming Language :: Python :: 2.6',
    'Programming Language :: Python :: 2.7',
    'Topic :: Software Development :: Libraries :: Python Modules'
]

requires = ['selenium>=2.28.0']

setup(
    author='Keita Oouchi',
    author_email='keita.oouchi@gmail.com',
    url = 'https://github.com/keitaoouchi/seleniumwrapper',
    name = 'seleniumwrapper',
    version = '0.4.2',
    package_dir={"":"src"},
    packages = ['seleniumwrapper'],
    test_suite = "test_seleniumwrapper.suite",
    license='BSD License',
    classifiers=classifiers,
    description = 'selenium webdriver wrapper to make manipulation easier.',
    long_description=long_description,
    install_requires=requires,
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages, Extension
from Cython.Build import cythonize
import sys
import numpy
import os
import os.path as path

force = False
profile = False

if "--force" in sys.argv:
    force = True
    del sys.argv[sys.argv.index("--force")]

if "--profile" in sys.argv:
    profile = True
    del sys.argv[sys.argv.index("--profile")]

compilation_includes = [".", numpy.get_include()]
compilation_args = []  # ["-O0", "-g"]

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

# build extension list
extensions = []
for root, dirs, files in os.walk(setup_path):
    for file in files:
        if path.splitext(file)[1] == ".pyx":
            pyx_file = path.relpath(path.join(root, file), setup_path)
            module = path.splitext(pyx_file)[0].replace("/", ".")
            extensions.append(Extension(module, [pyx_file], include_dirs=compilation_includes, extra_compile_args=compilation_args),)

if profile:
    directives = {"profile": True}
else:
    directives = {}

setup(
    name="raysect",
    version="0.1.0a",
    url="http://www.raysect.org",
    author="Dr Alex Meakins",
    author_email="developers@raysect.org",
    description='A Ray-tracing Framework for Science and Engineering',
    license="BSD",
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Intended Audience :: Science/Research",
        "Intended Audience :: Education",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: BSD License",
        "Natural Language :: English",
        "Operating System :: POSIX :: Linux",
        "Programming Language :: Cython",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.3",
        "Topic :: Multimedia :: Graphics :: 3D Rendering",
        "Topic :: Scientific/Engineering :: Physics"
    ],
    packages=find_packages(),
    include_package_data=True,
    ext_modules=cythonize(extensions, force=force, compiler_directives=directives))

<commit_msg>Bumped version number due to release of v0.1.<commit_after>from setuptools import setup, find_packages, Extension
from Cython.Build import cythonize
import sys
import numpy
import os
import os.path as path

force = False
profile = False

if "--force" in sys.argv:
    force = True
    del sys.argv[sys.argv.index("--force")]

if "--profile" in sys.argv:
    profile = True
    del sys.argv[sys.argv.index("--profile")]

compilation_includes = [".", numpy.get_include()]
compilation_args = []  # ["-O0", "-g"]

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

# build extension list
extensions = []
for root, dirs, files in os.walk(setup_path):
    for file in files:
        if path.splitext(file)[1] == ".pyx":
            pyx_file = path.relpath(path.join(root, file), setup_path)
            module = path.splitext(pyx_file)[0].replace("/", ".")
            extensions.append(Extension(module, [pyx_file], include_dirs=compilation_includes, extra_compile_args=compilation_args),)

if profile:
    directives = {"profile": True}
else:
    directives = {}

setup(
    name="raysect",
    version="0.2.0",
    url="http://www.raysect.org",
    author="Dr Alex Meakins",
    author_email="developers@raysect.org",
    description='A Ray-tracing Framework for Science and Engineering',
    license="BSD",
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Intended Audience :: Science/Research",
        "Intended Audience :: Education",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: BSD License",
        "Natural Language :: English",
        "Operating System :: POSIX :: Linux",
        "Programming Language :: Cython",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.3",
        "Topic :: Multimedia :: Graphics :: 3D Rendering",
        "Topic :: Scientific/Engineering :: Physics"
    ],
    packages=find_packages(),
    include_package_data=True,
    ext_modules=cythonize(extensions, force=force, compiler_directives=directives))

<|endoftext|>


<commit_before>from distutils.core import setup

setup(
    name='project_runpy',
    version='0.1-dev.0',
    author='Chris Chang',
    author_email='c@crccheck.com',
    url='https://github.com/crccheck/project_runpy',
    packages=['project_runpy', ],
    license='Apache License, Version 2.0',
    description='Helper utilities for Python projects',
    long_description=open('README.rst').read(),
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: Apache Software License",
    ],
)
<commit_msg>bump to version 0.1.0<commit_after>from distutils.core import setup

setup(
    name='project_runpy',
    version='0.1.0',
    author='Chris Chang',
    author_email='c@crccheck.com',
    url='https://github.com/crccheck/project_runpy',
    packages=['project_runpy', ],
    license='Apache License, Version 2.0',
    description='Helper utilities for Python projects',
    long_description=open('README.rst').read(),
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: Apache Software License",
    ],
)
<|endoftext|>


<commit_before>#
# Copyright (c) SAS Institute 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, find_packages
from setuptools.command.test import test as TestCommand
import imp
import os
import sys

class PyTest(TestCommand):
    user_options = [("pytest-args=", "a", "Arguments to pass to py.test")]

    def initialize_options(self):
        TestCommand.initialize_options(self)
        self.pytest_args = []

    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 pytest
        errno = pytest.main(self.pytest_args)
        sys.exit(errno)

def read_file(filename):
    """Read  file into a string"""
    path = os.path.abspath(os.path.dirname(__file__))
    filepath = os.path.join(path, filename)
    with open(filepath) as fh:
        return fh.read()

setup(
    name="pymaven",
    version=imp.load_source("pymaven.constants",
                            "pymaven/constants.py").get_version(),
    description="Python access to maven",
    author="Walter Scheper",
    author_email="Walter.Scheper@sas.com",
    license="Apache License 2.0",
    packages=find_packages(),
    install_requires=read_file("requirements.txt"),
    tests_require=["pytest", "mock"],
    cmdclass={"test": PyTest},
)
<commit_msg>Remove tests from packages installed by setuptools<commit_after>#
# Copyright (c) SAS Institute 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, find_packages
from setuptools.command.test import test as TestCommand
import imp
import os
import sys

class PyTest(TestCommand):
    user_options = [("pytest-args=", "a", "Arguments to pass to py.test")]

    def initialize_options(self):
        TestCommand.initialize_options(self)
        self.pytest_args = []

    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 pytest
        errno = pytest.main(self.pytest_args)
        sys.exit(errno)

def read_file(filename):
    """Read  file into a string"""
    path = os.path.abspath(os.path.dirname(__file__))
    filepath = os.path.join(path, filename)
    with open(filepath) as fh:
        return fh.read()

setup(
    name="pymaven",
    version=imp.load_source("pymaven.constants",
                            "pymaven/constants.py").get_version(),
    description="Python access to maven",
    author="Walter Scheper",
    author_email="Walter.Scheper@sas.com",
    license="Apache License 2.0",
    packages=find_packages(exclude=["tests", "tests.*"]),
    install_requires=read_file("requirements.txt"),
    tests_require=["pytest", "mock"],
    cmdclass={"test": PyTest},
)
<|endoftext|>


<commit_before>from distutils.core import setup, Command
from distutils.command.build import build as BuildCommand
import sys
import os
import pyvx.nodes
import pyvx.capi
from pyvx import __version__

mydir = os.path.dirname(os.path.abspath(__file__))
libs = []

class MyBuild(BuildCommand):
    def run(self):
        if not os.path.exists('build'):
            os.mkdir('build')
        libs.extend(pyvx.capi.build('build'))
        BuildCommand.run(self)

class PyTest(Command):
    user_options = []
    def initialize_options(self):
        pass
    def finalize_options(self):
        pass
    def run(self):
        import pytest
        errno = pytest.main()
        sys.exit(errno)

ext_modules = [n.ffi.verifier.get_extension()
               for n in [pyvx.nodes.PlayNode, pyvx.nodes.ShowNode]
               if n.lib]

setup(
        name='PyVX',
        description='OpenVX implementation',
        long_description=open(os.path.join(mydir, 'README.rst')).read(),
        version=__version__,
        packages=['pyvx'],
        package_data={'pyvx': ['glview.h', 'vlcplay.h', 'glview.c', 'vlcplay.c']},
        zip_safe=False,
        url='http://pyvx.readthedocs.org',
        author='Hakan Ardo',
        author_email='pyvx@googlegroups.com',
        license='MIT',
        install_requires=['pycparser','cffi'],
        ext_modules=ext_modules,
        data_files = [('/usr/local/include', [os.path.join('build', 'openvx.h')]),
                      ('/usr/local/lib', libs)],
        cmdclass={'build': MyBuild, 'test': PyTest},
        tests_require=['pytest'],
    )

if pyvx.nodes.PlayNode.lib is None:
    print
    print "Warning: PlayNode not availible due to mssing dependencies. Try:"
    print
    print "    apt-get install vlc libvlc-dev"
    print

if pyvx.nodes.ShowNode.lib is None:
    print
    print "Warning: ShowNode not availible due to mssing dependencies. Try:"
    print
    print "    apt-get install freeglut3-dev"
    print
<commit_msg>install official headers<commit_after>from distutils.core import setup, Command
from distutils.command.build import build as BuildCommand
import sys
import os
import pyvx.nodes
import pyvx.capi
from pyvx import __version__

mydir = os.path.dirname(os.path.abspath(__file__))
libs = []

class MyBuild(BuildCommand):
    def run(self):
        if not os.path.exists('build'):
            os.mkdir('build')
        libs.extend(pyvx.capi.build('build'))
        BuildCommand.run(self)

class PyTest(Command):
    user_options = []
    def initialize_options(self):
        pass
    def finalize_options(self):
        pass
    def run(self):
        import pytest
        errno = pytest.main()
        sys.exit(errno)

ext_modules = [n.ffi.verifier.get_extension()
               for n in [pyvx.nodes.PlayNode, pyvx.nodes.ShowNode]
               if n.lib]

setup(
        name='PyVX',
        description='OpenVX implementation',
        long_description=open(os.path.join(mydir, 'README.rst')).read(),
        version=__version__,
        packages=['pyvx'],
        package_data={'pyvx': ['glview.h', 'vlcplay.h', 'glview.c', 'vlcplay.c']},
        zip_safe=False,
        url='http://pyvx.readthedocs.org',
        author='Hakan Ardo',
        author_email='pyvx@googlegroups.com',
        license='MIT',
        install_requires=['pycparser','cffi'],
        ext_modules=ext_modules,
        data_files = [('/usr/local/include/VX', ['headers/VX/vx_api.h',
                                                 'headers/VX/vx.h',
                                                 'headers/VX/vx_kernels.h',
                                                 'headers/VX/vx_nodes.h',
                                                 'headers/VX/vx_types.h',
                                                 'headers/VX/vxu.h',
                                                 'headers/VX/vx_vendors.h']),
                      ('/usr/local/lib', libs)],
        cmdclass={'build': MyBuild, 'test': PyTest},
        tests_require=['pytest'],
    )

if pyvx.nodes.PlayNode.lib is None:
    print
    print "Warning: PlayNode not availible due to mssing dependencies. Try:"
    print
    print "    apt-get install vlc libvlc-dev"
    print

if pyvx.nodes.ShowNode.lib is None:
    print
    print "Warning: ShowNode not availible due to mssing dependencies. Try:"
    print
    print "    apt-get install freeglut3-dev"
    print
<|endoftext|>


<commit_before>#!/usr/bin/env python
from __future__ import print_function
from __future__ import unicode_literals

from setuptools import setup
from pip.req import parse_requirements
from pip.download import PipSession
import sys

description = ("This library provides a simple to use Python API for parsing, "
               "formatting, and normalizing variant names specified in the "
               "standard recommended by the Human Genome Variation Society "
               "(HGVS).")

def main():
    python_version = sys.version_info
    if python_version < (2, 6):
        print(("This library requires Python version >=2.6, "
               "You have version %d.%d" % python_version[:2]))
        sys.exit(1)

    setup(
        name='pyhgvs',
        version='0.9.7',
        description='HGVS name parsing and formatting',
        long_description=description,
        author='Matt Rasmussen',
        author_email='rasmus@counsyl.com',
        packages=['pyhgvs', 'pyhgvs.tests'],
        include_package_data=True,
        scripts=[],
        install_requires=['pip>=1.2'],
        tests_require=[str(line.req) for line in
                       parse_requirements('requirements-dev.txt',
                                          session=PipSession())],
    )

if __name__ == '__main__':
    main()
<commit_msg>Bump version<commit_after>#!/usr/bin/env python
from __future__ import print_function
from __future__ import unicode_literals

from setuptools import setup
from pip.req import parse_requirements
from pip.download import PipSession
import sys

description = ("This library provides a simple to use Python API for parsing, "
               "formatting, and normalizing variant names specified in the "
               "standard recommended by the Human Genome Variation Society "
               "(HGVS).")

def main():
    python_version = sys.version_info
    if python_version < (2, 6):
        print(("This library requires Python version >=2.6, "
               "You have version %d.%d" % python_version[:2]))
        sys.exit(1)

    setup(
        name='pyhgvs',
        version='0.9.8',
        description='HGVS name parsing and formatting',
        long_description=description,
        author='Matt Rasmussen',
        author_email='rasmus@counsyl.com',
        packages=['pyhgvs', 'pyhgvs.tests'],
        include_package_data=True,
        scripts=[],
        install_requires=['pip>=1.2'],
        tests_require=[str(line.req) for line in
                       parse_requirements('requirements-dev.txt',
                                          session=PipSession())],
    )

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


<commit_before>from setuptools import setup

setup(
    name='Toopher',
    version='1.0.1',
    author='Toopher, Inc.',
    author_email='support@toopher.com',
    url='https://dev.toopher.com',
    description='Wrapper library for the Toopher authentication API',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Security',
        'Topic :: Software Development :: Libraries :: Python Modules',
        ],
    packages=['toopher',],
    test_suite='tests',
    install_requires=[
        'oauth2',
        ]
)
<commit_msg>Bump version number to toopher-python 1.0.2<commit_after>from setuptools import setup

setup(
    name='Toopher',
    version='1.0.2',
    author='Toopher, Inc.',
    author_email='support@toopher.com',
    url='https://dev.toopher.com',
    description='Wrapper library for the Toopher authentication API',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Security',
        'Topic :: Software Development :: Libraries :: Python Modules',
        ],
    packages=['toopher',],
    test_suite='tests',
    install_requires=[
        'oauth2',
        ]
)
<|endoftext|>


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

"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""

from setuptools import setup, find_packages
#from codecs import open
#from os import path

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

#with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
 #   long_description = f.read()

setup(
    name='graphistry',

    version='0.0.13',
    py_modules = ['graphistry.etl'],
    description = 'Visualize node-link graphs using Graphistry\'s cloud',
    #long_description=long_description,

    url='https://github.com/graphistry/pygraphistry',

    author='Graphistry',
    author_email='pygraphistry@graphistry.com',

    install_requires=['requests'],

    license='BSD',

    classifiers=[
        'Development Status :: 3 - Alpha',
        'License :: OSI Approved :: BSD License',

        'Topic :: Scientific/Engineering :: Visualization',

        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
    ],

    keywords='graph plot visualization pandas',

    packages=find_packages(exclude=['contrib', 'tests*'])
)
<commit_msg>Version bump for new api key system and changed param order<commit_after>#!/usr/bin/env python

"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""

from setuptools import setup, find_packages
#from codecs import open
#from os import path

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

#with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
 #   long_description = f.read()

setup(
    name='graphistry',

    version='0.0.20',
    py_modules = ['graphistry.etl'],
    description = 'Visualize node-link graphs using Graphistry\'s cloud',
    #long_description=long_description,

    url='https://github.com/graphistry/pygraphistry',

    author='Graphistry',
    author_email='pygraphistry@graphistry.com',

    install_requires=['requests'],

    license='BSD',

    classifiers=[
        'Development Status :: 3 - Alpha',
        'License :: OSI Approved :: BSD License',

        'Topic :: Scientific/Engineering :: Visualization',

        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
    ],

    keywords='graph plot visualization pandas',

    packages=find_packages(exclude=['contrib', 'tests*'])
)
<|endoftext|>


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

###
# Copyright (c) 2002-2005, Jeremiah Fincher
# Copyright (c) 2009, James Vega
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
#   * Redistributions of source code must retain the above copyright notice,
#     this list of conditions, and the following disclaimer.
#   * Redistributions in binary form must reproduce the above copyright notice,
#     this list of conditions, and the following disclaimer in the
#     documentation and/or other materials provided with the distribution.
#   * Neither the name of the author of this software nor the name of
#     contributors to this software may be used to endorse or promote products
#     derived from this software without specific prior written consent.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
###

import sys
import tempfile
import subprocess

debug = '--debug' in sys.argv

path = os.path.dirname(__file__)
if debug:
    print('DEBUG: Changing dir from %r to %r' % (os.getcwd(), path))
if path:
    os.chdir(path)

version = None
try:
    proc = subprocess.Popen('git show HEAD --format=%ci', shell=True,
            stdout=subprocess.PIPE)
    version = proc.stdout.readline() \
            .strip() \
            .replace(' +', '+') \
            .replace(' ', 'T')
except:
    pass
if not version:
    from time import gmtime, strftime
    version = 'installed on ' + strftime("%Y-%m-%dT%H:%M:%S+0000", gmtime())
try:
    os.unlink(os.path.join('src', 'version.py'))
except OSError: # Does not exist
    pass
open(os.path.join('src', 'version.py'), 'a').write(
        "version = '0.83.4.1+limnoria %s'\n" % version)

from src.version import version

if sys.version_info < (2, 6, 0):
    sys.stderr.write("Supybot requires Python 2.6 or newer.")
    sys.stderr.write(os.linesep)
    sys.exit(-1)
elif sys.version_info[0] >= 3:
    if os.path.split(os.path.abspath(os.path.dirname(__file__)))[-1] == 'py3k':
        if debug:
            print('DEBUG: Running setup.py with Python 3: second stage.')
        while '--debug' in sys.argv:
            sys.argv.remove('--debug')
    else:
        if debug:
            print('DEBUG: Running setup.py with Python 3: first stage.')
        print('Converting code from Python 2 to Python 3. This make take a '
                'few minutes.')
        # For some reason, using open(os.devnull) makes the subprocess exit before
        # it finishes...
        if debug:
            subprocess.Popen([sys.executable,
                os.path.join('2to3', 'run.py')]).wait()
        else:
            subprocess.Popen([sys.executable, os.path.join('2to3', 'run.py')],
                    stdout=tempfile.TemporaryFile(),
                    stderr=tempfile.TemporaryFile()).wait()
        if debug:
            print('DEBUG: Changing dir to py3k/')
        os.chdir('py3k')
        if debug:
            print('DEBUG: Running %r' % ([sys.executable] + sys.argv))
        subprocess.Popen([sys.executable] + sys.argv).wait()
        exit()
else:
    while '--debug' in sys.argv:
        sys.argv.remove('--debug')

import textwrap

clean = False
while '--clean' in sys.argv:
    clean = True
    sys.argv.remove('--clean')

import glob
import shutil
import os

plugins = [s for s in os.listdir('plugins') if
           os.path.exists(os.path.join('plugins', s, 'plugin.py'))]

def normalizeWhitespace(s):
    return ' '.join(s.split())

try:
    from distutils.core import setup
    from distutils.sysconfig import get_python_lib
except ImportError as e:
    s = normalizeWhitespace("""Supybot requires the distutils package to
    install. This package is normally included with Python, but for some
    unfathomable reason, many distributions to take it out of standard Python
    and put it in another package, usually caled 'python-dev' or python-devel'
    or something similar. This is one of the dumbest things a distribution can
    do, because it means that developers cannot rely on *STANDARD* Python
    modules to be present on systems of that distribution. Complain to your
    distribution, and loudly. If you how much of our time we've wasted telling
    people to install what should be included by default with Python you'd
    understand why we're unhappy about this.  Anyway, to reiterate, install the
    development package for Python that your distribution supplies.""")
    sys.stderr.write(os.linesep*2)
    sys.stderr.write(textwrap.fill(s))
    sys.stderr.write(os.linesep*2)
    sys.exit(-1)

if clean:
    previousInstall = os.path.join(get_python_lib(), 'supybot')
    if os.path.exists(previousInstall):
        try:
            print('Removing current installation.')
            shutil.rmtree(previousInstall)
        except Exception as e:
            print('Couldn\'t remove former installation: %s' % e)
            sys.exit(-1)

packages = ['supybot',
            'supybot.locale',
            'supybot.utils',
            'supybot.drivers',
            'supybot.plugins',] + \
            ['supybot.plugins.'+s for s in plugins] + \
            [
             'supybot.plugins.Dict.local',
             'supybot.plugins.Math.local',
             'supybot.plugins.Google.local',
             'supybot.plugins.Google.local.simplejson',
             'supybot.plugins.RSS.local',
             'supybot.plugins.Time.local',
             'supybot.plugins.Time.local.dateutil',
            ]

package_dir = {'supybot': 'src',
               'supybot.utils': 'src/utils',
               'supybot.plugins': 'plugins',
               'supybot.drivers': 'src/drivers',
               'supybot.locale': 'locale',
               'supybot.plugins.Google.local': 'plugins/Google/local',
               'supybot.plugins.Google.local.simplejson':
               'plugins/Google/local/simplejson',
               'supybot.plugins.Dict.local': 'plugins/Dict/local',
               'supybot.plugins.Math.local': 'plugins/Math/local',
               'supybot.plugins.RSS.local': 'plugins/RSS/local',
               'supybot.plugins.Time.local': 'plugins/Time/local',
               'supybot.plugins.Time.local.dateutil':
               'plugins/Time/local/dateutil',
              }

package_data = {'supybot.locale': [s for s in os.listdir('locale/')]}

for plugin in plugins:
    package_dir['supybot.plugins.' + plugin] = 'plugins/' + plugin
    locale_path = 'plugins/' + plugin + '/locale/'
    locale_name = 'supybot.plugins.'+plugin
    if os.path.exists(locale_path):
        package_data.update({locale_name: ['locale/'+s for s in os.listdir(locale_path)]})

setup(
    # Metadata
    name='supybot',
    version=version,
    author='Jeremy Fincher',
    url='http://sourceforge.net/projects/supybot/',
    author_email='jemfinch@supybot.com',
    download_url='http://www.sf.net/project/showfiles.php?group_id=58965',
    description='A flexible and extensible Python IRC bot and framework.',
    long_description=normalizeWhitespace("""A robust, full-featured Python IRC
    bot with a clean and flexible plugin API.  Equipped with a complete ACL
    system for specifying user permissions with as much as per-command
    granularity.  Batteries are included in the form of numerous plugins
    already written."""),
    classifiers = [
        'Development Status :: 4 - Beta',
        'Environment :: Console',
        'Environment :: No Input/Output (Daemon)',
        'Intended Audience :: End Users/Desktop',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Topic :: Communications :: Chat :: Internet Relay Chat',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Operating System :: POSIX',
        'Operating System :: Microsoft :: Windows',
        'Programming Language :: Python',
        ],

    # Installation data
    packages=packages,

    package_dir=package_dir,

    package_data=package_data,

    scripts=['scripts/supybot',
             'scripts/supybot-test',
             'scripts/supybot-botchk',
             'scripts/supybot-wizard',
             'scripts/supybot-adduser',
             'scripts/supybot-plugin-doc',
             'scripts/supybot-plugin-create',
             ]
    )

# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79:
<commit_msg>Fix typo.<commit_after>#!/usr/bin/env python

###
# Copyright (c) 2002-2005, Jeremiah Fincher
# Copyright (c) 2009, James Vega
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
#   * Redistributions of source code must retain the above copyright notice,
#     this list of conditions, and the following disclaimer.
#   * Redistributions in binary form must reproduce the above copyright notice,
#     this list of conditions, and the following disclaimer in the
#     documentation and/or other materials provided with the distribution.
#   * Neither the name of the author of this software nor the name of
#     contributors to this software may be used to endorse or promote products
#     derived from this software without specific prior written consent.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
###

import sys
import tempfile
import subprocess

debug = '--debug' in sys.argv

path = os.path.dirname(__file__)
if debug:
    print('DEBUG: Changing dir from %r to %r' % (os.getcwd(), path))
if path:
    os.chdir(path)

version = None
try:
    proc = subprocess.Popen('git show HEAD --format=%ci', shell=True,
            stdout=subprocess.PIPE)
    version = proc.stdout.readline() \
            .strip() \
            .replace(' +', '+') \
            .replace(' ', 'T')
except:
    pass
if not version:
    from time import gmtime, strftime
    version = 'installed on ' + strftime("%Y-%m-%dT%H:%M:%S+0000", gmtime())
try:
    os.unlink(os.path.join('src', 'version.py'))
except OSError: # Does not exist
    pass
open(os.path.join('src', 'version.py'), 'a').write(
        "version = '0.83.4.1+limnoria %s'\n" % version)

from src.version import version

if sys.version_info < (2, 6, 0):
    sys.stderr.write("Supybot requires Python 2.6 or newer.")
    sys.stderr.write(os.linesep)
    sys.exit(-1)
elif sys.version_info[0] >= 3:
    if os.path.split(os.path.abspath(os.path.dirname(__file__)))[-1] == 'py3k':
        if debug:
            print('DEBUG: Running setup.py with Python 3: second stage.')
        while '--debug' in sys.argv:
            sys.argv.remove('--debug')
    else:
        if debug:
            print('DEBUG: Running setup.py with Python 3: first stage.')
        print('Converting code from Python 2 to Python 3. This may take a '
                'few minutes.')
        # For some reason, using open(os.devnull) makes the subprocess exit before
        # it finishes...
        if debug:
            subprocess.Popen([sys.executable,
                os.path.join('2to3', 'run.py')]).wait()
        else:
            subprocess.Popen([sys.executable, os.path.join('2to3', 'run.py')],
                    stdout=tempfile.TemporaryFile(),
                    stderr=tempfile.TemporaryFile()).wait()
        if debug:
            print('DEBUG: Changing dir to py3k/')
        os.chdir('py3k')
        if debug:
            print('DEBUG: Running %r' % ([sys.executable] + sys.argv))
        subprocess.Popen([sys.executable] + sys.argv).wait()
        exit()
else:
    while '--debug' in sys.argv:
        sys.argv.remove('--debug')

import textwrap

clean = False
while '--clean' in sys.argv:
    clean = True
    sys.argv.remove('--clean')

import glob
import shutil
import os

plugins = [s for s in os.listdir('plugins') if
           os.path.exists(os.path.join('plugins', s, 'plugin.py'))]

def normalizeWhitespace(s):
    return ' '.join(s.split())

try:
    from distutils.core import setup
    from distutils.sysconfig import get_python_lib
except ImportError as e:
    s = normalizeWhitespace("""Supybot requires the distutils package to
    install. This package is normally included with Python, but for some
    unfathomable reason, many distributions to take it out of standard Python
    and put it in another package, usually caled 'python-dev' or python-devel'
    or something similar. This is one of the dumbest things a distribution can
    do, because it means that developers cannot rely on *STANDARD* Python
    modules to be present on systems of that distribution. Complain to your
    distribution, and loudly. If you how much of our time we've wasted telling
    people to install what should be included by default with Python you'd
    understand why we're unhappy about this.  Anyway, to reiterate, install the
    development package for Python that your distribution supplies.""")
    sys.stderr.write(os.linesep*2)
    sys.stderr.write(textwrap.fill(s))
    sys.stderr.write(os.linesep*2)
    sys.exit(-1)

if clean:
    previousInstall = os.path.join(get_python_lib(), 'supybot')
    if os.path.exists(previousInstall):
        try:
            print('Removing current installation.')
            shutil.rmtree(previousInstall)
        except Exception as e:
            print('Couldn\'t remove former installation: %s' % e)
            sys.exit(-1)

packages = ['supybot',
            'supybot.locale',
            'supybot.utils',
            'supybot.drivers',
            'supybot.plugins',] + \
            ['supybot.plugins.'+s for s in plugins] + \
            [
             'supybot.plugins.Dict.local',
             'supybot.plugins.Math.local',
             'supybot.plugins.Google.local',
             'supybot.plugins.Google.local.simplejson',
             'supybot.plugins.RSS.local',
             'supybot.plugins.Time.local',
             'supybot.plugins.Time.local.dateutil',
            ]

package_dir = {'supybot': 'src',
               'supybot.utils': 'src/utils',
               'supybot.plugins': 'plugins',
               'supybot.drivers': 'src/drivers',
               'supybot.locale': 'locale',
               'supybot.plugins.Google.local': 'plugins/Google/local',
               'supybot.plugins.Google.local.simplejson':
               'plugins/Google/local/simplejson',
               'supybot.plugins.Dict.local': 'plugins/Dict/local',
               'supybot.plugins.Math.local': 'plugins/Math/local',
               'supybot.plugins.RSS.local': 'plugins/RSS/local',
               'supybot.plugins.Time.local': 'plugins/Time/local',
               'supybot.plugins.Time.local.dateutil':
               'plugins/Time/local/dateutil',
              }

package_data = {'supybot.locale': [s for s in os.listdir('locale/')]}

for plugin in plugins:
    package_dir['supybot.plugins.' + plugin] = 'plugins/' + plugin
    locale_path = 'plugins/' + plugin + '/locale/'
    locale_name = 'supybot.plugins.'+plugin
    if os.path.exists(locale_path):
        package_data.update({locale_name: ['locale/'+s for s in os.listdir(locale_path)]})

setup(
    # Metadata
    name='supybot',
    version=version,
    author='Jeremy Fincher',
    url='http://sourceforge.net/projects/supybot/',
    author_email='jemfinch@supybot.com',
    download_url='http://www.sf.net/project/showfiles.php?group_id=58965',
    description='A flexible and extensible Python IRC bot and framework.',
    long_description=normalizeWhitespace("""A robust, full-featured Python IRC
    bot with a clean and flexible plugin API.  Equipped with a complete ACL
    system for specifying user permissions with as much as per-command
    granularity.  Batteries are included in the form of numerous plugins
    already written."""),
    classifiers = [
        'Development Status :: 4 - Beta',
        'Environment :: Console',
        'Environment :: No Input/Output (Daemon)',
        'Intended Audience :: End Users/Desktop',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Topic :: Communications :: Chat :: Internet Relay Chat',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Operating System :: POSIX',
        'Operating System :: Microsoft :: Windows',
        'Programming Language :: Python',
        ],

    # Installation data
    packages=packages,

    package_dir=package_dir,

    package_data=package_data,

    scripts=['scripts/supybot',
             'scripts/supybot-test',
             'scripts/supybot-botchk',
             'scripts/supybot-wizard',
             'scripts/supybot-adduser',
             'scripts/supybot-plugin-doc',
             'scripts/supybot-plugin-create',
             ]
    )

# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79:
<|endoftext|>


<commit_before>__version__ = '2.4.1'

import io
import os
import sys

from setuptools import setup, find_packages

here = os.path.abspath(os.path.dirname(__file__))
with io.open(os.path.join(here, 'README.rst'), encoding='utf8') as f:
    README = f.read()
with io.open(os.path.join(here, 'CHANGELOG.rst'), encoding='utf8') as f:
    CHANGES = f.read()
PY3 = sys.version_info[0] == 3

extra_options = {
    "packages": find_packages(),
    }

extras_require = {
    'middleware': [
        'webob',
    ]
}
extras_require['docs'] = ['Sphinx', *extras_require['middleware']]

if PY3:
    if "test" in sys.argv or "develop" in sys.argv:
        for root, directories, files in os.walk("tests"):
            for directory in directories:
                extra_options["packages"].append(os.path.join(root, directory))

setup(name="Routes",
      version=__version__,
      description='Routing Recognition and Generation Tools',
      long_description=README + '\n\n' + CHANGES,
      classifiers=["Development Status :: 5 - Production/Stable",
                   "Intended Audience :: Developers",
                   "License :: OSI Approved :: MIT License",
                   "Topic :: Internet :: WWW/HTTP",
                   "Topic :: Software Development :: Libraries :: Python Modules",
                   "Programming Language :: Python :: Implementation :: PyPy",
                   "Programming Language :: Python :: Implementation :: CPython",
                   'Programming Language :: Python',
                   "Programming Language :: Python :: 2",
                   "Programming Language :: Python :: 2.6",
                   "Programming Language :: Python :: 2.7",
                   "Programming Language :: Python :: 3",
                   "Programming Language :: Python :: 3.2",
                   "Programming Language :: Python :: 3.3",
                   "Programming Language :: Python :: 3.4",
                   "Programming Language :: Python :: 3.5",
                   "Programming Language :: Python :: 3.6"
                   ],
      keywords='routes webob dispatch',
      author="Ben Bangert",
      author_email="ben@groovie.org",
      url='https://routes.readthedocs.io/',
      license="MIT",
      test_suite="nose.collector",
      include_package_data=True,
      zip_safe=False,
      tests_require=['nose', 'webtest', 'webob', 'coverage'],
      install_requires=[
          "six",
          "repoze.lru>=0.3"
      ],
      extras_require=extras_require,
      **extra_options
)
<commit_msg>Change spread to list concatenation in setup.py<commit_after>__version__ = '2.4.1'

import io
import os
import sys

from setuptools import setup, find_packages

here = os.path.abspath(os.path.dirname(__file__))
with io.open(os.path.join(here, 'README.rst'), encoding='utf8') as f:
    README = f.read()
with io.open(os.path.join(here, 'CHANGELOG.rst'), encoding='utf8') as f:
    CHANGES = f.read()
PY3 = sys.version_info[0] == 3

extra_options = {
    "packages": find_packages(),
    }

extras_require = {
    'middleware': [
        'webob',
    ]
}
extras_require['docs'] = ['Sphinx'] + extras_require['middleware']

if PY3:
    if "test" in sys.argv or "develop" in sys.argv:
        for root, directories, files in os.walk("tests"):
            for directory in directories:
                extra_options["packages"].append(os.path.join(root, directory))

setup(name="Routes",
      version=__version__,
      description='Routing Recognition and Generation Tools',
      long_description=README + '\n\n' + CHANGES,
      classifiers=["Development Status :: 5 - Production/Stable",
                   "Intended Audience :: Developers",
                   "License :: OSI Approved :: MIT License",
                   "Topic :: Internet :: WWW/HTTP",
                   "Topic :: Software Development :: Libraries :: Python Modules",
                   "Programming Language :: Python :: Implementation :: PyPy",
                   "Programming Language :: Python :: Implementation :: CPython",
                   'Programming Language :: Python',
                   "Programming Language :: Python :: 2",
                   "Programming Language :: Python :: 2.6",
                   "Programming Language :: Python :: 2.7",
                   "Programming Language :: Python :: 3",
                   "Programming Language :: Python :: 3.2",
                   "Programming Language :: Python :: 3.3",
                   "Programming Language :: Python :: 3.4",
                   "Programming Language :: Python :: 3.5",
                   "Programming Language :: Python :: 3.6"
                   ],
      keywords='routes webob dispatch',
      author="Ben Bangert",
      author_email="ben@groovie.org",
      url='https://routes.readthedocs.io/',
      license="MIT",
      test_suite="nose.collector",
      include_package_data=True,
      zip_safe=False,
      tests_require=['nose', 'webtest', 'webob', 'coverage'],
      install_requires=[
          "six",
          "repoze.lru>=0.3"
      ],
      extras_require=extras_require,
      **extra_options
)
<|endoftext|>


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

"""Setup script for Google API Python client.

Also installs included versions of third party libraries, if those libraries
are not already installed.
"""
from __future__ import print_function

import sys

if sys.version_info < (2, 6):
  print('google-api-python-client requires python version >= 2.6.',
        file=sys.stderr)
  sys.exit(1)

from setuptools import setup

packages = [
    'apiclient',
    'googleapiclient',
]

install_requires = [
    'httplib2>=0.8',
    'oauth2client>=1.3',
    'uritemplate>=0.6',
]

if sys.version_info < (2, 7):
  install_requires.append('argparse')

long_desc = """The Google API Client for Python is a client library for
accessing the Plus, Moderator, and many other Google APIs."""

import googleapiclient
version = googleapiclient.__version__

setup(
    name="google-api-python-client",
    version=version,
    description="Google API Client Library for Python",
    long_description=long_desc,
    author="Google Inc.",
    url="http://github.com/google/google-api-python-client/",
    install_requires=install_requires,
    packages=packages,
    package_data={},
    license="Apache 2.0",
    keywords="google api client",
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: POSIX',
        'Topic :: Internet :: WWW/HTTP',
    ],
)
<commit_msg>Add detection for old apiclient versions in setup.py.<commit_after># Copyright 2014 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""Setup script for Google API Python client.

Also installs included versions of third party libraries, if those libraries
are not already installed.
"""
from __future__ import print_function

import sys

if sys.version_info < (2, 6):
  print('google-api-python-client requires python version >= 2.6.',
        file=sys.stderr)
  sys.exit(1)

from setuptools import setup
import pkg_resources

def _DetectBadness():
  import os
  if 'SKIP_GOOGLEAPICLIENT_COMPAT_CHECK' in os.environ:
    return
  o2c_pkg = None
  try:
    o2c_pkg = pkg_resources.get_distribution('oauth2client')
  except pkg_resources.DistributionNotFound:
    pass
  oauth2client = None
  try:
    import oauth2client
  except ImportError:
    pass
  if o2c_pkg is None and oauth2client is not None:
    raise RuntimeError(
        'Previous version of google-api-python-client detected; due to a '
        'packaging issue, we cannot perform an in-place upgrade. Please remove '
        'the old version and re-install this package.'
    )

_DetectBadness()

packages = [
    'apiclient',
    'googleapiclient',
]

install_requires = [
    'httplib2>=0.8',
    'oauth2client>=1.3',
    'uritemplate>=0.6',
]

if sys.version_info < (2, 7):
  install_requires.append('argparse')

long_desc = """The Google API Client for Python is a client library for
accessing the Plus, Moderator, and many other Google APIs."""

import googleapiclient
version = googleapiclient.__version__

setup(
    name="google-api-python-client",
    version=version,
    description="Google API Client Library for Python",
    long_description=long_desc,
    author="Google Inc.",
    url="http://github.com/google/google-api-python-client/",
    install_requires=install_requires,
    packages=packages,
    package_data={},
    license="Apache 2.0",
    keywords="google api client",
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: POSIX',
        'Topic :: Internet :: WWW/HTTP',
    ],
)
<|endoftext|>


<commit_before>#!/usr/bin/env python
# coding: utf-8
# Copyright (c) 2015 Nagarjuna Kumarappan
#
# 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.
#
# Author: Nagarjuna Kumarappan <nagarjuna.412@gmail.com>

import os
from distutils.core import setup

prjdir = os.path.dirname(__file__)

def read(filename):
    return open(os.path.join(prjdir, filename)).read()

LONG_DESC = read('README') + '\nCHANGES\n=======\n\n' + read('CHANGES')

from pyfzf import VERSION

setup(name='pyfzf',
      version='.'.join([str(v) for v in VERSION]),
      description='Python wrapper to call fuzzyfinder (fzf)',
      long_description=LONG_DESC,
      author='Nagarjuna Kumarappan',
      license='MIT',
      author_email='nagarjuna.412@gmail.com',
      url='http://pypi.python.org/pypi/pyfzf',
      py_modules=['pyfzf'],
	  include_package_data=True,
      classifiers=[
          'Development Status :: 1 - Alpha',
          'Environment :: Console',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Topic :: Terminals'
          ]
      )

<commit_msg>removed include_package_data from setup.py<commit_after>#!/usr/bin/env python
# coding: utf-8
# Copyright (c) 2015 Nagarjuna Kumarappan
#
# 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.
#
# Author: Nagarjuna Kumarappan <nagarjuna.412@gmail.com>

import os
from distutils.core import setup

prjdir = os.path.dirname(__file__)

def read(filename):
    return open(os.path.join(prjdir, filename)).read()

LONG_DESC = read('README') + '\nCHANGES\n=======\n\n' + read('CHANGES')

from pyfzf import VERSION

setup(name='pyfzf',
      version='.'.join([str(v) for v in VERSION]),
      description='Python wrapper to call fuzzyfinder (fzf)',
      long_description=LONG_DESC,
      author='Nagarjuna Kumarappan',
      license='MIT',
      author_email='nagarjuna.412@gmail.com',
      url='http://pypi.python.org/pypi/pyfzf',
      py_modules=['pyfzf'],
      classifiers=[
          'Development Status :: 1 - Alpha',
          'Environment :: Console',
          'Intended Audience :: Developers',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          'Topic :: Terminals'
          ]
      )

<|endoftext|>


<commit_before># -*- Mode: Python -*-

from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext

exts = [
    Extension ('caesure.proto', ['caesure/proto.pyx']),
    Extension ('caesure._script', ['caesure/_script.pyx']),
    Extension ('caesure.txfaa', ['caesure/txfaa.pyx'], language="c++"),
]

import os
if os.path.isfile ('/usr/local/lib/libsecp256k1.a'):
    exts.append (
        Extension (
            "caesure.secp256k1",
            ["caesure/secp256k1.pyx"],
            include_dirs=['/usr/local/include'],
            libraries=['secp256k1', 'gmp', 'z'],
            extra_link_args = ['-Wl,-rpath,/usr/local/lib'],
        )
    )

## edit bitcoin.py as well (search for 'ecdsa_cryptopp').
# cryptopp = '/home/rushing/src/crypto++'
# exts.append (
#     Extension (
#         "caesure.cryptopp",
#         ["caesure/cryptopp.pyx", "caesure/cryptopp_wrap.cpp"],
#         include_dirs=[cryptopp],
#         library_dirs=[cryptopp],
#         libraries=['cryptopp'],
#         language="c++",
#     )
# )

# XXX re-tag shrapnel & require the correct version here. [for coro.ssl.openssl.ecdsa]
setup (
    name             = 'caesure',
    version          = '0.1',
    description      = 'bitcoin node',
    author           = "Sam Rushing",
    packages         = ['caesure'],
    ext_modules      = exts,
    install_requires = ['cython>=0.20.2'],
    license          = 'Simplified BSD',
    cmdclass = {'build_ext': build_ext},
)
<commit_msg>MACOSX_DEPLOYMENT_TARGET: need to set this to get -rpath.<commit_after># -*- Mode: Python -*-

from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext

exts = [
    Extension ('caesure.proto', ['caesure/proto.pyx']),
    Extension ('caesure._script', ['caesure/_script.pyx']),
    Extension ('caesure.txfaa', ['caesure/txfaa.pyx'], language="c++"),
]

import os

if os.path.isfile ('/usr/local/lib/libsecp256k1.a'):
    if os.uname()[0] == 'Darwin':
        # needed for -rpath to work.
        os.environ['MACOSX_DEPLOYMENT_TARGET'] = '10.9'
    exts.append (
        Extension (
            "caesure.secp256k1",
            ["caesure/secp256k1.pyx"],
            include_dirs=['/usr/local/include'],
            libraries=['secp256k1', 'gmp', 'z'],
            extra_link_args = ['-Wl,-rpath,/usr/local/lib'],
        )
    )

## edit bitcoin.py as well (search for 'ecdsa_cryptopp').
# cryptopp = '/home/rushing/src/crypto++'
# exts.append (
#     Extension (
#         "caesure.cryptopp",
#         ["caesure/cryptopp.pyx", "caesure/cryptopp_wrap.cpp"],
#         include_dirs=[cryptopp],
#         library_dirs=[cryptopp],
#         libraries=['cryptopp'],
#         language="c++",
#     )
# )

# XXX re-tag shrapnel & require the correct version here. [for coro.ssl.openssl.ecdsa]
setup (
    name             = 'caesure',
    version          = '0.1',
    description      = 'bitcoin node',
    author           = "Sam Rushing",
    packages         = ['caesure'],
    ext_modules      = exts,
    install_requires = ['cython>=0.20.2'],
    license          = 'Simplified BSD',
    cmdclass = {'build_ext': build_ext},
    scripts = ['scripts/caesure'],
)
<|endoftext|>


<commit_before># Copyright 2015 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.

from codecs import open
from os import path

from setuptools import setup

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

try:
    from pypandoc import convert
    long_description = convert('README.md', 'rst')
except ImportError:
    long_description = open('README.md', 'r', encoding='utf-8').read()

setup(
    name='psq',

    version='0.1.1',

    description='A simple task queue using Google Cloud Pub/Sub',
    long_description=long_description,

    url='https://github.com/GoogleCloudPlatform/psq',

    author='Jon Wayne Parrott',
    author_email='jonwayne@google.com',

    license='Apache Software License',

    classifiers=[
        'Development Status :: 3 - Alpha',

        # Indicate who your project is intended for
        'Intended Audience :: Developers',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Topic :: Internet',
        'Topic :: Scientific/Engineering',
        'Topic :: System :: Distributed Computing',

        'License :: OSI Approved :: Apache Software License',

        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.4',

        'Operating System :: POSIX',
        'Operating System :: MacOS',
        'Operating System :: Unix',
    ],

    keywords='queue tasks background worker',

    packages=['psq'],

    install_requires=['gcloud>=0.7.0', 'werkzeug', 'click', 'colorlog'],

    entry_points={
        'console_scripts': [
            'psqworker=psq.psqworker:main',
        ],
    },
)
<commit_msg>Fixing case error in setup.py<commit_after># Copyright 2015 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.

from codecs import open
from os import path

from setuptools import setup

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

try:
    from pypandoc import convert
    long_description = convert('readme.md', 'rst')
except ImportError:
    long_description = open('readme.md', 'r', encoding='utf-8').read()

setup(
    name='psq',

    version='0.1.1',

    description='A simple task queue using Google Cloud Pub/Sub',
    long_description=long_description,

    url='https://github.com/GoogleCloudPlatform/psq',

    author='Jon Wayne Parrott',
    author_email='jonwayne@google.com',

    license='Apache Software License',

    classifiers=[
        'Development Status :: 3 - Alpha',

        # Indicate who your project is intended for
        'Intended Audience :: Developers',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Topic :: Internet',
        'Topic :: Scientific/Engineering',
        'Topic :: System :: Distributed Computing',

        'License :: OSI Approved :: Apache Software License',

        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.4',

        'Operating System :: POSIX',
        'Operating System :: MacOS',
        'Operating System :: Unix',
    ],

    keywords='queue tasks background worker',

    packages=['psq'],

    install_requires=['gcloud>=0.7.0', 'werkzeug', 'click', 'colorlog'],

    entry_points={
        'console_scripts': [
            'psqworker=psq.psqworker:main',
        ],
    },
)
<|endoftext|>


<commit_before>#!/usr/bin/env python
"""
=============================================================================
django-spreedly
=============================================================================

This app can be used to add support for the spreedly subscription service to your django app.
"""

from setuptools import setup, find_packages

setup(
    name='django-spreedly',
    version='2.0.3',
    author='James Rivett-Carnac',
    author_email='dev@mediapop.co',
    url='www.github.com/mediapop/django-spreedly',
    description='django-spreedly integrates support for the spreedly subscription service',
    long_description=__doc__,
    packages=find_packages(exclude=("tests",)),
    zip_safe=False,
    install_requires=[
        'pyspreedly==2.0'
    ],
    test_suite='tests.run_tasks.run_tests',
    include_package_data=True,
    entry_points={},
    classifiers=[
        'Intended Audience :: Developers',
        'Intended Audience :: System Administrators',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'License :: OSI Approved :: MIT License',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Framework :: Django'
    ],
)
<commit_msg>updated version to 2.0.4<commit_after>#!/usr/bin/env python
"""
=============================================================================
django-spreedly
=============================================================================

This app can be used to add support for the spreedly subscription service to your django app.
"""

from setuptools import setup, find_packages

setup(
    name='django-spreedly',
    version='2.0.4',
    author='James Rivett-Carnac',
    author_email='dev@mediapop.co',
    url='www.github.com/mediapop/django-spreedly',
    description='django-spreedly integrates support for the spreedly subscription service',
    long_description=__doc__,
    packages=find_packages(exclude=("tests",)),
    zip_safe=False,
    install_requires=[
        'pyspreedly==2.0'
    ],
    test_suite='tests.run_tasks.run_tests',
    include_package_data=True,
    entry_points={},
    classifiers=[
        'Intended Audience :: Developers',
        'Intended Audience :: System Administrators',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'License :: OSI Approved :: MIT License',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Framework :: Django'
    ],
)
<|endoftext|>


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

from setuptools import setup, find_packages
import codecs, os

version = '2.4.11.dev0'
"""
zest.releaser available commands
prerelease: asks you for a version number (defaults to the current version minus a 'dev' or so) with this new version
number and offers to commit those changes to subversion
release: copies the the trunk or branch of the current checkout and creates a version control tag of it. Makes a
checkout of the tag in a temporary directory. Offers to register and upload a source dist of this package to
PyPI (Python Package Index).
postrelease: asks you for a version number (gives a sane default), adds a development marker to it, updates the
setup.py or version.txt and the CHANGES/HISTORY/CHANGELOG file with this and offers to commit those changes to
version control.
fullrelease: all of the above in order.

"""

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

# os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))

setup(
    name='django-arquea',
    version=version,
    description="Sistema administrativo do ANSP",
    long_description=long_description,
    keywords='',
    author='NARA',
    author_email='noc@ansp.br',
    url='http://www.ansp.br',
    license='',
    packages=find_packages(exclude=['ez_setup']),
    # namespace_packages = [''],
    include_package_data=True,
    zip_safe=False,
    install_requires=[
        'setuptools',
        # -*- Extra requirements: -*-
        'django<1.10',
        'django-import-export',
        'django-tinymce',
        'django-ckeditor',
        'django-treemenus2',
        'django-weasyprint',
        'django-localflavor',
        'python-dateutil',
        'python-magic',
        'xhtml2pdf',
        'pyyaml',
        'ipaddress',
        'pillow',
        'pypdf',
        'reportlab',
    ]
)
<commit_msg>Preparing release 2.4.11<commit_after># -*- coding: utf-8 -*-
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

from setuptools import setup, find_packages
import codecs, os

version = '2.4.11'
"""
zest.releaser available commands
prerelease: asks you for a version number (defaults to the current version minus a 'dev' or so) with this new version
number and offers to commit those changes to subversion
release: copies the the trunk or branch of the current checkout and creates a version control tag of it. Makes a
checkout of the tag in a temporary directory. Offers to register and upload a source dist of this package to
PyPI (Python Package Index).
postrelease: asks you for a version number (gives a sane default), adds a development marker to it, updates the
setup.py or version.txt and the CHANGES/HISTORY/CHANGELOG file with this and offers to commit those changes to
version control.
fullrelease: all of the above in order.

"""

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

# os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))

setup(
    name='django-arquea',
    version=version,
    description="Sistema administrativo do ANSP",
    long_description=long_description,
    keywords='',
    author='NARA',
    author_email='noc@ansp.br',
    url='http://www.ansp.br',
    license='',
    packages=find_packages(exclude=['ez_setup']),
    # namespace_packages = [''],
    include_package_data=True,
    zip_safe=False,
    install_requires=[
        'setuptools',
        # -*- Extra requirements: -*-
        'django<1.10',
        'django-import-export',
        'django-tinymce',
        'django-ckeditor',
        'django-treemenus2',
        'django-weasyprint',
        'django-localflavor',
        'python-dateutil',
        'python-magic',
        'xhtml2pdf',
        'pyyaml',
        'ipaddress',
        'pillow',
        'pypdf',
        'reportlab',
    ]
)
<|endoftext|>