<commit_before>import ez_setup # From http://peak.telecommunity.com/DevCenter/setuptools
ez_setup.use_setuptools()

from setuptools import setup, find_packages

setup(
    name = "django",
    version = "1.0.0",
    url = 'http://www.djangoproject.com/',
    author = 'Lawrence Journal-World',
    author_email = 'holovaty@gmail.com',
    description = 'A high-level Python Web framework that encourages rapid development and clean, pragmatic design.',
    license = 'BSD',
    packages = find_packages(),
    package_data = {
        'django.conf': ['admin_templates/*.html', 'admin_templates/doc/*.html',
                        'admin_templates/registration/*.html',
                        'admin_media/css/*.css', 'admin_media/img/admin/*.gif',
                        'admin_media/img/admin/*.png', 'admin_media/js/*.js',
                        'admin_media/js/admin/*js'],
    },
    scripts = ['django/bin/django-admin.py'],
    zip_safe = False,
)
<commit_msg>Fixed #653 -- setup.up now accounts for admin file moves. Thanks, korpios@gmail.com<commit_after>import ez_setup # From http://peak.telecommunity.com/DevCenter/setuptools
ez_setup.use_setuptools()

from setuptools import setup, find_packages

setup(
    name = "django",
    version = "1.0.0",
    url = 'http://www.djangoproject.com/',
    author = 'Lawrence Journal-World',
    author_email = 'holovaty@gmail.com',
    description = 'A high-level Python Web framework that encourages rapid development and clean, pragmatic design.',
    license = 'BSD',
    packages = find_packages(),
    package_data = {
        'django.contrib.admin': ['templates/admin/*.html', 'templates/admin_doc/*.html',
                        'templates/registration/*.html',
                        'media/css/*.css', 'media/img/admin/*.gif',
                        'media/img/admin/*.png', 'media/js/*.js',
                        'media/js/admin/*js'],
    },
    scripts = ['django/bin/django-admin.py'],
    zip_safe = False,
)
<|endoftext|>


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

kenja_version = '0.6-122-gbd1964f'

parser_path = 'kenja/lib/java/java-parser.jar'
parser_location = 'https://github.com/niyaton/kenja-java-parser/releases/download/0.3/kenja-java-parser-0.3-jar-with-dependencies.jar'
parser_digest = '9e45f37dd7f52f5cf5c817026159db3b'

confirm_text = None
exit_when_no = True
if not os.path.exists(parser_path):
    confirm_text = "{0} does not exist. Do you want to download it?[y/n]".format(parser_path)
elif hashlib.md5(open(parser_path).read()).hexdigest() != parser_digest:
    confirm_text = "{0} is different from designated parser script. Do you want to overwrite it?[y/n]".format(parser_path)
    exit_when_no = False

if confirm_text is not None:
    print(confirm_text)
    choice = raw_input().lower()
    yes = set(['yes', 'y', 'ye'])
    no = set(['no', 'n'])
    if choice in yes:
        urllib.urlretrieve(parser_location, parser_path)
        digest = hashlib.md5(open(parser_path).read()).hexdigest()
        if parser_digest != digest:
            print("md5 hash of {0} is incorrect! remove it and try again.".format(parser_path))
            sys.exit(1)
    elif exit_when_no:
        sys.exit(1)

try:
    kenja_version = subprocess.check_output(["git", "describe"]).rstrip()
except subprocess.CalledProcessError, e:
    pass

setup(name='kenja',
      version=kenja_version,
      description='A Refactoring Detection tool powered by Historage',
      author='Kenji Fujiwara',
      author_email='kenji-f@is.naist.jp',
      url='https://github.com/niyaton/kenja',
      packages=find_packages(),
      data_files=[("kenja/lib/java", ["kenja/lib/java/java-parser.jar"]),
                  ("kenja/lib/csharp", glob.glob("kenja/lib/csharp/*")),
                  ("kenja", ["kenja/readme_for_historage.txt"])],
      entry_points={
          'console_scripts': [
              'kenja.historage.convert = kenja.convert:convert',
              'kenja.historage.parse = kenja.convert:parse',
              'kenja.historage.construct = kenja.convert:construct',
              'kenja.detection.extract_method = kenja.refactoring_detection:main',
              'kenja.detection.pull_up_method = kenja.pull_up_method:main',
              'kenja.debug.check_duplicate_entry = kenja.git.detect_duplicate_entry:main',
              'kenja.debug.check_historage_equivalence = kenja.git.diff:main'
          ]
      },
      install_requires=[
          "pyrem_torq",
          "GitPython",
          "kenja-python-parser"
      ],
      dependency_links=[
          'https://github.com/tos-kamiya/pyrem_torq/tarball/master#egg=pyrem_torq',
          'https://github.com/gitpython-developers/GitPython/tarball/0.3.2#egg=GitPython',
          'https://github.com/sdlab-naist/kenja-python-parser/tarball/master#egg=kenja-python-parser'
      ],
      license="MIT license",
      classifiers=[
          'Development Status :: 3 - Alpha',
          'Environment :: Console',
          'Environment :: Web Environment',
          'Intended Audience :: Science/Resarch',
          'License :: OSI Approved :: MIT License',
          'Operating System :: MacOS :: MacOS X',
          'Operating System :: POSIX :: Linux',
          'Programming Language :: Python',
          'Programming Language :: Java',
          'Topic :: Scientific/Engineering :: Information Analysis',
          'Topic :: Software Development :: Libraries',
          'Topic :: Utilities'
      ]
      )
<commit_msg>extracted copy_java_parser function<commit_after>import os
import sys
import hashlib
import urllib
import subprocess
import glob
from setuptools import setup, find_packages

kenja_version = '0.6-122-gbd1964f'

def copy_java_parser():
    parser_path = 'kenja/lib/java/java-parser.jar'
    parser_location = 'https://github.com/niyaton/kenja-java-parser/releases/download/0.3/kenja-java-parser-0.3-jar-with-dependencies.jar'
    parser_digest = '9e45f37dd7f52f5cf5c817026159db3b'

    confirm_text = None
    exit_when_no = True
    if not os.path.exists(parser_path):
        confirm_text = "{0} does not exist. Do you want to download it?[y/n]".format(parser_path)
    elif hashlib.md5(open(parser_path).read()).hexdigest() != parser_digest:
        confirm_text = "{0} is different from designated parser script. Do you want to overwrite it?[y/n]".format(parser_path)
        exit_when_no = False

    if confirm_text is not None:
        print(confirm_text)
        choice = raw_input().lower()
        yes = set(['yes', 'y', 'ye'])
        no = set(['no', 'n'])
        if choice in yes:
            urllib.urlretrieve(parser_location, parser_path)
            digest = hashlib.md5(open(parser_path).read()).hexdigest()
            if parser_digest != digest:
                print("md5 hash of {0} is incorrect! remove it and try again.".format(parser_path))
                sys.exit(1)
        elif exit_when_no:
            sys.exit(1)

copy_java_parser()

try:
    kenja_version = subprocess.check_output(["git", "describe"]).rstrip()
except subprocess.CalledProcessError, e:
    pass

setup(name='kenja',
      version=kenja_version,
      description='A Refactoring Detection tool powered by Historage',
      author='Kenji Fujiwara',
      author_email='kenji-f@is.naist.jp',
      url='https://github.com/niyaton/kenja',
      packages=find_packages(),
      data_files=[("kenja/lib/java", ["kenja/lib/java/java-parser.jar"]),
                  ("kenja/lib/csharp", glob.glob("kenja/lib/csharp/*")),
                  ("kenja", ["kenja/readme_for_historage.txt"])],
      entry_points={
          'console_scripts': [
              'kenja.historage.convert = kenja.convert:convert',
              'kenja.historage.parse = kenja.convert:parse',
              'kenja.historage.construct = kenja.convert:construct',
              'kenja.detection.extract_method = kenja.refactoring_detection:main',
              'kenja.detection.pull_up_method = kenja.pull_up_method:main',
              'kenja.debug.check_duplicate_entry = kenja.git.detect_duplicate_entry:main',
              'kenja.debug.check_historage_equivalence = kenja.git.diff:main'
          ]
      },
      install_requires=[
          "pyrem_torq",
          "GitPython",
          "kenja-python-parser"
      ],
      dependency_links=[
          'https://github.com/tos-kamiya/pyrem_torq/tarball/master#egg=pyrem_torq',
          'https://github.com/gitpython-developers/GitPython/tarball/0.3.2#egg=GitPython',
          'https://github.com/sdlab-naist/kenja-python-parser/tarball/master#egg=kenja-python-parser'
      ],
      license="MIT license",
      classifiers=[
          'Development Status :: 3 - Alpha',
          'Environment :: Console',
          'Environment :: Web Environment',
          'Intended Audience :: Science/Resarch',
          'License :: OSI Approved :: MIT License',
          'Operating System :: MacOS :: MacOS X',
          'Operating System :: POSIX :: Linux',
          'Programming Language :: Python',
          'Programming Language :: Java',
          'Topic :: Scientific/Engineering :: Information Analysis',
          'Topic :: Software Development :: Libraries',
          'Topic :: Utilities'
      ]
      )
<|endoftext|>


<commit_before>from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

from setuptools import setup

setup(
    name='pyle',
    version='0.4',
    description='Use Python for shell one-liners.',
    author='Alexander Ljungberg',
    author_email='aljungberg@slevenbits.com',
    url='https://github.com/aljungberg/pyle',
    license='BSD',
    py_modules=['pyle'],
    scripts=['pyle'],
    test_suite='pyle_test',
    keywords=["shell"],
    classifiers=[
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 3",
        "Development Status :: 3 - Beta",
        "Environment :: Console",
        "Intended Audience :: System Administrators",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: BSD License",
        "Operating System :: POSIX",
        "Topic :: System :: Shells",
        "Topic :: System :: Systems Administration"
    ],
    long_description="""\
    Use Python for shell one-liners
    -------------------------------

    Pyle makes it easy to use Python as a replacement for command line tools
    such as ``sed`` or ``perl``.

    See https://github.com/aljungberg/pyle for more information.
    """,
    long_description_content_type='text/markdown',
    install_requires=[
        'sh >= 1.12.14',
        'future >= 0.17.1',
    ],
)
<commit_msg>Be specific about required version of Python.<commit_after>from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals

