<commit_before>import io
import re

from setuptools import find_packages
from setuptools import setup

with io.open("README.rst", "rt", encoding="utf8") as f:
    readme = f.read()

with io.open("src/werkzeug/__init__.py", "rt", encoding="utf8") as f:
    version = re.search(r'__version__ = "(.*?)"', f.read(), re.M).group(1)

setup(
    name="Werkzeug",
    version=version,
    url="https://palletsprojects.com/p/werkzeug/",
    project_urls={
        "Documentation": "https://werkzeug.palletsprojects.com/",
        "Code": "https://github.com/pallets/werkzeug",
        "Issue tracker": "https://github.com/pallets/werkzeug/issues",
    },
    license="BSD-3-Clause",
    author="Armin Ronacher",
    author_email="armin.ronacher@active-4.com",
    maintainer="Pallets",
    maintainer_email="contact@palletsprojects.com",
    description="The comprehensive WSGI web application library.",
    long_description=readme,
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Environment :: Web Environment",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: BSD License",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: Implementation :: CPython",
        "Programming Language :: Python :: Implementation :: PyPy",
        "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
        "Topic :: Internet :: WWW/HTTP :: WSGI",
        "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
        "Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware",
        "Topic :: Software Development :: Libraries :: Application Frameworks",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
    packages=find_packages("src"),
    package_dir={"": "src"},
    include_package_data=True,
    python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
    extras_require={
        "watchdog": ["watchdog"],
        "dev": [
            "pytest",
            "coverage",
            "tox",
            "sphinx",
            "pallets-sphinx-themes",
            "sphinx-issues",
        ],
    },
)
<commit_msg>Support for Python 3.4 has been dropped<commit_after>import io
import re

from setuptools import find_packages
from setuptools import setup

with io.open("README.rst", "rt", encoding="utf8") as f:
    readme = f.read()

with io.open("src/werkzeug/__init__.py", "rt", encoding="utf8") as f:
    version = re.search(r'__version__ = "(.*?)"', f.read(), re.M).group(1)

setup(
    name="Werkzeug",
    version=version,
    url="https://palletsprojects.com/p/werkzeug/",
    project_urls={
        "Documentation": "https://werkzeug.palletsprojects.com/",
        "Code": "https://github.com/pallets/werkzeug",
        "Issue tracker": "https://github.com/pallets/werkzeug/issues",
    },
    license="BSD-3-Clause",
    author="Armin Ronacher",
    author_email="armin.ronacher@active-4.com",
    maintainer="Pallets",
    maintainer_email="contact@palletsprojects.com",
    description="The comprehensive WSGI web application library.",
    long_description=readme,
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Environment :: Web Environment",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: BSD License",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: Implementation :: CPython",
        "Programming Language :: Python :: Implementation :: PyPy",
        "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
        "Topic :: Internet :: WWW/HTTP :: WSGI",
        "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
        "Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware",
        "Topic :: Software Development :: Libraries :: Application Frameworks",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
    packages=find_packages("src"),
    package_dir={"": "src"},
    include_package_data=True,
    python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*",
    extras_require={
        "watchdog": ["watchdog"],
        "dev": [
            "pytest",
            "coverage",
            "tox",
            "sphinx",
            "pallets-sphinx-themes",
            "sphinx-issues",
        ],
    },
)
<|endoftext|>


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

import os
import re
import sys

from codecs import open

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

packages = [
    'r4',
    'r4.backend',
    'r4.client',
    'r4.fileserver',
    'r4.userserver',
]

requires = []
version = '0.0.1'

with open('README.md', 'r', 'utf-8') as f:
    readme = f.read()

setup(
    name='r4',
    version=version,
    description='Automatically distributed S3-like file storage service',
    long_description=readme,
    author='William Baskin, Robert Wagner',
    url='http://github.com/buckbaskin/r4',
    packages=packages,
    package_dir={'r4': 'r4'},
    include_package_data=True,
    install_requires=requires,
    license='MIT',
    classifiers=(
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'Natural Language :: English',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: Implementation :: CPython',
    ),
)

<commit_msg>Fix error in setup.py that prevented an install<commit_after>#!/usr/bin/env python

import os
import re
import sys

from codecs import open

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

packages = [
    'r4',
    'r4.client',
]

requires = []
version = '0.0.1'

with open('README.md', 'r', 'utf-8') as f:
    readme = f.read()

setup(
    name='r4',
    version=version,
    description='Automatically distributed S3-like file storage service',
    long_description=readme,
    author='William Baskin, Robert Wagner',
    url='http://github.com/buckbaskin/r4',
    packages=packages,
    package_dir={'r4': 'r4'},
    include_package_data=True,
    install_requires=requires,
    license='MIT',
    classifiers=(
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'Natural Language :: English',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: Implementation :: CPython',
    ),
)

<|endoftext|>


<commit_before>import os
here = os.path.abspath(os.path.dirname(__file__))
execfile(os.path.join(here, 'tg', 'release.py'))
from setuptools import find_packages, setup

setup(
    name='TurboGears2',
    version=version,
    description=description,
    long_description=long_description,
    classifiers=[],
    keywords='turbogears pylons',
    author=author,
    author_email=email,
    url=url,
    license=license,
    packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
    include_package_data=True,
    zip_safe=False,
    install_requires=[
        'Babel',
        'Pylons>=0.9.7beta3'
    ],
    extras_require={
        'core-testing':["nose", "TurboKid", "TurboJson"]
    },
    entry_points='''
        [paste.global_paster_command]
        tginfo = tg.commands.info:InfoCommand
        [turbogears2.command]
        serve = paste.script.serve:ServeCommand [Config]
        shell = pylons.commands:ShellCommand
    '''
)<commit_msg>add missing package requirement while using setup.py develop<commit_after>import os
here = os.path.abspath(os.path.dirname(__file__))
execfile(os.path.join(here, 'tg', 'release.py'))
from setuptools import find_packages, setup

setup(
    name='TurboGears2',
    version=version,
    description=description,
    long_description=long_description,
    classifiers=[],
    keywords='turbogears pylons',
    author=author,
    author_email=email,
    url=url,
    license=license,
    packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
    include_package_data=True,
    zip_safe=False,
    install_requires=[
        'Babel',
        'Genshi',
        'Pylons>=0.9.7beta3',
        'ToscaWidgets>=0.9',
    ],
    extras_require={
        'core-testing':["nose", "TurboKid", "TurboJson"]
    },
    entry_points='''
        [paste.global_paster_command]
        tginfo = tg.commands.info:InfoCommand
        [turbogears2.command]
        serve = paste.script.serve:ServeCommand [Config]
        shell = pylons.commands:ShellCommand
    '''
)<|endoftext|>


<commit_before>from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
import unittest

def my_test_suite():
    test_loader = unittest.TestLoader()
    test_suite = test_loader.discover('test', pattern='test_*.py')
    return test_suite

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

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

setup(
    name = 'onsager',
    packages = ['onsager'],
    version = '1.2.2',
    description = 'A package to compute Onsager coefficients for vacancy-mediated diffusion and interstitial elastodiffusion tensors',
    long_description=long_description,
    author = 'Dallas R. Trinkle',
    author_email = 'dtrinkle@illinois.edu',
    license='MIT',  # LICENSE.txt
    url = 'https://github.com/DallasTrinkle/onsager', # use the URL to the github repo
    download_url = 'https://github.com/DallasTrinkle/onsager/tarball/v1.2.2', # for when we upload
    keywords = ['diffusion', 'elastodiffusion', 'mass transport',
                'Onsager coefficients', 'transport coefficieints'],
    classifiers=[
        # How mature is this project? Common values are
        #   3 - Alpha
        #   4 - Beta
        #   5 - Production/Stable
        'Development Status :: 4 - Beta',
        'Intended Audience :: Science/Research',
        'Topic :: Scientific/Engineering :: Physics',
        'License :: OSI Approved :: MIT License',
        # Specify the Python versions you support here. In particular, ensure
        # that you indicate whether you support Python 2, Python 3 or both.
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
    ],
    install_requires=['numpy', 'scipy', 'yaml', 'h5py'],
    test_suite = 'setup.my_test_suite'
)
<commit_msg>Fix to pyyaml requirement.<commit_after>from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
import unittest

def my_test_suite():
    test_loader = unittest.TestLoader()
    test_suite = test_loader.discover('test', pattern='test_*.py')
    return test_suite

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

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

