commit
stringlengths
40
40
subject
stringlengths
1
1.49k
old_file
stringlengths
4
311
new_file
stringlengths
4
311
new_contents
stringlengths
1
29.8k
old_contents
stringlengths
0
9.9k
lang
stringclasses
3 values
proba
float64
0
1
026a7d5649388e4d57eeabed8f36ecdf6f5bf0d3
fix aircv dep version
setup.py
setup.py
# coding: utf-8 # import sys sys.path.insert(0,'/usr/lib/pyshared/python2.7') from setuptools import setup, find_packages from airtest import __version__ long_description = '' try: with open('README.md') as f: long_description = f.read() except: pass setup( name='airtest', version=__ver...
# coding: utf-8 # import sys sys.path.insert(0,'/usr/lib/pyshared/python2.7') from setuptools import setup, find_packages from airtest import __version__ long_description = '' try: with open('README.md') as f: long_description = f.read() except: pass setup( name='airtest', version=__ver...
Python
0
d84d84c583db53759129216747da7b2e81d59582
Bump version to 0.0.2
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys try: from setuptools import setup except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup def fullsplit(path, result=None): """ Split a pathname into components (the opposite of os....
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys try: from setuptools import setup except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup def fullsplit(path, result=None): """ Split a pathname into components (the opposite of os....
Python
0.000001
10ae12d60cb8bd9a9a3373f0432fdf57ca3d5e44
Bump filebrowser safe version to 0.2.13
setup.py
setup.py
from __future__ import with_statement import os import sys exclude = ["mezzanine/project_template/dev.db", "mezzanine/project_template/local_settings.py"] exclude = dict([(e, None) for e in exclude]) for e in exclude: if e.endswith(".py"): try: os.remove("%sc" % e) except: ...
from __future__ import with_statement import os import sys exclude = ["mezzanine/project_template/dev.db", "mezzanine/project_template/local_settings.py"] exclude = dict([(e, None) for e in exclude]) for e in exclude: if e.endswith(".py"): try: os.remove("%sc" % e) except: ...
Python
0
90a6bd545ed0b494eb3530159292147e08263a72
Update gmpy2 deps (segfault in test_pretty.py)
setup.py
setup.py
#!/usr/bin/env python3 """ This script uses Setuptools (http://pythonhosted.org/setuptools/), a collection of enhancements to the standard Python distutils. """ import re import sys import os import shutil from setuptools import setup, Command, find_packages # Make sure I have the right Python version. We can drop ...
#!/usr/bin/env python3 """ This script uses Setuptools (http://pythonhosted.org/setuptools/), a collection of enhancements to the standard Python distutils. """ import re import sys import os import shutil from setuptools import setup, Command, find_packages # Make sure I have the right Python version. We can drop ...
Python
0
8291758ff2fc5266e28450c29b80d509a785641c
Update setup.py.
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- try: from setuptools import setup except ImportError: from distutils.core import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read().replace('.. :changelog:', ...
#!/usr/bin/env python # -*- coding: utf-8 -*- try: from setuptools import setup except ImportError: from distutils.core import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read().replace('.. :changelog:', ...
Python
0
46182e3646f9932a6a39e95fe4f289dd0c62325b
remove unnecessary requirements list
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- try: from setuptools import setup except ImportError: from distutils.core import setup requirements = [i.strip() for i in open("requirements.txt").readlines()] config = { 'name': 'SimpleGenerator', 'description': 'Simple string (password) generator scrip...
#!/usr/bin/env python # -*- coding: utf-8 -*- try: from setuptools import setup except ImportError: from distutils.core import setup requirements = ['click==6.2', 'pyparsing==2.0.7', 'ecdsa==0.13', 'PyYAML==3.11', 'pycrypto==2.6.1', ...
Python
0.000077
f9403b00f8a7a219977ecb26c316fc37a5caf201
Set the startup script runnable on Windows OS. Fixes #3
setup.py
setup.py
#!/usr/bin/env python3 # encoding: UTF-8 """Build tar.gz for pygubu Needed packages to run (using Debian/Ubuntu package names): python3-tk """ import os import shutil import platform from distutils.command.install import install from distutils.core import setup VERSION = open('version.txt').read().strip() c...
#!/usr/bin/env python3 # encoding: UTF-8 """Build tar.gz for pygubu Needed packages to run (using Debian/Ubuntu package names): python3-tk """ import os import shutil from distutils.command.install import install from distutils.core import setup VERSION = open('version.txt').read().strip() class CustomInsta...
Python
0.000001
268fa37807fed07739d4e81eab7d1fbcc5842db9
Remove long_description from setup.py
setup.py
setup.py
#!/usr/bin/env python from setuptools import find_packages, setup # setup the project setup( name='cmsplugin-newsplus', version='1.0.0', description='Simple news plugin for django-cms 3.x', author='Nimbis Services, Inc.', author_email='devops@nimbisservices.com', url='https://github.com/nimbis...
#!/usr/bin/env python from setuptools import find_packages, setup # setup the project setup( name='cmsplugin-newsplus', version='1.0.0', description='Simple news plugin for django-cms 3.x', long_description=open('README.rst').read(), author='Nimbis Services, Inc.', author_email='devops@nimbiss...
Python
0
66785400dee22d97202413d23812c897266ce990
remove marge marks
setup.py
setup.py
import os from glob import glob from setuptools import find_namespace_packages, setup from setuptools.command.build_py import build_py as _build_py # From https://github.com/pypa/setuptools/pull/1574 class build_py(_build_py): def find_package_modules(self, package, package_dir): modules = super().find_pac...
import os from glob import glob from setuptools import find_namespace_packages, setup from setuptools.command.build_py import build_py as _build_py # From https://github.com/pypa/setuptools/pull/1574 class build_py(_build_py): def find_package_modules(self, package, package_dir): modules = super().find_pac...
Python
0.999987
efa88a14e21455bbe2aa4d0dd4944472cfab1261
fix python3 'pip install' bug
setup.py
setup.py
#!/usr/bin/python # -*- coding: utf-8 -*- from __future__ import absolute_import from setuptools import setup, find_packages try: from itertools import ifilter except: ifilter = filter from os import path from ast import parse import pip requirements = pip.req.parse_requirements("requirements.txt", ...
#!/usr/bin/python # -*- coding: utf-8 -*- from __future__ import absolute_import from setuptools import setup, find_packages from itertools import ifilter from os import path from ast import parse import pip requirements = pip.req.parse_requirements("requirements.txt", session=...
Python
0
decfd45d96ef3ed83acfa7d357de72e3e9931ee2
Fix ECPy dependency version
setup.py
setup.py
#from distribute_setup import use_setuptools #use_setuptools() from setuptools import setup, find_packages from os.path import dirname, join import os here = dirname(__file__) setup( name='ledgerblue', version='0.1.19', author='Ledger', author_email='hello@ledger.fr', description='Python library t...
#from distribute_setup import use_setuptools #use_setuptools() from setuptools import setup, find_packages from os.path import dirname, join import os here = dirname(__file__) setup( name='ledgerblue', version='0.1.18', author='Ledger', author_email='hello@ledger.fr', description='Python library t...
Python
0
84c9bdcb388f6fd77cf58ccdcd6b9d298017389a
order setup
setup.py
setup.py
# encoding: utf-8 import numpy from distutils.core import setup from distutils.extension import Extension from Cython.Distutils import build_ext import sys DESCRIPTION = 'TSNE implementations for python' if sys.platform == 'darwin': ext_modules = [Extension( name='bh_sne', s...
# encoding: utf-8 import numpy from distutils.core import setup from distutils.extension import Extension from Cython.Distutils import build_ext import sys DESCRIPTION = 'TSNE implementations for python' if sys.platform == 'darwin': ext_modules = [Extension( name='bh_sne', s...
Python
0.000001
2d18428d1774e4a15840462ad512e15e2a199c3d
add setuptools
setup.py
setup.py
import setuptools from distutils.core import setup #with open("README.md", "r") as fh: # long_description = fh.read() setup(name='pyviko', version='1.1.0.6', description='Design knockout viruses in Python', author='LJ Taylor', author_email='l'+'taylor'+str(3+4)+'@'+'tu'+'lane.edu', url='https://github.com/lo...
from distutils.core import setup #with open("README.md", "r") as fh: # long_description = fh.read() setup(name='pyviko', version='1.1.0.6', description='Design knockout viruses in Python', author='LJ Taylor', author_email='l'+'taylor'+str(3+4)+'@'+'tu'+'lane.edu', url='https://github.com/louiejtaylor/pyViKO'...
Python
0
4d58ec18e687d6e2c39eabf8678e20278df73e9d
Update test
test/util/test_procrunner.py
test/util/test_procrunner.py
from __future__ import division import dials.util.procrunner import mock import pytest @pytest.mark.skipif(dials.util.procrunner.dummy, reason='procrunner class set to dummy mode') @mock.patch('dials.util.procrunner._NonBlockingStreamReader') @mock.patch('dials.util.procrunner.time') @mock.patch('dials.util.procrunne...
from __future__ import division import dials.util.procrunner import mock import pytest @pytest.mark.skipif(dials.util.procrunner.dummy, reason='procrunner class set to dummy mode') @mock.patch('dials.util.procrunner._NonBlockingStreamReader') @mock.patch('dials.util.procrunner.time') @mock.patch('dials.util.procrunne...
Python
0.000001
01f33d9760d68e79913b8eee0174e8dfc46fbae7
remove the msl-loadlib version number in the dependency
setup.py
setup.py
import os import re import sys from setuptools import setup, find_packages sys.path.insert(0, os.path.join(os.path.abspath(os.path.dirname(__file__)), 'docs')) import docs_commands def read(filename): with open(filename) as fp: text = fp.read() return text def fetch_init(key): # open the __init...
import os import re import sys from setuptools import setup, find_packages sys.path.insert(0, os.path.join(os.path.abspath(os.path.dirname(__file__)), 'docs')) import docs_commands def read(filename): with open(filename) as fp: text = fp.read() return text def fetch_init(key): # open the __init...
Python
0
879915958ed8be4b57e2d53ca744a97b3429dd5e
Update setup.py
setup.py
setup.py
import sys sys.path.append('./pyCGM_Single') # TODO update to pycgm when fixed from _about import __version__ import setuptools with open("README.md", "r",encoding="utf8") as fh: long_description = fh.read() setuptools.setup( name="pyCGM", version= __version__, author="", # Many author_email="cad...
import sys sys.path.append('./pyCGM_Single') # TODO update to pycgm when fixed from _about import __version__ import setuptools with open("README.md", "r",encoding="utf8") as fh: long_description = fh.read() setuptools.setup( name="pyCGM", version= __version__, author="", # Many author_email="cad...
Python
0
c96dfa0387380da023f72b77b2d159e400d2f491
Update to the latest version of wptrunner.
setup.py
setup.py
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. from setuptools import setup PACKAGE_VERSION = '0.1' deps = ['fxos-appgen>=0.2.7', 'marionette_client>=0.7.1.1'...
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. from setuptools import setup PACKAGE_VERSION = '0.1' deps = ['fxos-appgen>=0.2.7', 'marionette_client>=0.7.1.1'...
Python
0
23301d890239db74ebd754175c11314c4d8a91ec
Remove the pbr version requirements in setup.py
setup.py
setup.py
#!/usr/bin/env python # Copyright (c) 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unle...
#!/usr/bin/env python # Copyright (c) 2013 Hewlett-Packard Development Company, L.P. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unle...
Python
0
50a89b33201e1ceec8207b705b3829a72bca51c4
Bump to version 10
setup.py
setup.py
from setuptools import setup, find_packages setup( name='kobold', version='10', packages=find_packages(), install_requires=['python-dateutil==2.2'], tests_require=['nosetests'], )
from setuptools import setup, find_packages setup( name='kobold', version='9', packages=find_packages(), install_requires=['python-dateutil==2.2'], tests_require=['nosetests'], )
Python
0
632f97f4e2e63735ff04e6a0fd689bf6f8fd6018
Set version to 2013.2
setup.py
setup.py
#!/usr/bin/env python # vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this...
#!/usr/bin/env python # vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this...
Python
0
974f8211b20020c29ed893b0541a50ec1d3ba79a
Add secret key to test
test.py
test.py
import sys import django from django.conf import settings if django.VERSION >= (2, 0, 0): middleware_settings_key = "MIDDLEWARE" else: middleware_settings_key = 'MIDDLEWARE_CLASSES' configuration = { 'DEBUG': True, 'DATABASES': { 'default': { 'ENGINE': 'django.db.backends.sqlite3',...
import sys import django from django.conf import settings if django.VERSION >= (2, 0, 0): middleware_settings_key = "MIDDLEWARE" else: middleware_settings_key = 'MIDDLEWARE_CLASSES' configuration = { 'DEBUG': True, 'DATABASES': { 'default': { 'ENGINE': 'django.db.backends.sqlite3',...
Python
0.000001
005a723b576c1ff3326524814f3461ffa01a5f36
add six to install_requires, refs #288
setup.py
setup.py
""" Based entirely on Django's own ``setup.py``. """ import os import sys from distutils.command.install_data import install_data from distutils.command.install import INSTALL_SCHEMES try: from setuptools import setup except ImportError: from distutils.core import setup # NOQA class osx_install_data(install_...
""" Based entirely on Django's own ``setup.py``. """ import os import sys from distutils.command.install_data import install_data from distutils.command.install import INSTALL_SCHEMES try: from setuptools import setup except ImportError: from distutils.core import setup # NOQA class osx_install_data(install_...
Python
0
64a069447b81cbfd6deb8cc753226fb8462ee4a2
test 5
test.py
test.py
import mwclient import MySQLdb from config import * # Test stuff # site = mwclient.Site('en.wikipedia.org') # page = site.Pages['Battle of Trenton'] # text = page.text() # print 'Trenton thingy: ', text.encode('utf-8') db = MySQLdb.connect( host = credentials['host'], user = credentials['user'], passwd = credentials[...
import mwclient import MySQLdb from config import * # Test stuff # site = mwclient.Site('en.wikipedia.org') # page = site.Pages['Battle of Trenton'] # text = page.text() # print 'Trenton thingy: ', text.encode('utf-8') db = MySQLdb.connect( host = credentials['host'], user = credentials['user'], passwd = credentials[...
Python
0.000035
7f18350b161c03e95afe9064d79236afc82f26b2
Update trove classifiers
setup.py
setup.py
from setuptools import setup setup( name='tangled.sqlalchemy', version='0.1a2.dev0', description='Tangled SQLAlchemy integration', long_description=open('README.rst').read(), url='http://tangledframework.org/', author='Wyatt Baldwin', author_email='self@wyattbaldwin.com', packages=[ ...
from setuptools import setup setup( name='tangled.sqlalchemy', version='0.1a2.dev0', description='Tangled SQLAlchemy integration', long_description=open('README.rst').read(), url='http://tangledframework.org/', author='Wyatt Baldwin', author_email='self@wyattbaldwin.com', packages=[ ...
Python
0.000001
a769a25fd6117c82020d40712444587658f1acf2
Handle distutils deprecation.
setup.py
setup.py
# Copyright (C) 2007-2009 Cournapeau David <cournape@gmail.com> # 2010 Fabian Pedregosa <fabian.pedregosa@inria.fr> # 2014 Gael Varoquaux # 2014-2016 Sergei Lebedev <superbobry@gmail.com> # 2018- Antony Lee from io import open import setuptools from setuptools ...
# Copyright (C) 2007-2009 Cournapeau David <cournape@gmail.com> # 2010 Fabian Pedregosa <fabian.pedregosa@inria.fr> # 2014 Gael Varoquaux # 2014-2016 Sergei Lebedev <superbobry@gmail.com> # 2018- Antony Lee from distutils.version import LooseVersion from io impo...
Python
0
90e144154f4b29ef0bd81c54546325fc62c7b649
set the version to 2.1.0
setup.py
setup.py
import os.path try: from setuptools import setup except ImportError: from distutils.core import setup ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) README_FILE = os.path.join(ROOT_DIR, "README.rst") with open(README_FILE) as f: long_description = f.read() setup( name="xutils", version="2...
import os.path try: from setuptools import setup except ImportError: from distutils.core import setup ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) README_FILE = os.path.join(ROOT_DIR, "README.rst") with open(README_FILE) as f: long_description = f.read() setup( name="xutils", version="2...
Python
0.999325
27655d233b8d45e97a713fd6035fd946aa142e1f
Change the version number
setup.py
setup.py
from setuptools import setup, find_packages setup( name="seed.xylem", version='0.0.3', url='http://github.com/praekeltfoundation/seed-xylem', license='MIT', description="A distributed service for managing container databases and shared storage", author='Colin Alston', author_email='colin@p...
from setuptools import setup, find_packages setup( name="seed.xylem", version='0.0.2', url='http://github.com/praekeltfoundation/seed-xylem', license='MIT', description="A distributed service for managing container databases and shared storage", author='Colin Alston', author_email='colin@p...
Python
0.999832
effa51d6752775b5dcd1b7c3afd7423414484b2d
bump version number
setup.py
setup.py
from setuptools import setup, find_packages setup( name='heospy', version='0.1.5', author='Stephan Heuel', author_email='mail@ping13.net', packages=find_packages(), entry_points = { 'console_scripts': ['heos_player=heospy.heos_player:main'], }, url='http://pypi.python.org/pypi/h...
from setuptools import setup, find_packages setup( name='heospy', version='0.1.4', author='Stephan Heuel', author_email='mail@ping13.net', packages=find_packages(), entry_points = { 'console_scripts': ['heos_player=heospy.heos_player:main'], }, url='http://pypi.python.org/pypi/h...
Python
0.000004
bfb0416df3547a7d2aa3dd4e0fc791ff5f7fd97e
Fix setup.py information
setup.py
setup.py
from distutils.core import setup import sys import fitparse requires = None if sys.version_info < (2, 7): requires = ['argparse'] setup( name='fitparse', version=fitparse.__version__, description='Python library to parse ANT/Garmin .FIT files', author='David Cooper, Kévin Gomez', author_ema...
from distutils.core import setup import sys import fitparse requires = None if sys.version_info < (2, 7): requires = ['argparse'] setup( name='fitparse', version=fitparse.__version__, description='Python library to parse ANT/Garmin .FIT files', author='David Cooper', author_email='dave@kupe...
Python
0
2fdce95486934464f1b4bb4e102492af206e8942
Bump version number. Semi-important bugfix.
setup.py
setup.py
from distutils.core import setup setup( name = "Cytoplasm", version = "0.06.2", author = "startling", author_email = "tdixon51793@gmail.com", url = "http://cytoplasm.somethingsido.com", keywords = ["blogging", "site compiler", "blog compiler"], description = "A static, blog-aware website ge...
from distutils.core import setup setup( name = "Cytoplasm", version = "0.06.1", author = "startling", author_email = "tdixon51793@gmail.com", url = "http://cytoplasm.somethingsido.com", keywords = ["blogging", "site compiler", "blog compiler"], description = "A static, blog-aware website ge...
Python
0
2fcde65de436ace5424ff2eb5893c6eb5cd07002
update setup.py to conform better to PyPi standards
setup.py
setup.py
# from distutils.core import setup import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name = 'pygameday', version = '0.3.4', author = 'Chris Anderson', author_email = 'christian.c.anderson@gmail.com', packages = setuptools.find_packages(), ...
from distutils.core import setup setup( name = 'pygameday', version = '0.3', author = 'Chris Anderson', author_email = 'christian.c.anderson@gmail.com', packages = ['pygameday'], url = 'https://github.com/chrander/pygameday', license='LICENSE.txt', description = 'Module for scraping, pa...
Python
0
faf475d93c8d357840959820627aedaaacfe29c8
fix for readthedocs
setup.py
setup.py
import os import sys import re from distutils.core import setup # long_description: Take from README file with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f: readme = f.read() # Version Number with open(os.path.join(os.path.dirname(__file__), 'xlwings', '__init__.py')) as f: version = re.co...
import os import sys import re from distutils.core import setup # long_description: Take from README file with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f: readme = f.read() # Version Number with open(os.path.join(os.path.dirname(__file__), 'xlwings', '__init__.py')) as f: version = re.co...
Python
0
aa96f3254241c03f244bdc3ce064b11078400918
disable yapf for setup.py
setup.py
setup.py
from setuptools import find_packages, setup def readme(): with open('README.rst') as f: return f.read() setup( name='icrawler', version='0.3.0', description='A mini framework of image crawlers', long_description=readme(), keywords='image crawler spider', packages=find_packages(),...
from setuptools import find_packages, setup def readme(): with open('README.rst') as f: return f.read() setup( name='icrawler', version='0.3.0', description='A mini framework of image crawlers', long_description=readme(), keywords='image crawler spider', packages=find_packages(),...
Python
0
b37d2a376dbcbb8c042934ee6950dafd90ec9c25
Bump pre-commit from 1.18.3 to 1.19.0
setup.py
setup.py
# -*- coding: utf-8 -*- import codecs import re import sys from setuptools import setup INSTALL_REQUIRES = ["click>=4.0", "click-completion>=0.3.1", "click-didyoumean>=0.0.3"] if "win32" in str(sys.platform).lower(): # Terminal colors for Windows INSTALL_REQUIRES.append("colorama>=0.2.4") EXTRAS_REQUIRE = {...
# -*- coding: utf-8 -*- import codecs import re import sys from setuptools import setup INSTALL_REQUIRES = ["click>=4.0", "click-completion>=0.3.1", "click-didyoumean>=0.0.3"] if "win32" in str(sys.platform).lower(): # Terminal colors for Windows INSTALL_REQUIRES.append("colorama>=0.2.4") EXTRAS_REQUIRE = {...
Python
0.000008
c0301ec4efcf84ec6e644aa48f716edfc570c092
remove redundant cythoning
setup.py
setup.py
# coding: utf-8 from __future__ import division, print_function __author__ = "adrn <adrn@astro.columbia.edu>" # Standard library import os, sys from distutils.core import setup from distutils.extension import Extension # Third-party import numpy as np from Cython.Distutils import build_ext from Cython.Build import ...
# coding: utf-8 from __future__ import division, print_function __author__ = "adrn <adrn@astro.columbia.edu>" # Standard library import os, sys from distutils.core import setup from distutils.extension import Extension # Third-party import numpy as np from Cython.Distutils import build_ext from Cython.Build import ...
Python
0.999981
9ebb25310f99b4a129c8efdfbd87d121051d66a6
Prepare for more development.
setup.py
setup.py
from distutils.core import setup setup( name='udiskie', version='0.3.8', description='Removable disk automounter for udisks', author='Byron Clark', author_email='byron@theclarkfamily.name', url='http://bitbucket.org/byronclark/udiskie', license='MIT', packages=[ 'udiskie', ]...
from distutils.core import setup setup( name='udiskie', version='0.3.7', description='Removable disk automounter for udisks', author='Byron Clark', author_email='byron@theclarkfamily.name', url='http://bitbucket.org/byronclark/udiskie', license='MIT', packages=[ 'udiskie', ]...
Python
0
35dbaef6d834cd34b3cfb9923fe73440a465b340
Fix bug in setup.py
setup.py
setup.py
#!/usr/bin/env python2.7 from setuptools import setup description = '''Adds a command to dynamically get the version from the VCS of choice''' with open('README.txt', 'r') as f: long_description = f.read() setup( author='Joost Molenaar', author_email='j.j.molenaar@gmail.com', url='https://github.com...
#!/usr/bin/env python2.7 from setuptools import setup description = '''Adds a command to dynamically get the version from the VCS of choice''' with open('README.txt', 'r') as f: long_description = f.read() setup( author='Joost Molenaar', author_email='j.j.molenaar@gmail.com', url='https://github.com...
Python
0
5263f87283a8890aacb2e1d7aaa9266635836723
fix pip install failure on mac os mojav with anaconda
setup.py
setup.py
# -*- coding: utf-8 -*- from setuptools import setup, find_packages import sys try: from Cython.Distutils import build_ext except ImportError: def build_ext(*args, **kwargs): from Cython.Distutils import build_ext return build_ext(*args, **kwargs) class lazy_extlist(list): def __init__(s...
# -*- coding: utf-8 -*- from setuptools import setup, find_packages import sys try: from Cython.Distutils import build_ext except ImportError: def build_ext(*args, **kwargs): from Cython.Distutils import build_ext return build_ext(*args, **kwargs) class lazy_extlist(list): def __init__(se...
Python
0
2022d618fd68894c92df7968d5e3ae4a8436ca88
add sqlalchemy and keyring to the requirement list of the setup file
setup.py
setup.py
#! /usr/bin/env python from distutils.core import setup setup(name='oemof-pg', version='0.0.1dev', description='The oemof postgis extension', package_dir={'oemof_pg': 'oemof_pg'}, install_requires=['sqlalchemy >= 1.0', 'keyring >= 4.0'])
#! /usr/bin/env python from distutils.core import setup setup( name='oemof-pg' , version='0.0.1dev' , description='The oemof postgis extension' , package_dir = {'oemof_pg': 'oemof_pg'} )
Python
0
6da15fd8f95638d919e47fe1150acce5a9401745
Add six to the requirements
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages import conveyor install_requires = [ "APScheduler", "forklift", "redis", "six", "xmlrpc2", ] setup( name="conveyor", version=conveyor.__version__, description="Warehouse and PyPI Synchronization", long_description...
#!/usr/bin/env python from setuptools import setup, find_packages import conveyor install_requires = [ "APScheduler", "forklift", "redis", "xmlrpc2", ] setup( name="conveyor", version=conveyor.__version__, description="Warehouse and PyPI Synchronization", long_description=open("READ...
Python
0.000017
f42904aee050b522b320c32d67c20afeb7021efd
Include the openquake-minimal.jar in the dist folder (DOH)
setup.py
setup.py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable...
Python
0.000008
a2af58c583397e978f841535580ba4a2bfd6cc0a
Upgrade black in hopes of fixing CI error running black
setup.py
setup.py
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
# Copyright 2021 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
Python
0
fa667269f789a3bfe64d2da772823ce99116c578
Fix RTD by making pytables optional in setup.py
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages # Sets the __version__ variable exec(open('calliope/_version.py').read()) setup( name='calliope', version=__version__, author='Stefan Pfenninger', author_email='stefan@pfenninger.org', description='A multi-scale energy systems (MU...
#!/usr/bin/env python from setuptools import setup, find_packages # Sets the __version__ variable exec(open('calliope/_version.py').read()) setup( name='calliope', version=__version__, author='Stefan Pfenninger', author_email='stefan@pfenninger.org', description='A multi-scale energy systems (MU...
Python
0
07e04b0bb699389eeb04b6c12f54a907c50b1f1c
Update setup.py(change version number, etc)
setup.py
setup.py
from setuptools import setup, find_packages setup( name='anomaly_detector', version='0.0.1', description='Anomaly detection library with Python', author='Hirofumi Tsuruta', packages=find_packages(exclude=('tests', 'docs')), include_package_data=True, test_suite='tests', install_requires...
from setuptools import setup, find_packages setup( name='anomaly_detector', version='1.0.0', packages=find_packages(exclude=('tests', 'docs')), include_package_data=True, test_suite='tests', install_requires=[ ] )
Python
0
f6f750e2ba83dd6b19b9bd701de467fcc44bdd02
Update version number to 0.1.6
setup.py
setup.py
from setuptools import setup install_requires = [ 'oauth2client>=1.3.2', 'pyOpenSSL==0.14', 'simplejson>=2.3.2', ] packages = ['identitytoolkit',] setup( name = 'identity-toolkit-python-client', packages = packages, install_requires = install_requires, license="Apache 2.0", version = '0.1.6', des...
from setuptools import setup install_requires = [ 'oauth2client>=1.3.2', 'pyOpenSSL==0.14', 'simplejson>=2.3.2', ] packages = ['identitytoolkit',] setup( name = 'identity-toolkit-python-client', packages = packages, install_requires = install_requires, license="Apache 2.0", version = '0.1.5', des...
Python
0.000009
c209ec1d98a85917c629c0dc259884da30d03f00
Bump version number
setup.py
setup.py
from setuptools import setup setup( name='discord-curious', version='0.1.1', packages=['curious', 'curious.http', 'curious.commands', 'curious.dataclasses', 'curious.ext'], url='https://github.com/SunDwarf/curious', license='MIT', author='Laura Dickinson', author_email='l@veriny.tf', de...
from setuptools import setup setup( name='discord-curious', version='0.1.0', packages=['curious', 'curious.http', 'curious.commands', 'curious.dataclasses', 'curious.ext'], url='https://github.com/SunDwarf/curious', license='MIT', author='Laura Dickinson', author_email='l@veriny.tf', de...
Python
0.000002
6242ea8a44e34d5c7dadf6d5c667c1d8170952ef
Update sphinx_rtd_theme
setup.py
setup.py
#!/usr/bin/env python from codecs import open from os import path from setuptools import setup here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() with open(path.join(here, 'gyazo/__about__.py')) as f: exec(f.read()) packa...
#!/usr/bin/env python from codecs import open from os import path from setuptools import setup here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() with open(path.join(here, 'gyazo/__about__.py')) as f: exec(f.read()) packa...
Python
0.000001
f09eddcc04ebcf74daf968a973d3275feaee3b66
correct email address
setup.py
setup.py
# -*- coding: utf-8 -*- from setuptools import setup, find_packages setup(name='yamlmd', version='0.1.4', description='Read and write to Markdown files with yaml headers', url='https://github.com/dougmet/yamlmd', author='Doug Ashton', author_email='douglas.j.ashton@gmail.com', lice...
# -*- coding: utf-8 -*- from setuptools import setup, find_packages setup(name='yamlmd', version='0.1.4', description='Read and write to Markdown files with yaml headers', url='https://github.com/dougmet/yamlmd', author='Doug Ashton', author_email='dashton@mango-solutions.com', lic...
Python
0.999218
af2f42fb652aea20d7fbbe7a6355408a98b40dba
Add dry-run to UploadBot
uploadlibrary/UploadBot.py
uploadlibrary/UploadBot.py
import sys import re import pywikibot import pywikibot.textlib as textlib import upload import data_ingestion from data_ingestion import Photo, DataIngestionBot class DataIngestionBot(DataIngestionBot): def _doUpload(self, photo): duplicates = photo.findDuplicateImages(self.site) if duplicates: ...
import sys import re import pywikibot import pywikibot.textlib as textlib import upload import data_ingestion from data_ingestion import Photo, DataIngestionBot class DataIngestionBot(DataIngestionBot): def _doUpload(self, photo): duplicates = photo.findDuplicateImages(self.site) if duplicates: ...
Python
0
d3edf99aafd2233a13cd3b86bae3628803eb64ff
update pyyaml (#29)
setup.py
setup.py
from setuptools import find_packages, setup setup( name="django-stardate", version="0.1.0.a5", author=u"Benjamin Turner", author_email="benturn@gmail.com", packages=find_packages(), url="https://github.com/blturner/django-stardate", download_url="https://github.com/blturner/django-stardate/...
from setuptools import find_packages, setup setup( name='django-stardate', version='0.1.0.a5', author=u'Benjamin Turner', author_email='benturn@gmail.com', packages=find_packages(), url='https://github.com/blturner/django-stardate', download_url='https://github.com/blturner/django-stardate/...
Python
0
d10bf29735da04789b4710519a2d4cc006d9d95e
Bump up version number to 0.7.
setup.py
setup.py
from setuptools import setup, find_packages long_description = ''' =========================================== tessagon: tessellation / tiling with python =========================================== Tessellate your favorite 3D surfaces (technically, 2D manifolds) with triangles, hexagons, or a number of other curated...
from setuptools import setup, find_packages long_description = ''' =========================================== tessagon: tessellation / tiling with python =========================================== Tessellate your favorite 3D surfaces (technically, 2D manifolds) with triangles, hexagons, or a number of other curated...
Python
0.000039
62388517c5b3c3ff37ebc65d097c76761ca07120
Remove pytest-runner from install_requires
setup.py
setup.py
#! /usr/bin/env python import os from setuptools import setup os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'test_settings') CLASSIFIERS = [ 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Progr...
#! /usr/bin/env python import os from setuptools import setup os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'test_settings') CLASSIFIERS = [ 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Progr...
Python
0
39974144af20ed4c4e2f110e345e75745e38bbc6
FIX #10
setup.py
setup.py
from distutils.core import setup setup( name = "django-templatetag-sugar", version = __import__("templatetag_sugar").__version__, author = "Alex Gaynor", author_email = "alex.gaynor@gmail.com", description = "A library to make Django's template tags sweet.", long_description = open("README.r...
from distutils.core import setup setup( name = "django-templatetag-sugar", version = __import__("templatetag_sugar").__version__, author = "Alex Gaynor", author_email = "alex.gaynor@gmail.com", description = "A library to make Django's template tags sweet.", long_description = open("README")...
Python
0
196f58111987bb42e8bbaf5d3d99d92366d298a2
fix broken homepage url
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup setup(name='aiohttp-json-rpc', version='0.2.1', author='Florian Scherf', url='https://github.com/pengutronix/aiohttp-json-rpc/', author_email='f.scherf@pengutronix.de', license='Apache 2.0', install_requires...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup setup(name='aiohttp-json-rpc', version='0.2.0', author='Florian Scherf', url='https://github.com/pengutronix/aiohttp-json-rpc/tree/doc', author_email='f.scherf@pengutronix.de', license='Apache 2.0', install_...
Python
0
3aabf183a84aeb8201f210fe3ee5e8cac7804297
update description for setup
setup.py
setup.py
__author__ = 'manu' import os from setuptools import setup, find_packages from oct import __version__ BASE_DIR = os.path.abspath(os.path.dirname(__file__)) setup( name='oct', version=__version__, author='Emmanuel Valette', author_email='manu.valette@gmail.com', packages=['oct', 'oct.core', 'oct.m...
__author__ = 'manu' import os from setuptools import setup, find_packages from oct import __version__ BASE_DIR = os.path.abspath(os.path.dirname(__file__)) setup( name='oct', version=__version__, author='Emmanuel Valette', author_email='manu.valette@gmail.com', packages=['oct', 'oct.core', 'oct.m...
Python
0
ad4a51f79ab51bb64e91bc716758295dd071072d
Upgrade scramp to latest version
setup.py
setup.py
#!/usr/bin/env python import versioneer from setuptools import setup long_description = """\ pg8000 ------ pg8000 is a Pure-Python interface to the PostgreSQL database engine. It is \ one of many PostgreSQL interfaces for the Python programming language. pg8000 \ is somewhat distinctive in that it is written entir...
#!/usr/bin/env python import versioneer from setuptools import setup long_description = """\ pg8000 ------ pg8000 is a Pure-Python interface to the PostgreSQL database engine. It is \ one of many PostgreSQL interfaces for the Python programming language. pg8000 \ is somewhat distinctive in that it is written entir...
Python
0
943ea720f49c3b15d7fa08c39af3db4697550022
Update authors
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import find_packages, setup with open('README.md') as file: long_description = file.read() setup( name='django-qa', version='0.0.1', description='Pluggable django app for Q&A', long_description=long_description, author='arjunkomath,...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import find_packages, setup with open('README.md') as file: long_description = file.read() setup( name='django-qa', version='0.0.1', description='Pluggable django app for Q&A', long_description=long_description, author='arjunkomath,...
Python
0
f96eaa7bea3536c8843c2059757dabf005a63a42
Add include_package_data=True to setup.py.
setup.py
setup.py
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compli...
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compli...
Python
0
29518e734b9026c47abb28037e8abeeb4e18a61d
add markov-clustering as a dependency
setup.py
setup.py
#!/usr/bin/env python3 from setuptools import setup, find_packages, Extension import os import io import re import numpy def read(*names, **kwargs): with io.open( os.path.join(os.path.dirname(__file__), *names), encoding=kwargs.get("encoding", "utf8") ) as fp: return fp.read() def fi...
#!/usr/bin/env python3 from setuptools import setup, find_packages, Extension import os import io import re import numpy def read(*names, **kwargs): with io.open( os.path.join(os.path.dirname(__file__), *names), encoding=kwargs.get("encoding", "utf8") ) as fp: return fp.read() def fi...
Python
0.000001
a26e023272b3b99cfa7578dcaa8570b8e451e03b
switch to pyannote.algorithms 0.8
setup.py
setup.py
#!/usr/bin/env python # encoding: utf-8 # The MIT License (MIT) # Copyright (c) 2015-2018 CNRS # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limita...
#!/usr/bin/env python # encoding: utf-8 # The MIT License (MIT) # Copyright (c) 2015-2018 CNRS # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limita...
Python
0.000002
5ffa6281781215a165256b6bd57aea25e63b9902
bump version
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup for cmd in ('egg_info', 'develop'): import sys if cmd in sys.argv: from setuptools import setup version='0.3.1' setup( name='port-for', version=version, author='Mikhail Korobov', author_email='kmike84@gmail.com', packages=['p...
#!/usr/bin/env python from distutils.core import setup for cmd in ('egg_info', 'develop'): import sys if cmd in sys.argv: from setuptools import setup version='0.3' setup( name='port-for', version=version, author='Mikhail Korobov', author_email='kmike84@gmail.com', packages=['por...
Python
0
16364ea9a1e7f0c0a79b2c6dbef71733dad89285
Bump version
setup.py
setup.py
from setuptools import setup, find_packages setup( name="cpgintegrate", version="0.1.0", packages=find_packages(), include_package_data=True, install_requires=[ 'requests>=2.10', 'lxml>=3', 'pandas>=0.18.1', 'xlrd', 'walrus', ] )
from setuptools import setup, find_packages setup( name="cpgintegrate", version="0.0.1", packages=find_packages(), include_package_data=True, install_requires=[ 'requests>=2.10', 'lxml>=3', 'pandas>=0.18.1', 'xlrd', 'walrus', ] )
Python
0
57587e536edd06682abcad1b2256358df3f874cc
Fix python3 compability for release check. Make sure we can run release check on shallow clone
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import re from setuptools import setup, find_packages, Command readme = open('README.rst').read() history = open('HISTORY.rst').read().replace('.. :changelog:', '') def read_reqs(name): with open(os.path.join(os.path.dirname(__file__), name)) as f: ...
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import re from setuptools import setup, find_packages, Command readme = open('README.rst').read() history = open('HISTORY.rst').read().replace('.. :changelog:', '') def read_reqs(name): with open(os.path.join(os.path.dirname(__file__), name)) as f: ...
Python
0
ebdaac2211b3fff048b421b07ddfd20a0b162683
add description
setup.py
setup.py
import os from setuptools import setup here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.rst')) as f: README = f.read() with open(os.path.join(here, 'CHANGES.txt')) as f: CHANGES = f.read() install_requires = [ 'babel', 'pyramid', 'pytz', ] tests_require = in...
import os from setuptools import setup here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.rst')) as f: README = f.read() with open(os.path.join(here, 'CHANGES.txt')) as f: CHANGES = f.read() install_requires = [ 'babel', 'pyramid', 'pytz', ] tests_require = in...
Python
0.000004
71a8ba9fef93a9918f71852d2dbb7a023583d017
Fix setup.py
setup.py
setup.py
from setuptools import setup setup( name='python-ev3dev', version='0.0.1', description='Python language bindings for ev3dev', author='Ralph Hempel', license='MIT', url='https://github.com/rhempel/ev3dev-lang-python', include_package_data=True, py_modules=['ev3dev'] )
from setuptools import setup setup( name='python-ev3dev', version='0.0.1', description='Python language bindings for ev3dev', author='Ralph Hempel', license='MIT', url='https://github.com/rhempel/ev3dev-lang-python', include_package_data=True, packages=['ev3dev'] )
Python
0.000484
14adcaa2f7b01695ca7a975cc4c0de8602f25cc6
Bump version
setup.py
setup.py
from setuptools import setup with open("README.md", "r") as fh: long_description = fh.read() config = { 'name': 'timew-report', 'version': '1.3.1', 'description': 'An interface for TimeWarrior report data', 'long_description': long_description, 'long_description_content_type': 'text/markdown',...
from setuptools import setup with open("README.md", "r") as fh: long_description = fh.read() config = { 'name': 'timew-report', 'version': '1.3.0', 'description': 'An interface for TimeWarrior report data', 'long_description': long_description, 'long_description_content_type': 'text/markdown',...
Python
0
aaa094dd48e99d36a9dd9db513063b11cb86f92a
Bump version to 1.4
setup.py
setup.py
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() setup( name='django-postgres-extra', version='1.4', packages=find_packages(), include_package_data=True, license='MIT License', descript...
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() setup( name='django-postgres-extra', version='1.3', packages=find_packages(), include_package_data=True, license='MIT License', descript...
Python
0
3c411b1bf016ce1b216ab7ad547c85862ab2519b
Add brackets around print() for python 3 compatibility
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup import re import os import sys name = 'rest_condition' package = 'rest_condition' description = 'Complex permissions flow for django-rest-framework' url = 'https://github.com/caxap/rest_condition' author = 'Maxim Kamenkov' author_email = 'mka...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup import re import os import sys name = 'rest_condition' package = 'rest_condition' description = 'Complex permissions flow for django-rest-framework' url = 'https://github.com/caxap/rest_condition' author = 'Maxim Kamenkov' author_email = 'mka...
Python
0.000009
17b070cac7f0886ea587c1ed459068071198af0a
Add pytest-mock to setup.py
setup.py
setup.py
#!/usr/bin/env python import os import sys from setuptools import setup, find_packages from will import __name__ as PACKAGE_NAME from will import VERSION DESCRIPTION = "A friendly python hipchat bot" ROOT_DIR = os.path.dirname(__file__) SOURCE_DIR = os.path.join(ROOT_DIR) REQS_DIR = os.path.join(ROOT_DIR, "will", "req...
#!/usr/bin/env python import os import sys from setuptools import setup, find_packages from will import __name__ as PACKAGE_NAME from will import VERSION DESCRIPTION = "A friendly python hipchat bot" ROOT_DIR = os.path.dirname(__file__) SOURCE_DIR = os.path.join(ROOT_DIR) REQS_DIR = os.path.join(ROOT_DIR, "will", "req...
Python
0.000001
c5e40282485720c13c32efae49d3b2f25edcb970
Work on relative file names
tests/base/test_tensor_io.py
tests/base/test_tensor_io.py
from __future__ import print_function import numpy as np import unittest import os import discretize try: import vtk except ImportError: has_vtk = False else: has_vtk = True class TestTensorMeshIO(unittest.TestCase): def setUp(self): h = np.ones(16) mesh = discretize.TensorMesh([h, 2...
from __future__ import print_function import numpy as np import unittest import os import discretize try: import vtk except ImportError: has_vtk = False else: has_vtk = True class TestTensorMeshIO(unittest.TestCase): def setUp(self): h = np.ones(16) mesh = discretize.TensorMesh([h, 2...
Python
0.000001
f7060d983022438008a1de7f865d478bf266651c
add version classifiers
setup.py
setup.py
#!/usr/bin/env python3 from setuptools import setup setup( name='jenkins-job-manager', version='0.1.0', description='Generate job configuration files for Jenkins.', url='https://github.com/FunTimeCoding/jenkins-job-manager', author='Alexander Reitzel', author_email='funtimecoding@gmail.com', ...
#!/usr/bin/env python3 from setuptools import setup setup( name='jenkins-job-manager', version='0.1.0', description='Generate job configuration files for Jenkins.', url='https://github.com/FunTimeCoding/jenkins-job-manager', author='Alexander Reitzel', author_email='funtimecoding@gmail.com', ...
Python
0.000001
7bab32ef89d760a8cf4aeb2700725ea88e3fc31c
Add further tests for class defining __hash__.
tests/basics/builtin_hash.py
tests/basics/builtin_hash.py
# test builtin hash function print(hash(False)) print(hash(True)) print({():1}) # hash tuple print({1 << 66:1}) # hash big int print(hash in {hash:1}) # hash function try: hash([]) except TypeError: print("TypeError") class A: def __hash__(self): return 123 def __repr__(self): return ...
# test builtin hash function print(hash(False)) print(hash(True)) print({():1}) # hash tuple print({1 << 66:1}) # hash big int print(hash in {hash:1}) # hash function try: hash([]) except TypeError: print("TypeError") class A: def __hash__(self): return 123 def __repr__(self): return ...
Python
0
fab3072a32a2ee5f8317f7fc8301c470525ec6d8
update setup.py info
setup.py
setup.py
from __future__ import with_statement from setuptools import setup def get_version(): with open('itunesiap/version.txt') as f: return f.read().strip() def get_readme(): try: with open('README.rst') as f: return f.read().strip() except IOError: return '' setup( ...
from __future__ import with_statement from setuptools import setup def get_version(): with open('itunesiap/version.txt') as f: return f.read().strip() def get_readme(): try: with open('README.rst') as f: return f.read().strip() except IOError: return '' setup( ...
Python
0
1ae4aa4dd7fd77f323792fa6c7941dc525f93a15
Update core dependency to google-cloud-core >= 0.23.0, < 0.24dev. (#3028)
setup.py
setup.py
# Copyright 2016 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
# Copyright 2016 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
Python
0
108554d8366611658870e038b05049f4eb273d88
Bump version to 3.3m1
setup.py
setup.py
######## # Copyright (c) 2013 GigaSpaces Technologies Ltd. All rights reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
######## # 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
d4b8a64dabe31d09b9e53bb42bae3fcd737d2984
Set license to 'MIT'
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup short_description = 'Robot Framework wrapper for faker, a fake test data generator' try: description = open('README.md').read() except IOError: description = short_description try: license = open('LICENSE').read() except IOError: license = 'MIT Licen...
#!/usr/bin/env python from setuptools import setup short_description = 'Robot Framework wrapper for faker, a fake test data generator' try: description = open('README.md').read() except IOError: description = short_description try: license = open('LICENSE').read() except IOError: license = 'MIT Licen...
Python
0.000008
05c767e689002dd79e306b9deacad42aeb9c436e
Allow setup.py to be used anywhere
setup.py
setup.py
from setuptools import setup from Cython.Build import cythonize import numpy as np import os os.chdir(os.path.dirname(__file__)) __version__ = None exec(open('volpy/version.py').read()) setup( name='volpy', version=__version__, ext_modules=cythonize('volpy/*.pyx'), include_dirs=[np.get_include()], ...
from setuptools import setup from Cython.Build import cythonize import numpy as np __version__ = None exec(open('volpy/version.py').read()) setup( name='volpy', version=__version__, ext_modules=cythonize('volpy/*.pyx'), include_dirs=[np.get_include()], packages=['volpy'], include_package_data...
Python
0
e34b9a4d2ba732563c150985f1a6a2e70285b24e
Add entry point pysswords script to setup
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup __version__ = "0.0.7" requirements = [pkg.strip() for pkg in open('requirements.txt').readlines()] with open("README.rst") as f: long_description = f.read() + '\n' setup( name='pysswords', version=__version__, license='License :: OSI Approved :: M...
#!/usr/bin/env python from setuptools import setup __version__ = "0.0.7" requirements = [pkg.strip() for pkg in open('requirements.txt').readlines()] with open("README.rst") as f: long_description = f.read() + '\n' setup( name='pysswords', version=__version__, license='License :: OSI Approved :: M...
Python
0
957a8d4a1cecc1be1a804f3ef284d4c8eca4e18a
Bump version to 1.0
setup.py
setup.py
from setuptools import setup, find_packages setup( name='panoptes_client', url='https://github.com/zooniverse/panoptes-python-client', author='Adam McMaster', author_email='adam@zooniverse.org', version='1.0', packages=find_packages(), include_package_data=True, install_requires=[ ...
from setuptools import setup, find_packages setup( name='panoptes_client', url='https://github.com/zooniverse/panoptes-python-client', author='Adam McMaster', author_email='adam@zooniverse.org', version='0.10', packages=find_packages(), include_package_data=True, install_requires=[ ...
Python
0
87ba6c0368fe179c8c838466948234f2a5254395
Fix loose deps
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- try: import setuptools except ImportError: import distutils.core as setuptools import os import re import sys ver = sys.version_info # XXX as ugly as this looks, namespaces break terribly otherwise filename = './docker_registry/server/__init__.py' exec(compile(o...
#!/usr/bin/env python # -*- coding: utf-8 -*- try: import setuptools except ImportError: import distutils.core as setuptools import os import re import sys ver = sys.version_info # XXX as ugly as this looks, namespaces break terribly otherwise filename = './docker_registry/server/__init__.py' exec(compile(o...
Python
0
872325589f6ab83f27170eaef01021f0b5b5359d
When run under nose, generated name is not necessarily _STD_ANON_1
tests/drivers/test-facets.py
tests/drivers/test-facets.py
import pyxb.binding.generate import pyxb.utils.domutils from xml.dom import Node import os.path schema_path = '%s/../schemas/test-facets.xsd' % (os.path.dirname(__file__),) code = pyxb.binding.generate.GeneratePython(schema_file=schema_path) rv = compile(code, 'test', 'exec') eval(rv) from pyxb.exceptions_ import * ...
import pyxb.binding.generate import pyxb.utils.domutils from xml.dom import Node import os.path schema_path = '%s/../schemas/test-facets.xsd' % (os.path.dirname(__file__),) code = pyxb.binding.generate.GeneratePython(schema_file=schema_path) rv = compile(code, 'test', 'exec') eval(rv) from pyxb.exceptions_ import * ...
Python
0.999324
98c6d3c3b53f3409677fab5e234c096790386a1c
Prepare openprocurement.auth 1.0.0.dev8.
setup.py
setup.py
from setuptools import setup, find_packages import os version = '1.0.0.dev8' setup(name='openprocurement.auth', version=version, description="", long_description=open("README.txt").read() + "\n" + open(os.path.join("docs", "HISTORY.txt")).read(), # Get more strings from ...
from setuptools import setup, find_packages import os version = '1.0.0.dev7' setup(name='openprocurement.auth', version=version, description="", long_description=open("README.txt").read() + "\n" + open(os.path.join("docs", "HISTORY.txt")).read(), # Get more strings from ...
Python
0
5709801ddb760480a5643064af49f723f2f38898
Fix for easy_install
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup setup( name='django-generic-images', version='0.12', author='Mikhail Korobov', author_email='kmike84@gmail.com', url='http://bitbucket.org/kmike/django-generic-images/', description = 'Generic images pluggable djang...
#!/usr/bin/env python from distutils.core import setup setup( name='django-generic-images', version='0.11b', author='Mikhail Korobov', author_email='kmike84@gmail.com', url='http://bitbucket.org/kmike/django-generic-images/', description = 'Generic images pluggable djan...
Python
0
425a384436ff4c9d3521755aadc2b37f583729c6
fix link
setup.py
setup.py
from setuptools import setup, find_packages import io def read_all(f): with io.open(f, encoding="utf-8") as I: return I.read() requirements = list(map(str.strip, open("requirements.txt").readlines())) setup( name='redisgraph', version='2.1.2', description='RedisGraph Python Client', lon...
from setuptools import setup, find_packages import io def read_all(f): with io.open(f, encoding="utf-8") as I: return I.read() requirements = list(map(str.strip, open("requirements.txt").readlines())) setup( name='redisgraph', version='2.1.2', description='RedisGraph Python Client', lon...
Python
0
4d6fdc98fd681a78eeeff6041efdfe7107a9743c
Set new minimum pytz version
setup.py
setup.py
from setuptools import setup, find_packages import account setup( name="django-user-accounts", version=account.__version__, author="Brian Rosner", author_email="brosner@gmail.com", description="a Django user account app", long_description=open("README.rst").read(), license="MIT", url=...
from setuptools import setup, find_packages import account setup( name="django-user-accounts", version=account.__version__, author="Brian Rosner", author_email="brosner@gmail.com", description="a Django user account app", long_description=open("README.rst").read(), license="MIT", url=...
Python
0
2f09db445fae93c7db51493ca34e53cc9ce1b51f
Bump version: 0.0.21 → 0.0.22
setup.py
setup.py
# /setup.py # # Installation and setup script for travis-bump-version # # See /LICENCE.md for Copyright information """Installation and setup script for travis-bump-version.""" from setuptools import find_packages from setuptools import setup setup(name="travis-bump-version", version="0.0.22", description...
# /setup.py # # Installation and setup script for travis-bump-version # # See /LICENCE.md for Copyright information """Installation and setup script for travis-bump-version.""" from setuptools import find_packages from setuptools import setup setup(name="travis-bump-version", version="0.0.21", description...
Python
0
0936621b0a4162589560cc112f4f8e4425fed652
Change to semantic version number
setup.py
setup.py
from setuptools import setup, find_packages setup( name = "django-ajax-utilities", version = '1.2.0', url = 'https://github.com/citylive/django-ajax-utilities', license = 'BSD', description = "Pagination, xhr and tabbing utilities for the Django framework.", long_description = open('README','r'...
from setuptools import setup, find_packages setup( name = "django-ajax-utilities", url = 'https://github.com/citylive/django-ajax-utilities', license = 'BSD', description = "Pagination, xhr and tabbing utilities for the Django framework.", long_description = open('README','r').read(), author = ...
Python
0.000586
356a5264ac62408289703eaf46598a9d5bc8a34d
add some more paths
setup.py
setup.py
from distutils.core import setup, Extension from glob import glob import time, sys mod = Extension( 'musicplayer', sources = glob("*.cpp"), depends = glob("*.h") + glob("*.hpp"), extra_compile_args = ["--std=c++11"], undef_macros = ['NDEBUG'], libraries = [ 'avutil', 'avformat', 'avcodec', 'swresample'...
from distutils.core import setup, Extension from glob import glob import time mod = Extension( 'musicplayer', sources = glob("*.cpp"), depends = glob("*.h") + glob("*.hpp"), extra_compile_args = ["--std=c++11"], undef_macros = ['NDEBUG'], libraries = [ 'avutil', 'avformat', 'avcodec', 'swresample', '...
Python
0
426d7d622306d4f6b0ca2805b4abe63b0fac66df
Fix setup info
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- """Setup package.""" from setuptools import setup, find_packages import os import imp import traceback def get_version(): """Get version and version_info without importing the entire module.""" devstatus = { 'alpha': '3 - Alpha', 'beta': '4 - Beta...
#!/usr/bin/env python # -*- coding: utf-8 -*- """Setup package.""" from setuptools import setup, find_packages import os import imp import traceback def get_version(): """Get version and version_info without importing the entire module.""" devstatus = { 'alpha': '3 - Alpha', 'beta': '4 - Beta...
Python
0
e241ddd88bfe861eec4f995ae142fd68b646e89b
Update for newer version
setup.py
setup.py
import os from setuptools import setup, find_packages def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='django-theherk-updates', version='1.3.0', packages=find_packages(), include_package_data=True, license='see file LICENSE', description='Dj...
import os from setuptools import setup, find_packages def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='django-theherk-updates', version='1.2', packages=find_packages(), include_package_data=True, license='see file LICENSE', description='Djan...
Python
0
680311f8663abe4f496850296e1ee434679a8135
Bump version to 0.2.2
setup.py
setup.py
#!/usr/bin/env python import os from distutils.core import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='mayo', version='0.2.2', description='Thin wrapper around source control systems', long_description=read("README"), author='Michael ...
#!/usr/bin/env python import os from distutils.core import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='mayo', version='0.2.1', description='Thin wrapper around source control systems', long_description=read("README"), author='Michael ...
Python
0.000002
b84cd656dddf9d43acda9b826bc013d71ec2c590
Use uuid.getnode() to generate consistent install id (#380)
setup.py
setup.py
""" Copyright 2015 BlazeMeter Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software...
""" Copyright 2015 BlazeMeter Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software...
Python
0
9712dd202f4fe5ee3938dbea987ced267a5199e5
Change version to v0.3.2. Release Notes: fix the incorrect attribute accessing in class Option.
setup.py
setup.py
from setuptools import setup, find_packages setup( name='pyhaproxy', version='0.3.2', keywords=('haproxy', 'parse'), description='A Python library to parse haproxy configuration file', license='MIT License', install_requires=[], include_package_data=True, package_data={ 'pyhapr...
from setuptools import setup, find_packages setup( name='pyhaproxy', version='0.3.0', keywords=('haproxy', 'parse'), description='A Python library to parse haproxy configuration file', license='MIT License', install_requires=[], include_package_data=True, package_data={ 'pyhapr...
Python
0
a3d35fbbb6650a467f7ffe0abb651c51c2781c98
update setup version for 0.7.19
setup.py
setup.py
from setuptools import setup from setuptools.command.sdist import sdist import subprocess class TitoDist(sdist): def run(self): subprocess.call(["tito", "build", "--tgz", "-o", "."]) def get_requirements(requirements_file='requirements.txt'): with open(requirements_file) as f: return [ ...
from setuptools import setup from setuptools.command.sdist import sdist import subprocess class TitoDist(sdist): def run(self): subprocess.call(["tito", "build", "--tgz", "-o", "."]) def get_requirements(requirements_file='requirements.txt'): with open(requirements_file) as f: return [ ...
Python
0
0112ec2ec3698834c36d56ab4d8b08628808e348
Bump version
setup.py
setup.py
import sys import os.path import setuptools needs_pytest = set(['pytest', 'test', 'ptr']).intersection(sys.argv) pytest_runner = ['pytest-runner'] if needs_pytest else [] REQUIREMENT_DIR = "requirements" with open("README.rst") as fp: long_description = fp.read() with open(os.path.join("docs", "pages", "introd...
import sys import os.path import setuptools needs_pytest = set(['pytest', 'test', 'ptr']).intersection(sys.argv) pytest_runner = ['pytest-runner'] if needs_pytest else [] REQUIREMENT_DIR = "requirements" with open("README.rst") as fp: long_description = fp.read() with open(os.path.join("docs", "pages", "introd...
Python
0
3232f9c1a0cb864033e1fd62b3b8edffc1eca5ff
disable WIP sparse tests with multihreading
tests/python/test_dynamic.py
tests/python/test_dynamic.py
import taichi as ti @ti.all_archs def test_dynamic(): x = ti.var(ti.f32) n = 128 @ti.layout def place(): ti.root.dynamic(ti.i, n, 32).place(x) @ti.kernel def func(): pass for i in range(n): x[i] = i for i in range(n): assert x[i] == i @ti.all_archs def test_dynamic2(): if ti.cf...
import taichi as ti @ti.all_archs def test_dynamic(): x = ti.var(ti.f32) n = 128 @ti.layout def place(): ti.root.dynamic(ti.i, n, 32).place(x) @ti.kernel def func(): pass for i in range(n): x[i] = i for i in range(n): assert x[i] == i @ti.all_archs def test_dynamic2(): if ti.cf...
Python
0
4625bc72cb942d9022928b2a4444fee769aef013
update version number
setup.py
setup.py
from setuptools import setup, find_packages setup( name = 'kaggle', version = '1.0.5', description = 'Kaggle API', long_description = 'Official API for https://www.kaggle.com, accessible using a command line tool implemented in Python. Beta release - Kaggle reserves the right to modify the API function...
from setuptools import setup, find_packages setup( name = 'kaggle', version = '1.0.4', description = 'Kaggle API', long_description = 'Official API for https://www.kaggle.com, accessible using a command line tool implemented in Python. Beta release - Kaggle reserves the right to modify the API function...
Python
0.000002
782adff84ee7aaa3301a1c55e7afa30d27916816
Fix package versions.
setup.py
setup.py
# Copyright 2022 DeepMind Technologies Limited. 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 required by a...
# Copyright 2022 DeepMind Technologies Limited. 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 required by a...
Python
0.000025
8e9c2ec76bdcd1711c525ef34c09413626a7ee95
remove python-daemon dependency
setup.py
setup.py
from setuptools import setup, find_packages import os home = [] for path, subdirs, files in os.walk('vmmaster/home'): path = path.replace('vmmaster/', '') for name in files: home.append(os.path.join(path, name)) setup( name='vmmaster', version='0.1', description='Python KVM-based virtual ...
from setuptools import setup, find_packages import os home = [] for path, subdirs, files in os.walk('vmmaster/home'): path = path.replace('vmmaster/', '') for name in files: home.append(os.path.join(path, name)) setup( name='vmmaster', version='0.1', description='Python KVM-based virtual ...
Python
0.00002
06e95f36d335a2d3912fb288fff7d376bba5078f
Enforce double quotes for English sentences
setup.py
setup.py
import codecs import os import re import setuptools def find_version(*file_paths): # Credits: https://packaging.python.org/single_source_version. here = os.path.abspath(os.path.dirname(__file__)) with codecs.open(os.path.join(here, *file_paths), 'r', 'utf8') as f: version_file = f.read() vers...
import codecs import os import re import setuptools def find_version(*file_paths): # Credits: https://packaging.python.org/single_source_version. here = os.path.abspath(os.path.dirname(__file__)) with codecs.open(os.path.join(here, *file_paths), 'r', 'utf8') as f: version_file = f.read() vers...
Python
0.015519