<commit_before>import os
import sys
from setuptools import setup
from io import open

# Set external files
try:
    from pypandoc import convert
    README = convert('README.md', 'rst')
except ImportError:
    README = open(os.path.join(os.path.dirname(__file__), 'README.md'), 'r', encoding="utf-8").read()

with open(os.path.join(os.path.dirname(__file__), 'requirements.txt')) as f:
    required = f.read().splitlines()

with open(os.path.join(os.path.dirname(__file__), 'test_requirements.txt')) as f:
    test_required = f.read().splitlines()

setup(
    name='zappa',
    version='0.41.1',
    packages=['zappa'],
    install_requires=required,
    tests_require=test_required,
    test_suite='nose.collector',
    include_package_data=True,
    license='MIT License',
    description='Server-less Python Web Services for AWS Lambda and API Gateway',
    long_description=README,
    url='https://github.com/Miserlou/Zappa',
    author='Rich Jones',
    author_email='rich@openwatch.net',
    entry_points={
        'console_scripts': [
            'zappa=zappa.cli:handle',
            'z=zappa.cli:handle',
        ]
    },
    classifiers=[
        'Environment :: Console',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.6',
        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
    ],
)
<commit_msg>0.41.2 (bump setup.py)<commit_after>import os
import sys
from setuptools import setup
from io import open

# Set external files
try:
    from pypandoc import convert
    README = convert('README.md', 'rst')
except ImportError:
    README = open(os.path.join(os.path.dirname(__file__), 'README.md'), 'r', encoding="utf-8").read()

with open(os.path.join(os.path.dirname(__file__), 'requirements.txt')) as f:
    required = f.read().splitlines()

with open(os.path.join(os.path.dirname(__file__), 'test_requirements.txt')) as f:
    test_required = f.read().splitlines()

setup(
    name='zappa',
    version='0.41.2',
    packages=['zappa'],
    install_requires=required,
    tests_require=test_required,
    test_suite='nose.collector',
    include_package_data=True,
    license='MIT License',
    description='Server-less Python Web Services for AWS Lambda and API Gateway',
    long_description=README,
    url='https://github.com/Miserlou/Zappa',
    author='Rich Jones',
    author_email='rich@openwatch.net',
    entry_points={
        'console_scripts': [
            'zappa=zappa.cli:handle',
            'z=zappa.cli:handle',
        ]
    },
    classifiers=[
        'Environment :: Console',
        'License :: OSI Approved :: Apache Software License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.6',
        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
    ],
)
<|endoftext|>


<commit_before>from distutils.core import setup
setup(
    name='ansible-lint-junit',
    packages=['ansible-lint-junit'],
    version='0.2',
    description='ansible-lint to JUnit converter.',
    author='wasil',
    author_email='piotr.m.wasilewski@gmail.com',
    url='https://github.com/wasilak/ansible-lint-junit',
    download_url='https://github.com/wasilak/ansible-lint-junit/archive/0.1.tar.gz',
    keywords=['ansible', 'junit'],
    classifiers=[],
)
<commit_msg>bumped version<commit_after>from distutils.core import setup
setup(
    name='ansible-lint-junit',
    packages=['ansible-lint-junit'],
    version='0.2',
    description='ansible-lint to JUnit converter.',
    author='wasil',
    author_email='piotr.m.wasilewski@gmail.com',
    url='https://github.com/wasilak/ansible-lint-junit',
    download_url='https://github.com/wasilak/ansible-lint-junit/archive/0.2.tar.gz',
    keywords=['ansible', 'junit'],
    classifiers=[],
)
<|endoftext|>


<commit_before>import os

version_file = os.path.join(os.path.dirname(__file__), 'OmniReader', 'VERSION.py')
with open(version_file) as fh:
    __version_info__ = eval(fh.read().strip())
omnireader_version = '.'.join(str(i) for i in __version_info__)

from distutils.core import setup

setup(
    name = "OmniReader",
    description = "OmniReader Story Teller",
    version = omnireader_version,
    url = "https://github.com/Zenohm/OmniReader",
    long_description = """\
The OmniReader Story Teller is a python package that reads stories
using a TTS engine.  OmniReader requires Python 3.3+.""",
    license = "MIT",
    keywords = ['OmniReader', 'Fanfiction', 'stories',
                'scraping', 'translating', 'Wattpad',
                'text-to-speech', 'deviantart'],
    maintainer = "Isaac Smith (Zenohm)",
    maintainer_email = "sentherus@gmail.com",
    author = "Isaac Smith (Zenohm)",
    author_email = "sentherus@gmail.com",
    classifiers = [
    'Development Status :: 3 - Alpha',
    'Intended Audience :: Other Audience',
    'Intended Audience :: Education',
    'Intended Audience :: Developers',
    'Intended Audience :: Science/Research',
    'License :: OSI Approved :: MIT License',
    'Operating System :: Microsoft :: Windows',
    'Programming Language :: Python :: 3 :: Only',
    'Programming Language :: Python :: 3.3',
    'Programming Language :: Python :: 3.4',
    'Programming Language :: Python :: 3.5',
    'Topic :: Multimedia :: Sound/Audio',
    'Topic :: Multimedia :: Sound/Audio :: Speech',
    ],
    packages = ['OmniReader'],
    )
<commit_msg>Update setup.py<commit_after>import os

version_file = os.path.join(os.path.dirname(__file__), 'OmniReader', 'VERSION.py')
requirements_fule = os.path.join(os.path.dirname(__file__), 'OmniReader', 'REQUIREMENTS.py')
with open(version_file) as f:
    __version_info__ = eval(f.read().strip())
with open(requirements_file) as f:
    required = f.read().splitlines()

omnireader_version = '.'.join(str(i) for i in __version_info__)

from distutils.core import setup

setup(
    name = "OmniReader",
    description = "OmniReader Story Teller",
    version = omnireader_version,
    url = "https://github.com/Zenohm/OmniReader",
    long_description = """\
The OmniReader Story Teller is a python package that reads stories
using a TTS engine.  OmniReader requires Python 3.3+.""",
    license = "MIT",
    keywords = ['OmniReader', 'Fanfiction', 'stories',
                'scraping', 'translating', 'Wattpad',
                'text-to-speech', 'deviantart'],
    maintainer = "Isaac Smith (Zenohm)",
    maintainer_email = "sentherus@gmail.com",
    author = "Isaac Smith (Zenohm)",
    author_email = "sentherus@gmail.com",
    classifiers = [
    'Development Status :: 3 - Alpha',
    'Intended Audience :: Other Audience',
    'Intended Audience :: Education',
    'Intended Audience :: Developers',
    'Intended Audience :: Science/Research',
    'License :: OSI Approved :: MIT License',
    'Operating System :: Microsoft :: Windows',
    'Programming Language :: Python :: 3 :: Only',
    'Programming Language :: Python :: 3.3',
    'Programming Language :: Python :: 3.4',
    'Programming Language :: Python :: 3.5',
    'Topic :: Multimedia :: Sound/Audio',
    'Topic :: Multimedia :: Sound/Audio :: Speech',
    ],
    packages = ['OmniReader'],
    install_requires=required,
    )
<|endoftext|>


<commit_before>from setuptools import setup, find_packages, Extension
from Cython.Build import cythonize
import numpy as np
import os.path as op
import os
import platform
import fnmatch
import shutil
import versioneer

def walk_for_package_data(ext_pattern):
    paths = []
    for root, dirnames, filenames in os.walk('cyvlfeat'):
        for filename in fnmatch.filter(filenames, ext_pattern):
            # Slice cyvlfeat off the beginning of the path
            paths.append(
                op.relpath(os.path.join(root, filename), 'cyvlfeat'))
    return paths

IS_WIN = platform.system() == 'Windows'
IS_CONDA = os.environ.get('CONDA_BUILD', False)

include_dirs = []
library_dirs = []

# If we are building from the conda folder,
# then we know we can manually copy some files around
# because we have control of the setup. If you are
# building this manually or pip installing, you must satisfy
# that the vlfeat vl folder is on the PATH (for the headers)
# and that the vl.dll file is visible to the build system
# as well.
if IS_WIN and IS_CONDA:
    conda_bin_dir = os.environ['LIBRARY_BIN']
    conda_vl_dll_path = op.join(conda_bin_dir, 'vl.dll')

    include_dirs.append(os.environ['LIBRARY_INC'])
    library_dirs.append(conda_bin_dir)

    # On Windows, there is no relative linking against DLLS,
    # so every extension MUST have a copy of the vl.dll next to it.
    vl_ext_dll_path = op.join('cyvlfeat', 'sift', 'fisher', 'vl.dll')
    shutil.copy(conda_vl_dll_path, vl_ext_dll_path)

vl_extensions = [
    Extension('cyvlfeat.sift.cysift',
              [op.join('cyvlfeat', 'sift', 'cysift.pyx', 'fisher', 'cyfisher.pyx')],
              include_dirs=include_dirs,
              library_dirs=library_dirs,
              libraries=['vl'],
              language='c++')
]

# Grab all the pyx and pxd Cython files for uploading to pypi
cython_files = walk_for_package_data('*.p[xy][xd]')

# Move the dlls next to the package if on Windows
if IS_WIN:
    dll_paths = walk_for_package_data('*.dll')
else:
    dll_paths = []

setup(
    name='cyvlfeat',
    version=versioneer.get_version(),
    cmdclass=versioneer.get_cmdclass(),
    description='Cython wrapper of the VLFeat toolkit',
    url='https://github.com/menpo/cyvlfeat/',
    author='Patrick Snape',
    author_email='p.snape@imperial.ac.uk',
    include_dirs=[np.get_include()],
    ext_modules=cythonize(vl_extensions),
    packages=find_packages(),
    package_data={'cyvlfeat': cython_files + dll_paths}
)

<commit_msg>fix misunderstanding with the setup.py<commit_after>from setuptools import setup, find_packages, Extension
from Cython.Build import cythonize
import numpy as np
import os.path as op
import os
import platform
import fnmatch
import shutil
import versioneer

def walk_for_package_data(ext_pattern):
    paths = []
    for root, dirnames, filenames in os.walk('cyvlfeat'):
        for filename in fnmatch.filter(filenames, ext_pattern):
            # Slice cyvlfeat off the beginning of the path
            paths.append(
                op.relpath(os.path.join(root, filename), 'cyvlfeat'))
    return paths

IS_WIN = platform.system() == 'Windows'
IS_CONDA = os.environ.get('CONDA_BUILD', False)

include_dirs = []
library_dirs = []