setup(
    name = 'onsager',
    packages = ['onsager'],
    version = '1.2.2',
    description = 'A package to compute Onsager coefficients for vacancy-mediated diffusion and interstitial elastodiffusion tensors',
    long_description=long_description,
    author = 'Dallas R. Trinkle',
    author_email = 'dtrinkle@illinois.edu',
    license='MIT',  # LICENSE.txt
    url = 'https://github.com/DallasTrinkle/onsager', # use the URL to the github repo
    download_url = 'https://github.com/DallasTrinkle/onsager/tarball/v1.2.2', # for when we upload
    keywords = ['diffusion', 'elastodiffusion', 'mass transport',
                'Onsager coefficients', 'transport coefficieints'],
    classifiers=[
        # How mature is this project? Common values are
        #   3 - Alpha
        #   4 - Beta
        #   5 - Production/Stable
        'Development Status :: 4 - Beta',
        'Intended Audience :: Science/Research',
        'Topic :: Scientific/Engineering :: Physics',
        'License :: OSI Approved :: MIT License',
        # Specify the Python versions you support here. In particular, ensure
        # that you indicate whether you support Python 2, Python 3 or both.
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
    ],
    install_requires=['numpy', 'scipy', 'pyyaml', 'h5py'],
    test_suite = 'setup.my_test_suite'
)
<|endoftext|>


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

import sys
from setuptools import setup, find_packages

version = {}
with open("niche_vlaanderen/version.py") as fp:
    exec(fp.read(), version)

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

requirements = [
        'pandas',
        'numpy',
        'rasterio',
        'pyyaml',
        'rasterstats'
        ]

setup(name='niche_vlaanderen',
    version=version['__version__'],
    description='NICHE Vlaanderen: hydro-ecological model for valley-ecosystems in Flanders',
    url='https://github.com/INBO/niche_vlaanderen',
    author='Johan Van de Wauw',
    author_email='johan.vandewauw@inbo.be',
    license='MIT',
    install_requires=requirements,
    packages=['niche_vlaanderen'],
    classifiers=[
        'Development Status :: 1 - Planning',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: MIT License',
    "Programming Language :: Python :: 2",
    'Programming Language :: Python :: 2.7',
    'Programming Language :: Python :: 3',
    'Programming Language :: Python :: 3.5',
    'Programming Language :: Python :: 3.6',
    ],
    include_package_data=True,
    tests_require=['pytest'],
    entry_points='''
        [console_scripts]
        niche=niche_vlaanderen.cli:cli
    '''
)
<commit_msg>Update setup development status<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sys
from setuptools import setup, find_packages

version = {}
with open("niche_vlaanderen/version.py") as fp:
    exec(fp.read(), version)

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

requirements = [
        'pandas',
        'numpy',
        'rasterio',
        'pyyaml',
        'rasterstats'
        ]

setup(name='niche_vlaanderen',
    version=version['__version__'],
    description='NICHE Vlaanderen: hydro-ecological model for valley-ecosystems in Flanders',
    url='https://github.com/INBO/niche_vlaanderen',
    author='Johan Van de Wauw',
    author_email='johan.vandewauw@inbo.be',
    license='MIT',
    install_requires=requirements,
    packages=['niche_vlaanderen'],
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: MIT License',
    "Programming Language :: Python :: 2",
    'Programming Language :: Python :: 2.7',
    'Programming Language :: Python :: 3',
    'Programming Language :: Python :: 3.5',
    'Programming Language :: Python :: 3.6',
    ],
    include_package_data=True,
    tests_require=['pytest'],
    entry_points='''
        [console_scripts]
        niche=niche_vlaanderen.cli:cli
    '''
)
<|endoftext|>


<commit_before>from hepixvmitrust.__version__ import version
from sys import version_info

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

setup(name='hepixvmitrust',
    version=version,
    description="VM Image list creationg and signing tool",
    author="O M Synge",
    author_email="owen.synge@desy.de",
    install_requires=[
       "M2Crypto>=0.16",
        ],
    url = 'https://github.com/hepix-virtualisation/hepixvmitrust',
    packages = ['hepixvmitrust'],
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Environment :: Console',
        'Intended Audience :: System Administrators',
        'Intended Audience :: Science/Research'
        'Intended Audience :: Developers',
        'Operating System :: POSIX',
        'Programming Language :: Python',
        'License :: OSI Approved :: Apache 2.0',
        ],

    scripts=['vmilisttool'],
    data_files=[('/usr/share/doc/vmilisttool',['README.md','ChangeLog','imagelist.json','minimal.py','LICENSE'])]
    )
<commit_msg>Sorted and standardised classifiers, and added long_description and license<commit_after>from hepixvmitrust.__version__ import version
from sys import version_info

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

setup(name='hepixvmitrust',
    version=version,
    description="VM Image list creation and signing tool",
    long_description="""hepixvmitrust is a package that contains a CLI tool, and a minimal
implementation, in its documentation for X509 signing lists of
virtual machine image metadata. The tools are generally reusable
but were developed to satisfy the need to securely exchange virtual
machine images between High Energy Physics sites, in a similar way
to yum and apt repositories provide for rpms, this software provides
for Virtual Maschines.""",
    author="O M Synge",
    author_email="owen.synge@desy.de",
    license='Apache License (2.0)',
    install_requires=[
       "M2Crypto>=0.16",
        ],
    url = 'https://github.com/hepix-virtualisation/hepixvmitrust',
    packages = ['hepixvmitrust'],
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'Intended Audience :: Science/Research'
        'Intended Audience :: System Administrators',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: POSIX',
        'Programming Language :: Python',
        ],

    scripts=['vmilisttool'],
    data_files=[('/usr/share/doc/vmilisttool-%s' % (version),['README.md','ChangeLog','imagelist.json','minimal.py','LICENSE'])]
    )
<|endoftext|>


<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
# This software is distributed under the two-clause BSD license.
# Copyright (c) The django-ldapdb project

from __future__ import unicode_literals

import codecs
import os
import re

from setuptools import find_packages, setup

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

def get_version(package_name):
    version_re = re.compile(r"^__version__ = [\"']([\w_.-]+)[\"']$")
    package_components = package_name.split('.')
    init_path = os.path.join(root_dir, *(package_components + ['version.py']))
    with codecs.open(init_path, 'r', 'utf-8') as f:
        for line in f:
            match = version_re.match(line[:-1])
            if match:
                return match.groups()[0]
    return '0.1.0'

PACKAGE = 'django-ldapdb'
PYPACKAGE = 'ldapdb'

setup(
    name=PACKAGE,
    version=get_version(PYPACKAGE),
    description="An LDAP database backend for Django",
    long_description=''.join(codecs.open('README.rst', 'r', 'utf-8').readlines()),
    author="Jeremy Laine",
    author_email="jeremy.laine@m4x.org",
    maintainer="Raphaël Barrois",
    maintainer_email="raphael.barrois+%s@polytechnique.org" % PACKAGE,
    license="BSD",
    zip_safe=True,
    keywords=['django', 'ldap', 'database'],
    url="https://github.com/{pn}/{pn}".format(pn=PACKAGE),
    packages=find_packages(exclude=['tests*', 'examples*']),
    install_requires=[
        'Django>=1.11',
        'python-ldap>=3.0',
    ],
    setup_requires=[
        'setuptools>=0.8',
    ],
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Environment :: Web Environment",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Framework :: Django :: 1.11",
        "Framework :: Django :: 2.0",
        "Intended Audience :: Developers",
        "Intended Audience :: System Administrators",
        "License :: OSI Approved :: BSD License",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: System :: Systems Administration :: Authentication/Directory :: LDAP",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
    test_suite = 'manage_dev.run_tests',
)
<commit_msg>Add Django 2.1 to trove.<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
# This software is distributed under the two-clause BSD license.
# Copyright (c) The django-ldapdb project

from __future__ import unicode_literals

import codecs
import os
import re

from setuptools import find_packages, setup

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

def get_version(package_name):
    version_re = re.compile(r"^__version__ = [\"']([\w_.-]+)[\"']$")
    package_components = package_name.split('.')
    init_path = os.path.join(root_dir, *(package_components + ['version.py']))
    with codecs.open(init_path, 'r', 'utf-8') as f:
        for line in f:
            match = version_re.match(line[:-1])
            if match:
                return match.groups()[0]
    return '0.1.0'

PACKAGE = 'django-ldapdb'
PYPACKAGE = 'ldapdb'

setup(
    name=PACKAGE,
    version=get_version(PYPACKAGE),
    description="An LDAP database backend for Django",
    long_description=''.join(codecs.open('README.rst', 'r', 'utf-8').readlines()),
    author="Jeremy Laine",
    author_email="jeremy.laine@m4x.org",
    maintainer="Raphaël Barrois",
    maintainer_email="raphael.barrois+%s@polytechnique.org" % PACKAGE,
    license="BSD",
    zip_safe=True,
    keywords=['django', 'ldap', 'database'],
    url="https://github.com/{pn}/{pn}".format(pn=PACKAGE),
    packages=find_packages(exclude=['tests*', 'examples*']),
    install_requires=[
        'Django>=1.11',
        'python-ldap>=3.0',
    ],
    setup_requires=[
        'setuptools>=0.8',
    ],
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Environment :: Web Environment",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Framework :: Django :: 1.11",
        "Framework :: Django :: 2.0",
        "Framework :: Django :: 2.1",
        "Intended Audience :: Developers",
        "Intended Audience :: System Administrators",
        "License :: OSI Approved :: BSD License",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: System :: Systems Administration :: Authentication/Directory :: LDAP",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
    test_suite = 'manage_dev.run_tests',
)
<|endoftext|>


