"""
US Population Over Time
=======================
This chart visualizes the age distribution of the US population over time.
It uses a slider widget that is bound to the year to visualize the age
distribution over time.
"""
# category: case studies
import altair as alt
from vega_datasets import data

source = data.population.url

pink_blue = alt.Scale(domain=('Male', 'Female'),
                      range=["steelblue", "salmon"])

slider = alt.binding_range(min=1900, max=2000, step=10)
select_year = alt.selection_single(name="year", fields=['year'],
                                   bind=slider, init={'year': 2000})

alt.Chart(source).mark_bar().encode(
    x=alt.X('sex:N', title=None),
    y=alt.Y('people:Q', scale=alt.Scale(domain=(0, 12000000))),
    color=alt.Color('sex:N', scale=pink_blue),
    column='age:O'
).properties(
    width=20
).add_selection(
    select_year
).transform_calculate(
    "sex", alt.expr.if_(alt.datum.sex == 1, "Male", "Female")
).transform_filter(
    select_year
).configure_facet(
    spacing=8
)

"""
US Population by Age and Sex
============================
This chart visualizes the age distribution of the US population over time.
It uses a slider widget that is bound to the year to visualize the age
distribution over time.
"""
# category: case studies
import altair as alt
from vega_datasets import data

source = data.population.url

select_year = alt.selection_single(
    name="Year",
    fields=["year"],
    bind=alt.binding_range(min=1900, max=2000, step=10, name="Year"),
    init={"year": 2000},
)

alt.Chart(source).mark_bar().encode(
    x=alt.X("sex:N", axis=alt.Axis(labels=False, title=None, ticks=False)),
    y=alt.Y("people:Q", scale=alt.Scale(domain=(0, 12000000)), title="Population"),
    color=alt.Color(
        "sex:N",
        scale=alt.Scale(domain=("Male", "Female"), range=["steelblue", "salmon"]),
        title="Sex",
    ),
    column=alt.Column("age:O", title="Age"),
).properties(width=20, title="U.S. Population by Age and Sex").add_selection(
    select_year
).transform_calculate(
    "sex", alt.expr.if_(alt.datum.sex == 1, "Male", "Female")
).transform_filter(
    select_year
).configure_facet(
    spacing=8
)

Tidy up U.S. Population by Age and Sex

Tidy up U.S. Population by Age and Sex


#!/usr/bin/env python
#from distutils.core import setup
from setuptools import setup, find_packages

setup(
    name="imaplib2",
    version="2.28.3",
    description="A threaded Python IMAP4 client.",
    author="Piers Lauder",
    url="http://github.com/bcoe/imaplib2",
    classifiers = [
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.7"
    ],
    packages = find_packages()
)

#!/usr/bin/env python
# from distutils.core import setup
from setuptools import setup, find_packages

try:
    from distutils.command.build_py import build_py_2to3 as build_py
except ImportError:
    from distutils.command.build_py import build_py

setup(
    name="imaplib2",
    version="2.28.4",
    description="A threaded Python IMAP4 client.",
    author="Piers Lauder",
    url="http://github.com/bcoe/imaplib2",
    classifiers=[
        "Programming Language :: Python :: 2",
        "Programming Language :: Python :: 2.7",
        "Programming Language :: Python :: 3"
    ],
    packages=find_packages(),
    cmdclass={'build_py': build_py}
)

Add support for Python 3 by doing 2to3 conversion when installing the package with distutils. This way we don't have to maintain two separate repositories to support Python 2.x and Python 3.x.


from setuptools import setup, find_packages

# First update the version in loompy/_version.py, then:

# cd loompy  (the root loompy folder, not the one inside!)
# rm -r dist   (otherwise twine will upload the oldest build!)
# python setup.py sdist
# twine upload dist/*

# NOTE: Don't forget to update the release version at loompy.github.io (index.html)!

# pylint: disable=exec-used
__version__ = '0.0.0'
exec(open('loompy/_version.py').read())

setup(
	name="loompy",
	version=__version__,
	packages=find_packages(),
	install_requires=['h5py', 'numpy', 'scipy', "typing", "setuptools"],
	# metadata for upload to PyPI
	author="Linnarsson Lab",
	author_email="sten.linnarsson@ki.se",
	description="Work with .loom files for single-cell RNA-seq data",
	license="BSD",
	keywords="loom omics transcriptomics bioinformatics",
	url="https://github.com/linnarsson-lab/loompy",
	download_url=f"https://github.com/linnarsson-lab/loompy/archive/{__version__}.tar.gz",
)

from setuptools import setup, find_packages

# First update the version in loompy/_version.py, then:

# cd loompy  (the root loompy folder, not the one inside!)
# rm -r dist   (otherwise twine will upload the oldest build!)
# python setup.py sdist
# twine upload dist/*

# NOTE: Don't forget to update the release version at loompy.github.io (index.html)!

# pylint: disable=exec-used
__version__ = '0.0.0'
exec(open('loompy/_version.py').read())

setup(
	name="loompy",
	version=__version__,
	packages=find_packages(),
	install_requires=['h5py', 'numpy', 'scipy', "typing", "setuptools"],
	python_requires='>=3.6',
	# metadata for upload to PyPI
	author="Linnarsson Lab",
	author_email="sten.linnarsson@ki.se",
	description="Work with .loom files for single-cell RNA-seq data",
	license="BSD",
	keywords="loom omics transcriptomics bioinformatics",
	url="https://github.com/linnarsson-lab/loompy",
	download_url=f"https://github.com/linnarsson-lab/loompy/archive/{__version__}.tar.gz",
)

Make clear we need Python 3.6

Make clear we need Python 3.6


#!/usr/bin/env python

from ez_setup import use_setuptools
use_setuptools()

import os
from setuptools import setup, find_packages

here = os.path.dirname(__file__)

version_file = os.path.join(here, 'src/iptools/__init__.py')
d = {}
execfile(version_file, d)
version = d['__version__']

setup(
    name = 'iptools',
    version = version,
    description = 'Python utilites for manipulating IP addresses',
    long_description = "Utilities for manipulating IP addresses including a class that can be used to include CIDR network blocks in Django's INTERNAL_IPS setting.",
    url = 'http://python-iptools.googlecode.com',
    author = 'Bryan Davis',
    author_email = 'casadebender+iptools@gmail.com',
    license = 'BSD',
    platforms = ['any',],
    package_dir = {'': 'src'},
    packages = find_packages('src'),
    include_package_data = True,
    test_suite='iptools.test_iptools',
    classifiers = [
      'Development Status :: 4 - Beta',
      'Environment :: Web Environment',
      'Intended Audience :: Developers',
      'License :: OSI Approved :: BSD License',
      'Operating System :: OS Independent',
      'Programming Language :: Python',
      'Programming Language :: Python :: 2',
      'Programming Language :: Python :: 3',
      'Topic :: Utilities',
      'Topic :: Internet',
    ],
    zip_safe=False,
)

#!/usr/bin/env python

from ez_setup import use_setuptools
use_setuptools()

import os
from setuptools import setup, find_packages

here = os.path.dirname(__file__)

version_file = os.path.join(here, 'src/iptools/__init__.py')
d = {}
execfile(version_file, d)
version = d['__version__']

setup(
    name = 'iptools',
    version = version,
    description = 'Python utilites for manipulating IP addresses',
    long_description = "Utilities for manipulating IP addresses including a class that can be used to include CIDR network blocks in Django's INTERNAL_IPS setting.",
    url = 'http://python-iptools.googlecode.com',
    download_url = 'http://pypi.python.org/packages/source/i/iptools/',
    author = 'Bryan Davis',
    author_email = 'casadebender+iptools@gmail.com',
    license = 'BSD',
    platforms = ['any',],
    package_dir = {'': 'src'},
    packages = find_packages('src'),
    include_package_data = True,
    test_suite='iptools.test_iptools',
    classifiers = [
      'Development Status :: 4 - Beta',
      'Environment :: Web Environment',
      'Intended Audience :: Developers',
      'License :: OSI Approved :: BSD License',
      'Operating System :: OS Independent',
      'Programming Language :: Python',
      'Programming Language :: Python :: 2',
      'Programming Language :: Python :: 3',
      'Topic :: Utilities',
      'Topic :: Internet',
    ],
    zip_safe=False,
)

Set download_url to pypi directory.

Set download_url to pypi directory.

git-svn-id: c8188841f5432f3fe42d04dee4f87e556eb5cf84@23 99efc558-b41a-11dd-8714-116ca565c52f


from setuptools import setup, find_packages

setup(
    name='raimon49.guestbook',
    version='1.0.0',
    packages=find_packages(),
    include_package_data=True,
    install_requires=[
        'Flask',
    ],
    entry_points="""
        [console_scripts]
        guestbook = guestbook:main
    """
)

import os
from setuptools import setup, find_packages

def read_file(filename):
    basepath = os.path.dirname(os.path.dirname(__file__))
    filepath = os.path.join(basepath, filename)
    if os.path.exists(filepath):
        return open(filepath.read())
    else:
        return ''

setup(
    name='raimon49.guestbook',
    version='1.0.0',
    description='A guestbook web application.',
    long_description=read_file('README.rst'),
    author='raimon49',
    author_email='raimon49@hotmail.com',
    url='https://github.com/raimon49/pypro2-guestbook-webapp',
    classifiers=[
        'Development Status :: 4 - Beta',
        'Framework :: Flask',
        'License :: OSI Approved :: BSD License',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
    ]
    packages=find_packages(),
    include_package_data=True,
    keywords=['web', 'guestbook'],
    License='BSD License',
    install_requires=[
        'Flask',
    ],
    entry_points="""
        [console_scripts]
        guestbook = guestbook:main
    """
)

Update meta data for distributed PyPI

Update meta data for distributed PyPI


#!/usr/bin/python

import setuptools
from setuptools import find_packages

setuptools.setup(
  name = 'js.handlebars',
  version = '1.0.rc.1',
  license = 'BSD',
  description = 'Fanstatic package for Handlebars.js',
  long_description = open('README.txt').read(),
  author = 'Matt Good',
  author_email = 'matt@matt-good.net',
  url = 'http://github.com/mgood/js.handlebars/',
  platforms = 'any',
  packages=find_packages(),
  namespace_packages=['js'],
  zip_safe = False,
  install_requires=[
    'fanstatic',
  ],
  entry_points={
    'fanstatic.libraries': [
      'handlebars = js.handlebars:library',
    ],
  },
)