# If we are building from the conda folder,
# then we know we can manually copy some files around
# because we have control of the setup. If you are
# building this manually or pip installing, you must satisfy
# that the vlfeat vl folder is on the PATH (for the headers)
# and that the vl.dll file is visible to the build system
# as well.
if IS_WIN and IS_CONDA:
    conda_bin_dir = os.environ['LIBRARY_BIN']
    conda_vl_dll_path = op.join(conda_bin_dir, 'vl.dll')

    include_dirs.append(os.environ['LIBRARY_INC'])
    library_dirs.append(conda_bin_dir)

    # On Windows, there is no relative linking against DLLS,
    # so every extension MUST have a copy of the vl.dll next to it.
    vl_sift_dll_path = op.join('cyvlfeat', 'sift', 'vl.dll')
    shutil.copy(conda_vl_dll_path, vl_sift_dll_path)

    vl_fisher_dll_path = op.join('cyvlfeat', 'fisher', 'vl.dll')
    shutil.copy(conda_vl_dll_path, vl_fisher_dll_path)

vl_extensions = [
    Extension('cyvlfeat.sift.cysift',
              [op.join('cyvlfeat', 'sift', 'cysift.pyx')],
              include_dirs=include_dirs,
              library_dirs=library_dirs,
              libraries=['vl'],
              language='c++'),
    Extension('cyvlfeat.fisher.cyfisher',
              [op.join('cyvlfeat', 'fisher', 'cyfisher.pyx')],
              include_dirs=include_dirs,
              library_dirs=library_dirs,
              libraries=['vl'],
              language='c++'),
]

# Grab all the pyx and pxd Cython files for uploading to pypi
cython_files = walk_for_package_data('*.p[xy][xd]')

# Move the dlls next to the package if on Windows
if IS_WIN:
    dll_paths = walk_for_package_data('*.dll')
else:
    dll_paths = []

setup(
    name='cyvlfeat',
    version=versioneer.get_version(),
    cmdclass=versioneer.get_cmdclass(),
    description='Cython wrapper of the VLFeat toolkit',
    url='https://github.com/menpo/cyvlfeat/',
    author='Patrick Snape',
    author_email='p.snape@imperial.ac.uk',
    include_dirs=[np.get_include()],
    ext_modules=cythonize(vl_extensions),
    packages=find_packages(),
    package_data={'cyvlfeat': cython_files + dll_paths}
)

<|endoftext|>


<commit_before>import os
from setuptools import setup
from opyum import \
    ( __version__
    , __author__
    , __url__
    , __email__
    )

PATH_BASE = os.path.dirname(__file__)
PATH_BIN  = os.path.join(PATH_BASE, 'bin')

SCRIPTS = None
if os.path.exists(PATH_BIN):
    SCRIPTS = [os.path.join('bin', f) for f in os.listdir(PATH_BIN) if os.path.join(PATH_BIN, f)]

with open(os.path.join(PATH_BASE, 'README.rst')) as file_readme:
    README = file_readme.read()

with open(os.path.join(PATH_BASE, 'REQUIREMENTS.txt')) as file_req:
    REQUIREMENTS = file_req.readlines()

setup\
    ( name = 'opyum'
    , version = '.'.join(map(str, __version__))
    , url = __url__

    , description = 'Optimizing Python applications without mutilation code'
    , long_description = README
    , license = 'BSD 3-Clause License'

    , author = __author__
    , author_email = __email__

    , packages = ['opyum']
    , include_package_data = True
    , zip_safe = False

    , install_requires = REQUIREMENTS
    , scripts = SCRIPTS

    , classifiers = \
        [ 'Development Status :: 2 - Pre-Alpha'
        , 'Operating System :: OS Independent'
        , 'Intended Audience :: Developers'
        , 'Intended Audience :: Information Technology'
        , 'Programming Language :: Python'
        , 'Programming Language :: Python :: 2'
        , 'Programming Language :: Python :: 2.7'
        , 'Programming Language :: Python :: 3'
        , 'Programming Language :: Python :: 3.3'
        , 'Programming Language :: Python :: 3.4'
        , 'Programming Language :: Python :: 3.5'
        , 'Programming Language :: Python :: Implementation :: CPython'
        , 'License :: OSI Approved :: BSD License'
        ]
    )

<commit_msg>Fix packages in setup script<commit_after>import os
from setuptools import setup
from opyum import \
    ( __version__
    , __author__
    , __url__
    , __email__
    )

PATH_BASE = os.path.dirname(__file__)
PATH_BIN  = os.path.join(PATH_BASE, 'bin')

SCRIPTS = None
if os.path.exists(PATH_BIN):
    SCRIPTS = [os.path.join('bin', f) for f in os.listdir(PATH_BIN) if os.path.join(PATH_BIN, f)]

with open(os.path.join(PATH_BASE, 'README.rst')) as file_readme:
    README = file_readme.read()

with open(os.path.join(PATH_BASE, 'REQUIREMENTS.txt')) as file_req:
    REQUIREMENTS = file_req.readlines()

setup\
    ( name = 'opyum'
    , version = '.'.join(map(str, __version__))
    , url = __url__

    , description = 'Optimizing Python applications without mutilation code'
    , long_description = README
    , license = 'BSD 3-Clause License'

    , author = __author__
    , author_email = __email__

    , packages = ['opyum', 'opyum.optimizations']
    , include_package_data = True
    , zip_safe = False

    , install_requires = REQUIREMENTS
    , scripts = SCRIPTS

    , classifiers = \
        [ 'Development Status :: 2 - Pre-Alpha'
        , 'Operating System :: OS Independent'
        , 'Intended Audience :: Developers'
        , 'Intended Audience :: Information Technology'
        , 'Programming Language :: Python'
        , 'Programming Language :: Python :: 2'
        , 'Programming Language :: Python :: 2.7'
        , 'Programming Language :: Python :: 3'
        , 'Programming Language :: Python :: 3.3'
        , 'Programming Language :: Python :: 3.4'
        , 'Programming Language :: Python :: 3.5'
        , 'Programming Language :: Python :: Implementation :: CPython'
        , 'License :: OSI Approved :: BSD License'
        ]
    )

<|endoftext|>


<commit_before># -*- coding: utf-8 -*-
from distutils.core import setup

setup(name = 'git_tool',
      version = '0.0.1',
      author = 'Joshua Ryan Smith',
      author_email = 'joshua.r.smith@gmail.com',
      packages = ['gittool'],
      url = 'https://github.com/jrsmith3/git_tools',
      description = 'tools for managing many git repositories',
      classifiers = ["Programming Language :: Python",
                     "License :: OSI Approved :: MIT License",
                     "Operating System :: OS Independent",
                     "Development Status :: 2 - Pre-Alpha",
                     "Intended Audience :: Developers",
                     "Topic :: Software Development :: Version Control",
                     "Topic :: Utilities",
                     "Natural Language :: English",],
      install_requires = ['GitPython'],)<commit_msg>Bumped version number.<commit_after># -*- coding: utf-8 -*-
from distutils.core import setup

setup(name = 'git_tool',
      version = '0.0.2',
      author = 'Joshua Ryan Smith',
      author_email = 'joshua.r.smith@gmail.com',
      packages = ['gittool'],
      url = 'https://github.com/jrsmith3/git_tools',
      description = 'tools for managing many git repositories',
      classifiers = ["Programming Language :: Python",
                     "License :: OSI Approved :: MIT License",
                     "Operating System :: OS Independent",
                     "Development Status :: 2 - Pre-Alpha",
                     "Intended Audience :: Developers",
                     "Topic :: Software Development :: Version Control",
                     "Topic :: Utilities",
                     "Natural Language :: English",],
      install_requires = ['GitPython'],)<|endoftext|>


<commit_before>import os
from distutils.core import setup
from distutils.sysconfig import get_python_lib
import media_nommer

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

TWISTED_PLUGIN_PATH = os.path.join(get_python_lib(), 'twisted', 'plugins')
NOMMER_PLUGIN_PATH = os.path.join('media_nommer', 'twisted', 'plugins')
data_files = [
    (
        TWISTED_PLUGIN_PATH,
        [os.path.join(NOMMER_PLUGIN_PATH, 'feederd.py')]
    ),
    (
        TWISTED_PLUGIN_PATH,
        [os.path.join(NOMMER_PLUGIN_PATH, 'ec2nommerd.py')]
    ),
    #(
    #    TWISTED_PLUGIN_PATH,
    #    [os.path.join(NOMMER_PLUGIN_PATH, 'scavengerd.py')]
    #),
]

setup(
    name='media-nommer',
    version=media_nommer.VERSION,
    description='A Python-based media encoding system, using Amazon AWS as its backbone.',
    long_description=long_description,
    author='DUO Interactive, LLC',
    author_email='gtaylor@duointeractive.com',
    license='BSD License',
    url='http://duointeractive.github.com/media-nommer/',
    platforms=["any"],
    requires=['boto', 'twisted', 'txrestapi', 'simplejson'],
    provides=['media_nommer'],
    packages=[
        'media_nommer',
        'media_nommer.conf',
        'media_nommer.core',
        'media_nommer.core.nommers', 'media_nommer.core.nommers.ec2_ffmpeg',
        'media_nommer.core.storage_backends',
        'media_nommer.ec2nommerd', 'media_nommer.ec2nommerd.web',
        'media_nommer.feederd', 'media_nommer.feederd.web',
        'media_nommer.scavengerd', 'media_nommer.scavengerd.web',
        'media_nommer.utils'
    ],
    data_files=data_files,
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Environment :: Web Environment',
        'Topic :: Multimedia :: Video :: Conversion',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ],
)

try:
    # This is needed to re-generate the Twisted plugin dropin.cache after install.
    from twisted.plugin import IPlugin, getPlugins
    list(getPlugins(IPlugin))
except ImportError:
    # Probably haven't installed yet. Fail silently.
    pass
<commit_msg>Setup.py formatting.<commit_after>import os
from distutils.core import setup
from distutils.sysconfig import get_python_lib
import media_nommer

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

TWISTED_PLUGIN_PATH = os.path.join(get_python_lib(), 'twisted', 'plugins')
NOMMER_PLUGIN_PATH = os.path.join('media_nommer', 'twisted', 'plugins')
data_files = [
    (
        TWISTED_PLUGIN_PATH,
        [os.path.join(NOMMER_PLUGIN_PATH, 'feederd.py')]
    ),
    (
        TWISTED_PLUGIN_PATH,
        [os.path.join(NOMMER_PLUGIN_PATH, 'ec2nommerd.py')]
    ),
    #(
    #    TWISTED_PLUGIN_PATH,
    #    [os.path.join(NOMMER_PLUGIN_PATH, 'scavengerd.py')]
    #),
]