from setuptools import setup

setup(
    name='pyle',
    version='0.4',
    description='Use Python for shell one-liners.',
    author='Alexander Ljungberg',
    author_email='aljungberg@slevenbits.com',
    url='https://github.com/aljungberg/pyle',
    license='BSD',
    py_modules=['pyle'],
    python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
    scripts=['pyle'],
    test_suite='pyle_test',
    keywords=["shell"],
    classifiers=[
        "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",
        "Programming Language :: Python :: 3.7",
        "Development Status :: 3 - Beta",
        "Environment :: Console",
        "Intended Audience :: System Administrators",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: BSD License",
        "Operating System :: POSIX",
        "Topic :: System :: Shells",
        "Topic :: System :: Systems Administration"
    ],
    long_description="""\
    Use Python for shell one-liners
    -------------------------------

    Pyle makes it easy to use Python as a replacement for command line tools
    such as ``sed`` or ``perl``.

    See https://github.com/aljungberg/pyle for more information.
    """,
    long_description_content_type='text/markdown',
    install_requires=[
        'sh >= 1.12.14',
        'future >= 0.17.1',
    ],
)
<|endoftext|>


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

from setuptools import setup

setup(name='l1',
      version='0.1',
      description='L1',
      author='Bugra Akyildiz',
      author_email='vbugra@gmail.com',
      url='bugra.github.io',
      packages=['l1'],
      install_requires=['pandas==1.1.3',
                        'cvxopt==1.2.5.post1',
                        'statsmodels==0.12.1',
                        ]

     )
<commit_msg>Bump pandas from 1.1.3 to 1.1.4<commit_after>#!/usr/bin/env python

from setuptools import setup

setup(name='l1',
      version='0.1',
      description='L1',
      author='Bugra Akyildiz',
      author_email='vbugra@gmail.com',
      url='bugra.github.io',
      packages=['l1'],
      install_requires=['pandas==1.1.4',
                        'cvxopt==1.2.5.post1',
                        'statsmodels==0.12.1',
                        ]

     )
<|endoftext|>


<commit_before>import sys
import platform
import subprocess

import distutils
import setuptools

from distutils.core import Extension
from setuptools.command.build_ext import build_ext
"""
setup.py support multiple commands. The default for building C/C++ code is
build_ext, and we need to overload it in order to call the build chain

There are some so-called Extensions to handle Makefiles etc., but setuptools
is such a voodoo piece of code difficult to debug, understand and use, that for
our case it is easier and safer to call the automated chain from processes.

In order to not confuse the installation procedures between usual repository
clone and "pip install", the goal is to keep the toolchain as much as possible
unchanged. For that reason the AutoconfiCommand class is just a way to step into
the extensions building process of setup.py and follow afterwards step-by-step
the usual installation instructions.
"""

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

# Read in requirements
requirements = open('scripts/requirements.txt').readlines()
requirements = [r.strip() for r in requirements]

class AutoconfigCommand(build_ext):
    """A custom command to compile qFlex"""

    description = 'Compile qFlex python binary'

    def run(self):
        # Compile before install
        self.autoconf()

        # This fake call will generate a so lib,
        # but the next method will overwrite it
        build_ext.run(self)

        # Make the pybind11 interface
        self.make()

    def autoconf(self):
        try:
            out = subprocess.check_output(['autoconf', '--version'])
        except OSError:
            raise RuntimeError(
                'Autoconf must be installed to build the following extensions: '
                + ', '.join(e.name for e in self.extensions))
        if platform.system() == 'Windows':
            raise RuntimeError('For Windows use Docker image of QFlex.')
        """
          Run autoreconf.
        """
        self.runcommand(['autoreconf', '-i'])
        """
          Run autoconf.
        """
        self.runcommand(['autoconf'])
        """
          Run configure.
        """
        self.runcommand(['./configure'])
        """
        Git
        """
        try:
            # After pip install the folder is not a git repo
            self.runcommand(['git', 'init', '.'])
            # Add the docopt submodule
            self.runcommand([
                'git', 'submodule', 'add',
                'https://github.com/docopt/docopt.cpp.git', 'src/docopt'
            ])
        except:
            e = sys.exc_info()[0]
            print("SUBMODULE ERROR...", e)

    def make(self):
        # The destination should not be the one specified in the Makefile
        # but the one necessary to get the .so in the wheel
        # CIRQ_IF_DIR is defined in src/Makefile.in
        destination_lib = "CIRQ_IF_DIR=\'../" + self.build_lib + "/qflexcirq/\'"

        # Override the destination path
        # http://www.gnu.org/software/make/manual/make.html#Overriding
        command = ['make', destination_lib, 'pybind']

        self.runcommand(command)

    def runcommand(self, command):
        self.announce('Running command: %s' % str(command),
                      level=distutils.log.INFO)
        subprocess.check_call(command)

setuptools.setup(
    name="qflexcirq",
    version="0.0.5",
    author="The QFlex Contributors",
    description="A Google Cirq interface for QFlex",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/ngnrsaa/qflex",
    python_requires=('>=3.6'),
    install_requires=requirements,
    license='Apache 2',

    # Consider these directories as parts of the package
    # Will be copied to the wheel
    packages=[
        'qflexcirq', 'qflexcirq/interface', 'qflexcirq/circuits',
        'qflexcirq/ordering'
    ],

    # This is just to fool setuptools to start build_ext
    # The compiled library will be called 'qflex'
    # and will be copied in 'qflexcirq'
    ext_modules=[Extension('qflexcirq.qflex', sources=[])],

    # A customised command to start the C++ compilation
    cmdclass={
        'build_ext': AutoconfigCommand,
    },
)
<commit_msg>Speed-up compilation.<commit_after>import sys
import platform
import subprocess

import distutils
import setuptools

from distutils.core import Extension
from setuptools.command.build_ext import build_ext
"""
setup.py support multiple commands. The default for building C/C++ code is
build_ext, and we need to overload it in order to call the build chain

There are some so-called Extensions to handle Makefiles etc., but setuptools
is such a voodoo piece of code difficult to debug, understand and use, that for
our case it is easier and safer to call the automated chain from processes.

In order to not confuse the installation procedures between usual repository
clone and "pip install", the goal is to keep the toolchain as much as possible
unchanged. For that reason the AutoconfiCommand class is just a way to step into
the extensions building process of setup.py and follow afterwards step-by-step
the usual installation instructions.
"""

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

# Read in requirements
requirements = open('scripts/requirements.txt').readlines()
requirements = [r.strip() for r in requirements]

class AutoconfigCommand(build_ext):
    """A custom command to compile qFlex"""

    description = 'Compile qFlex python binary'

    def run(self):
        # Compile before install
        self.autoconf()

        # This fake call will generate a so lib,
        # but the next method will overwrite it
        build_ext.run(self)

        # Make the pybind11 interface
        self.make()

    def autoconf(self):
        try:
            out = subprocess.check_output(['autoconf', '--version'])
        except OSError:
            raise RuntimeError(
                'Autoconf must be installed to build the following extensions: '
                + ', '.join(e.name for e in self.extensions))
        if platform.system() == 'Windows':
            raise RuntimeError('For Windows use Docker image of QFlex.')
        """
          Run autoreconf.
        """
        self.runcommand(['autoreconf', '-i'])
        """
          Run autoconf.
        """
        self.runcommand(['autoconf'])
        """
          Run configure.
        """
        self.runcommand(['./configure'])
        """
        Git
        """
        try:
            # After pip install the folder is not a git repo
            self.runcommand(['git', 'init', '.'])
            # Add the docopt submodule
            self.runcommand([
                'git', 'submodule', 'add',
                'https://github.com/docopt/docopt.cpp.git', 'src/docopt'
            ])
        except:
            e = sys.exc_info()[0]
            print("SUBMODULE ERROR...", e)

    def make(self):
        # The destination should not be the one specified in the Makefile
        # but the one necessary to get the .so in the wheel
        # CIRQ_IF_DIR is defined in src/Makefile.in
        destination_lib = "CIRQ_IF_DIR=\'../" + self.build_lib + "/qflexcirq/\'"

        # Override the destination path
        # http://www.gnu.org/software/make/manual/make.html#Overriding
        command = ['make', '-j8', destination_lib, 'pybind']

        self.runcommand(command)

    def runcommand(self, command):
        self.announce('Running command: %s' % str(command),
                      level=distutils.log.INFO)
        subprocess.check_call(command)

setuptools.setup(
    name="qflexcirq",
    version="0.0.5",
    author="The QFlex Contributors",
    description="A Google Cirq interface for QFlex",
    long_description=long_description,
    long_description_content_type="text/markdown",
    url="https://github.com/ngnrsaa/qflex",
    python_requires=('>=3.6'),
    install_requires=requirements,
    license='Apache 2',

    # Consider these directories as parts of the package
    # Will be copied to the wheel
    packages=[
        'qflexcirq', 'qflexcirq/interface', 'qflexcirq/circuits',
        'qflexcirq/ordering'
    ],

    # This is just to fool setuptools to start build_ext
    # The compiled library will be called 'qflex'
    # and will be copied in 'qflexcirq'
    ext_modules=[Extension('qflexcirq.qflex', sources=[])],

    # A customised command to start the C++ compilation
    cmdclass={
        'build_ext': AutoconfigCommand,
    },
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

setup(
    name="django-report-builder",
    version="3.1.11",
    author="David Burke",
    author_email="david@burkesoftware.com",
    description=("Query and Report builder for Django ORM"),
    license="BSD",
    keywords="django report",
    url="https://github.com/burke-software/django-report-builder",
    packages=find_packages(),
    include_package_data=True,
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        'Environment :: Web Environment',
        'Framework :: Django',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.4',
        'Intended Audience :: Developers',
        'Intended Audience :: System Administrators',
        "License :: OSI Approved :: BSD License",
    ],
    install_requires=[
        'django>=1.7',
        'openpyxl==2.2.1',
        'python-dateutil',
        'django-report-utils>=0.3.11',
        'djangorestframework>=3.0.4',
        "six"
    ]
)
<commit_msg>Bump version to 3.1.12<commit_after>from setuptools import setup, find_packages

