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 |
|---|---|---|---|---|---|---|---|
66785400dee22d97202413d23812c897266ce990 | remove marge marks | setup.py | setup.py | import os
from glob import glob
from setuptools import find_namespace_packages, setup
from setuptools.command.build_py import build_py as _build_py
# From https://github.com/pypa/setuptools/pull/1574
class build_py(_build_py):
def find_package_modules(self, package, package_dir):
modules = super().find_pac... | Python | 0.999987 | @@ -1019,21 +1019,8 @@
s',%0A
-%3C%3C%3C%3C%3C%3C%3C HEAD%0A
@@ -1044,86 +1044,8 @@
1',%0A
-=======%0A version='3.9.5',%0A%3E%3E%3E%3E%3E%3E%3E 4eaa2b917a3241f1f30098b48a2360bb1615af8f%0A
|
0147809b494d1a46c18afb7ecf1f60be49425a77 | VERSION 2! | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(name="pullme",
version="1.0.1",
description="A smart pull script for GitHub",
author="Andrew Lorente",
author_email="andrew.lorente@gmail.com",
scripts=["scripts/pullme"])
| Python | 0 | @@ -86,13 +86,13 @@
on=%22
-1.0.1
+2.0.0
%22,%0A
|
efa88a14e21455bbe2aa4d0dd4944472cfab1261 | fix python3 'pip install' bug | setup.py | setup.py | #!/usr/bin/python
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from setuptools import setup, find_packages
from itertools import ifilter
from os import path
from ast import parse
import pip
requirements = pip.req.parse_requirements("requirements.txt",
session=... | Python | 0 | @@ -118,16 +118,25 @@
ackages%0A
+try:%0A
from ite
@@ -157,16 +157,45 @@
ifilter%0A
+except:%0A ifilter = filter%0A
from os
|
decfd45d96ef3ed83acfa7d357de72e3e9931ee2 | Fix ECPy dependency version | setup.py | setup.py | #from distribute_setup import use_setuptools
#use_setuptools()
from setuptools import setup, find_packages
from os.path import dirname, join
import os
here = dirname(__file__)
setup(
name='ledgerblue',
version='0.1.18',
author='Ledger',
author_email='hello@ledger.fr',
description='Python library t... | Python | 0 | @@ -219,17 +219,17 @@
n='0.1.1
-8
+9
',%0A a
@@ -606,11 +606,11 @@
%3E=0.
-8.1
+9.0
', '
|
84c9bdcb388f6fd77cf58ccdcd6b9d298017389a | order setup | setup.py | setup.py | # encoding: utf-8
import numpy
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import sys
DESCRIPTION = 'TSNE implementations for python'
if sys.platform == 'darwin':
ext_modules = [Extension(
name='bh_sne',
s... | Python | 0.000001 | @@ -1310,16 +1310,64 @@
l.com',%0A
+ url='https://github.com/danielfrg/py_tsne',%0A
pack
@@ -1561,56 +1561,8 @@
(),%0A
- url='https://github.com/danielfrg/py_tsne',%0A
|
2d18428d1774e4a15840462ad512e15e2a199c3d | add setuptools | setup.py | setup.py | from distutils.core import setup
#with open("README.md", "r") as fh:
# long_description = fh.read()
setup(name='pyviko',
version='1.1.0.6',
description='Design knockout viruses in Python',
author='LJ Taylor',
author_email='l'+'taylor'+str(3+4)+'@'+'tu'+'lane.edu',
url='https://github.com/louiejtaylor/pyViKO'... | Python | 0 | @@ -1,8 +1,26 @@
+import setuptools%0A
from dis
|
640e97b41c0cddacc28199560817fae1083f7b39 | Add Python 3.10 to the list of supported versions | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, Command, Extension
from setuptools.command.build_ext import build_ext
import distutils
from distutils.command import build
from subprocess import check_output, check_call
import sys, os
PY_MAJOR = sys.version_info[0]
PY_MINOR = sys.version_info[1]
# Disable Source... | Python | 0.000001 | @@ -238,71 +238,8 @@
os%0A%0A
-PY_MAJOR = sys.version_info%5B0%5D%0APY_MINOR = sys.version_info%5B1%5D%0A%0A
# Di
@@ -5017,16 +5017,66 @@
: 3.9%22,%0A
+ %22Programming Language :: Python :: 3.10%22,%0A
|
4d58ec18e687d6e2c39eabf8678e20278df73e9d | Update test | test/util/test_procrunner.py | test/util/test_procrunner.py | from __future__ import division
import dials.util.procrunner
import mock
import pytest
@pytest.mark.skipif(dials.util.procrunner.dummy, reason='procrunner class set to dummy mode')
@mock.patch('dials.util.procrunner._NonBlockingStreamReader')
@mock.patch('dials.util.procrunner.time')
@mock.patch('dials.util.procrunne... | Python | 0.000001 | @@ -2164,16 +2164,32 @@
mock.ANY
+, debug=mock.ANY
), mock.
@@ -2223,16 +2223,32 @@
mock.ANY
+, debug=mock.ANY
)%5D, any_
|
01f33d9760d68e79913b8eee0174e8dfc46fbae7 | remove the msl-loadlib version number in the dependency | setup.py | setup.py | import os
import re
import sys
from setuptools import setup, find_packages
sys.path.insert(0, os.path.join(os.path.abspath(os.path.dirname(__file__)), 'docs'))
import docs_commands
def read(filename):
with open(filename) as fp:
text = fp.read()
return text
def fetch_init(key):
# open the __init... | Python | 0 | @@ -2084,15 +2084,8 @@
dlib
-==0.3.1
'%5D +
@@ -2218,12 +2218,8 @@
ib-0
-.3.1
'%5D,%0A
|
879915958ed8be4b57e2d53ca744a97b3429dd5e | Update setup.py | setup.py | setup.py | import sys
sys.path.append('./pyCGM_Single') # TODO update to pycgm when fixed
from _about import __version__
import setuptools
with open("README.md", "r",encoding="utf8") as fh:
long_description = fh.read()
setuptools.setup(
name="pyCGM",
version= __version__,
author="", # Many
author_email="cad... | Python | 0 | @@ -797,16 +797,24 @@
y%3E=1.15'
+,'scipy'
%5D,%0A p
|
c96dfa0387380da023f72b77b2d159e400d2f491 | Update to the latest version of wptrunner. | setup.py | setup.py | # This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at http://mozilla.org/MPL/2.0/.
from setuptools import setup
PACKAGE_VERSION = '0.1'
deps = ['fxos-appgen>=0.2.7',
'marionette_client>=0.7.1.1'... | Python | 0 | @@ -522,17 +522,8 @@
r %3E=
- 0.2.8, %3C
0.3
|
23301d890239db74ebd754175c11314c4d8a91ec | Remove the pbr version requirements in setup.py | setup.py | setup.py | #!/usr/bin/env python
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# 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 | @@ -760,21 +760,8 @@
'pbr
-%3E=0.5.21,%3C1.0
'%5D,%0A
@@ -773,8 +773,9 @@
br=True)
+%0A
|
50a89b33201e1ceec8207b705b3829a72bca51c4 | Bump to version 10 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='kobold',
version='9',
packages=find_packages(),
install_requires=['python-dateutil==2.2'],
tests_require=['nosetests'],
)
| Python | 0 | @@ -81,9 +81,10 @@
on='
-9
+10
',%0A
|
632f97f4e2e63735ff04e6a0fd689bf6f8fd6018 | Set version to 2013.2 | setup.py | setup.py | #!/usr/bin/env python
# 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... | Python | 0 | @@ -1032,16 +1032,53 @@
ion=
+common_setup.get_version('tempest',
%22201
-2
+3
.2%22
+)
,%0A
|
974f8211b20020c29ed893b0541a50ec1d3ba79a | Add secret key to test | test.py | test.py | import sys
import django
from django.conf import settings
if django.VERSION >= (2, 0, 0):
middleware_settings_key = "MIDDLEWARE"
else:
middleware_settings_key = 'MIDDLEWARE_CLASSES'
configuration = {
'DEBUG': True,
'DATABASES': {
'default': {
'ENGINE': 'django.db.backends.sqlite3',... | Python | 0.000001 | @@ -1098,24 +1098,96 @@
ECK': True,%0A
+ 'SECRET_KEY': 'uq8e140t1rm3%5Ekk&blqxi*y9h_j5yd9ghjv+fd1p%2508g4%25t6%25i',%0A
middlewa
|
005a723b576c1ff3326524814f3461ffa01a5f36 | add six to install_requires, refs #288 | setup.py | setup.py | """
Based entirely on Django's own ``setup.py``.
"""
import os
import sys
from distutils.command.install_data import install_data
from distutils.command.install import INSTALL_SCHEMES
try:
from setuptools import setup
except ImportError:
from distutils.core import setup # NOQA
class osx_install_data(install_... | Python | 0 | @@ -3144,24 +3144,54 @@
data_files,%0A
+ install_requires=%5B'six'%5D,%0A
tests_re
|
64a069447b81cbfd6deb8cc753226fb8462ee4a2 | test 5 | test.py | test.py | import mwclient
import MySQLdb
from config import *
# Test stuff
# site = mwclient.Site('en.wikipedia.org')
# page = site.Pages['Battle of Trenton']
# text = page.text()
# print 'Trenton thingy: ', text.encode('utf-8')
db = MySQLdb.connect( host = credentials['host'], user = credentials['user'], passwd = credentials[... | Python | 0.000035 | @@ -514,16 +514,63 @@
a.org')%0A
+site.login( testbot%5B'user'%5D, testbot%5B'pass'%5D )%0A
page = s
|
fc75a8c5d5cccc3ab674394d1980d21af08324b5 | fix a couple of bugs in the windows release command | setup.py | setup.py | #!/usr/bin/env python
#
# setup.py
#
# Copyright (C) 2009 Damien Churchill <damoxc@gmail.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later ... | Python | 0.000001 | @@ -4786,16 +4786,17 @@
e_window
+s
(self):%0A
@@ -5182,22 +5182,16 @@
ist_egg.
-bdist.
ensure_f
|
1b6b8fb4939062067e914d5ab94a743d5bc1268f | add click dep | setup.py | setup.py | # ----------------------------------------------------------------------------
# Copyright (c) 2013--, BP development team.
#
# Distributed under the terms of the Modified BSD License.
#
# The full license is in the file LICENSE, distributed with this software.
# --------------------------------------------------------... | Python | 0 | @@ -3829,24 +3829,43 @@
'pandas',%0A
+ 'click',%0A
's
|
da8916e883594197ca0605f0daa4c54021eb9681 | Fix build issue with Python3 | setup.py | setup.py | #
# This file is part of gruvi. Gruvi is free software available under the
# terms of the MIT license. See the file "LICENSE" that was provided
# together with this source file for the licensing terms.
#
# Copyright (c) 2012-2013 the gruvi authors. See the file "AUTHORS" for a
# complete list.
from __future__ import a... | Python | 0 | @@ -3010,16 +3010,32 @@
stdout.
+decode('ascii').
splitlin
|
7f18350b161c03e95afe9064d79236afc82f26b2 | Update trove classifiers | setup.py | setup.py | from setuptools import setup
setup(
name='tangled.sqlalchemy',
version='0.1a2.dev0',
description='Tangled SQLAlchemy integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=[
... | Python | 0.000001 | @@ -585,20 +585,17 @@
::
-1 - Planning
+3 - Alpha
',%0A
@@ -730,16 +730,67 @@
hon :: 3
+.3',%0A 'Programming Language :: Python :: 3.4
',%0A %5D
|
a769a25fd6117c82020d40712444587658f1acf2 | Handle distutils deprecation. | setup.py | setup.py | # Copyright (C) 2007-2009 Cournapeau David <cournape@gmail.com>
# 2010 Fabian Pedregosa <fabian.pedregosa@inria.fr>
# 2014 Gael Varoquaux
# 2014-2016 Sergei Lebedev <superbobry@gmail.com>
# 2018- Antony Lee
from distutils.version import LooseVersion
from io impo... | Python | 0 | @@ -262,51 +262,8 @@
e%0A%0A%0A
-from distutils.version import LooseVersion%0A
from
@@ -409,175 +409,8 @@
t%0A%0A%0A
-# Added support for environment markers in install_requires.%0Aif LooseVersion(setuptools.__version__) %3C %2236.2%22:%0A raise ImportError(%22setuptools%3E=36.2 is required%22)%0A%0A%0A
clas
|
90e144154f4b29ef0bd81c54546325fc62c7b649 | set the version to 2.1.0 | setup.py | setup.py | import os.path
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
README_FILE = os.path.join(ROOT_DIR, "README.rst")
with open(README_FILE) as f:
long_description = f.read()
setup(
name="xutils",
version="2... | Python | 0.999325 | @@ -318,11 +318,11 @@
=%222.
-0.4
+1.0
%22,%0A
@@ -1079,16 +1079,65 @@
: 3.6%22,%0A
+ %22Programming Language :: Python :: 3.7%22,%0A
%5D,%0A)
|
d88afa58333d6279b1c0f8c56539bd835a177ece | Fix spelling | setup.py | setup.py | # coding: utf-8
from distutils.version import LooseVersion
from setuptools import find_packages, setup
def check_setuptools():
import pkg_resources
st_version = pkg_resources.get_distribution('setuptools').version
if LooseVersion(st_version) < LooseVersion('20.2.2'):
exit('The Instana sensor requ... | Python | 0.999999 | @@ -1206,16 +1206,17 @@
and dist
+r
ibuted %5C
|
7895c1a50fe1ecfd031a4158d35e4d9b348bc90b | version 0.1.2 | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
try:
from pypandoc import convert
read_md = lambda f: convert(f, 'rst')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
read_md = lambda f: open(f, 'r').read()
L... | Python | 0.000003 | @@ -405,17 +405,17 @@
on='0.1.
-1
+2
',%0A d
@@ -559,16 +559,15 @@
::
-3 - Alph
+4 - Bet
a%22,%0A
|
27655d233b8d45e97a713fd6035fd946aa142e1f | Change the version number | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name="seed.xylem",
version='0.0.2',
url='http://github.com/praekeltfoundation/seed-xylem',
license='MIT',
description="A distributed service for managing container databases and shared storage",
author='Colin Alston',
author_email='colin@p... | Python | 0.999832 | @@ -86,17 +86,17 @@
on='0.0.
-2
+3
',%0A u
|
effa51d6752775b5dcd1b7c3afd7423414484b2d | bump version number | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='heospy',
version='0.1.4',
author='Stephan Heuel',
author_email='mail@ping13.net',
packages=find_packages(),
entry_points = {
'console_scripts': ['heos_player=heospy.heos_player:main'],
},
url='http://pypi.python.org/pypi/h... | Python | 0.000004 | @@ -85,9 +85,9 @@
0.1.
-4
+5
',%0A
|
423ec8ebdccd251b13c6adc599a372f50df7bf59 | Version 1.34.7 | setup.py | setup.py | """
The setup package to install SeleniumBase dependencies and plugins
(Uses selenium 3.x and is compatible with Python 2.7+ and Python 3.5+)
"""
from setuptools import setup, find_packages # noqa
import os
import sys
this_directory = os.path.abspath(os.path.dirname(__file__))
long_description = None
try:
with ... | Python | 0 | @@ -1841,17 +1841,17 @@
n='1.34.
-6
+7
',%0A d
|
b1ecec6bb1edb86ee33f1595ba63d61d19588c8a | Version number | setup.py | setup.py | # Copyright 2009 Jason Stitt
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute,... | Python | 0.000099 | @@ -2481,17 +2481,17 @@
= %220.2.
-3
+4
%22%0A%0Asetup
|
bfb0416df3547a7d2aa3dd4e0fc791ff5f7fd97e | Fix setup.py information | setup.py | setup.py | from distutils.core import setup
import sys
import fitparse
requires = None
if sys.version_info < (2, 7):
requires = ['argparse']
setup(
name='fitparse',
version=fitparse.__version__,
description='Python library to parse ANT/Garmin .FIT files',
author='David Cooper',
author_email='dave@kupe... | Python | 0 | @@ -283,16 +283,29 @@
d Cooper
+, K%C3%A9vin Gomez
',%0A a
@@ -334,16 +334,39 @@
soft.com
+, contact@kevingomez.fr
',%0A u
@@ -381,12 +381,8 @@
s://
-www.
gith
@@ -392,16 +392,15 @@
com/
-dtcooper
+K-Phoen
/pyt
|
2fdce95486934464f1b4bb4e102492af206e8942 | Bump version number. Semi-important bugfix. | setup.py | setup.py | from distutils.core import setup
setup(
name = "Cytoplasm",
version = "0.06.1",
author = "startling",
author_email = "tdixon51793@gmail.com",
url = "http://cytoplasm.somethingsido.com",
keywords = ["blogging", "site compiler", "blog compiler"],
description = "A static, blog-aware website ge... | Python | 0 | @@ -78,17 +78,17 @@
= %220.06.
-1
+2
%22,%0A a
|
2fcde65de436ace5424ff2eb5893c6eb5cd07002 | update setup.py to conform better to PyPi standards | setup.py | setup.py | from distutils.core import setup
setup(
name = 'pygameday',
version = '0.3',
author = 'Chris Anderson',
author_email = 'christian.c.anderson@gmail.com',
packages = ['pygameday'],
url = 'https://github.com/chrander/pygameday',
license='LICENSE.txt',
description = 'Module for scraping, pa... | Python | 0 | @@ -1,8 +1,10 @@
+#
from dis
@@ -28,17 +28,116 @@
t setup%0A
-%0A
+import setuptools%0A%0Awith open(%22README.md%22, %22r%22) as fh:%0A long_description = fh.read()%0A%0A%0Asetuptools.
setup(%0A
@@ -177,16 +177,18 @@
n = '0.3
+.4
',%0A a
@@ -285,21 +285,34 @@
s =
-%5B'pygameday'%5D
+setuptools.find_packa... |
faf475d93c8d357840959820627aedaaacfe29c8 | fix for readthedocs | setup.py | setup.py | import os
import sys
import re
from distutils.core import setup
# long_description: Take from README file
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
readme = f.read()
# Version Number
with open(os.path.join(os.path.dirname(__file__), 'xlwings', '__init__.py')) as f:
version = re.co... | Python | 0 | @@ -860,16 +860,35 @@
'True'%0A
+ if on_rtd:%0A
data
@@ -907,21 +907,12 @@
-if not on_rtd
+else
:%0A
|
1a950cb8d417fdca4933ee9df37b35fc11ca3ee6 | Fix missing import. | setup.py | setup.py | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
from __future__ import absolute_import, print_function
import io
import os
import re
from distutils.command.build import build
from glob import glob
from os.path import basename
from os.path import dirname
from os.path import join
from os.path import relpath
from os.path... | Python | 0.00004 | @@ -79,17 +79,39 @@
e_import
-,
+%0Afrom __future__ import
print_f
@@ -213,16 +213,44 @@
rt glob%0A
+from itertools import chain%0A
from os.
|
503ce1a97145fa56f38e5e26b7f18cb2bfd035ef | version bump | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
VERSION = '1.0.1'
LONG_DESC = """\
This is a simple, easily extendible rpc library that provides several useful
tools for creating and publishing web services in python. This package
features on-demand wsdl generation for the published services, a
wsg... | Python | 0.000001 | @@ -76,17 +76,17 @@
= '1.0.
-1
+2
'%0ALONG_D
|
aa96f3254241c03f244bdc3ce064b11078400918 | disable yapf for setup.py | setup.py | setup.py | from setuptools import find_packages, setup
def readme():
with open('README.rst') as f:
return f.read()
setup(
name='icrawler',
version='0.3.0',
description='A mini framework of image crawlers',
long_description=readme(),
keywords='image crawler spider',
packages=find_packages(),... | Python | 0 | @@ -1051,16 +1051,32 @@
.1',
- 'lxml',
+%0A 'lxml',%0A
'Pi
@@ -1081,16 +1081,24 @@
Pillow',
+%0A
'reques
@@ -1156,10 +1156,28 @@
fe=False
-)
+%0A) # yapf: disable
%0A
|
b37d2a376dbcbb8c042934ee6950dafd90ec9c25 | Bump pre-commit from 1.18.3 to 1.19.0 | setup.py | setup.py | # -*- coding: utf-8 -*-
import codecs
import re
import sys
from setuptools import setup
INSTALL_REQUIRES = ["click>=4.0", "click-completion>=0.3.1", "click-didyoumean>=0.0.3"]
if "win32" in str(sys.platform).lower():
# Terminal colors for Windows
INSTALL_REQUIRES.append("colorama>=0.2.4")
EXTRAS_REQUIRE = {... | Python | 0.000008 | @@ -572,11 +572,11 @@
=1.1
-8.3
+9.0
%22,%0A
|
c0301ec4efcf84ec6e644aa48f716edfc570c092 | remove redundant cythoning | setup.py | setup.py | # coding: utf-8
from __future__ import division, print_function
__author__ = "adrn <adrn@astro.columbia.edu>"
# Standard library
import os, sys
from distutils.core import setup
from distutils.extension import Extension
# Third-party
import numpy as np
from Cython.Distutils import build_ext
from Cython.Build import ... | Python | 0.999981 | @@ -792,176 +792,14 @@
pyx%22
-%5D
,%0A
- include_dirs=%5Bnumpy_incl_path%5D)%0Aextensions.append(integrate)%0A%0Adopri = Extension(%22gary.integrate.*%22,%0A %5B%22gary/integrate/*.pyx%22,%0A
@@ -846,16 +846,20 @@
853.h%22,%0A
+
@@ -913,32 +913,36 @@
... |
54baf43c700138518c678cee87c439d3a9335aa8 | support MINGW32 compiler: fix clashing 'hypot' definition; statically link libgcc and libstdc++ | setup.py | setup.py | import distutils
from distutils.core import setup, Extension
from distutils.command.build_ext import build_ext
from distutils.cmd import Command
import platform
# when compiling for Windows Python 2.7, force distutils to use Visual Studio
# 2010 instead of 2008, as the latter doesn't support c++0x
if platform.system(... | Python | 0 | @@ -2509,16 +2509,365 @@
, %221%22))%0A
+ elif self.compiler.compiler_type == %22mingw32%22:%0A # On Windows Python 2.7, pyconfig.h defines %22hypot%22 as %22_hypot%22,%0A # This clashes with GCC's cmath, and causes compilation errors when%0A # building under Min... |
9ebb25310f99b4a129c8efdfbd87d121051d66a6 | Prepare for more development. | setup.py | setup.py | from distutils.core import setup
setup(
name='udiskie',
version='0.3.7',
description='Removable disk automounter for udisks',
author='Byron Clark',
author_email='byron@theclarkfamily.name',
url='http://bitbucket.org/byronclark/udiskie',
license='MIT',
packages=[
'udiskie',
]... | Python | 0 | @@ -75,9 +75,9 @@
0.3.
-7
+8
',%0A
|
35dbaef6d834cd34b3cfb9923fe73440a465b340 | Fix bug in setup.py | setup.py | setup.py | #!/usr/bin/env python2.7
from setuptools import setup
description = '''Adds a command to dynamically get the version from the VCS of choice'''
with open('README.txt', 'r') as f:
long_description = f.read()
setup(
author='Joost Molenaar',
author_email='j.j.molenaar@gmail.com',
url='https://github.com... | Python | 0 | @@ -623,16 +623,23 @@
ols_
-metadata
+version_command
:exe
|
5263f87283a8890aacb2e1d7aaa9266635836723 | fix pip install failure on mac os mojav with anaconda | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import sys
try:
from Cython.Distutils import build_ext
except ImportError:
def build_ext(*args, **kwargs):
from Cython.Distutils import build_ext
return build_ext(*args, **kwargs)
class lazy_extlist(list):
def __init__(se... | Python | 0 | @@ -73,16 +73,17 @@
rt sys%0A%0A
+%0A
try:%0A
@@ -828,16 +828,271 @@
y as np%0A
+ extra_compile_args = %5B%22-O3%22%5D%0A extra_link_args = %5B%5D%0A if sys.platform == %22darwin%22:%0A extra_compile_args.append(%22-mmacosx-version-min=10.9%22)%0A extra_compile_args.append('-stdlib=libc++')... |
1cb5d658cdaebc89ab93e0ce6a926298bb028312 | version 0.52 | setup.py | setup.py | from setuptools import setup, find_packages
with open('requirements.txt') as f:
requirements = f.readlines()
setup(
name='framepy',
packages=find_packages(exclude=('tests',)),
version='0.51',
description='Very simple web application framework with support for AMQP and DI',
author='Michal Korma... | Python | 0.000001 | @@ -199,17 +199,17 @@
ion='0.5
-1
+2
',%0A d
@@ -474,9 +474,9 @@
/0.5
-1
+2
',%0A
|
2022d618fd68894c92df7968d5e3ae4a8436ca88 | add sqlalchemy and keyring to the requirement list of the setup file | setup.py | setup.py | #! /usr/bin/env python
from distutils.core import setup
setup( name='oemof-pg'
, version='0.0.1dev'
, description='The oemof postgis extension'
, package_dir = {'oemof_pg': 'oemof_pg'}
)
| Python | 0 | @@ -57,17 +57,16 @@
%0A%0Asetup(
-
name='oe
@@ -72,23 +72,23 @@
emof-pg'
+,
%0A
-,
version
@@ -98,23 +98,23 @@
.0.1dev'
+,
%0A
-,
descrip
@@ -151,15 +151,15 @@
ion'
+,
%0A
-,
pac
@@ -170,11 +170,9 @@
_dir
- =
+=
%7B'oe
@@ -195,13 +195,94 @@
pg'%7D
+,
%0A
+ install_requires=%5B'sq... |
6da15fd8f95638d919e47fe1150acce5a9401745 | Add six to the requirements | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
import conveyor
install_requires = [
"APScheduler",
"forklift",
"redis",
"xmlrpc2",
]
setup(
name="conveyor",
version=conveyor.__version__,
description="Warehouse and PyPI Synchronization",
long_description=open("READ... | Python | 0.000017 | @@ -147,16 +147,27 @@
redis%22,%0A
+ %22six%22,%0A
%22xml
|
f42904aee050b522b320c32d67c20afeb7021efd | Include the openquake-minimal.jar in the dist folder (DOH) | setup.py | setup.py | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# 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... | Python | 0.000008 | @@ -986,17 +986,16 @@
%25s%22 %25 x)
-)
%0A%0Adist =
@@ -1086,17 +1086,16 @@
%25s%22 %25 x)
-)
%0A
|
a2af58c583397e978f841535580ba4a2bfd6cc0a | Upgrade black in hopes of fixing CI error running black | setup.py | setup.py | # Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | Python | 0 | @@ -1212,13 +1212,12 @@
k==2
-1.12b
+2.3.
0%22,%0A
|
fa667269f789a3bfe64d2da772823ce99116c578 | Fix RTD by making pytables optional in setup.py | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
# Sets the __version__ variable
exec(open('calliope/_version.py').read())
setup(
name='calliope',
version=__version__,
author='Stefan Pfenninger',
author_email='stefan@pfenninger.org',
description='A multi-scale energy systems (MU... | Python | 0 | @@ -1140,16 +1140,130 @@
%0A
+ # Removed tables from required dependencies here because it causes%0A # readthedocs builds to fail%0A #
%22tables
|
07e04b0bb699389eeb04b6c12f54a907c50b1f1c | Update setup.py(change version number, etc) | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='anomaly_detector',
version='1.0.0',
packages=find_packages(exclude=('tests', 'docs')),
include_package_data=True,
test_suite='tests',
install_requires=[
]
)
| Python | 0 | @@ -91,13 +91,101 @@
on='
-1.0.0
+0.0.1',%0A description='Anomaly detection library with Python',%0A author='Hirofumi Tsuruta
',%0A
|
99417bf5d95ad2d4409ba27941d3e79b82b7777b | version 0.0.1.4 | setup.py | setup.py | from distutils.core import setup
setup(
name = 'gitnb',
packages = ['gitnb'],
version = '0.0.1.3',
description = 'Git Tracking for Python Notebooks',
author = 'Brookie Guzder-Williams',
author_email = 'brook.williams@gmail.com',
url = 'https://github.com/brookisme/gitnb',
download_url = 'https://github.... | Python | 0.000002 | @@ -98,9 +98,9 @@
0.1.
-3
+4
',%0A
|
f6f750e2ba83dd6b19b9bd701de467fcc44bdd02 | Update version number to 0.1.6 | setup.py | setup.py | from setuptools import setup
install_requires = [
'oauth2client>=1.3.2',
'pyOpenSSL==0.14',
'simplejson>=2.3.2',
]
packages = ['identitytoolkit',]
setup(
name = 'identity-toolkit-python-client',
packages = packages,
install_requires = install_requires,
license="Apache 2.0",
version = '0.1.5',
des... | Python | 0.000009 | @@ -308,9 +308,9 @@
0.1.
-5
+6
',%0A
|
c209ec1d98a85917c629c0dc259884da30d03f00 | Bump version number | setup.py | setup.py | from setuptools import setup
setup(
name='discord-curious',
version='0.1.0',
packages=['curious', 'curious.http', 'curious.commands', 'curious.dataclasses', 'curious.ext'],
url='https://github.com/SunDwarf/curious',
license='MIT',
author='Laura Dickinson',
author_email='l@veriny.tf',
de... | Python | 0.000002 | @@ -75,17 +75,17 @@
on='0.1.
-0
+1
',%0A p
|
27fbdd6bd0bfdee6275fd9939e7b98f1785338bb | version bump | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages, Extension
from setuptools.command.build_ext import build_ext
import sys
import os
import traceback
import functools
def has_option(name):
try:
sys.argv.remove('--%s' % name)
return True
except ValueError:
pass
# a... | Python | 0.000001 | @@ -3709,17 +3709,17 @@
n='1.5.1
-0
+1
',%0A
|
6242ea8a44e34d5c7dadf6d5c667c1d8170952ef | Update sphinx_rtd_theme | setup.py | setup.py | #!/usr/bin/env python
from codecs import open
from os import path
from setuptools import setup
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
with open(path.join(here, 'gyazo/__about__.py')) as f:
exec(f.read())
packa... | Python | 0.000001 | @@ -581,16 +581,16 @@
%3E=0.
-2.4
+3.0
,%3C0.
-3
+4
',%0A
|
f09eddcc04ebcf74daf968a973d3275feaee3b66 | correct email address | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(name='yamlmd',
version='0.1.4',
description='Read and write to Markdown files with yaml headers',
url='https://github.com/dougmet/yamlmd',
author='Doug Ashton',
author_email='dashton@mango-solutions.com',
lic... | Python | 0.999218 | @@ -279,30 +279,29 @@
l='d
+ouglas.j.
ashton@
+g
ma
-ngo-solutions
+il
.com
|
af2f42fb652aea20d7fbbe7a6355408a98b40dba | Add dry-run to UploadBot | uploadlibrary/UploadBot.py | uploadlibrary/UploadBot.py |
import sys
import re
import pywikibot
import pywikibot.textlib as textlib
import upload
import data_ingestion
from data_ingestion import Photo, DataIngestionBot
class DataIngestionBot(DataIngestionBot):
def _doUpload(self, photo):
duplicates = photo.findDuplicateImages(self.site)
if duplicates:
... | Python | 0 | @@ -1176,16 +1176,561 @@
title%0A%0A
+ def _debug_description(self, photo):%0A title = cleanUpTitle(photo.getTitle(self.titlefmt))%0A description = textlib.glue_template_and_params((self.pagefmt,%0A photo.metadata))%0A print %22= %25s =%22... |
d3edf99aafd2233a13cd3b86bae3628803eb64ff | update pyyaml (#29) | setup.py | setup.py | from setuptools import find_packages, setup
setup(
name='django-stardate',
version='0.1.0.a5',
author=u'Benjamin Turner',
author_email='benturn@gmail.com',
packages=find_packages(),
url='https://github.com/blturner/django-stardate',
download_url='https://github.com/blturner/django-stardate/... | Python | 0 | @@ -54,17 +54,17 @@
name=
-'
+%22
django-s
@@ -66,25 +66,25 @@
ngo-stardate
-'
+%22
,%0A versio
@@ -89,17 +89,17 @@
ion=
-'
+%22
0.1.0.a5
',%0A
@@ -94,17 +94,17 @@
0.1.0.a5
-'
+%22
,%0A au
@@ -109,17 +109,17 @@
author=u
-'
+%22
Benjamin
@@ -125,17 +125,17 @@
n Turner
-'
+%22
,%0A au
@@ -145,17... |
09f3b3d8abacecd84d1ff6fbd65c991f2c0dbfd0 | Version bump | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
version = "1.3.2"
if sys.argv[-1] == 'publish':
try:
import wheel # noqa
except ImportError:
raise ImportError("Fix: pip install ... | Python | 0.000001 | @@ -173,17 +173,17 @@
= %221.3.
-2
+3
%22%0A%0Aif sy
|
d10bf29735da04789b4710519a2d4cc006d9d95e | Bump up version number to 0.7. | setup.py | setup.py | from setuptools import setup, find_packages
long_description = '''
===========================================
tessagon: tessellation / tiling with python
===========================================
Tessellate your favorite 3D surfaces (technically, 2D manifolds) with
triangles, hexagons, or a number of other curated... | Python | 0.000039 | @@ -624,9 +624,9 @@
='0.
-6
+7
',%0A
@@ -1660,9 +1660,9 @@
es='
-~
+%3E
=3.5
|
62388517c5b3c3ff37ebc65d097c76761ca07120 | Remove pytest-runner from install_requires | setup.py | setup.py | #! /usr/bin/env python
import os
from setuptools import setup
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'test_settings')
CLASSIFIERS = [
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Progr... | Python | 0 | @@ -1398,25 +1398,8 @@
.4',
- 'pytest-runner',
'dj
|
6a98b8938d8555a483bd09c124b1129a3d9cc81a | Add Django 1.11 to the setup.py classifiers list | setup.py | setup.py | from __future__ import print_function
import os
import sys
from distutils.util import convert_path
from fnmatch import fnmatchcase
from setuptools import setup, find_packages
version = '0.2.0'
# Provided as an attribute, so you can append to these instead
# of replicating them:
standard_exclude = ('*.py', '*.pyc', '... | Python | 0.000001 | @@ -5028,16 +5028,55 @@
1.10%22,%0A
+ %22Framework :: Django :: 1.11%22,%0A
|
39974144af20ed4c4e2f110e345e75745e38bbc6 | FIX #10 | setup.py | setup.py | from distutils.core import setup
setup(
name = "django-templatetag-sugar",
version = __import__("templatetag_sugar").__version__,
author = "Alex Gaynor",
author_email = "alex.gaynor@gmail.com",
description = "A library to make Django's template tags sweet.",
long_description = open("README")... | Python | 0 | @@ -311,16 +311,20 @@
(%22README
+.rst
%22).read(
|
196f58111987bb42e8bbaf5d3d99d92366d298a2 | fix broken homepage url | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(name='aiohttp-json-rpc',
version='0.2.0',
author='Florian Scherf',
url='https://github.com/pengutronix/aiohttp-json-rpc/tree/doc',
author_email='f.scherf@pengutronix.de',
license='Apache 2.0',
install_... | Python | 0 | @@ -120,17 +120,17 @@
on='0.2.
-0
+1
',%0A
@@ -218,16 +218,8 @@
rpc/
-tree/doc
',%0A
|
5d8774dd28d5b1cff077ed69ccd04a334647169e | Add dependencies for windows packaging | setup.py | setup.py | import platform
import sys
from config import get_version
from jmxfetch import JMX_FETCH_JAR_NAME
try:
from setuptools import setup, find_packages
# required to build the cython extensions
from distutils.extension import Extension #pylint: disable=no-name-in-module
except ImportError:
from ez_setup i... | Python | 0.000001 | @@ -1267,16 +1267,42 @@
==0.1.4'
+,%0A 'pyvmomi==5.5.0'
%0A %5D)%0A
@@ -1897,24 +1897,56 @@
rk_checks',%0A
+ 'checks.libs.vmware.*',%0A
'htt
|
3aabf183a84aeb8201f210fe3ee5e8cac7804297 | update description for setup | setup.py | setup.py | __author__ = 'manu'
import os
from setuptools import setup, find_packages
from oct import __version__
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
setup(
name='oct',
version=__version__,
author='Emmanuel Valette',
author_email='manu.valette@gmail.com',
packages=['oct', 'oct.core', 'oct.m... | Python | 0 | @@ -494,17 +494,17 @@
ription=
-'
+%22
A librar
@@ -550,25 +550,65 @@
nces testing
-'
+, using custom browser for writing tests%22
,%0A url='h
@@ -805,16 +805,24 @@
rmances'
+, 'lxml'
%5D,%0A c
|
ad4a51f79ab51bb64e91bc716758295dd071072d | Upgrade scramp to latest version | setup.py | setup.py | #!/usr/bin/env python
import versioneer
from setuptools import setup
long_description = """\
pg8000
------
pg8000 is a Pure-Python interface to the PostgreSQL database engine. It is \
one of many PostgreSQL interfaces for the Python programming language. pg8000 \
is somewhat distinctive in that it is written entir... | Python | 0 | @@ -1053,17 +1053,17 @@
mp==1.1.
-0
+1
'%5D,%0A
|
943ea720f49c3b15d7fa08c39af3db4697550022 | Update authors | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import find_packages, setup
with open('README.md') as file:
long_description = file.read()
setup(
name='django-qa',
version='0.0.1',
description='Pluggable django app for Q&A',
long_description=long_description,
author='arjunkomath,... | Python | 0 | @@ -322,16 +322,32 @@
cdvv7788
+, sebastian-code
',%0A a
|
f96eaa7bea3536c8843c2059757dabf005a63a42 | Add include_package_data=True to setup.py. | 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 | @@ -2222,16 +2222,49 @@
sts'%5D),%0A
+ include_package_data=True,%0A
sc
|
29518e734b9026c47abb28037e8abeeb4e18a61d | add markov-clustering as a dependency | setup.py | setup.py | #!/usr/bin/env python3
from setuptools import setup, find_packages, Extension
import os
import io
import re
import numpy
def read(*names, **kwargs):
with io.open(
os.path.join(os.path.dirname(__file__), *names),
encoding=kwargs.get("encoding", "utf8")
) as fp:
return fp.read()
def fi... | Python | 0.000001 | @@ -1801,24 +1801,65 @@
k%3E=0.12.2',%0A
+ 'markov-clustering%3E=0.0.3.dev0',%0A
#'ap
|
a26e023272b3b99cfa7578dcaa8570b8e451e03b | switch to pyannote.algorithms 0.8 | setup.py | setup.py | #!/usr/bin/env python
# encoding: utf-8
# The MIT License (MIT)
# Copyright (c) 2015-2018 CNRS
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limita... | Python | 0.000002 | @@ -1541,11 +1541,9 @@
= 0.
-7.3
+8
',%0A
|
5ffa6281781215a165256b6bd57aea25e63b9902 | bump version | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
for cmd in ('egg_info', 'develop'):
import sys
if cmd in sys.argv:
from setuptools import setup
version='0.3'
setup(
name='port-for',
version=version,
author='Mikhail Korobov',
author_email='kmike84@gmail.com',
packages=['por... | Python | 0 | @@ -174,16 +174,18 @@
ion='0.3
+.1
'%0A%0Asetup
|
2d78c50ca67b2a7434bd074b7246f1213567b8af | Version 0.1.1 ready t ship. | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
import os
requirements = open(os.path.join(os.path.dirname(__file__), 'requirements.txt')).read()
test_requirements = open(os.path.join(os.path.dirname(__file__), 'test_requirements.txt')).read()
setup(
name='Flask-Breathalyzer',
version='0.1.... | Python | 0 | @@ -313,17 +313,17 @@
on='0.1.
-0
+1
',%0A l
|
16364ea9a1e7f0c0a79b2c6dbef71733dad89285 | Bump version | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name="cpgintegrate",
version="0.0.1",
packages=find_packages(),
include_package_data=True,
install_requires=[
'requests>=2.10',
'lxml>=3',
'pandas>=0.18.1',
'xlrd',
'walrus',
]
)
| Python | 0 | @@ -85,19 +85,19 @@
sion=%220.
-0.1
+1.0
%22,%0A p
|
a96b2e468f7e2e61ba451e2fedccef21f3047ff2 | Set the root factory | usingnamespace/__init__.py | usingnamespace/__init__.py | import logging
log = logging.getLogger(__name__)
from pyramid.config import Configurator
from pyramid.session import UnencryptedCookieSessionFactoryConfig
from pyramid.authentication import AuthTktAuthenticationPolicy
from pyramid.authorization import ACLAuthorizationPolicy
from sqlalchemy import engine_from_config
f... | Python | 0.000023 | @@ -757,16 +757,52 @@
settings
+, root_factory='.traversal.MainRoot'
)%0A%0A d
|
57587e536edd06682abcad1b2256358df3f874cc | Fix python3 compability for release check. Make sure we can run release check on shallow clone | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import re
from setuptools import setup, find_packages, Command
readme = open('README.rst').read()
history = open('HISTORY.rst').read().replace('.. :changelog:', '')
def read_reqs(name):
with open(os.path.join(os.path.dirname(__file__), name)) as f:
... | Python | 0 | @@ -1309,17 +1309,54 @@
k_output
-%0A
+, CalledProcessError%0A try:%0A
@@ -1402,32 +1402,103 @@
'HEAD'%5D).strip()
+.decode('utf8')%0A except CalledProcessError:%0A tag = ''
%0A version
@@ -1723,16 +1723,31 @@
.strip()
+.decode('utf8')
%0A
|
f83dc5e92969e1585515329300436b03ff465325 | Make brightness a parameter | tree.py | tree.py | from blinkstick import blinkstick
from time import sleep
from random import randint
from datetime import datetime, time, timedelta
import requests
import logging
RED = (255, 0, 0)
WHITE = (255, 255, 255)
STANDUP_TIME = time(11, 45)
def random_colours(max_rgb):
while True:
yield randint(0, max_rgb), rand... | Python | 0.000804 | @@ -2081,16 +2081,31 @@
count=10
+, brightness=20
):%0A
@@ -2209,18 +2209,26 @@
colours(
-20
+brightness
)) for _
|
2ba600bced29cc029707f3817e7bc7e0aefb095d | Version 1.7.2. | setup.py | setup.py | #-*-Mode:python;coding:utf-8;tab-width:4;c-basic-offset:4;indent-tabs-mode:()-*-
# ex: set ft=python fenc=utf-8 sts=4 ts=4 sw=4 et:
import setuptools
from distutils.core import setup, Command, Extension
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options... | Python | 0 | @@ -1148,17 +1148,17 @@
on='1.7.
-1
+2
',%0A d
|
ebdaac2211b3fff048b421b07ddfd20a0b162683 | add description | setup.py | setup.py | import os
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
with open(os.path.join(here, 'CHANGES.txt')) as f:
CHANGES = f.read()
install_requires = [
'babel',
'pyramid',
'pytz',
]
tests_require = in... | Python | 0.000004 | @@ -438,30 +438,46 @@
iption='
-djed.formatter
+Formatting helpers for pyramid
',%0A l
|
71a8ba9fef93a9918f71852d2dbb7a023583d017 | Fix setup.py | setup.py | setup.py | from setuptools import setup
setup(
name='python-ev3dev',
version='0.0.1',
description='Python language bindings for ev3dev',
author='Ralph Hempel',
license='MIT',
url='https://github.com/rhempel/ev3dev-lang-python',
include_package_data=True,
packages=['ev3dev']
)
| Python | 0.000484 | @@ -271,21 +271,23 @@
e,%0A p
-ackag
+y_modul
es=%5B'ev3
|
14adcaa2f7b01695ca7a975cc4c0de8602f25cc6 | Bump version | setup.py | setup.py | from setuptools import setup
with open("README.md", "r") as fh:
long_description = fh.read()
config = {
'name': 'timew-report',
'version': '1.3.0',
'description': 'An interface for TimeWarrior report data',
'long_description': long_description,
'long_description_content_type': 'text/markdown',... | Python | 0 | @@ -155,9 +155,9 @@
1.3.
-0
+1
',%0A
|
aaa094dd48e99d36a9dd9db513063b11cb86f92a | Bump version to 1.4 | setup.py | setup.py | import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
setup(
name='django-postgres-extra',
version='1.3',
packages=find_packages(),
include_package_data=True,
license='MIT License',
descript... | Python | 0 | @@ -209,17 +209,17 @@
sion='1.
-3
+4
',%0A p
|
3c411b1bf016ce1b216ab7ad547c85862ab2519b | Add brackets around print() for python 3 compatibility | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import re
import os
import sys
name = 'rest_condition'
package = 'rest_condition'
description = 'Complex permissions flow for django-rest-framework'
url = 'https://github.com/caxap/rest_condition'
author = 'Maxim Kamenkov'
author_email = 'mka... | Python | 0.000009 | @@ -1988,17 +1988,17 @@
print
-
+(
%22You pro
@@ -2037,16 +2037,17 @@
on now:%22
+)
%0A pri
@@ -2044,25 +2044,25 @@
%22)%0A print
-
+(
%22 git tag -
@@ -2107,16 +2107,17 @@
%22 %25 args
+)
%0A pri
@@ -2118,17 +2118,17 @@
print
-
+(
%22 git p
@@ -2138,16 +2138,17 @@
--tags%22
+)
%0A s... |
17b070cac7f0886ea587c1ed459068071198af0a | Add pytest-mock to setup.py | setup.py | setup.py | #!/usr/bin/env python
import os
import sys
from setuptools import setup, find_packages
from will import __name__ as PACKAGE_NAME
from will import VERSION
DESCRIPTION = "A friendly python hipchat bot"
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
REQS_DIR = os.path.join(ROOT_DIR, "will", "req... | Python | 0.000001 | @@ -1126,16 +1126,28 @@
ire = %5B%0A
+ 'mock',%0A
'pyt
@@ -1192,24 +1192,31 @@
nner',%0A '
+pytest-
mock',%0A '
|
c5e40282485720c13c32efae49d3b2f25edcb970 | Work on relative file names | tests/base/test_tensor_io.py | tests/base/test_tensor_io.py | from __future__ import print_function
import numpy as np
import unittest
import os
import discretize
try:
import vtk
except ImportError:
has_vtk = False
else:
has_vtk = True
class TestTensorMeshIO(unittest.TestCase):
def setUp(self):
h = np.ones(16)
mesh = discretize.TensorMesh([h, 2... | Python | 0.000001 | @@ -1308,32 +1308,112 @@
ubc_mesh(self):%0A
+ fname = os.path.join(os.path.split(__file__)%5B0%5D, 'ubc_tensor_mesh.msh')%0A
mesh = d
@@ -1441,37 +1441,21 @@
readUBC(
-'ubc_tensor_mesh.msh'
+fname
)%0A
|
f7060d983022438008a1de7f865d478bf266651c | add version classifiers | setup.py | setup.py | #!/usr/bin/env python3
from setuptools import setup
setup(
name='jenkins-job-manager',
version='0.1.0',
description='Generate job configuration files for Jenkins.',
url='https://github.com/FunTimeCoding/jenkins-job-manager',
author='Alexander Reitzel',
author_email='funtimecoding@gmail.com',
... | Python | 0.000001 | @@ -540,16 +540,163 @@
cense',%0A
+ 'Programming Language :: Python :: 3.4',%0A 'Programming Language :: Python :: 3.5',%0A 'Programming Language :: Python :: 3.6',%0A
%5D,%0A
|
7bab32ef89d760a8cf4aeb2700725ea88e3fc31c | Add further tests for class defining __hash__. | tests/basics/builtin_hash.py | tests/basics/builtin_hash.py | # test builtin hash function
print(hash(False))
print(hash(True))
print({():1}) # hash tuple
print({1 << 66:1}) # hash big int
print(hash in {hash:1}) # hash function
try:
hash([])
except TypeError:
print("TypeError")
class A:
def __hash__(self):
return 123
def __repr__(self):
return ... | Python | 0 | @@ -731,28 +731,296 @@
ror:%0A print(%22TypeError%22)%0A
+%0A# __hash__ returning a bool should be converted to an int%0Aclass E:%0A def __hash__(self):%0A return True%0Aprint(hash(E()))%0A%0A# __hash__ returning a large number should be truncated%0Aclass F:%0A def __hash__(self):%0A return 1 %3... |
fab3072a32a2ee5f8317f7fc8301c470525ec6d8 | update setup.py info | setup.py | setup.py | from __future__ import with_statement
from setuptools import setup
def get_version():
with open('itunesiap/version.txt') as f:
return f.read().strip()
def get_readme():
try:
with open('README.rst') as f:
return f.read().strip()
except IOError:
return ''
setup(
... | Python | 0 | @@ -319,16 +319,20 @@
name='
+tsl-
itunes-i
@@ -332,24 +332,24 @@
tunes-iap',%0A
-
version=
@@ -474,20 +474,18 @@
or='
-Jeong YunWon
+Ryan Pineo
',%0A
@@ -505,32 +505,17 @@
il='
-itunesiap@youknowone.org
+ry@tsl.io
',%0A
@@ -545,18 +545,19 @@
com/
-youknowone
+silverlogic
/itu
@@ -716,16 +716,20 @@
e... |
1ae4aa4dd7fd77f323792fa6c7941dc525f93a15 | Update core dependency to google-cloud-core >= 0.23.0, < 0.24dev. (#3028) | setup.py | setup.py | # Copyright 2016 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | Python | 0 | @@ -1762,19 +1762,19 @@
0.2
-2.1
+3.0
, %3C 0.2
-3
+4
dev'
|
108554d8366611658870e038b05049f4eb273d88 | Bump version to 3.3m1 | setup.py | setup.py | ########
# Copyright (c) 2013 GigaSpaces Technologies Ltd. All rights reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless... | Python | 0 | @@ -722,17 +722,19 @@
sion='3.
-2
+3a1
',%0A a
|
d4b8a64dabe31d09b9e53bb42bae3fcd737d2984 | Set license to 'MIT' | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
short_description = 'Robot Framework wrapper for faker, a fake test data generator'
try:
description = open('README.md').read()
except IOError:
description = short_description
try:
license = open('LICENSE').read()
except IOError:
license = 'MIT Licen... | Python | 0.000008 | @@ -1362,23 +1362,21 @@
license=
-license
+'MIT'
,%0A cl
|
1a2124a34a1b5b3fb8053c6fc254102acecdc942 | Version 0.3 | setup.py | setup.py | #! /usr/bin/env python
# Copyright 2014-2015 Peter Williams <peter@newton.cx>
# Licensed under the GNU General Public License version 3 or higher
# I don't use the ez_setup module because it causes us to automatically build
# and install a new setuptools module, which I'm not interested in doing.
from setuptools impo... | Python | 0.000001 | @@ -40,9 +40,9 @@
-201
-5
+7
Pet
@@ -375,12 +375,9 @@
'0.
-2.99
+3
',%0A%0A
@@ -834,9 +834,9 @@
= 0.
-6
+8
.0',
@@ -858,9 +858,10 @@
= 1.
-9
+10
',%0A
|
05c767e689002dd79e306b9deacad42aeb9c436e | Allow setup.py to be used anywhere | setup.py | setup.py | from setuptools import setup
from Cython.Build import cythonize
import numpy as np
__version__ = None
exec(open('volpy/version.py').read())
setup(
name='volpy',
version=__version__,
ext_modules=cythonize('volpy/*.pyx'),
include_dirs=[np.get_include()],
packages=['volpy'],
include_package_data... | Python | 0 | @@ -75,16 +75,63 @@
py as np
+%0Aimport os%0A%0Aos.chdir(os.path.dirname(__file__))
%0A%0A__vers
|
3c63a9c970663aeda2ad46ddf5a8ef6bacda824d | Version 1.0.0 of nexus-yplan on PyPI | setup.py | setup.py | #!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='nexus',
version='0.3.1+yplan2',
author='Disqus',
author_email='opensource@disqus.com... | Python | 0 | @@ -218,24 +218,30 @@
name='nexus
+-yplan
',%0A versi
@@ -248,20 +248,13 @@
on='
-0.3.1+yplan2
+1.0.0
',%0A
@@ -315,16 +315,82 @@
s.com',%0A
+ maintainer='YPlan',%0A maintainer_email='adam@yplanapp.com',%0A
url=
@@ -409,22 +409,21 @@
hub.com/
-disqus
+yplan
/nexus',
|
e34b9a4d2ba732563c150985f1a6a2e70285b24e | Add entry point pysswords script to setup | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
__version__ = "0.0.7"
requirements = [pkg.strip() for pkg in open('requirements.txt').readlines()]
with open("README.rst") as f:
long_description = f.read() + '\n'
setup(
name='pysswords',
version=__version__,
license='License :: OSI Approved :: M... | Python | 0 | @@ -565,39 +565,8 @@
s',%0A
- scripts=%5B%22bin/pysswords%22%5D,%0A
@@ -648,16 +648,132 @@
ords'%5D,%0A
+ entry_points=%7B%0A 'console_scripts': %5B%0A 'pysswords = pysswords.__main__:main',%0A %5D%0A %7D,%0A
inst
|
957a8d4a1cecc1be1a804f3ef284d4c8eca4e18a | Bump version to 1.0 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='panoptes_client',
url='https://github.com/zooniverse/panoptes-python-client',
author='Adam McMaster',
author_email='adam@zooniverse.org',
version='0.10',
packages=find_packages(),
include_package_data=True,
install_requires=[
... | Python | 0 | @@ -218,19 +218,18 @@
ersion='
-0.
1
+.
0',%0A
|
0b24f8048fc7bf5a3fad1d0cf80c71ceaf29a740 | version '5.66' -> '5.69' | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
name='py-vkontakte',
version='5.66.0',
packages=['vk'],
url='https://github.com/sgaynetdinov/py-vkontakte',
license='MIT License',
author='Sergey Gaynetdinov',
author_email='s.gaynetdinov@gmail.com',
description='Python API wrapp... | Python | 0.000002 | @@ -93,17 +93,17 @@
ion='5.6
-6
+9
.0',%0A
|
a291fda73b8a636fbc12578d4d23674e10aa6a32 | Remove unnecessary "import os" line | util.py | util.py | import decimal
import os
from functools import lru_cache
from itertools import cycle, tee
from random import SystemRandom
from sha1.sha1 import Sha1Hash
try:
# Python 3.5
from math import gcd
except ImportError:
# older Python versions
from fractions import gcd
random = SystemRandom()
# prime number... | Python | 0.000516 | @@ -11,18 +11,8 @@
imal
-%0Aimport os
%0A%0Afr
|
87ba6c0368fe179c8c838466948234f2a5254395 | Fix loose deps | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
import setuptools
except ImportError:
import distutils.core as setuptools
import os
import re
import sys
ver = sys.version_info
# XXX as ugly as this looks, namespaces break terribly otherwise
filename = './docker_registry/server/__init__.py'
exec(compile(o... | Python | 0 | @@ -565,15 +565,15 @@
lzma
-%3E
+=
=0.0.
-2
+3
,!=0
@@ -691,17 +691,17 @@
argparse
-%3E
+=
=1.2.1')
@@ -742,17 +742,17 @@
mportlib
-%3E
+=
=1.0.3')
@@ -970,32 +970,35 @@
-9%5D+)%5B.%5D(%5B0-9%5D+)
+(?:
%5B.%5D(%5B0-9%5D+)', it
@@ -992,16 +992,22 @@
(%5B0-9%5D+)
+)?(.*)
', item)
@@ -1105,32 +1105,58 @@
sion ... |
872325589f6ab83f27170eaef01021f0b5b5359d | When run under nose, generated name is not necessarily _STD_ANON_1 | tests/drivers/test-facets.py | tests/drivers/test-facets.py | import pyxb.binding.generate
import pyxb.utils.domutils
from xml.dom import Node
import os.path
schema_path = '%s/../schemas/test-facets.xsd' % (os.path.dirname(__file__),)
code = pyxb.binding.generate.GeneratePython(schema_file=schema_path)
rv = compile(code, 'test', 'exec')
eval(rv)
from pyxb.exceptions_ import *
... | Python | 0.999324 | @@ -586,36 +586,130 @@
-self.assertEqual(_STD_ANON_1
+for (k,v) in globals().items():%0A if k.startswith('_STD_ANON'):%0A break%0A self.assertEqual(v
, in
@@ -769,27 +769,17 @@
eption,
-_STD_ANON_1
+v
, -52)%0A
@@ -818,19 +818,9 @@
on,
-_STD_ANON_1
+v
, 10
|
1ce46f8afa0a59447fa2d66e171d8a35411cc897 | version bump | setup.py | setup.py | #!/usr/bin/env python3
from distutils.core import setup
from setuptools import find_packages
import os
import sys
def get_long_description():
path = os.path.join(os.path.dirname(__file__), 'README.md')
with open(path) as f:
return f.read()
requirements = [
'aiodns>=1.1.1,<=2.0',
'idna>=2.9,<... | Python | 0.000001 | @@ -364,17 +364,17 @@
on='1.0.
-3
+4
',%0A d
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.