<commit_before>
# -*- coding: utf-8 -*-
#
# Copyright (c) 2016, Giacomo Cariello. All rights reserved.

import os
import warnings
from setuptools import setup, find_packages

here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()

requires = [
    'setuptools',
    'tzlocal',
    'shellescape',
    'zc.buildout',
    ]

warnings.filterwarnings('ignore', '.*', UserWarning, 'distutils.dist', 267)

setup(name='dockeroo',
    version='0.1',
    description='Docker buildout recipe',
    long_description=README + '\n\n' +  CHANGES,
    classifiers=[
        "Programming Language :: Python",
        "License :: OSI Approved :: Apache Software License",
        "Development Status :: 4 - Beta",
        "Operating System :: OS Independent",
        "Framework :: Buildout",
        "Intended Audience :: Developers",
        "Topic :: System :: Systems Administration",
    ],
    author='Giacomo Cariello',
    author_email='info@dockeroo.com',
    url='http://dockeroo.com/',
    keywords='buildout',
    packages=find_packages(),
    include_package_data=True,
    zip_safe=False,
    install_requires=requires,
    tests_require=requires,
    test_suite="dockeroo",
    entry_points = {
        'zc.buildout': [
            'build = dockeroo.build:Recipe',
            'copy = dockeroo.copy:Recipe',
            'gentoo-bootstrap = dockeroo.gentoo_bootstrap:Recipe',
            'gentoo-build = dockeroo.gentoo_build:Recipe',
            'gentoo-diskimage = dockeroo.gentoo_diskimage:Recipe',
            'pull = dockeroo.pull:Recipe',
            'push = dockeroo.push:Recipe',
            'run = dockeroo.run:Recipe',
            'volume = dockeroo.volume:Recipe',
        ],
        'zc.buildout.uninstall': [
            'build = dockeroo.build:recipe._uninstall',
            'copy = dockeroo.copy:Recipe._uninstall',
            'gentoo-bootstrap = dockeroo.gentoo_bootstrap:Recipe._uninstall',
            'gentoo-build = dockeroo.gentoo_build:recipe._uninstall',
            'gentoo-diskimage = dockeroo.gentoo_diskimage:Recipe._uninstall',
            'pull = dockeroo.pull:Recipe._uninstall',
            'push = dockeroo.push:Recipe._uninstall',
            'run = dockeroo.run:Recipe._uninstall',
            'volume = dockeroo.volume:Recipe._uninstall',
        ],
    },
)
<commit_msg>Minor fixes to setup.py.<commit_after>
# -*- coding: utf-8 -*-
#
# Copyright (c) 2016, Giacomo Cariello. All rights reserved.

import os
import warnings
from setuptools import setup, find_packages

here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
VERSION = '0.1'

requires = [
    'setuptools',
    'tzlocal',
    'shellescape',
    'zc.buildout',
    ]

warnings.filterwarnings('ignore', '.*', UserWarning, 'distutils.dist', 267)

setup(name='dockeroo',
    version=VERSION,
    description='Docker buildout recipe',
    long_description=README + '\n\n' +  CHANGES,
    classifiers=[
        "Programming Language :: Python",
        "License :: OSI Approved :: Apache Software License",
        "Development Status :: 4 - Beta",
        "Operating System :: OS Independent",
        "Framework :: Buildout",
        "Intended Audience :: Developers",
        "Topic :: System :: Systems Administration",
    ],
    author='Giacomo Cariello',
    author_email='info@dockeroo.com',
    url='http://dockeroo.com/',
    download_url='https://github.com/dockeroo/dockeroo/tarball/{version}'.format(version=VERSION),
    keywords=['buildout', 'docker'],
    packages=find_packages(),
    include_package_data=True,
    zip_safe=False,
    install_requires=requires,
    tests_require=requires,
    test_suite="dockeroo",
    entry_points = {
        'zc.buildout': [
            'build = dockeroo.build:Recipe',
            'copy = dockeroo.copy:Recipe',
            'gentoo-bootstrap = dockeroo.gentoo_bootstrap:Recipe',
            'gentoo-build = dockeroo.gentoo_build:Recipe',
            'gentoo-diskimage = dockeroo.gentoo_diskimage:Recipe',
            'pull = dockeroo.pull:Recipe',
            'push = dockeroo.push:Recipe',
            'run = dockeroo.run:Recipe',
            'volume = dockeroo.volume:Recipe',
        ],
        'zc.buildout.uninstall': [
            'build = dockeroo.build:recipe._uninstall',
            'copy = dockeroo.copy:Recipe._uninstall',
            'gentoo-bootstrap = dockeroo.gentoo_bootstrap:Recipe._uninstall',
            'gentoo-build = dockeroo.gentoo_build:recipe._uninstall',
            'gentoo-diskimage = dockeroo.gentoo_diskimage:Recipe._uninstall',
            'pull = dockeroo.pull:Recipe._uninstall',
            'push = dockeroo.push:Recipe._uninstall',
            'run = dockeroo.run:Recipe._uninstall',
            'volume = dockeroo.volume:Recipe._uninstall',
        ],
    },
)
<|endoftext|>


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

from setuptools import setup
from webfinger import __version__ as version

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

setup(name="webfinger2",
    version=version,
    packages=["webfinger"],
    description="Simple Python implementation of WebFinger client protocol",
    author="Jeremy Carbaugh, Elizabeth Myers",
    author_email="elizabeth@interlinked.me",
    license='BSD',
    url="http://github.com/jcarbaugh/python-webfinger/",
    long_description=long_description,
    install_requires=["requests"],
    platforms=["any"],
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: BSD License",
        "Operating System :: OS Independent",
        "Programming Language :: Python :: 3 :: Only",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
)
<commit_msg>Now in alpha<commit_after>#!/usr/bin/env python3

from setuptools import setup
from webfinger import __version__ as version

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

setup(name="webfinger2",
    version=version,
    packages=["webfinger"],
    description="Simple Python implementation of WebFinger client protocol",
    author="Jeremy Carbaugh, Elizabeth Myers",
    author_email="elizabeth@interlinked.me",
    license='BSD',
    url="http://github.com/jcarbaugh/python-webfinger/",
    long_description=long_description,
    install_requires=["requests"],
    platforms=["any"],
    classifiers=[
        "Development Status :: 3 - Alpha",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: BSD License",
        "Operating System :: OS Independent",
        "Programming Language :: Python :: 3 :: Only",
        "Topic :: Software Development :: Libraries :: Python Modules",
    ],
)
<|endoftext|>


<commit_before>import sys
import subprocess
import distutils.ccompiler
import distutils.sysconfig

from os.path import join, dirname, realpath
from os      import environ
import numpy as np

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

modname     = "test_dali"
environ["CC"] = "clang++"
environ["CXX"] = "clang++"

DALI_DIR   = environ["DALI_HOME"]
SCRIPT_DIR = dirname(realpath(__file__))

args = sys.argv[1:]

# Make a `cleanall` rule to get rid of intermediate and library files
if "cleanall" in args:
    print("Cleaning up cython files...")
    # Just in case the build directory was created by accident,
    # note that shell=True should be OK here because the command is constant.
    subprocess.Popen("rm -rf build", shell=True, executable="/bin/bash", cwd = SCRIPT_DIR)
    subprocess.Popen("rm -rf test_dali.c", shell=True, executable="/bin/bash",   cwd = SCRIPT_DIR)
    subprocess.Popen("rm -rf test_dali.cpp", shell=True, executable="/bin/bash",   cwd = SCRIPT_DIR)
    subprocess.Popen("rm -rf *.so", shell=True, executable="/bin/bash",  cwd = SCRIPT_DIR)

    # Now do a normal clean
    sys.argv[sys.argv.index("cleanall")] = "clean"

use_cuda = False

if "cuda" in args:
    use_cuda = True
    sys.argv.pop(sys.argv.index("cuda"))

CUDA_INCLUDE_DIRS = []
CUDA_LIBRARIES    = []
CUDA_MACROS       = [("MSHADOW_USE_CUDA", "0")]
CUDA_EXTRA_COMPILE_ARGS = []
CUDA_LIBRARY_DIRS = []

if use_cuda:
    DALI_BUILD_DIR    = join(DALI_DIR, "build")
    CUDA_INCLUDE_DIRS = ["/usr/local/cuda/include"]
    CUDA_MACROS       = [("MSHADOW_USE_CUDA", "1")]
    DALI_OBJECTS      = [join(DALI_BUILD_DIR, "dali", "libdali.a"),
                         join(DALI_BUILD_DIR, "dali", "libdali_cuda.a")]
    CUDA_LIBRARIES    = ["cudart", "cublas", "curand"]

    CUDA_LIBRARY_DIRS = ["/usr/local/cuda/lib/"]

    CUDA_EXTRA_COMPILE_ARGS = []

else:
    # use build_cpu and don't include cuda headers
    DALI_BUILD_DIR    = join(DALI_DIR, "build_cpu")
    DALI_OBJECTS      = [join(DALI_BUILD_DIR, "dali", "libdali.a")]

compiler = distutils.ccompiler.new_compiler()
distutils.sysconfig.customize_compiler(compiler)
BLACKLISTED_COMPILER_SO = [
  '-Wp,-D_FORTIFY_SOURCE=2'
]
build_ext.compiler = compiler
ext_modules = [Extension(
    name=modname,
    sources=[
        "test_dali.pyx",
        join(SCRIPT_DIR, "dali", "tensor", "python_tape.cpp"),
        join(SCRIPT_DIR, "dali", "tensor", "matrix_initializations.cpp")
    ],
    library_dirs=CUDA_LIBRARY_DIRS,
    language='c++',
    extra_compile_args=[
        '-std=c++11',
    ] + CUDA_EXTRA_COMPILE_ARGS,
    define_macros = [('MSHADOW_USE_CBLAS','1'),
                     ('MSHADOW_USE_MKL',  '0'),
                     ('DALI_USE_VISUALIZER', '1'),
                     ('DALI_DATA_DIR', join(DALI_DIR, "data"))] + CUDA_MACROS,
    libraries=[
        "protobuf",
        "sqlite3",
        "cblas"
    ] + CUDA_LIBRARIES,
    extra_objects=DALI_OBJECTS + [
        join(DALI_BUILD_DIR, "protobuf", "libproto.a"),
        join(DALI_BUILD_DIR, "third_party", "SQLiteCpp", "libSQLiteCpp.a"),
        join(DALI_BUILD_DIR, "third_party", "json11", "libjson11.a"),
        "/usr/local/lib/libgflags.a",
    ],
    include_dirs=[
        DALI_DIR,
        join(DALI_DIR, "third_party/SQLiteCpp/include"),
        join(DALI_DIR, "third_party/json11"),
        "/usr/local/include/eigen3",
        "/usr/include/eigen3",
        join(DALI_DIR, "third_party/libcuckoo/src")
    ] + CUDA_INCLUDE_DIRS
      + [np.get_include()]
)]