<commit_before>from setuptools import setup

description = ''

try:
    import pypandoc  # pylint: disable=F0401

    description = pypandoc.convert('README.md', 'rst')
except Exception:
    pass

setup(name='cloud4rpi',
      version='0.0.9',
      description='cloud4rpi client library',
      long_description=description,
      url='https://github.com/cloud4rpi/cloud4rpi',
      author='cloud4rpi team',
      author_email='cloud4rpi@gmail.com',
      license='MIT',
      packages=['cloud4rpi'],
      install_requires=[
          'paho-mqtt',
      ])
<commit_msg>uncrease version to 0.0.10<commit_after>from setuptools import setup

description = ''

try:
    import pypandoc  # pylint: disable=F0401

    description = pypandoc.convert('README.md', 'rst')
except Exception:
    pass

setup(name='cloud4rpi',
      version='0.0.10',
      description='cloud4rpi client library',
      long_description=description,
      url='https://github.com/cloud4rpi/cloud4rpi',
      author='cloud4rpi team',
      author_email='cloud4rpi@gmail.com',
      license='MIT',
      packages=['cloud4rpi'],
      install_requires=[
          'paho-mqtt',
      ])
<|endoftext|>


<commit_before>#!/usr/bin/python

#import distutils
#from distutils.core import setup, Extension
from setuptools import setup, Extension

long_desc = """This is a C extension module for Python which
implements extended attributes manipulation. It is a wrapper on top
of the attr C library - see attr(5)."""
version = "0.2.2"

setup(name = "pyxattr",
      version = version,
      description = "Filesystem extended attributes for python",
      long_description = long_desc,
      author = "Iustin Pop",
      author_email = "iusty@k1024.org",
      url = "http://pyxattr.sourceforge.net",
      license = "LGPL",
      ext_modules = [Extension("xattr", ["xattr.c"], libraries=["attr"])],
      test_suite = "test/test_xattr",
      )
<commit_msg>Update version to 0.3.0<commit_after>#!/usr/bin/python

#import distutils
#from distutils.core import setup, Extension
from setuptools import setup, Extension

long_desc = """This is a C extension module for Python which
implements extended attributes manipulation. It is a wrapper on top
of the attr C library - see attr(5)."""
version = "0.3.0"

setup(name = "pyxattr",
      version = version,
      description = "Filesystem extended attributes for python",
      long_description = long_desc,
      author = "Iustin Pop",
      author_email = "iusty@k1024.org",
      url = "http://pyxattr.sourceforge.net",
      license = "LGPL",
      ext_modules = [Extension("xattr", ["xattr.c"], libraries=["attr"])],
      test_suite = "test/test_xattr",
      )
<|endoftext|>


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

setup(
    name='blanc-basic-pages',
    version='0.2.1',
    description='Blanc Basic Pages for Django',
    long_description=open('README.rst').read(),
    url='https://github.com/blancltd/blanc-basic-pages',
    maintainer='Alex Tomkins',
    maintainer_email='alex@blanc.ltd.uk',
    platforms=['any'],
    install_requires=[
        'django-mptt>=0.6.1',
        'django-mptt-admin>=0.1.8',
    ],
    packages=find_packages(),
    classifiers=[
        'Environment :: Web Environment',
        'Framework :: Django',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
    ],
    license='BSD',
)
<commit_msg>Version 0.3<commit_after>#!/usr/bin/env python
from setuptools import setup, find_packages

setup(
    name='blanc-basic-pages',
    version='0.3',
    description='Blanc Basic Pages for Django',
    long_description=open('README.rst').read(),
    url='https://github.com/blancltd/blanc-basic-pages',
    maintainer='Alex Tomkins',
    maintainer_email='alex@blanc.ltd.uk',
    platforms=['any'],
    install_requires=[
        'django-mptt>=0.6.1',
        'django-mptt-admin>=0.1.8',
    ],
    packages=find_packages(),
    classifiers=[
        'Environment :: Web Environment',
        'Framework :: Django',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
    ],
    license='BSD',
)
<|endoftext|>


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

from __future__ import print_function
from setuptools import setup

try:
    import fontTools
except:
    print("*** Warning: defcon requires FontTools, see:")
    print("    github.com/behdad/fonttools")

setup(
    name="compositor",
    version="0.2b",
    description="A simple OpenType GSUB and GPOS engine.",
    author="Tal Leming",
    author_email="tal@typesupply.com",
    url="https://github.com/typesupply/compositor",
    license="MIT",
    packages=["compositor"],
    package_dir={"":"Lib"}
)
<commit_msg>add maintainer names and email, fix url<commit_after>#!/usr/bin/env python

from __future__ import print_function
from setuptools import setup

try:
    import fontTools
except:
    print("*** Warning: defcon requires FontTools, see:")
    print("    github.com/behdad/fonttools")

setup(
    name="compositor",
    version="0.2b",
    description="A simple OpenType GSUB and GPOS engine.",
    author="Tal Leming",
    author_email="tal@typesupply.com",
    maintainer="Just van Rossum, Frederik Berlaen",
    maintainer_email="justvanrossum@gmail.com",
    url="https://github.com/robotools/compositor",
    license="MIT",
    packages=["compositor"],
    package_dir={"":"Lib"}
)
<|endoftext|>


<commit_before>#!/usr/bin/python

from setuptools import setup

setup(name='libhxl',
      version='2.5',
      description='Python support for the Humanitarian Exchange Language (HXL).',
      author='David Megginson',
      author_email='contact@megginson.com',
      url='http://hxlproject.org',
      install_requires=['python-dateutil', 'xlrd', 'requests'],
      packages=['hxl'],
      package_data={'': ['*.csv']},
      include_package_data=True,
      test_suite='tests',
      entry_points={
          'console_scripts': [
              'hxladd = hxl.scripts:hxladd',
              'hxlappend = hxl.scripts:hxlappend',
              'hxlclean = hxl.scripts:hxlclean',
              'hxlcount = hxl.scripts:hxlcount',
              'hxlcut = hxl.scripts:hxlcut',
              'hxldedup = hxl.scripts:hxldedup',
              'hxlmerge = hxl.scripts:hxlmerge',
              'hxlrename = hxl.scripts:hxlrename',
              'hxlreplace = hxl.scripts:hxlreplace',
              'hxlselect = hxl.scripts:hxlselect',
              'hxlsort = hxl.scripts:hxlsort',
              'hxltag = hxl.scripts:hxltag',
              'hxlvalidate = hxl.scripts:hxlvalidate'
          ]
      }
)
<commit_msg>Bump version to 2.6.<commit_after>#!/usr/bin/python

from setuptools import setup

setup(name='libhxl',
      version='2.6',
      description='Python support for the Humanitarian Exchange Language (HXL).',
      author='David Megginson',
      author_email='contact@megginson.com',
      url='http://hxlproject.org',
      install_requires=['python-dateutil', 'xlrd', 'requests'],
      packages=['hxl'],
      package_data={'': ['*.csv']},
      include_package_data=True,
      test_suite='tests',
      entry_points={
          'console_scripts': [
              'hxladd = hxl.scripts:hxladd',
              'hxlappend = hxl.scripts:hxlappend',
              'hxlclean = hxl.scripts:hxlclean',
              'hxlcount = hxl.scripts:hxlcount',
              'hxlcut = hxl.scripts:hxlcut',
              'hxldedup = hxl.scripts:hxldedup',
              'hxlmerge = hxl.scripts:hxlmerge',
              'hxlrename = hxl.scripts:hxlrename',
              'hxlreplace = hxl.scripts:hxlreplace',
              'hxlselect = hxl.scripts:hxlselect',
              'hxlsort = hxl.scripts:hxlsort',
              'hxltag = hxl.scripts:hxltag',
              'hxlvalidate = hxl.scripts:hxlvalidate'
          ]
      }
)
<|endoftext|>


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

from distutils.core import setup

setup(
    name='minopt',
    version='0.0.1',
    description='minimalistic option parser',
    author='Ajay MT',
    author_email='ajaymt@icloud.com',
    url='http://github.com/ajaymt/minopt',
    py_modules=['minopt'],
    keywords='option-parser option parser optparse argparse command line',
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: POSIX',
        'Programming Language :: Python',
    ]
)
<commit_msg>add download url to setup.py<commit_after>#!/usr/bin/env python

from distutils.core import setup

setup(
    name='minopt',
    version='0.0.1',
    description='minimalistic option parser',
    author='Ajay MT',
    author_email='ajaymt@icloud.com',
    url='http://github.com/ajaymt/minopt',
    download_url='https://github.com/AjayMT/minopt/tarball/v0.0.1',
    py_modules=['minopt'],
    keywords='option-parser option parser optparse argparse command line',
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: POSIX',
        'Programming Language :: Python',
    ]
)
<|endoftext|>