setup(
    name="django-report-builder",
    version="3.1.12",
    author="David Burke",
    author_email="david@burkesoftware.com",
    description=("Query and Report builder for Django ORM"),
    license="BSD",
    keywords="django report",
    url="https://github.com/burke-software/django-report-builder",
    packages=find_packages(),
    include_package_data=True,
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        'Environment :: Web Environment',
        'Framework :: Django',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.4',
        'Intended Audience :: Developers',
        'Intended Audience :: System Administrators',
        "License :: OSI Approved :: BSD License",
    ],
    install_requires=[
        'django>=1.7',
        'openpyxl==2.2.1',
        'python-dateutil',
        'django-report-utils>=0.3.11',
        'djangorestframework>=3.0.4',
        "six"
    ]
)
<|endoftext|>


<commit_before>from distutils.core import setup

dependencies = [
    "beautifulsoup4",
    "requests"
]

setup(
    name = 'baidubaike',
    packages = ['baidubaike'],
    version = '1.2.1',
    description = 'A wrapper of Baidu Baike',
    author = 'yakiang',
    author_email = 'strak47@gmail.com',
    url = 'https://github.com/yakiang/baidubaike',
    download_url = 'http://yakiang.com/project/baidubaike-1.0.tar.gz',
    keywords = ['baidu', 'wiki', 'API', 'html'],
    classifiers = (
        'Natural Language :: Chinese (Simplified)',
        'Natural Language :: Chinese (Traditional)',
        'Operating System :: OS Independent',
        'Development Status :: 4 - Beta',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development :: Libraries',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3'
    ),
    long_description = """
    With this package you can easily get content of an item in Baidu Baike,
    you can also search relative items.
    """
)
<commit_msg>add long discriptions<commit_after>#-*-coding:utf-8-*-
from distutils.core import setup

dependencies = [
    "beautifulsoup4",
    "requests"
]

setup(
    name = 'baidubaike',
    packages = ['baidubaike'],
    version = '1.2.2',
    description = 'A wrapper of Baidu Baike',
    author = 'yakiang',
    author_email = 'strak47@gmail.com',
    url = 'https://github.com/yakiang/baidubaike',
    download_url = 'http://yakiang.com/project/baidubaike-1.2.2.tar.gz',
    keywords = ['baidu', 'wiki', 'API', 'html'],
    classifiers = (
        'Natural Language :: Chinese (Simplified)',
        'Natural Language :: Chinese (Traditional)',
        'Operating System :: OS Independent',
        'Development Status :: 4 - Beta',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
        'Topic :: Software Development :: Libraries',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 3'
    ),
    long_description = """
    With this package you can easily get content of an item in Baidu Baike,
    you can also search relative items.

    百度百科词条内容的简单封装，可轻松获取词条内容、外部链接、词条标签、参考链接等，
    亦可搜索词条关键词。
    """
)
<|endoftext|>


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

# whatlastgenre
# Improves genre metadata of audio files
# based on tags from various music sites.
#
# Copyright (c) 2012-2015 YetAnotherNerd
#
# 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.

'''whatlastgenre setup'''

import os

from setuptools import setup

from wlg import __version__

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

setup(
    name='whatlastgenre',
    version=__version__,
    license='MIT',
    url='http://github.com/YetAnotherNerd/whatlastgenre',
    description=('Improves genre metadata of audio files '
                 'based on tags from various music sites.'),
    long_description=read('README.md'),
    packages=['wlg'],
    package_data={'wlg': ['tags.txt']},
    entry_points={
        'console_scripts': [
            'whatlastgenre = wlg.whatlastgenre:main'
        ]
    },
    install_requires=['mutagen', 'requests'],
    extras_require={
        'discogs': ['rauth'],
        'reqcache': ['requests-cache'],
    },
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Console',
        'Topic :: Multimedia :: Sound/Audio',
        'Topic :: Utilities'
    ]
)
<commit_msg>update package_data<commit_after>#!/usr/bin/env python

# whatlastgenre
# Improves genre metadata of audio files
# based on tags from various music sites.
#
# Copyright (c) 2012-2015 YetAnotherNerd
#
# 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.

'''whatlastgenre setup'''

import os

from setuptools import setup

from wlg import __version__

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

setup(
    name='whatlastgenre',
    version=__version__,
    license='MIT',
    url='http://github.com/YetAnotherNerd/whatlastgenre',
    description=('Improves genre metadata of audio files '
                 'based on tags from various music sites.'),
    long_description=read('README.md'),
    packages=['wlg'],
    package_data={'wlg': ['data/genres.txt', 'data/tags.txt']},
    entry_points={
        'console_scripts': [
            'whatlastgenre = wlg.whatlastgenre:main'
        ]
    },
    install_requires=['mutagen', 'requests'],
    extras_require={
        'discogs': ['rauth'],
        'reqcache': ['requests-cache'],
    },
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Console',
        'Topic :: Multimedia :: Sound/Audio',
        'Topic :: Utilities'
    ]
)
<|endoftext|>


<commit_before>import sys
from codecs import open  # To use a consistent encoding
from os import path

# Always prefer setuptools over distutils
from setuptools import (setup, find_packages)

here = path.abspath(path.dirname(__file__))
install_requirements = [
  'sanic~=0.6.0',
  'sanic-jinja2~=0.5.2',
  'msgpack-python~=0.4.8',
]

# The following are meant to avoid accidental upload/registration of this
# package in the Python Package Index (PyPi)
pypi_operations = frozenset(['register', 'upload']) & frozenset([x.lower() for x in sys.argv])
if pypi_operations:
    raise ValueError('Command(s) {} disabled in this example.'.format(', '.join(pypi_operations)))

# Python favors using README.rst files (as opposed to README.md files)
# If you wish to use README.md, you must add the following line to your MANIFEST.in file::
#
#     include README.md
#
# then you can change the README.rst to README.md below.
with open(path.join(here, 'README.rst'), encoding='utf-8') as fh:
    long_description = fh.read()

# We separate the version into a separate file so we can let people
# import everything in their __init__.py without causing ImportError.
__version__ = None
exec(open('sharedhttp/about.py').read())
if __version__ is None:
    raise IOError('about.py in project lacks __version__!')

setup(name='sharedhttp', version=__version__,
      author='Ben Jolitz',
      description='Multicast simple HTTP server',
      long_description=long_description,
      license='BSD',
      packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
      include_package_data=True,
      # This part is good for when the setup.py itself cannot proceed until dependencies
      # in ``setup_requires`` are met. If you also need some/all of the dependencies in
      # ``setup_requires`` to run your module, be sure to have them in the install_requirements to.
      # setup_requires=[],
      #
      # You may specify additional packages for a more feature filled install.
      # Example of a extras_require where one has to do:
      #     python -m pip install sharedhttp    (to get the default package)
      #     python -m pip install sharedhttp[test]   (to get additional dependencies
      #                                                    to enable ``test`` functionality)
      #     python -m pip install sharedhttp[test,fast] (same as above, except with the
      #                                                       ``fast`` dependencies for that
      #                                                       functionality)
      #
      extras_require= {
          'fast': ['uvloop~=0.8.0']
      },
      #
      # Sometimes one has an external package hosted somewhere else
      #    (*cough* mysql-connector-python *cough*) and you want everything
      #    be installed in one pass using ``pip``. You can specify the name
      #    of the dependency, where to get it and what the name of the package
      #    should be if the download uri is different. The URI must be something
      #    compatible with a ``pip install`` (i.e. ``pip instal http://localhost/package.zip``)
      #
      # You will have to install this package with the ``--process-dependency-links`` pip option
      # specified.
      # dependency_links=[
      #       "https://localhost:8080/test/path/file.zip#egg=package_name_underscore-1.2.3"
      # ],
      install_requires=install_requirements,
      keywords=['http', 'autodiscover', 'sharing'],
      url="https://github.com/benjolitz/sharedhttp",
      classifiers=[
        "Development Status :: 3 - Alpha",
        "Topic :: Utilities",
        "License :: OSI Approved :: BSD License",
      ])
<commit_msg>Update author information<commit_after>import sys
from codecs import open  # To use a consistent encoding
from os import path

# Always prefer setuptools over distutils
from setuptools import (setup, find_packages)

here = path.abspath(path.dirname(__file__))
install_requirements = [
  'sanic~=0.6.0',
  'sanic-jinja2~=0.5.2',
  'msgpack-python~=0.4.8',
]

# The following are meant to avoid accidental upload/registration of this
# package in the Python Package Index (PyPi)
pypi_operations = frozenset(['register', 'upload']) & frozenset([x.lower() for x in sys.argv])
if pypi_operations:
    raise ValueError('Command(s) {} disabled in this example.'.format(', '.join(pypi_operations)))

# Python favors using README.rst files (as opposed to README.md files)
# If you wish to use README.md, you must add the following line to your MANIFEST.in file::
#
#     include README.md
#
# then you can change the README.rst to README.md below.
with open(path.join(here, 'README.rst'), encoding='utf-8') as fh:
    long_description = fh.read()

# We separate the version into a separate file so we can let people
# import everything in their __init__.py without causing ImportError.
__version__ = None
exec(open('sharedhttp/about.py').read())
if __version__ is None:
    raise IOError('about.py in project lacks __version__!')