#!/usr/bin/python

import setuptools
from setuptools import find_packages

setuptools.setup(
  name = 'js.handlebars',
  version = '1.0.rc.1-1',
  license = 'BSD',
  description = 'Fanstatic package for Handlebars.js',
  long_description = open('README.txt').read(),
  author = 'Matt Good',
  author_email = 'matt@matt-good.net',
  url = 'http://github.com/mgood/js.handlebars/',
  platforms = 'any',
  packages=find_packages(),
  namespace_packages=['js'],
  include_package_data=True,
  zip_safe = False,
  install_requires=[
    'fanstatic',
  ],
  entry_points={
    'fanstatic.libraries': [
      'handlebars = js.handlebars:library',
    ],
  },
)

Fix including JS resources as package data


#!/usr/bin/env python

from setuptools import setup, find_packages

__author__ = "Nitrax <nitrax@lokisec.fr>"
__copyright__ = "Copyright 2017, Legobot"

description = 'Lego providing networking tools'
name = 'legos.nettools'
setup(
    name=name,
    version='0.1.0',
    namespace_packages=name.split('.')[:-1],
    license='MIT',
    description=description,
    author='Nitrax',
    url='https://github.com/Legobot/' + name,
    install_requires=['legobot>=1.1.4,<=2.0.0',
                      'python-whois',
                      'urllib3',
                      'bandit==1.3.0',
                      'flake8==3.2.1',
                      'pytest==3.0.5'
                      ],
    classifiers=[
        'License :: MIT',

        'Programming Language :: Python :: 3'
    ],
    packages=find_packages()
)

#!/usr/bin/env python

from setuptools import setup, find_packages

__author__ = "Nitrax <nitrax@lokisec.fr>"
__copyright__ = "Copyright 2017, Legobot"

description = 'Lego providing networking tools'
name = 'legos.nettools'
setup(
    name=name,
    version='0.1.0',
    namespace_packages=name.split('.')[:-1],
    license='MIT',
    description=description,
    author='Nitrax',
    url='https://github.com/Legobot/' + name,
    install_requires=['legobot>=1.1.4,<=2.0.0',
                      'python-whois',
                      'urllib3',
                      'bandit==1.3.0',
                      'flake8==3.2.1',
                      'pytest==3.0.5'
                      ],
    classifiers=[
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 3'
    ],
    packages=find_packages()
)

Fix trove classifier for pypi

Fix trove classifier for pypi


#!/usr/bin/env python
from setuptools import setup

install_requires = [
    'argparse',
    'jsonschema',
    'mock',
    'M2Crypto',
    'pycrypto',
    'python-augeas',
    'python2-pythondialog',
    'requests',
]

docs_extras = [
    'Sphinx',
]

testing_extras = [
    'coverage',
    'nose',
    'nosexcover',
    'pylint',
    'tox',
]

setup(
    name="letsencrypt",
    version="0.1",
    description="Let's Encrypt",
    author="Let's Encrypt Project",
    license="",
    url="https://letsencrypt.org",
    packages=[
        'letsencrypt',
        'letsencrypt.client',
        'letsencrypt.scripts',
    ],
    install_requires=install_requires,
    tests_require=install_requires,
    test_suite='letsencrypt',
    extras_require={
        'docs': docs_extras,
        'testing': testing_extras,
    },
    entry_points={
        'console_scripts': [
            'letsencrypt = letsencrypt.scripts.main:main',
        ],
    },
    zip_safe=False,
    include_package_data=True,
)

#!/usr/bin/env python
from setuptools import setup

install_requires = [
    'argparse',
    'jsonschema',
    'M2Crypto',
    'mock',
    'pycrypto',
    'python-augeas',
    'python2-pythondialog',
    'requests',
]

docs_extras = [
    'Sphinx',
]

testing_extras = [
    'coverage',
    'nose',
    'nosexcover',
    'pylint',
    'tox',
]

setup(
    name="letsencrypt",
    version="0.1",
    description="Let's Encrypt",
    author="Let's Encrypt Project",
    license="",
    url="https://letsencrypt.org",
    packages=[
        'letsencrypt',
        'letsencrypt.client',
        'letsencrypt.scripts',
    ],
    install_requires=install_requires,
    tests_require=install_requires,
    test_suite='letsencrypt',
    extras_require={
        'docs': docs_extras,
        'testing': testing_extras,
    },
    entry_points={
        'console_scripts': [
            'letsencrypt = letsencrypt.scripts.main:main',
        ],
    },
    zip_safe=False,
    include_package_data=True,
)

Fix lexicographic order in install_requires


from setuptools import setup, find_packages

version = '1.0.17'

requires = [
    'neo4j-driver<1.2.0',
    'six>=1.10.0',
]

testing_requires = [
    'nose',
    'coverage',
    'nosexcover',
]

setup(
    name='norduniclient',
    version=version,
    url='https://github.com/NORDUnet/python-norduniclient',
    license='Apache License, Version 2.0',
    author='Johan Lundberg',
    author_email='lundberg@nordu.net',
    description='Neo4j (>=3.2.2) database client using bolt for NORDUnet network inventory',
    packages=find_packages(),
    zip_safe=False,
    install_requires=requires,
    tests_require=testing_requires,
    test_suite='nose.collector',
    extras_require={
        'testing': testing_requires
    }
)

from setuptools import setup, find_packages

version = '1.0.17'

requires = [
    'neo4j-driver<1.5,0',
    'six>=1.10.0',
]

testing_requires = [
    'nose',
    'coverage',
    'nosexcover',
]

setup(
    name='norduniclient',
    version=version,
    url='https://github.com/NORDUnet/python-norduniclient',
    license='Apache License, Version 2.0',
    author='Johan Lundberg',
    author_email='lundberg@nordu.net',
    description='Neo4j (>=3.2.2) database client using bolt for NORDUnet network inventory',
    packages=find_packages(),
    zip_safe=False,
    install_requires=requires,
    tests_require=testing_requires,
    test_suite='nose.collector',
    extras_require={
        'testing': testing_requires
    }
)

Update requirement neo4j-driver to <1.5.0


#!/usr/bin/env python

from ez_setup import use_setuptools
use_setuptools()

from setuptools import setup

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

setup(
    name='crontab',
    version='0.20',
    description='Parse and use crontab schedules in Python',
    author='Josiah Carlson',
    author_email='josiah.carlson@gmail.com',
    url='https://github.com/josiahcarlson/parse-crontab',
    packages=['crontab'],
    test_suite="tests",
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
        'License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)',
        'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
        'Programming Language :: Python',
        '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',
    ],
    license='GNU LGPL v2.1',
    long_description=long_description,
)

#!/usr/bin/env python

from ez_setup import use_setuptools
use_setuptools()

from setuptools import setup

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

setup(
    name='crontab',
    version='0.20.1',
    description='Parse and use crontab schedules in Python',
    author='Josiah Carlson',
    author_email='josiah.carlson@gmail.com',
    url='https://github.com/josiahcarlson/parse-crontab',
    packages=['crontab'],
    test_suite="tests",
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
        'License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)',
        'License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)',
        'Programming Language :: Python',
        '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',
    ],
    license='GNU LGPL v2.1',
    long_description=long_description,
)

Bump version for push to pypi

Bump version for push to pypi


#!/usr/bin/env python

import nirvana

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

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

setup(
    name='nirvana',
    version=nirvana.__version__,
    description=('Library for interacting with the Nirvana task manager '
                 '(nirvanahq.com)'),
    long_description=long_description,
    author='Nick Wilson',
    author_email='nick@njwilson.net',
    url='http://github.com/njwilson/nirvana-python',
    license='MIT',
    packages=['nirvana'],
    classifiers=[
        'Development Status :: 1 - Planning',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ],
)

#!/usr/bin/env python

import nirvana

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

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

setup(
    name='nirvana',
    version=nirvana.__version__,
    description=('Library for interacting with the Nirvana task manager '
                 '(nirvanahq.com)'),
    long_description=long_description,
    author='Nick Wilson',
    author_email='nick@njwilson.net',
    url='http://nirvana-python.readthedocs.org',
    license='MIT',
    packages=['nirvana'],
    classifiers=[
        'Development Status :: 1 - Planning',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ],
)

Update project URL to readthedocs

Update project URL to readthedocs


from setuptools import setup

setup(
    name="teamscale-client",
    version="3.0.0",
    author="Thomas Kinnen - CQSE GmbH",
    author_email="kinnen@cqse.eu",
    description=("A simple service client to interact with Teamscale's REST API."),
    license="Apache",
    keywords="rest api teamscale",
    url="https://github.com/cqse/teamscale-client-python",
    packages=['teamscale_client'],
    long_description="A simple service client to interact with Teamscale's REST API.",
    classifiers=[
        "Topic :: Utilities",
    ],
    install_requires=[
          'simplejson',
          'requests>=2.0',
          'jsonpickle'
    ],

    tests_require=[
          'pytest',
          'responses'
    ],
    setup_requires=["pytest-runner"]
)

from setuptools import setup

setup(
    name="teamscale-client",
    version="3.1.0",
    author="Thomas Kinnen - CQSE GmbH",
    author_email="kinnen@cqse.eu",
    description=("A simple service client to interact with Teamscale's REST API."),
    license="Apache",
    keywords="rest api teamscale",
    url="https://github.com/cqse/teamscale-client-python",
    packages=['teamscale_client'],
    long_description="A simple service client to interact with Teamscale's REST API.",
    classifiers=[
        "Topic :: Utilities",
    ],
    install_requires=[
          'simplejson',
          'requests>=2.0',
          'jsonpickle'
    ],

    tests_require=[
          'pytest',
          'responses'
    ],
    setup_requires=["pytest-runner"]
)

Update version for 3.1.0 release

Update version for 3.1.0 release


# coding:utf-8

from setuptools import setup, find_packages
from qingstor.qsctl import __version__

