<commit_before>#!/usr/bin/env python
import os, codecs
from setuptools import setup
from pip.req import parse_requirements

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

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

# parse_requirements() returns generator of pip.req.InstallRequirement objects
install_reqs = parse_requirements(os.path.join(here, 'requirements.txt'))

# reqs is a list of requirement spec strings
reqs = [str(ir.req) for ir in install_reqs]

setup(name='ctk-cli-indexer',
    version='0.1.dev3',
    description=('Python utilities for creating an ElasticSearch database '
                 'containing information on available CLI modules'),
    long_description=readme,
    license='Apache 2.0',
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Web Environment',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 2'
    ],
    author='Hans Meine, Jean-Christophe Fillion-Robin',
    author_email='hans_meine@gmx.net, jchris.fillionr@kitware.com',
    url='https://github.com/commontk/ctk-cli-indexer',
    install_requires=reqs,
    scripts=['cli_modules.py', 'cli_to_json.py', 'index_from_json.py'],
    package_data={
        '': ['requirements.txt'],
    },
    )
<commit_msg>remove ‚cli_modules.py‘ from scripts<commit_after>#!/usr/bin/env python
import os, codecs
from setuptools import setup
from pip.req import parse_requirements

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

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

# parse_requirements() returns generator of pip.req.InstallRequirement objects
install_reqs = parse_requirements(os.path.join(here, 'requirements.txt'))

# reqs is a list of requirement spec strings
reqs = [str(ir.req) for ir in install_reqs]

setup(name='ctk-cli-indexer',
    version='0.1.dev3',
    description=('Python utilities for creating an ElasticSearch database '
                 'containing information on available CLI modules'),
    long_description=readme,
    license='Apache 2.0',
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Web Environment',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 2'
    ],
    author='Hans Meine, Jean-Christophe Fillion-Robin',
    author_email='hans_meine@gmx.net, jchris.fillionr@kitware.com',
    url='https://github.com/commontk/ctk-cli-indexer',
    install_requires=reqs,
    scripts=['cli_to_json.py', 'index_from_json.py'],
    package_data={
        '': ['requirements.txt'],
    },
    )
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

from codecs import open
from os import path

from wmtexe.commands.configure import Configure
from wmtexe.commands.install import Install

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

def read(*names, **kwds):
    return open(
        path.join(_HERE, *names),
        encoding=kwds.get('encoding', 'utf-8')
    ).read()

def find_version(*file_paths):
    import re

    version_file = read(*file_paths)
    version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",
                              version_file, re.M)
    if version_match:
        return version_match.group(1)
    raise RuntimeError("Unable to find version string.")

setup(
    name='wmtexe',
    version=find_version("wmtexe/__init__.py"),
    description='WMT execution server.',
    long_description=read('README.md'),
    url='https://github.com/csdms/wmt-exe',

    author='Eric Hutton',
    author_email='hutton.eric@gmail.com',

    license='MIT',

    packages=['wmtexe', 'wmtexe.cmd', 'wmtexe.cmi'],

    entry_points={
        'console_scripts': [
            'wmt-slave=wmtexe.cmd.slave:main',
            'wmt-exe=wmtexe.cmd.exe:main',
            'wmt-get=wmtexe.cmd.get:main',
            'wmt-run=wmtexe.cmd.run:main',
            'wmt-audit=wmtexe.cmd.audit:main',
            'wmt-activate=wmtexe.cmd.activate:activate_main',
            'wmt-deactivate=wmtexe.cmd.activate:deactivate_main',
            'wmt-script=wmtexe.cmd.script:main',
            'wmt-quickstart=wmtexe.cmd.quickstart:main',
            'wmt-info=wmtexe.cmd.info:main',
            'cmi-make=wmtexe.cmi.make:main',
            'cmi-dup=wmtexe.cmi.dup:main',
            'cmi-fetch=wmtexe.cmi.fetch:main',
        ],
    },

    cmdclass={
        'configure': Configure,
        'install': Install,
    },
)
<commit_msg>Add classifiers to setup<commit_after>from setuptools import setup, find_packages

from codecs import open
from os import path

from wmtexe.commands.configure import Configure
from wmtexe.commands.install import Install

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

def read(*names, **kwds):
    return open(
        path.join(_HERE, *names),
        encoding=kwds.get('encoding', 'utf-8')
    ).read()

def find_version(*file_paths):
    import re

    version_file = read(*file_paths)
    version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",
                              version_file, re.M)
    if version_match:
        return version_match.group(1)
    raise RuntimeError("Unable to find version string.")

setup(
    name='wmtexe',
    version=find_version("wmtexe/__init__.py"),
    description='WMT execution server.',
    long_description=read('README.md'),
    url='https://github.com/csdms/wmt-exe',

    author='Eric Hutton',
    author_email='hutton.eric@gmail.com',

    license='MIT',

    packages=['wmtexe', 'wmtexe.cmd', 'wmtexe.cmi'],

    entry_points={
        'console_scripts': [
            'wmt-slave=wmtexe.cmd.slave:main',
            'wmt-exe=wmtexe.cmd.exe:main',
            'wmt-get=wmtexe.cmd.get:main',
            'wmt-run=wmtexe.cmd.run:main',
            'wmt-audit=wmtexe.cmd.audit:main',
            'wmt-activate=wmtexe.cmd.activate:activate_main',
            'wmt-deactivate=wmtexe.cmd.activate:deactivate_main',
            'wmt-script=wmtexe.cmd.script:main',
            'wmt-quickstart=wmtexe.cmd.quickstart:main',
            'wmt-info=wmtexe.cmd.info:main',
            'cmi-make=wmtexe.cmi.make:main',
            'cmi-dup=wmtexe.cmi.dup:main',
            'cmi-fetch=wmtexe.cmi.fetch:main',
        ],
    },

    cmdclass={
        'configure': Configure,
        'install': Install,
    },

    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 2.7',
    ],
)
<|endoftext|>


<commit_before>from setuptools import setup

__version__ = '0.0.1'

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

setup(name='plotlyhtmlexporter',
      version=__version__,
      use_2to3=False,
      author='Tarun G',
      author_email='tarun@plot.ly',
      maintainer='Tarun G',
      maintainer_email='tarun@plot.ly',
      url='https://plot.ly/ipython-notebooks/',
      description="Plotly friendly, Jupyter Notebook HTML Exporter.",
      long_description=readme(),
      classifiers=[
          'Development Status :: 4 - Beta',
          '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',
          'Topic :: Scientific/Engineering :: Visualization',
      ],
      license='MIT',
      packages=['plotlyhtmlexporter', ],
      install_requires=['nbconvert>=5.1.1',
                        'traitlets>=4.3.2'],
      zip_safe=False)
<commit_msg>Updated setup.py to add entry points.<commit_after>from setuptools import setup

__version__ = '0.0.1'

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

setup(name='plotlyhtmlexporter',
      version=__version__,
      use_2to3=False,
      author='Tarun G',
      author_email='tarun@plot.ly',
      maintainer='Tarun G',
      maintainer_email='tarun@plot.ly',
      url='https://plot.ly/ipython-notebooks/',
      description="Plotly friendly, Jupyter Notebook HTML Exporter.",
      long_description=readme(),
      classifiers=[
          'Development Status :: 4 - Beta',
          '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',
          'Topic :: Scientific/Engineering :: Visualization',
      ],
      license='MIT',
      packages=['plotlyhtmlexporter', ],
      install_requires=['nbconvert>=5.1.1',
                        'traitlets>=4.3.2'],
      zip_safe=False,
      entry_points={
          'nbconvert.exporters': [
            'plotlyhtml = plotlyhtmlexporter:PlotlyHTMLExporter',
          ],
      },
      )
<|endoftext|>


<commit_before>import os
import sys
import imp
import warnings
from distutils.core import setup

def generate_version():
    base_path, _ = os.path.split(__file__)
    module_path = os.path.join(base_path, "abusehelper", "core")

    module_info = imp.find_module("version", [module_path])
    version_module = imp.load_module("version", *module_info)

    version_module.generate(base_path)
    return version_module.version()

version = generate_version()
if version is None:
    sys.stderr("No version info available. Quitting.")
    sys.exit(1)
if not version.isdigit():
    warnings.warn("This is not a clean checkout (version %r)." % version)

setup(name="abusehelper",
      version="1.r"+version,
      packages=["abusehelper",
                "abusehelper.core",
                "abusehelper.thirdparty",
                "abusehelper.year3000",
                "idiokit"],
      data_files = [('share/examples/abusehelper',
	["example/config.ini",
	 "example/customers.ini"],
       ),
       ('share/examples/abusehelper/templates',
	 ["example/templates/dshield",
	 "example/templates/ircfeed"],
       )],
      description="A framework for receiving and redistributing Abuse Feeds",
      long_description="AbuseHelper is a modular, scalable and robust " + \
          "framework to help you in your abuse handling.",
      author="Clarified Networks",
      author_email="contact@clarifiednetworks.com",
      url="http://code.google.com/p/abusehelper",
      download_url="http://code.google.com/p/abusehelper/downloads/list",
      scripts=["scripts/abusehelperctl","scripts/roomreader"],
      license="MIT",
      classifiers=[
          "Development Status :: 4 - Beta",
          "Environment :: Other Environment",
          "Topic :: Internet",
          "Topic :: Security",
          "Intended Audience :: Information Technology",
          "Intended Audience :: Telecommunications Industry",
          "License :: Freely Distributable",
          "Programming Language :: Python"],
      )

if sys.argv[1] == 'install':

    ahgroup="abusehel"
    ahuser="abusehel"
    groupadd=""
    useradd="useradd %s" % (ahuser)

    if os.uname()[0] == 'OpenBSD':
	ahgroup="_abusehe"
	ahuser="_abusehe"
        groupadd="groupadd %s" % (ahgroup)
        useradd="useradd -m -g %s %s" % (ahgroup, ahuser)

    if not os.path.exists("/etc/abusehelper/"):
        #todo, rather check if the user actually exists.
        print 'To create abusehelper user and groups:\n' + \
            ' %s\n' % (groupadd) + \
            ' %s\n' % (useradd)

        print 'To create abusehelper config directory:\n' + \
            ' mkdir /etc/abusehelper\n' + \
            ' chown root:%s /etc/abusehelper\n' % (ahgroup) + \
            ' chmod 750 /etc/abusehelper'

        print '\nTo configure:\n' + \
            ' cp -r example/* /etc/abusehelper/\n' + \
            'And then edit config.ini and customers.ini in /etc/abusehelper/'

    if not os.path.exists("/var/log/abusehelper/"):
        print '\nTo create log directory:\n' +  \
            ' mkdir /var/log/abusehelper\n' + \
            ' chown %s:%s /var/log/abusehelper\n' % (ahuser, ahgroup) + \
            ' chmod 770 /var/log/abusehelper'

