commit
stringlengths
40
40
subject
stringlengths
1
3.25k
old_file
stringlengths
4
311
new_file
stringlengths
4
311
old_contents
stringlengths
0
26.3k
lang
stringclasses
3 values
proba
float64
0
1
diff
stringlengths
0
7.82k
4a3279c7ae5e092ed6bd3ff8596ec47c1946b078
Stringify non-string bodies
python/qtools/receive.py
python/qtools/receive.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. # from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from __future__ import with_statement import json as _json import os as _os import proton as _proton import proton.reactor as _reactor import sys as _sys from .common import * _description = "Receive AMQP messages" _epilog = """ example usage: $ qreceive //example.net/queue0 $ qreceive queue0 queue1 > messages.txt """ class ReceiveCommand(MessagingCommand): def __init__(self, home_dir): super(ReceiveCommand, self).__init__(home_dir, "qreceive", _Handler(self)) self.description = _description self.epilog = url_epilog + _epilog self.add_link_arguments() self.add_argument("--output", metavar="FILE", help="Write messages to FILE (default stdout)") self.add_argument("--json", action="store_true", help="Write messages in JSON format") self.add_argument("--annotations", action="store_true", help="Print delivery and message annotations") self.add_argument("--properties", action="store_true", help="Print message application properties") self.add_argument("--router-trace", action="store_true", help="Print the list of routers the message passed through") self.add_argument("--no-prefix", action="store_true", help="Suppress address prefix") self.add_argument("-c", "--count", metavar="COUNT", type=int, help="Exit after receiving COUNT messages") def init(self): super(ReceiveCommand, self).init() self.init_link_attributes() self.json_enabled = self.args.json self.annotations_enabled = self.args.annotations self.properties_enabled = self.args.properties self.router_trace_enabled = self.args.router_trace self.prefix_disabled = self.args.no_prefix self.desired_messages = self.args.count if self.args.output is not None: self.output_file = open(self.args.output, "w") def run(self): self.output_thread.start() super(ReceiveCommand, self).run() class _Handler(LinkHandler): def __init__(self, command): super(_Handler, self).__init__(command) self.received_messages = 0 def open_links(self, event, connection, address): return event.container.create_receiver(connection, address), def on_message(self, event): self.received_messages += 1 message = event.message extra_info = False if self.command.annotations_enabled: if message.instructions is not None: for name in sorted(message.instructions): value = message.instructions[name] self.write_line("[delivery annotation] {0}: {1}", name, value) if message.annotations is not None: for name in sorted(message.annotations): value = message.annotations[name] self.write_line("[message annotation] {0}: {1}", name, value) if self.command.properties_enabled: if message.properties is not None: for name in sorted(message.properties): value = message.properties[name] self.write_line("[property] {0}: {1}", name, value) if self.command.router_trace_enabled: value = message.annotations.get("x-opt-qd.trace") value = ", ".join(value) if value is not None: self.write_line("[router trace] {0}", value) out = list() if not self.command.prefix_disabled: prefix = event.link.source.address + ": " out.append(prefix) if self.command.json_enabled: data = convert_message_to_data(message) json = _json.dumps(data) out.append(json) else: out.append(message.body) self.command.output_thread.push_line("".join(out)) self.command.info("Received {0} from {1} on {2}", message, event.link.source, event.connection) if self.received_messages == self.command.desired_messages: self.command.output_thread.push_line(DONE) self.close(event) def close(self, event): super(_Handler, self).close(event) self.command.notice("Received {0} {1}", self.received_messages, plural("message", self.received_messages)) def write_line(self, template="", *args): line = template.format(*args) self.command.output_thread.push_line(line)
Python
1
@@ -4891,16 +4891,20 @@ .append( +str( message. @@ -4908,16 +4908,17 @@ ge.body) +) %0A%0A
8ed669045cfa571c181c6c6162cc2ed927aa4cdc
version bump to 0.4
setup.py
setup.py
from setuptools import setup setup( description="HipChat support for the Python logging module", name='hiplogging', url='https://github.com/invernizzi/hiplogging', version='0.3', packages=['hiplogging'], author='Luca Invernizzi', author_email='invernizzi.l@gmail.com', license='MIT', keywords=['hipchat', 'log', 'logging'], download_url = 'https://github.com/invernizzi/hiplogging/tarball/0.3', install_requires=['python-simple-hipchat'], classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', ], )
Python
0
@@ -186,17 +186,17 @@ sion='0. -3 +4 ',%0A p @@ -430,9 +430,9 @@ l/0. -3 +4 ',%0A
81a0ffba0a744df61da246be5a1729981c2a32b4
Bump version (1.0.2 → 1.1.0).
setup.py
setup.py
# -*- coding: utf-8 -*- """ Browserify filter for webassets ------------------------------- Filter for for compiling assets using `Browserify <http://browserify.org>`_ and `webassets <http://webassets.readthedocs.org>`_. Basic usage ``````````` .. code:: python from webassets.filter import register_filter from webassets_browserify import Browserify register_filter(Browserify) Usage with Django ````````````````` This requires `django-assets <http://django-assets.readthedocs.org>`_. .. code:: python from django_assets import Bundle, register from webassets.filter import register_filter from webassets_browserify import Browserify register_filter(Browserify) js = Bundle('js/main.js', filters='browserify', output='bundle.js', depends='js/**/*.js') register('js_all', js) """ from setuptools import setup, find_packages setup(name='webassets-browserify', version='1.0.2', description='Browserify filter for webassets', long_description=__doc__, author='Peter Renström', license='MIT', url='https://github.com/renstrom/webassets-browserify', packages=find_packages(), keywords=['browserify', 'webassets', 'django assets'], install_requires=['webassets'], test_suite='webassets_browserify.tests', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4' ])
Python
0
@@ -940,11 +940,11 @@ ='1. -0.2 +1.0 ',%0A
ba1a8404ba71acfedb3da99c50a08d5575347026
Remove the potato rule
solomagic.py
solomagic.py
#!/usr/bin/env python3 import argparse class Block: tiers = [] def __init__(self, tiers = []): self.tiers = tiers def getTier(self, name): for v in self.tiers: if v[0] == name: return v raise "Scheisse" def setTier(self, name, value): assert value[0] == name print(self.tiers) for idx, v in enumerate(self.tiers): if v[0] == name: self.tiers[idx] = value return raise "Scheisse" def doPrint(self): for tier in self.tiers: print(" ".join(tier)) class FileInstance: blocks = [] def addBlock(self, block): self.blocks.append(block) def doPrint(self): for block in self.blocks: block.doPrint() def parse(f): currentBlock = Block() ret = FileInstance() for line in f: line = line.rstrip() if len(line) == 0: ret.addBlock(currentBlock) currentBlock = Block() else: currentBlock.tiers.append(line.split()) ret.addBlock(currentBlock) return ret def specialReplace(word, a, b): if "question" in word: return word else: return word.replace(a, b) def createMa(block): mtTier = block.getTier("\\mt") maTier = ["\\ma"] + [word for word in mtTier[1:] if word != '/'] block.tiers.append(maTier) return block def potato(block): mtTier = block.getTier("\\mt") mtTier = ["\\mt"] + ["potato"+word for word in mtTier[1:] ] block.setTier("\\mt", mtTier) return block blockOperations = { "QtoApostrophe": lambda block: Block([ [specialReplace(word, "q", "'") for word in tier ] for tier in block.tiers]), "IvenaToIvaEna": lambda block: Block([ [word.replace("ivena", "iva ena") for word in tier ] for tier in block.tiers]), "potato": potato, "createMa": createMa } if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument("input", help="input text file") parser.add_argument('rules', metavar='rule', type=str, nargs='*', help='one of these: ' +", ".join(blockOperations.keys())) args = parser.parse_args() with open(args.input, 'r') as f: instance = parse(f) for rule in args.rules: cosa = [blockOperations[rule](block) for block in instance.blocks] instance.blocks = cosa instance.doPrint()
Python
0.00001
@@ -1433,178 +1433,8 @@ ck%0A%0A -def potato(block):%0A mtTier = block.getTier(%22%5C%5Cmt%22)%0A mtTier = %5B%22%5C%5Cmt%22%5D + %5B%22potato%22+word for word in mtTier%5B1:%5D %5D%0A block.setTier(%22%5C%5Cmt%22, mtTier)%0A return block%0A%0A bloc @@ -1697,30 +1697,8 @@ %5D),%0A - %22potato%22: potato,%0A
a0e56119990f8d0e25cd8835e050d354e4a3a4d7
update author and email
setup.py
setup.py
import sys from pathlib import Path from setuptools import find_namespace_packages, setup from setuptools.command.test import test as TestCommand class Tox(TestCommand): 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) # Check if Git is present before enabling setuptools_scm version_kwargs = {} git_root = Path(__file__).resolve().parent / '.git' if git_root.exists(): version_kwargs.update({ 'use_scm_version': True, 'setup_requires': ['setuptools_scm'] }) setup( name='cardinal.py', **version_kwargs, description='A growing bot for managing a Discord server', author='Simon Engmann', author_email='simon.engmann@tu-dortmund.de', url='https://github.com/FallenWarrior2k/cardinal.py', platforms='any', packages=find_namespace_packages(where='src'), package_dir={'': 'src'}, package_data={ 'cardinal': [ 'db/migrations/alembic.ini', 'db/migrations/env.py', 'db/migrations/versions/*.py' ] }, install_requires=[ 'discord.py>=1.5', 'SQLAlchemy>=1.3', 'aioitertools>=0.7', 'alembic', 'dependency_injector', 'markdownify' ], tests_require=['tox'], extras_require={ 'tests': ['tox'] }, cmdclass={'test': Tox} )
Python
0
@@ -876,21 +876,23 @@ or=' -Simon Engmann +FallenWarrior2k ',%0A @@ -912,35 +912,28 @@ il=' -simon.engmann@tu-dortmund.d +mail@fallenwarrior.m e',%0A
ff6b42693e71f36882a1f56c3ffb310812efb043
Update the setup.py to register and upload
setup.py
setup.py
#!/usr/bin/env python import os import sys from setuptools import setup if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') os.system('python setup.py bdist_wheel upload') sys.exit() readme_text = open("README.rst", "rb").read() setup( name="django-ormcache", version="0.2", description="ORM cache for Django", license="MIT", keywords="cache django", author="Corey Farwell", author_email="coreyf@rwell.org", maintainer="Corey Farwell", maintainer_email="coreyf@rwel.org", url="https://github.com/educreations/django-ormcache", long_description=readme_text, packages=["ormcache"], package_dir={"ormcache": "ormcache"}, install_requires=['Django'], classifiers=[ 'Framework :: Django', "Intended Audience :: Developers", 'License :: OSI Approved :: MIT License', "Operating System :: OS Independent", "Programming Language :: Python", 'Programming Language :: Python :: 2.7', 'Topic :: Software Development', ] )
Python
0
@@ -130,16 +130,25 @@ etup.py +register sdist up @@ -185,16 +185,25 @@ etup.py +register bdist_wh @@ -267,17 +267,16 @@ rst%22, %22r -b %22).read(
23d275d0f9e4ba1a4ab57918615467867988446d
Fix setup.py typo
setup.py
setup.py
#!/usr/bin/env python try: import ez_setup ez_setup.use_setuptools() except ImportError: pass from setuptools import setup project_dir = 'djangosanetesting' name = 'djangosanetesting' version = '0.5.6' setup( name = name, version = version, url = 'http://devel.almad.net/trac/django-sane-testing/', author = 'Lukas Linhart', author_email = 'bugs@almad.net', description = u''' Django: Sane testing ====================== django-sane-testing integrates Django with Nose testing framework. Goal is to provide nose goodies to Django testing and to support feasible integration or functional testing of Django applications, for example by providing more control over transaction/database handling. Thus, there is a way to start HTTP server for non-WSGI testing - like using Selenium or Windmill. Selenium has also been made super easy - just start --with-selenium, inherit from SeleniumTestCase and use self.selenium. Package is documented - see docs/ or http://getthedocs.org/Almad/djangosanetesting. ''' packages = ['djangosanetesting', 'djangosanetesting.selenium'], scripts = [], requires = ['Django (>=1.0)', 'nose (>=0.10)'], classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Operating System :: OS Independent", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Topic :: Software Development :: Testing", "Topic :: Software Development :: Libraries :: Python Modules", ], entry_points = { 'nose.plugins.0.10': [ 'djangoliveserver = %s.noseplugins:DjangoLiveServerPlugin' % name, 'cherrypyliveserver = %s.noseplugins:CherryPyLiveServerPlugin' % name, 'django = %s.noseplugins:DjangoPlugin' % name, 'selenium = %s.noseplugins:SeleniumPlugin' % name, 'sanetestselection = %s.noseplugins:SaneTestSelectionPlugin' % name, 'djangotranslations = %s.noseplugins:DjangoTranslationPlugin' % name, ] } )
Python
0.000004
@@ -1063,16 +1063,17 @@ %0A ''' +, %0A pac
355a264a3b82d378d77a47916b217be8d573ad25
Add a module docstring to `jacquard.storage.base`
jacquard/storage/base.py
jacquard/storage/base.py
import abc import contextlib from .utils import TransactionMap class KVStore(metaclass=abc.ABCMeta): @abc.abstractmethod def __init__(self, connection_string): pass @abc.abstractmethod def begin(self): pass @abc.abstractmethod def commit(self, changes, deletions): pass @abc.abstractmethod def rollback(self): pass @abc.abstractmethod def keys(self): pass @abc.abstractmethod def get(self, key): pass def encode_key(self, key): return key def decode_key(self, key): return key @contextlib.contextmanager def transaction(self): self.begin() transaction_map = TransactionMap(self) try: yield transaction_map except Exception: self.rollback() raise if ( not transaction_map.changes and not transaction_map.deletions ): # Don't bother running a commit if nothing actually changed self.rollback() else: self.commit( transaction_map.changes, transaction_map.deletions, )
Python
0.000001
@@ -1,12 +1,66 @@ +%22%22%22Base class for storage engine implementations.%22%22%22%0A%0A import abc%0Ai
acf63adc560a693145856bc800f1d4afb79a2dcd
Remove specified pypi build
setup.py
setup.py
# Copyright (c) 2015, Tobias Houska from setuptools import setup, find_packages import os # Type of python distribution [bdist_wheel] universal=0 setup( name = 'spotpy', version = '1.5.11', description = 'A Statistical Parameter Optimization Tool', long_description=open(os.path.join(os.path.dirname(__file__), "README.rst")).read(), author = 'Tobias Houska, Philipp Kraft, Alejandro Chamorro-Chavez and Lutz Breuer', author_email = 'tobias.houska@umwelt.uni-giessen.de', url = 'https://spotpy.readthedocs.io/en/latest/', license = 'MIT', install_requires=[ 'scipy', 'numpy', 'logging'], packages=find_packages(exclude=["tests*", "docs*"]), use_2to3 = True, keywords = 'Monte Carlo, MCMC, MLE, SCE-UA, Simulated Annealing, DE-MCz, DREAM, ROPE, Artifical Bee Colony, DDS, PA-DDS, Uncertainty, Calibration, Model, Signatures', classifiers = [ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Natural Language :: English', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Topic :: Software Development :: Libraries :: Python Modules'], )
Python
0
@@ -89,65 +89,8 @@ os%0A%0A -# Type of python distribution%0A%5Bbdist_wheel%5D%0Auniversal=0%0A%0A setu
a4490fc1ea07cdb211b5ba9b7cc129d0c223263a
Remove HTML tags from messages
spark_app.py
spark_app.py
import os import time import json from tornado import websocket, web HOST = 'http://tornado-ws-spark-tornado-ws-spark.193b.starter-ca-central-1.openshiftapps.com' USERS = [] # TODO: name generator or give the user the ability to specify a name AVAILABLE_USER_NAMES = { 'voluptate', 'deleniti', 'consequuntur', 'itaque', 'asperiores', 'in', 'magni', 'fugiat', 'ut', 'atque', 'porro', 'molestiae', 'cum', 'quam', 'fuga', 'placeat', 'modi', 'aliquid', 'libero', 'ea', 'maxime', 'numquam', 'unde', 'voluptatem', 'nobis', 'optio', 'corrupti', 'sed', 'reiciendis', 'officia', 'consectetur', 'dolorem', 'cupiditate', 'officiis', 'ex', 'accusamus', 'cumque', 'repellat', 'explicabo', 'enim', 'veniam', 'ipsam', 'rem', 'non', 'doloremque', 'assumenda', 'excepturi', 'quasi', 'facere', 'odio', 'eos', 'et', 'incidunt', 'nulla', 'maiores', 'voluptatum', 'id', 'blanditiis', 'quas', 'autem', 'necessitatibus', 'nemo', 'quis', 'voluptas', 'nisi', 'quisquam', 'ratione', 'eveniet', 'saepe', 'aspernatur', 'beatae', 'delectus', 'dolorum', 'eius', 'qui', 'molestias', 'ducimus', 'adipisci', 'tenetur', 'commodi', 'accusantium', 'sequi', 'nam', 'error', 'illo', 'quod', 'doloribus', 'totam', 'harum', 'aut', 'pariatur', 'animi', 'illum', 'sint', 'magnam', 'quos', 'repellendus', 'labore', 'hic' } class Message: def __init__(self, sender, raw_message): self.sender = sender self.recipient = raw_message['recipient'] self.time = time.time() self.content = raw_message['content'] def set_sender(self, user_name): self.sender = user_name def to_dict(self): return { 'message': { 'sender': self.sender, 'recipient': self.recipient, 'time': self.time, 'content': self.content } } class IndexHandler(web.RequestHandler): def get(self): self.render("templates/index.html") class SocketHandler(websocket.WebSocketHandler): def __init__(self, *args, **kwargs): websocket.WebSocketHandler.__init__(self, *args, **kwargs) self.user_name = None def release_user_name(self): AVAILABLE_USER_NAMES.add(self.user_name) self.user_name = None def set_username(self, user_name=''): if len(AVAILABLE_USER_NAMES) > 0: self.user_name = AVAILABLE_USER_NAMES.pop() return self.user_name else: return False def error_handler(self, error_type, note=''): errors = { 'username_error': { 'error': 'username_error', 'note': '' }, 'recipient_error': { 'error': 'recipient_error', 'note': '' } } error = errors[error_type] if note: error['note'] = note return error def notify_connect_user(self): notification = { 'user': { 'connect': {'name': self.user_name} } } for user in USERS: if user != self: user.write_message(notification) def notify_disconnect_user(self): notification = { 'user': { 'disconnect': {'name': self.user_name} } } for user in USERS: user.write_message(notification) def notify_username_received(self): notification = { 'username_received': { 'current_user': {'name': self.user_name}, 'active_users': [{'name': user.user_name} for user in USERS if user != self] } } self.write_message(notification) def get_user_by_name(self, user_name): for user in USERS: if user_name == user.user_name: return user return False def send_message(self, data): message = Message(self.user_name, data) if message.recipient == self.user_name: self.write_message(message.to_dict()) message.set_sender('echo') self.write_message(message.to_dict()) else: message_dict = message.to_dict() self.write_message(message_dict) recipient = self.get_user_by_name(message.recipient) if recipient: recipient.write_message(message_dict) else: self.write_message(self.error_handler('recipient_error', 'user is offline')) def check_origin(self, origin): if HOST == origin: return True else: return False def open(self): self.set_username() if self.user_name: USERS.append(self) self.notify_username_received() self.notify_connect_user() else: self.write_message(self.error_handler('username_error', 'user name not available')) def on_close(self): USERS.remove(self) self.notify_disconnect_user() self.release_user_name() def on_message(self, data): data = json.loads(data) if 'message' in data.keys(): self.send_message(data['message']) app = web.Application( [ (r'/', IndexHandler), (r'/ws', SocketHandler) ], static_path=os.path.join(os.path.dirname(__file__), "static") )
Python
0.000002
@@ -27,16 +27,28 @@ rt json%0A +import html%0A from tor @@ -1548,16 +1548,48 @@ ontent'%5D +%0A self.remove_html_tags() %0A%0A de @@ -1652,16 +1652,110 @@ r_name%0A%0A + def remove_html_tags(self):%0A self.content = html.escape(self.content, quote=True)%0A%0A def
f5fec4a9695f71ac5b9c9e1e9ddfc1069631c984
Remove useless import.
setup.py
setup.py
#!/usr/bin/env python ### # Copyright (c) 2002-2005, Jeremiah Fincher # Copyright (c) 2009, James Vega # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, # this list of conditions, and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright notice, # this list of conditions, and the following disclaimer in the # documentation and/or other materials provided with the distribution. # * Neither the name of the author of this software nor the name of # contributors to this software may be used to endorse or promote products # derived from this software without specific prior written consent. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE # LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF # SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS # INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN # CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. ### import sys if sys.version_info < (2, 6, 0): sys.stderr.write("Supybot requires Python 2.6 or newer.\n") sys.exit(-1) import textwrap clean = False while '--clean' in sys.argv: clean = True sys.argv.remove('--clean') import glob import shutil import os import subprocess plugins = [s for s in os.listdir('plugins') if os.path.exists(os.path.join('plugins', s, 'plugin.py'))] version = None try: proc = subprocess.Popen('git show HEAD --format=%ci', shell=True, stdout=subprocess.PIPE) version = proc.stdout.readline() \ .strip() \ .replace(' +', '+') \ .replace(' ', 'T') except: pass if not version: from time import gmtime, strftime version = 'installed on ' + strftime("%Y-%m-%dT%H:%M:%S+0000", gmtime()) try: os.unlink(os.path.join('src', 'version.py')) except OSError: # Does not exist pass open(os.path.join('src', 'version.py'), 'a').write( "version = '0.83.4.1+limnoria %s'\n" % version) from src.version import version def normalizeWhitespace(s): return ' '.join(s.split()) try: from distutils.core import setup from distutils.sysconfig import get_python_lib except ImportError, e: s = normalizeWhitespace("""Supybot requires the distutils package to install. This package is normally included with Python, but for some unfathomable reason, many distributions to take it out of standard Python and put it in another package, usually caled 'python-dev' or python-devel' or something similar. This is one of the dumbest things a distribution can do, because it means that developers cannot rely on *STANDARD* Python modules to be present on systems of that distribution. Complain to your distribution, and loudly. If you how much of our time we've wasted telling people to install what should be included by default with Python you'd understand why we're unhappy about this. Anyway, to reiterate, install the development package for Python that your distribution supplies.""") sys.stderr.write(os.linesep*2) sys.stderr.write(textwrap.fill(s)) sys.stderr.write(os.linesep*2) sys.exit(-1) if clean: previousInstall = os.path.join(get_python_lib(), 'supybot') if os.path.exists(previousInstall): try: print 'Removing current installation.' shutil.rmtree(previousInstall) except Exception, e: print 'Couldn\'t remove former installation: %s' % e sys.exit(-1) packages = ['supybot', 'supybot.locale', 'supybot.utils', 'supybot.drivers', 'supybot.plugins',] + \ ['supybot.plugins.'+s for s in plugins] + \ [ 'supybot.plugins.Dict.local', 'supybot.plugins.Math.local', 'supybot.plugins.Google.local', 'supybot.plugins.Google.local.simplejson', 'supybot.plugins.RSS.local', 'supybot.plugins.Time.local', 'supybot.plugins.Time.local.dateutil', ] package_dir = {'supybot': 'src', 'supybot.utils': 'src/utils', 'supybot.plugins': 'plugins', 'supybot.drivers': 'src/drivers', 'supybot.locale': 'locale', 'supybot.plugins.Google.local': 'plugins/Google/local', 'supybot.plugins.Google.local.simplejson': 'plugins/Google/local/simplejson', 'supybot.plugins.Dict.local': 'plugins/Dict/local', 'supybot.plugins.Math.local': 'plugins/Math/local', 'supybot.plugins.RSS.local': 'plugins/RSS/local', 'supybot.plugins.Time.local': 'plugins/Time/local', 'supybot.plugins.Time.local.dateutil': 'plugins/Time/local/dateutil', } package_data = {'supybot.locale': [s for s in os.listdir('locale/')]} for plugin in plugins: package_dir['supybot.plugins.' + plugin] = 'plugins/' + plugin locale_path = 'plugins/' + plugin + '/locale/' locale_name = 'supybot.plugins.'+plugin if os.path.exists(locale_path): package_data.update({locale_name: ['locale/'+s for s in os.listdir(locale_path)]}) setup( # Metadata name='supybot', version=version, author='Jeremy Fincher', url='http://sourceforge.net/projects/supybot/', author_email='jemfinch@supybot.com', download_url='http://www.sf.net/project/showfiles.php?group_id=58965', description='A flexible and extensible Python IRC bot and framework.', long_description=normalizeWhitespace("""A robust, full-featured Python IRC bot with a clean and flexible plugin API. Equipped with a complete ACL system for specifying user permissions with as much as per-command granularity. Batteries are included in the form of numerous plugins already written."""), classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Environment :: No Input/Output (Daemon)', 'Intended Audience :: End Users/Desktop', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Topic :: Communications :: Chat :: Internet Relay Chat', 'Natural Language :: English', 'Operating System :: OS Independent', 'Operating System :: POSIX', 'Operating System :: Microsoft :: Windows', 'Programming Language :: Python', ], # Installation data packages=packages, package_dir=package_dir, package_data=package_data, scripts=['scripts/supybot', 'scripts/supybot-test', 'scripts/supybot-botchk', 'scripts/supybot-wizard', 'scripts/supybot-adduser', 'scripts/supybot-plugin-doc', 'scripts/supybot-plugin-create', ] ) # vim:set shiftwidth=4 softtabstop=4 expandtab textwidth=79:
Python
0
@@ -2657,41 +2657,8 @@ n)%0A%0A -from src.version import version%0A%0A def
b2e4882c8a58af7f2c8b207d0941b759471b20a1
add scipy.stats.expon.pdf
jax/scipy/stats/expon.py
jax/scipy/stats/expon.py
# Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # 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. from __future__ import absolute_import from __future__ import division from __future__ import print_function import numpy as onp import scipy.stats as osp_stats from ... import lax from ...numpy.lax_numpy import _promote_args_like, _wraps, where, inf @_wraps(osp_stats.expon.logpdf) def logpdf(x, loc=0, scale=1): x, loc, scale = _promote_args_like(osp_stats.expon.logpdf, x, loc, scale) log_scale = lax.log(scale) linear_term = lax.div(lax.sub(x, loc), scale) log_probs = lax.neg(lax.add(linear_term, log_scale)) return where(lax.le(x, loc), -inf, log_probs)
Python
0.000059
@@ -1143,8 +1143,106 @@ _probs)%0A +%0A@_wraps(osp_stats.expon.pdf)%0Adef pdf(x, loc=0, scale=1):%0A return lax.exp(logpdf(x, loc, scale))%0A
24d35c62409cb37fe5a8c0d0646d3e393fec5928
Bump patch
gameanalysis/__init__.py
gameanalysis/__init__.py
__version__ = '4.1.0'
Python
0.000001
@@ -16,7 +16,7 @@ 4.1. -0 +1 '%0A
38fb1ef71f827ff8483984ed9b7844dbdd945643
Add dependency link to daploader from pypi to overide Openshift's cache
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup setup( name='Dapi', version='1.0', description='DevAssistant Package Index', author='Miro Hroncok', author_email='mhroncok@redhat.com', url='https://github.com/hroncok/dapi', license='AGPLv3', install_requires=[ 'Django==1.6', 'psycopg2', 'South', 'daploader>=0.0.5', 'PyYAML', 'python-social-auth', 'django-taggit', 'django-simple-captcha', 'django-haystack', 'whoosh', 'djangorestframework', 'django-gravatar2', 'markdown2', 'Markdown', ], dependency_links = [ 'git+git://github.com/omab/python-social-auth.git@c5dd3339#egg=python-social-auth', 'git+git://github.com/tomchristie/django-rest-framework.git@03b4c60b#egg=djangorestframework', ] )
Python
0
@@ -852,20 +852,105 @@ framework',%0A + 'https://pypi.python.org/packages/source/d/daploader/daploader-0.0.5.tar.gz'%0A %5D%0A)%0A
42151375b9c8bc25f12e8aebd01e63998a1aae82
Set the slug for runner factory
games/tests/factories.py
games/tests/factories.py
import factory from django.db.models.signals import post_save from games import models from accounts.models import User from accounts.signals import create_library class PlatformFactory(factory.DjangoModelFactory): FACTORY_FOR = models.Platform name = 'Amiga' class GameFactory(factory.DjangoModelFactory): FACTORY_FOR = models.Game name = factory.Iterator(['Quake', 'Unreal', 'Serious Sam', 'Duke 3D', 'Deus Ex']) year = 1999 is_public = True class UserFactory(factory.DjangoModelFactory): FACTORY_FOR = User first_name = "Tester" last_name = "Testing" username = factory.Sequence(lambda n: 'user%d' % n) email = "tester@lutris.net" is_active = True class UserNoLibraryFactory(UserFactory): @classmethod def _create(cls, target_class, *args, **kwargs): post_save.disconnect(create_library, User) user = super(UserFactory, cls)._create(target_class, *args, **kwargs) user.set_password('password') user.save() post_save.connect(create_library, User) return user class GameLibraryFactory(factory.DjangoModelFactory): FACTORY_FOR = models.GameLibrary user = factory.SubFactory(UserNoLibraryFactory) @factory.post_generation def games(self, create, extracted, **kwargs): if not create: return if extracted: for game in extracted: self.games.add(game) class RunnerFactory(factory.DjangoModelFactory): FACTORY_FOR = models.Runner name = factory.Sequence(lambda n: 'runner%s' % n) class InstallerFactory(factory.DjangoModelFactory): FACTORY_FOR = models.Installer runner = factory.SubFactory(RunnerFactory) version = 'test' published = True user = factory.SubFactory(UserNoLibraryFactory)
Python
0.000001
@@ -8,16 +8,53 @@ factory%0A +from django.utils.text import slugify %0Afrom dj @@ -1633,16 +1633,189 @@ ' %25 n)%0A%0A + @factory.post_generation%0A def set_slug(self, create, extracted, **kwargs):%0A if not create:%0A return%0A self.slug = slugify(unicode(self.name))%0A%0A %0Aclass I
346558834ca6ff4b615c07c9cb6e19e5dac8bff0
Remove mistaken line
setup.py
setup.py
# -*- coding: utf-8 -*- """ install mythril and deploy source-dist and wheel to pypi.python.org deps (requires up2date version): *) pip install --upgrade pip wheel setuptools twine publish to pypi w/o having to convert Readme.md to RST: 1) #> python setup.py sdist bdist_wheel 2) #> twine upload dist/* #<specify bdist_wheel version to upload>; #optional --repository <testpypi> or --repository-url <testpypi-url> """ from setuptools import setup, find_packages from setuptools.command.install import install from pathlib import Path import sys import os # To make lint checkers happy we set VERSION here, but # it is redefined by the exec below VERSION = None # Package version (vX.Y.Z). It must match git tag being used for CircleCI # deployment; otherwise the build will failed. version_path = (Path(__file__).parent / "mythril" / "version.py").absolute() exec(open(str(version_path), "r").read()) VERSION = "v0.19.11" class VerifyVersionCommand(install): """Custom command to verify that the git tag matches our version""" description = "verify that the git tag matches our version" def run(self): tag = os.getenv("CIRCLE_TAG") if tag != VERSION: info = "Git tag: {0} does not match the version of this app: {1}".format( tag, VERSION ) sys.exit(info) def read_file(fname): """ return file contents :param fname: path relative to setup.py :return: file contents """ with open(os.path.join(os.path.dirname(__file__), fname), "r") as fd: return fd.read() setup( name="mythril", version=VERSION[1:], description="Security analysis tool for Ethereum smart contracts", long_description=read_file("README.md") if os.path.isfile("README.md") else "", long_description_content_type="text/markdown", # requires twine and recent setuptools url="https://github.com/b-mueller/mythril", author="Bernhard Mueller", author_email="bernhard.mueller11@gmail.com", license="MIT", classifiers=[ "Development Status :: 3 - Alpha", "Intended Audience :: Science/Research", "Topic :: Software Development :: Disassemblers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", ], keywords="hacking disassembler security ethereum", packages=find_packages(exclude=["contrib", "docs", "tests"]), install_requires=[ "coloredlogs>=10.0", "py_ecc==1.4.2", "ethereum>=2.3.2", "z3-solver>=4.8.0.0", "requests", "py-solc", "plyvel", "eth_abi==1.3.0", "eth-utils>=1.0.1", "eth-account>=0.1.0a2", "eth-hash>=0.1.0", "eth-keyfile>=0.5.1", "eth-keys>=0.2.0b3", "eth-rlp>=0.1.0", "eth-tester>=0.1.0b21", "eth-typing>=2.0.0", "coverage", "jinja2>=2.9", "rlp>=1.0.1", "transaction>=2.2.1", "py-flags", "mock", "configparser>=3.5.0", "persistent>=4.2.0", "ethereum-input-decoder>=0.2.2", ], tests_require=["pytest>=3.6.0", "pytest_mock", "pytest-cov"], python_requires=">=3.5", extras_require={}, package_data={"mythril.analysis.templates": ["*"], "mythril": ["signatures.db"]}, include_package_data=True, entry_points={"console_scripts": ["myth=mythril.interfaces.cli:main"]}, cmdclass={"verify": VerifyVersionCommand}, )
Python
0.999905
@@ -918,29 +918,8 @@ ())%0A -VERSION = %22v0.19.11%22%0A %0A%0Acl
f4685ae393a7cbaeea972b85d4e43c0a623722e9
Bump version to 0.1.4 in setup.py
setup.py
setup.py
"""Chassis: Opinionated REST Framework.""" from setuptools import find_packages, setup setup( name='chassis', version='0.1.3', packages=find_packages(), description="Opinionated REST Framework", author="Refinery 29", author_email="chassis-project@refinery29.com", url="https://github.com/refinery29/chassis", download_url="https://github.com/refinery29/chassis/archive/v0.1.3.tar.gz", keywords=['Tornado', 'RESTful', 'REST', 'API', 'JSON', 'framework'], classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Web Environment', 'License :: OSI Approved :: MIT License', 'Intended Audience :: Developers', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Internet :: WWW/HTTP :: HTTP Servers', 'Topic :: Software Development :: Libraries :: Application Frameworks' ], install_requires=[ 'tornado', 'six' ], long_description="""\ Chassis is Refinery29's framework layer on top of Tornado for rapidly building performant, self-documenting JSON-based REST APIs. """ ) # TODO: Add validate-email==1.3 dependency
Python
0
@@ -126,17 +126,17 @@ on='0.1. -3 +4 ',%0A p @@ -401,17 +401,17 @@ ve/v0.1. -3 +4 .tar.gz%22
6dca6694619a04b21b723adaf20551376ab99acd
Change the name of the project to oslo.config
setup.py
setup.py
#!/usr/bin/python # Copyright 2013 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or # implied. # See the License for the specific language governing permissions and # limitations under the License. import setuptools from magic.openstack.common import setup package = 'oslo-config' version = '1.1.0' requires = setup.parse_requirements() depend_links = setup.parse_dependency_links() tests_require = setup.parse_requirements(['tools/test-requires']) setuptools.setup( name=package, version=setup.get_version(package, version), description='Oslo configuration API', long_description='The Oslo configuration API supports parsing command ' 'line arguments and .ini style configuration files.', classifiers=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: Apache Software License', 'Operating System :: POSIX :: Linux', 'Programming Language :: Python :: 2.6', ], author='OpenStack', author_email='openstack-dev@lists.openstack.org', url='http://www.openstack.org/', license='Apache Software License', packages=['oslo', 'oslo.config'], namespace_packages=['oslo'], cmdclass=setup.get_cmdclass(), install_requires=requires, tests_require=tests_require, dependency_links=depend_links, )
Python
0.005054
@@ -667,17 +667,17 @@ = 'oslo -- +. config'%0A
bfc09546599c131a7171f25e02a8b9a71591587f
missing fabric dependencie
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os from setuptools import setup root = os.path.abspath(os.path.dirname(__file__)) version = __import__('elevator').__version__ with open(os.path.join(root, 'README.md')) as f: README = f.read() with open(os.path.join(root, 'CHANGES.rst')) as f: CHANGES = f.read() setup( name='Elevator', version=version, license='MIT', description='On disk key/value store based on levelDB backend', long_description=README + '\n\n' + CHANGES, author='Oleiade', author_email='tcrevon@gmail.com', url='http://github.com/oleiade/Elevator', classifiers=[ 'Development Status :: 0.4', 'Environment :: Unix-like Systems', 'Programming Language :: Python', 'Operating System :: Unix-like', ], keywords='elevator leveldb database key-value', packages=[ 'elevator', 'elevator.utils', 'elevator.helpers', 'elevator_cli', ], package_dir={'': '.'}, include_package_data=False, zip_safe=True, install_requires=[ 'lz4', 'msgpack-python', 'pyzmq', 'unittest2', 'ujson', 'procname', 'clint', 'plyvel', ], # Setting up executable/main functions links entry_points={ 'console_scripts': [ 'elevator = elevator.server:main', 'elevator-cli = elevator_cli.main:main', ] }, )
Python
0.999936
@@ -1234,16 +1234,34 @@ lyvel',%0A + 'fabric',%0A %5D,%0A%0A
5e551808997cfbd195e72db2a20150e247dc37dc
version number increased
setup.py
setup.py
import setuptools import typing as t import os import shutil _HERE = os.path.abspath(os.path.dirname(os.path.realpath(__file__))) classifiers = [ 'Development Status :: 2 - Pre-Alpha', 'Environment :: Console', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: Apache Software License', 'Natural Language :: English', 'Operating System :: POSIX', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3 :: Only', 'Topic :: Text Processing :: Linguistic' ] description = "toolbox for various tasks in the area of vector space models of computational linguistic" def parse_requirements(requirements_path: str = 'requirements.txt') -> t.List[str]: """Read contents of requirements.txt file and return data from its relevant lines. Only non-empty and non-comment lines are relevant. """ requirements = [] with open(os.path.join(_HERE, requirements_path)) as reqs_file: for requirement in [line.strip() for line in reqs_file.read().splitlines()]: if not requirement or requirement.startswith('#'): continue requirements.append(requirement) return requirements def parse_readme(readme_path: str = 'README.rst', encoding: str = 'utf-8') -> str: """Read contents of readme file (by default "README.rst") and return them.""" with open(os.path.join(_HERE, readme_path), encoding=encoding) as readme_file: desc = readme_file.read() return desc def clean(build_directory_name: str = 'build') -> None: """Recursively delete build directory (by default "build") if it exists.""" build_directory_path = os.path.join(_HERE, build_directory_name) if os.path.isdir(build_directory_path): shutil.rmtree(build_directory_path) def setup(): setuptools.setup( name='vsmlib', version='0.1.3', url='http://vsm.blackbird.pw/', classifiers=classifiers, keywords=['NLP', 'linguistics', 'language'], install_requires=parse_requirements(), description=description, long_description=parse_readme(), packages=setuptools.find_packages(exclude=['contrib', 'docs', 'tests*']) ) def main() -> None: clean() setup() if __name__ == '__main__': main()
Python
0.000007
@@ -1926,17 +1926,17 @@ on='0.1. -3 +4 ',%0A
13d6f562102decb402e840b8e48c7c5a7b4e1497
Update version
anypytools/__init__.py
anypytools/__init__.py
# -*- coding: utf-8 -*- """AnyPyTools library.""" import os import sys import platform import logging if "FOR_DISABLE_CONSOLE_CTRL_HANDLER" not in os.environ: os.environ["FOR_DISABLE_CONSOLE_CTRL_HANDLER"] = "1" from anypytools.abcutils import AnyPyProcess, execute_anybodycon from anypytools.macroutils import AnyMacro from anypytools import macro_commands from anypytools.tools import ( ABOVE_NORMAL_PRIORITY_CLASS, BELOW_NORMAL_PRIORITY_CLASS, IDLE_PRIORITY_CLASS, NORMAL_PRIORITY_CLASS, ) logger = logging.getLogger("abt.anypytools") logger.addHandler(logging.NullHandler()) __all__ = [ "datautils", "h5py_wrapper", "AnyPyProcess", "AnyMacro", "macro_commands", "print_versions", "execute_anybodycon", "ABOVE_NORMAL_PRIORITY_CLASS", "BELOW_NORMAL_PRIORITY_CLASS", "IDLE_PRIORITY_CLASS", "NORMAL_PRIORITY_CLASS", ] __version__ = "1.2.2" def print_versions(): """Print all the versions of software that AnyPyTools relies on.""" import numpy as np import scipy as sp print("-=" * 38) print("AnyPyTools version: %s" % __version__) print("NumPy version: %s" % np.__version__) print("SciPy version: %s" % sp.__version__) print("Python version: %s" % sys.version) (sysname, _, release, version, machine, processor) = platform.uname() print("Platform: %s-%s-%s (%s)" % (sysname, release, machine, version)) if not processor: processor = "not recognized" print("Processor: %s" % processor) print("Byte-ordering: %s" % sys.byteorder) print("-=" * 38)
Python
0
@@ -903,11 +903,11 @@ %221. -2.2 +3.0 %22%0A%0A%0A
5d48dac5163edee2c2786a3e343179074b1ea260
Version 0.1dev0 for now
setup.py
setup.py
#!/usr/bin/env python import sys import os from os.path import join, abspath, basename, dirname try: from setuptools import setup except ImportError: from distutils.core import setup py = sys.version_info if py < (2,7) or py > (3,0): raise NotImplementedError("PyAirview requires at least Python 2.7, and Python 3.2+ compatibility is in the works") def read_file(name, *args): try: return open(join(dirname(__file__), name)).read(*args) except OSError: return '' setup(name='pyairview', version='0.1a0', description='PyAirview is a very simple Python library for the Ubiquiti Airview2 2.4GHz spectrum analyzer, which has an undocumented device API.', long_description=read_file('README.rst'), author='Stephen Oliver', author_email='steve@infincia.com', url='http://infincia.github.io/pyairview/', scripts=['pyairview_test.py'], py_modules=['pyairview.py'], license='MIT', keywords='airview ubiquiti airview2 spectrum analyzer', platforms = 'any', install_requires = ['PySerial'], classifiers=['Development Status :: 3 - Alpha', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Programming Language :: Python :: 2.7', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: System :: Hardware :: Hardware Drivers', ], )
Python
0
@@ -539,17 +539,19 @@ ion='0.1 -a +dev 0',%0A
02ed373ec7818d51ba881c973125bf4d995e04c7
bump to 0.0.10
setup.py
setup.py
import os from setuptools import setup, find_packages longDesc = "" if os.path.exists("README.md"): longDesc = open("README.md").read().strip() setup( name='botstory', packages=find_packages(), version='0.0.9', description='Async framework for bots', license='MIT', long_description=longDesc, author='Eugene Krevenets', author_email='ievegenii.krevenets@gmail.com', url='https://github.com/hyzhak/bot-story', download_url='https://github.com/hyzhak/bot-story/tarball/0.0.1', keywords=['bot', 'ai', 'nlp', 'asyncio'], classifiers=[ 'Development Status :: 1 - Planning', 'Intended Audience :: Developers', 'Topic :: Communications :: Chat', # Not early because of async/await 'Programming Language :: Python :: 3.5', ], install_requires=[ 'aiohttp==1.0.5', 'motor==0.7b0', 'yarl==0.4.3', ], )
Python
0.000005
@@ -223,9 +223,10 @@ 0.0. -9 +10 ',%0A
e72a726ba2fcbfe24fc6777a8905c1b7ed9c7dbf
test requirements
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- try: from setuptools import setup except ImportError: from distutils.core import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() requirements = [ # TODO: put package requirements here ] test_requirements = [ unittest2 ] setup( name='rltools', version='0.1.0', description="Collection of domains, learners, strategies, and other tools related to reinforcement learning.", long_description=readme + '\n\n' + history, author="Oscar Martinez", author_email='omtinez@gmail.com', url='https://github.com/omtinez/rltools', packages=[ 'rltools', ], package_dir={'rltools': 'rltools'}, include_package_data=True, install_requires=requirements, license="MIT", zip_safe=False, keywords='rltools', classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', "Programming Language :: Python :: 2", 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], test_suite='tests', tests_require=test_requirements )
Python
0.000002
@@ -309,50 +309,8 @@ = %5B%0A - # TODO: put package requirements here%0A %5D%0A%0At @@ -334,22 +334,8 @@ = %5B%0A - unittest2%0A %5D%0A%0As
04a31c02c8186505e6e211e76903e5f1b62b3f90
Change version number (v2.2 -> v2.2.1)
setup.py
setup.py
from distutils.core import setup, Extension setup(name='python-pytun', author='montag451', author_email='montag451 at laposte.net', maintainer='montag451', maintainer_email='montag451 at laposte.net', url='https://github.com/montag451/pytun', description='Linux TUN/TAP wrapper for Python', long_description=open('README.rst').read(), version='2.2', ext_modules=[Extension('pytun', ['pytun.c'])], classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: POSIX :: Linux', 'Programming Language :: C', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: System :: Networking'])
Python
0.000002
@@ -389,16 +389,18 @@ ion='2.2 +.1 ',%0A
d5313af83b8dc95677be16c88072b652743505fd
Bump version.
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup def read(name): from os import path return open(path.join(path.dirname(__file__), name)).read() setup( name='django-facebook-auth', version='3.8.5', description="Authorisation app for Facebook API.", long_description=read("README.rst"), url="https://github.com/pozytywnie/django-facebook-auth", maintainer="Tomasz Wysocki", maintainer_email="tomasz@wysocki.info", install_requires=( 'celery', 'Django', 'facepy>=1.0.6', 'cached_property', ), packages=[ 'facebook_auth', 'facebook_auth.migrations', 'facebook_auth.management', 'facebook_auth.management.commands', 'facebook_auth.south_migrations', 'facebook_auth.facepy_wrapper', ], )
Python
0.000057
@@ -212,9 +212,9 @@ 3.8. -5 +6 ',%0A
e43a1d2f8bb8515b3bc920f210d697278717af31
Move to 0.5 development.
setup.py
setup.py
#! /usr/bin/env python descr = """Image Processing SciKit Image processing algorithms for SciPy, including IO, morphology, filtering, warping, color manipulation, object detection, etc. Please refer to the online documentation at http://scikits-image.org/ """ DISTNAME = 'skimage' DESCRIPTION = 'Image processing routines for SciPy' LONG_DESCRIPTION = descr MAINTAINER = 'Stefan van der Walt' MAINTAINER_EMAIL = 'stefan@sun.ac.za' URL = 'http://scikits-image.org' LICENSE = 'Modified BSD' DOWNLOAD_URL = 'http://github.com/scikits-image/scikits-image' VERSION = '0.4' import os import setuptools from numpy.distutils.core import setup try: from distutils.command.build_py import build_py_2to3 as build_py except ImportError: from distutils.command.build_py import build_py def configuration(parent_package='', top_path=None): if os.path.exists('MANIFEST'): os.remove('MANIFEST') from numpy.distutils.misc_util import Configuration config = Configuration(None, parent_package, top_path) config.set_options( ignore_setup_xxx_py=True, assume_default_configuration=True, delegate_options_to_subpackages=True, quiet=True) config.add_subpackage(DISTNAME) config.add_data_dir('skimage/data') return config def write_version_py(filename='skimage/version.py'): template = """# THIS FILE IS GENERATED FROM THE SKIMAGE SETUP.PY version='%s' """ vfile = open(os.path.join(os.path.dirname(__file__), filename), 'w') try: vfile.write(template % VERSION) finally: vfile.close() if __name__ == "__main__": write_version_py() setup( name=DISTNAME, description=DESCRIPTION, long_description=LONG_DESCRIPTION, maintainer=MAINTAINER, maintainer_email=MAINTAINER_EMAIL, url=URL, license=LICENSE, download_url=DOWNLOAD_URL, version=VERSION, classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: BSD License', 'Programming Language :: C', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Topic :: Scientific/Engineering', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Operating System :: Unix', 'Operating System :: MacOS', ], configuration=configuration, install_requires=[], packages=setuptools.find_packages(), include_package_data=True, zip_safe=False, # the package can run out of an .egg file entry_points={ 'console_scripts': [ 'scivi = skimage.scripts.scivi:main'] }, cmdclass={'build_py': build_py}, )
Python
0
@@ -645,17 +645,20 @@ = '0. -4 +5dev '%0A%0Aimpor
b0b4340659a448d47499018970b3d3bf90cd464f
version 0.2.1
setup.py
setup.py
# -*- coding: utf-8 -*- # sphinxcontrib-srclinks/setup.py import os from setuptools import setup, find_packages def here(path_): return os.path.join(os.path.dirname(os.path.abspath(__file__)), path_) with open(here('README.rst')) as f: README = f.read() with open(here('CHANGELOG.rst')) as f: CHANGELOG = f.read() long_desc = README + '\n\n' + CHANGELOG requires = ['Sphinx>=0.6'] setup( name='sphinxcontrib-srclinks', version='0.2.0', url='http://bitbucket.org/westurner/sphinxcontrib-srclinks', download_url='http://pypi.python.org/pypi/sphinxcontrib-srclinks', license='BSD (3-clause)', author='Wes Turner', author_email='wes@wrd.nu', description='Add source, edit, history, annotate links to GitHub or BitBucket', long_description=long_desc, zip_safe=False, classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Documentation', 'Topic :: Utilities', ], platforms='any', packages=find_packages(), include_package_data=True, install_requires=requires, namespace_packages=['sphinxcontrib'], )
Python
0.000001
@@ -454,17 +454,17 @@ on='0.2. -0 +1 ',%0A u
738af339a921a6ceca8c2243f06e026d0b0349c9
Change author info.
setup.py
setup.py
from setuptools import setup, find_packages version = '1.5' setup(name='jarn.viewdoc', version=version, description='Preview Python package documentation', long_description=open('README.txt').read() + '\n' + open('CHANGES.txt').read(), classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', ], keywords='view rest docs', author='Jarn AS', author_email='info@jarn.com', url='http://www.jarn.com/', license='BSD', packages=find_packages(), namespace_packages=['jarn'], include_package_data=True, zip_safe=False, install_requires=[ 'setuptools', 'docutils', ], entry_points={ 'console_scripts': 'viewdoc=jarn.viewdoc.viewdoc:main', }, )
Python
0
@@ -603,15 +603,23 @@ or=' -Jarn AS +Stefan H. Holek ',%0A @@ -641,21 +641,24 @@ il=' -info@jarn.com +stefan@epy.co.at ',%0A @@ -678,21 +678,41 @@ p:// -www.jarn.com/ +pypi.python.org/pypi/jarn.viewdoc ',%0A
18bc6f7bb71bc454ec69877058f647c9126334c4
Bump to version 0.17.0
setup.py
setup.py
try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup, find_packages with open('requirements.txt') as file: requirements = file.read().splitlines() config = { 'name': 'prometheus-api', 'description': 'RESTful API for prometheus, a global asset allocation tool', 'long_description': open('README.rst', 'rt').read(), 'author': 'Reuben Cummings', 'url': 'https://github.com/reubano/prometheus', 'download_url': 'https://github.com/reubano/prometheus/downloads/prometheus*.tgz', 'author_email': 'reubano@gmail.com', 'version': '0.16.2', 'install_requires': requirements, 'classifiers': ['Development Status :: 4 - Beta', 'License :: OSI Approved :: The MIT License (MIT)', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Intended Audience :: Financial and Insurance Industry', 'Topic :: Internet :: WWW/HTTP :: WSGI :: Server', 'Topic :: Database', 'Topic :: Office/Business :: Financial :: Investment', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX :: Linux'], 'packages': find_packages(), 'zip_safe': False, 'license': 'MIT', 'keywords': 'finance, asset-allocation, portfolio, api, postgres, rest' 'platforms' ['MacOS X', 'Windows', 'Linux'] 'include_package_data': True} setup(**config)
Python
0
@@ -589,11 +589,11 @@ '0.1 -6.2 +7.0 ',%0A%09
f0f22041cadba1067106175f9c735f20e17b8666
Remove requirement for separate typing package; typing is in the Python stdlib from 3.5, and we require >= 3.6. From 3.7, installing the typing package causes import failures.
setup.py
setup.py
# Copyright (C) 2020 Mandiant, Inc. All Rights Reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: [package root]/LICENSE.txt # Unless required by applicable law or agreed to in writing, software distributed under the License # is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and limitations under the License. import os import setuptools requirements = [ "tqdm==4.62.3", "pyyaml==6.0", "tabulate==0.8.9", "colorama==0.4.4", "termcolor==1.1.0", "wcwidth==0.2.5", "ida-settings==2.1.0", "viv-utils[flirt]==0.6.9", "halo==0.0.31", "networkx==2.5.1", "ruamel.yaml==0.17.21", "vivisect==1.0.5", "smda==1.7.0", "pefile==2021.9.3", "typing==3.7.4.3", "pyelftools==0.28", ] # this sets __version__ # via: http://stackoverflow.com/a/7071358/87207 # and: http://stackoverflow.com/a/2073599/87207 with open(os.path.join("capa", "version.py"), "r") as f: exec(f.read()) # via: https://packaging.python.org/guides/making-a-pypi-friendly-readme/ this_directory = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(this_directory, "README.md"), "r") as f: long_description = f.read() setuptools.setup( name="flare-capa", version=__version__, description="The FLARE team's open-source tool to identify capabilities in executable files.", long_description=long_description, long_description_content_type="text/markdown", author="Willi Ballenthin, Moritz Raabe", author_email="william.ballenthin@mandiant.com, moritz.raabe@mandiant.com", url="https://www.github.com/mandiant/capa", project_urls={ "Documentation": "https://github.com/mandiant/capa/tree/master/doc", "Rules": "https://github.com/mandiant/capa-rules", "Rules Documentation": "https://github.com/mandiant/capa-rules/tree/master/doc", }, packages=setuptools.find_packages(exclude=["tests"]), package_dir={"capa": "capa"}, entry_points={ "console_scripts": [ "capa=capa.main:main", ] }, include_package_data=True, install_requires=requirements, extras_require={ "dev": [ "pytest==7.0.1", "pytest-sugar==0.9.4", "pytest-instafail==0.4.2", "pytest-cov==3.0.0", "pycodestyle==2.8.0", "black==22.1.0", "isort==5.10.1", "mypy==0.931", "psutil==5.9.0", "stix2==3.0.1", "requests==2.27.1", # type stubs for mypy "types-backports==0.1.3", "types-colorama==0.4.8", "types-PyYAML==6.0.4", "types-tabulate==0.8.5", "types-termcolor==1.1.3", "types-psutil==5.8.20", "types_requests==2.27.11", ], }, zip_safe=False, keywords="capa malware analysis capability detection FLARE", classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Programming Language :: Python :: 3", "Topic :: Security", ], python_requires=">=3.6", )
Python
0
@@ -945,31 +945,8 @@ 3%22,%0A - %22typing==3.7.4.3%22,%0A
1d92fee8c7e848648e423d343e4731a986c786de
Bump version to 0.1.1 for pypi
setup.py
setup.py
#!/usr/bin/env python try: from setuptools import setup, find_packages from setuptools.command.test import test except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages from setuptools.command.test import test class mytest(test): def run(self, *args, **kwargs): from runtests import runtests runtests() setup( name='nexus', version='0.1.0', author='David Cramer', author_email='dcramer@gmail.com', url='http://github.com/dcramer/nexus', description = 'An extendable admin interface', packages=find_packages(), zip_safe=False, install_requires=[], test_suite = 'nexus.tests', include_package_data=True, cmdclass={"test": mytest}, classifiers=[ 'Framework :: Django', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'Operating System :: OS Independent', 'Topic :: Software Development' ], )
Python
0
@@ -446,17 +446,17 @@ on='0.1. -0 +1 ',%0A a
4b6808fd5f762dfa38663f72efa62383f5522ec0
Add "service" as a keyword to setup.py
setup.py
setup.py
#!/bin/env python # -*- coding: utf8 -*- from setuptools import setup setup( name='fedimg', version='0.1.0', description='Service to automatically upload built Fedora images' ' to internal and external cloud providers.', classifiers=[ "Programming Language :: Python :: 2", " License :: OSI Approved :: GNU Affero General Public License" " v3 or later (AGPLv3+)", ], keywords='python Fedora cloud image uploader', author='David Gay', author_email='oddshocks@riseup.net', url='https://github.com/fedora-infra/fedimg', license='AGPLv3+', include_package_data=True, zip_safe=False, install_requires=["fedmsg", "apache-libcloud", "paramiko"], packages=[], entry_points=""" [moksha.consumer] kojiconsumer = fedimg.consumers:KojiConsumer """, )
Python
0.000002
@@ -470,16 +470,24 @@ uploader + service ',%0A a
0f4ee2c4f1e503bfbc36630be0a4a905ec3777a2
Edit pip description.
setup.py
setup.py
"""setup.py: setuptools control.""" from setuptools import setup PROJECT_NAME = 'asninja' setup( name=PROJECT_NAME, version="1.2", packages=[ PROJECT_NAME, PROJECT_NAME + '.toolchains' ], entry_points={ "console_scripts": ['{0} = {0}.{0}:main'.format(PROJECT_NAME)] }, install_requires=[ 'ninja_syntax>=1.6.0' ], author='Alexander Lunegov', author_email='alunegov@gmail.com', url='https://github.com/alunegov/AtmelStudioToNinja', description='Convert Atmel Studio .cproj/.cppproj file to .ninja file', license='MIT' )
Python
0
@@ -544,23 +544,15 @@ dio -.c proj -/.cppproj +ect fil @@ -560,15 +560,20 @@ to -.n +N inja +build file
52bc2ea39b73e532783458be7d38cb02e07dd8d2
Bump django-allauth version
setup.py
setup.py
import json from setuptools import setup, find_packages with open('devilry/version.json') as versionfile: version = json.load(versionfile) setup( name="devilry", version=version, url='http://devilry.org', license='BSD', zip_safe=False, author=('Tor Johansen, Espen Angell Kristiansen, Bendik Opstad, Vegard Angell, ' 'Magne Westlie, Ilya Kostolomov, Christian Tryti, Rebekka M\u00F8rken, Stian Julseth'), author_email='devilry-contact@googlegroups.com', include_package_data=True, description="A system for handling electronic deliveries. See https://github.com/devilry/devilry-django.", packages=find_packages(exclude=["devilry_rest"]), install_requires=[ 'setuptools', 'pyyaml==5.4.*', 'Markdown==2.6.*', 'Pygments==2.7.*', 'flup==1.0.*', 'gunicorn==19.9.*', 'django-crispy-forms==1.10.*', 'openpyxl==1.6.*', 'django==3.2.*', 'URLObject==2.4.*', 'mimeparse==0.1.*', 'numpy==1.19.*', 'rq==1.8.*', 'django-rq==2.4.*', 'redis==3.5.*', 'python-dateutil==2.8.*', 'pytz==2018.9.*', 'httplib2>=0.19.0<1.0.0', 'dj-static==0.0.*', 'dj-database-url==0.3.*', 'html5lib==0.9999999', 'psycopg2==2.8.*', 'django_cradmin>=9.0.0,<10.0.0', 'cradmin_legacy>=4.1.2,<5.0.0', 'ievv_opensource>=8.0.0,<9.0.0', 'xlsxwriter==1.1.*', 'arrow==0.12.*', 'detektor==1.1.0-beta.012', 'html2text==2018.1.*', 'djangorestframework==3.12.*', # For django-allauth 'django-allauth==0.48.*', 'certifi==2017.11.*', 'chardet==3.0.*', 'idna==2.6.*', 'oauthlib==2.0.*', 'python-openid==2.2.*', 'requests==2.19.*', 'requests-oauthlib==0.8.*', 'urllib3==1.22.*', 'pycountry==17.9.*', 'six==1.15.*' ] )
Python
0
@@ -1663,17 +1663,17 @@ uth==0.4 -8 +9 .*',%0A
9e2c449dd901ca851265db6d15223ac2900288e7
version 0.4.29
setup.py
setup.py
""" To build distribution: python setup.py sdist bdist_wheel --universal """ import os import setuptools import openapiart import requests import shutil pkg_name = "snappi" version = "0.4.28" models_version = "0.4.13" # read long description from readme.md base_dir = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(base_dir, "readme.md")) as fd: long_description = fd.read() # download openapi.yaml openapi_url = ( 'https://github.com/open-traffic-generator/models/releases/download/v%s' '/openapi.yaml' ) % models_version response = requests.request('GET', openapi_url, allow_redirects=True) assert response.status_code == 200 with open(os.path.join('openapi.yaml'), 'wb') as fp: fp.write(response.content) openapiart.OpenApiArt( api_files=["openapi.yaml"], python_module_name=pkg_name, protobuf_file_name=pkg_name, protobuf_package_name=pkg_name, output_dir="artifacts", extension_prefix=pkg_name ) if os.path.exists(pkg_name): shutil.rmtree(pkg_name, ignore_errors=True) # remove unwanted files shutil.copytree(os.path.join("artifacts", pkg_name), pkg_name) shutil.rmtree("artifacts", ignore_errors=True) for name in os.listdir(pkg_name): path = os.path.join(pkg_name, name) if "pb2" in path: os.remove(path) else: print(path + ' will be published') doc_dir = os.path.join(pkg_name, "docs") os.mkdir(doc_dir) shutil.move("openapi.yaml", doc_dir) with open('models-release', 'w') as out: out.write("v" + models_version) setuptools.setup( name=pkg_name, version=version, description='The Snappi Open Traffic Generator Python Package', long_description=long_description, long_description_content_type='text/markdown', url='https://github.com/open-traffic-generator/snappi', author='ajbalogh', author_email='andy.balogh@keysight.com', license='MIT', classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'Topic :: Software Development :: Testing :: Traffic Generation', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3' ], keywords='snappi testing open traffic generator automation', include_package_data=True, packages=[pkg_name], python_requires='>=2.7, <4', install_requires=[ 'requests', 'pyyaml', 'jsonpath-ng', 'typing' ], extras_require={ 'ixnetwork': ['snappi_ixnetwork==0.4.12'], 'trex': ['snappi_trex==0.0.124'], 'convergence': ['snappi_convergence==0.0.27'], 'testing': ['pytest', 'flask'] } )
Python
0.000001
@@ -187,9 +187,9 @@ .4.2 -8 +9 %22%0Amo @@ -209,17 +209,17 @@ = %220.4.1 -3 +4 %22%0A%0A# rea
50d073bd7cf769686efc63e42cb75512952b25ed
Fix package description
setup.py
setup.py
#!/usr/bin/env python import os import codecs try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages import smmap if os.path.exists("README.md"): long_description = codecs.open('README.md', "r", "utf-8").read() else: long_description = "See http://github.com/gitpython-developers/smmap" setup( name="smmap", version=smmap.__version__, description="A pure git implementation of a sliding window memory map manager", author=smmap.__author__, author_email=smmap.__contact__, url=smmap.__homepage__, platforms=["any"], license="BSD", packages=find_packages(), zip_safe=True, classifiers=[ # Picked from # http://pypi.python.org/pypi?:action=list_classifiers #"Development Status :: 1 - Planning", #"Development Status :: 2 - Pre-Alpha", #"Development Status :: 3 - Alpha", # "Development Status :: 4 - Beta", "Development Status :: 5 - Production/Stable", #"Development Status :: 6 - Mature", #"Development Status :: 7 - Inactive", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Operating System :: POSIX", "Operating System :: Microsoft :: Windows", "Operating System :: MacOS :: MacOS X", "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", ], long_description=long_description, tests_require=('nose', 'nosexcover'), test_suite='nose.collector' )
Python
0.000036
@@ -498,19 +498,22 @@ %22A pure -git +python impleme
bc6ca108b37fad54ff4f4301a728e9004350deac
Version 0.0.2!
LogDissect/__init__.py
LogDissect/__init__.py
__version__ = '0.0.1' __author__ = 'Dan Persons <dpersonsdev@gmail.com>' __license__ = 'MIT License' __github__ = 'https://github.com/dogoncouch/logdissect' __all__ = 'core'
Python
0
@@ -16,9 +16,9 @@ 0.0. -1 +2 '%0A__
2564af20cd7058fcb5618c9513e627449ae1a98b
Include the .config files under repobuddy/tests/configs.
setup.py
setup.py
# # Copyright (C) 2012 Ash (Tuxdude) <tuxdude.github@gmail.com> # # This file is part of repobuddy. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as # published by the Free Software Foundation; either version 3 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU Lesser General Public # License along with this program. If not, see # <http://www.gnu.org/licenses/>. # import os as _os from setuptools import setup, find_packages # Get the version number execfile(_os.path.join('repobuddy', 'version.py')) setup( name='RepoBuddy', version=__version__, author='Ash', author_email='tuxdude.github@gmail.com', description='Multi-repository manager for GIT based projects', license='LGPL v3', keywords='git repo multi-repo', url='https://github.com/Tuxdude/repobuddy', packages=find_packages(), package_data={ # Include all the test manifest xml files 'repobuddy.tests.manifests': ['*.xml']}, entry_points={ 'console_scripts': [ 'repobuddy = repobuddy.main:run_repobuddy', 'test_repobuddy = repobuddy.tests.main:run_tests']} )
Python
0
@@ -1350,16 +1350,116 @@ '*.xml'%5D +,%0A # Include all the test client config files%0A 'repobuddy.tests.configs': %5B'*.config'%5D %7D,%0A e
4dee886954eba4625bad4360dd11f8a1f701dd68
Version 1.0.0
setup.py
setup.py
""" Plexer ----- Plexer is a simple lexer (tokenizer) for Python. License: MIT How to...? ```````````` ----- Print all #include statements in a C/C++ file? ----- from plexer import TYPE, tokenize_lines lines = tokenize_lines('#include "foo.h"\nint val = 42;\n') for line in lines: first_token = line[0] if first_token['value'] == '#include': # print the line. print ''.join([token['value'] for token in line]) ----- Setup? ----- $ easy_install Plexer Links ````` * `website <http://github.com/shawnpresser/plexer/>`_ """ import distribute_setup distribute_setup.use_setuptools() from setuptools import setup def run_tests(): import os, sys sys.path.append(os.path.join(os.path.dirname(__file__), 'tests')) from plexer_tests import suite return suite() setup( name='Plexer', version='0.3.1', url='http://github.com/shawnpresser/plexer/', license='MIT', author='Shawn Presser', author_email='shawnpresser@gmail.com', description='A simple lexer to tokenize text (for example, a C file)', keywords='lexer tokenize tokenization parser text', py_modules=['distribute_setup','plexer'], platforms='any', classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development :: Libraries :: Python Modules' ], test_suite='__main__.run_tests' )
Python
0.000001
@@ -873,13 +873,13 @@ on=' -0.3.1 +1.0.0 ',%0A
81f91f4a035fd7705c21c92ec0aa987b670030a6
handle exceptions from cpu_info so non-x86 and ARMs compile
setup.py
setup.py
__author__ = "Alexander [Amper] Marshalov" __email__ = "alone.amper+cityhash@gmail.com" __icq__ = "87-555-3" __jabber__ = "alone.amper@gmail.com" __twitter__ = "amper" __url__ = "http://amper.github.com/cityhash" from setuptools import setup from setuptools.extension import Extension from setuptools.dist import Distribution from os.path import join, dirname from cpuinfo import get_cpu_info cpu_info = get_cpu_info() have_sse42 = 'sse4.2' in cpu_info['flags'] try: from Cython.Distutils import build_ext except ImportError: USE_CYTHON = False else: USE_CYTHON = True class BinaryDistribution(Distribution): """ Subclass the setuptools Distribution to flip the purity flag to false. See http://lucumr.pocoo.org/2014/1/27/python-on-wheels/ """ def is_pure(self): # TODO: check if this is still necessary with Python v2.7 return False CXXFLAGS = """ -O3 -Wno-unused-value -Wno-unused-function """.split() if have_sse42: CXXFLAGS.append('-msse4.2') INCLUDE_DIRS = ['include'] CMDCLASS = {} EXT_MODULES = [] if USE_CYTHON: EXT_MODULES.append( Extension("cityhash", ["src/city.cc", "src/cityhash.pyx"], language="c++", extra_compile_args=CXXFLAGS, include_dirs=INCLUDE_DIRS) ) CMDCLASS['build_ext'] = build_ext else: EXT_MODULES.append( Extension("cityhash", ["src/city.cc", "src/cityhash.cpp"], language="c++", extra_compile_args=CXXFLAGS, include_dirs=INCLUDE_DIRS) ) VERSION = '0.2.2' URL = "https://github.com/escherba/python-cityhash" LONG_DESCRIPTION = """ """ def long_description(): fname = join(dirname(__file__), 'README.rst') try: with open(fname, 'rb') as fd: return fd.read().decode('utf-8') except Exception: return LONG_DESCRIPTION setup( version=VERSION, description="Python-bindings for CityHash, a fast non-cryptographic hash algorithm", author="Alexander [Amper] Marshalov", author_email="alone.amper+cityhash@gmail.com", url=URL, download_url=URL + "/tarball/master/" + VERSION, name='cityhash', license='MIT', cmdclass=CMDCLASS, ext_modules=EXT_MODULES, keywords=['hash', 'hashing', 'cityhash'], classifiers=[ 'Development Status :: 4 - Beta', 'Operating System :: OS Independent', 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: MIT License', 'Programming Language :: C++', 'Programming Language :: Cython', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.6', 'Topic :: Internet', 'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering :: Information Analysis', 'Topic :: Software Development', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Utilities' ], long_description=long_description(), distclass=BinaryDistribution, )
Python
0
@@ -366,16 +366,26 @@ dirname%0A +%0Atry:%0A from cpu @@ -409,18 +409,20 @@ pu_info%0A -%0A%0A + cpu_info @@ -439,16 +439,20 @@ _info()%0A + have_sse @@ -485,16 +485,57 @@ 'flags'%5D +%0Aexcept Exception:%0A have_sse42 = False %0A%0Atry:%0A
e663f4bc2c697bf2f8cc1b8146ec88c01dd2b9e6
Version up
setup.py
setup.py
from setuptools import setup, find_packages import os version = '2.3' requires = [ 'setuptools', 'openprocurement.api>=2.3', ] test_requires = requires + [ 'webtest', 'python-coveralls', ] docs_requires = requires + [ 'sphinxcontrib-httpdomain', ] entry_points = { 'openprocurement.api.plugins': [ 'aboveThresholdUA = openprocurement.tender.openua:includeme' ] } setup(name='openprocurement.tender.openua', version=version, description="", long_description=open("README.txt").read() + "\n" + open(os.path.join("docs", "HISTORY.txt")).read(), # Get more strings from # http://pypi.python.org/pypi?:action=list_classifiers classifiers=[ "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", ], keywords='', author='Quintagroup, Ltd.', author_email='info@quintagroup.com', url='https://github.com/openprocurement/openprocurement.tender.openua', license='Apache License 2.0', packages=find_packages(exclude=['ez_setup']), namespace_packages=['openprocurement', 'openprocurement.tender'], include_package_data=True, zip_safe=False, install_requires=requires, tests_require=test_requires, extras_require={'test': test_requires, 'docs': docs_requires}, test_suite="openprocurement.tender.openua.tests.main.suite", entry_points=entry_points )
Python
0
@@ -62,16 +62,18 @@ n = '2.3 +.1 '%0A%0Arequi
763e41d0de53581944a4da96f85db76316308367
Remove 3.4 classifier
setup.py
setup.py
#!/usr/bin/env python # coding=utf-8 import io import os from setuptools import find_packages, setup here = os.path.abspath(os.path.dirname(__file__)) with io.open(os.path.join(here, 'README.rst'), encoding='utf-8') as fp: README = fp.read() with io.open(os.path.join(here, 'VERSION')) as version_file: VERSION = version_file.read().strip() # this module can be zip-safe if the zipimporter implements iter_modules or if # pkgutil.iter_importer_modules has registered a dispatch for the zipimporter. try: import pkgutil import zipimport zip_safe = hasattr(zipimport.zipimporter, "iter_modules") or \ zipimport.zipimporter in pkgutil.iter_importer_modules.registry.keys() except (ImportError, AttributeError): zip_safe = False setup( name='Faker', version=VERSION, description="Faker is a Python package that generates fake data for you.", long_description=README, entry_points={ 'console_scripts': ['faker=faker.cli:execute_from_command_line'], }, classifiers=[ # See https://pypi.org/pypi?%3Aaction=list_classifiers 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Intended Audience :: Developers', '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 :: 3.8', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Software Development :: Testing', 'Topic :: Utilities', 'License :: OSI Approved :: MIT License', ], keywords='faker fixtures data test mock generator', author='joke2k', author_email='joke2k@gmail.com', url='https://github.com/joke2k/faker', license='MIT License', packages=find_packages(exclude=["docs", "tests", "tests.*"]), platforms=["any"], test_suite='tests', zip_safe=zip_safe, python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", setup_requires=["pytest-runner"], install_requires=[ "python-dateutil>=2.4", "six>=1.10", "text-unidecode==1.3", ], tests_require=[ "validators>=0.13.0", "ukpostcodeparser>=1.1.1", "mock ; python_version < '3.3'", "pytest>=3.8.0,<3.9", "more-itertools<6.0.0 ; python_version < '3.0'", # restricted because they may drop python2 support in future versions # https://github.com/joke2k/faker/issues/970 "random2<1.1", "freezegun<0.4", ], extras_require={ ':python_version<"3.3"': [ 'ipaddress', ], }, )
Python
0.998761
@@ -1413,57 +1413,8 @@ 3',%0A - 'Programming Language :: Python :: 3.4',%0A
6b04762430c470693bca9177b28deb75b9b2e974
Add package keywords
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ pytest-flask ~~~~~~~~~~~~ A collection of py.test fixtures to test Flask applications. :copyright: (c) by Vital Kudzelka """ from setuptools import setup from setuptools import find_packages version = "0.3.0" def get_file(filename): """Returns file content line by line.""" try: with open(filename, 'r') as f: rv = f.readlines() except IOError: rv = [] return rv def get_long_description(): readme = get_file('README') return ''.join(readme) setup( name='pytest-flask', # Versions should comply with PEP440. For a discussion on single-sourcing # the version across setup.py and the project code, see # http://packaging.python.org/en/latest/tutorial.html#version version=version, author='Vital Kudzelka', author_email='vital.kudzelka@gmail.com', url='https://github.com/vitalk/pytest-flask', description='A collection of py.test fixtures to test Flask applications.', long_description=get_long_description(), license='MIT', packages=find_packages(exclude=['docs', 'tests']), zip_safe=False, platforms='any', install_requires=get_file('requirements.txt'), tests_require=[], # See https://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', ], # The following makes a plugin available to pytest entry_points = { 'pytest11': [ 'flask = pytest_flask.plugin', ] }, )
Python
0.000001
@@ -1258,24 +1258,61 @@ equire=%5B%5D,%0A%0A + keywords='pytest flask testing',%0A # See ht
fc7f94c4e29560621fac248656294f32a198e6af
Remove trailing comma
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="uberpy", version="1.0", author="Vivan Kumar", author_email="vivangkumar@gmail.com", description="A pure python wrapper for the Uber API.", license="MIT", keywords="uber api wrapper library", url="https://github.com/vivangkumar/uberpy", packages=['uberpy', 'tests'], long_description=read('README.md'), classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Topic :: Software Development :: Libraries :: Python Modules", "License :: OSI Approved :: MIT License", ], )
Python
0.999402
@@ -715,17 +715,16 @@ License%22 -, %0A %5D,%0A
04ff7f221837c98093cd23eef6bca8461cc3405f
disable long description until can make it py3 compatible.
setup.py
setup.py
# pylint: disable=c0111 from _gitversion import get_version try: from setuptools import setup except ImportError: import ez_setup ez_setup.use_setuptools() from setuptools import setup import sys with open('README.rst') as f: readme_content = f.read().strip() def install_requires(): _install_requires = '' if sys.version_info <= (3, 0): _install_requires = ['ipaddr'] return _install_requires setup( name='network-docopt', version=get_version(), description="Network Docopt", long_description=readme_content, url="https://github.com/CumulusNetworks/NetworkDocopt", author='Cumulus Networks', author_email='ce-ceng@cumulusnetworks.com', license="MIT", py_modules=['network_docopt'], install_requires=install_requires(), scripts=['bin/network-docopt-example'], data_files=[('usr/share/bash-completion/completions', ['completions/network-docopt-example'])], classifiers=[ 'Development Status :: 4 - Beta', 'Operating System :: POSIX :: Linux', 'Topic :: System :: Networking', 'Topic :: Utilities', 'License :: OSI Approved :: MIT License' ] )
Python
0
@@ -530,45 +530,8 @@ t%22,%0A - long_description=readme_content,%0A
a610ff6ac5bb42030fc19ba18ba971cb8a3fb86c
bump to 0.1.0
setup.py
setup.py
from setuptools import find_packages, setup long_desc = '''\ Wallace is a wrapper for the Postgres, Redis, and Mongo database adapters. It focuses on connection utilities and table-level abstractions but offers a mini-ORM built around consistent attribute type declarations across backends. ''' if __name__ == '__main__': setup( packages=find_packages(), name='Wallace', version='0.0.9', author='Christopher Sira', author_email='cbsira@gmail.com', license='BSD', url='https://github.com/csira/wallace', description='Connection utilities, mini-ORM for PostgreSQL, Redis, and MongoDB.', long_description=long_desc, install_requires=[ 'psycopg2', 'pymongo', 'redis', 'ujson', ], classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: Freely Distributable', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Topic :: Database', 'Topic :: Database :: Database Engines/Servers', 'Topic :: Software Development :: Libraries :: Application Frameworks', 'Topic :: Software Development :: Libraries :: Python Modules', ], )
Python
0.000023
@@ -411,11 +411,11 @@ ='0. -0.9 +1.0 ',%0A @@ -874,16 +874,15 @@ :: -3 - Alph +4 - Bet a',%0A
6d3e97fe1f8254610bc4aad79b489c0e4c091feb
Version bump
setup.py
setup.py
# File: setup.py # Desc: needed try: from setuptools import setup except ImportError: from distutils.core import setup setup( version = '0.1.5', name = 'ElasticQuery', description = 'A simple query builder for Elasticsearch', author = 'Nick Barrett', author_email = 'nick@oxygem.com', url = 'http://github.com/Fizzadar/ElasticQuery', package_dir= { 'ElasticQuery': 'elasticquery' }, packages = [ 'elasticquery' ] )
Python
0.000001
@@ -152,9 +152,9 @@ 0.1. -5 +6 ',%0A
535c9a80021e6924cabff60f35ac9d8d15d1e6cc
Fix email address
setup.py
setup.py
# -*- coding: utf-8 -*- """ Copyright 2016 cocoatomo Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand import os, sys version='0.4.0' long_description = '\n'.join([ open(os.path.join('.', 'README.rst')).read(), ]) classifiers = [ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Topic :: Documentation', ] setup( name='pygments-dmdl', version=version, description='DMDL lexer and highlighter for Pygments', long_description=long_description, classifiers=classifiers, keywords=[], author='cocoatomo', author_email='cocoatomo77 at gmail dot com', url='https://github.com/cocoatomo/pygments-dmdl', license='Apache License (2.0)', namespace_packages=['dmdl'], packages=find_packages('.'), package_dir={'': '.'}, include_package_data=True, install_requires=[], entry_points=""" [pygments.lexers] dmdl = dmdl.lexer:DmdlLexer """, zip_safe=False, setup_requires=['pytest-runner'], tests_require=['pytest'], cmdclass={}, )
Python
0.999959
@@ -1378,22 +1378,15 @@ mo77 - at +@ gmail - dot +. com'
e0850937a787ce77a2aff1d3abd54ee0aa8e9e38
Bump version.
setup.py
setup.py
#!/usr/bin/env python import sys assert sys.version >= '2.5', "Requires Python v2.5 or above." from distutils.core import setup from setuptools import find_packages setup( name="django-loginas", version="0.1", author="Stochastic Technologies", author_email="info@stochastictechnologies.com", url="https://github.com/stochastic-technologies/django-loginas/", description="""An app to add a "Log in as user" button in the Django user admin page.""", long_description="A short Django app that adds a button in the Django user admin page. " "When a superuser clicks the button, they are instantly logged in as that " "user.", license="BSD", keywords="django", zip_safe=False, include_package_data=True, packages=find_packages(), )
Python
0
@@ -210,16 +210,18 @@ ion=%220.1 +.1 %22,%0A a
167095e7731e4092b466623c28d4e5f1d8006118
Bump version to 2.0
setup.py
setup.py
import os from setuptools import setup def here(*paths): return os.path.join(os.path.dirname(__file__), *paths) setup( name='mysql-latin1-codec', description='Python string codec for MySQL\'s latin1 encoding', long_description=open(here('README.rst')).read(), version="1.0", py_modules=['mysql_latin1_codec'], author="Wouter Bolsterlee", author_email="uws@xs4all.nl", url="https://github.com/wbolster/mysql-latin1-codec", license="BSD License", classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Topic :: System :: Recovery Tools", "Topic :: Text Processing", ], )
Python
0
@@ -287,17 +287,17 @@ ersion=%22 -1 +2 .0%22,%0A
5ca43f26c886c0d6e559180e587867d84ea634f4
Bump version to 0.2.0
setup.py
setup.py
from setuptools import setup, find_packages __version__ = '0.1.0' __pkg_name__ = 'sift' setup( name = __pkg_name__, version = __version__, description = 'Text modelling framework', author='Andrew Chisholm', packages = find_packages(), license = 'MIT', url = 'https://github.com/wikilinks/sift', scripts = [ 'scripts/sift', 'scripts/download-wikipedia' ], classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2.7', 'Topic :: Text Processing :: Linguistic' ], install_requires = [ "ujson", "numpy", "pattern", "gensim", "msgpack-python" ], test_suite = __pkg_name__ + '.test' )
Python
0.000001
@@ -59,9 +59,9 @@ '0. -1 +2 .0'%0A @@ -76,16 +76,20 @@ me__ = ' +text sift'%0A%0As
242924a8dbe1e227bd2d21cb744cc73670324d32
Bump version
setup.py
setup.py
from setuptools import setup setup( name="python-louvain", version="0.6", author="Thomas Aynaud", author_email="taynaud@gmail.com", description="Louvain algorithm for community detection", license="BSD", url="https://github.com/taynaud/python-louvain", classifiers=[ "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "License :: OSI Approved :: BSD License", "Development Status :: 4 - Beta", ], packages=['community'], install_requires=[ "networkx<2.0.0", ], scripts=['bin/community'] )
Python
0
@@ -76,9 +76,9 @@ =%220. -6 +7 %22,%0A
346eaa0db512fbbbb2357f08ec717fc0717ed7fd
update setup.py version number
setup.py
setup.py
import os.path from setuptools import Command, find_packages, setup HERE = os.path.abspath(os.path.dirname(__file__)) README_PATH = os.path.join(HERE, 'README.rst') try: README = open(README_PATH).read() except IOError: README = '' setup( name='rollbar-agent', data_files=[('', ['rollbar-agent', 'rollbar-agent-init.sh', 'rollbar-agent.conf', 'LICENSE', 'requirements.txt'])], version='0.3.10', description='Rollbar server-side agent', long_description=README, author='Rollbar, Inc.', author_email='support@rollbar.com', url='http://github.com/rollbar/rollbar-agent', classifiers=[ "Programming Language :: Python", "License :: OSI Approved :: MIT License", "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware", "Topic :: Software Development", "Topic :: Software Development :: Bug Tracking", "Topic :: Software Development :: Testing", "Topic :: Software Development :: Quality Assurance", ], install_requires=[ 'requests', ], )
Python
0
@@ -407,17 +407,17 @@ n='0.3.1 -0 +1 ',%0A d
d41e0d9aec0c68735b70596f67c31a1effdad999
update version
setup.py
setup.py
import os from setuptools import setup _packages = ["polara", "polara/recommender", "polara/evaluation", "polara/datasets", "polara/lib", "polara/tools", "polara/recommender/coldstart", "polara/recommender/hybrid", "polara/recommender/contextual", "polara/recommender/external", "polara/recommender/external/mymedialite", "polara/recommender/external/turi", "polara/recommender/external/implicit", "polara/recommender/external/lightfm"] opts = dict(name="polara", description="Fast and flexible recommender system framework", keywords = "recommender system", version = "0.6.3.dev", license="MIT", author="Evgeny Frolov", platforms=["any"], packages=_packages) # opts.update(extras) if __name__ == '__main__': setup(**opts)
Python
0
@@ -766,13 +766,9 @@ 0.6. -3.dev +4 %22,%0A
6ab083eede68946f4a87d24732cd82be09734d52
Update the long_description with README.rst
setup.py
setup.py
import os from setuptools import setup longDesc = "" if os.path.exists("README.md"): longDesc = open("README.md").read().strip() setup( name = "pytesseract", version = "0.1.6", author = "Samuel Hoffstaetter", author_email="", maintainer = "Matthias Lee", maintainer_email = "pytesseract@madmaze.net", description = ("Python-tesseract is a python wrapper for google's Tesseract-OCR"), long_description = longDesc, license = "GPLv3", keywords = "python-tesseract OCR Python", url = "https://github.com/madmaze/python-tesseract", packages=['pytesseract'], package_dir={'pytesseract': 'src'}, package_data = {'pytesseract': ['*.png','*.jpg']}, entry_points = {'console_scripts': ['pytesseract = pytesseract.pytesseract:main']}, classifiers = [ 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', ] )
Python
0.999881
@@ -74,18 +74,19 @@ %22README. -md +rst %22):%0A%09lon @@ -110,10 +110,11 @@ DME. -md +rst %22).r
1ba7e00ac7ef7f22aed22833940d3666d7584deb
Add generic Python 3 trove classifier
setup.py
setup.py
from setuptools import setup setup( name='tangled.sqlalchemy', version='0.1a3.dev0', description='Tangled SQLAlchemy integration', long_description=open('README.rst').read(), url='http://tangledframework.org/', download_url='https://github.com/TangledWeb/tangled.sqlalchemy/tags', author='Wyatt Baldwin', author_email='self@wyattbaldwin.com', packages=[ 'tangled', 'tangled.sqlalchemy', ], install_requires=[ 'tangled>=0.1a5', 'SQLAlchemy', ], extras_require={ 'dev': [ 'tangled[dev]>=0.1a5', ], }, classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', ], )
Python
0.997995
@@ -764,16 +764,63 @@ cense',%0A + 'Programming Language :: Python :: 3',%0A
260ae7806df9f10891b8e59bda9d5e551ea878db
change misaka url
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup(name='mikoto', version='0.0.1', keywords=('markdown', 'Douban'), description='better Markdown Render', license='New BSD', url='https://github.com/qingfeng/mikoto', author='qingfeng', author_email='qingfeng@douban.com', packages=find_packages(), include_package_data=True, platforms='any', install_requires=['Pygments', 'chardet', 'pytest', 'misaka', ], dependency_links=[ 'https://github.com/qingfeng/misaka/tarball/master#egg=misaka' ] )
Python
0.000003
@@ -578,16 +578,20 @@ 'misaka +-1.0 ',%0A @@ -710,16 +710,20 @@ g=misaka +-1.0 '%0A
b076cf29166e2c51577a8ca4015f005379cf9e31
Increment version.
setup.py
setup.py
from distutils.core import setup setup( name="pocketlint", description="Pocket-lint a composite linter and style checker.", version="0.5.12", maintainer="Curtis C. Hovey", maintainer_email="sinzui.is@verizon.net", url="https://launchpad.net/pocket-lint", packages=[ 'pocketlint', 'pocketlint/contrib', 'pocketlint/contrib/pyflakes'], package_dir={ 'pocketlint': 'pocketlint', 'pocketlint/contrib': 'pocketlint/contrib'}, package_data={ 'pocketlint': ['jsreporter.js'], 'pocketlint/contrib': ['fulljslint.js'], }, scripts=['scripts/pocketlint'], )
Python
0
@@ -148,9 +148,9 @@ .5.1 -2 +3 %22,%0A
f715e77405ce16d1061f7dfa5667ac41994063cc
Allow all Pillow 5.x
setup.py
setup.py
#!/usr/bin/python # -*- coding: utf-8 -*- # thumbor imaging service # https://github.com/thumbor/thumbor/wiki # Licensed under the MIT license: # http://www.opensource.org/licenses/mit-license # Copyright (c) 2011 globo.com thumbor@googlegroups.com from setuptools import setup, Extension from thumbor import __version__ import glob import os import logging tests_require = [ "redis>=2.4.9,<3.0.0", "coverage>=4.4.1", "mock>=1.0.1,<3.0.0", "raven", "nose", "nose-focus", "colorama", "numpy", "flake8", "yanc", "remotecv", "pyssim>=0.4.0", "cairosvg>=1.0.0,<2.0.0,!=1.0.21", "preggy>=1.3.0", "opencv-python", "yanc>=0.3.3", ] def filter_extension_module(name, lib_objs, lib_headers): return Extension( 'thumbor.ext.filters.%s' % name, ['thumbor/ext/filters/%s.c' % name] + lib_objs, libraries=['m'], include_dirs=['thumbor/ext/filters/lib'], depends=['setup.py'] + lib_objs + lib_headers, extra_compile_args=['-Wall', '-Wextra', '-Werror', '-Wno-unused-parameter']) def gather_filter_extensions(): files = glob.glob('thumbor/ext/filters/_*.c') lib_objs = glob.glob('thumbor/ext/filters/lib/*.c') lib_headers = glob.glob('thumbor/ext/filters/lib/*.h') return [filter_extension_module(f[0:-2].split('/')[-1], lib_objs, lib_headers) for f in files] def run_setup(extension_modules=[]): if 'CFLAGS' not in os.environ: os.environ['CFLAGS'] = '' setup( name='thumbor', version=__version__, description="thumbor is an open-source photo thumbnail service by globo.com", long_description=""" Thumbor is a smart imaging service. It enables on-demand crop, resizing and flipping of images. It also features a VERY smart detection of important points in the image for better cropping and resizing, using state-of-the-art face and feature detection algorithms (more on that in Detection Algorithms). Using thumbor is very easy (after it is running). All you have to do is access it using an url for an image, like this: http://<thumbor-server>/300x200/smart/s.glbimg.com/et/bb/f/original/2011/03/24/VN0JiwzmOw0b0lg.jpg """, keywords='imaging face detection feature thumbnail imagemagick pil opencv', author='globo.com', author_email='thumbor@googlegroups.com', url='https://github.com/thumbor/thumbor/wiki', license='MIT', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Operating System :: MacOS', 'Operating System :: POSIX :: Linux', 'Programming Language :: Python :: 2.7', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Multimedia :: Graphics :: Presentation' ], packages=['thumbor'], package_dir={"thumbor": "thumbor"}, include_package_data=True, package_data={ '': ['*.xml'], }, install_requires=[ "tornado>=4.1.0,<6.0.0", "pycryptodome >= 3.4.7", "pycurl>=7.19.0,<7.44.0", "Pillow>=4.3.0,<5.3.0", "derpconf>=0.2.0", "piexif>=1.0.13,<1.1.0", "statsd>=3.0.1", "libthumbor>=1.3.2", "futures", "argparse", "pytz", "six", "webcolors", ], extras_require={ 'tests': tests_require, }, entry_points={ 'console_scripts': [ 'thumbor=thumbor.server:main', 'thumbor-url=thumbor.url_composer:main', 'thumbor-config=thumbor.config:generate_config' ], }, ext_modules=extension_modules ) try: run_setup(gather_filter_extensions()) except SystemExit as exit: print("\n\n*******************************************************************") logging.exception(exit) print("\n\n*******************************************************************") print("Couldn't build one or more native extensions, skipping compilation.\n\n") run_setup()
Python
0.000005
@@ -3273,11 +3273,11 @@ .0,%3C -5.3 +6.0 .0%22,
99c4f1a9922b7ec388178fb7ce57626d18848090
bump version
setup.py
setup.py
# -*- coding: utf-8 -*- try: from setuptools import setup except ImportError: from distutils.core import setup setup( name='bonspy', version='1.2.2', description='Library that converts bidding trees to the AppNexus Bonsai language.', author='Alexander Volkmann, Georg Walther', author_email='contact@markovian.com', packages=['bonspy'], package_dir={'bonspy': 'bonspy'}, url='https://github.com/markovianhq/bonspy', download_url='https://github.com/markovianhq/bonspy/tarball/master', classifiers=[ 'Development Status :: 3 - Alpha', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python :: 3' ] )
Python
0
@@ -158,17 +158,17 @@ on='1.2. -2 +3 ',%0A d
29421f9bf03e3a9a4e01e8b98bcd318cb4231312
version bump
setup.py
setup.py
from setuptools import setup, find_packages setup( name='volta', version='0.0.37', description='yandex package for mobile energy consumption measurements', longer_description=''' yandex package for mobile energy consumption measurements ''', maintainer='Alexey Lavrenuke (load testing)', maintainer_email='direvius@yandex-team.ru', url='https://github.com/yandex-load/volta', packages=find_packages(exclude=["tests", "tmp", "docs", "data"]), install_requires=[ 'tornado', 'pandas', 'seaborn', 'numpy', 'matplotlib', 'requests', 'pyserial', 'progressbar2', 'pyqtgraph', ], setup_requires=[ 'pytest-runner', ], tests_require=[ 'pytest', ], entry_points={ 'console_scripts': [ 'volta-ui = volta.ui.ui:main', 'volta-sync = volta.analysis.sync:main', 'volta-grab = volta.analysis.grab:run', 'volta-uploader = volta.analysis.uploader:run', 'volta-wizard = volta.analysis.wizard:run', 'volta-wizard-ui = volta.wizard.ui:main', 'volta-realtime = volta.analysis.realtime:main', ], }, license='MPLv2', package_data={ 'volta.ui': [ 'static/*', 'handlers/*', ], 'volta.wizard': [ 'static/*', '*.html', ], 'volta.analysis': [ '*.db', ], }, data_files=[ ('/usr/local/bin', ['volta/reader/serial-reader']), ], classifiers=[ 'Environment :: Web Environment', 'Intended Audience :: End Users/Desktop', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)', 'Operating System :: POSIX', 'Topic :: Software Development :: Quality Assurance', 'Topic :: Software Development :: Testing', 'Topic :: Software Development :: Testing :: Traffic Generation', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', ], use_2to3=True, )
Python
0.000001
@@ -85,9 +85,9 @@ .0.3 -7 +8 ',%0A
54c7f6323e4da87eb61b10490c6fc13a5516b936
Change version
setup.py
setup.py
#!/usr/bin/env python from setuptools import find_packages, setup install_requires = [ 'Django>=1.8,<1.9', 'django-mptt>=0.7,<0.8', 'django-mptt-admin>=0.3,<0.4', 'sorl-thumbnail>=12.2', ] setup( name='django-glitter', version='0.1', description='Glitter for Django', long_description=open('README.rst').read(), url='https://github.com/blancltd/django-glitter', maintainer='Blanc LTD', maintainer_email='studio@blanc.ltd.uk', platforms=['any'], packages=find_packages(), include_package_data=True, classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'License :: Other/Proprietary License', 'Operating System :: OS Independent', 'Programming Language :: Python', ], license='Proprietary', install_requires=install_requires, )
Python
0
@@ -252,16 +252,18 @@ ion='0.1 +.1 ',%0A d
75cb3c334de96a758a76bcf3902c14d862474454
Rename to knxip
setup.py
setup.py
from setuptools import setup setup(name='knxip', version='0.2', description='A native Python KNX/IPNet implementation', url='http://github.com/usul27/pknx', author='Daniel Matuschek', author_email='daniel@hifiberry.com', license='MIT', packages=['pknx'], zip_safe=False)
Python
0.999999
@@ -283,20 +283,21 @@ kages=%5B' -p knx +ip '%5D,%0A
e205ce4d7f1105dff1e7fdb4e22df0d4aafd3dd1
bump version 0.2.2
setup.py
setup.py
import sys import os from setuptools import setup, find_packages _base = os.path.dirname(os.path.abspath(__file__)) _requirements = os.path.join(_base, 'requirements.txt') _requirements_test = os.path.join(_base, 'requirements-test.txt') version = "0.2.1" install_requirements = [] with open(_requirements) as f: install_requirements = f.read().splitlines() test_requirements = [] if "test" in sys.argv: with open(_requirements_test) as f: test_requirements = f.read().splitlines() setup( name="emgcli", packages=find_packages(exclude=['ez_setup']), version=version, install_requires=install_requirements, setup_requires=['pytest-runner'], tests_require=test_requirements, include_package_data=True, zip_safe=False, test_suite="tests", entry_points={ 'console_scripts': [ 'emgcli=emgcli.manage:main', 'emgdeploy=gunicorn.app.wsgiapp:run', ], }, )
Python
0.000001
@@ -253,9 +253,9 @@ 0.2. -1 +2 %22%0A%0Ai
12d9c9ff1622ce698cc62679acec2b2a23e46127
support continue record from mic
MicRecord/MicRecord.py
MicRecord/MicRecord.py
import wave, pyaudio def record_sounds(output_file="record.wav", time=0): CHUNK = 1024 FORMAT = pyaudio.paInt16 CHANNELS = 2 RATE = 44100 if time is not 0: audio = pyaudio.PyAudio() stream = audio.open(format=FORMAT, channels=CHANNELS, rate=RATE, input=True, frames_per_buffer=CHUNK) frames = [] for i in range(0, int(RATE / CHUNK * time / 1000)): data = stream.read(CHUNK) frames.append(data) stream.stop_stream() stream.close() audio.terminate() out_file = wave.open(output_file, 'wb') out_file.setnchannels(CHANNELS) out_file.setsampwidth(audio.get_sample_size(FORMAT)) out_file.setframerate(RATE) out_file.writeframes(b''.join(frames)) out_file.close() exit_code = 0 else: exit_code = 0 return exit_code
Python
0
@@ -4,17 +4,23 @@ ort wave -, +%0Aimport pyaudio @@ -21,16 +21,17 @@ yaudio%0A%0A +%0A def reco @@ -79,21 +79,22 @@ 0):%0A -CHUNK +_chunk = 1024%0A @@ -97,22 +97,23 @@ 024%0A -FORMAT +_format = pyaud @@ -127,24 +127,25 @@ t16%0A -CHANNELS +_channels = 2%0A @@ -145,20 +145,21 @@ = 2%0A -RATE +_rate = 44100 @@ -163,34 +163,9 @@ 100%0A - if time is not 0:%0A +%0A @@ -190,20 +190,16 @@ Audio()%0A - stre @@ -225,20 +225,17 @@ mat= -FORMAT,%0A +_format,%0A @@ -267,22 +267,19 @@ els= -CHANNELS,%0A +_channels,%0A @@ -303,20 +303,21 @@ rate= -RATE +_rate ,%0A @@ -334,20 +334,16 @@ - - input=Tr @@ -346,20 +346,16 @@ t=True,%0A - @@ -388,31 +388,28 @@ _buffer= -CHUNK)%0A +_chunk)%0A - frames = @@ -414,22 +414,44 @@ = %5B%5D%0A + if time is not 0:%0A + for i in @@ -468,20 +468,22 @@ int( -RATE / CHUNK +_rate / _chunk * t @@ -531,13 +531,14 @@ ead( -CHUNK +_chunk )%0A @@ -575,60 +575,392 @@ - stream.stop_stream()%0A stream.close()%0A +else:%0A import os, sys, select%0A while True:%0A if sys.stdin in select.select(%5Bsys.stdin%5D, %5B%5D, %5B%5D, 0)%5B0%5D:%0A try:%0A line = input()%0A except:%0A line = raw_input()%0A break%0A data = stream.read(_chunk)%0A frames.append(data)%0A%0A stream.stop_stream()%0A stream.close()%0A @@ -978,28 +978,24 @@ nate()%0A%0A - - out_file = w @@ -1022,20 +1022,16 @@ , 'wb')%0A - out_ @@ -1052,22 +1052,19 @@ els( -CHANNELS)%0A +_channels)%0A @@ -1111,25 +1111,22 @@ ize( -FORMAT))%0A +_format))%0A - out_ @@ -1147,22 +1147,19 @@ ate( -RATE +_rate )%0A - - out_ @@ -1193,20 +1193,16 @@ rames))%0A - out_ @@ -1218,63 +1218,8 @@ e()%0A - exit_code = 0%0A else:%0A exit_code = 0 %0A @@ -1229,13 +1229,6 @@ urn -exit_code +0%0A
9c688fa1c5825c35cfbdded44cc77f7d42a97ccb
use good english
setup.py
setup.py
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), "README.md")) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name="posttls", version="1.0", packages=find_packages(), include_package_data=True, license="AGPLv3", description="Postfix' Transport Encryption under Control of the User", long_description=README, url="https://posttls.com/", author="Hendrik Suenkler", author_email="hendrik@posttls.com", classifiers=[ "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.8", "Intended Audience :: Developers", "License :: OSI Approved :: AGPLv3", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", ], )
Python
0.001581
@@ -426,16 +426,17 @@ Postfix' +s Transpo
a84159df875f6a07300deb8f98224f92e0578445
Increment version number now that 0.1.5 release out.
setup.py
setup.py
import os from os.path import relpath, join from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() def find_package_data(data_root, package_root): files = [] for root, dirnames, filenames in os.walk(data_root): for fn in filenames: files.append(relpath(join(root, fn), package_root)) return files setup( name = "smarty", version = "0.1.5", author = "John Chodera, David Mobley, and others", author_email = "john.chodera@choderalab.org", description = ("Automated Bayesian atomtype sampling"), license = "MIT", keywords = "Bayesian atomtype sampling forcefield parameterization", url = "http://github.com/open-forcefield-group/smarty", packages=['smarty', 'smarty/tests', 'smarty/data'], long_description=read('README.md'), classifiers=[ "Development Status :: 3 - Alpha", "Topic :: Utilities", "License :: OSI Approved :: MIT", ], entry_points={'console_scripts': ['smarty = smarty.cli_smarty:main', 'smirky = smarty.cli_smirky:main']}, package_data={'smarty': find_package_data('smarty/data', 'smarty')}, )
Python
0
@@ -438,9 +438,9 @@ 0.1. -5 +6 %22,%0A
c87a21a5749a0134bf43df877a7b326ad5dc5dbd
Version 1.1.0
setup.py
setup.py
from setuptools import setup name = 'pwkeeper' VERSION = '1.0.0' setup( name=name, packages=[name], version=VERSION, description='Simple terminal-based password manager', long_description='See https://github.com/kvikshaug/pwkeeper/blob/master/README.md', author='Ali Kaafarani', author_email='ali@kvikshaug.no', url='https://github.com/kvikshaug/pwkeeper/', download_url='https://github.com/kvikshaug/pwkeeper/tarball/v%s' % (VERSION), keywords=['password', 'password-manager', 'terminal'], license='WTFPL', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Natural Language :: English', 'Operating System :: POSIX', 'Programming Language :: Python', 'Programming Language :: Python :: 3', ], install_requires=['pycrypto>=2.6.1,<3'], entry_points={ 'console_scripts': [ 'pw = pwkeeper.pwkeeper:main', ], }, )
Python
0
@@ -54,17 +54,17 @@ ON = '1. -0 +1 .0'%0A%0Aset
83f7da532f6d36a5629a45985e1bd7801bcea23d
Reformat setup.py with black
setup.py
setup.py
import ast import re from os import path from setuptools import setup, find_packages PROJECT_DIR = path.abspath(path.dirname(__file__)) def get_version(): constants = path.join(PROJECT_DIR, "django_migration_linter", "constants.py") _version_re = re.compile(r"__version__\s+=\s+(?P<version>.*)") with open(constants, "r") as f: match = _version_re.search(f.read()) version = match.group("version") if match is not None else '"unknown"' return str(ast.literal_eval(version)) with open(path.join(PROJECT_DIR, "README.md")) as f: long_description = f.read() setup( name="django-migration-linter", version=get_version(), description="Detect backward incompatible migrations for your django project", long_description=long_description, long_description_content_type='text/markdown', url="https://github.com/3YOURMIND/django-migration-linter", author="3YOURMIND GmbH", author_email="david.wobrock@gmail.com", license="Apache License 2.0", packages=find_packages(exclude=["tests/"]), install_requires=[ "django>=1.11", "appdirs==1.4.3", 'enum34==1.1.6;python_version<"3.4"', ], extras_require={ "test": [ "tox==3.14.0", "mysqlclient==1.4.6", "psycopg2-binary==2.8.4", "django_add_default_value==0.3.2", ] }, keywords="django migration lint linter database backward compatibility", classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.11", "Framework :: Django :: 2.0", "Framework :: Django :: 2.1", "Framework :: Django :: 2.2", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", ], )
Python
0
@@ -818,17 +818,17 @@ nt_type= -' +%22 text/mar @@ -832,17 +832,17 @@ markdown -' +%22 ,%0A ur
84dc430625bbc6549eb7a25cc72a8747dc31b079
bump to 0.4
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages setup(name="opencivicdata", version='0.3.0', py_modules=['opencivicdata'], author="James Turk", author_email='jturk@sunlightfoundation.com', license="BSD", description="python opencivicdata library", long_description="", url="", packages=find_packages(), platforms=["any"], classifiers=["Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", ], )
Python
0.000024
@@ -105,17 +105,17 @@ sion='0. -3 +4 .0',%0A
8c5baf9118460c57b640a528dbfe90dc95b099de
fix typo
setup.py
setup.py
# -*- coding: utf-8 -*- # License: 3-clause BSD __revision__ = "$Id: $" # for the SVN Id import sys import os from setuptools import setup, find_packages import glob _MAJOR = 0 _MINOR = 2 _MICRO = 1 version = '%d.%d.%d' % (_MAJOR, _MINOR, _MICRO) release = '%d.%d' % (_MAJOR, _MINOR) metainfo = { 'authors': {"main": ("yourname", "email@whatever.org")}, 'version': version, 'license' : 'new BSD', 'download_url' : ['http://pypi.python.org/pypi/sequana'], 'url' : ["http://github.com/sequana/"], 'description': "A set of standalone application and pipelines dedicated to NGS (new generation sequencing) analysis" , 'platforms' : ['Linux', 'Unix', 'MacOsX', 'Windows'], 'keywords' : [''], 'classifiers' : [ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.7', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Scientific/Engineering :: Bio-Informatics', 'Topic :: Scientific/Engineering :: Information Analysis', 'Topic :: Scientific/Engineering :: Mathematics', 'Topic :: Scientific/Engineering :: Physics'] } packages = find_packages() packages = [this for this in packages if this.startswith('test.') is False] packages = [this for this in packages if this not in ['test']] on_rtd = os.environ.get('READTHEDOCS', None) == 'True' if on_rtd: extra_packages = ["pillow", "numpydoc", "sphinx"] # else: extra_packages = [] setup( name = "sequana", version = version, maintainer = metainfo['authors']['main'][0], maintainer_email = metainfo['authors']['main'][1], author = metainfo['authors']['main'][0], author_email = metainfo['authors']['main'][1], long_description = open("README.rst").read(), keywords = metainfo['keywords'], description = metainfo['description'], license = metainfo['license'], platforms = metainfo['platforms'], url = metainfo['url'], download_url = metainfo['download_url'], classifiers = metainfo['classifiers'], # package installation packages = packages, # pillow, sphinx-gallery and numpydoc are for the doc only # mock is for the test only # qtconsole is required by Sequanix install_requires = ["easydev>=0.9.34", "reports>=0.3.0", "matplotlib>=2.0.0", "pyVCF", "pandas", "cutadapt>=1.9.1", "bioservices>=1.4.14", "biokit>=0.4.1", "pysam", "docutils", "mock", "psutil", "qtconsole" "ruamel.yaml>=0.13.2", "colorlog"] + extra_packages, # here below '': pattern means include that pattern in all packages # so '' :['README.rst'] will include all README.rst recursively # required to use python setup.py install # This is recursive include of data files exclude_package_data = {"": ["__pycache__"]}, package_data = { '': ['Snakefile*', '*html', 'README.rst', 'config*.yaml', '*.css', "*.js", "snpEff.config*", "*.fa", "*.rules"], 'sequana.rules' : ['*/*.rules', "*/*/*.rules"], 'sequana.pipelines' : ['*/*.rules', "*/*/*.rules", "*/*yaml"], 'sequana.resources.data' : ['*.*'], # use *.* for files and not ./adapters 'sequana.resources.data.adapters' : ['*'], 'sequana.resources.images' : ['*'], 'sequana.resources.testing' : ['*'], }, # thise files do not need to be added in MANIFEST.in since there are python # packages that will be copied from sequana/ into sequana/ # Note, however, that e.g. ./pipelines must be added zip_safe=False, entry_points = { 'console_scripts':[ 'sequana_gui=sequana.gui.sequana_gui:main', 'sequanix=sequana.gui.sequana_gui:main', 'fastq_head=sequana.scripts.fastq_head:main', 'fastq_count=sequana.scripts.fastq_count:main', 'sequana_fastq_head=sequana.scripts.fastq_head:main', 'sequana_fastq_count=sequana.scripts.fastq_count:main', 'sequana=sequana.scripts.main:main', 'sequana_taxonomy=sequana.scripts.taxonomy:main', 'sequana_coverage=sequana.scripts.coverage:main', 'sequana_summary=sequana.scripts.summary:main', 'sequana_mapping=sequana.scripts.mapping:main', 'sequana_compressor=sequana.scripts.compressor:main', 'sequana_report=sequana.scripts.reports:main', 'sequana_fox=sequana.scripts.browser:main' ], 'sequana.module':[ 'sequana_coverage=sequana.modules_report.coverage:CoverageModule', 'sequana_variant_calling=sequana.modules_report.variant_calling:VariantCallingModule', 'sequana_summary=sequana.modules_report.summary:SummaryModule', 'quast=sequana.modules_report.quast:QuastModule' ], 'sequana.report_template': [ 'standard=sequana.resources.template.standard' ] }, )
Python
0.999991
@@ -2829,16 +2829,17 @@ console%22 +, %0A
06193197afd1cf153b32bb20c8013248c3c2a1c1
Add Python 3.7 to supported versions
setup.py
setup.py
#!/usr/bin/env python """Setup script for the pyparsing module distribution.""" # Setuptools depends on pyparsing (via packaging) as of version 34, so allow # installing without it to avoid bootstrap problems. try: from setuptools import setup except ImportError: from distutils.core import setup import sys import os from pyparsing import __version__ as pyparsing_version modules = ["pyparsing",] setup(# Distribution meta-data name = "pyparsing", version = pyparsing_version, description = "Python parsing module", author = "Paul McGuire", author_email = "ptmcg@users.sourceforge.net", url = "https://github.com/pyparsing/pyparsing/", download_url = "https://pypi.org/project/pyparsing/", license = "MIT License", py_modules = modules, python_requires='>=2.6, !=3.0.*, !=3.1.*, !=3.2.*', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'Intended Audience :: Information Technology', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ] )
Python
0.000001
@@ -1578,24 +1578,74 @@ n :: 3.6',%0D%0A + 'Programming Language :: Python :: 3.7',%0D%0A %5D%0D%0A
63eb3fbe2370947e2e5e37d84d6c11a695313638
Increment to version 1.3.6.
setup.py
setup.py
import sys import os from setuptools import setup def _template_files(): result = [] prefix = 'src/powershift/templates' for root, dirs, files in os.walk(prefix, topdown=False): for name in files: if name.endswith('.json'): if root == prefix: result.append(os.path.join(root[len(prefix):], name)) else: result.append(os.path.join(root[len(prefix)+1:], name)) return result long_description = open('README.rst').read() classifiers = [ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', ] setup_kwargs = dict( name='powershift', version='1.3.5', description='Python library for working with OpenShift.', long_description=long_description, url='https://github.com/getwarped/powershift', author='Graham Dumpleton', author_email='Graham.Dumpleton@gmail.com', license='BSD', classifiers=classifiers, keywords='openshift kubernetes', packages=['powershift', 'powershift.resources', 'powershift.endpoints', 'powershift.cli', 'powershift.composer', 'powershift.templates'], package_dir={'powershift': 'src/powershift'}, package_data={'powershift.templates': _template_files(), 'powershift.cli': ['completion-bash.sh']}, entry_points = {'console_scripts':['powershift = powershift.cli:main']}, install_requires=['Jinja2', 'requests', 'aiohttp', 'click'], ) setup(**setup_kwargs)
Python
0.000001
@@ -775,17 +775,17 @@ on='1.3. -5 +6 ',%0A d
29aeb3764cb92521f7ef8ad0e0634468988e77cb
Add Trove classifiers and download URL to `setup.py`.
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (C) 2006 Edgewall Software # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://markup.edgewall.org/wiki/License. # # This software consists of voluntary contributions made by many # individuals. For the exact contribution history, see the revision # history and logs, available at http://markup.edgewall.org/log/. try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup setup( name='Markup', version='0.1', description='Toolkit for stream-based generation of markup for the web', author='Edgewall Software', author_email='info@edgewall.org', license='BSD', url='http://markup.edgewall.org/', packages=['markup'], test_suite = 'markup.tests.suite', zip_safe = True, entry_points = """ [python.templating.engines] markup = markup.plugin:TemplateEnginePlugin """, )
Python
0.000004
@@ -856,16 +856,613 @@ .org/',%0A + download_url='http://markup.edgewall.org/wiki/MarkupDownload'%0A classifiers = %5B%0A 'Development Status :: 4 - Beta',%0A 'Environment :: Web Environment',%0A 'Intended Audience :: Developers',%0A 'License :: OSI Approved :: BSD License',%0A 'Operating System :: OS Independent',%0A 'Programming Language :: Python',%0A 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',%0A 'Topic :: Software Development :: Libraries :: Python Modules',%0A 'Topic :: Text Processing :: Markup :: HTML',%0A 'Topic :: Text Processing :: Markup :: XML'%0A %5D,%0A%0A pack
369689fc58fabb26a4cb7836b45fe5d457bd176c
Version 0.2.1.
setup.py
setup.py
from setuptools import setup, find_packages from setuptools.command.test import test class TestRunner(test): def run(self): if self.distribution.install_requires: self.distribution.fetch_build_eggs( self.distribution.install_requires) if self.distribution.tests_require: self.distribution.fetch_build_eggs(self.distribution.tests_require) import sys sys.path.insert(0, 'testprj') from testprj import settings as test_settings from django.conf import settings settings.configure(test_settings) from testprj.tests import mongoforms_test_runner as test_runner test_suite = test_runner.build_suite(['testapp']) test_runner.setup_test_environment() result = test_runner.run_suite(test_suite) test_runner.teardown_test_environment() return result setup( name='django-mongoforms', version='0.2', description='A Django-ModelForm clone for mongoengine', author='Stephan Jaekel', author_email='steph@rdev.info', maintainer='Serge Matveenko', maintainer_email='s@matveenko.ru', url='http://github.com/stephrdev/django-mongoforms/', packages=find_packages( exclude=['examples', 'examples.*', 'testprj', 'testprj.*']), classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Framework :: Django', ], zip_safe=False, cmdclass={"test": TestRunner}, requires=['Django', 'mongoengine(>=0.6)', 'pymongo(>=2.1)'] )
Python
0
@@ -946,16 +946,18 @@ ion='0.2 +.1 ',%0A d
b8f53a1d961d0e0c79ac7bdbd7108f00a6393bd8
Prepare release v2.1.1
setup.py
setup.py
from setuptools import setup, find_packages from codecs import open import os here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name="gviewer", version="2.1.0", description="General Viewer", long_description=long_description, author="chhsiao90", author_email="chhsiao90@gmail.com", url="https://github.com/chhsiao90/gviewer", license="MIT", classifiers=[ "License :: OSI Approved :: MIT License", "Environment :: Console", "Environment :: Console :: Curses", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Widget Sets" ], packages=find_packages(include=["gviewer", "gviewer.*"]), test_suite="gviewer.tests", install_requires=[ "urwid==1.3.1" ] )
Python
0.000001
@@ -268,17 +268,17 @@ on=%222.1. -0 +1 %22,%0A d
cdd6280d66f81f18262410d8116440a18615b5a7
Fix setup.py
setup.py
setup.py
from setuptools import setup exec(open('us-geo-helper/version.py').read()) setup( name = 'us-geo-helper', packages = ['us_geo_helper'], version = __version__, description = 'Python wrapper for US Census Data', author = 'Philip Sun', author_email = 'traders@mit.edu', license = 'MIT', url = 'https://github.com/sammymax/us-geo-helper', download_url = 'https://github.com/sammymax/us-geo-helper/tarball/' + __version__, install_requires = ['numpy', 'pandas'], keywords = ['geography'], classifiers = [ 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6' ], )
Python
0.000001
@@ -35,21 +35,21 @@ open('us --geo- +_geo_ helper/v
2e7ba9b6b5647c4fa451a9158015406a392b99f7
Bump version number.
setup.py
setup.py
#!/usr/bin/env python3 from setuptools import setup, find_packages setup( name='ppp_datamodel', version='0.6.1', description='Data model for the Projet Pensées Profondes.', url='https://github.com/ProjetPP/PPP-datamodel-Python', author='Valentin Lorentz', author_email='valentin.lorentz+ppp@ens-lyon.org', license='MIT', classifiers=[ 'Development Status :: 1 - Planning', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Topic :: Software Development :: Libraries', ], install_requires=[ ], packages=[ 'ppp_datamodel', 'ppp_datamodel.nodes', 'ppp_datamodel.communication', ], )
Python
0
@@ -112,17 +112,17 @@ on='0.6. -1 +2 ',%0A d
213781ac050a069b0d723d4c98ad6c66a806c53e
Fix tox integration (see Bitbucket PR 196)
setup.py
setup.py
#!/usr/bin/env python """ Setup for Swagger extension for Eve powered RESTful APIs """ from os.path import abspath, dirname, join from shlex import split from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand # noqa N812 def read_file(filename): """Read the contents of a file located relative to setup.py""" with open(join(abspath(dirname(__file__)), filename)) as thefile: return thefile.read() class Tox(TestCommand): """Integration of tox via the setuptools ``test`` command""" # pylint: disable=attribute-defined-outside-init user_options = [('tox-args=', 'a', "Arguments to pass to tox")] 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): from tox import cmdline # pylint: disable=import-error args = self.tox_args if args: args = split(self.tox_args) errno = cmdline(args=args) exit(errno) setup( name='Eve-Swagger', version='0.0.5.dev0', description='Swagger extension for Eve powered RESTful APIs', long_description=read_file('README.rst'), author='Nicola Iarocci', author_email='nicola@nicolaiarocci.com', url='http://github.com/nicolaiarocci/eve-swagger', license='BSD', platforms=["any"], packages=find_packages(), install_requires=read_file('requirements.txt'), keywords=['swagger', 'eve', 'rest', 'api'], classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'Natural Language :: English', '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', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy' ], tests_require=['tox'], cmdclass={ 'test': Tox, }, )
Python
0.000003
@@ -1097,16 +1097,8 @@ - errno = cmd @@ -1117,28 +1117,8 @@ gs)%0A - exit(errno)%0A %0A%0Ase
89e647a697b300b409ffe971d86dc242f05cd1b7
Bump version to 0.10.0
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages tests_require = [ ] setup( name='nose-kleenex', version='0.9.1', author='David Cramer', author_email='dcramer@gmail.com', description='A discovery plugin for Nose which relies on code coverage.', url='http://github.com/dcramer/nose-kleenex', packages=find_packages(exclude=["tests"]), zip_safe=False, install_requires=[ 'nose>=0.9', 'simplejson', 'SQLAlchemy>=0.7', ], entry_points={ 'nose.plugins.0.10': [ 'kleenex = kleenex.plugin:TestCoveragePlugin' ] }, license='Apache License 2.0', tests_require=tests_require, extras_require={'test': tests_require}, test_suite='runtests.runtests', include_package_data=True, classifiers=[ 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'Operating System :: OS Independent', 'Topic :: Software Development' ], )
Python
0
@@ -133,11 +133,12 @@ ='0. -9.1 +10.0 ',%0A
5d6287fb5dd13f13ed6858322fbd34ed3230b170
Correct check for upload or register setup command
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages import sys import subprocess required_modules = [ "simplejson", "httplib2", "unidecode", "oauth2" ] with open("README.md", "rb") as f: readme = f.read() try: # avoid ReST at all costs, but make sure we have it for PyPi proc = subprocess.Popen( ["pandoc", "-fmarkdown", "-trst", "README.md"], stdout=subprocess.PIPE ) readme = proc.stdout.read() except: if len(sys.argv) >=2 and sys.argv[1] in ["register", "upload"]: raise Exception("Unable to convert Markdown README to ReST for upload to PyPi. Do you have pandoc installed?") setup( name="factual", version="0.1.2", description="Wrapper for the Factual HTTP API.", author="Christopher H. Casebeer", author_email="", url="https://github.com/casebeer/factual", packages=find_packages(exclude='tests'), install_requires=required_modules, tests_require=["nose"], test_suite="nose.collector", long_description=readme, classifiers=[ "License :: OSI Approved :: BSD License", "Intended Audience :: Developers", ] )
Python
0
@@ -456,24 +456,23 @@ %3E=2 - and sys.argv%5B1%5D +:%0A%09%09for command in @@ -495,16 +495,49 @@ load%22%5D:%0A +%09%09%09if command in sys.argv%5B1:%5D:%0A%09%09 %09%09raise
ade1156fb4b7de09308fe8611d87ba3fc4067ab8
Create test mode for theming jumpstart.
jumpstart/application.py
jumpstart/application.py
#!/usr/bin/env python import os import subprocess import time from flask import Flask, render_template, request from pytz import common_timezones from daemon import Daemon # Configuration DEBUG = True PANDA_PATH = '/opt/panda' LOCAL_SETTINGS_PATH = '%s/local_settings.py' % PANDA_PATH # Setup app = Flask(__name__) app.debug = DEBUG class RestartDaemon(Daemon): """ Simple daemon so that a uwsgi process can reboot itself """ def run(self): # Sleep for a moment to give uwsgi a chance to return a response time.sleep(5) subprocess.call(['sudo', '/opt/panda/jumpstart/restart-uwsgi.sh']) if os.path.exists(self.pidfile): os.remove(self.pidfile) @app.route('/', methods=['GET', 'POST']) def index(): if request.method == 'POST': timezone = request.form['timezone'] with open(LOCAL_SETTINGS_PATH, 'w') as f: f.write("TIME_ZONE = '%s'\n" % timezone) daemon = RestartDaemon('/tmp/jumpstart-restart.pid', stdout='/var/log/jumpstart-restart.log') daemon.start() return render_template('wait.html') else: context = { 'timezones': common_timezones } return render_template('index.html', **context) if __name__ == '__main__': app.run(host='0.0.0.0', port=80)
Python
0
@@ -197,16 +197,34 @@ G = True +%0ATEST_MODE = False %0A%0APANDA_ @@ -300,16 +300,182 @@ NDA_PATH +%0ARESTART_SCRIPT_PATH = '%25s/jumpstarts/restart-uwsgi.sh' %25 PANDA_PATH%0ADAEMON_PID_PATH = '/tmp/jumpstart-restart.pid'%0ADAEMON_LOG_PATH = '/var/log/jumpstart-restart.log' %0A%0A# Setu @@ -774,47 +774,27 @@ o', -'/opt/panda/jumpstart/restart-uwsgi.sh' +RESTART_SCRIPT_PATH %5D)%0A @@ -1011,16 +1011,46 @@ zone'%5D%0A%0A + if not TEST_MODE:%0A @@ -1103,16 +1103,20 @@ + + f.write( @@ -1150,24 +1150,28 @@ zone)%0A%0A%09 + daemon = Res @@ -1185,80 +1185,54 @@ mon( -'/tmp/jumpstart-restart.pid', stdout='/var/log/jumpstart-restart.log')%0A%09 +DAEMON_PID_PATH, stdout=DAEMON_LOG_PATH)%0A%09 @@ -1458,16 +1458,84 @@ ain__':%0A + # When using Runserver, enable TEST_MODE %0A TEST_MODE = True%0A%0A app. @@ -1561,11 +1561,13 @@ port=80 +00 )%0A%0A
c8653a0b0760f2aa6cf6f682f045eff26d3db5df
Change my email adress to @gmail.com
setup.py
setup.py
#!/usr/bin/env python # vim: fileencoding=utf-8 et sw=4 ts=4 tw=80: # python-quilt - A Python implementation of the quilt patch system # # Copyright (C) 2012 Björn Ricks <bjoern.ricks@googlemail.com> # # This library is free software; you can redistribute it and/or # modify it under the terms of the GNU Lesser General Public # License as published by the Free Software Foundation; either # version 2.1 of the License, or (at your option) any later version. # This library is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU # Lesser General Public License for more details. # You should have received a copy of the GNU Lesser General Public # License along with this library; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA # 02110-1301 USA from distutils.core import setup import quilt f = open('README.rst', 'r') README = f.read() setup(name="python-quilt", version=quilt.__version__, description="A quilt patchsystem implementation in Python", author="Björn Ricks", author_email="bjoern.ricks@googlemail.com", url="http://github.com/bjoernricks/python-quilt", scripts=["pquilt"], license="LGPLv2.1+", packages=["quilt", "quilt.cli"], classifiers=["Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)", "Programming Language :: Python", "Topic :: Software Development :: Build Tools", "Topic :: System :: Software Distribution", "Topic :: Utilities", ], long_description=README, )
Python
0.999867
@@ -1200,37 +1200,32 @@ =%22bjoern.ricks@g -oogle mail.com%22,%0A
397ab77e15c59eff55771abaab2ca648d2dc9876
Bump version
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os from setuptools import setup file_dir = os.path.abspath(os.path.dirname(__file__)) def read_file(filename): filepath = os.path.join(file_dir, filename) return open(filepath).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='ddah-promises', version='0.0.3', packages=['promises'], include_package_data=True, license='Affero', description='Promises app.', long_description=read_file('README.rst'), test_suite='runtests.runtests', url='http://github.com/ciudadanointeligente/ddah-promises', author=u'Felipe Álvarez / Juan Pablo Pérez Trabucco', author_email='lab@ciudadanointeligente.org', classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: GNU Affero General Public License v3', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content' ], install_requires=[ 'django-popolo', 'django-taggit', ], dependency_links=[ 'http://github.com/openpolis/django-popolo/tarball/master#egg=django-popolo' ], )
Python
0
@@ -415,17 +415,17 @@ on='0.0. -3 +4 ',%0A p
12855d86e8f94783879b77a7d7adfe4ba4976a8e
Prepare v0.5.0 release
setup.py
setup.py
#!/usr/bin/env python # # Copyright (C) 2014 eNovance SAS <licensing@enovance.com> # # 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. try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages try: import multiprocessing # noqa except: pass VERSION = '0.4.0' # use requirements.txt for install INSTALL_REQUIRES = [] setup( name='cauth', version=VERSION, description='Multiprotocol SSO auth frontend for other services', author='Software Factory', author_email='softwarefactory@enovance.com', test_suite='nose.collector', zip_safe=False, include_package_data=True, package_data={'cauth': ['template/*', ]}, packages=find_packages(exclude=['ez_setup']), install_requires=INSTALL_REQUIRES, url='http://softwarefactory.enovance.com/r/gitweb?p=cauth.git;a=summary', download_url='https://github.com/redhat-cip/cauth/tarball/%s' % VERSION, keywords=['software factory', 'SSO', 'Authentication'], entry_points={ 'cauth.authentication': [ ('GithubPersonalAccessToken = ' 'cauth.auth.github:GithubPersonalAccessTokenAuthPlugin'), ('Github = cauth.auth.github:GithubAuthPlugin'), ('Password = cauth.auth.password:PasswordAuthPlugin'), ('OpenID = cauth.auth.openid:OpenIDAuthPlugin') ], 'cauth.service': [ 'gerrit = cauth.service.gerrit:GerritServicePlugin', 'redmine = cauth.service.redmine:RedmineServicePlugin', ] }, )
Python
0
@@ -879,17 +879,17 @@ ON = '0. -4 +5 .0'%0A%0A%0A#
5518e20feedf4f9cc90d4b7ac8971ac5008ff449
update version
setup.py
setup.py
import os from setuptools import setup, find_packages requires=['rauth', 'six'] setup(name='contextio', version='1.7', description='Library for accessing the Context.IO API v2.0 in Python', author='Tony Blank, Jesse Dhillon', author_email='tony@context.io, jesse@deva0.net', url='http://context.io', keywords=['contextIO', 'imap', 'oauth'], packages=find_packages(), include_package_data=True, zip_safe=False, install_requires=requires, download_url='https://github.com/contextio/Python-ContextIO/tarball/1.7', )
Python
0
@@ -115,17 +115,17 @@ sion='1. -7 +8 ',%0A d @@ -551,9 +551,9 @@ l/1. -7 +8 ',%0A)
9a5ec77d48ef588629872130c729e9722518dc53
Update setup.py
setup.py
setup.py
from setuptools import setup setup(name='servicemanager', version='1.2.0', description='A python tool to manage developing and testing with lots of microservices', url='https://github.com/hmrc/service-manager', author='hmrc-web-operations', license='Apache Licence 2.0', packages=['servicemanager', 'servicemanager.actions', 'servicemanager.server', 'servicemanager.service', 'servicemanager.thirdparty'], install_requires=['requests==2.8.1','pymongo==3.0.1','bottle==0.12.4','pytest==2.5.2','argcomplete==0.8.1'], scripts=['bin/sm', 'bin/smserver'], zip_safe=False)
Python
0.000001
@@ -49,24 +49,57 @@ cemanager',%0A + python_requires='%3E2.7.13',%0A versio
a9d97814bd5880812e9202c547cadd6bf34227f5
Bump pydantic from 1.8.2 to 1.9.0
setup.py
setup.py
from setuptools import setup, find_packages DESCRIPTION = "piro is software designed to assist in planning of synthesis pathways for inorganics" LONG_DESCRIPTION = """ The piro software package enables prediction and planning of synthesis pathways and determination of pareto-optimal frontiers for synthesis of specific inorganic materials. """ setup( name="piro", version="2021.10.6-post0", packages=find_packages(), description=DESCRIPTION, long_description=LONG_DESCRIPTION, long_description_content_type='text/markdown', install_requires=["matminer==0.7.4", "scikit-learn==1.0.1", "plotly==5.4.0", "pymongo==3.12.0", "pydantic==1.8.2" ], classifiers=[ "Programming Language :: Python :: 3", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", ], extras_require={ "tests": ["pytest", "pytest-cov", "coveralls" ] }, package_data={ "piro": ["*.pickle", "*.json"] }, include_package_data=True, author="AMDD - Toyota Research Institute", author_email="murat.aykol@tri.global", maintainer="Joseph Montoya", maintainer_email="joseph.montoya@tri.global", # license="Apache", keywords=[ "materials", "battery", "chemistry", "science", "density functional theory", "energy", "AI", "artificial intelligence", "sequential learning", "active learning" ], )
Python
0.000002
@@ -750,11 +750,11 @@ ==1. -8.2 +9.0 %22%0A
5cbc0d0f94b0ddd0c580d0447180e8688cb0e165
update dependencies
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup import os classifiers = [ 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Operating System :: MacOS', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Operating System :: Unix', 'Programming Language :: Python :: 3', 'Topic :: Scientific/Engineering', 'Topic :: Software Development', 'Topic :: Text Processing :: Linguistic', ] current_dir = os.path.dirname(__file__) README_contents = open(os.path.join(current_dir, 'README.txt')).read() doclines = README_contents.split("\n") setup( name="wordfreq", version='1.0b1', maintainer='Luminoso Technologies, Inc.', maintainer_email='info@luminoso.com', url='http://github.com/LuminosoInsight/wordfreq/', license = "MIT", platforms = ["any"], description = doclines[0], classifiers = classifiers, long_description = "\n".join(doclines[2:]), packages=['wordfreq'], include_package_data=True, install_requires=['ftfy >= 4', 'msgpack-python'], )
Python
0.000001
@@ -700,16 +700,141 @@ t(%22%5Cn%22)%0A +dependencies = %5B'ftfy %3E= 4', 'msgpack-python', 'langcodes'%5D%0Aif sys.version_info %3C (3, 4):%0A dependencies.append('pathlib')%0A %0A%0Asetup( @@ -1258,39 +1258,20 @@ res= -%5B'ftfy %3E= 4', 'msgpack-python'%5D +dependencies ,%0A)%0A
6c8bb0ed15bc3ad6cfe237fea94609e951015103
Update setup.py.
setup.py
setup.py
#!/usr/bin/env python # coding: utf-8 from setuptools import setup import sentry_telegram setup( name='sentry_telegram', version=sentry_telegram.__version__, packages=['sentry_telegram'], url='https://github.com/butorov/sentry-telegram', author='Viacheslav Butorov', author_email='butorovv@gmail.com', description='Plugin for Sentry which allows sending notification via Telegram messenger.', license='MIT', classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: Implementation :: CPython', ], include_package_data=True, )
Python
0
@@ -489,16 +489,29 @@ :: -4 - Beta +5 - Production/Stable ',%0A @@ -894,24 +894,184 @@ : CPython',%0A + 'Topic :: Software Development :: Bug Tracking',%0A 'Topic :: Software Development :: Quality Assurance',%0A 'Topic :: System :: Monitoring',%0A %5D,%0A i
ca75a1d815078f24f41dbaec91f6f863e047097e
Set zip_safe=False.
setup.py
setup.py
import os import platform import sys import warnings from setuptools import setup from setuptools.extension import Extension f = open(os.path.join(os.path.dirname(__file__), 'README.rst')) readme = f.read() f.close() setup_kwargs = {} ext_modules = [] try: from Cython.Build import cythonize except ImportError: cython_installed = False warnings.warn('Cython C extensions for peewee will NOT be built, because ' 'Cython does not seem to be installed. To enable Cython C ' 'extensions, install Cython >=' + cython_min_version + '.') else: if platform.python_implementation() != 'CPython': cython_installed = False warnings.warn('Cython C extensions disabled as you are not using ' 'CPython.') else: cython_installed = True NO_SQLITE = os.environ.get('NO_SQLITE') or False speedups_ext_module = Extension( 'playhouse._speedups', ['playhouse/_speedups.pyx']) sqlite_udf_module = Extension( 'playhouse._sqlite_udf', ['playhouse/_sqlite_udf.pyx']) sqlite_ext_module = Extension( 'playhouse._sqlite_ext', ['playhouse/_sqlite_ext.pyx'], libraries=['sqlite3']) if cython_installed: ext_modules = [speedups_ext_module] if not NO_SQLITE: ext_modules.extend([ sqlite_udf_module, sqlite_ext_module, ]) else: warnings.warn('SQLite extensions will not be built at users request.') if ext_modules: setup_kwargs.update(ext_modules=cythonize(ext_modules)) setup( name='peewee', version=__import__('peewee').__version__, description='a little orm', long_description=readme, author='Charles Leifer', author_email='coleifer@gmail.com', url='http://github.com/coleifer/peewee/', packages=['playhouse'], py_modules=['peewee', 'pwiz'], classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', ], scripts = ['pwiz.py'], **setup_kwargs)
Python
0.000286
@@ -2177,24 +2177,44 @@ 'pwiz.py'%5D,%0A + zip_safe=False,%0A **setup_
3da4d99ee62dcdbed883930b2d7f9b1de18fd574
version update
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='django-boolean-switch', version='0.2.8.3', packages=['boolean_switch'], include_package_data=True, description='Django app to switch boolean fields from list view', long_description=README, url='https://github.com/makeev/django-boolean-switch', author='Mikhail Makeev', author_email='mihail.makeev@gmail.com', classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'Operating System :: OS Independent', 'Programming Language :: Python', ], )
Python
0.000001
@@ -322,9 +322,9 @@ 2.8. -3 +4 ',%0A
676d0c61193a52cfdde2dad62db0744e6904a3de
Add json and md data.
setup.py
setup.py
from setuptools import setup from setuptools import find_packages from os.path import dirname, abspath, join this_dir = abspath(dirname(__file__)) with open(join(this_dir, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name='megnet', version='0.2.0', decription='MatErials Graph Networks for machine learning of molecules and crystals.', long_description=long_description, long_description_content_type='text/markdown', author='Chi Chen', author_email='chc273@eng.ucsd.edu', download_url='https://github.com/materialsvirtuallab/megnet', license='BSD', install_requires=['keras', 'numpy', 'tensorflow', "scikit-learn", 'pymatgen', 'monty'], extras_require={ 'model_saving': ['h5py'], }, package=find_packages(), classifiers=[ "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Development Status :: 4 - Beta", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Topic :: Scientific/Engineering :: Information Analysis", "Topic :: Scientific/Engineering :: Physics", "Topic :: Scientific/Engineering :: Chemistry", "Topic :: Software Development :: Libraries :: Python Modules" ], )
Python
0
@@ -814,16 +814,79 @@ ages(),%0A + package_data=%7B%0A %22megnet%22: %5B%22*.json%22, %22*.md%22%5D%0A %7D,%0A clas
408df6dc5b50bd5e49f0febabc990f716e80c5f5
Refactor `scripts` for `entry_points` keyword for console scripts
setup.py
setup.py
#!/usr/bin/env python # Copyright (c) 2015 - The MITRE Corporation # For license information, see the LICENSE.txt file from os.path import abspath, dirname, join import sys from setuptools import setup, find_packages BASE_DIR = dirname(abspath(__file__)) VERSION_FILE = join(BASE_DIR, 'sdv', 'version.py') def get_version(): with open(VERSION_FILE) as f: for line in f.readlines(): if line.startswith("__version__"): version = line.split()[-1].strip('"') return version raise AttributeError("Package does not have a __version__") py_maj, py_minor = sys.version_info[:2] if (py_maj, py_minor) < (2, 6) or (py_maj == 3 and py_minor < 3): raise Exception('stix-validator requires Python 2.6, 2.7 or 3.3+') fn_readme = join(BASE_DIR, "README.rst") with open(fn_readme) as f: readme = f.read() install_requires = [ 'lxml>=3.3.5', 'xlrd>=0.9.2', 'ordereddict', 'mixbox>=0.0.11', 'python-dateutil' ] # Python 2.6 does not come with argparse try: import argparse except ImportError: install_requires.append('argparse') extras_require = { 'docs': [ 'Sphinx==1.3.1', 'sphinx_rtd_theme==0.1.8', ], 'test': [ "nose==1.3.7", "tox==2.3.1" ], } setup( name='stix-validator', description='APIs and scripts for validating STIX and CybOX documents.', author='The MITRE Corporation', author_email='stix@mitre.org', url='http://stix.mitre.org/', version=get_version(), packages=find_packages(), scripts=['sdv/scripts/stix-validator.py', 'sdv/scripts/cybox-validator.py', 'sdv/scripts/profile-to-sch.py', 'sdv/scripts/profile-to-xslt.py'], include_package_data=True, install_requires=install_requires, extras_require=extras_require, long_description=readme, keywords='stix cybox xml validation validator stix-validator', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', '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', ] )
Python
0
@@ -1566,35 +1566,99 @@ -scripts=%5B'sdv/ +entry_points=%7B%0A 'console_scripts': %5B%0A 'stix-validator = sdv. scripts -/ +. stix -- +_ vali @@ -1666,33 +1666,65 @@ ator -.py', 'sdv/ +:main',%0A 'cybox-validator = sdv. scripts -/ +. cybox -- +_ vali @@ -1728,19 +1728,21 @@ alidator -.py +:main ',%0A @@ -1752,75 +1752,142 @@ - ' +profile-to-sch = sdv -/ +. scripts -/ +. profile --to-sch.py', 'sdv/ +_to_sch:main',%0A 'profile-to-xslt = sdv. scripts -/ +. profile --to- +_to_ xslt -.py'%5D +:main',%0A %5D,%0A %7D ,%0A
d4a80e947a69c42adc1dc2917878c2a822b8426c
Update requirements in setup.py
setup.py
setup.py
# -*- coding: utf-8 -*- from codecs import open try: from setuptools import setup except ImportError: from distutils.core import setup with open('README.rst', 'r', 'utf-8') as f: readme = f.read() with open('HISTORY.rst', 'r', 'utf-8') as f: history = f.read() with open('AUTHORS.rst', 'r', 'utf-8') as f: authors = f.read() setup( name='mathdeck', version='0.0.1-planning', author='Patrick Spencer', license='Apache 2.0', url='https://github.com/patrickspencer/mathdeck', author_email='patrick.spencer@mail.mizzou.edu', description="""Mathdeck a program suite for managing the computations involved in writing displaying, and grading mathematical based homework problems. """, long_description=(readme + '\n\n' + history + '\n\n' + authors), zip_safe=False, packages=[ 'mathdeck', 'tests', ], classifiers=[ 'Development Status :: 1 - Planning', 'Environment :: Console', 'Intended Audience :: Education', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.4', 'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering :: Mathematics', 'Topic :: Software Development :: Libraries :: Python Modules' ], install_requires=[ 'sympy>=0.7.5', 'Jinja2==2.7.3', ] )
Python
0
@@ -387,17 +387,17 @@ on='0.0. -1 +2 -plannin @@ -1620,15 +1620,15 @@ ympy -%3E=0.7.5 +==1.0.0 ',%0A @@ -1651,16 +1651,40 @@ 2.7.3',%0A + 'tornado==4.3',%0A %5D%0A)%0A
4e66d7f4476cfefdc897a0bd5fc1be6c2b2868ce
Add missing long_description_content_type
setup.py
setup.py
from pathlib import Path from setuptools import setup this_directory = Path(__file__).parent long_description = (this_directory / "README.md").read_text(encoding="utf-8") with open("remotecv/__init__.py") as f: ns = {} exec(f.read(), ns) version = ns["__version__"] TESTS_REQUIREMENTS = [ "celery==5.*,>=5.2.7", "flake8==4.*,>=4.0.1", "pylint==2.*,>=2.13.8", "black==22.*,>=22.1.0", "preggy==1.*,>=1.4.4", "pyssim==0.*,>=0.4", "pytest==7.*,>=7.0.0", "pytest-cov==3.*,>=3.0.0", "pytest-asyncio==0.*,>=0.18.0", "coverage==6.*,>=6.3.2", "thumbor==7.*", ] RUNTIME_REQUIREMENTS = [ "opencv-python-headless==4.*,>=4.2.0", "Pillow>=9.0.0", "pyres==1.*,>=1.5.0", "sentry-sdk==0.*,>=0.14.2", "redis==4.*,>=4.2.0", ] setup( long_description=long_description, name="remotecv", version=version, description="remotecv is an OpenCV worker for facial and feature recognition", python_requires="==3.*,>=3.7.0", author="Bernardo Heynemann", author_email="heynemann@gmail.com", license="MIT", entry_points={"console_scripts": ["remotecv = remotecv.worker:main"]}, classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: MacOS", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3 :: Only", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Multimedia :: Graphics :: Presentation", ], packages=[ "remotecv", "remotecv.detectors", "remotecv.detectors.complete_detector", "remotecv.detectors.face_detector", "remotecv.detectors.feature_detector", "remotecv.detectors.glasses_detector", "remotecv.detectors.profile_detector", "remotecv.result_store", ], package_dir={"": "."}, package_data={ "remotecv.detectors.face_detector": ["*.xml"], "remotecv.detectors.glasses_detector": ["*.xml"], "remotecv.detectors.profile_detector": ["*.xml"], }, install_requires=[RUNTIME_REQUIREMENTS], extras_require={"dev": [RUNTIME_REQUIREMENTS + TESTS_REQUIREMENTS]}, )
Python
0.000013
@@ -826,24 +826,75 @@ escription,%0A + long_description_content_type=%22text/markdown%22,%0A name=%22re
e71094c40c7bab1328180af8fec38a485753a90d
update compatibility in setup.py
setup.py
setup.py
import os import sys from setuptools import setup here = os.path.abspath(os.path.dirname(__file__)) py_version = sys.version_info[:2] if py_version < (3, 5): raise Exception("flac2mp3 requires Python >= 3.5.") with open(os.path.join(here, 'README.rst')) as readme: README = readme.read() NAME = 'flac2mp3' install_requires = [ 'argparse==1.4.0' ] tests_require = [ 'nose==1.3.7', 'eyeD3==0.9.5' ] setup( name=NAME, version='0.5', description='Python flac2mp3 transcoding script', long_description=README, classifiers=[ "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", ], author='Bruno Thomas', author_email='bruno@barreverte.fr', license='MIT', url='https://github.com/bamthomas/flac2mp3', keywords='transcoding mp3 lame flac', packages=['flac2mp3'], include_package_data=True, zip_safe=False, test_suite="nose.collector", install_requires=install_requires, extras_require={ 'dev': tests_require, }, entry_points={ 'console_scripts': [ 'flac2mp3 = flac2mp3.__init__:main' ] }, )
Python
0
@@ -605,57 +605,8 @@ n%22,%0A - %22Programming Language :: Python :: 3.5%22,%0A
27f9b08f4fc8cff36c84e8484768a830585d858c
Version 0.3.5
setup.py
setup.py
#!/usr/bin/env python from codecs import open from setuptools import find_packages, setup with open('README.rst', 'r', 'utf-8') as f: readme = f.read() setup( name='blanc-basic-pages', version='0.3.4', description='Blanc Basic Pages for Django', long_description=readme, url='https://github.com/blancltd/blanc-basic-pages', maintainer='Blanc Ltd', maintainer_email='studio@blanc.ltd.uk', platforms=['any'], install_requires=[ 'blanc-basic-assets>=0.3.2', 'django-mptt>=0.6.1', 'django-mptt-admin>=0.1.8', ], packages=find_packages(), classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', '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.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], license='BSD', )
Python
0.000001
@@ -208,17 +208,17 @@ on='0.3. -4 +5 ',%0A d
c5b5b9175210174e665d32bda4c8bf621e5cf64d
Add django-registration as dependency
setup.py
setup.py
from setuptools import setup, find_packages import os setup( author="Ben Lopatin", author_email="ben.lopatin@wellfireinteractive.com", name='django-group-accounts', version='0.1a', description='Group accounts for Django.', long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(), url='https://github.com/bennylope/django-group-accounts/', license='BSD License', platforms=['OS Independent'], classifiers=[ 'Development Status :: 1 - Planning', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Framework :: Django', ], install_requires=[ 'Django>=1.3', ], test_suite='tests.runtests.runtests', include_package_data=True, packages=find_packages(), zip_safe=False )
Python
0.000051
@@ -188,17 +188,16 @@ ion='0.1 -a ',%0A d @@ -829,16 +829,52 @@ %3E=1.3',%0A + 'django-registration%3E=0.8',%0A %5D,%0A