setup(
    name='qsctl',
    version=__version__,
    description='Advanced command line tool for QingStor.',
    long_description=open('README.rst', 'rb').read().decode('utf-8'),
    keywords='yunify qingcloud qingstor qsctl object_storage',
    author='QingStor Dev Team',
    author_email='qs-devel@yunify.com',
    url='https://www.qingstor.com',
    scripts=['bin/qsctl', 'bin/qsctl.cmd'],
    packages=find_packages('.'),
    package_dir={'qsctl': 'qingstor'},
    namespace_packages=['qingstor'],
    include_package_data=True,
    install_requires=[
        'argparse >= 1.1',
        'PyYAML >= 3.1',
        'qingstor-sdk >= 2.1.0',
        'docutils >= 0.10',
        'tqdm >= 4.0.0'
    ])

# coding:utf-8

from sys import version_info
from setuptools import setup, find_packages
from qingstor.qsctl import __version__

install_requires = [
    'argparse >= 1.1',
    'PyYAML >= 3.1',
    'qingstor-sdk >= 2.1.0',
    'docutils >= 0.10',
    'tqdm >= 4.0.0'
]

if version_info[:3] < (2, 7, 9):
    install_requires.append("requests[security]")

setup(
    name='qsctl',
    version=__version__,
    description='Advanced command line tool for QingStor.',
    long_description=open('README.rst', 'rb').read().decode('utf-8'),
    keywords='yunify qingcloud qingstor qsctl object_storage',
    author='QingStor Dev Team',
    author_email='qs-devel@yunify.com',
    url='https://www.qingstor.com',
    scripts=['bin/qsctl', 'bin/qsctl.cmd'],
    packages=find_packages('.'),
    package_dir={'qsctl': 'qingstor'},
    namespace_packages=['qingstor'],
    include_package_data=True,
    install_requires=install_requires
)

Fix SSL Warnings with old python versions

Signed-off-by: Xuanwo <9d9ffaee821234cdfed458cf06eb6f407f8dbe47@yunify.com>


from setuptools import setup, find_packages

setup(
    name='django-force-logout',

    url="https://chris-lamb.co.uk/projects/django-force-logout",
    version='2.0.0',
    description="Framework to be able to forcibly log users out of Django projects",

    author="Chris Lamb",
    author_email='chris@chris-lamb.co.uk',
    license="BSD",

    packages=find_packages(),
)

from setuptools import setup, find_packages

setup(
    name='django-force-logout',

    url="https://chris-lamb.co.uk/projects/django-force-logout",
    version='2.0.0',
    description="Framework to be able to forcibly log users out of Django projects",

    author="Chris Lamb",
    author_email='chris@chris-lamb.co.uk',
    license="BSD",

    packages=find_packages(),

    install_requires=(
        'Django>=1.8',
    ),
)

Update Django requirement to latest LTS

Update Django requirement to latest LTS


{
	'repo_type' : 'git',
	'url' : 'https://github.com/lu-zero/mfx_dispatch.git',
	'conf_system' : 'cmake',
	'source_subfolder' : '_build',
	'configure_options' : '.. {cmake_prefix_options} -DCMAKE_INSTALL_PREFIX={target_prefix} -DBUILD_SHARED_LIBS=0 -DCMAKE_BUILD_TYPE=Release',
	'_info' : { 'version' : None, 'fancy_name' : 'intel_quicksync_mfx' },
}

{
	'repo_type' : 'git',
	'do_not_bootstrap' : True,
	'run_post_patch' : [
		'autoreconf -fiv',
	],
	'patches' :	[
		( 'mfx/mfx-0001-mingwcompat-disable-va.patch', '-p1' ),
	],
	'url' : 'https://github.com/lu-zero/mfx_dispatch.git',
	'configure_options' : '{autoconf_prefix_options} --without-libva_drm --without-libva_x11',
	'_info' : { 'version' : None, 'fancy_name' : 'intel_quicksync_mfx' },
}

Revert "packages/quicksync-mfx: switch to cmake"

This reverts commit b3db211b42f26480fe817d26d7515ec8bd6e5c9e.


import os
from distutils.core import setup

version = '0.9.3'

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

readme = read_file('README.rst')
changes = read_file('CHANGES')

setup(
    name='django-maintenancemode',
    version=version,
    description='Django-maintenancemode allows you to temporary shutdown your site for maintenance work',
    long_description='\n\n'.join([readme, changes]),
    author='Remco Wendt',
    author_email='remco@maykinmedia.nl',
    license="BSD",
    platforms=["any"],
    url='https://github.com/shanx/django-maintenancemode',
    packages=[
        'maintenancemode',
        'maintenancemode.conf',
        'maintenancemode.conf.settings',
        'maintenancemode.conf.urls',
        'maintenancemode.tests',
        'maintenancemode.views',
    ],
    package_data={
        'maintenancemode': [
            'tests/templates/503.html',
        ],
    },
    classifiers=[
            'Development Status :: 4 - Beta',
            'Environment :: Web Environment',
            'Framework :: Django',
            'Intended Audience :: Developers',
            'License :: OSI Approved :: BSD License',
            'Operating System :: OS Independent',
            'Programming Language :: Python',
            'Topic :: Utilities',
    ],
)

import os
from distutils.core import setup

version = '0.9.3'

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

def read_file(name):
    return open(os.path.join(here, name)).read()

readme = read_file('README.rst')
changes = read_file('CHANGES')

setup(
    name='django-maintenancemode',
    version=version,
    description='Django-maintenancemode allows you to temporary shutdown your site for maintenance work',
    long_description='\n\n'.join([readme, changes]),
    author='Remco Wendt',
    author_email='remco@maykinmedia.nl',
    license="BSD",
    platforms=["any"],
    url='https://github.com/shanx/django-maintenancemode',
    packages=[
        'maintenancemode',
        'maintenancemode.conf',
        'maintenancemode.conf.settings',
        'maintenancemode.conf.urls',
        'maintenancemode.tests',
        'maintenancemode.views',
    ],
    package_data={
        'maintenancemode': [
            'tests/templates/503.html',
        ],
    },
    classifiers=[
            'Development Status :: 4 - Beta',
            'Environment :: Web Environment',
            'Framework :: Django',
            'Intended Audience :: Developers',
            'License :: OSI Approved :: BSD License',
            'Operating System :: OS Independent',
            'Programming Language :: Python',
            'Topic :: Utilities',
    ],
)

Use the absolute path for the long description to work around CI issues.


import dateutil.parser
import scrapy.spiders

from jobs.items import JobsItem

class TvinnaSpider(scrapy.spiders.XMLFeedSpider):
    name = "tvinna"
    start_urls = ['http://www.tvinna.is/feed/?post_type=job_listing']
    itertag = 'item'
    namespaces = [
        ('atom', 'http://www.w3.org/2005/Atom'),
        ('content', 'http://purl.org/rss/1.0/modules/content/'),
        ('dc', 'http://purl.org/dc/elements/1.1/'),
        ('slash', 'http://purl.org/rss/1.0/modules/slash/'),
        ('sy', 'http://purl.org/rss/1.0/modules/syndication/'),
        ('wfw', 'http://wellformedweb.org/CommentAPI/'),
    ]

    def parse_node(self, response, node):
        item = JobsItem()
        item['spider'] = self.name
        item['title'] = node.xpath('title/text()').extract_first()
        item['company'] = node.xpath('dc:creator/text()').extract_first()
        item['url'] = node.xpath('link/text()').extract_first()
        time_posted = node.xpath('pubDate/text()').extract_first()
        item['posted'] = dateutil.parser.parse(time_posted).isoformat()
        return item

import dateutil.parser
import scrapy
import scrapy.spiders

from jobs.items import JobsItem

class TvinnaSpider(scrapy.spiders.XMLFeedSpider):
    name = "tvinna"
    start_urls = ['http://www.tvinna.is/feed/?post_type=job_listing']
    itertag = 'item'
    namespaces = [
        ('atom', 'http://www.w3.org/2005/Atom'),
        ('content', 'http://purl.org/rss/1.0/modules/content/'),
        ('dc', 'http://purl.org/dc/elements/1.1/'),
        ('slash', 'http://purl.org/rss/1.0/modules/slash/'),
        ('sy', 'http://purl.org/rss/1.0/modules/syndication/'),
        ('wfw', 'http://wellformedweb.org/CommentAPI/'),
    ]

    def parse_node(self, response, node):
        item = JobsItem()
        item['spider'] = self.name
        item['title'] = node.xpath('title/text()').extract_first()
        item['url'] = url = node.xpath('link/text()').extract_first()
        time_posted = node.xpath('pubDate/text()').extract_first()
        item['posted'] = dateutil.parser.parse(time_posted).isoformat()

        request = scrapy.Request(url, callback=self.parse_specific_job)
        request.meta['item'] = item
        yield request

    def parse_specific_job(self, response):
        item = response.meta['item']
        item['company'] = response.css('.company a::text').extract_first()
        yield item

Fix the extraction of the company name.

Fix the extraction of the company name.

There's an apparent bug in the Tvinna rss feed, such that the username of the person creating the listing is used in place of a company name in the `<cd:creator>` field. As a work around, we need to visit the job listing page, and extract it from that instead. It requires more requests, but yields more accurate results.


from setuptools import setup
from setuptools import find_packages

setup(name='Keras',
      version='0.1.2',
      description='Theano-based Deep Learning library',
      author='Francois Chollet',
      author_email='francois.chollet@gmail.com',
      url='https://github.com/fchollet/keras',
      download_url='https://github.com/fchollet/keras/tarball/0.1.2',
      license='MIT',
      install_requires=['theano', 'pyyaml'],
      extras_require = {
          'h5py': ['h5py'],
      },
      packages=find_packages())

from setuptools import setup
from setuptools import find_packages

setup(name='Keras',
      version='0.2.0',
      description='Theano-based Deep Learning library',
      author='Francois Chollet',
      author_email='francois.chollet@gmail.com',
      url='https://github.com/fchollet/keras',
      download_url='https://github.com/fchollet/keras/tarball/0.2.0',
      license='MIT',
      install_requires=['theano', 'pyyaml'],
      extras_require={
          'h5py': ['h5py'],
      },
      packages=find_packages())

Update version number: now 0.2.0

Update version number: now 0.2.0


#!/usr/bin/env python

# Standard library modules.
import os

# Third party modules.
from setuptools import setup, find_packages

# Local modules.
import versioneer

# Globals and constants variables.
BASEDIR = os.path.abspath(os.path.dirname(__file__))

# Get the long description from the relevant file
with open(os.path.join(BASEDIR, 'README.rst'), 'r') as f:
    long_description = f.read()