# We need to remove some compiler flags, to make sure
# the code can compile on Fedora (to be honest it seems
# to be a bug in Fedora's distrubtion of Clang).
# Nevertheless this little madness below is to change
# default compiler flags used by Cython.
# If you know a better way call me immediately day
# or night at 4getszymo4. Thank you!
class nonbroken_build_ext(build_ext):
    def build_extensions(self, *args, **kwargs):
        new_compiler_so = []
        for arg in self.compiler.compiler_so:
            if arg not in BLACKLISTED_COMPILER_SO:
                new_compiler_so.append(arg)
        self.compiler.compiler_so = new_compiler_so
        super(nonbroken_build_ext, self).build_extensions(*args, **kwargs)
setup(
  name = modname,
  cmdclass = {"build_ext": nonbroken_build_ext},
  ext_modules = ext_modules
)
<commit_msg>Now using gcc on linux<commit_after>import sys
import subprocess
import distutils.ccompiler
import distutils.sysconfig

from os.path import join, dirname, realpath
from os      import environ
from sys import platform
import numpy as np

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

modname     = "test_dali"\

if platform == 'linux':
    environ["cc"] = 'gcc'
    environ["cc"] = 'g++'
else:
    environ["CC"] = "clang"
    environ["CXX"] = "clang++"

DALI_DIR   = environ["DALI_HOME"]
SCRIPT_DIR = dirname(realpath(__file__))

args = sys.argv[1:]

# Make a `cleanall` rule to get rid of intermediate and library files
if "cleanall" in args:
    print("Cleaning up cython files...")
    # Just in case the build directory was created by accident,
    # note that shell=True should be OK here because the command is constant.
    subprocess.Popen("rm -rf build", shell=True, executable="/bin/bash", cwd = SCRIPT_DIR)
    subprocess.Popen("rm -rf test_dali.c", shell=True, executable="/bin/bash",   cwd = SCRIPT_DIR)
    subprocess.Popen("rm -rf test_dali.cpp", shell=True, executable="/bin/bash",   cwd = SCRIPT_DIR)
    subprocess.Popen("rm -rf *.so", shell=True, executable="/bin/bash",  cwd = SCRIPT_DIR)

    # Now do a normal clean
    sys.argv[sys.argv.index("cleanall")] = "clean"

use_cuda = False

if "cuda" in args:
    use_cuda = True
    sys.argv.pop(sys.argv.index("cuda"))

CUDA_INCLUDE_DIRS = []
CUDA_LIBRARIES    = []
CUDA_MACROS       = [("MSHADOW_USE_CUDA", "0")]
CUDA_EXTRA_COMPILE_ARGS = []
CUDA_LIBRARY_DIRS = []

if use_cuda:
    DALI_BUILD_DIR    = join(DALI_DIR, "build")
    CUDA_INCLUDE_DIRS = ["/usr/local/cuda/include"]
    CUDA_MACROS       = [("MSHADOW_USE_CUDA", "1")]
    DALI_OBJECTS      = [join(DALI_BUILD_DIR, "dali", "libdali.a"),
                         join(DALI_BUILD_DIR, "dali", "libdali_cuda.a")]
    CUDA_LIBRARIES    = ["cudart", "cublas", "curand"]

    CUDA_LIBRARY_DIRS = ["/usr/local/cuda/lib/"]

    CUDA_EXTRA_COMPILE_ARGS = []

else:
    # use build_cpu and don't include cuda headers
    DALI_BUILD_DIR    = join(DALI_DIR, "build_cpu")
    DALI_OBJECTS      = [join(DALI_BUILD_DIR, "dali", "libdali.a")]

compiler = distutils.ccompiler.new_compiler()
distutils.sysconfig.customize_compiler(compiler)
BLACKLISTED_COMPILER_SO = [
  '-Wp,-D_FORTIFY_SOURCE=2'
]
build_ext.compiler = compiler
ext_modules = [Extension(
    name=modname,
    sources=[
        "test_dali.pyx",
        join(SCRIPT_DIR, "dali", "tensor", "python_tape.cpp"),
        join(SCRIPT_DIR, "dali", "tensor", "matrix_initializations.cpp")
    ],
    library_dirs=CUDA_LIBRARY_DIRS,
    language='c++',
    extra_compile_args=[
        '-std=c++11',
    ] + CUDA_EXTRA_COMPILE_ARGS,
    define_macros = [('MSHADOW_USE_CBLAS','1'),
                     ('MSHADOW_USE_MKL',  '0'),
                     ('DALI_USE_VISUALIZER', '1'),
                     ('DALI_DATA_DIR', join(DALI_DIR, "data"))] + CUDA_MACROS,
    libraries=[
        "protobuf",
        "sqlite3",
        "cblas"
    ] + CUDA_LIBRARIES,
    extra_objects=DALI_OBJECTS + [
        join(DALI_BUILD_DIR, "protobuf", "libproto.a"),
        join(DALI_BUILD_DIR, "third_party", "SQLiteCpp", "libSQLiteCpp.a"),
        join(DALI_BUILD_DIR, "third_party", "json11", "libjson11.a"),
        "/usr/local/lib/libgflags.a",
    ],
    include_dirs=[
        DALI_DIR,
        join(DALI_DIR, "third_party/SQLiteCpp/include"),
        join(DALI_DIR, "third_party/json11"),
        join(DALI_DIR, "third_party/mshadow"),
        join(DALI_DIR, "third_party/libcuckoo/src")
    ] + CUDA_INCLUDE_DIRS
      + [np.get_include()]
)]

# We need to remove some compiler flags, to make sure
# the code can compile on Fedora (to be honest it seems
# to be a bug in Fedora's distrubtion of Clang).
# Nevertheless this little madness below is to change
# default compiler flags used by Cython.
# If you know a better way call me immediately day
# or night at 4getszymo4. Thank you!
class nonbroken_build_ext(build_ext):
    def build_extensions(self, *args, **kwargs):
        new_compiler_so = []
        for arg in self.compiler.compiler_so:
            if arg not in BLACKLISTED_COMPILER_SO:
                new_compiler_so.append(arg)
        self.compiler.compiler_so = new_compiler_so
        super(nonbroken_build_ext, self).build_extensions(*args, **kwargs)
setup(
  name = modname,
  cmdclass = {"build_ext": nonbroken_build_ext},
  ext_modules = ext_modules
)
<|endoftext|>


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

from os.path import exists
from setuptools import setup

setup(
    name='dask-funk',
    version="1.0.0",
    packages=('daskfunk',),
    install_requires=('dask>=0.8.0', 'toolz'),
    tests_require=('pytest', 'pytest-benchmark', 'pytest-flake8',
                   'pytest-isort', 'flake8-print', 'flake8-todo', 'pep8-naming'),
    description="Composable keyword function graphs",
    long_description=(open('README.rst').read() if exists('README.rst')
                      else ''),
    author="Ben Mabey",
    author_email="ben@benmabey.com",
    url="http://github.com/TBD/dask-funk",
    license="MIT",
    classifiers=(
        "Development Status :: 4 - Beta",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3.4",
    ),
)
<commit_msg>not quite ready for 1.0.0 yet...<commit_after>#!/usr/bin/env python

from os.path import exists
from setuptools import setup

setup(
    name='dask-funk',
    version="0.9.0",
    packages=('daskfunk',),
    install_requires=('dask>=0.8.0', 'toolz'),
    tests_require=('pytest', 'pytest-benchmark', 'pytest-flake8',
                   'pytest-isort', 'flake8-print', 'flake8-todo', 'pep8-naming'),
    description="Composable keyword function graphs",
    long_description=(open('README.rst').read() if exists('README.rst')
                      else ''),
    author="Ben Mabey",
    author_email="ben@benmabey.com",
    url="http://github.com/TBD/dask-funk",
    license="MIT",
    classifiers=(
        "Development Status :: 4 - Beta",
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python :: 3.4",
    ),
)
<|endoftext|>


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

import os

import setuptools

requirements = [
    "tqdm==4.64.0",
    "pyyaml==6.0",
    "tabulate==0.8.9",
    "colorama==0.4.4",
    "termcolor==1.1.0",
    "wcwidth==0.2.5",
    "ida-settings==2.1.0",
    "viv-utils[flirt]==0.6.11",
    "halo==0.0.31",
    "networkx==2.5.1",
    "ruamel.yaml==0.17.21",
    "vivisect==1.0.7",
    "smda==1.7.1",
    "pefile==2021.9.3",
    "pyelftools==0.28",
]

# this sets __version__
# via: http://stackoverflow.com/a/7071358/87207
# and: http://stackoverflow.com/a/2073599/87207
with open(os.path.join("capa", "version.py"), "r") as f:
    exec(f.read())

# via: https://packaging.python.org/guides/making-a-pypi-friendly-readme/
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, "README.md"), "r") as f:
    long_description = f.read()