setup(
    name='media-nommer',
    version=media_nommer.VERSION,
    description='A Python-based media encoding system, using Amazon AWS as its backbone.',
    long_description=long_description,
    author='DUO Interactive, LLC',
    author_email='gtaylor@duointeractive.com',
    license='BSD License',
    url='http://duointeractive.github.com/media-nommer/',
    platforms=["any"],
    requires=['boto', 'twisted', 'txrestapi', 'simplejson'],
    provides=['media_nommer'],
    packages=[
        'media_nommer', 'media_nommer.conf',
        'media_nommer.core',
        'media_nommer.core.nommers', 'media_nommer.core.nommers.ec2_ffmpeg',
        'media_nommer.core.storage_backends',
        'media_nommer.ec2nommerd', 'media_nommer.ec2nommerd.web',
        'media_nommer.feederd', 'media_nommer.feederd.web',
        'media_nommer.scavengerd', 'media_nommer.scavengerd.web',
        'media_nommer.utils'
    ],
    data_files=data_files,
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Environment :: Web Environment',
        'Topic :: Multimedia :: Video :: Conversion',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ],
)

try:
    # This is needed to re-generate the Twisted plugin dropin.cache after install.
    from twisted.plugin import IPlugin, getPlugins
    list(getPlugins(IPlugin))
except ImportError:
    # Probably haven't installed yet. Fail silently.
    pass
<|endoftext|>


<commit_before># This file is part of Shuup.
#
# Copyright (c) 2012-2019, Shoop Commerce Ltd. All rights reserved.
#
# This source code is licensed under the OSL-3.0 license found in the
# LICENSE file in the root directory of this source tree.
import os
import sys

import setuptools

import shuup_setup_utils as utils

TOPDIR = os.path.abspath(os.path.dirname(__file__))
LONG_DESCRIPTION_FILE = os.path.join(TOPDIR, 'README.rst')
VERSION_FILE = os.path.join(TOPDIR, 'shuup', '_version.py')

# Release instructions
#
#  1. Update the Change Log (doc/changelog.rst)
#      - Make sure all relevant changes since last release are listed
#      - Remove the instruction bullet point ("List all changes after
#        x.x.x here...")
#      - Change the "Unreleased" header to appropriate version header.
#        See header of the last release for example.
#  2. Create/update Release Notes (doc/release_notes/<VERSION>.rst) and
#     add it to index (doc/release_notes/index.rst)
#  3. Update VERSION variable here: Increase and drop .post0.dev suffix
#  4. Update version and release variables in doc/conf.py
#  5. Commit changes of steps 1--4
#  6. Tag the commit (of step 5) with
#        git tag -a -m "Shuup X.Y.Z" vX.Y.Z
#     where X.Y.Z is the new version number (must be same as VERSION
#     variable here)
#  7. Check the tag is OK and push it with
#        git push origin refs/tags/vX.Y.Z
#  8. Do a post-release commit:
#      - Add new "Unreleased" header and instruction bullet point to
#        Change Log
#      - Add ".post0.dev" suffix to VERSION variable here

NAME = 'shuup'
VERSION = '1.9.0b4.post0.dev'
DESCRIPTION = 'E-Commerce Platform'
AUTHOR = 'Shoop Commerce Ltd.'
AUTHOR_EMAIL = 'shuup@shuup.com'
URL = 'http://shuup.com/'
DOWNLOAD_URL_TEMPLATE = (
    'https://github.com/shuup/shuup/releases/download/'
    'v{version}/shuup-{version}-py2.py3-none-any.whl')
LICENSE = 'proprietary'  # https://spdx.org/licenses/
CLASSIFIERS = """
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
License :: Other/Proprietary License
Natural Language :: English
Natural Language :: Chinese (Simplified)
Natural Language :: Finnish
Natural Language :: Japanese
Natural Language :: Portuguese (Brazilian)
Programming Language :: JavaScript
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
Topic :: Internet :: WWW/HTTP :: Dynamic Content
Topic :: Internet :: WWW/HTTP :: Site Management
Topic :: Office/Business
Topic :: Software Development :: Libraries :: Application Frameworks
Topic :: Software Development :: Libraries :: Python Modules
""".strip().splitlines()

EXCLUDED_PACKAGES = [
    'shuup_tests', 'shuup_tests.*',
]

utils.add_exclude_patters([
    'build', 'doc', 'var',
    'LC_MESSAGES',
    'local_settings.py',
])

REQUIRES = [
    'Babel==2.5.3',
    'Django>=1.8,<2',
    'django-bootstrap3>=6.1,<10',
    'django-countries>=3.3,<5.3',
    'django-enumfields>=0.9,<0.10',
    'django-filer>=1.0,<2',
    'django-filter>=1.0,<1.2',
    'django-jinja>=1.4,<3',
    'django-mptt>=0.8.0,<0.10',  # Django-filer doesn't officially support 0.9.0
    'django-parler>=1.5,<2',
    'django-parler-rest>=1.3a1,<2',
    'django-polymorphic>=0.8,<2.1.0',  # For Django 1.8 and 1.9 use version lower 1
    'django-registration-redux>=1.5,<1.9',
    'django-reversion>=2,<3',
    'django-timezone-field>=1.2,<3',
    'djangorestframework>=3.5,<3.6',
    'djangorestframework-jwt>=1.9,<2',
    'django_rest_swagger>=2.1.0,<2.2',
    'factory-boy==2.7.0',
    'fake-factory>=0.5.0,<0.5.4',
    'Jinja2==2.8.1',
    'jsonfield>=1',
    'keyring>=10',
    'keyrings.alt>=2',
    'lxml>=4,<4.2.2',
    'Markdown>=2.6,<3',
    'openpyxl>=2.3,<2.6',
    'python-dateutil>=2.5',
    'pytoml>=0.1.0,<0.2',
    'pytz>=2015.4',
    'requests>=2.7,<3',
    'six>=1.9,<2',
    'unicodecsv==0.14.1',
    'xlrd>=1'
]

REQUIRES_FOR_PYTHON2_ONLY = [
    'pillow>=3.4.2,<4'
]

EXTRAS_REQUIRE = {
    ':python_version=="2.7"': REQUIRES_FOR_PYTHON2_ONLY,
    'docs': [
        'Sphinx>=1.3,<2',
    ],
    'testing': utils.get_test_requirements_from_tox_ini(TOPDIR),
    'coding-style': [
        'flake8==3.3.0',
        'flake8-isort==2.1.3',
        'flake8-polyfill==1.0.1',
        'isort==4.2.5',
        'pep8-naming==0.4.1'
    ],
}
EXTRAS_REQUIRE['everything'] = list(
    set(sum(EXTRAS_REQUIRE.values(), [])) -  # All extras, but not...
    set(REQUIRES_FOR_PYTHON2_ONLY)  # the Python 2 compatibility things
)

if __name__ == '__main__':
    if 'upload' in sys.argv:
        raise EnvironmentError('Uploading is blacklisted')

    version = utils.get_version(VERSION, TOPDIR, VERSION_FILE)
    utils.write_version_to_file(version, VERSION_FILE)

    setuptools.setup(
        name=NAME,
        version=version,
        description=DESCRIPTION,
        long_description=utils.get_long_description(LONG_DESCRIPTION_FILE),
        url=URL,
        download_url=DOWNLOAD_URL_TEMPLATE.format(version=version),
        author=AUTHOR,
        author_email=AUTHOR_EMAIL,
        license=LICENSE,
        classifiers=CLASSIFIERS,
        install_requires=REQUIRES,
        tests_require=EXTRAS_REQUIRE['testing'],
        extras_require=EXTRAS_REQUIRE,
        packages=utils.find_packages(exclude=EXCLUDED_PACKAGES),
        include_package_data=True,
        cmdclass=utils.COMMANDS
    )
<commit_msg>Release 1.9.0b5<commit_after># This file is part of Shuup.
#
# Copyright (c) 2012-2019, Shoop Commerce Ltd. All rights reserved.
#
# This source code is licensed under the OSL-3.0 license found in the
# LICENSE file in the root directory of this source tree.
import os
import sys

import setuptools

import shuup_setup_utils as utils

TOPDIR = os.path.abspath(os.path.dirname(__file__))
LONG_DESCRIPTION_FILE = os.path.join(TOPDIR, 'README.rst')
VERSION_FILE = os.path.join(TOPDIR, 'shuup', '_version.py')

# Release instructions
#
#  1. Update the Change Log (doc/changelog.rst)
#      - Make sure all relevant changes since last release are listed
#      - Remove the instruction bullet point ("List all changes after
#        x.x.x here...")
#      - Change the "Unreleased" header to appropriate version header.
#        See header of the last release for example.
#  2. Create/update Release Notes (doc/release_notes/<VERSION>.rst) and
#     add it to index (doc/release_notes/index.rst)
#  3. Update VERSION variable here: Increase and drop .post0.dev suffix
#  4. Update version and release variables in doc/conf.py
#  5. Commit changes of steps 1--4
#  6. Tag the commit (of step 5) with
#        git tag -a -m "Shuup X.Y.Z" vX.Y.Z
#     where X.Y.Z is the new version number (must be same as VERSION
#     variable here)
#  7. Check the tag is OK and push it with
#        git push origin refs/tags/vX.Y.Z
#  8. Do a post-release commit:
#      - Add new "Unreleased" header and instruction bullet point to
#        Change Log
#      - Add ".post0.dev" suffix to VERSION variable here

NAME = 'shuup'
VERSION = '1.9.0b5'
DESCRIPTION = 'E-Commerce Platform'
AUTHOR = 'Shoop Commerce Ltd.'
AUTHOR_EMAIL = 'shuup@shuup.com'
URL = 'http://shuup.com/'
DOWNLOAD_URL_TEMPLATE = (
    'https://github.com/shuup/shuup/releases/download/'
    'v{version}/shuup-{version}-py2.py3-none-any.whl')
LICENSE = 'proprietary'  # https://spdx.org/licenses/
CLASSIFIERS = """
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
License :: Other/Proprietary License
Natural Language :: English
Natural Language :: Chinese (Simplified)
Natural Language :: Finnish
Natural Language :: Japanese
Natural Language :: Portuguese (Brazilian)
Programming Language :: JavaScript
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
Topic :: Internet :: WWW/HTTP :: Dynamic Content
Topic :: Internet :: WWW/HTTP :: Site Management
Topic :: Office/Business
Topic :: Software Development :: Libraries :: Application Frameworks
Topic :: Software Development :: Libraries :: Python Modules
""".strip().splitlines()

EXCLUDED_PACKAGES = [
    'shuup_tests', 'shuup_tests.*',
]

utils.add_exclude_patters([
    'build', 'doc', 'var',
    'LC_MESSAGES',
    'local_settings.py',
])