setup(name='matplotlib-scalebar',
      version=versioneer.get_version(),
      description='Artist for matplotlib to display a scale bar',
      long_description=long_description,

      author='Philippe Pinard',
      author_email='philippe.pinard@gmail.com',
      maintainer='Philippe Pinard',
      maintainer_email='philippe.pinard@gmail.com',

      url='https://github.com/ppinard/matplotlib-scalebar',
      license='BSD',
      keywords='matplotlib scale micron bar',

      classifiers=[
          'Development Status :: 4 - Beta',
          'Intended Audience :: Science/Research',
          'License :: OSI Approved :: MIT License',
          'Operating System :: OS Independent',
          'Programming Language :: Python :: 3',
          'Topic :: Scientific/Engineering :: Visualization'
        ],

      packages=find_packages(),
      package_data={},

      install_requires=['matplotlib'],

      zip_safe=True,

      test_suite='nose.collector',

      cmdclass=versioneer.get_cmdclass(),

     )

#!/usr/bin/env python

# Standard library modules.
from pathlib import Path

# Third party modules.
from setuptools import setup, find_packages

# Local modules.
import versioneer

# Globals and constants variables.
BASEDIR = Path(__file__).parent.resolve()

# Get the long description from the relevant file
with open(BASEDIR.joinpath("README.rst"), "r") as f:
    long_description = f.read()

setup(
    name="matplotlib-scalebar",
    version=versioneer.get_version(),
    description="Artist for matplotlib to display a scale bar",
    long_description=long_description,
    author="Philippe Pinard",
    author_email="philippe.pinard@gmail.com",
    maintainer="Philippe Pinard",
    maintainer_email="philippe.pinard@gmail.com",
    url="https://github.com/ppinard/matplotlib-scalebar",
    license="BSD",
    keywords="matplotlib scale micron bar",
    classifiers=[
        "Development Status :: 4 - Beta",
        "Intended Audience :: Science/Research",
        "License :: OSI Approved :: MIT License",
        "Operating System :: OS Independent",
        "Programming Language :: Python :: 3",
        "Topic :: Scientific/Engineering :: Visualization",
    ],
    packages=find_packages(),
    package_data={},
    install_requires=["matplotlib"],
    zip_safe=True,
    test_suite="nose.collector",
    cmdclass=versioneer.get_cmdclass(),
)

Use pathlib instead of os.path

Use pathlib instead of os.path


#!/usr/bin/env python
#
# Setup script for Django Evolution

from ez_setup import use_setuptools
use_setuptools()

from setuptools import setup, find_packages
from setuptools.command.test import test

from django_evolution import get_package_version, VERSION

def run_tests(*args):
    import os
    os.system('tests/runtests.py')

test.run_tests = run_tests

PACKAGE_NAME = 'django_evolution'

download_url = (
    'http://downloads.reviewboard.org/releases/django-evolution/%s.%s/' %
    (VERSION[0], VERSION[1]))

# Build the package
setup(
    name=PACKAGE_NAME,
    version=get_package_version(),
    description='A database schema evolution tool for the Django web framework.',
    url='http://code.google.com/p/django-evolution/',
    author='Ben Khoo',
    author_email='khoobks@westnet.com.au',
    maintainer='Christian Hammond',
    maintainer_email='christian@beanbaginc.com',
    download_url=download_url,
    packages=find_packages(exclude=['tests']),
    install_requires=[
        'Django>=1.4.10,<1.7.0',
    ],
    include_package_data=True,
    classifiers=[
        'Development Status :: 4 - Beta',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Software Development',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ]
)

#!/usr/bin/env python
#
# Setup script for Django Evolution

from ez_setup import use_setuptools
use_setuptools()

from setuptools import setup, find_packages
from setuptools.command.test import test

from django_evolution import get_package_version, VERSION

def run_tests(*args):
    import os
    os.system('tests/runtests.py')

test.run_tests = run_tests

PACKAGE_NAME = 'django_evolution'

download_url = (
    'http://downloads.reviewboard.org/releases/django-evolution/%s.%s/' %
    (VERSION[0], VERSION[1]))

# Build the package
setup(
    name=PACKAGE_NAME,
    version=get_package_version(),
    description='A database schema evolution tool for the Django web framework.',
    url='http://code.google.com/p/django-evolution/',
    author='Ben Khoo',
    author_email='khoobks@westnet.com.au',
    maintainer='Christian Hammond',
    maintainer_email='christian@beanbaginc.com',
    download_url=download_url,
    packages=find_packages(exclude=['tests']),
    install_requires=[
        'Django>=1.4.10',
    ],
    include_package_data=True,
    classifiers=[
        'Development Status :: 4 - Beta',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Software Development',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ]
)

Allow Django Evolution to install along with Django >= 1.7.

As we're working toward some degree of compatibility with newer versions
of Django, we need to ease up on the version restriction. Now's a good
time to do so. Django Evolution no longer has an upper bounds on the
version range.


import os

from setuptools import setup

def read(*paths):
    """Build a file path from *paths* and return the contents."""
    with open(os.path.join(*paths), 'r') as f:
        return f.read()

setup(
    name='chrome-webstore-deploy',
    version='0.0.1',
    description='Automate deployment of Chrome extensions/apps to Chrome Web Store.',
    long_description=(read('README.rst') + '\n\n'),
    url='http://github.com/jonnor/chrome-webstore-deploy/',
    license='MIT',
    author='Jon Nordby',
    author_email='jononor@gmail.com',
#    py_modules=['foo'],
    scripts=['bin/chrome-webstore.py'],
    install_requires=[
        "oauth2client >= 1.2",
        "httplib2 >= 0.9",
    ],
    include_package_data=True,
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'Natural Language :: English',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ],
)

import os

from setuptools import setup

def read(*paths):
    """Build a file path from *paths* and return the contents."""
    with open(os.path.join(*paths), 'r') as f:
        return f.read()

setup(
    name='chrome-webstore-deploy',
    version='0.0.2',
    description='Automate deployment of Chrome extensions/apps to Chrome Web Store.',
    long_description=(read('README.rst') + '\n\n'),
    url='http://github.com/jonnor/chrome-webstore-deploy/',
    license='MIT',
    author='Jon Nordby',
    author_email='jononor@gmail.com',
#    py_modules=['foo'],
    scripts=['bin/chrome-web-store.py'],
    install_requires=[
        "oauth2client >= 1.2",
        "httplib2 >= 0.9",
    ],
    include_package_data=True,
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'Natural Language :: English',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Topic :: Software Development :: Libraries :: Python Modules',
    ],
)

Fix typo in script packaging

Fix typo in script packaging


# -*- coding: utf-8 -*-
import os
from setuptools import setup

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

setup(
    name='todoist-python',
    version='0.2.18',
    packages=['todoist', 'todoist.managers'],
    author='Doist Team',
    author_email='info@todoist.com',
    license='BSD',
    description='todoist-python - The official Todoist Python API library',
    long_description = read('README.md'),
    install_requires=[
        'requests',
    ],
    # see here for complete list of classifiers
    # http://pypi.python.org/pypi?%3Aaction=list_classifiers
    classifiers=(
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Programming Language :: Python',
    ),
)

# -*- coding: utf-8 -*-
import os
from setuptools import setup

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

setup(
    name='todoist-python',
    version='0.2.19',
    packages=['todoist', 'todoist.managers'],
    author='Doist Team',
    author_email='info@todoist.com',
    license='BSD',
    description='todoist-python - The official Todoist Python API library',
    long_description = read('README.md'),
    install_requires=[
        'requests',
    ],
    # see here for complete list of classifiers
    # http://pypi.python.org/pypi?%3Aaction=list_classifiers
    classifiers=(
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Programming Language :: Python',
    ),
)

Update the PyPI version to 0.2.19.

Update the PyPI version to 0.2.19.


from setuptools import find_packages
from setuptools import setup

def get_long_description():
    with open('README.md') as readme_file:
        return readme_file.read()

setup(
    name="RouterOS-api",
    version='0.16.1.dev0',
    description='Python API to RouterBoard devices produced by MikroTik.',
    long_description=get_long_description(),
    long_description_content_type='text/markdown',
    author='Social WiFi',
    author_email='it@socialwifi.com',
    url='https://github.com/socialwifi/RouterOS-api',
    packages=find_packages(),
    test_suite="tests",
    license="MIT",
    install_requires=['six'],
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
    ],
)

import sys

from setuptools import find_packages
from setuptools import setup

requirements = ['six']

if sys.version_info[0] < 3 or (sys.version_info[0] == 3 and sys.version_info[1] < 3):
    requirements.append('ipaddress')

def get_long_description():
    with open('README.md') as readme_file:
        return readme_file.read()

setup(
    name="RouterOS-api",
    version='0.16.1.dev0',
    description='Python API to RouterBoard devices produced by MikroTik.',
    long_description=get_long_description(),
    long_description_content_type='text/markdown',
    author='Social WiFi',
    author_email='it@socialwifi.com',
    url='https://github.com/socialwifi/RouterOS-api',
    packages=find_packages(),
    test_suite="tests",
    license="MIT",
    install_requires=requirements,
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
    ],
)

Add ipaddress requirement to python older than 3.3


import os
from setuptools import setup, find_packages

README = open(os.path.join(os.path.dirname(__file__), "README.rst")).read()

os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))

setup(
    name="recipe_scrapers",
    url="https://github.com/hhursev/recipe-scrapers/",
    version="8.0.0",
    author="Hristo Harsev",
    author_email="r+pypi@hharsev.com",
    description="Python package, scraping recipes from all over the internet",
    keywords="python recipes scraper harvest recipe-scraper recipe-scrapers",
    long_description=README,
    install_requires=[
        "beautifulsoup4>=4.6.0",
        "extruct>=0.8.0",
        "language-tags>=1.0.0",
        "requests>=2.19.1",
        "tldextract==2.2.2",
    ],
    packages=find_packages(),
    package_data={"": ["LICENSE"]},
    include_package_data=True,
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Intended Audience :: Developers",
        "Operating System :: OS Independent",
        'Topic :: Internet :: WWW/HTTP',
    ],
    python_requires='>=3.5'
)

import os
from setuptools import setup, find_packages

README = open(os.path.join(os.path.dirname(__file__), "README.rst")).read()

os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))