<commit_before>import os
from setuptools import setup

setup(
    name = "gut",
    version = "0.2.0",
    author = "Dan Tillberg",
    author_email = "dan@tillberg.us",
    description = ("Realtime bidirectional folder synchronization via modified git"),
    license = "ISC",
    keywords = "",
    url = "https://github.com/tillberg/gut",
    packages = ['gut'],
    install_requires=[
        "plumbum>=1.4.2",
        "paramiko>=1.15.2",
    ],
    classifiers = [
        "Development Status :: 3 - Alpha",
        "Environment :: Console",
        "License :: OSI Approved :: ISC License (ISCL)",
    ],
    entry_points = {
        'console_scripts': [
            'gut = gut.shell:main',
        ],
    }
)
<commit_msg>Bump version to 0.2.1<commit_after>import os
from setuptools import setup

setup(
    name = "gut",
    version = "0.2.1",
    author = "Dan Tillberg",
    author_email = "dan@tillberg.us",
    description = ("Realtime bidirectional folder synchronization via modified git"),
    license = "ISC",
    keywords = "",
    url = "https://github.com/tillberg/gut",
    packages = ['gut'],
    install_requires=[
        "plumbum>=1.4.2",
        "paramiko>=1.15.2",
    ],
    classifiers = [
        "Development Status :: 3 - Alpha",
        "Environment :: Console",
        "License :: OSI Approved :: ISC License (ISCL)",
    ],
    entry_points = {
        'console_scripts': [
            'gut = gut.shell:main',
        ],
    }
)
<|endoftext|>


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

from setuptools import setup, find_packages

tests_require = [
    'Django>=1.2',
    'unittest2',
]

setup(
    name='django-perftools',
    version='0.2',
    author='DISQUS',
    author_email='opensource@disqus.com',
    url='http://github.com/disqus/django-perftools',
    description = '',
    packages=find_packages(exclude=["tests"]),
    zip_safe=False,
    install_requires=[],
    license='Apache License 2.0',
    tests_require=tests_require,
    extras_require={'test': tests_require},
    test_suite='unittest2.collector',
    include_package_data=True,
    classifiers=[
        'Framework :: Django',
        'Intended Audience :: Developers',
        'Intended Audience :: System Administrators',
        'Operating System :: OS Independent',
        'Topic :: Software Development'
    ],
)<commit_msg>Version bump to 0.3<commit_after>#!/usr/bin/env python

from setuptools import setup, find_packages

tests_require = [
    'Django>=1.2',
    'unittest2',
]

setup(
    name='django-perftools',
    version='0.3',
    author='DISQUS',
    author_email='opensource@disqus.com',
    url='http://github.com/disqus/django-perftools',
    description = '',
    packages=find_packages(exclude=["tests"]),
    zip_safe=False,
    install_requires=[],
    license='Apache License 2.0',
    tests_require=tests_require,
    extras_require={'test': tests_require},
    test_suite='unittest2.collector',
    include_package_data=True,
    classifiers=[
        'Framework :: Django',
        'Intended Audience :: Developers',
        'Intended Audience :: System Administrators',
        'Operating System :: OS Independent',
        'Topic :: Software Development'
    ],
)<|endoftext|>


<commit_before>#!/usr/bin/env python
# -*- encoding: utf-8 -*-
from __future__ import absolute_import
from __future__ import print_function

import io
import re
from glob import glob
from os.path import basename
from os.path import dirname
from os.path import join
from os.path import splitext

from setuptools import find_packages
from setuptools import setup

def read(*names, **kwargs):
    return io.open(
        join(dirname(__file__), *names),
        encoding=kwargs.get('encoding', 'utf8')
    ).read()

setup(
    name='litmos-api',
    version='0.1.1',
    license='BSD',
    description='Python package integrating with Litmos User and Teams API',
    long_description='%s\n%s' % (
        re.compile('^.. start-badges.*^.. end-badges', re.M | re.S).sub('', read('README.rst')),
        re.sub(':[a-z]+:`~?(.*?)`', r'``\1``', read('CHANGELOG.rst'))
    ),
    author='Charlie Quinn',
    author_email='charlesquinn1984@gmail.com',
    url='https://github.com/charliequinn/python-litmos-api',
    packages=find_packages('src'),
    package_dir={'': 'src'},
    py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')],
    include_package_data=True,
    zip_safe=False,
    classifiers=[
        # complete classifier list: http://pypi.python.org/pypi?%3Aaction=list_classifiers
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: Unix',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: Implementation :: CPython',
        'Programming Language :: Python :: Implementation :: PyPy',
        # uncomment if you test on these interpreters:
        # 'Programming Language :: Python :: Implementation :: IronPython',
        # 'Programming Language :: Python :: Implementation :: Jython',
        # 'Programming Language :: Python :: Implementation :: Stackless',
        'Topic :: Utilities',
    ],
    keywords=[
        'litmos', 'API'
    ],
    install_requires=[
        'requests==2.12.3', 'inflect==0.2.5'
    ],
    extras_require={
        # eg:
        #   'rst': ['docutils>=0.11'],
        #   ':python_version=="2.6"': ['argparse'],
    },
)
<commit_msg>add treelib dependancy<commit_after>#!/usr/bin/env python
# -*- encoding: utf-8 -*-
from __future__ import absolute_import
from __future__ import print_function

import io
import re
from glob import glob
from os.path import basename
from os.path import dirname
from os.path import join
from os.path import splitext

from setuptools import find_packages
from setuptools import setup

def read(*names, **kwargs):
    return io.open(
        join(dirname(__file__), *names),
        encoding=kwargs.get('encoding', 'utf8')
    ).read()

setup(
    name='litmos-api',
    version='0.1.1',
    license='BSD',
    description='Python package integrating with Litmos User and Teams API',
    long_description='%s\n%s' % (
        re.compile('^.. start-badges.*^.. end-badges', re.M | re.S).sub('', read('README.rst')),
        re.sub(':[a-z]+:`~?(.*?)`', r'``\1``', read('CHANGELOG.rst'))
    ),
    author='Charlie Quinn',
    author_email='charlesquinn1984@gmail.com',
    url='https://github.com/charliequinn/python-litmos-api',
    packages=find_packages('src'),
    package_dir={'': 'src'},
    py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')],
    include_package_data=True,
    zip_safe=False,
    classifiers=[
        # complete classifier list: http://pypi.python.org/pypi?%3Aaction=list_classifiers
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: Unix',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: Implementation :: CPython',
        'Programming Language :: Python :: Implementation :: PyPy',
        # uncomment if you test on these interpreters:
        # 'Programming Language :: Python :: Implementation :: IronPython',
        # 'Programming Language :: Python :: Implementation :: Jython',
        # 'Programming Language :: Python :: Implementation :: Stackless',
        'Topic :: Utilities',
    ],
    keywords=[
        'litmos', 'API'
    ],
    install_requires=[
        'requests==2.12.3', 'inflect==0.2.5', 'treelib==1.3.5'
    ],
    extras_require={
        # eg:
        #   'rst': ['docutils>=0.11'],
        #   ':python_version=="2.6"': ['argparse'],
    },
)
<|endoftext|>


<commit_before>#!/usr/bin/env python
# Copyright (c) 2006-2008 The Trustees of Indiana University.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# Copyright (c) 2006-2008 The Trustees of Indiana University.
# 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 Indiana University nor the names of its contributors may be used
#   to endorse or promote products derived from this software without specific
#   prior written permission.
#
# 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.

# Build the appropriate CorePy modules with the following command:
# python setup.py build_ext -i

from distutils.core import setup, Extension
from distutils.util import get_platform
import sys
from os import path

ext_modules = [Extension('corepy.lib.extarray._alloc',
                         sources=['corepy/lib/extarray/alloc.i'],
                         depends=['corepy/lib/extarray/alloc.h'])]

py_platform = get_platform()
print "Python platform:", py_platform

if py_platform == "linux-ppc64":
  OS = 'linux'
  ARCH = 'ppc'
  BITS = '64'

  # Enable more stuff if libspe2 is available
  if path.exists("/usr/lib/libspe2.so"):
    print "LibSPE2 is available; enabling native SPU code execution support"
    libraries = ['spe2']
    define_macros = [('HAS_LIBSPE2', '1')]
  else:
    print "LibSPE2 NOT available; disabling native SPU code execution support"
    libraries = []
    define_macros = []

  ext_modules.append(
      Extension('corepy.arch.spu.platform.linux_spufs._spu_exec',
                sources=['corepy/arch/spu/platform/linux_spufs/spu_exec.i'],
                depends=['corepy/arch/spu/platform/linux_spufs/spu_exec.h',
                         'corepy/arch/spu/platform/linux_spufs/spufs.h'],
                libraries = libraries, define_macros = define_macros))

