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... | 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',
... | 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
f... | 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):
asse... | 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: pota... |
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_... | 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"... | 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-test... | 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):
pa... | 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__)... | 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', 'itaq... | 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 ... | 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, ... | 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',
... | 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):
... | 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/* #<... | 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/re... | 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 ag... | 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 ... | 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 Licen... | 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 Any... | 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 | 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=longDe... | 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 = [
# TO... | 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 P... | 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"),
u... | 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 = ... | 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 ... | 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=[
'Developmen... | 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',
... | 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... | 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):
... | 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",
... | 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)]
},
... | 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, Bend... | 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 op... | 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... | 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
# ... | 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 =... | 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 i... | 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... | 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:
VERSI... | 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 ... | 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"... | 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_r... | 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__ == '__mai... | 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',
u... | 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 agre... | 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="h... | 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=['mys... | 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/si... | 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... | 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', 'roll... | 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/... | 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@madma... | 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='W... | 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',
... | 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', 'po... | 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 __versio... | 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_emai... | 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)',
maintai... | 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... | 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:
... | 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,
... | 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
... |
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... | 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:
... | 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_emai... | 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 ope... | 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_descri... | 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 ... | 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
i... | 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.... | 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... | 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 ... |
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_requir... | 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",
lon... | 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 ... | 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... | 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 o... | 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/... | 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... | 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__)... | 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', ... |
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 Genera... | 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... | 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
#
# Unle... | 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... | 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=['... | 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
specifi... | 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 :: Window... | 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@gma... | 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:
... | 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... | 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 Gra... | 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_... | 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 @@
al... |
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') a... | 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==... | 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'
i... | 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.... | 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__),
'... | 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
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.