commit
stringlengths
40
40
subject
stringlengths
4
1.73k
repos
stringlengths
5
127k
old_file
stringlengths
2
751
new_file
stringlengths
2
751
new_contents
stringlengths
1
8.98k
old_contents
stringlengths
0
6.59k
license
stringclasses
13 values
lang
stringclasses
23 values
458ac2223123722fd9553c4b1895d7b557a6d57a
Fix some indentation.
sjl/splice.vim,sjl/splice.vim
autoload/splice.py
autoload/splice.py
import vim, os, sys # Add the library to the Python path. for p in vim.eval("&runtimepath").split(','): plugin_dir = os.path.join(p, "autoload") if os.path.exists(os.path.join(plugin_dir, "splicelib")): if plugin_dir not in sys.path: sys.path.append(plugin_dir) break import splicelib...
import vim, os, sys # Add the library to the Python path. for p in vim.eval("&runtimepath").split(','): plugin_dir = os.path.join(p, "autoload") if os.path.exists(os.path.join(plugin_dir, "splicelib")): if plugin_dir not in sys.path: sys.path.append(plugin_dir) break import splicelib.init...
mit
Python
6b4e34a5091ec00dffb1add55fa8dc279cbc2c89
Fix FutureWarning: read_table is deprecated, use read_csv instead, passing sep='\t'
JasonKessler/scattertext,JasonKessler/scattertext,JasonKessler/scattertext,JasonKessler/scattertext
scattertext/frequencyreaders/DefaultBackgroundFrequencies.py
scattertext/frequencyreaders/DefaultBackgroundFrequencies.py
import pkgutil from io import StringIO import pandas as pd from scipy.stats import rankdata class BackgroundFrequencies(object): @staticmethod def get_background_frequency_df(frequency_path=None): raise Exception @classmethod def get_background_rank_df(cls, frequency_path=None): df =...
import pkgutil from io import StringIO import pandas as pd from scipy.stats import rankdata class BackgroundFrequencies(object): @staticmethod def get_background_frequency_df(frequency_path=None): raise Exception @classmethod def get_background_rank_df(cls, frequency_path=None): df = cls.get_background_freq...
apache-2.0
Python
db0dec8128e82baee9b0e2227293e55d4df5c95d
Set recycle by default (safer that way).
smartfile/django-mysqlpool
django_mysqlpool/backends/mysqlpool/base.py
django_mysqlpool/backends/mysqlpool/base.py
from UserDict import UserDict from django.conf import settings from django.db.backends.mysql import base from django.core.exceptions import ImproperlyConfigured try: import sqlalchemy.pool as pool except ImportError, e: raise ImproperlyConfigured("Error loading SQLAlchemy module: %s" % e) # Global variable t...
from UserDict import UserDict from django.conf import settings from django.db.backends.mysql import base from django.core.exceptions import ImproperlyConfigured try: import sqlalchemy.pool as pool except ImportError, e: raise ImproperlyConfigured("Error loading SQLAlchemy module: %s" % e) # Global variable t...
mit
Python
40fc5c555e471f28959cbe3ad7d929636384595a
Fix error handling on aggregate status report
dimagi/commcare-hq,qedsoftware/commcare-hq,SEL-Columbia/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,puttarajubr/commcare-hq,qedsoftware/commcare-hq,puttarajubr/commcare-hq,qedsoftware/commcare-hq,qedsoftware/commcare-hq,dimagi/commcare-hq,qedsoftware/commcare-hq,SEL-Columbia/commcare-hq,SEL-Col...
casexml/apps/stock/utils.py
casexml/apps/stock/utils.py
from decimal import Decimal UNDERSTOCK_THRESHOLD = 0.5 # months OVERSTOCK_THRESHOLD = 2. # months def months_of_stock_remaining(stock, daily_consumption): if daily_consumption: return stock / Decimal((daily_consumption * 30)) else: return None def stock_category(stock, daily_consumption):...
UNDERSTOCK_THRESHOLD = 0.5 # months OVERSTOCK_THRESHOLD = 2. # months def months_of_stock_remaining(stock, daily_consumption): try: return stock / (daily_consumption * 30) except (TypeError, ZeroDivisionError): return None def stock_category(stock, daily_consumption): if stock is None:...
bsd-3-clause
Python
38ea51b49e3faac980df5692dd757e12af17fbe9
Change the python path of gunicorn/conf.py to use '/home/vagrant' instead of '/home/root'.
giovannicode/djangoseller,giovannicode/djangoseller,giovannicode/djangoseller,giovannicode/djangoseller
vagrant_setup/gunicorn/conf.py
vagrant_setup/gunicorn/conf.py
command = 'gunicorn' pythonpath = '/home/vagrant/www/website/' bind = '127.0.0.1:8001' workers = 3
command = 'gunicorn' pythonpath = '/home/root/www/website/' bind = '127.0.0.1:8001' workers = 3
bsd-3-clause
Python
ceb32eb2cefadc04fdf7cf5c474a96d307a1618f
Clean up File edit view
yeti-platform/yeti,yeti-platform/yeti,yeti-platform/yeti,yeti-platform/yeti
core/observables/file.py
core/observables/file.py
from __future__ import unicode_literals from flask import url_for from flask_mongoengine.wtf import model_form from mongoengine import * from core.observables import Observable from core.database import StringListField class File(Observable): value = StringField(verbose_name="Value") mime_type = StringFie...
from __future__ import unicode_literals from mongoengine import * from core.observables import Observable from core.observables import Hash class File(Observable): value = StringField(verbose_name="SHA256 hash") mime_type = StringField(verbose_name="MIME type") hashes = DictField(verbose_name="Hashes"...
apache-2.0
Python
666a8e1255ca3eeb3ae00144fd8652ef5ecfd470
bump to 0.2.9
tito/telenium,tito/telenium,tito/telenium
telenium/__init__.py
telenium/__init__.py
# coding=utf-8 __version__ = "0.2.9"
# coding=utf-8 __version__ = "0.2.8"
mit
Python
9c419db7f7ed3341175ad46996dc4e3a6f0d1aa5
Update for uarray module.
pfalcon/micropython,pfalcon/micropython,pfalcon/micropython,pfalcon/micropython,pfalcon/micropython
examples/natmod/features2/test.py
examples/natmod/features2/test.py
# This Python code will be merged with the C code in main.c import uarray as array def isclose(a, b): return abs(a - b) < 1e-3 def test(): tests = [ isclose(add(0.1, 0.2), 0.3), isclose(add_f(0.1, 0.2), 0.3), ] ar = array.array('f', [1, 2, 3.5]) productf(ar) tests.append(iscl...
# This Python code will be merged with the C code in main.c import array def isclose(a, b): return abs(a - b) < 1e-3 def test(): tests = [ isclose(add(0.1, 0.2), 0.3), isclose(add_f(0.1, 0.2), 0.3), ] ar = array.array('f', [1, 2, 3.5]) productf(ar) tests.append(isclose(ar[0],...
mit
Python
cb6303e81920284be98c61b6d512e28ce2837581
Fix caching for the hello_weld python example (#400)
rahulpalamuttam/weld,sppalkia/weld,weld-project/weld,rahulpalamuttam/weld,weld-project/weld,rahulpalamuttam/weld,rahulpalamuttam/weld,rahulpalamuttam/weld,weld-project/weld,sppalkia/weld,weld-project/weld,sppalkia/weld,sppalkia/weld,sppalkia/weld,weld-project/weld
examples/python/hello_weld/lib.py
examples/python/hello_weld/lib.py
from weld.weldobject import * from weld.types import * from weld.encoders import NumpyArrayEncoder, NumpyArrayDecoder, ScalarDecoder _encoder = NumpyArrayEncoder() _decoder = NumpyArrayDecoder() class HelloWeldVector(object): def __init__(self, vector): self.vector = vector self.weldobj = WeldO...
from weld.weldobject import * from weld.types import * from weld.encoders import NumpyArrayEncoder, NumpyArrayDecoder, ScalarDecoder _encoder = NumpyArrayEncoder() _decoder = NumpyArrayDecoder() class HelloWeldVector(object): def __init__(self, vector): self.vector = vector self.weldobj = WeldO...
bsd-3-clause
Python
967a06d2c4d0595ea4dc9ad37fbf546982662d0e
Fix service name
victronenergy/dbus_generator
test/dummybattery.py
test/dummybattery.py
#!/usr/bin/env python from dbus.mainloop.glib import DBusGMainLoop import gobject import argparse import logging import sys import os # our own packages sys.path.insert(1, os.path.join(os.path.dirname(__file__), '../ext/velib_python')) from dbusdummyservice import DbusDummyService # Argument parsing parser = argpars...
#!/usr/bin/env python from dbus.mainloop.glib import DBusGMainLoop import gobject import argparse import logging import sys import os # our own packages sys.path.insert(1, os.path.join(os.path.dirname(__file__), '../ext/velib_python')) from dbusdummyservice import DbusDummyService # Argument parsing parser = argpars...
mit
Python
3a421e1bd1d7f4b9a852e8a3aac9ebc0c8a9a2db
Fix create_deployment not actually setting base_site_url.
deer-hope/zulip,zwily/zulip,brainwane/zulip,verma-varsha/zulip,hafeez3000/zulip,amyliu345/zulip,synicalsyntax/zulip,Vallher/zulip,qq1012803704/zulip,EasonYi/zulip,shrikrishnaholla/zulip,tdr130/zulip,armooo/zulip,johnnygaddarr/zulip,showell/zulip,Suninus/zulip,yuvipanda/zulip,rishig/zulip,RobotCaleb/zulip,littledogboy/z...
zilencer/management/commands/create_deployment.py
zilencer/management/commands/create_deployment.py
from __future__ import absolute_import from optparse import make_option import sys from django.core.management.base import BaseCommand from zerver.models import get_realm from zerver.lib.create_user import random_api_key from zerver.management.commands.create_realm import Command as CreateRealm from zilencer.models ...
from __future__ import absolute_import from optparse import make_option import sys from django.core.management.base import BaseCommand from zerver.models import get_realm from zerver.lib.create_user import random_api_key from zerver.management.commands.create_realm import Command as CreateRealm from zilencer.models ...
apache-2.0
Python
7d49273897bd317323e0a3bbbc01b76e83370f0c
add a test for the new with_stderr mechanism
jeblair/GitPython,beni55/GitPython,pengshp/GitPython,gitpython-developers/gitpython,nvie/GitPython,Conjuro/GitPython,expobrain/GitPython,bwrsandman/GitPython,zsjohny/GitPython,h4ck3rm1k3/GitPython,gitpython-developers/GitPython,Conjuro/GitPython,StyXman/GitPython,pengshp/GitPython,nvie/GitPython,cool-RR/GitPython,ghtda...
test/git/test_git.py
test/git/test_git.py
import os from test.testlib import * from git_python import Git from git_python import errors class TestGit(object): def setup(self): base = os.path.join(os.path.dirname(__file__), "../..") self.git = Git(base) @patch(Git, 'execute') def test_method_missing_calls_execute(self, git): ...
import os from test.testlib import * from git_python import Git from git_python import errors class TestGit(object): def setup(self): base = os.path.join(os.path.dirname(__file__), "../..") self.git = Git(base) @patch(Git, 'execute') def test_method_missing_calls_execute(self, git): ...
bsd-3-clause
Python
dd68c01ad749fafe4c268047ec5f01850c890d49
Add comment
lambdalisue/maidenhair
src/maidenhair/compat.py
src/maidenhair/compat.py
# coding=utf-8 """ """ __author__ = 'Alisue <lambdalisue@hashnote.net>' # prefer new OrderedDict try: # from Python 2.7 from collections import OrderedDict except ImportError: # pip install ordereddict from ordereddict import OrderedDict
# coding=utf-8 """ """ __author__ = 'Alisue <lambdalisue@hashnote.net>' # prefer new OrderedDict try: from collections import OrderedDict except ImportError: # pip install ordereddict from ordereddict import OrderedDict
mit
Python
ee8b8f303adb6715d34ca469bd5825b680b56ceb
Update compare.py
dstover1688/CryptoComparisons
compare.py
compare.py
import requests import json import sys import time ### #whattomine api #only place i've found with ubiq (UBQ coin) info coin='Ubiq' uri='http://www.whattomine.com/coins.json' r=requests.get(uri).json() reward= (r['coins'][coin]['block_reward']) difficulty = (r['coins'][coin]['difficulty']) print(reward, difficulty) #...
import requests import json import sys import time ### #coinwarz api coin='etc' apik='942f61a7fda04a18ba52af7765b3d848' uri='http://www.coinwarz.com/v1/api/coininformation/?apikey=' + apik + '&cointag=' + coin r=requests.get(uri).json() reward=(r['Data']['BlockReward']) difficulty=(r['Data']['Difficulty']) print(rewar...
apache-2.0
Python
6a453449720de55908b0a625659eeda2221fc95d
Update compare.py
dstover1688/CryptoComparisons
compare.py
compare.py
import requests import json import sys import time ### #coinwarz api coin='etc' apik='942f61a7fda04a18ba52af7765b3d848' uri='http://www.coinwarz.com/v1/api/coininformation/?apikey=' + apik + '&cointag=' + coin r=requests.get(uri).json() reward=(r['Data']['BlockReward']) difficulty=(r['Data']['Difficulty']) print(rewar...
import requests import json import sys import time ###<# coin='etc' rewardurl='https://www.cryptocompare.com/api/data/coinsnapshot/?fsym=ETH&tsym=BTC' rewardreq=requests.get(rewardurl).json() reward = (rewardreq['Data']['BlockReward']) print(reward) #> ### #Get statistic for a given coin def getstats(coin,hash): rew...
apache-2.0
Python
31fa7378e460e7f994169c809d2cdf8a36662236
use yaml.safe_load
kylef/maintain,kylef/maintain,kylef/maintain
maintain/config.py
maintain/config.py
import os import yaml import jsonschema from maintain.release.aggregate import AggregateReleaser SCHEMA = { 'type': 'object', 'properties': { 'release': { 'type': 'object', 'properties': {}, 'patternProperties': { '': { 'type': ...
import os import yaml import jsonschema from maintain.release.aggregate import AggregateReleaser SCHEMA = { 'type': 'object', 'properties': { 'release': { 'type': 'object', 'properties': {}, 'patternProperties': { '': { 'type': ...
bsd-2-clause
Python
0fe4756c10dddcbc2d61c68e484d8f395542b528
Update P01_readPDF added decrypting PDFs
JoseALermaIII/python-tutorials,JoseALermaIII/python-tutorials
books/AutomateTheBoringStuffWithPython/Chapter13/P01_readPDF.py
books/AutomateTheBoringStuffWithPython/Chapter13/P01_readPDF.py
# This program manipulates PDF files # Note: # - Example PDFs can be downloaded from http://nostarch.com/automatestuff/ # - Book uses PyPDF2; I'm an overachiever that uses PyPDF4 import PyPDF4 from PyPDF4.utils import PdfReadError # Extracting Text from PDFs pdfFileObj = open("meetingminutes.pdf", "rb") pdfReader = P...
# This program manipulates PDF files # Note: # - Example PDFs can be downloaded from http://nostarch.com/automatestuff/ # - Book uses PyPDF2; I'm an overachiever that uses PyPDF4 import PyPDF4 # Extracting Text from PDFs pdfFileObj = open("meetingminutes.pdf", "rb") pdfReader = PyPDF4.PdfFileReader(pdfFileObj) print(...
mit
Python
1f80f208d5d6634a97d8cb8033ac9d1967028425
Fix bool evaluator logic
cbigler/jackrabbit
coney/response.py
coney/response.py
from .response_codes import ResponseCodes class Response(object): def __init__(self, return_value, code=0, details={}): self._return_value = return_value self._code = code self._details = details @property def return_value(self): return self._return_value @property ...
from .response_codes import ResponseCodes class Response(object): def __init__(self, return_value, code=0, details={}): self._return_value = return_value self._code = code self._details = details @property def return_value(self): return self._return_value @property ...
mit
Python
d42c10be92105093793d6f83b71ea38d92e98a8f
update comment about cross refs in fix_latex_file.py
maojrs/riemann_book,maojrs/riemann_book,maojrs/riemann_book
fix_latex_file.py
fix_latex_file.py
import re import subprocess import os import glob fname = 'riemann.tex' lines = open(fname,'r').read() oldpat = r'\href' newpat = r'\hreffoot' lines = lines.replace(oldpat, newpat) # Attempt to replace url's to other notebooks by cross-references to # chapters, but then I noticed this is already done by bookbook ...
import re import subprocess import os import glob fname = 'riemann.tex' lines = open(fname,'r').read() oldpat = r'\href' newpat = r'\hreffoot' lines = lines.replace(oldpat, newpat) # Attempt to replace url's to other notebooks by cross-references to # chapters, but then I noticed this is already done by bookbook ...
bsd-3-clause
Python
b2f5b1b0bbfe9560eefeb2e9d38f609f98fd8088
add clear button
lapisdecor/bzoing
bzoing/seetasks.py
bzoing/seetasks.py
import gi gi.require_version('Gtk', '3.0') from gi.repository import Gtk from . import share class SeeTasks(Gtk.Window): def __init__(self, parent): Gtk.Window.__init__(self, title='See Tasks') self.connect('destroy', self.quit_window) store = Gtk.ListStore(str, str, str, bool) for...
import gi gi.require_version('Gtk', '3.0') from gi.repository import Gtk from . import share class SeeTasks(Gtk.Window): def __init__(self, parent): Gtk.Window.__init__(self, title='See Tasks') self.connect('destroy', self.quit_window) store = Gtk.ListStore(str, str, str, bool) for...
mit
Python
8a73ba5f7b7ce6e27c2a630bb3f4d20ff6d44aed
remove the warning fix again...
nuagenetworks/bambou
bambou/__init__.py
bambou/__init__.py
# -*- coding: utf-8 -*- # Copyright (c) 2011-2012 Alcatel, Alcatel-Lucent, Inc. All Rights Reserved. # # This source code contains confidential information which is proprietary to Alcatel. # No part of its contents may be used, copied, disclosed or conveyed to any party # in any manner whatsoever without prior written ...
# -*- coding: utf-8 -*- # Copyright (c) 2011-2012 Alcatel, Alcatel-Lucent, Inc. All Rights Reserved. # # This source code contains confidential information which is proprietary to Alcatel. # No part of its contents may be used, copied, disclosed or conveyed to any party # in any manner whatsoever without prior written ...
bsd-3-clause
Python
41e0aa67593e511acec6a18060186acbd92d954a
update dev version after 2.3.0 tag [skip ci]
desihub/fiberassign,desihub/fiberassign,desihub/fiberassign,desihub/fiberassign
py/fiberassign/_version.py
py/fiberassign/_version.py
__version__ = '2.3.0.dev2838'
__version__ = '2.3.0'
bsd-3-clause
Python
6172eafbaf65b859462985056bb33490b98b0749
Use the new Game class.
oubiwann/peloid
peloid/app/shell/service.py
peloid/app/shell/service.py
from twisted.cred import portal from twisted.conch import manhole_ssh from twisted.conch.checkers import SSHPublicKeyDatabase from carapace.util import ssh as util from peloid.app import mud from peloid.app.shell import gameshell, setupshell def getGameShellFactory(**namespace): game = mud.Game() sshRealm =...
from twisted.cred import portal from twisted.conch import manhole_ssh from twisted.conch.checkers import SSHPublicKeyDatabase from carapace.util import ssh as util from peloid.app.shell import gameshell, setupshell def getGameShellFactory(**namespace): game = None sshRealm = gameshell.TerminalRealm(namespac...
mit
Python
48adf9e8b66f3875964c0afc88a0261cec589c26
Remove unused copy_glob function
rlee287/pyautoupdate,rlee287/pyautoupdate
pyautoupdate/_move_glob.py
pyautoupdate/_move_glob.py
import glob import shutil import os def move_glob(src,dst): """Moves files from src to dest. src may be any glob to recognize files. dst must be a folder.""" for obj in glob.iglob(src): shutil.move(obj,dst)
import glob import shutil import os def move_glob(src,dst): """Moves files from src to dest. src may be any glob to recognize files. dst must be a folder.""" for obj in glob.iglob(src): shutil.move(obj,dst) def copy_glob(src,dst): """Copies files from src to dest. src may be any glob to ...
lgpl-2.1
Python
56da827ab79467d75439acc59b39d4db17c336b1
make the larger tests actually run.
cderici/pycket,samth/pycket,krono/pycket,krono/pycket,pycket/pycket,krono/pycket,magnusmorton/pycket,cderici/pycket,magnusmorton/pycket,magnusmorton/pycket,vishesh/pycket,samth/pycket,samth/pycket,vishesh/pycket,pycket/pycket,pycket/pycket,cderici/pycket,vishesh/pycket
pycket/test/test_larger.py
pycket/test/test_larger.py
import pytest from pycket.expand import expand, to_ast from pycket.interpreter import * from pycket.values import * from pycket.prims import * from pycket.test.test_basic import run_top current_dir = os.path.dirname(__file__) def run_file(fname): with file(os.path.join(current_dir, fname)) as f: s = f.re...
import pytest from pycket.expand import expand, to_ast from pycket.interpreter import * from pycket.values import * from pycket.prims import * from pycket.test.test_basic import run_top def run_file(fname): with file(fname) as f: s = f.read() return run_top(s) def test_puzzle(): run_file("puzzle....
mit
Python
acdab2498713e0d55d1f186d819e4f5158c21a1d
Enable Sentry for the admin app
PyGotham/pygotham,PyGotham/pygotham,pathunstrom/pygotham,pathunstrom/pygotham,PyGotham/pygotham,pathunstrom/pygotham,PyGotham/pygotham,pathunstrom/pygotham,pathunstrom/pygotham,PyGotham/pygotham
pygotham/admin/__init__.py
pygotham/admin/__init__.py
"""Admin application.""" import importlib import pkgutil from flask_admin import Admin from flask_admin.base import AdminIndexView, MenuLink from flask.ext.admin.contrib.sqla import ModelView from flask_login import current_user from raven.contrib.flask import Sentry from pygotham import factory, filters __all__ = ...
"""Admin application.""" import importlib import pkgutil from flask_admin import Admin from flask_admin.base import AdminIndexView, MenuLink from flask.ext.admin.contrib.sqla import ModelView from flask_login import current_user from pygotham import factory, filters __all__ = ('create_app',) class HomeView(AdminI...
bsd-3-clause
Python
b4e0d56f09455f61e699d8d77aaffd384ed94619
Add calibration pattern parameters.
microy/StereoVision,microy/VisionToolkit,microy/PyStereoVisionToolkit,microy/PyStereoVisionToolkit,microy/VisionToolkit,microy/StereoVision
camera-capture.py
camera-capture.py
#! /usr/bin/env python # -*- coding:utf-8 -*- # # Application to capture images from AVT cameras # using the AVT Vimba SDK # # External dependencies import argparse import sys import Vimba import Calibration import CvViewer # Camera serial numbers camera_1_id = '50-0503323406' camera_2_id = '50-0503326223' # Cre...
#! /usr/bin/env python # -*- coding:utf-8 -*- # # Application to capture images from AVT cameras # using the AVT Vimba SDK # # External dependencies import argparse import sys import Vimba import CvViewer # Camera serial numbers camera_1_id = '50-0503323406' camera_2_id = '50-0503326223' # Create a command line ...
mit
Python
de37c99c7032e960b0d3258d28f4bb456723ee90
Bump version to 0.5.2
ColinDuquesnoy/pyqt_distutils
pyqt_distutils/__init__.py
pyqt_distutils/__init__.py
""" A set of PyQt distutils extensions for build qt ui files in a pythonic way: - build_ui: build qt ui/qrc files """ __version__ = '0.5.2'
""" A set of PyQt distutils extensions for build qt ui files in a pythonic way: - build_ui: build qt ui/qrc files """ __version__ = '0.5.1'
mit
Python
4fbba08c316d2c73ed30ce7346cc92bb5f9eb0e5
replace pyasn1 exceptions with pysnmp one
xfguo/pysnmp
pysnmp/proto/api/verdec.py
pysnmp/proto/api/verdec.py
from pyasn1.codec.ber import decoder from pyasn1.error import PyAsn1Error from pysnmp.proto.error import ProtocolError def decodeMessageVersion(wholeMsg): try: seq, wholeMsg = decoder.decode(wholeMsg, recursiveFlag=0) ver, wholeMsg = decoder.decode(wholeMsg, recursiveFlag=0) return ver ...
from pyasn1.codec.ber import decoder def decodeMessageVersion(wholeMsg): seq, wholeMsg = decoder.decode(wholeMsg, recursiveFlag=0) ver, wholeMsg = decoder.decode(wholeMsg, recursiveFlag=0) return ver
bsd-3-clause
Python
3a946a13744363561140b557d8fa079b5a0f380b
bump version to 0.1.45
rainwoodman/bigfile,rainwoodman/bigfile,rainwoodman/bigfile
bigfile/version.py
bigfile/version.py
__version__ = "0.1.45"
__version__ = "0.1.44"
bsd-2-clause
Python
6b03af6c89ade2b0046d1ce378b4365260f63e0e
Add apidoc TODO.
ohsu-qin/qipipe
qipipe/staging/__init__.py
qipipe/staging/__init__.py
""" Image processing preparation. The staging package defines the functions used to prepare the study image files for import into XNAT, submission to the TCIA QIN collections and pipeline processing. """ # TODO - review and correct the many apidoc errors in this module. # OHSU - The ohsu module creates the OHSU QIN ...
""" Image processing preparation. The staging package defines the functions used to prepare the study image files for import into XNAT, submission to the TCIA QIN collections and pipeline processing. """ # OHSU - The ohsu module creates the OHSU QIN collections. # TODO - this should be a config item. from . import oh...
bsd-2-clause
Python
b907d67565c03d708dfb695a83f1ce73276ebe3f
Improve the extraction of the talkid from the page
kastden/nanagogo
bin/get_real_id.py
bin/get_real_id.py
#!/usr/bin/env python3 """Get a 755 user's real talkId from their public ID on the website. As an example, the ID for Furuhata Nao's page is Xe8jJ0D40_aWkVIvojdMdG== (http://7gogo.jp/lp/Xe8jJ0D40_aWkVIvojdMdG==), but her real talkId (for use with the API) is MqsG1FLTi-_9GtN76wEuUm==. Example usage and output: $ pyth...
#!/usr/bin/env python3 """Get a 755 user's real talkId from their public ID on the website. As an example, the ID for Furuhata Nao's page is Xe8jJ0D40_aWkVIvojdMdG== (http://7gogo.jp/lp/Xe8jJ0D40_aWkVIvojdMdG==), but her real talkId (for use with the API) is MqsG1FLTi-_9GtN76wEuUm==. Example usage and output: $ pyth...
mit
Python
7743eb727caebb91f910b57216bc96a2fe87b589
Update lmgtfy.py
WebShark025/ZigZag-v2,WebShark025/ZigZag-v2,WebShark025/ZigZag-v2
plugins/lmgtfy.py
plugins/lmgtfy.py
def lmgtfy(message): m = bot.send_message(message.chat.id, "Please send the query you want to be LMGTFY'ed") zigzag.nextstep(m, "lmgtfyquery") def lmgtfyquery(message): textl = message.text.replace("/lmgtfy ","", 1).replace("/Lmgtfy ", "", 1).replace("+","%2B") rez = urllib.urlopen("http://r1z.ir/api.php?long=...
def lmgtfغ(message): userlang = redisserver.get("settings:user:language:" + str(message.from_user.id)) userid = message.from_user.id if len(message.text.split()) < 2: bot.reply_to(message, language[userlang]["LMGTFY_NEA_MSG"], parse_mode="Markdown") return textl = message.text.replace("/lmgtfy ","", 1)....
mit
Python
8f607e8779980843ed38851f9e63ad6b036e0c8e
注释pyllbc中的LogTest testcase运行
lailongwei/llbc,lailongwei/llbc,lailongwei/llbc,lailongwei/llbc,lailongwei/llbc
wrap/pyllbc/testsuite/main.py
wrap/pyllbc/testsuite/main.py
# -*- coding: utf-8 -*- """ pyllbc测试主文件 """ import sys from common import * from core import * from communication import * def main(): # set dump file first. import llbc if sys.platform == 'win32': llbc.inl.SetDumpFile('pyllbc_testsuite_dumpfile') # #### common part. LLBCInfoTest()() ...
# -*- coding: utf-8 -*- """ pyllbc测试主文件 """ import sys from common import * from core import * from communication import * def main(): # set dump file first. import llbc if sys.platform == 'win32': llbc.inl.SetDumpFile('pyllbc_testsuite_dumpfile') # #### common part. LLBCInfoTest()() ...
mit
Python
d09c0a9ec1f002ab56a7629729216fa11c284c33
Add markupsafe to setup.py
maxzheng/clicast
setup.py
setup.py
#!/usr/bin/env python2.6 import os import setuptools setuptools.setup( name='clicast', version='0.3.0', author='Max Zheng', author_email='mzheng@linkedin.com', description=open('README.rst').read(), entry_points={ 'console_scripts': [ 'cast = clicast.editor:cast', ], }, install_requ...
#!/usr/bin/env python2.6 import os import setuptools setuptools.setup( name='clicast', version='0.3.0', author='Max Zheng', author_email='mzheng@linkedin.com', description=open('README.rst').read(), entry_points={ 'console_scripts': [ 'cast = clicast.editor:cast', ], }, install_requ...
mit
Python
9c925a55c155f88ff37186851702d56288b74101
Bump version (0.8)
pterk/django-tcc,pterk/django-tcc,pterk/django-tcc
setup.py
setup.py
from setuptools import setup, find_packages setup( name='tcc', version="0.8", description="Simple but effective comments app", #long_description=open('readme').read(), keywords='', author='Peter van Kampen', author_email='pterk@datatailors.com', url='', license='BSD', packages=...
from setuptools import setup, find_packages setup( name='tcc', version="0.7.2", description="Simple but effective comments app", #long_description=open('readme').read(), keywords='', author='Peter van Kampen', author_email='pterk@datatailors.com', url='', license='BSD', package...
mit
Python
f4b1b92033995eb4552401fb9e09669411787964
Remove tensorflow from hard dependencies and update the version
emedvedev/attention-ocr
setup.py
setup.py
from setuptools import find_packages from setuptools import setup REQUIRED_PACKAGES = ['distance', 'numpy', 'six', 'pillow'] VERSION = '0.0.3' try: import pypandoc README = pypandoc.convert('README.md', 'rst') except(IOError, ImportError): README = open('README.md').read() setup( name='aocr', url...
from setuptools import find_packages from setuptools import setup REQUIRED_PACKAGES = ['distance', 'tensorflow', 'numpy', 'six', 'pillow'] VERSION = '0.0.2' try: import pypandoc README = pypandoc.convert('README.md', 'rst') except(IOError, ImportError): README = open('README.md').read() setup( name='...
mit
Python
30c548a62a3fc93f1d68a2af07b0dce7a523ea7c
Include packages in setup.py
mailjet/mailjet-apiv3-python
setup.py
setup.py
#!/usr/bin/env python # coding=utf-8 import sys import os import re from setuptools import setup from setuptools.command.test import test as TestCommand HERE = os.path.abspath(os.path.dirname(__file__)) PACKAGE_NAME = 'mailjet_rest' VERSION = 'v1.0.5' setup( name=PACKAGE_NAME, version=VERSION, author='st...
#!/usr/bin/env python # coding=utf-8 import sys import os import re from setuptools import setup from setuptools.command.test import test as TestCommand HERE = os.path.abspath(os.path.dirname(__file__)) PACKAGE_NAME = 'mailjet_rest' VERSION = 'v1.0.5' setup( name=PACKAGE_NAME, version=VERSION, author='st...
mit
Python
9eda66ab3269106c4d66b46ae841afce7b45e8da
Add recent clinto
wooey/Wooey,wooey/Wooey,wooey/Wooey,wooey/Wooey
setup.py
setup.py
import os from setuptools import setup, find_packages with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='wooey', version='0.9...
import os from setuptools import setup, find_packages with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='wooey', version='0.9...
bsd-3-clause
Python
71b83340dffd0c1655fa9fb293eeffefe172ef9f
Bump release number to allow release strings
kevinconway/rpmvenv
setup.py
setup.py
"""Setuptools configuration for rpmvenv.""" from setuptools import setup from setuptools import find_packages with open('README.rst', 'r') as readmefile: README = readmefile.read() setup( name='rpmvenv', version='0.14.0', url='https://github.com/kevinconway/rpmvenv', description='RPM packager f...
"""Setuptools configuration for rpmvenv.""" from setuptools import setup from setuptools import find_packages with open('README.rst', 'r') as readmefile: README = readmefile.read() setup( name='rpmvenv', version='0.13.2', url='https://github.com/kevinconway/rpmvenv', description='RPM packager f...
mit
Python
53a016590ae7634220dd93052197e8e9090e1b8e
bump version to 1.11.3
singer-io/tap-mysql
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup setup(name='tap-mysql', version='1.11.3', description='Singer.io tap for extracting data from MySQL', author='Stitch', url='https://singer.io', classifiers=['Programming Language :: Python :: 3 :: Only'], py_modules=['tap_mysql'], ...
#!/usr/bin/env python from setuptools import setup setup(name='tap-mysql', version='1.11.2', description='Singer.io tap for extracting data from MySQL', author='Stitch', url='https://singer.io', classifiers=['Programming Language :: Python :: 3 :: Only'], py_modules=['tap_mysql'], ...
agpl-3.0
Python
276fa80d2b07d479b4d3ef0013b87860b32f0171
add core/models to packages path
jermowery/xos,jermowery/xos,open-cloud/xos,zdw/xos,open-cloud/xos,cboling/xos,wathsalav/xos,cboling/xos,xmaruto/mcord,opencord/xos,cboling/xos,jermowery/xos,jermowery/xos,wathsalav/xos,cboling/xos,xmaruto/mcord,zdw/xos,wathsalav/xos,cboling/xos,xmaruto/mcord,zdw/xos,wathsalav/xos,opencord/xos,opencord/xos,xmaruto/mcord...
setup.py
setup.py
from distutils.core import setup from plstackapi.util.glob import recursive_glob setup(name='plstackapi', version='0.1', description='PlanetStack API', packages=['plstackapi', 'plstackapi/planetstack', 'plstackapi/core','plstackapi/core/models' , 'plstackapi/core/views', 'plstackapi/core/api', 'plsta...
from distutils.core import setup from plstackapi.util.glob import recursive_glob setup(name='plstackapi', version='0.1', description='PlanetStack API', packages=['plstackapi', 'plstackapi/planetstack', 'plstackapi/core', 'plstackapi/core/views', 'plstackapi/core/api', 'plstackapi/core/fixtures', 'pls...
apache-2.0
Python
29d82afd650302c3b5ad98425899f420ec29dd4b
bump version
harrystech/arthur-redshift-etl,harrystech/arthur-redshift-etl,harrystech/arthur-redshift-etl,harrystech/arthur-redshift-etl,harrystech/arthur-redshift-etl
setup.py
setup.py
from setuptools import find_packages, setup setup( name="redshift-etl", version="0.21.0", author="Harry's Data Engineering and Contributors", description="ETL code to ferry data from PostgreSQL databases to Redshift cluster", license="MIT", keywords="redshift postgresql etl extract transform l...
from setuptools import find_packages, setup setup( name="redshift-etl", version="0.20.1", author="Harry's Data Engineering and Contributors", description="ETL code to ferry data from PostgreSQL databases to Redshift cluster", license="MIT", keywords="redshift postgresql etl extract transform l...
mit
Python
9adf46c7a77b1f43b58480172003c2251f68714e
Add install_requires to setup.py
khaeru/py-gdx
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup setup(name='PyGDX', version='2', description='GAMS Data Exchange (GDX) file access', author='Paul Natsuo Kishimoto', author_email='mail@paul.kishimoto.name', install_requires=['numpy', 'pandas', 'xray'], url='https://github.com...
#!/usr/bin/env python from distutils.core import setup setup(name='PyGDX', version='2', description='GAMS Data Exchange (GDX) file access', author='Paul Natsuo Kishimoto', author_email='mail@paul.kishimoto.name', url='https://github.com/khaeru/py-gdx', packages=['gdx'], )
mit
Python
258049876c4e9edd2c52d2f25f3f27caf976dd80
Include changelog in package registration. Up version.
svetlyak40wt/python-aspectlib,ionelmc/python-aspectlib
setup.py
setup.py
# -*- encoding: utf8 -*- from setuptools import setup, find_packages import os read = lambda *names: open(os.path.join(os.path.dirname(__file__), *names)).read() setup( name="aspectlib", version="0.8.0", url='https://github.com/ionelmc/python-aspectlib', download_url='', license='BSD', descript...
# -*- encoding: utf8 -*- from setuptools import setup, find_packages import os setup( name="aspectlib", version="0.7.0", url='https://github.com/ionelmc/python-aspectlib', download_url='', license='BSD', description="Aspect-Oriented Programming toolkit.", long_description=open(os.path.join...
bsd-2-clause
Python
ea9b1172d6394de92f40c3c38989fddc5167f02d
modify setup topics and languages for pypi
MLWave/kepler-mapper,MLWave/kepler-mapper,MLWave/kepler-mapper
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup setup(name='kmapper', version='1.0.1', description='Python implementation of mapper algorithm for Topological Data Analysis.', long_description='Python implementation of mapper algorithm. This implementation is intended to integrate into scikit-...
#!/usr/bin/env python from distutils.core import setup setup(name='kmapper', version='1.0.1', description='Python implementation of mapper algorithm for Topological Data Analysis.', long_description='Python implementation of mapper algorithm. This implementation is intended to integrate into scikit-...
mit
Python
e889cd698ec6a3c036c2196ef947b5e4019a907b
Increment version
oroszgy/spaCy.hu,honnibal/spaCy,honnibal/spaCy,recognai/spaCy,spacy-io/spaCy,recognai/spaCy,spacy-io/spaCy,banglakit/spaCy,banglakit/spaCy,explosion/spaCy,Gregory-Howard/spaCy,aikramer2/spaCy,raphael0202/spaCy,raphael0202/spaCy,recognai/spaCy,Gregory-Howard/spaCy,recognai/spaCy,honnibal/spaCy,raphael0202/spaCy,recognai...
spacy/about.py
spacy/about.py
# inspired from: # https://python-packaging-user-guide.readthedocs.org/en/latest/single_source_version/ # https://github.com/pypa/warehouse/blob/master/warehouse/__about__.py __title__ = 'spacy' __version__ = '1.6.0' __summary__ = 'Industrial-strength NLP' __uri__ = 'https://spacy.io' __author__ = 'Matthew Honnibal' ...
# inspired from: # https://python-packaging-user-guide.readthedocs.org/en/latest/single_source_version/ # https://github.com/pypa/warehouse/blob/master/warehouse/__about__.py __title__ = 'spacy' __version__ = '1.5.2' __summary__ = 'Industrial-strength NLP' __uri__ = 'https://spacy.io' __author__ = 'Matthew Honnibal' ...
mit
Python
dfb5c51e1f1476ce88d64ad3ba5c5e1d3ea1cbf9
Add more logic to app.py
PressLabs/lithium
plutionium/app.py
plutionium/app.py
import os from importlib import import_module from flask import Flask from flask.ext.admin.contrib.sqla import ModelView as AdminModelView from todoapi.extensions import db, admin, oauth, migrate from todoapi.auth import api from utils.views import ModelView cache = [] def create_app(config=None): app = Flask(_...
apache-2.0
Python
b534db26637aeb976181e5cfaff4be2e54dcfd82
Update __init__.py
sebastiandev/plyse
plyse/__init__.py
plyse/__init__.py
from .grammar import GrammarFactory from .parser import QueryParser from .query import Query from .term_parser import * from .expressions.primitives import * from .expressions.terms import * __version__ = '1.0.0'
from grammar import GrammarFactory from parser import QueryParser from query import Query from term_parser import * from expressions.primitives import * from expressions.terms import * __version__ = '1.0.0'
mit
Python
a591cb555c52720a1f73621df1f1e9607f56ddeb
Bump to 1.1
coderanger/fabric-rundeck
setup.py
setup.py
#!/usr/bin/env python # -*- coding: iso-8859-1 -*- import os import sys from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [] self.te...
#!/usr/bin/env python # -*- coding: iso-8859-1 -*- import os import sys from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [] self.te...
apache-2.0
Python
dc8854c9ca2ee77742cb7af0ce4ead83211281a8
update classifiers list
coagulant/coveralls-python,coveralls-clients/coveralls-python
setup.py
setup.py
import os from setuptools import setup VERSION_FILE = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'coveralls', 'version.py') DESCRIPTION = open('README.rst').read() + '\n\n' + open('CHANGELOG.md').read() VERSION = None with open(VERSION_FILE, 'r') as f: VERSION = f.read(...
import os from setuptools import setup VERSION_FILE = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'coveralls', 'version.py') DESCRIPTION = open('README.rst').read() + '\n\n' + open('CHANGELOG.md').read() VERSION = None with open(VERSION_FILE, 'r') as f: VERSION = f.read(...
mit
Python
45e5434528fd4e5e5c58f8e6f13803e13f92dfdc
update version
phrocker/sharkbite,phrocker/sharkbite,phrocker/sharkbite,phrocker/sharkbite,phrocker/sharkbite
setup.py
setup.py
import os import re import sys import platform import subprocess import multiprocessing from setuptools import setup, Extension from setuptools.command.build_ext import build_ext from distutils.version import LooseVersion cores = multiprocessing.cpu_count()*1.25 threads="-j" + str(int(cores)) class CMakeExtension...
import os import re import sys import platform import subprocess import multiprocessing from setuptools import setup, Extension from setuptools.command.build_ext import build_ext from distutils.version import LooseVersion cores = multiprocessing.cpu_count()*1.25 threads="-j" + str(int(cores)) class CMakeExtension...
apache-2.0
Python
59883851ae9e2d26855a5a45ae10a07f5699a3de
Bump to 0.4.0
fdroidtravis/fdroidserver,f-droid/fdroid-server,matlink/fdroidserver,matlink/fdroidserver,fdroidtravis/fdroidserver,f-droid/fdroidserver,f-droid/fdroidserver,f-droid/fdroid-server,matlink/fdroidserver,f-droid/fdroidserver,f-droid/fdroidserver,fdroidtravis/fdroidserver,matlink/fdroidserver,f-droid/fdroid-server,matlink/...
setup.py
setup.py
#!/usr/bin/env python2 from setuptools import setup import sys # workaround issue on OSX, where sys.prefix is not an installable location if sys.platform == 'darwin' and sys.prefix.startswith('/System'): data_prefix = '.' else: data_prefix = sys.prefix setup(name='fdroidserver', version='0.4.0', ...
#!/usr/bin/env python2 from setuptools import setup import sys # workaround issue on OSX, where sys.prefix is not an installable location if sys.platform == 'darwin' and sys.prefix.startswith('/System'): data_prefix = '.' else: data_prefix = sys.prefix setup(name='fdroidserver', version='0.3.0', ...
agpl-3.0
Python
8647110794a9f5cb814e58716968b355ba8bf5d7
add dill for required packages
aprotopopov/lifetimes,CamDavidsonPilon/lifetimes
setup.py
setup.py
#!/usr/bin/env python import os from distutils.core import setup exec(compile(open('lifetimes/version.py').read(), 'lifetimes/version.py', 'exec')) def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='Lifetimes', version=__version__, descripti...
#!/usr/bin/env python import os from distutils.core import setup exec(compile(open('lifetimes/version.py').read(), 'lifetimes/version.py', 'exec')) def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='Lifetimes', version=__version__, descr...
mit
Python
a0e733d6d7d43f4ff35e9c5411e02c867cf4764a
remove test for callback kwargs to s.shell.run()
nathants/py-shell,nathants/shell
test_s/slow/shell.py
test_s/slow/shell.py
import s import os import sys import pytest _keys = list(sys.modules.keys()) def setup_function(fn): fn.ctx = s.shell.tempdir() fn.ctx.__enter__() for k, v in list(sys.modules.items()): if k not in _keys: del sys.modules[k] sys.path.insert(0, os.getcwd()) def teardown_function(...
import s import os import sys import pytest _keys = list(sys.modules.keys()) def setup_function(fn): fn.ctx = s.shell.tempdir() fn.ctx.__enter__() for k, v in list(sys.modules.items()): if k not in _keys: del sys.modules[k] sys.path.insert(0, os.getcwd()) def teardown_function(...
mit
Python
0ae06977ca80fb99e0cdd097175d9093f4a70967
Fix messed up setup.py
khj1218/django-db-readonly,ambitioninc/django-db-readonly,streeter/django-db-readonly
setup.py
setup.py
#!/usr/bin/env python version = '0.3.3' import os import sys from setuptools import setup from setuptools.command.test import test if sys.argv[-1] == 'publish': os.system('python setup.py register sdist upload') os.system('python setup.py register bdist_wheel upload') sys.exit() packages = [ 'rea...
#!/usr/bin/env python version = '0.3.3' import os import sys from setuptools import setup from setuptools.command.test import test if sys.argv[-1] == 'publish': os.system('python setup.py register sdist upload') os.system('python setup.py register bdist_wheel upload') os.system('python setup.py ') ...
mit
Python
9b1c915522f72e47edbc171a73595032a2e08390
Add .pyi file to distribution
rtomac/robotframework-selenium2library,rtomac/robotframework-selenium2library,robotframework/SeleniumLibrary,emanlove/robotframework-selenium2library,robotframework/SeleniumLibrary,emanlove/robotframework-selenium2library,robotframework/SeleniumLibrary,emanlove/robotframework-selenium2library,rtomac/robotframework-sele...
setup.py
setup.py
#!/usr/bin/env python import re from os.path import abspath, dirname, join from setuptools import setup, find_packages CURDIR = dirname(abspath(__file__)) CLASSIFIERS = ''' Development Status :: 5 - Production/Stable License :: OSI Approved :: Apache Software License Operating System :: OS Independent Programming L...
#!/usr/bin/env python import re from os.path import abspath, dirname, join from setuptools import setup, find_packages CURDIR = dirname(abspath(__file__)) CLASSIFIERS = ''' Development Status :: 5 - Production/Stable License :: OSI Approved :: Apache Software License Operating System :: OS Independent Programming L...
apache-2.0
Python
261e76669480df4becbc5fbc81fbd5f8d5fa3e5c
Mark 'tvnamer-gui' as a GUI script
tomleese/tvnamer,thomasleese/tvnamer
setup.py
setup.py
#!/usr/bin/env python3 from setuptools import setup with open("README.rst") as fd: long_description = fd.read() setup( name="tvnamer", version="1.0.0-dev", description="Utility to rename lots of TV video files using the TheTVDB.", long_description=long_description, author="Tom Leese", aut...
#!/usr/bin/env python3 from setuptools import setup with open("README.rst") as fd: long_description = fd.read() setup( name="tvnamer", version="1.0.0-dev", description="Utility to rename lots of TV video files using the TheTVDB.", long_description=long_description, author="Tom Leese", aut...
mit
Python
a3a6686db9bb445c48de90fe3101fc3c5922ef4f
Fix setup.py
Arello-Mobile/sphinx-confluence,Arello-Mobile/sphinx-confluence
setup.py
setup.py
import os from setuptools import setup BASE_DIR = os.path.abspath(os.path.dirname(__file__)) README = ( open(os.path.join(BASE_DIR, 'README.md')).read() ) setup( name='sphinx-confluence', description='Atlassian Confluence extension for sphinx', long_description=README, version='0.0.1', author=...
import os from setuptools import setup BASE_DIR = os.path.abspath(os.path.dirname(__file__)) README = ( open(os.path.join(BASE_DIR, 'README.md')).read() ) setup( name='sphinx-confluence', description='Atlassian Confluence extension for sphinx', long_description=README, version='0.0.1', author=...
mit
Python
16fc9e3726946b874d3cac6d7262d7ba6d719a89
update version to 0.1.5
frecar/django-basis
setup.py
setup.py
# -*- coding: utf8 -*- import os from setuptools import setup, find_packages os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.settings' setup( name="django-basis", version='0.1.5', url='http://github.com/frecar/django-basis', author='Fredrik Nygård Carlsen', author_email='me@frecar.no', descripti...
# -*- coding: utf8 -*- import os from setuptools import setup, find_packages os.environ['DJANGO_SETTINGS_MODULE'] = 'tests.settings' setup( name="django-basis", version='0.1.3', url='http://github.com/frecar/django-basis', author='Fredrik Nygård Carlsen', author_email='me@frecar.no', descripti...
mit
Python
73ae78cef2d6de804a37122d20b2402253ed5449
Remove future
lock8/awslogs,lock8/awslogs
setup.py
setup.py
import sys from setuptools import setup, find_packages install_requires = [ 'boto3>=1.0.0', 'termcolor>=1.1', 'python-dateutil>=2.4.0' ] tests_require = [] # as of Python >= 2.7 argparse module is maintained within Python. if sys.version_info < (2, 7): install_requires.append('argparse>=1.1') # as ...
import sys from setuptools import setup, find_packages install_requires = [ 'boto3>=1.0.0', 'termcolor>=1.1', 'python-dateutil>=2.4.0', 'future' ] tests_require = [] # as of Python >= 2.7 argparse module is maintained within Python. if sys.version_info < (2, 7): install_requires.append('argparse...
bsd-3-clause
Python
f3295e43a1ebfe7b172b5ce9fa4dc3ea3260a000
fix scope bug in rnn
hycis/TensorGraph,hycis/TensorGraph
setup.py
setup.py
from distutils.core import setup from setuptools import find_packages version = '2.2.2' setup( name='tensorgraph', version=version, author='Wu Zhen Zhou', author_email='hyciswu@gmail.com', install_requires=['numpy>=1.7.1', 'six>=1.9.0', 'scikit-learn>=0.1...
from distutils.core import setup from setuptools import find_packages version = '2.2.1' setup( name='tensorgraph', version=version, author='Wu Zhen Zhou', author_email='hyciswu@gmail.com', install_requires=['numpy>=1.7.1', 'six>=1.9.0', 'scikit-learn>=0.1...
apache-2.0
Python
b8bb45fdcec2643fd70642e490763d065de1acf9
Bump version for release candidate
harrystech/arthur-redshift-etl,harrystech/arthur-redshift-etl,harrystech/arthur-redshift-etl,harrystech/arthur-redshift-etl,harrystech/arthur-redshift-etl
setup.py
setup.py
from setuptools import find_packages, setup setup( name="redshift-etl", version="0.26.4", author="Harry's Data Engineering and Contributors", description="ETL code to ferry data from PostgreSQL databases (or S3 files) to Redshift cluster", license="MIT", keywords="redshift postgresql etl extra...
from setuptools import find_packages, setup setup( name="redshift-etl", version="0.26.3", author="Harry's Data Engineering and Contributors", description="ETL code to ferry data from PostgreSQL databases (or S3 files) to Redshift cluster", license="MIT", keywords="redshift postgresql etl extra...
mit
Python
578482a0d93b304de228a5e6a671dd0565901046
Drop Python 3.5 from setup.py
zsiciarz/django-pgallery,zsiciarz/django-pgallery
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-pgallery', version=__import__('pgallery').__version__, description='Photo gallery app for PostgreSQL and Django.', long_description=read('RE...
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-pgallery', version=__import__('pgallery').__version__, description='Photo gallery app for PostgreSQL and Django.', long_description=read('RE...
mit
Python
43991b9eda063ff8efdc421c92b90834dac33717
Bump version.
etesync/journal-manager
setup.py
setup.py
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-etesync-journal',...
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-etesync-journal',...
agpl-3.0
Python
ee5a78efd4ec47c563b59e706843377520944d50
Bump to v0.8.14
gisce/enerdata
setup.py
setup.py
import sys from setuptools import setup, find_packages INSTALL_REQUIRES = ['pytz', 'workalendar'] if sys.version_info < (2, 7): INSTALL_REQUIRES += ['backport_collections'] setup( name='enerdata', version='0.8.14', packages=find_packages(), url='http://code.gisce.net', license='MIT', auth...
import sys from setuptools import setup, find_packages INSTALL_REQUIRES = ['pytz', 'workalendar'] if sys.version_info < (2, 7): INSTALL_REQUIRES += ['backport_collections'] setup( name='enerdata', version='0.8.13', packages=find_packages(), url='http://code.gisce.net', license='MIT', auth...
mit
Python
d33700b259cf281162352315c91743e3c26d94f7
Add new PyPi classifier "Development Status"
kblomqvist/yasha
setup.py
setup.py
from setuptools import setup, find_packages setup( name="yasha", author="Kim Blomqvist", author_email="kblomqvist@iki.fi", version="1.1", description="A command-line tool to render Jinja templates", keywords=["jinja", "code generator"], packages=find_packages(), include_package_data=Tru...
from setuptools import setup, find_packages setup( name="yasha", author="Kim Blomqvist", author_email="kblomqvist@iki.fi", version="1.1", description="A command-line tool to render Jinja templates", keywords=["jinja", "code generator"], packages=find_packages(), include_package_data=Tru...
mit
Python
923814dbe172ab3670843def716ada1718dab6d1
fix version import for setup.py
RUNDSP/luigi-swf,RUNDSP/luigi-swf,RUNDSP/luigi-swf
setup.py
setup.py
from setuptools import setup setup( name='luigi-swf', version='0.10', url='https://github.com/RUNDSP/luigi_swf', license='Apache Software License', install_requires=[ 'arrow>=0.4.2', 'boto>=2.28.0', 'luigi>=1.0.16', 'pidfile>=0.1.0', 'python-daemon>=1.6.1', ...
from setuptools import setup import luigi_swf setup( name='luigi-swf', version=luigi_swf.__version__, url='https://github.com/RUNDSP/luigi_swf', license='Apache Software License', install_requires=[ 'arrow>=0.4.2', 'boto>=2.28.0', 'luigi>=1.0.16', 'pidfile>=0.1.0',...
apache-2.0
Python
187a4994f624a2766e725c939424d2fb85237aff
declare py34 support for pypi
makefu/bepasty-server,makefu/bepasty-server,bepasty/bepasty-server,bepasty/bepasty-server,makefu/bepasty-server,bepasty/bepasty-server,bepasty/bepasty-server
setup.py
setup.py
#!/usr/bin/python import os from setuptools import setup, find_packages from bepasty import (project, version, license, description, author, author_email, maintainer, maintainer_email) this_dir = os.path.dirname(os.path.abspath(__file__)) readme_path = os.path.join(this_dir, 'README.rst') wit...
#!/usr/bin/python import os from setuptools import setup, find_packages from bepasty import (project, version, license, description, author, author_email, maintainer, maintainer_email) this_dir = os.path.dirname(os.path.abspath(__file__)) readme_path = os.path.join(this_dir, 'README.rst') wit...
bsd-2-clause
Python
f2401990782a316c79ea316750eedccb0cda1d07
use setuptools for toydist.
abadger/Bento,cournape/Bento,cournape/Bento,abadger/Bento,cournape/Bento,abadger/Bento,abadger/Bento,cournape/Bento
setup.py
setup.py
import setuptools from distutils.core import setup DESCR = """\ Toydist is a toy distribution tool for python packages, The goal are extensibility, flexibility, and easy interoperation with external tools. As its name indicate, that's a toy packaging tool, which is only used as a 'straw' man for experimentation """ ...
from distutils.core import setup DESCR = """\ Toydist is a toy distribution tool for python packages, The goal are extensibility, flexibility, and easy interoperation with external tools. As its name indicate, that's a toy packaging tool, which is only used as a 'straw' man for experimentation """ CLASSIFIERS = [ ...
bsd-3-clause
Python
6b86d37808c6d13ef9c7c79c879b86ff9c04104d
Fix the test command in the makefile
Zenohm/mafiademonstration
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='mafiademonstration', version='0.4.5', author='Isaac Smith, Hei Jing Tsang', author_email='sentherus@gmail.com', description='A user friendly...
import os from setuptools import setup, find_packages def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='mafiademonstration', version='0.4.5', author='Isaac Smith, Hei Jing Tsang', author_email='sentherus@gmail.com', description='A user friendly...
mit
Python
9c3b74017587c312fdd0ba8cace1aa6c5d741c08
Bump patch version.
debrouwere/sqs-antenna,flovilmart/sqs-antenna
setup.py
setup.py
import os import inspect from setuptools import setup, find_packages import antenna setup( name='sqs-antenna', version="0.1.2", description="Command-line tool that executes a command for each SQS message it receives.", long_description=open('README.rst').read(), author='Stijn Debrouwere', autho...
import os import inspect from setuptools import setup, find_packages import antenna setup( name='sqs-antenna', version="0.1.1", description="Command-line tool that executes a command for each SQS message it receives.", long_description=open('README.rst').read(), author='Stijn Debrouwere', autho...
isc
Python
8ca455eff4bb6cba23a2aca437f9661dce5b0e50
Define supported Django versions in setup.py
nimbis/django-forms-builder,Afnarel/django-forms-builder,vinnyrose/django-forms-builder,frontendr/django-forms-builder,stephenmcd/django-forms-builder,nimbis/django-forms-builder,JostCrow/django-forms-builder,ixc/django-forms-builder,ixc/django-forms-builder,stephenmcd/django-forms-builder,simas/django-forms-builder,si...
setup.py
setup.py
from __future__ import with_statement import os from setuptools import setup, find_packages exclude = ["forms_builder/example_project/dev.db", "forms_builder/example_project/local_settings.py"] exclude = dict([(e, None) for e in exclude]) for e in exclude: if e.endswith(".py"): try: ...
from __future__ import with_statement import os from setuptools import setup, find_packages exclude = ["forms_builder/example_project/dev.db", "forms_builder/example_project/local_settings.py"] exclude = dict([(e, None) for e in exclude]) for e in exclude: if e.endswith(".py"): try: ...
bsd-2-clause
Python
900542ab1b018b31830d35bf9ff9802c772b9352
Bump version
hkraal/ssht
setup.py
setup.py
from setuptools import setup setup(name='ssht', version='0.8.1', description='SSH client wrapper for easily connecting to hosts', long_description='', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT Li...
from setuptools import setup setup(name='ssht', version='0.8.0', description='SSH client wrapper for easily connecting to hosts', long_description='', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT Li...
mit
Python
b4ed3e818d57751fca1e78c24dd9c8cf188e8600
Bump version
SuLab/WikidataIntegrator,sebotic/WikidataIntegrator
setup.py
setup.py
import os from setuptools import setup, find_packages from subprocess import check_output MAJOR_VERSION = 0 MINOR_VERSION = 0 MICRO_VERSION = 477 REPO_URL = 'https://github.com/sulab/WikidataIntegrator' setup( name='wikidataintegrator', version="{}.{}.{}".format(MAJOR_VERSION, MINOR_VERSION, MICRO_VERSION), ...
import os from setuptools import setup, find_packages from subprocess import check_output MAJOR_VERSION = 0 MINOR_VERSION = 0 MICRO_VERSION = 472 REPO_URL = 'https://github.com/sulab/WikidataIntegrator' setup( name='wikidataintegrator', version="{}.{}.{}".format(MAJOR_VERSION, MINOR_VERSION, MICRO_VERSION), ...
mit
Python
44792eebd935584ae1083dde3e43cb2cb85fa01f
Update version number
tvogels/pyexr
setup.py
setup.py
from setuptools import setup, find_packages setup( name = "PyEXR", version = "0.2.2", description = "One line EXR manipulation library", author = "Thijs Vogels", author_email = "t.vogels@me.com", url = "https://github.com/tvogels/pyexr", install_requir...
from setuptools import setup, find_packages setup( name = "PyEXR", version = "0.2.1", description = "One line EXR manipulation library", author = "Thijs Vogels", author_email = "t.vogels@me.com", url = "https://github.com/tvogels/pyexr", install_requir...
mit
Python
d0fe6cbf7cc7d560c87f134a1ee892bee6104497
Bump minimum 'api_core' version for all GAPIC libs to 1.4.1. (#6391)
googleapis/python-kms,googleapis/python-kms
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...
apache-2.0
Python
8c615e6e8b007513c12b4398d14c62da8c19f004
add nose to test deps
genome/flow-workflow,genome/flow-workflow,genome/flow-workflow
setup.py
setup.py
import distribute_setup distribute_setup.use_setuptools() from setuptools import setup, find_packages setup( name = 'flow_workflow', version = '0.1', packages = find_packages(exclude=['unit_tests']), install_requires = [ 'argparse', 'redis', ], t...
import distribute_setup distribute_setup.use_setuptools() from setuptools import setup, find_packages setup( name = 'flow_workflow', version = '0.1', packages = find_packages(exclude=['unit_tests']), install_requires = [ 'argparse', 'redis', ], t...
agpl-3.0
Python
540cf1be0832fb3255cfcb649250f57fcf76ccad
Bump faker from 2.0.4 to 2.0.5
marshmallow-code/marshmallow-jsonapi
setup.py
setup.py
import re from setuptools import setup, find_packages INSTALL_REQUIRES = ("marshmallow>=2.15.2",) EXTRAS_REQUIRE = { "tests": ["pytest", "mock", "faker==2.0.5", "Flask==1.1.1"], "lint": ["flake8==3.7.9", "flake8-bugbear==19.8.0", "pre-commit~=1.18"], } EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_R...
import re from setuptools import setup, find_packages INSTALL_REQUIRES = ("marshmallow>=2.15.2",) EXTRAS_REQUIRE = { "tests": ["pytest", "mock", "faker==2.0.4", "Flask==1.1.1"], "lint": ["flake8==3.7.9", "flake8-bugbear==19.8.0", "pre-commit~=1.18"], } EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_R...
mit
Python
fa09d3b526bdf04dcabda603ef1e0adac8ae68bd
Fix a typo in description: it's => its
jaysonsantos/python-binary-memcached,jaysonsantos/python-binary-memcached
setup.py
setup.py
from setuptools import setup setup( name='python-binary-memcached', version='0.24.6', author='Jayson Reis', author_email='santosdosreis@gmail.com', description='A pure python module to access memcached via its binary protocol with SASL auth support', url='https://github.com/jaysonsantos/python-b...
from setuptools import setup setup( name='python-binary-memcached', version='0.24.6', author='Jayson Reis', author_email='santosdosreis@gmail.com', description='A pure python module to access memcached via it\'s binary protocol with SASL auth support', url='https://github.com/jaysonsantos/python...
mit
Python
d68acb1adf4da858fac0e4bc7c14deb5cf125bd0
Add a hyphen to 'utf8', just for consistency with how we spell it in tracebacks.py.
veo-labs/nose-progressive,pmclanahan/pytest-progressive,erikrose/nose-progressive,olivierverdier/nose-progressive
setup.py
setup.py
import sys import codecs # Prevent spurious errors during `python setup.py test`, a la # http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html: try: import multiprocessing except ImportError: pass from setuptools import setup, find_packages extra_setup = {} if sys.version_info >= (3,): extra_setu...
import sys import codecs # Prevent spurious errors during `python setup.py test`, a la # http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html: try: import multiprocessing except ImportError: pass from setuptools import setup, find_packages extra_setup = {} if sys.version_info >= (3,): extra_setu...
mit
Python
f482422429d72e46b75972bfd13207392b30c6ff
increment version number
learningequality/kolibri-exercise-perseus-plugin,learningequality/kolibri-exercise-perseus-plugin
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import, print_function, unicode_literals import logging import sys from setuptools import setup def read_file(fname): """ Read file and decode in py2k """ if sys.version_info < (3,): return open(fname).read().decod...
#!/usr/bin/env python # -*- coding: utf-8 -*- from __future__ import absolute_import, print_function, unicode_literals import logging import sys from setuptools import setup def read_file(fname): """ Read file and decode in py2k """ if sys.version_info < (3,): return open(fname).read().decod...
mit
Python
2acbaeab54824e7b9493019632ef9bab34e925c9
Bump to 0.4
sileht/python-jsonpath-rw,kennknowles/python-jsonpath-rw,brianthelion/python-jsonpath-rw,pkilambi/python-jsonpath-rw,abloomston/python-jsonpath-rw,wangjild/python-jsonpath-rw
setup.py
setup.py
import setuptools import sys import os.path import subprocess # Build README.txt from README.md if not present, and if we are actually building for distribution to pypi if not os.path.exists('README.txt') and 'sdist' in sys.argv: subprocess.call(['pandoc', '--to=rst', '--smart', '--output=README.txt', 'README.md...
import setuptools import sys import os.path import subprocess # Build README.txt from README.md if not present, and if we are actually building for distribution to pypi if not os.path.exists('README.txt') and 'sdist' in sys.argv: subprocess.call(['pandoc', '--to=rst', '--smart', '--output=README.txt', 'README.md...
apache-2.0
Python
88c5d3bd5811b1665c4f37b3bb6f60d68b342d64
Add content type for description & python requirements
martinjrobins/hobo,martinjrobins/hobo,martinjrobins/hobo,martinjrobins/hobo
setup.py
setup.py
# # Pints setuptools script # # This file is part of PINTS. # Copyright (c) 2017-2018, University of Oxford. # For licensing information, see the LICENSE file distributed with the PINTS # software package. # from setuptools import setup, find_packages # Load text for description and license with open('README.md') a...
# # Pints setuptools script # # This file is part of PINTS. # Copyright (c) 2017-2018, University of Oxford. # For licensing information, see the LICENSE file distributed with the PINTS # software package. # from setuptools import setup, find_packages # Load text for description and license with open('README.md') a...
bsd-3-clause
Python
4a2a6b3a7b5dadd58d51627c47fe67c5c78f5fbf
update support for python3
BNIA/tidyall,BNIA/tidydate,BNIA/tidydate,BNIA/tidyall
tests/02_test_app.py
tests/02_test_app.py
#!/usr/bin/env python # -*- coding: utf-8 -*- """test_tidydate Tests for server-side modules """ from __future__ import absolute_import, print_function, unicode_literals from ast import literal_eval from sys import version_info if version_info < (3, 0): from StringIO import StringIO as fileIO else: from io ...
#!/usr/bin/env python # -*- coding: utf-8 -*- """test_tidydate Tests for server-side modules """ from __future__ import absolute_import, print_function, unicode_literals from StringIO import StringIO from ast import literal_eval from ..src.frontend.views import app from . import FILE_CSV app.debug = True app_clien...
mit
Python
0dd08ab18d61a504037fe23fe5a2a2f5197a3bbc
Remove init scripts from setup.py for now
mleinart/carbon,lyft/carbon,johnseekins/carbon,graphite-project/carbon,xadjmerripen/carbon,piotr1212/carbon,iain-buclaw-sociomantic/carbon,deniszh/carbon,johnseekins/carbon,iain-buclaw-sociomantic/carbon,obfuscurity/carbon,graphite-server/carbon,cbowman0/carbon,criteo-forks/carbon,pu239ppy/carbon,JeanFred/carbon,kharan...
setup.py
setup.py
#!/usr/bin/env python import os from glob import glob if os.environ.get('USE_SETUPTOOLS'): from setuptools import setup setup_kwargs = dict(zip_safe=0) else: from distutils.core import setup setup_kwargs = dict() storage_dirs = [ ('storage/whisper',[]), ('storage/lists',[]), ('storage/log'...
#!/usr/bin/env python import os from glob import glob if os.environ.get('USE_SETUPTOOLS'): from setuptools import setup setup_kwargs = dict(zip_safe=0) else: from distutils.core import setup setup_kwargs = dict() storage_dirs = [ ('storage/whisper',[]), ('storage/lists',[]), ('storage/log'...
apache-2.0
Python
dea943dd4b849404fb48ae8a6727247d16749235
Bump version
danvk/webdiff,danvk/webdiff,daytonb/webdiff,danvk/webdiff,danvk/webdiff,daytonb/webdiff,danvk/webdiff,daytonb/webdiff,daytonb/webdiff
setup.py
setup.py
from setuptools import setup, find_packages setup(name='webdiff', version='0.11.0', 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.10.0', 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': [ ...
apache-2.0
Python
97a68f1808f232d4f1e56699d1d8aed1b4ec1ed2
add setproctitle to requirements, used for WSGI deployments like gunicorn
CottageLabs/OpenArticleGauge,CottageLabs/OpenArticleGauge,CottageLabs/OpenArticleGauge
setup.py
setup.py
from setuptools import setup, find_packages setup( name = 'openarticlegauge', version = '0.0.1', packages = find_packages(), install_requires = [ "Flask==0.9", "Jinja2==2.6", "Werkzeug==0.8.3", "amqp==1.0.6", "anyjson==0.3.3", "argparse==1.2.1", "...
from setuptools import setup, find_packages setup( name = 'openarticlegauge', version = '0.0.1', packages = find_packages(), install_requires = [ "Flask==0.9", "Jinja2==2.6", "Werkzeug==0.8.3", "amqp==1.0.6", "anyjson==0.3.3", "argparse==1.2.1", "...
bsd-3-clause
Python
91d929256c0fa26ed006a66a9ab5e3367d55c1d8
Update package name.
declaresub/pygments-xojo,declaresub/pygments-xojo
setup.py
setup.py
from setuptools import setup from setuptools.command.test import test as TestCommand import os import sys import string import io class Tox(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [] self.test_suite = True def run_tests(self): ...
from setuptools import setup from setuptools.command.test import test as TestCommand import os import sys import string import io class Tox(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [] self.test_suite = True def run_tests(self): ...
bsd-3-clause
Python
27bbe3567ff5d4c06a106de05ce54dbde81369ca
patch in importlib_resources requirement
michaelaye/planetpy
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- try: from setuptools import setup except ImportError: from distutils.core import setup import sys with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read().replace('.. :chan...
#!/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:', '...
bsd-3-clause
Python
99130d6d2dfdd9c68a836588276986eac05d0684
Remove aiobotocore from setup.py
lablup/logger,lablup/logger
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 import sys if sys.version_info < (3,5,0): sys.exit('It requires Python version 3.5.0 or higher.') here = path.abspath(path.dirname(__file__)) setup( ...
# Always prefer setuptools over distutils from setuptools import setup, find_packages # To use a consistent encoding from codecs import open from os import path import sys if sys.version_info < (3,5,0): sys.exit('It requires Python version 3.5.0 or higher.') here = path.abspath(path.dirname(__file__)) setup( ...
apache-2.0
Python
6b35c17443080ea227e170f8cf334e3e04303dc4
use workaround for sic (#60)
googleapis/python-bigquery-connection,googleapis/python-bigquery-connection
setup.py
setup.py
# -*- coding: utf-8 -*- # Copyright (C) 2019 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 ...
# -*- coding: utf-8 -*- # Copyright (C) 2019 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 ...
apache-2.0
Python
77430c71bc12a9a55274a4815f42beb3cca28bed
Prepare openprocurement.auctions.dgf 1.1.3.
openprocurement/openprocurement.auctions.dgf
setup.py
setup.py
from setuptools import setup, find_packages import os version = '1.1.3' entry_points = { 'openprocurement.auctions.core.plugins': [ 'auctions.dgf = openprocurement.auctions.dgf:includeme' ], 'openprocurement.api.migrations': [ 'auctions = openprocurement.auctions.dgf.migration:migrate_data...
from setuptools import setup, find_packages import os version = '1.1.2' entry_points = { 'openprocurement.auctions.core.plugins': [ 'auctions.dgf = openprocurement.auctions.dgf:includeme' ], 'openprocurement.api.migrations': [ 'auctions = openprocurement.auctions.dgf.migration:migrate_data...
apache-2.0
Python
84790ccc7af50e289810eb16b943007d9d3e5a71
Update version to 0.0.8
NorakGithub/django-excel-tools
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- """The setup script.""" from setuptools import setup, find_packages with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() setup( name='django_excel_tools', version='0....
#!/usr/bin/env python # -*- coding: utf-8 -*- """The setup script.""" from setuptools import setup, find_packages with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() setup( name='django_excel_tools', version='0....
mit
Python
6d02d57ac495bfad6d9dcd39c698e7f379a97173
Switch to `csv` module
ChrisThoung/national-rail
setup.py
setup.py
# -*- coding: utf-8 -*- import csv import os from distutils.core import setup # Specify the file of station codes, available from: # http://www.nationalrail.co.uk/stations_destinations/48541.aspx station_codes = 'station_codes.csv' # Write station codes to package before installing package lookup = {} with open(st...
# -*- coding: utf-8 -*- import os from distutils.core import setup # Specify the file of station codes, available from: # http://www.nationalrail.co.uk/stations_destinations/48541.aspx station_codes = 'station_codes.csv' # Write station codes to package before installing package with open(station_codes, 'rt') as f...
bsd-3-clause
Python
19cda40c3090d31913ad805e2a4eac932e6f7682
add simplejson to setup
noisyboiler/wampy
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, find_packages from os import path here = path.abspath(path.dirname(__file__)) # Get th...
# 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, find_packages from os import path here = path.abspath(path.dirname(__file__)) # Get th...
mpl-2.0
Python
50ce50d946fa8f5421021d093e9a2ced56768dbe
Bump to v0.3.4
jusbrasil/kube-render
setup.py
setup.py
from setuptools import setup __version__ = '0.3.4' setup( name='kuberender', version=__version__, packages=['kuberender'], description='A tool to render and apply Kubernetes manifests using Jinja2', install_requires=[ 'Jinja2==2.9.6', 'click==6.7', 'PyYAML==3.13', '...
from setuptools import setup __version__ = '0.3.3' setup( name='kuberender', version=__version__, packages=['kuberender'], description='A tool to render and apply Kubernetes manifests using Jinja2', install_requires=[ 'Jinja2==2.9.6', 'click==6.7', 'PyYAML==3.13', '...
mit
Python
e45934260d007193e3020ae7513eb66d26818bff
Add CPython and PyPy classifiers
spulec/freezegun
setup.py
setup.py
#!/usr/bin/env python import sys from setuptools import setup requires = ['six'] tests_require = ['mock', 'nose'] if sys.version_info[0] == 2: requires += ['python-dateutil>=1.0, != 2.0'] else: # Py3k requires += ['python-dateutil>=2.0'] with open('README.rst') as f: readme = f.read() setup( n...
#!/usr/bin/env python import sys from setuptools import setup requires = ['six'] tests_require = ['mock', 'nose'] if sys.version_info[0] == 2: requires += ['python-dateutil>=1.0, != 2.0'] else: # Py3k requires += ['python-dateutil>=2.0'] with open('README.rst') as f: readme = f.read() setup( n...
apache-2.0
Python
94b311d5d3af1796dd7c940aca47c6bdaabfa6a6
Increment version to 1.1.14.
getwarped/powershift-cli,getwarped/powershift-cli
setup.py
setup.py
import sys import os from setuptools import setup long_description = open('README.rst').read() classifiers = [ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Pytho...
import sys import os from setuptools import setup long_description = open('README.rst').read() classifiers = [ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Pytho...
bsd-2-clause
Python
74c9ac101d18511aa3d266ce3f153ebfa70c8f46
Upgrade django-local-settings 1.0b5 => 1.0b6
PSU-OIT-ARC/django-arcutils,wylee/django-arcutils,PSU-OIT-ARC/django-arcutils,wylee/django-arcutils
setup.py
setup.py
import sys from setuptools import find_packages, setup with open('VERSION') as version_fp: VERSION = version_fp.read().strip() # Base dependencies install_requires = [ 'certifi>=2017.1.23', 'django-local-settings>=1.0b6', 'pytz>=2016.10', 'raven>=6.0.0', 'stashward', ] if sys.version_info[...
import sys from setuptools import find_packages, setup with open('VERSION') as version_fp: VERSION = version_fp.read().strip() # Base dependencies install_requires = [ 'certifi>=2017.1.23', 'django-local-settings>=1.0b5', 'pytz>=2016.10', 'raven>=6.0.0', 'stashward', ] if sys.version_info[...
mit
Python