setup(name='sharedhttp', version=__version__,
      author='Autumn Jolitz',
      description='Multicast simple HTTP server',
      long_description=long_description,
      license='BSD',
      packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
      include_package_data=True,
      # This part is good for when the setup.py itself cannot proceed until dependencies
      # in ``setup_requires`` are met. If you also need some/all of the dependencies in
      # ``setup_requires`` to run your module, be sure to have them in the install_requirements to.
      # setup_requires=[],
      #
      # You may specify additional packages for a more feature filled install.
      # Example of a extras_require where one has to do:
      #     python -m pip install sharedhttp    (to get the default package)
      #     python -m pip install sharedhttp[test]   (to get additional dependencies
      #                                                    to enable ``test`` functionality)
      #     python -m pip install sharedhttp[test,fast] (same as above, except with the
      #                                                       ``fast`` dependencies for that
      #                                                       functionality)
      #
      extras_require= {
          'fast': ['uvloop~=0.8.0']
      },
      #
      # Sometimes one has an external package hosted somewhere else
      #    (*cough* mysql-connector-python *cough*) and you want everything
      #    be installed in one pass using ``pip``. You can specify the name
      #    of the dependency, where to get it and what the name of the package
      #    should be if the download uri is different. The URI must be something
      #    compatible with a ``pip install`` (i.e. ``pip instal http://localhost/package.zip``)
      #
      # You will have to install this package with the ``--process-dependency-links`` pip option
      # specified.
      # dependency_links=[
      #       "https://localhost:8080/test/path/file.zip#egg=package_name_underscore-1.2.3"
      # ],
      install_requires=install_requirements,
      keywords=['http', 'autodiscover', 'sharing'],
      url="https://github.com/benjolitz/sharedhttp",
      classifiers=[
        "Development Status :: 3 - Alpha",
        "Topic :: Utilities",
        "License :: OSI Approved :: BSD License",
      ])
<|endoftext|>


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

from distutils.core import setup
from distutils.extension import Extension
from distutils.version import LooseVersion
from distutils.sysconfig import parse_makefile
from Cython.Distutils import build_ext
from Cython.Build import cythonize
from cython import __version__ as cython_version

import numpy
import sys
import os

clang = False
if sys.platform.lower().startswith('darwin'):
    clang = True

# make sure C shared library exists
libmicroscopes_common = 'out/libmicroscopes_common.dylib' if clang else 'out/libmicroscopes_common.so'
if not os.path.isfile(libmicroscopes_common):
    raise ValueError(
        "could not locate libmicroscopes_common shared object. make sure to run `make' first")

# append to library path
os.environ['LIBRARY_PATH'] = os.environ.get('LIBRARY_PATH', '') + ':out'

min_cython_version = '0.20.2b1' if clang else '0.20.1'
if LooseVersion(cython_version) < LooseVersion(min_cython_version):
    raise ValueError(
        'cython support requires cython>={}'.format(min_cython_version))

distributions_inc, distributions_lib, debug_build = None, None, False

KEYS = ('DISTRIBUTIONS_INC', 'DISTRIBUTIONS_LIB', 'CC', 'CXX', 'DEBUG')

def get_config_info(config):
    config = parse_makefile(config)
    ret = {}
    for k in KEYS:
        if k in config:
            ret[k] = config[k]
    return ret

def merge_config(existing, overwriting):
    existing.update(overwriting)

config = {}
for fname in ('../config.mk', 'config.mk'):
    try:
        merge_config(config, get_config_info(fname))
    except IOError:
        pass

distributions_inc = config.get('DISTRIBUTIONS_INC', None)
distributions_lib = config.get('DISTRIBUTIONS_LIB', None)
cc = config.get('CC', None)
cxx = config.get('CXX', None)
debug_build = config.get('DEBUG', 0) == 1

if distributions_inc is not None:
    print 'Using distributions_inc:', distributions_inc
if distributions_lib is not None:
    print 'Using distributions_lib:', distributions_lib
if cc is not None:
    print 'Using CC={}'.format(cc)
    os.environ['CC'] = cc
if cxx is not None:
    print 'Using CXX={}'.format(cxx)
    os.environ['CXX'] = cxx
if debug_build:
    print 'Debug build'

extra_compile_args = ['-std=c++0x']
if clang:
    extra_compile_args.extend([
        '-mmacosx-version-min=10.7',  # for anaconda
        '-stdlib=libc++',
    ])
if debug_build:
    extra_compile_args.append('-DDEBUG_MODE')

extra_include_dirs = []
if distributions_inc is not None:
    extra_include_dirs.append(distributions_inc)

extra_link_args = []
if distributions_lib is not None:
    extra_link_args.extend([
        '-L' + distributions_lib,
        '-Wl,-rpath,' + distributions_lib
    ])

def make_extension(module_name):
    sources = [module_name.replace('.', '/') + '.pyx']
    return Extension(
        module_name,
        sources=sources,
        libraries=["microscopes_common", "protobuf", "distributions_shared"],
        language="c++",
        include_dirs=[numpy.get_include(), 'include'] + extra_include_dirs,
        extra_compile_args=extra_compile_args,
        extra_link_args=extra_link_args)

extensions = cythonize([
    make_extension('microscopes.cxx.models'),
    make_extension('microscopes.cxx._models'),
    make_extension('microscopes.cxx.common._dataview'),
    make_extension('microscopes.cxx.common._entity_state'),
    make_extension('microscopes.cxx.common.recarray.dataview'),
    make_extension('microscopes.cxx.common.recarray._dataview'),
    make_extension('microscopes.cxx.common.sparse_ndarray.dataview'),
    make_extension('microscopes.cxx.common.sparse_ndarray._dataview'),
    make_extension('microscopes.cxx.common.rng'),
    make_extension('microscopes.cxx.common._rng'),
    make_extension('microscopes.cxx.common.random'),
    make_extension('microscopes.cxx.common.scalar_functions'),
    make_extension('microscopes.cxx.common._scalar_functions'),
])

setup(ext_modules=extensions)
<commit_msg>remove un-necessary declarations<commit_after>#!/usr/bin/env python

from distutils.core import setup
from distutils.extension import Extension
from distutils.version import LooseVersion
from distutils.sysconfig import parse_makefile
from Cython.Distutils import build_ext
from Cython.Build import cythonize
from cython import __version__ as cython_version

import numpy
import sys
import os

clang = False
if sys.platform.lower().startswith('darwin'):
    clang = True

# make sure C shared library exists
libmicroscopes_common = 'out/libmicroscopes_common.dylib' if clang else 'out/libmicroscopes_common.so'
if not os.path.isfile(libmicroscopes_common):
    raise ValueError(
        "could not locate libmicroscopes_common shared object. make sure to run `make' first")

# append to library path
os.environ['LIBRARY_PATH'] = os.environ.get('LIBRARY_PATH', '') + ':out'

min_cython_version = '0.20.2b1' if clang else '0.20.1'
if LooseVersion(cython_version) < LooseVersion(min_cython_version):
    raise ValueError(
        'cython support requires cython>={}'.format(min_cython_version))

KEYS = ('DISTRIBUTIONS_INC', 'DISTRIBUTIONS_LIB', 'CC', 'CXX', 'DEBUG')

def get_config_info(config):
    config = parse_makefile(config)
    ret = {}
    for k in KEYS:
        if k in config:
            ret[k] = config[k]
    return ret

def merge_config(existing, overwriting):
    existing.update(overwriting)

config = {}
for fname in ('../config.mk', 'config.mk'):
    try:
        merge_config(config, get_config_info(fname))
    except IOError:
        pass

distributions_inc = config.get('DISTRIBUTIONS_INC', None)
distributions_lib = config.get('DISTRIBUTIONS_LIB', None)
cc = config.get('CC', None)
cxx = config.get('CXX', None)
debug_build = config.get('DEBUG', 0) == 1

if distributions_inc is not None:
    print 'Using distributions_inc:', distributions_inc
if distributions_lib is not None:
    print 'Using distributions_lib:', distributions_lib
if cc is not None:
    print 'Using CC={}'.format(cc)
    os.environ['CC'] = cc
if cxx is not None:
    print 'Using CXX={}'.format(cxx)
    os.environ['CXX'] = cxx
if debug_build:
    print 'Debug build'

extra_compile_args = ['-std=c++0x']
if clang:
    extra_compile_args.extend([
        '-mmacosx-version-min=10.7',  # for anaconda
        '-stdlib=libc++',
    ])
if debug_build:
    extra_compile_args.append('-DDEBUG_MODE')

extra_include_dirs = []
if distributions_inc is not None:
    extra_include_dirs.append(distributions_inc)

extra_link_args = []
if distributions_lib is not None:
    extra_link_args.extend([
        '-L' + distributions_lib,
        '-Wl,-rpath,' + distributions_lib
    ])

def make_extension(module_name):
    sources = [module_name.replace('.', '/') + '.pyx']
    return Extension(
        module_name,
        sources=sources,
        libraries=["microscopes_common", "protobuf", "distributions_shared"],
        language="c++",
        include_dirs=[numpy.get_include(), 'include'] + extra_include_dirs,
        extra_compile_args=extra_compile_args,
        extra_link_args=extra_link_args)

extensions = cythonize([
    make_extension('microscopes.cxx.models'),
    make_extension('microscopes.cxx._models'),
    make_extension('microscopes.cxx.common._dataview'),
    make_extension('microscopes.cxx.common._entity_state'),
    make_extension('microscopes.cxx.common.recarray.dataview'),
    make_extension('microscopes.cxx.common.recarray._dataview'),
    make_extension('microscopes.cxx.common.sparse_ndarray.dataview'),
    make_extension('microscopes.cxx.common.sparse_ndarray._dataview'),
    make_extension('microscopes.cxx.common.rng'),
    make_extension('microscopes.cxx.common._rng'),
    make_extension('microscopes.cxx.common.random'),
    make_extension('microscopes.cxx.common.scalar_functions'),
    make_extension('microscopes.cxx.common._scalar_functions'),
])

setup(ext_modules=extensions)
<|endoftext|>


<commit_before>import os
import shutil
import sys

from setuptools import setup
from setuptools.command.install import install
import bzt

class InstallWithHook(install, object):
    """
    Command adding post-install hook to setup
    """

    def run(self):
        """
        Do the command's job!
        """
        install.run(self)
        self.__hook()

    def __hook(self):
        dirname = os.getenv("VIRTUAL_ENV", "") + os.path.sep + "etc" + os.path.sep + "bzt.d"
        sys.stdout.write("Creating %s" % dirname)
        if not os.path.exists(dirname):
            os.makedirs(dirname)
        src = os.path.dirname(__file__)
        src += os.path.sep + "bzt" + os.path.sep + "10-base.json"
        sys.stdout.write("Copying %s to %s" % (src, dirname))
        shutil.copy(src, dirname + os.path.sep)