setuptools.setup(
    name="flare-capa",
    version=__version__,
    description="The FLARE team's open-source tool to identify capabilities in executable files.",
    long_description=long_description,
    long_description_content_type="text/markdown",
    author="Willi Ballenthin, Moritz Raabe",
    author_email="william.ballenthin@mandiant.com, moritz.raabe@mandiant.com",
    url="https://www.github.com/mandiant/capa",
    project_urls={
        "Documentation": "https://github.com/mandiant/capa/tree/master/doc",
        "Rules": "https://github.com/mandiant/capa-rules",
        "Rules Documentation": "https://github.com/mandiant/capa-rules/tree/master/doc",
    },
    packages=setuptools.find_packages(exclude=["tests"]),
    package_dir={"capa": "capa"},
    entry_points={
        "console_scripts": [
            "capa=capa.main:main",
        ]
    },
    include_package_data=True,
    install_requires=requirements,
    extras_require={
        "dev": [
            "pytest==7.0.1",
            "pytest-sugar==0.9.4",
            "pytest-instafail==0.4.2",
            "pytest-cov==3.0.0",
            "pycodestyle==2.8.0",
            "black==22.3.0",
            "isort==5.10.1",
            "mypy==0.942",
            "psutil==5.9.0",
            "stix2==3.0.1",
            "requests==2.27.1",
            # type stubs for mypy
            "types-backports==0.1.3",
            "types-colorama==0.4.10",
            "types-PyYAML==6.0.5",
            "types-tabulate==0.8.6",
            "types-termcolor==1.1.3",
            "types-psutil==5.8.20",
            "types_requests==2.27.16",
        ],
    },
    zip_safe=False,
    keywords="capa malware analysis capability detection FLARE",
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Intended Audience :: Developers",
        "Intended Audience :: Information Technology",
        "License :: OSI Approved :: Apache Software License",
        "Natural Language :: English",
        "Programming Language :: Python :: 3",
        "Topic :: Security",
    ],
    python_requires=">=3.6",
)
<commit_msg>build(deps-dev): bump pytest from 7.0.1 to 7.1.1<commit_after># Copyright (C) 2020 Mandiant, Inc. All Rights Reserved.
# Licensed under the Apache License, Version 2.0 (the "License");
#  you may not use this file except in compliance with the License.
# You may obtain a copy of the License at: [package root]/LICENSE.txt
# Unless required by applicable law or agreed to in writing, software distributed under the License
#  is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and limitations under the License.

import os

import setuptools

requirements = [
    "tqdm==4.64.0",
    "pyyaml==6.0",
    "tabulate==0.8.9",
    "colorama==0.4.4",
    "termcolor==1.1.0",
    "wcwidth==0.2.5",
    "ida-settings==2.1.0",
    "viv-utils[flirt]==0.6.11",
    "halo==0.0.31",
    "networkx==2.5.1",
    "ruamel.yaml==0.17.21",
    "vivisect==1.0.7",
    "smda==1.7.1",
    "pefile==2021.9.3",
    "pyelftools==0.28",
]

# this sets __version__
# via: http://stackoverflow.com/a/7071358/87207
# and: http://stackoverflow.com/a/2073599/87207
with open(os.path.join("capa", "version.py"), "r") as f:
    exec(f.read())

# via: https://packaging.python.org/guides/making-a-pypi-friendly-readme/
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, "README.md"), "r") as f:
    long_description = f.read()

setuptools.setup(
    name="flare-capa",
    version=__version__,
    description="The FLARE team's open-source tool to identify capabilities in executable files.",
    long_description=long_description,
    long_description_content_type="text/markdown",
    author="Willi Ballenthin, Moritz Raabe",
    author_email="william.ballenthin@mandiant.com, moritz.raabe@mandiant.com",
    url="https://www.github.com/mandiant/capa",
    project_urls={
        "Documentation": "https://github.com/mandiant/capa/tree/master/doc",
        "Rules": "https://github.com/mandiant/capa-rules",
        "Rules Documentation": "https://github.com/mandiant/capa-rules/tree/master/doc",
    },
    packages=setuptools.find_packages(exclude=["tests"]),
    package_dir={"capa": "capa"},
    entry_points={
        "console_scripts": [
            "capa=capa.main:main",
        ]
    },
    include_package_data=True,
    install_requires=requirements,
    extras_require={
        "dev": [
            "pytest==7.1.1",
            "pytest-sugar==0.9.4",
            "pytest-instafail==0.4.2",
            "pytest-cov==3.0.0",
            "pycodestyle==2.8.0",
            "black==22.3.0",
            "isort==5.10.1",
            "mypy==0.942",
            "psutil==5.9.0",
            "stix2==3.0.1",
            "requests==2.27.1",
            # type stubs for mypy
            "types-backports==0.1.3",
            "types-colorama==0.4.10",
            "types-PyYAML==6.0.5",
            "types-tabulate==0.8.6",
            "types-termcolor==1.1.3",
            "types-psutil==5.8.20",
            "types_requests==2.27.16",
        ],
    },
    zip_safe=False,
    keywords="capa malware analysis capability detection FLARE",
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Intended Audience :: Developers",
        "Intended Audience :: Information Technology",
        "License :: OSI Approved :: Apache Software License",
        "Natural Language :: English",
        "Programming Language :: Python :: 3",
        "Topic :: Security",
    ],
    python_requires=">=3.6",
)
<|endoftext|>


<commit_before>import os
import setuptools

from setuptools import setup

setup(
    name='pg_events',
    version='0.1.2b2',
    description="Postgres events",
    long_description='',
    keywords='postgres python trigger listen notify events',
    author='ZeroCater',
    author_email='tech@zerocater.com',
    url='https://github.com/ZeroCater/pg_events',
    download_url='https://github.com/ZeroCater/pg_events/tarball/0.1.2b2',
    license='MIT',
    packages=setuptools.find_packages(),
    package_data={'pg_events': ['core/schemas/*.sql']},
    classifiers=[
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python",
        "Development Status :: 5 - Production/Stable",
        "Intended Audience :: Developers",
    ],
    install_requires=[
        'psycopg2>=2.6,<2.8'
    ],
    entry_points={
        'console_scripts': [
            'pg_events = pg_events.__main__:main',
        ],
    },
)
<commit_msg>0.1.2<commit_after>import os
import setuptools

from setuptools import setup

setup(
    name='pg_events',
    version='0.1.2',
    description="Postgres events",
    long_description='',
    keywords='postgres python trigger listen notify events',
    author='ZeroCater',
    author_email='tech@zerocater.com',
    url='https://github.com/ZeroCater/pg_events',
    download_url='https://github.com/ZeroCater/pg_events/tarball/0.1.2',
    license='MIT',
    packages=setuptools.find_packages(),
    package_data={'pg_events': ['core/schemas/*.sql']},
    classifiers=[
        "License :: OSI Approved :: MIT License",
        "Programming Language :: Python",
        "Development Status :: 5 - Production/Stable",
        "Intended Audience :: Developers",
    ],
    install_requires=[
        'psycopg2>=2.6,<2.8'
    ],
    entry_points={
        'console_scripts': [
            'pg_events = pg_events.__main__:main',
        ],
    },
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages
from codecs import open
from os import path

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

requires = ['numpy', 'scipy', 'matplotlib >= 1.5.0', 'biopython >= 1.60',
            'scikit-bio', 'scikit-learn', 'pandas', 'statsmodels',
            'palettable', 'biom-format >= 2.1.5', 'h5py']

scripts = ['bin/LDA.py',
           'bin/LDA_bubble.py',
           'bin/PCoA.py',
           'bin/PCoA_bubble.py'
           'bin/assign_taxonomy_by_blast_result.py',
           'bin/barcode_filter.py',
           'bin/biom_relative_abundance.py',
           'bin/condense_workflow.py',
           'bin/core_overlap_plot.py',
           'bin/diversity.py',
           'bin/extract_shared_or_unique_otuids.py',
           'bin/filter_biom.py',
           'bin/filter_keep_otus_by_sample.py',
           'bin/filter_rep_set.py',
           'bin/iTol.py',
           'bin/merge_otu_results.py',
           'bin/multi_parallel_pick_otus.py',
           'bin/multi_qsub.py',
           'bin/network_plots_gephi.py',
           'bin/otu_condense.py',
           'bin/otu_to_tax_name.py',
           'bin/pick_otus_condense.py',
           'bin/primer_average.py',
           'bin/prune_otus.py',
           'bin/restrict_repset.py',
           'bin/split_sequence_data.py',
           'bin/transpose_biom.py']

setup(
  name='phylotoast',
  version='1.3.0',
  description='Tools for phylogenetic data analysis including visualization and cluster-computing support. Integrates with the QIIME pipeline. http://phylotoast.org',
  author='Shareef M. Dabdoub',
  author_email='dabdoub.2@osu.edu',
  packages=['phylotoast', 'phylotoast.test'],
  include_package_data=True,
  url='https://github.com/smdabdoub/phylotoast',
  #install_requires=requires,
  scripts=scripts,
  data_files=[('data', ['data/pbs_job_template.pbs', 'data/slurm_job_template.sbatch'])],
  keywords=['bioinformatics', 'QIIME', 'phylotoast', 'microbial ecology', '16S', 'microbiology'],
  license='MIT',
  classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Console',
        'Topic :: Scientific/Engineering :: Bio-Informatics',
        'Intended Audience :: Science/Research',
        'Intended Audience :: Developers',
        'Natural Language :: English',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Operating System :: Unix',
        'Operating System :: MacOS :: MacOS X',
        'Operating System :: POSIX :: BSD',
        'Operating System :: POSIX :: Linux',
        'Operating System :: Microsoft :: Windows',
    ],
)
<commit_msg>Re-enables 'requires' section in setup.<commit_after>from setuptools import setup, find_packages
from codecs import open
from os import path

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

requires = ['numpy', 'scipy', 'matplotlib >= 1.5.0', 'biopython >= 1.60',
            'scikit-bio', 'scikit-learn', 'pandas', 'statsmodels',
            'palettable', 'biom-format >= 2.1.5', 'h5py']

scripts = ['bin/LDA.py',
           'bin/LDA_bubble.py',
           'bin/PCoA.py',
           'bin/PCoA_bubble.py'
           'bin/assign_taxonomy_by_blast_result.py',
           'bin/barcode_filter.py',
           'bin/biom_relative_abundance.py',
           'bin/condense_workflow.py',
           'bin/core_overlap_plot.py',
           'bin/diversity.py',
           'bin/extract_shared_or_unique_otuids.py',
           'bin/filter_biom.py',
           'bin/filter_keep_otus_by_sample.py',
           'bin/filter_rep_set.py',
           'bin/iTol.py',
           'bin/merge_otu_results.py',
           'bin/multi_parallel_pick_otus.py',
           'bin/multi_qsub.py',
           'bin/network_plots_gephi.py',
           'bin/otu_condense.py',
           'bin/otu_to_tax_name.py',
           'bin/pick_otus_condense.py',
           'bin/primer_average.py',
           'bin/prune_otus.py',
           'bin/restrict_repset.py',
           'bin/split_sequence_data.py',
           'bin/transpose_biom.py']