REQUIRES = [
    'Babel==2.5.3',
    'Django>=1.8,<2',
    'django-bootstrap3>=6.1,<10',
    'django-countries>=3.3,<5.3',
    'django-enumfields>=0.9,<0.10',
    'django-filer>=1.0,<2',
    'django-filter>=1.0,<1.2',
    'django-jinja>=1.4,<3',
    'django-mptt>=0.8.0,<0.10',  # Django-filer doesn't officially support 0.9.0
    'django-parler>=1.5,<2',
    'django-parler-rest>=1.3a1,<2',
    'django-polymorphic>=0.8,<2.1.0',  # For Django 1.8 and 1.9 use version lower 1
    'django-registration-redux>=1.5,<1.9',
    'django-reversion>=2,<3',
    'django-timezone-field>=1.2,<3',
    'djangorestframework>=3.5,<3.6',
    'djangorestframework-jwt>=1.9,<2',
    'django_rest_swagger>=2.1.0,<2.2',
    'factory-boy==2.7.0',
    'fake-factory>=0.5.0,<0.5.4',
    'Jinja2==2.8.1',
    'jsonfield>=1',
    'keyring>=10',
    'keyrings.alt>=2',
    'lxml>=4,<4.2.2',
    'Markdown>=2.6,<3',
    'openpyxl>=2.3,<2.6',
    'python-dateutil>=2.5',
    'pytoml>=0.1.0,<0.2',
    'pytz>=2015.4',
    'requests>=2.7,<3',
    'six>=1.9,<2',
    'unicodecsv==0.14.1',
    'xlrd>=1'
]

REQUIRES_FOR_PYTHON2_ONLY = [
    'pillow>=3.4.2,<4'
]

EXTRAS_REQUIRE = {
    ':python_version=="2.7"': REQUIRES_FOR_PYTHON2_ONLY,
    'docs': [
        'Sphinx>=1.3,<2',
    ],
    'testing': utils.get_test_requirements_from_tox_ini(TOPDIR),
    'coding-style': [
        'flake8==3.3.0',
        'flake8-isort==2.1.3',
        'flake8-polyfill==1.0.1',
        'isort==4.2.5',
        'pep8-naming==0.4.1'
    ],
}
EXTRAS_REQUIRE['everything'] = list(
    set(sum(EXTRAS_REQUIRE.values(), [])) -  # All extras, but not...
    set(REQUIRES_FOR_PYTHON2_ONLY)  # the Python 2 compatibility things
)

if __name__ == '__main__':
    if 'upload' in sys.argv:
        raise EnvironmentError('Uploading is blacklisted')

    version = utils.get_version(VERSION, TOPDIR, VERSION_FILE)
    utils.write_version_to_file(version, VERSION_FILE)

    setuptools.setup(
        name=NAME,
        version=version,
        description=DESCRIPTION,
        long_description=utils.get_long_description(LONG_DESCRIPTION_FILE),
        url=URL,
        download_url=DOWNLOAD_URL_TEMPLATE.format(version=version),
        author=AUTHOR,
        author_email=AUTHOR_EMAIL,
        license=LICENSE,
        classifiers=CLASSIFIERS,
        install_requires=REQUIRES,
        tests_require=EXTRAS_REQUIRE['testing'],
        extras_require=EXTRAS_REQUIRE,
        packages=utils.find_packages(exclude=EXCLUDED_PACKAGES),
        include_package_data=True,
        cmdclass=utils.COMMANDS
    )
<|endoftext|>


<commit_before>from setuptools import setup, find_packages
from pypandoc import convert_file

def convert_markdown_to_rst(file):
      return convert_file(file, 'rst')

setup(name='gitlabform',
      version=open('version').read(),
      description='Specialized "configuration as a code" tool for GitLab projects, groups and more'
                  ' using hierarchical configuration written in YAML',
      long_description=convert_markdown_to_rst('README.md'),
      url='https://github.com/egnyte/gitlabform',
      author='Egnyte and GitHub Contributors',
      keywords=['gitlab', 'configuration-as-code'],
      classifiers=[
            "Programming Language :: Python :: 3.5",
            "Programming Language :: Python :: 3.6",
            "Programming Language :: Python :: 3.7",
            "Programming Language :: Python :: 3.8",
            "Development Status :: 5 - Production/Stable",
            "Intended Audience :: Information Technology",
            "Intended Audience :: System Administrators",
            "License :: OSI Approved :: MIT License",
            "Operating System :: OS Independent",
            "Topic :: Software Development :: Version Control :: Git",
      ],
      packages=find_packages(),
      install_requires=[
            'requests>=2.20.0,<3',
            'pyyaml>=5.1.2,<6',
            'Jinja2>=2.10.1,<3',
      ],
      tests_require=[
            'pytest',
      ],
      setup_requires=[
            'pypandoc',
      ],
      scripts=[
            'bin/gitlabform',
      ],
      )
<commit_msg>Don't use alpha version of MarkupSafe<commit_after>from setuptools import setup, find_packages
from pypandoc import convert_file

def convert_markdown_to_rst(file):
      return convert_file(file, 'rst')

setup(name='gitlabform',
      version=open('version').read(),
      description='Specialized "configuration as a code" tool for GitLab projects, groups and more'
                  ' using hierarchical configuration written in YAML',
      long_description=convert_markdown_to_rst('README.md'),
      url='https://github.com/egnyte/gitlabform',
      author='Egnyte and GitHub Contributors',
      keywords=['gitlab', 'configuration-as-code'],
      classifiers=[
            "Programming Language :: Python :: 3.5",
            "Programming Language :: Python :: 3.6",
            "Programming Language :: Python :: 3.7",
            "Programming Language :: Python :: 3.8",
            "Development Status :: 5 - Production/Stable",
            "Intended Audience :: Information Technology",
            "Intended Audience :: System Administrators",
            "License :: OSI Approved :: MIT License",
            "Operating System :: OS Independent",
            "Topic :: Software Development :: Version Control :: Git",
      ],
      packages=find_packages(),
      install_requires=[
            'requests>=2.20.0,<3',
            'pyyaml>=5.1.2,<6',
            'Jinja2>=2.10.1,<3',
            'MarkupSafe==1.1.1',
      ],
      tests_require=[
            'pytest',
      ],
      setup_requires=[
            'pypandoc',
      ],
      scripts=[
            'bin/gitlabform',
      ],
      )
<|endoftext|>


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

import os

from setuptools import setup

def readreq(filename):
    result = []
    with open(filename) as f:
        for req in f:
            req = req.lstrip()
            if req.startswith('-e ') or req.startswith('http:'):
                idx = req.find('#egg=')
                if idx >= 0:
                    req = req[idx + 5:].partition('#')[0].strip()
                else:
                    pass
            else:
                req = req.partition('#')[0].strip()
            if not req:
                continue
            result.append(req)
    return result

def readfile(filename):
    with open(filename) as f:
        return f.read()

setup(
    name='rs_limits',
    version='0.7.0a3',
    author='Kevin L. Mitchell',
    author_email='kevin.mitchell@rackspace.com',
    url='https://github.com/klmitch/rs_limits',
    description="Rackspace-specific rate-limit preprocessor for turnstile",
    long_description=readfile('README.rst'),
    license='Apache License (2.0)',
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Web Environment',
        'Framework :: Paste',
        'Intended Audience :: System Administrators',
        'License :: OSI Approved :: Apache Software License',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
    ],
    py_modules=['rs_limits'],
    install_requires=readreq('.requires'),
    tests_require=readreq('.test-requires'),
    entry_points={
        'console_scripts': [
            'group_class = rs_limits:group_class',
        ],
    },
)
<commit_msg>Make setup.py executable.<commit_after>#!/usr/bin/env python

import os

from setuptools import setup

def readreq(filename):
    result = []
    with open(filename) as f:
        for req in f:
            req = req.lstrip()
            if req.startswith('-e ') or req.startswith('http:'):
                idx = req.find('#egg=')
                if idx >= 0:
                    req = req[idx + 5:].partition('#')[0].strip()
                else:
                    pass
            else:
                req = req.partition('#')[0].strip()
            if not req:
                continue
            result.append(req)
    return result

def readfile(filename):
    with open(filename) as f:
        return f.read()

setup(
    name='rs_limits',
    version='0.7.0a3',
    author='Kevin L. Mitchell',
    author_email='kevin.mitchell@rackspace.com',
    url='https://github.com/klmitch/rs_limits',
    description="Rackspace-specific rate-limit preprocessor for turnstile",
    long_description=readfile('README.rst'),
    license='Apache License (2.0)',
    classifiers=[
        'Development Status :: 4 - Beta',
        'Environment :: Web Environment',
        'Framework :: Paste',
        'Intended Audience :: System Administrators',
        'License :: OSI Approved :: Apache Software License',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
    ],
    py_modules=['rs_limits'],
    install_requires=readreq('.requires'),
    tests_require=readreq('.test-requires'),
    entry_points={
        'console_scripts': [
            'group_class = rs_limits:group_class',
        ],
    },
)
<|endoftext|>


<commit_before>from setuptools import setup

setup(
    name                 = 'py-nltools',
    version              = '0.3.0',
    description          = 'A collection of basic python modules for spoken natural language processing',
    long_description     = open('README.md').read(),
    author               = 'Guenter Bartsch',
    author_email         = 'guenter@zamia.org',
    maintainer           = 'Guenter Bartsch',
    maintainer_email     = 'guenter@zamia.org',
    url                  = 'https://github.com/gooofy/py-nltools',
    packages             = ['nltools'],
    install_requires     = [
                            'num2words', 'py-marytts', 'py-picotts', 'py-espeak-ng', 'pocketsphinx', 'py-kaldi-asr', 'numpy', 'webrtcvad', 'setproctitle'
                           ],
    classifiers          = [
                               'Operating System :: POSIX :: Linux',
                               'License :: OSI Approved :: Apache Software License',
                               'Programming Language :: Python :: 2',
                               'Programming Language :: Python :: 2.7',
                               'Programming Language :: Python :: 3',
                               'Programming Language :: Python :: 3.5',
                               'Intended Audience :: Developers',
                               'Topic :: Multimedia :: Sound/Audio :: Speech',
                               'Topic :: Scientific/Engineering :: Artificial Intelligence'
                           ],
    license              = 'Apache',
    keywords             = 'natural language processing tokenizer nlp tts asr speech synthesis recognition',
    )

<commit_msg>0.3.1 release<commit_after>from setuptools import setup