elif py_platform == "linux-x86_64":
  OS = 'linux'
  ARCH = 'x86_64'
  BITS = '64'
elif py_platform == "linux-i686":
  OS = 'linux'
  ARCH = 'x86'
  BITS = '32'
elif py_platform[0:6] == 'macosx' or py_platform[0:6] == 'darwin':
  OS = 'osx'
  if py_platform[-3:] == 'ppc':
    ARCH = 'ppc'
    BITS = 32
  elif py_platform[-3:] == '386':
    if sys.maxint == 2**63 - 1: # 64bit python?
      ARCH = 'x86_64'
      BITS = 64
    else: # assumed 32bit
      ARCH = 'x86'
      BITS = 32
else:
  print "Unsupported Python platform!  Aborting."
  exit(-1)

# TODO - maybe rename the _exec files to not have the arch in them?
template = 'corepy/arch/%s/platform/%s/%s_exec.' % (ARCH, OS, ARCH)
ext_modules.append(
    Extension('corepy.arch.%s.platform.%s._%s_exec' % (ARCH, OS, ARCH),
        sources=['%s%s' % (template, 'i')],
        depends=['%s%s' % (template, 'h')]))

print "CorePy platform:", ARCH, OS, BITS
print

# New enough python to support swig_opts?
options={}
if sys.version_info[0] >= 2 and sys.version_info[1] >= 4:
  options={'build_ext':{'swig_opts':'-O -Wall'}}

# See http://www.nabble.com/C%2B%2B,-swig,-and-distutils-td1555651.html
# for info on the options line below
setup (name = 'CorePy',
       version = '1.0',
       author      = "Chris Mueller, Andrew Friedley, Andrew Lumsdaine",
       description = """http://www.corepy.org""",
       ext_modules = ext_modules,
#       py_modules = ["corepy"],
       options=options
       )

<commit_msg>Thanks to Alex Holkner for this patch:<commit_after>#!/usr/bin/env python
# Copyright (c) 2006-2008 The Trustees of Indiana University.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# Copyright (c) 2006-2008 The Trustees of Indiana University.
# 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 Indiana University nor the names of its contributors may be used
#   to endorse or promote products derived from this software without specific
#   prior written permission.
#
# 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.

# Build the appropriate CorePy modules with the following command:
# python setup.py build_ext -i

from distutils.core import setup, Extension
from distutils.util import get_platform
import sys
from os import path

ext_modules = [Extension('corepy.lib.extarray._alloc',
                         sources=['corepy/lib/extarray/alloc.i'],
                         depends=['corepy/lib/extarray/alloc.h'])]

py_platform = get_platform()
print "Python platform:", py_platform

if py_platform == "linux-ppc64":
  OS = 'linux'
  ARCH = 'ppc'
  BITS = '64'

  # Enable more stuff if libspe2 is available
  if path.exists("/usr/lib/libspe2.so"):
    print "LibSPE2 is available; enabling native SPU code execution support"
    libraries = ['spe2']
    define_macros = [('HAS_LIBSPE2', '1')]
  else:
    print "LibSPE2 NOT available; disabling native SPU code execution support"
    libraries = []
    define_macros = []

  ext_modules.append(
      Extension('corepy.arch.spu.platform.linux_spufs._spu_exec',
                sources=['corepy/arch/spu/platform/linux_spufs/spu_exec.i'],
                depends=['corepy/arch/spu/platform/linux_spufs/spu_exec.h',
                         'corepy/arch/spu/platform/linux_spufs/spufs.h'],
                libraries = libraries, define_macros = define_macros))

elif py_platform == "linux-x86_64":
  OS = 'linux'
  ARCH = 'x86_64'
  BITS = '64'
elif py_platform == "linux-i686":
  OS = 'linux'
  ARCH = 'x86'
  BITS = '32'
elif py_platform[0:6] == 'macosx' or py_platform[0:6] == 'darwin':
  OS = 'osx'
  if py_platform[-3:] == 'ppc':
    ARCH = 'ppc'
    BITS = 32
  elif py_platform[-3:] == '386':
    if sys.maxint == 2**63 - 1: # 64bit python?
      ARCH = 'x86_64'
      BITS = 64
    else: # assumed 32bit
      ARCH = 'x86'
      BITS = 32
  elif py_platform[-3:] == 'fat':
    # distutils says to build universal -- guess machine type from byte
    # order; assume 32-bit?
    BITS = 32
    if sys.byteorder == 'little':
        ARCH = 'x86'
    else:
        ARCH = 'ppc'
else:
  print "Unsupported Python platform!  Aborting."
  exit(-1)

# TODO - maybe rename the _exec files to not have the arch in them?
template = 'corepy/arch/%s/platform/%s/%s_exec.' % (ARCH, OS, ARCH)
ext_modules.append(
    Extension('corepy.arch.%s.platform.%s._%s_exec' % (ARCH, OS, ARCH),
        sources=['%s%s' % (template, 'i')],
        depends=['%s%s' % (template, 'h')]))

print "CorePy platform:", ARCH, OS, BITS
print

# New enough python to support swig_opts?
options={}
if sys.version_info[0] >= 2 and sys.version_info[1] >= 4:
  options={'build_ext':{'swig_opts':'-O -Wall'}}

# See http://www.nabble.com/C%2B%2B,-swig,-and-distutils-td1555651.html
# for info on the options line below
setup (name = 'CorePy',
       version = '1.0',
       author      = "Chris Mueller, Andrew Friedley, Andrew Lumsdaine",
       description = """http://www.corepy.org""",
       ext_modules = ext_modules,
#       py_modules = ["corepy"],
       options=options
       )

<|endoftext|>


<commit_before>import os
from setuptools import setup, find_packages

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

requires = [
    'pyramid==1.5.1',
    'pyramid_chameleon==0.3',
    'pyramid_debugtoolbar==2.2',
    'waitress==0.8.9',
    'pyramid_ldap==0.2',
    'python-ldap==2.4.16',
    'ldappool==1.0',
    'TwonicornLib',
    ]

setup(name='TwonicornWeb',
      version='1.5.1',
      description='TwonicornWeb',
      long_description=README + '\n\n' + CHANGELOG,
      classifiers=[
        "Programming Language :: Python",
        "Framework :: Pyramid",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
        ],
      author='Aaron Bandt',
      author_email='aaron.bandt@citygridmedia.com',
      url='',
      keywords='Twonicorn web api/ui',
      packages=find_packages(),
      include_package_data=True,
      zip_safe=False,
      install_requires=requires,
      tests_require=requires,
      test_suite="TwonicornWeb",
      entry_points="""\
      [paste.app_factory]
      main = twonicornweb:main
      """,
      )
<commit_msg>bumpking to next version<commit_after>import os
from setuptools import setup, find_packages

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

requires = [
    'pyramid==1.5.1',
    'pyramid_chameleon==0.3',
    'pyramid_debugtoolbar==2.2',
    'waitress==0.8.9',
    'pyramid_ldap==0.2',
    'python-ldap==2.4.16',
    'ldappool==1.0',
    'TwonicornLib',
    ]

setup(name='TwonicornWeb',
      version='1.5.2',
      description='TwonicornWeb',
      long_description=README + '\n\n' + CHANGELOG,
      classifiers=[
        "Programming Language :: Python",
        "Framework :: Pyramid",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
        ],
      author='Aaron Bandt',
      author_email='aaron.bandt@citygridmedia.com',
      url='',
      keywords='Twonicorn web api/ui',
      packages=find_packages(),
      include_package_data=True,
      zip_safe=False,
      install_requires=requires,
      tests_require=requires,
      test_suite="TwonicornWeb",
      entry_points="""\
      [paste.app_factory]
      main = twonicornweb:main
      """,
      )
<|endoftext|>


<commit_before># 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

requires = ['cornice', 'mozsvc>=0.8', 'PyBrowserID', 'testfixtures']

setup(name='tokenserver',
        version='1.2.19',
      packages=find_packages(),
      include_package_data=True,
      zip_safe=False,
      entry_points="""\
      [paste.app_factory]
      main = tokenserver:main
      """,
      install_requires=requires,
      tests_require=requires,
      test_suite='tokenserver.tests')
<commit_msg>Prep v1.2.20<commit_after># 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

requires = ['cornice', 'mozsvc>=0.8', 'PyBrowserID', 'testfixtures']

setup(name='tokenserver',
        version='1.2.20',
      packages=find_packages(),
      include_package_data=True,
      zip_safe=False,
      entry_points="""\
      [paste.app_factory]
      main = tokenserver:main
      """,
      install_requires=requires,
      tests_require=requires,
      test_suite='tokenserver.tests')
<|endoftext|>


<commit_before>from setuptools import setup, find_packages, Extension

long_description = """
siphashc
========

python c-module for `siphash`_, based on `floodberry's version`_.

Usage
~~~~~

.. code:: python

    >>> from siphashc import siphash
    >>> siphash('sixteencharstrng', 'i need a hash of this')
    10796923698683394048L

.. _siphash: https://131002.net/siphash/
.. _floodberry's version: https://github.com/floodyberry/siphash
""".strip()