setup(
    name="bzt",
    version=bzt.version,
    install_requires=[
        'pyyaml', 'psutil', 'colorlog', 'lxml', 'cssselect', 'urwid'
    ],
    packages=['bzt', 'bzt.modules'],
    entry_points={
        'console_scripts': [
            'bzt=bzt.cli:main',
        ],
    },
    package_data={
        "bzt": []
    },
    cmdclass=dict(install=InstallWithHook)
)
<commit_msg>Update meta-info, first public package exposed<commit_after>import os
import shutil
import sys
from setuptools import setup
from setuptools.command.install import install

import bzt

class InstallWithHook(install, object):
    """
    Command adding post-install hook to setup
    """

    def run(self):
        """
        Do the command's job!
        """
        install.run(self)
        self.__hook()

    def __hook(self):
        dirname = os.getenv("VIRTUAL_ENV", "") + os.path.sep + "etc" + os.path.sep + "bzt.d"
        sys.stdout.write("Creating %s" % dirname)
        if not os.path.exists(dirname):
            os.makedirs(dirname)
        src = os.path.dirname(__file__)
        src += os.path.sep + "bzt" + os.path.sep + "10-base.json"
        sys.stdout.write("Copying %s to %s" % (src, dirname))
        shutil.copy(src, dirname + os.path.sep)

setup(
    name="bzt",
    version=bzt.version,
    description='Taurus Tool for Continuous Testing',
    author='Andrey Pokhilko',
    author_email='andrey@blazemeter.com',
    url='https://github.com/Blazemeter/taurus/',

    install_requires=[
        'pyyaml', 'psutil', 'colorlog', 'lxml', 'cssselect', 'urwid'
    ],
    packages=['bzt', 'bzt.modules'],
    entry_points={
        'console_scripts': [
            'bzt=bzt.cli:main',
        ],
    },
    package_data={
        "bzt": []
    },
    cmdclass=dict(install=InstallWithHook)
)
<|endoftext|>


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

import os
import sys
from setuptools import setup
from setuptools.command.test import test as testcommand

version = "0.1.87"

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

if sys.argv[-1] == 'tag':
    os.system("git tag -a %s -m 'version %s'" % (version, version))
    os.system("git push --tags")
    sys.exit()

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

requirements = []

long_description = readme + '\n\n' + history

if sys.argv[-1] == 'readme':
    print(long_description)
    sys.exit()

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

    def __init__(self):
        super(testcommand, self).__init__()
        self.pytest_args = None
        self.test_args = None
        self.test_suite = None

    def initialize_options(self):
        testcommand.initialize_options(self)

    def finalize_options(self):
        testcommand.finalize_options(self)
        self.test_args = []
        self.test_suite = True

    def run_tests(self):
        import pytest
        errno = pytest.main(self.pytest_args)
        sys.exit(errno)

setup(
    name='hosts',
    version=version,
    url='http://github.com/jonhadfield/hosts/',
    author='Jon Hadfield',
    author_email='jon.hadfield@lessknown.co.uk',
    install_requires=[],
    description='Manage a hosts file',
    long_description=long_description,
    packages=[
        'hosts',
    ],
    package_dir={'hosts': 'hosts'},
    include_package_data=True,
    platforms='any',
    license='MIT',
    classifiers=[
        'Programming Language :: Python',
        'Development Status :: 2 - Pre-Alpha',
        'Natural Language :: English',
        'Environment :: console',
        'Intended Audience :: System Administrators',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Topic :: System :: Operating System',
        'Topic :: System :: Networking',
    ],
    keywords=(
        'hosts, Python, network'
    ),
    cmdclass = {'test': PyTest},
    test_suite='tests',
    tests_require=['pytest']
)
<commit_msg>bump version.<commit_after>#!/usr/bin/env python

import os
import sys
from setuptools import setup
from setuptools.command.test import test as testcommand

version = "0.1.88"

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

if sys.argv[-1] == 'tag':
    os.system("git tag -a %s -m 'version %s'" % (version, version))
    os.system("git push --tags")
    sys.exit()

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

requirements = []

long_description = readme + '\n\n' + history

if sys.argv[-1] == 'readme':
    print(long_description)
    sys.exit()

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

    def __init__(self):
        super(testcommand, self).__init__()
        self.pytest_args = None
        self.test_args = None
        self.test_suite = None

    def initialize_options(self):
        testcommand.initialize_options(self)

    def finalize_options(self):
        testcommand.finalize_options(self)
        self.test_args = []
        self.test_suite = True

    def run_tests(self):
        import pytest
        errno = pytest.main(self.pytest_args)
        sys.exit(errno)

setup(
    name='hosts',
    version=version,
    url='http://github.com/jonhadfield/hosts/',
    author='Jon Hadfield',
    author_email='jon.hadfield@lessknown.co.uk',
    install_requires=[],
    description='Manage a hosts file',
    long_description=long_description,
    packages=[
        'hosts',
    ],
    package_dir={'hosts': 'hosts'},
    include_package_data=True,
    platforms='any',
    license='MIT',
    classifiers=[
        'Programming Language :: Python',
        'Development Status :: 2 - Pre-Alpha',
        'Natural Language :: English',
        'Environment :: console',
        'Intended Audience :: System Administrators',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Topic :: System :: Operating System',
        'Topic :: System :: Networking',
    ],
    keywords=(
        'hosts, Python, network'
    ),
    cmdclass = {'test': PyTest},
    test_suite='tests',
    tests_require=['pytest']
)
<|endoftext|>


<commit_before>import sys
from setuptools import setup

# dirty hack, always use wheel
sys.argv.append('bdist_wheel')

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

setup(
    name='acmdrunner',
    version='0.3',
    description='Ascetic command runner. The most ease way'
    ' to power your python app with custom management commands',
    long_description=readme(),
    classifiers=[
        'Development Status :: 4 - Beta',
        'Topic :: Software Development :: Libraries :: Application Frameworks',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Topic :: Utilities',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.1',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Intended Audience :: Developers'
    ],
    url='https://github.com/sergeyglazyrindev/asceticcmdrunner',
    author='Sergey Glazyrin',
    author_email='sergey.glazyrin.dev@gmail.com',
    license='MIT',
    packages=['acmdrunner', ],
    include_package_data=True,
    zip_safe=False,
    extras_require={
        'testing': ['nose', 'mock'],
    },
    test_suite='tests',
    keywords=['command', 'dispatch'],
    download_url='https://github.com/sergeyglazyrindev/'
    'asceticcmdrunner/tarball/0.3'
)
<commit_msg>prepare to publishing on pypi<commit_after>import sys
from setuptools import setup

# dirty hack, always use wheel
sys.argv.append('bdist_wheel')

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

setup(
    name='acmdrunner',
    version='0.3',
    description='Ascetic command runner. The most ease way'
    ' to power your python app with custom management commands',
    classifiers=[
        'Development Status :: 4 - Beta',
        'Topic :: Software Development :: Libraries :: Application Frameworks',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Topic :: Utilities',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.1',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Intended Audience :: Developers'
    ],
    url='https://github.com/sergeyglazyrindev/asceticcmdrunner',
    author='Sergey Glazyrin',
    author_email='sergey.glazyrin.dev@gmail.com',
    license='MIT',
    packages=['acmdrunner', ],
    include_package_data=True,
    zip_safe=False,
    extras_require={
        'testing': ['nose', 'mock'],
    },
    test_suite='tests',
    keywords=['command', 'dispatch'],
    download_url='https://github.com/sergeyglazyrindev/'
    'asceticcmdrunner/tarball/0.3'
)
<|endoftext|>


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

"""
distutils/setuptools install script.
"""
import os
import re

from setuptools import setup, find_packages

ROOT = os.path.dirname(__file__)
VERSION_RE = re.compile(r'''__version__ = ['"]([0-9.]+)['"]''')

requires = [
    'botocore>=1.10.68,<1.11.0',
    'jmespath>=0.7.1,<1.0.0',
    's3transfer>=0.1.10,<0.2.0'
]

def get_version():
    init = open(os.path.join(ROOT, 'boto3', '__init__.py')).read()
    return VERSION_RE.search(init).group(1)

setup(
    name='boto3',
    version=get_version(),
    description='The AWS SDK for Python',
    long_description=open('README.rst').read(),
    author='Amazon Web Services',
    url='https://github.com/boto/boto3',
    scripts=[],
    packages=find_packages(exclude=['tests*']),
    package_data={
        'boto3': [
            'data/aws/resources/*.json',
            'examples/*.rst'
        ]
    },
    include_package_data=True,
    install_requires=requires,
    license="Apache License 2.0",
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'Natural Language :: English',
        'License :: OSI Approved :: Apache Software License',
        'Programming Language :: Python',
        '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',
        'Programming Language :: Python :: 3.6',
    ],
)
<commit_msg>Add 3.7 to setuplpy classifiers<commit_after>#!/usr/bin/env python

"""
distutils/setuptools install script.
"""
import os
import re

from setuptools import setup, find_packages

ROOT = os.path.dirname(__file__)
VERSION_RE = re.compile(r'''__version__ = ['"]([0-9.]+)['"]''')

requires = [
    'botocore>=1.10.68,<1.11.0',
    'jmespath>=0.7.1,<1.0.0',
    's3transfer>=0.1.10,<0.2.0'
]

def get_version():
    init = open(os.path.join(ROOT, 'boto3', '__init__.py')).read()
    return VERSION_RE.search(init).group(1)

setup(
    name='boto3',
    version=get_version(),
    description='The AWS SDK for Python',
    long_description=open('README.rst').read(),
    author='Amazon Web Services',
    url='https://github.com/boto/boto3',
    scripts=[],
    packages=find_packages(exclude=['tests*']),
    package_data={
        'boto3': [
            'data/aws/resources/*.json',
            'examples/*.rst'
        ]
    },
    include_package_data=True,
    install_requires=requires,
    license="Apache License 2.0",
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'Natural Language :: English',
        'License :: OSI Approved :: Apache Software License',
        'Programming Language :: Python',
        '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',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
    ],
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