setup(
    name                 = 'py-nltools',
    version              = '0.3.1',
    description          = 'A collection of basic python modules for spoken natural language processing',
    long_description     = open('README.md').read(),
    author               = 'Guenter Bartsch',
    author_email         = 'guenter@zamia.org',
    maintainer           = 'Guenter Bartsch',
    maintainer_email     = 'guenter@zamia.org',
    url                  = 'https://github.com/gooofy/py-nltools',
    packages             = ['nltools'],
    install_requires     = [
                            'num2words', 'py-marytts', 'py-picotts', 'py-espeak-ng', 'pocketsphinx', 'py-kaldi-asr', 'numpy', 'webrtcvad', 'setproctitle'
                           ],
    classifiers          = [
                               'Operating System :: POSIX :: Linux',
                               'License :: OSI Approved :: Apache Software License',
                               'Programming Language :: Python :: 2',
                               'Programming Language :: Python :: 2.7',
                               'Programming Language :: Python :: 3',
                               'Programming Language :: Python :: 3.5',
                               'Intended Audience :: Developers',
                               'Topic :: Multimedia :: Sound/Audio :: Speech',
                               'Topic :: Scientific/Engineering :: Artificial Intelligence'
                           ],
    license              = 'Apache',
    keywords             = 'natural language processing tokenizer nlp tts asr speech synthesis recognition',
    )

<|endoftext|>


<commit_before>import os
import imp
from setuphelpers import setup, install_other

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

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

    version_module.generate(base_path)
    return version_module.version_str()
version = generate_version()

def is_package(path):
    try:
        imp.find_module(".", [path])
    except ImportError:
        return False
    return True

def collect_package(package, path=None):
    if path is None:
        path = os.path.join(*package.split("."))
    return _collect_package(package, path)

def _collect_package(package, path):
    if not is_package(path):
        return

    yield package, path

    for name in os.listdir(path):
        sub = os.path.join(path, name)
        for result in collect_package(package + "." + name, sub):
            yield result

def collect_package_data(src, dst):
    paths = list()

    cwd = os.getcwd()
    try:
        os.chdir(src)

        for dirpath, dirnames, filenames in os.walk(dst):
            for filename in filenames:
                normalized = os.path.normpath(os.path.join(dirpath, filename))
                paths.append(os.path.normpath(normalized))
    finally:
        os.chdir(cwd)

    return paths

install_other("idiokit")

packages = dict()
packages.update(collect_package("abusehelper"))
packages.update(collect_package("abusehelper.contrib"))

setup(
    name="abusehelper",
    version="2." + version,
    packages=packages,
    package_dir=packages,
    package_data={
        "abusehelper.contrib.confgen":
            collect_package_data("abusehelper/contrib/confgen", "config-template")
    },
    scripts=[
        "scripts/botnet",
        "scripts/roomreader"
    ],
    description="A framework for receiving and redistributing abuse feeds",
    long_description=(
        "AbuseHelper is a modular, scalable and robust " +
        "framework to help you in your abuse handling."
    ),
    author="Clarified Networks",
    author_email="contact@clarifiednetworks.com",
    url="https://bitbucket.org/clarifiednetworks/abusehelper",
    download_url="https://bitbucket.org/clarifiednetworks/abusehelper/downloads",
    license="MIT"
)
<commit_msg>setup.py: Fix reference of contrib package to bots package.<commit_after>import os
import imp
from setuphelpers import setup, install_other

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

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

    version_module.generate(base_path)
    return version_module.version_str()
version = generate_version()

def is_package(path):
    try:
        imp.find_module(".", [path])
    except ImportError:
        return False
    return True

def collect_package(package, path=None):
    if path is None:
        path = os.path.join(*package.split("."))
    return _collect_package(package, path)

def _collect_package(package, path):
    if not is_package(path):
        return

    yield package, path

    for name in os.listdir(path):
        sub = os.path.join(path, name)
        for result in collect_package(package + "." + name, sub):
            yield result

def collect_package_data(src, dst):
    paths = list()

    cwd = os.getcwd()
    try:
        os.chdir(src)

        for dirpath, dirnames, filenames in os.walk(dst):
            for filename in filenames:
                normalized = os.path.normpath(os.path.join(dirpath, filename))
                paths.append(os.path.normpath(normalized))
    finally:
        os.chdir(cwd)

    return paths

install_other("idiokit")

packages = dict()
packages.update(collect_package("abusehelper"))
packages.update(collect_package("abusehelper.bots"))

setup(
    name="abusehelper",
    version="2." + version,
    packages=packages,
    package_dir=packages,
    package_data={
        "abusehelper.bots.confgen":
            collect_package_data("abusehelper/bots/confgen", "config-template")
    },
    scripts=[
        "scripts/botnet",
        "scripts/roomreader"
    ],
    description="A framework for receiving and redistributing abuse feeds",
    long_description=(
        "AbuseHelper is a modular, scalable and robust " +
        "framework to help you in your abuse handling."
    ),
    author="Clarified Networks",
    author_email="contact@clarifiednetworks.com",
    url="https://bitbucket.org/clarifiednetworks/abusehelper",
    download_url="https://bitbucket.org/clarifiednetworks/abusehelper/downloads",
    license="MIT"
)
<|endoftext|>


<commit_before>
from distutils.core import setup
import setuptools

setup(
    name = 'abris',
    packages = setuptools.find_packages(),
    version = '0.1.1',
    description = 'Small data preprocessing engine built on top of sklearn for easy prototyping.',
    author = 'Gerard Madorell',
    author_email = 'gmadorell@gmail.com',
    url = 'https://github.com/Skabed/abris',
    download_url = 'https://github.com/Skabed/abris/tarball/0.1.1',
    keywords = ['preprocessing', 'data'],
    classifiers = [],
)<commit_msg>New version on setup.py.<commit_after>
from distutils.core import setup
import setuptools

setup(
    name = 'abris',
    packages = setuptools.find_packages(),
    version = '0.1.2',
    description = 'Small data preprocessing engine built on top of sklearn for easy prototyping.',
    author = 'Gerard Madorell',
    author_email = 'gmadorell@gmail.com',
    url = 'https://github.com/Skabed/abris',
    download_url = 'https://github.com/Skabed/abris/tarball/0.1.1',
    keywords = ['preprocessing', 'data'],
    classifiers = [],
)<|endoftext|>


<commit_before># -*- coding: utf-8 -*-
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright (C) 2013-2018 GEM Foundation
#
# OpenQuake is free software: you can redistribute it and/or modify it
# under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# OpenQuake is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with OpenQuake. If not, see <http://www.gnu.org/licenses/>.

import os
import re
import sys
from setuptools import setup, find_packages

if sys.version_info < (3, 6):
    sys.exit('Sorry, Python < 3.6 is not supported')

def get_version():
    version_re = r"^__version__\s+=\s+['\"]([^'\"]*)['\"]"
    version = None

    package_init = 'openquake/baselib/__init__.py'
    for line in open(package_init, 'r'):
        version_match = re.search(version_re, line, re.M)
        if version_match:
            version = version_match.group(1)
            break
    else:
        sys.exit('__version__ variable not found in %s' % package_init)

    return version

def get_readme():
    with open(os.path.join(os.path.abspath(os.path.dirname(__file__)),
                           'README.md'), encoding='utf-8') as readme:
        return readme.read()

version = get_version()
readme = get_readme()

url = "https://github.com/gem/oq-engine"

PY_MODULES = ['openquake.commands.__main__']

install_requires = [
    'setuptools',
    'mock >=1.0, <2.1',
    'nose >=1.3, <1.4',
    'h5py >=2.8, <2.9',
    'numpy >=1.14, <1.15',
    'scipy >=1.0.1, <1.2',
    'rtree ==0.8.3',
    'pyzmq <18.0',
    'psutil >=2.0, <5.5',
    'shapely >=1.3, <1.7',
    'docutils >=0.11, <0.15',
    'decorator >=4.3',
    'django >=1.10, <2.1',
    'matplotlib >=1.5, <2.3',
    'requests >=2.20, <2.21',
    'pyshp ==1.2.3',
    'PyYAML',
]

extras_require = {
    'setproctitle': ["setproctitle"],
    'prctl': ["python-prctl ==1.6.1"],
    'celery':  ["celery >=4.0, <4.2"],
    'dask':  ["dask", "distributed"],
    'pam': ["python-pam", "django-pam"],
    'plotting':  [
        'basemap >=1.0',
        'pyproj >=1.9',
    ],
    'dev':  [
        'flake8 >=3.5, <3.6',
        'pdbpp',
    ]
}

setup(
    name="openquake.engine",
    version=version,
    author="GEM Foundation",
    author_email="devops@openquake.org",
    maintainer='GEM Foundation',
    maintainer_email='devops@openquake.org',
    description=("Computes earthquake hazard and risk."),
    license="AGPL3",
    keywords="earthquake seismic hazard risk",
    url=url,
    long_description=readme,
    long_description_content_type='text/markdown',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Education',
        'Intended Audience :: Science/Research',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'License :: OSI Approved :: GNU Affero General Public License v3',
        'Operating System :: OS Independent',
        'Topic :: Scientific/Engineering',
        'Environment :: Console',
        'Environment :: Web Environment',
    ],
    packages=find_packages(exclude=["qa_tests", "qa_tests.*",
                                    "tools",
                                    "*.*.tests", "*.*.tests.*",
                                    "openquake.engine.bin",
                                    "openquake.engine.bin.*"]),
    py_modules=PY_MODULES,
    include_package_data=True,
    package_data={"openquake.engine": [
        "openquake.cfg", "README.md",
        "LICENSE", "CONTRIBUTORS.txt"]},
    namespace_packages=['openquake'],
    install_requires=install_requires,
    extras_require=extras_require,
    entry_points={
        'console_scripts': ['oq = openquake.commands.__main__:oq'],
    },
    test_loader='openquake.baselib.runtests:TestLoader',
    test_suite='openquake.risklib,openquake.commonlib,openquake.calculators',
    zip_safe=False,
    )
<commit_msg>Added toml to the dependencies [skip hazardlib]<commit_after># -*- coding: utf-8 -*-
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright (C) 2013-2018 GEM Foundation
#
# OpenQuake is free software: you can redistribute it and/or modify it
# under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# OpenQuake is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with OpenQuake. If not, see <http://www.gnu.org/licenses/>.

import os
import re
import sys
from setuptools import setup, find_packages

if sys.version_info < (3, 6):
    sys.exit('Sorry, Python < 3.6 is not supported')

def get_version():
    version_re = r"^__version__\s+=\s+['\"]([^'\"]*)['\"]"
    version = None

    package_init = 'openquake/baselib/__init__.py'
    for line in open(package_init, 'r'):
        version_match = re.search(version_re, line, re.M)
        if version_match:
            version = version_match.group(1)
            break
    else:
        sys.exit('__version__ variable not found in %s' % package_init)

    return version

def get_readme():
    with open(os.path.join(os.path.abspath(os.path.dirname(__file__)),
                           'README.md'), encoding='utf-8') as readme:
        return readme.read()

