commit
stringlengths
40
40
subject
stringlengths
4
1.73k
repos
stringlengths
5
127k
old_file
stringlengths
2
751
new_file
stringlengths
2
751
new_contents
stringlengths
1
8.98k
old_contents
stringlengths
0
6.59k
license
stringclasses
13 values
lang
stringclasses
23 values
0f0473f66150328f0fcd3413161335a1b3fde471
Bump to v0.0.8
nocarryr/python-dispatch
setup.py
setup.py
import sys from setuptools import setup, find_packages def convert_readme(): try: import pypandoc except ImportError: return read_rst() rst = pypandoc.convert_file('README.md', 'rst') with open('README.rst', 'w') as f: f.write(rst) return rst def read_rst(): try: with open('README.rst', 'r') as f: rst = f.read() except IOError: rst = None return rst def get_long_description(): if {'sdist', 'bdist_wheel'} & set(sys.argv): long_description = convert_readme() else: long_description = read_rst() return long_description setup( name = "python-dispatch", version = "v0.0.8", author = "Matthew Reid", author_email = "matt@nomadic-recording.com", description = "Lightweight Event Handling", url='https://github.com/nocarryr/python-dispatch', license='MIT', packages=find_packages(exclude=['tests*']), include_package_data=True, setup_requires=['pypandoc'], long_description=get_long_description(), keywords='event properties dispatch', platforms=['any'], classifiers = [ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], )
import sys from setuptools import setup, find_packages def convert_readme(): try: import pypandoc except ImportError: return read_rst() rst = pypandoc.convert_file('README.md', 'rst') with open('README.rst', 'w') as f: f.write(rst) return rst def read_rst(): try: with open('README.rst', 'r') as f: rst = f.read() except IOError: rst = None return rst def get_long_description(): if {'sdist', 'bdist_wheel'} & set(sys.argv): long_description = convert_readme() else: long_description = read_rst() return long_description setup( name = "python-dispatch", version = "v0.0.7", author = "Matthew Reid", author_email = "matt@nomadic-recording.com", description = "Lightweight Event Handling", url='https://github.com/nocarryr/python-dispatch', license='MIT', packages=find_packages(exclude=['tests*']), include_package_data=True, setup_requires=['pypandoc'], long_description=get_long_description(), keywords='event properties dispatch', platforms=['any'], classifiers = [ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], )
mit
Python
e29be78b3ba4e847e19ed1d8b941ecdf49689e26
Add PyPy to setup.py
reubano/pkutils,reubano/pkutils
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import ( absolute_import, division, print_function, with_statement, unicode_literals) import sys import pkutils from builtins import * try: from setuptools import setup except ImportError: from distutils.core import setup sys.dont_write_bytecode = True dev_requirements = list(pkutils.parse_requirements('dev-requirements.txt')) requirements = list(pkutils.parse_requirements('requirements.txt')) readme = pkutils.read('README.rst') changes = pkutils.read('CHANGES.rst').replace('.. :changelog:', '') license = pkutils.__license__ title = pkutils.__title__ description = pkutils.__description__ if sys.version_info.major == 2: requirements.append('future==0.15.2') setup( name=title, version=pkutils.__version__, description=description, long_description=readme, author=pkutils.__author__, author_email=pkutils.__email__, url='https://github.com/reubano/pkutils', py_modules=['pkutils'], include_package_data=True, install_requires=requirements, tests_require=dev_requirements, test_suite='nose.collector', license=license, zip_safe=False, keywords=[title] + description.split(' '), classifiers=[ pkutils.LICENSES[license], 'Development Status :: 4 - Beta', 'Natural Language :: English', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: Implementation :: PyPy', 'Environment :: Console', 'Intended Audience :: Developers', 'Intended Audience :: End Users/Desktop', 'Operating System :: MacOS :: MacOS X', 'Operating System :: POSIX', 'Operating System :: POSIX :: Linux', ], platforms=['MacOS X', 'Windows', 'Linux'], )
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import ( absolute_import, division, print_function, with_statement, unicode_literals) import sys import pkutils from builtins import * try: from setuptools import setup except ImportError: from distutils.core import setup sys.dont_write_bytecode = True dev_requirements = list(pkutils.parse_requirements('dev-requirements.txt')) requirements = list(pkutils.parse_requirements('requirements.txt')) readme = pkutils.read('README.rst') changes = pkutils.read('CHANGES.rst').replace('.. :changelog:', '') license = pkutils.__license__ title = pkutils.__title__ description = pkutils.__description__ if sys.version_info.major == 2: requirements.append('future==0.15.2') setup( name=title, version=pkutils.__version__, description=description, long_description=readme, author=pkutils.__author__, author_email=pkutils.__email__, url='https://github.com/reubano/pkutils', py_modules=['pkutils'], include_package_data=True, install_requires=requirements, tests_require=dev_requirements, test_suite='nose.collector', license=license, zip_safe=False, keywords=[title] + description.split(' '), classifiers=[ pkutils.LICENSES[license], 'Development Status :: 4 - Beta', 'Natural Language :: English', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Environment :: Console', 'Intended Audience :: Developers', 'Intended Audience :: End Users/Desktop', 'Operating System :: MacOS :: MacOS X', 'Operating System :: POSIX', 'Operating System :: POSIX :: Linux', ], platforms=['MacOS X', 'Windows', 'Linux'], )
mit
Python
25c2c36eca073c490c282d65bbd8d204a3cdc2ce
Bump mypy from 0.760 to 0.761
sloria/ped,sloria/ped
setup.py
setup.py
import re from setuptools import setup EXTRAS_REQUIRE = { "tests": ["pytest", "mock", "pytest-mock", "scripttest==1.3"], "lint": [ "flake8==3.7.9", "flake8-bugbear==19.8.0", "mypy==0.761", "pre-commit==1.20.0", ], } EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_REQUIRE["lint"] + ["tox"] PYTHON_REQUIRES = ">=3.6" def find_version(fname): """Attempts to find the version number in the file names fname. Raises RuntimeError if not found. """ version = "" with open(fname, "r") as fp: reg = re.compile(r'__version__ = [\'"]([^\'"]*)[\'"]') for line in fp: m = reg.match(line) if m: version = m.group(1) break if not version: raise RuntimeError("Cannot find version information") return version def read(fname): with open(fname) as fp: content = fp.read() return content setup( name="ped", packages=["ped"], version=find_version("ped/__init__.py"), description="Quickly open Python modules in your text editor.", long_description=read("README.rst"), author="Steven Loria", author_email="sloria1@gmail.com", url="https://github.com/sloria/ped", install_requires=[], extras_require=EXTRAS_REQUIRE, python_requires=PYTHON_REQUIRES, license="MIT", zip_safe=False, keywords=("commandline", "cli", "open", "editor", "editing"), classifiers=[ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: System :: Shells", ], entry_points={"console_scripts": ["ped = ped:main"]}, package_data={"ped": ["ped_bash_completion.sh", "ped_zsh_completion.zsh"]}, )
import re from setuptools import setup EXTRAS_REQUIRE = { "tests": ["pytest", "mock", "pytest-mock", "scripttest==1.3"], "lint": [ "flake8==3.7.9", "flake8-bugbear==19.8.0", "mypy==0.760", "pre-commit==1.20.0", ], } EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_REQUIRE["lint"] + ["tox"] PYTHON_REQUIRES = ">=3.6" def find_version(fname): """Attempts to find the version number in the file names fname. Raises RuntimeError if not found. """ version = "" with open(fname, "r") as fp: reg = re.compile(r'__version__ = [\'"]([^\'"]*)[\'"]') for line in fp: m = reg.match(line) if m: version = m.group(1) break if not version: raise RuntimeError("Cannot find version information") return version def read(fname): with open(fname) as fp: content = fp.read() return content setup( name="ped", packages=["ped"], version=find_version("ped/__init__.py"), description="Quickly open Python modules in your text editor.", long_description=read("README.rst"), author="Steven Loria", author_email="sloria1@gmail.com", url="https://github.com/sloria/ped", install_requires=[], extras_require=EXTRAS_REQUIRE, python_requires=PYTHON_REQUIRES, license="MIT", zip_safe=False, keywords=("commandline", "cli", "open", "editor", "editing"), classifiers=[ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: System :: Shells", ], entry_points={"console_scripts": ["ped = ped:main"]}, package_data={"ped": ["ped_bash_completion.sh", "ped_zsh_completion.zsh"]}, )
mit
Python
ee75302ffa9f2a668943239009768b91b2310974
include required files in package
42cc/pytracremote,42cc/pytracremote
setup.py
setup.py
from setuptools import setup, find_packages setup( name='pytracremote', version='0.0.3', description="Manager for multiple remote trac instances", classifiers=[ "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules", ], keywords='trac, ssh', author='42coffeecups.com', author_email='contact@42cc.co', url='https://github.com/42cc/pytracremote', packages=find_packages(), package_data={ 'pytracremote': ['scripts/*.sh'], } include_package_data=True, zip_safe=False, )
from setuptools import setup, find_packages setup( name='pytracremote', version='0.0.2', description="Manager for multiple remote trac instances", classifiers=[ "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules", ], keywords='trac, ssh', author='42coffeecups.com', author_email='contact@42cc.co', url='https://github.com/42cc/pytracremote', packages=find_packages(), include_package_data=True, zip_safe=False, )
bsd-2-clause
Python
c60678ca5dc6d666ee775e6c29f86e12fc599385
Bump to version 0.1.1
alexmojaki/cheap_repr,alexmojaki/cheap_repr
setup.py
setup.py
from sys import version_info from setuptools import setup install_requires = ['qualname', 'future'] tests_require = [] if version_info[0] == 2: tests_require += ['chainmap'] if version_info[:2] == (2, 6): install_requires += ['importlib'] tests_require += ['ordereddict', 'counter'] if version_info[:2] == (2, 7) or version_info[:2] >= (3, 4): tests_require += ['numpy', 'Django'] install_requires += tests_require setup(name='cheap_repr', version='0.1.1', description='Better version of repr/reprlib for short, cheap string representations.', classifiers=[ 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ], url='http://github.com/alexmojaki/cheap_repr', author='Alex Hall', author_email='alex.mojaki@gmail.com', license='MIT', packages=['cheap_repr'], install_requires=install_requires, tests_require=tests_require, test_suite='tests', zip_safe=False)
from sys import version_info from setuptools import setup install_requires = ['qualname', 'future'] tests_require = [] if version_info[0] == 2: tests_require += ['chainmap'] if version_info[:2] == (2, 6): install_requires += ['importlib'] tests_require += ['ordereddict', 'counter'] if version_info[:2] == (2, 7) or version_info[:2] >= (3, 4): tests_require += ['numpy', 'Django'] install_requires += tests_require setup(name='cheap_repr', version='0.1.0', description='Better version of repr/reprlib for short, cheap string representations.', classifiers=[ 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ], url='http://github.com/alexmojaki/cheap_repr', author='Alex Hall', author_email='alex.mojaki@gmail.com', license='MIT', packages=['cheap_repr'], install_requires=install_requires, tests_require=tests_require, test_suite='tests', zip_safe=False)
mit
Python
b6930b87a6007edab275b5c0f504f8248ca0775b
Put nose back into setup.py for now.
ijt/cmakelists_parsing
setup.py
setup.py
from setuptools import setup, find_packages # Prevent "TypeError: 'NoneType' object is not callable" error # when running python setup.py test # (see http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html) try: import multiprocessing except ImportError: pass setup( name='cmakelists_parsing', version='0.3', author='Issac Trotts', author_email='issac.trotts@gmail.com', url='http://github.com/ijt/cmakelists_parsing', description='Parser for CMakeLists.txt files', packages=find_packages(), zip_safe=False, install_requires=['pyPEG2'], tests_require=['nose'], test_suite='nose.collector', include_package_data=True, entry_points = { 'console_scripts': [ 'cmake_pprint = cmakelists_parsing.cmake_pprint:main', ] })
from setuptools import setup, find_packages # Prevent "TypeError: 'NoneType' object is not callable" error # when running python setup.py test # (see http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html) try: import multiprocessing except ImportError: pass setup( name='cmakelists_parsing', version='0.3', author='Issac Trotts', author_email='issac.trotts@gmail.com', url='http://github.com/ijt/cmakelists_parsing', description='Parser for CMakeLists.txt files', packages=find_packages(), zip_safe=False, install_requires=['pyPEG2'], include_package_data=True, entry_points = { 'console_scripts': [ 'cmake_pprint = cmakelists_parsing.cmake_pprint:main', ] })
mit
Python
b70549fe21ae9aa244b111a470a93e7707a0580d
Update setup.py
pmorissette/klink,pmorissette/klink,dfroger/klink,dfroger/klink
setup.py
setup.py
from setuptools import setup from klink import __version__ setup( name='klink', version=__version__, url='https://github.com/pmorissette/klink', description='Klink is a simple and clean theme for creating Sphinx docs, inspired by jrnl', license='MIT', author='Philippe Morissette', author_email='morissette.philippe@gmail.com', packages=['klink'] )
from setuptools import setup from klink import __version__ setup( name='klink', version=__version__, url='https://github.com/pmorissette/klink', license='MIT', author='Philippe Morissette', author_email='morissette.philippe@gmail.com', packages=['klink'] )
mit
Python
74fbb125852486e76f625695e114691280b4cf35
update setup
emCOMP/twinkle
setup.py
setup.py
# Largely borrowed from Jeff Knupp's excellent article # http://www.jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/ # from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand import io import os import sys import twinkle here = os.path.abspath(os.path.dirname(__file__)) def read(*filenames, **kwargs): encoding = kwargs.get('encoding', 'utf-8') sep = kwargs.get('sep', '\n') buf = [] for filename in filenames: with io.open(filename, encoding=encoding) as f: buf.append(f.read()) return sep.join(buf) #long_description = read('README.txt', 'CHANGES.txt') class Tox(TestCommand): user_optinos = [] def initialize_options(self): TestCommand.initialize_options(self) self.tox_args = None def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [] self.test_suite = True def run_tests(self): #import here, cause outside the eggs aren't loaded import tox errcode = tox.cmdline(self.test_args) sys.exit(errcode) class PyTest(TestCommand): user_options = [] def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = [] def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [] self.test_suite = True def run_tests(self): #import here, cause outside the eggs aren't loaded import pytest errno = pytest.main(self.pytest_args) sys.exit(errno) setup( name='twinkle', version=twinkle.__version__, url='https://depts.washington.edu/emcomp/', license='MIT', author='emComp Lab', tests_require=['pytest'], install_requires=['pymongo>=2.7', 'simplejson>=3.6.2', ], cmdclass={'test': PyTest}, author_email='emcomp@uw.edu', description='Twinkle - Twitter Analysis Toolkit', # long_description=long_description, packages=['twinkle'], package_dir={'twinkle': 'twinkle'}, include_package_data=True, platforms='any', classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: Developers', 'Natural Language :: English', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Topic :: Software Development', ], test_suite='tests' )
# Largely borrowed from Jeff Knupp's excellent article # http://www.jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/ # from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand import io import os import sys import twinkle here = os.path.abspath(os.path.dirname(__file__)) def read(*filenames, **kwargs): encoding = kwargs.get('encoding', 'utf-8') sep = kwargs.get('sep', '\n') buf = [] for filename in filenames: with io.open(filename, encoding=encoding) as f: buf.append(f.read()) return sep.join(buf) #long_description = read('README.txt', 'CHANGES.txt') class Tox(TestCommand): user_optinos = [] def initialize_options(self): TestCommand.initialize_options(self) self.tox_args = None def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [] self.test_suite = True def run_tests(self): #import here, cause outside the eggs aren't loaded import tox errcode = tox.cmdline(self.test_args) sys.exit(errcode) class PyTest(TestCommand): user_options = [] def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = [] def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [] self.test_suite = True def run_tests(self): #import here, cause outside the eggs aren't loaded import pytest errno = pytest.main(self.pytest_args) sys.exit(errno) setup( name='twinkle', version=twinkle.__version__, url='https://depts.washington.edu/emcomp/', license='Apache Software License', author='emComp Lab', tests_require=['pytest'], install_requires=['pymongo>=2.7', 'simplejson>=3.6.2', ], cmdclass={'test': PyTest}, author_email='emcomp@uw.edu', description='Twinkle - Twitter Analysis Toolkit', # long_description=long_description, packages=['twinkle'], # include_package_data=True, platforms='any', test_suite='tests' )
mit
Python
5d325db39abecad165f86077af02b60b9eff9a23
Change Cython to cython in setup.py
hnakamur/cygroonga
setup.py
setup.py
from distutils.core import setup from distutils.extension import Extension from Cython.Build import cythonize setup( name='cygroonga', version='0.1.0', ext_modules=cythonize([ Extension("cygroonga", ["cygroonga.pyx"], libraries=["groonga"]) ]), install_requires=[ 'cython==0.22.1', ], )
from distutils.core import setup from distutils.extension import Extension from Cython.Build import cythonize setup( name='cygroonga', version='0.1.0', ext_modules=cythonize([ Extension("cygroonga", ["cygroonga.pyx"], libraries=["groonga"]) ]), install_requires=[ 'Cython==0.22.1', ], )
apache-2.0
Python
a17bb33018b5f2c3b72e3bc9676c0288e2be8c1e
Rename package to kafka-dev-tools
evvers/kafka-dev-tools
setup.py
setup.py
import codecs import os from setuptools import setup, find_packages HERE = os.path.abspath(os.path.dirname(__file__)) def read(*parts): # intentionally *not* adding an encoding option to open, See: # https://github.com/pypa/virtualenv/issues/201#issuecomment-3145690 return codecs.open(os.path.join(HERE, *parts), 'r').read() setup( name='kafka-dev-tools', version='0.0.1', author='Neha Narkhede', author_email='neha.narkhede@gmail.com', maintainer='Evgeny Vereshchagin', maintainer_email='evvers@ya.ru', url='https://github.com/evvers/kafka-dev-tools', description='Tools for Kafka developers', long_description=read('README.rst'), packages=find_packages(), install_requires=[ 'jira-python', 'RBTools', ], entry_points = { 'console_scripts': [ 'kafka-patch-review=kafka_patch_review:main', ], }, classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', ], keywords='kafka', )
import codecs import os from setuptools import setup, find_packages HERE = os.path.abspath(os.path.dirname(__file__)) def read(*parts): # intentionally *not* adding an encoding option to open, See: # https://github.com/pypa/virtualenv/issues/201#issuecomment-3145690 return codecs.open(os.path.join(HERE, *parts), 'r').read() setup( name='kafka-patch-review', version='0.0.1', author='Neha Narkhede', author_email='neha.narkhede@gmail.com', maintainer='Evgeny Vereshchagin', maintainer_email='evvers@ya.ru', url='https://github.com/evvers/kafka-patch-review', description='Kafka patch review tool', long_description=read('README.rst'), packages=find_packages(), install_requires=[ 'jira-python', 'RBTools', ], entry_points = { 'console_scripts': [ 'kafka-patch-review=kafka_patch_review:main', ], }, classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', ], keywords='kafka', )
apache-2.0
Python
5839828e2954c365d56b3d6a5536131c9ff6613b
make typing requirement less strict
ariebovenberg/snug,ariebovenberg/omgorm
setup.py
setup.py
import sys import os.path from setuptools import setup, find_packages def read_local_file(fname): path = os.path.join(os.path.dirname(__file__), fname) with open(path, 'r') as rfile: return rfile.read() metadata = {} exec(read_local_file('snug/__about__.py'), metadata) readme = read_local_file('README.rst') history = read_local_file('HISTORY.rst') setup( name='snug', version=metadata['__version__'], description=metadata['__description__'], license='MIT', long_description=readme + '\n\n' + history, url='https://github.com/ariebovenberg/snug', author=metadata['__author__'], author_email='a.c.bovenberg@gmail.com', classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', ], install_requires=[] if sys.version_info > (3, 5) else ['typing>=3.6.2'], keywords=['api', 'wrapper', 'rest', 'http'], python_requires='>=3.4', packages=find_packages(exclude=('tests', 'docs', 'examples')) )
import sys import os.path from setuptools import setup, find_packages def read_local_file(fname): path = os.path.join(os.path.dirname(__file__), fname) with open(path, 'r') as rfile: return rfile.read() metadata = {} exec(read_local_file('snug/__about__.py'), metadata) readme = read_local_file('README.rst') history = read_local_file('HISTORY.rst') setup( name='snug', version=metadata['__version__'], description=metadata['__description__'], license='MIT', long_description=readme + '\n\n' + history, url='https://github.com/ariebovenberg/snug', author=metadata['__author__'], author_email='a.c.bovenberg@gmail.com', classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', ], install_requires=[] if sys.version_info > (3, 5) else ['typing==3.6.2'], keywords=['api', 'wrapper', 'rest', 'http'], python_requires='>=3.4', packages=find_packages(exclude=('tests', 'docs', 'examples')) )
mit
Python
3878ad1733d70e1befb7b3ffa7785f09b7c70ad9
add lxml to setup.py
radarsat1/cxxviz,radarsat1/cxxviz
setup.py
setup.py
"""A setuptools based setup module. See: https://packaging.python.org/en/latest/distributing.html https://github.com/pypa/sampleproject """ # Always prefer setuptools over distutils from setuptools import setup, find_packages # To use a consistent encoding from codecs import open from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name='srcml-to-mse', version='0.0.1', description='Tool to convert SrcML output from C++ analysis to MSE', long_description=long_description, url='https://github.com/radarsat1/cxxviz', # Author details author='Stephen Sinclair', author_email='stephen.sinclair@inria.cl', license='Apache2', classifiers=[ # How mature is this project? Common values are # 3 - Alpha # 4 - Beta # 5 - Production/Stable 'Development Status :: 3 - Alpha', # Indicate who your project is intended for 'Intended Audience :: Developers', 'Topic :: Software Development :: Code Analysis', # Pick your license as you wish (should match "license" above) 'License :: OSI Approved :: Apache2 License', # Specify the Python versions you support here. In particular, ensure # that you indicate whether you support Python 2, Python 3 or both. 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], # What does your project relate to? keywords='analysis development visualisation', # You can just specify the packages manually here if your project is # simple. Or you can use find_packages(). packages=find_packages(exclude=['contrib', 'docs', 'tests']), py_modules=['srcml-to-mse'], install_requires=['future', 'lxml'], extras_require={ 'dev': ['check-manifest'], 'test': [], }, package_data={ }, entry_points={ 'console_scripts': [ #'srcml-to-mse=srcml_to_mse:main', ], }, )
"""A setuptools based setup module. See: https://packaging.python.org/en/latest/distributing.html https://github.com/pypa/sampleproject """ # Always prefer setuptools over distutils from setuptools import setup, find_packages # To use a consistent encoding from codecs import open from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name='srcml-to-mse', version='0.0.1', description='Tool to convert SrcML output from C++ analysis to MSE', long_description=long_description, url='https://github.com/radarsat1/cxxviz', # Author details author='Stephen Sinclair', author_email='stephen.sinclair@inria.cl', license='Apache2', classifiers=[ # How mature is this project? Common values are # 3 - Alpha # 4 - Beta # 5 - Production/Stable 'Development Status :: 3 - Alpha', # Indicate who your project is intended for 'Intended Audience :: Developers', 'Topic :: Software Development :: Code Analysis', # Pick your license as you wish (should match "license" above) 'License :: OSI Approved :: Apache2 License', # Specify the Python versions you support here. In particular, ensure # that you indicate whether you support Python 2, Python 3 or both. 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], # What does your project relate to? keywords='analysis development visualisation', # You can just specify the packages manually here if your project is # simple. Or you can use find_packages(). packages=find_packages(exclude=['contrib', 'docs', 'tests']), py_modules=['srcml-to-mse'], install_requires=['future'], extras_require={ 'dev': ['check-manifest'], 'test': [], }, package_data={ }, entry_points={ 'console_scripts': [ #'srcml-to-mse=srcml_to_mse:main', ], }, )
apache-2.0
Python
a986e2e14090955c98bb0556c625fc2ec9498be1
build executable eggs (for demos)
enthought/uchicago-pyanno
setup.py
setup.py
"""pyanno package setup definition""" from setuptools import setup, find_packages setup(name = "pyanno", version = "2.0dev", packages = find_packages(), package_data = { '': ['*.txt', '*.rst', 'data/*'], }, include_package_data = True, install_requires = [], entry_points = { 'console_scripts': [], 'gui_scripts': [ 'pyanno-ui = pyanno.ui.main:main', ], 'setuptools.installation': [ 'eggsecutable = pyanno.ui.main:main', ] }, #scripts = ['examples/mle_sim.py', # 'examples/map_sim.py', # 'examples/rzhetsky_2009/mle.py', # 'examples/rzhetsky_2009/map.py' ], author = ['Pietro Berkes', 'Bob Carpenter', 'Andrey Rzhetsky', 'James Evans'], author_email = ['pberkes@enthought.com', 'carp@lingpipe.com'], description = ['Package for curating data annotation efforts.'], url = ['https://github.com/enthought/uchicago-pyanno', 'http://alias-i.com/lingpipe/web/sandbox.html'], download_url = ['https://github.com/enthought/uchicago-pyanno'], license='LICENSE.txt' )
"""pyanno package setup definition""" from setuptools import setup, find_packages setup(name = "pyanno", version = "2.0dev", packages = find_packages(), package_data = { '': ['*.txt', '*.rst', 'data/*'], }, include_package_data = True, install_requires = [], entry_points = { 'console_scripts': [], 'gui_scripts': [ 'pyanno-ui = pyanno.ui.main:main', ], }, #scripts = ['examples/mle_sim.py', # 'examples/map_sim.py', # 'examples/rzhetsky_2009/mle.py', # 'examples/rzhetsky_2009/map.py' ], author = ['Pietro Berkes', 'Bob Carpenter', 'Andrey Rzhetsky', 'James Evans'], author_email = ['pberkes@enthought.com', 'carp@lingpipe.com'], description = ['Package for curating data annotation efforts.'], url = ['https://github.com/enthought/uchicago-pyanno', 'http://alias-i.com/lingpipe/web/sandbox.html'], download_url = ['https://github.com/enthought/uchicago-pyanno'], license='LICENSE.txt' )
bsd-2-clause
Python
fe5b499a54eff0ad588d96e08a414e99cda5d67c
Fix classifier is tuple rather than list
amatellanes/fixerio
setup.py
setup.py
import re try: from setuptools import setup except ImportError: from distutils.core import setup with open('fixerio/__init__.py', 'r') as fd: version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) if not version: raise RuntimeError('Cannot find version information') with open('README.rst') as f: readme = f.read() with open('CHANGELOG.rst') as f: changelog = f.read() requirements = ['requests>=2.0'] setup( name='fixerio', version=version, description='A Python client for Fixer.io', long_description=readme + '\n\n' + changelog, author="Adrian Matellanes", author_email='matellanesadrian@gmail.com', url='https://github.com/amatellanes/fixerio', install_requires=requirements, license='MIT License', packages=['fixerio'], package_dir={'fixerio': 'fixerio'}, include_package_data=True, zip_safe=False, classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'Natural Language :: English', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: Implementation :: PyPy' ], )
import re try: from setuptools import setup except ImportError: from distutils.core import setup with open('fixerio/__init__.py', 'r') as fd: version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) if not version: raise RuntimeError('Cannot find version information') with open('README.rst') as f: readme = f.read() with open('CHANGELOG.rst') as f: changelog = f.read() requirements = ['requests>=2.0'] setup( name='fixerio', version=version, description='A Python client for Fixer.io', long_description=readme + '\n\n' + changelog, author="Adrian Matellanes", author_email='matellanesadrian@gmail.com', url='https://github.com/amatellanes/fixerio', install_requires=requirements, license='MIT License', packages=['fixerio'], package_dir={'fixerio': 'fixerio'}, include_package_data=True, zip_safe=False, classifiers=( 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'Natural Language :: English', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: Implementation :: PyPy' ), )
mit
Python
0661a298f53c0ed6f0de02bfe11d0d24aa0b0cb5
Fix indentation
rackerlabs/txkazoo
setup.py
setup.py
from os.path import dirname, join from setuptools import find_packages, setup from setuptools.command.test import test as TestCommand from sys import exit package_name = "txkazoo" def read(path): with open(join(dirname(__file__), path)) as f: return f.read() import re version_line = read("{0}/_version.py".format(package_name)) match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]$", version_line, re.M) version_string = match.group(1) dependencies = map(str.split, read("requirements.txt").split()) class Tox(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_suite = True def run_tests(self): #import here, cause outside the eggs aren't loaded import tox exit(tox.cmdline([])) setup(name=package_name, version=version_string, description='Twisted binding for Kazoo', long_description=read("README.md"), url="https://github.com/rackerlabs/txkazoo", author='Manish Tomar', author_email='manish.tomar@rackspace.com', maintainer='Manish Tomar', maintainer_email='manish.tomar@rackspace.com', license='Apache 2.0', keywords="twisted kazoo zookeeper distributed", classifiers=[ "Development Status :: 3 - Alpha", "Framework :: Twisted", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 2 :: Only", "Programming Language :: Python :: 2.7", "Topic :: System :: Distributed Computing" ], packages=find_packages(), install_requires=dependencies, test_suite="{0}.test".format(package_name), cmdclass={'test': Tox}, zip_safe=True)
from os.path import dirname, join from setuptools import find_packages, setup from setuptools.command.test import test as TestCommand from sys import exit package_name = "txkazoo" def read(path): with open(join(dirname(__file__), path)) as f: return f.read() import re version_line = read("{0}/_version.py".format(package_name)) match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]$", version_line, re.M) version_string = match.group(1) dependencies = map(str.split, read("requirements.txt").split()) class Tox(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_suite = True def run_tests(self): #import here, cause outside the eggs aren't loaded import tox exit(tox.cmdline([])) setup( name=package_name, version=version_string, description='Twisted binding for Kazoo', long_description=read("README.md"), url="https://github.com/rackerlabs/txkazoo", author='Manish Tomar', author_email='manish.tomar@rackspace.com', maintainer='Manish Tomar', maintainer_email='manish.tomar@rackspace.com', license='Apache 2.0', keywords="twisted kazoo zookeeper distributed", classifiers=[ "Development Status :: 3 - Alpha", "Framework :: Twisted", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 2 :: Only", "Programming Language :: Python :: 2.7", "Topic :: System :: Distributed Computing" ], packages=find_packages(), install_requires=dependencies, test_suite="{0}.test".format(package_name), cmdclass={'test': Tox}, zip_safe=True )
apache-2.0
Python
38c62049be58ac330c52a679d4fdbeb2b4ee404a
Update dependency
globality-corp/microcosm-logging,globality-corp/microcosm-logging
setup.py
setup.py
#!/usr/bin/env python from setuptools import find_packages, setup project = "microcosm-logging" version = "0.13.0" setup( name=project, version=version, description="Opinionated logging configuration", author="Globality Engineering", author_email="engineering@globality.com", url="https://github.com/globality-corp/microcosm-logging", packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]), include_package_data=True, zip_safe=False, keywords="microcosm", install_requires=[ "loggly-python-handler>=1.0.0", "microcosm>=0.17.0", "python-json-logger>=0.1.5", "requests[security]>=2.9.1", ], setup_requires=[ "nose>=1.3.6", ], dependency_links=[ ], entry_points={ "microcosm.factories": [ "logger = microcosm_logging.factories:configure_logger", "logging = microcosm_logging.factories:configure_logging" ], }, tests_require=[ "coverage>=3.7.1", "mock>=1.0.1", "PyHamcrest>=1.8.5", ], )
#!/usr/bin/env python from setuptools import find_packages, setup project = "microcosm-logging" version = "0.13.0" setup( name=project, version=version, description="Opinionated logging configuration", author="Globality Engineering", author_email="engineering@globality.com", url="https://github.com/globality-corp/microcosm-logging", packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]), include_package_data=True, zip_safe=False, keywords="microcosm", install_requires=[ "loggly-python-handler>=1.0.0", "microcosm>=0.9.0", "python-json-logger>=0.1.5", "requests[security]>=2.9.1", ], setup_requires=[ "nose>=1.3.6", ], dependency_links=[ ], entry_points={ "microcosm.factories": [ "logger = microcosm_logging.factories:configure_logger", "logging = microcosm_logging.factories:configure_logging" ], }, tests_require=[ "coverage>=3.7.1", "mock>=1.0.1", "PyHamcrest>=1.8.5", ], )
apache-2.0
Python
6c9d0f04861e39b0a0a3a29d21130d9f059858e0
Bump faker from 4.1.6 to 4.4.0
marshmallow-code/marshmallow-jsonapi
setup.py
setup.py
import re from setuptools import setup, find_packages INSTALL_REQUIRES = ("marshmallow>=2.15.2",) EXTRAS_REQUIRE = { "tests": ["pytest", "mock", "faker==4.4.0", "Flask==1.1.2"], "lint": ["flake8==3.8.3", "flake8-bugbear==20.1.4", "pre-commit~=2.0"], } EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_REQUIRE["lint"] + ["tox"] def find_version(fname): """Attempts to find the version number in the file names fname. Raises RuntimeError if not found. """ version = "" with open(fname) as fp: reg = re.compile(r'__version__ = [\'"]([^\'"]*)[\'"]') for line in fp: m = reg.match(line) if m: version = m.group(1) break if not version: raise RuntimeError("Cannot find version information") return version def read(fname): with open(fname) as fp: content = fp.read() return content setup( name="marshmallow-jsonapi", version=find_version("marshmallow_jsonapi/__init__.py"), description="JSON API 1.0 (https://jsonapi.org) formatting with marshmallow", long_description=read("README.rst"), author="Steven Loria", author_email="sloria1@gmail.com", url="https://github.com/marshmallow-code/marshmallow-jsonapi", packages=find_packages(exclude=("test*",)), package_dir={"marshmallow-jsonapi": "marshmallow-jsonapi"}, include_package_data=True, install_requires=INSTALL_REQUIRES, extras_require=EXTRAS_REQUIRE, python_requires=">=3.6", license="MIT", zip_safe=False, keywords=( "marshmallow-jsonapi marshmallow marshalling serialization " "jsonapi deserialization validation" ), classifiers=[ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", ], test_suite="tests", project_urls={ "Bug Reports": "https://github.com/marshmallow-code/marshmallow-jsonapi/issues", "Funding": "https://opencollective.com/marshmallow", }, )
import re from setuptools import setup, find_packages INSTALL_REQUIRES = ("marshmallow>=2.15.2",) EXTRAS_REQUIRE = { "tests": ["pytest", "mock", "faker==4.1.6", "Flask==1.1.2"], "lint": ["flake8==3.8.3", "flake8-bugbear==20.1.4", "pre-commit~=2.0"], } EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_REQUIRE["lint"] + ["tox"] def find_version(fname): """Attempts to find the version number in the file names fname. Raises RuntimeError if not found. """ version = "" with open(fname) as fp: reg = re.compile(r'__version__ = [\'"]([^\'"]*)[\'"]') for line in fp: m = reg.match(line) if m: version = m.group(1) break if not version: raise RuntimeError("Cannot find version information") return version def read(fname): with open(fname) as fp: content = fp.read() return content setup( name="marshmallow-jsonapi", version=find_version("marshmallow_jsonapi/__init__.py"), description="JSON API 1.0 (https://jsonapi.org) formatting with marshmallow", long_description=read("README.rst"), author="Steven Loria", author_email="sloria1@gmail.com", url="https://github.com/marshmallow-code/marshmallow-jsonapi", packages=find_packages(exclude=("test*",)), package_dir={"marshmallow-jsonapi": "marshmallow-jsonapi"}, include_package_data=True, install_requires=INSTALL_REQUIRES, extras_require=EXTRAS_REQUIRE, python_requires=">=3.6", license="MIT", zip_safe=False, keywords=( "marshmallow-jsonapi marshmallow marshalling serialization " "jsonapi deserialization validation" ), classifiers=[ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", ], test_suite="tests", project_urls={ "Bug Reports": "https://github.com/marshmallow-code/marshmallow-jsonapi/issues", "Funding": "https://opencollective.com/marshmallow", }, )
mit
Python
4a218d817077b085683e304798728a898236da0e
revert preventing normalization (#279)
googleapis/python-dialogflow,googleapis/python-dialogflow
setup.py
setup.py
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import io import os import setuptools name = "dialogflow" description = "Client library for the Dialogflow API" version = "2.1.2" release_status = "Development Status :: 5 - Production/Stable" dependencies = ["google-api-core[grpc] >= 1.22.2, < 2.0.0dev", "proto-plus >= 1.10.0"] package_root = os.path.abspath(os.path.dirname(__file__)) readme_filename = os.path.join(package_root, "README.rst") with io.open(readme_filename, encoding="utf-8") as readme_file: readme = readme_file.read() packages = setuptools.PEP420PackageFinder.find() setuptools.setup( name="google-cloud-dialogflow", description=description, long_description=readme, version=version, author="Google LLC", author_email="googleapis-packages@google.com", license="Apache 2.0", url="https://github.com/googleapis/dialogflow-python-client-v2", classifiers=[ release_status, "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: Implementation :: CPython", ], platforms="Posix; MacOS X; Windows", packages=packages, extras={"libcst": "libcst >=0.2.5"}, scripts=[ "scripts/fixup_dialogflow_v2_keywords.py", "scripts/fixup_dialogflow_v2beta1_keywords.py", ], install_requires=dependencies, python_requires=">=3.6", include_package_data=True, zip_safe=False, )
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import io import os import setuptools # Disable version normalization performed by setuptools.setup() try: # Try the approach of using sic(), added in setuptools 46.1.0 from setuptools import sic except ImportError: # Try the approach of replacing packaging.version.Version sic = lambda v: v try: # setuptools >=39.0.0 uses packaging from setuptools.extern from setuptools.extern import packaging except ImportError: # setuptools <39.0.0 uses packaging from pkg_resources.extern from pkg_resources.extern import packaging packaging.version.Version = packaging.version.LegacyVersion name = "dialogflow" description = "Client library for the Dialogflow API" version = "2.1.2" release_status = "Development Status :: 5 - Production/Stable" dependencies = ["google-api-core[grpc] >= 1.22.2, < 2.0.0dev", "proto-plus >= 1.10.0"] package_root = os.path.abspath(os.path.dirname(__file__)) readme_filename = os.path.join(package_root, "README.rst") with io.open(readme_filename, encoding="utf-8") as readme_file: readme = readme_file.read() packages = setuptools.PEP420PackageFinder.find() setuptools.setup( name="google-cloud-dialogflow", description=description, long_description=readme, version=sic(version), author="Google LLC", author_email="googleapis-packages@google.com", license="Apache 2.0", url="https://github.com/googleapis/dialogflow-python-client-v2", classifiers=[ release_status, "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: Implementation :: CPython", ], platforms="Posix; MacOS X; Windows", packages=packages, extras={"libcst": "libcst >=0.2.5"}, scripts=[ "scripts/fixup_dialogflow_v2_keywords.py", "scripts/fixup_dialogflow_v2beta1_keywords.py", ], install_requires=dependencies, python_requires=">=3.6", include_package_data=True, zip_safe=False, )
apache-2.0
Python
dffec83d0d364caac91f83f31e8f0f87d1b7aca8
Update setup config
gmr/rejected,gmr/rejected
setup.py
setup.py
from setuptools import setup from rejected import __version__ import sys classifiers = ['Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'License :: OSI Approved :: BSD License'] install_requires = ['helper', 'pika>=0.9.14', 'psutil', 'pyyaml', 'tornado'] extras_require = {'html': ['beautifulsoup4']} if sys.version_info < (2, 7, 0): install_requires.append('importlib') setup(name='rejected', version=__version__, description='Rejected is a Python RabbitMQ Consumer Framework and ' 'Controller Daemon', long_description=open('README.md').read(), classifiers=classifiers, keywords='amqp rabbitmq', author='Gavin M. Roy', author_email='gavinmroy@gmail.com', url='https://github.com/gmr/rejected', license=open('LICENSE').read(), packages=['rejected'], package_data={'': ['LICENSE', 'README.md']}, include_package_data=True, install_requires=install_requires, tests_require=['mock', 'nose', 'unittest2'], entry_points=dict(console_scripts=['rejected=rejected.controller:main']), zip_safe=True)
from setuptools import setup from rejected import __version__ import sys long_description = """\ Rejected is a RabbitMQ consumer framework and controller daemon that allows you to focus on the development of the code that handles the messages and not the code that facilitates the communication with RabbitMQ.""" classifiers = ['Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'License :: OSI Approved :: BSD License'] install_requires = ['helper', 'pika>=0.9.14', 'psutil', 'pyyaml', 'tornado'] extras_require = {'html': ['beautifulsoup4']} if sys.version_info < (2, 7, 0): install_requires.append('importlib') setup(name='rejected', version=__version__, description='Rejected is a Python RabbitMQ Consumer Framework and ' 'Controller Daemon', long_description=long_description, classifiers=classifiers, keywords='amqp rabbitmq', author='Gavin M. Roy', author_email='gmr@meetme.com', url='http://github.com/gmr/rejected', license='BSD', packages=['rejected'], install_requires=install_requires, tests_require=['mock', 'nose', 'unittest2'], entry_points=dict(console_scripts=['rejected=rejected.controller:main']), zip_safe=True)
bsd-3-clause
Python
b2a8c52011af119a92ebaca21b3a1e6d6a821734
Bump version number
googlefonts/fontdiffenator,googlefonts/fontdiffenator
setup.py
setup.py
import sys from setuptools import setup, find_packages, Command from distutils import log setup( name='fontdiffenator', version='0.9.13', author="Google Fonts Project Authors", description="Font regression tester for Google Fonts", url="https://github.com/googlefonts/fontdiffenator", license="Apache Software License 2.0", package_dir={"": "Lib"}, packages=find_packages("Lib"), entry_points={ "console_scripts": [ "diffenator = diffenator.__main__:main", "fontdiffenator = diffenator.__main__:main", "dumper = diffenator.dumper:main", ], }, install_requires=[ "fonttools>=3.34.2", "Pillow>=5.4.1", "pycairo>=1.18.0", "uharfbuzz>=0.3.0", "freetype-py>=2.0.0.post6", ], )
import sys from setuptools import setup, find_packages, Command from distutils import log setup( name='fontdiffenator', version='0.9.12', author="Google Fonts Project Authors", description="Font regression tester for Google Fonts", url="https://github.com/googlefonts/fontdiffenator", license="Apache Software License 2.0", package_dir={"": "Lib"}, packages=find_packages("Lib"), entry_points={ "console_scripts": [ "diffenator = diffenator.__main__:main", "fontdiffenator = diffenator.__main__:main", "dumper = diffenator.dumper:main", ], }, install_requires=[ "fonttools>=3.34.2", "Pillow>=5.4.1", "pycairo>=1.18.0", "uharfbuzz>=0.3.0", "freetype-py>=2.0.0.post6", ], )
apache-2.0
Python
3f1ce6965829b579f3df807f53123f3e44cf74d8
downgrade dependency to pybarcode 0.8b1
gisce/bankbarcode
setup.py
setup.py
# -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='bankbarcode', version='0.1.0', packages=find_packages(), url='https://github.com/gisce/bankbarcode', license='GNU Affero General Public License v3', author='GISCE-TI, S.L.', author_email='devel@gisce.net', install_requires=[ 'pybarcode>=0.8b1' ], description='barcodes for financial documents' )
# -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='bankbarcode', version='0.1.0', packages=find_packages(), url='https://github.com/gisce/bankbarcode', license='GNU Affero General Public License v3', author='GISCE-TI, S.L.', author_email='devel@gisce.net', install_requires=[ 'pybarcode>=0.8' ], description='barcodes for financial documents' )
agpl-3.0
Python
8d195056e49246472d1e7b807d455fc80ca9bb23
Bump version
lambdalisue/maidenhair
setup.py
setup.py
# coding=utf-8 import sys from setuptools import setup, find_packages NAME = 'maidenhair' VERSION = '0.2.2' def read(filename): import os BASE_DIR = os.path.dirname(__file__) filename = os.path.join(BASE_DIR, filename) fi = open(filename, 'r') return fi.read() def readlist(filename): rows = read(filename).split("\n") rows = [x.strip() for x in rows if x.strip()] return list(rows) extras = {} if sys.version_info >= (3,): extras['use_2to3'] = True setup( name = NAME, version = VERSION, description = 'Convert raw text data files into a single excel file.', long_description = read('README.rst'), classifiers = ( 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', ), keywords = 'data python loader parser statistics', author = 'Alisue', author_email = 'lambdalisue@hashnote.net', url = 'https://github.com/lambdalisue/%s' % NAME, download_url = 'https://github.com/lambdalisue/%s/tarball/master' % NAME, license = 'MIT', packages = find_packages('src'), package_dir = {'': 'src'}, include_package_data = True, package_data = { '': ['LICENSE', 'README.rst', 'requirements.txt', 'requirements-test.txt', 'requirements-docs.txt'], }, zip_safe=True, install_requires=readlist('requirements.txt'), entry_points={ 'maidenhair.plugins': [ 'parsers.PlainParser = maidenhair.parsers.plain:PlainParser', 'loaders.PlainLoader = maidenhair.loaders.plain:PlainLoader', ], }, **extras )
# coding=utf-8 import sys from setuptools import setup, find_packages NAME = 'maidenhair' VERSION = '0.2.1' def read(filename): import os BASE_DIR = os.path.dirname(__file__) filename = os.path.join(BASE_DIR, filename) fi = open(filename, 'r') return fi.read() def readlist(filename): rows = read(filename).split("\n") rows = [x.strip() for x in rows if x.strip()] return list(rows) extras = {} if sys.version_info >= (3,): extras['use_2to3'] = True setup( name = NAME, version = VERSION, description = 'Convert raw text data files into a single excel file.', long_description = read('README.rst'), classifiers = ( 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', ), keywords = 'data python loader parser statistics', author = 'Alisue', author_email = 'lambdalisue@hashnote.net', url = 'https://github.com/lambdalisue/%s' % NAME, download_url = 'https://github.com/lambdalisue/%s/tarball/master' % NAME, license = 'MIT', packages = find_packages('src'), package_dir = {'': 'src'}, include_package_data = True, package_data = { '': ['LICENSE', 'README.rst', 'requirements.txt', 'requirements-test.txt', 'requirements-docs.txt'], }, zip_safe=True, install_requires=readlist('requirements.txt'), entry_points={ 'maidenhair.plugins': [ 'parsers.PlainParser = maidenhair.parsers.plain:PlainParser', 'loaders.PlainLoader = maidenhair.loaders.plain:PlainLoader', ], }, **extras )
mit
Python
430082df55c0e3c1ec20d0a9724966824c42cc48
Fix admin tests
brianjgeiger/osf.io,Johnetordoff/osf.io,brianjgeiger/osf.io,brianjgeiger/osf.io,adlius/osf.io,Johnetordoff/osf.io,adlius/osf.io,saradbowman/osf.io,baylee-d/osf.io,felliott/osf.io,mfraezz/osf.io,caseyrollins/osf.io,HalcyonChimera/osf.io,CenterForOpenScience/osf.io,adlius/osf.io,HalcyonChimera/osf.io,baylee-d/osf.io,felliott/osf.io,felliott/osf.io,aaxelb/osf.io,baylee-d/osf.io,CenterForOpenScience/osf.io,CenterForOpenScience/osf.io,cslzchen/osf.io,cslzchen/osf.io,Johnetordoff/osf.io,cslzchen/osf.io,mfraezz/osf.io,aaxelb/osf.io,aaxelb/osf.io,cslzchen/osf.io,mattclark/osf.io,mattclark/osf.io,CenterForOpenScience/osf.io,pattisdr/osf.io,mattclark/osf.io,caseyrollins/osf.io,caseyrollins/osf.io,mfraezz/osf.io,pattisdr/osf.io,mfraezz/osf.io,adlius/osf.io,HalcyonChimera/osf.io,saradbowman/osf.io,HalcyonChimera/osf.io,brianjgeiger/osf.io,aaxelb/osf.io,Johnetordoff/osf.io,felliott/osf.io,pattisdr/osf.io
admin_tests/spam/test_extras.py
admin_tests/spam/test_extras.py
import pytest from nose import tools as nt from admin.spam.templatetags import spam_extras @pytest.mark.django_db class TestReverseTags: @pytest.fixture(autouse=True) def override_urlconf(self, settings): settings.ROOT_URLCONF = 'admin.base.urls' def test_reverse_spam_detail(self): res = spam_extras.reverse_spam_detail('123ab', page='2', status='4') nt.assert_in('/spam/123ab/?', res) nt.assert_in('page=2', res) nt.assert_in('status=4', res) nt.assert_equal(len('/spam/123ab/?page=2&status=4'), len(res)) def test_reverse_spam_list(self): res = spam_extras.reverse_spam_list(page='2', status='4') nt.assert_in('/spam/?', res) nt.assert_in('page=2', res) nt.assert_in('status=4', res) nt.assert_equal(len('/spam/?page=2&status=4'), len(res)) def test_reverse_spam_user(self): res = spam_extras.reverse_spam_user('kzzab', page='2', status='4') nt.assert_in('/spam/user/kzzab/?', res) nt.assert_in('page=2', res) nt.assert_in('status=4', res) nt.assert_equal(len('/spam/user/kzzab/?page=2&status=4'), len(res))
from nose import tools as nt from django.test import SimpleTestCase from django.test.utils import override_settings from admin.spam.templatetags import spam_extras @override_settings(ROOT_URLCONF='admin.base.urls') class TestReverseTags(SimpleTestCase): def test_reverse_spam_detail(self): res = spam_extras.reverse_spam_detail('123ab', page='2', status='4') nt.assert_in('/spam/123ab/?', res) nt.assert_in('page=2', res) nt.assert_in('status=4', res) nt.assert_equal(len('/spam/123ab/?page=2&status=4'), len(res)) def test_reverse_spam_list(self): res = spam_extras.reverse_spam_list(page='2', status='4') nt.assert_in('/spam/?', res) nt.assert_in('page=2', res) nt.assert_in('status=4', res) nt.assert_equal(len('/spam/?page=2&status=4'), len(res)) def test_reverse_spam_user(self): res = spam_extras.reverse_spam_user('kzzab', page='2', status='4') nt.assert_in('/spam/user/kzzab/?', res) nt.assert_in('page=2', res) nt.assert_in('status=4', res) nt.assert_equal(len('/spam/user/kzzab/?page=2&status=4'), len(res))
apache-2.0
Python
7b2adc66b409cdbaf1caa536e822dba452ffad52
fix typo
VerstandInvictus/PatternsEmerge,VerstandInvictus/PatternsEmerge,VerstandInvictus/PatternsEmerge,VerstandInvictus/PatternsEmerge
backend/mdcore.py
backend/mdcore.py
import codecs import config import unidecode from pyvirtualdisplay import Display from time import sleep from selenium import webdriver user_agent = 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36' \ ' (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36' class mdLogger: def __init__(self, logfile): self.logfile = logfile def logEntry(self, entry, level): with codecs.open(self.logfile, mode='a+', encoding='utf-8') as log: log.write(entry + '\n') if 'progress' in level: print unidecode.unidecode(entry) class marketdelta: def __init__(self, logobj, strategy): self.logger = logobj self.user = config.mdUsers[strategy] self.password = config.mdPasses[strategy] self.display = Display(visible=0, size=(800, 600)) self.display.start() self.profile = webdriver.FirefoxProfile() self.br = self.loginToMD() def loginToMD(self): self.profile.set_preference("general.useragent.override", user_agent) browser = webdriver.Firefox(self.profile) browser.implicitly_wait(15) browser.get('https://app.marketdelta.com/signon') emailfield = browser.find_element_by_id('email') emailfield.send_keys(self.user) pwfield = browser.find_element_by_name('password') pwfield.send_keys(self.password) submitbutton = browser.find_element_by_xpath( '//*[@id="frame-content"]/form/div[3]/div/input') submitbutton.click() sleep(15) # give it time to load the order list self.logger.logEntry("Logged in successfully", 'info') return browser def getOrderList(self): orderlist = self.br.find_element_by_class_name('watchlist') otable = orderlist.get_attribute('innerHTML') self.logger.logEntry("Got order list", 'info') return otable def exit(self): self.br.quit() self.display.stop() self.logger.logEntry("Quit FF and Xvfb", 'info') if __name__ == '__main__': exit()
import codecs import config import unidecode from pyvirtualdisplay import Display from time import sleep from selenium import webdriver user_agent = 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36' \ ' (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36' class mdLogger: def __init__(self, logfile): self.logfile = logfile def logEntry(self, entry, level): with codecs.open(self.logfile, mode='a+', encoding='utf-8') as log: log.write(entry + '\n') if 'progress' in level: print unidecode.unidecode(entry) class marketdelta: def __init__(self, logobj, strategy): self.logger = logobj self.user = config.mdUsers[strategy] self.password = config.mdPasses[strategy] self.display = Display(visible=0, size=(800, 600)) self.display.start() self.profile = webdriver.FirefoxProfile() self.br = self.loginToMD() def loginToMD(self): self.profile.set_preference("general.useragent.override", user_agent) browser = webdriver.Firefox(self.profile) browser.implicitly_wait(15) browser.get('https://app.marketdelta.com/signon') emailfield = browser.find_element_by_id('email') emailfield.send_keys(self.user) pwfield = browser.find_element_by_name('password') pwfield.send_keys(self.password) submitbutton = browser.find_element_by_xpath( '//*[@id="frame-content"]/form/div[3]/div/input') submitbutton.click() sleep(15) # give it time to load the order list self.logger.logEntry("Logged in successfully", 'info') return browser def getOrderList(self): orderlist = self.br.find_element_by_class_name('watchlist') otable = orderlist.get_attribute('innerHTML') self.logger.logEntry("Got order list", 'info') return otable def exit(self): self.br.quit() self.display.stop() self.logger.logentry("Quit FF and Xvfb", 'info') if __name__ == '__main__': exit()
mit
Python
f319f8bb32d84661e875839933678ea9d106b97d
Increment version
mouadino/Shapely,jdmcbr/Shapely,abali96/Shapely,mouadino/Shapely,mindw/shapely,abali96/Shapely,jdmcbr/Shapely,mindw/shapely
setup.py
setup.py
from setuptools import setup, Extension from sys import version_info # Require ctypes egg only for Python < 2.5 install_requires = ['setuptools'] #if version_info[:2] < (2,5): # install_requires.append('ctypes') # Get text from README.txt readme_text = file('README.txt', 'rb').read() setup(name = 'Shapely', version = '1.0.8', description = 'Geospatial geometries, predicates, and operations', license = 'BSD', keywords = 'geometry topology', author = 'Sean Gillies', author_email = 'sgillies@frii.com', maintainer = 'Sean Gillies', maintainer_email = 'sgillies@frii.com', url = 'http://trac.gispython.org/lab/wiki/Shapely', long_description = readme_text, packages = ['shapely', 'shapely.geometry'], install_requires = install_requires, #tests_require = ['numpy'], -- not working with "tests" command test_suite = 'tests.test_suite', classifiers = [ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Scientific/Engineering :: GIS', ], )
from setuptools import setup, Extension from sys import version_info # Require ctypes egg only for Python < 2.5 install_requires = ['setuptools'] #if version_info[:2] < (2,5): # install_requires.append('ctypes') # Get text from README.txt readme_text = file('README.txt', 'rb').read() setup(name = 'Shapely', version = '1.0.7', description = 'Geospatial geometries, predicates, and operations', license = 'BSD', keywords = 'geometry topology', author = 'Sean Gillies', author_email = 'sgillies@frii.com', maintainer = 'Sean Gillies', maintainer_email = 'sgillies@frii.com', url = 'http://trac.gispython.org/lab/wiki/Shapely', long_description = readme_text, packages = ['shapely', 'shapely.geometry'], install_requires = install_requires, #tests_require = ['numpy'], -- not working with "tests" command test_suite = 'tests.test_suite', classifiers = [ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Scientific/Engineering :: GIS', ], )
bsd-3-clause
Python
dedd16a01bb194dd3f6302117443ab3d98f63300
fix links in setup.py
trac-hacks/tracdocs,trac-hacks/tracdocs,trac-hacks/tracdocs,mrjbq7/tracdocs,mrjbq7/tracdocs
setup.py
setup.py
#!/usr/bin/env python import os.path from setuptools import setup, find_packages # Utility function to read the README file. def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name = 'TracDocs', version = '0.3', description="A Trac plugin for RCS-backed documentation", long_description = read('README.md'), author = "John Benediktsson", author_email = 'mrjbq7@gmail.com', url = "http://github.com/trac-hacks/tracdocs", download_url = "http://github.com/trac-hacks/tracdocs/zipball/master#egg=TracDocs-0.3", packages=['tracdocs'], classifiers = [ "Development Status :: 4 - Beta", "Framework :: Trac", "License :: OSI Approved :: BSD License", ], package_data={ 'tracdocs': [ 'htdocs/*.css', 'htdocs/*.js', 'templates/*.html' ] }, entry_points = { 'trac.plugins': [ 'tracdocs.web_ui = tracdocs.web_ui', ] }, dependency_links = ['http://github.com/trac-hacks/tracdocs/zipball/master#egg=TracDocs-0.3'] )
#!/usr/bin/env python import os.path from setuptools import setup, find_packages # Utility function to read the README file. def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name = 'TracDocs', version = '0.3', description="A Trac plugin for RCS-backed documentation", long_description = read('README.md'), author = "John Benediktsson", author_email = 'mrjbq7@gmail.com', url = "http://github.com/mrjbq7/tracdocs", download_url = "http://github.com/mrjbq7/tracdocs/zipball/master#egg=TracDocs-0.3", packages=['tracdocs'], classifiers = [ "Development Status :: 4 - Beta", "Framework :: Trac", "License :: OSI Approved :: BSD License", ], package_data={ 'tracdocs': [ 'htdocs/*.css', 'htdocs/*.js', 'templates/*.html' ] }, entry_points = { 'trac.plugins': [ 'tracdocs.web_ui = tracdocs.web_ui', ] }, dependency_links = ['http://github.com/mrjbq7/tracdocs/zipball/master#egg=TracDocs-0.3'] )
bsd-2-clause
Python
0ca7af6137fb3aa0fbee9d53e88578efad2a9dda
Annotate zilencer tests.
punchagan/zulip,christi3k/zulip,Galexrt/zulip,paxapy/zulip,peguin40/zulip,mohsenSy/zulip,KingxBanana/zulip,mohsenSy/zulip,Juanvulcano/zulip,sonali0901/zulip,zulip/zulip,niftynei/zulip,vaidap/zulip,krtkmj/zulip,andersk/zulip,Juanvulcano/zulip,Diptanshu8/zulip,dawran6/zulip,paxapy/zulip,vikas-parashar/zulip,dhcrzf/zulip,sonali0901/zulip,mahim97/zulip,Juanvulcano/zulip,rht/zulip,sharmaeklavya2/zulip,umkay/zulip,tommyip/zulip,krtkmj/zulip,dhcrzf/zulip,zacps/zulip,aakash-cr7/zulip,sup95/zulip,cosmicAsymmetry/zulip,mahim97/zulip,krtkmj/zulip,calvinleenyc/zulip,jphilipsen05/zulip,synicalsyntax/zulip,jainayush975/zulip,mahim97/zulip,rishig/zulip,jackrzhang/zulip,ahmadassaf/zulip,cosmicAsymmetry/zulip,timabbott/zulip,brockwhittaker/zulip,samatdav/zulip,SmartPeople/zulip,AZtheAsian/zulip,cosmicAsymmetry/zulip,eeshangarg/zulip,brainwane/zulip,reyha/zulip,peguin40/zulip,sharmaeklavya2/zulip,ahmadassaf/zulip,ryanbackman/zulip,sonali0901/zulip,jrowan/zulip,mohsenSy/zulip,PhilSk/zulip,synicalsyntax/zulip,krtkmj/zulip,christi3k/zulip,kou/zulip,jrowan/zulip,dattatreya303/zulip,umkay/zulip,peguin40/zulip,dattatreya303/zulip,susansls/zulip,umkay/zulip,peguin40/zulip,jainayush975/zulip,Diptanshu8/zulip,vikas-parashar/zulip,dawran6/zulip,arpith/zulip,jackrzhang/zulip,ahmadassaf/zulip,tommyip/zulip,vabs22/zulip,brockwhittaker/zulip,dawran6/zulip,TigorC/zulip,amyliu345/zulip,krtkmj/zulip,SmartPeople/zulip,Jianchun1/zulip,j831/zulip,hackerkid/zulip,jainayush975/zulip,grave-w-grave/zulip,rht/zulip,susansls/zulip,grave-w-grave/zulip,aakash-cr7/zulip,ryanbackman/zulip,zacps/zulip,jainayush975/zulip,andersk/zulip,brainwane/zulip,zulip/zulip,verma-varsha/zulip,tommyip/zulip,jrowan/zulip,jackrzhang/zulip,ahmadassaf/zulip,dhcrzf/zulip,kou/zulip,Juanvulcano/zulip,Galexrt/zulip,Jianchun1/zulip,rishig/zulip,andersk/zulip,souravbadami/zulip,showell/zulip,brainwane/zulip,zacps/zulip,grave-w-grave/zulip,timabbott/zulip,Diptanshu8/zulip,cosmicAsymmetry/zulip,eeshangarg/zulip,reyha/zulip,aakash-cr7/zulip,JPJPJPOPOP/zulip,isht3/zulip,SmartPeople/zulip,aakash-cr7/zulip,eeshangarg/zulip,punchagan/zulip,punchagan/zulip,rishig/zulip,jackrzhang/zulip,sonali0901/zulip,umkay/zulip,JPJPJPOPOP/zulip,AZtheAsian/zulip,shubhamdhama/zulip,jphilipsen05/zulip,KingxBanana/zulip,j831/zulip,susansls/zulip,isht3/zulip,verma-varsha/zulip,niftynei/zulip,hackerkid/zulip,tommyip/zulip,cosmicAsymmetry/zulip,reyha/zulip,vaidap/zulip,showell/zulip,jackrzhang/zulip,arpith/zulip,sup95/zulip,calvinleenyc/zulip,showell/zulip,verma-varsha/zulip,amanharitsh123/zulip,calvinleenyc/zulip,TigorC/zulip,Jianchun1/zulip,rht/zulip,niftynei/zulip,brainwane/zulip,ahmadassaf/zulip,susansls/zulip,jainayush975/zulip,punchagan/zulip,showell/zulip,Jianchun1/zulip,AZtheAsian/zulip,zulip/zulip,blaze225/zulip,grave-w-grave/zulip,mohsenSy/zulip,andersk/zulip,timabbott/zulip,PhilSk/zulip,punchagan/zulip,verma-varsha/zulip,sharmaeklavya2/zulip,amanharitsh123/zulip,sonali0901/zulip,reyha/zulip,amyliu345/zulip,rht/zulip,rishig/zulip,umkay/zulip,paxapy/zulip,calvinleenyc/zulip,susansls/zulip,dhcrzf/zulip,vabs22/zulip,shubhamdhama/zulip,vikas-parashar/zulip,mohsenSy/zulip,kou/zulip,zacps/zulip,jainayush975/zulip,brockwhittaker/zulip,timabbott/zulip,christi3k/zulip,jackrzhang/zulip,synicalsyntax/zulip,cosmicAsymmetry/zulip,souravbadami/zulip,jrowan/zulip,dawran6/zulip,peguin40/zulip,joyhchen/zulip,eeshangarg/zulip,punchagan/zulip,ryanbackman/zulip,synicalsyntax/zulip,niftynei/zulip,niftynei/zulip,sharmaeklavya2/zulip,JPJPJPOPOP/zulip,andersk/zulip,umkay/zulip,JPJPJPOPOP/zulip,sup95/zulip,dattatreya303/zulip,reyha/zulip,sup95/zulip,jphilipsen05/zulip,blaze225/zulip,Jianchun1/zulip,aakash-cr7/zulip,Jianchun1/zulip,rht/zulip,calvinleenyc/zulip,jrowan/zulip,showell/zulip,shubhamdhama/zulip,mahim97/zulip,vabs22/zulip,SmartPeople/zulip,dawran6/zulip,rishig/zulip,blaze225/zulip,sonali0901/zulip,tommyip/zulip,eeshangarg/zulip,j831/zulip,samatdav/zulip,sharmaeklavya2/zulip,hackerkid/zulip,punchagan/zulip,amanharitsh123/zulip,samatdav/zulip,ryanbackman/zulip,amyliu345/zulip,dhcrzf/zulip,jrowan/zulip,shubhamdhama/zulip,dattatreya303/zulip,amanharitsh123/zulip,eeshangarg/zulip,synicalsyntax/zulip,vabs22/zulip,vabs22/zulip,vaidap/zulip,paxapy/zulip,SmartPeople/zulip,hackerkid/zulip,paxapy/zulip,vikas-parashar/zulip,vikas-parashar/zulip,aakash-cr7/zulip,paxapy/zulip,umkay/zulip,jphilipsen05/zulip,Galexrt/zulip,blaze225/zulip,zacps/zulip,Diptanshu8/zulip,shubhamdhama/zulip,PhilSk/zulip,mahim97/zulip,brainwane/zulip,dawran6/zulip,zulip/zulip,kou/zulip,vabs22/zulip,Juanvulcano/zulip,KingxBanana/zulip,j831/zulip,Galexrt/zulip,krtkmj/zulip,grave-w-grave/zulip,samatdav/zulip,arpith/zulip,eeshangarg/zulip,reyha/zulip,arpith/zulip,ryanbackman/zulip,christi3k/zulip,Juanvulcano/zulip,brockwhittaker/zulip,rht/zulip,mohsenSy/zulip,dhcrzf/zulip,isht3/zulip,shubhamdhama/zulip,amanharitsh123/zulip,arpith/zulip,amyliu345/zulip,brainwane/zulip,souravbadami/zulip,shubhamdhama/zulip,showell/zulip,blaze225/zulip,joyhchen/zulip,KingxBanana/zulip,brockwhittaker/zulip,joyhchen/zulip,TigorC/zulip,niftynei/zulip,ahmadassaf/zulip,TigorC/zulip,calvinleenyc/zulip,grave-w-grave/zulip,vaidap/zulip,peguin40/zulip,joyhchen/zulip,sup95/zulip,kou/zulip,vaidap/zulip,zulip/zulip,Galexrt/zulip,isht3/zulip,rishig/zulip,timabbott/zulip,Diptanshu8/zulip,KingxBanana/zulip,Galexrt/zulip,amyliu345/zulip,joyhchen/zulip,Galexrt/zulip,PhilSk/zulip,kou/zulip,vaidap/zulip,ahmadassaf/zulip,zulip/zulip,zulip/zulip,jphilipsen05/zulip,verma-varsha/zulip,TigorC/zulip,brainwane/zulip,PhilSk/zulip,tommyip/zulip,dhcrzf/zulip,arpith/zulip,JPJPJPOPOP/zulip,mahim97/zulip,hackerkid/zulip,PhilSk/zulip,blaze225/zulip,vikas-parashar/zulip,isht3/zulip,AZtheAsian/zulip,rht/zulip,verma-varsha/zulip,rishig/zulip,souravbadami/zulip,JPJPJPOPOP/zulip,synicalsyntax/zulip,j831/zulip,zacps/zulip,AZtheAsian/zulip,Diptanshu8/zulip,SmartPeople/zulip,sharmaeklavya2/zulip,ryanbackman/zulip,synicalsyntax/zulip,showell/zulip,isht3/zulip,amyliu345/zulip,joyhchen/zulip,kou/zulip,hackerkid/zulip,souravbadami/zulip,jphilipsen05/zulip,samatdav/zulip,souravbadami/zulip,TigorC/zulip,j831/zulip,sup95/zulip,amanharitsh123/zulip,KingxBanana/zulip,susansls/zulip,christi3k/zulip,andersk/zulip,christi3k/zulip,andersk/zulip,samatdav/zulip,dattatreya303/zulip,dattatreya303/zulip,AZtheAsian/zulip,timabbott/zulip,krtkmj/zulip,brockwhittaker/zulip,jackrzhang/zulip,hackerkid/zulip,timabbott/zulip,tommyip/zulip
zilencer/tests.py
zilencer/tests.py
# -*- coding: utf-8 -*- from __future__ import absolute_import import ujson from django.test import TestCase class EndpointDiscoveryTest(TestCase): def test_staging_user(self): # type: () -> None response = self.client.get("/api/v1/deployments/endpoints", {"email": "lfaraone@zulip.com"}) data = ujson.loads(response.content) self.assertEqual(data["result"]["base_site_url"], "https://zulip.com/") self.assertEqual(data["result"]["base_api_url"], "https://zulip.com/api/") def test_prod_user(self): # type: () -> None response = self.client.get("/api/v1/deployments/endpoints", {"email": "lfaraone@mit.edu"}) data = ujson.loads(response.content) self.assertEqual(data["result"]["base_site_url"], "https://zulip.com/") self.assertEqual(data["result"]["base_api_url"], "https://api.zulip.com/")
# -*- coding: utf-8 -*- from __future__ import absolute_import import ujson from django.test import TestCase class EndpointDiscoveryTest(TestCase): def test_staging_user(self): response = self.client.get("/api/v1/deployments/endpoints", {"email": "lfaraone@zulip.com"}) data = ujson.loads(response.content) self.assertEqual(data["result"]["base_site_url"], "https://zulip.com/") self.assertEqual(data["result"]["base_api_url"], "https://zulip.com/api/") def test_prod_user(self): response = self.client.get("/api/v1/deployments/endpoints", {"email": "lfaraone@mit.edu"}) data = ujson.loads(response.content) self.assertEqual(data["result"]["base_site_url"], "https://zulip.com/") self.assertEqual(data["result"]["base_api_url"], "https://api.zulip.com/")
apache-2.0
Python
26d2e78ab9066378cc0416ad9e20e4195c015262
Bump version!
3DHubs/Ranch
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup try: import pypandoc long_description = pypandoc.convert('README.md', 'rst') except ImportError: long_description = 'Ranch does addressing in Python' setup( name='Ranch', version='0.2.5', description='Ranch does addressing in Python', long_description=long_description, author='Martijn Arts', author_email='martijn@3dhubs.com', url="https://github.com/3DHubs/ranch", packages=['ranch'], scripts=['scripts/ranch-download'], install_requires=['beautifulsoup4', 'flake8', 'requests', 'progressbar2', 'percache'], classifiers=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3 :: Only', ] )
#!/usr/bin/env python from setuptools import setup try: import pypandoc long_description = pypandoc.convert('README.md', 'rst') except ImportError: long_description = 'Ranch does addressing in Python' setup( name='Ranch', version='0.2.4', description='Ranch does addressing in Python', long_description=long_description, author='Martijn Arts', author_email='martijn@3dhubs.com', url="https://github.com/3DHubs/ranch", packages=['ranch'], scripts=['scripts/ranch-download'], install_requires=['beautifulsoup4', 'flake8', 'requests', 'progressbar2', 'percache'], classifiers=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3 :: Only', ] )
apache-2.0
Python
559237346226b344ab77ddccb3c5ff27b3046c1e
Update affineHacker: fixed some PEP8 warnings
JoseALermaIII/python-tutorials,JoseALermaIII/python-tutorials
books/CrackingCodesWithPython/Chapter15/affineHacker.py
books/CrackingCodesWithPython/Chapter15/affineHacker.py
# Affine Cipher Hacker # https://www.nostarch.com/crackingcodes/ (BSD Licensed) from books.CrackingCodesWithPython.pyperclip import copy from books.CrackingCodesWithPython.Chapter14.affineCipher import decryptMessage, SYMBOLS, getKeyParts from books.CrackingCodesWithPython.Chapter13.cryptomath import gcd from books.CrackingCodesWithPython.Chapter11.detectEnglish import isEnglish SILENT_MODE = False def main(): # You might want to copy & paste this text from the source code at # https://www.nostarch.com/crackingcodes/. myMessage = """5QG9ol3La6QI93!xQxaia6faQL9QdaQG1!!axQARLa!!A uaRLQADQALQG93!xQxaGaAfaQ1QX3o1RQARL9Qda!AafARuQLX1LQALQI1 iQX3o1RN"Q-5!1RQP36ARu""" hackedMessage = hackAffine(myMessage) if hackedMessage is not None: # The plaintext is displayed on the screen. For the convenience of # the user, we copy the text of the code to the clipboard: print('Copying hacked message to clipboard:') print(hackedMessage) copy(hackedMessage) else: print('Failed to hack encryption.') def hackAffine(message): print('Hacking...') # Python programs can be stopped at any time by pressing Ctrl-C (on # Windows) or Ctrl-D (on macOS and Linux): print('(Press Ctrl-C or Ctrl-D to quit at any time.)') # Brute-force by looping through every possible key: for key in range(len(SYMBOLS) ** 2): keyA = getKeyParts(key)[0] if gcd(keyA, len(SYMBOLS)) != 1: continue decryptedText = decryptMessage(key, message) if not SILENT_MODE: print('Tried Key %s... (%s)' % (key, decryptedText[:40])) if isEnglish(decryptedText): # Check with the user if the decrypted key has been found: print() print('Possible encryption hack:') print('Key: %s' % key) print('Decrypted message: ' + decryptedText[:200]) print() print('Enter D for done, or just press Enter to continue hacking:') response = input('> ') if response.strip().upper().startswith('D'): return decryptedText return None # If affineHacker.py is run (instead of imported as a module), call # the main() function: if __name__ == '__main__': main()
# Affine Cipher Hacker # https://www.nostarch.com/crackingcodes/ (BSD Licensed) from books.CrackingCodesWithPython.pyperclip import copy from books.CrackingCodesWithPython.Chapter14.affineCipher import decryptMessage, SYMBOLS, getKeyParts from books.CrackingCodesWithPython.Chapter13.cryptomath import gcd from books.CrackingCodesWithPython.Chapter11.detectEnglish import isEnglish SILENT_MODE = False def main(): # You might want to copy & paste this text from the source code at # https://www.nostarch.com/crackingcodes/. myMessage = """5QG9ol3La6QI93!xQxaia6faQL9QdaQG1!!axQARLa!!A uaRLQADQALQG93!xQxaGaAfaQ1QX3o1RQARL9Qda!AafARuQLX1LQALQI1 iQX3o1RN"Q-5!1RQP36ARu""" hackedMessage = hackAffine(myMessage) if hackedMessage != None: # The plaintext is displayed on the screen. For the convenience of # the user, we copy the text of the code to the clipboard: print('Copying hacked message to clipboard:') print(hackedMessage) copy(hackedMessage) else: print('Failed to hack encryption.') def hackAffine(message): print('Hacking...') # Python programs can be stopped at any time by pressing Ctrl-C (on # Windows) or Ctrl-D (on macOS and Linux): print('(Press Ctrl-C or Ctrl-D to quit at any time.)') # Brute-force by looping through every possible key: for key in range(len(SYMBOLS) ** 2): keyA = getKeyParts(key)[0] if gcd(keyA, len(SYMBOLS)) != 1: continue decryptedText = decryptMessage(key, message) if not SILENT_MODE: print('Tried Key %s... (%s)' % (key, decryptedText[:40])) if isEnglish(decryptedText): # Check with the user if the decrypted key has been found: print() print('Possible encryption hack:') print('Key: %s' % (key)) print('Decrypted message: ' + decryptedText[:200]) print() print('Enter D for done, or just press Enter to continue hacking:') response = input('> ') if response.strip().upper().startswith('D'): return decryptedText return None # If affineHacker.py is run (instead of imported as a module), call # the main() function: if __name__ == '__main__': main()
mit
Python
75cf51b1ec97b59140894c85070a6b9aa505e485
Bump app version to 2017.11
kernelci/kernelci-backend,kernelci/kernelci-backend
app/handlers/__init__.py
app/handlers/__init__.py
__version__ = "2017.11" __versionfull__ = __version__
__version__ = "2017.7.2" __versionfull__ = __version__
lgpl-2.1
Python
776bb3c48ebe0a649504b5efc42cc104e38ddace
add aiohttp_security aiohttp_session yarl to the setup.py
jettify/aiohttp_admin,jettify/aiohttp_admin,aio-libs/aiohttp_admin,jettify/aiohttp_admin,jettify/aiohttp_admin,aio-libs/aiohttp_admin,aio-libs/aiohttp_admin
setup.py
setup.py
import os import re import sys from setuptools import setup, find_packages PY_VER = sys.version_info if not PY_VER >= (3, 5): raise RuntimeError("aiohttp_admin doesn't support Python earlier than 3.5") def read(f): return open(os.path.join(os.path.dirname(__file__), f)).read().strip() install_requires = ['aiohttp', 'aiohttp_jinja2', 'aiohttp_security', 'aiohttp_session', 'python-dateutil', 'trafaret', 'yarl'] extras_require = {'motor': ['motor'], 'aiopg': ['aiopg', 'sqlalchemy'], 'aiomysql': ['aiomysql', 'sqlalchemy']} def read_version(): regexp = re.compile(r"^__version__\W*=\W*'([\d.abrc]+)'") init_py = os.path.join(os.path.dirname(__file__), 'aiohttp_admin', '__init__.py') with open(init_py) as f: for line in f: match = regexp.match(line) if match is not None: return match.group(1) else: msg = 'Cannot find version in aiohttp_admin/__init__.py' raise RuntimeError(msg) classifiers = [ 'License :: OSI Approved :: MIT License', 'Intended Audience :: Developers', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Operating System :: POSIX', 'Environment :: Web Environment', 'Development Status :: 3 - Alpha', ] setup(name='aiohttp_admin', version=read_version(), description=('admin interface for aiohttp application'), long_description='\n\n'.join((read('README.rst'), read('CHANGES.txt'))), classifiers=classifiers, platforms=['POSIX'], author="Nikolay Novik", author_email="nickolainovik@gmail.com", url='https://github.com/aio-libs/aiohttp_admin', download_url='https://github.com/aio-libs/aiohttp_admin', license='Apache 2', packages=find_packages(), install_requires=install_requires, extras_require=extras_require, include_package_data=True)
import os import re import sys from setuptools import setup, find_packages PY_VER = sys.version_info if not PY_VER >= (3, 5): raise RuntimeError("aiohttp_admin doesn't support Python earlier than 3.5") def read(f): return open(os.path.join(os.path.dirname(__file__), f)).read().strip() install_requires = ['aiohttp', 'trafaret', 'python-dateutil', 'aiohttp_jinja2'] extras_require = {'motor': ['motor'], 'aiopg': ['aiopg', 'sqlalchemy'], 'aiomysql': ['aiomysql', 'sqlalchemy']} def read_version(): regexp = re.compile(r"^__version__\W*=\W*'([\d.abrc]+)'") init_py = os.path.join(os.path.dirname(__file__), 'aiohttp_admin', '__init__.py') with open(init_py) as f: for line in f: match = regexp.match(line) if match is not None: return match.group(1) else: msg = 'Cannot find version in aiohttp_admin/__init__.py' raise RuntimeError(msg) classifiers = [ 'License :: OSI Approved :: MIT License', 'Intended Audience :: Developers', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Operating System :: POSIX', 'Environment :: Web Environment', 'Development Status :: 3 - Alpha', ] setup(name='aiohttp_admin', version=read_version(), description=('admin interface for aiohttp application'), long_description='\n\n'.join((read('README.rst'), read('CHANGES.txt'))), classifiers=classifiers, platforms=['POSIX'], author="Nikolay Novik", author_email="nickolainovik@gmail.com", url='https://github.com/aio-libs/aiohttp_admin', download_url='https://github.com/aio-libs/aiohttp_admin', license='Apache 2', packages=find_packages(), install_requires=install_requires, extras_require=extras_require, include_package_data=True)
apache-2.0
Python
953910dc440655c9c7b4d6691e66d0ef5285823a
bump release number in setup.py to reflect changes
grundleborg/nre-darwin-py,robert-b-clarke/nre-darwin-py
setup.py
setup.py
import os from setuptools import setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='nre-darwin-py', version='0.1.1', packages=['nredarwin'], install_requires=[ 'suds-jurko' ], include_package_data=True, license='BSD License', description='A simple python wrapper around National Rail Enquires LDBS SOAP Webservice', long_description=README, url='https://github.com/robert-b-clarke/nre-darwin-py', author='Robert Clarke', author_email='rob@redanorak.co.uk', test_suite='test_nredarwin', classifiers=[ 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', # example license 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Development Status :: 4 - Beta' ], )
import os from setuptools import setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='nre-darwin-py', version='0.1.0', packages=['nredarwin'], install_requires=[ 'suds-jurko' ], include_package_data=True, license='BSD License', description='A simple python wrapper around National Rail Enquires LDBS SOAP Webservice', long_description=README, url='https://github.com/robert-b-clarke/nre-darwin-py', author='Robert Clarke', author_email='rob@redanorak.co.uk', test_suite='test_nredarwin', classifiers=[ 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', # example license 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Development Status :: 4 - Beta' ], )
bsd-3-clause
Python
a682afa453a592609bf39464abc3f4b91f599822
Improve setup.py.
benspaulding/django-basic-extras
setup.py
setup.py
# -*- coding: utf-8 -*- import os from distutils.core import setup here = os.path.dirname(__file__) def get_long_desc(): return open(os.path.join(here, 'README.rst')).read() # Function borrowed from carljm. def get_version(): fh = open(os.path.join(here, 'basic_extras', '__init__.py')) try: for line in fh.readlines(): if line.startswith('__version__ ='): return line.split('=')[1].strip().strip("'") finally: fh.close() setup( name='django-basic-extras', version=get_version(), description='A small collection of some oft-used Django bits.', url='https://github.com/benspaulding/django-basic-extras/', author='Ben Spaulding', author_email='ben@benspaulding.us', license='BSD', long_description=open('README.rst').read(), packages=[ 'basic_extras', 'basic_extras.templatetags', 'basic_extras.tests', ], package_data={ 'basic_extras': [ 'locale/*/LC_MESSAGES/*', ], }, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Topic :: Internet :: WWW/HTTP :: Browsers', 'Topic :: Internet :: WWW/HTTP :: Site Management', ], )
# -*- coding: utf-8 -*- from distutils.core import setup version = __import__('basic_extras').__version__ setup( name='django-basic-extras', version=version, description='A small collection of some oft-used Django bits.', url='https://github.com/benspaulding/django-basic-extras/', author='Ben Spaulding', author_email='ben@benspaulding.us', license='BSD', long_description=open('README.rst').read(), packages=[ 'basic_extras', 'basic_extras.templatetags', 'basic_extras.tests', ], package_data={ 'basic_extras': [ 'locale/*/LC_MESSAGES/*', ], }, platforms=['Any'], classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Topic :: Internet :: WWW/HTTP :: Browsers', 'Topic :: Internet :: WWW/HTTP :: Site Management', ], )
bsd-3-clause
Python
531e13afcef1c80f36dcb18b08edb12c2b784e42
Add flake8 to the dev setup.
nens/colormaps
setup.py
setup.py
from setuptools import setup version = '1.8.3.dev0' long_description = '\n\n'.join([ open('README.rst').read(), open('CREDITS.rst').read(), open('CHANGES.rst').read(), ]) install_requires = [ 'numpy', ], tests_require = [ 'flake8', 'pytest', 'pytest-cov', ] setup(name='colormaps', version=version, description="Fast and easy discrete and continuous colormaps.", long_description=long_description, # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers classifiers=[], keywords=[], author='Arjan Verkerk', author_email='arjan.verkerk@nelen-schuurmans.nl', url='', license='MIT', packages=['colormaps'], include_package_data=True, zip_safe=False, install_requires=install_requires, tests_require=tests_require, extras_require={'test': tests_require}, entry_points={ 'console_scripts': [ ]}, )
from setuptools import setup version = '1.8.3.dev0' long_description = '\n\n'.join([ open('README.rst').read(), open('CREDITS.rst').read(), open('CHANGES.rst').read(), ]) install_requires = [ 'numpy', ], tests_require = [ 'pytest', 'pytest-cov', ] setup(name='colormaps', version=version, description="Fast and easy discrete and continuous colormaps.", long_description=long_description, # Get strings from http://www.python.org/pypi?%3Aaction=list_classifiers classifiers=[], keywords=[], author='Arjan Verkerk', author_email='arjan.verkerk@nelen-schuurmans.nl', url='', license='MIT', packages=['colormaps'], include_package_data=True, zip_safe=False, install_requires=install_requires, tests_require=tests_require, extras_require={'test': tests_require}, entry_points={ 'console_scripts': [ ]}, )
mit
Python
9c7aedc3b29d823d79409c5246290362a3c7ffdc
Add some instructions for downloading the requirements
amueller/word_cloud
examples/arabic.py
examples/arabic.py
#!/usr/bin/env python """ Create wordcloud with Arabic =============== Generating a wordcloud from Arabic text Dependencies: - bidi.algorithm - arabic_reshaper Dependencies installation: pip install python-bidi arabic_reshape """ from os import path import codecs from wordcloud import WordCloud import arabic_reshaper from bidi.algorithm import get_display d = path.dirname(__file__) # Read the whole text. f = codecs.open(path.join(d, 'arabicwords.txt'), 'r', 'utf-8') # Make text readable for a non-Arabic library like wordcloud text = arabic_reshaper.reshape(f.read()) text = get_display(text) # Generate a word cloud image wordcloud = WordCloud(font_path='fonts/NotoNaskhArabic/NotoNaskhArabic-Regular.ttf').generate(text) # Export to an image wordcloud.to_file("arabic_example.png")
#!/usr/bin/env python """ Create wordcloud with Arabic =============== Generating a wordcloud from Arabic text Other dependencies: bidi.algorithm, arabic_reshaper """ from os import path import codecs from wordcloud import WordCloud import arabic_reshaper from bidi.algorithm import get_display d = path.dirname(__file__) # Read the whole text. f = codecs.open(path.join(d, 'arabicwords.txt'), 'r', 'utf-8') # Make text readable for a non-Arabic library like wordcloud text = arabic_reshaper.reshape(f.read()) text = get_display(text) # Generate a word cloud image wordcloud = WordCloud(font_path='fonts/NotoNaskhArabic/NotoNaskhArabic-Regular.ttf').generate(text) # Export to an image wordcloud.to_file("arabic_example.png")
mit
Python
cca6d26c7eaa512ec70d9128826eb72b3679d786
Use with.
regebro/tzlocal
setup.py
setup.py
from setuptools import setup, find_packages from io import open version = '2.0.0.dev0' with open("README.rst", 'rt', encoding='UTF-8') as file: long_description = file.read() + '\n\n' with open("CHANGES.txt", 'rt', encoding='UTF-8') as file: long_description += file.read() setup(name='tzlocal', version=version, description="tzinfo object for the local timezone", long_description=long_description, classifiers=[ 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: MIT License', 'Operating System :: Microsoft :: Windows', 'Operating System :: Unix', 'Operating System :: MacOS :: MacOS X', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers keywords='timezone pytz', author='Lennart Regebro', author_email='regebro@gmail.com', url='https://github.com/regebro/tzlocal', license="MIT", packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), include_package_data=True, zip_safe=True, install_requires=[ 'pytz', ], tests_require=[ 'mock', ], test_suite='tests', )
from setuptools import setup, find_packages version = '2.0.0.dev0' long_description = open('README.rst', 'rt').read() + '\n\n' + open('CHANGES.txt', 'rt').read() setup(name='tzlocal', version=version, description="tzinfo object for the local timezone", long_description=long_description, classifiers=[ 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: MIT License', 'Operating System :: Microsoft :: Windows', 'Operating System :: Unix', 'Operating System :: MacOS :: MacOS X', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers keywords='timezone pytz', author='Lennart Regebro', author_email='regebro@gmail.com', url='https://github.com/regebro/tzlocal', license="MIT", packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), include_package_data=True, zip_safe=True, install_requires=[ 'pytz', ], tests_require=[ 'mock', ], test_suite='tests', )
mit
Python
1087151dee96d4b5dce8ca65ebcd1ea4abd8206c
Update nixio minimum version
rgerkin/python-neo,samuelgarcia/python-neo,apdavison/python-neo,JuliaSprenger/python-neo,INM-6/python-neo,NeuralEnsemble/python-neo
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup import os long_description = open("README.rst").read() install_requires = ['numpy>=1.7.1', 'quantities>=0.9.0'] extras_require = { 'hdf5io': ['h5py'], 'igorproio': ['igor'], 'kwikio': ['scipy', 'klusta'], 'neomatlabio': ['scipy>=0.12.0'], 'nixio': ['nixio>=1.5.0b2'], 'stimfitio': ['stfio'], 'axographio': ['axographio'] } if os.environ.get('TRAVIS') == 'true' and \ os.environ.get('TRAVIS_PYTHON_VERSION').startswith('2.6'): install_requires.append('unittest2>=0.5.1') with open("neo/version.py") as fp: d = {} exec(fp.read(), d) neo_version = d['version'] setup( name="neo", version=neo_version, packages=[ 'neo', 'neo.core', 'neo.io', 'neo.test', 'neo.test.iotest', 'neo.rawio', 'neo.rawio.tests'], install_requires=install_requires, extras_require=extras_require, author="Neo authors and contributors", author_email="samuel.garcia@cnrs.fr", description="Neo is a package for representing electrophysiology data in " "Python, together with support for reading a wide range of " "neurophysiology file formats", long_description=long_description, license="BSD-3-Clause", url='http://neuralensemble.org/neo', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: BSD 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.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Topic :: Scientific/Engineering'] )
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup import os long_description = open("README.rst").read() install_requires = ['numpy>=1.7.1', 'quantities>=0.9.0'] extras_require = { 'hdf5io': ['h5py'], 'igorproio': ['igor'], 'kwikio': ['scipy', 'klusta'], 'neomatlabio': ['scipy>=0.12.0'], 'nixio': ['nixio>=1.4.3'], 'stimfitio': ['stfio'], 'axographio': ['axographio'] } if os.environ.get('TRAVIS') == 'true' and \ os.environ.get('TRAVIS_PYTHON_VERSION').startswith('2.6'): install_requires.append('unittest2>=0.5.1') with open("neo/version.py") as fp: d = {} exec(fp.read(), d) neo_version = d['version'] setup( name="neo", version=neo_version, packages=[ 'neo', 'neo.core', 'neo.io', 'neo.test', 'neo.test.iotest', 'neo.rawio', 'neo.rawio.tests'], install_requires=install_requires, extras_require=extras_require, author="Neo authors and contributors", author_email="samuel.garcia@cnrs.fr", description="Neo is a package for representing electrophysiology data in " "Python, together with support for reading a wide range of " "neurophysiology file formats", long_description=long_description, license="BSD-3-Clause", url='http://neuralensemble.org/neo', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: BSD 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.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Topic :: Scientific/Engineering'] )
bsd-3-clause
Python
a3f376531b9fcf2ad6bf6c58907b61718378a944
Update my email address.
jameswhite/1pass,armooo/1pass,jameswhite/1pass,armooo/1pass,jaxzin/1pass,RazerM/1pass,georgebrock/1pass,jaxzin/1pass,georgebrock/1pass,jemmyw/1pass,RazerM/1pass
setup.py
setup.py
import os from setuptools import setup VERSION = "0.1.8" def readme(): """ Load the contents of the README file """ readme_path = os.path.join(os.path.dirname(__file__), "README.txt") with open(readme_path, "r") as f: return f.read() setup( name="1pass", version=VERSION, author="George Brocklehurst", author_email="george@georgebrock.com", description="A Python library and command line interface for 1Password", long_description=readme(), install_requires=["simple-pbkdf2", "PyCrypto", "fuzzywuzzy"], license="MIT", url="http://github.com/georgebrock/1pass", classifiers=[], packages=["onepassword"], scripts=["bin/1pass"], tests_require=["nose", "mock"], test_suite="nose.collector", )
import os from setuptools import setup VERSION = "0.1.8" def readme(): """ Load the contents of the README file """ readme_path = os.path.join(os.path.dirname(__file__), "README.txt") with open(readme_path, "r") as f: return f.read() setup( name="1pass", version=VERSION, author="George Brocklehurst", author_email="george.brocklehurst@gmail.com", description="A Python library and command line interface for 1Password", long_description=readme(), install_requires=["simple-pbkdf2", "PyCrypto", "fuzzywuzzy"], license="MIT", url="http://github.com/georgebrock/1pass", classifiers=[], packages=["onepassword"], scripts=["bin/1pass"], tests_require=["nose", "mock"], test_suite="nose.collector", )
mit
Python
400edd52dd0ec45cc20d03c67cc8619342d51990
bump version
miRTop/mirtop,miRTop/mirtop
setup.py
setup.py
"""small RNA-seq annotation""" import os from setuptools import setup, find_packages version = '0.4.24' url = 'http://github.com/mirtop/mirtop' def readme(): with open('README.md') as f: return f.read() def write_version_py(): version_py = os.path.join(os.path.dirname(__file__), 'mirtop', 'version.py') with open(version_py, "w") as out_handle: out_handle.write("\n".join(['__version__ = "%s"' % version, '__url__ = "%s"' % url])) write_version_py() setup(name='mirtop', version=version, description='Small RNA-seq annotation', long_description=readme(), long_description_content_type="text/markdown", classifiers=[ 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2.7', "Programming Language :: Python :: 3", 'Topic :: Scientific/Engineering :: Bio-Informatics' ], keywords='RNA-seq miRNA isomiRs annotation', url=url, author='Lorena Pantano', author_email='lorena.pantano@gmail.com', license='MIT', packages=find_packages(), test_suite='nose', entry_points={ 'console_scripts': ['mirtop=mirtop.command_line:main'], }, include_package_data=True, zip_safe=False)
"""small RNA-seq annotation""" import os from setuptools import setup, find_packages version = '0.4.24dev' url = 'http://github.com/mirtop/mirtop' def readme(): with open('README.md') as f: return f.read() def write_version_py(): version_py = os.path.join(os.path.dirname(__file__), 'mirtop', 'version.py') with open(version_py, "w") as out_handle: out_handle.write("\n".join(['__version__ = "%s"' % version, '__url__ = "%s"' % url])) write_version_py() setup(name='mirtop', version=version, description='Small RNA-seq annotation', long_description=readme(), long_description_content_type="text/markdown", classifiers=[ 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2.7', "Programming Language :: Python :: 3", 'Topic :: Scientific/Engineering :: Bio-Informatics' ], keywords='RNA-seq miRNA isomiRs annotation', url=url, author='Lorena Pantano', author_email='lorena.pantano@gmail.com', license='MIT', packages=find_packages(), test_suite='nose', entry_points={ 'console_scripts': ['mirtop=mirtop.command_line:main'], }, include_package_data=True, zip_safe=False)
mit
Python
a1d81b96a4f26c27bd428c4988124b8a88c3c4cd
Add hwclock.py to setup script, clean up setup script
dmand/rpi-ds1302,dmand/rpi-ds1302,dmand/rpi-ds1302
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup, Extension c_nviro = Extension('ds1302', sources = ['python.c'], libraries = ['wiringPi', 'm'], extra_compile_args = ['-std=c99'], ) setup(name='rpi_rtc', version="0.1", description='Python library for handling DS1302 RTC with Raspberry Pi', ext_modules=[c_nviro], py_modules=['rpi_time', 'hwclock'], )
#!/usr/bin/env python import os from distutils.core import setup, Extension gcc_bin = os.environ.get('CC', 'gcc') includes = os.environ.get('INCLUDE', '/usr/include') libgccfilename = os.popen(gcc_bin + " -print-libgcc-file-name").read().strip() c_nviro = Extension('ds1302', sources = ['python.c'], extra_link_args = [libgccfilename,], libraries = ['wiringPi', 'm'], extra_compile_args = ['-std=c99'], include_dirs=[includes], ) setup(name='rpi_rtc', version="0.1", description='Python library for handling DS1302 RTC with Raspberry Pi', ext_modules=[c_nviro], py_modules=['rpi_time'], )
mit
Python
385c276e4bf50c9a9816b8cf9a8abc9b86dab329
install servo tools to chroot
coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec
setup.py
setup.py
# Copyright 2015 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from setuptools import setup setup( name="ec3po", version="1.0.0rc1", author="Aseda Aboagye", author_email="aaboagye@chromium.org", url="https://www.chromium.org/chromium-os/ec-development", package_dir={"" : "util"}, packages=["ec3po"], py_modules=["ec3po.console", "ec3po.interpreter"], description="EC console interpreter.", ) setup( name="ecusb", version="1.0", author="Nick Sanders", author_email="nsanders@chromium.org", url="https://www.chromium.org/chromium-os/ec-development", package_dir={"" : "extra/tigertool"}, packages=["ecusb"], description="Tiny implementation of servod.", ) setup( name="servo_updater", version="1.0", author="Nick Sanders", author_email="nsanders@chromium.org", url="https://www.chromium.org/chromium-os/ec-development", package_dir={"" : "extra/usb_updater"}, py_modules=["servo_updater", "fw_update"], entry_points = { "console_scripts": ["servo_updater=servo_updater:main"], }, data_files=[("share/servo_updater/configs", ["extra/usb_updater/servo_v4.json", "extra/usb_updater/servo_micro.json"])], description="Servo usb updater.", ) setup( name="powerlog", version="1.0", author="Nick Sanders", author_email="nsanders@chromium.org", url="https://www.chromium.org/chromium-os/ec-development", package_dir={"" : "extra/usb_power"}, py_modules=["powerlog", "stats_manager"], entry_points = { "console_scripts": ["powerlog=powerlog:main"], }, description="Sweetberry power logger.", )
# Copyright 2015 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from setuptools import setup setup( name="ec3po", version="1.0.0rc1", author="Aseda Aboagye", author_email="aaboagye@chromium.org", url="https://www.chromium.org/chromium-os/ec-development", package_dir={"" : "util"}, packages=["ec3po"], py_modules=["ec3po.console", "ec3po.interpreter"], description="EC console interpreter.", )
bsd-3-clause
Python
204d276730e26eaebbe7befa19b31b45c51c4f48
Bump Python package version to 1.1rc1
InsightSoftwareConsortium/ITKMinimalPathExtraction,thewtex/ITKMinimalPathExtraction,InsightSoftwareConsortium/ITKMinimalPathExtraction,InsightSoftwareConsortium/ITKMinimalPathExtraction,thewtex/ITKMinimalPathExtraction,thewtex/ITKMinimalPathExtraction
setup.py
setup.py
# -*- coding: utf-8 -*- from __future__ import print_function from os import sys try: from skbuild import setup except ImportError: print('scikit-build is required to build from source.', file=sys.stderr) print('Please run:', file=sys.stderr) print('', file=sys.stderr) print(' python -m pip install scikit-build') sys.exit(1) setup( name='itk-minimalpathextraction', version='1.1rc1', author='Insight Software Consortium', author_email='itk+community@discourse.itk.org', packages=['itk'], package_dir={'itk': 'itk'}, download_url=r'https://github.com/InsightSoftwareConsortium/ITKMinimalPathExtraction', description=r'A minimal path extraction framework based on Fast Marching arrival functions.', long_description='itk-minimalpathextraction provides a minimal path ' 'extraction framework based on Fast Marching arrival ' 'functions.\n' 'Please refer to:\n' 'Mueller, D. "Fast Marching Minimal Path Extraction in ITK", ' 'Insight Journal, January-June 2008, http://hdl.handle.net/1926/1332.', classifiers=[ "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: C++", "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Education", "Intended Audience :: Healthcare Industry", "Intended Audience :: Science/Research", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Medical Science Apps.", "Topic :: Scientific/Engineering :: Information Analysis", "Topic :: Software Development :: Libraries", "Operating System :: Android", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: Unix", "Operating System :: MacOS" ], license='Apache', keywords='ITK InsightToolkit', url=r'https://github.com/InsightSoftwareConsortium/ITKMinimalPathExtraction', install_requires=[ r'itk>=5.1rc3' ] )
# -*- coding: utf-8 -*- from __future__ import print_function from os import sys try: from skbuild import setup except ImportError: print('scikit-build is required to build from source.', file=sys.stderr) print('Please run:', file=sys.stderr) print('', file=sys.stderr) print(' python -m pip install scikit-build') sys.exit(1) setup( name='itk-minimalpathextraction', version='1.0.2', author='Insight Software Consortium', author_email='itk+community@discourse.itk.org', packages=['itk'], package_dir={'itk': 'itk'}, download_url=r'https://github.com/InsightSoftwareConsortium/ITKMinimalPathExtraction', description=r'A minimal path extraction framework based on Fast Marching arrival functions.', long_description='itk-minimalpathextraction provides a minimal path ' 'extraction framework based on Fast Marching arrival ' 'functions.\n' 'Please refer to:\n' 'Mueller, D. "Fast Marching Minimal Path Extraction in ITK", ' 'Insight Journal, January-June 2008, http://hdl.handle.net/1926/1332.', classifiers=[ "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: C++", "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Education", "Intended Audience :: Healthcare Industry", "Intended Audience :: Science/Research", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Medical Science Apps.", "Topic :: Scientific/Engineering :: Information Analysis", "Topic :: Software Development :: Libraries", "Operating System :: Android", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: Unix", "Operating System :: MacOS" ], license='Apache', keywords='ITK InsightToolkit', url=r'https://github.com/InsightSoftwareConsortium/ITKMinimalPathExtraction', install_requires=[ r'itk>=5.0.0.post1' ] )
apache-2.0
Python
f79c3730a395a33096ea19ebd23612383f0c07dc
Add install_requires to setup.py
ids1024/wikicurses
setup.py
setup.py
#!/usr/bin/env python3 from distutils.core import setup setup(name='Wikicurses', version='1.1', description='A simple curses interface for accessing Wikipedia.', author='Ian D. Scott', author_email='ian@perebruin.com', license = "MIT", url='http://github.com/ids1024/wikicurses/', packages = ['wikicurses'], package_dir={'wikicurses': 'src/wikicurses'}, data_files=[ ('/etc', ['wikicurses.conf']), ('/usr/share/man/man1', ['wikicurses.1']), ('/usr/share/man/man5', ['wikicurses.conf.5']), ('/usr/share/zsh/site-functions', ['_wikicurses']) ], scripts = ['wikicurses'], install_requires = ['beautifulsoup4', 'lxml', 'urwid'], )
#!/usr/bin/env python3 from distutils.core import setup setup(name='Wikicurses', version='1.1', description='A simple curses interface for accessing Wikipedia.', author='Ian D. Scott', author_email='ian@perebruin.com', license = "MIT", url='http://github.com/ids1024/wikicurses/', packages = ['wikicurses'], package_dir={'wikicurses': 'src/wikicurses'}, data_files=[ ('/etc', ['wikicurses.conf']), ('/usr/share/man/man1', ['wikicurses.1']), ('/usr/share/man/man5', ['wikicurses.conf.5']), ('/usr/share/zsh/site-functions', ['_wikicurses']) ], scripts = ['wikicurses'], )
mit
Python
f26d63ac4e3de68706b05c1657935c6c2d5760e7
update doc
jvanasco/formencode,systemctl/formencode,systemctl/formencode,systemctl/formencode,genixpro/formencode,formencode/formencode,formencode/formencode,genixpro/formencode,genixpro/formencode,jvanasco/formencode,formencode/formencode,jvanasco/formencode
setup.py
setup.py
import sys from setuptools import setup version = '1.2.4' if not '2.3' <= sys.version < '3.0': raise ImportError('Python version not supported') tests_require = ['nose', 'pycountry', 'pyDNS'] if sys.version < '2.5': tests_require.append('elementtree') setup(name="FormEncode", version=version, #requires_python=]'>=2.3,<3', # PEP345 description="HTML form validation, generation, and conversion package", long_description="""\ FormEncode validates and converts nested structures. It allows for a declarative form of defining the validation, and decoupled processes for filling and generating forms. The official repo is at BitBucket: https://bitbucket.org/formencode/official-formencode/ """, classifiers=["Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Python Software Foundation License", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules", ], author="Ian Bicking", author_email="ianb@colorstudy.com", url="http://formencode.org", license="PSF", zip_safe=False, packages=["formencode", "formencode.util"], include_package_data=True, test_suite='nose.collector', tests_require=tests_require, )
import sys from setuptools import setup version = '1.2.4' if not '2.3' <= sys.version < '3.0': raise ImportError('Python version not supported') tests_require = ['nose', 'pycountry', 'pyDNS'] if sys.version < '2.5': tests_require.append('elementtree') setup(name="FormEncode", version=version, #requires_python=]'>=2.3,<3', # PEP345 description="HTML form validation, generation, and conversion package", long_description="""\ FormEncode validates and converts nested structures. It allows for a declarative form of defining the validation, and decoupled processes for filling and generating forms. It has a `subversion repository <http://svn.formencode.org/FormEncode/trunk#egg=FormEncode-dev>`_ that you can install from with ``easy_install FormEncode==dev`` """, classifiers=["Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Python Software Foundation License", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules", ], author="Ian Bicking", author_email="ianb@colorstudy.com", url="http://formencode.org", license="PSF", zip_safe=False, packages=["formencode", "formencode.util"], include_package_data=True, test_suite='nose.collector', tests_require=tests_require, )
mit
Python
13e4f7b71398bd8e318a22d5d31086e773c99162
revert version bump
caravancoop/configstore
setup.py
setup.py
from setuptools import setup setup( name='configstore', version='0.1', description='Retrieve config from different backends', url='https://github.com/caravancoop/configstore', author='Antoine Reversat', author_email='antoine@caravan.coop', packages=[ 'configstore', 'configstore.backends', ], classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ], zip_safe=False, )
from setuptools import setup setup( name='configstore', version='0.2', description='Retrieve config from different backends', url='https://github.com/caravancoop/configstore', author='Antoine Reversat', author_email='antoine@caravan.coop', packages=[ 'configstore', 'configstore.backends', ], classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ], zip_safe=False, )
mit
Python
c5f68c023f53fd8637ebe549b5089301993b33de
bump version
Bogdanp/markii,Bogdanp/markii,Bogdanp/markii
setup.py
setup.py
from setuptools import setup with open("README.md") as f: long_description = f.read() setup( name="markii", version="0.2.6", description="MarkII is an improved development-mode error handler for Python web applications.", long_description=long_description, packages=["markii", "markii.frameworks"], install_requires=["jinja2"], include_package_data=True, author="Bogdan Popa", author_email="popa.bogdanp@gmail.com", url="https://github.com/Bogdanp/markii", keywords=["web", "errors", "debugging"], classifiers=[ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", ] )
from setuptools import setup with open("README.md") as f: long_description = f.read() setup( name="markii", version="0.2.5", description="MarkII is an improved development-mode error handler for Python web applications.", long_description=long_description, packages=["markii", "markii.frameworks"], install_requires=["jinja2"], include_package_data=True, author="Bogdan Popa", author_email="popa.bogdanp@gmail.com", url="https://github.com/Bogdanp/markii", keywords=["web", "errors", "debugging"], classifiers=[ "Development Status :: 3 - Alpha", "License :: OSI Approved :: MIT License", ] )
mit
Python
b8b2932cc8a945820b5f968a95ee93007047fb6e
remove uvloop as default requirement
Kilerd/nougat
setup.py
setup.py
from setuptools import setup from os import path from nougat import __version__ here = path.abspath(path.dirname(__file__)) setup_kwargs = { 'name': 'nougat', 'version': __version__, 'description': 'Async API framework with human friendly params definition and automatic document', 'url': 'https://github.com/Kilerd/nougat', 'author': 'Kilerd Chan', 'author_email': 'blove694@gmail.com', 'license': 'MIT', 'classifiers': [ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'Environment :: Web Environment', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ], 'keywords': 'web framework async', 'packages': ['nougat'], 'install_requires': [ 'httptools>=0.0.9', 'aiofiles>=0.3.0', 'aiohttp>=2.0.7', 'toml>=0.9.2' ], } setup(**setup_kwargs)
from setuptools import setup from os import path from nougat import __version__ here = path.abspath(path.dirname(__file__)) setup_kwargs = { 'name': 'nougat', 'version': __version__, 'description': 'Async API framework with human friendly params definition and automatic document', 'url': 'https://github.com/Kilerd/nougat', 'author': 'Kilerd Chan', 'author_email': 'blove694@gmail.com', 'license': 'MIT', 'classifiers': [ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'Environment :: Web Environment', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ], 'keywords': 'web framework async', 'packages': ['nougat'], 'install_requires': [ 'httptools>=0.0.9', 'uvloop>=0.8.0', 'aiofiles>=0.3.0', 'aiohttp>=2.0.7', 'toml>=0.9.2' ], } try: setup(**setup_kwargs) except Exception as exception: setup_kwargs['install_requires'].remove('uvloop>=0.8.0') setup(**setup_kwargs)
mit
Python
83a801718b265476f6e42291a80f27b09ea61392
add pep8 cmdclass to setup.py
racker/python-twisted-keystone-agent
setup.py
setup.py
from setuptools import setup class Pep8Command(Command): description = "run pep8 script" user_options = [] def initialize_options(self): pass def finalize_options(self): pass def run(self): try: import pep8 pep8 except ImportError: print ('Missing "pep8" library. You can install it using pip: ' 'pip install pep8') sys.exit(1) cwd = os.getcwd() retcode = call(('pep8 %s/libcloud/' % (cwd)).split(' ')) sys.exit(retcode) setup( name='txKeystone', version='0.1', description='A Twisted Agent implementation which authenticates' + ' to Keystone and uses the Keystone auth credentials' + ' to authenticate against requested urls.', classifiers=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python :: 2.7', 'Framework :: Twisted' ], license='APL2', url='https://github.com/racker/python-twisted-keystone-agent', cmdclass={ 'pep8': Pep8Command }, packages=['txKeystone'], install_requires=['Twisted'], )
from setuptools import setup setup( name='txKeystone', version='0.1', description='A Twisted Agent implementation which authenticates to Keystone and uses the keystone auth credentials to authenticate against requested urls.', classifiers=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python :: 2.7', 'Framework :: Twisted' ], license='APL2', url='https://github.com/racker/python-twisted-keystone-agent', packages=['txKeystone'], install_requires=['Twisted'], )
apache-2.0
Python
94cfcc008332472881570bfad046ad5e476ae6ee
Add PyPy support
tyrannosaurus/beretta
setup.py
setup.py
import sys from distutils.core import setup from distutils.extension import Extension base = { 'name': 'beretta', 'url': 'https://github.com/tyrannosaurus/beretta', 'author': 'beretta contributors', 'author_email': 'github@require.pm', 'version': '0.2.5', 'description': 'BERT (de)serializer for your Pythons', 'license': 'MIT', 'classifiers': ( 'Intended Audience :: Developers', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.3', ), 'install_requires': ( 'termformat>=0.1.5', ) } if hasattr(sys, 'pypy_version_info'): modules = { 'packages': ['beretta'], } else: modules = { 'ext_modules': [ Extension('beretta', ['beretta.c']) ], } base.update(modules) setup(**base)
from distutils.core import setup from distutils.extension import Extension setup( name = 'beretta', author = 'beretta contributors', author_email = 'github@require.pm', url = 'https://github.com/dieselpoweredkitten/beretta', version = '0.2.4', description = 'BERT (de)serializer for your Pythons', license = 'MIT', ext_modules = [Extension('beretta', ['beretta.c'])], classifiers = ( 'Intended Audience :: Developers', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.3', ), install_requires = ( 'termformat>=0.1.2', ) )
mit
Python
aaf7ae13b2f6ab2fe809d3725e85b190dd0c0424
Change requirements versions OF-France
openfisca/openfisca-france-data,openfisca/openfisca-france-data,openfisca/openfisca-france-data
setup.py
setup.py
# -*- coding: utf-8 -*- from setuptools import setup, find_packages with open('README.md') as file: long_description = file.read() setup( name = "OpenFisca-France-Data", version = "0.15.0", description = "OpenFisca-France-Data module to work with French survey data", long_description = long_description, long_description_content_type="text/markdown", author = "OpenFisca Team", author_email = "contact@openfisca.fr", url = "https://github.com/openfisca/openfisca-france-data", license = "http://www.fsf.org/licensing/licenses/agpl-3.0.html", keywords = "tax benefit social survey data microsimulation", classifiers = [ "Development Status :: 2 - Pre-Alpha", "License :: OSI Approved :: GNU Affero General Public License v3", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 3.7", "Topic :: Scientific/Engineering :: Information Analysis", ], python_requires = ">= 3.7", install_requires = [ "multipledispatch >= 0.6.0, < 1.0.0", "openFisca-france >= 48.10.0, < 51.0.0", "openFisca-survey-manager >= 0.38.2, < 1.0.0", "wquantiles >= 0.3.0, < 1.0.0", # To compute weighted quantiles "matplotlib >= 3.1.1, < 4.0.0" ], extras_require = { "test": [ "autopep8 >= 1.4.0, < 1.5.0", "flake8 >= 3.7.0, < 3.8.0", "ipython >= 7.5.0, < 8.0.0", "mypy >= 0.670, < 1.0.0", "pytest >= 4.3.0, < 5.0.0", "pytest-cov >= 2.6.0, < 3.0.0", "toolz >= 0.9.0, < 1.0.0", ], }, packages = find_packages(exclude = ("docs", "tests")), )
# -*- coding: utf-8 -*- from setuptools import setup, find_packages with open('README.md') as file: long_description = file.read() setup( name = "OpenFisca-France-Data", version = "0.15.0", description = "OpenFisca-France-Data module to work with French survey data", long_description = long_description, long_description_content_type="text/markdown", author = "OpenFisca Team", author_email = "contact@openfisca.fr", url = "https://github.com/openfisca/openfisca-france-data", license = "http://www.fsf.org/licensing/licenses/agpl-3.0.html", keywords = "tax benefit social survey data microsimulation", classifiers = [ "Development Status :: 2 - Pre-Alpha", "License :: OSI Approved :: GNU Affero General Public License v3", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 3.7", "Topic :: Scientific/Engineering :: Information Analysis", ], python_requires = ">= 3.7", install_requires = [ "multipledispatch >= 0.6.0, < 1.0.0", "openFisca-france >= 48.10.0, < 49.0.0", "openFisca-survey-manager >= 0.38.2, < 1.0.0", "wquantiles >= 0.3.0, < 1.0.0", # To compute weighted quantiles "matplotlib >= 3.1.1, < 4.0.0" ], extras_require = { "test": [ "autopep8 >= 1.4.0, < 1.5.0", "flake8 >= 3.7.0, < 3.8.0", "ipython >= 7.5.0, < 8.0.0", "mypy >= 0.670, < 1.0.0", "pytest >= 4.3.0, < 5.0.0", "pytest-cov >= 2.6.0, < 3.0.0", "toolz >= 0.9.0, < 1.0.0", ], }, packages = find_packages(exclude = ("docs", "tests")), )
agpl-3.0
Python
b9c0f5c6fe907bafec6cd909e3d13d5a0020e60b
add download_url to setup.py
th0th/metu-cafeteria-menu
setup.py
setup.py
# -*- encoding: utf-8 -*- from setuptools import setup setup( name='metu-cafeteria-menu', version='0.0.1', description="A utility for fetching Middle East Technical University's cafeteria menu.", keywords=['metu', 'cafeteria', 'menu'], url='https://github.com/th0th/metu-cafeteria-menu', download_url='https://github.com/th0th/metu-cafeteria-menu/tarball/0.0.1', author=u'Gökhan Sarı', author_email='me@th0th.me', license='MIT', install_requires=[ 'beautifulsoup4==4.4.1', ], zip_safe=False, )
# -*- encoding: utf-8 -*- from setuptools import setup setup( name='metu-cafeteria-menu', version='0.0.1', description="A utility for fetching Middle East Technical University's cafeteria menu.", keywords=['metu', 'cafeteria', 'menu'], url='https://github.com/th0th/metu-cafeteria-menu', author=u'Gökhan Sarı', author_email='me@th0th.me', license='MIT', install_requires=[ 'beautifulsoup4==4.4.1', ], zip_safe=False, )
mit
Python
7439a237b689fd42a758f8bf9a0774c77857b7f0
update version number in setup.py
chovanecm/sacredboard,chovanecm/sacredboard,chovanecm/sacredboard
setup.py
setup.py
from setuptools import setup, find_packages with open('description.txt') as f: long_description = ''.join(f.readlines()) def get_requirements(): with open("requirements.txt") as f: return f.readlines() setup( author="Martin Chovanec", author_email="chovamar@fit.cvut.cz", classifiers=[ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", ], description="SacredBoard", long_description=long_description, license="MIT License", url="https://github.com/chovanecm/sacredboard", name="sacredboard", keywords="sacred", packages=find_packages(), include_package_data=True, entry_points={ "console_scripts": [ "sacredboard = sacredboard.webapp:run" ] }, install_requires=get_requirements(), setup_requires=["pytest-runner"], tests_require=["pytest"], version="0.1.1" )
from setuptools import setup, find_packages with open('description.txt') as f: long_description = ''.join(f.readlines()) def get_requirements(): with open("requirements.txt") as f: return f.readlines() setup( author="Martin Chovanec", author_email="chovamar@fit.cvut.cz", classifiers=[ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", ], description="SacredBoard", long_description=long_description, license="MIT License", url="https://github.com/chovanecm/sacredboard", name="sacredboard", keywords="sacred", packages=find_packages(), include_package_data=True, entry_points={ "console_scripts": [ "sacredboard = sacredboard.webapp:run" ] }, install_requires=get_requirements(), setup_requires=["pytest-runner"], tests_require=["pytest"], version="0.1" )
mit
Python
635c08365ef8bb24718df5b771110e91758f1032
update url
tilda/lolbot,tilda/lolbot,tilda/lolbot
setup.py
setup.py
from setuptools import setup setup(name='lolbot', version='2', description='A fun bot', url='https://lolbot.lmao.tf', author='S Stewart', python_requires='>=3.6')
from setuptools import setup setup(name='lolbot', version='2', description='A fun bot', url='https://lolbot.banne.club', author='S Stewart', python_requires='>=3.6')
mit
Python
1fbec2f312773c52ddaffcb54a22d6d76efae07a
add comment & more suitable fallback code
aliyun/aliyun-cli,aliyun/aliyun-cli
aliyuncli/aliyunCliConfiugre.py
aliyuncli/aliyunCliConfiugre.py
''' Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you 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. ''' class configure: ## the server used for update checking is offline. server_url = "http://127.0.0.1/cli/descriptor" update_url = "http://127.0.0.1/aliyuncli/update/latestversion/version_test.rar" update_time = "20150429"
''' Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you 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. ''' class configure: server_url = "http://*****/cli/descriptor" update_url = "http://****/aliyuncli/update/latestversion/version_test.rar" update_time = "20150429"
apache-2.0
Python
b775e34fdff8a3ed95bb7283ee0029beda4cfaff
set devstatus to production and add Python 3.7
grandich/puppetboard,johnzimm/puppetboard,johnzimm/xx-puppetboard,puppet-community/puppetboard,grandich/puppetboard,puppet-community/puppetboard,johnzimm/puppetboard,voxpupuli/puppetboard,voxpupuli/puppetboard,johnzimm/xx-puppetboard,johnzimm/xx-puppetboard,grandich/puppetboard,grandich/puppetboard,puppet-community/puppetboard,johnzimm/xx-puppetboard,voxpupuli/puppetboard,johnzimm/puppetboard
setup.py
setup.py
import sys import codecs from setuptools.command.test import test as TestCommand from setuptools import setup, find_packages from puppetboard.version import __version__ with codecs.open('README.md', encoding='utf-8') as f: README = f.read() with codecs.open('CHANGELOG.md', encoding='utf-8') as f: CHANGELOG = f.read() requirements = None with open('requirements.txt', 'r') as f: requirements = [line.rstrip() for line in f.readlines() if not line.startswith('-')] requirements_test = None with open('requirements-test.txt', 'r') as f: requirements_test = [line.rstrip() for line in f.readlines() if not line.startswith('-')] class PyTest(TestCommand): user_options = [('pytest-args=', 'a', "Arguments to pass to pytest")] def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = '--cov=puppetboard --cov-report=term-missing' def run_tests(self): import shlex import pytest errno = pytest.main(shlex.split(self.pytest_args)) sys.exit(errno) setup( name='puppetboard', version=__version__, author='Vox Pupuli', author_email='voxpupuli@groups.io', packages=find_packages(), url='https://github.com/voxpupuli/puppetboard', license='Apache License 2.0', description='Web frontend for PuppetDB', include_package_data=True, long_description='\n'.join((README, CHANGELOG)), zip_safe=False, install_requires=requirements, tests_require=requirements_test, extras_require={'test': requirements_test}, keywords="puppet puppetdb puppetboard", cmdclass={'test': PyTest}, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', 'Framework :: Flask', 'Intended Audience :: System Administrators', 'Natural Language :: English', 'License :: OSI Approved :: Apache Software License', 'Operating System :: POSIX', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', ], )
import sys import codecs from setuptools.command.test import test as TestCommand from setuptools import setup, find_packages from puppetboard.version import __version__ with codecs.open('README.md', encoding='utf-8') as f: README = f.read() with codecs.open('CHANGELOG.md', encoding='utf-8') as f: CHANGELOG = f.read() requirements = None with open('requirements.txt', 'r') as f: requirements = [line.rstrip() for line in f.readlines() if not line.startswith('-')] requirements_test = None with open('requirements-test.txt', 'r') as f: requirements_test = [line.rstrip() for line in f.readlines() if not line.startswith('-')] class PyTest(TestCommand): user_options = [('pytest-args=', 'a', "Arguments to pass to pytest")] def initialize_options(self): TestCommand.initialize_options(self) self.pytest_args = '--cov=puppetboard --cov-report=term-missing' def run_tests(self): import shlex import pytest errno = pytest.main(shlex.split(self.pytest_args)) sys.exit(errno) setup( name='puppetboard', version=__version__, author='Vox Pupuli', author_email='voxpupuli@groups.io', packages=find_packages(), url='https://github.com/voxpupuli/puppetboard', license='Apache License 2.0', description='Web frontend for PuppetDB', include_package_data=True, long_description='\n'.join((README, CHANGELOG)), zip_safe=False, install_requires=requirements, tests_require=requirements_test, extras_require={'test': requirements_test}, keywords="puppet puppetdb puppetboard", cmdclass={'test': PyTest}, classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Web Environment', 'Framework :: Flask', 'Intended Audience :: System Administrators', 'Natural Language :: English', 'License :: OSI Approved :: Apache Software License', 'Operating System :: POSIX', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ], )
apache-2.0
Python
601a4f27a022c01159725bc6e74a367a2cacfa0a
Bump to corrected pinax-invitations
pinax/pinax-teams,pinax/pinax-teams,jacobwegner/pinax-teams
setup.py
setup.py
import codecs from os import path from setuptools import find_packages, setup def read(*parts): filename = path.join(path.dirname(__file__), *parts) with codecs.open(filename, encoding="utf-8") as fp: return fp.read() setup( author="", author_email="", description="An app for Django sites that supports open, by invitation, and by application teams", name="pinax-teams", long_description=read("README.rst"), version="0.11.1", url="http://pinax-teams.rtfd.org/", license="MIT", packages=find_packages(), tests_require=[ "Django>=1.7", "django-reversion>=1.8.1", "pinax-invitations>=4.0.1", "unicode-slugify>=0.1.1", "Pillow>=2.3.0", "django-user-accounts>=1.3", "six>=1.9.0" ], install_requires=[ "Django>=1.7", "django-reversion>=1.8.1", "pinax-invitations>=4.0.1", "unicode-slugify>=0.1.1", "Pillow>=2.3.0", "django-user-accounts>=1.3", "six>=1.9.0" ], test_suite="runtests.runtests", classifiers=[ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Topic :: Software Development :: Libraries :: Python Modules", ], zip_safe=False )
import codecs from os import path from setuptools import find_packages, setup def read(*parts): filename = path.join(path.dirname(__file__), *parts) with codecs.open(filename, encoding="utf-8") as fp: return fp.read() setup( author="", author_email="", description="An app for Django sites that supports open, by invitation, and by application teams", name="pinax-teams", long_description=read("README.rst"), version="0.11.1", url="http://pinax-teams.rtfd.org/", license="MIT", packages=find_packages(), tests_require=[ "Django>=1.7", "django-reversion>=1.8.1", "pinax-invitations>=4.0.0", "unicode-slugify>=0.1.1", "Pillow>=2.3.0", "django-user-accounts>=1.3", "six>=1.9.0" ], install_requires=[ "Django>=1.7", "django-reversion>=1.8.1", "pinax-invitations>=4.0.0", "unicode-slugify>=0.1.1", "Pillow>=2.3.0", "django-user-accounts>=1.3", "six>=1.9.0" ], test_suite="runtests.runtests", classifiers=[ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Topic :: Software Development :: Libraries :: Python Modules", ], zip_safe=False )
mit
Python
22fff2482e6e747e3b3cfe6d7416b37e13067693
Update version
obsrvbl/flowlogs-reader
setup.py
setup.py
# Copyright 2015 Observable Networks # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. from setuptools import setup, find_packages setup( name='flowlogs_reader', version='2.1.0', license='Apache', url='https://github.com/obsrvbl/flowlogs-reader', description='Reader for AWS VPC Flow Logs', long_description=( 'This project provides a convenient interface for accessing ' 'VPC Flow Log data stored in Amazon CloudWatch Logs.' ), author='Observable Networks', author_email='support@observable.net', classifiers=[ 'Intended Audience :: Developers', 'Intended Audience :: Information Technology', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python :: 3', ], entry_points={ 'console_scripts': [ 'flowlogs_reader = flowlogs_reader.__main__:main', ], }, packages=find_packages(exclude=[]), python_requires='>=3.4', test_suite='tests', install_requires=[ 'boto3>=1.7.75', 'botocore>=1.10.75', 'python-dateutil>=2.7.0' ], )
# Copyright 2015 Observable Networks # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. from setuptools import setup, find_packages setup( name='flowlogs_reader', version='2.0.0', license='Apache', url='https://github.com/obsrvbl/flowlogs-reader', description='Reader for AWS VPC Flow Logs', long_description=( 'This project provides a convenient interface for accessing ' 'VPC Flow Log data stored in Amazon CloudWatch Logs.' ), author='Observable Networks', author_email='support@observable.net', classifiers=[ 'Intended Audience :: Developers', 'Intended Audience :: Information Technology', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python :: 3', ], entry_points={ 'console_scripts': [ 'flowlogs_reader = flowlogs_reader.__main__:main', ], }, packages=find_packages(exclude=[]), python_requires='>=3.4', test_suite='tests', install_requires=[ 'boto3>=1.7.75', 'botocore>=1.10.75', 'python-dateutil>=2.7.0' ], )
apache-2.0
Python
3775c40662b55d922f72bfbf639acaae02e100e8
install requires requests
baliame/http-hmac-python
setup.py
setup.py
#from setuptools import setup, find_packages from setuptools import * description='An implementation of the Acquia HTTP HMAC Spec (https://github.com/acquia/http-hmac-spec) in Python.' setup( name='http-hmac-python', version='2.0.1', description=description, long_description=description, url='https://github.com/baliame/http-hmac-python', author='Baliame', author_email='akos.toth@cheppers.com', license='MIT', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'Topic :: Software Development :: Libraries', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], keywords='hmac development library', packages=find_packages(exclude=['features']), install_requires=[ "requests" ], extras_require={ 'test': ['behave'] }, )
#from setuptools import setup, find_packages from setuptools import * description='An implementation of the Acquia HTTP HMAC Spec (https://github.com/acquia/http-hmac-spec) in Python.' setup( name='http-hmac-python', version='2.0.0', description=description, long_description=description, url='https://github.com/baliame/http-hmac-python', author='Baliame', author_email='akos.toth@cheppers.com', license='MIT', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'Topic :: Software Development :: Libraries', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], keywords='hmac development library', packages=find_packages(exclude=['features']), extras_require={ 'test': ['behave'] }, )
mit
Python
dd1ea91f94c839ad96aed69bd65dddfccb756433
Fix line too long in setup.py
Pawamoy/dependenpy,Pawamoy/dependenpy
setup.py
setup.py
#!/usr/bin/env python # -*- encoding: utf-8 -*- from __future__ import absolute_import, print_function import io import re from glob import glob from os.path import basename, dirname, join, splitext from setuptools import find_packages, setup def read(*names, **kwargs): return io.open( join(dirname(__file__), *names), encoding=kwargs.get('encoding', 'utf8') ).read() setup( name='dependenpy', version='2.0.2', license='MPL 2.0', description='A Python module that build dependency matrices ' 'between other modules.', long_description='%s\n%s' % ( re.compile('^.. start-badges.*^.. end-badges', re.M | re.S) .sub('', read('README.rst')), re.sub(':[a-z]+:`~?(.*?)`', r'``\1``', read('CHANGELOG.rst')) ), author='Timothee Mazzucotelli', author_email='timothee.mazzucotelli@gmail.com', url='https://github.com/Pawamoy/dependenpy', packages=find_packages('src'), package_dir={'': 'src'}, py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')], include_package_data=True, zip_safe=False, classifiers=[ # http://pypi.python.org/pypi?%3Aaction=list_classifiers 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)', 'Operating System :: Unix', 'Operating System :: POSIX', 'Operating System :: Microsoft :: Windows', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Utilities', ], keywords=[ 'dependenpy', ], install_requires=[ # eg: 'aspectlib==1.1.1', 'six>=1.7', ], extras_require={ # eg: # 'rst': ['docutils>=0.11'], # ':python_version=="2.6"': ['argparse'], }, )
#!/usr/bin/env python # -*- encoding: utf-8 -*- from __future__ import absolute_import, print_function import io import re from glob import glob from os.path import basename, dirname, join, splitext from setuptools import find_packages, setup def read(*names, **kwargs): return io.open( join(dirname(__file__), *names), encoding=kwargs.get('encoding', 'utf8') ).read() setup( name='dependenpy', version='2.0.2', license='MPL 2.0', description='A Python module that build dependency matrices ' 'between other modules.', long_description='%s\n%s' % ( re.compile('^.. start-badges.*^.. end-badges', re.M | re.S) .sub('', read('README.rst')), re.sub(':[a-z]+:`~?(.*?)`', r'``\1``', read('CHANGELOG.rst')) ), author='Timothee Mazzucotelli', author_email='timothee.mazzucotelli@gmail.com', url='https://github.com/Pawamoy/dependenpy', packages=find_packages('src'), package_dir={'': 'src'}, py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')], include_package_data=True, zip_safe=False, classifiers=[ # http://pypi.python.org/pypi?%3Aaction=list_classifiers 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)', 'Operating System :: Unix', 'Operating System :: POSIX', 'Operating System :: Microsoft :: Windows', 'Framework :: Django', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Utilities', ], keywords=[ 'dependenpy', ], install_requires=[ # eg: 'aspectlib==1.1.1', 'six>=1.7', ], extras_require={ # eg: # 'rst': ['docutils>=0.11'], # ':python_version=="2.6"': ['argparse'], }, )
isc
Python
53def8fc2d119adf85ca971cb4fbc1c3e615d3ae
Bump to 0.2
rtfd/sphinx-autoapi,rtfd/sphinx-autoapi,rtfd/sphinx-autoapi,rtfd/sphinx-autoapi
setup.py
setup.py
import codecs try: from setuptools import setup, find_packages extra_setup = dict( install_requires=[ 'PyYAML', 'epyparse', 'epydoc', 'sphinx', 'sphinxcontrib-golangdomain', 'sphinxcontrib-dotnetdomain', 'unidecode', ], test_suite='nose.collector', tests_require=['nose', 'mock'], ) except ImportError: from distutils.core import setup extra_setup = dict( requires=[ 'PyYAML', 'epyparse', 'epydoc', 'sphinx' 'sphinxcontrib-golangdomain', 'sphinxcontrib-dotnetdomain', 'unidecode', ], ) setup( name='sphinx-autoapi', version='0.2.0', author='Eric Holscher', author_email='eric@ericholscher.com', url='http://github.com/ericholscher/sphinx-autoapi', license='BSD', description='', package_dir={'': '.'}, packages=find_packages('.'), long_description=codecs.open("README.rst", "r", "utf-8").read(), # trying to add files... include_package_data=True, package_data={ 'autoapi': [ 'templates/*.rst', 'templates/*/*.rst', ], }, **extra_setup )
import codecs try: from setuptools import setup, find_packages extra_setup = dict( install_requires=[ 'PyYAML', 'epyparse', 'epydoc', 'sphinx', 'sphinxcontrib-golangdomain', 'sphinxcontrib-dotnetdomain', 'unidecode', ], test_suite='nose.collector', tests_require=['nose', 'mock'], ) except ImportError: from distutils.core import setup extra_setup = dict( requires=[ 'PyYAML', 'epyparse', 'epydoc', 'sphinx' 'sphinxcontrib-golangdomain', 'sphinxcontrib-dotnetdomain', 'unidecode', ], ) setup( name='sphinx-autoapi', version='0.1.1', author='Eric Holscher', author_email='eric@ericholscher.com', url='http://github.com/ericholscher/sphinx-autoapi', license='BSD', description='', package_dir={'': '.'}, packages=find_packages('.'), long_description=codecs.open("README.rst", "r", "utf-8").read(), # trying to add files... include_package_data=True, package_data={ 'autoapi': [ 'templates/*.rst', 'templates/*/*.rst', ], }, **extra_setup )
mit
Python
6fdddedb7895bff257727b2cbce4dd89b8115228
Update version
HIIT/hybra-core,HIIT/hybra-core,HIIT/hybra-core,HIIT/hybra-core,HIIT/hybra-core
setup.py
setup.py
#!/usr/bin/python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = 'hybra-core', version = '0.1.2a', description = 'Toolkit for data management and analysis.', keywords = ['data management', 'data analysis'], url = 'https://github.com/HIIT/hybra-core', author = 'Matti Nelimarkka, Juho Pääkkönen, Arto Kekkonen', author_email = 'matti.nelimarkka@aalto.fi, juho.paakkonen@aalto.fi, arto.kekkonen@helsinki.fi', packages = find_packages(exclude=['docs', 'test']), package_data={ 'hybra.timeline' : ['*.js', '*.css', '*.html'], 'hybra.network' : ['*.js', '*.css', '*.html'], 'hybra.analysis' : ['*.r'], 'hybra.analysis.topicmodel' : ['*.r', '*.txt'] }, licence = 'MIT', install_requires=[ 'dateparser>=0.5.1', 'GitPython>=2.0.6', 'jupyter>=1.0.0', 'jupyter_client>=4.3.0', 'jupyter_console>=4.1.1', 'jupyter_core>=4.1.0', 'matplotlib>=1.5.3', 'nbstripout>=0.2.9', 'networkx>=1.11', 'numpy>=1.11.0', 'requests>=2.9.1', 'scikit-learn>=0.17.1', 'scipy>=0.17.1', 'XlsxWriter>=0.9.6', 'wordcloud>=1.2.1', 'tldextract>=2.1.0', 'pandas>=0.22.0', 'rpy2<=2.8.6' ], # See https://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Science/Research', 'Topic :: Scientific/Engineering', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2.7', 'Programming Language :: JavaScript' ] )
#!/usr/bin/python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = 'hybra-core', version = '0.1.1a5', description = 'Toolkit for data management and analysis.', keywords = ['data management', 'data analysis'], url = 'https://github.com/HIIT/hybra-core', author = 'Matti Nelimarkka, Juho Pääkkönen, Arto Kekkonen', author_email = 'matti.nelimarkka@aalto.fi, juho.paakkonen@aalto.fi, arto.kekkonen@helsinki.fi', packages = find_packages(exclude=['docs', 'test']), package_data={ 'hybra.timeline' : ['*.js', '*.css', '*.html'], 'hybra.network' : ['*.js', '*.css', '*.html'], 'hybra.analysis' : ['*.r'], 'hybra.analysis.topicmodel' : ['*.r', '*.txt'] }, licence = 'MIT', install_requires=[ 'dateparser>=0.5.1', 'GitPython>=2.0.6', 'jupyter>=1.0.0', 'jupyter_client>=4.3.0', 'jupyter_console>=4.1.1', 'jupyter_core>=4.1.0', 'matplotlib>=1.5.3', 'nbstripout>=0.2.9', 'networkx>=1.11', 'numpy>=1.11.0', 'requests>=2.9.1', 'scikit-learn>=0.17.1', 'scipy>=0.17.1', 'XlsxWriter>=0.9.6', 'wordcloud>=1.2.1', 'tldextract>=2.1.0', 'pandas>=0.22.0', 'rpy2<=2.8.6' ], # See https://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Science/Research', 'Topic :: Scientific/Engineering', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2.7', 'Programming Language :: JavaScript' ] )
mit
Python
c5d1d1cfad5b0d4d52badfd8023cd3059501a10b
fix long_description issue
wattlebird/ranking
setup.py
setup.py
from setuptools import setup, find_packages import os if os.path.exists('MANIFEST'): os.remove('MANIFEST') with open('requirements.txt') as f: required = f.read().splitlines() setup(name="rankit", version="0.3.1", packages=find_packages(exclude=['example']), install_requires=required, include_package_data=True, description="A simple ranking solution for matches.", long_description=open('Readme.rst').read(), author="Ronnie Wang", author_email="geniusxiaoguai@gmail.com", url="http://github.com/wattlebird/ranking", license="MIT", classifiers=['Intended Audience :: Science/Research', 'Intended Audience :: Developers', 'License :: OSI Approved', 'Programming Language :: Python', 'Topic :: Scientific/Engineering', 'Operating System :: Unix', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6'], test_suite = 'nose.collector', )
from setuptools import setup, find_packages import os if os.path.exists('MANIFEST'): os.remove('MANIFEST') with open('requirements.txt') as f: required = f.read().splitlines() setup(name="rankit", version="0.3.1", packages=find_packages(exclude=['example']), install_requires=required, include_package_data=True, description="A simple ranking solution for matches.", author="Ronnie Wang", author_email="geniusxiaoguai@gmail.com", url="http://github.com/wattlebird/ranking", license="MIT", classifiers=['Intended Audience :: Science/Research', 'Intended Audience :: Developers', 'License :: OSI Approved', 'Programming Language :: Python', 'Topic :: Scientific/Engineering', 'Operating System :: Unix', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6'], test_suite = 'nose.collector' )
mit
Python
7bbb9c2e1af149c7bf3175bb3d14b98e8c92ce43
bump to a doc version
armstrong/armstrong.core.arm_wells,texastribune/armstrong.core.arm_wells,texastribune/armstrong.core.arm_wells,armstrong/armstrong.core.arm_wells,armstrong/armstrong.core.arm_wells,dmclain/armstrong.core.arm_wells,dmclain/armstrong.core.arm_wells
setup.py
setup.py
from distutils.core import setup import os PACKAGE_NAME = "armstrong.core.arm_wells" VERSION = ("0", "1", "0", "1") NAMESPACE_PACKAGES = [] # TODO: simplify this process def generate_namespaces(package): new_package = ".".join(package.split(".")[0:-1]) if new_package.count(".") > 0: generate_namespaces(new_package) NAMESPACE_PACKAGES.append(new_package) generate_namespaces(PACKAGE_NAME) if os.path.exists("MANIFEST"): os.unlink("MANIFEST") # Borrowed and modified from django-registration # Compile the list of packages available, because distutils doesn't have # an easy way to do this. packages, data_files = [], [] root_dir = os.path.dirname(__file__) if root_dir: os.chdir(root_dir) def build_package(dirpath, dirnames, filenames): # Ignore dirnames that start with '.' for i, dirname in enumerate(dirnames): if dirname.startswith('.'): del dirnames[i] if '__init__.py' in filenames and 'steps.py' not in filenames: pkg = dirpath.replace(os.path.sep, '.') if os.path.altsep: pkg = pkg.replace(os.path.altsep, '.') packages.append(pkg) elif filenames: # Strip off the length of the package name plus the trailing slash prefix = dirpath[len(PACKAGE_NAME) + 1:] for f in filenames: # Ignore all dot files and any compiled if f.startswith(".") or f.endswith(".pyc"): continue data_files.append(os.path.join(prefix, f)) [build_package(dirpath, dirnames, filenames) for dirpath, dirnames, filenames in os.walk(PACKAGE_NAME.replace(".", "/"))] setup( name=PACKAGE_NAME, version=".".join(VERSION), description='Provides the basic content well manipulation', author='Bay Citizen & Texas Tribune', author_email='info@armstrongcms.org', url='http://github.com/armstrong/armstrong.core.arm_wells/', packages=packages, package_data={PACKAGE_NAME: data_files, }, namespace_packages=NAMESPACE_PACKAGES, classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', 'Programming Language :: Python', ], )
from distutils.core import setup import os PACKAGE_NAME = "armstrong.core.arm_wells" VERSION = ("0", "1", "0") NAMESPACE_PACKAGES = [] # TODO: simplify this process def generate_namespaces(package): new_package = ".".join(package.split(".")[0:-1]) if new_package.count(".") > 0: generate_namespaces(new_package) NAMESPACE_PACKAGES.append(new_package) generate_namespaces(PACKAGE_NAME) if os.path.exists("MANIFEST"): os.unlink("MANIFEST") # Borrowed and modified from django-registration # Compile the list of packages available, because distutils doesn't have # an easy way to do this. packages, data_files = [], [] root_dir = os.path.dirname(__file__) if root_dir: os.chdir(root_dir) def build_package(dirpath, dirnames, filenames): # Ignore dirnames that start with '.' for i, dirname in enumerate(dirnames): if dirname.startswith('.'): del dirnames[i] if '__init__.py' in filenames and 'steps.py' not in filenames: pkg = dirpath.replace(os.path.sep, '.') if os.path.altsep: pkg = pkg.replace(os.path.altsep, '.') packages.append(pkg) elif filenames: # Strip off the length of the package name plus the trailing slash prefix = dirpath[len(PACKAGE_NAME) + 1:] for f in filenames: # Ignore all dot files and any compiled if f.startswith(".") or f.endswith(".pyc"): continue data_files.append(os.path.join(prefix, f)) [build_package(dirpath, dirnames, filenames) for dirpath, dirnames, filenames in os.walk(PACKAGE_NAME.replace(".", "/"))] setup( name=PACKAGE_NAME, version=".".join(VERSION), description='Provides the basic content well manipulation', author='Bay Citizen & Texas Tribune', author_email='info@armstrongcms.org', url='http://github.com/armstrong/armstrong.core.arm_wells/', packages=packages, package_data={PACKAGE_NAME: data_files, }, namespace_packages=NAMESPACE_PACKAGES, classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', 'Programming Language :: Python', ], )
apache-2.0
Python
8d8fc6461d62c33fd00f5e4ee4cba8dcede6780f
Fix trove classifiers
sjkingo/django-runas,sjkingo/django-runas
setup.py
setup.py
from setuptools import find_packages, setup setup( name='django-runas', version='0.1.2', license='BSD', author='Sam Kingston', author_email='sam@sjkwi.com.au', description='Impersonate a user using the Django admin', url='https://github.com/sjkingo/django-runas', packages=find_packages(), include_package_data=True, install_requires=['Django>=1.8'], classifiers=[ 'Development Status :: 5 - Production/Stable', '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', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Topic :: Software Development :: Libraries :: Python Modules', ], )
from setuptools import find_packages, setup setup( name='django-runas', version='0.1.2', license='BSD', author='Sam Kingston', author_email='sam@sjkwi.com.au', description='Impersonate a user using the Django admin', url='https://github.com/sjkingo/django-runas', packages=find_packages(), include_package_data=True, install_requires=['Django>=1.8'], classifiers=[ 'Development Status :: 5 - Production/Stable', '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.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Topic :: Software Development :: Libraries :: Python Modules', ], )
bsd-2-clause
Python
17c75edd533dd7a643b585b8d3a596828464649b
Update setup.py for Pypi
gooddata/smoker,pbenas/smoker,pbenas/smoker,gooddata/smoker
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (C) 2007-2012, GoodData(R) Corporation. All rights reserved import sys from setuptools import setup # Parameters for build params = { # This package is named gdc-smoker on Pypi, use it on register or upload actions 'name' : 'gdc-smoker' if len(sys.argv) > 1 and sys.argv[1] in ['register', 'upload'] else 'smoker', 'version' : '1.0', 'packages' : [ 'smoker', 'smoker.server', 'smoker.server.plugins', 'smoker.client', 'smoker.logger', 'smoker.util' ], 'scripts' : [ 'bin/smokerd.py', 'bin/smokercli.py', 'bin/check_smoker_plugin.py', ], 'url' : 'https://github.com/gooddata/smoker', 'download_url' : 'https://github.com/gooddata/smoker', 'license' : 'BSD', 'author' : 'GoodData Corporation', 'author_email' : 'python@gooddata.com', 'maintainer' : 'Filip Pytloun', 'maintainer_email' : 'filip@pytloun.cz', 'description' : 'Smoke Testing Framework', 'long_description' : "Smoker is framework for distributed execution of Python modules, shell commands or external tools. It executes configured plugins on request or periodically, unifies output and provide it via REST API for it's command-line or other client.", 'classifiers' : [ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Environment :: No Input/Output (Daemon)', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: BSD License', 'Natural Language :: English', 'Operating System :: POSIX', 'Programming Language :: Python', 'Programming Language :: Python :: Implementation :: CPython', 'Topic :: Software Development :: Testing', 'Topic :: System :: Monitoring', ], 'platforms' : ['POSIX'], 'provides' : 'smoker', 'requires' : ['yaml', 'argparse', 'simplejson', 'psutil'], } setup(**params)
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (C) 2007-2012, GoodData(R) Corporation. All rights reserved from setuptools import setup # Parameters for build params = { 'name' : 'gdc-smoker', 'version' : '1.0', 'packages' : [ 'smoker', 'smoker.server', 'smoker.server.plugins', 'smoker.client', 'smoker.logger', 'smoker.util' ], 'scripts' : [ 'bin/smokerd.py', 'bin/smokercli.py', 'bin/check_smoker_plugin.py', ], 'url' : 'https://github.com/gooddata/smoker', 'license' : 'BSD', 'author' : 'GoodData Corporation', 'author_email' : 'python@gooddata.com', 'description' : 'GDC Smoker', 'long_description' : 'GoodData Smoke testing daemon and client', 'requires' : ['yaml', 'argparse', 'simplejson', 'psutil'], } setup(**params)
bsd-3-clause
Python
3d50b1a9898d91c1a3bf796af0e849020d564480
Fix some issues in Spanish examples
explosion/spaCy,explosion/spaCy,explosion/spaCy,explosion/spaCy,explosion/spaCy,explosion/spaCy
spacy/lang/es/examples.py
spacy/lang/es/examples.py
""" Example sentences to test spaCy and its language models. >>> from spacy.lang.es.examples import sentences >>> docs = nlp.pipe(sentences) """ sentences = [ "Apple está buscando comprar una startup del Reino Unido por mil millones de dólares.", "Los coches autónomos delegan la responsabilidad del seguro en sus fabricantes.", "San Francisco analiza prohibir los robots de reparto.", "Londres es una gran ciudad del Reino Unido.", "El gato come pescado.", "Veo al hombre con el telescopio.", "La araña come moscas.", "El pingüino incuba en su nido sobre el hielo.", "¿Dónde estáis?", "¿Quién es el presidente francés?", "¿Dónde se encuentra la capital de Argentina?", "¿Cuándo nació José de San Martín?", ]
""" Example sentences to test spaCy and its language models. >>> from spacy.lang.es.examples import sentences >>> docs = nlp.pipe(sentences) """ sentences = [ "Apple está buscando comprar una startup del Reino Unido por mil millones de dólares.", "Los coches autónomos delegan la responsabilidad del seguro en sus fabricantes.", "San Francisco analiza prohibir los robots delivery.", "Londres es una gran ciudad del Reino Unido.", "El gato come pescado.", "Veo al hombre con el telescopio.", "La araña come moscas.", "El pingüino incuba en su nido sobre el hielo.", "¿Dónde estais?", "¿Quién es el presidente Francés?", "¿Dónde está encuentra la capital de Argentina?", "¿Cuándo nació José de San Martín?", ]
mit
Python
76db06055428fb0184174d4af0f94d6a82980f73
Update tests.py
jtokaz/checkio-mission-currency-style,oduvan/checkio-mission-currency-style,jtokaz/checkio-mission-compare-functions,oduvan/checkio-mission-currency-style,jtokaz/checkio-mission-currency-style,oduvan/checkio-mission-currency-style,jtokaz/checkio-mission-currency-style,jtokaz/checkio-mission-compare-functions,jtokaz/checkio-mission-compare-functions
verification/tests.py
verification/tests.py
""" TESTS is a dict with all you tests. Keys for this will be categories' names. Each test is dict with "input" -- input data for user function "answer" -- your right answer "explanation" -- not necessary key, it's using for additional info in animation. """ TESTS = { "Basics": [ { "input": "$5.34" "answer": "$5.34", }, { "input": "$5,34" "answer": "$5.34" }, { "input": "$222,100,455.34" "answer": "$222,100,455.34", }, { "input": "$222.100.455,34" "answer": "$222,100,455.34", }, { "input": "$222,100,455" "answer": "$222,100,455", }, { "input": "$222.100.455" "answer": "$222,100,455", }, ], "Extra": [ { "input": "$4,13 + $5,24 = $9,37", "answer": "$4.13 + $5.24 = $9.37", }, { "input": "$4,13 + $1.005,24 = $1.009,37", "answer": "$4.13 + $1,005.24 = $1,009.37", }, { "input": "$8.000 - $8.000 = $0", "answer": "$8,000 - $8,000 = $0", }, { "input": "$4.545,45 is less than $5,454.54.", "answer": "$4,545.45 is less than $5,454.54.", }, { "input": "$4,545.45 is less than $5.454,54.", "answer": "$4,545.45 is less than $5,454.54.", }, { "input": "Our movie tickets cost $12,20.", "answer": "Our movie tickets cost $12.20.", }, { "input": "127.255.255.255", "answer": "127.255.255.255", }, { "input": ("Clayton Kershaw $31.000.000\n" "Zack Greinker $27.000.000\n" "Adrian Gonzalez $21.857.143\n"), "answer": ("Clayton Kershaw $31,000,000\n" "Zack Greinker $27,000,000\n" "Adrian Gonzalez $21,857,143\n"), }, ] }
""" TESTS is a dict with all you tests. Keys for this will be categories' names. Each test is dict with "input" -- input data for user function "answer" -- your right answer "explanation" -- not necessary key, it's using for additional info in animation. """ TESTS = { "Basics": [ { "input": ("Arthur Lancelot Robin Bedevere Galahad","Artur") "answer": "Arthur", }, { "input": ("Arthur Lancelot Robin Bedevere Galahad","Bedaveer") "answer": "Bedevere", }, { "input": ("Arthur Lancelot Robin Bedevere Galahad","Toby") "answer": "", }, ], "Extra": [ { "input": "A", "answer": "A", }, ] }
mit
Python
c65348179eb9d773773e63c6cdbebc74889a49a2
Add README.md for PyPI
mpkato/mobileclick,mpkato/mobileclick
setup.py
setup.py
# -*- coding:utf-8 -*- from setuptools import setup with open('README.md') as description_file: long_description = description_file.read() setup( name = "mobileclick", description = "mobileclick provides baseline methods and utility scripts for the NTCIR-12 MobileClick-2 task", long_description=long_description, author = "Makoto P. Kato", author_email = "kato@dl.kuis.kyoto-u.ac.jp", license = "MIT License", url = "https://github.com/mpkato/mobileclick", version='0.1.0', packages=[ 'mobileclick', 'mobileclick.nlp', 'mobileclick.methods', 'mobileclick.scripts' ], install_requires = ['BeautifulSoup', 'nltk', 'numpy'], entry_points = { 'console_scripts': [ 'mobileclick_download_data=mobileclick.scripts.mobileclick_download_data:main', 'mobileclick_random_ranking_method=mobileclick.scripts.mobileclick_random_ranking_method:main', 'mobileclick_lang_model_ranking_method=mobileclick.scripts.mobileclick_lang_model_ranking_method:main' ], }, tests_require=['nose'] )
# -*- coding:utf-8 -*- from setuptools import setup setup( name = "mobileclick", description = "mobileclick provides baseline methods and utility scripts for the NTCIR-12 MobileClick-2 task", author = "Makoto P. Kato", author_email = "kato@dl.kuis.kyoto-u.ac.jp", license = "MIT License", url = "https://github.com/mpkato/mobileclick", version='0.1.0', packages=[ 'mobileclick', 'mobileclick.nlp', 'mobileclick.methods', 'mobileclick.scripts' ], install_requires = ['BeautifulSoup', 'nltk', 'numpy'], entry_points = { 'console_scripts': [ 'mobileclick_download_data=mobileclick.scripts.mobileclick_download_data:main', 'mobileclick_random_ranking_method=mobileclick.scripts.mobileclick_random_ranking_method:main', 'mobileclick_lang_model_ranking_method=mobileclick.scripts.mobileclick_lang_model_ranking_method:main' ], }, tests_require=['nose'] )
mit
Python
7a725079fe924c9a9a90c9ac3d904060e880a356
Bump version to 3.3m2
cloudify-cosmo/cloudify-amqp-influxdb,cloudify-cosmo/cloudify-amqp-influxdb,geokala/cloudify-amqp-influxdb,geokala/cloudify-amqp-influxdb
setup.py
setup.py
######## # Copyright (c) 2014 GigaSpaces Technologies Ltd. All rights reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. ############ from setuptools import setup setup( name='cloudify-amqp-influxdb', version='3.3a2', author='Cloudify', author_email='cosmo-admin@gigaspaces.com', packages=['amqp_influxdb'], entry_points={ 'console_scripts': [ 'cloudify-amqp-influxdb = amqp_influxdb.__main__:main', ] }, install_requires=[ 'pika==0.9.13', 'requests==2.2.1' ], )
######## # Copyright (c) 2014 GigaSpaces Technologies Ltd. All rights reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. ############ from setuptools import setup setup( name='cloudify-amqp-influxdb', version='3.3a1', author='Cloudify', author_email='cosmo-admin@gigaspaces.com', packages=['amqp_influxdb'], entry_points={ 'console_scripts': [ 'cloudify-amqp-influxdb = amqp_influxdb.__main__:main', ] }, install_requires=[ 'pika==0.9.13', 'requests==2.2.1' ], )
apache-2.0
Python
8569c701cac818afb3ce20ee397164a02b55b622
Update name
kolanos/onlinenic
setup.py
setup.py
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='onlinenic', version='0.1.0', url='http://github.com/kolanos/onlinenic', license='MIT', author='Michael Lavers', author_email='kolanos@gmail.com', description='A simple wrapper for the OnlineNIC API.', long_description=read('README.rst'), py_modules=['onlinenic'], platforms='any', install_requires=['BeautifulSoup'], classifiers=[ 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Software Development :: Libraries :: Python Modules' ] )
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='OnlineNIC', version='0.1.0', url='http://github.com/kolanos/onlinenic', license='MIT', author='Michael Lavers', author_email='kolanos@gmail.com', description='A simple wrapper for the OnlineNIC API.', long_description=read('README.rst'), py_modules=['onlinenic'], platforms='any', install_requires=['BeautifulSoup'], classifiers=[ 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Software Development :: Libraries :: Python Modules' ] )
mit
Python
9d2d51a4a18974556284d4d5ffe9c2ed05bc0feb
update the version to 1.1.2
michiya/django-pyodbc-azure,javrasya/django-pyodbc-azure
setup.py
setup.py
try: from setuptools import setup except ImportError: from distutils.core import setup CLASSIFIERS=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: BSD License', 'Framework :: Django', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Topic :: Internet :: WWW/HTTP', ] setup( name='django-pyodbc-azure', version='1.1.2', description='Django backend for MS SQL Server and Windows Azure SQL Database using pyodbc', long_description=open('README.rst').read(), author='Michiya Takahashi', url='https://github.com/michiya/django-pyodbc-azure', license='BSD', packages=['sql_server', 'sql_server.pyodbc'], install_requires=[ 'Django>=1.6', 'pyodbc>=3.0', ], classifiers=CLASSIFIERS, keywords='azure django', )
try: from setuptools import setup except ImportError: from distutils.core import setup CLASSIFIERS=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: BSD License', 'Framework :: Django', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Topic :: Internet :: WWW/HTTP', ] setup( name='django-pyodbc-azure', version='1.1.1', description='Django backend for MS SQL Server and Windows Azure SQL Database using pyodbc', long_description=open('README.rst').read(), author='Michiya Takahashi', url='https://github.com/michiya/django-pyodbc-azure', license='BSD', packages=['sql_server', 'sql_server.pyodbc'], install_requires=[ 'Django>=1.6', 'pyodbc>=3.0', ], classifiers=CLASSIFIERS, keywords='azure django', )
bsd-3-clause
Python
62b7b4947ddc9d27a33a8838b210999b191caf66
Bump version to 1.1.
dgladkov/django-nose,franciscoruiz/django-nose,millerdev/django-nose,Deepomatic/django-nose,aristiden7o/django-nose,daineX/django-nose,Deepomatic/django-nose,360youlun/django-nose,alexhayes/django-nose,sociateru/django-nose,franciscoruiz/django-nose,harukaeru/django-nose,alexhayes/django-nose,krinart/django-nose,aristiden7o/django-nose,harukaeru/django-nose,brilliant-org/django-nose,fabiosantoscode/django-nose-123-fix,360youlun/django-nose,dgladkov/django-nose,krinart/django-nose,brilliant-org/django-nose,millerdev/django-nose,daineX/django-nose,sociateru/django-nose,fabiosantoscode/django-nose-123-fix
setup.py
setup.py
import os from setuptools import setup, find_packages ROOT = os.path.abspath(os.path.dirname(__file__)) setup( name='django-nose', version='1.1', description='Django test runner that uses nose', long_description=open(os.path.join(ROOT, 'README.rst')).read(), author='Jeff Balogh', author_email='me@jeffbalogh.org', maintainer='Erik Rose', maintainer_email='erikrose@grinchcentral.com', url='http://github.com/jbalogh/django-nose', license='BSD', packages=find_packages(exclude=['testapp','testapp/*']), include_package_data=True, zip_safe=False, install_requires=['nose>=1.0', 'Django>=1.2'], tests_require=['south>=0.7'], # This blows up tox runs that install django-nose into a virtualenv, # because it causes Nose to import django_nose.runner before the Django # settings are initialized, leading to a mess of errors. There's no reason # we need FixtureBundlingPlugin declared as an entrypoint anyway, since you # need to be using django-nose to find the it useful, and django-nose knows # about it intrinsically. #entry_points=""" # [nose.plugins.0.10] # fixture_bundler = django_nose.fixture_bundling:FixtureBundlingPlugin # """, classifiers=[ 'Development Status :: 5 - Production/Stable', '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.6', 'Programming Language :: Python :: 2.7', 'Topic :: Software Development :: Testing' ] )
import os from setuptools import setup, find_packages ROOT = os.path.abspath(os.path.dirname(__file__)) setup( name='django-nose', version='1.0.1', description='Django test runner that uses nose', long_description=open(os.path.join(ROOT, 'README.rst')).read(), author='Jeff Balogh', author_email='me@jeffbalogh.org', maintainer='Erik Rose', maintainer_email='erikrose@grinchcentral.com', url='http://github.com/jbalogh/django-nose', license='BSD', packages=find_packages(exclude=['testapp','testapp/*']), include_package_data=True, zip_safe=False, install_requires=['nose>=1.0', 'Django>=1.2'], tests_require=['south>=0.7'], # This blows up tox runs that install django-nose into a virtualenv, # because it causes Nose to import django_nose.runner before the Django # settings are initialized, leading to a mess of errors. There's no reason # we need FixtureBundlingPlugin declared as an entrypoint anyway, since you # need to be using django-nose to find the it useful, and django-nose knows # about it intrinsically. #entry_points=""" # [nose.plugins.0.10] # fixture_bundler = django_nose.fixture_bundling:FixtureBundlingPlugin # """, classifiers=[ 'Development Status :: 5 - Production/Stable', '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.6', 'Programming Language :: Python :: 2.7', 'Topic :: Software Development :: Testing' ] )
bsd-3-clause
Python
89abf161e670fda99497ecc60aac0df239af5a01
Move log description to a docstring.
benhamill/cetacean-python,nanorepublica/cetacean-python
setup.py
setup.py
# encoding: utf-8 """ The HAL client that does almost nothing for you. Cetacean is tightly coupled to Requests, but doesn't actually call it. You set up your own Requests client and use it to make requests. You feed Cetacean Requests response objects and it helps you figure out if they're HAL documents and pull useful data out of them if they are. """ from setuptools import setup setup( name="Cetacean", version="0.0.1", author="Ben Hamill", author_email="ben@benhamill.com", url="http://github.com/benhamill/cetacean-python#readme", licens="MIT", description="The HAL client that does almost nothing for you.", long_description=__doc__, py_modules=["cetacean"], classifiers=[], )
# encoding: utf-8 from setuptools import setup setup( name="Cetacean", version="0.0.1", author="Ben Hamill", author_email="ben@benhamill.com", url="http://github.com/benhamill/cetacean-python#readme", licens="MIT", description="The HAL client that does almost nothing for you.", long_description=""" The HAL client that does almost nothing for you. Cetacean is tightly coupled to Requests, but doesn't actually call it. You set up your own Requests client and use it to make requests. You feed Cetacean Requests response objects and it helps you figure out if they're HAL documents and pull useful data out of them if they are. """, py_modules=["cetacean"], classifiers=[], )
mit
Python
acc621af7ec544f0647599207c54a952241677a5
Update setup.py
poldracklab/pydeface
setup.py
setup.py
#!/usr/bin/env python # # Copyright (C) 2013-2015 Russell Poldrack <poldrack@stanford.edu> # # Some portions were borrowed from: # https://github.com/mwaskom/lyman/blob/master/setup.py # and: # https://chriswarrick.com/blog/2014/09/15/python-apps-the-right-way-entry_points-and-scripts/ import os from setuptools import setup VERSION = '2.0.0' if os.path.exists('MANIFEST'): os.remove('MANIFEST') datafiles = {'pydeface': ['data/facemask.nii.gz', 'data/mean_reg2mean.nii.gz']} setup(name='pydeface', maintainer='Russ Poldrack', maintainer_email='poldrack@stanford.edu', description='A script to remove facial structure from MRI images.', license='MIT', version=VERSION, url='http://poldracklab.org', download_url=('https://github.com/poldracklab/pydeface/archive' + VERSION + '.tar.gz') packages=['pydeface'], package_data=datafiles, classifiers=['Intended Audience :: Science/Research', 'Programming Language :: Python :: 3.7', 'License :: OSI Approved :: MIT License', 'Operating System :: POSIX', 'Operating System :: Unix', 'Operating System :: MacOS'], install_requires=['numpy', 'nibabel', 'nipype'], entry_points={ 'console_scripts': [ 'pydeface = pydeface.__main__:main' ]}, )
#!/usr/bin/env python # # Copyright (C) 2013-2015 Russell Poldrack <poldrack@stanford.edu> # # Some portions were borrowed from: # https://github.com/mwaskom/lyman/blob/master/setup.py # and: # https://chriswarrick.com/blog/2014/09/15/python-apps-the-right-way-entry_points-and-scripts/ import os from setuptools import setup DISTNAME = "pydeface" DESCRIPTION = "pydeface: a script to remove facial structure from MRI images." MAINTAINER = 'Russ Poldrack' MAINTAINER_EMAIL = 'poldrack@stanford.edu' LICENSE = 'MIT' URL = 'http://poldracklab.org' DOWNLOAD_URL = 'https://github.com/poldracklab/pydeface/' VERSION = '2.0.0' if os.path.exists('MANIFEST'): os.remove('MANIFEST') datafiles = {'pydeface': ['data/facemask.nii.gz', 'data/mean_reg2mean.nii.gz']} setup(name=DISTNAME, maintainer=MAINTAINER, maintainer_email=MAINTAINER_EMAIL, description=DESCRIPTION, license=LICENSE, version=VERSION, url=URL, download_url=DOWNLOAD_URL, packages=['pydeface'], package_data=datafiles, classifiers=['Intended Audience :: Science/Research', 'Programming Language :: Python :: 3.7', 'License :: OSI Approved :: MIT License', 'Operating System :: POSIX', 'Operating System :: Unix', 'Operating System :: MacOS'], install_requires=['numpy', 'nibabel', 'nipype'], entry_points={ 'console_scripts': [ 'pydeface = pydeface.__main__:main' ]}, )
mit
Python
7b641af9d2dee1791927bc72e237e6ed76881f98
Bump version to 0.1.4
cloud4rpi/cloud4rpi
setup.py
setup.py
from setuptools import setup description = '' try: import pypandoc # pylint: disable=F0401 description = pypandoc.convert('README.md', 'rst') except Exception: pass setup(name='cloud4rpi', version='0.1.4', description='Cloud4RPi client library', long_description=description, url='https://github.com/cloud4rpi/cloud4rpi', author='Cloud4RPi team', author_email='cloud4rpi@gmail.com', license='MIT', packages=['cloud4rpi'], install_requires=[ 'paho-mqtt' ])
from setuptools import setup description = '' try: import pypandoc # pylint: disable=F0401 description = pypandoc.convert('README.md', 'rst') except Exception: pass setup(name='cloud4rpi', version='0.1.3', description='Cloud4RPi client library', long_description=description, url='https://github.com/cloud4rpi/cloud4rpi', author='Cloud4RPi team', author_email='cloud4rpi@gmail.com', license='MIT', packages=['cloud4rpi'], install_requires=[ 'paho-mqtt' ])
mit
Python
eb82a2e22e607719335448ca1ce4d27cef9568c1
bump version
exoscale/cs
setup.py
setup.py
# coding: utf-8 """ A simple yet powerful CloudStack API client for Python and the command-line. """ from __future__ import unicode_literals import sys from codecs import open from setuptools import find_packages, setup with open('README.rst', 'r', encoding='utf-8') as f: long_description = f.read() install_requires = ['pytz', 'requests'] extras_require = { 'highlight': ['pygments'], } tests_require = [ 'pytest', 'pytest-cache', 'pytest-cov', ] if sys.version_info < (3, 0): tests_require.append("mock") elif sys.version_info >= (3, 5): extras_require["async"] = ["aiohttp"] tests_require.append("aiohttp") setup( name='cs', version='3.0.0', url='https://github.com/exoscale/cs', license='BSD', author='Bruno Renié', description=__doc__.strip(), long_description=long_description, packages=find_packages(exclude=['tests']), zip_safe=False, include_package_data=True, platforms='any', classifiers=( 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', ), setup_requires=['pytest-runner'], install_requires=install_requires, extras_require=extras_require, tests_require=tests_require, entry_points={ 'console_scripts': [ 'cs = cs:main', ], }, )
# coding: utf-8 """ A simple yet powerful CloudStack API client for Python and the command-line. """ from __future__ import unicode_literals import sys from codecs import open from setuptools import find_packages, setup with open('README.rst', 'r', encoding='utf-8') as f: long_description = f.read() install_requires = ['pytz', 'requests'] extras_require = { 'highlight': ['pygments'], } tests_require = [ 'pytest', 'pytest-cache', 'pytest-cov', ] if sys.version_info < (3, 0): tests_require.append("mock") elif sys.version_info >= (3, 5): extras_require["async"] = ["aiohttp"] tests_require.append("aiohttp") setup( name='cs', version='2.7.1', url='https://github.com/exoscale/cs', license='BSD', author='Bruno Renié', description=__doc__.strip(), long_description=long_description, packages=find_packages(exclude=['tests']), zip_safe=False, include_package_data=True, platforms='any', classifiers=( 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', ), setup_requires=['pytest-runner'], install_requires=install_requires, extras_require=extras_require, tests_require=tests_require, entry_points={ 'console_scripts': [ 'cs = cs:main', ], }, )
bsd-3-clause
Python
0389545acfeac9ff42228986265619c92c92c110
Add example usage of 'raises_on_failure' option in examples/canvas.py
botify-labs/simpleflow,botify-labs/simpleflow
examples/canvas.py
examples/canvas.py
from __future__ import print_function import time from simpleflow import ( activity, futures, Workflow, ) from simpleflow.canvas import Group, Chain from simpleflow.task import ActivityTask @activity.with_attributes(task_list='example', version='example') def increment_slowly(x): time.sleep(1) return x + 1 @activity.with_attributes(task_list='example', version='example') def multiply(numbers): val = 1 for n in numbers: val *= n return val @activity.with_attributes(task_list='example', version='example') def fail_incrementing(x): raise ValueError("Failure on CPU intensive operation '+'") # This workflow demonstrates the use of simpleflow's Chains and Groups # # A `Group` wraps a list of tasks that can be executed in parallel. It # returns a future that is considered "finished" only once ALL the tasks # in the group are finished. # # A `Chain` wraps a list of tasks that need to be executed sequentially. # As groups, it returns a future that is considered "finished" only # when all the tasks inside the Chain are finished. class CanvasWorkflow(Workflow): name = 'canvas' version = 'example' task_list = 'example' def run(self): x = 1 y = 2 z = 3 future = self.submit( Chain( Group( ActivityTask(increment_slowly, x), ActivityTask(increment_slowly, y), ActivityTask(increment_slowly, z), ), ActivityTask(multiply), send_result=True ) ) futures.wait(future) res = future.result[-1] print('({}+1)*({}+1)*({}+1) = {}'.format(x, y, z, res)) # Canva's and Group's can also be "optional" future = self.submit( Chain( ActivityTask(fail_incrementing, x), ActivityTask(increment_slowly, 1), # never executed raises_on_failure=False, ) ) futures.wait(future) print('SUCCESS!')
from __future__ import print_function import time from simpleflow import ( activity, futures, Workflow, ) from simpleflow.canvas import Group, Chain from simpleflow.task import ActivityTask @activity.with_attributes(task_list='example', version='example') def increment_slowly(x): time.sleep(1) return x + 1 @activity.with_attributes(task_list='example', version='example') def multiply(numbers): val = 1 for n in numbers: val *= n return val # This workflow demonstrates the use of simpleflow's Chains and Groups # # A `Group` wraps a list of tasks that can be executed in parallel. It # returns a future that is considered "finished" only once ALL the tasks # in the group are finished. # # A `Chain` wraps a list of tasks that need to be executed sequentially. # As groups, it returns a future that is considered "finished" only # when all the tasks inside the Chain are finished. class CanvasWorkflow(Workflow): name = 'canvas' version = 'example' task_list = 'example' def run(self): x = 1 y = 2 z = 3 future = self.submit( Chain( Group( ActivityTask(increment_slowly, x), ActivityTask(increment_slowly, y), ActivityTask(increment_slowly, z), ), ActivityTask(multiply), send_result=True ) ) futures.wait(future) res = future.result[-1] print('({}+1)*({}+1)*({}+1) = {}'.format(x, y, z, res))
mit
Python
6594fef1df431041260b02033dcf9da15a67b1e3
Bump version
bashu/django-easy-maps,duixteam/django-easy-maps,bashu/django-easy-maps,Gonzasestopal/django-easy-maps,kmike/django-easy-maps,Gonzasestopal/django-easy-maps,kmike/django-easy-maps
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup version='0.6' setup( name = 'django-easy-maps', version = version, author = 'Mikhail Korobov', author_email = 'kmike84@gmail.com', url = 'http://bitbucket.org/kmike/django-easy-maps/', download_url = 'http://bitbucket.org/kmike/django-easy-maps/get/tip.zip', description = 'This app makes it easy to display a map for a given address.', long_description = open('README.rst').read(), license = 'MIT license', requires = ['django (>=1.0)', 'geopy'], packages=['easy_maps', 'easy_maps.templatetags', 'easy_maps.migrations'], package_data={'easy_maps': ['templates/easy_maps/*']}, classifiers=[ 'Development Status :: 4 - Beta', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Topic :: Software Development :: Libraries :: Python Modules' ], )
#!/usr/bin/env python from distutils.core import setup version='0.5.4' setup( name = 'django-easy-maps', version = version, author = 'Mikhail Korobov', author_email = 'kmike84@gmail.com', url = 'http://bitbucket.org/kmike/django-easy-maps/', download_url = 'http://bitbucket.org/kmike/django-easy-maps/get/tip.zip', description = 'This app makes it easy to display a map for a given address.', long_description = open('README.rst').read(), license = 'MIT license', requires = ['django (>=1.0)', 'geopy'], packages=['easy_maps', 'easy_maps.templatetags', 'easy_maps.migrations'], package_data={'easy_maps': ['templates/easy_maps/*']}, classifiers=[ 'Development Status :: 4 - Beta', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Topic :: Software Development :: Libraries :: Python Modules' ], )
mit
Python
85f0e37bde7a968e8b6d635f2d628a08ed76d38d
update extras and long description
trichter/rf
setup.py
setup.py
#!/usr/bin/env python import os.path import re from setuptools import find_packages, setup def find_version(*paths): fname = os.path.join(os.path.dirname(__file__), *paths) with open(fname) as fp: code = fp.read() match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", code, re.M) if match: return match.group(1) raise RuntimeError("Unable to find version string.") VERSION = find_version('rf', '__init__.py') DESCRIPTION = 'Receiver function calculation in seismology' LONG_DESCRIPTION = ( 'Please look at the project site for tutorials and information.') ENTRY_POINTS = { 'console_scripts': ['rf-runtests = rf.tests:run', 'rf = rf.batch:run_cli']} REQUIRES = ['decorator', 'matplotlib', 'numpy', 'scipy', 'setuptools', 'obspy>=1.0', 'cartopy', 'geographiclib', 'shapely', 'toeplitz', 'tqdm'] EXTRAS_REQUIRE = { 'doc': ['sphinx', 'alabaster'], # and decorator, obspy 'h5': ['obspyh5']} CLASSIFIERS = [ 'Environment :: Console', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Topic :: Scientific/Engineering :: Physics' ] setup(name='rf', version=VERSION, description=DESCRIPTION, long_description=LONG_DESCRIPTION, url='https://github.com/trichter/rf', author='Tom Eulenfeld', author_email='tom.eulenfeld@gmail.de', license='MIT', packages=find_packages(), package_dir={'rf': 'rf'}, install_requires=REQUIRES, extras_require=EXTRAS_REQUIRE, entry_points=ENTRY_POINTS, include_package_data=True, zip_safe=False, classifiers=CLASSIFIERS )
#!/usr/bin/env python import os.path import re from setuptools import find_packages, setup def find_version(*paths): fname = os.path.join(os.path.dirname(__file__), *paths) with open(fname) as fp: code = fp.read() match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", code, re.M) if match: return match.group(1) raise RuntimeError("Unable to find version string.") VERSION = find_version('rf', '__init__.py') DESCRIPTION = 'Receiver function calculation in seismology' STATUS = """|buildstatus| .. |buildstatus| image:: https://api.travis-ci.org/trichter/rf.png? branch=master :target: https://travis-ci.org/trichter/rf""" ENTRY_POINTS = { 'console_scripts': ['rf-runtests = rf.tests:run', 'rf = rf.batch:run_cli']} REQUIRES = ['decorator', 'matplotlib', 'numpy', 'scipy', 'setuptools', 'obspy>=1.0', 'cartopy', 'geographiclib', 'shapely', 'toeplitz', 'tqdm'] # optional: joblib, obspyh5 # documentation: sphinx, alabaster, obspy CLASSIFIERS = [ 'Environment :: Console', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Topic :: Scientific/Engineering :: Physics' ] if 'dev' not in VERSION: # get image for correct version from travis-ci STATUS = STATUS.replace('branch=master', 'branch=v%s' % VERSION) setup(name='rf', version=VERSION, description=DESCRIPTION, long_description=STATUS, url='https://github.com/trichter/rf', author='Tom Eulenfeld', author_email='tom.eulenfeld@gmail.de', license='MIT', packages=find_packages(), package_dir={'rf': 'rf'}, install_requires=REQUIRES, entry_points=ENTRY_POINTS, include_package_data=True, zip_safe=False, classifiers=CLASSIFIERS )
mit
Python
78ff944545b54011ff08d569e22d3c6f8b39afd6
Bump version
brcolow/python-client,timeyyy/python-client,starcraftman/python-client,traverseda/python-client,bfredl/python-client,0x90sled/python-client,neovim/python-client,meitham/python-client,zchee/python-client,traverseda/python-client,Shougo/python-client,brcolow/python-client,starcraftman/python-client,zchee/python-client,meitham/python-client,Shougo/python-client,0x90sled/python-client,neovim/python-client,bfredl/python-client,timeyyy/python-client
setup.py
setup.py
import platform import sys from setuptools import setup install_requires = [ 'cffi', 'click>=3.0', 'msgpack-python>=0.4.0', ] if sys.version_info < (3, 4): # trollius is just a backport of 3.4 asyncio module install_requires.append('trollius') has_cython = False if not platform.python_implementation() == 'PyPy': # pypy already includes an implementation of the greenlet module install_requires.append('greenlet') try: # Cythonizing screen.py to improve scrolling/clearing speed. Maybe the # performance can be improved even further by writing a screen.pxd with # static type information from Cython.Build import cythonize has_cython = True except ImportError: pass setup(name='neovim', version='0.0.26', description='Python client to neovim', url='http://github.com/neovim/python-client', download_url='https://github.com/neovim/python-client/archive/0.0.26.tar.gz', author='Thiago de Arruda', author_email='tpadilha84@gmail.com', license='MIT', packages=['neovim', 'neovim.api', 'neovim.msgpack_rpc', 'neovim.ui', 'neovim.msgpack_rpc.event_loop', 'neovim.plugin'], install_requires=install_requires, ext_modules=cythonize('neovim/ui/screen.py') if has_cython else None, entry_points=''' [console_scripts] pynvim=neovim.ui.cli:main ''', zip_safe=False)
import platform import sys from setuptools import setup install_requires = [ 'cffi', 'click>=3.0', 'msgpack-python>=0.4.0', ] if sys.version_info < (3, 4): # trollius is just a backport of 3.4 asyncio module install_requires.append('trollius') has_cython = False if not platform.python_implementation() == 'PyPy': # pypy already includes an implementation of the greenlet module install_requires.append('greenlet') try: # Cythonizing screen.py to improve scrolling/clearing speed. Maybe the # performance can be improved even further by writing a screen.pxd with # static type information from Cython.Build import cythonize has_cython = True except ImportError: pass setup(name='neovim', version='0.0.25', description='Python client to neovim', url='http://github.com/neovim/python-client', download_url='https://github.com/neovim/python-client/archive/0.0.25.tar.gz', author='Thiago de Arruda', author_email='tpadilha84@gmail.com', license='MIT', packages=['neovim', 'neovim.api', 'neovim.msgpack_rpc', 'neovim.ui', 'neovim.msgpack_rpc.event_loop', 'neovim.plugin'], install_requires=install_requires, ext_modules=cythonize('neovim/ui/screen.py') if has_cython else None, entry_points=''' [console_scripts] pynvim=neovim.ui.cli:main ''', zip_safe=False)
apache-2.0
Python
d966d5dc7be347f34f26d60fb464eab274d6be4a
set version 0.2.4
RSEmail/provoke,RSEmail/provoke
setup.py
setup.py
import sys from setuptools import setup, find_packages if sys.version_info[0] == 2: mysql = 'MySQL-python' else: mysql = 'PyMySQL' setup(name='provoke', version='0.2.4', author='Ian Good', author_email='ian.good@rackspace.com', description='Lightweight, asynchronous function execution in Python ' 'using AMQP.', packages=find_packages(), install_requires=['amqp', 'six'], extras_require={ 'mysql': [mysql], }, entry_points={'console_scripts': [ 'provoke-worker = provoke.worker.main:main', ]})
import sys from setuptools import setup, find_packages if sys.version_info[0] == 2: mysql = 'MySQL-python' else: mysql = 'PyMySQL' setup(name='provoke', version='0.2.3', author='Ian Good', author_email='ian.good@rackspace.com', description='Lightweight, asynchronous function execution in Python ' 'using AMQP.', packages=find_packages(), install_requires=['amqp', 'six'], extras_require={ 'mysql': [mysql], }, entry_points={'console_scripts': [ 'provoke-worker = provoke.worker.main:main', ]})
mit
Python
47ec8b220e5174c0d9749ea76e74d9f2297afb5c
make description shorter
MarcoVogt/basil,SiLab-Bonn/basil,SiLab-Bonn/basil
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup from setuptools import find_packages f = open('VERSION', 'r') basil_version = f.readline().strip() f.close() author = 'Tomasz Hemperek, Jens Janssen, David-Leon Pohl' author_email = 'hemperek@uni-bonn.de, janssen@physik.uni-bonn.de, pohl@physik.uni-bonn.de' setup( name='basil_daq', version=basil_version, description='Basil - a data acquisition and system testing framework', url='https://github.com/SiLab-Bonn/basil', license='BSD 3-Clause ("BSD New" or "BSD Simplified") License', long_description='Basil is a modular data acquisition system and system testing framework in Python.\nIt also provides generic FPGA firmware modules for different hardware platforms and drivers for wide range of lab appliances.', requires=['bitarray (>=0.8.1)', 'pyyaml', 'numpy'], author=author, maintainer=author, author_email=author_email, packages=find_packages(), include_package_data=True, # accept all data files and directories matched by MANIFEST.in or found in source control platforms='any' )
#!/usr/bin/env python from distutils.core import setup from setuptools import find_packages f = open('VERSION', 'r') basil_version = f.readline().strip() f.close() author = 'Tomasz Hemperek, Jens Janssen, David-Leon Pohl' author_email = 'hemperek@uni-bonn.de, janssen@physik.uni-bonn.de, pohl@physik.uni-bonn.de' setup( name='basil_daq', version=basil_version, description='Basil - a data acquisition system and system testing framework', url='https://github.com/SiLab-Bonn/basil', license='BSD 3-Clause ("BSD New" or "BSD Simplified") License', long_description='Basil is a modular data acquisition system and system testing framework in Python.\nIt also provides generic FPGA firmware modules for different hardware platforms and drivers for wide range of lab appliances.', requires=['bitarray (>=0.8.1)', 'pyyaml', 'numpy'], author=author, maintainer=author, author_email=author_email, packages=find_packages(), include_package_data=True, # accept all data files and directories matched by MANIFEST.in or found in source control platforms='any' )
bsd-3-clause
Python
d16267549323c583df7aaf82768b7efef17df564
Fix dependency on mock for testing.
HXLStandard/hxl-proxy,HXLStandard/hxl-proxy,HXLStandard/hxl-proxy,HXLStandard/hxl-proxy
setup.py
setup.py
#!/usr/bin/python from setuptools import setup dependency_links=[ 'git+https://github.com/Toblerity/Shapely.git@maint#egg=Shapely', ] setup( name = 'hxl-proxy', packages = ['hxl_proxy'], version = '0.0.1', description = 'Flask-based web proxy for HXL', author='David Megginson', author_email='contact@megginson.com', url='https://github.com/HXLStandard/hxl-proxy', install_requires=['flask', 'libhxl', 'ckanapi'], test_suite = "tests", tests_require = ['mock'] )
#!/usr/bin/python from setuptools import setup dependency_links=[ 'git+https://github.com/Toblerity/Shapely.git@maint#egg=Shapely', ] setup( name = 'hxl-proxy', packages = ['hxl_proxy'], version = '0.0.1', description = 'Flask-based web proxy for HXL', author='David Megginson', author_email='contact@megginson.com', url='https://github.com/HXLStandard/hxl-proxy', install_requires=['flask', 'libhxl', 'ckanapi'], test_suite = "tests", tests_require = { 'test': ['mock'] } )
unlicense
Python
5bc277a425e9b3b8e7ed7a784c6617511b875137
Bump version for PyPI release
josiahcarlson/parse-crontab
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup try: with open('README') as f: long_description = f.read() except: long_description = '' setup( name='crontab', version='0.20.3', 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'], 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 distutils.core import setup try: with open('README') as f: long_description = f.read() except: long_description = '' setup( name='crontab', version='0.20.2', 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'], 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, )
lgpl-2.1
Python
29cb3889afed8a28d116125e9fc0ca9b21d2f8df
Bump to 1.0.4
lindycoder/memorised,1stvamp/memorised
setup.py
setup.py
"""Installer for memorised """ import os cwd = os.path.dirname(__file__) try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages setup( name='memorised', version='1.0.4', author='Wes Mason', author_email='wes@1stvamp.org', description='memcache memoization decorators and utils for python', long_description=open(os.path.join(cwd, 'README.rst')).read(), url='http://github.com/1stvamp//memorised/', packages=find_packages(exclude=('ez_setup',)), install_requires=('python-memcached',), license='BSD' )
"""Installer for memorised """ import os cwd = os.path.dirname(__file__) try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages setup( name='memorised', version='1.0.3', author='Wes Mason', author_email='wes@1stvamp.org', description='memcache memoization decorators and utils for python', long_description=open(os.path.join(cwd, 'README.rst')).read(), url='http://github.com/1stvamp//memorised/', packages=find_packages(exclude=('ez_setup',)), install_requires=('python-memcached',), license='BSD' )
bsd-3-clause
Python
1c1e6483b81187b86250f508a29f0a29bb51874b
Update version to 0.6
Synss/python-mbedtls,Synss/python-mbedtls
setup.py
setup.py
import os from setuptools import setup, Extension version = "0.6" download_url = "https://github.com/Synss/python-mbedtls/tarball/%s" % version extensions = [] for dirpath, dirnames, filenames in os.walk("mbedtls"): for fn in filenames: root, ext = os.path.splitext(fn) if ext != ".c": continue mod = ".".join(dirpath.split(os.sep) + [root]) extensions.append(Extension( mod, [os.path.join(dirpath, fn)], libraries=["mbedtls"], include_dirs=["."])) setup( name="python-mbedtls", version=version, description="mbed TLS (PolarSSL) wrapper", author="Mathias Laurin", author_email="Mathias.Laurin@users.sf.net", license="MIT License", url="https://synss.github.io/python-mbedtls", download_url=download_url, ext_modules=extensions, classifiers=[ "Development Status :: 4 - Beta", "Programming Language :: Cython", "License :: OSI Approved :: MIT License", "Topic :: Security :: Cryptography", ] )
import os from setuptools import setup, Extension version = "0.5" download_url = "https://github.com/Synss/python-mbedtls/tarball/%s" % version extensions = [] for dirpath, dirnames, filenames in os.walk("mbedtls"): for fn in filenames: root, ext = os.path.splitext(fn) if ext != ".c": continue mod = ".".join(dirpath.split(os.sep) + [root]) extensions.append(Extension( mod, [os.path.join(dirpath, fn)], libraries=["mbedtls"], include_dirs=["."])) setup( name="python-mbedtls", version=version, description="mbed TLS (PolarSSL) wrapper", author="Mathias Laurin", author_email="Mathias.Laurin@users.sf.net", license="MIT License", url="https://synss.github.io/python-mbedtls", download_url=download_url, ext_modules=extensions, classifiers=[ "Development Status :: 4 - Beta", "Programming Language :: Cython", "License :: OSI Approved :: MIT License", "Topic :: Security :: Cryptography", ] )
mit
Python
6c57fdc6a5f7555a4ba7f2f6c6617916f2949971
Bump tensorflow from 2.3.0 to 2.3.1
google/tensorflow-recorder
setup.py
setup.py
# Lint as: python3 # Copyright 2020 Google LLC. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Package setup.""" from setuptools import find_packages from setuptools import setup REQUIRED_PACKAGES = [ "apache-beam[gcp] >= 2.22.0", "avro >= 1.10.0", "coverage >= 5.1", "ipython >= 7.15.0", "fire >= 0.3.1", "frozendict >= 1.2", "nose >= 1.3.7", "numpy < 1.19.0", "pandas >= 1.0.4", "Pillow >= 7.1.2", "pyarrow >= 0.17, < 0.18.0", "pylint >= 2.5.3", "pytz >= 2020.1", "python-dateutil", "tensorflow == 2.3.1", "tensorflow_transform >= 0.22", ] setup( name='tfrecorder', version='0.1.2', install_requires=REQUIRED_PACKAGES, packages=find_packages(), include_package_data=True, description='TFRecorder creates TensorFlow Records easily.', entry_points={ 'console_scripts': ['tfrecorder=tfrecorder.cli:main'], }, )
# Lint as: python3 # Copyright 2020 Google LLC. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Package setup.""" from setuptools import find_packages from setuptools import setup REQUIRED_PACKAGES = [ "apache-beam[gcp] >= 2.22.0", "avro >= 1.10.0", "coverage >= 5.1", "ipython >= 7.15.0", "fire >= 0.3.1", "frozendict >= 1.2", "nose >= 1.3.7", "numpy < 1.19.0", "pandas >= 1.0.4", "Pillow >= 7.1.2", "pyarrow >= 0.17, < 0.18.0", "pylint >= 2.5.3", "pytz >= 2020.1", "python-dateutil", "tensorflow == 2.3.0", "tensorflow_transform >= 0.22", ] setup( name='tfrecorder', version='0.1.2', install_requires=REQUIRED_PACKAGES, packages=find_packages(), include_package_data=True, description='TFRecorder creates TensorFlow Records easily.', entry_points={ 'console_scripts': ['tfrecorder=tfrecorder.cli:main'], }, )
apache-2.0
Python
54d7d0f8e8aea56861268213de3d4c7b58c4177c
Fix package_dir in setup.py
wintoncode/winton-kafka-streams
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup with open('README.md') as readme_file: readme = readme_file.read() requirements = [ 'confluent-kafka', 'javaproperties' ] test_requirements = [ 'pytest' ] setup( name='Winton Kafka Streams', version='0.1.0', description="Kafka Streams for Python", long_description=readme, author="Winton Group", author_email='opensource@winton.com', url='https://github.com/wintoncode/winton_kafka_streams', packages=[ 'winton_kafka_streams', ], package_dir={'': 'src'}, include_package_data=True, install_requires=requirements, license="Apache Software License 2.0", zip_safe=True, keywords='streams kafka winton', classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Natural Language :: English', 'Programming Language :: Python :: 3.6', ], test_suite='tests', tests_require=test_requirements )
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup with open('README.md') as readme_file: readme = readme_file.read() requirements = [ 'confluent-kafka', 'javaproperties' ] test_requirements = [ 'pytest' ] setup( name='Winton Kafka Streams', version='0.1.0', description="Kafka Streams for Python", long_description=readme, author="Winton Group", author_email='opensource@winton.com', url='https://github.com/wintoncode/winton_kafka_streams', packages=[ 'winton_kafka_streams', ], package_dir={'winton_kafka_streams': 'src'}, include_package_data=True, install_requires=requirements, license="Apache Software License 2.0", zip_safe=True, keywords='streams kafka winton', classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Natural Language :: English', 'Programming Language :: Python :: 3.6', ], test_suite='tests', tests_require=test_requirements )
apache-2.0
Python
eb2bec83e742c3fb3dbaefd8b6bee664c3c93661
Allow for alpha and beta version of Avocado in tests
chop-dbhi/serrano,rv816/serrano_night,rv816/serrano_night,chop-dbhi/serrano
setup.py
setup.py
import sys from setuptools import setup, find_packages install_requires = [ 'avocado>=2.1a,<2.2', 'restlib2>=0.3.7,<0.4', 'django-preserialize>=1.0.4,<1.1', ] if sys.version_info < (2, 7): install_requires.append('ordereddict>=1.1') kwargs = { # Packages 'packages': find_packages(exclude=['tests', '*.tests', '*.tests.*', 'tests.*']), 'include_package_data': True, # Dependencies 'install_requires': install_requires, # Test dependencies 'tests_require': [ 'avocado[permissions,search,extras]>=2.1a,<2.2' 'coverage', 'whoosh', ], 'test_suite': 'test_suite', # Optional dependencies 'extras_require': {}, # Metadata 'name': 'serrano', 'version': __import__('serrano').get_version(), 'author': 'Byron Ruth', 'author_email': 'b@devel.io', 'description': 'Hypermedia implementation for Avocado', 'license': 'BSD', 'keywords': 'hypermedia rest api avocado serrano cilantro harvest', 'url': 'http://cbmi.github.com/serrano/', 'classifiers': [ 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Framework :: Django', 'Topic :: Internet :: WWW/HTTP', 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'Intended Audience :: Healthcare Industry', 'Intended Audience :: Information Technology', ], } setup(**kwargs)
import sys from setuptools import setup, find_packages install_requires = [ 'avocado>=2.1a,<2.2', 'restlib2>=0.3.7,<0.4', 'django-preserialize>=1.0.4,<1.1', ] if sys.version_info < (2, 7): install_requires.append('ordereddict>=1.1') kwargs = { # Packages 'packages': find_packages(exclude=['tests', '*.tests', '*.tests.*', 'tests.*']), 'include_package_data': True, # Dependencies 'install_requires': install_requires, # Test dependencies 'tests_require': [ 'avocado[permissions,search,extras]>=2.1.0,<2.2' 'coverage', 'whoosh', ], 'test_suite': 'test_suite', # Optional dependencies 'extras_require': {}, # Metadata 'name': 'serrano', 'version': __import__('serrano').get_version(), 'author': 'Byron Ruth', 'author_email': 'b@devel.io', 'description': 'Hypermedia implementation for Avocado', 'license': 'BSD', 'keywords': 'hypermedia rest api avocado serrano cilantro harvest', 'url': 'http://cbmi.github.com/serrano/', 'classifiers': [ 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Framework :: Django', 'Topic :: Internet :: WWW/HTTP', 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'Intended Audience :: Healthcare Industry', 'Intended Audience :: Information Technology', ], } setup(**kwargs)
bsd-2-clause
Python
96a76afb41f0381347981d4b3d771af39e2e795c
Bump version number to 0.2.
ProjetPP/PPP-Core,ProjetPP/PPP-libmodule-Python,ProjetPP/PPP-Core,ProjetPP/PPP-libmodule-Python
setup.py
setup.py
#!/usr/bin/env python3 from setuptools import setup, find_packages setup( name='ppp_core', version='0.2', description='Core/router of the PPP framework. Also contains a library ' \ 'usable by module developpers to handle the query API.', url='https://github.com/ProjetPP/PPP-Core', author='Valentin Lorentz', author_email='valentin.lorentz+ppp@ens-lyon.org', license='MIT', classifiers=[ 'Environment :: No Input/Output (Daemon)', 'Development Status :: 1 - Planning', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Topic :: Internet :: WWW/HTTP :: WSGI :: Application', 'Topic :: Software Development :: Libraries', ], install_requires=[ 'requests', 'ppp_datamodel>=0.2', ], packages=[ 'ppp_core', ], )
#!/usr/bin/env python3 from setuptools import setup, find_packages setup( name='ppp_core', version='0.1.1', description='Core/router of the PPP framework. Also contains a library ' \ 'usable by module developpers to handle the query API.', url='https://github.com/ProjetPP/PPP-Core', author='Valentin Lorentz', author_email='valentin.lorentz+ppp@ens-lyon.org', license='MIT', classifiers=[ 'Environment :: No Input/Output (Daemon)', 'Development Status :: 1 - Planning', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Topic :: Internet :: WWW/HTTP :: WSGI :: Application', 'Topic :: Software Development :: Libraries', ], install_requires=[ 'requests', 'ppp_datamodel>=0.2', ], packages=[ 'ppp_core', ], )
mit
Python
ac73d93b5a29f4f0929551c51da837b45227f3b3
Increase version due to change in streamed apps management
TurboGears/backlash,TurboGears/backlash
setup.py
setup.py
from setuptools import setup, find_packages import sys, os here = os.path.abspath(os.path.dirname(__file__)) try: README = open(os.path.join(here, 'README.rst')).read() except IOError: README = '' version = "0.0.3" setup(name='backlash', version=version, description="Standalone WebOb port of the Werkzeug Debugger with Python3 support meant to replace WebError in future TurboGears2", long_description=README, classifiers=['Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.2', 'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware', 'Topic :: Internet :: WWW/HTTP :: WSGI'], keywords='wsgi', author='Alessandro Molina', author_email='amol@turbogears.org', url='https://github.com/TurboGears/backlash', license='MIT', packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), include_package_data=True, zip_safe=False, install_requires=[ "WebOb" # -*- Extra requirements: -*- ], entry_points=""" # -*- Entry points: -*- """, )
from setuptools import setup, find_packages import sys, os here = os.path.abspath(os.path.dirname(__file__)) try: README = open(os.path.join(here, 'README.rst')).read() except IOError: README = '' version = "0.0.2" setup(name='backlash', version=version, description="Standalone WebOb port of the Werkzeug Debugger with Python3 support meant to replace WebError in future TurboGears2", long_description=README, classifiers=['Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.2', 'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware', 'Topic :: Internet :: WWW/HTTP :: WSGI'], keywords='wsgi', author='Alessandro Molina', author_email='amol@turbogears.org', url='https://github.com/TurboGears/backlash', license='MIT', packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), include_package_data=True, zip_safe=False, install_requires=[ "WebOb" # -*- Extra requirements: -*- ], entry_points=""" # -*- Entry points: -*- """, )
mit
Python
4fbc7427e0329c560ee56105192809e482022930
Use long description from README.rst
migonzalvar/dj-email-url
setup.py
setup.py
# -*- coding: utf-8 -*- from setuptools import setup with open('README.rst') as f: long_description = f.read() setup( name='dj-email-url', version='0.0.1', url='https://github.com/migonzalvar/dj-email-url', license='BSD', author='Miguel Gonzalez', author_email='migonzalvar@gmail.com', description='Use an URL to configure email backend settings in your Django Application.', long_description=long_description, py_modules=['dj_email_url'], zip_safe=False, include_package_data=True, platforms='any', classifiers=[ '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 :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Software Development :: Libraries :: Python Modules' ] )
# -*- coding: utf-8 -*- """ dj-email-url ~~~~~~~~~~~~ This utiliy is based on dj-database-url by Kenneth Reitz. It allows to utilize the `12factor <http://www.12factor.net/backing-services>`_ inspired environments variable to configure the email backend in a Django application. Usage ----- Configure your email configuration values in ``settings.py`` from ``EMAIL_URL``:: email_config = dj_email_url.config() Parse an arbitrary email URL:: email_config = dj_email_url.parse('smtp://...') After this, it is necessary to assign values to settings:: EMAIL_FILE_PATH = email_config['EMAIL_FILE_PATH'] EMAIL_HOST_USER = email_config['EMAIL_HOST_USER'] EMAIL_HOST_PASSWORD = email_config['EMAIL_HOST_PASSWORD'] EMAIL_HOST = email_config['EMAIL_HOST'] EMAIL_PORT = email_config['EMAIL_PORT'] EMAIL_BACKEND = email_config['EMAIL_BACKEND'] Supported backends ------------------ Currently, it supports: - SMTP backend (smtp or smtps), - console backend (console), - file backend (file), - in-memory backend (memory), - and dummy backend (dummy). The scheme ``smtps`` indicates to use TLS connections, that is to set ``EMAIL_USE_TLS`` to ``True``. The file backend is the only one which needs a path. The url path is store in ``EMAIL_FILE_PATH`` key. """ from setuptools import setup setup( name='dj-email-url', version='0.0.1', url='https://github.com/migonzalvar/dj-email-url', license='BSD', author='Miguel Gonzalez', author_email='migonzalvar@gmail.com', description='Use an URL to configure email backend settings in your Django Application.', long_description=__doc__, py_modules=['dj_email_url'], zip_safe=False, include_package_data=True, platforms='any', classifiers=[ '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 :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Software Development :: Libraries :: Python Modules' ] )
bsd-2-clause
Python
465bc9f4e43a61619dfd048bdc457406b5e0c701
Bump version to 0.5.16
craigahobbs/chisel
setup.py
setup.py
# # Copyright (C) 2012-2013 Craig Hobbs # # 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 setuptools import setup setup( name = 'chisel', version = '0.5.16', author = 'Craig Hobbs', author_email = 'craigahobbs@gmail.com', description = ('JSON web APIs made dirt simple'), long_description = 'JSON web APIs made dirt simple', keywords = 'json api server framework', url = 'https://github.com/craigahobbs/chisel', license = 'MIT', classifiers = [ 'Environment :: Web Environment', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.1', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3' ], packages = [ 'chisel', 'chisel/resource' ], test_suite='chisel.tests' )
# # Copyright (C) 2012-2013 Craig Hobbs # # 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 setuptools import setup setup( name = 'chisel', version = '0.5.15', author = 'Craig Hobbs', author_email = 'craigahobbs@gmail.com', description = ('JSON web APIs made dirt simple'), long_description = 'JSON web APIs made dirt simple', keywords = 'json api server framework', url = 'https://github.com/craigahobbs/chisel', license = 'MIT', classifiers = [ 'Environment :: Web Environment', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.1', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3' ], packages = [ 'chisel', 'chisel/resource' ], test_suite='chisel.tests' )
mit
Python
ad633c7d02f066fd1c3052dbcc8421f01b27414a
Add pp prefix to scripts
Proj-P/project-p-api,Proj-P/project-p-api
setup.py
setup.py
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2016 Steven Oud. All rights reserved. # Use of this source code is governed by a MIT-style license that can be found # in the LICENSE file. import re import ast from setuptools import setup, find_packages with open('README.md', 'r') as f: long_description = f.read() _version_re = re.compile(r'__version__\s+=\s+(.*)') with open('api/__init__.py', 'rb') as f: version = str(ast.literal_eval(_version_re.search( f.read().decode('utf-8')).group(1))) setup( name='project-p-api', version=version, description='This API is part of Project P and provides an interface which' ' other applications can use to access monitored data.', url='https://github.com/Proj-P/api', license='MIT', author='Steven Oud', author_email='soud@protonmail.com', long_description=long_description, packages=find_packages(), include_package_data=True, install_requires=[ 'Flask==0.10.1', 'Flask-SQLAlchemy==2.1', 'Flask-WTF==0.12', 'itsdangerous==0.24', 'MarkupSafe==0.23', 'SQLAlchemy==1.0.12', 'Werkzeug==0.11.8', 'WTForms==2.1' ], entry_points = { 'console_scripts': [ 'pp-run-server = api.run:main', 'pp-generate-token = scripts.generate_token:main' ] } )
#! /usr/bin/env python3 # -*- coding: utf-8 -*- # Copyright 2016 Steven Oud. All rights reserved. # Use of this source code is governed by a MIT-style license that can be found # in the LICENSE file. import re import ast from setuptools import setup, find_packages with open('README.md', 'r') as f: long_description = f.read() _version_re = re.compile(r'__version__\s+=\s+(.*)') with open('api/__init__.py', 'rb') as f: version = str(ast.literal_eval(_version_re.search( f.read().decode('utf-8')).group(1))) setup( name='project-p-api', version=version, description='This API is part of Project P and provides an interface which' ' other applications can use to access monitored data.', url='https://github.com/Proj-P/api', license='MIT', author='Steven Oud', author_email='soud@protonmail.com', long_description=long_description, packages=find_packages(), include_package_data=True, install_requires=[ 'Flask==0.10.1', 'Flask-SQLAlchemy==2.1', 'Flask-WTF==0.12', 'itsdangerous==0.24', 'MarkupSafe==0.23', 'SQLAlchemy==1.0.12', 'Werkzeug==0.11.8', 'WTForms==2.1' ], entry_points = { 'console_scripts': [ 'run-server = api.run:main', 'generate-token = scripts.generate_token:main' ] } )
mit
Python
cd8a9da8ff1f402a03abc125fb0cbb6e4a6d1f31
update the version to 0.1.3
michiya/azure-storage-logging
setup.py
setup.py
try: from setuptools import setup except ImportError: from distutils.core import setup CLASSIFIERS=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Topic :: System :: Logging', ] setup( name='azure-storage-logging', version='0.1.3', description='Logging handlers that send logging output to Windows Azure Storage', long_description=open('README.rst').read(), author='Michiya Takahashi', author_email='michiya.takahashi@gmail.com', url='https://github.com/michiya/azure-storage-logging', license='Apache License 2.0', packages=['azure_storage_logging'], install_requires=[ 'azure', ], classifiers=CLASSIFIERS, keywords='azure logging', )
try: from setuptools import setup except ImportError: from distutils.core import setup CLASSIFIERS=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Topic :: System :: Logging', ] setup( name='azure-storage-logging', version='0.1.2', description='Logging handlers that send logging output to Windows Azure Storage', long_description=open('README.rst').read(), author='Michiya Takahashi', author_email='michiya.takahashi@gmail.com', url='https://github.com/michiya/azure-storage-logging', license='Apache License 2.0', packages=['azure_storage_logging'], install_requires=[ 'azure', ], classifiers=CLASSIFIERS, keywords='azure logging', )
apache-2.0
Python
8178d8b6be7f4398985e21823c4b59497f89f142
set version to 0.3.0
imjoey/pyhaproxy
setup.py
setup.py
from setuptools import setup, find_packages setup( name='pyhaproxy', version='0.3.0', keywords=('haproxy', 'parse'), description='A Python library to parse haproxy configuration file', license='MIT License', install_requires=[], include_package_data=True, package_data={ 'pyhaproxy': ['*.peg'], }, author='Joey', author_email='majunjiev@gmail.com', url='https://github.com/imjoey/pyhaproxy', packages=find_packages(), platforms='any', )
from setuptools import setup, find_packages setup( name='pyhaproxy', version='0.2.4', keywords=('haproxy', 'parse'), description='A Python library to parse haproxy configuration file', license='MIT License', install_requires=[], include_package_data=True, package_data={ 'pyhaproxy': ['*.peg'], }, author='Joey', author_email='majunjiev@gmail.com', url='https://github.com/imjoey/pyhaproxy', packages=find_packages(), platforms='any', )
mit
Python
434ee28b889c02ba829069c7777b24154214938a
add python3.8 to setup.py
20c/vaping,20c/vaping
setup.py
setup.py
from setuptools import find_packages, setup def read_file(name): with open(name) as fobj: return fobj.read().strip() long_description = read_file("README.md") version = read_file("Ctl/VERSION") requirements = read_file("Ctl/requirements.txt").split('\n') test_requirements = read_file("Ctl/requirements-test.txt").split('\n') setup( name='vaping', version=version, author='20C', author_email='code@20c.com', description='vaping is a healthy alternative to smokeping!', long_description=long_description, long_description_content_type="text/markdown", license='LICENSE', classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: No Input/Output (Daemon)', 'Intended Audience :: System Administrators', 'Intended Audience :: Telecommunications Industry', 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Topic :: Internet', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: System :: Monitoring', 'Topic :: System :: Networking :: Monitoring', ], packages = find_packages(), include_package_data=True, url='https://github.com/20c/vaping', download_url='https://github.com/20c/vaping/%s' % version, install_requires=requirements, test_requires=test_requirements, entry_points={ 'console_scripts': [ 'vaping=vaping.cli:cli', ] }, zip_safe=True, )
from setuptools import find_packages, setup def read_file(name): with open(name) as fobj: return fobj.read().strip() long_description = read_file("README.md") version = read_file("Ctl/VERSION") requirements = read_file("Ctl/requirements.txt").split('\n') test_requirements = read_file("Ctl/requirements-test.txt").split('\n') setup( name='vaping', version=version, author='20C', author_email='code@20c.com', description='vaping is a healthy alternative to smokeping!', long_description=long_description, long_description_content_type="text/markdown", license='LICENSE', classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: No Input/Output (Daemon)', 'Intended Audience :: System Administrators', 'Intended Audience :: Telecommunications Industry', 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Topic :: Internet', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: System :: Monitoring', 'Topic :: System :: Networking :: Monitoring', ], packages = find_packages(), include_package_data=True, url='https://github.com/20c/vaping', download_url='https://github.com/20c/vaping/%s' % version, install_requires=requirements, test_requires=test_requirements, entry_points={ 'console_scripts': [ 'vaping=vaping.cli:cli', ] }, zip_safe=True, )
apache-2.0
Python
94fc878ea4253688f7488e04c53d376f168542bd
Bump version
appknox/vendor,appknox/vendor,appknox/vendor
setup.py
setup.py
#! /usr/bin/env python # -*- coding: utf-8 -*- # # vim: fenc=utf-8 # vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 # # """ File name: setup.py Version: 0.1 Author: dhilipsiva <dhilipsiva@gmail.com> Date created: 2015-11-24 """ from setuptools import setup, find_packages setup( name='ak-vendor', version='0.6.0', description="Some vendor scripts that we use here at Appknox", long_description="All the Vendor/helper files the Appknox relies on", url='https://github.com/appknox/vendor', author='dhilipsiva', author_email='dhilipsiva@gmail.com', license='MIT', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Topic :: Software Development :: Build Tools', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', ], keywords='appknox vendor', packages=find_packages(), py_modules=['ak_vendor'], entry_points='', install_requires=[ "python3-protobuf==2.5.0", ], extras_require={ 'dev': [''], 'test': [''], }, )
#! /usr/bin/env python # -*- coding: utf-8 -*- # # vim: fenc=utf-8 # vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4 # # """ File name: setup.py Version: 0.1 Author: dhilipsiva <dhilipsiva@gmail.com> Date created: 2015-11-24 """ from setuptools import setup, find_packages setup( name='ak-vendor', version='0.5.4', description="Some vendor scripts that we use here at Appknox", long_description="All the Vendor/helper files the Appknox relies on", url='https://github.com/appknox/vendor', author='dhilipsiva', author_email='dhilipsiva@gmail.com', license='MIT', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Topic :: Software Development :: Build Tools', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', ], keywords='appknox vendor', packages=find_packages(), py_modules=['ak_vendor'], entry_points='', install_requires=[ "python3-protobuf==2.5.0", ], extras_require={ 'dev': [''], 'test': [''], }, )
mit
Python
76607b6f15ed3c545f41d345b6974b76de825818
Update version number
adam494m/mezzanine-slideshows,philipsouthwell/mezzanine-slideshows,philipsouthwell/mezzanine-slideshows,adam494m/mezzanine-slideshows,adam494m/mezzanine-slideshows,philipsouthwell/mezzanine-slideshows
setup.py
setup.py
import os from setuptools import setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='mezzanine-slideshows', version='0.2.2', packages=['mezzanine_slideshows'], include_package_data=True, license='BSD License', description='A simple mezzanine app which allows the placement of a mezzanine Gallery within any other mezzanine Page as a slideshow ', long_description=README, url='https://github.com/philipsouthwell/mezzanine-slideshows', author='Philip Southwell', author_email='phil@zoothink.com', keywords=['django', 'mezzanine'], classifiers=[ 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ], )
import os from setuptools import setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='mezzanine-slideshows', version='0.2.1', packages=['mezzanine_slideshows'], include_package_data=True, license='BSD License', description='A simple mezzanine app which allows the placement of a mezzanine Gallery within any other mezzanine Page as a slideshow ', long_description=README, url='https://github.com/philipsouthwell/mezzanine-slideshows', author='Philip Southwell', author_email='phil@zoothink.com', keywords=['django', 'mezzanine'], classifiers=[ 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ], )
bsd-2-clause
Python
2639c6ce1647ff807e8dd30dfe15a2c9dfa7eeda
remove unnecesary extra code in wuclient
weapp/miner
publishers/wubytes_publisher.py
publishers/wubytes_publisher.py
from base_publisher import BasePublisher from pprint import pprint as pp from wu_client import WuClient from shared.path import Path class WubytesPublisher(BasePublisher): def __init__(self, conf): BasePublisher.__init__(self, conf) self.wc = WuClient(conf["client_id"], conf["client_secret"], conf["host"]) if not self.wc.auth(conf["username"], conf["pass"]): exit() for key in self.project.project: self.wc.new_wu({'data': 0, 'title': key, 'slug': key}) def publish(self, message): for key, value in message.iteritems(): print key, value self.wc.update_value(key, value)
from base_publisher import BasePublisher from pprint import pprint as pp from wu_client import WuClient from shared.path import Path def get_password(conf): password = conf.get("pass", None) or conf.get("password", None) if not password: print "Password for wubytes:", password = raw_input().strip() return password class WubytesPublisher(BasePublisher): def __init__(self, conf): BasePublisher.__init__(self, conf) self.wc = WuClient(conf["client_id"], conf["client_secret"], conf["host"]) if not self.wc.auth(conf["username"], get_password(conf)): exit() for key in self.project.project: self.wc.new_wu({'data': 0, 'title': key, 'slug': key}) def publish(self, message): for key, value in message.iteritems(): print key, value self.wc.update_value(key, value)
mit
Python