setup(
  name='phylotoast',
  version='1.3.0',
  description='Tools for phylogenetic data analysis including visualization and cluster-computing support. Integrates with the QIIME pipeline. http://phylotoast.org',
  author='Shareef M. Dabdoub',
  author_email='dabdoub.2@osu.edu',
  packages=['phylotoast', 'phylotoast.test'],
  include_package_data=True,
  url='https://github.com/smdabdoub/phylotoast',
  install_requires=requires,
  scripts=scripts,
  data_files=[('data', ['data/pbs_job_template.pbs', 'data/slurm_job_template.sbatch'])],
  keywords=['bioinformatics', 'QIIME', 'phylotoast', 'microbial ecology', '16S', 'microbiology'],
  license='MIT',
  classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Environment :: Console',
        'Topic :: Scientific/Engineering :: Bio-Informatics',
        'Intended Audience :: Science/Research',
        'Intended Audience :: Developers',
        'Natural Language :: English',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Operating System :: Unix',
        'Operating System :: MacOS :: MacOS X',
        'Operating System :: POSIX :: BSD',
        'Operating System :: POSIX :: Linux',
        'Operating System :: Microsoft :: Windows',
    ],
)
<|endoftext|>


<commit_before>import setuptools
import versioneer

short_description = "A distributed compute and database platform for quantum chemistry."

try:
    with open("README.md", "r") as handle:
        long_description = handle.read()
except FileNotFoundError:
    long_description = short_description

if __name__ == "__main__":
    setuptools.setup(
        name='qcfractal',
        description=short_description,
        author='The QCArchive Development Team',
        author_email='qcarchive@molssi.org',
        url="https://github.com/molssi/qcfractal",
        license='BSD-3C',
        include_package_data=True,
        version=versioneer.get_version(),
        cmdclass=versioneer.get_cmdclass(),
        packages=setuptools.find_packages(),
        install_requires=[
            # Base requires
            'bcrypt',
            'cryptography',
            'numpy>=1.7',
            'pandas',
            'pydantic>=0.20',
            'pymongo>=3.0',
            'requests',
            'tornado',
            'pyyaml',

            # Database
            'mongoengine',
            'sqlalchemy>=1.3',
            'psycopg2',

            # QCArchive depends
            'qcengine>=0.6.2',
            'qcelemental>=0.4.0',

            # Testing
            'pytest',
        ],
        entry_points={
            "console_scripts": [
                "qcfractal-server=qcfractal.cli.qcfractal_server:main",
                "qcfractal-manager=qcfractal.cli.qcfractal_manager:main",
                "qcfractal-dashboard=qcfractal.cli.qcfractal_dashboard:main",
                "qcfractal-template=qcfractal.cli.qcfractal_template_generator:main"
            ]
        },
        extras_require={
            'docs': [
                'sphinx==1.2.3',  # autodoc was broken in 1.3.1
                'sphinxcontrib-napoleon',
                'sphinx_rtd_theme',
                'numpydoc',
            ],
            'tests': [
                'pytest',
                'pytest-cov',
            ],
        },
        tests_require=[
            'pytest',
            'pytest-cov',
        ],
        classifiers=[
            'Development Status :: 4 - Beta',
            'Intended Audience :: Science/Research',
            'Programming Language :: Python :: 3',
        ],
        zip_safe=True,
        long_description=long_description,
        long_description_content_type="text/markdown"
    )
<commit_msg>Remove entry point for template generator<commit_after>import setuptools
import versioneer

short_description = "A distributed compute and database platform for quantum chemistry."

try:
    with open("README.md", "r") as handle:
        long_description = handle.read()
except FileNotFoundError:
    long_description = short_description

if __name__ == "__main__":
    setuptools.setup(
        name='qcfractal',
        description=short_description,
        author='The QCArchive Development Team',
        author_email='qcarchive@molssi.org',
        url="https://github.com/molssi/qcfractal",
        license='BSD-3C',
        include_package_data=True,
        version=versioneer.get_version(),
        cmdclass=versioneer.get_cmdclass(),
        packages=setuptools.find_packages(),
        install_requires=[
            # Base requires
            'bcrypt',
            'cryptography',
            'numpy>=1.7',
            'pandas',
            'pydantic>=0.20',
            'pymongo>=3.0',
            'requests',
            'tornado',
            'pyyaml',

            # Database
            'mongoengine',
            'sqlalchemy>=1.3',
            'psycopg2',

            # QCArchive depends
            'qcengine>=0.6.2',
            'qcelemental>=0.4.0',

            # Testing
            'pytest',
        ],
        entry_points={
            "console_scripts": [
                "qcfractal-server=qcfractal.cli.qcfractal_server:main",
                "qcfractal-manager=qcfractal.cli.qcfractal_manager:main",
                "qcfractal-dashboard=qcfractal.cli.qcfractal_dashboard:main",
            ]
        },
        extras_require={
            'docs': [
                'sphinx==1.2.3',  # autodoc was broken in 1.3.1
                'sphinxcontrib-napoleon',
                'sphinx_rtd_theme',
                'numpydoc',
            ],
            'tests': [
                'pytest',
                'pytest-cov',
            ],
        },
        tests_require=[
            'pytest',
            'pytest-cov',
        ],
        classifiers=[
            'Development Status :: 4 - Beta',
            'Intended Audience :: Science/Research',
            'Programming Language :: Python :: 3',
        ],
        zip_safe=True,
        long_description=long_description,
        long_description_content_type="text/markdown"
    )
<|endoftext|>


<commit_before>import os
from distutils.core import setup

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

README = read('README')

setup(
    name='django-hort',
    version='0.1',
    url='http://github.com/seanbrant/django-hort',
    license='BSD',
    description='Trusty sidekick to Django.',
    long_description=README,

    author='Sean Brant',
    author_email='brant.sean@gmail.com',
    packages=['hort'],
    requires=[
        'django',
        'django-reversetag',
        'django-templatetag-sugar',
    ],
    classifiers=[
        'Development Status :: 4 - Beta',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP',
    ],
)
<commit_msg>switched to setuptools for setup.py<commit_after>import os
from setuptools import setup, find_packages

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

README = read('README')

setup(
    name='django-hort',
    version='0.1',
    url='http://github.com/seanbrant/django-hort',
    license='BSD',
    description='Trusty sidekick to Django.',
    long_description=README,

    author='Sean Brant',
    author_email='brant.sean@gmail.com',
    packages=find_packages(),
    package_data={
        'hort': ['templates/hort/*.html'],
    },
    install_requires=[
        'django',
        'django-reversetag',
        'django-templatetag-sugar',
    ],
    classifiers=[
        'Development Status :: 4 - Beta',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP',
    ],
)
<|endoftext|>


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

# The MIT License (MIT)

# Copyright (c) 2014 CNRS

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

# AUTHORS
# Hervé BREDIN - http://herve.niderb.fr

import versioneer
versioneer.versionfile_source = 'pyannote/metrics/_version.py'
versioneer.versionfile_build = versioneer.versionfile_source
versioneer.tag_prefix = ''
versioneer.parentdir_prefix = 'pyannote-metrics-'

from setuptools import setup, find_packages

setup(

    # package
    namespace_packages=['pyannote'],
    packages=find_packages(),
    scripts=[
        'scripts/pyannote_eval.py',
    ],
    install_requires=[
        'pyannote.core >= 0.8',
        'pyannote.algorithms >= 0.6.7',
        'pandas >= 0.19',
        'scipy >= 0.10.0',
        'munkres >= 1.0.6',
        'docopt >= 0.6.2',
        'matplotlib >= 1.5.2',
        'scikit-learn >= 0.17.1'
    ],
    # versioneer
    version=versioneer.get_version(),
    cmdclass=versioneer.get_cmdclass(),

    # PyPI
    name='pyannote.metrics',
    description=('PyAnnote metrics'),
    author='Hervé Bredin',
    author_email='bredin@limsi.fr',
    url='http://pyannote.github.io/',
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Science/Research",
        "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"
    ],
)
<commit_msg>setup: switch to pyannote.core 0.10<commit_after>#!/usr/bin/env python
# encoding: utf-8

# The MIT License (MIT)

# Copyright (c) 2014 CNRS

# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.

# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.

# AUTHORS
# Hervé BREDIN - http://herve.niderb.fr

import versioneer
versioneer.versionfile_source = 'pyannote/metrics/_version.py'
versioneer.versionfile_build = versioneer.versionfile_source
versioneer.tag_prefix = ''
versioneer.parentdir_prefix = 'pyannote-metrics-'

from setuptools import setup, find_packages

setup(

    # package
    namespace_packages=['pyannote'],
    packages=find_packages(),
    scripts=[
        'scripts/pyannote_eval.py',
    ],
    install_requires=[
        'pyannote.algorithms >= 0.6.7',
        'pyannote.core >= 0.10',
        'pandas >= 0.19',
        'scipy >= 0.10.0',
        'munkres >= 1.0.6',
        'docopt >= 0.6.2',
        'matplotlib >= 1.5.2',
        'scikit-learn >= 0.17.1'
    ],
    # versioneer
    version=versioneer.get_version(),
    cmdclass=versioneer.get_cmdclass(),

    # PyPI
    name='pyannote.metrics',
    description=('PyAnnote metrics'),
    author='Hervé Bredin',
    author_email='bredin@limsi.fr',
    url='http://pyannote.github.io/',
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Science/Research",
        "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"
    ],
)
<|endoftext|>


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

version = open(os.path.join(os.path.dirname(__file__), 'green', 'VERSION')).read().strip()

long_description = '\n'.join(list(filter(lambda x: not x.startswith('[!'),
                             open('README.md').read().split('\n'))))

setup(
    name = 'green',
    packages = find_packages(),
    package_data = {'green' : ['VERSION']},
    version = version,
    install_requires = [
        'python-termstyle'
        ],
    entry_points = {
        'console_scripts' : [
            'green = green:main',
            'green%d = green:main' % sys.version_info[:1],     # green2 or green3
            'green-%d.%d = green:main' % sys.version_info[:2], # green-3.4 etc.
            ],
    },
    test_suite='green.test',
    description = 'Green is a clean, colorful test runner for Python unit tests.  Compare it to nose or trial.',
    long_description = long_description,
    author = 'Nathan Stocks',
    author_email = 'nathan.stocks@gmail.com',
    license = 'MIT',
    url = 'https://github.com/CleanCut/green',
    download_url = 'https://github.com/CleanCut/green/tarball/' + version,
    keywords = ['nose', 'nose2', 'trial', 'tox', 'green', 'test', 'tests', 'functional test', 'system test', 'unit test', 'unittest', 'color', 'tabular', 'clean', 'red', 'rednose'],
    classifiers = [
        'Development Status :: 4 - Beta',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Operating System :: MacOS :: MacOS X',
        'Operating System :: Microsoft :: Windows',
        'Operating System :: POSIX',
        'Operating System :: POSIX :: Linux',
        'Operating System :: Unix',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
        'Topic :: Software Development :: Libraries',
        'Topic :: Software Development :: Quality Assurance',
        'Topic :: Software Development :: Testing',
        'Topic :: Utilities'],
)
<commit_msg>Writing tests that use mock, so adding it as a dependency under python 2.<commit_after>from setuptools import setup, find_packages
import os
import sys