version = get_version()
readme = get_readme()

url = "https://github.com/gem/oq-engine"

PY_MODULES = ['openquake.commands.__main__']

install_requires = [
    'setuptools',
    'mock >=1.0, <2.1',
    'nose >=1.3, <1.4',
    'h5py >=2.8, <2.9',
    'numpy >=1.14, <1.15',
    'scipy >=1.0.1, <1.2',
    'rtree ==0.8.3',
    'pyzmq <18.0',
    'psutil >=2.0, <5.5',
    'shapely >=1.3, <1.7',
    'docutils >=0.11, <0.15',
    'decorator >=4.3',
    'django >=1.10, <2.1',
    'matplotlib >=1.5, <2.3',
    'requests >=2.20, <2.21',
    'pyshp ==1.2.3',
    'PyYAML',
    'toml',
]

extras_require = {
    'setproctitle': ["setproctitle"],
    'prctl': ["python-prctl ==1.6.1"],
    'celery':  ["celery >=4.0, <4.2"],
    'dask':  ["dask", "distributed"],
    'pam': ["python-pam", "django-pam"],
    'plotting':  [
        'basemap >=1.0',
        'pyproj >=1.9',
    ],
    'dev':  [
        'flake8 >=3.5, <3.6',
        'pdbpp',
    ]
}

setup(
    name="openquake.engine",
    version=version,
    author="GEM Foundation",
    author_email="devops@openquake.org",
    maintainer='GEM Foundation',
    maintainer_email='devops@openquake.org',
    description=("Computes earthquake hazard and risk."),
    license="AGPL3",
    keywords="earthquake seismic hazard risk",
    url=url,
    long_description=readme,
    long_description_content_type='text/markdown',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Education',
        'Intended Audience :: Science/Research',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'License :: OSI Approved :: GNU Affero General Public License v3',
        'Operating System :: OS Independent',
        'Topic :: Scientific/Engineering',
        'Environment :: Console',
        'Environment :: Web Environment',
    ],
    packages=find_packages(exclude=["qa_tests", "qa_tests.*",
                                    "tools",
                                    "*.*.tests", "*.*.tests.*",
                                    "openquake.engine.bin",
                                    "openquake.engine.bin.*"]),
    py_modules=PY_MODULES,
    include_package_data=True,
    package_data={"openquake.engine": [
        "openquake.cfg", "README.md",
        "LICENSE", "CONTRIBUTORS.txt"]},
    namespace_packages=['openquake'],
    install_requires=install_requires,
    extras_require=extras_require,
    entry_points={
        'console_scripts': ['oq = openquake.commands.__main__:oq'],
    },
    test_loader='openquake.baselib.runtests:TestLoader',
    test_suite='openquake.risklib,openquake.commonlib,openquake.calculators',
    zip_safe=False,
    )
<|endoftext|>


<commit_before>from setuptools import setup
from setuptools import find_packages

setup(
    name='geojson_rest',
    version='4.0.x-alpha',
    author='Kristoffer Snabb',
    url='https://github.com/geonition/django_geojson_rest',
    packages=find_packages(),
    include_package_data=True,
    package_data = {
        "geojson_rest": [
            "templates/*.js",
            "templates/*.html"
        ],
    },
    zip_safe=False,
    install_requires=['django']
)
<commit_msg>version modified for 4.0.0<commit_after>from setuptools import setup
from setuptools import find_packages

setup(
    name='geojson_rest',
    version='4.0.0',
    author='Kristoffer Snabb',
    url='https://github.com/geonition/django_geojson_rest',
    packages=find_packages(),
    include_package_data=True,
    package_data = {
        "geojson_rest": [
            "templates/*.js",
            "templates/*.html"
        ],
    },
    zip_safe=False,
    install_requires=['django']
)
<|endoftext|>


<commit_before>import os
from setuptools import setup, find_packages

exec (open('biobeam/version.py').read())

setup(name='biobeam',
    version=__version__,
    description='beam propagation',
    url='https://maweigert.github.io/biobeam',
    author='Martin Weigert',
    author_email='mweigert@mpi-cbg.de',
    license='MIT',
    packages=find_packages(),

    install_requires=[
        'numpy',
        'scipy',
        "pyopencl>=2016.1",
        'gputools>=0.1.3',
    ],

    package_data={"biobeam":['core/kernels/*.cl'
                             ],},

)

<commit_msg>setup<commit_after>import os
from setuptools import setup, find_packages

exec (open('biobeam/version.py').read())

setup(name='biobeam',
    version=__version__,
    description='GPU accelerated light propagation tools',
    url='https://maweigert.github.io/biobeam',
    author='Martin Weigert',
    author_email='mweigert@mpi-cbg.de',
    license='MIT',
    packages=find_packages(),

    install_requires=[
        'numpy',
        'scipy',
        "pyopencl>=2016.1",
        'gputools>=0.1.3',
    ],

    package_data={"biobeam":['core/kernels/*.cl'
                             ],},

)

<|endoftext|>


<commit_before># encoding=utf8

from setuptools import setup, find_packages

setup(
    name='django-form-designer-ai',
    version='1.0.0',
    url='http://github.com/andersinno/django-form-designer-ai',
    license='BSD',
    maintainer='Anders Innovations Ltd',
    maintainer_email='info@anders.fi',
    packages=find_packages('.', include=[
        'form_designer',
        'form_designer.*',
    ]),
    include_package_data=True,
    classifiers=[
        'Development Status :: 4 - Beta',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP',
    ],
    install_requires=[
        'django-picklefield>=0.3.2,<0.4',
    ],
    zip_safe=False,
)
<commit_msg>Bump version to v1.0.1<commit_after># encoding=utf8

from setuptools import setup, find_packages

setup(
    name='django-form-designer-ai',
    version='1.0.1',
    url='http://github.com/andersinno/django-form-designer-ai',
    license='BSD',
    maintainer='Anders Innovations Ltd',
    maintainer_email='info@anders.fi',
    packages=find_packages('.', include=[
        'form_designer',
        'form_designer.*',
    ]),
    include_package_data=True,
    classifiers=[
        'Development Status :: 4 - Beta',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Internet :: WWW/HTTP',
    ],
    install_requires=[
        'django-picklefield>=0.3.2,<0.4',
    ],
    zip_safe=False,
)
<|endoftext|>


<commit_before>from distutils.core import setup

setup(
    name='pyppd',
    version='0.1.0',
    author='Vitor Baptista',
    author_email='vitor@vitorbaptista.com',
    packages=['pyppd'],
    package_data={'pyppd': ['*.in']},
    scripts=['bin/pyppd'],
    url='http://gitorious.org/vitorbaptista/pyppd/',
    license='LICENSE.txt',
    long_description=open('README.txt').read(),
)
<commit_msg>Renaming the license in setup.py to GPLv3<commit_after>from distutils.core import setup

setup(
    name='pyppd',
    version='0.1.1',
    author='Vitor Baptista',
    author_email='vitor@vitorbaptista.com',
    packages=['pyppd'],
    package_data={'pyppd': ['*.in']},
    scripts=['bin/pyppd'],
    url='http://gitorious.org/vitorbaptista/pyppd/',
    license='GPLv3',
    long_description=open('README.txt').read(),
)
<|endoftext|>


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

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

import os
import sys
import time
import datetime
import tempfile
import functools
import subprocess
from math import ceil

try:
    from multiprocessing import Pool
except ImportError:
    class Pool:
        def imap(self, pred, L):
            return map(pred, L)

if sys.version_info[0] >= 3:
    from distutils import log
    from lib2to3.refactor import RefactoringTool, get_fixers_from_package
    class DistutilsRefactoringTool(RefactoringTool):
        def refactor(self, files, *args, **kwargs):
            self._filenames = []
            super(DistutilsRefactoringTool, self).refactor(files,
                    *args, **kwargs)
            pred = functools.partial(
                    super(DistutilsRefactoringTool, self).refactor_file,
                        write=True)
            p = Pool()
            n = len(self._filenames)
            for (i, _) in enumerate(p.imap(pred, self._filenames)):
                if n//10 != 0 and i % (n//10) == 0:
                    print('Refactoring files: %i%% (%i on %i).' %
                            (ceil(i*100./n), i, n))
            del self._filenames
        def refactor_file(self, filename, *args, **kwargs):
            self._filenames.append(filename)
        def log_error(self, msg, *args, **kw):
            log.error(msg, *args)

        def log_message(self, msg, *args):
            log.info(msg, *args)

        def log_debug(self, msg, *args):
            log.debug(msg, *args)

debug = '--debug' in sys.argv

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