sipc = Extension(
    "siphashc",
    sources=['src/siphash/siphash.c', 'src/siphashc.c'],
    language='c')

setup(
    name='siphashc',
    version='0.2',
    description='python module (in c) for siphash-2-4',
    url='http://github.com/cactus/siphashc',
    license="MIT",
    ext_modules=[sipc],
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 2.6',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'License :: OSI Approved :: MIT License',
    ],
    install_requires=[
        'setuptools',
    ],
    test_require=[
        'nose',
        'unittest2',
    ],
    zip_safe=False,
)
<commit_msg>fix setuptools grumpiness<commit_after>from setuptools import setup, find_packages, Extension

long_description = """
siphashc
========

python c-module for `siphash`_, based on `floodberry's version`_.

Usage
~~~~~

.. code:: python

    >>> from siphashc import siphash
    >>> siphash('sixteencharstrng', 'i need a hash of this')
    10796923698683394048L

.. _siphash: https://131002.net/siphash/
.. _floodberry's version: https://github.com/floodyberry/siphash
""".strip()

sipc = Extension(
    "siphashc",
    sources=['src/siphash/siphash.c', 'src/siphashc.c'],
    language='c')

setup(
    name='siphashc',
    version='0.2',
    description='python module (in c) for siphash-2-4',
    url='http://github.com/cactus/siphashc',
    license="MIT",
    ext_modules=[sipc],
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 2.6',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'License :: OSI Approved :: MIT License',
    ],
    install_requires=[
        'setuptools',
    ],
    zip_safe=False,
)
<|endoftext|>


<commit_before>import io
import sys

from os.path import dirname
from setuptools import setup, find_packages

sys.path.append(dirname(__file__))
from rabix import __version__

requires = [
    x.strip() for x in
    io.open('requirements.txt')
]

setup(
    name="rabix",
    version=__version__,
    include_package_data=True,
    packages=find_packages(),
    entry_points={
        'console_scripts': ['rabix = rabix.main:main',
                            'rabix-tools = rabix.tools.cli:main'],
    },
    install_requires=requires,
    package_data={'rabix': ['expressions/evaluators/*.expr-plugin']},
    long_description=io.open('README.md').read(),
    zip_safe=False,
    test_suite='tests',
    license='AGPLv3',

    classifiers=[
        'Development Status :: 3 - Alpha',
        'Environment :: Console',
        'Intended Audience :: Science/Research',
        'Operating System :: POSIX :: Linux',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Topic :: Scientific/Engineering :: Bio-Informatics',
        'License :: OSI Approved :: ' +
        'GNU Affero General Public License v3 or later (AGPLv3+)'
    ]
)
<commit_msg>fixing setup.py to include plugin data<commit_after>import io
import sys

from os.path import dirname
from setuptools import setup, find_packages

sys.path.append(dirname(__file__))
from rabix import __version__

requires = [
    x.strip() for x in
    io.open('requirements.txt')
]

setup(
    name="rabix",
    version=__version__,
    packages=find_packages(),
    entry_points={
        'console_scripts': ['rabix = rabix.main:main',
                            'rabix-tools = rabix.tools.cli:main'],
    },
    install_requires=requires,
    package_data={'': ['*.expr-plugin']},
    long_description=io.open('README.md').read(),
    zip_safe=False,
    test_suite='tests',
    license='AGPLv3',

    classifiers=[
        'Development Status :: 3 - Alpha',
        'Environment :: Console',
        'Intended Audience :: Science/Research',
        'Operating System :: POSIX :: Linux',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Topic :: Scientific/Engineering :: Bio-Informatics',
        'License :: OSI Approved :: ' +
        'GNU Affero General Public License v3 or later (AGPLv3+)'
    ]
)
<|endoftext|>


<commit_before># -*- coding: utf-8 -*-
"""A setuptools based setup module.

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

# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
from ilmaruuvi import systemd_service

here = path.abspath(path.dirname(__file__))
name = 'ilmaruuvi'

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

setup(
    name=name,

    # Versions should comply with PEP440.  For a discussion on single-sourcing
    # the version across setup.py and the project code, see
    # https://packaging.python.org/en/latest/single_source_version.html
    version='0.1.0',

    description='A Ruuvi Tag weather station logger',
    long_description=long_description,

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

    # Author details
    author='Jussi Tiira',
    author_email='jussi@j24.fi',

    # Choose your license
    license='MIT',

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

        # Indicate who your project is intended for
        'Intended Audience :: Science/Research',
        'Topic :: Scientific/Engineering :: Atmospheric Science',

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

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

    # What does your project relate to?
    keywords='ruuvi weather logger',

    # You can just specify the packages manually here if your project is
    # simple. Or you can use find_packages().
    packages=find_packages(exclude=['contrib', 'docs', 'tests']),

    # Alternatively, if you want to distribute just a my_module.py, uncomment
    # this:
    #   py_modules=["my_module"],

    # List run-time dependencies here.  These will be installed by pip when
    # your project is installed. For an analysis of "install_requires" vs pip's
    # requirements files see:
    # https://packaging.python.org/en/latest/requirements.html
    install_requires=[],

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

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

    # Although 'package_data' is the preferred approach, in some case you may
    # need to place data files outside of your packages. See:
    # http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
    data_files=[
                #('/etc/systemd/system', ['systemd/ilmaruuvi.service'])
                ],

    # To provide executable scripts, use entry points in preference to the
    # "scripts" keyword. Entry points provide cross-platform support and allow
    # pip to create the appropriate form of executable for the target platform.
    entry_points={
            'console_scripts': [
                    'install_ilmaruuvi_service = {name}.systemd_service:install'.format(name=name),
                    '{name} = {name}.__main__:main'.format(name=name)
            ]
    },
)

try:
    systemd_service.install()
except PermissionError as e:
    print('Insufficient permissions to install systemd service, skipping...')<commit_msg>os identifier<commit_after># -*- coding: utf-8 -*-
"""A setuptools based setup module.

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

# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
from ilmaruuvi import systemd_service

here = path.abspath(path.dirname(__file__))
name = 'ilmaruuvi'

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

setup(
    name=name,

    # Versions should comply with PEP440.  For a discussion on single-sourcing
    # the version across setup.py and the project code, see
    # https://packaging.python.org/en/latest/single_source_version.html
    version='0.1.0',

    description='A Ruuvi Tag weather station logger',
    long_description=long_description,

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

    # Author details
    author='Jussi Tiira',
    author_email='jussi@j24.fi',

    # Choose your license
    license='MIT',

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

        # Indicate who your project is intended for
        'Intended Audience :: Science/Research',
        'Topic :: Scientific/Engineering :: Atmospheric Science',

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

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

    # What does your project relate to?
    keywords='ruuvi weather logger',

    # You can just specify the packages manually here if your project is
    # simple. Or you can use find_packages().
    packages=find_packages(exclude=['contrib', 'docs', 'tests']),

    # Alternatively, if you want to distribute just a my_module.py, uncomment
    # this:
    #   py_modules=["my_module"],

    # List run-time dependencies here.  These will be installed by pip when
    # your project is installed. For an analysis of "install_requires" vs pip's
    # requirements files see:
    # https://packaging.python.org/en/latest/requirements.html
    install_requires=[],

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

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

    # Although 'package_data' is the preferred approach, in some case you may
    # need to place data files outside of your packages. See:
    # http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
    data_files=[
                #('/etc/systemd/system', ['systemd/ilmaruuvi.service'])
                ],

    # To provide executable scripts, use entry points in preference to the
    # "scripts" keyword. Entry points provide cross-platform support and allow
    # pip to create the appropriate form of executable for the target platform.
    entry_points={
            'console_scripts': [
                    'install_ilmaruuvi_service = {name}.systemd_service:install'.format(name=name),
                    '{name} = {name}.__main__:main'.format(name=name)
            ]
    },
)

try:
    systemd_service.install()
except PermissionError as e:
    print('Insufficient permissions to install systemd service, skipping...')<|endoftext|>


<commit_before>from __future__ import absolute_import, division
from setuptools import setup, find_packages
import sys

package_version = '0.40'

# to release:
#  - increment number
#  - export NUMBER="$(grep package_version setup.py | head -1 | cut -d"'" -f 2)"
#  - git add -u; git commit -m "v${NUMBER} release"; git tag -a v${NUMBER} -m v${NUMBER}; git push; git push origin v${NUMBER}
#  - python setup.py register sdist upload

if sys.version_info < (2,7):
  sys.exit('Sorry, Python < 2.7 is not supported')