<commit_msg>Blind commit for setup.py instruction update.<commit_after>import os
import sys
import imp
import warnings
from distutils.core import setup

def generate_version():
    base_path, _ = os.path.split(__file__)
    module_path = os.path.join(base_path, "abusehelper", "core")

    module_info = imp.find_module("version", [module_path])
    version_module = imp.load_module("version", *module_info)

    version_module.generate(base_path)
    return version_module.version()

version = generate_version()
if version is None:
    sys.stderr("No version info available. Quitting.")
    sys.exit(1)
if not version.isdigit():
    warnings.warn("This is not a clean checkout (version %r)." % version)

setup(name="abusehelper",
      version="1.r"+version,
      packages=["abusehelper",
                "abusehelper.core",
                "abusehelper.thirdparty",
                "abusehelper.year3000",
                "idiokit"],
      data_files = [('share/examples/abusehelper',
	["example/config.ini",
	 "example/customers.ini"],
       ),
       ('share/examples/abusehelper/templates',
	 ["example/templates/dshield",
	 "example/templates/ircfeed"],
       )],
      description="A framework for receiving and redistributing Abuse Feeds",
      long_description="AbuseHelper is a modular, scalable and robust " + \
          "framework to help you in your abuse handling.",
      author="Clarified Networks",
      author_email="contact@clarifiednetworks.com",
      url="http://code.google.com/p/abusehelper",
      download_url="http://code.google.com/p/abusehelper/downloads/list",
      scripts=["scripts/abusehelperctl","scripts/roomreader"],
      license="MIT",
      classifiers=[
          "Development Status :: 4 - Beta",
          "Environment :: Other Environment",
          "Topic :: Internet",
          "Topic :: Security",
          "Intended Audience :: Information Technology",
          "Intended Audience :: Telecommunications Industry",
          "License :: Freely Distributable",
          "Programming Language :: Python"],
      )

if sys.argv[1] == 'install':

    ahgroup="abusehel"
    ahuser="abusehel"
    groupadd=""
    useradd="useradd %s" % (ahuser)

    if os.uname()[0] == 'OpenBSD':
	ahgroup="_abusehe"
	ahuser="_abusehe"
        groupadd="groupadd %s" % (ahgroup)
        useradd="useradd -m -g %s %s" % (ahgroup, ahuser)

    if not os.path.exists("/etc/abusehelper/"):
        #todo, rather check if the user actually exists.
        print 'To create abusehelper user and groups:\n' + \
            ' sudo %s\n' % (groupadd) + \
            ' sudo %s\n' % (useradd)

        print 'To create abusehelper config directory:\n' + \
            ' sudo mkdir /etc/abusehelper\n' + \
            ' sudo chown root:%s /etc/abusehelper\n' % (ahgroup) + \
            ' sudo chmod 750 /etc/abusehelper'

        print '\nTo configure:\n' + \
            ' sudo cp -r example/* /etc/abusehelper/\n' + \
            'And then edit config.ini and customers.ini in /etc/abusehelper/'

    if not os.path.exists("/var/log/abusehelper/"):
        print '\nTo create log directory:\n' +  \
            ' sudo mkdir /var/log/abusehelper\n' + \
            ' sudo chown %s:%s /var/log/abusehelper\n' % (ahuser, ahgroup) + \
            ' sudo chmod 770 /var/log/abusehelper'

<|endoftext|>


<commit_before>from setuptools import setup, find_packages
import glob

setup(
    name='realfast',
    description='Real-time data analysis at the VLA',
    author='Casey Law and the realfast team',
    author_email='caseyjlaw@gmail.com',
    version='3.3.8',
    url='http://realfast.io',
    include_package_data=True,
    packages=find_packages(),
    package_data={'realfast': ['xsd/*.xsd']},
    data_files=[('conf', glob.glob('conf/*'))],
#    scripts=['scripts/sdm_chop-n-serve.pl'],   # add non-python scripts
    install_requires=['rfpipe', 'evla_mcast', 'sdmpy', 'click', 'dask',
                      'elasticsearch', 'distributed', 'future'],
                      # 'rfgpu', 'vysmaw_reader'],
    entry_points='''
        [console_scripts]
        realfast=realfast.cli:cli
        realfast_portal=realfast.cli:cli2
'''
)
<commit_msg>version bump<commit_after>from setuptools import setup, find_packages
import glob

setup(
    name='realfast',
    description='Real-time data analysis at the VLA',
    author='Casey Law and the realfast team',
    author_email='caseyjlaw@gmail.com',
    version='3.3.9',
    url='http://realfast.io',
    include_package_data=True,
    packages=find_packages(),
    package_data={'realfast': ['xsd/*.xsd']},
    data_files=[('conf', glob.glob('conf/*'))],
#    scripts=['scripts/sdm_chop-n-serve.pl'],   # add non-python scripts
    install_requires=['rfpipe', 'evla_mcast', 'sdmpy', 'click', 'dask',
                      'elasticsearch', 'distributed', 'future'],
                      # 'rfgpu', 'vysmaw_reader'],
    entry_points='''
        [console_scripts]
        realfast=realfast.cli:cli
        realfast_portal=realfast.cli:cli2
'''
)
<|endoftext|>


<commit_before>import sys
from setuptools import setup, find_packages
import lazyconf

l = 'lazyconf/'
s = 'schema/'

setup(
    name='lazyconf',
    version='0.5.2',
    author='Fareed Dudhia',
    author_email='fareeddudhia@gmail.com',
    packages=find_packages(),
    package_data={"lazyconf": ['schema/' 'lazyconf/schema/*.json',]},
    include_package_data=True,
    py_modules=['lazyconf.lazyconf','lazyconf.console'],
    entry_points={
        'console_scripts': ['lazyconf = lazyconf.console:console',]},
    url='https://www.github.com/fmd/lazyconf',
    license='LICENSE.rst',
    description='Insultingly simple configuration for Python 2.7 applications.',
    long_description=open('README.rst').read(),
)
<commit_msg>updated setup<commit_after>import sys
from setuptools import setup, find_packages
import lazyconf

l = 'lazyconf/'
s = 'schema/'

setup(
    name='lazyconf',
    version='0.5.3',
    author='Fareed Dudhia',
    author_email='fareeddudhia@gmail.com',
    packages=find_packages(),
    package_data={"lazyconf": ['schema/' 'lazyconf/schema/*.json',]},
    include_package_data=True,
    py_modules=['lazyconf.lazyconf','lazyconf.console'],
    entry_points={
        'console_scripts': ['lazyconf = lazyconf.console:console',]},
    url='https://www.github.com/fmd/lazyconf',
    license='LICENSE.rst',
    description='Insultingly simple configuration for Python 2.7 applications.',
    long_description=open('README.rst').read(),
)
<|endoftext|>


<commit_before>import os
from setuptools import setup

# Utility function to read the README file.
# Used for the long_description.  It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(
    name = "Pykkelabels",
    version = "0.1.2",
    author = "Anders Brandt",
    author_email = "anderswb at gmail dot com",
    description = ("Provides access to the pakkelabels.dk web service."),
    license = "GPLv2",
    keywords = "pakke labels pakkelabels pakkelabels.dk",
    url = "https://github.com/anderswb/PykkeLabels",
    packages=['pykkelabels', 'test'],
    long_description=read('README.md'),
    package_data={'': ['README.md', 'test/reference_label.pdf']},
    classifiers=[
        "Development Status :: 4 - Beta",
        "Topic :: Utilities",
        "License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
    ],
)<commit_msg>removed unused package_data key<commit_after>import os
from setuptools import setup

# Utility function to read the README file.
# Used for the long_description.  It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
    return open(os.path.join(os.path.dirname(__file__), fname)).read()

setup(
    name = "Pykkelabels",
    version = "0.1.2",
    author = "Anders Brandt",
    author_email = "anderswb at gmail dot com",
    description = ("Provides access to the pakkelabels.dk web service."),
    license = "GPLv2",
    keywords = "pakke labels pakkelabels pakkelabels.dk",
    url = "https://github.com/anderswb/PykkeLabels",
    packages=['pykkelabels', 'test'],
    long_description=read('README.md'),
    classifiers=[
        "Development Status :: 4 - Beta",
        "Topic :: Utilities",
        "License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
    ],
)<|endoftext|>


<commit_before>import sys
from platform import system
from distutils.core import setup, Extension
import numpy

##
## compatibility checks
##
try: from exceptions import NotImplementedError
except ImportError: pass

if sys.version_info >= (3, 0):  # due to C extension wrapping
    raise NotImplementedError("Python 3.x is not supported.")

ostype = system()
if ostype != 'Linux' and ostype != 'Windows':
    raise NotImplementedError("Only Windows and Linux supported.")

##
## Platform dependant configuration
##
is_64bits = sys.maxsize > 2**32

## Windows 32bits
if ostype == 'Windows' and is_64bits == False:
    depthsensesdk_path = "C:\\Program Files (x86)\\SoftKinetic\\DepthSenseSDK\\"
    additional_include = './inc'
## Windows 64bits
elif ostype == 'Windows' and is_64bits == True:
    depthsensesdk_path = "C:\\Program Files\\SoftKinetic\\DepthSenseSDK\\"
    additional_include = './inc'
## Linux
elif ostype == 'Linux':
    depthsensesdk_path = "/opt/softkinetic/DepthSenseSDK/"
    additional_include = './'

modname = 'pydepthsense'
libnames = ['DepthSense']
sourcefiles = ['src/depthsense.cxx', 'src/initdepthsense.cxx']

module = Extension(modname,
    include_dirs = [numpy.get_include(), depthsensesdk_path+'include', additional_include],
    libraries = libnames,
    library_dirs = ['./lib', depthsensesdk_path+'lib'],
    sources = sourcefiles)

setup (name = 'pydepthsense',
        version = '1.0',
        description = 'Python wrapper for the Senz3d camera under Linux.',
        author = 'Antoine Loriette',
        url = 'https://github.com/toinsson/pysenz3d-linux',
        long_description = '''This wrapper provides the main functionality of the DS325, aka the
        Creative Senz3d camera. It is based on the Softkinetic demo code and was kicked started from
        the Github project of ...
        ''',
        ext_modules = [module])
<commit_msg>add compiler option to remove some MSVC warnings<commit_after>import sys
from platform import system
from distutils.core import setup, Extension
import numpy

