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 |
|---|---|---|---|---|---|---|---|
2e43eb089dee46e4fab229a49429d231b23396ed | update the metadata | setup.py | setup.py | #!/usr/bin/env python
import os, os.path
from distutils.core import setup, Extension
import distutils.msvccompiler
source_files = ["Engine.cpp", "Wrapper.cpp", "PyV8.cpp"]
macros = [("BOOST_PYTHON_STATIC_LIB", None)]
third_party_libraries = ["python", "boost", "v8"]
include_dirs = os.environ["INCLUDE"].spl... | Python | 0.999993 | @@ -1127,195 +1127,1177 @@
-author='Flier Lu',%0D%0A author_email='flier.lu@gmail.com',%0D%0A url='http://code.google.com/p/pyv8/',%0D%0A license=%22Apache 2.0%22,%0D%0A py_modules=%5B'PyV8'%5D,%0D%0A ext_modules=%5Bpyv8
+long_description=%22PyV8? is a python wrapper for Google V8 engine,... |
e6fa2ba2c7298cf2d3482961d76119c928fb2ed0 | add example | setup.py | setup.py | # Copyright (C) 2015 Bitquant Research Laboratories (Asia) Limited
# Released under the Simplified BSD License
from setuptools import (
setup,
find_packages,
)
setup(
name="algobroker",
version = "0.0.1",
author="Joseph C Wang",
author_email='joequant@gmail.com',
url="https://github.co... | Python | 0.000002 | @@ -509,16 +509,82 @@
ages(),%0A
+ package_data = %7B'algobroker': %5B'algobroker/keys/*.example'%5D%7D,%0A
setu
@@ -667,34 +667,8 @@
ivo'
-,%0A 'twilio'
%5D,%0A
|
78674a31aca536309dea38aeb6ac1271910248bb | Bump up version number | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
with open('README.md') as f:
readme = f.read()
with open('LICENSE') as f:
license = f.read()
setup(
name='apush',
version='0.1.0',
description='A simple Apple push notification service provider',
long_description=readme,
... | Python | 0.000011 | @@ -210,11 +210,11 @@
='0.
-1.0
+2.1
',%0A
|
8cd82d462132e0a5ac74bd540c6f1f092af73056 | Bump version | setup.py | setup.py | # encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <gogogo.vm@gmail.com>
"""
from __future__ import unicode_literals
import io
import os.path
import setuptools
import sys
MISC_DIR = "misc"
REQUIREMENT_DIR = "requirements"
with io.open("README.rst", encoding="utf8") as f:
long_description = f.read()
with ... | Python | 0 | @@ -960,11 +960,11 @@
%220.1
-5.2
+6.0
%22,%0A
|
7f7e4a73c9b0dfe395ed71fb19f6fa76186146da | Use system default python interpreter in setup.py | setup.py | setup.py | #!/usr/bin/env python2
from distutils.core import setup
versionfile = open('VERSION', 'r')
ver = versionfile.read().strip()
versionfile.close()
setup(name='SCoT',
version=ver,
description='Source Connectivity Toolbox',
author='Martin Billinger',
author_email='martin.billinger@tugraz.at',
... | Python | 0.000001 | @@ -14,17 +14,16 @@
v python
-2
%0A%0Afrom d
|
3edb02b36a85712e896e785c9205f53258a48428 | Update setup.py | setup.py | setup.py | import os.path
import setuptools
import sys
REQUIREMENT_DIR = "requirements"
needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv)
pytest_runner = ["pytest-runner"] if needs_pytest else []
with open("README.rst") as fp:
long_description = fp.read()
with open(os.path.join("docs", "pages", "intro... | Python | 0.000001 | @@ -706,11 +706,11 @@
=%220.
-1.1
+2.0
%22,%0A
@@ -1045,23 +1045,16 @@
er%22,
- %22CSV%22,
%0A
%22Ex
@@ -1049,16 +1049,23 @@
%0A
+ %22CSV%22,
%22Excel%22
@@ -1073,16 +1073,28 @@
%22HTML%22,
+ %22Markdown%22,
%22MediaW
|
052ed182ec5171f9a36d1364722883ed70c28e48 | Update descr. | setup.py | setup.py | #! /usr/bin/env python
# Last Change: Sun Sep 14 05:00 PM 2008 J
# Copyright (C) 2008 Cournapeau David <cournape@gmail.com>
descr = """Talkbox, to make your numpy environment speech aware !
This is set of python modules for speech/signal processing. The goal of this
toolbox is to be a sandbox for features which ma... | Python | 0 | @@ -189,19 +189,22 @@
are !%0A%0AT
-his
+alkbox
is set
@@ -353,50 +353,63 @@
nt.
-I want to implement the following features
+The following features are planned before a 1.0 release
:%0A%0A
@@ -568,28 +568,63 @@
ram)
- will be implemented
+%0A * Fourier-like transforms (DCT, DST, MDCT, etc...)
%0A
@@ -7... |
ffd9768ce16a3107b5c961fc1c806805ca341433 | move fmtstr dependency to extras_require | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import platform
from distutils.command.build import build
from bpython import __version__, package_dir
try:
from setuptools import setup
from setuptools.command.install import install as _install
using_setuptools = True
except ImportError:
fro... | Python | 0 | @@ -4981,26 +4981,66 @@
ygments'
-,%0A
+%0A %5D,%0A extras_require = %7B%0A 'scroll': %5B
'fmtstr%3E
@@ -5046,22 +5046,23 @@
%3E=0.0.4'
+%5D
%0A
-%5D
+%7D
,%0A te
@@ -5560,24 +5560,33 @@
.scroll:main
+ %5Bscroll%5D
',%0A %5D
|
bffebebd86d09f5924461959401ef3698b4e47d5 | Create version 0.3.23 | setup.py | setup.py | from setuptools import setup
setup(name='DukeDSClient',
version='0.3.22',
description='Command line tool(ddsclient) to upload/manage projects on the duke-data-service.',
url='https://github.com/Duke-GCB/DukeDSClient',
keywords='duke dds dukedataservice',
author='John Bradley',
... | Python | 0 | @@ -73,17 +73,17 @@
n='0.3.2
-2
+3
',%0A
|
36984a3e951e5baed0041851901aa97b359ef840 | add a comma | setup.py | setup.py | #!/usr/bin/env python
from __future__ import print_function
"""discretize
Discretization tools for finite volume and inverse problems.
"""
import os
import sys
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OS... | Python | 0.999987 | @@ -2192,16 +2192,17 @@
ut Numpy
+,
for exa
|
85950c20a13f34bb4a52ac7fa19ffaac8a1c7453 | Drop 2 support. | setup.py | setup.py | # vim: set et nosi ai ts=4 sts=4 sw=4:
# -*- coding: utf-8 -*-
import os
from setuptools import setup
def read_local_file(filename):
with open(os.path.join(os.path.dirname(__file__), filename)) as f:
return f.read().strip()
README = read_local_file('README.md')
VERSION = __import__('simple').__version_... | Python | 0 | @@ -876,23 +876,8 @@
s=%5B%0A
- 'six',%0A
@@ -1190,104 +1190,8 @@
n',%0A
- 'Programming Language :: Python :: 2',%0A 'Programming Language :: Python :: 2.7',%0A
|
250970a54bc04cde46685692ec71d164ed17a484 | Update to buildbot 2.4.0 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='autobuilder',
version='2.1.0',
packages=find_packages(),
license='MIT',
author='Matt Madison',
author_email='matt@madison.systems',
entry_points={
'console_scripts': [
'store-artifacts = autobuilder.scripts.store_a... | Python | 0 | @@ -88,9 +88,9 @@
='2.
-1
+2
.0',
@@ -482,25 +482,25 @@
bot%5Btls%5D%3E=2.
-2
+4
.0',%0A
@@ -530,25 +530,25 @@
t-worker%3E=2.
-2
+4
.0',%0A
@@ -575,25 +575,25 @@
dbot-www%3E=2.
-2
+4
.0',%0A
@@ -625,33 +625,33 @@
console-view%3E=2.
-2
+4
.0',%0A
@@ -680,25 +680,25 @@
rid-view%... |
33453f6ffead26dfddb50336a930b000d01b8795 | set correct version number | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf8 -*-
__version__ = "$Revision$ $Date$"
__author__ = "Guillaume Bour <guillaume@bour.cc>"
__license__ = """
Copyright (C) 2010-2011, Guillaume Bour <guillaume@bour.cc>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero Ge... | Python | 0.000005 | @@ -3952,19 +3952,17 @@
= '
-0.1
+3
.0',%0A%09de
|
ec1afb1d57ea4c674475c9510de1e1964372043b | Add pripnglsch to setup.py | setup.py | setup.py | # PyPNG setup.py
# This is the setup.py script used by distutils.
# You can install the png module into your Python distribution with:
# python setup.py install
# You can also do other standard distutil type things, but you can refer
# to the distutil documentation for that.
# This script is also imported as a module... | Python | 0 | @@ -1336,24 +1336,51 @@
ipamtopng%22,%0A
+ %22code/pripnglsch%22,%0A
%22cod
|
61c42e177f1a6ca9a74bdda2da9ae0dcac06e74b | fix doc build broken by Sphinx 5 | setup.py | setup.py | import pathlib
from setuptools import setup, find_packages
setup(
name='graphviz',
version='0.20.1.dev0',
author='Sebastian Bank',
author_email='sebastian.bank@uni-leipzig.de',
description='Simple Python interface for Graphviz',
keywords='graph visualization dot render',
license='MIT',
... | Python | 0 | @@ -1027,16 +1027,19 @@
phinx%3E=4
+,%3C5
', 'sphi
|
bb3d855d7335a456b0a15323e49aa0b40b04c38c | Bump the version number. | setup.py | setup.py | from setuptools import setup
setup(
name = 'pyTrivialCache',
version = '0.2.0',
description = "The poor man's API for manipulating a file system cache.",
packages = [ 'pyTrivialCache' ],
author = 'Roberto Reale',
author_email = 'rober.reale@gmail.com',
url = 'https://github.com/robertoreale... | Python | 0.000002 | @@ -80,9 +80,9 @@
'0.
-2
+3
.0',
|
8d14ced65919fa6f94b041c79ae60439db4e243f | Add joblib to install_requires | setup.py | setup.py | from setuptools import setup
def readme():
with open("README.rst") as readme_file:
return readme_file.read()
configuration = {
"name": "pynndescent",
"version": "0.3.0",
"description": "Nearest Neighbor Descent",
"long_description": readme(),
"classifiers": [
"Development Sta... | Python | 0 | @@ -1340,16 +1340,34 @@
%3E= 0.39%22
+, %22joblib %3E= 0.11%22
%5D,%0A %22
|
f225727086739e5bb7a2baa057f828ca9b02be58 | Bump Fluent Contents required version to 1.2+ | setup.py | setup.py | from __future__ import print_function
import datetime
import os
import setuptools
# Make `pip install -e .` much faster.
# See: https://bitbucket.org/pypa/setuptools/pull-requests/140/big-performance-fix-for-find_packages-by/diff#comment-18174057
def find_packages(*paths):
packages = []
for path in paths or ... | Python | 0 | @@ -1719,47 +1719,118 @@
%3E=1.
-1.9
+2
', #
-For JS compatibility, see #138
+1.2+ has fix for placeholders in admin: https://github.com/django-fluent/django-fluent-contents/pull/89
%0A
|
047215a3e07e7cebf78e409602dd57a2709f8923 | Update broken link in PyPi (Homepage) | setup.py | setup.py |
import sys
from setuptools import setup, find_packages
from cement.utils import version
VERSION = version.get_version()
f = open('README.md', 'r')
LONG = f.read()
f.close()
setup(name='cement',
version=VERSION,
description='CLI Framework for Python',
long_description=LONG,
long_description_content_t... | Python | 0 | @@ -499,16 +499,17 @@
rl='http
+s
://built
@@ -521,11 +521,11 @@
ent.
-org
+com
',%0A
|
f87bccbfda11d2c2d1a2ddb6611c1209e29289d9 | revert preventing normalization (#174) | setup.py | setup.py | # Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, s... | Python | 0.000001 | @@ -612,662 +612,8 @@
ls%0A%0A
-# Disable version normalization performed by setuptools.setup()%0A# Including this workaround for Python2.7 support%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 pac... |
ae279376122772dc189d744caa799c3a0916b38b | Fix setup.py | 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
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
readme = open('README.rst').read()
history = open('HISTORY.rst... | Python | 0.000001 | @@ -273,19 +273,18 @@
'README.
-rst
+md
').read(
|
761c6d6331b8031b957d772d203dcba2575eb908 | Fix readthedocs URLs in the long description. | setup.py | setup.py | # Copyright 2013 Mark Dickinson
#
# 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.000019 | @@ -1021,23 +1021,23 @@
ription(
-version
+release
):%0A w
@@ -1220,16 +1220,48 @@
master.%0A
+ tag = 'v%7B%7D'.format(release)%0A
cont
@@ -1365,28 +1365,14 @@
ocs.
+i
o
-rg
/en/
-maintenance-v
%7B%7D'.
@@ -1378,23 +1378,19 @@
.format(
-version
+tag
),%0A )
@@ -1762,23 +1762,23 @@
n_info%5B'
-ve... |
36bb5f553f0488b8eba7c0b70c7a35ffccb47dbb | Add Easy-Deploy / Easy-Publish | setup.py | setup.py | """
The setup package to install TensorPy dependencies.
*> This does NOT include TensorFlow installation.
*> To install TensorFlow, use "./install.sh"
"""
from setuptools import setup, find_packages # noqa
from os import path
this_directory = path.abspath(path.dirname(__file__))
long_description = None
try:
wit... | Python | 0 | @@ -205,27 +205,28 @@
oqa%0A
-from os
+import os%0A
import
-path
+sys
%0A%0A%0At
@@ -241,16 +241,19 @@
ctory =
+os.
path.abs
@@ -257,16 +257,19 @@
abspath(
+os.
path.dir
@@ -327,16 +327,19 @@
th open(
+os.
path.joi
@@ -519,16 +519,1444 @@
Flow!'%0A%0A
+if sys.argv%5B-1%5D == 'publish':%0A reply = None%0... |
79343a79ddba721f4624f881689c66aeb25c5415 | bump version for release | setup.py | setup.py | import os
from setuptools import setup, Extension, find_packages
import pkg_resources # make sure FastImage is importable
import motmot.FastImage.FastImage as FastImage
major,minor,build = FastImage.get_IPP_version()
import motmot.FastImage.util as FastImage_util
# build with same IPP as FastImage
vals = FastImage_ut... | Python | 0 | @@ -2302,17 +2302,17 @@
='0.5.8.
-1
+2
',%0A
|
41f1fa3e04929cfda9df52f6f80eba5fed2150bb | Fix metadata | setup.py | setup.py | import sys
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if 'sdist' in sys.argv:
os.system('./admin/makedoc')
version = '3.0.0-alpha'
setup(
name='python-openid',
version=version,
description='OpenID support for servers and consumers.',
... | Python | 0.033154 | @@ -698,21 +698,23 @@
com/
-openid
+necaris
/python
+3
-ope
|
1c6c9895b0ce033276925c87bf8635438eb2fad6 | Address some requirements problems on installing with pip | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function
from builtins import next
from builtins import filter
from future import standard_library
standard_library.install_aliases()
import os
from glob import glob
from setuptools import setup
from distutils.command import build as build_modu... | Python | 0 | @@ -168,16 +168,17 @@
library%0A
+%0A
standard
@@ -3323,16 +3323,30 @@
'pyfftw'
+, 'matplotlib'
%5D%0A%0A%0Asetu
@@ -4227,21 +4227,32 @@
= %5B'
-pytest-runner
+future', 'numpy', 'scipy
'%5D,%0A
@@ -4275,16 +4275,33 @@
e = %5B
+'pytest-runner',
'pytest'
|
52ee1ff44b51c7f6a10697354031a326a825abcc | fix for dependencies that were not specified in the module setup | setup.py | setup.py | from setuptools import setup, find_packages
DESCRIPTION = "A MongoDB object mapper inspired by Django models and SQLAlchemy's pythonic DSL."
with open('README') as f:
LONG_DESCRIPTION = f.read()
VERSION = '0.1.2'
CLASSIFIERS = [
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License'... | Python | 0 | @@ -836,16 +836,58 @@
o%3C3.7',%0A
+ 'pyes',%0A 'python-dateutil'%0A
%5D,%0A
|
606ed4f5f984c4e099442ae3db017c54b330bfd8 | update videos.html | setup.py | setup.py | #!/usr/bin/python
# -*- coding: utf-8 -*-
"""
Created on Sun May 17 07:14:20 2015
@author: ddboline
"""
from __future__ import (absolute_import, division, print_function)
from setuptools import setup
setup(
name='roku_app',
version='0.0.3.6',
author='Daniel Boline',
author_email='ddboline@gmail.com',... | Python | 0 | @@ -247,9 +247,9 @@
0.3.
-6
+7
',%0A
|
9bc7aad0189ac825fe3e81771d9b9e35e61ce6e8 | Bump version to 0.0.7 in setup.py | setup.py | setup.py | # Copyright 2017 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,... | Python | 0 | @@ -1046,17 +1046,17 @@
on='0.0.
-6
+7
',%0A%0A
|
cab06659f59d11ceb968b6afa685665ff0ab0c88 | Add section before setting it | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from ooni import __version__, __author__
import os
import sys
import tempfile
from ConfigParser import SafeConfigParser
from os.path import join as pj
from setuptools import setup
from setuptools.command.install import install as _st_install
class install(_st_install):
... | Python | 0 | @@ -1529,16 +1529,60 @@
arser()%0A
+ settings.add_section(%22directories%22)%0A
|
ca7df2103a2e53f0b401c7004a2a5e942bd3e7e1 | Remove PIL and docutils from requirements, easy_thumbnails requires it anyway | setup.py | setup.py | from distutils.core import setup
from setuptools import setup, find_packages
setup(name = "django-image-cropping",
version = "0.3.0",
description = "A reusable app for cropping images easily and non-destructively in Django",
long_description=open('README.rst').read(),
author = "jonasvp",
author_ema... | Python | 0 | @@ -700,43 +700,8 @@
= %5B%0A
- 'docutils',%0A 'PIL',%0A
|
d497942fedb3096b291f887b70ca231c203e6b85 | Bump version. | setup.py | setup.py | """Setup for Flask Jsondash."""
from glob import glob
import os
from setuptools import setup, find_packages
SRCDIR = '.'
folder = os.path.abspath(os.path.dirname(__file__))
template_start = '{}/flask_jsondash/templates'.format(folder)
static_start = '{}/flask_jsondash/static'.format(folder)
def get_all_files(patter... | Python | 0 | @@ -1602,17 +1602,17 @@
sion='3.
-3
+4
.1',%0A
|
5c1397fd563f30741f71f07433722dfe3f5a322d | Update pypi.python.org URL to pypi.org (#21) | setup.py | setup.py | # -*- coding: utf-8 -*-
import sys
from setuptools import setup, find_packages
from codecs import open
setup(
name='email_validator',
version='1.0.3',
description='A robust email syntax and deliverability validation library for Python 2.x/3.x.',
long_description=open("README.rst", encoding='utf-8').read(),
url=... | Python | 0 | @@ -489,15 +489,8 @@
ypi.
-python.
org/
|
acdeb233acd9d3f5e1b5e7e5c9df6030fdb0cd85 | Fix bugs in setup.py. | setup.py | setup.py | from distutils.core import setup
setup(
name='django-analyze-sesions',
version='0.1',
author='Kevan Carstensen',
author_email='kevan@isnotajoke.com',
packages=['analyze_sessions'],
url='http://isnotajoke.com',
license='LICENSE.txt',
description='Tools to analyze Django DB sessions',
... | Python | 0 | @@ -62,16 +62,17 @@
lyze-ses
+s
ions',%0A
@@ -193,16 +193,87 @@
essions'
+, 'analyze_sessions.management', 'analyze_sessions.management.commands'
%5D,%0A u
|
29023d781b817db58686e23ff47e134f63b1a86e | Add python version dependency in setup | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
with open("README.rst") as fh:
long_description = fh.read()
setup(
name='sigtools',
version='2.0.2',
description="Utilities for working with inspect.Signature objects.",
long_description=long_description,
long_description_content_type='text/... | Python | 0.000001 | @@ -653,24 +653,89 @@
es=%5B'six'%5D,%0A
+ python_requires='%3E=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',%0A
extras_r
|
86954efce4f93f4614137a262d94b6acffa8521f | Remove the upper bound | setup.py | setup.py | from setuptools import setup, find_packages
kwargs = {
'packages': find_packages(
exclude=['tests', '*.tests', '*.tests.*', 'tests.*']),
'include_package_data': True,
'install_requires': [
'django>=1.4,<1.8',
],
'name': 'django-tracking2',
'version': __import__('tracking').get_v... | Python | 0.998353 | @@ -227,13 +227,8 @@
=1.4
-,%3C1.8
',%0A
|
29fb5c36e7f2dd647c18d30ad026b1de6ff03821 | Update dev status | setup.py | setup.py | from setuptools import setup
# from setuptools import find_packages
# from os import path
# from codecs import open # To use a consistent encoding
# here = path.abspath(path.dirname(__file__))
#
# Get the long description from the relevant file
# with open(path.join(here, 'README'), encoding='utf-8') as f:
# long_... | Python | 0 | @@ -1495,20 +1495,17 @@
::
-1 - Planning
+3 - Alpha
',%0A
|
80d50feb7353067f2477c4e21be833e1d37d3999 | Bump pypi version | setup.py | setup.py | #!/usr/bin/env python
import os
import sys
from setuptools import setup
try:
import pandoc
except ImportError:
pandoc = None
if sys.argv[-1] == 'publish':
assert pandoc, 'You have to do: pip install pyandoc'
os.system('python setup.py sdist upload')
sys.exit(0)
def read(fname):
with open(fn... | Python | 0 | @@ -811,17 +811,17 @@
on='1.0.
-0
+1
',%0A n
|
6d8702c2d96f9feb3bfd83afd2e161903df83e15 | Add git vcsversion method. | setup.py | setup.py | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright 2011 OpenStack LLC.
# 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/... | Python | 0.000004 | @@ -2837,8 +2837,940 @@
ements)%0A
+%0A%0Adef _run_shell_command(cmd):%0A output = subprocess.Popen(%5B%22/bin/sh%22, %22-c%22, cmd%5D,%0A stdout=subprocess.PIPE)%0A return output.communicate()%5B0%5D.strip()%0A%0A%0Adef write_vcsversion(location):%0A %22%22%22 Produce a vcsversio... |
26521700dbf48acd6bea691bcb888286c78bc75a | Version 0.1.0. | setup.py | setup.py | from setuptools import find_packages, setup
REQUIRES = [
'markdown',
'mdx_outline',
]
SOURCES = []
with open('README.rst', 'r') as f:
long_description = f.read()
setup(
name="mdx_attr_cols",
version="0.1.0a",
url='http://github.com/CTPUG/mdx_attr_cols',
license='MIT',
description="A ... | Python | 0 | @@ -222,17 +222,16 @@
n=%220.1.0
-a
%22,%0A u
|
19c9465a740c065ea6380a56be4d748ada58b174 | Upgrade ConfigArgParse | setup.py | setup.py | from setuptools import setup
from setuptools.command.test import test as TestCommand
import os
import sys
if sys.version_info < (3, 4, 2):
# This is the minimum version supported by aiohttp.
raise RuntimeError("hangups requires Python 3.4.2+")
# Find __version__ without import that requires dependencies to ... | Python | 0.000001 | @@ -1507,17 +1507,17 @@
rse==0.1
-0
+1
.0',%0A
|
d984f9d74ab5efab9f8e25cd2a590ace359ff4fb | add 'dev' to extras_require | setup.py | setup.py | import os
import re
import sys
from subprocess import check_output
from setuptools import (
setup,
find_packages,
Command,
)
class ApiDocs(Command):
"""
A custom command that calls sphinx-apidoc
see: https://www.sphinx-doc.org/en/master/man/sphinx-apidoc.html
"""
description = 'builds ... | Python | 0.000002 | @@ -6481,24 +6481,69 @@
cs_require,%0A
+ 'dev': tests_require + docs_require,%0A
%7D,%0A c
|
e78044306dd1a7c7484e5bd83bc0cda7d6bc2c75 | bump version | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name="django-salmonella",
version="0.2.0",
author='Lincoln Loop',
author_email='info@lincolnloop.com',
description=("raw_id_fields widget replacement that handles display of an object's "
"string value on change and can be overridd... | Python | 0 | @@ -92,17 +92,17 @@
on=%220.2.
-0
+1
%22,%0A a
|
24507f0500e1e9172e0a663f98a4eebcddce232e | Add mypy to dev requirements | setup.py | setup.py | import os
from setuptools import find_packages, setup
# single source of truth for package version
version_ns = {} # type: ignore
with open(os.path.join("globus_cli", "version.py")) as f:
exec(f.read(), version_ns)
version = version_ns["__version__"]
setup(
name="globus-cli",
version=version,
packag... | Python | 0 | @@ -1410,24 +1410,51 @@
==20.11.1%22,%0A
+ %22mypy==0.800%22,%0A
%5D,%0A
|
dc6d19fa8f967741ea209be529946e0232e3be28 | Set version to 1.0.1. | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name = 'vitalstyles',
description = 'Generate CSS/SASS/LESS documentation with previews using Markdown in comments.',
version = '1.0',
license = 'BSD',
author = 'Espen Angell Kristiansen',
author_email = 'post@espenak.net',
url = 'https://... | Python | 0 | @@ -190,16 +190,18 @@
n = '1.0
+.1
',%0A l
|
4117539f0e2c377ebaf50120a4a3205b5cfa952e | Bump dependency versions | setup.py | setup.py | #!/usr/bin/env python
import os, sys, glob, subprocess, textwrap, setuptools
try:
# Git version extraction logic designed to be compatible with both semver and PEP 440
version = subprocess.check_output(["git", "describe", "--tags", "--match", "v*.*.*"]).decode()
version = version.strip("v\n").replace("-",... | Python | 0 | @@ -754,12 +754,12 @@
1.1
-4.20
+6.43
, %3C
@@ -1132,12 +1132,13 @@
1.1
-7.14
+8.203
, %3C
@@ -1167,12 +1167,12 @@
= 1.
-15.1
+21.7
, %3C
|
0cd23b7ca563a92adc0c5882d9f434955a983aff | Update python setup.py classifiers to Python 3.7 | setup.py | setup.py | ###############################################################################
# Caleydo - Visualization for Molecular Biology - http://caleydo.org
# Copyright (c) The Caleydo Team. All rights reserved.
# Licensed under the new BSD license, available at http://caleydo.org/license
######################################... | Python | 0.000062 | @@ -2089,57 +2089,12 @@
::
-2
+3
.7'
-,%0A 'Programming Language :: Python :: 3.4'
%0A %5D
|
c46da7419dee72f543ea289eb6b6531dfa31a280 | Update version | setup.py | setup.py | """PySend
"""
from setuptools import setup, find_packages
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:
long_description = f.read()
setup(
name='pysend',... | Python | 0 | @@ -336,9 +336,9 @@
0.0.
-1
+2
',%0A%0A
|
4db183d19f2e4f37d43ff130965587a14d8b1bfc | version bump | setup.py | setup.py | from distutils.core import setup
setup(
name='admanagerplusclient',
version='0.7.0',
author='Jim Barcelona',
author_email='barce@me.com',
packages=['admanagerplusclient', 'admanagerplusclient.tests'],
install_requires=[
'future',
],
scripts=[],
url='http://pypi.python.org/pypi... | Python | 0.000001 | @@ -85,9 +85,9 @@
='0.
-7
+8
.0',
|
ef4ed496d89dd22d6710bf61f10df14c041f1ae9 | update xarray cap to match pandas cap | 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
# To use a consistent encoding
import codecs
import os
import sys
here = os.path.abspath(os.path.dirname(__... | Python | 0 | @@ -1166,16 +1166,21 @@
%5B'xarray
+%3C0.15
', 'pand
|
4b3dc61e5cb46774cf647f8c640b280aae1e4e90 | Handle symlinks in path to home directory | setup.py | setup.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# © 2017-2019 qsuscs, TobiX
# Should still run with Python 2.7...
from __future__ import print_function, unicode_literals
import os
import sys
from glob import glob
os.chdir(os.path.dirname(os.path.abspath(__file__)))
exit = 0
for f in glob('dot.*'):
dst_home = '~/... | Python | 0 | @@ -55,10 +55,10 @@
7-20
+2
1
-9
qsu
@@ -261,16 +261,66 @@
le__)))%0A
+home = os.path.realpath(os.path.expanduser('~'))%0A%0A
exit = 0
@@ -363,15 +363,8 @@
me =
- '~/' +
f%5B3
@@ -445,35 +445,29 @@
t =
-os.path.expanduser(
+home + '/' +
dst_home
)%0A
@@ -462,17 +462,16 @@
dst_home
-)
%0A src
|
32fe723d195d03f68714d3b97d77f2ce34e02e13 | Bump version and Python version. | setup.py | setup.py | from setuptools import setup
setup(
name='ppb-vector',
version='0.2',
packages=['ppb_vector'],
url='http://github.com/pathunstrom/ppb-vector',
license='',
author='Piper Thunstrom',
author_email='pathunstrom@gmail.com',
description='A basic game development Vector2 class.',
classifie... | Python | 0 | @@ -68,17 +68,17 @@
sion='0.
-2
+3
',%0A p
@@ -540,9 +540,9 @@
: 3.
-5
+6
'%0A
|
7cd6bdb80649f6ef903cd8356b5c417fbb84cad4 | Add twistedcaldav.directory to packages. | setup.py | setup.py | #!/usr/bin/env python
##
# Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unl... | Python | 0.000112 | @@ -2285,16 +2285,43 @@
caldav%22,
+ %22twistedcaldav.directory%22,
%22twiste
|
5ef63a4400669a67ab09d9a822ace4f7e6c5acf5 | Add sphinx and spelling packages to setup.py | setup.py | setup.py | from distutils.core import setup
GITHUB_URL = 'https://github.com/jongiddy/jute'
VERSION = '0.1.8'
def contents_of(filename):
with open(filename, encoding='utf-8') as f:
return f.read()
setup(
name='jute',
packages=['jute'],
package_dir={'jute': 'python3/jute'},
version=VERSION,
desc... | Python | 0 | @@ -1266,10 +1266,195 @@
%0A %5D,%0A
+ extras_require=%7B%0A 'doc': %5B%0A %22pyenchant%22, # pre-requisite for sphinxcontrib-spelling%0A %22sphinx%22,%0A %22sphinxcontrib-spelling%22,%0A %5D,%0A %7D,%0A
)%0A
|
6e2f22d4e710e90100387f62715282c58612e102 | Add install_requires. | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
long_description = open('README.md', 'r').read()
setup(
name="loofah",
version="0.1",
packages=[
"loofah"
],
author="Paul Tagliamonte",
author_email="paultag@debian.org",
long_description=long_description,
description='does so... | Python | 0 | @@ -96,16 +96,161 @@
read()%0A%0A
+with open('requirements.txt') as f:%0A install_requires = %5Bl for l in f.read().splitlines()%0A if not l.startswith('#')%5D%0A%0A%0A
setup(%0A
@@ -489,16 +489,55 @@
stuff',%0A
+ install_requires=install_requires,%0A
lice
|
e4b441a38e8a68d8b1e697a6e5e0cb818ea2eb64 | bump other packages too | setup.py | setup.py | import sys
from setuptools import setup
# Be verbose about Python < 3.6 being deprecated.
if sys.version_info < (3, 6):
print('\n' * 3 + '*' * 64)
print('lastcast requires Python 3.6+, and might be broken if run with\n'
'this version of Python.')
print('*' * 64 + '\n' * 3)
setup(
name='las... | Python | 0 | @@ -869,11 +869,13 @@
ck==
-6.7
+8.1.3
',%0A
@@ -894,11 +894,11 @@
st==
-1.7
+5.0
.0',
@@ -919,11 +919,12 @@
==0.
-9.4
+10.2
',%0A
|
2808199dbfa969823e5a7b3c16eedc1dcd531251 | update to v0.2.dev | setup.py | setup.py | #!/usr/bin/env python
# Licensed under a 3-clause BSD style license - see LICENSE.rst
import glob
import os
import sys
import ah_bootstrap
from setuptools import setup
#A dirty hack to get around some early import/configurations ambiguities
if sys.version_info[0] >= 3:
import builtins
else:
import __builtin_... | Python | 0 | @@ -1548,17 +1548,21 @@
ON = '0.
-1
+2.dev
'%0A%0A# Ind
|
1680cc753010ca267cdcc12ae414e6083baeb686 | bump version | setup.py | setup.py | import sys
if sys.version_info[0] < 3:
sys.exit('Sorry, Python < 3.x is not supported')
# Try using setuptools first, if it's installed
from setuptools import setup, find_packages
packages = ["pytc_gui",
"pytc_gui/dialogs",
"pytc_gui/widgets",
"pytc_gui/widgets/experiment_box"... | Python | 0 | @@ -494,25 +494,25 @@
ersion='1.2.
-2
+3
',%0A des
@@ -1150,9 +1150,8 @@
%7D)%0A
-%0A
|
c630a4c44babac54ce01dc5898a9d6fbfae598c6 | Remove unecessary dependency | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from holmes import __version__
tests_require = [
'mock',
'nose',
'coverage',
'yanc',
'preggy',
'tox',
'ipdb',
'coveralls',
'factory_boy',
'sqltap',
'sphinx',
'honcho',
]
setup(
... | Python | 0.027308 | @@ -1817,42 +1817,8 @@
4',%0A
- 'holmesalf%3E=0.1.2,%3C0.2.0'%0A
|
223791ba7ec2071664f55dbba3a953faa68fe50f | Version bump | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
setup(name='python-imdb',
version='0.1.15',
description='Python interface to IMDb plain-text data files',
author='nandhp',
author_email='nandhp@gmail.com',
url='https://github.com/nandhp/python-imdb',
packages=['imdb']
)
| Python | 0.000001 | @@ -100,9 +100,9 @@
.1.1
-5
+6
',%0A
|
02ac38532cea722ef71717cbe70f9639a4373d07 | Tweak description and long_description | setup.py | setup.py | import re
from setuptools import setup
with open('nexmo/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1)
setup(name='nexmo',
version=version,
description='Python client for the Nexmo API',
long_description='Python client for the Nexm... | Python | 0.000002 | @@ -237,39 +237,39 @@
on='
-Python client for the Nexmo API
+Nexmo Client Library for Python
',%0A
@@ -287,16 +287,28 @@
iption='
+This is the
Python c
@@ -317,25 +317,152 @@
ent
-for the Nexmo API
+library for Nexmo%5C's API. To use it you%5C'll need a Nexmo account. Sign up %60for free at nexmo.com %3Chttp://... |
5f0a1afdf1317da3b101171e6935be3b891a8a73 | Add more detailed metadata to setup.py | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name = "vmflib",
version = "0.1",
packages = find_packages(),
scripts = ['tools/buildbsp.py'],
entry_points = {
'console_scripts': [
'buildbsp = buildbsp:main'
]
},
# metadata for upload to PyPI
author = "S... | Python | 0 | @@ -1,8 +1,32 @@
+#! /usr/bin/env python3%0A
from set
@@ -626,77 +626,921 @@
-# could also include long_description, download_url, classifiers, etc.
+classifiers = %5B%0A %22Programming Language :: Python :: 3%22,%0A %22Development Status :: 3 - Alpha%22,%0A %22Environment :: Other Environme... |
35fd4836b0d823dbceea8694c9f7a23c4dc40f20 | update the realease | setup.py | setup.py | import re
from setuptools import find_packages, setup
install_requires = [
'wagtail>=1.9,<1.11',
'user-agents>=1.0.1',
'wagtailfontawesome>=1.0.6',
]
tests_require = [
'factory_boy==2.8.1',
'flake8',
'flake8-blind-except',
'flake8-debugger',
'flake8-imports',
'freezegun==0.3.8',
... | Python | 0 | @@ -720,10 +720,16 @@
='0.
-9.
+10.0beta
1',%0A
|
4ca207458b1007fbef11d62f63af9fdf8f91a19b | Fix req parsing | setup.py | setup.py | #!/usr/bin/python
# -*- coding: UTF-8 -*-
from setuptools import setup
from pip.req import parse_requirements
from oshino_admin.version import get_version
install_reqs = list(parse_requirements("requirements/release.txt", session={}))
test_reqs = list(parse_requirements("requirements/test.txt", session={}))
setup(na... | Python | 0.000292 | @@ -64,16 +64,134 @@
t setup%0A
+%0Atry: # for pip %3E= 10%0A from pip._internal.req import parse_requirements%0Aexcept ImportError: # for pip %3C= 9.0.3%0A
from pip
|
59091a8c2bb76860d52eac5214166eb57ec013a7 | change project, package name to all lowercase letters | setup.py | setup.py | import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
DESCRIPTION = "Galaxy Cluster Properties and Weak Lensing Profiles"
LONG_DESCRIPTION = """
cluster-lensing: galaxy cluster halo calculations
======================================================
This package inclu... | Python | 0.000036 | @@ -133,19 +133,8 @@
ter
-Properties
and
@@ -150,15 +150,12 @@
ing
-Profile
+Tool
s%22%0AL
@@ -179,25 +179,24 @@
%22%22%22%0Acluster
--
lensing: gal
@@ -665,42 +665,39 @@
p://
-github.com/jesford/
cluster
--
lensing
+.readthedocs.org/
%0A%22%22%22
@@ -708,25 +708,24 @@
E = %22cluster
--
lensing%22%0AAU... |
1f9c491ccf8411eb68c4992cf9f50b2b852e8cb1 | Bump version to pre-release | setup.py | setup.py | import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name='scholarly',
version='1.4.5',
author='Steven A. Cholewiak, Panos Ipeirotis, Victor Silva, Arun Kannawadi',
author_email='steven@cholewiak.com, panos@stern.nyu.edu, vsilva@ualberta.ca, arunkanna... | Python | 0 | @@ -140,11 +140,17 @@
='1.
-4.5
+5.0-alpha
',%0A
|
c0bbad726a92bbda75d4de6ba73ce49c97a5fba8 | Bump version to 1.1 | setup.py | setup.py | from distutils.core import setup
setup(
name='requests-negotiate',
version='1.0',
license='BSD',
packages=['requests_negotiate'],
classifiers=['License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
... | Python | 0 | @@ -84,9 +84,9 @@
='1.
-0
+1
',%0A
|
68e7ba3db32e1a8632cd317206769e5b5e96c9a8 | Bump version | setup.py | setup.py | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-zipview',
version='0.1',
... | Python | 0 | @@ -309,11 +309,13 @@
on='
+1.
0.
-1
+0
',%0A
|
39a3eb69dd98518093ac84025eb6d037aceb0d10 | Fix setup.py, and bump version | setup.py | setup.py | """ Setup file for the cred-client package. """
from setuptools import setup
import sys
# The package only works with python >=3.0
if sys.version_info < (3,):
print("I'm only for 3, please upgrade")
sys.exit(1)
version = '0.2.4'
setup(
name='cred-client',
version=version,
author='Tehnix',
aut... | Python | 0 | @@ -233,9 +233,9 @@
0.2.
-4
+5
'%0A%0As
@@ -360,52 +360,46 @@
es=%5B
-%0A
'cred'
+%5D
,%0A
-
- 'cred.client'%0A %5D
+include_package_data=True
,%0A
|
f5082476aa8c25bcdea6fe1f96e0f1184195d875 | update setup.py | setup.py | setup.py | #!/usr/bin/env python
__author__ = "Daniel W. Davies"
__copyright__ = "Copyright Daniel W. Davies, Adam J. Jackson, Keith T. Butler (2019)"
__version__ = "2.3.2"
__maintainer__ = "Anthony O. Onwuli"
__email__ = "anthony.onwuli16@imperial.ac.uk"
__date__ = "Nov 4 2021"
from setuptools import setup, Extension
import os... | Python | 0.000001 | @@ -153,17 +153,17 @@
= %222.3.
-2
+4
%22%0A__main
@@ -255,18 +255,19 @@
= %22
-Nov 4
+July 7
202
-1
+2
%22%0A%0Af
@@ -470,17 +470,17 @@
on=%222.3.
-2
+3
%22,%0A
|
39508d207c4cd9f09ffffe2448a78209665f8234 | version bump | 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.md'), encoding='utf-8') as f:
... | Python | 0.000001 | @@ -607,12 +607,9 @@
0.0.
-1rc1
+2
',%0A%0A
|
1f3de18fde0438622026a890a172964b6cbbe992 | Version bump ready for PyPI release | setup.py | setup.py | import os
import sys
try:
from setuptools import setup
has_setuptools = True
except ImportError:
from distutils.core import setup
has_setuptools = False
if has_setuptools:
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
... | Python | 0 | @@ -956,12 +956,8 @@
.1.0
--dev
',%0A
@@ -1435,16 +1435,306 @@
ython',%0A
+ %22Programming Language :: Python :: 2%22,%0A 'Programming Language :: Python :: 2.6',%0A 'Programming Language :: Python :: 2.7',%0A %22Programming Language :: Python :: 3%22,%0A %22Programming Language :... |
62455662631da3999344ca6581c93b2fed851e07 | fix #2470 | setup.py | setup.py | import os
import runpy
from codecs import open
from setuptools import setup, find_packages
# Based on https://github.com/pypa/sampleproject/blob/master/setup.py
# and https://python-packaging-user-guide.readthedocs.org/
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst'), en... | Python | 0.000001 | @@ -7,21 +7,8 @@
os%0A
-import runpy%0A
from
@@ -28,16 +28,26 @@
t open%0A%0A
+import re%0A
from set
@@ -369,32 +369,17 @@
()%0A%0A
-VERSION = runpy.run_path
+with open
(os.
@@ -425,35 +425,87 @@
y%22))
-%5B%22VERSION%22%5D.split(%22
+ as f:%0A VERSION = re.search(r'VERSION = %22(.+?)(?:
-0x
+%7C
%22)
-%5B... |
6dfe9f2ef3072ee52bcfa12eaf4cf4d6127af846 | Revert back to simple installation. | setup.py | setup.py | from setuptools import setup, find_packages
import os
import subprocess
from setuptools.command.install import install as install_command
from setuptools.command.develop import develop as develop_command
from setuptools.command.egg_info import egg_info as egg_info_command
try: # for pip >= 10
from pip._internal.r... | Python | 0 | @@ -41,2160 +41,156 @@
ges%0A
-import os%0Aimport subprocess%0Afrom setuptools.command.install import install as install_command%0Afrom setuptools.command.develop import develop as develop_command%0Afrom setuptools.command.egg_info import egg_info as egg_info_command%0A%0Atry: # for pip %3E= 10%0A from pip._intern... |
82cda10d145faa1ef13c22cdbd6e1c586a6dfdf9 | remove debug print and update dependencies | setup.py | setup.py | #!/usr/bin/env python
# vim: et:sta:bs=2:sw=4:
from setuptools import setup, find_packages, findall
from get_git_version import get_git_version
import os, os.path
def find_package_data():
base = os.path.join(os.path.dirname(__file__), 'src')
s, r = ['.'], []
while s:
p = s.pop()
for c in o... | Python | 0 | @@ -536,20 +536,8 @@
c))%0A
- print r%0A
@@ -1065,17 +1065,17 @@
ah%3E=0.1.
-1
+2
',%0A
@@ -1131,17 +1131,17 @@
ce%3E=0.1.
-1
+2
'%5D,%0A
|
8fda341a5d6fbb4e466dcb4d300a9cdd28701d77 | extend the list of trove classifiers | setup.py | setup.py | # -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup, Extension, find_packages
try:
from Cython.Build import cythonize
except ImportError:
# A 'cythonize' stub is needed so that build, develop and install can
# start before Cython is installed.
cythonize = lambda extensions, **kwa... | Python | 0.00002 | @@ -3189,54 +3189,559 @@
2',%0A
-%0A 'Operating System :: MacOS :: MacOS X
+ 'Programming Language :: Python :: 2.7',%0A%0A 'Programming Language :: Python :: 3',%0A 'Programming Language :: Python :: 3.3',%0A 'Programming Language :: Python :: 3.4',%0A 'Programming Language :... |
060b8a8b9c03a8c0b7f3acd72789b4a6ab6f6c8a | Fix setup.py import subprocess.run (not supported on < py3.5) | setup.py | setup.py | #!/usr/bin/env python3
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
Extra supported commands are:
* gen_tl, to generate the classes required for Telethon to run
* clean_tl, to clean these generated classes
* pypi, to generate s... | Python | 0 | @@ -389,61 +389,8 @@
ing%0A
-from subprocess import run%0Afrom shutil import rmtree%0A
from
@@ -1399,16 +1399,239 @@
'pypi':%0A
+ # Need python3.5 or higher, but Telethon is supposed to support 3.x%0A # Place it here since noone should be running ./setup.py pypi anyway%0A from subprocess import ... |
b0ebc89420a9a1f3d49369fb1ce50f102a2d2495 | Move repository from @edoburu to @django-parler team | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
from os import path
import codecs
import os
import re
import sys
def read(*parts):
file_path = path.join(path.dirname(__file__), *parts)
return codecs.open(file_path, encoding='utf-8').read()
def find_version(*parts):
version_file = read(... | Python | 0 | @@ -992,39 +992,45 @@
ps://github.com/
-edoburu
+django-parler
/django-categori
@@ -1076,23 +1076,29 @@
hub.com/
-edoburu
+django-parler
/django-
|
2e62f1dff218f4357bee0ad2a6e9a0e5e956ad55 | fix twine check warnings (#23) | setup.py | setup.py | import os
from setuptools import setup
long_description = open('README.rst' if os.path.exists('README.rst') else 'README.md').read()
setup(
name='sphinx-confluence',
description='Atlassian Confluence extension for sphinx',
long_description=long_description,
version='0.0.4',
author='Arello Mobile',... | Python | 0 | @@ -226,16 +226,67 @@
phinx',%0A
+ long_description_content_type='text/markdown',%0A
long
|
cc33a5ebed8132c1fa87fa83710693e6130bc12e | remove extra = in setup.py | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='credstash',
version='1.5',
description='A utility for managing secrets in the cloud using AWS KMS and DynamoDB',
license='Apache2',
url='https://github.com/LuminalOSS/credstash',
classifiers=[
'Intended Audience :: Developers',
... | Python | 0.000009 | @@ -503,17 +503,16 @@
'boto3%3E=
-=
1.1.1'%5D,
|
db211034e21cebbb6c9681b1c854412dbe90a51b | Install backports namespace packages conditionally | setup.py | setup.py | #! /usr/bin/env python
"""Cheroot package setuptools installer."""
# Project skeleton maintained at https://github.com/jaraco/skeleton
import io
import setuptools
with io.open('README.rst', encoding='utf-8') as readme:
long_description = readme.read()
name = 'cheroot'
description = 'Highly-optimized, pure-pyth... | Python | 0 | @@ -1435,49 +1435,8 @@
s=%5B%0A
- 'backports.functools_lru_cache',%0A
@@ -2018,16 +2018,309 @@
t-cov',%0A
+ %5D,%0A ':python_version%3C%223.3%22': %5B%0A # functools_lru_cache has been added to stdlib in Python 3.2%0A # however it's only got support for %60%60typed%60%... |
9161a18157c767760e7bfe6c3b3a4bfad07876ef | Bump version | setup.py | setup.py | import sys
import platform
import os
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', 'Arguments to pass to py.test')]
def initialize_options(self):
TestCommand.initialize_options(self)
self.p... | Python | 0 | @@ -1367,11 +1367,11 @@
'1.
-1.2
+2.0
',%0A
|
06db8ec819fe8f2dffc6b7c93e9a72fcb24b188c | Add oscar 0.8 as a valid version | setup.py | setup.py | from setuptools import setup, find_packages
# dirty hack to allow running sdist in a vbox
# source: Leonardo.Z's answer on this StackOverflow thread:
# http://stackoverflow.com/questions/7719380/python-setup-py-sdist-error-operation-not-permitted
import os
if os.environ.get('USER', '') == 'vagrant':
del os.link
... | Python | 0.000011 | @@ -385,17 +385,17 @@
on='0.1.
-2
+3
',%0A u
@@ -816,17 +816,17 @@
=0.7,%3C0.
-8
+9
',%0A
|
31f08ace2e2ea8266fc17350b2e3dbd832517515 | Upgrade to prompt_toolkit==0.42. | setup.py | setup.py | import re
import ast
from setuptools import setup, find_packages
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('pgcli/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
description = 'CLI for Postgres Database. With auto-compl... | Python | 0 | @@ -872,17 +872,17 @@
kit==0.4
-0
+2
',%0A
|
f581deba1b3058b4bce38810682a0f2f4c1dedf8 | Bump to v1.4.1 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='primestg',
version='1.4.0',
packages=find_packages(),
url='https://github.com/gisce/primestg',
license='GNU Affero General Public License v3',
author='GISCE-TI, S.L.',
author_email='devel@gisce.net',
install_requires=[
'l... | Python | 0.000001 | @@ -88,9 +88,9 @@
1.4.
-0
+1
',%0A
|
3d2bbe90617ec090b5f413b95fc9d1161c2848fa | Update package name in setup.py | setup.py | setup.py | #!/usr/bin/env python3
from distutils.core import setup
setup(name='auto-investor',
version='1.0.5',
description='LendingClub auto-investment tool',
author='Joe Butler',
author_email='joebutler88@gmail.com',
packages=['investor'],
)
| Python | 0 | @@ -67,21 +67,17 @@
me='
-auto-investor
+lenderbot
',%0A
@@ -98,9 +98,9 @@
1.0.
-5
+6
',%0A
@@ -137,19 +137,17 @@
auto
--
+
invest
-ment
+or
too
|
39ebb2d463dc7185801aac2dee8ec30fa4adcfac | Allow cryptography versions >3 (but <4) (#164) | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='signxml',
version="2.8.0",
url='https://github.com/kislyuk/signxml',
license='Apache Software License',
author='Andrey Kislyuk',
author_email='kislyuk@gmail.com',
description='Python XML Signature library',
... | Python | 0.000001 | @@ -475,17 +475,17 @@
.1.4, %3C
-3
+4
',%0A
|
67c6f7b1460403e51125eb15f7d081e6de20f6ab | Downgrade Celery and kombu. | setup.py | setup.py | #!/usr/bin/env python
"""Kegbot Beer Kegerator Server package.
Kegbot is a hardware and software system to record and monitor access to a beer
kegerator. For more information and documentation, see http://kegbot.org/
"""
from setuptools import setup, find_packages
VERSION = '0.9.25'
DOCLINES = __doc__.split('\n')
... | Python | 0 | @@ -634,25 +634,78 @@
%0A%0A
-'Celery == 3.1.11
+# See kegbot-server issue #264%0A 'Celery == 3.1.9',%0A 'kombu == 3.0.14
',%0A%0A
|
768820a4af086e72c88e779f08a7f597ad4a2774 | Update email | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="valideer",
version="0.2",
description="Lightweight data validation and adaptation library for Python",
long_description=open("README.rst").read(),
url="https://github.com/podio/valideer",
author="George Sakkis",
... | Python | 0 | @@ -338,14 +338,21 @@
orge
-@podio
+.sakkis@gmail
.com
|
b99c83ff15a02d4be3dc2e7f6e4a27601fdbdbf2 | fix setup.py | setup.py | setup.py | from setuptools import setup, find_packages
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.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='hazelcast-python-cli... | Python | 0.000001 | @@ -521,38 +521,33 @@
or='
-The Python Packaging Authority
+Hazelcast Inc. Developers
',%0A
@@ -571,16 +571,17 @@
il='
-pypa-dev
+hazelcast
@goo
@@ -1528,16 +1528,29 @@
'tests'
+, 'benchmark'
%5D),%0A
|
0a0a64aab06e202fe37805523dd2f3e862fcb7d8 | Bump version to 0.3.16 | setup.py | setup.py | #!/usr/bin/env python
import os
import sys
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
_install_requires = [
"parsimonious>=0.5,<0.6",
"dodge>=0.1.5,<0.2",
]
if sys.version_info[:2] <= (2, 6):
_install_requires.append("argpars... | Python | 0 | @@ -373,17 +373,17 @@
n='0.3.1
-5
+6
',%0A d
|
b87f2d324ec42a294f557064933a3e21d4507e70 | Bump pandas from 1.3.2 to 1.3.3 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(name='l1',
version='0.1',
description='L1',
author='Bugra Akyildiz',
author_email='vbugra@gmail.com',
url='bugra.github.io',
packages=['l1'],
install_requires=['pandas==1.3.2',
'cvxopt==1.2.6',
... | Python | 0.000005 | @@ -267,17 +267,17 @@
as==1.3.
-2
+3
',%0A
|
0e5e46615ce8f599483c5075cc120cf6aad4c8a5 | Tweak setup.py | setup.py | setup.py | from __future__ import print_function
from setuptools import setup
from setuptools.command.test import test as TestCommand
import io
import os
import sys
import wsstat
py_version = sys.version_info[:2]
if py_version < (3, 3):
raise Exception("websockets requires Python >= 3.3.")
here = os.path.abspath(os.path.d... | Python | 0.000001 | @@ -718,11 +718,10 @@
DME.
-rst
+md
')%0A%0A
|
7bda19daf9fba63ea3e2d374a5f13390f3f7fa05 | Bump version to 3.1 | setup.py | setup.py | from setuptools import setup
setup(
name='cloudify-diamond-plugin',
version='3.1',
author='Cloudify',
author_email='cosmo-admin@gigaspaces.com',
packages=['diamond_agent', 'cloudify_handler'],
install_requires=['cloudify-plugins-common==3.1',
'diamond==3.5.0',
... | Python | 0 | @@ -79,17 +79,17 @@
ersion='
-3
+1
.1',%0A
|
0f6be423058d98f7365f95c427ab59db5608af80 | use jsonobject in setup.py | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='pillowtop',
version='0.1.3.1',
description='A couchdbkit changes listener for doing backend processing',
author='Dimagi',
author_email='dev@dimagi.com',
url='http://www.dimagi.com/',
packages=find_packages(exclud... | Python | 0.000002 | @@ -483,16 +483,27 @@
%22
+jsonobject-
couchdbk
@@ -504,16 +504,25 @@
uchdbkit
+%3E=0.6.5.2
%22,%0A
|
3c538568092e6a1fe54f0b3aea6ac423f454da60 | Bump flake8-bugbear from 20.1.2 to 20.1.3 | setup.py | setup.py | # -*- coding: utf-8 -*-
import re
from setuptools import setup, find_packages
EXTRAS_REQUIRE = {
"sqlalchemy": [
"flask-sqlalchemy",
'marshmallow-sqlalchemy>=0.13.0; python_version >= "3.6"',
'marshmallow-sqlalchemy>=0.13.0,<0.19.0; python_version < "3.6"',
],
"docs": ["marshmallow... | Python | 0.000002 | @@ -446,17 +446,17 @@
r==20.1.
-2
+3
; python
|
8bcce091eda16be9cd613a010b5647e3166e0c2b | Fix removal functions in oslo_utils for astara | astara/tenant.py | astara/tenant.py | # Copyright 2014 DreamHost, LLC
#
# Author: DreamHost, 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 applicabl... | Python | 0.00031 | @@ -685,16 +685,32 @@
hreading
+%0Aimport datetime
%0A%0Afrom o
@@ -3702,26 +3702,54 @@
p':
-timeutils.isotime(
+datetime.datetime.isoformat(timeutils.utcnow()
),%0A
|
9444be6e891e7f7690dc10415690e484e17b3b61 | Extend base extraction module | fenrir/extraction/base.py | fenrir/extraction/base.py | # coding: utf-8
# Author: Vova Zaytsev <zaytsev@usc.edu>
import re
import textblob
class TextPreprocessor(object):
HTML_SPECIAL_CHARS = re.compile("\&#?[a-z0-9]+;")
def __init__(self):
pass
def clean_html_junk(self, text):
return self.HTML_SPECIAL_CHARS.sub("", text)
def sent_segm... | Python | 0 | @@ -78,16 +78,47 @@
xtblob%0A%0A
+from client.api import common%0A%0A
%0Aclass T
@@ -147,16 +147,19 @@
):%0A%0A
+RE_
HTML_SPE
@@ -201,16 +201,180 @@
9%5D+;%22)%0A%0A
+ RE_Q_PHRASE_PATTERN_1 = re.compile(%22%5C%22(%5B%5E%5C%22%5D*)%5C%22%22)%0A RE_Q_PHRASE_PATTERN_2 = re.compile(%22%5C'(%5B%5E%5C%22%5D*)%... |
f77e92aef7e337ed67ebc78d4de5829285ed651a | Update url | setup.py | setup.py | from us import __appname__, __version__
from setuptools import setup, find_packages
long_description = open('README.rst').read()
setup(
name=__appname__,
version=__version__,
author="Jeremy Carbaugh",
author_email="jcarbaugh@sunlightfoundation.com",
url='https://github.com/sunlightlabs/python-us',... | Python | 0.000001 | @@ -293,19 +293,19 @@
com/
-s
un
-lightlab
+itedstate
s/py
|
90211e1cabc91f95889846702d3801512ab5ae21 | Create appdir if necessary. | repl/repl.py | repl/repl.py | import atexit
import os
import shlex
import subprocess
import sys
import click
from .util import (fcomplete, set_title, inp, replace_slice, get_terminal_size,
strip_control)
class REPL(object):
def __init__(self, color, prompt, sub, command, external):
self.color_enabled = color
... | Python | 0 | @@ -836,16 +836,142 @@
p, '_')%0A
+ appdir = click.get_app_dir('repl')%0A if not os.path.exists(appdir):%0A os.makedirs(appdir)%0A
@@ -1002,33 +1002,14 @@
oin(
-click.get_
app
-_
dir
-('repl')
, hi
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.