PACKAGE_NAME = "lintreview"
VERSION = "1.23.1"

requirements = open('./requirements.txt', 'r')

setup(
    name=PACKAGE_NAME,
    version=VERSION,
    description="Lint Review, an automated code review tool that "
                "integrates with github. Integrates with the github API "
                "& a variety of code checking tools.",
    author="Mark story",
    author_email="mark@mark-story.com",
    packages=find_packages(),
    entry_points={
        'console_scripts': [
            'lintreview = lintreview.cli:main',
        ],
    },
    install_requires=requirements.readlines(),
)
<commit_msg>Bump version<commit_after>from setuptools import setup, find_packages

PACKAGE_NAME = "lintreview"
VERSION = "1.23.2"

requirements = open('./requirements.txt', 'r')

setup(
    name=PACKAGE_NAME,
    version=VERSION,
    description="Lint Review, an automated code review tool that "
                "integrates with github. Integrates with the github API "
                "& a variety of code checking tools.",
    author="Mark story",
    author_email="mark@mark-story.com",
    packages=find_packages(),
    entry_points={
        'console_scripts': [
            'lintreview = lintreview.cli:main',
        ],
    },
    install_requires=requirements.readlines(),
)
<|endoftext|>


<commit_before># coding=utf-8

# The plugin's identifier, has to be unique
plugin_identifier = "slic3r"

# The plugin's python package, should be "octoprint_<plugin identifier>", has to be unique
plugin_package = "octoprint_slic3r"

# The plugin's human readable name. Can be overwritten within OctoPrint's internal data via __plugin_name__ in the
# plugin module
plugin_name = "OctoPrint-Slic3r"

# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
plugin_version = "1.0.2"

# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
# module
plugin_description = """Adds support for slicing via Slic3r from within OctoPrint"""

# The plugin's author. Can be overwritten within OctoPrint's internal data via __plugin_author__ in the plugin module
plugin_author = "Javier Martínez Arrieta <martinezarrietajavier@gmail.com>, Eyal Soha <eyalsoha@gmail.com>"

# The plugin's author's mail address.
plugin_author_email = "eyalsoha@gmail.com"

# The plugin's homepage URL. Can be overwritten within OctoPrint's internal data via __plugin_url__ in the plugin module
plugin_url = "http://github.com/OctoPrint/OctoPrint-Slic3r"

# The plugin's license. Can be overwritten within OctoPrint's internal data via __plugin_license__ in the plugin module
plugin_license = "AGPLv3"

# Any additional requirements besides OctoPrint should be listed here
plugin_requires = []

### --------------------------------------------------------------------------------------------------------------------
### More advanced options that you usually shouldn't have to touch follow after this point
### --------------------------------------------------------------------------------------------------------------------

# Additional package data to install for this plugin. The subfolders "templates", "static" and "translations" will
# already be installed automatically if they exist.
plugin_additional_data = []

# Any additional python packages you need to install with your plugin that are not contained in <plugin_package>.*
plugin_additional_packages = []

# Any python packages within <plugin_package>.* you do NOT want to install with your plugin
plugin_ignored_packages = []

# Additional parameters for the call to setuptools.setup. If your plugin wants to register additional entry points,
# define dependency links or other things like that, this is the place to go. Will be merged recursively with the
# default setup parameters as provided by octoprint_setuptools.create_plugin_setup_parameters using
# octoprint.util.dict_merge.
#
# Example:
#     plugin_requires = ["someDependency==dev"]
#     additional_setup_parameters = {"dependency_links": ["https://github.com/someUser/someRepo/archive/master.zip#egg=someDependency-dev"]}
additional_setup_parameters = {}

########################################################################################################################

from setuptools import setup

try:
	import octoprint_setuptools
except:
	print("Could not import OctoPrint's setuptools, are you sure you are running that under "
	      "the same python installation that OctoPrint is installed under?")
	import sys
	sys.exit(-1)

setup_parameters = octoprint_setuptools.create_plugin_setup_parameters(
	identifier=plugin_identifier,
	package=plugin_package,
	name=plugin_name,
	version=plugin_version,
	description=plugin_description,
	author=plugin_author,
	mail=plugin_author_email,
	url=plugin_url,
	license=plugin_license,
	requires=plugin_requires,
	additional_packages=plugin_additional_packages,
	ignored_packages=plugin_ignored_packages,
	additional_data=plugin_additional_data
)

if len(additional_setup_parameters):
	from octoprint.util import dict_merge
	setup_parameters = dict_merge(setup_parameters, additional_setup_parameters)

setup(**setup_parameters)
<commit_msg>Increment version to 1.0.3<commit_after># coding=utf-8

# The plugin's identifier, has to be unique
plugin_identifier = "slic3r"

# The plugin's python package, should be "octoprint_<plugin identifier>", has to be unique
plugin_package = "octoprint_slic3r"

# The plugin's human readable name. Can be overwritten within OctoPrint's internal data via __plugin_name__ in the
# plugin module
plugin_name = "OctoPrint-Slic3r"

# The plugin's version. Can be overwritten within OctoPrint's internal data via __plugin_version__ in the plugin module
plugin_version = "1.0.3"

# The plugin's description. Can be overwritten within OctoPrint's internal data via __plugin_description__ in the plugin
# module
plugin_description = """Adds support for slicing via Slic3r from within OctoPrint"""

# The plugin's author. Can be overwritten within OctoPrint's internal data via __plugin_author__ in the plugin module
plugin_author = "Javier Martínez Arrieta <martinezarrietajavier@gmail.com>, Eyal Soha <eyalsoha@gmail.com>"

# The plugin's author's mail address.
plugin_author_email = "eyalsoha@gmail.com"

# The plugin's homepage URL. Can be overwritten within OctoPrint's internal data via __plugin_url__ in the plugin module
plugin_url = "http://github.com/OctoPrint/OctoPrint-Slic3r"

# The plugin's license. Can be overwritten within OctoPrint's internal data via __plugin_license__ in the plugin module
plugin_license = "AGPLv3"

# Any additional requirements besides OctoPrint should be listed here
plugin_requires = []

### --------------------------------------------------------------------------------------------------------------------
### More advanced options that you usually shouldn't have to touch follow after this point
### --------------------------------------------------------------------------------------------------------------------

# Additional package data to install for this plugin. The subfolders "templates", "static" and "translations" will
# already be installed automatically if they exist.
plugin_additional_data = []

# Any additional python packages you need to install with your plugin that are not contained in <plugin_package>.*
plugin_additional_packages = []

# Any python packages within <plugin_package>.* you do NOT want to install with your plugin
plugin_ignored_packages = []

# Additional parameters for the call to setuptools.setup. If your plugin wants to register additional entry points,
# define dependency links or other things like that, this is the place to go. Will be merged recursively with the
# default setup parameters as provided by octoprint_setuptools.create_plugin_setup_parameters using
# octoprint.util.dict_merge.
#
# Example:
#     plugin_requires = ["someDependency==dev"]
#     additional_setup_parameters = {"dependency_links": ["https://github.com/someUser/someRepo/archive/master.zip#egg=someDependency-dev"]}
additional_setup_parameters = {}

########################################################################################################################

from setuptools import setup

try:
	import octoprint_setuptools
except:
	print("Could not import OctoPrint's setuptools, are you sure you are running that under "
	      "the same python installation that OctoPrint is installed under?")
	import sys
	sys.exit(-1)

setup_parameters = octoprint_setuptools.create_plugin_setup_parameters(
	identifier=plugin_identifier,
	package=plugin_package,
	name=plugin_name,
	version=plugin_version,
	description=plugin_description,
	author=plugin_author,
	mail=plugin_author_email,
	url=plugin_url,
	license=plugin_license,
	requires=plugin_requires,
	additional_packages=plugin_additional_packages,
	ignored_packages=plugin_ignored_packages,
	additional_data=plugin_additional_data
)

if len(additional_setup_parameters):
	from octoprint.util import dict_merge
	setup_parameters = dict_merge(setup_parameters, additional_setup_parameters)

setup(**setup_parameters)
<|endoftext|>


<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Author: oesteban
# @Date:   2015-11-19 16:44:27
# @Last Modified by:   oesteban
# @Last Modified time: 2016-03-10 12:45:51
""" fmriprep setup script """
import os
import sys

__version__ = '0.0.1'

def main():
    """ Install entry-point """
    from glob import glob
    from setuptools import setup

    setup(
        name='mriqc',
        version=__version__,
        description='',
        author_email='crn.poldracklab@gmail.com',
        url='https://github.com/poldracklab/mriqc',
        download_url='',
        license='3-clause BSD',
        entry_points={'console_scripts': ['mriqc=fmriprep.run_workflow:main',]},
        packages=['fmriprep', 'fmriprep.workflows', 'fmriprep.viz'],
        # package_data={'fmriprep': ['data/*.txt']},
        install_requires=['numpy', 'nipype', 'nibabel'],
        zip_safe=False,
        classifiers=[
            'Development Status :: 3 - Alpha',
            'Intended Audience :: MRI processing',
            'Topic :: Scientific/Engineering :: Biomedical Imaging',
            'License :: OSI Approved :: 3-clause BSD License',
            'Programming Language :: Python :: 2.7',
        ],
    )

if __name__ == '__main__':
    local_path = os.path.dirname(os.path.abspath(sys.argv[0]))
    os.chdir(local_path)
    sys.path.insert(0, local_path)

    main()
<commit_msg>fix binary name<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Author: oesteban
# @Date:   2015-11-19 16:44:27
# @Last Modified by:   oesteban
# @Last Modified time: 2016-03-10 13:32:41
""" fmriprep setup script """
import os
import sys

__version__ = '0.0.1'