##
## compatibility checks
##
try: from exceptions import NotImplementedError
except ImportError: pass

if sys.version_info >= (3, 0):  # due to C extension wrapping
    raise NotImplementedError("Python 3.x is not supported.")

ostype = system()
if ostype != 'Linux' and ostype != 'Windows':
    raise NotImplementedError("Only Windows and Linux supported.")

##
## Platform dependant configuration
##
is_64bits = sys.maxsize > 2**32

## Windows 32bits
if ostype == 'Windows' and is_64bits == False:
    depthsensesdk_path = "C:\\Program Files (x86)\\SoftKinetic\\DepthSenseSDK\\"
    additional_include = './inc'
    compile_args = ['/EHsc']
## Windows 64bits
elif ostype == 'Windows' and is_64bits == True:
    depthsensesdk_path = "C:\\Program Files\\SoftKinetic\\DepthSenseSDK\\"
    additional_include = './inc'
    compile_args = ['/EHsc']
## Linux
elif ostype == 'Linux':
    depthsensesdk_path = "/opt/softkinetic/DepthSenseSDK/"
    additional_include = './'
    compile_args = []

modname = 'pydepthsense'
libnames = ['DepthSense']
sourcefiles = ['src/depthsense.cxx', 'src/initdepthsense.cxx']

module = Extension(modname,
    include_dirs = [numpy.get_include(), depthsensesdk_path+'include', additional_include],
    libraries = libnames,
    library_dirs = ['./lib', depthsensesdk_path+'lib'],
    extra_compile_args = compile_args,
    sources = sourcefiles)

setup (name = 'pydepthsense',
        version = '1.0',
        description = 'Python wrapper for the Senz3d camera under Linux.',
        author = 'Antoine Loriette',
        url = 'https://github.com/toinsson/pysenz3d-linux',
        long_description = '''This wrapper provides the main functionality of the DS325, aka the
        Creative Senz3d camera. It is based on the Softkinetic demo code and was kicked started from
        the Github project of ...
        ''',
        ext_modules = [module])
<|endoftext|>


<commit_before>from setuptools import find_packages, setup

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

setup(
    name='agate',
    version='1.6.2',
    description='A data analysis library that is optimized for humans instead of machines.',
    long_description=long_description,
    long_description_content_type='text/x-rst',
    author='Christopher Groskopf',
    author_email='chrisgroskopf@gmail.com',
    url='http://agate.readthedocs.org/',
    license='MIT',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Framework :: IPython',
        'Intended Audience :: Developers',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: 3.8',
        'Programming Language :: Python :: 3.9',
        'Programming Language :: Python :: Implementation :: CPython',
        'Programming Language :: Python :: Implementation :: PyPy',
        'Topic :: Scientific/Engineering :: Information Analysis',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ],
    packages=find_packages(exclude=['benchmarks', 'tests', 'tests.*']),
    install_requires=[
        'Babel>=2.0',
        'isodate>=0.5.4',
        'leather>=0.3.2',
        'parsedatetime>=2.1,!=2.5',
        'python-slugify>=1.2.1',
        'pytimeparse>=1.1.5',
        'six>=1.9.0',
    ],
    extras_require={
        'test': [
            'coverage>=3.7.1',
            'cssselect>=0.9.1',
            'lxml>=3.6.0',
            'nose>=1.1.2',
            'PyICU>=2.4.2;python_version>"2",sys_platform=="linux"',
            'pytz>=2015.4',
            'mock>=1.3.0;python_version<"3"',
        ],
        'docs': [
            'Sphinx>=1.2.2',
            'sphinx_rtd_theme>=0.1.6',
        ],
    }
)
<commit_msg>build: Fix version specifier<commit_after>from setuptools import find_packages, setup

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

setup(
    name='agate',
    version='1.6.2',
    description='A data analysis library that is optimized for humans instead of machines.',
    long_description=long_description,
    long_description_content_type='text/x-rst',
    author='Christopher Groskopf',
    author_email='chrisgroskopf@gmail.com',
    url='http://agate.readthedocs.org/',
    license='MIT',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Framework :: IPython',
        'Intended Audience :: Developers',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: 3.8',
        'Programming Language :: Python :: 3.9',
        'Programming Language :: Python :: Implementation :: CPython',
        'Programming Language :: Python :: Implementation :: PyPy',
        'Topic :: Scientific/Engineering :: Information Analysis',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ],
    packages=find_packages(exclude=['benchmarks', 'tests', 'tests.*']),
    install_requires=[
        'Babel>=2.0',
        'isodate>=0.5.4',
        'leather>=0.3.2',
        'parsedatetime>=2.1,!=2.5',
        'python-slugify>=1.2.1',
        'pytimeparse>=1.1.5',
        'six>=1.9.0',
    ],
    extras_require={
        'test': [
            'coverage>=3.7.1',
            'cssselect>=0.9.1',
            'lxml>=3.6.0',
            'nose>=1.1.2',
            'PyICU>=2.4.2;python_version>"2" and sys_platform=="linux"',
            'pytz>=2015.4',
            'mock>=1.3.0;python_version<"3"',
        ],
        'docs': [
            'Sphinx>=1.2.2',
            'sphinx_rtd_theme>=0.1.6',
        ],
    }
)
<|endoftext|>


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

from setuptools import setup, find_packages

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

setup(
    name='heuristic_optimization',
    version='0.4.1',
    description='Heuristics for derivative-free optimization',
    long_description=readme,

    url='https://github.com/tjanson/heuristic_optimization',
    author='Tom Janson',
    author_email='tom.janson@rwth-aachen.de',

    license='MIT',

    packages=find_packages(exclude=['examples', 'tests']),

    install_requires=['numpy'],

    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.6',
        'Topic :: Scientific/Engineering',
    ],
)
<commit_msg>vbump<commit_after>#!/usr/bin/env python

from setuptools import setup, find_packages

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

setup(
    name='heuristic_optimization',
    version='0.4.2',
    description='Heuristics for derivative-free optimization',
    long_description=readme,

    url='https://github.com/tjanson/heuristic_optimization',
    author='Tom Janson',
    author_email='tom.janson@rwth-aachen.de',

    license='MIT',

    packages=find_packages(exclude=['examples', 'tests']),

    install_requires=['numpy'],

    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Science/Research',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.6',
        'Topic :: Scientific/Engineering',
    ],
)
<|endoftext|>


<commit_before>__doc__ = """
Manipulate audio with an simple and easy high level interface.

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

from setuptools import setup

setup(
    name='pydub',
    version='0.16.3',
    author='James Robert',
    author_email='jiaaro@gmail.com',
    description='Manipulate audio with an simple and easy high level interface',
    license='MIT',
    keywords='audio sound high-level',
    url='http://pydub.com',
    packages=['pydub'],
    long_description=__doc__,
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent',
        "Topic :: Multimedia :: Sound/Audio",
        "Topic :: Multimedia :: Sound/Audio :: Analysis",
        "Topic :: Multimedia :: Sound/Audio :: Conversion",
        "Topic :: Multimedia :: Sound/Audio :: Editors",
        "Topic :: Multimedia :: Sound/Audio :: Mixers",
        "Topic :: Software Development :: Libraries",
        'Topic :: Utilities',
    ]
)
<commit_msg>Increment version for 24-bit wav bug fix<commit_after>__doc__ = """
Manipulate audio with an simple and easy high level interface.

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

from setuptools import setup

setup(
    name='pydub',
    version='0.16.4',
    author='James Robert',
    author_email='jiaaro@gmail.com',
    description='Manipulate audio with an simple and easy high level interface',
    license='MIT',
    keywords='audio sound high-level',
    url='http://pydub.com',
    packages=['pydub'],
    long_description=__doc__,
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent',
        "Topic :: Multimedia :: Sound/Audio",
        "Topic :: Multimedia :: Sound/Audio :: Analysis",
        "Topic :: Multimedia :: Sound/Audio :: Conversion",
        "Topic :: Multimedia :: Sound/Audio :: Editors",
        "Topic :: Multimedia :: Sound/Audio :: Mixers",
        "Topic :: Software Development :: Libraries",
        'Topic :: Utilities',
    ]
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

setup(
    name='django-recaptcha',
    version='0.0.5',
    description='Django recaptcha form field/widget app.',
    long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(),
    author='Praekelt Foundation',
    author_email='dev@praekelt.com',
    license='BSD',
    url='http://github.com/praekelt/django-recaptcha',
    packages = find_packages(),
    tests_require=[
        'django-setuptest>=0.0.6',
    ],
    test_suite="setuptest.setuptest.SetupTestSuite",
    include_package_data=True,
    classifiers = [
        "Programming Language :: Python",
        "License :: OSI Approved :: BSD License",
        "Development Status :: 4 - Beta",
        "Operating System :: OS Independent",
        "Framework :: Django",
        "Intended Audience :: Developers",
        "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
    ],
    zip_safe=False,
)
<commit_msg>Bumped version number.<commit_after>from setuptools import setup, find_packages

setup(
    name='django-recaptcha',
    version='0.0.6',
    description='Django recaptcha form field/widget app.',
    long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(),
    author='Praekelt Foundation',
    author_email='dev@praekelt.com',
    license='BSD',
    url='http://github.com/praekelt/django-recaptcha',
    packages = find_packages(),
    tests_require=[
        'django-setuptest>=0.0.6',
    ],
    test_suite="setuptest.setuptest.SetupTestSuite",
    include_package_data=True,
    classifiers = [
        "Programming Language :: Python",
        "License :: OSI Approved :: BSD License",
        "Development Status :: 4 - Beta",
        "Operating System :: OS Independent",
        "Framework :: Django",
        "Intended Audience :: Developers",
        "Topic :: Internet :: WWW/HTTP :: Dynamic Content",
    ],
    zip_safe=False,
)
<|endoftext|>


<commit_before>"""
Verktyg Server
==============

Simple WSGI server.
"""
from setuptools import setup, find_packages

extras_require = {
    'SSL': [
        'cryptography',
        'pyOpenSSL'
    ]
}

setup(
    name='verktyg-server',
    version='0.0.1',
    url='https://github.com/bwhmather/verktyg-server',
    license='BSD',
    author='Ben Mather',
    author_email='bwhmather@bwhmather.com',
    description='Simple wsgi server',
    long_description=__doc__,
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 3',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ],
    platforms='any',
    install_requires=[
        'verktyg >= 0.8, < 0.9',
    ],
    tests_require=[
        test for extra in {'SSL'} for test in extras_require[extra]
    ],
    extras_require=extras_require,
    packages=find_packages(),
    entry_points={
        'console_scripts': [
            'verktyg-server=verktyg_server:main',
        ],
    },
    include_package_data=True,
    test_suite='verktyg_server.tests.suite',
)
<commit_msg>bump version to 0.1.0<commit_after>"""
Verktyg Server
==============

Simple WSGI server.
"""
from setuptools import setup, find_packages