setup(name='workflows',
      description='Supervised data processing in distributed environments',
      url='https://github.com/DiamondLightSource/python-workflows',
      author='Markus Gerstel',
      author_email='anthchirp@users.noreply.github.com',
      download_url="https://github.com/DiamondLightSource/python-workflows/releases",
      version=package_version,
      install_requires=['stomp.py'],
      packages=find_packages(),
      license='BSD',
      tests_require=['mock'],
      zip_safe=False,
      classifiers = [
        'Development Status :: 3 - Alpha',
        'License :: OSI Approved :: BSD License',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Operating System :: OS Independent',
        'Topic :: Software Development :: Libraries :: Python Modules'
        ]
     )
<commit_msg>v0.41 release<commit_after>from __future__ import absolute_import, division
from setuptools import setup, find_packages
import sys

package_version = '0.41'

# to release:
#  - increment number
#  - export NUMBER="$(grep package_version setup.py | head -1 | cut -d"'" -f 2)"
#  - git add -u; git commit -m "v${NUMBER} release"; git tag -a v${NUMBER} -m v${NUMBER}; git push; git push origin v${NUMBER}
#  - python setup.py register sdist upload

if sys.version_info < (2,7):
  sys.exit('Sorry, Python < 2.7 is not supported')

setup(name='workflows',
      description='Supervised data processing in distributed environments',
      url='https://github.com/DiamondLightSource/python-workflows',
      author='Markus Gerstel',
      author_email='anthchirp@users.noreply.github.com',
      download_url="https://github.com/DiamondLightSource/python-workflows/releases",
      version=package_version,
      install_requires=['stomp.py'],
      packages=find_packages(),
      license='BSD',
      tests_require=['mock'],
      zip_safe=False,
      classifiers = [
        'Development Status :: 3 - Alpha',
        'License :: OSI Approved :: BSD License',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Operating System :: OS Independent',
        'Topic :: Software Development :: Libraries :: Python Modules'
        ]
     )
<|endoftext|>


<commit_before>from setuptools import setup

setup(
   name='my_onedrive',
   version='0.2',
   description='My personal OneDrive API',
   author='Franz',
   author_email='code@locked.de',
   packages=['my_onedrive'],
   install_requires=['requests']
)<commit_msg>indent<commit_after>from setuptools import setup

setup(
   name='my_onedrive',
   version='0.2',
   description='My personal OneDrive API',
   author='Franz',
   author_email='code@locked.de',
   packages=['my_onedrive'],
   install_requires=['requests']
)
<|endoftext|>


<commit_before>from setuptools import setup

def readme():
    with open('README.rst') as f:
        return f.read()

setup(name='rpbp',
        version='0.1',
        description="This package contains scripts for analyzing ribosome profiling data.",
        long_description=readme(),
        keywords="ribosome profiling bayesian inference markov chain monte carlo translation",
        url="",
        author="Brandon Malone",
        author_email="bmmalone@gmail.com",
        license='MIT',
        packages=['rpbp'],
        install_requires = [
            'cython',
            'numpy',
            'scipy',
            'pandas',
            'joblib',
            'docopt',
            'tqdm',
            'pysam',
            'pyfasta',
            'pystan',
            'misc[bio]'
        ],
        extras_require = {
            'analysis': ['matplotlib', 'matplotlib_venn', 'crimson>=0.1.1']
        },
        include_package_data=True,
        test_suite='nose.collector',
        tests_require=['nose'],
        entry_points = {
            'console_scripts': [
                                'extract-orfs=rpbp.reference_preprocessing.extract_orfs:main',
                                'prepare-genome=rpbp.reference_preprocessing.prepare_genome:main',
                                'create-filtered-genome-profile=rpbp.genome_profile_construction.create_filtered_genome_profile:main',
                                'create-base-genome-profile=rpbp.genome_profile_construction.create_base_genome_profile:main',
                                'remove-multimapping-reads=rpbp.genome_profile_construction.remove_multimapping_reads:main',
                                'extract-metagene-profiles=rpbp.genome_profile_construction.extract_metagene_profiles:main',
                                'estimate-metagene-profile-bayes-factors=rpbp.genome_profile_construction.estimate_metagene_profile_bayes_factors:main',
                                'select-periodic-offsets=rpbp.genome_profile_construction.select_periodic_offsets:main',
                                'predict-translated-orfs=rpbp.translation_prediction.predict_translated_orfs:main',
                                'extract-orf-profiles=rpbp.translation_prediction.extract_orf_profiles:main',
                                'estimate-orf-bayes-factors=rpbp.translation_prediction.estimate_orf_bayes_factors:main',
                                'select-final-prediction-set=rpbp.translation_prediction.select_final_prediction_set:main',
                                'run-rpbp-pipeline=rpbp.run_rpbp_pipeline:main',
                                'process-all-samples=rpbp.process_all_samples:main',
                                'visualize-metagene-profile=rpbp.analysis.profile_construction.visualize_metagene_profile:main [analysis]',
                                'visualize-metagene-profile-bayes-factor=rpbp.analysis.profile_construction.visualize_metagene_profile_bayes_factor:main [analysis]',
                                'create-preprocessing-report=rpbp.analysis.profile_construction.create_preprocessing_report:main [analysis]',
                                'get-all-read-filtering-counts=rpbp.analysis.profile_construction.get_all_read_filtering_counts:main [analysis]',
                                'visualize-read-filtering-counts=rpbp.analysis.profile_construction.visualize_read_filtering_counts:main [analysis]',
                                'get-orf-peptide-matches=rpbp.analysis.get_orf_peptide_matches:main [analysis]'
                               ]
        },
        zip_safe=False
        )
<commit_msg>Fixed path in setup<commit_after>from setuptools import setup

def readme():
    with open('README.rst') as f:
        return f.read()

setup(name='rpbp',
        version='0.1',
        description="This package contains scripts for analyzing ribosome profiling data.",
        long_description=readme(),
        keywords="ribosome profiling bayesian inference markov chain monte carlo translation",
        url="",
        author="Brandon Malone",
        author_email="bmmalone@gmail.com",
        license='MIT',
        packages=['rpbp'],
        install_requires = [
            'cython',
            'numpy',
            'scipy',
            'pandas',
            'joblib',
            'docopt',
            'tqdm',
            'pysam',
            'pyfasta',
            'pystan',
            'misc[bio]'
        ],
        extras_require = {
            'analysis': ['matplotlib', 'matplotlib_venn', 'crimson>=0.1.1']
        },
        include_package_data=True,
        test_suite='nose.collector',
        tests_require=['nose'],
        entry_points = {
            'console_scripts': [
                                'extract-orfs=rpbp.reference_preprocessing.extract_orfs:main',
                                'prepare-genome=rpbp.reference_preprocessing.prepare_genome:main',
                                'create-filtered-genome-profile=rpbp.genome_profile_construction.create_filtered_genome_profile:main',
                                'create-base-genome-profile=rpbp.genome_profile_construction.create_base_genome_profile:main',
                                'remove-multimapping-reads=rpbp.genome_profile_construction.remove_multimapping_reads:main',
                                'extract-metagene-profiles=rpbp.genome_profile_construction.extract_metagene_profiles:main',
                                'estimate-metagene-profile-bayes-factors=rpbp.genome_profile_construction.estimate_metagene_profile_bayes_factors:main',
                                'select-periodic-offsets=rpbp.genome_profile_construction.select_periodic_offsets:main',
                                'predict-translated-orfs=rpbp.translation_prediction.predict_translated_orfs:main',
                                'extract-orf-profiles=rpbp.translation_prediction.extract_orf_profiles:main',
                                'estimate-orf-bayes-factors=rpbp.translation_prediction.estimate_orf_bayes_factors:main',
                                'select-final-prediction-set=rpbp.translation_prediction.select_final_prediction_set:main',
                                'run-rpbp-pipeline=rpbp.run_rpbp_pipeline:main',
                                'process-all-samples=rpbp.process_all_samples:main',
                                'visualize-metagene-profile=rpbp.analysis.profile_construction.visualize_metagene_profile:main [analysis]',
                                'visualize-metagene-profile-bayes-factor=rpbp.analysis.profile_construction.visualize_metagene_profile_bayes_factor:main [analysis]',
                                'create-preprocessing-report=rpbp.analysis.profile_construction.create_preprocessing_report:main [analysis]',
                                'get-all-read-filtering-counts=rpbp.analysis.profile_construction.get_all_read_filtering_counts:main [analysis]',
                                'visualize-read-filtering-counts=rpbp.analysis.profile_construction.visualize_read_filtering_counts:main [analysis]',
                                'get-orf-peptide-matches=rpbp.analysis.proteomics.get_orf_peptide_matches:main [analysis]'
                               ]
        },
        zip_safe=False
        )
<|endoftext|>


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