setup(
    name="recipe_scrapers",
    url="https://github.com/hhursev/recipe-scrapers/",
    version="8.0.1",
    author="Hristo Harsev",
    author_email="r+pypi@hharsev.com",
    description="Python package, scraping recipes from all over the internet",
    keywords="python recipes scraper harvest recipe-scraper recipe-scrapers",
    long_description=README,
    install_requires=[
        "beautifulsoup4>=4.6.0",
        "extruct>=0.8.0",
        "language-tags>=1.0.0",
        "requests>=2.19.1",
        "tldextract==2.2.2",
    ],
    packages=find_packages(),
    package_data={"": ["LICENSE"]},
    include_package_data=True,
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: MIT License",
        "Intended Audience :: Developers",
        "Operating System :: OS Independent",
        'Topic :: Internet :: WWW/HTTP',
    ],
    python_requires='>=3.5'
)

Bump to 8.0.1 to verify auto pypi deployment is working


from setuptools import find_packages, setup

VERSION = '1.0.0'

setup(
    name='django-fakery',
    version=VERSION,
    url='https://github.com/fcurella/django-factory/',
    author='Flavio Curella',
    author_email='flavio.curella@gmail.com',
    description='A model instances generator for Django',
    license='MIT',
    packages=find_packages(exclude=['*.tests']),
    platforms=["any"],
    classifiers=[
        'Development Status :: 4 - Beta',
        'Framework :: Django',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
    ],
    install_requires=[
        "fake-factory==0.5.3",
        "Django>=1.7",
    ],
    test_suite='django_fakery.tests.runtests.runtests',
)

from setuptools import find_packages, setup

VERSION = '1.0.0'

setup(
    name='django-fakery',
    version=VERSION,
    url='https://github.com/fcurella/django-factory/',
    author='Flavio Curella',
    author_email='flavio.curella@gmail.com',
    description='A model instances generator for Django',
    license='MIT',
    packages=find_packages(exclude=['*.tests']),
    platforms=["any"],
    classifiers=[
        'Development Status :: 4 - Beta',
        'Framework :: Django',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
    ],
    install_requires=[
        "fake-factory==0.5.3",
        "Django>=1.7",
    ],
    test_suite='django_fakery.tests.runtests.runtests',
)

Remove trove classifier for python 3.5

Remove trove classifier for python 3.5


# This file needs to exist in order for pytest-cov to work.
# See this: https://bitbucket.org/memedough/pytest-cov/issues/4/no-coverage-unless-test-directory-has-an

Add explanation of what was not working before.


#!/usr/bin/env python

#pandoc -f rst -t markdown README.mkd -o README

import os
from setuptools import setup

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

setup(
    name='mass',
    version='0.1.2',
    description='Merge and Simplify Scripts: an automated tool for managing, combining and minifying javascript assets for web projects.',
    long_description=read('README'),
    author='jack boberg alex padgett',
    author_email='info@codedbyhand.com',
    url='https://github.com/coded-by-hand/mass',
    license='BSD License',
    platforms=['Mac OSX'],
    packages=['mass'],
    install_requires=['distribute','jsmin','macfsevents'],
    zip_safe = False,
    entry_points = {
        'console_scripts': [
            "mass = mass.monitor:main"
        ],
    }
)

#!/usr/bin/env python

#pandoc -t rst -f markdown README.mkd -o README

import os
from setuptools import setup

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

setup(
    name='mass',
    version='0.1.3',
    description='Merge and Simplify Scripts: an automated tool for managing, combining and minifying javascript assets for web projects.',
    long_description=read('README'),
    author='jack boberg alex padgett',
    author_email='info@codedbyhand.com',
    url='https://github.com/coded-by-hand/mass',
    license='BSD License',
    platforms=['Mac OSX'],
    packages=['mass'],
    install_requires=['distribute','jsmin','macfsevents'],
    zip_safe = False,
    entry_points = {
        'console_scripts': [
            "mass = mass.monitor:main"
        ],
    }
)

Fix pandoc statement Update version number


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

import os
import sys
import codecs

from setuptools import setup

try:
    # Python 3
    from os import dirname
except ImportError:
    # Python 2
    from os.path import dirname

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

with codecs.open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
    long_description = '\n' + f.read()

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

required = [
    'humanize',
    'pytz',
    'dateparser',
    'ruamel.yaml',
    'tzlocal',
    'pendulum'
]

setup(
    name='maya',
    version='0.3.1',
    description='Datetimes for Humans.',
    long_description=long_description,
    author='Kenneth Reitz',
    author_email='me@kennethreitz.org',
    url='https://github.com/kennethreitz/maya',
    packages=['maya'],
    install_requires=required,
    license='MIT',
    classifiers=(

    ),
)

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

import os
import sys
import codecs

from setuptools import setup

try:
    # Python 3
    from os import dirname
except ImportError:
    # Python 2
    from os.path import dirname

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

with codecs.open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
    long_description = '\n' + f.read()

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

required = [
    'humanize',
    'pytz',
    'dateparser',
    'ruamel.yaml',
    'tzlocal',
    'pendulum'
]

setup(
    name='maya',
    version='0.3.1',
    description='Datetimes for Humans.',
    long_description=long_description,
    author='Kenneth Reitz',
    author_email='me@kennethreitz.org',
    url='https://github.com/kennethreitz/maya',
    packages=['maya'],
    install_requires=required,
    license='MIT',
    classifiers=(
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Natural Language :: English',
        'Operating System :: OS Independent',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: Implementation',
        'Programming Language :: Python :: Implementation :: CPython',
        'Topic :: Software Development :: Libraries :: Python Modules'
    ),
)

Add some reasonable trove classifiers

Add some reasonable trove classifiers


# -*- coding: utf-8 -*-

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

import StringIO

import bayeslite.bql as bql
import bayeslite.parse as parse

import test_smoke

def bql2sql(string):
    with test_smoke.t1() as bdb:
        phrases = parse.parse_bql_string(string)
        out = StringIO.StringIO()
        bql.compile_bql(bdb, phrases, out)
        return out.getvalue()

def test_select_trivial():
    assert bql2sql('select 0;') == 'select 0;'
    assert bql2sql('select 0 as z;') == 'select 0 as "z";'
    assert bql2sql('select * from t;') == 'select * from "t";'
    assert bql2sql('select t.* from t;') == 'select "t".* from "t";'
    assert bql2sql('select c from t;') == 'select "c" from "t";'
    assert bql2sql('select c as d from t;') == 'select "c" as "d" from "t";'

Add some more trivial bql2sql tests.

Add some more trivial bql2sql tests.


# vim:ts=4 sw=4 expandtab softtabstop=4

class JSONValue(object):
    def __init__(self, val=None, ref='#', undef=False):
        assert not isinstance(val, JSONValue)
        self.val = val
        self.ref = ref
        self.undef = undef

    def is_undef(self):
        return self.undef

    def _subval(self, key, **kwargs):
        return JSONValue(ref=self.ref+'/'+str(key), **kwargs)

    def __getitem__(self, key):
        return self._subval(key, val=self.val[key])

    def get(self, key, *args):
        r = self.val.get(key, *args)
        if r is None:
            return self._subval(key, undef=True)
        else:
            return self._subval(key, val=r)

    def __repr__(self):
        if self.is_undef():
            return 'JSONValue(undef=True)'
        else:
            return 'JSONValue(%r,%r)' % (self.val, self.ref)

    def iteritems(self):
        for k, v in self.val.iteritems():
            yield (k, self._subval(k, val=v))

    def items(self):
        return list(self.iteritems())

    def __iter__(self):
        assert isinstance(self.val, list)

        for i, v in enumerate(self.val):
            yield self._subval(i, val=v)

# vim:ts=4 sw=4 expandtab softtabstop=4

class JSONValue(object):
    def __init__(self, val=None, ref='#', undef=False):
        assert not isinstance(val, JSONValue)
        self.val = val
        self.ref = ref
        self.undef = undef

    def is_undef(self):
        return self.undef

    def _subval(self, key, **kwargs):
        return JSONValue(ref=self.ref+'/'+str(key), **kwargs)

    def __getitem__(self, key):
        return self._subval(key, val=self.val[key])

    def get(self, key, *args):
        r = self.val.get(key, *args)
        if r is None:
            return self._subval(key, undef=True)
        else:
            return self._subval(key, val=r)

    def __repr__(self):
        if self.is_undef():
            return 'JSONValue(undef=True)'
        else:
            return 'JSONValue(%r,%r)' % (self.val, self.ref)

    def items(self):
        for k, v in self.val.items():
            yield (k, self._subval(k, val=v))

    def __iter__(self):
        assert isinstance(self.val, list)

        for i, v in enumerate(self.val):
            yield self._subval(i, val=v)

Fix Python3 support: remove iteritems

Fix Python3 support: remove iteritems


"""Spherical harmonic vector wind analysis."""
# Copyright (c) 2012-2014 Andrew Dawson
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
from __future__ import absolute_import

from . import standard
from . import tools

# List to define the behaviour of imports of the form:
#     from windspharm import *
__all__ = []

# Package version number.
__version__ = '1.3.2'

try:
    from . import cdms
    __all__.append('cdms')
    metadata = cdms
except ImportError:
    pass

try:
    from . import iris
    __all__.append('iris')
except ImportError:
    pass

"""Spherical harmonic vector wind analysis."""
# Copyright (c) 2012-2014 Andrew Dawson
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
from __future__ import absolute_import

from . import standard
from . import tools

# List to define the behaviour of imports of the form:
#     from windspharm import *
__all__ = []

# Package version number.
__version__ = '1.3.x'

try:
    from . import cdms
    __all__.append('cdms')
    metadata = cdms
except ImportError:
    pass

try:
    from . import iris
    __all__.append('iris')
except ImportError:
    pass

Revert version number on release branch.


from setuptools import setup

setup(
    name='daffodil',
    version='0.3.8',
    author='James Robert',
    description='A Super-simple DSL for filtering datasets',
    license='MIT',
    keywords='data filtering',
    url='https://github.com/mediapredict/daffodil',
    packages=['daffodil'],
    install_requires=[
        "parsimonious",
    ],
    long_description='A Super-simple DSL for filtering datasets',
    classifiers=[
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent',
        'Topic :: Utilities'
    ]
)

from setuptools import setup