version = open(os.path.join(os.path.dirname(__file__), 'green', 'VERSION')).read().strip()

long_description = '\n'.join(list(filter(lambda x: not x.startswith('[!'),
                             open('README.md').read().split('\n'))))

dependencies = [
    'python-termstyle'
]
if sys.version_info[0] == 2:
    dependencies.append('mock')

setup(
    name = 'green',
    packages = find_packages(),
    package_data = {'green' : ['VERSION']},
    version = version,
    install_requires = dependencies,
    entry_points = {
        'console_scripts' : [
            'green = green:main',
            'green%d = green:main' % sys.version_info[:1],     # green2 or green3
            'green-%d.%d = green:main' % sys.version_info[:2], # green-3.4 etc.
            ],
    },
    test_suite='green.test',
    description = 'Green is a clean, colorful test runner for Python unit tests.  Compare it to nose or trial.',
    long_description = long_description,
    author = 'Nathan Stocks',
    author_email = 'nathan.stocks@gmail.com',
    license = 'MIT',
    url = 'https://github.com/CleanCut/green',
    download_url = 'https://github.com/CleanCut/green/tarball/' + version,
    keywords = ['nose', 'nose2', 'trial', 'tox', 'green', 'test', 'tests', 'functional test', 'system test', 'unit test', 'unittest', 'color', 'tabular', 'clean', 'red', 'rednose'],
    classifiers = [
        'Development Status :: 4 - Beta',
        'Environment :: Console',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Operating System :: MacOS :: MacOS X',
        'Operating System :: Microsoft :: Windows',
        'Operating System :: POSIX',
        'Operating System :: POSIX :: Linux',
        'Operating System :: Unix',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3',
        'Topic :: Software Development :: Libraries',
        'Topic :: Software Development :: Quality Assurance',
        'Topic :: Software Development :: Testing',
        'Topic :: Utilities'],
)
<|endoftext|>


<commit_before>import sys

from setuptools import setup
from setuptools import find_packages

version = '1.0.5'

# Please update tox.ini when modifying dependency version requirements
install_requires = [
    'cryptography',
    'setuptools>=1.0',
    'six',
    'future',
    'coloredlogs',
    'pgpdump',
    'python-dateutil',
]

dev_extras = [
    'nose',
    'pep8',
    'tox',
]

docs_extras = [
    'Sphinx>=1.0',  # autodoc_member_order = 'bysource', autodoc_default_flags
    'sphinx_rtd_theme',
    'sphinxcontrib-programoutput',
]

apk_jks_extras = [
    'apk_parse_ph4>=0.1.7',
    'pyjks',
]

try:
    import pypandoc
    long_description = pypandoc.convert('README.md', 'rst')
    long_description = long_description.replace("\r", '')

except(IOError, ImportError):
    import io
    with io.open('README.md', encoding="utf-8") as f:
        long_description = f.read()

setup(
    name='roca-detect',
    version=version,
    description='Key fingerprinting tools',
    long_description=long_description,
    url='https://gitlab.fi.muni.cz/xklinec/fingerprinter',
    author='Dusan Klinec',
    author_email='dusan.klinec@gmail.com',
    license='GPL',
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Developers',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Topic :: Security',
    ],

    packages=find_packages(),
    include_package_data=True,
    install_requires=install_requires,
    extras_require={
        'dev': dev_extras,
        'docs': docs_extras,
        'apk-jks': apk_jks_extras,
    },

    entry_points={
        'console_scripts': [
            'roca-detect = roca.detect:main',
        ],
    }
)
<commit_msg>v1.0.6<commit_after>import sys

from setuptools import setup
from setuptools import find_packages

version = '1.0.6'

# Please update tox.ini when modifying dependency version requirements
install_requires = [
    'cryptography',
    'setuptools>=1.0',
    'six',
    'future',
    'coloredlogs',
    'pgpdump',
    'python-dateutil',
]

dev_extras = [
    'nose',
    'pep8',
    'tox',
]

docs_extras = [
    'Sphinx>=1.0',  # autodoc_member_order = 'bysource', autodoc_default_flags
    'sphinx_rtd_theme',
    'sphinxcontrib-programoutput',
]

apk_jks_extras = [
    'apk_parse_ph4>=0.1.7',
    'pyjks',
]

try:
    import pypandoc
    long_description = pypandoc.convert('README.md', 'rst')
    long_description = long_description.replace("\r", '')

except(IOError, ImportError):
    import io
    with io.open('README.md', encoding="utf-8") as f:
        long_description = f.read()

setup(
    name='roca-detect',
    version=version,
    description='Key fingerprinting tools',
    long_description=long_description,
    url='https://gitlab.fi.muni.cz/xklinec/fingerprinter',
    author='Dusan Klinec',
    author_email='dusan.klinec@gmail.com',
    license='GPL',
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Developers',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Topic :: Security',
    ],

    packages=find_packages(),
    include_package_data=True,
    install_requires=install_requires,
    extras_require={
        'dev': dev_extras,
        'docs': docs_extras,
        'apk-jks': apk_jks_extras,
    },

    entry_points={
        'console_scripts': [
            'roca-detect = roca.detect:main',
        ],
    }
)
<|endoftext|>


<commit_before># Copyright 2017-2018 Tom Eulenfeld, GPLv3
import os.path
import re

from setuptools import find_packages, setup

def find_version(*paths):
    fname = os.path.join(os.path.dirname(__file__), *paths)
    with open(fname) as fp:
        code = fp.read()
    match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", code, re.M)
    if match:
        return match.group(1)
    raise RuntimeError("Unable to find version string.")

VERSION = find_version('yam', '__init__.py')
DESCRIPTION = (
    'Yet another monitoring tool using correlations of '
    'ambient noise (seismology)')
LONG_DESCRIPTION = (
    'Please look at the project site for tutorials and information.')

ENTRY_POINTS = {
    'console_scripts': ['yam-runtests = yam.tests:run',
                        'yam = yam.main:run_cmdline']}

REQUIRES = ['h5py', 'matplotlib', 'numpy', 'obspy>=1.1', 'obspyh5>=0.3',
            'scipy>=0.18', 'setuptools', 'tqdm']

CLASSIFIERS = [
    'Environment :: Console',
    'Intended Audience :: Science/Research',
    'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
    'Operating System :: OS Independent',
    'Programming Language :: Python :: 3',
    'Programming Language :: Python :: 3.5',
    'Programming Language :: Python :: 3.6',
    'Programming Language :: Python :: 3.7',
    'Topic :: Scientific/Engineering :: Physics'
    ]

setup(name='yam',
      version=VERSION,
      description=DESCRIPTION,
      long_description=LONG_DESCRIPTION,
      url='https://github.com/trichter/yam',
      author='Tom Eulenfeld',
      author_email='tom.eulenfeld@gmail.de',
      license='MIT',
      packages=find_packages(),
      package_dir={'yam': 'yam'},
      install_requires=REQUIRES,
      entry_points=ENTRY_POINTS,
      include_package_data=True,
      zip_safe=False,
      classifiers=CLASSIFIERS
      )
<commit_msg>add classifier for python 3.8<commit_after># Copyright 2017-2018 Tom Eulenfeld, GPLv3
import os.path
import re

from setuptools import find_packages, setup

def find_version(*paths):
    fname = os.path.join(os.path.dirname(__file__), *paths)
    with open(fname) as fp:
        code = fp.read()
    match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", code, re.M)
    if match:
        return match.group(1)
    raise RuntimeError("Unable to find version string.")

VERSION = find_version('yam', '__init__.py')
DESCRIPTION = (
    'Yet another monitoring tool using correlations of '
    'ambient noise (seismology)')
LONG_DESCRIPTION = (
    'Please look at the project site for tutorials and information.')

ENTRY_POINTS = {
    'console_scripts': ['yam-runtests = yam.tests:run',
                        'yam = yam.main:run_cmdline']}

REQUIRES = ['h5py', 'matplotlib', 'numpy', 'obspy>=1.1', 'obspyh5>=0.3',
            'scipy>=0.18', 'setuptools', 'tqdm']

CLASSIFIERS = [
    'Environment :: Console',
    'Intended Audience :: Science/Research',
    'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
    'Operating System :: OS Independent',
    'Programming Language :: Python :: 3',
    'Programming Language :: Python :: 3.5',
    'Programming Language :: Python :: 3.6',
    'Programming Language :: Python :: 3.7',
    'Programming Language :: Python :: 3.8',
    'Topic :: Scientific/Engineering :: Physics'
    ]

setup(name='yam',
      version=VERSION,
      description=DESCRIPTION,
      long_description=LONG_DESCRIPTION,
      url='https://github.com/trichter/yam',
      author='Tom Eulenfeld',
      author_email='tom.eulenfeld@gmail.de',
      license='MIT',
      packages=find_packages(),
      package_dir={'yam': 'yam'},
      install_requires=REQUIRES,
      entry_points=ENTRY_POINTS,
      include_package_data=True,
      zip_safe=False,
      classifiers=CLASSIFIERS
      )
<|endoftext|>


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

METADATA = dict(
    name='django-socialregistration',
    version='0.4.3',
    author='Alen Mujezinovic',
    author_email='alen@caffeinehit.com',
    description='Django application enabling registration through a variety of APIs',
    long_description=open('README.rst').read(),
    url='http://github.com/flashingpumpkin/django-socialregistration',
    keywords='django facebook twitter oauth openid registration',
    install_requires=['django', 'oauth2', 'python-openid'],
    include_package_data=True,
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Environment :: Web Environment',
        'Topic :: Internet',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Framework :: Django',
    ],
    packages=find_packages(),
    package_data={'socialregistration': ['templates/socialregistration/*.html'], }
)