extras_require = {
    'SSL': [
        'cryptography',
        'pyOpenSSL'
    ]
}

setup(
    name='verktyg-server',
    version='0.1.0',
    url='https://github.com/bwhmather/verktyg-server',
    license='BSD',
    author='Ben Mather',
    author_email='bwhmather@bwhmather.com',
    description='Simple wsgi server',
    long_description=__doc__,
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 3',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ],
    platforms='any',
    install_requires=[
        'verktyg >= 0.8, < 0.9',
    ],
    tests_require=[
        test for extra in {'SSL'} for test in extras_require[extra]
    ],
    extras_require=extras_require,
    packages=find_packages(),
    entry_points={
        'console_scripts': [
            'verktyg-server=verktyg_server:main',
        ],
    },
    include_package_data=True,
    test_suite='verktyg_server.tests.suite',
)
<|endoftext|>


<commit_before>from distutils.core import setup
from distutils.extension import Extension

ext_files = ["src/mmapbitarray.c",
             "src/bloomfilter.c",
             "src/primetester.c",
             ]

kwargs = {}

try:
    from Cython.Distutils import build_ext
    print "Building from Cython"
    ext_files.append("src/pybloomfilter.pyx")
    kwargs['cmdclass'] = {'build_ext': build_ext}
except ImportError:
    ext_files.append("src/pybloomfilter.c")
    print "Building from C"

ext_modules = [Extension("pybloomfilter",
                         ext_files)]

setup(
  name = 'pybloomfiltermmap',
  version = "0.1.12",
  author = "Michael Axiak",
  author_email = "mike@axiak.net",
  url = "http://code.google.com/p/python-bloom-filter/",
  description = "A Bloom filter for Python built on mmap",
  license = "MIT License",
  ext_modules = ext_modules,
  **kwargs
)

<commit_msg>Added github URL<commit_after>from distutils.core import setup
from distutils.extension import Extension

ext_files = ["src/mmapbitarray.c",
             "src/bloomfilter.c",
             "src/primetester.c",
             ]

kwargs = {}

try:
    from Cython.Distutils import build_ext
    print "Building from Cython"
    ext_files.append("src/pybloomfilter.pyx")
    kwargs['cmdclass'] = {'build_ext': build_ext}
except ImportError:
    ext_files.append("src/pybloomfilter.c")
    print "Building from C"

ext_modules = [Extension("pybloomfilter",
                         ext_files)]

setup(
  name = 'pybloomfiltermmap',
  version = "0.1.12",
  author = "Michael Axiak",
  author_email = "mike@axiak.net",
  url = "http://github.com/axiak/pybloomfiltermmap/",
  description = "A Bloom filter for Python built on mmap",
  license = "MIT License",
  ext_modules = ext_modules,
  **kwargs
)

<|endoftext|>


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

setup(
    name='putio.py',
    version='1.0',
    author=u'Cenk Altı',
    url='http://github.com/cenkalti/putio.py',
    # packages=['putio2'],
    py_modules=['putio'],
    include_package_data=True,
    zip_safe=False,
    platforms='any',
    install_requires=['requests', 'iso8601'],
)
<commit_msg>add author mail<commit_after># -*- coding: utf-8 -*-
from setuptools import setup

setup(
    name='putio.py',
    version='1.0',
    author=u'Cenk Altı',
    author_email='cenkalti@gmail.com',
    url='http://github.com/cenkalti/putio.py',
    py_modules=['putio'],
    include_package_data=True,
    zip_safe=False,
    platforms='any',
    install_requires=['requests', 'iso8601'],
)
<|endoftext|>


<commit_before>from distutils.core import setup
import sys
import os

if sys.argv[-1] == 'publish':
    os.system('python setup.py sdist upload')
    sys.exit()

setup(
    name='AfricastalkingGateway',
    version='1.2',
    description='An Official Python library for communicating with the AfricasTalking REST API',
    author='Ian Juma',
    author_email='ijuma@africastalking.com',
    url='https://github.com/AfricasTalkingLtd/africastalking-python',
    download_url='https://codeload.github.com/AfricasTalkingLtd/africastalking-python/tar.gz/1.2',
    keywords=['ussd', 'voice', 'sms', 'mpesa', 'payments', 'africastalking'],
    classifiers=[],
)
<commit_msg>setup file update<commit_after>from distutils.core import setup
import sys
import os

if sys.argv[-1] == 'publish':
    os.system('python setup.py sdist upload')
    sys.exit()

setup(
    name='AfricastalkingGateway',
    version='1.3',
    description='An Official Python library for communicating with the AfricasTalking REST API',
    author='Ian Juma',
    author_email='ijuma@africastalking.com',
    url='https://github.com/AfricasTalkingLtd/africastalking-python',
    download_url='https://codeload.github.com/AfricasTalkingLtd/africastalking-python/tar.gz/1.3',
    keywords=['ussd', 'voice', 'sms', 'mpesa', 'payments', 'africastalking'],
    classifiers=[],
)
<|endoftext|>


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

from setuptools import setup

_version = "1.0.1"

setup(
    name="csvtotable",
    version=_version,
    description="Simple commandline utility to convert CSV files"
    "to searchable and sortable HTML table.",
    author="Vivek R",
    author_email="vividvilla@gmail.com",
    url="https://github.com/vividvilla/csvtotable",
    packages=["csvtotable"],
    include_package_data=True,
    download_url="https://github.com/vividvilla/csvtotable/archive/{}.tar.gz"
        .format(_version),
    license="MIT",
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "Programming Language :: Python",
        "Natural Language :: English",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 2.6",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3.3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Topic :: Software Development :: Libraries :: Python Modules",
        "Topic :: Software Development :: Libraries"
    ],
    install_requires=["click", "jinja2", "backports.csv"],
    entry_points={
        "console_scripts": [
            "csvtotable = csvtotable.cli:cli",
            ]
    }
)
<commit_msg>Bump version to 1.0.2<commit_after>#!/usr/bin/env python

from setuptools import setup

_version = "1.0.2"

setup(
    name="csvtotable",
    version=_version,
    description="Simple commandline utility to convert CSV files"
    "to searchable and sortable HTML table.",
    author="Vivek R",
    author_email="vividvilla@gmail.com",
    url="https://github.com/vividvilla/csvtotable",
    packages=["csvtotable"],
    include_package_data=True,
    download_url="https://github.com/vividvilla/csvtotable/archive/{}.tar.gz"
        .format(_version),
    license="MIT",
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Developers",
        "Programming Language :: Python",
        "Natural Language :: English",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 2.6",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3.3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Topic :: Software Development :: Libraries :: Python Modules",
        "Topic :: Software Development :: Libraries"
    ],
    install_requires=["click", "jinja2", "backports.csv"],
    entry_points={
        "console_scripts": [
            "csvtotable = csvtotable.cli:cli",
            ]
    }
)
<|endoftext|>


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

install_requires = [
    "Jinja2>=2.8",
    "boto>=2.36.0",
    "boto3>=1.2.1",
    "cookies",
    "cryptography>=2.0.0",
    "requests>=2.5",
    "xmltodict",
    "dicttoxml",
    "six>1.9",
    "werkzeug",
    "pyaml",
    "pytz",
    "python-dateutil<3.0.0,>=2.1",
    "mock",
    "docker>=2.5.1"
]

extras_require = {
    'server': ['flask'],
}

# https://hynek.me/articles/conditional-python-dependencies/
if int(setuptools.__version__.split(".", 1)[0]) < 18:
    if sys.version_info[0:2] < (3, 3):
        install_requires.append("backports.tempfile")
else:
    extras_require[":python_version<'3.3'"] = ["backports.tempfile"]

setup(
    name='moto',
    version='1.1.19',
    description='A library that allows your python tests to easily'
                ' mock out the boto library',
    author='Steve Pulec',
    author_email='spulec@gmail.com',
    url='https://github.com/spulec/moto',
    entry_points={
        'console_scripts': [
            'moto_server = moto.server:main',
        ],
    },
    packages=find_packages(exclude=("tests", "tests.*")),
    install_requires=install_requires,
    extras_require=extras_require,
    include_package_data=True,
    license="Apache",
    test_suite="tests",
    classifiers=[
        "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",
        "License :: OSI Approved :: Apache Software License",
        "Topic :: Software Development :: Testing",
    ],
)
<commit_msg>bumping to version 1.1.20<commit_after>#!/usr/bin/env python
from __future__ import unicode_literals
import setuptools
from setuptools import setup, find_packages
import sys

install_requires = [
    "Jinja2>=2.8",
    "boto>=2.36.0",
    "boto3>=1.2.1",
    "cookies",
    "cryptography>=2.0.0",
    "requests>=2.5",
    "xmltodict",
    "dicttoxml",
    "six>1.9",
    "werkzeug",
    "pyaml",
    "pytz",
    "python-dateutil<3.0.0,>=2.1",
    "mock",
    "docker>=2.5.1"
]

extras_require = {
    'server': ['flask'],
}

# https://hynek.me/articles/conditional-python-dependencies/
if int(setuptools.__version__.split(".", 1)[0]) < 18:
    if sys.version_info[0:2] < (3, 3):
        install_requires.append("backports.tempfile")
else:
    extras_require[":python_version<'3.3'"] = ["backports.tempfile"]

setup(
    name='moto',
    version='1.1.20',
    description='A library that allows your python tests to easily'
                ' mock out the boto library',
    author='Steve Pulec',
    author_email='spulec@gmail.com',
    url='https://github.com/spulec/moto',
    entry_points={
        'console_scripts': [
            'moto_server = moto.server:main',
        ],
    },
    packages=find_packages(exclude=("tests", "tests.*")),
    install_requires=install_requires,
    extras_require=extras_require,
    include_package_data=True,
    license="Apache",
    test_suite="tests",
    classifiers=[
        "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",
        "License :: OSI Approved :: Apache Software License",
        "Topic :: Software Development :: Testing",
    ],
)
<|endoftext|>


<commit_before>from setuptools import setup

