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
98efb2ea38539644a1ee1f40d98190a9fb0a5b64
Bump version to 0.2
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup with open("README.md", "r") as fh: long_description = fh.read() setup( name='hashmerge', version='0.1', url='https://github.com/lebauce/hashmerge', author='Sylvain Baubeau', author_email='bob@glumol.com', description="Merges two arbitrari...
Python
0.000001
@@ -163,9 +163,9 @@ ='0. -1 +2 ',%0A
d67899d0cd62732f27e0e87400192c7b95af5055
Bump version
setup.py
setup.py
# coding:utf-8 from setuptools import setup, find_packages setup(name='flanker', version='0.6.11', description='Mailgun Parsing Tools', long_description=open('README.rst').read(), classifiers=[], keywords='', author='Mailgun Inc.', author_email='admin@mailgunhq.com', u...
Python
0
@@ -97,17 +97,17 @@ n='0.6.1 -1 +2 ',%0A
9e9764c3f11e9653b479593d6e00c9f7965e7cef
35 to 36
setup.py
setup.py
# -*- coding: utf-8 -*- import sys import os from distutils.core import setup from setuptools import find_packages ######### # settings ######### project_var_name = "pyrsslocal" sversion = "0.8" versionPython = "%s.%s" % (sys.version_info.major, sys.version_info.minor) path = "Lib/site-packages/" + project_var_name r...
Python
0.999788
@@ -5620,17 +5620,17 @@ %22'_UT_3 -5 +6 _std' in
ccd3660f01ec595ee63ecd6ad1332af078277abd
add sphinx-intl
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import re from os import path from codecs import open from setuptools import setup here = path.abspath(path.dirname(__file__)) # get the long description from the README file with open(path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() ...
Python
0.999992
@@ -1187,24 +1187,51 @@ %22twine%22,%0A + %22sphinx-intl%22,%0A %5D%0A
a1dd21feb6245aa3870cb4c2b05f703f2dfd8814
version bump
setup.py
setup.py
# Copyright 2015 Netflix. All rights reserved. # # The contents of this file are licensed under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with the # License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required...
Python
0.000001
@@ -1004,9 +1004,10 @@ '0. -9 +10 '%0A%0As
31cd04c8805459fb44047c8e61536ddfc123d566
update version.
setup.py
setup.py
#!/usr/bin/env python3 # -*- coding:utf-8 -*- ''' For pypi ''' from setuptools import setup, find_packages desc = ('Flexible, extensible Web CMS framework built on Tornado,' 'compatible with Python 3.4 and above.') setup( name='torcms', version='0.6.23', keywords=('torcms', 'tornado', 'cms',), ...
Python
0
@@ -263,17 +263,17 @@ n='0.6.2 -3 +4 ',%0A k
aca62ab63ea2b57c139781552261d54ab5f29eb8
return to dev version
setup.py
setup.py
#!/usr/bin/env python import os import re import sys import warnings from setuptools import setup, find_packages MAJOR = 0 MINOR = 6 MICRO = 1 ISRELEASED = True VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO) QUALIFIER = '' DISTNAME = 'xray' LICENSE = 'Apache' AUTHOR = 'xray Developers' AUTHOR_EMAIL = 'xray-dev@googl...
Python
0
@@ -152,19 +152,20 @@ EASED = -Tru +Fals e%0AVERSIO
60236b17c98cd783ac2ab4fd214a6425410195f1
add long_description
setup.py
setup.py
#!/usr/bin/env python3 from setuptools import setup version = '1.2.0' setup(name='makerestapiclient', version=version, description="Simple python utility to build a python client class for interfacing with a REST API", classifiers=[ "Intended Audience :: Developers", "License :: OSI Appro...
Python
0.003355
@@ -66,9 +66,9 @@ 1.2. -0 +1 '%0A%0As @@ -223,16 +223,125 @@ T API%22,%0A + long_description=%22Simple python utility to build a python client class for interfacing with a REST API%22,%0A clas
9266e87c0930e589145ab25609cd8e129a3f487e
bump version
setup.py
setup.py
import os try: from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand class ...
Python
0
@@ -919,9 +919,9 @@ .1.2 -4 +5 ',%0A
098594700b0b8d782b599cb0d74eb0f7de770c7b
Bump version.
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages setup( name = 'simhash', version = '1.8.0', keywords = ('simhash'), description = 'A Python implementation of Simhash Algorithm', license = 'MIT License', url = 'http://leons.im/posts/a-python-implementation-of-simhash-algorith...
Python
0
@@ -111,9 +111,9 @@ '1. -8 +9 .0',
0cfbf102ebdf39c2680a5cd20586ed189fd73fa3
Fix author email address
setup.py
setup.py
#!/usr/bin/env python import codecs import os.path import re import sys import setuptools here = os.path.abspath(os.path.dirname(__file__)) def read(*parts): # intentionally *not* adding an encoding option to open, See: # https://github.com/pypa/virtualenv/issues/201#issuecomment-3145690 with codecs...
Python
0.00006
@@ -1302,16 +1302,19 @@ email=%22y +ann .leprinc @@ -1319,21 +1319,14 @@ nce@ -fz-juelich.de +cea.fr %22,%0A
f75ed6add2058f6988b2baaf73d34c382d17adf7
add examples and test sub-packages and bump version number for new pypi release
setup.py
setup.py
from distutils.core import setup setup( name='NMRPyStar', version='0.0.11', packages=['nmrpystar', 'nmrpystar.parse'], license='MIT', author='Matt Fenwick', author_email='mfenwick100@gmail.com', url='https://github.com/mattfenwick/NMRPyStar', description='a parser for the NMR-Star data ...
Python
0
@@ -74,17 +74,17 @@ n='0.0.1 -1 +2 ',%0A p @@ -105,16 +105,31 @@ ystar', +%0A 'nmrpyst @@ -137,16 +137,85 @@ r.parse' +, %0A 'nmrpystar.examples',%0A 'nmrpystar.test' %5D,%0A l
5d2bf4cb211a9e63a7a9db74be321f36337f7220
Version bump 0.0.3
setup.py
setup.py
# dockerpty. # # Copyright 2014 Chris Corbyn <chris@w3style.co.uk> # # 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 ap...
Python
0.000001
@@ -837,17 +837,17 @@ on='0.0. -2 +3 ',%0A d
54eb19f83f7fa9fb367c5160843bd92f32ef912f
Bump flake8 from 3.7.4 to 3.7.5
setup.py
setup.py
# -*- coding: utf-8 -*- import re from setuptools import setup, find_packages INSTALL_REQUIRES = ("marshmallow>=2.0.0", "SQLAlchemy>=0.9.7") EXTRAS_REQUIRE = { "tests": ["pytest", "mock"], "lint": [ "flake8==3.7.4", 'flake8-bugbear==18.8.0; python_version >= "3.5"', "pre-commit==1.14.3...
Python
0.000001
@@ -223,17 +223,17 @@ e8==3.7. -4 +5 %22,%0A
d6a020d29d911e2f353b534040d8a3ee3f16956c
update setup.py
setup.py
setup.py
from distutils.core import setup from distutils.dist import DistributionMetadata # Patch distutils if it can't cope with the "classifiers" keyword (prior to Python 2.3.0). if not hasattr(DistributionMetadata, 'classifiers'): DistributionMetadata.classifiers = None setup( name = "Pattern", ver...
Python
0.000001
@@ -1229,32 +1229,128 @@ xt.es.parser%22, %0A + %22pattern.text.fr%22,%0A %22pattern.text.fr.parser%22,%0A %22pattern.text.fr.inflect%22,%0A %22pattern @@ -1360,16 +1360,16 @@ xt.nl%22,%0A - @@ -1939,57 +1939,8 @@ %22%5D,%0A - %22pattern.text.en.inflect%22 : %5B%22*.t...
4bb8acd103131868dfc8bf68cc583c01b4e8481c
Bump version to 0.1.1
setup.py
setup.py
from setuptools import find_packages, setup version = '0.1.0' setup( name='django-user-deletion', packages=find_packages(), include_package_data=True, version=version, license='BSD', description='Management commands to notify and delete inactive django users', classifiers=[ 'Deve...
Python
0.000002
@@ -54,17 +54,17 @@ = '0.1. -0 +1 '%0A%0A%0Asetu
bc95f1488b5e573277a1306bf0ecca6d2207f88b
Use PEP440-compliant version in setup.py (#277)
setup.py
setup.py
#!/usr/bin/env python """ Bugsnag ======= The official Python notifier for `Bugsnag <https://bugsnag.com/>`_. Provides support for automatically capturing and sending exceptions in your Django and other Python apps to Bugsnag, to help you find and solve your bugs as fast as possible. """ from setuptools import setup...
Python
0
@@ -621,18 +621,16 @@ s='%3E=3.5 -.* , %3C4',%0A
d5109b582cdf1f0f356122e71847debd37201636
Update version.
setup.py
setup.py
from setuptools import setup, find_packages __version__ = '4.0.2' with open('requirements.txt') as f: requires = f.read().splitlines() url = 'https://github.com/pmaigutyak/mp-shop' setup( name='django-mp-shop', version=__version__, description='Django shop apps', long_description=open('READM...
Python
0
@@ -62,9 +62,9 @@ 4.0. -2 +3 '%0A%0A%0A
83d10dc3f453d50e859c0d2674e13cfa3ea74bbb
Fix setup.py.
setup.py
setup.py
# -*- coding: utf-8 -*- """A/B Testing for Django django-lean allows you to perform split-test experiments on your users. In brief, this involves exposing 50% of your users to one implementation and 50% to another, then comparing the performance of these two groups with regards to certain metrics. """ from distutil...
Python
0
@@ -2147,24 +2147,81 @@ anagement',%0A + 'django_lean.lean_segments.management.commands',%0A %5D,%0A p
48420606edc3d2486e0e943d8480fe7f57aa6e0e
fix for unneccesary require to argparse
setup.py
setup.py
from setuptools import setup, find_packages import sys import os import re extra = {} if sys.version_info >= (3, 0): extra.update( use_2to3=True, ) v = open(os.path.join(os.path.dirname(__file__), 'alembic', '__init__.py')) VERSION = re.compile(r".*__version__ = '(.*?)'", re.S).match(v.read()).group(1...
Python
0.000001
@@ -390,16 +390,146 @@ .rst')%0A%0A +requires = %5B%0A 'SQLAlchemy%3E=0.6.0',%0A 'Mako',%0A%5D%0A%0Atry:%0A import argparse%0Aexcept ImportError:%0A requires.append('argparse')%0A %0Asetup(n @@ -1484,231 +1484,16 @@ res= -%5B%0A 'SQLAlchemy%3E=0.6.0',%0A 'Mako',%0A # TODO: shou...
433be135e7c074c4481a6eb1f110cafa7402b760
version 0.6.0 for pypi
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup setup( name='django-clever-selects', version='0.5.0', description='Chained select box widget for Django framework using AJAX requests.', long_description=open('README.rst').read(), author='Pragmatic Mates', author_email='info@pragmaticmates.co...
Python
0
@@ -102,17 +102,17 @@ sion='0. -5 +6 .0',%0A
a6d5e8e1550f523eb87d0cd4a097136a350dcd28
Bump versioBump version
setup.py
setup.py
from setuptools import setup, find_packages import os CLASSIFIERS = [] setup( author="Christopher Glass", author_email="tribaal@gmail.com", name='django-shop', version='0.0.1', description='An Advanced Django Shop', long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst')).r...
Python
0.000001
@@ -184,17 +184,17 @@ on='0.0. -1 +2 ',%0A d
7fd587275fcc470df5a1161743ef9c7607287439
Connect input with filters behaviour
src/input.py
src/input.py
#!/usr/bin/env python # -*- coding: utf-8 -*- #import modułów konektora msg_stream_connector from ComssServiceDevelopment.connectors.tcp.msg_stream_connector import OutputMessageConnector #import modułu klasy testowego kontrolera usługi from ComssServiceDevelopment.development import DevServiceController import cv2 #...
Python
0
@@ -925,16 +925,345 @@ cript'%0A%0A +def __update_params_for_host(host_str, new_params):%0A import socket%0A import json%0A print %22send to: %25s msg: changed !%22 %25 host_str%0A %0A host, port = host_str.split(':')%0A s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)%0A s.connect((host, int...
7dcbfe2db81cef4de082b2ee2f83b1bce823876d
increase version number
setup.py
setup.py
from setuptools import setup import io with io.open('README.rst', encoding="utf-8") as readme_file: long_description = readme_file.read() setup( name="NooLite_F", packages=["NooLite_F"], version="0.0.3", license="MIT License", description="Module to work with NooLite_F (MTRF-64-USB)", long...
Python
0.000114
@@ -211,17 +211,17 @@ on=%220.0. -3 +4 %22,%0A l
eb41438aabd60690216f572b1492bb30e8370144
Add delete functionality with logging
splits/s3.py
splits/s3.py
import StringIO import gzip import boto.s3 import urlparse def is_s3_uri(uri): uri = str(uri) return uri.startswith('s3://') or uri.startswith('s3n://') class S3Uri(object): def __init__(self, uri): uri = str(uri) assert is_s3_uri(uri), "Invalid S3 uri - '{0}'".format(uri) self._...
Python
0.000001
@@ -43,24 +43,130 @@ %0Aimport -urlparse +boto.s3.connection%0Aimport urlparse%0Aimport logging%0A%0Alogger = logging.getLogger('splits.s3')%0Alogger.setLevel('INFO') %0A%0Adef is @@ -1088,16 +1088,160 @@ (region) +%0A self._conn = boto.s3.connect_to_region(%0A region,%0A calling_format...
f853407809e00b889c5887adb16ffb2d85fab34f
Bump version to v0.4.25
setup.py
setup.py
import os import re import subprocess import sys import unittest if sys.platform in ('win32', 'cygwin', 'cli'): raise RuntimeError('uvloop does not support Windows at the moment') if sys.version_info < (3, 5): raise RuntimeError('uvloop requires Python 3.5 or greater') from setuptools import setup, Extensio...
Python
0
@@ -3313,17 +3313,17 @@ n='0.4.2 -4 +5 ',%0A p
13d249fcdc0cd7f0a32c4c1b90daf791f26e75e3
Update E-Mail information
setup.py
setup.py
#!/usr/bin/env python3 from setuptools import setup, find_packages, findall #from distutils.core import setup import os import re import importlib # read the version from VERSION.txt with open('VERSION.txt') as version_file: __version__ = version_file.read().strip() # write VERSION.txt files in both packages fo...
Python
0
@@ -1733,15 +1733,15 @@ il=' -tobias. +pyotic@ jach @@ -1749,53 +1749,13 @@ wski -@uni-tuebingen.de; '%0A ' +.de, stev
af46d973b40eb6380b97f7d5adafec49b58bc891
Make CFR correctness graph print current output
test/cfr_correctness_test.py
test/cfr_correctness_test.py
import os import unittest from unittest import TestSuite import math import numpy as np import matplotlib.pyplot as plt import matplotlib.ticker as plticker import acpc_python_client as acpc from cfr.main import Cfr from evaluation.exploitability import Exploitability FIGURES_FOLDER = 'test/cfr-correctness-plots' ...
Python
0.999259
@@ -2750,24 +2750,28 @@ k)%0A%0A + plt.figure() @@ -2771,32 +2771,36 @@ igure()%0A + + for i in range(t @@ -2802,35 +2802,20 @@ nge( -test_spec%5B'test_counts'%5D):%0A +i + 1):%0A @@ -2880,24 +2880,28 @@ %5D)%0A%0A + plt.title(te @@ -2914,24 +2914,28 @@ c%5B'title'%...
901a1e52db9bc960c307e1e6f3fd08f79a7a97bb
Upgrade discord.py and remove unused aiodns
setup.py
setup.py
import sys from pathlib import Path from setuptools import setup, find_packages 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...
Python
0
@@ -1210,75 +1210,13 @@ d.py -@git+https://github.com/Rapptz/discord.py@rewrite',%0A 'aiodns +%3E=1.0 ',%0A
75d914416a3fa0a22710042b3dbbcb8564ec782b
version bump
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages VERSION = '2.0.0' LONG_DESC = """\ This is a simple, easily extendible soap library that provides several useful tools for creating and publishing soap web services in python. This package features on-demand wsdl generation for the published services,...
Python
0.000001
@@ -74,17 +74,17 @@ ON = '2. -0 +1 .0'%0ALONG
d9cb30a93b815e553d54f1462323f632f222e44c
Update script listing system (use a dict).
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010 Jérémie DECOCK (http://www.jdhp.org) from distutils.core import setup import subprocess import os import shutil CLASSIFIERS = ['Development Status :: 4 - Beta', 'Environment :: Console', 'Environment :: X11 Applications'...
Python
0
@@ -2975,84 +2975,99 @@ ipts -%0ASCRIPT_DIR = 'scripts' # The place where we want to put distributed scripts + ###########%0A%0A# The list of scripts we want to export in the distrib (%7B'src': 'dest', ...%7D) .%0ASC @@ -3078,78 +3078,102 @@ S = -%5B +%7B 'pyarm -'%5D # The list of scripts we want to export in ...
83f79ed05f2e53b6156c118ce8d9248c97b80aee
fix grammer error.
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() requirements = [ 'futures==3.0.5', 'requests==2.10.0', 'tornado==...
Python
0
@@ -495,17 +495,19 @@ f utilit -y +ies to buil
fb3983017da558018fd0de7ef10a4c0e98bbb0ec
Send the gecos input from USER through the sanitization as well
txircd/modules/cmd_user.py
txircd/modules/cmd_user.py
from twisted.words.protocols import irc from txircd.modbase import Command import string class UserCommand(Command): def onUse(self, user, data): if not user.username: user.registered -= 1 user.setUsername(data["ident"]) user.realname = data["gecos"] if user.registered =...
Python
0
@@ -264,19 +264,20 @@ ser. -r +setR ealname - = +( data @@ -285,16 +285,17 @@ %22gecos%22%5D +) %0A
a21962463e1c346197cde780f3a5ceaa686c7a9b
Bump version
setup.py
setup.py
import sys import platform import os from setuptools import setup from setuptools.command.test import test as TestCommand class PyTest(TestCommand): user_options = [('pytest-args=', 'a', 'Arguments to pass to py.test')] def initialize_options(self): TestCommand.initialize_options(self) self.p...
Python
0
@@ -1365,17 +1365,17 @@ ': '1.1. -1 +2 ',%0A
a013af88adad469782d2f05a0b882c2f5500b6b8
Include README as long package description. Specified license.
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup setup( name='gallerize', version='0.3.1', description='Create a static HTML/CSS image gallery from a bunch of images.', author='Jochen Kupperschmidt', author_email='homework@nwsnet.de', url='http://homework.nwsnet.de/releases/cc0e/#gallerize'...
Python
0
@@ -1,25 +1,27 @@ # -!/usr/bin/env python + -*- coding: utf-8 -*- %0A%0Afr @@ -49,16 +49,95 @@ setup%0A%0A%0A +def read_readme():%0A with open('README.rst') as f:%0A return f.read()%0A%0A%0A setup(%0A @@ -260,16 +260,71 @@ ages.',%0A + long_description=read_readme(),%0A license='MIT',%0A auth...
5a5f805e76098ca64187b475c5b4c47e4be5b6be
Remove double classifier in setup.py and add Python 2 and Python 3
setup.py
setup.py
#!/usr/bin/env python import os import codecs from setuptools import setup def read(*parts): filename = os.path.join(os.path.dirname(__file__), *parts) with codecs.open(filename, encoding='utf-8') as fp: return fp.read() from dynamic_forms import get_version setup( name='django-dynamic-forms',...
Python
0.000001
@@ -1303,32 +1303,37 @@ nguage :: Python + :: 2 ',%0A 'Prog @@ -1417,16 +1417,63 @@ : 2.7',%0A + 'Programming Language :: Python :: 3',%0A
71acce577d1fc7d3366e1cc763433f18bbdfdc00
Upgrade status to Production/Stable and add specific python version to classifiers
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages setup( name="valideer", version="0.4.1", description="Lightweight data validation and adaptation library for Python", long_description=open("README.rst").read(), url="https://github.com/podio/valideer", author="George Sakkis", ...
Python
0
@@ -593,16 +593,29 @@ :: -4 - Beta +5 - Production/Stable %22,%0A @@ -796,9 +796,156 @@ :: -3 +2.7%22,%0A %22Programming Language :: Python :: 3%22,%0A %22Programming Language :: Python :: 3.3%22,%0A %22Programming Language :: Python :: 3.4 %22,%0A
7768ace5c6dbe939086bd3beb5051a4d4417e3a4
Fix typo
setup.py
setup.py
from distutils.core import setup setup( name='jinja2-pluralize-filter', version='0.0.1', author='Yuri Shikanov', author_email='dizballanze@gmail.com', packages=['pluralize'], # scripts=[], url='https://github.com/dizballanze/jinja2-pluralize-filter', license='LICENSE', description='...
Python
0.999999
@@ -423,17 +423,16 @@ README.r -e st').rea
ea9ceb5ff0117c0b39dcd93146cdb0e7782bbecc
Version 0.3
setup.py
setup.py
from setuptools import setup try: import pypandoc long_description = pypandoc.convert('README.md', 'rst').decode('utf-8') except ImportError: long_description = open('README.md', 'rb').read().decode('utf-8') setup( name='PyCodebase', version='0.2', description='A client for the Codebase API....
Python
0.000001
@@ -266,9 +266,9 @@ ='0. -2 +3 ',%0A
13aa2ad682565dc1959d1010fee477b5a1870715
Bump version to 0.3.0-pre2
setup.py
setup.py
#!/usr/bin/env python import os from distutils.core import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='zuice', version='0.3.0-pre1', description='A dependency injection framework for Python', long_description=read("README.rst"), autho...
Python
0
@@ -200,9 +200,9 @@ -pre -1 +2 ',%0A
230fca7eaecdcd71b4ad4f23603ce794386b7eb1
Fix version number on 0.4.0 tag (oops).
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (C) 2007-2008 Christopher Lenz # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. from distutils.cmd import Command import doctest from glob import glob import ...
Python
0.000007
@@ -3504,17 +3504,17 @@ on = '0. -3 +4 ',%0A d
ee1e6b92b6b853025eff314ed65a4f752177c4b6
fix setup.py
setup.py
setup.py
from sqlalchemy_mptt import __version__ from setuptools import setup setup( name='sqlalchemy_mptt', version=__version__, url='http://github.com/ITCase/sqlalchemy_mptt/', author='Svintsov Dmitry', author_email='root@uralbash.ru', packages=['sqlalchemy_mptt', ], include_package_data=True, ...
Python
0.000001
@@ -682,16 +682,23 @@ oduction +/Stable ',%0A
ec58fc2f0c077f3402b9dd69e67018a33a78737e
Update setup.py to add cupy.fallback_mode
setup.py
setup.py
#!/usr/bin/env python import os from setuptools import setup import sys import cupy_setup_build if sys.version_info[:3] == (3, 5, 0): if not int(os.getenv('CUPY_PYTHON_350_FORCE', '0')): msg = """ CuPy does not work with Python 3.5.0. We strongly recommend to use another version of Python. If you want ...
Python
0
@@ -3859,24 +3859,54 @@ 'cupy.ext',%0A + 'cupy.fallback_mode',%0A 'cup
8835dffe1f33dbf772462e75b1074b2b9a7e7fd6
Fix attrs version for backward compatibility
setup.py
setup.py
# -*- encoding: utf-8 -*- import os import re import codecs try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup def get_version(package): """ Return package version as listed in `__version__` in `init.py`. """ init_py = codecs.open(os.path.ab...
Python
0
@@ -1789,16 +1789,32 @@ 'attrs +%3E=16.3.0,%3C17.3.0 ',%0A
9dae7ba658f028e1f4de3291c56fb7b81c0e07c6
Change version
setup.py
setup.py
from setuptools import setup from sys import version if version < '2.6.0': raise Exception("This module doesn't support any version less than 2.6") import sys sys.path.append("./test") with open('README.rst', 'r') as f: long_description = f.read() classifiers = [ 'Development Status :: 4 - Beta', 'I...
Python
0
@@ -864,11 +864,11 @@ '0. -2.4 +3.0 ',%0A
54cb4f7eb7a69eaeb24e019d059cf39041704aff
Bump version: 3.4.3 → 3.4.4
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='ingest', version='3.4.3', author="Organized Crime and Corruption Reporting Project", packages=find_packages(exclude=['tests']), package_dir={'ingestors': 'ingestors'}, include_package_data=Tr...
Python
0.000001
@@ -128,17 +128,17 @@ on='3.4. -3 +4 ',%0A a
f9172ef83dfc96a29480e306de2d1219dd020dd6
add numpy dependencies
setup.py
setup.py
from setuptools import setup from os.path import join setup(name='landmarkerio-server', version='0.0.7', description='Menpo-based server for www.landmarker.io', author='James Booth', author_email='james.booth08@imperial.ac.uk', url='https://github.com/menpo/landmarkerio-server/', cl...
Python
0.000001
@@ -877,24 +877,64 @@ Py%3E=3.5.0',%0A + 'numpy%3E=1.8.1',%0A
48a0c13cf38fd50927dbb110f56954e2567859c6
Revert "different pippery"
setup.py
setup.py
from distutils.core import setup import subprocess import pip r = pip.req.RequirementSet(pip.locations.build_prefix, pip.locations.src_prefix, download_dir=None) r.add_requirement(pip.req.InstallRequirement.from_line('git+ssh://git@git.seclab.cs.ucsb.edu:/cgc/fuzzer.git#egg=fuzzer')) r.add_requirement(pip.req.InstallR...
Python
0
@@ -49,174 +49,21 @@ ss%0A%0A -import pip%0Ar = pip.req.RequirementSet(pip.locations.build_prefix, pip.locations.src_prefix, download_dir=None)%0Ar.add_requirement(pip.req.InstallRequirement.from_line( +TRACER_URL = 'git @@ -101,20 +101,20 @@ du:/cgc/ -fuzz +trac er.git#e @@ -120,73 +120,29 @@ egg= -fuzzer'))%0Ar...
f6ab67e9d1d4974e16392cfadf811e0f2504287f
change version to 1.0
setup.py
setup.py
# -*- coding: utf-8 -*- from setuptools import setup with open('requirements.txt') as f: required = f.read().splitlines() with open('test_requirements.txt') as f: test_required = f.read().splitlines() setup(name="carto", author="Daniel Carrión", author_email="daniel@carto.com", description=...
Python
0.000007
@@ -358,18 +358,16 @@ ion=%221.0 -.0 %22,%0A
5c802412e04f4548c81761000501d194a7c951c2
bump version
setup.py
setup.py
''' quick ------------------- Run clojure scripts and lein commands quickly using a persistent nREPL session. Links ````` * `development version <https://github.com/benwbooth/quick-clojure>`_ ''' import os from setuptools import setup, find_packages setup(name="quick-clojure", version=...
Python
0
@@ -320,9 +320,9 @@ ='0. -7 +8 ',%0A
354c1d4e94e1f22ca505c1959843005b55407973
Bump to version 0.7.2, rolling back to MDTraj readers
setup.py
setup.py
"""mBuild: A hierarchical, component based molecule builder With just a few lines of mBuild code, you can assemble reusable components into complex molecular systems for molecular dynamics simulations. mBuild is designed to minimize or even eliminate the need to explicitly translate and orient components when building...
Python
0
@@ -717,9 +717,9 @@ 0.7. -1 +2 %22%0AIS @@ -729,20 +729,19 @@ EASED = -Fals +Tru e%0Aif ISR
f2196d29208c4f3df0905227025eb36d5ea60ce6
Bump version to 2015.12.29
setup.py
setup.py
from setuptools import setup, find_packages import sys long_description = ( "This project contains a library and tools for manipulating and " "generating metadata files that conform to the CableLabs VOD Metada 1.1 " "specification" ) # Install requires configparser for Python 2.x if sys.version_info[0] < ...
Python
0
@@ -495,12 +495,13 @@ 015. -3.16 +12.29 ',%0A
f46b364d78ece19752535ec3882158901fe78649
prepare next release
setup.py
setup.py
try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup config = { 'description': 'BioMAJ', 'author': 'Olivier Sallou', 'url': 'http://biomaj.genouest.org', 'download_url': 'http://biomaj.genouest.org', 'author_email': 'olivier.sallou@irisa.fr',...
Python
0
@@ -338,9 +338,9 @@ 3.0. -6 +7 ',%0A
b417db7cf6f06c74436733590ef15b27f912ed33
Add entry point to setup script
setup.py
setup.py
#!/usr/bin/python # -*- coding: latin-1 -*- """Setup script.""" try: from setuptools import setup except ImportError: from distutils.core import setup try: import grokapi version = grokapi.__version__ except ImportError: version = 'Undefined' with open('requirements.txt') as requirements_file: ...
Python
0
@@ -368,16 +368,112 @@ nes())%0A%0A +entry_points = %7B%0A 'console_scripts': %5B%0A 'grokapi = grokapi.cli:main',%0A %5D%0A %7D%0A %0Aclassif @@ -1114,16 +1114,47 @@ ckages,%0A + entry_points=entry_points,%0A inst
f9947459c6c7330f02dd1f6c0fb59800289beca6
use a pep 440 compatible version number
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages """ Documentation can be found at https://docs.python.org/2/distutils/index.html, but usually you only need to do the following steps to publish a new package version to PyPI:: # Update the version tag in this file (setup.py) python setup.py re...
Python
0
@@ -926,23 +926,22 @@ n='1.5.3 --anfema +.post1 ',%0A
65ba164f7b2cf3256177dbf5a8e2b3f8796d4920
Use the correct name in setup.py
setup.py
setup.py
from setuptools import setup, find_packages from version import get_git_version setup(name='core', author='The Cut', author_email='development@thecut.net.au', url='http://projects.thecut.net.au/projects/thecut-authorship', namespace_packages=['thecut'], version=get_git_version(), packages=find_pack...
Python
0.000035
@@ -90,12 +90,25 @@ me=' -core +thecut-authorship ',%0A
83a5bf4152da781da2e86b1bc5bda72aeb87bc6d
Update list trove classifiers
setup.py
setup.py
import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup version = '1.4.1.dev0' if sys.argv[-1] == 'publish': os.system('python setup.py sdist bdist_wheel upload') print("You probably want to also tag the version now:") print(" git tag -a %s -m ...
Python
0.000001
@@ -1320,17 +1320,17 @@ thon :: -2 +3 ',%0A @@ -1371,58 +1371,17 @@ :: -2.7',%0A 'Programming Language :: Python :: 3 +3 :: Only ',%0A @@ -1424,17 +1424,17 @@ on :: 3. -4 +6 ',%0A @@ -1473,17 +1473,17 @@ on :: 3. -5 +7 ',%0A @@ -1518,25 +1518,25 @@ Python :: 3. -6 +8 ',%0A %5D,%0A...
59c665f27ccbb8fc07d3a2a23b161be5c732562f
bump version
setup.py
setup.py
#! /usr/bin/env python import ez_setup ez_setup.use_setuptools() import os import glob from setuptools import setup, find_packages NAME = 'bacula_configuration' VERSION = '0.91' WEBSITE = 'http://gallew.org/bacula_configuration' LICENSE = 'GPLv3 or later' DESCRIPTION = 'Bacula configuration management tool' AUTHOR =...
Python
0
@@ -175,9 +175,9 @@ '0.9 -1 +2 '%0AWE
16f62228972d9281dd33172251a4a6402329d4d3
Remove pymatsolver from setup.py
setup.py
setup.py
#!/usr/bin/env python from __future__ import print_function """discretize Discretization tools for finite volume and inverse problems. """ import os import sys CLASSIFIERS = [ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'License :: OS...
Python
0.000001
@@ -1297,34 +1297,8 @@ 2',%0A - 'pymatsolver%3E=0.1.2',%0A
d286ce93d0394e3bd626aa12c4016527c4306a45
swap out .rst readme for .md one.
setup.py
setup.py
from setuptools import setup, find_packages import subprocess try: subprocess.check_call('pandoc --from=markdown README.md --to=rst --output=README.rst',shell=True) except Exception, e: print '*** NOTE: this package uses pandoc to generate rst documentation ' print 'from the original markdown and thi...
Python
0
@@ -60,475 +60,8 @@ ss%0A%0A -try:%0A subprocess.check_call('pandoc --from=markdown README.md --to=rst --output=README.rst',shell=True)%0Aexcept Exception, e:%0A print '*** NOTE: this package uses pandoc to generate rst documentation '%0A print 'from the original markdown and this step just failed! you ...
93794e7596a11c3e82ae89cf7ae8699bf456495e
Fix setup.py packaging
setup.py
setup.py
#!/usr/bin/env python import setuptools with open('VERSION') as f: version = f.read().strip() with open('README.md') as f: readme = f.read() setuptools.setup( name="alerta", version=version, description="Alerta unified command-line tool and SDK", long_description=readme, license="MIT", ...
Python
0.000001
@@ -293,16 +293,66 @@ readme,%0A + url=%22http://github.com/alerta/python-alerta%22,%0A lice @@ -362,16 +362,16 @@ =%22MIT%22,%0A - auth @@ -448,83 +448,60 @@ -url=%22http://github.com/alerta/python-alerta%22,%0A packages=%5B'alertaclient +packages=setuptools.find_packages(exclude=%5B'tests '%5...
b52ec0805cff336f3c2e132766bf3b54b4ac2471
Update setup.py
setup.py
setup.py
from setuptools import setup, Distribution #from pypandoc import convert_file class BinaryDistribution(Distribution): def has_ext_modules(foo): return True #: Converts the Markdown README in the RST format that PyPi expects. #long_description = convert_file('README.md', 'rst') setup(name='pywinsparkle'...
Python
0
@@ -36,17 +36,16 @@ ibution%0A -# from pyp @@ -70,16 +70,16 @@ rt_file%0A + %0Aclass B @@ -232,17 +232,16 @@ xpects.%0A -# long_des @@ -284,16 +284,16 @@ 'rst')%0A + %0A%0Asetup( @@ -405,53 +405,24 @@ ion= -'A python wrapper for the winsparkle project' +long_description ,%0A
4106a8ae6d9779ae84ec4036cced05ca0f510ace
fix setup.py
setup.py
setup.py
from setuptools import setup, find_packages import sys import os version = __import__('turbo').version install_requires = [ ] for k in ['pymongo', 'requests', 'redis', 'docopt', 'jinja2']: try: _m = __import__(k) except ImportError: if k == 'pymongo': k = 'pymongo>=3.2' ...
Python
0.000001
@@ -1298,16 +1298,397 @@ dmin'%5D,%0A + classifiers=%5B%0A 'License :: OSI Approved :: Apache Software License',%0A 'Programming Language :: Python :: 2.6',%0A 'Programming Language :: Python :: 2.7',%0A 'Programming Language :: Python :: 3.3',%0A 'Programming Language :: Python :...
106b4b3f71ad1e44c2d7175e23493595d6f5b7af
set version
setup.py
setup.py
# -*- coding: utf-8 -*- VERSION = "1.4dev5" try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages import os import sys # Taken from kennethreitz/requests/setup.py package_directory = os.path...
Python
0.000001
@@ -17,16 +17,17 @@ f-8 -*-%0A +# VERSION @@ -38,16 +38,32 @@ .4dev5%22%0A +VERSION = %221.4%22%0A try:%0A
7084b08c65d4df5586d84c35964af8fedf7fdb52
Fix black
setup.py
setup.py
# This file is part of Shuup. # # Copyright (c) 2012-2021, Shuup Commerce Inc. All rights reserved. # # This source code is licensed under the OSL-3.0 license found in the # LICENSE file in the root directory of this source tree. import os import setuptools import sys import shuup_setup_utils as utils TOPDIR = os.pat...
Python
0.000011
@@ -4303,15 +4303,15 @@ res= -' +%22 %3E=3.6 -' +%22 ,%0A
c26019ee038ee90c7cd39e3d19790ecb3fca75a3
fix __version__ in setup.py
setup.py
setup.py
import os from setuptools import setup from pip.req import parse_requirements from tfinterface import __version__ # parse requirements reqs = [str(r.req) for r in parse_requirements("requirements.txt", session=False)] # Utility function to read the README file. # Used for the long_description. It's nice, because no...
Python
0.000092
@@ -1342,23 +1342,27 @@ .format( +__ version +__ ),%0A i
852ea076e7fc04446aa58650b293a48d2a4089ba
Bump version to 0.2.0
setup.py
setup.py
from setuptools import setup, find_packages setup( name = 'bustime', version = '0.1', packages = find_packages(), description = 'SDK for the MTA Bus Time API', install_requires = ['requests>=2.0'], author = 'Steve Davis', author_email = 'steve@celery.club', url = 'https://github.com/celeryclub/bustime'...
Python
0.000001
@@ -80,17 +80,19 @@ on = '0. -1 +2.0 ',%0A pac @@ -387,9 +387,11 @@ l/0. -1 +2.0 ',%0A
cc860538eef75b527a209cfc85e24754c7468f5d
Add setuptools-git for setup.
setup.py
setup.py
from setuptools import setup version = "0.1" setup( version=version, description="A plugin for mr.awsome providing support for FreeBSD jails using ezjail.", name="mr.awsome.ezjail", author='Florian Schulze', author_email='florian.schulze@gmx.net', url='http://github.com/fschulze/mr.awsome.ezja...
Python
0
@@ -509,16 +509,64 @@ %0A %5D,%0A + setup_requires=%5B%0A 'setuptools-git'%5D,%0A entr
e588d98f451c3cbfbdd3954b5784e8d8f15a1b9d
remove dev in setup.py
setup.py
setup.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals """ A setuptools based setup module. See: https://packaging.python.org/en/latest/distributing.html https://github.com/pypa/sampleproject """ # To use a consistent encoding from os import path from codecs import open # Always prefer setuptools over dist...
Python
0
@@ -2540,27 +2540,8 @@ e=%7B%0A - %22dev%22: %5B%5D,%0A
ce8004825bcf9ca41f72abc7535ea5055cd07973
remove pytables from req in setup.py - readthedocs and travis didnt like it
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Setup script for PyPI packaging This script is used for creating the PyPI package. python setup.py sdist - create gzip distr (source dist) python setup.py bdist_wheel - create build twine upload dist/* - upload to PyPI """ from setuptools import setup, find_packages imp...
Python
0
@@ -661,32 +661,34 @@ d', 'click',%0A + # 'pytables',%0A%5D%0A%0A
7a0cfe03fd600c625c361bbcf564ab8e72704a35
Fix package name
setup.py
setup.py
#!/usr/bin/python # -*- coding: utf-8 -*- # This file is part of the pymfony package. # # (c) Alexandre Quercia <alquerci@email.com> # # For the full copyright and license information, please view the LICENSE # file that was distributed with this source code. """ """ from __future__ import absolute_import; from distu...
Python
0.000079
@@ -1144,16 +1144,20 @@ .system. +py2. minor6',
38452d9af048e95344a82bc3275ffd095eff8699
version 1.1.fb16
setup.py
setup.py
#! /usr/bin/env python ''' This file is part of ConfigShell. Copyright (c) 2011-2013 by Datera, 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 U...
Python
0
@@ -713,9 +713,9 @@ .1.1 -5 +6 ',%0A
4f6d177bac356062901d2c699ff6b96b382a3fc5
Change command names
setup.py
setup.py
#!/usr/bin/env python3 from distutils.core import setup from distutils.command.install import install from distutils import dir_util from distutils import file_util import getpass import os import shutil import subprocess import config def setupUser(): import armaadmin.users print() print('Please set up the admin...
Python
0.000021
@@ -1442,20 +1442,19 @@ %0A%0Aclass -post +cmd _install @@ -1753,16 +1753,20 @@ %0A%0Aclass +cmd_ upgrade( @@ -2463,12 +2463,11 @@ l': -post +cmd _ins @@ -2483,16 +2483,20 @@ grade': +cmd_ upgrade
e4e547df7467531aec8ac24c12d3ae931e59e9e9
Remove test as we're not sharing the ID of users.
test/test_activity_update.py
test/test_activity_update.py
# -*- coding: utf8 -*- # This file is part of PYBOSSA. # # Copyright (C) 2015 Scifabric LTD. # # PYBOSSA is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your op...
Python
0
@@ -3582,73 +3582,8 @@ un%22%0A - assert update_feed%5B0%5D%5B'id'%5D == task_run.user.id, err_msg%0A
34366cacbe90e15fcc7c7c5a627eee868a3e9416
Implement file syncing
sync.py
sync.py
#! /usr/bin/env python import argparse, os, sys import dftext verbose = True parser = dftext.Parser() files = [] class SyncError(Exception): pass def output_wrapper(f): def inner(text): f.write(text) f.flush() return inner pout = output_wrapper(sys.stdout) perr = output_wrapper(sys.stderr) ...
Python
0.000011
@@ -40,16 +40,22 @@ os, sys +, time %0Aimport @@ -112,16 +112,28 @@ les = %5B%5D +%0Amtimes = %7B%7D %0A%0Aclass @@ -369,24 +369,79 @@ stdir('.'):%0A + if not os.path.isfile(f):%0A continue%0A # Av @@ -771,16 +771,164 @@ (f, e)) +%0A else:%0A files.append(f)%0A ...
20037b3eaeb04a75664ff2eb8f9c2b654f894693
Version 0.3
setup.py
setup.py
# -*- coding:utf-8 -*- from distutils.core import setup setup( name = 'elementflow', version = '0.2.0', author = 'Ivan Sagalaev', author_email = 'Maniac@SoftwareManiacs.Org', py_modules = ['elementflow'], url = 'https://launchpad.net/elementflow', license = 'LICENSE.txt', description = ...
Python
0.000001
@@ -104,9 +104,9 @@ '0. -2 +3 .0',
de22bdb895fc3595da615f9d0fa7670789a50ca7
Bump tqdm to fix a blocking bug
setup.py
setup.py
#!/usr/bin/env python import codecs import os.path import re import sys import setuptools here = os.path.abspath(os.path.dirname(__file__)) def read(*parts): # intentionally *not* adding an encoding option to open, See: # https://github.com/pypa/virtualenv/issues/201#issuecomment-3145690 with codecs...
Python
0
@@ -2044,12 +2044,15 @@ qdm -%3E +~ = 4 +.29 %22,%0A
98a98265427d6a514d67565ec44644aa27659040
Bump token-auth
setup.py
setup.py
#!/usr/bin/env python import os import bluebottle from setuptools import setup, find_packages def read_file(name): return open(os.path.join(os.path.dirname(__file__), name)).read() readme = read_file('README.rst') changes = '' dependency_links = [ 'git+https://github.com/onepercentclub/django-taggit-autoco...
Python
0.000001
@@ -603,17 +603,17 @@ git@2.0. -4 +6 #egg=dja @@ -630,25 +630,25 @@ -extras-2.0. -4 +6 ',%0A 'git+ @@ -2588,17 +2588,17 @@ as==2.0. -4 +6 ',%0A '
f411e874bcb33cd9f7f23a3abc23830e3728ccf5
bump to 0.2.2
setup.py
setup.py
from setuptools import setup from sys import version_info with open('README.rst') as README: long_description = README.read() long_description = long_description[long_description.index('Description'):] suds_install_requires = ['suds'] if version_info < (3,0) else ['suds-py3'] setup(name='wos', version=...
Python
0.000096
@@ -322,9 +322,9 @@ 0.2. -1 +2 ',%0A
cc2609ba27dbc8186d4dd19a31bed702d326f0af
clean docs and fixes some silly bugs
tags.py
tags.py
# tags.py --- # # Filename: tags.py # Description: Access to the Tags API # Author: Niklas Rehfeld # # Copyright 2014 Niklas Rehfeld # # 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...
Python
0
@@ -131,18 +131,17 @@ ehfeld%0A# - %0A + # Lic @@ -317,17 +317,16 @@ nse at%0A# - %0A# @@ -371,17 +371,16 @@ SE-2.0%0A# - %0A# Un @@ -810,16 +810,28 @@ urllib2%0A +from nb_api import N @@ -846,16 +846,16 @@ lderApi%0A - import j @@ -1227,16 +1227,17 @@ ''.join( +%5B self.BAS @@ -1299,24 +12...
c609cc937ab91a634b92a38b78ab86e323deaaf1
Fix setup.py.
setup.py
setup.py
#-*- coding: utf-8 -*- from setuptools import setup, find_packages import YaDiskClient setup( name='YaDiskClient', version=YaDiskClient.__version__, include_package_data=True, py_modules=['YaDiskClient'], url='https://github.com/TyVik/YaDiskClient', license='MIT', author='TyVik', author...
Python
0
@@ -552,16 +552,17 @@ Yandex' +, %0A# te
89ed956189c220690ff218e6fa93b5d352957b1a
add test_suite on setup
setup.py
setup.py
#!/usr/bin/env python # -*- coding:utf-8 -*- from setuptools import setup, find_packages import opps install_requires = ["django", "south>=0.7", "Pillow==1.7.8", "thumbor", 'libthumbor', "django-googl==0.1.1", ...
Python
0
@@ -2211,10 +2211,38 @@ ta=True, +%0A test_suite='runtests' )%0A
dc81eea0fdd1a1b8e3a8a662db51f96cd6523de8
version 0.1.2
setup.py
setup.py
#!/usr/bin/env python try: # Third-party from setuptools import setup except ImportError: # Standard library from distutils.core import setup with open("README.rst") as file: long_description = file.read() setup(author="Timid Robot Zehta", author_email="tim@clockwork.net", classifiers=...
Python
0.000003
@@ -1002,17 +1002,17 @@ on=%220.1. -1 +2 %22,%0A
39ab58ed009568a3eca0fd168841d5437ee6f7d0
Corrige dependencias do setup.py e numero da versao do Python
setup.py
setup.py
#!/usr/bin/env python import os from codecs import open from setuptools import find_packages, setup version_path = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'pysigep', '__version__.py') about = {} with open(version_path, 'r') as f: exec(f.re...
Python
0
@@ -513,93 +513,8 @@ = %5B%0A - 'lxml==3.7.3',%0A 'requests==2.13.0',%0A 'Pillow==4.1.0',%0A 'Jinja2==2.9.6',%0A @@ -761,231 +761,8 @@ e',%0A - %22Programming Language :: Python :: 2%22,%0A 'Programming Language :: Python :: 2.6',%0A 'Programming Language :: Python :: 2.7',%0A 'Programmi...
97a7a0411ef43ed911b8ba90266c9c67577e1967
Include links to docs and repo
setup.py
setup.py
import os import re import sys from setuptools import setup, Extension from setuptools.command.build_ext import build_ext # These were only added to setuptools in 59.0.1. try: from setuptools.errors import CCompilerError from setuptools.errors import DistutilsExecError from setuptools.errors import Distut...
Python
0
@@ -3245,16 +3245,290 @@ nddb%22%7D,%0A + project_urls=%7B%0A %22Documentation%22: %22https://maxminddb.readthedocs.org/%22,%0A %22Source Code%22: %22https://github.com/maxmind/MaxMind-DB-Reader-python%22,%0A %22Issue Tracker%22: %22https://github.com/maxmind/MaxMind-DB-Reader-p...
544754701e0cd7243e7a7cfc5245bdb91b73d2c5
Fix a bug in setup.py
setup.py
setup.py
""" setup.py """ import sys import subprocess try: from setuptools import setup except ImportError: from distutils.core import setup PROC = subprocess.run(["git", "log", "-n1", "--pretty=%h"], stdout=subprocess.PIPE, stderr=subprocess.PIPE) if PROC.returncode != 0: print("ERROR: wh...
Python
0.000003
@@ -137,16 +137,53 @@ setup%0A%0A +PYPI_DISTNAME = %22pystream-protobuf%22%0A%0A PROC = s @@ -316,33 +316,33 @@ PROC.returncode -! += = 0:%0A print(%22 @@ -338,204 +338,8 @@ -print(%22ERROR: while retreiving current git commit hash...%22, file=sys.stderr)%0A print(%22The error message is:%5Cn%3E %25s%...
87831602727e71f1969499e84aca50385eb9b9ed
Fix bad syntax
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages import os import platform # Conditional include unittest2 for versions of python < 2.7 tests_require = ['nose', 'pyyaml'] platform_version = list(platform.python_version_tuple())[0:2] if platform_version[0] != '3' and platform_version != ['2', '7']: ...
Python
0.999998
@@ -706,16 +706,17 @@ ms='any' +, %0A pac
93dc1eaa750e6dec8eedad2353fdabba19c829b1
Bump version (2.0.1).
setup.py
setup.py
# -*- coding: utf-8 -*- """ Jump Consistent Hash -------------------- Python implementation of the jump consistent hash algorithm by John Lamping and Eric Veach[1]. Requires Python 2.6-2.7 or 3.2+. Usage ````` .. code:: python >>> import jump >>> jump.hash(256, 1024) 520 Or if you want to use the C++ e...
Python
0
@@ -554,17 +554,17 @@ on='2.0. -0 +1 ',%0A
026a7d5649388e4d57eeabed8f36ecdf6f5bf0d3
fix aircv dep version
setup.py
setup.py
# coding: utf-8 # import sys sys.path.insert(0,'/usr/lib/pyshared/python2.7') from setuptools import setup, find_packages from airtest import __version__ long_description = '' try: with open('README.md') as f: long_description = f.read() except: pass setup( name='airtest', version=__ver...
Python
0
@@ -785,14 +785,13 @@ rcv -%3E += = 1. -0 2',%0A
d84d84c583db53759129216747da7b2e81d59582
Bump version to 0.0.2
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys try: from setuptools import setup except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup def fullsplit(path, result=None): """ Split a pathname into components (the opposite of os....
Python
0.000001
@@ -1243,17 +1243,17 @@ on='0.0. -1 +2 ',%0A d
231297068b9cf4d78c25af7e95bcfe1b5a5d2bd3
version bump
setup.py
setup.py
from setuptools import setup, find_packages setup( name='httpagentparser', version='1.2.1', url="https://github.com/shon/httpagentparser", classifiers=[ 'Programming Language :: Python', 'Programming Language :: Python :: 3' ], include_package_data=True, description='Ext...
Python
0.000001
@@ -90,17 +90,17 @@ on='1.2. -1 +2 ',%0A u
10ae12d60cb8bd9a9a3373f0432fdf57ca3d5e44
Bump filebrowser safe version to 0.2.13
setup.py
setup.py
from __future__ import with_statement import os import sys exclude = ["mezzanine/project_template/dev.db", "mezzanine/project_template/local_settings.py"] exclude = dict([(e, None) for e in exclude]) for e in exclude: if e.endswith(".py"): try: os.remove("%sc" % e) except: ...
Python
0
@@ -631,17 +631,17 @@ %3E= 0.2.1 -2 +3 %22,%0A %22
90a6bd545ed0b494eb3530159292147e08263a72
Update gmpy2 deps (segfault in test_pretty.py)
setup.py
setup.py
#!/usr/bin/env python3 """ This script uses Setuptools (http://pythonhosted.org/setuptools/), a collection of enhancements to the standard Python distutils. """ import re import sys import os import shutil from setuptools import setup, Command, find_packages # Make sure I have the right Python version. We can drop ...
Python
0
@@ -942,16 +942,22 @@ %5B'gmpy2 +%3E2.0.3 '%5D,%0A
8291758ff2fc5266e28450c29b80d509a785641c
Update setup.py.
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().replace('.. :changelog:', ...
Python
0
@@ -782,21 +782,21 @@ deconst/ +p re -nde +pa rer-rst' @@ -1608,14 +1608,15 @@ nst- +p re -nder +pare -rst
46182e3646f9932a6a39e95fe4f289dd0c62325b
remove unnecessary requirements list
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- try: from setuptools import setup except ImportError: from distutils.core import setup requirements = ['click==6.2', 'pyparsing==2.0.7', 'ecdsa==0.13', 'PyYAML==3.11', 'pycrypto==2.6.1', ...
Python
0.000077
@@ -139,189 +139,8 @@ up%0A%0A -requirements = %5B'click==6.2',%0A 'pyparsing==2.0.7',%0A 'ecdsa==0.13',%0A 'PyYAML==3.11',%0A 'pycrypto==2.6.1',%0A %5D %0Areq
f9403b00f8a7a219977ecb26c316fc37a5caf201
Set the startup script runnable on Windows OS. Fixes #3
setup.py
setup.py
#!/usr/bin/env python3 # encoding: UTF-8 """Build tar.gz for pygubu Needed packages to run (using Debian/Ubuntu package names): python3-tk """ import os import shutil from distutils.command.install import install from distutils.core import setup VERSION = open('version.txt').read().strip() class CustomInsta...
Python
0.000001
@@ -167,16 +167,32 @@ t shutil +%0Aimport platform %0A%0Afrom d @@ -1039,16 +1039,155 @@ ntent)%0A%0A + if platform.system() == 'Windows':%0A dest = script_path + '.pyw'%0A shutil.move(script_path, dest)%0A%0A %0Along_de
1ac534fe5f28b95bfd28a832290b61929c26cf4c
Make the import of distutils.extra non-mandatory in setup.py. Just print a warning that i18n commands are not available...
setup.py
setup.py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compli...
Python
0
@@ -922,23 +922,256 @@ st%0A%0A -try:%0A import +# In order to run the i18n commands for compiling and%0A# installing message catalogs, we use DistUtilsExtra.%0A# Don't make this a hard requirement, but warn that%0A# i18n commands won't be available if DistUtilsExtra is%0A# not installed...%0Atry:%0A from Dis ...
268fa37807fed07739d4e81eab7d1fbcc5842db9
Remove long_description from setup.py
setup.py
setup.py
#!/usr/bin/env python from setuptools import find_packages, setup # setup the project setup( name='cmsplugin-newsplus', version='1.0.0', description='Simple news plugin for django-cms 3.x', long_description=open('README.rst').read(), author='Nimbis Services, Inc.', author_email='devops@nimbiss...
Python
0
@@ -201,56 +201,8 @@ x',%0A - long_description=open('README.rst').read(),%0A
c5e8059975115385f225029ba5c7380673524122
Version bump for css taming.
setup.py
setup.py
from setuptools import setup f = open('README.rst') long_description = f.read().strip() long_description = long_description.split('split here', 1)[1] f.close() setup( name='tw2.jit', version='2.0.4', description='toscawidgets2 wrapper for the javascript infovis toolkit(jit)', long_description=long_des...
Python
0
@@ -203,9 +203,9 @@ 2.0. -4 +5 ',%0A
7afb5f15b86adcc0128d756df455534aaa381e97
Version 1.10.2.
setup.py
setup.py
from setuptools import setup, find_packages import sys, os version = '1.10.0' install_requires = [ # -*- Extra requirements: -*- ] setup(name='twitter', version=version, description="An API and command-line toolset for Twitter (twitter.com)", long_description=open("./README", "r").read(), ...
Python
0
@@ -69,17 +69,17 @@ = '1.10. -0 +2 '%0A%0Ainsta