def main():
    """ Install entry-point """
    from glob import glob
    from setuptools import setup

    setup(
        name='mriqc',
        version=__version__,
        description='',
        author_email='crn.poldracklab@gmail.com',
        url='https://github.com/poldracklab/mriqc',
        download_url='',
        license='3-clause BSD',
        entry_points={'console_scripts': ['fmriprep=fmriprep.run_workflow:main',]},
        packages=['fmriprep', 'fmriprep.workflows', 'fmriprep.viz'],
        # package_data={'fmriprep': ['data/*.txt']},
        install_requires=['numpy', 'nipype', 'nibabel'],
        zip_safe=False,
        classifiers=[
            'Development Status :: 3 - Alpha',
            'Intended Audience :: MRI processing',
            'Topic :: Scientific/Engineering :: Biomedical Imaging',
            'License :: OSI Approved :: 3-clause BSD License',
            'Programming Language :: Python :: 2.7',
        ],
    )

if __name__ == '__main__':
    local_path = os.path.dirname(os.path.abspath(sys.argv[0]))
    os.chdir(local_path)
    sys.path.insert(0, local_path)

    main()
<|endoftext|>


<commit_before>import os
from setuptools import find_packages, setup

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

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

setup(
    name='msgflo',
    version='0.1.1',
    packages=find_packages(),
    include_package_data=True,
    license='MIT License',  # example license
    description='Simple message queueing for AMQP and MQTT',
    long_description=README,
    url='https://msgflo.org',
    author='Jon Nordby',
    author_email='jononor@gmail.com',
    classifiers=[
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        # Replace these appropriately if you are stuck on Python 2.
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 2.6',
        'Topic :: Internet :: WWW/HTTP',
    ],
    install_requires=[
        "gevent >= 1.0.2",
        "haigha >= 0.8.0",
        "paho-mqtt >= 1.1",
    ],
    scripts=[
        'bin/msgflo-python'
    ],
)
<commit_msg>Bump 0.2.0<commit_after>import os
from setuptools import find_packages, setup

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

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

setup(
    name='msgflo',
    version='0.2.0',
    packages=find_packages(),
    include_package_data=True,
    license='MIT License',  # example license
    description='Simple message queueing for AMQP and MQTT',
    long_description=README,
    url='https://msgflo.org',
    author='Jon Nordby',
    author_email='jononor@gmail.com',
    classifiers=[
        'Environment :: Web Environment',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        # Replace these appropriately if you are stuck on Python 2.
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 2.6',
        'Topic :: Internet :: WWW/HTTP',
    ],
    install_requires=[
        "gevent >= 1.0.2",
        "haigha >= 0.8.0",
        "paho-mqtt >= 1.1",
    ],
    scripts=[
        'bin/msgflo-python'
    ],
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

setup(name='findatapy',
      version='0.05',
      description='Market data library',
      author='Saeed Amen',
      author_email='saeed@cuemacro.com',
      license='Apache 2.0',
      keywords = ['pandas', 'data', 'Bloomberg', 'tick', 'stocks', 'equities'],
      url = 'https://github.com/cuemacro/findatapy',
      packages = find_packages(),
      include_package_data = True,
      install_requires = ['pandas',
                          'twython',
                          'pytz',
                          'requests',
                          'numpy',
                          'pandas_datareader',
                          'quandl'],
	  zip_safe=False)<commit_msg>Added multiprocessing_on_dill as dependency<commit_after>from setuptools import setup, find_packages

setup(name='findatapy',
      version='0.05',
      description='Market data library',
      author='Saeed Amen',
      author_email='saeed@cuemacro.com',
      license='Apache 2.0',
      keywords = ['pandas', 'data', 'Bloomberg', 'tick', 'stocks', 'equities'],
      url = 'https://github.com/cuemacro/findatapy',
      packages = find_packages(),
      include_package_data = True,
      install_requires = ['pandas',
                          'twython',
                          'pytz',
                          'requests',
                          'numpy',
                          'pandas_datareader',
                          'quandl',
                          'multiprocessing_on_dill'],
	  zip_safe=False)<|endoftext|>


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

import os
import sys

import bootstrap4

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

version = bootstrap4.__version__

if sys.argv[-1] == 'publish':
    os.system('cd docs && make html')
    os.system('python setup.py sdist upload')
    print("You probably want to also tag the version now:")
    print("  git tag -a %s -m 'version %s'" % (version, version))
    print("  git push --tags")
    sys.exit()

if sys.argv[-1] == 'test':
    print("Running tests only on current environment.")
    print("Use `tox` for testing multiple environments.")
    os.system('python manage.py test')
    sys.exit()

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

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

setup(
    name='django-bootstrap4',
    version=version,
    description="""Bootstrap support for Django projects""",
    long_description=readme + '\n\n' + history,
    author='Dylan Verheul',
    author_email='dylan@dyve.net',
    url='https://github.com/zostera/django-bootstrap4',
    packages=[
        'bootstrap4',
    ],
    include_package_data=True,
    install_requires=[
    ],
    license="Apache License 2.0",
    zip_safe=False,
    keywords='django-bootstrap4',
    classifiers=[
        'Development Status :: 3 - Alpha',
        '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.3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Operating System :: OS Independent',
        'Topic :: Software Development :: Libraries',
        'Topic :: Utilities',
        'Environment :: Web Environment',
        'Framework :: Django',
    ],
)
<commit_msg>Add python 3.6, remove python 3.3<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os
import sys

import bootstrap4

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

version = bootstrap4.__version__

if sys.argv[-1] == 'publish':
    os.system('cd docs && make html')
    os.system('python setup.py sdist upload')
    print("You probably want to also tag the version now:")
    print("  git tag -a %s -m 'version %s'" % (version, version))
    print("  git push --tags")
    sys.exit()

if sys.argv[-1] == 'test':
    print("Running tests only on current environment.")
    print("Use `tox` for testing multiple environments.")
    os.system('python manage.py test')
    sys.exit()

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

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

setup(
    name='django-bootstrap4',
    version=version,
    description="""Bootstrap support for Django projects""",
    long_description=readme + '\n\n' + history,
    author='Dylan Verheul',
    author_email='dylan@dyve.net',
    url='https://github.com/zostera/django-bootstrap4',
    packages=[
        'bootstrap4',
    ],
    include_package_data=True,
    install_requires=[
    ],
    license="Apache License 2.0",
    zip_safe=False,
    keywords='django-bootstrap4',
    classifiers=[
        'Development Status :: 3 - Alpha',
        '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.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Operating System :: OS Independent',
        'Topic :: Software Development :: Libraries',
        'Topic :: Utilities',
        'Environment :: Web Environment',
        'Framework :: Django',
    ],
)
<|endoftext|>


<commit_before>import multiprocessing, logging # Fix atexit bug
import os
from setuptools import setup, find_packages

def README():
    try:
        return open(os.path.join(os.path.dirname(__file__),
            'README')).read()
    except:
        pass

setup(
        name='pyconfig',
        version='1.1.1',
        description="Python-based singleton configuration",
        long_description=README(),
        author="Jacob Alheid",
        author_email="jake@about.me",
        url="http://github.com/shakefu/pyconfig",
        py_modules=['pyconfig'],
        test_suite='nose.collector',
        tests_require=[
            'nose',
            'coverage',
            'mock',
            ],
        classifiers=[
            'Development Status :: 5 - Production/Stable',
            'Intended Audience :: Developers',
            'Programming Language :: Python :: 2.7',
            'Topic :: Software Development :: Libraries :: Python Modules',
            'Topic :: Utilities',
            ],
        )

<commit_msg>Fix setup.py yet again.<commit_after>import multiprocessing, logging # Fix atexit bug
import os
from setuptools import setup, find_packages

def README():
    try:
        return open(os.path.join(os.path.dirname(__file__),
            'README.rst')).read()
    except:
        pass

setup(
        name='pyconfig',
        version='1.1.1',
        description="Python-based singleton configuration",
        long_description=README(),
        author="Jacob Alheid",
        author_email="jake@about.me",
        url="http://github.com/shakefu/pyconfig",
        py_modules=['pyconfig'],
        test_suite='nose.collector',
        tests_require=[
            'nose',
            'coverage',
            'mock',
            ],
        classifiers=[
            'Development Status :: 5 - Production/Stable',
            'Intended Audience :: Developers',
            'Programming Language :: Python :: 2.7',
            'Topic :: Software Development :: Libraries :: Python Modules',
            'Topic :: Utilities',
            ],
        )

<|endoftext|>


<commit_before>from setuptools import setup

setup(
    name='SpreadFlowCore',
    version='0.0.1',
    description='Metadata extraction and processing engine',
    author='Lorenz Schori',
    author_email='lo@znerol.ch',
    url='https://github.com/znerol/spreadflow-core',
    packages=[
        'spreadflow_core',
        'spreadflow_core.scripts',
        'spreadflow_core.test',
        'twisted.plugins'
    ],
    package_data={
        'twisted.plugins': [
            'twisted/plugins/spreadflow_core_service.py',
        ]
    },
    entry_points={
        'console_scripts': [
            'spreadflow-twistd = spreadflow_core.scripts.spreadflow_twistd:main',
            'spreadflow-confviz = spreadflow_core.scripts.spreadflow_confviz:main'
        ]
    },
    install_requires=[
        'Twisted',
        'graphviz',
        'pymongo',
        'toposort',
        'zope.interface'
    ],
    zip_safe=False,
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Framework :: Twisted',
        'Intended Audience :: Developers',
        'Intended Audience :: Information Technology',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 2.7',
        'Topic :: Multimedia'
    ],
)
<commit_msg>Add test requirements<commit_after>from setuptools import setup

tests_require = [
    'coveralls',
    'mock',
    'testtools'
]

setup(
    name='SpreadFlowCore',
    version='0.0.1',
    description='Metadata extraction and processing engine',
    author='Lorenz Schori',
    author_email='lo@znerol.ch',
    url='https://github.com/znerol/spreadflow-core',
    packages=[
        'spreadflow_core',
        'spreadflow_core.scripts',
        'spreadflow_core.test',
        'twisted.plugins'
    ],
    package_data={
        'twisted.plugins': [
            'twisted/plugins/spreadflow_core_service.py',
        ]
    },
    entry_points={
        'console_scripts': [
            'spreadflow-twistd = spreadflow_core.scripts.spreadflow_twistd:main',
            'spreadflow-confviz = spreadflow_core.scripts.spreadflow_confviz:main'
        ]
    },
    install_requires=[
        'Twisted',
        'graphviz',
        'pymongo',
        'toposort',
        'zope.interface'
    ],
    tests_require=tests_require,
    extras_require={
        'tests': tests_require
    },
    zip_safe=False,
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Framework :: Twisted',
        'Intended Audience :: Developers',
        'Intended Audience :: Information Technology',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 2.7',
        'Topic :: Multimedia'
    ],
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

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