setup(
      name='dreaml',
      version='0.0.1',
      author = 'Zico Kolter, Eric Wong, Terrence Wong',
      author_email = 'zkolter@cs.cmu.edu, ericwong@cs.cmu.edu, tw@andrew.cmu.edu',
      packages = ['dreaml',
                  'dreaml',
                  'dreaml.dataframe',
                  'dreaml.transformations',
                  'dreaml.frontend'],
      package_dir = {'dreaml': 'dreaml'},
      url="http://www.bitbucket.org",
      install_requires = ["networkx >= 1.9.1",
                          "numpy >= 1.9.2",
                          "scipy >= 0.15.1",
                          "pandas >= 0.16.2"],
      )

<commit_msg>removed pandas dependency for now to get readthedocs working<commit_after>from setuptools import setup

setup(
      name='dreaml',
      version='0.0.1',
      author = 'Zico Kolter, Eric Wong, Terrence Wong',
      author_email = 'zkolter@cs.cmu.edu, ericwong@cs.cmu.edu, tw@andrew.cmu.edu',
      packages = ['dreaml',
                  'dreaml',
                  'dreaml.dataframe',
                  'dreaml.transformations',
                  'dreaml.frontend'],
      package_dir = {'dreaml': 'dreaml'},
      url="http://www.bitbucket.org",
      install_requires = ["networkx >= 1.9.1",
                          "numpy >= 1.9.2",
                          "scipy >= 0.15.1"],
                          # "pandas >= 0.16.2"],
      )

<|endoftext|>


<commit_before>import subprocess
from setuptools import setup, find_packages

LONG_DESCRIPTION = """
Serves up pandas dataframes via the Django REST Framework for client-side (i.e. d3.js) visualizations
"""

def parse_markdown_readme():
    """
    Convert README.md to RST via pandoc, and load into memory
    (fallback to LONG_DESCRIPTION on failure)
    """
    try:
        subprocess.call(
            ['pandoc', '-t', 'rst', '-o', 'README.rst', 'README.md']
        )
    except OSError:
        return LONG_DESCRIPTION

    # Attempt to load output
    try:
        readme = open('README.rst')
    except IOError:
        return LONG_DESCRIPTION
    else:
        return readme.read()

setup(
    name='rest-pandas',
    version='0.4.0',
    author='S. Andrew Sheppard',
    author_email='andrew@wq.io',
    url='https://github.com/wq/django-rest-pandas',
    license='MIT',
    packages=['rest_pandas'],
    description=LONG_DESCRIPTION.strip(),
    long_description=parse_markdown_readme(),
    install_requires=[
        'djangorestframework>=2.3.12',
        'pandas>=0.13.0',
    ],
    classifiers=[
        'Framework :: Django',
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Topic :: Scientific/Engineering :: Information Analysis',
        'Topic :: Scientific/Engineering :: Visualization',
    ],
    test_suite='tests',
    tests_require=['wq.io>=0.6.0', 'xlwt-future', 'openpyxl<2.0.0'],
)
<commit_msg>updated setup.py<commit_after>import subprocess
from setuptools import setup, find_packages

LONG_DESCRIPTION = """
Serves up pandas dataframes via the Django REST Framework for client-side
(i.e. d3.js) visualizations
"""

def parse_markdown_readme():
    """
    Convert README.md to RST via pandoc, and load into memory
    (fallback to LONG_DESCRIPTION on failure)
    """
    try:
        subprocess.call(
            ['pandoc', '-t', 'rst', '-o', 'README.rst', 'README.md']
        )
    except OSError:
        return LONG_DESCRIPTION

    # Attempt to load output
    try:
        readme = open('README.rst')
    except IOError:
        return LONG_DESCRIPTION
    else:
        return readme.read()

setup(
    name='rest-pandas',
    version='0.4.0',
    author='S. Andrew Sheppard',
    author_email='andrew@wq.io',
    url='https://github.com/wq/django-rest-pandas',
    license='MIT',
    packages=['rest_pandas'],
    description=LONG_DESCRIPTION.strip(),
    long_description=parse_markdown_readme(),
    install_requires=[
        'djangorestframework>=3.3.1',
        'pandas>=0.18.0',
    ],
    classifiers=[
        'Framework :: Django',
        'Development Status :: 5 - Production/Stable',
        'Environment :: Web Environment',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Topic :: Scientific/Engineering :: Information Analysis',
        'Topic :: Scientific/Engineering :: Visualization',
    ],
    test_suite='tests',
    tests_require=['wq.io>=0.6.0', 'xlwt-future', 'openpyxl<2.0.0'],
)
<|endoftext|>


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

# Hive Netius System
# Copyright (C) 2008-2012 Hive Solutions Lda.
#
# This file is part of Hive Netius System.
#
# Hive Netius System is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Hive Netius System is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Hive Netius System. If not, see <http://www.gnu.org/licenses/>.

__author__ = "João Magalhães <joamag@hive.pt>"
""" The author(s) of the module """

__version__ = "1.0.0"
""" The version of the module """

__revision__ = "$LastChangedRevision$"
""" The revision number of the module """

__date__ = "$LastChangedDate$"
""" The last change date of the module """

__copyright__ = "Copyright (c) 2008-2012 Hive Solutions Lda."
""" The copyright for the module """

__license__ = "GNU General Public License (GPL), Version 3"
""" The license for the module """

import os
import glob
import setuptools

setuptools.setup(
    name = "netius",
    version = "0.9.6",
    author = "Hive Solutions Lda.",
    author_email = "development@hive.pt",
    description = "Netius System",
    license = "GNU General Public License (GPL), Version 3",
    keywords = "netius net infrastructure",
    url = "http://netius.com",
    zip_safe = False,
    packages = [
        "netius",
        "netius.base",
        "netius.clients",
        "netius.common",
        "netius.extra",
        "netius.servers"
    ],
    package_dir = {
        "" : os.path.normpath("src")
    },
    package_data = {
        "netius" : ["base/extras/*", "servers/extras/*"]
    },
    classifiers = [
        "Development Status :: 3 - Alpha",
        "Topic :: Utilities",
        "License :: OSI Approved :: GNU General Public License (GPL)",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2.6",
        "Programming Language :: Python :: 2.7"
    ]
)
<commit_msg>new adapters package<commit_after>#!/usr/bin/python
# -*- coding: utf-8 -*-

# Hive Netius System
# Copyright (C) 2008-2012 Hive Solutions Lda.
#
# This file is part of Hive Netius System.
#
# Hive Netius System is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Hive Netius System is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with Hive Netius System. If not, see <http://www.gnu.org/licenses/>.

__author__ = "João Magalhães <joamag@hive.pt>"
""" The author(s) of the module """

__version__ = "1.0.0"
""" The version of the module """

__revision__ = "$LastChangedRevision$"
""" The revision number of the module """

__date__ = "$LastChangedDate$"
""" The last change date of the module """

__copyright__ = "Copyright (c) 2008-2012 Hive Solutions Lda."
""" The copyright for the module """

__license__ = "GNU General Public License (GPL), Version 3"
""" The license for the module """

import os
import glob
import setuptools

setuptools.setup(
    name = "netius",
    version = "0.9.6",
    author = "Hive Solutions Lda.",
    author_email = "development@hive.pt",
    description = "Netius System",
    license = "GNU General Public License (GPL), Version 3",
    keywords = "netius net infrastructure",
    url = "http://netius.com",
    zip_safe = False,
    packages = [
        "netius",
        "netius.adapters",
        "netius.base",
        "netius.clients",
        "netius.common",
        "netius.extra",
        "netius.servers"
    ],
    package_dir = {
        "" : os.path.normpath("src")
    },
    package_data = {
        "netius" : ["base/extras/*", "servers/extras/*"]
    },
    classifiers = [
        "Development Status :: 3 - Alpha",
        "Topic :: Utilities",
        "License :: OSI Approved :: GNU General Public License (GPL)",
        "Operating System :: OS Independent",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2.6",
        "Programming Language :: Python :: 2.7"
    ]
)
<|endoftext|>


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

import os

try:
    import pkg_resources
    from setuptools import setup, Command, find_packages
    _have_setuptools = True
except:
    from distutils.core import setup, Command
    _have_setuptools = False

setup_kwargs = {}
setup_kwargs[ 'setup_requires' ] = [ 'numpy>=1.9.2', 'cython>=0.20.1' ]
setup_kwargs[ 'install_requires' ] = [ 'numpy>=1.9.2',
        'cython>=0.20.1',
        'matplotlib>=1.4.3',
        'loprop>=0.1.8',
        'applequist>=0.1',
        ]

setup(name="moltools",
    version="v0.3.1",
    packages = find_packages(),
    #package_dir = { '' : 'moltools' },
    scripts=[ "moltools/pdbreader.py", ],
    author="Ignat Harczuk",
    author_email="harczuk@kth.se",
    license = 'MIT',
    description = 'Running point dipole calculations on chemical systems',
    platforms = 'Linux',
    maintainer = 'Ignat Harczuk',
    maintainer_email = 'ignathe@gmail.com',
    url = 'https://github.org/fishstamp82/moltools.git',
    **setup_kwargs
    )
<commit_msg>update 1.1.2<commit_after>#!/usr/bin/env python

import os

try:
    import pkg_resources
    from setuptools import setup, Command, find_packages
    _have_setuptools = True
except:
    from distutils.core import setup, Command
    _have_setuptools = False

setup_kwargs = {}
setup_kwargs[ 'setup_requires' ] = [ 'numpy>=1.9.2', 'cython>=0.20.1' ]
setup_kwargs[ 'install_requires' ] = [ 'numpy>=1.9.2',
        'cython>=0.20.1',
        'matplotlib>=1.4.3',
        'loprop>=0.1.8',
        'applequist>=0.1',
        ]

setup(name="moltools",
    version="v1.1.2",
    packages = find_packages(),
    #package_dir = { '' : 'moltools' },
    scripts=[ "moltools/pdbreader.py", ],
    author="Ignat Harczuk",
    author_email="harczuk@kth.se",
    license = 'MIT',
    description = 'Running point dipole calculations on chemical systems',
    platforms = 'Linux',
    maintainer = 'Ignat Harczuk',
    maintainer_email = 'ignathe@gmail.com',
    url = 'https://github.org/fishstamp82/moltools.git',
    **setup_kwargs
    )
<|endoftext|>


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

import sys
import importlib.util
import os.path
from setuptools import setup, find_packages
from setuptools.extension import Extension
from setuptools.command.build_ext import build_ext
from setuptools.command.test import test as TestCommand
from distutils.util import get_platform

SRC_DIR = 'src'
WATCHDOG_PKG_DIR = os.path.join(SRC_DIR, 'watchdog')

spec = importlib.util.spec_from_file_location(
    'version', os.path.join(WATCHDOG_PKG_DIR, 'version.py'))
