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
860cdbf4cbfa36d668ccc58c777dcc7f33ca494b
change version!
setup.py
setup.py
#!/usr/bin/env python import codecs import os from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) def read_file(filename): """Open a related file and return its content.""" with codecs.open(os.path.join(here, filename), encoding='utf-8') as f: content = f.rea...
#!/usr/bin/env python import codecs import os from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) def read_file(filename): """Open a related file and return its content.""" with codecs.open(os.path.join(here, filename), encoding='utf-8') as f: content = f.rea...
Python
0
a6495e0ecdb0187c3ec0bed038b01a2fe55227d2
Update library tests to include backend
tests/stream/test_library.py
tests/stream/test_library.py
from __future__ import absolute_import, unicode_literals import mock import pytest from mopidy.internal import path from mopidy.models import Track from mopidy.stream import actor from tests import path_to_data_dir @pytest.fixture def config(): return { 'proxy': {}, 'stream': { 'ti...
from __future__ import absolute_import, unicode_literals import mock import pytest from mopidy.audio import scan from mopidy.internal import path from mopidy.models import Track from mopidy.stream import actor from tests import path_to_data_dir @pytest.fixture def scanner(): return scan.Scanner(timeout=100, p...
Python
0
4ed7e3dba1214d2b30d4149fe510054ff46ce721
Fix screw-up in last commit: entry point is main, not setup_main
setup.py
setup.py
import sys from setuptools import setup, find_packages if sys.version_info[0] < 3: sys.exit("This package does not work with Python 2.") # You can't just put `from pypandoc import convert` at the top of your # setup.py and then put `description=convert("README.md", "rst")` in # your `setup()` invocation, because...
import sys from setuptools import setup, find_packages if sys.version_info[0] < 3: sys.exit("This package does not work with Python 2.") # You can't just put `from pypandoc import convert` at the top of your # setup.py and then put `description=convert("README.md", "rst")` in # your `setup()` invocation, because...
Python
0.000009
e2e56c9965d0781fc427b28f984c05a00dc2be68
Bump version to 0.3.93
setup.py
setup.py
#!/usr/bin/env python try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup version = '0.3.93' setup(name='mi-instrument', version=version, description='OOINet Marine Integrations', url='https://github.com/oceanobservatories/mi-instrument', ...
#!/usr/bin/env python try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup version = '0.3.92' setup(name='mi-instrument', version=version, description='OOINet Marine Integrations', url='https://github.com/oceanobservatories/mi-instrument', ...
Python
0.000001
a3a1a2ad17bc856ccb83bb2098f11d1dfdc91a44
Fix name of bs4
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages setup(name='debian-devel-changes-bot', packages=find_packages(), install_requires=['beautifulsoup4', 'python-debian', 'requests', 'pydbus'])
#!/usr/bin/env python from setuptools import setup, find_packages setup(name='debian-devel-changes-bot', packages=find_packages(), install_requires=['bs4', 'python-debian', 'requests', 'pydbus'])
Python
0.999999
fb4512783a81474fa5d5aa1641561ec337a8989e
Remove Python 2.6 classifier from setup.py
setup.py
setup.py
import sys from setuptools import setup, find_packages py26_dependency = [] if sys.version_info[:2] <= (2, 6): py26_dependency = ["argparse >= 1.1", "ordereddict >= 1.1"] setup( name='dataset', version='0.7.1', description="Toolkit for Python-based data processing.", long_description="", clas...
import sys from setuptools import setup, find_packages py26_dependency = [] if sys.version_info[:2] <= (2, 6): py26_dependency = ["argparse >= 1.1", "ordereddict >= 1.1"] setup( name='dataset', version='0.7.1', description="Toolkit for Python-based data processing.", long_description="", clas...
Python
0.003628
b89a469d83d93f0d29e3fe1a400f9a1ca22db4af
Update TestJWTAuthentication.test_get_payload
tests/test_authentication.py
tests/test_authentication.py
from __future__ import unicode_literals from datetime import datetime, timedelta from django.test import TestCase from django.utils.six.moves import reload_module from jose import jwt from rest_framework.exceptions import AuthenticationFailed from rest_framework.test import APIRequestFactory from rest_framework_simpl...
from __future__ import unicode_literals from datetime import datetime, timedelta from django.test import TestCase from django.utils.six.moves import reload_module from jose import jwt from rest_framework.exceptions import AuthenticationFailed from rest_framework.test import APIRequestFactory from rest_framework_simpl...
Python
0.000001
4bea05c2105fcc85ad87dac2fe6583e7da09e58f
update test_single_day_simulation() to use keyword arguments; add abandon dist
tests/test_day_simulation.py
tests/test_day_simulation.py
from .. import stimulus import random def test_single_day_simulation(): agent1_schedule = stimulus.AgentSchedule() agent2_schedule = stimulus.AgentSchedule(regular_start=30600, regular_end=(3600*16.5 + 1800), regular_lunch=(3600*12 + 1800)) agent1 = stimulus.Agent(agent1_schedule) agent2 = stimulus....
from .. import stimulus import random def test_single_day_simulation(): agent1_schedule = stimulus.AgentSchedule() agent2_schedule = stimulus.AgentSchedule(regular_start=30600, regular_end=(3600*16.5 + 1800), regular_lunch=(3600*12 + 1800)) agent1 = stimulus.Agent(agent1_schedule) agent2 = stimulus....
Python
0
4575d548911695e2285a0ab0cade5e10511b3870
Update setup.py
setup.py
setup.py
#!/usr/bin/env python ''' Copyright (c) 2016 Tim Savannah All Rights Reserved. This software is licensed under the terms of the GPLv2. You should have received a copy of this with the source distribution as LICENSE, otherwise the most up to date license can be found at https://github.com/kata198/us...
#!/usr/bin/env python ''' Copyright (c) 2016 Tim Savannah All Rights Reserved. This software is licensed under the terms of the GPLv2. You should have received a copy of this with the source distribution as LICENSE, otherwise the most up to date license can be found at https://github.com/kata198/us...
Python
0.000001
24cf02b76ca99abb0ae09284b312ca6b250d773f
add comma after readme
setup.py
setup.py
import os from setuptools import setup, find_packages import emit def read(fname): try: return open(os.path.join(os.path.dirname(__file__), fname)).read() except IOError: # for tox return '' setup( # System information name='emit', version=emit.__version__, packages=find_pack...
import distribute_setup distribute_setup.use_setuptools() import os from setuptools import setup, find_packages import emit def read(fname): try: return open(os.path.join(os.path.dirname(__file__), fname)).read() except IOError: # for tox return '' setup( # System information name='...
Python
0.000124
e5013d3ea76434f9b457b9ffa2d81e5f49aa2b7b
change python version info and language
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import versioneer 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('...
#!/usr/bin/env python # -*- coding: utf-8 -*- import versioneer 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('...
Python
0
19c04409975a9102ef008963ad312b00ef4e96c6
Update Python classifiers in setup module
setup.py
setup.py
# -*- coding: utf-8 -*- import codecs from os.path import abspath from os.path import dirname from os.path import join from setuptools import find_packages from setuptools import setup import machina def read_relative_file(filename): """ Returns contents of the given file, whose path is supposed relative to thi...
# -*- coding: utf-8 -*- import codecs from os.path import abspath from os.path import dirname from os.path import join from setuptools import find_packages from setuptools import setup import machina def read_relative_file(filename): """ Returns contents of the given file, whose path is supposed relative to thi...
Python
0
a03dc7b23b219097f2dd16450f4e54b0469ffab1
Bump version to 0.2.2
setup.py
setup.py
import os from setuptools import setup def get_packages(package): """ Return root package and all sub-packages. """ return [dirpath for dirpath, dirnames, filenames in os.walk(package) if os.path.exists(os.path.join(dirpath, '__init__.py'))] setup( name='zc_common', v...
import os from setuptools import setup def get_packages(package): """ Return root package and all sub-packages. """ return [dirpath for dirpath, dirnames, filenames in os.walk(package) if os.path.exists(os.path.join(dirpath, '__init__.py'))] setup( name='zc_common', v...
Python
0.000002
6ede9a1e6dc82de7a269abbfe8b57ee8e6548394
Switch to using subprocess as a base rather interface directly interface with Unix system calls. This lets subprocess deal with various issues dealing with the Python interpreter environment.
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
dae923853e0218fc77923f4512f72d0109e8f4bb
Add boto as requirement for funsize deployment.
setup.py
setup.py
from setuptools import setup PACKAGE_NAME = 'funsize' PACKAGE_VERSION = '0.1' setup(name=PACKAGE_NAME, version=PACKAGE_VERSION, description='partial mar webservice prototype', long_description='https://wiki.mozilla.org/User:Ffledgling/Senbonzakura', classifiers=[], author='Anhad Jai Sing...
from setuptools import setup PACKAGE_NAME = 'funsize' PACKAGE_VERSION = '0.1' setup(name=PACKAGE_NAME, version=PACKAGE_VERSION, description='partial mar webservice prototype', long_description='https://wiki.mozilla.org/User:Ffledgling/Senbonzakura', classifiers=[], author='Anhad Jai Sing...
Python
0
75b68c414b0fc9c0231011f2f70935abfa63089c
Package test data again.
setup.py
setup.py
from setuptools import setup, find_packages setup( name='vumi-wikipedia', version='0.1a', description='Vumi Wikipedia App', packages=find_packages(), include_package_data=True, install_requires=[ 'vumi > 0.3.1', ], url='http://github.com/praekelt/vumi-wikipedia', license='B...
from setuptools import setup, find_packages setup( name='vumi-wikipedia', version='0.1a', description='Vumi Wikipedia App', packages=find_packages(), install_requires=[ 'vumi > 0.3.1', ], url='http://github.com/praekelt/vumi-wikipedia', license='BSD', long_description=open(...
Python
0
242ba5a29f61267abc06f819886c4a40bee5c28e
make version 0.3.19
setup.py
setup.py
from setuptools import setup setup(name='DukeDSClient', version='0.3.19', 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', ...
from setuptools import setup setup(name='DukeDSClient', version='0.3.18', 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.000003
0eb5e0008d54f48f7643ca1dfbefc861c082aa63
Remove multi-line license entry
setup.py
setup.py
from setuptools import setup, find_packages with open("README.rst") as f: readme = f.read() setup( name="daemons", version="1.3.1", url="https://github.com/kevinconway/daemons", license="'Apache License 2.0", description="Well behaved unix daemons for every occasion.", author="Kevin Conwa...
from setuptools import setup, find_packages with open("README.rst") as f: readme = f.read() with open("LICENSE") as f: license = f.read() setup( name="daemons", version="1.3.1", url="https://github.com/kevinconway/daemons", license=license, description="Well behaved unix daemons for ever...
Python
0
dd5a4516993599f05cc8291e772de182cdc3c874
Update setup for PyIi
setup.py
setup.py
#!/usr/bin/python # -*- coding: utf-8 -*- from setuptools import setup setup( name = 'hybra-core', version = '0.1.0a1', description = 'Toolkit for data management and analysis.', keywords = ['data management', 'data analysis'], url = 'https://github.com/HIIT/hybra-core', download_url = 'https://github.com...
#!/usr/bin/python # -*- coding: utf-8 -*- from distutils.core import setup setup( name = 'hybra', packages = ['hybra'], version = '0.1', description = 'Toolkit for data management and analysis', author = 'Matti Nelimarkka, Juho Pääkkönen, Arto Kekkonen', author_email = 'matti.nelimarkka@aalto.fi, juho.paa...
Python
0
c8fc68eb0913cd550311c601d8552b0bddf6a9a6
Change description
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup from mailhole import __version__ setup( name = 'mailhole', version=__version__, description = 'A simple application to test email sending functionality', author = 'Andriy Yurchuk', author_email = 'ayurchuk@minuteware.net', url = 'https://gith...
#!/usr/bin/env python from setuptools import setup from mailhole import __version__ setup( name = 'mailhole', version=__version__, description = 'Fake SMTP server, used for testing', author = 'Andriy Yurchuk', author_email = 'ayurchuk@minuteware.net', url = 'https://github.com/Ch00k/mailhole'...
Python
0.000004
986d55734ebf91f5262284cc9d6006f029f437c7
refactor extra python packages as we will have a few of these
setup.py
setup.py
import glob import os from setuptools import setup # read in the description from README with open("README.rst") as stream: long_description = stream.read() github_url = 'https://github.com/LeapBeyond/scrubadub' def read_packages_from_file(filename): with open(filename, 'r') as stream: for line in s...
import glob import os from setuptools import setup # read in the description from README with open("README.rst") as stream: long_description = stream.read() github_url = 'https://github.com/LeapBeyond/scrubadub' def read_packages_from_file(filename): with open(filename, 'r') as stream: for line in s...
Python
0
241cb3a2ee4393b7ddad80b4b98031cfd7224f61
make sure we are py2 compatible
setup.py
setup.py
""" setup.py -- setup script for use of packages. """ from setuptools import setup, find_packages __version__ = '1.3.4' # create entry points # see http://astropy.readthedocs.org/en/latest/development/scripts.html entry_points = { 'console_scripts' : [ 'filutil = blimpy.filterbank:cmd_tool', 'watu...
""" setup.py -- setup script for use of packages. """ from setuptools import setup, find_packages __version__ = '1.3.4' # create entry points # see http://astropy.readthedocs.org/en/latest/development/scripts.html entry_points = { 'console_scripts' : [ 'filutil = blimpy.filterbank:cmd_tool', 'watu...
Python
0
8345a0eaccdab0805751622c5a83aca25d06ec51
bump version number.
setup.py
setup.py
#!/usr/bin/env python from setuptools import find_packages, setup, Extension setup(name='sniffles', version='3.1.0', description='Sniffles pcap generator', long_descrip0tion='Packet capture generator for IDS evaluation', maintainer='Victor C. Valgenti', maintainer_email='vvalgenti@petabi...
#!/usr/bin/env python from setuptools import find_packages, setup, Extension setup(name='sniffles', version='3.0.3', description='Sniffles pcap generator', long_description='Packet capture generator for IDS evaluation', maintainer='Victor C. Valgenti', maintainer_email='vvalgenti@petabi....
Python
0
9a206428697bc7c3fde779c36d9e6ceb87dfb312
Fix setup.py lint errors
setup.py
setup.py
"""Setup script. Run "python3 setup --help-commands" to list all available commands and their descriptions. """ import os import sys from subprocess import call from setuptools import Command, find_packages, setup from pyof import __version__ class CleanCommand(Command): """Custom clean command to tidy up the p...
"""Setup script. Run "python3 setup --help-commands" to list all available commands and their descriptions. """ import os import sys from subprocess import call from setuptools import Command, find_packages, setup from pyof import __version__ class CleanCommand(Command): """Custom clean command to tidy up the p...
Python
0.000002
26f40f91f5832543bb7c57a238ff4189b262a740
Bump version
setup.py
setup.py
#!/usr/bin/env python2 from setuptools import setup, find_packages requires = open('requirements.txt').read().split('\n') setup( name='hamper', version='1.11.1', description='Yet another IRC bot', install_requires=requires, author='Mike Cooper', author_email='mythmon@gmail.com', url='http...
#!/usr/bin/env python2 from setuptools import setup, find_packages requires = open('requirements.txt').read().split('\n') setup( name='hamper', version='1.11.0', description='Yet another IRC bot', install_requires=requires, author='Mike Cooper', author_email='mythmon@gmail.com', url='http...
Python
0
8c09013994291312068cabc463dc996c06312737
fix python 2.6 support.
setup.py
setup.py
import os.path as op from setuptools import setup VERSION = "0.1.0.dev1" if __name__ == "__main__": with open(op.join("machotools", "__version.py"), "wt") as fp: fp.write("__version__ = '{0}'".format(VERSION)) setup(name="machotools", version=VERSION, author="David Cournapeau", ...
import os.path as op from setuptools import setup VERSION = "0.1.0.dev1" if __name__ == "__main__": with open(op.join("machotools", "__version.py"), "wt") as fp: fp.write("__version__ = '{}'".format(VERSION)) setup(name="machotools", version=VERSION, author="David Cournapeau", ...
Python
0
786433154a419d41d03fb025aa49e379b9058f72
Bump flake8 from 3.9.1 to 3.9.2
setup.py
setup.py
import re from setuptools import setup INSTALL_REQUIRES = ["marshmallow>=2.7.0", "python-dotenv"] DJANGO_REQUIRES = ["dj-database-url", "dj-email-url", "django-cache-url"] EXTRAS_REQUIRE = { "django": DJANGO_REQUIRES, "tests": ["pytest"] + DJANGO_REQUIRES, "lint": ["flake8==3.9.2", "flake8-bugbear==21.4.3"...
import re from setuptools import setup INSTALL_REQUIRES = ["marshmallow>=2.7.0", "python-dotenv"] DJANGO_REQUIRES = ["dj-database-url", "dj-email-url", "django-cache-url"] EXTRAS_REQUIRE = { "django": DJANGO_REQUIRES, "tests": ["pytest"] + DJANGO_REQUIRES, "lint": ["flake8==3.9.1", "flake8-bugbear==21.4.3"...
Python
0.000001
b665cc442d6d85803e8775f6034b1e531b3588e8
Update setup.py and add python_requires
setup.py
setup.py
#!/usr/bin/env python """ A setuptools based setup module. See: https://packaging.python.org/en/latest/distributing.html """ from os import path try: from pip.req import parse_requirements except ImportError: # pip >= 10 from pip._internal.req import parse_requirements from setuptools import find_packa...
#!/usr/bin/env python # -*- coding: utf-8 -*- """ A setuptools based setup module. See: https://packaging.python.org/en/latest/distributing.html """ from __future__ import unicode_literals import io from os import path try: from pip.req import parse_requirements except ImportError: # pip >= 10 from pip...
Python
0.000001
09654ba589b25d9680f0858bb0432b5b3881ca51
Update setup.py
setup.py
setup.py
from setuptools import setup test_deps = ['pytest', 'pytest-cov', 'vcrpy', 'pytest-vcr', 'pytest-mock'] extras = { "test": test_deps } setup(name='Mastodon.py', version='1.2.2', description='Python wrapper for the Mastodon API', packages=['mastodon'], setup_requires=['pytest-runner'], ...
from setuptools import setup test_deps = ['pytest', 'pytest-cov', 'vcrpy', 'pytest-vcr', 'pytest-mock'] extras = { "test": test_deps } setup(name='Mastodon.py', version='1.2.2', description='Python wrapper for the Mastodon API', packages=['mastodon'], setup_requires=['pytest-runner'], ...
Python
0
0a40ab01070018fc3ca32008f55c18e2b65aa23b
add support for python 3.10 (#181)
setup.py
setup.py
# -*- coding: utf-8 -*- # # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
# -*- coding: utf-8 -*- # # Copyright 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
Python
0
9f542a553e4030b62358ec7f41f23d952608ee75
Bump flake8 from 3.8.3 to 3.8.4
setup.py
setup.py
import re from setuptools import setup, find_packages EXTRAS_REQUIRE = { "yaml": ["PyYAML>=3.10"], "validation": ["prance[osv]>=0.11"], "lint": ["flake8==3.8.4", "flake8-bugbear==20.1.4", "pre-commit~=2.4"], "docs": [ "marshmallow>=3.0.0", "pyyaml==5.3.1", "sphinx==3.2.1", ...
import re from setuptools import setup, find_packages EXTRAS_REQUIRE = { "yaml": ["PyYAML>=3.10"], "validation": ["prance[osv]>=0.11"], "lint": ["flake8==3.8.3", "flake8-bugbear==20.1.4", "pre-commit~=2.4"], "docs": [ "marshmallow>=3.0.0", "pyyaml==5.3.1", "sphinx==3.2.1", ...
Python
0
ab4f0a5bdd640f31ddd03969d1cc6ea38bb79ce0
Update version
setup.py
setup.py
from setuptools import setup, find_packages setup( name='cmsplugin-contact', version='1.1.3', description='Extendable contact form plugin for Django CMS with spam protection and i18n', long_description=open('README.rst').read(), author='Maccesch', author_email='maccesch@gmail.com', url='htt...
from setuptools import setup, find_packages setup( name='cmsplugin-contact', version='1.1.2', description='Extendable contact form plugin for Django CMS with spam protection and i18n', long_description=open('README.rst').read(), author='Maccesch', author_email='maccesch@gmail.com', url='htt...
Python
0
4f2ed94d507bbd041aedd49aadb78a16c4c2f5d9
Update dependency range for api-core to include v1.0.0 releases (#4944)
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...
# 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
bfc85ac3d2b29e5287fa556e0e2215bc39668db5
Replace thriftpy dependency with thriftpy2
setup.py
setup.py
"""setup.py - build script for parquet-python.""" try: from setuptools import setup except ImportError: from distutils.core import setup setup( name='parquet', version='1.2', description='Python support for Parquet file format', author='Joe Crobak', author_email='joecrow@gmail.com', ur...
"""setup.py - build script for parquet-python.""" try: from setuptools import setup except ImportError: from distutils.core import setup setup( name='parquet', version='1.2', description='Python support for Parquet file format', author='Joe Crobak', author_email='joecrow@gmail.com', ur...
Python
0.9999
de051cd25e1f4f5dacb6a3d50cf2d3bf569f712d
Remove unused import
setup.py
setup.py
from setuptools import setup _version_file = 'hooked/version.py' with open(_version_file) as vf: exec(vf.read()) setup( name='django-gapi-hooked', version=__version__, author='G Adventures', author_email='software@gadventures.com', description='A tiny library to add a G Adventures API Web Ho...
import sys from setuptools import setup _version_file = 'hooked/version.py' with open(_version_file) as vf: exec(vf.read()) setup( name='django-gapi-hooked', version=__version__, author='G Adventures', author_email='software@gadventures.com', description='A tiny library to add a G Adventures...
Python
0.000001
e5b388ade150cfd294b8b5e2e09a2394307189e5
bump version
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 relevant file with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8')...
# 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 relevant file with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8')...
Python
0
c4e1059b387269b6098d05d2227c085e7931b140
Update module description for clarity
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 distutils.core import setup, Extension cpp_args = ['-std=c++11', '-stdlib=libc++', '-mmacosx-version-min=10.7'] e...
# 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 distutils.core import setup, Extension cpp_args = ['-std=c++11', '-stdlib=libc++', '-mmacosx-version-min=10.7'] e...
Python
0
c4c62593be68afb2431a4cae5fd17c2ab4636881
fix packaging for sfa-nuke-plc.py
setup.py
setup.py
#!/usr/bin/python """ Installation script for the geniwrapper module """ import sys, os, os.path import shutil from distutils.core import setup bins = [ 'config/sfa-config-tty', 'sfa/plc/sfa-import-plc.py', 'sfa/plc/sfa-nuke-plc.py', 'sfa/server/sfa-server.py', 'sfa...
#!/usr/bin/python """ Installation script for the geniwrapper module """ import os, sys import shutil from distutils.core import setup scripts = [ 'config/sfa-config-tty', 'sfa/plc/sfa-import-plc.py', 'sfa/server/sfa-server.py', 'sfa/client/sfi.py', 'sfa/client/getN...
Python
0
add478d733628b635ce320b9cb8353086a12fa58
Send numeric 381 (RPL_YOUREOPER) on successful oper attempt
txircd/modules/rfc/mech_oper.py
txircd/modules/rfc/mech_oper.py
from twisted.plugin import IPlugin from twisted.words.protocols import irc from txircd.module_interface import Command, ICommand, IMode, IModuleData, Mode, ModuleData from txircd.utils import ircLower, ModeType from zope.interface import implements from fnmatch import fnmatch class Oper(ModuleData, Mode): implemen...
from twisted.plugin import IPlugin from twisted.words.protocols import irc from txircd.module_interface import Command, ICommand, IMode, IModuleData, Mode, ModuleData from txircd.utils import ircLower, ModeType from zope.interface import implements from fnmatch import fnmatch class Oper(ModuleData, Mode): implemen...
Python
0
c233359e79288812beb45978fa53f764a280f29a
Add tests for Terrain3D
tests/test_terraindisplay.py
tests/test_terraindisplay.py
import unittest from randterrainpy import * class Terrain2DTester(unittest.TestCase): def setUp(self): self.ter1 = Terrain(100, 100) # all black self.ter2 = Terrain(200, 200) # all white for x in range(self.ter2.width): for y in range(self.ter2.length): sel...
import unittest from randterrainpy import * class Terrain2DTester(unittest.TestCase): def setUp(self): self.ter1 = Terrain(100, 100) # all black self.ter2 = Terrain(200, 200) # all white for x in range(self.ter2.width): for y in range(self.ter2.length): sel...
Python
0
bc8bd227c3d15cde8b2a46c40f7188c34026046d
Make assertion about status code
tests/test_unknown_target.py
tests/test_unknown_target.py
""" Tests for passing invalid target IDs to helpers which require a target ID to be given. """ from typing import Any, Callable, Dict, Union import pytest from _pytest.fixtures import SubRequest from requests import codes from vws import VWS from vws.exceptions import UnknownTarget @pytest.fixture() def _delete_ta...
""" Tests for passing invalid target IDs to helpers which require a target ID to be given. """ from typing import Any, Callable, Dict, Union import pytest from _pytest.fixtures import SubRequest from vws import VWS from vws.exceptions import UnknownTarget @pytest.fixture() def _delete_target(client: VWS) -> Callab...
Python
0.002373
c3834af13fb14d0961e7e8ce29c3bbbe91ebb5ce
Update mbutil to 0.2.0
setup.py
setup.py
from setuptools import setup, find_packages import sys import mbtoolbox with open('mbtoolbox/__init__.py') as f: for line in f: if line.find("__version__") >= 0: version = line.split("=")[1].strip() version = version.strip('"') version = version.strip("'") c...
from setuptools import setup, find_packages import sys import mbtoolbox with open('mbtoolbox/__init__.py') as f: for line in f: if line.find("__version__") >= 0: version = line.split("=")[1].strip() version = version.strip('"') version = version.strip("'") c...
Python
0.000002
d388dc6c620b0e7164a4f97d6876a99d5e8fade3
Add nbformat to setup.py requirements
setup.py
setup.py
from setuptools import setup VERSION = 'v0.0.1' setup(name='depfinder', version=VERSION, author='Eric Dill', author_email='thedizzle@gmail.com', py_modules=['depfinder'], description='Find all the imports in your library', url='http://github.com/ericdill/depfinder', platforms='...
from setuptools import setup VERSION = 'v0.0.1' setup(name='depfinder', version=VERSION, author='Eric Dill', author_email='thedizzle@gmail.com', py_modules=['depfinder'], description='Find all the imports in your library', url='http://github.com/ericdill/depfinder', platforms='...
Python
0
a52c84f092d89f89130c2696c98779e955f083dc
Add tests for version splitting
tests/test_version_parser.py
tests/test_version_parser.py
import pytest from leak.version_parser import versions_split def test_versions_split(): assert versions_split('1.8.1') == [1, 8, 1] assert versions_split('1.4') == [1, 4, 0] assert versions_split('2') == [2, 0, 0] def test_versions_split_str_mapping(): assert versions_split('1.11rc1', type_applyer=...
import pytest from leak.version_parser import versions_split def test_versions_split(): pass def test_wrong_versions_split(): # too many dots assert versions_split('1.2.3.4') == [0, 0, 0] # test missing numeric version with pytest.raises(ValueError): versions_split('not.numeric') ...
Python
0
1a9a4ea4c097724ec25e8d20104f3e384c37647d
Bump to 0.1.2
setup.py
setup.py
# Copyright (c) 2008, Idan Gazit # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of condition...
# Copyright (c) 2008, Idan Gazit # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of condition...
Python
0.000596
b1701c7e56c4ee44d9420f2209d10664348f0d0c
Remove client from global setup for now
setup.py
setup.py
#!/usr/bin/env python import os import sys modules = [ 'common', 'backend', 'shell', 'utils', ] return_code = 0 for module in modules: return_code = max(return_code, os.system("cd %s && ./setup.py %s" % (module, " ".join(sys.argv[1:]))) >> 8) for root, dirs, files in os.walk("plugins"): if "setup.py" ...
#!/usr/bin/env python import os import sys modules = [ 'common', 'backend', 'client', 'shell', 'utils', ] return_code = 0 for module in modules: return_code = max(return_code, os.system("cd %s && ./setup.py %s" % (module, " ".join(sys.argv[1:]))) >> 8) for root, dirs, files in os.walk("plugins"): if...
Python
0
0b71b279064a4fa45825e0d34bee651a1295071e
Use 2to3 for installing on Python 3
setup.py
setup.py
# -*- coding: UTF-8 -*- """ Setup script for building hgtools distribution Copyright © 2010-2011 Jason R. Coombs """ import setuptools long_description = open('README').read() # HGTools uses a special technique for getting the version from # mercurial, because it can't require itself to install itself. # Don't use...
# -*- coding: UTF-8 -*- """ Setup script for building hgtools distribution Copyright © 2010-2011 Jason R. Coombs """ import setuptools long_description = open('README').read() # HGTools uses a special technique for getting the version from # mercurial, because it can't require itself to install itself. # Don't use...
Python
0.000225
dc1c377a5b6011b587413c586b33000e867ab5bc
Declare dependency
setup.py
setup.py
from setuptools import setup, find_packages setup( name='zeit.securitypolicy', version='2.2.10.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description="vivi roles and permissions", packages=find_packages('src'), package_dir={'': '...
from setuptools import setup, find_packages setup( name='zeit.securitypolicy', version='2.2.10.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description="vivi roles and permissions", packages=find_packages('src'), package_dir={'': '...
Python
0
a0ff5a8b6817be12aae5184a4a33af89c05ec552
Bump 0.7
setup.py
setup.py
import pathlib import setuptools ROOT = str(pathlib.Path(__file__).parent) extras = {} with open(ROOT + '/requirements-doc.txt', encoding='utf-8') as fp: extras['doc'] = fp.read().splitlines() with open(ROOT + '/requirements-test.txt', encoding='utf-8') as fp: extras['test'] = fp.read().splitlines() with o...
import pathlib import setuptools ROOT = str(pathlib.Path(__file__).parent) extras = {} with open(ROOT + '/requirements-doc.txt', encoding='utf-8') as fp: extras['doc'] = fp.read().splitlines() with open(ROOT + '/requirements-test.txt', encoding='utf-8') as fp: extras['test'] = fp.read().splitlines() with o...
Python
0.000025
680e64eb7bf37ff303d50310aef91eca0770bef7
Update unit tests: words_counter_tests.py.
tests/words_counter_tests.py
tests/words_counter_tests.py
import unittest from twitchchatbot import WordsCounter class WordsCounterTests(unittest.TestCase): def setUp(self): self.words_counter = WordsCounter() def test_count_words_counts_words_correct(self): self.words_counter.count_words("word2 word1") self.assertEqual(self.words_counter.g...
import unittest from twitchbot import WordsCounter class WordsCounterTests(unittest.TestCase): def setUp(self): self.words_counter = WordsCounter() def test_count_words_counts_words_correct(self): self.words_counter.count_words("word2 word1") self.assertEqual(self.words_counter.get_t...
Python
0
db7ec441727f747c08e2d7532bb820e2263c70e6
Make sure we have the latest version of the orcid library
setup.py
setup.py
""" Sample project to be edited. """ from pip.req import parse_requirements from setuptools import find_packages, setup from setuptools.command.test import test as TestCommand import sys import os # Workaround for development under Vagrant using vbox shared directories # Hard links aren't allowed which breaks setup. ...
""" Sample project to be edited. """ from pip.req import parse_requirements from setuptools import find_packages, setup from setuptools.command.test import test as TestCommand import sys import os # Workaround for development under Vagrant using vbox shared directories # Hard links aren't allowed which breaks setup. ...
Python
0
437fef8ec538517252992d7a0f2ef213ae0a7128
Update setup.py
setup.py
setup.py
#from distutils.core import setup from setuptools import setup def make_data_file_list(target, source): """ creates a list of tuples (target_directory, file_list) that setup should copy into the egg in the install process. Gets around no way to specify a recursive directory tree copy, directories...
#from distutils.core import setup from setuptools import setup def make_data_file_list(target, source): """ creates a list of tuples (target_directory, file_list) that setup should copy into the egg in the install process. Gets around no way to specify a recursive directory tree copy, directories...
Python
0
de47a75f04c0fd2199315b2b096943a08d495185
Remove SETUPTOOLS_REQUIRES
setup.py
setup.py
#!/usr/bin/env python """ .. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com> """ import os.path from typing import Dict import setuptools MODULE_NAME = "SimpleSQLite" REPOSITORY_URL = "https://github.com/thombashi/{:s}".format(MODULE_NAME) REQUIREMENT_DIR = "requirements" ENCODING = "utf8" pkg_info =...
#!/usr/bin/env python """ .. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com> """ import os.path from typing import Dict import setuptools MODULE_NAME = "SimpleSQLite" REPOSITORY_URL = "https://github.com/thombashi/{:s}".format(MODULE_NAME) REQUIREMENT_DIR = "requirements" ENCODING = "utf8" pkg_info =...
Python
0.000001
9002df839fc092db0c656174fa9cf57a3bfecdaa
Bump to 0.2.0
setup.py
setup.py
from setuptools import setup from setuptools.command.test import test as TestCommand import sys def read(filename): with open(filename, 'r') as fh: return fh.read() class ToxTest(TestCommand): user_options = [('tox-args=', 'a', 'Arguments to pass to tox')] def initialize_options(self): ...
from setuptools import setup from setuptools.command.test import test as TestCommand import sys def read(filename): with open(filename, 'r') as fh: return fh.read() class ToxTest(TestCommand): user_options = [('tox-args=', 'a', 'Arguments to pass to tox')] def initialize_options(self): ...
Python
0.000291
eb871da3c808fbbf5a7971147265471de87f1a01
Refactor import
setup.py
setup.py
""" .. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com> """ import os.path from typing import Dict import setuptools MODULE_NAME = "pathvalidate" REPOSITORY_URL = "https://github.com/thombashi/{:s}".format(MODULE_NAME) REQUIREMENT_DIR = "requirements" ENCODING = "utf8" pkg_info = {} # type: Dict[str, ...
""" .. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com> """ import os.path from typing import Dict, List # noqa import setuptools MODULE_NAME = "pathvalidate" REPOSITORY_URL = "https://github.com/thombashi/{:s}".format(MODULE_NAME) REQUIREMENT_DIR = "requirements" ENCODING = "utf8" pkg_info = {} # ty...
Python
0.000001
aba0a2f8457a3012260e94512d092abfba62c44a
Bump version to 0.4.3.
setup.py
setup.py
"""Reaktor models that use barrel for encapsulation.""" from setuptools import setup, find_packages setup( name='barrel-reaktor', version='0.4.3', description='Python interface to reaktor API', long_description=__doc__, license='BSD', author='txtr web team', author_email='web-dev@txtr.com'...
"""Reaktor models that use barrel for encapsulation.""" from setuptools import setup, find_packages setup( name='barrel-reaktor', version='0.4.2', description='Python interface to reaktor API', long_description=__doc__, license='BSD', author='txtr web team', author_email='web-dev@txtr.com'...
Python
0
fd49e2b4f18106b5faf23148633fec59211771dc
Add optional support for setuptools.
setup.py
setup.py
#!/usr/bin/env python ''' The setup script for saltapi ''' import os # Use setuptools only if the user opts-in by setting the USE_SETUPTOOLS env var # This ensures consistent behavior but allows for advanced usage with # virtualenv, buildout, and others. USE_SETUPTOOLS = False if 'USE_SETUPTOOLS' in os.environ: tr...
#!/usr/bin/env python ''' The setup script for saltapi ''' from distutils.core import setup # pylint: disable-msg=W0122,E0602 exec(compile(open('saltapi/version.py').read(), 'saltapi/version.py', 'exec')) VERSION = __version__ # pylint: enable-msg=W0122,E0602 NAME = 'salt-api' DESC = ("Generic interface for providing...
Python
0
52e8734ef54772b4c67e40b887ca7d0ad925c6e8
use project-version format for tag.
setup.py
setup.py
from distutils.core import setup from distutils.extension import Extension from Cython.Distutils import build_ext import numpy import os import sys if sys.platform == "darwin": if os.path.exists("/opt/local/include/ta-lib"): include_talib_dir = "/opt/local/include" lib_talib_dir = "/opt/local/lib"...
from distutils.core import setup from distutils.extension import Extension from Cython.Distutils import build_ext import numpy import os import sys if sys.platform == "darwin": if os.path.exists("/opt/local/include/ta-lib"): include_talib_dir = "/opt/local/include" lib_talib_dir = "/opt/local/lib"...
Python
0
4437ab3021d5d81c1e4f8682529456e17fe32e74
Fix package_data installation. Code remains to be written to discover the path for namebench.cfg and alexa data
setup.py
setup.py
# Copyright 2009 Google 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 # # Unless required by applicable law or ...
# Copyright 2009 Google 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 # # Unless required by applicable law or ...
Python
0
59cca112feb323630d4749c2a4fab9a2d59553b7
add psycopg2 dependency
setup.py
setup.py
from setuptools import setup setup( name='pg_testenv', version="0.1", author="Teemu Haapoja", author_email="teemu.haapoja@gmail.com", description="PostgreSQL test instance creator", license="BSD", install_requires=['psycopg2'], scripts = [ 'pg_testenv' ], )
from setuptools import setup setup( name='pg_testenv', version="0.1", author="Teemu Haapoja", author_email="teemu.haapoja@gmail.com", description="PostgreSQL test instance creator", license="BSD", scripts = [ 'pg_testenv' ], )
Python
0
ec5cf5b306ea20051cf5b02983fdd356f04a9a5e
switch to pyannote.core 0.8
setup.py
setup.py
#!/usr/bin/env python # encoding: utf-8 # The MIT License (MIT) # Copyright (c) 2016 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 limitation ...
#!/usr/bin/env python # encoding: utf-8 # The MIT License (MIT) # Copyright (c) 2016 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 limitation ...
Python
0.000001
c2e97163f1ccfb45b28239e151102ef0bf7070d3
Bump version, add classifiers.
setup.py
setup.py
from setuptools import setup, find_packages setup(name='corker', version='0.2', description='Another WSGI Framework', classifiers=["Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "T...
from setuptools import setup, find_packages setup(name='corker', version='0.2-pre1', description='Another WSGI Framework', license='BSD', author='Joshua D. Boyd', author_email='jdboyd@jdboyd.net', url='https://github.com/jd-boyd/corker', packages=find_packages(), package...
Python
0
c81fa8e41fb1411945ac0c045547c59a09a443c4
bump version
setup.py
setup.py
from setuptools import setup, find_packages setup(name='webdiff', version='0.4.3', description='Two-column web-based git difftool', author='Dan Vanderkam', author_email='danvdk@gmail.com', url='https://github.com/danvk/webdiff/', entry_points={ 'console_scripts': [ ...
from setuptools import setup, find_packages setup(name='webdiff', version='0.4.2', description='Two-column web-based git difftool', author='Dan Vanderkam', author_email='danvdk@gmail.com', url='https://github.com/danvk/webdiff/', entry_points={ 'console_scripts': [ ...
Python
0
123d57e0ef22adb5ae5f09b435c69f0589f521d1
Correct setup.py description field error when it contains new lines
setup.py
setup.py
from setuptools import setup long_description = """A collection of heuristic algorithms for solving the 2D knapsack problem, also known as the bin packing problem. In essence packing a set of rectangles into the smallest number of bins.""" setup( name="rectpack", version="0.2.2", description="2D Rectangle...
from setuptools import setup long_description = """A collection of heuristic algorithms for solving the 2D knapsack problem, also known as the bin packing problem. In essence packing a set of rectangles into the smallest number of bins.""" setup( name="rectpack", version="0.2.2", description=long_descript...
Python
0.000001
72cb87ea53a294c2395818c25f42379293b37308
Bump version number
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='blah', version='0.1.5', 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='blah', version='0.1.4', description='Thin wrapper around source control systems', long_description=read("README"), author='Michael ...
Python
0.000002
d19290c1fa91c08fb6a2de5274f484d9f868da22
Updated email address to be moz.com
setup.py
setup.py
#! /usr/bin/env python from distutils.core import setup from distutils.extension import Extension setup(name = 'simhash_db', version = '0.1.0', description = 'Near-Duplicate Detection with Simhash in Databases', url = 'http://github.com/seomoz/simhash-db', author ...
#! /usr/bin/env python from distutils.core import setup from distutils.extension import Extension setup(name = 'simhash_db', version = '0.1.0', description = 'Near-Duplicate Detection with Simhash in Databases', url = 'http://github.com/seomoz/simhash-db', author ...
Python
0.999978
e0993dcf8dc38462604e38d7a31b80d3880e696b
Kill get_version hack
setup.py
setup.py
# coding: utf-8 import os import sys from setuptools import setup from relief import __version__ PACKAGE_PATH = os.path.join( os.path.abspath(os.path.dirname(__file__)), "relief" ) if sys.version_info[:2] < (2, 7): install_requires = ['ordereddict>=1.1', 'Counter>=1.0.0'] else: install_requires = [] ...
# coding: utf-8 import os import sys from setuptools import setup PACKAGE_PATH = os.path.join( os.path.abspath(os.path.dirname(__file__)), "relief" ) if sys.version_info[:2] < (2, 7): install_requires = ['ordereddict>=1.1', 'Counter>=1.0.0'] else: install_requires = [] def get_version(): path = os...
Python
0.000001
9232fa78e6a04f25f493fef91014384719c730ee
remove unused import from setup.py
setup.py
setup.py
from setuptools import setup setup( name = 'flask-secure-headers', packages = ['flask_secure_headers'], include_package_data = True, version = '0.2', description = 'Secure Header Wrapper for Flask Applications', long_description = """ Add security headers to a Flask application. This is intended to be a s...
from setuptools import setup import flask_secure_headers setup( name = 'flask-secure-headers', packages = ['flask_secure_headers'], include_package_data = True, version = '0.2', description = 'Secure Header Wrapper for Flask Applications', long_description = """ Add security headers to a Flask application...
Python
0
bd3942724c7a2f04d5eb6277a35e5ebf54ebf6e0
Add python 3.6 in the supported version
setup.py
setup.py
""" Setup script """ import shutil import os import sys import glob from setuptools import setup, find_packages try: import py2exe except ImportError: pass import smserver for filename in glob.glob("cfg/*.yml*"): shutil.copy(filename, "smserver/_fallback_conf") conf_dir = None if os.path.splitdrive(sy...
#!/usr/bin/env python # -*- coding: utf-8 -*- import shutil import os import sys import glob from setuptools import setup, find_packages try: import py2exe except ImportError: pass import smserver for filename in glob.glob("cfg/*.yml*"): shutil.copy(filename, "smserver/_fallback_conf") conf_dir = None ...
Python
0.000001
235609b1b370fee8f03cdf0d9d6a70075bd6e50e
Update to next dev version
setup.py
setup.py
#! /usr/bin/env python # -*- coding: utf-8 -*- # OpenFisca -- A versatile microsimulation software # By: OpenFisca Team <contact@openfisca.fr> # # Copyright (C) 2011, 2012, 2013, 2014, 2015 OpenFisca Team # https://github.com/openfisca # # This file is part of OpenFisca. # # OpenFisca is free software; you can redist...
#! /usr/bin/env python # -*- coding: utf-8 -*- # OpenFisca -- A versatile microsimulation software # By: OpenFisca Team <contact@openfisca.fr> # # Copyright (C) 2011, 2012, 2013, 2014, 2015 OpenFisca Team # https://github.com/openfisca # # This file is part of OpenFisca. # # OpenFisca is free software; you can redist...
Python
0
44c5d4e06cd2d7c041eb5f21435013bb6f86b9e2
Add backports.typing requirement
setup.py
setup.py
#!/usr/bin/env python """setup.py Defines the setup instructions for the hug framework Copyright (C) 2016 Timothy Edmund Crosley 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 restrict...
#!/usr/bin/env python """setup.py Defines the setup instructions for the hug framework Copyright (C) 2016 Timothy Edmund Crosley 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 restrict...
Python
0.000001
fdb461f000adefff0d1050464e5783c96222f364
Add minimum version for pycryptodome
setup.py
setup.py
from setuptools import setup setup( name='scuevals-api', packages=['scuevals_api'], include_package_data=True, test_suite='tests', entry_points={ 'console_scripts': [ 'app=scuevals_api.cmd:cli' ] }, install_requires=[ 'alembic==0.9.7', 'beautifuls...
from setuptools import setup setup( name='scuevals-api', packages=['scuevals_api'], include_package_data=True, test_suite='tests', entry_points={ 'console_scripts': [ 'app=scuevals_api.cmd:cli' ] }, install_requires=[ 'alembic==0.9.7', 'beautifuls...
Python
0
3a279370ca4847abfe82f1be99111e04bf2de61b
Remove unnecessary import
setup.py
setup.py
# setup.py for pySerial # # Windows installer: # "python setup.py bdist_wininst" # # Direct install (all systems): # "python setup.py install" # # For Python 3.x use the corresponding Python executable, # e.g. "python3 setup.py ..." try: from setuptools import setup except ImportError: from distutils.core ...
# setup.py for pySerial # # Windows installer: # "python setup.py bdist_wininst" # # Direct install (all systems): # "python setup.py install" # # For Python 3.x use the corresponding Python executable, # e.g. "python3 setup.py ..." import sys try: from setuptools import setup except ImportError: from dis...
Python
0.000011
3121572d452a58161f9bb9e7f813254b592b680b
bump version
setup.py
setup.py
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='hops', version='1.1.6', author='Robin Andersson', author_email='robin.eric.andersson@gmail.com', description='A helper library for Hops that facilitates deve...
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='hops', version='1.1.5', author='Robin Andersson', author_email='robin.eric.andersson@gmail.com', description='A helper library for Hops that facilitates deve...
Python
0
426247045dacf56fc5c7324fffbc140e9ea1b2e2
Bump tqdm from 4.37.0 to 4.38.0
setup.py
setup.py
#!/usr/bin/env python3 from os import path from setuptools import setup, find_packages 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='ogn-python', versio...
#!/usr/bin/env python3 from os import path from setuptools import setup, find_packages 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='ogn-python', versio...
Python
0.000001
2029b86059f538f6ab5ab3e472708a9632141010
add holoviews to dependencies
setup.py
setup.py
from os import path from setuptools import find_packages, setup DISTNAME = 'pyciss' DESCRIPTION = "Software for handling Cassini ISS data" AUTHOR = "K.-Michael Aye" AUTHOR_EMAIL = "michael.aye@lasp.colorado.edu" MAINTAINER_EMAIL = AUTHOR_EMAIL URL = "https://github.com/michaelaye/pyciss" LICENSE = "ISC" KEYWORDS = ['...
from os import path from setuptools import find_packages, setup DISTNAME = 'pyciss' DESCRIPTION = "Software for handling Cassini ISS data" AUTHOR = "K.-Michael Aye" AUTHOR_EMAIL = "michael.aye@lasp.colorado.edu" MAINTAINER_EMAIL = AUTHOR_EMAIL URL = "https://github.com/michaelaye/pyciss" LICENSE = "ISC" KEYWORDS = ['...
Python
0
0cae8f8e892bf40e30598cee3fe32dc496a8ec7b
Fix setup.py setuptools reference
setup.py
setup.py
#!/usr/bin/env python3 # noinspection PyUnresolvedReferences import setuptools from distutils.core import setup setup( name='PyKazoo', version='0.0a1', packages=['pykazoo'], install_requires=['requests==2.7.0'], url='https://github.com/tnewman/PyKazoo', license='MIT', author='Thomas Newman...
#!/usr/bin/env python3 from distutils.core import setup setup( name='PyKazoo', version='0.0a1', packages=['pykazoo'], install_requires=['requests==2.7.0'], url='https://github.com/tnewman/PyKazoo', license='MIT', author='Thomas Newman', author_email='tnewman@users.noreply.github.com', ...
Python
0
ea6a22678e8169ced9465269b68fbe9394aa2efb
Bump version to 0.2
setup.py
setup.py
import os import setuptools setuptools.setup( name='factory_djoy', version='0.2', description="Wrappers over Factory Boy's Django Factories", url='http://github.com/jamescooke/factory_djoy', author='James Cooke', author_email='github@jamescooke.info', license='MIT', packages=setupto...
import os import setuptools setuptools.setup( name='factory_djoy', version='0.1', description="Wrappers over Factory Boy's Django Factories", url='http://github.com/jamescooke/factory_djoy', author='James Cooke', author_email='github@jamescooke.info', license='MIT', packages=setupto...
Python
0.000001
226654bfc455991f9f3134c18ac91fced704f09e
Bump version to 0.5.16.
setup.py
setup.py
#!/usr/bin/env python import os from setuptools import setup, find_packages VERSION = '0.5.16' if __name__ == '__main__': setup( name='datastream', version=VERSION, description="Datastream API time-series library.", long_description=open(os.path.join(os.path.dirname(__file__), 'R...
#!/usr/bin/env python import os from setuptools import setup, find_packages VERSION = '0.5.15' if __name__ == '__main__': setup( name='datastream', version=VERSION, description="Datastream API time-series library.", long_description=open(os.path.join(os.path.dirname(__file__), 'R...
Python
0
a3f150be3ea89a87eca9902da58aa93d6623da42
bump version to 0.2.6
setup.py
setup.py
import os from setuptools import setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-councilmatic', version='0.2...
import os from setuptools import setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-councilmatic', version='0.2...
Python
0.000001
d9544b310f791493633b9d78cc5b257d041366c5
Bump up version
setup.py
setup.py
import os from setuptools import setup, find_packages # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) REQUIREMENTS = ["redis", "redlock-py"] README = """ probit-scheduler - redis backed scheduler for celery beat. This scheduler was made from htt...
import os from setuptools import setup, find_packages # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) REQUIREMENTS = ["redis", "redlock-py"] README = """ probit-scheduler - redis backed scheduler for celery beat. This scheduler was made from htt...
Python
0
e19826d9da69dbdb704d3d366f864b9317ac2861
Disable unused django-setuptest.
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages try: README = open('README.rst').read() except: README = None try: REQUIREMENTS = open('requirements.txt').read() except: REQUIREMENTS = None setup( name='newspeak', version="0.1", description='Standalone Django based feed...
#!/usr/bin/env python from setuptools import setup, find_packages try: README = open('README.rst').read() except: README = None try: REQUIREMENTS = open('requirements.txt').read() except: REQUIREMENTS = None setup( name='newspeak', version="0.1", description='Standalone Django based feed...
Python
0
105a23c0e07c737b9bbe7face42443a26409df32
Declare Python 3 support in setup.py.
setup.py
setup.py
#!/usr/bin/env python import os from setuptools import setup, find_packages from webassets.six.moves import map from webassets.six.moves import zip try: from sphinx.setup_command import BuildDoc cmdclass = {'build_sphinx': BuildDoc} except ImportError: cmdclass = {} # Figure out the version. This could al...
#!/usr/bin/env python import os from setuptools import setup, find_packages from webassets.six.moves import map from webassets.six.moves import zip try: from sphinx.setup_command import BuildDoc cmdclass = {'build_sphinx': BuildDoc} except ImportError: cmdclass = {} # Figure out the version. This could al...
Python
0.000001
aa6bc481529022bb878fcd76903bb0ccb93d7048
Fix schema salad pin.
setup.py
setup.py
#!/usr/bin/env python import os import sys import setuptools.command.egg_info as egg_info_cmd import shutil from setuptools import setup, find_packages SETUP_DIR = os.path.dirname(__file__) README = os.path.join(SETUP_DIR, 'README.rst') try: import gittaggers tagger = gittaggers.EggInfoFromGit except Import...
#!/usr/bin/env python import os import sys import setuptools.command.egg_info as egg_info_cmd import shutil from setuptools import setup, find_packages SETUP_DIR = os.path.dirname(__file__) README = os.path.join(SETUP_DIR, 'README.rst') try: import gittaggers tagger = gittaggers.EggInfoFromGit except Import...
Python
0
e03d38e2ca78aa82c8791b43beaa044e27fc4424
Bump version to 0.2.1
setup.py
setup.py
from setuptools import find_packages, setup setup( name='django-controlcenter', version='0.2.1', description='Set of widgets to build dashboards for your Django-project.', long_description='', url='https://github.com/byashimov/django-controlcenter', author='Murad Byashimov', author_email='b...
from setuptools import find_packages, setup setup( name='django-controlcenter', version='0.2.0', description='Set of widgets to build dashboards for your Django-project.', long_description='', url='https://github.com/byashimov/django-controlcenter', author='Murad Byashimov', author_email='b...
Python
0.000001
1c02453275d32109028aa3b915e56640404e74fe
Update setup.py
setup.py
setup.py
# coding:utf-8 import sys try: from setuptools import setup except ImportError: from distutils.core import setup if sys.version_info < (2, 6): error = 'ERROR: qingcloud-sdk requires Python Version 2.6 or above.' print >> sys.stderr, error sys.exit(1) setup( name='qingcloud-sdk', version=...
# coding:utf-8 import sys try: from setuptools import setup except ImportError: from distutils.core import setup if sys.version_info < (2, 6): error = 'ERROR: qingcloud-sdk requires Python Version 2.6 or above.' print >> sys.stderr, error sys.exit(1) setup( name='qingcloud-sdk', version=...
Python
0
b82e851a74c2a3ac4823723be2f6b0caf88cb7c8
use distutils for comming python 3.12
setup.py
setup.py
import sys try: from setuptools import setup, Command, Extension except ImportError: from distutils.core import setup, Command from distutils.extension import Extension try: from Cython.Build import cythonize ext_modules = cythonize([ Extension("cymysql.packet", ["cymysql/packet.pyx"]),...
import sys from distutils.core import setup, Command from distutils.extension import Extension try: from Cython.Build import cythonize ext_modules = cythonize([ Extension("cymysql.packet", ["cymysql/packet.pyx"]), Extension("cymysql.charset", ["cymysql/charset.py"]), Extensi...
Python
0
2998e76c9129ef5740ab177343db262c391594a6
Bump pytest-spec version.
setup.py
setup.py
#!/usr/bin/env python # encoding: utf-8 from __future__ import print_function import os import sys import codecs try: from setuptools.core import setup, find_packages except ImportError: from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand if sys.version_info < (2...
#!/usr/bin/env python # encoding: utf-8 from __future__ import print_function import os import sys import codecs try: from setuptools.core import setup, find_packages except ImportError: from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand if sys.version_info < (2...
Python
0
8866c06ee9131cf0e52c08e0ae9e08db90347590
increment version
setup.py
setup.py
# coding: utf-8 from setuptools import setup setup( name='graphite_raintank', version='0.2', url='https://github.com/raintank/graphite_raintank', license='apache2', author='Anthony Woods', author_email='awoods@raintank.io', description=('Raintank backend plugin for graphite_api'), long_...
# coding: utf-8 from setuptools import setup setup( name='graphite_raintank', version='0.1', url='https://github.com/raintank/graphite_raintank', license='apache2', author='Anthony Woods', author_email='awoods@raintank.io', description=('Raintank backend plugin for graphite_api'), long_...
Python
0.000004
e71fed207a64c429894f455513fcef38e0f215c9
Fix version retrieval
setup.py
setup.py
#!/usr/bin/env python # Filename: setup.py """ KM3Pipe setup script. """ from setuptools import setup try: import builtins except ImportError: import __builtin__ as builtins # so we can detect in __init__.py that it's called from setup.py builtins.__KM3PIPE_SETUP__ = True from pkg_resources import get_distr...
#!/usr/bin/env python # Filename: setup.py """ KM3Pipe setup script. """ from setuptools import setup try: import builtins except ImportError: import __builtin__ as builtins # so we can detect in __init__.py that it's called from setup.py builtins.__KM3PIPE_SETUP__ = True from pkg_resources import get_distr...
Python
0.000006
4744e2df3a99ddca3caae4359985daffb30bb94b
Update Flask-Z3950
setup.py
setup.py
# -*- coding: utf8 -*- """ pybossa-z3950 ------------- A PyBossa plugin for Z39.50 integration. """ import re import os from setuptools import setup version = re.search('^__version__\s*=\s*"(.*)"', open('pybossa_z3950/__init__.py').read(), re.M).group(1) try: here = os....
# -*- coding: utf8 -*- """ pybossa-z3950 ------------- A PyBossa plugin for Z39.50 integration. """ import re import os from setuptools import setup version = re.search('^__version__\s*=\s*"(.*)"', open('pybossa_z3950/__init__.py').read(), re.M).group(1) try: here = os....
Python
0
43dc6dc0a9b33de0db1f79f7470d69519192dc1f
Put tests_require into extras_require also
setup.py
setup.py
from setuptools import setup, find_packages try: import nose.commands extra_args = dict( cmdclass={'test': nose.commands.nosetests}, ) except ImportError: extra_args = dict() # TODO: would this work? (is the file included in the dist?) #tests_require = [l.strip() for l in open('test-requirements.txt').rea...
from setuptools import setup, find_packages try: import nose.commands extra_args = dict( cmdclass={'test': nose.commands.nosetests}, ) except ImportError: extra_args = dict() setup( name='dear_astrid', version='0.1.0', author='Randy Stauner', author_email='randy@magnificent-tears.com', package...
Python
0.000001
1c2e79fb67fb2d71e1d8714f47552af3b442fda8
bump version to 1.0.6
setup.py
setup.py
try: from setuptools import setup except ImportError: raise ImportError( "setuptools module required, please go to " "https://pypi.python.org/pypi/setuptools and follow the instructions " "for installing setuptools" ) with open("README.md", "r") as fh: long_description = fh.re...
try: from setuptools import setup except ImportError: raise ImportError( "setuptools module required, please go to " "https://pypi.python.org/pypi/setuptools and follow the instructions " "for installing setuptools" ) with open("README.md", "r") as fh: long_description = fh.re...
Python
0
797d2ea521b40bbbdab5430f1d08dbb3e5fb1eb1
Fix repo URL in setup.py
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Setup script for the pyasdf module. :copyright: Lion Krischer (krischer@geophysik.uni-muenchen.de), 2014 :license: BSD 3-Clause ("BSD New" or "BSD Simplified") """ import inspect import os from setuptools import setup, find_packages def get_package_data(): ...
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Setup script for the pyasdf module. :copyright: Lion Krischer (krischer@geophysik.uni-muenchen.de), 2014 :license: BSD 3-Clause ("BSD New" or "BSD Simplified") """ import inspect import os from setuptools import setup, find_packages def get_package_data(): ...
Python
0.000001
dbf1da4da04fd926e96e1f370efb938e99cbec05
Bump version patch level
setup.py
setup.py
import warnings try: from Cython.Distutils import build_ext from setuptools import setup, Extension HAVE_CYTHON = True except ImportError as e: warnings.warn(e.message) from setuptools import setup, Extension from setuptools.command.build_ext import build_ext HAVE_CYTHON = False import num...
import warnings try: from Cython.Distutils import build_ext from setuptools import setup, Extension HAVE_CYTHON = True except ImportError as e: warnings.warn(e.message) from setuptools import setup, Extension from setuptools.command.build_ext import build_ext HAVE_CYTHON = False import num...
Python
0
7519e8c1a5e97aa65968e3fad4c500d39328f74b
bump version
setup.py
setup.py
# -*- coding: utf-8 -*- from setuptools import setup, find_packages from setuptools.extension import Extension from Cython.Build import cythonize import numpy as np import io PACKAGE_NAME = 'pysaliency' VERSION = '0.2.2' DESCRIPTION = 'A Python Framework for Saliency Modeling and Evaluation' AUTHOR = 'Matthias Kümme...
# -*- coding: utf-8 -*- from setuptools import setup, find_packages from setuptools.extension import Extension from Cython.Build import cythonize import numpy as np import io PACKAGE_NAME = 'pysaliency' VERSION = '0.2.1' DESCRIPTION = 'A Python Framework for Saliency Modeling and Evaluation' AUTHOR = 'Matthias Kümme...
Python
0
d214fbfacd52d64ac9ad742a2af0047f5fb0a115
update version to trigger build
setup.py
setup.py
from setuptools import setup, find_packages import os with open("README.md", "r") as fh: long_description = fh.read() setup(name='donkeycar', version='2.5.5', description='Self driving library for python.', long_description=long_description, long_description_content_type="text/markdown",...
from setuptools import setup, find_packages import os with open("README.md", "r") as fh: long_description = fh.read() setup(name='donkeycar', version='2.5.2', description='Self driving library for python.', long_description=long_description, long_description_content_type="text/markdown",...
Python
0
e31b93d1fdda810d70d3050c73c6638b29219d12
Increase the allowed version of aniso8601 (#1072)
setup.py
setup.py
import ast import codecs import re import sys from setuptools import find_packages, setup from setuptools.command.test import test as TestCommand _version_re = re.compile(r"VERSION\s+=\s+(.*)") with open("graphene/__init__.py", "rb") as f: version = ast.literal_eval(_version_re.search(f.read().decode("utf-8")).g...
import ast import codecs import re import sys from setuptools import find_packages, setup from setuptools.command.test import test as TestCommand _version_re = re.compile(r"VERSION\s+=\s+(.*)") with open("graphene/__init__.py", "rb") as f: version = ast.literal_eval(_version_re.search(f.read().decode("utf-8")).g...
Python
0
9031637554fa0b844f33d208d2527825fdd629fc
Update pypi classifiers.
setup.py
setup.py
#!/usr/bin/env python import sys from admin_honeypot import __version__, __description__, __license__ try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup, find_packages setup( name='django-admin-honeypot', version=__version__, description=__descrip...
#!/usr/bin/env python import sys from admin_honeypot import __version__, __description__, __license__ try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup, find_packages setup( name='django-admin-honeypot', version=__version__, description=__descrip...
Python
0
a387f0f91bd7fa8a86401de5060b073f1e9b2e82
fix packages in setup.py for PyPI
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages from glob import glob name = "jcvi" classifiers = [ 'Development Status :: 4 - Beta', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python', 'Programming Language :: Pyt...
#!/usr/bin/env python from setuptools import setup, find_packages from glob import glob name = "jcvi" classifiers = [ 'Development Status :: 4 - Beta', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python', 'Programming Language :: Pyt...
Python
0