with open('LICENSE') as f:
    license = f.read()

setup(
    name='tf.rf01',
    version='0.0.0',
    description='Python common code',
    long_description=readme,
    author='MIA',
    author_email='fabian.balsiger@istb.unibe.ch',
    url='https://github.com/istb-mia/merlin/tree/tf.rf01',
    license=license,
    packages=find_packages(exclude=['tests', 'docs'], install_requires=['SimpleITK'])
)
<commit_msg>refactor: directory<commit_after>from setuptools import setup, find_packages

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

with open('LICENSE') as f:
    license = f.read()

setup(
    name='tf.rf01',
    version='0.0.0',
    description='Python common code',
    long_description=readme,
    author='MIA',
    author_email='fabian.balsiger@istb.unibe.ch',
    url='https://github.com/istb-mia/merlin/tree/tf.rf01',
    license=license,
    packages=find_packages(exclude=['test', 'docs'], install_requires=['SimpleITK'])
)
<|endoftext|>


<commit_before>import os
from setuptools import setup

README = open(os.path.join(os.path.dirname(__file__), 'README.markdown')).read()

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

setup(
    name = 'django-bulkimport',
    version = '0.1',
    packages = ['bulkimport'],
    include_package_data = True,
    license = 'BSD License',
    description = 'A simple Django app to help bulk import model data.',
    long_description = README,
    url = 'https://github.com/omad/django-bulkimport/',
    author = 'Damien Ayers',
    author_email = 'd.ayers@uq.edu.au',
    classifiers = [
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
    ],
)
<commit_msg>we require openpyxl, for processing spreadsheets<commit_after>import os
from setuptools import setup

README = open(os.path.join(os.path.dirname(__file__), 'README.markdown')).read()

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

setup(
    name = 'django-bulkimport',
    version = '0.1',
    packages = ['bulkimport'],
    install_requires = ['openpyxl>=1.8.6'],
    include_package_data = True,
    license = 'BSD License',
    description = 'A simple Django app to help bulk import model data.',
    long_description = README,
    url = 'https://github.com/omad/django-bulkimport/',
    author = 'Damien Ayers',
    author_email = 'd.ayers@uq.edu.au',
    classifiers = [
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
    ],
)
<|endoftext|>


<commit_before>from distutils.core import setup

setup(
  name = 'django-shortcuts',
  version = '0.2.1',
  description = "You spend way too much time typing 'python manage.py'",
  author = "Johannes Gorset",
  author_email = "jgorset@gmail.com",
  url = "http://github.com/jgorset/django-shortcuts",
  scripts = ['scripts/django']
)
<commit_msg>Bump version to 1.0<commit_after>from distutils.core import setup

setup(
  name = 'django-shortcuts',
  version = '1.0',
  description = "You spend way too much time typing 'python manage.py'",
  author = "Johannes Gorset",
  author_email = "jgorset@gmail.com",
  url = "http://github.com/jgorset/django-shortcuts",
  scripts = ['scripts/django']
)
<|endoftext|>


<commit_before>import os
import sys
from setuptools import setup
import httpie

if sys.argv[-1] == 'test':
    os.system('python tests.py')
    sys.exit()

requirements = ['requests>=0.10.4', 'Pygments>=1.4']
if sys.version_info < (2, 7):
    requirements.append('argparse>=1.2.1')

setup(
    name='httpie',
    version=httpie.__version__,
    description=httpie.__doc__.strip(),
    long_description=open('README.rst').read(),
    url='http://httpie.org/',
    download_url='https://github.com/jkbr/httpie',
    author=httpie.__author__,
    author_email='jakub@roztocil.name',
    license=httpie.__licence__,
    packages=['httpie'],
    entry_points={
        'console_scripts': [
            'http = httpie.__main__:main',
        ],
    },
    install_requires=requirements,
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.1'
        'Programming Language :: Python :: 3.2'
        'Programming Language :: Python :: 3.3'
        'Environment :: Console',
        'Intended Audience :: Developers',
        'Intended Audience :: System Administrators',
        'License :: OSI Approved :: BSD License',
        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Software Development',
        'Topic :: System :: Networking',
        'Topic :: Terminals',
        'Topic :: Text Processing',
    ],
)
<commit_msg>Added `argparse` for Python 3.1.<commit_after>import os
import sys
from setuptools import setup
import httpie

if sys.argv[-1] == 'test':
    os.system('python tests.py')
    sys.exit()

requirements = ['requests>=0.10.4', 'Pygments>=1.4']
if sys.version_info[:2] in ((2, 6), (3, 1)):
    # argparse has been added in Python 3.2 / 2.7
    requirements.append('argparse>=1.2.1')

setup(
    name='httpie',
    version=httpie.__version__,
    description=httpie.__doc__.strip(),
    long_description=open('README.rst').read(),
    url='http://httpie.org/',
    download_url='https://github.com/jkbr/httpie',
    author=httpie.__author__,
    author_email='jakub@roztocil.name',
    license=httpie.__licence__,
    packages=['httpie'],
    entry_points={
        'console_scripts': [
            'http = httpie.__main__:main',
        ],
    },
    install_requires=requirements,
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.1'
        'Programming Language :: Python :: 3.2'
        'Programming Language :: Python :: 3.3'
        'Environment :: Console',
        'Intended Audience :: Developers',
        'Intended Audience :: System Administrators',
        'License :: OSI Approved :: BSD License',
        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Software Development',
        'Topic :: System :: Networking',
        'Topic :: Terminals',
        'Topic :: Text Processing',
    ],
)
<|endoftext|>


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

from setuptools import setup, find_packages
from pip.req import parse_requirements
import uuid

# parse_requirements() returns generator of pip.req.InstallRequirement objects
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())

# reqs is a list of requirement
# e.g. ['django==1.5.1', 'mezzanine==1.4.6']
reqs = [str(ir.req) for ir in install_reqs]

version = '0.12'

setup(
    name='pyIOSXR',
    version=version,
    py_modules=['pyIOSXR'],
    packages=find_packages(),
    install_requires=reqs,
    include_package_data=True,
    description = 'Python API to interact with network devices running IOS-XR',
    author = 'Elisa Jasinska',
    author_email = 'elisa@bigwaveit.org',
    url = 'https://github.com/fooelisa/pyiosxr/', # use the URL to the github repo
    download_url = 'https://github.com/fooelisa/pyiosxr/tarball/%s' % version,
    keywords = ['IOS-XR', 'IOSXR', 'Cisco', 'networking'],
    classifiers = [],
)
<commit_msg>version bump -> 0.13<commit_after># Copyright 2015 Netflix. All rights reserved.
#
# The contents of this file are licensed under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with the
# License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations under
# the License.

from setuptools import setup, find_packages
from pip.req import parse_requirements
import uuid

# parse_requirements() returns generator of pip.req.InstallRequirement objects
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())

# reqs is a list of requirement
# e.g. ['django==1.5.1', 'mezzanine==1.4.6']
reqs = [str(ir.req) for ir in install_reqs]

version = '0.13'

setup(
    name='pyIOSXR',
    version=version,
    py_modules=['pyIOSXR'],
    packages=find_packages(),
    install_requires=reqs,
    include_package_data=True,
    description = 'Python API to interact with network devices running IOS-XR',
    author = 'Elisa Jasinska',
    author_email = 'elisa@bigwaveit.org',
    url = 'https://github.com/fooelisa/pyiosxr/', # use the URL to the github repo
    download_url = 'https://github.com/fooelisa/pyiosxr/tarball/%s' % version,
    keywords = ['IOS-XR', 'IOSXR', 'Cisco', 'networking'],
    classifiers = [],
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

from simfile import __version__ as version

with open('README.md', 'r', encoding='utf-8') as fh:
    long_description = fh.read()

setup(
    name='simfile',
    version=version,
    description='Modern simfile library for Python',
    long_description=long_description,
    long_description_content_type='text/markdown',
    author='Ash Garcia',
    author_email='python-simfile@garcia.sh',
    url='https://github.com/garcia/simfile',
    packages=find_packages(exclude=['*.tests']),
    package_data={
        'simfile': ['py.typed'],
    },
    include_package_data=True,
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Programming Language :: Python :: 3',
        'Topic :: Games/Entertainment',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Typing :: Typed',
    ],
    license='MIT',
    keywords='stepmania simfile sm ssc',
    zip_safe=False,
    install_requires=[
        'msdparser~=1.0.0',
        'fs~=2.4.15',
    ],
    python_requires='>=3.6',
    tests_require=[
        'pyfakefs'
    ],
    command_options={
        'build_sphinx': {
            'version': ('setup.py', version),
        },
    },
)<commit_msg>hey, maybe maintaining 3 copies of my dependencies Sucks, Actually<commit_after>from setuptools import setup, find_packages

from simfile import __version__ as version

with open('README.md', 'r', encoding='utf-8') as fh:
    long_description = fh.read()

setup(
    name='simfile',
    version=version,
    description='Modern simfile library for Python',
    long_description=long_description,
    long_description_content_type='text/markdown',
    author='Ash Garcia',
    author_email='python-simfile@garcia.sh',
    url='https://github.com/garcia/simfile',
    packages=find_packages(exclude=['*.tests']),
    package_data={
        'simfile': ['py.typed'],
    },
    include_package_data=True,
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Programming Language :: Python :: 3',
        'Topic :: Games/Entertainment',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Typing :: Typed',
    ],
    license='MIT',
    keywords='stepmania simfile sm ssc',
    zip_safe=False,
    install_requires=[
        'msdparser>=2.0.0-beta.4',
        'fs~=2.4.15',
    ],
    python_requires='>=3.6',
    tests_require=[
        'pyfakefs'
    ],
    command_options={
        'build_sphinx': {
            'version': ('setup.py', version),
        },
    },
)<|endoftext|>