setup(
    name='daffodil',
    version='0.3.9',
    author='James Robert',
    description='A Super-simple DSL for filtering datasets',
    license='MIT',
    keywords='data filtering',
    url='https://github.com/mediapredict/daffodil',
    packages=['daffodil'],
    install_requires=[
        "parsimonious",
    ],
    long_description='A Super-simple DSL for filtering datasets',
    classifiers=[
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python',
        'Intended Audience :: Developers',
        'Operating System :: OS Independent',
        'Topic :: Utilities'
    ]
)

Upgrade version for new optimization

Upgrade version for new optimization

(for real this time)


from setuptools import setup, find_packages

setup(
    # packaging information that is likely to be updated between versions
    name='icecake',
    version='0.6.0',
    packages=['icecake'],
    py_modules=['cli', 'templates', 'livejs'],
    entry_points='''
        [console_scripts]
        icecake=icecake.cli:cli
    ''',
    install_requires=[
        'Click',
        'Jinja2',
        'Markdown',
        'Pygments',
        'python-dateutil',
        'watchdog',
        'Werkzeug',
    ],

    # pypy stuff that is not likely to change between versions
    url="https://github.com/cbednarski/icecake",
    author="Chris Bednarski",
    author_email="banzaimonkey@gmail.com",
    description="An easy and cool static site generator",
    license="MIT",
    long_description=open('README.rst').read(),
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.5',
    ],
    keywords="static site generator builder icecake"
)

from setuptools import setup, find_packages
from codec import open

setup(
    # packaging information that is likely to be updated between versions
    name='icecake',
    version='0.6.0',
    packages=['icecake'],
    py_modules=['cli', 'templates', 'livejs'],
    entry_points='''
        [console_scripts]
        icecake=icecake.cli:cli
    ''',
    install_requires=[
        'Click',
        'Jinja2',
        'Markdown',
        'Pygments',
        'python-dateutil',
        'watchdog',
        'Werkzeug',
    ],

    # pypy stuff that is not likely to change between versions
    url="https://github.com/cbednarski/icecake",
    author="Chris Bednarski",
    author_email="banzaimonkey@gmail.com",
    description="An easy and cool static site generator",
    license="MIT",
    long_description=open('README.rst', encoding="utf-8").read(),
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.5',
    ],
    keywords="static site generator builder icecake"
)

Fix encoding error preventing install

Fix encoding error preventing install

While running tox the installation of icecake would succeed under Python
2.7.13 but fail under 3.5.2 with an encoding error while trying to read
the long description from README.rst.

py35 inst-nodeps: /icecake/.tox/dist/icecake-0.6.0.zip
ERROR: invocation failed (exit code 1), logfile:
/icecake/.tox/py35/log/py35-16.log
ERROR: actionid: py35
msg: installpkg
cmdargs: ['/icecake/.tox/py35/bin/pip', 'install', '-U', '--no-deps',
'/icecake/.tox/dist/icecake-0.6.0.zip']
env: {'TERM': 'xterm', 'VIRTUAL_ENV': '/icecake/.tox/py35', 'SHLVL':
'1', 'PYENV_HOOK_PATH':
'/.pyenv/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks:/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d',
'HOSTNAME': 'cdbe5b1470a0', 'PYENV_VERSION': '2.7.13:3.5.2',
'PYENV_DIR': '/icecake', 'PWD': '/icecake', 'PYTHONHASHSEED':
'1135274721', 'PATH':
'/icecake/.tox/py35/bin:/.pyenv/versions/2.7.13/bin:/.pyenv/libexec:/.pyenv/plugins/python-build/bin:/.pyenv/plugins/pyenv-virtualenv/bin:/.pyenv/shims:/.pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin',
'HOME': '/root', 'PYENV_ROOT': '/.pyenv'}

Processing ./.tox/dist/icecake-0.6.0.zip
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-x3boup3_-build/setup.py", line 29, in <module>
        long_description=open('README.rst').read(),
      File "/icecake/.tox/py35/lib/python3.5/encodings/ascii.py", line
26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position
1462: ordinal not in range(128)

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in
/tmp/pip-x3boup3_-build/


"""Defines the setup for the declxml library"""
from io import open
import os.path
from setuptools import setup

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

setup(
    name='declxml',
    description='Declarative XML processing library',
    long_description=long_description,
    long_description_content_type='text/markdown',
    version='1.1.2rc4',
    url='http://declxml.readthedocs.io/',
    project_urls={
        'Documentation': 'http://declxml.readthedocs.io/',
        'Source': 'https://github.com/gatkin/declxml',
        'Tracker': 'https://github.com/gatkin/declxml/issues',
    },
    author='Greg Atkin',
    author_email='greg.scott.atkin@gmail.com',
    license='MIT',
    py_modules=['declxml'],
    install_requires=['typing'],
    data_files=[('', ['py.typed'])],
    zip_safe=False,
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'License :: OSI Approved :: MIT License',
    ],
    keywords='XML, Parsing, Serialization'
)

"""Defines the setup for the declxml library"""
from io import open
import os.path
from setuptools import setup

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

setup(
    name='declxml',
    description='Declarative XML processing library',
    long_description=long_description,
    long_description_content_type='text/markdown',
    version='1.1.2',
    url='http://declxml.readthedocs.io/',
    project_urls={
        'Documentation': 'http://declxml.readthedocs.io/',
        'Source': 'https://github.com/gatkin/declxml',
        'Tracker': 'https://github.com/gatkin/declxml/issues',
    },
    author='Greg Atkin',
    author_email='greg.scott.atkin@gmail.com',
    license='MIT',
    py_modules=['declxml'],
    install_requires=['typing'],
    data_files=[('', ['py.typed'])],
    zip_safe=False,
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'License :: OSI Approved :: MIT License',
    ],
    keywords='XML, Parsing, Serialization'
)

Bump version for PyPi release :shipit:

Bump version for PyPi release :shipit:


from setuptools import setup

def read_file(fname):
    with open(fname) as f:
        return f.read()

setup(
    name='pytest-testrail',
    description='pytest plugin for creating TestRail runs and adding results',
    long_description=read_file('README.rst'),
    version='2.3.3',
    author='Allan Kilpatrick',
    author_email='allanklp@gmail.com',
    url='http://github.com/allankp/pytest-testrail/',
    packages=[
        'pytest_testrail',
    ],
    package_dir={'pytest_testrail': 'pytest_testrail'},
    install_requires=[
        'pytest>=3.6',
        'requests>=2.20.0',
        'simplejson',
    ],
    include_package_data=True,
    entry_points={'pytest11': ['pytest-testrail = pytest_testrail.conftest']},
)

from setuptools import setup

def read_file(fname):
    with open(fname) as f:
        return f.read()

setup(
    name='pytest-testrail',
    description='pytest plugin for creating TestRail runs and adding results',
    long_description=read_file('README.rst'),
    version='2.5.0',
    author='Allan Kilpatrick',
    author_email='allanklp@gmail.com',
    url='http://github.com/allankp/pytest-testrail/',
    packages=[
        'pytest_testrail',
    ],
    package_dir={'pytest_testrail': 'pytest_testrail'},
    install_requires=[
        'pytest>=3.6',
        'requests>=2.20.0',
        'simplejson',
    ],
    include_package_data=True,
    entry_points={'pytest11': ['pytest-testrail = pytest_testrail.conftest']},
)

Bump version: 2.4.0 → 2.5.0

Bump version: 2.4.0 → 2.5.0


#!/usr/bin/env python
from distutils.core import setup

setup(
    name='rinse',
    version='0.0.3',
    description='Python3 SOAP client built with lxml and requests.',
    author='Tyson Clugg',
    author_email='tyson@clugg.net',
    url='http://github.com/tysonclugg/rinse',
    license='MIT',
    packages=['rinse'],
    classifiers=[
        "Programming Language :: Python :: 3",
        "Development Status :: 3 - Alpha",
        "License :: OSI Approved :: MIT License",
    ],
)

#!/usr/bin/env python
from distutils.core import setup

setup(
    name='rinse',
    version='0.0.4',
    description='Python3 SOAP client built with lxml and requests.',
    author='Tyson Clugg',
    author_email='tyson@clugg.net',
    url='http://github.com/tysonclugg/rinse',
    license='MIT',
    packages=['rinse'],
    classifiers=[
        "Programming Language :: Python :: 3",
        "Development Status :: 3 - Alpha",
        "License :: OSI Approved :: MIT License",
    ],
)

Remove reference to stale source (client.py).


'''
Setup script that:

/pyquic:
    - compiles pyquic
    - copies py_quic into base directory so that we can use the module directly
'''
import os
import shutil

class temp_cd():
    def __init__(self, temp_dir):
        self._temp_dir = temp_dir
        self._return_dir = os.path.dirname(os.path.realpath(__file__))
    def __enter__(self):
        os.chdir(self._temp_dir)
    def __exit__(self, type, value, traceback):
        os.chdir(self._return_dir)

def setup_pyquic():
    with temp_cd('pyquic/py_quic'):
        os.system('make')

    shutil.rmtree('quic/py_quic')
    shutil.copytree('pyquic/py_quic', 'quic/py_quic')

def clean_pyquic():
    shutil.rmtree('py_quic')
    os.system('git submodule update --checkout --remote -f')

if __name__ == "__main__":
    setup_pyquic()

'''
Setup script that:

/pyquic:
    - compiles pyquic
    - copies py_quic into base directory so that we can use the module directly
'''
import os
import shutil

class temp_cd():
    def __init__(self, temp_dir):
        self._temp_dir = temp_dir
        self._return_dir = os.path.dirname(os.path.realpath(__file__))
    def __enter__(self):
        os.chdir(self._temp_dir)
    def __exit__(self, type, value, traceback):
        os.chdir(self._return_dir)

def setup_pyquic():
    with temp_cd('pyquic/py_quic'):
        os.system('make')

    if os.path.exists('quic/py_quic'):
        shutil.rmtree('quic/py_quic')

    shutil.copytree('pyquic/py_quic', 'quic/py_quic')

def clean_pyquic():
    shutil.rmtree('py_quic')
    os.system('git submodule update --checkout --remote -f')

if __name__ == "__main__":
    setup_pyquic()

Make sure this works the first time you run it


from setuptools import setup