if __name__ == '__main__':
    setup(**METADATA)

<commit_msg>Remove django requirement to prevent version conflicts when using pip<commit_after>#!/usr/bin/env python
from setuptools import setup,find_packages

METADATA = dict(
    name='django-socialregistration',
    version='0.4.3',
    author='Alen Mujezinovic',
    author_email='alen@caffeinehit.com',
    description='Django application enabling registration through a variety of APIs',
    long_description=open('README.rst').read(),
    url='http://github.com/flashingpumpkin/django-socialregistration',
    keywords='django facebook twitter oauth openid registration',
    install_requires=['oauth2', 'python-openid'],
    include_package_data=True,
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Environment :: Web Environment',
        'Topic :: Internet',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Framework :: Django',
    ],
    packages=find_packages(),
    package_data={'socialregistration': ['templates/socialregistration/*.html'], }
)

if __name__ == '__main__':
    setup(**METADATA)

<|endoftext|>


<commit_before>"""Package Keysmith."""

import codecs
import os.path
import re

import setuptools  # type: ignore

def read(*parts):
    """Read a file in this repository."""
    here = os.path.abspath(os.path.dirname(__file__))
    with codecs.open(os.path.join(here, *parts), 'r') as file_:
        return file_.read()

def find_version(*file_paths):
    """
    Read the file in setup.py and parse the version with a regex.

    https://packaging.python.org/guides/single-sourcing-package-version/
    """
    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.")

setuptools.setup(
    name='keysmith',
    version=find_version('keysmith.py'),
    description='Passphrase Generator',
    long_description=read('README.rst'),
    author='David Tucker',
    author_email='david@tucker.name',
    license='LGPLv2+',
    url='https://github.com/dmtucker/keysmith',
    python_requires='~=3.5',
    py_modules=['keysmith'],
    entry_points={'console_scripts': ['keysmith=keysmith:main']},
    keywords='diceware generator keygen passphrase password',
    classifiers=['Development Status :: 5 - Production/Stable'],
)
<commit_msg>Correct the license in setup.py<commit_after>"""Package Keysmith."""

import codecs
import os.path
import re

import setuptools  # type: ignore

def read(*parts):
    """Read a file in this repository."""
    here = os.path.abspath(os.path.dirname(__file__))
    with codecs.open(os.path.join(here, *parts), 'r') as file_:
        return file_.read()

def find_version(*file_paths):
    """
    Read the file in setup.py and parse the version with a regex.

    https://packaging.python.org/guides/single-sourcing-package-version/
    """
    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.")

setuptools.setup(
    name='keysmith',
    version=find_version('keysmith.py'),
    description='Passphrase Generator',
    long_description=read('README.rst'),
    author='David Tucker',
    author_email='david@tucker.name',
    license='BSD 3-Clause License',
    url='https://github.com/dmtucker/keysmith',
    python_requires='~=3.5',
    py_modules=['keysmith'],
    entry_points={'console_scripts': ['keysmith=keysmith:main']},
    keywords='diceware generator keygen passphrase password',
    classifiers=['Development Status :: 5 - Production/Stable'],
)
<|endoftext|>


<commit_before>from distutils.core import setup
import py2pack

f = open('README')
try:
    README = f.read()
finally:
    f.close()

setup(
    name = py2pack.__name__,
    version = py2pack.__version__,
    license = "GPLv2",
    description = py2pack.__doc__,
    long_description = README,
    author = py2pack.__author__.rsplit(' ', 1)[0],
    author_email = py2pack.__author__.rsplit(' ', 1)[1][1:-1],
    url = 'http://github.com/saschpe/py2pack',
    scripts = ['scripts/py2pack'],
    packages = ['py2pack'],
    package_data = {'py2pack': ['templates/*']},
    data_files = [('doc/py2pack', ['AUTHORS', 'LICENSE', 'README'])],
    requires = ['Jinja2'],
    classifiers = [
        'Development Status :: 4 - Beta',
        'Environment :: Console',
        'Intended Audience :: End Users/Desktop',
        'Intended Audience :: Developers',
        'Intended Audience :: System Administrators',
        'License :: OSI Approved :: GNU General Public License (GPL)',
        'Operating System :: MacOS :: MacOS X',
        'Operating System :: Microsoft :: Windows',
        'Operating System :: POSIX',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Software Development :: Code Generators',
        'Topic :: Software Development :: Pre-processors',
    ],
)
<commit_msg>Commented out additional data files. They are likely to break installation.<commit_after>from distutils.core import setup
import py2pack

f = open('README')
try:
    README = f.read()
finally:
    f.close()

setup(
    name = py2pack.__name__,
    version = py2pack.__version__,
    license = "GPLv2",
    description = py2pack.__doc__,
    long_description = README,
    author = py2pack.__author__.rsplit(' ', 1)[0],
    author_email = py2pack.__author__.rsplit(' ', 1)[1][1:-1],
    url = 'http://github.com/saschpe/py2pack',
    scripts = ['scripts/py2pack'],
    packages = ['py2pack'],
    package_data = {'py2pack': ['templates/*']},
    #data_files = [('doc/py2pack', ['AUTHORS', 'LICENSE', 'README'])],
    requires = ['Jinja2'],
    classifiers = [
        'Development Status :: 4 - Beta',
        'Environment :: Console',
        'Intended Audience :: End Users/Desktop',
        'Intended Audience :: Developers',
        'Intended Audience :: System Administrators',
        'License :: OSI Approved :: GNU General Public License (GPL)',
        'Operating System :: MacOS :: MacOS X',
        'Operating System :: Microsoft :: Windows',
        'Operating System :: POSIX',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Software Development :: Code Generators',
        'Topic :: Software Development :: Pre-processors',
    ],
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages
from codecs import open
from os import path

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

setup(
    name="vectors",
    version="1.0.0",
    author="Pantelis Paliagkas",
    author_email="p.paliagkas@gmail.com",
    description="A simple vector toolkit dealing with vectors and points \
        in the 3-dimensional space",
    long_description=long_description,
    license="The MIT License (MIT)",
    url="https://github.com/allelos/vectors",
    packages=find_packages(exclude=['contrib', 'docs', 'test']),
    classifiers=[
        "Programming Language :: Python",
        "Development Status :: 4 - Beta",
        "Topic :: Utilities",
        "License :: OSI Approved :: MIT License",
    ],
)
<commit_msg>setup was looking for README.rst, which doesn't exist<commit_after>from setuptools import setup, find_packages
from codecs import open
from os import path

cwd = path.abspath(path.dirname(__file__))
with open(path.join(cwd, 'README.md')) as f:
    long_description = f.read()

setup(
    name="vectors",
    version="1.0.0",
    author="Pantelis Paliagkas",
    author_email="p.paliagkas@gmail.com",
    description="A simple vector toolkit dealing with vectors and points \
        in the 3-dimensional space",
    long_description=long_description,
    license="The MIT License (MIT)",
    url="https://github.com/allelos/vectors",
    packages=find_packages(exclude=['contrib', 'docs', 'test']),
    classifiers=[
        "Programming Language :: Python",
        "Development Status :: 4 - Beta",
        "Topic :: Utilities",
        "License :: OSI Approved :: MIT License",
    ],
)
<|endoftext|>


<commit_before># Copyright 2018 Google LLC
#
# 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 io
import os

import setuptools

# Package metadata.

name = 'google-cloud-bigtable'
description = 'Google Cloud Bigtable API client library'
version = '0.31.1'
# Should be one of:
# 'Development Status :: 3 - Alpha'
# 'Development Status :: 4 - Beta'
# 'Development Status :: 5 - Production/Stable'
release_status = 'Development Status :: 4 - Beta'
dependencies = [
    'google-api-core[grpc] >= 1.6.0, < 2.0.0dev',
    'google-cloud-core >= 0.28.0, <0.29dev',
    'grpc-google-iam-v1 >= 0.11.4, < 0.12dev',
]
extras = {
}

# Setup boilerplate below this line.

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

readme_filename = os.path.join(package_root, 'README.rst')
with io.open(readme_filename, encoding='utf-8') as readme_file:
    readme = readme_file.read()

# Only include packages under the 'google' namespace. Do not include tests,
# benchmarks, etc.
packages = [
    package for package in setuptools.find_packages()
    if package.startswith('google')]

# Determine which namespaces are needed.
namespaces = ['google']
if 'google.cloud' in packages:
    namespaces.append('google.cloud')

setuptools.setup(
    name=name,
    version=version,
    description=description,
    long_description=readme,
    author='Google LLC',
    author_email='googleapis-packages@google.com',
    license='Apache 2.0',
    url='https://github.com/GoogleCloudPlatform/google-cloud-python',
    classifiers=[
        release_status,
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Operating System :: OS Independent',
        'Topic :: Internet',
    ],
    platforms='Posix; MacOS X; Windows',
    packages=packages,
    namespace_packages=namespaces,
    install_requires=dependencies,
    extras_require=extras,
    include_package_data=True,
    zip_safe=False,
)
<commit_msg>Update dependency to google-cloud-core (#6835)<commit_after># Copyright 2018 Google LLC
#
# 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 io
import os

import setuptools

# Package metadata.

name = 'google-cloud-bigtable'
description = 'Google Cloud Bigtable API client library'
version = '0.31.1'
# Should be one of:
# 'Development Status :: 3 - Alpha'
# 'Development Status :: 4 - Beta'
# 'Development Status :: 5 - Production/Stable'
release_status = 'Development Status :: 4 - Beta'
dependencies = [
    'google-api-core[grpc] >= 1.6.0, < 2.0.0dev',
    'google-cloud-core >= 0.29.0, < 0.30dev',
    'grpc-google-iam-v1 >= 0.11.4, < 0.12dev',
]
extras = {
}

# Setup boilerplate below this line.

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

readme_filename = os.path.join(package_root, 'README.rst')
with io.open(readme_filename, encoding='utf-8') as readme_file:
    readme = readme_file.read()

# Only include packages under the 'google' namespace. Do not include tests,
# benchmarks, etc.
packages = [
    package for package in setuptools.find_packages()
    if package.startswith('google')]

# Determine which namespaces are needed.
namespaces = ['google']
if 'google.cloud' in packages:
    namespaces.append('google.cloud')

setuptools.setup(
    name=name,
    version=version,
    description=description,
    long_description=readme,
    author='Google LLC',
    author_email='googleapis-packages@google.com',
    license='Apache 2.0',
    url='https://github.com/GoogleCloudPlatform/google-cloud-python',
    classifiers=[
        release_status,
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Operating System :: OS Independent',
        'Topic :: Internet',
    ],
    platforms='Posix; MacOS X; Windows',
    packages=packages,
    namespace_packages=namespaces,
    install_requires=dependencies,
    extras_require=extras,
    include_package_data=True,
    zip_safe=False,
)
<|endoftext|>


<commit_before># Copyright (c) 2008-2014 Simplistix Ltd, 2015-2016 Chris Withers
# See license.txt for license details.

import os

from setuptools import setup, find_packages

name = 'testfixtures'
base_dir = os.path.dirname(__file__)

setup(
    name=name,
    version=open(os.path.join(base_dir, name, 'version.txt')).read().strip(),
    author='Chris Withers',
    author_email='chris@simplistix.co.uk',
    license='MIT',
    description=("A collection of helpers and mock objects "
                 "for unit tests and doc tests."),
    long_description=open(os.path.join(base_dir,
                                       'docs',
                                       'description.txt')).read(),
    url='https://github.com/Simplistix/testfixtures',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
    ],
    packages=find_packages(),
    zip_safe=False,
    include_package_data=True,
    extras_require=dict(
        test=['nose', 'nose-fixes', 'nose-cov', 'mock', 'manuel',
              'zope.component', 'coveralls'],
        build=['sphinx', 'pkginfo', 'setuptools-git', 'wheel', 'twine']
    )
)
<commit_msg>[setup.py] Add Python 3.6 to supported versions<commit_after># Copyright (c) 2008-2014 Simplistix Ltd, 2015-2016 Chris Withers
# See license.txt for license details.

import os

from setuptools import setup, find_packages

name = 'testfixtures'
base_dir = os.path.dirname(__file__)

setup(
    name=name,
    version=open(os.path.join(base_dir, name, 'version.txt')).read().strip(),
    author='Chris Withers',
    author_email='chris@simplistix.co.uk',
    license='MIT',
    description=("A collection of helpers and mock objects "
                 "for unit tests and doc tests."),
    long_description=open(os.path.join(base_dir,
                                       'docs',
                                       'description.txt')).read(),
    url='https://github.com/Simplistix/testfixtures',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
    ],
    packages=find_packages(),
    zip_safe=False,
    include_package_data=True,
    extras_require=dict(
        test=['nose', 'nose-fixes', 'nose-cov', 'mock', 'manuel',
              'zope.component', 'coveralls'],
        build=['sphinx', 'pkginfo', 'setuptools-git', 'wheel', 'twine']
    )
)
<|endoftext|>