version = importlib.util.module_from_spec(spec)
spec.loader.exec_module(version)

ext_modules = []
if get_platform().startswith('macosx'):
    ext_modules = [
        Extension(
            name='_watchdog_fsevents',
            sources=[
                'src/watchdog_fsevents.c',
            ],
            libraries=['m'],
            define_macros=[
                ('WATCHDOG_VERSION_STRING',
                 '"' + version.VERSION_STRING + '"'),
                ('WATCHDOG_VERSION_MAJOR', version.VERSION_MAJOR),
                ('WATCHDOG_VERSION_MINOR', version.VERSION_MINOR),
                ('WATCHDOG_VERSION_BUILD', version.VERSION_BUILD),
            ],
            extra_link_args=[
                '-framework', 'CoreFoundation',
                '-framework', 'CoreServices',
            ],
            extra_compile_args=[
                '-std=c99',
                '-pedantic',
                '-Wall',
                '-Wextra',
                '-fPIC',

                # required w/Xcode 5.1+ and above because of '-mno-fused-madd'
                '-Wno-error=unused-command-line-argument-hard-error-in-future'
            ]
        ),
    ]

class PyTest(TestCommand):
    def finalize_options(self):
        TestCommand.finalize_options(self)
        self.test_args = [
            '--cov=' + SRC_DIR,
            '--cov-report=term-missing',
            'tests']
        self.test_suite = True
    def run_tests(self):
        import pytest
        errno = pytest.main(self.test_args)
        sys.exit(errno)

tests_require=['pytest', 'pytest-cov', 'pytest-timeout >=0.3']
if sys.version_info < (2, 7, 0):
    tests_require.append('unittest2')

install_requires = [
    "PyYAML<3.13" if sys.version_info[:2] == (3, 2) else "PyYAML>=3.10",
    "argh>=0.24.1",
    "pathtools>=0.1.1",
]
if sys.version_info < (2, 7, 0):
    # argparse is merged into Python 2.7 in the Python 2x series
    # and Python 3.2 in the Python 3x series.
    install_requires.append('argparse >=1.1')
    if any([key in sys.platform for key in ['bsd', 'darwin']]):
        # Python 2.6 and below have the broken/non-existent kqueue implementations
        # in the select module. This backported patch adds one from Python 2.7,
        # which works.
        install_requires.append('select_backport >=0.2')

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

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

setup(name="watchdog",
      version=version.VERSION_STRING,
      description="Filesystem events monitoring",
      long_description=readme + '\n\n' + changelog,
      author="Yesudeep Mangalapilly",
      author_email="yesudeep@gmail.com",
      license="Apache License 2.0",
      url="http://github.com/gorakhargosh/watchdog",
      keywords=' '.join([
          'python',
          'filesystem',
          'monitoring',
          'monitor',
          'FSEvents',
          'kqueue',
          'inotify',
          'ReadDirectoryChangesW',
          'polling',
          'DirectorySnapshot',
      ]),
      classifiers=[
          'Development Status :: 3 - Alpha',
          'Environment :: Console',
          'Intended Audience :: Developers',
          'Intended Audience :: System Administrators',
          'License :: OSI Approved :: Apache Software License',
          'Natural Language :: English',
          'Operating System :: POSIX :: Linux',
          'Operating System :: MacOS :: MacOS X',
          'Operating System :: POSIX :: BSD',
          'Operating System :: Microsoft :: Windows :: Windows NT/2000',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          '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',
          'Programming Language :: Python :: 3.7',
          'Programming Language :: Python :: Implementation :: PyPy',
          'Programming Language :: C',
          'Topic :: Software Development :: Libraries',
          'Topic :: System :: Monitoring',
          'Topic :: System :: Filesystems',
          'Topic :: Utilities',
      ],
      package_dir={'': SRC_DIR},
      packages=find_packages(SRC_DIR),
      include_package_data=True,
      install_requires=install_requires,
      tests_require=tests_require,
      cmdclass={
          'build_ext': build_ext,
          'test': PyTest,
      },
      ext_modules=ext_modules,
      entry_points={'console_scripts': [
          'watchmedo = watchdog.watchmedo:main',
      ]},
      zip_safe=False
)
<commit_msg>Handle all supported Python versions<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright 2011 Yesudeep Mangalapilly <yesudeep@gmail.com>
# Copyright 2012 Google, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

import sys
import os.path
from setuptools import setup, find_packages
from setuptools.extension import Extension
from setuptools.command.build_ext import build_ext
from setuptools.command.test import test as TestCommand
from distutils.util import get_platform

SRC_DIR = 'src'
WATCHDOG_PKG_DIR = os.path.join(SRC_DIR, 'watchdog')

if sys.version_info >= (3, 5):
    import importlib.util
    spec = importlib.util.spec_from_file_location(
        'version', os.path.join(WATCHDOG_PKG_DIR, 'version.py'))
    version = importlib.util.module_from_spec(spec)
    spec.loader.exec_module(version)
else:
    import imp
    version = imp.load_source('version', os.path.join(WATCHDOG_PKG_DIR, 'version.py'))

ext_modules = []
if get_platform().startswith('macosx'):
    ext_modules = [
        Extension(
            name='_watchdog_fsevents',
            sources=[
                'src/watchdog_fsevents.c',
            ],
            libraries=['m'],
            define_macros=[
                ('WATCHDOG_VERSION_STRING',
                 '"' + version.VERSION_STRING + '"'),
                ('WATCHDOG_VERSION_MAJOR', version.VERSION_MAJOR),
                ('WATCHDOG_VERSION_MINOR', version.VERSION_MINOR),
                ('WATCHDOG_VERSION_BUILD', version.VERSION_BUILD),
            ],
            extra_link_args=[
                '-framework', 'CoreFoundation',
                '-framework', 'CoreServices',
            ],
            extra_compile_args=[
                '-std=c99',
                '-pedantic',
                '-Wall',
                '-Wextra',
                '-fPIC',

                # required w/Xcode 5.1+ and above because of '-mno-fused-madd'
                '-Wno-error=unused-command-line-argument-hard-error-in-future'
            ]
        ),
    ]

class PyTest(TestCommand):
    def finalize_options(self):
        TestCommand.finalize_options(self)
        self.test_args = [
            '--cov=' + SRC_DIR,
            '--cov-report=term-missing',
            'tests']
        self.test_suite = True
    def run_tests(self):
        import pytest
        errno = pytest.main(self.test_args)
        sys.exit(errno)

tests_require=['pytest', 'pytest-cov', 'pytest-timeout >=0.3']
if sys.version_info < (2, 7, 0):
    tests_require.append('unittest2')

install_requires = [
    "PyYAML<3.13" if sys.version_info[:2] == (3, 2) else "PyYAML>=3.10",
    "argh>=0.24.1",
    "pathtools>=0.1.1",
]
if sys.version_info < (2, 7, 0):
    # argparse is merged into Python 2.7 in the Python 2x series
    # and Python 3.2 in the Python 3x series.
    install_requires.append('argparse >=1.1')
    if any([key in sys.platform for key in ['bsd', 'darwin']]):
        # Python 2.6 and below have the broken/non-existent kqueue implementations
        # in the select module. This backported patch adds one from Python 2.7,
        # which works.
        install_requires.append('select_backport >=0.2')

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

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

setup(name="watchdog",
      version=version.VERSION_STRING,
      description="Filesystem events monitoring",
      long_description=readme + '\n\n' + changelog,
      author="Yesudeep Mangalapilly",
      author_email="yesudeep@gmail.com",
      license="Apache License 2.0",
      url="http://github.com/gorakhargosh/watchdog",
      keywords=' '.join([
          'python',
          'filesystem',
          'monitoring',
          'monitor',
          'FSEvents',
          'kqueue',
          'inotify',
          'ReadDirectoryChangesW',
          'polling',
          'DirectorySnapshot',
      ]),
      classifiers=[
          'Development Status :: 3 - Alpha',
          'Environment :: Console',
          'Intended Audience :: Developers',
          'Intended Audience :: System Administrators',
          'License :: OSI Approved :: Apache Software License',
          'Natural Language :: English',
          'Operating System :: POSIX :: Linux',
          'Operating System :: MacOS :: MacOS X',
          'Operating System :: POSIX :: BSD',
          'Operating System :: Microsoft :: Windows :: Windows NT/2000',
          'Operating System :: OS Independent',
          'Programming Language :: Python',
          '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',
          'Programming Language :: Python :: 3.7',
          'Programming Language :: Python :: Implementation :: PyPy',
          'Programming Language :: C',
          'Topic :: Software Development :: Libraries',
          'Topic :: System :: Monitoring',
          'Topic :: System :: Filesystems',
          'Topic :: Utilities',
      ],
      package_dir={'': SRC_DIR},
      packages=find_packages(SRC_DIR),
      include_package_data=True,
      install_requires=install_requires,
      tests_require=tests_require,
      cmdclass={
          'build_ext': build_ext,
          'test': PyTest,
      },
      ext_modules=ext_modules,
      entry_points={'console_scripts': [
          'watchmedo = watchdog.watchmedo:main',
      ]},
      zip_safe=False
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

setup(
    name='yargy',
    version='0.1.0',
    description='Tiny rule-based facts extraction package',
    url='https://github.com/bureaucratic-labs/yargy',
    author='Dmitry Veselov',
    author_email='d.a.veselov@yandex.ru',
    license='MIT',
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
    ],
    keywords='natural language processing russian morphology tomita',
    packages=find_packages(),
    install_requires=[
        'pymorphy2[fast]'
    ],
)
<commit_msg>Bump version<commit_after>from setuptools import setup, find_packages

setup(
    name='yargy',
    version='0.2.0',
    description='Tiny rule-based facts extraction package',
    url='https://github.com/bureaucratic-labs/yargy',
    author='Dmitry Veselov',
    author_email='d.a.veselov@yandex.ru',
    license='MIT',
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
    ],
    keywords='natural language processing, russian morphology, tomita',
    packages=find_packages(),
    install_requires=[
        'pymorphy2'
    ],
)
<|endoftext|>


<commit_before>import sys
import os
from setuptools import setup, find_packages
import glob

_MAJOR               = 0
_MINOR               = 13
_MICRO               = 0
version              = '%d.%d.%d' % (_MAJOR, _MINOR, _MICRO)
release              = '%d.%d' % (_MAJOR, _MINOR)