setup(
    name='slacker',
    version='0.7.0',
    packages=['slacker'],
    description='Slack API client',
    author='Oktay Sancak',
    author_email='oktaysancak@gmail.com',
    url='http://github.com/os/slacker/',
    install_requires=['requests >= 2.2.1'],
    license='http://www.apache.org/licenses/LICENSE-2.0',
    test_suite='tests',
    classifiers=(
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4'
    ),
    keywords='slack api'
)

from setuptools import setup

setup(
    name='slacker',
    version='0.7.3',
    packages=['slacker'],
    description='Slack API client',
    author='Oktay Sancak',
    author_email='oktaysancak@gmail.com',
    url='http://github.com/os/slacker/',
    install_requires=['requests >= 2.2.1'],
    license='http://www.apache.org/licenses/LICENSE-2.0',
    test_suite='tests',
    classifiers=(
        'Intended Audience :: Developers',
        'License :: OSI Approved :: Apache Software License',
        'Natural Language :: English',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4'
    ),
    keywords='slack api'
)

Set version number to 0.7.3.

Set version number to 0.7.3.


from setuptools import setup

setup(
    name='tangled.sqlalchemy',
    version='0.1a4.dev0',
    description='Tangled SQLAlchemy integration',
    long_description=open('README.rst').read(),
    url='http://tangledframework.org/',
    download_url='https://github.com/TangledWeb/tangled.sqlalchemy/tags',
    author='Wyatt Baldwin',
    author_email='self@wyattbaldwin.com',
    packages=[
        'tangled',
        'tangled.sqlalchemy',
    ],
    install_requires=[
        'tangled>=0.1a7',
        'SQLAlchemy',
    ],
    extras_require={
        'dev': [
            'tangled[dev]>=0.1a7',
        ],
    },
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
    ],
)

from setuptools import setup

setup(
    name='tangled.sqlalchemy',
    version='0.1a4.dev0',
    description='Tangled SQLAlchemy integration',
    long_description=open('README.rst').read(),
    url='http://tangledframework.org/',
    download_url='https://github.com/TangledWeb/tangled.sqlalchemy/tags',
    author='Wyatt Baldwin',
    author_email='self@wyattbaldwin.com',
    packages=[
        'tangled',
        'tangled.sqlalchemy',
    ],
    install_requires=[
        'tangled>=0.1a9',
        'SQLAlchemy',
    ],
    extras_require={
        'dev': [
            'tangled[dev]>=0.1a9',
        ],
    },
    classifiers=[
        'Development Status :: 3 - Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.3',
        'Programming Language :: Python :: 3.4',
    ],
)

Upgrade tangled 0.1a7 => 0.1a9

Upgrade tangled 0.1a7 => 0.1a9


from setuptools import setup  # type: ignore[import]

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

setup(
    name="objname",
    version="0.11.0",
    packages=["objname"],
    package_data={
        "objname": ["__init__.py", "py.typed", "_module.py",
                    "test_objname.py"],
    },

    zip_safe=False,
    author="Alan Cristhian Ruiz",
    author_email="alan.cristh@gmail.com",
    description="A library with a base class that "
                "stores the assigned name of an object.",
    long_description=long_description,
    long_description_content_type="text/markdown",
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: 3.8',
        'Programming Language :: Python :: 3.9',
        'Programming Language :: Python :: Implementation :: CPython',
        'Programming Language :: Python :: Implementation :: PyPy',
        'Topic :: Software Development',
        'Topic :: Software Development :: Object Brokering',
        'Typing :: Typed'
      ],
    license="MIT",
    keywords="data structure debug",
    url="https://github.com/AlanCristhian/objname",
)

from setuptools import setup  # type: ignore[import]

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

setup(
    name="objname",
    version="0.12.0",
    packages=["objname"],
    package_data={
        "objname": ["__init__.py", "py.typed", "_module.py",
                    "test_objname.py"],
    },

    zip_safe=False,
    author="Alan Cristhian Ruiz",
    author_email="alan.cristh@gmail.com",
    description="A library with a base class that "
                "stores the assigned name of an object.",
    long_description=long_description,
    long_description_content_type="text/markdown",
    classifiers=[
        'Development Status :: 2 - Pre-Alpha',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Programming Language :: Python :: 3.6',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: 3.8',
        'Programming Language :: Python :: 3.9',
        'Programming Language :: Python :: 3.10',
        'Programming Language :: Python :: Implementation :: CPython',
        'Programming Language :: Python :: Implementation :: PyPy',
        'Topic :: Software Development',
        'Topic :: Software Development :: Object Brokering',
        'Typing :: Typed'
      ],
    license="MIT",
    keywords="data structure debug",
    url="https://github.com/AlanCristhian/objname",
)

Document that python 3.10 is supported and update version number.


from __future__ import with_statement

from distutils.core import setup

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

setup(
    name='encodingcontext',
    version='0.9.0',
    description='A bad idea about the default encoding',
    long_description=readme(),
    py_modules=['encodingcontext'],
    author='Hong Minhee',
    author_email='minhee' '@' 'dahlia.kr',
    url='https://github.com/dahlia/encodingcontext',
    license='MIT License',
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.5',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: Implementation :: CPython',
        'Programming Language :: Python :: Implementation :: PyPy',
        'Programming Language :: Python :: Implementation :: Stackless',
        'Topic :: Text Processing'
    ]
)

from __future__ import with_statement

from distutils.core import setup
import re

def readme():
    try:
        with open('README.rst') as f:
            readme = f.read()
    except IOError:
        return
    return re.sub(
        r'''
        (?P<colon> : \n{2,})?
        \.\. [ ] code-block:: \s+ [^\n]+ \n
        [^ \t]* \n
        (?P<block>
            (?: (?: (?: \t | [ ]{3}) [^\n]* | [ \t]* ) \n)+
        )
        ''',
        lambda m: (':' + m.group('colon') if m.group('colon') else '') +
                  '\n'.join(' ' + l for l in m.group('block').splitlines()) +
                  '\n\n',
        readme, 0, re.VERBOSE
    )

setup(
    name='encodingcontext',
    version='0.9.0',
    description='A bad idea about the default encoding',
    long_description=readme(),
    py_modules=['encodingcontext'],
    author='Hong Minhee',
    author_email='minhee' '@' 'dahlia.kr',
    url='https://github.com/dahlia/encodingcontext',
    license='MIT License',
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2.5',
        'Programming Language :: Python :: 2.6',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: Implementation :: CPython',
        'Programming Language :: Python :: Implementation :: PyPy',
        'Programming Language :: Python :: Implementation :: Stackless',
        'Topic :: Text Processing'
    ]
)

Transform readme into PyPI compliant reST


from __future__ import print_function

try:
    from setuptools import setup  # try first in case it's already there.
except ImportError:
    from ez_setup import use_setuptools
    use_setuptools()
    from setuptools import setup

setup(
    name='vpython',
    packages=['vpython'],
    version='0.2.0b15',
    description='VPython for Jupyter Notebook',
    long_description=open('README.md').read(),
    author='John Coady / Ruth Chabay / Bruce Sherwood / Steve Spicklemire',
    author_email='bruce.sherwood@gmail.com',
    url='http://pypi.python.org/pypi/vpython/',
    license='LICENSE.txt',
    keywords='vpython',
    classifiers=[
          'Framework :: IPython',
          'Development Status :: 4 - Beta',
          'Environment :: Web Environment',
          'Intended Audience :: End Users/Desktop',
          'Natural Language :: English',
          'Programming Language :: Python',
          'Topic :: Multimedia :: Graphics :: 3D Modeling',
          'Topic :: Multimedia :: Graphics :: 3D Rendering',
          'Topic :: Scientific/Engineering :: Visualization',
    ],
    install_requires=['jupyter', 'vpnotebook'],
    package_data={'vpython': ['data/*']},
)

from __future__ import print_function

try:
    from setuptools import setup  # try first in case it's already there.
except ImportError:
    from ez_setup import use_setuptools
    use_setuptools()
    from setuptools import setup

setup(
    name='vpython',
    packages=['vpython'],
    version='0.2.0b16',
    description='VPython for Jupyter Notebook',
    long_description=open('README.md').read(),
    author='John Coady / Ruth Chabay / Bruce Sherwood / Steve Spicklemire',
    author_email='bruce.sherwood@gmail.com',
    url='http://pypi.python.org/pypi/vpython/',
    license='LICENSE.txt',
    keywords='vpython',
    classifiers=[
          'Framework :: IPython',
          'Development Status :: 4 - Beta',
          'Environment :: Web Environment',
          'Intended Audience :: End Users/Desktop',
          'Natural Language :: English',
          'Programming Language :: Python',
          'Topic :: Multimedia :: Graphics :: 3D Modeling',
          'Topic :: Multimedia :: Graphics :: 3D Rendering',
          'Topic :: Scientific/Engineering :: Visualization',
    ],
    install_requires=['jupyter', 'vpnotebook'],
    package_data={'vpython': ['data/*']},
)

Update version number to 0.2.0b16

Update version number to 0.2.0b16


import pathlib
from crc import LIBRARY_VERSION
from setuptools import setup

current = pathlib.Path(__file__).parent.resolve()

def readme():
    return (current / 'README.md').read_text(encoding='utf-8')

if __name__ == '__main__':
    setup(
        name='crc',
        version=LIBRARY_VERSION,
        py_modules=['crc'],
        classifiers=[
            'Programming Language :: Python :: 3.7',
            'Programming Language :: Python :: 3.8',
        ],
        url='https://github.com/Nicoretti/crc',
        license='BSD',
        python_requires='>=3.7',
        author='Nicola Coretti',
        author_email='nico.coretti@gmail.com',
        description='Library and CLI to calculate and verify all kinds of CRC checksums.',
        keywords=['CRC', 'CRC8', 'CRC16', 'CRC32', 'CRC64'],
        long_description=readme(),
        long_description_content_type='text/markdown',
        entry_points={
            'console_scripts': [
                'crc=crc:main',
            ],
        }
    )

import pathlib
from crc import LIBRARY_VERSION
from setuptools import setup

current = pathlib.Path(__file__).parent.resolve()

def readme():
    return (current / 'README.md').read_text(encoding='utf-8')