version = None
try:
    proc = subprocess.Popen('git show HEAD --format=%ci', shell=True,
            stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    date = proc.stdout.readline()
    if sys.version_info[0] >= 3:
        date = date.decode()
        date = time.strptime(date.strip(), '%Y-%m-%d %H:%M:%S %z')
        utc_date = time.gmtime(time.mktime(date))
        version = time.strftime('%Y.%m.%d', utc_date)
    else:
        (date, timezone) = date.strip().rsplit(' ', 1)
        date = datetime.datetime.strptime(date.strip(), '%Y-%m-%d %H:%M:%S')
        offset = time.strptime(timezone[1:], '%H%M')
        offset = datetime.timedelta(hours=offset.tm_hour,
                                    minutes=offset.tm_min)
        utc_date = date - offset
        version = utc_date.strftime('%Y.%m.%d')
except:
    pass
if not version:
    from time import gmtime, strftime
    version = 'installed on ' + strftime("%Y-%m-%dT%H-%M-%S", gmtime())
try:
    os.unlink(os.path.join('src', 'version.py'))
except OSError: # Does not exist
    pass
fd = open(os.path.join('src', 'version.py'), 'a')
fd.write("version = '0.83.4.1+limnoria %s'\n" % version)
fd.close()

if sys.version_info < (2, 6, 0):
    sys.stderr.write("Supybot requires Python 2.6 or newer.")
    sys.stderr.write(os.linesep)
    sys.exit(-1)

import textwrap

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

import glob
import shutil
import os

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

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

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

            fixer_names = ['fix_basestring',
                    'fix_dict',
                    'fix_imports',
                    'fix_long',
                    'fix_metaclass', 'fix_methodattrs',
                    'fix_numliterals',
                    'fix_types',
                    'fix_unicode', 'fix_urllib', 'fix_xrange']
            fixers = list(map(lambda x:'lib2to3.fixes.'+x, fixer_names))
            fixers += get_fixers_from_package('2to3')
            r = DistutilsRefactoringTool(fixers, options=options)
            r.refactor(files, write=True)
except ImportError:
    # 2.x
    from distutils.command.build_py import build_py

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

packages = ['supybot',
            'supybot.locales',
            'supybot.utils',
            'supybot.drivers',
            'supybot.plugins',] + \
            ['supybot.plugins.'+s for s in plugins] + \
            [
             'supybot.plugins.Dict.local',
             'supybot.plugins.Math.local',
            ]

package_dir = {'supybot': 'src',
               'supybot.utils': 'src/utils',
               'supybot.locales': 'locales',
               'supybot.plugins': 'plugins',
               'supybot.drivers': 'src/drivers',
               'supybot.plugins.Dict.local': 'plugins/Dict/local',
               'supybot.plugins.Math.local': 'plugins/Math/local',
              }

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

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

try:
    shutil.rmtree('2to3/__pycache__')
except OSError:
    pass

setup(
    # Metadata
    name='limnoria',
    provides=['supybot'],
    version=version,
    author='Valentin Lorentz',
    url='https://github.com/ProgVal/Limnoria',
    author_email='progval+limnoria@progval.net',
    download_url='http://builds.progval.net/limnoria/',
    description='A modified version of Supybot (an IRC bot and framework)',
    platforms=['linux', 'linux2', 'win32', 'cygwin', 'darwin'],
    long_description=normalizeWhitespace("""A robust, full-featured Python IRC
    bot with a clean and flexible plugin API.  Equipped with a complete ACL
    system for specifying user permissions with as much as per-command
    granularity.  Batteries are included in the form of numerous plugins
    already written."""),
    classifiers = [
        'Development Status :: 4 - Beta',
        'Environment :: Console',
        'Environment :: No Input/Output (Daemon)',
        'Intended Audience :: End Users/Desktop',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Topic :: Communications :: Chat :: Internet Relay Chat',
        'Natural Language :: English',
        'Natural Language :: Finnish',
        'Natural Language :: French',
        'Natural Language :: Hungarian',
        'Natural Language :: Italian',
        'Operating System :: OS Independent',
        'Operating System :: POSIX',
        'Operating System :: Microsoft :: Windows',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        ],
    cmdclass = {'build_py': build_py},

    # Installation data
    packages=packages,

    package_dir=package_dir,

    package_data=package_data,

    scripts=['scripts/supybot',
             'scripts/supybot-test',
             'scripts/supybot-botchk',
             'scripts/supybot-wizard',
             'scripts/supybot-adduser',
             'scripts/supybot-plugin-doc',
             'scripts/supybot-plugin-create',
             ],
    data_files=[('share/man/man1', ['man/supybot.1']),
                ('share/man/man1', ['man/supybot-test.1']),
                ('share/man/man1', ['man/supybot-botchk.1']),
                ('share/man/man1', ['man/supybot-wizard.1']),
                ('share/man/man1', ['man/supybot-adduser.1']),
                ('share/man/man1', ['man/supybot-plugin-doc.1']),
                ('share/man/man1', ['man/supybot-plugin-create.1']),
        ],

    )

# vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79:
<commit_msg>Revert "setup.py: Run refactoring in parallel."<commit_after>#!/usr/bin/env python

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

import os
import sys
import time
import datetime
import tempfile
import subprocess
from math import ceil

debug = '--debug' in sys.argv

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

version = None
try:
    proc = subprocess.Popen('git show HEAD --format=%ci', shell=True,
            stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    date = proc.stdout.readline()
    if sys.version_info[0] >= 3:
        date = date.decode()
        date = time.strptime(date.strip(), '%Y-%m-%d %H:%M:%S %z')
        utc_date = time.gmtime(time.mktime(date))
        version = time.strftime('%Y.%m.%d', utc_date)
    else:
        (date, timezone) = date.strip().rsplit(' ', 1)
        date = datetime.datetime.strptime(date.strip(), '%Y-%m-%d %H:%M:%S')
        offset = time.strptime(timezone[1:], '%H%M')
        offset = datetime.timedelta(hours=offset.tm_hour,
                                    minutes=offset.tm_min)
        utc_date = date - offset
        version = utc_date.strftime('%Y.%m.%d')
except:
    pass
if not version:
    from time import gmtime, strftime
    version = 'installed on ' + strftime("%Y-%m-%dT%H-%M-%S", gmtime())
try:
    os.unlink(os.path.join('src', 'version.py'))
except OSError: # Does not exist
    pass
fd = open(os.path.join('src', 'version.py'), 'a')
fd.write("version = '0.83.4.1+limnoria %s'\n" % version)
fd.close()

if sys.version_info < (2, 6, 0):
    sys.stderr.write("Supybot requires Python 2.6 or newer.")
    sys.stderr.write(os.linesep)
    sys.exit(-1)

import textwrap

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

import glob
import shutil
import os

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

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

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

            # Make this class local, to delay import of 2to3
            from lib2to3.refactor import RefactoringTool, get_fixers_from_package
            class DistutilsRefactoringTool(RefactoringTool):
                def refactor(self, files, *args, **kwargs):
                    self._total_files = len(files)
                    self._refactored_files = 0
                    super(DistutilsRefactoringTool, self).refactor(files,
                            *args, **kwargs)
                    del self._total_files
                    del self._refactored_files
                def refactor_file(self, filename, *args, **kwargs):
                    if self._total_files//10 != 0 and \
                            self._refactored_files % (self._total_files//10) == 0:
                        print('Refactoring files: %i%% (%i on %i).' %
                                (ceil(self._refactored_files*100./self._total_files),
                                 self._refactored_files, self._total_files))
                    self._refactored_files += 1
                    return super(DistutilsRefactoringTool, self).refactor_file(
                            filename, *args, **kwargs)
                def log_error(self, msg, *args, **kw):
                    log.error(msg, *args)

                def log_message(self, msg, *args):
                    log.info(msg, *args)

                def log_debug(self, msg, *args):
                    log.debug(msg, *args)

            fixer_names = ['fix_basestring',
                    'fix_dict',
                    'fix_imports',
                    'fix_long',
                    'fix_metaclass', 'fix_methodattrs',
                    'fix_numliterals',
                    'fix_types',
                    'fix_unicode', 'fix_urllib', 'fix_xrange']
            fixers = list(map(lambda x:'lib2to3.fixes.'+x, fixer_names))
            fixers += get_fixers_from_package('2to3')
            r = DistutilsRefactoringTool(fixers, options=options)
            r.refactor(files, write=True)
except ImportError:
    # 2.x
    from distutils.command.build_py import build_py

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

packages = ['supybot',
            'supybot.locales',
            'supybot.utils',
            'supybot.drivers',
            'supybot.plugins',] + \
            ['supybot.plugins.'+s for s in plugins] + \
            [
             'supybot.plugins.Dict.local',
             'supybot.plugins.Math.local',
            ]

package_dir = {'supybot': 'src',
               'supybot.utils': 'src/utils',
               'supybot.locales': 'locales',
               'supybot.plugins': 'plugins',
               'supybot.drivers': 'src/drivers',
               'supybot.plugins.Dict.local': 'plugins/Dict/local',
               'supybot.plugins.Math.local': 'plugins/Math/local',
              }

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

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

try:
    shutil.rmtree('2to3/__pycache__')
except OSError:
    pass

setup(
    # Metadata
    name='limnoria',
    provides=['supybot'],
    version=version,
    author='Valentin Lorentz',
    url='https://github.com/ProgVal/Limnoria',
    author_email='progval+limnoria@progval.net',
    download_url='http://builds.progval.net/limnoria/',
    description='A modified version of Supybot (an IRC bot and framework)',
    platforms=['linux', 'linux2', 'win32', 'cygwin', 'darwin'],
    long_description=normalizeWhitespace("""A robust, full-featured Python IRC
    bot with a clean and flexible plugin API.  Equipped with a complete ACL
    system for specifying user permissions with as much as per-command
    granularity.  Batteries are included in the form of numerous plugins
    already written."""),
    classifiers = [
        'Development Status :: 4 - Beta',
        'Environment :: Console',
        'Environment :: No Input/Output (Daemon)',
        'Intended Audience :: End Users/Desktop',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Topic :: Communications :: Chat :: Internet Relay Chat',
        'Natural Language :: English',
        'Natural Language :: Finnish',
        'Natural Language :: French',
        'Natural Language :: Hungarian',
        'Natural Language :: Italian',
        'Operating System :: OS Independent',
        'Operating System :: POSIX',
        'Operating System :: Microsoft :: Windows',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.2',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
        ],
    cmdclass = {'build_py': build_py},

    # Installation data
    packages=packages,

    package_dir=package_dir,

    package_data=package_data,

    scripts=['scripts/supybot',
             'scripts/supybot-test',
             'scripts/supybot-botchk',
             'scripts/supybot-wizard',
             'scripts/supybot-adduser',
             'scripts/supybot-plugin-doc',
             'scripts/supybot-plugin-create',
             ],
    data_files=[('share/man/man1', ['man/supybot.1']),
                ('share/man/man1', ['man/supybot-test.1']),
                ('share/man/man1', ['man/supybot-botchk.1']),
                ('share/man/man1', ['man/supybot-wizard.1']),
                ('share/man/man1', ['man/supybot-adduser.1']),
                ('share/man/man1', ['man/supybot-plugin-doc.1']),
                ('share/man/man1', ['man/supybot-plugin-create.1']),
        ],

    )

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


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

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

import os
import codecs
import re
import sys

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

def read(*parts):
    return codecs.open(os.path.join(here, *parts), 'r').read()

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

long_description = read("README.rst") + "\n\n" + read("HISTORY.rst")

requirements = []
test_requirements = []

if sys.version_info[:2] < (2, 7):
    test_requirements.append("unittest2")

setup(
    name="csv_object_reader",
    version=find_version("csv_object_reader", "__init__.py"),
    description="CSV file reader which returns objects",
    long_description=long_description,
    author="fireyone29",
    author_email="fireyone29@gmail.com",
    url="https://github.com/fireyone29/csv_object_reader",
    packages=["csv_object_reader"],
    package_dir={"csv_object_reader": "csv_object_reader"},
    include_package_data=True,
    install_requires=requirements,
    test_suite="tests",
    tests_require=test_requirements,
    license="MIT",
    zip_safe=False,
    keywords="csv_object_reader, csv",
    classifiers=[
        "Development Status :: 2 - Pre-Alpha",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Natural Language :: English",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.6",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.3",
        "Programming Language :: Python :: 3.4",
    ]
)
<commit_msg>Remove reference to python2.6<commit_after>#!/usr/bin/env python

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

import os
import codecs
import re
import sys

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

def read(*parts):
    return codecs.open(os.path.join(here, *parts), 'r').read()

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

long_description = read("README.rst") + "\n\n" + read("HISTORY.rst")

requirements = []
test_requirements = []

if sys.version_info[:2] < (2, 7):
    test_requirements.append("unittest2")

setup(
    name="csv_object_reader",
    version=find_version("csv_object_reader", "__init__.py"),
    description="CSV file reader which returns objects",
    long_description=long_description,
    author="fireyone29",
    author_email="fireyone29@gmail.com",
    url="https://github.com/fireyone29/csv_object_reader",
    packages=["csv_object_reader"],
    package_dir={"csv_object_reader": "csv_object_reader"},
    include_package_data=True,
    install_requires=requirements,
    test_suite="tests",
    tests_require=test_requirements,
    license="MIT",
    zip_safe=False,
    keywords="csv_object_reader, csv",
    classifiers=[
        "Development Status :: 2 - Pre-Alpha",
        "Intended Audience :: Developers",
        "License :: OSI Approved :: MIT License",
        "Natural Language :: English",
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3",
        "Programming Language :: Python :: 3.3",
        "Programming Language :: Python :: 3.4",
    ]
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

version = '0.9.4'
package_name = "filebytes"
package_dir = "filebytes"
package_description = """
Scripts to parse the following file formats
- Executable and Linkage Format (ELF), Portable Executable (PE), Mach-O and OAT (Android Runtime).
""".strip()

packages = find_packages()
valid_packages = []
for p in packages:
    if p.startswith('filebytes'):
        valid_packages.append(p)

setup(
    name=package_name,
    version=version,
    description=package_description,
    packages=valid_packages,
    license="GPLv2",
    author="Sascha Schirra",
    author_email="sashs@scoding.de",
    url="http://github.com/sashs/filebytes/",
    classifiers=[
        'Topic :: Security',
        'Environment :: Console',
        'Operating System :: OS Independent',
        'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
        'Programming Language :: Python',
        'Intended Audience :: Developers'
    ]
)
<commit_msg>Description changed<commit_after>from setuptools import setup, find_packages

version = '0.9.4'
package_name = "filebytes"
package_dir = "filebytes"
package_description = """
Scripts to parse the following file formats
- Executable and Linking Format (ELF), Portable Executable (PE), Mach-O and OAT (Android Runtime).
""".strip()

packages = find_packages()
valid_packages = []
for p in packages:
    if p.startswith('filebytes'):
        valid_packages.append(p)

setup(
    name=package_name,
    version=version,
    description=package_description,
    packages=valid_packages,
    license="GPLv2",
    author="Sascha Schirra",
    author_email="sashs@scoding.de",
    url="http://github.com/sashs/filebytes/",
    classifiers=[
        'Topic :: Security',
        'Environment :: Console',
        'Operating System :: OS Independent',
        'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
        'Programming Language :: Python',
        'Intended Audience :: Developers'
    ]
)
<|endoftext|>


<commit_before>from setuptools import setup, find_packages

setup(
    name="django-messaging-subscription",
    version="0.7.0",
    url="https://github.com/westerncapelabs/django-messaging-subscription",
    license='BSD',
    description=(
        "A RESTful API for managing messaging content, subscriptions and sending via Vumi-go"),
    long_description=open('README.rst', 'r').read(),
    author='Western Cape Labs',
    author_email='devops@westerncapelabs.com',
    packages=find_packages(),
    include_package_data=True,
    install_requires=[
        'Django',
        'django-tastypie',
        'South',
        'gunicorn==19.0.0',
        'django-celery==3.1.10',
        'go-http==0.1.1',
    ],
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: POSIX',
        'Programming Language :: Python',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Topic :: System :: Networking',
    ],
)
<commit_msg>packages pin and bump<commit_after>from setuptools import setup, find_packages

setup(
    name="django-messaging-subscription",
    version="0.7.1",
    url="https://github.com/westerncapelabs/django-messaging-subscription",
    license='BSD',
    description=(
        "A RESTful API for managing messaging content, subscriptions and sending via Vumi-go"),
    long_description=open('README.rst', 'r').read(),
    author='Western Cape Labs',
    author_email='devops@westerncapelabs.com',
    packages=find_packages(),
    include_package_data=True,
    install_requires=[
        'Django',
        'django-tastypie==0.12.2',
        'South',
        'gunicorn==19.0.0',
        'django-celery==3.1.10',
        'go-http==0.3.0',
    ],
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: POSIX',
        'Programming Language :: Python',
        'Topic :: Software Development :: Libraries :: Python Modules',
        'Topic :: System :: Networking',
    ],
)
<|endoftext|>


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

# python setup.py sdist --format=zip,gztar

from setuptools import setup
import os
import sys
import platform
import imp
import argparse

with open('contrib/requirements/requirements.txt') as f:
    requirements = f.read().splitlines()

with open('contrib/requirements/requirements-hw.txt') as f:
    requirements_hw = f.read().splitlines()

version = imp.load_source('version', 'lib/version.py')

if sys.version_info[:3] < (3, 4, 0):
    sys.exit("Error: Electrum requires Python version >= 3.4.0...")

data_files = []

if platform.system() in ['Linux', 'FreeBSD', 'DragonFly']:
    parser = argparse.ArgumentParser()
    parser.add_argument('--root=', dest='root_path', metavar='dir', default='/')
    opts, _ = parser.parse_known_args(sys.argv[1:])
    usr_share = os.path.join(sys.prefix, "share")
    icons_dirname = 'pixmaps'
    if not os.access(opts.root_path + usr_share, os.W_OK) and \
       not os.access(opts.root_path, os.W_OK):
        icons_dirname = 'icons'
        if 'XDG_DATA_HOME' in os.environ.keys():
            usr_share = os.environ['XDG_DATA_HOME']
        else:
            usr_share = os.path.expanduser('~/.local/share')
    data_files += [
        (os.path.join(usr_share, 'applications/'), ['electrum.desktop']),
        (os.path.join(usr_share, icons_dirname), ['icons/electrum.png'])
    ]

extras_require = {
    'hardware': requirements_hw,
    'fast': ['pycryptodomex'],
    ':python_version < "3.5"': ['typing>=3.0.0'],
}
extras_require['full'] = extras_require['hardware'] + extras_require['fast']

setup(
    name="Electrum",
    version=version.ELECTRUM_VERSION,
    install_requires=requirements,
    extras_require=extras_require,
    packages=[
        'electrum',
        'electrum_gui',
        'electrum_gui.qt',
        'electrum_plugins',
        'electrum_plugins.audio_modem',
        'electrum_plugins.cosigner_pool',
        'electrum_plugins.email_requests',
        'electrum_plugins.greenaddress_instant',
        'electrum_plugins.hw_wallet',
        'electrum_plugins.keepkey',
        'electrum_plugins.labels',
        'electrum_plugins.ledger',
        'electrum_plugins.revealer',
        'electrum_plugins.trezor',
        'electrum_plugins.digitalbitbox',
        'electrum_plugins.trustedcoin',
        'electrum_plugins.virtualkeyboard',
    ],
    package_dir={
        'electrum': 'lib',
        'electrum_gui': 'gui',
        'electrum_plugins': 'plugins',
    },
    package_data={
        '': ['*.txt', '*.json', '*.ttf', '*.otf'],
        'electrum': [
            'locale/*/LC_MESSAGES/electrum.mo',
        ],
    },
    scripts=['electrum'],
    data_files=data_files,
    description="Lightweight Bitcoin Wallet",
    author="Thomas Voegtlin",
    author_email="thomasv@electrum.org",
    license="MIT Licence",
    url="https://electrum.org",
    long_description="""Lightweight Bitcoin Wallet"""
)
<commit_msg>fix #4475<commit_after>#!/usr/bin/env python3

# python setup.py sdist --format=zip,gztar

from setuptools import setup
import os
import sys
import platform
import imp
import argparse

with open('contrib/requirements/requirements.txt') as f:
    requirements = f.read().splitlines()

with open('contrib/requirements/requirements-hw.txt') as f:
    requirements_hw = f.read().splitlines()

version = imp.load_source('version', 'lib/version.py')

if sys.version_info[:3] < (3, 4, 0):
    sys.exit("Error: Electrum requires Python version >= 3.4.0...")

data_files = []

if platform.system() in ['Linux', 'FreeBSD', 'DragonFly']:
    parser = argparse.ArgumentParser()
    parser.add_argument('--root=', dest='root_path', metavar='dir', default='/')
    opts, _ = parser.parse_known_args(sys.argv[1:])
    usr_share = os.path.join(sys.prefix, "share")
    icons_dirname = 'pixmaps'
    if not os.access(opts.root_path + usr_share, os.W_OK) and \
       not os.access(opts.root_path, os.W_OK):
        icons_dirname = 'icons'
        if 'XDG_DATA_HOME' in os.environ.keys():
            usr_share = os.environ['XDG_DATA_HOME']
        else:
            usr_share = os.path.expanduser('~/.local/share')
    data_files += [
        (os.path.join(usr_share, 'applications/'), ['electrum.desktop']),
        (os.path.join(usr_share, icons_dirname), ['icons/electrum.png'])
    ]

extras_require = {
    'hardware': requirements_hw,
    'fast': ['pycryptodomex'],
    ':python_version < "3.5"': ['typing>=3.0.0'],
}
extras_require['full'] = extras_require['hardware'] + extras_require['fast']

setup(
    name="Electrum",
    version=version.ELECTRUM_VERSION,
    install_requires=requirements,
    extras_require=extras_require,
    packages=[
        'electrum',
        'electrum_gui',
        'electrum_gui.qt',
        'electrum_plugins',
        'electrum_plugins.audio_modem',
        'electrum_plugins.cosigner_pool',
        'electrum_plugins.email_requests',
        'electrum_plugins.greenaddress_instant',
        'electrum_plugins.hw_wallet',
        'electrum_plugins.keepkey',
        'electrum_plugins.labels',
        'electrum_plugins.ledger',
        'electrum_plugins.revealer',
        'electrum_plugins.trezor',
        'electrum_plugins.digitalbitbox',
        'electrum_plugins.trustedcoin',
        'electrum_plugins.virtualkeyboard',
    ],
    package_dir={
        'electrum': 'lib',
        'electrum_gui': 'gui',
        'electrum_plugins': 'plugins',
    },
    package_data={
        '': ['*.txt', '*.json', '*.ttf', '*.otf'],
        'electrum': [
            'wordlist/*.txt',
            'locale/*/LC_MESSAGES/electrum.mo',
        ],
    },
    scripts=['electrum'],
    data_files=data_files,
    description="Lightweight Bitcoin Wallet",
    author="Thomas Voegtlin",
    author_email="thomasv@electrum.org",
    license="MIT Licence",
    url="https://electrum.org",
    long_description="""Lightweight Bitcoin Wallet"""
)
<|endoftext|>