metainfo = {
    'authors': {"main": ("Thomas Cokelaer", "thomas.cokelaer@pasteur.fr")},
    'maintainer': {"main": ("Thomas Cokelaer", "thomas.cokelaer@pasteur.fr")},
    'version': version,
    'license' : 'new BSD',
    'download_url': "https://github.com/sequana/sequana/archive/{0}.tar.gz".format(version),
    'url' : "http://github.com/sequana/sequana",
    'description': "A set of standalone application and pipelines dedicated to NGS (new generation sequencing) analysis" ,
    'platforms' : ['Linux', 'Unix', 'MacOsX', 'Windows'],
    'keywords' : ['NGS', 'snakemake'],
    'classifiers' : [
          'Development Status :: 5 - Production/Stable',
          'Intended Audience :: Developers',
          'Intended Audience :: Science/Research',
          'License :: OSI Approved :: BSD License',
          'Operating System :: OS Independent',
          'Programming Language :: Python :: 3.6',
          'Programming Language :: Python :: 3.7',
          'Topic :: Software Development :: Libraries :: Python Modules',
          'Topic :: Scientific/Engineering :: Bio-Informatics',
          'Topic :: Scientific/Engineering :: Information Analysis',
          'Topic :: Scientific/Engineering :: Mathematics',
          'Topic :: Scientific/Engineering :: Physics']
    }

packages = find_packages()
packages = [this for this in packages if this.startswith('test.') is False]
packages = [this for this in packages if this not in ['test']]

# load a common list of requirements
# - mock is for the test only
# - qtconsole is required by Sequanix
requirements = open("requirements.txt").read().split()
# not in conda but on pypi
requirements += ["itolapi"]

on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if on_rtd:
    # pillow, sphinx, numpydoc are  for the doc only
    extra_packages = ["pillow", "numpydoc", "sphinx"]
    requirements += extra_packages

if sys.version_info.major == 2 or on_rtd:
    requirements = [x for x in requirements
                    if x.startswith("snakemake") is False]

setup(
    name             = "sequana",
    version          = version,
    maintainer       = metainfo['authors']['main'][0],
    maintainer_email = metainfo['authors']['main'][1],
    author           = metainfo['authors']['main'][0],
    author_email     = metainfo['authors']['main'][1],
    long_description = open("README.rst").read(),
    keywords         = metainfo['keywords'],
    description      = metainfo['description'],
    license          = metainfo['license'],
    platforms        = metainfo['platforms'],
    url              = metainfo['url'],
    download_url     = metainfo['download_url'],
    classifiers      = metainfo['classifiers'],

    # package installation
    packages = packages,

    # pillow, sphinx-gallery and numpydoc are  for the doc only
    # mock is for the test only qtconsole is required by Sequanix
    install_requires = requirements,

    # specific packages for testing
    tests_require = open('requirements_dev.txt').read().split(),

    # here below '': pattern means include that pattern in all packages
    # so '' :['README.rst'] will include all README.rst recursively
    # required to use python setup.py install

    # This is recursive include of data files
    exclude_package_data = {"": ["__pycache__"]},
    package_data = {
        '': ['Snakefile*', '*html', 'README.rst', "requirements*txt",
             'config*.yaml', '*.css', "*.js",
             "snpEff.config*", "*.fa", "*.rules"],
        'sequana.rules' : ['*/*.rules', "*/*/*.rules", "*/*/*/*.rules"],
        'sequana.pipelines' : ['*/*'],
        'sequana.resources.data' : ['*.*'],  # use *.* for files and not ./adapters
        'sequana.resources.examples' : ['*'],
        'sequana.resources.templates' : ['*.R'],
        'sequana.resources.images' : ['*'],
        'sequana.resources.testing' : ['*', '*/*', '*/*/*', '*/*/*/*', '*/*/*/*/*', '*/*/*/*/*/*'],
        'sequana.resources.busco' : ['*'],
        'sequana.multiqc' : ['*yaml'],
        },

    # these files do not need to be added in MANIFEST.in since there are python
    # packages that will be copied from sequana/ into sequana/
    # Note, however, that e.g. ./pipelines must be added

    zip_safe=False,
    entry_points = {
        'console_scripts':[
           'sequana=sequana.scripts.main.main:main',
           'sequana_taxonomy=sequana.scripts.taxonomy:main',
           'sequana_coverage=sequana.scripts.coverage:main',
           'sequana_substractor=sequana.scripts.substractor:main', # march 2019
           'sequana_start_pipeline=sequana.scripts.start_pipeline:main', # dec 2019
        ],
        'sequana.module':[
            'sequana_coverage=sequana.modules_report.coverage:CoverageModule',
            'sequana_variant_calling=sequana.modules_report.variant_calling:VariantCallingModule',
            'sequana_summary=sequana.modules_report.summary:SummaryModule',
        ],
        "multiqc.modules.v1": [
            "sequana_pacbio_qc=sequana.multiqc.pacbio_qc:MultiqcModule",
            "sequana_quality_control=sequana.multiqc.quality_control:MultiqcModule",
            "sequana_coverage=sequana.multiqc.coverage:MultiqcModule",
            "sequana_isoseq=sequana.multiqc.isoseq:MultiqcModule",
            "sequana_isoseq_qc=sequana.multiqc.isoseq_qc:MultiqcModule",
            "sequana_bamtools_stats=sequana.multiqc.bamtools_stats:MultiqcModule",
            "sequana_laa=sequana.multiqc.laa:MultiqcModule",
            "sequana_kraken=sequana.multiqc.kraken:MultiqcModule",
            "sequana_pacbio_amplicon=sequana.multiqc.pacbio_amplicon:MultiqcModule"
        ],
        'multiqc.hooks.v1': [
            'before_config = sequana.multiqc.config:load_config',
        ]
    },

)
<commit_msg>Uses the new requirements in ./test<commit_after>import sys
import os
from setuptools import setup, find_packages
import glob

_MAJOR               = 0
_MINOR               = 13
_MICRO               = 0
version              = '%d.%d.%d' % (_MAJOR, _MINOR, _MICRO)
release              = '%d.%d' % (_MAJOR, _MINOR)

metainfo = {
    'authors': {"main": ("Thomas Cokelaer", "thomas.cokelaer@pasteur.fr")},
    'maintainer': {"main": ("Thomas Cokelaer", "thomas.cokelaer@pasteur.fr")},
    'version': version,
    'license' : 'new BSD',
    'download_url': "https://github.com/sequana/sequana/archive/{0}.tar.gz".format(version),
    'url' : "http://github.com/sequana/sequana",
    'description': "A set of standalone application and pipelines dedicated to NGS (new generation sequencing) analysis" ,
    'platforms' : ['Linux', 'Unix', 'MacOsX', 'Windows'],
    'keywords' : ['NGS', 'snakemake'],
    'classifiers' : [
          'Development Status :: 5 - Production/Stable',
          'Intended Audience :: Developers',
          'Intended Audience :: Science/Research',
          'License :: OSI Approved :: BSD License',
          'Operating System :: OS Independent',
          'Programming Language :: Python :: 3.6',
          'Programming Language :: Python :: 3.7',
          'Topic :: Software Development :: Libraries :: Python Modules',
          'Topic :: Scientific/Engineering :: Bio-Informatics',
          'Topic :: Scientific/Engineering :: Information Analysis',
          'Topic :: Scientific/Engineering :: Mathematics',
          'Topic :: Scientific/Engineering :: Physics']
    }

packages = find_packages()
packages = [this for this in packages if this.startswith('test.') is False]
packages = [this for this in packages if this not in ['test']]

# load a common list of requirements
# - mock is for the test only
# - qtconsole is required by Sequanix
requirements = open("requirements.txt").read().split()
# not in conda but on pypi
requirements += ["itolapi"]

on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if on_rtd:
    # pillow, sphinx, numpydoc are  for the doc only
    extra_packages = ["pillow", "numpydoc", "sphinx"]
    requirements += extra_packages

if sys.version_info.major == 2 or on_rtd:
    requirements = [x for x in requirements
                    if x.startswith("snakemake") is False]

setup(
    name             = "sequana",
    version          = version,
    maintainer       = metainfo['authors']['main'][0],
    maintainer_email = metainfo['authors']['main'][1],
    author           = metainfo['authors']['main'][0],
    author_email     = metainfo['authors']['main'][1],
    long_description = open("README.rst").read(),
    keywords         = metainfo['keywords'],
    description      = metainfo['description'],
    license          = metainfo['license'],
    platforms        = metainfo['platforms'],
    url              = metainfo['url'],
    download_url     = metainfo['download_url'],
    classifiers      = metainfo['classifiers'],

    # package installation
    packages = packages,

    # pillow, sphinx-gallery and numpydoc are  for the doc only
    # mock is for the test only qtconsole is required by Sequanix
    install_requires = requirements,

    # specific packages for testing
    tests_require = open('test/requirements.txt').read().split(),

    # here below '': pattern means include that pattern in all packages
    # so '' :['README.rst'] will include all README.rst recursively
    # required to use python setup.py install

    # This is recursive include of data files
    exclude_package_data = {"": ["__pycache__"]},
    package_data = {
        '': ['Snakefile*', '*html', 'README.rst', "requirements*txt",
             'config*.yaml', '*.css', "*.js",
             "snpEff.config*", "*.fa", "*.rules"],
        'sequana.rules' : ['*/*.rules', "*/*/*.rules", "*/*/*/*.rules"],
        'sequana.pipelines' : ['*/*'],
        'sequana.resources.data' : ['*.*'],  # use *.* for files and not ./adapters
        'sequana.resources.examples' : ['*'],
        'sequana.resources.templates' : ['*.R'],
        'sequana.resources.images' : ['*'],
        'sequana.resources.testing' : ['*', '*/*', '*/*/*', '*/*/*/*', '*/*/*/*/*', '*/*/*/*/*/*'],
        'sequana.resources.busco' : ['*'],
        'sequana.multiqc' : ['*yaml'],
        },

    # these files do not need to be added in MANIFEST.in since there are python
    # packages that will be copied from sequana/ into sequana/
    # Note, however, that e.g. ./pipelines must be added

    zip_safe=False,
    entry_points = {
        'console_scripts':[
           'sequana=sequana.scripts.main.main:main',
           'sequana_taxonomy=sequana.scripts.taxonomy:main',
           'sequana_coverage=sequana.scripts.coverage:main',
           'sequana_substractor=sequana.scripts.substractor:main', # march 2019
           'sequana_start_pipeline=sequana.scripts.start_pipeline:main', # dec 2019
        ],
        'sequana.module':[
            'sequana_coverage=sequana.modules_report.coverage:CoverageModule',
            'sequana_variant_calling=sequana.modules_report.variant_calling:VariantCallingModule',
            'sequana_summary=sequana.modules_report.summary:SummaryModule',
        ],
        "multiqc.modules.v1": [
            "sequana_pacbio_qc=sequana.multiqc.pacbio_qc:MultiqcModule",
            "sequana_quality_control=sequana.multiqc.quality_control:MultiqcModule",
            "sequana_coverage=sequana.multiqc.coverage:MultiqcModule",
            "sequana_isoseq=sequana.multiqc.isoseq:MultiqcModule",
            "sequana_isoseq_qc=sequana.multiqc.isoseq_qc:MultiqcModule",
            "sequana_bamtools_stats=sequana.multiqc.bamtools_stats:MultiqcModule",
            "sequana_laa=sequana.multiqc.laa:MultiqcModule",
            "sequana_kraken=sequana.multiqc.kraken:MultiqcModule",
            "sequana_pacbio_amplicon=sequana.multiqc.pacbio_amplicon:MultiqcModule"
        ],
        'multiqc.hooks.v1': [
            'before_config = sequana.multiqc.config:load_config',
        ]
    },

)
<|endoftext|>