if __name__ == '__main__':
    setup(
        name='crc',
        version=LIBRARY_VERSION,
        py_modules=['crc'],
        classifiers=[
            'Programming Language :: Python :: 3.7',
            'Programming Language :: Python :: 3.8',
            'Programming Language :: Python :: 3.9',
        ],
        url='https://github.com/Nicoretti/crc',
        license='BSD',
        python_requires='>=3.7',
        author='Nicola Coretti',
        author_email='nico.coretti@gmail.com',
        description='Library and CLI to calculate and verify all kinds of CRC checksums.',
        keywords=['CRC', 'CRC8', 'CRC16', 'CRC32', 'CRC64'],
        long_description=readme(),
        long_description_content_type='text/markdown',
        entry_points={
            'console_scripts': [
                'crc=crc:main',
            ],
        }
    )

Update package information about supported python versions


#!/usr/bin/env python

from setuptools import setup, find_packages

setup(
    name='syndicate',
    version='0.99.6',
    description='A wrapper for REST APIs',
    author='Justin Mayfield',
    author_email='tooker@gmail.com',
    url='https://github.com/mayfield/syndicate/',
    license='MIT',
    long_description=open('README.rst').read(),
    packages=find_packages(),
    install_requires=[
        'requests',
        'python-dateutil',
        'tornado',
    ],
    test_suite='test',
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Software Development :: Libraries',
    ]
)

#!/usr/bin/env python

from setuptools import setup, find_packages

README = 'README.md'

def long_desc():
    try:
        import pypandoc
    except ImportError:
        with open(README) as f:
            return f.read()
    else:
        return pypandoc.convert(README, 'rst')

setup(
    name='syndicate',
    version='0.99.7',
    description='A wrapper for REST APIs',
    author='Justin Mayfield',
    author_email='tooker@gmail.com',
    url='https://github.com/mayfield/syndicate/',
    license='MIT',
    long_description=long_desc(),
    packages=find_packages(),
    install_requires=[
        'requests',
        'python-dateutil',
        'tornado',
    ],
    test_suite='test',
    classifiers=[
        'Development Status :: 4 - Beta',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: MIT License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Topic :: Software Development :: Libraries',
    ]
)

Make PyPi long_description look pretty with pandoc (if available).


# -*- coding: utf-8 -*-
"""
Created on Fri Jan  9 12:52:31 2015

@author: stuart
"""
import os
import glob

import yt

model = 'spruit'
datadir = os.path.expanduser('~/mhs_atmosphere/'+model+'/')

files = glob.glob(datadir+'/*')
files.sort()

print(files)

ds = yt.load(files[0])

slc = yt.SlicePlot(ds, fields='density_bg', normal='x')
slc.save('~/yt.png')

# -*- coding: utf-8 -*-
"""
Created on Fri Jan  9 12:52:31 2015

@author: stuart
"""
import os
import glob

import yt

model = 'spruit'
datadir = os.path.expanduser('~/mhs_atmosphere/'+model+'/')

files = glob.glob(datadir+'/*')
files.sort()

print(files)

ds = yt.load(files[0])

# Axes flip for normal='y'
#ds.coordinates.x_axis = {0: 2, 1: 0, 2: 1, 'x': 2, 'y': 0, 'z': 1}
#ds.coordinates.y_axis = {0: 1, 1: 2, 2: 0, 'x': 1, 'y': 2, 'z': 0}

slc = yt.SlicePlot(ds, fields='density_bg', normal='x')
slc.save('~/yt.png')

Add x-y flipping code for SlicePlot

Add x-y flipping code for SlicePlot


# coding: utf-8
from setuptools import setup

setup(
    name='pysuru',
    version='0.0.1',
    description='Python library to interact with Tsuru API',
    long_description=open('README.rst', 'r').read(),
    keywords='tsuru',
    author='Rodrigo Machado',
    author_email='rcmachado@gmail.com',
    url='https://github.com/rcmachado/pysuru',
    license='MIT',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers'
        'Topic :: Software Development :: Libraries',
    ],
    install_requires=[
        'urllib3>=1.15'
    ]
    packages=['pysuru'],
    platforms=['linux', 'osx']
)

# coding: utf-8
from setuptools import setup

setup(
    name='pysuru',
    version='0.0.1',
    description='Python library to interact with Tsuru API',
    long_description=open('README.rst', 'r').read(),
    keywords='tsuru',
    author='Rodrigo Machado',
    author_email='rcmachado@gmail.com',
    url='https://github.com/rcmachado/pysuru',
    license='MIT',
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers'
        'Topic :: Software Development :: Libraries',
    ],
    install_requires=[
        'urllib3>=1.15',
        'certifi'
    ]
    packages=['pysuru'],
    platforms=['linux', 'osx']
)

Add certifi to required packages

Add certifi to required packages


# https://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/
# http://peterdowns.com/posts/first-time-with-pypi.html
# Upload to PyPI Live
# python setup.py sdist upload -r pypi

from setuptools import setup

setup(
  name='axis',
  packages=['axis'],
  version='9',
  description='A python library for communicating with devices from Axis Communications',
  author='Robert Svensson',
  author_email='Kane610@users.noreply.github.com',
  license='MIT',
  url='https://github.com/Kane610/axis',
  download_url='https://github.com/Kane610/axis/archive/v9.tar.gz',
  install_requires=['requests'],
  keywords=['axis', 'vapix', 'onvif', 'event stream', 'homeassistant'],
  classifiers=[],
)

# https://jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/
# http://peterdowns.com/posts/first-time-with-pypi.html
# Upload to PyPI Live
# python setup.py sdist upload -r pypi

from setuptools import setup

setup(
  name='axis',
  packages=['axis'],
  version='10',
  description='A python library for communicating with devices from Axis Communications',
  author='Robert Svensson',
  author_email='Kane610@users.noreply.github.com',
  license='MIT',
  url='https://github.com/Kane610/axis',
  download_url='https://github.com/Kane610/axis/archive/v10.tar.gz',
  install_requires=['requests'],
  keywords=['axis', 'vapix', 'onvif', 'event stream', 'homeassistant'],
  classifiers=[],
)

Bump version number to 10

Bump version number to 10


import os
from distutils.core import setup

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

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

setup(
    name='django-thumborstorage',
    version='0.92.2',
    license='MIT Licence',
    author='Stanislas Guerra',
    author_email='stanislas.guerra@gmail.com',
    description='Django custom storage for Thumbor backend.',
    long_description=README,
    url='https://github.com/Starou/django-thumborstorage',
    packages=['django_thumborstorage'],
    package_data={
        'django_yaaac': []
    },
    classifiers=[
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
    ],
    install_requires=['requests', 'mock'],
)

import os
from distutils.core import setup

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

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

setup(
    name='django-thumborstorage',
    version='1.9.12',
    license='MIT Licence',
    author='Stanislas Guerra',
    author_email='stanislas.guerra@gmail.com',
    description='Django custom storage for Thumbor backend.',
    long_description=README,
    url='https://github.com/Starou/django-thumborstorage',
    packages=['django_thumborstorage'],
    package_data={
        'django_yaaac': []
    },
    classifiers=[
        'Environment :: Web Environment',
        'Framework :: Django',
        'Intended Audience :: Developers',
        'License :: OSI Approved :: BSD License',
        'Operating System :: OS Independent',
        'Programming Language :: Python',
        'Programming Language :: Python :: 2',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.4',
        'Topic :: Internet :: WWW/HTTP',
        'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
    ],
    install_requires=['requests', 'mock'],
)

django-1.9: Bump version (use latest Django version supported.


# /setup.py
#
# Installation and setup script for cmakeast
#
# See /LICENCE.md for Copyright information
"""Installation and setup script for cmakeast."""

from setuptools import find_packages, setup

setup(name="cmakeast",
      version="0.0.16",
      description="""Parse a CMake file into an Abstract Syntax Tree.""",
      long_description_markdown_filename="README.md",
      author="Sam Spilsbury",
      author_email="smspillaz@gmail.com",
      classifiers=["Development Status :: 3 - Alpha",
                   "Programming Language :: Python :: 2",
                   "Programming Language :: Python :: 2.7",
                   "Programming Language :: Python :: 3",
                   "Programming Language :: Python :: 3.1",
                   "Programming Language :: Python :: 3.2",
                   "Programming Language :: Python :: 3.3",
                   "Programming Language :: Python :: 3.4",
                   "Intended Audience :: Developers",
                   "Topic :: Software Development :: Build Tools",
                   "License :: OSI Approved :: MIT License"],
      url="http://github.com/polysquare/cmake-ast",
      license="MIT",
      keywords="development ast cmake",
      packages=find_packages(exclude=["test"]),
      install_requires=["setuptools"],
      extras_require={
          "upload": ["setuptools-markdown"]
      },
      entry_points={
          "console_scripts": [
              "cmake-print-ast=cmakeast.printer:main"
          ]
      },
      test_suite="nose.collector",
      zip_safe=True,
      include_package_data=True)

# /setup.py
#
# Installation and setup script for cmakeast
#
# See /LICENCE.md for Copyright information
"""Installation and setup script for cmakeast."""

from setuptools import find_packages, setup

setup(name="cmakeast",
      version="0.0.17",
      description="""Parse a CMake file into an Abstract Syntax Tree.""",
      long_description_markdown_filename="README.md",
      author="Sam Spilsbury",
      author_email="smspillaz@gmail.com",
      classifiers=["Development Status :: 3 - Alpha",
                   "Programming Language :: Python :: 2",
                   "Programming Language :: Python :: 2.7",
                   "Programming Language :: Python :: 3",
                   "Programming Language :: Python :: 3.1",
                   "Programming Language :: Python :: 3.2",
                   "Programming Language :: Python :: 3.3",
                   "Programming Language :: Python :: 3.4",
                   "Intended Audience :: Developers",
                   "Topic :: Software Development :: Build Tools",
                   "License :: OSI Approved :: MIT License"],
      url="http://github.com/polysquare/cmake-ast",
      license="MIT",
      keywords="development ast cmake",
      packages=find_packages(exclude=["test"]),
      install_requires=["setuptools"],
      extras_require={
          "upload": ["setuptools-markdown"]
      },
      entry_points={
          "console_scripts": [
              "cmake-print-ast=cmakeast.printer:main"
          ]
      },
      test_suite="nose.collector",
      zip_safe=True,
      include_package_data=True)

Bump version: 0.0.16 -> 0.0.17

Bump version: 0.0.16 -> 0.0.17

[ci skip]