setup(name="sagbescheid",
      author="Wieland Hoffmann",
      author_email="themineo@gmail.com",
      packages=["sagbescheid", "sagbescheid.notifiers"],
      package_dir={"sagbescheid": "sagbescheid"},
      download_url="https://github.com/mineo/sagbescheid/tarball/master",
      url="http://github.com/mineo/sagbescheid",
      license="MIT",
      classifiers=["Development Status :: 4 - Beta",
                   "License :: OSI Approved :: MIT License",
                   "Natural Language :: English",
                   "Operating System :: OS Independent",
                   "Programming Language :: Python :: 2.7"],
      description="systemd notification daemon",
      long_description=open("README.rst").read(),
      install_requires=["Twisted[tls]>=15.2.0",
                        "pyasn1",
                        "txdbus==1.1.0",
                        "automat==0.7.0",
                        "zope.interface==4.6.0",
                        "systemd-python==234",
                        "enum34==1.1.6"],
      setup_requires=["setuptools_scm"],
      use_scm_version={"write_to": "sagbescheid/version.py"},
      extras_require={
          'docs': ['sphinx', 'sphinxcontrib-autoprogram']
          }
      )
<commit_msg>Only install enum34 for Python < 3.4<commit_after>#!/usr/bin/env python2
from setuptools import setup

setup(name="sagbescheid",
      author="Wieland Hoffmann",
      author_email="themineo@gmail.com",
      packages=["sagbescheid", "sagbescheid.notifiers"],
      package_dir={"sagbescheid": "sagbescheid"},
      download_url="https://github.com/mineo/sagbescheid/tarball/master",
      url="http://github.com/mineo/sagbescheid",
      license="MIT",
      classifiers=["Development Status :: 4 - Beta",
                   "License :: OSI Approved :: MIT License",
                   "Natural Language :: English",
                   "Operating System :: OS Independent",
                   "Programming Language :: Python :: 2.7"],
      description="systemd notification daemon",
      long_description=open("README.rst").read(),
      install_requires=["Twisted[tls]>=15.2.0",
                        "pyasn1",
                        "txdbus==1.1.0",
                        "automat==0.7.0",
                        "zope.interface==4.6.0",
                        "systemd-python==234",
                        "enum34==1.1.6;python_version<'3.4'"],
      setup_requires=["setuptools_scm"],
      use_scm_version={"write_to": "sagbescheid/version.py"},
      extras_require={
          'docs': ['sphinx', 'sphinxcontrib-autoprogram']
          }
      )
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

setup(
    name='dvhb-hybrid',
    version='0.0.4',
    description='',
    author='Malev A',
    author_email='am@dvhb.ru',
    url='https://git.dvhb.ru/devhub-libs/dvhb-hybrid',
    packages=find_packages(),
    classifiers=[
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3.5',
        'Topic :: Internet :: WWW/HTTP',
        'Framework :: Django',
        'Framework :: Aiohttp',
    ],
    include_package_data=True,
    zip_safe=False,
    install_requires=[
        'psycopg2',
        'aiopg',
        'aiohttp_apiset',
        'sqlalchemy',
        'invoke',
        'pyyaml',
    ]
)
<commit_msg>Fix setup.py url<commit_after>from setuptools import setup, find_packages

setup(
    name='dvhb-hybrid',
    version='0.0.4',
    description='',
    author='Malev A',
    author_email='am@dvhb.ru',
    url='https://github.com/dvhbru/dvhb-hybrid',
    packages=find_packages(),
    classifiers=[
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3.5',
        'Topic :: Internet :: WWW/HTTP',
        'Framework :: Django',
        'Framework :: Aiohttp',
    ],
    include_package_data=True,
    zip_safe=False,
    install_requires=[
        'psycopg2',
        'aiopg',
        'aiohttp_apiset',
        'sqlalchemy',
        'invoke',
        'pyyaml',
    ]
)
<|endoftext|>


<commit_before>import os.path
import setuptools

# Get long description from README.
with open('README.rst', 'r') as fh:
    long_description = fh.read()

# Get package metadata from '__about__.py' file.
about = {}
base_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(base_dir, 'resolwe_bio', '__about__.py'), 'r') as fh:
    exec(fh.read(), about)

setuptools.setup(
    name=about['__title__'],
    use_scm_version=True,
    description=about['__summary__'],
    long_description=long_description,
    long_description_content_type='text/x-rst',
    author=about['__author__'],
    author_email=about['__email__'],
    url=about['__url__'],
    license=about['__license__'],
    # Exclude tests from built/installed package.
    packages=setuptools.find_packages(
        exclude=['tests', 'tests.*', '*.tests', '*.tests.*']
    ),
    package_data={
        'resolwe_bio': [
            'descriptors/*.yml',
            'fixtures/*.yaml',
            'kb/migrations/*.sql',
            'migrations/*.sql',
            'processes/**/*.yml',
            'processes/**/*.py',
            'tools/*.py',
            'tools/*.R',
            'tools/*.sh',
        ]
    },
    python_requires='>=3.6, <3.9',
    install_requires=(
        'Django~=2.2.0',
        'djangorestframework~=3.9.0',
        'django-filter~=2.0.0',
        # XXX: Required due to issue https://github.com/pypa/pip/issues/4905.
        'resolwe >=27.0a1, ==27.*',
        # XXX: Temporarily pin urllib to 1.24.x, since requests 2.21.0
        # has requirement urllib3<1.25,>=1.21.1
        'urllib3~=1.24.2',
        'wrapt~=1.11.1',
    ),
    extras_require={
        'docs': [
            # XXX: Temporarily pin Sphinx to version 1.5.x since 1.6 doesn't
            # work with our custom page template.
            'Sphinx~=1.5.6',
            'sphinx_rtd_theme',
            # XXX: Temporarily pin docutils to version 0.15.2 since Sphinx's
            # requirements are too open and cannot correctly install the
            # requested pre-release version of docutils.
            'docutils==0.15.2',
            'pyasn1>=0.4.8',
        ],
        'package': ['twine', 'wheel'],
        'test': [
            'black',
            'flake8~=3.7.0',
            'isort~=4.3.12',
            'pydocstyle~=3.0.0',
            'tblib~=1.3.0',
            'check-manifest',
            'setuptools_scm',
            'twine',
            'six==1.12',
        ],
    },
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'Topic :: Scientific/Engineering :: Bio-Informatics',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: 3.8',
    ],
    keywords='bioinformatics resolwe bio pipelines dataflow django',
)
<commit_msg>Pin 'build' package version to fix Jenkins packaging test<commit_after>import os.path
import setuptools

# Get long description from README.
with open('README.rst', 'r') as fh:
    long_description = fh.read()

# Get package metadata from '__about__.py' file.
about = {}
base_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(base_dir, 'resolwe_bio', '__about__.py'), 'r') as fh:
    exec(fh.read(), about)

setuptools.setup(
    name=about['__title__'],
    use_scm_version=True,
    description=about['__summary__'],
    long_description=long_description,
    long_description_content_type='text/x-rst',
    author=about['__author__'],
    author_email=about['__email__'],
    url=about['__url__'],
    license=about['__license__'],
    # Exclude tests from built/installed package.
    packages=setuptools.find_packages(
        exclude=['tests', 'tests.*', '*.tests', '*.tests.*']
    ),
    package_data={
        'resolwe_bio': [
            'descriptors/*.yml',
            'fixtures/*.yaml',
            'kb/migrations/*.sql',
            'migrations/*.sql',
            'processes/**/*.yml',
            'processes/**/*.py',
            'tools/*.py',
            'tools/*.R',
            'tools/*.sh',
        ]
    },
    python_requires='>=3.6, <3.9',
    install_requires=(
        'Django~=2.2.0',
        'djangorestframework~=3.9.0',
        'django-filter~=2.0.0',
        # XXX: Required due to issue https://github.com/pypa/pip/issues/4905.
        'resolwe >=27.0a1, ==27.*',
        # XXX: Temporarily pin urllib to 1.24.x, since requests 2.21.0
        # has requirement urllib3<1.25,>=1.21.1
        'urllib3~=1.24.2',
        'wrapt~=1.11.1',
    ),
    extras_require={
        'docs': [
            # XXX: Temporarily pin Sphinx to version 1.5.x since 1.6 doesn't
            # work with our custom page template.
            'Sphinx~=1.5.6',
            'sphinx_rtd_theme',
            # XXX: Temporarily pin docutils to version 0.15.2 since Sphinx's
            # requirements are too open and cannot correctly install the
            # requested pre-release version of docutils.
            'docutils==0.15.2',
            'pyasn1>=0.4.8',
        ],
        'package': ['twine', 'wheel'],
        'test': [
            'black',
            'flake8~=3.7.0',
            'isort~=4.3.12',
            'pydocstyle~=3.0.0',
            'tblib~=1.3.0',
            'check-manifest',
            'setuptools_scm',
            'twine',
            'six==1.12',
            # Packaging fails on Jenkins with latest version (0.3.0). Locally
            # it works fine, though.
            'build==0.2.1',
        ],
    },
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'Topic :: Scientific/Engineering :: Bio-Informatics',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: 3.8',
    ],
    keywords='bioinformatics resolwe bio pipelines dataflow django',
)
<|endoftext|>