<commit_before># -*- coding: utf-8 -*-
import sys
import os.path
from setuptools import Command, find_packages, setup

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

README_PATH = os.path.join(HERE, 'README.rst')
try:
    README = open(README_PATH).read()
except IOError:
    README = ''

setup(
    name='rollbar-udp-agent',
    version='0.0.11',
    description='Rollbar server-side UDP agent',
    long_description=README,
    author='Luis Rascão',
    author_email='luis.rascao@gmail.com',
    url='http://github.com/lrascao/rollbar-udp-agent',
    entry_points={
        "console_scripts": [
            "rollbar-udp-agent=rollbar_udp_agent:main"
        ],
    },
    packages=['rollbar_udp_agent'],
    data_files=[('/etc', ['rollbar-udp-agent.conf']),
                ('/etc/init.d', ['rollbar-udp-agent'])],
    classifiers=[
        "Programming Language :: Python",
        "License :: OSI Approved :: MIT License",
        "Development Status :: 4 - Beta",
        "Environment :: Web Environment",
        "Intended Audience :: Developers",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware",
        "Topic :: Software Development",
        "Topic :: Software Development :: Bug Tracking",
        "Topic :: Software Development :: Testing",
        "Topic :: Software Development :: Quality Assurance",
        ],
    install_requires=[
        'requests'
    ],
    )
<commit_msg>Replace data_files with package_data setup directive<commit_after># -*- coding: utf-8 -*-
import sys
import os.path
from setuptools import Command, find_packages, setup

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

README_PATH = os.path.join(HERE, 'README.rst')
try:
    README = open(README_PATH).read()
except IOError:
    README = ''

setup(
    name='rollbar-udp-agent',
    version='0.0.11',
    description='Rollbar server-side UDP agent',
    long_description=README,
    author='Luis Rascão',
    author_email='luis.rascao@gmail.com',
    url='http://github.com/lrascao/rollbar-udp-agent',
    entry_points={
        "console_scripts": [
            "rollbar-udp-agent=rollbar_udp_agent:main"
        ],
    },
    packages=['rollbar_udp_agent'],
    package_data={'rollbar_udp_agent.etc': ['rollbar-udp-agent.conf',
                                            'rollbar-udp-agent']},
    classifiers=[
        "Programming Language :: Python",
        "License :: OSI Approved :: MIT License",
        "Development Status :: 4 - Beta",
        "Environment :: Web Environment",
        "Intended Audience :: Developers",
        "Topic :: Internet :: WWW/HTTP",
        "Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware",
        "Topic :: Software Development",
        "Topic :: Software Development :: Bug Tracking",
        "Topic :: Software Development :: Testing",
        "Topic :: Software Development :: Quality Assurance",
        ],
    install_requires=[
        'requests'
    ],
    )
<|endoftext|>


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

"""Define publication options."""

# Note: To use the 'upload' functionality of this file, you must:
#   $ pip install twine

import io
import os
import sys
from shutil import rmtree

from setuptools import find_packages, setup, Command

# Package meta-data.
NAME = 'regenmaschine'
DESCRIPTION = 'A simple API for RainMachine sprinkler controllers'
URL = 'https://github.com/bachya/regenmaschine'
EMAIL = 'bachya1208@gmail.com'
AUTHOR = 'Aaron Bach'
REQUIRES_PYTHON = '>=3.5.3'
VERSION = None

# What packages are required for this module to be executed?
REQUIRED = [  # type: ignore
    'aiodns',
    'aiohttp'
]

# The rest you shouldn't have to touch too much :)
# ------------------------------------------------
# Except, perhaps the License and Trove Classifiers!
# If you do change the License, remember to change the Trove Classifier for
# that!

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

# Import the README and use it as the long-description.
# Note: this will only work if 'README.md' is present in your MANIFEST.in file!
with io.open(os.path.join(HERE, 'README.md'), encoding='utf-8') as f:
    LONG_DESC = '\n' + f.read()

# Load the package's __version__.py module as a dictionary.
ABOUT = {}  # type: ignore
if not VERSION:
    with open(os.path.join(HERE, NAME, '__version__.py')) as f:
        exec(f.read(), ABOUT)  # pylint: disable=exec-used
else:
    ABOUT['__version__'] = VERSION

class UploadCommand(Command):
    """Support setup.py upload."""

    description = 'Build and publish the package.'
    user_options = []  # type: ignore

    @staticmethod
    def status(string):
        """Prints things in bold."""
        print('\033[1m{0}\033[0m'.format(string))

    def initialize_options(self):
        """Add options for initialization."""
        pass

    def finalize_options(self):
        """Add options for finalization."""
        pass

    def run(self):
        """Run."""
        try:
            self.status('Removing previous builds…')
            rmtree(os.path.join(HERE, 'dist'))
        except OSError:
            pass

        self.status('Building Source and Wheel (universal) distribution…')
        os.system('{0} setup.py sdist bdist_wheel --universal'.format(
            sys.executable))

        self.status('Uploading the package to PyPi via Twine…')
        os.system('twine upload dist/*')

        self.status('Pushing git tags…')
        os.system('git tag v{0}'.format(ABOUT['__version__']))
        os.system('git push --tags')

        sys.exit()

# Where the magic happens:
setup(
    name=NAME,
    version=ABOUT['__version__'],
    description=DESCRIPTION,
    long_description=LONG_DESC,
    long_description_content_type='text/markdown',
    author=AUTHOR,
    author_email=EMAIL,
    python_requires=REQUIRES_PYTHON,
    url=URL,
    packages=find_packages(exclude=('tests',)),
    # If your package is a single module, use this instead of 'packages':
    # py_modules=['mypackage'],

    # entry_points={
    #     'console_scripts': ['mycli=mymodule:cli'],
    # },
    install_requires=REQUIRED,
    include_package_data=True,
    license='MIT',
    classifiers=[
        # Trove classifiers
        # Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
        '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 :: 3.7',
        'Programming Language :: Python :: Implementation :: CPython',
        'Programming Language :: Python :: Implementation :: PyPy'
    ],
    # $ setup.py publish support.
    cmdclass={
        'upload': UploadCommand,
    },
)
<commit_msg>Remove aiodns from requirements<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""Define publication options."""

# Note: To use the 'upload' functionality of this file, you must:
#   $ pip install twine

import io
import os
import sys
from shutil import rmtree

from setuptools import find_packages, setup, Command

# Package meta-data.
NAME = 'regenmaschine'
DESCRIPTION = 'A simple API for RainMachine sprinkler controllers'
URL = 'https://github.com/bachya/regenmaschine'
EMAIL = 'bachya1208@gmail.com'
AUTHOR = 'Aaron Bach'
REQUIRES_PYTHON = '>=3.5.3'
VERSION = None

# What packages are required for this module to be executed?
REQUIRED = [  # type: ignore
    'aiohttp'
]

# The rest you shouldn't have to touch too much :)
# ------------------------------------------------
# Except, perhaps the License and Trove Classifiers!
# If you do change the License, remember to change the Trove Classifier for
# that!

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

# Import the README and use it as the long-description.
# Note: this will only work if 'README.md' is present in your MANIFEST.in file!
with io.open(os.path.join(HERE, 'README.md'), encoding='utf-8') as f:
    LONG_DESC = '\n' + f.read()

# Load the package's __version__.py module as a dictionary.
ABOUT = {}  # type: ignore
if not VERSION:
    with open(os.path.join(HERE, NAME, '__version__.py')) as f:
        exec(f.read(), ABOUT)  # pylint: disable=exec-used
else:
    ABOUT['__version__'] = VERSION

class UploadCommand(Command):
    """Support setup.py upload."""

    description = 'Build and publish the package.'
    user_options = []  # type: ignore

    @staticmethod
    def status(string):
        """Prints things in bold."""
        print('\033[1m{0}\033[0m'.format(string))

    def initialize_options(self):
        """Add options for initialization."""
        pass

    def finalize_options(self):
        """Add options for finalization."""
        pass

    def run(self):
        """Run."""
        try:
            self.status('Removing previous builds…')
            rmtree(os.path.join(HERE, 'dist'))
        except OSError:
            pass

        self.status('Building Source and Wheel (universal) distribution…')
        os.system('{0} setup.py sdist bdist_wheel --universal'.format(
            sys.executable))

        self.status('Uploading the package to PyPi via Twine…')
        os.system('twine upload dist/*')

        self.status('Pushing git tags…')
        os.system('git tag v{0}'.format(ABOUT['__version__']))
        os.system('git push --tags')

        sys.exit()

# Where the magic happens:
setup(
    name=NAME,
    version=ABOUT['__version__'],
    description=DESCRIPTION,
    long_description=LONG_DESC,
    long_description_content_type='text/markdown',
    author=AUTHOR,
    author_email=EMAIL,
    python_requires=REQUIRES_PYTHON,
    url=URL,
    packages=find_packages(exclude=('tests',)),
    # If your package is a single module, use this instead of 'packages':
    # py_modules=['mypackage'],

    # entry_points={
    #     'console_scripts': ['mycli=mymodule:cli'],
    # },
    install_requires=REQUIRED,
    include_package_data=True,
    license='MIT',
    classifiers=[
        # Trove classifiers
        # Full list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
        '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 :: 3.7',
        'Programming Language :: Python :: Implementation :: CPython',
        'Programming Language :: Python :: Implementation :: PyPy'
    ],
    # $ setup.py publish support.
    cmdclass={
        'upload': UploadCommand,
    },
)
<|endoftext|>