<commit_before>#!/usr/bin/env python
#
# Copyright 2017-2018 European Centre for Medium-Range Weather Forecasts (ECMWF).
#
# 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 io
import os

import setuptools

def read(fname):
    file_path = os.path.join(os.path.dirname(__file__), fname)
    return io.open(file_path, encoding='utf-8').read()

version = '0.9.0'

setuptools.setup(
    name='cfgrib',
    version=version,
    description='Python interface to map GRIB files to the NetCDF Common Data Model '
                'following the CF Convention using ecCodes.',
    long_description=read('README.rst'),
    author='European Centre for Medium-Range Weather Forecasts (ECMWF)',
    author_email='software.support@ecmwf.int',
    license='Apache License Version 2.0',
    url='https://github.com/ecmwf/cfgrib',
    packages=setuptools.find_packages(),
    include_package_data=True,
    setup_requires=[
        'pytest-runner',
    ],
    install_requires=[
        'attrs',
        'cffi',
        'future',
        'numpy',
        'typing',
    ],
    tests_require=[
        'pytest',
        'xarray',
    ],
    test_suite='tests',
    zip_safe=True,
    keywords='eccodes grib xarray',
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        "Programming Language :: Python :: 2",
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: Implementation :: CPython',
        'Programming Language :: Python :: Implementation :: PyPy',
        'Operating System :: OS Independent',
    ],
)
<commit_msg>Back to development: 0.9.0.1<commit_after>#!/usr/bin/env python
#
# Copyright 2017-2018 European Centre for Medium-Range Weather Forecasts (ECMWF).
#
# 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 io
import os

import setuptools

def read(fname):
    file_path = os.path.join(os.path.dirname(__file__), fname)
    return io.open(file_path, encoding='utf-8').read()

version = '0.9.0.1.dev0'

setuptools.setup(
    name='cfgrib',
    version=version,
    description='Python interface to map GRIB files to the NetCDF Common Data Model '
                'following the CF Convention using ecCodes.',
    long_description=read('README.rst'),
    author='European Centre for Medium-Range Weather Forecasts (ECMWF)',
    author_email='software.support@ecmwf.int',
    license='Apache License Version 2.0',
    url='https://github.com/ecmwf/cfgrib',
    packages=setuptools.find_packages(),
    include_package_data=True,
    setup_requires=[
        'pytest-runner',
    ],
    install_requires=[
        'attrs',
        'cffi',
        'future',
        'numpy',
        'typing',
    ],
    tests_require=[
        'pytest',
        'xarray',
    ],
    test_suite='tests',
    zip_safe=True,
    keywords='eccodes grib xarray',
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        "Programming Language :: Python :: 2",
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: Implementation :: CPython',
        'Programming Language :: Python :: Implementation :: PyPy',
        'Operating System :: OS Independent',
    ],
)
<|endoftext|>


<commit_before># -*- encoding: utf-8 -*-
import os, sys
from setuptools import setup
from setuptools import find_packages

# Make the open function accept encodings in python < 3.x
if sys.version_info[0] < 3:
    import codecs
    open = codecs.open  # pylint: disable=redefined-builtin

# 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 get_path(fname):
    return os.path.join(os.path.dirname(os.path.abspath(__file__)), fname)

def read(fname):
    return open(get_path(fname), 'r', encoding='utf8').read()

if sys.argv[-1] == 'genreadme':
    try:
        import pypandoc
        long_description = pypandoc.convert(get_path('README.md'), 'rst')
        long_description = long_description.split('<!---Illegal PyPi RST data -->')[0]
        f = open(get_path('README.rst'), 'w')
        f.write(long_description)
        f.close()
        print("Successfully converted README.md to README.rst")
    except (IOError, ImportError):
        pass
    sys.exit()

try:
    long_description=read('README.rst')
except (OSError, IOError):
    try:
        long_description=read('README.md')
    except (OSError, IOError):
        long_description = ""

install_requires = [
    'django>=1.4,<1.10',
    'six>=1.10.0',
]

setup(
    name="django-compat",
    version="1.0.11",
    author='arteria GmbH',
    author_email="admin@arteria.ch",
    packages=find_packages(),
    include_package_data=True,
    description="For- and backwards compatibility layer for Django 1.4, 1.7, 1.8, and 1.9",
    long_description=long_description,
    license='MIT',
    install_requires=install_requires,
    url="https://github.com/arteria/django-compat",
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Framework :: Django',
        'License :: OSI Approved :: MIT License',
        'Framework :: Django',
        'Framework :: Django :: 1.4',
        'Framework :: Django :: 1.6',
        'Framework :: Django :: 1.7',
        'Framework :: Django :: 1.8',
        'Framework :: Django :: 1.9',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 3',
    ],
)
<commit_msg>Bump version 1.0.12<commit_after># -*- encoding: utf-8 -*-
import os, sys
from setuptools import setup
from setuptools import find_packages

# Make the open function accept encodings in python < 3.x
if sys.version_info[0] < 3:
    import codecs
    open = codecs.open  # pylint: disable=redefined-builtin

# 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 get_path(fname):
    return os.path.join(os.path.dirname(os.path.abspath(__file__)), fname)

def read(fname):
    return open(get_path(fname), 'r', encoding='utf8').read()

if sys.argv[-1] == 'genreadme':
    try:
        import pypandoc
        long_description = pypandoc.convert(get_path('README.md'), 'rst')
        long_description = long_description.split('<!---Illegal PyPi RST data -->')[0]
        f = open(get_path('README.rst'), 'w')
        f.write(long_description)
        f.close()
        print("Successfully converted README.md to README.rst")
    except (IOError, ImportError):
        pass
    sys.exit()

try:
    long_description=read('README.rst')
except (OSError, IOError):
    try:
        long_description=read('README.md')
    except (OSError, IOError):
        long_description = ""

install_requires = [
    'django>=1.4,<1.10',
    'six>=1.10.0',
]

setup(
    name="django-compat",
    version="1.0.12",
    author='arteria GmbH',
    author_email="admin@arteria.ch",
    packages=find_packages(),
    include_package_data=True,
    description="For- and backwards compatibility layer for Django 1.4, 1.7, 1.8, and 1.9",
    long_description=long_description,
    license='MIT',
    install_requires=install_requires,
    url="https://github.com/arteria/django-compat",
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Framework :: Django',
        'License :: OSI Approved :: MIT License',
        'Framework :: Django',
        'Framework :: Django :: 1.4',
        'Framework :: Django :: 1.6',
        'Framework :: Django :: 1.7',
        'Framework :: Django :: 1.8',
        'Framework :: Django :: 1.9',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 3',
    ],
)
<|endoftext|>


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

from setuptools import find_packages, setup

from platformio import (__author__, __description__, __email__, __license__,
                        __title__, __url__, __version__)

install_requires = [
    "arrow<1",
    "bottle<0.13",
    "click>=5,<6",
    "colorama",
    "lockfile>=0.9.1,<0.13",
    "pyserial>=3,<4,!=3.3",
    "requests>=2.4.0,<3",
    "semantic_version>=2.5.0,<3"
]

setup(
    name=__title__,
    version=__version__,
    description=__description__,
    long_description=open("README.rst").read(),
    author=__author__,
    author_email=__email__,
    url=__url__,
    license=__license__,
    install_requires=install_requires,
    packages=find_packages(),
    package_data={
        "platformio": [
            "projectconftpl.ini",
            "ide/tpls/*/.*.tpl",
            "ide/tpls/*/*.tpl",
            "ide/tpls/*/*/*.tpl",
            "ide/tpls/*/.*/*.tpl"
        ]
    },
    entry_points={
        "console_scripts": [
            "pio = platformio.__main__:main",
            "piodebuggdb = platformio.__main__:debug_gdb_main",
            "platformio = platformio.__main__:main"
        ]
    },
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Environment :: Console",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: Apache Software License",
        "Operating System :: OS Independent",
        "Programming Language :: C",
        "Programming Language :: Python",
        "Topic :: Software Development",
        "Topic :: Software Development :: Build Tools",
        "Topic :: Software Development :: Compilers"
    ],
    keywords=[
        "iot", "embedded", "arduino", "mbed", "esp8266", "esp32", "fpga",
        "firmware", "continuous-integration", "cloud-ide", "avr", "arm",
        "ide", "unit-testing", "hardware", "verilog", "microcontroller",
        "debug"
    ])
<commit_msg>Depend on Arrow 0.10.0 (issue with "backports.functools-lru-cache" for PIO Core+)<commit_after># Copyright (c) 2014-present PlatformIO <contact@platformio.org>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

from setuptools import find_packages, setup

from platformio import (__author__, __description__, __email__, __license__,
                        __title__, __url__, __version__)

install_requires = [
    "arrow==0.10.0",
    "bottle<0.13",
    "click>=5,<6",
    "colorama",
    "lockfile>=0.9.1,<0.13",
    "pyserial>=3,<4,!=3.3",
    "requests>=2.4.0,<3",
    "semantic_version>=2.5.0,<3"
]

setup(
    name=__title__,
    version=__version__,
    description=__description__,
    long_description=open("README.rst").read(),
    author=__author__,
    author_email=__email__,
    url=__url__,
    license=__license__,
    install_requires=install_requires,
    packages=find_packages(),
    package_data={
        "platformio": [
            "projectconftpl.ini",
            "ide/tpls/*/.*.tpl",
            "ide/tpls/*/*.tpl",
            "ide/tpls/*/*/*.tpl",
            "ide/tpls/*/.*/*.tpl"
        ]
    },
    entry_points={
        "console_scripts": [
            "pio = platformio.__main__:main",
            "piodebuggdb = platformio.__main__:debug_gdb_main",
            "platformio = platformio.__main__:main"
        ]
    },
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Environment :: Console",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: Apache Software License",
        "Operating System :: OS Independent",
        "Programming Language :: C",
        "Programming Language :: Python",
        "Topic :: Software Development",
        "Topic :: Software Development :: Build Tools",
        "Topic :: Software Development :: Compilers"
    ],
    keywords=[
        "iot", "embedded", "arduino", "mbed", "esp8266", "esp32", "fpga",
        "firmware", "continuous-integration", "cloud-ide", "avr", "arm",
        "ide", "unit-testing", "hardware", "verilog", "microcontroller",
        "debug"
    ])
<|endoftext|>


<commit_before>"""
The setup package to install SeleniumBase dependencies and plugins
(Uses selenium 3.x and is compatible with Python 2.7+ and Python 3.6+)
"""

from setuptools import setup, find_packages  # noqa
from os import path

this_directory = path.abspath(path.dirname(__file__))
long_description = None
try:
    with open(path.join(this_directory, 'README.md'), 'rb') as f:
        long_description = f.read().decode('utf-8')
except IOError:
    long_description = 'Reliable Browser Automation & Testing Framework'

setup(
    name='seleniumbase',
    version='1.17.17',
    description='Reliable Browser Automation & Testing Framework',
    long_description=long_description,
    long_description_content_type='text/markdown',
    url='https://github.com/seleniumbase/SeleniumBase',
    platforms=["Windows", "Linux", "Unix", "Mac OS-X"],
    author='Michael Mintz',
    author_email='mdmintz@gmail.com',
    maintainer='Michael Mintz',
    license="MIT",
    classifiers=[
        "License :: OSI Approved :: MIT License",
        "Development Status :: 5 - Production/Stable",
        "Topic :: Internet",
        "Topic :: Scientific/Engineering",
        "Topic :: Software Development",
        "Topic :: Software Development :: Quality Assurance",
        "Topic :: Software Development :: Testing",
        "Topic :: Software Development :: Testing :: Acceptance",
        "Topic :: Software Development :: Testing :: Traffic Generation",
        "Topic :: Utilities",
        "Operating System :: Microsoft :: Windows",
        "Operating System :: Unix",
        "Operating System :: MacOS",
        "Framework :: Pytest",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
    ],
    install_requires=[
        'pip',
        'setuptools',
        'six',
        'nose',
        'ipdb',
        'chardet',
        'unittest2',
        'selenium==3.141.0',
        'requests==2.20.1',  # Changing this may effect "urllib3"
        'urllib3==1.24.1',  # Keep this lib in sync with "requests"
        'pytest>=4.0.2',
        'pytest-cov>=2.6.0',
        'pytest-html>=1.19.0',
        'pytest-rerunfailures>=5.0',
        'pytest-xdist>=1.25.0',
        'parameterized==0.6.1',
        'beautifulsoup4>=4.6.0',  # Keep at >=4.6.0 while using bs4
        'colorama==0.4.1',
        'pyotp>=2.2.7',
        'boto>=2.49.0',
        'flake8==3.6.0',
        'PyVirtualDisplay==0.2.1',
    ],
    packages=[
        'seleniumbase',
        'seleniumbase.common',
        'seleniumbase.config',
        'seleniumbase.console_scripts',
        'seleniumbase.core',
        'seleniumbase.drivers',
        'seleniumbase.fixtures',
        'seleniumbase.masterqa',
        'seleniumbase.plugins',
        'seleniumbase.utilities',
        'seleniumbase.utilities.selenium_grid',
        'seleniumbase.utilities.selenium_ide',
    ],
    entry_points={
        'console_scripts': [
            'seleniumbase = seleniumbase.console_scripts.run:main',
        ],
        'nose.plugins': [
            'base_plugin = seleniumbase.plugins.base_plugin:Base',
            'selenium = seleniumbase.plugins.selenium_plugin:SeleniumBrowser',
            'page_source = seleniumbase.plugins.page_source:PageSource',
            'screen_shots = seleniumbase.plugins.screen_shots:ScreenShots',
            'test_info = seleniumbase.plugins.basic_test_info:BasicTestInfo',
            ('db_reporting = '
             'seleniumbase.plugins.db_reporting_plugin:DBReporting'),
            's3_logging = seleniumbase.plugins.s3_logging_plugin:S3Logging',
        ],
        'pytest11': ['seleniumbase = seleniumbase.plugins.pytest_plugin']
    }
)

# print(os.system("cat seleniumbase.egg-info/PKG-INFO"))
print("\n*** SeleniumBase Installation Complete! ***\n")
<commit_msg>Version 1.17.18<commit_after>"""
The setup package to install SeleniumBase dependencies and plugins
(Uses selenium 3.x and is compatible with Python 2.7+ and Python 3.6+)
"""

from setuptools import setup, find_packages  # noqa
from os import path

this_directory = path.abspath(path.dirname(__file__))
long_description = None
try:
    with open(path.join(this_directory, 'README.md'), 'rb') as f:
        long_description = f.read().decode('utf-8')
except IOError:
    long_description = 'Reliable Browser Automation & Testing Framework'

setup(
    name='seleniumbase',
    version='1.17.18',
    description='Reliable Browser Automation & Testing Framework',
    long_description=long_description,
    long_description_content_type='text/markdown',
    url='https://github.com/seleniumbase/SeleniumBase',
    platforms=["Windows", "Linux", "Unix", "Mac OS-X"],
    author='Michael Mintz',
    author_email='mdmintz@gmail.com',
    maintainer='Michael Mintz',
    license="MIT",
    classifiers=[
        "License :: OSI Approved :: MIT License",
        "Development Status :: 5 - Production/Stable",
        "Topic :: Internet",
        "Topic :: Scientific/Engineering",
        "Topic :: Software Development",
        "Topic :: Software Development :: Quality Assurance",
        "Topic :: Software Development :: Testing",
        "Topic :: Software Development :: Testing :: Acceptance",
        "Topic :: Software Development :: Testing :: Traffic Generation",
        "Topic :: Utilities",
        "Operating System :: Microsoft :: Windows",
        "Operating System :: Unix",
        "Operating System :: MacOS",
        "Framework :: Pytest",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.4",
        "Programming Language :: Python :: 3.5",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
    ],
    install_requires=[
        'pip',
        'setuptools',
        'six',
        'nose',
        'ipdb',
        'chardet',
        'unittest2',
        'selenium==3.141.0',
        'requests==2.20.1',  # Changing this may effect "urllib3"
        'urllib3==1.24.1',  # Keep this lib in sync with "requests"
        'pytest>=4.0.2',
        'pytest-cov>=2.6.0',
        'pytest-html>=1.19.0',
        'pytest-rerunfailures>=5.0',
        'pytest-xdist>=1.25.0',
        'parameterized==0.6.1',
        'beautifulsoup4>=4.6.0',  # Keep at >=4.6.0 while using bs4
        'colorama==0.4.1',
        'pyotp>=2.2.7',
        'boto>=2.49.0',
        'flake8==3.6.0',
        'PyVirtualDisplay==0.2.1',
    ],
    packages=[
        'seleniumbase',
        'seleniumbase.common',
        'seleniumbase.config',
        'seleniumbase.console_scripts',
        'seleniumbase.core',
        'seleniumbase.drivers',
        'seleniumbase.fixtures',
        'seleniumbase.masterqa',
        'seleniumbase.plugins',
        'seleniumbase.utilities',
        'seleniumbase.utilities.selenium_grid',
        'seleniumbase.utilities.selenium_ide',
    ],
    entry_points={
        'console_scripts': [
            'seleniumbase = seleniumbase.console_scripts.run:main',
        ],
        'nose.plugins': [
            'base_plugin = seleniumbase.plugins.base_plugin:Base',
            'selenium = seleniumbase.plugins.selenium_plugin:SeleniumBrowser',
            'page_source = seleniumbase.plugins.page_source:PageSource',
            'screen_shots = seleniumbase.plugins.screen_shots:ScreenShots',
            'test_info = seleniumbase.plugins.basic_test_info:BasicTestInfo',
            ('db_reporting = '
             'seleniumbase.plugins.db_reporting_plugin:DBReporting'),
            's3_logging = seleniumbase.plugins.s3_logging_plugin:S3Logging',
        ],
        'pytest11': ['seleniumbase = seleniumbase.plugins.pytest_plugin']
    }
)

# print(os.system("cat seleniumbase.egg-info/PKG-INFO"))
print("\n*** SeleniumBase Installation Complete! ***\n")
<|endoftext|>