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 |
|---|---|---|---|---|---|---|---|---|
182d17186aa1adb283306a28daeaed0b7ae7ca69 | Bump version number. | GreatFruitOmsk/qrc_pathlib | qrc_pathlib/version.py | qrc_pathlib/version.py | VERSION = '1.0.2'
| VERSION = '1.0.1'
| mit | Python |
3e31fc91ad2d53ee97def200f9a15d626d67b00d | Make unit tests properly shut down the Jupyter server when done. | briehl/narrative,msneddon/narrative,msneddon/narrative,msneddon/narrative,jmchandonia/narrative,briehl/narrative,msneddon/narrative,briehl/narrative,mlhenderson/narrative,kbase/narrative,mlhenderson/narrative,briehl/narrative,kbase/narrative,pranjan77/narrative,psnovichkov/narrative,kbase/narrative,msneddon/narrative,k... | test/unit/run_tests.py | test/unit/run_tests.py | # Adapted from a Karma test startup script
# developebd by the Jupyter team here;
# https://github.com/jupyter/jupyter-js-services/blob/master/test/run_test.py
#
from __future__ import print_function
import subprocess
import sys
import argparse
import threading
import time
import os
import signal
KARMA_PORT = 9876
a... | # Adapted from a Karma test startup script
# developebd by the Jupyter team here;
# https://github.com/jupyter/jupyter-js-services/blob/master/test/run_test.py
#
from __future__ import print_function
import subprocess
import sys
import argparse
import threading
import time
KARMA_PORT = 9876
argparser = argparse.Argu... | mit | Python |
36da09eae8e70afff6dd98c234da95223d53056e | Add getStock test. | LegionXI/pydarkstar,AdamGagorik/pydarkstar | tests/auction/query.py | tests/auction/query.py | """
.. moduleauthor:: Adam Gagorik <adam.gagorik@gmail.com>
"""
import unittest
import pydarkstar.logutils
import pydarkstar.database
import pydarkstar.auction.query
import pydarkstar.rc
pydarkstar.logutils.setDebug()
class TestQuery(unittest.TestCase):
def setUp(self):
self.db = pydarkstar.database.Data... | """
.. moduleauthor:: Adam Gagorik <adam.gagorik@gmail.com>
"""
import unittest
import pydarkstar.logutils
import pydarkstar.database
import pydarkstar.auction.query
import pydarkstar.rc
pydarkstar.logutils.setDebug()
class TestQuery(unittest.TestCase):
def setUp(self):
self.db = pydarkstar.database.Data... | mit | Python |
18677b16d85722032c8d92e287b028b3012b4651 | use keyword arguments | praekelt/molo,praekelt/molo,praekelt/molo,praekelt/molo | molo/core/migrations/0073_run_wagtail_migration_before_core_34.py | molo/core/migrations/0073_run_wagtail_migration_before_core_34.py | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
from django.core.management.sql import emit_pre_migrate_signal
class Migration(migrations.Migration):
"""
Migration 34 needs migration 0040 from wagtail core
and this Migration will run wagtail migrat... | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import migrations, models
from django.core.management.sql import emit_pre_migrate_signal
class Migration(migrations.Migration):
"""
Migration 34 needs migration 0040 from wagtail core
and this Migration will run wagtail migrat... | bsd-2-clause | Python |
f431924ccfeaaea69fb82df3a61a71e5bbab8df2 | Add django.request to default excluded loggers | akheron/raven-python,Goldmund-Wyldebeast-Wunderliebe/raven-python,recht/raven-python,smarkets/raven-python,getsentry/raven-python,ronaldevers/raven-python,someonehan/raven-python,Photonomie/raven-python,hzy/raven-python,arthurlogilab/raven-python,johansteffner/raven-python,icereval/raven-python,Goldmund-Wyldebeast-Wund... | raven/conf/__init__.py | raven/conf/__init__.py | """
raven.conf
~~~~~~~~~~
:copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
import logging
from raven.utils.urlparse import urlparse
__all__ = ('load', 'setup_logging')
EXCLUDE_LOGGER_DEFAULTS = (
'raven',
'gunicorn',
'south',
... | """
raven.conf
~~~~~~~~~~
:copyright: (c) 2010-2012 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
import logging
from raven.utils.urlparse import urlparse
__all__ = ('load', 'setup_logging')
# TODO (vng): this seems weirdly located in raven.conf. Seems like
# ... | bsd-3-clause | Python |
f661314e2fa6da1008cf8dbff221ea869a785485 | Add some doc | Mapkin/wordutils | wordutils/utils.py | wordutils/utils.py | from __future__ import division
def split_num(n, s):
"""
Split n into groups of size s numbers starting from the least
significant digit
>>> split_num(123, 2)
[1, 23]
>>> split_num(12345, 3)
[12, 345]
>>> split_num(123, 4)
[123]
"""
groups = []
div = 10 ** s
whi... | from __future__ import division
def split_num(n, s):
"""
Split n into groups of s numbers
>>> split_num(123, 2)
[1, 23]
>>> split_num(12345, 3)
[12, 345]
>>> split_num(123, 4)
[123]
"""
groups = []
div = 10 ** s
while n:
groups.append(n % div)
n //= ... | mit | Python |
b5cd3ef8033b99d45f6684442c87945de4f32b8f | Update RSA.py | orlovcs/Python-RSA | RSA.py | RSA.py |
# Make sure both primes just in case
def phi(primeone, primetwo):
if primeCheck(primeone) and primeCheck(primetwo):
return (primeone - 1) * (primetwo - 1)
# Reads in ints
def primeCheck(prime):
if prime > 1:
for i in range(2,prime):
if (prime % i == 0):
return False
e... |
# Make sure both primes just in case
def phi(primeone, primetwo):
if primeCheck(primeone) and primeCheck(primetwo):
return (primeone - 1) * (primetwo - 1)
# Reads in ints
def primeCheck(prime):
if prime > 1:
for i in range(2,prime):
if (prime % i == 0):
return False
e... | apache-2.0 | Python |
53b37016e74ad771094f063d84410697be6031aa | revert the last changes as they're not necessary and don't help. If one uses the right solr url everything works just fine | ZeitOnline/zeit.solr | src/zeit/solr/connection.py | src/zeit/solr/connection.py | # Copyright (c) 2009 gocept gmbh & co. kg
# See also LICENSE.txt
import hashlib
import lxml.etree
import lxml.html
import os.path
import pysolr
import urllib2
import zeit.solr.interfaces
import zope.app.appsetup.product
import zope.interface
class SolrConnection(pysolr.Solr):
# XXX this class is untested
zo... | # Copyright (c) 2009 gocept gmbh & co. kg
# See also LICENSE.txt
import hashlib
import lxml.etree
import lxml.html
import os.path
import pysolr
import urllib2
import zeit.solr.interfaces
import zope.app.appsetup.product
import zope.interface
class SolrConnection(pysolr.Solr):
# XXX this class is untested
zo... | bsd-3-clause | Python |
ab8d011ef6f755bf90fb999d64d43da188db6eb9 | migrate `SimilarUserTestCase` to pytest #580 | agdsn/pycroft,agdsn/pycroft,agdsn/pycroft,agdsn/pycroft,agdsn/pycroft | tests/lib/user/test_similarity.py | tests/lib/user/test_similarity.py | import pytest
from sqlalchemy import func
from pycroft.helpers.interval import starting_from
from pycroft.helpers.interval import closedopen, Interval
from pycroft.helpers.utc import DateTimeTz
from pycroft.lib import user as UserHelper
from pycroft.model.facilities import Room
from pycroft.model.user import RoomHisto... | import pytest
from sqlalchemy import func
from pycroft.helpers.interval import starting_from
from pycroft.lib import user as UserHelper
from pycroft.model.user import RoomHistoryEntry
from tests import factories
from tests.legacy_base import FactoryDataTestBase
THRESHOLD = 0.6
@pytest.mark.parametrize("one,other", ... | apache-2.0 | Python |
55d6c5c7ea2e051c132477469c6e820ef76c1899 | change the test back | scopatz/regolith,scopatz/regolith | tests/test_commands.py | tests/test_commands.py | import subprocess
BILLINGE_TEST = False # special tests for Billinge group, switch it to False before push to remote
def test_fs_to_mongo(make_db):
if BILLINGE_TEST:
from pathlib import Path
repo = str(Path(__file__).parent.parent.parent.joinpath('rg-db-group', 'local'))
else:
repo =... | import subprocess
BILLINGE_TEST = False # special tests for Billinge group, switch it to False before push to remote
def test_fs_to_mongo(make_db):
if BILLINGE_TEST:
from pathlib import Path
repo = str(Path(__file__).parent.parent.parent.joinpath('rg-db-group', 'local'))
else:
repo =... | cc0-1.0 | Python |
d8396a27bbaf7b302cc001862abf600479045487 | Split off the pol cal | e-koch/canfar_scripts,e-koch/canfar_scripts | EVLA_pipeline1.3.0/EVLA_run_all_mixedsetup.py | EVLA_pipeline1.3.0/EVLA_run_all_mixedsetup.py |
import sys
import os
import numpy as np
import copy
'''
EVLA pipeline running for mixed setups.
Applies the first few steps of the pipeline up to basic flagging
(shadowing, zeros, ...). The continuum and line spws are then split
into their own directories. The full pipeline is then run on each. The lines
do not have... |
import sys
import os
import numpy as np
from datetime import datetime
import copy
'''
EVLA pipeline running for mixed setups.
Applies the first few steps of the pipeline up to basic flagging
(shadowing, zeros, ...). The continuum and line spws are then split
into their own directories. The full pipeline is then run ... | mit | Python |
45f84319feca0c655ad3c7def12915541b4b7036 | fix it | alingse/jsoncsv | tests/test_jsontool.py | tests/test_jsontool.py | # coding=utf-8
# author@alingse
# 2016.08.09
import unittest
from jsoncsv.jsontool import expand, restore
from jsoncsv.jsontool import is_array
class Testjsontool(unittest.TestCase):
def test_string(self):
s = "sss"
exp = expand(s)
_s = restore(exp)
self.assertEqual(s, _s)
... | # coding=utf-8
# author@alingse
# 2016.08.09
import unittest
from jsoncsv.jsontool import expand, restore
from jsoncsv.jsontool import is_array
class Testjsontool(unittest.TestCase):
def test_string(self):
s = "sss"
exp = expand(s)
_s = restore(exp)
self.assertEqual(s, _s)
d... | apache-2.0 | Python |
6f9c797646cf1bf6ac9d6d6a57b80d5e603d0820 | Add another stupid tests for cli parser and handler resolver | beezz/pg_bawler,beezz/pg_bawler | tests/test_listener.py | tests/test_listener.py | #!/usr/bin/env python
import argparse
import os
import pytest
import pg_bawler.core
import pg_bawler.listener
def test_register_handlers():
listener = pg_bawler.core.ListenerMixin()
assert listener.register_handler(None) == 0
assert listener.register_handler(True) == 1
assert listener.unregister_han... | #!/usr/bin/env python
import os
import pytest
import pg_bawler.core
import pg_bawler.listener
def test_register_handlers():
listener = pg_bawler.core.ListenerMixin()
assert listener.register_handler(None) == 0
assert listener.register_handler(True) == 1
assert listener.unregister_handler(None)
a... | bsd-3-clause | Python |
e812f0d742b73ffb7e3b4c3d1474a7d71ababe0e | Add test_filesource_image | elaOnMars/logya,yaph/logya,elaOnMars/logya,elaOnMars/logya,yaph/logya | tests/test_template.py | tests/test_template.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import logya.core
import logya.template
L = logya.core.Logya(dir_site='logya/sites/docs/')
L.build()
# Test the functions called in templates.
env_globals = logya.template.env.globals
def test_get_docs():
doc_count = len(L.doc_index)
assert doc_count > 1
ass... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import logya.core
import logya.template
L = logya.core.Logya(dir_site='logya/sites/base/')
L.build()
# Test the functions called in templates.
env_globals = logya.template.env.globals
def test_get_docs():
doc_count = len(L.doc_index)
assert doc_count > 1
ass... | mit | Python |
ccad5150e621067ef637104f9a20371bb4533ce8 | Use wal functions. | dylanaraps/pywal,dylanaraps/pywal,dylanaraps/pywal | tests/test_template.py | tests/test_template.py | """Test export functions."""
import unittest
import pathlib
from pywal import wal
from pywal import util
# Import colors.
COLORS = util.read_file_json("tests/test_files/test_file.json")
class TestExportColors(unittest.TestCase):
"""Test the export functions."""
def test_template(self):
"""> Test s... | """Test export functions."""
import unittest
import pathlib
from pywal import template
from pywal import util
# Import colors.
COLORS = util.read_file_json("tests/test_files/test_file.json")
class TestExportColors(unittest.TestCase):
"""Test the export functions."""
def test_template(self):
"""> T... | mit | Python |
f1cca406a265715428d5279b556987ac6ebe9db1 | use cli.formats(). | steenzout/python-barcode | tests/unit/cli_test.py | tests/unit/cli_test.py | # -*- coding: utf-8 -*-
"""Test cases for the steenzout.barcode.cli package."""
import abc
import pytest
import unittest
from click.testing import CliRunner
from steenzout import barcode
from steenzout.barcode import cli
@pytest.fixture
def runner():
return CliRunner()
class ClickTestCase(unittest.TestCase):... | # -*- coding: utf-8 -*-
"""Test cases for the steenzout.barcode.cli package."""
import abc
import pytest
import unittest
from click.testing import CliRunner
from steenzout import barcode
from steenzout.barcode import cli
@pytest.fixture
def runner():
return CliRunner()
class ClickTestCase(unittest.TestCase):... | mit | Python |
5bbe47b842f04bd315601a260a974c517fa60ce9 | Update diff test case | PinaeOS/py-text,interhui/py-text | text_test/diff_test.py | text_test/diff_test.py | # coding=utf-8
import unittest
from text import diff
from text import text_file
class DiffTest(unittest.TestCase):
def test_compare_text(self):
diff_text_src = text_file.read_file('test_file/diff_text_src')
diff_text_dst = text_file.read_file('test_file/diff_text_dst')
result... | # coding=utf-8
import unittest
from text import diff
from text import text_file
class DiffTest(unittest.TestCase):
def test_compare_text(self):
diff_text_src = text_file.read('test_file/diff_text_src')
diff_text_dst = text_file.read('test_file/diff_text_dst')
result = diff.co... | apache-2.0 | Python |
a0ca9fba5bb3137ac094cacbf8b863a101335a62 | Use new readme file name | Cisco-AMP/amp4e_splunk_events_input,Cisco-AMP/amp4e_splunk_events_input,Cisco-AMP/amp4e_splunk_events_input,Cisco-AMP/amp4e_splunk_events_input | release/util/abstract_releaser.py | release/util/abstract_releaser.py | import os
import shutil
from distutils.dir_util import copy_tree
class AbstractReleaser(object):
DIRS_TO_ARCHIVE = []
APP_NAME = ''
EXCLUDED_FILES = ['local.meta', 'requirements-splunk.txt', '*.pyc', '*.pyo']
SPLUNKBASE_README = 'README_SPLUNKBASE.md'
LICENSE = 'LICENSE'
def __init__(self, ap... | import os
import shutil
from distutils.dir_util import copy_tree
class AbstractReleaser(object):
DIRS_TO_ARCHIVE = []
APP_NAME = ''
EXCLUDED_FILES = ['local.meta', 'requirements-splunk.txt', '*.pyc', '*.pyo']
SPLUNKBASE_README = 'README_sb.md'
LICENSE = 'LICENSE'
def __init__(self, app_dir):
... | bsd-2-clause | Python |
be8907db3eac1c96caa62154775a6ef88c65a128 | add additional fields to notify_observer in disabled state | open-cloud/xos,cboling/xos,wathsalav/xos,zdw/xos,xmaruto/mcord,cboling/xos,xmaruto/mcord,cboling/xos,wathsalav/xos,zdw/xos,wathsalav/xos,wathsalav/xos,zdw/xos,zdw/xos,cboling/xos,opencord/xos,jermowery/xos,jermowery/xos,jermowery/xos,xmaruto/mcord,cboling/xos,xmaruto/mcord,opencord/xos,open-cloud/xos,opencord/xos,open-... | planetstack/observer/__init__.py | planetstack/observer/__init__.py | from planetstack.config import Config
try:
observer_disabled = Config().observer_disabled
except:
observer_disabled = False
print_once = True
if (not observer_disabled):
from .event_manager import EventSender
def notify_observer(model=None, delete=False, pk=None, model_dict={}):
try:
... | from planetstack.config import Config
try:
observer_disabled = Config().observer_disabled
except:
observer_disabled = False
print_once = True
if (not observer_disabled):
from .event_manager import EventSender
def notify_observer(model=None, delete=False, pk=None, model_dict={}):
try:
... | apache-2.0 | Python |
0f62d65355a7353449528ba497fa6e34422ca38b | Bump version to 0.7.3 | adelq/thermopy | thermochem/__init__.py | thermochem/__init__.py | __version__ = '0.7.3'
| __version__ = '0.7.2'
| bsd-3-clause | Python |
4c14b38af7b14ab3ce2ff1e698f4642eab17971a | add version to package __init__ | Alerion/django-rpc,Alerion/django-rpc,Alerion/django-rpc | djangorpc/__init__.py | djangorpc/__init__.py | from __future__ import unicode_literals
__version__ = '0.3'
VERSION = __version__
from djangorpc.responses import Error, Msg, RpcResponse, RpcHttpResponse
from djangorpc.router import RpcRouter
__all__ = ('Error', 'Msg', 'RpcResponse', 'RpcRouter', 'RpcHttpResponse')
| from __future__ import unicode_literals
from djangorpc.responses import Error, Msg, RpcResponse, RpcHttpResponse
from djangorpc.router import RpcRouter
__all__ = ('Error', 'Msg', 'RpcResponse', 'RpcRouter', 'RpcHttpResponse')
| mit | Python |
c3f2ea775246bd152d4d62bcaa85fde4dd818197 | Write failing unit test for issue #3 | timothycrosley/frosted,mattcaldwell/frosted,hugovk/frosted,timothycrosley/frosted,hugovk/frosted,timothycrosley/frosted_original_fork | frosted/test/test_return_with_arguments_inside_generator.py | frosted/test/test_return_with_arguments_inside_generator.py |
from __future__ import absolute_import, division, print_function, unicode_literals
from sys import version_info
import pytest
from pies.overrides import *
from frosted import messages as m
from frosted.test.harness import TestCase
from .utils import flakes
@pytest.mark.skipif("version_info >= (3,)")
def test_ret... |
from __future__ import absolute_import, division, print_function, unicode_literals
from sys import version_info
import pytest
from pies.overrides import *
from frosted import messages as m
from frosted.test.harness import TestCase
from .utils import flakes
@pytest.mark.skipif("version_info >= (3,)")
def test_ret... | mit | Python |
175fa5181419e268292a3a8e032cef9eae318219 | Fix timezone issue with calendar event filtering. | Starbow/StarbowWebSite,Starbow/StarbowWebSite,Starbow/StarbowWebSite | starbowmodweb/site/views.py | starbowmodweb/site/views.py | from django.http import Http404
from django.shortcuts import render
from django.conf import settings
from datetime import datetime, timedelta
from starbowmodweb import mybb
from starbowmodweb.ladder.helpers import get_leaderboard
from starbowmodweb.ladder.models import BATTLENET_REGION_NA, BATTLENET_REGION_EU, BATTLENE... | from django.http import Http404
from django.shortcuts import render
from django.conf import settings
from datetime import datetime, timedelta
from starbowmodweb import mybb
from starbowmodweb.ladder.helpers import get_leaderboard
from starbowmodweb.ladder.models import BATTLENET_REGION_NA, BATTLENET_REGION_EU, BATTLENE... | mit | Python |
6e288e276280b2f3a58ffd49d1f1aac3641f9600 | Update distmappings | fedora-infra/fedora-packages,fedora-infra/fedora-packages,fedora-infra/fedora-packages,Fale/fedora-packages,fedora-infra/fedora-packages,Fale/fedora-packages,Fale/fedora-packages | fedoracommunity/search/distmappings.py | fedoracommunity/search/distmappings.py | # Global list of koji tags we care about
tags = ({'name': 'Rawhide', 'tag': 'f21'},
{'name': 'Fedora 20', 'tag': 'f20-updates'},
{'name': 'Fedora 20', 'tag': 'f20'},
{'name': 'Fedora 20 Testing', 'tag': 'f20-updates-testing'},
{'name': 'Fedora 19', 'tag': 'f19-updates'},
{'name... | # Global list of koji tags we care about
tags = ({'name': 'Rawhide', 'tag': 'f21'},
{'name': 'Fedora 20', 'tag': 'f20-updates'},
{'name': 'Fedora 20', 'tag': 'f20'},
{'name': 'Fedora 20 Testing', 'tag': 'f20-updates-testing'},
{'name': 'Fedora 19', 'tag': 'f19-updates'},
{'name... | agpl-3.0 | Python |
a3c200905dd87c60e951440e3693f97464f3ee20 | load price times 100 (because of gopay api) | adaptive-learning/proso-apps,adaptive-learning/proso-apps,adaptive-learning/proso-apps | proso_subscription/management/commands/load_subscription_plans.py | proso_subscription/management/commands/load_subscription_plans.py | from clint.textui import progress
from django.core.management.base import BaseCommand
from django.db import transaction
from jsonschema import validate
from proso_subscription.models import SubscriptionPlan, SubscriptionPlanDescription
import json
import os
import re
class Command(BaseCommand):
def add_arguments... | from clint.textui import progress
from django.core.management.base import BaseCommand
from django.db import transaction
from jsonschema import validate
from proso_subscription.models import SubscriptionPlan, SubscriptionPlanDescription
import json
import os
import re
class Command(BaseCommand):
def add_arguments... | mit | Python |
5a838d3fac224e1fad1c7341964cec43cd1710a4 | fix id | legoktm/pythonwikibot | rfd.py | rfd.py | #!usr/bin/python
#
# (C) $Author$, 2009 MIT License
#
__version__ = '$Id$ $Rev$ $Date$'
"""
Tags pages for RFD
Usage: python rfd.py
"""
import re, time
from pywikibot import wiki
o = wiki.Page('User:Arthur Rubin/Roman redirects')
list = re.findall('\[\[:M(.*?)\]\]', o.get())
newlist = []
for i in list:
newlist.appen... | #!usr/bin/python
#
# (C) $Author$, 2009 MIT License
#
__version__ = '$ID$ $Rev$ $Date$'
"""
Tags pages for RFD
Usage: python rfd.py
"""
import re, time
from pywikibot import wiki
o = wiki.Page('User:Arthur Rubin/Roman redirects')
list = re.findall('\[\[:M(.*?)\]\]', o.get())
newlist = []
for i in list:
newlist.appen... | mit | Python |
b6fc1993f622c5e3658822e611e493c4125afcc6 | Add fb to the list of installed apps in the project. | pure-python/brainmate | purepython/settings.py | purepython/settings.py | """
Django settings for purepython project.
For more information on this file, see
https://docs.djangoproject.com/en/1.6/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.6/ref/settings/
"""
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)... | """
Django settings for purepython project.
For more information on this file, see
https://docs.djangoproject.com/en/1.6/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.6/ref/settings/
"""
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)... | apache-2.0 | Python |
409fac761beab017fc93eeb955a3b0a7eb2b8565 | print ALL | joaomlneto/id2220-storm-kafka,joaomlneto/id2220-storm-kafka | py_scripts/json2csv.py | py_scripts/json2csv.py | import time
import urllib2
import json
import sys
storm_ui_url = "http://"+sys.argv[1]
topology_string = storm_ui_url+"/api/v1/topology/"+ sys.argv[2]
sleep_t = int(sys.argv[3])
print "emitted, transferred, completeLatency, acked, failed"
while True:
response = urllib2.urlopen(topology_string)
data = json.... | import time
import urllib2
import json
import sys
storm_ui_url = "http://"+sys.argv[1]
topology_string = storm_ui_url+"/api/v1/topology/"+ sys.argv[2]
sleep_t = int(sys.argv[3])
print "emitted, transferred, completeLatency, acked, failed"
while True:
response = urllib2.urlopen(topology_string)
data = json.... | unlicense | Python |
019d33092226d1ff8fe36897c03d25ddd48e34b1 | Use SQLAlchemy extension in Flask app. | vmlaker/wabbit,vmlaker/wabbit,vmlaker/wabbit,vmlaker/wabbit | serve.py | serve.py | """
Flask server app.
"""
import datetime as dt
import sys
import flask
from flask.ext.sqlalchemy import SQLAlchemy
import coils
import mapping
# Load configuration file.
CONFIG = sys.argv[1] if len(sys.argv)>=2 else 'wabbit.cfg'
config = coils.Config(CONFIG)
# Initialize Flask and SQLAlchemy.
app = flask.Flask(__na... | """
Flask server app.
"""
import datetime as dt
import sys
import flask
import sqlalchemy as sa
import coils
import tables
import mapping
app = flask.Flask(__name__)
# Load configuration file.
CONFIG = sys.argv[1] if len(sys.argv)>=2 else 'wabbit.cfg'
config = coils.Config(CONFIG)
@app.route('/')
def index():
"... | mit | Python |
67efd154d9bc37e1a5cd9e6473c6506e3f5069d9 | use extra_requires | nschloe/meshio | setup.py | setup.py | # -*- coding: utf-8 -*-
#
import os
from distutils.core import setup
import codecs
# https://packaging.python.org/single_source_version/
base_dir = os.path.abspath(os.path.dirname(__file__))
about = {}
with open(os.path.join(base_dir, 'meshio', '__about__.py')) as f:
exec(f.read(), about)
def read(fname):
tr... | # -*- coding: utf-8 -*-
#
import os
from distutils.core import setup
import codecs
# https://packaging.python.org/single_source_version/
base_dir = os.path.abspath(os.path.dirname(__file__))
about = {}
with open(os.path.join(base_dir, 'meshio', '__about__.py')) as f:
exec(f.read(), about)
def read(fname):
tr... | mit | Python |
5bb24ae506020e18b58b7fa3386148d2a19fb90f | Update classifiers in setup.py | mick88/samp-client | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
try:
long_description = open('README.md', 'r').read()
except:
long_description = ''
setup(
name='samp-client',
version='3.0.1',
packages=['samp_client'],
url='https://github.com/mick88/samp-client',
license='MIT',
author='Michal Dabski... | #!/usr/bin/env python
from setuptools import setup
try:
long_description = open('README.md', 'r').read()
except:
long_description = ''
setup(
name='samp-client',
version='3.0.1',
packages=['samp_client'],
url='https://github.com/mick88/samp-client',
license='MIT',
author='Michal Dabski... | mit | Python |
1f9a18545748f301e7b8a86710370b875d04d568 | Bump pypi version. | quantopian/serializable-traitlets | setup.py | setup.py | from setuptools import setup, find_packages
from sys import version_info
def install_requires():
requires = [
'traitlets>=4.1',
'six>=1.9.0',
'pyyaml>=3.11',
]
if (version_info.major, version_info.minor) < (3, 4):
requires.append('singledispatch>=3.4.0')
return requires... | from setuptools import setup, find_packages
from sys import version_info
def install_requires():
requires = [
'traitlets>=4.1',
'six>=1.9.0',
'pyyaml>=3.11',
]
if (version_info.major, version_info.minor) < (3, 4):
requires.append('singledispatch>=3.4.0')
return requires... | apache-2.0 | Python |
60e66b8957e63a044bcaca3d02bc75c33924fcab | Add `pkg_path` kwarg to `pkg.packages`. | Fizzadar/pyinfra,Fizzadar/pyinfra | pyinfra/modules/pkg.py | pyinfra/modules/pkg.py | # pyinfra
# File: pyinfra/modules/pkg.py
# Desc: manage BSD packages with pkg_*
'''
Manage BSD packages and repositories. Note that BSD package names are case-sensitive.
'''
from pyinfra.api import operation
from .util.packaging import ensure_packages
@operation
def packages(state, host, packages=None, present=Tru... | # pyinfra
# File: pyinfra/modules/pkg.py
# Desc: manage BSD packages with pkg_*
'''
Manage BSD packages and repositories. Note that BSD package names are case-sensitive.
'''
from pyinfra.api import operation
from .util.packaging import ensure_packages
@operation
def packages(state, host, packages=None, present=Tru... | mit | Python |
a883888810abb3d62f24789eabf62ec4277a571b | Add handlers for JOIN/PART | tgerdes/toolbot,tgerdes/toolbot | toolbot/adapter/irc.py | toolbot/adapter/irc.py | import irc3
from toolbot.adapter import Adapter
from toolbot.message import (
TextMessage,
EnterMessage,
LeaveMessage,
TopicMessage)
@irc3.plugin
class MyPlugin:
requires = ['irc3.plugins.core', ]
def __init__(self, bot):
self.bot = bot
@irc3.event(irc3.rfc.PRIVMSG)
def mess... | import irc3
from toolbot.adapter import Adapter
from toolbot.message import TextMessage
@irc3.plugin
class MyPlugin:
requires = [
'irc3.plugins.core',
'irc3.plugins.userlist',
]
def __init__(self, bot):
self.bot = bot
@irc3.event(irc3.rfc.PRIVMSG)
def message(self, mask, ... | mit | Python |
2d34b82c8467b2838c786d37c1d120d406640cca | fix #18 | ContentMine/pyCProject | setup.py | setup.py | from setuptools import setup
setup(name='pycproject',
version='0.1.3',
description='Provides basic function to read a ContentMine CProject and CTrees into python datastructures.',
url='http://github.com/ContentMine/pyCProject',
author='Christopher Kittel',
author_email='web@christopherkit... | from setuptools import setup
setup(name='pycproject',
version='0.1.3',
description='Provides basic function to read a ContentMine CProject and CTrees into python datastructures.',
url='http://github.com/ContentMine/pyCProject',
author='Christopher Kittel',
author_email='web@christopherkit... | mit | Python |
522e08402c4ef3d2b32e6db5e2b47a9084dc5dcf | add list FieldMetaType | breznak/nupic,breznak/nupic,breznak/nupic | py/nupic/data/fieldmeta.py | py/nupic/data/fieldmeta.py | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have purchased from
# Numenta, Inc. a separate commercial license for this software code, the
# following terms and conditions apply:
#
# This pro... | # ----------------------------------------------------------------------
# Numenta Platform for Intelligent Computing (NuPIC)
# Copyright (C) 2013, Numenta, Inc. Unless you have purchased from
# Numenta, Inc. a separate commercial license for this software code, the
# following terms and conditions apply:
#
# This pro... | agpl-3.0 | Python |
826b665ac57410c21b70ff9dd835c80895d43e83 | change author info | gomafutofu/mbserializer,yezorat/mbserializer | setup.py | setup.py | # coding: utf-8
__author__ = 'Junki Ishida'
from mbserializer._compat import PY26
from setuptools import setup
tests_require=['PyYAML', 'lxml', 'defusedxml', 'pytz', ]
if PY26:
tests_require.append('ordereddict')
setup(
name='mbserializer',
version='0.0.1-alpha',
description='model based serializer ... | # coding: utf-8
__author__ = 'Junki Ishida'
from mbserializer._compat import PY26
from setuptools import setup
tests_require=['PyYAML', 'lxml', 'defusedxml', 'pytz', ]
if PY26:
tests_require.append('ordereddict')
setup(
name='mbserializer',
version='0.0.1-alpha',
description='model based serializer ... | mit | Python |
9b597c4b3b5b847c4bd98b82ce347aec8bb85aaf | add `inherit_cache` to custom `FunctionElement`s | agdsn/pycroft,agdsn/pycroft,agdsn/pycroft,agdsn/pycroft,agdsn/pycroft | pycroft/model/functions.py | pycroft/model/functions.py | # Copyright (c) 2015 The Pycroft Authors. See the AUTHORS file.
# This file is part of the Pycroft project and licensed under the terms of
# the Apache License, Version 2.0. See the LICENSE file for details.
"""
pycroft.model.functions
~~~~~~~~~~~~~~~~~~~~~~~
Add support for various functions present in Postgres to th... | # Copyright (c) 2015 The Pycroft Authors. See the AUTHORS file.
# This file is part of the Pycroft project and licensed under the terms of
# the Apache License, Version 2.0. See the LICENSE file for details.
"""
pycroft.model.functions
~~~~~~~~~~~~~~~~~~~~~~~
Add support for various functions present in Postgres to th... | apache-2.0 | Python |
9155355df09e94bb8799d193e69bf64e5ea9e162 | Allow irc 7.0 | jamwt/diesel-pmxbot,jamwt/diesel-pmxbot | setup.py | setup.py | # -*- coding: utf-8 -*-
# vim:ts=4:sw=4:noexpandtab
# c-basic-indent: 4; tab-width: 4; indent-tabs-mode: true;
import sys
import setuptools
py26reqs = ['importlib'] if sys.version_info < (2, 7) else []
setup_params = dict(
name="pmxbot",
use_hg_version=True,
packages=setuptools.find_packages(),
include_package_d... | # -*- coding: utf-8 -*-
# vim:ts=4:sw=4:noexpandtab
# c-basic-indent: 4; tab-width: 4; indent-tabs-mode: true;
import sys
import setuptools
py26reqs = ['importlib'] if sys.version_info < (2, 7) else []
setup_params = dict(
name="pmxbot",
use_hg_version=True,
packages=setuptools.find_packages(),
include_package_d... | bsd-3-clause | Python |
178ed9d3e5dc715991d85c85045bfedd9e6acf40 | Update download_mnist.py | ashhher3/pylearn2,shiquanwang/pylearn2,alexjc/pylearn2,bartvm/pylearn2,pkainz/pylearn2,jamessergeant/pylearn2,nouiz/pylearn2,theoryno3/pylearn2,jeremyfix/pylearn2,lisa-lab/pylearn2,mkraemer67/pylearn2,chrish42/pylearn,daemonmaker/pylearn2,woozzu/pylearn2,chrish42/pylearn,jamessergeant/pylearn2,sandeepkbhat/pylearn2,shi... | pylearn2/scripts/datasets/download_mnist.py | pylearn2/scripts/datasets/download_mnist.py | import os
import urllib
import gzip
assert 'PYLEARN2_DATA_PATH' in os.environ, "PYLEARN2_DATA_PATH not defined"
mnist_path = os.path.join(os.environ['PYLEARN2_DATA_PATH'], "mnist")
if not os.path.isdir(mnist_path):
print "creating path: " + mnist_path
os.makedirs(mnist_path)
in_dir = os.listdir(mnist_path)
m... | import os
import urllib
import gzip
assert os.environ.has_key('PYLEARN2_DATA_PATH'), "PYLEARN2_DATA_PATH not defined"
mnist_path = os.environ['PYLEARN2_DATA_PATH'] + "/mnist"
if not os.path.isdir(mnist_path):
print "creating path:" + mnist_path
os.makedirs(mnist_path)
in_dir = os.listdir(mnist_path)
mnist_f... | bsd-3-clause | Python |
89370f4f330cbe0fda10ed8d12bdb3dc05e33dc0 | Add test for new time units string. | csdms/coupling,csdms/pymt,csdms/coupling | pymt/framework/tests/test_bmi_time_units.py | pymt/framework/tests/test_bmi_time_units.py | from nose.tools import assert_equal
from pymt.framework.bmi_bridge import _BmiCap
class SimpleTimeBmi():
def get_time_units(self):
return 0, 'h'
def get_start_time(self):
return 0, 1.
def get_current_time(self):
return 0, 10.5
def get_end_time(self):
return 0, 72
... | from nose.tools import assert_equal
from pymt.framework.bmi_bridge import _BmiCap
class SimpleTimeBmi():
def get_time_units(self):
return 0, 'h'
def get_start_time(self):
return 0, 1.
def get_current_time(self):
return 0, 10.5
def get_end_time(self):
return 0, 72
... | mit | Python |
38f5966b48263c909d67e923b434eacb8281bef4 | Update version number is setup.py. | friedcell/momoko,friedcell/momoko | setup.py | setup.py | #!/usr/bin/env python
import os
# The multiprocessingimport is to prevent the following error
# after all the tests have been executed.
# Error in atexit._run_exitfuncs:
# TypeError: 'NoneType' object is not callable
# From: http://article.gmane.org/gmane.comp.python.peak/2509
# Work around setuptools bug
# http://a... | #!/usr/bin/env python
import os
# The multiprocessingimport is to prevent the following error
# after all the tests have been executed.
# Error in atexit._run_exitfuncs:
# TypeError: 'NoneType' object is not callable
# From: http://article.gmane.org/gmane.comp.python.peak/2509
# Work around setuptools bug
# http://a... | mit | Python |
3e6084a212d0851f0ab2afa15c633512ee7422e2 | Fix command | nano-db/NanoCube | setup.py | setup.py | from setuptools import setup, find_packages
from pip.req import parse_requirements
import os
def reqs():
req_path = os.path.join(os.path.dirname(__file__), "requirements.txt")
install_reqs = parse_requirements(req_path)
return [str(ir.req) for ir in install_reqs]
def readme():
with open(os.path.join(o... | from setuptools import setup, find_packages
from pip.req import parse_requirements
import os
def reqs():
req_path = os.path.join(os.path.dirname(__file__), "requirements.txt")
install_reqs = parse_requirements(req_path)
return [str(ir.req) for ir in install_reqs]
def readme():
with open(os.path.join(o... | apache-2.0 | Python |
fea01346a3d3b8600720444cb43961ffaff2e6ae | Bump version | renalreg/radar,renalreg/radar,renalreg/radar,renalreg/radar | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='radar',
version='2.3.9',
description='RaDaR - Rare Disease Registry',
author='Rupert Bedford',
author_email='rupert.bedford@renalregistry.nhs.uk',
url='https://www.radar.nhs.uk/',
packages=find_packages(),
include_package_data=Tru... | from setuptools import setup, find_packages
setup(
name='radar',
version='2.3.8',
description='RaDaR - Rare Disease Registry',
author='Rupert Bedford',
author_email='rupert.bedford@renalregistry.nhs.uk',
url='https://www.radar.nhs.uk/',
packages=find_packages(),
include_package_data=Tru... | agpl-3.0 | Python |
67aee2177f9d64877dec00c41beff6974e23db88 | Disable flaky test Pixel.Canvas2DRedBox. | Just-D/chromium-1,ltilve/chromium,Just-D/chromium-1,PeterWangIntel/chromium-crosswalk,chuan9/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,PeterWangIntel/chromium-crosswalk,ltilve/chromium,PeterWangIntel/chromium-crosswalk,ltilve/chromium,Fireblend/chromium-crosswalk,chuan9/chromium-crosswalk,ltilve/chromium,The... | content/test/gpu/page_sets/pixel_tests.py | content/test/gpu/page_sets/pixel_tests.py | # Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from telemetry.page import page as page_module
from telemetry.page import page_set as page_set_module
class PixelTestsPage(page_module.Page):
def __init_... | # Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from telemetry.page import page as page_module
from telemetry.page import page_set as page_set_module
class PixelTestsPage(page_module.Page):
def __init_... | bsd-3-clause | Python |
d1c93d46f4d9f5a21ca97c0825add06406569fc7 | Make sure to ship translations with sdists. | tkaemming/django-orderable,tkaemming/django-orderable,tkaemming/django-orderable | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name = 'django-orderable',
version = '1.0.1',
description = 'Model ordering for the Django administration site.',
author = 'Ted Kaemming',
author_email = 'ted@kaemming.com',
url = 'http://www.github.com/tkaemming/djan... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name = 'django-orderable',
version = '1.0.1',
description = 'Model ordering for the Django administration site.',
author = 'Ted Kaemming',
author_email = 'ted@kaemming.com',
url = 'http://www.github.com/tkaemming/djan... | mit | Python |
1545ab81e08d25a0a05ca202a9e0c222e76e1f17 | Update sulong version | pointhi/java-llvm-ir-builder,pointhi/java-llvm-ir-builder | mx.irbuilder/suite.py | mx.irbuilder/suite.py | suite = {
"mxversion" : "5.70.2",
"name" : "java-llvm-ir-builder",
"versionConflictResolution" : "latest",
"imports" : {
"suites" : [
{
"name" : "sulong",
"version" : "6e5a4355382c4abfbe81fe692e9eef290754b79b",
"urls" : [
... | suite = {
"mxversion" : "5.70.2",
"name" : "java-llvm-ir-builder",
"versionConflictResolution" : "latest",
"imports" : {
"suites" : [
{
"name" : "sulong",
"version" : "b28e3d4804a9aae68c0c815f52d5d31bd7ef741e",
"urls" : [
... | bsd-3-clause | Python |
877c2e1c453386b3fa4d249f3a76a7e345c97d23 | Change project maturity level and bump to 0.3 | filwaitman/jinja2-standalone-compiler | setup.py | setup.py | from setuptools import setup
VERSION = '0.3'
setup(
name='jinja2_standalone_compiler',
packages=['jinja2_standalone_compiler', ],
version=VERSION,
author='Filipe Waitman',
author_email='filwaitman@gmail.com',
install_requires=[x.strip() for x in open('requirements.txt').readlines()],
url=... | from setuptools import setup
VERSION = '0.2.9'
setup(
name='jinja2_standalone_compiler',
packages=['jinja2_standalone_compiler', ],
version=VERSION,
author='Filipe Waitman',
author_email='filwaitman@gmail.com',
install_requires=[x.strip() for x in open('requirements.txt').readlines()],
ur... | mit | Python |
4642d609b0da5f5c30b1f32e337f667897c662cb | fix setup.py | cloudbrain/cloudbrain,lambdaloop/cloudbrain,lambdaloop/cloudbrain,marionleborgne/cloudbrain,singlerider/cloudbrain,lambdaloop/cloudbrain,cloudbrain/cloudbrain,singlerider/cloudbrain,lambdaloop/cloudbrain,singlerider/cloudbrain,marionleborgne/cloudbrain,singlerider/cloudbrain | setup.py | setup.py | import os
from setuptools import setup, find_packages
from pip.req import parse_requirements
# parse_requirements() returns generator of pip.req.InstallRequirement objects
install_reqs = parse_requirements("requirements.txt", session=False)
# reqs is a list of requirement
# e.g. ['django==1.5.1', 'mezzanine==1.4.6'... | import os
from setuptools import setup, find_packages
from pip.req import parse_requirements
# parse_requirements() returns generator of pip.req.InstallRequirement objects
install_reqs = parse_requirements("requirements.txt")
# reqs is a list of requirement
# e.g. ['django==1.5.1', 'mezzanine==1.4.6']
reqs = [str(i... | agpl-3.0 | Python |
3fe8cc91e4ef3e143bfaf6172b3899eb0993194f | modify setup.py | encorehu/hublog | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='hublog',
version="0.1",
author='encorehu',
author_email='huyoo353@126.com',
description='a django blog',
url='https://github.com/encorehu/hublog',
packages=find_packages(),
package_dir={'hublog':... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='hublog',
version="0.1",
author='encorehu',
author_email='huyoo353@126.com',
description='a django blog',
url='https://github.com/encorehu/hublog',
packages=find_packages(),
package_dir={'hublog':... | mit | Python |
5ecf5f5ebc5e977a4e9457fd1d53ae8b58401e19 | Bump version | victorlin/rundocker | setup.py | setup.py | from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='rundocker',
version='1.0.1',
description=(
'A script for running docker container process without worrying '
'about dead container issue'
),
packages=find_packages(),
a... | from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='rundocker',
version='1.0.0',
description=(
'A script for running docker container process without worrying '
'about dead container issue'
),
packages=find_packages(),
a... | apache-2.0 | Python |
615fa69c4185f51c873a97cb47ff8cd6f853a8c7 | update dependency grpcio to v1.49.1 (#348) | googleapis/storage-testbench | setup.py | setup.py | # Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, s... | # Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, s... | apache-2.0 | Python |
ddc9157f6d8e123b0a998e56b9385ca852e24560 | rename plugin | cloudify-cosmo/cloudify-cloudstack-plugin,cloudify-cosmo/cloudify-cloudstack-plugin | setup.py | setup.py | __author__ = 'adaml, boul, jedeko'
from setuptools import setup
setup(
zip_safe=True,
name='cloudify-cloudstack-plugin',
version='0.1.1',
packages=[
'cloudstack_plugin',
'cloudstack_exoscale_plugin'
],
license='Apache License 2.0',
description='Cloudify plugin for the Clouds... | __author__ = 'adaml, boul, jedeko'
from setuptools import setup
setup(
zip_safe=True,
name='cloudify-plugin',
version='0.1.1',
packages=[
'cloudstack_plugin',
'cloudstack_exoscale_plugin'
],
license='Apache License 2.0',
description='Cloudify plugin for the Cloudstack cloud ... | apache-2.0 | Python |
df40a8b3291c5c585cf2b17b824a00af1907c312 | Switch value to None type | uccser/cs-unplugged,uccser/cs-unplugged,uccser/cs-unplugged,uccser/cs-unplugged | csunplugged/config/settings/production.py | csunplugged/config/settings/production.py | # -*- coding: utf-8 -*-
"""
Django settings for production environment.
- Load secret values from environment variables.
- Set static URL to Google Cloud Storage Bucket.
"""
from .base import * # noqa: F403
# SECRET CONFIGURATION
# ------------------------------------------------------------------------------
# Se... | # -*- coding: utf-8 -*-
"""
Django settings for production environment.
- Load secret values from environment variables.
- Set static URL to Google Cloud Storage Bucket.
"""
from .base import * # noqa: F403
# SECRET CONFIGURATION
# ------------------------------------------------------------------------------
# Se... | mit | Python |
e3ce72ccbcff614ffb098ba1d239e6cffeb6c3bd | Change README path | NIEHS/muver | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""The setup script."""
from setuptools import setup, find_packages
with open('README.md') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read()
requirements = [
'Click>=6.0',
'numpy>=1.12.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()
requirements = [
'Click>=6.0',
'numpy>=1.12.0... | mit | Python |
d50a2c092a6dd38e42324b97db65543024e9d6b9 | Rename exe file | ucoin-io/cutecoin,ucoin-io/cutecoin,ucoin-io/cutecoin,ucoin-bot/cutecoin,Insoleet/cutecoin | setup.py | setup.py | #!/usr/bin/python
# -*- coding: utf-8 -*-
# source d'inspiration: http://wiki.wxpython.org/cx_freeze
import sys, os, subprocess, multiprocessing
from cx_Freeze import setup, Executable
#############################################################################
# preparation des options
sys.path.append(os.path.absp... | #!/usr/bin/python
# -*- coding: utf-8 -*-
# source d'inspiration: http://wiki.wxpython.org/cx_freeze
import sys, os, subprocess, multiprocessing
from cx_Freeze import setup, Executable
#############################################################################
# preparation des options
sys.path.append(os.path.absp... | mit | Python |
4dc8316d1f5378db974437e462df12d697d126ea | Mark project as beta release | rudylattae/compare,rudylattae/compare | setup.py | setup.py | import os
from setuptools import setup
version = '0.2b'
long_description = '\n\n'.join([
open('README.rst').read(),
open('CHANGES.txt').read(),
])
setup(
name = "compare",
version = version,
description = "Alternative syntax for comparing/asserting expressions in Python. Supports pluggable matcher... | import os
from setuptools import setup
version = '0.2dev'
long_description = '\n\n'.join([
open('README.rst').read(),
open('CHANGES.txt').read(),
])
setup(
name = "compare",
version = version,
description = "Alternative syntax for comparing/asserting expressions in Python. Supports pluggable match... | bsd-3-clause | Python |
7087e92d40310d9bb6c8b4a6bb1baf7c3b73bee7 | bump to v0.8.2 | SLS-Dev/cxmanage,SilverLiningSystems/cxmanage-test2,SilverLiningSystems/cxmanage-test2,SilverLiningSystems/cxmanage-test,SilverLiningSystems/cxmanage-test,Cynerva/cxmanage,SLS-Dev/cxmanage,Cynerva/cxmanage | setup.py | setup.py | # Copyright (c) 2012, Calxeda Inc.
#
# 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 conditions and th... | # Copyright (c) 2012, Calxeda Inc.
#
# 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 conditions and th... | bsd-3-clause | Python |
f5d60320d262028e9d35b395ba0c582ef9555217 | Bump version number | gears/gears-coffeescript,gears/gears-coffeescript | setup.py | setup.py | import os
from setuptools import setup, find_packages
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name='gears-coffeescript',
version='0.1',
url='https://github.com/gears/gears-coffeescript',
license='ISC',
author='Mike Yumatov',
author... | import os
from setuptools import setup, find_packages
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name='gears-coffeescript',
version='0.1.dev',
url='https://github.com/gears/gears-coffeescript',
license='ISC',
author='Mike Yumatov',
au... | isc | Python |
00e051dfb7cefa682f3bf04f0672990759f4e753 | Add in tx_people as a requirement | texastribune/tx_salaries,texastribune/tx_salaries | setup.py | setup.py | from distutils.core import setup
import os
# Stolen from django-registration
# Compile the list of packages available, because distutils doesn't have
# an easy way to do this.
packages, data_files = [], []
root_dir = os.path.dirname(__file__)
if root_dir:
os.chdir(root_dir)
for dirpath, dirnames, filenames in os.... | from distutils.core import setup
import os
# Stolen from django-registration
# Compile the list of packages available, because distutils doesn't have
# an easy way to do this.
packages, data_files = [], []
root_dir = os.path.dirname(__file__)
if root_dir:
os.chdir(root_dir)
for dirpath, dirnames, filenames in os.... | apache-2.0 | Python |
d33fe4b1bc31db4745e60164077b50506baf3289 | Update description in `setup.py`. | wtsi-hgi/python-json | setup.py | setup.py | from setuptools import setup, find_packages
try:
from pypandoc import convert
def read_markdown(file: str) -> str:
return convert(file, "rst")
except ImportError:
def read_markdown(file: str) -> str:
return open(file, "r").read()
setup(
name="hgijson",
version="1.3.0",
author="... | from setuptools import setup, find_packages
try:
from pypandoc import convert
def read_markdown(file: str) -> str:
return convert(file, "rst")
except ImportError:
def read_markdown(file: str) -> str:
return open(file, "r").read()
setup(
name="hgijson",
version="1.3.0",
author="... | mit | Python |
4f41b3512d63f0d59aa8ba9caf7b96c954a74ad2 | update pypi doc | ActivisionGameScience/assertpy | setup.py | setup.py | from distutils.core import setup
import assertpy
desc = """assertpy
========
Dead simple assertions framework for unit testing in Python with a nice fluent
API that supports Python 2 and 3.
Usage
'''''
Just import the ``assert_that`` function, and away you go::
from assertpy import assert_that
class TestS... | from distutils.core import setup
import assertpy
desc = """assertpy
========
Dead simple assertions framework for unit testing in Python with a nice fluent
API that supports Python 2 and 3.
Usage
'''''
Just import the ``assert_that`` function, and away you go::
from assertpy import assert_that
class TestS... | bsd-3-clause | Python |
7b840886158efcc26c514caa2ccf9f2ad57bdc29 | Bump ITK dependency to 5.0.1 | thewtex/ITKUltrasound,thewtex/ITKUltrasound,KitwareMedical/ITKUltrasound,thewtex/ITKUltrasound,KitwareMedical/ITKUltrasound,KitwareMedical/ITKUltrasound | setup.py | setup.py | from __future__ import print_function
from os import sys
from skbuild import setup
setup(
name='itk-ultrasound',
version='0.2.3',
author='Matthew McCormick',
author_email='matt.mccormick@kitware.com',
packages=['itk'],
package_dir={'itk': 'itk'},
download_url=r'https://github.com/KitwareMe... | from __future__ import print_function
from os import sys
from skbuild import setup
setup(
name='itk-ultrasound',
version='0.2.3',
author='Matthew McCormick',
author_email='matt.mccormick@kitware.com',
packages=['itk'],
package_dir={'itk': 'itk'},
download_url=r'https://github.com/KitwareMe... | apache-2.0 | Python |
afa17347a4065cbddc3f904e609dfbde887ae7c5 | Update version to 0987 | kkzxak47/django_render,YuelianINC/django_render,YuelianINC/django_render,wangtai/django_render,wangtai/django_render,kkzxak47/django_render | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# author: xiLin.ding
from setuptools import setup, find_packages
setup(
name='django-render-url',
version='0.9.8.7',
packages=find_packages(),
author='WANG Tai',
author_email='i@wangtai.me',
url='https://github.com/wangtai/django_render',
des... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# author: xiLin.ding
from setuptools import setup, find_packages
setup(
name='django-render-url',
version='0.9.8.6',
packages=find_packages(),
author='WANG Tai',
author_email='i@wangtai.me',
url='https://github.com/wangtai/django_render',
des... | apache-2.0 | Python |
8cbfc45b1ae1dcce507e66555217ff897d057e4c | Bump version number | Jyrno42/tgmfiles,Jyrno42/tgmfiles,Jyrno42/tgmfiles | setup.py | setup.py | import os
from setuptools import setup, find_packages
f = open(os.path.join(os.path.dirname(__file__), 'README.md'))
readme = f.read()
f.close()
setup(
name='tgm-files',
version='0.1.22',
description='Stuff...',
long_description=readme,
author="Thorgate",
author_email='info@thorgate.eu',
... | import os
from setuptools import setup, find_packages
f = open(os.path.join(os.path.dirname(__file__), 'README.md'))
readme = f.read()
f.close()
setup(
name='tgm-files',
version='0.1.21',
description='Stuff...',
long_description=readme,
author="Thorgate",
author_email='info@thorgate.eu',
... | mit | Python |
8303736d3d0da13a08c5cd5979b56c845583358e | add classifiers for pypi | founders4schools/duedilv3 | setup.py | setup.py | import os
import sys
from setuptools import find_packages, setup
from setuptools.command.test import test as test_command
class PyTest(test_command):
def finalize_options(self):
test_command.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
... | import os
import sys
from setuptools import find_packages, setup
from setuptools.command.test import test as test_command
class PyTest(test_command):
def finalize_options(self):
test_command.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
... | apache-2.0 | Python |
a1ed05089c983f3347b5164fffe4030d75b9453d | Include data file in package. | danijar/crafter | setup.py | setup.py | import setuptools
import pathlib
setuptools.setup(
name='crafter',
version='0.18.0',
description='Open world survival game for reinforcement learning.',
url='http://github.com/danijar/crafter',
long_description=pathlib.Path('README.md').read_text(),
long_description_content_type='text/markdown... | import setuptools
import pathlib
setuptools.setup(
name='crafter',
version='0.17.0',
description='Open world survival game for reinforcement learning.',
url='http://github.com/danijar/crafter',
long_description=pathlib.Path('README.md').read_text(),
long_description_content_type='text/markdown... | mit | Python |
0d1196f2c393d7fd424932cdaf07a9df1ef29223 | change init | jmcarpenter2/swifter | setup.py | setup.py | from distutils.core import setup
setup(
name = 'swifter',
packages = ['swifter'], # this must be the same as the name above
version = '0.201',
description = 'A package which efficiently applies any function to a pandas dataframe or series in the fastest available manner',
author = 'Jason Carpenter',
author_... | from distutils.core import setup
setup(
name = 'swifter',
packages = ['swifter'], # this must be the same as the name above
version = '0.153',
description = 'A package which efficiently applies any function to a pandas dataframe or series in the fastest available manner',
author = 'Jason Carpenter',
author_... | mit | Python |
660c08c708dff47912d0d8fdeb3d441ba2480bd0 | Bump version to 0.4.0 | mwilliamson/whack | 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='whack',
version='0.4.0',
description='Utility for installing binaries from source with a single command',
long_description=read("README... | #!/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='whack',
version='0.3.4',
description='Utility for installing binaries from source with a single command',
long_description=read("README... | bsd-2-clause | Python |
8ea9ba8149f21116fde18a1021598b7e5c9c9308 | Update setup.py to use renamed README.rst | Maplecroft/django-countries | setup.py | setup.py | #!/usr/bin/env python
import os
from setuptools import setup, find_packages
def long_description():
"""
Build the long description from a README file located in the same directory
as this module.
"""
base_path = os.path.dirname(os.path.realpath(__file__))
readme = open(os.path.join(base_path, ... | #!/usr/bin/env python
import os
from setuptools import setup, find_packages
def long_description():
"""
Build the long description from a README file located in the same directory
as this module.
"""
base_path = os.path.dirname(os.path.realpath(__file__))
readme = open(os.path.join(base_path, ... | mit | Python |
84c46be536bdfe3e34d98a64636ba5c8c11591a0 | Add informations to `setup.py` | hildogjr/KiCost,xesscorp/KiCost,xesscorp/KiCost,hildogjr/KiCost,hildogjr/KiCost,xesscorp/KiCost | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import setuptools
import kicost
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:
histor... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import setuptools
import kicost
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:
histor... | mit | Python |
775f3754d3949e1c4b9553f8550060093af86b91 | Remove comment | MikeVasmer/GreenGraphCoursework | greengraph/command.py | greengraph/command.py | from argparse import ArgumentParser
from matplotlib import pyplot as plt
from graph import Greengraph
def process():
parser = ArgumentParser(
description="Produce graph quantifying the amount of green land between two locations")
parser.add_argument("--start", required=True, nargs="+",
... | from argparse import ArgumentParser
from matplotlib import pyplot as plt
from graph import Greengraph
def process():
parser = ArgumentParser(
description="Produce graph quantifying the amount of green land between two locations")
parser.add_argument("--start", required=True, nargs="+",
... | mit | Python |
3e083c4ed6f6ebd6739d10a639939c8a290aebc9 | Change package name before publishing to PyPI | trac-hacks/TicketGuidelinesPlugin | setup.py | setup.py | # -*- coding: utf-8 -*-
#
# Copyright (C) 2009-2010 Sebastian Krysmanski
# Copyright (C) 2012 Greg Lavallee
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution.
#
from setuptools import setup
PACKAGE = 'TracTicketGuidelin... | # -*- coding: utf-8 -*-
#
# Copyright (C) 2009-2010 Sebastian Krysmanski
# Copyright (C) 2012 Greg Lavallee
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution.
#
from setuptools import setup
PACKAGE = 'TicketGuidelinesPl... | bsd-3-clause | Python |
707f3246b8f73c88a8a5a808f042a96f75a2d699 | update classifiers | saghul/pyuv,saghul/pyuv,saghul/pyuv | setup.py | setup.py | # coding=utf-8
import codecs
import re
try:
from setuptools import setup, Extension
except ImportError:
from distutils.core import setup, Extension
from setup_libuv import libuv_build_ext
def get_version():
return re.search(r"""__version__\s+=\s+(?P<quote>['"])(?P<version>.+?)(?P=quote)""", open('pyuv/... | # coding=utf-8
import codecs
import re
try:
from setuptools import setup, Extension
except ImportError:
from distutils.core import setup, Extension
from setup_libuv import libuv_build_ext
def get_version():
return re.search(r"""__version__\s+=\s+(?P<quote>['"])(?P<version>.+?)(?P=quote)""", open('pyuv/... | mit | Python |
1773caf9b94a372b68a2c4272012ba7d6dea5d0b | use master branch for plugin versions | Fewbytes/cosmo-plugin-chef-appmodule-installer | setup.py | setup.py | __author__ = 'dank'
import setuptools
COSMO_CELERY_VERSION = "0.1.1"
COSMO_CELERY_BRANCH = "master"
COSMO_CELERY = "https://github.com/CloudifySource/cosmo-celery-common/tarball/{0}".format(COSMO_CELERY_BRANCH)
CHEF_CLIENT_COMMON_VERSION = "0.1.0"
CHEF_CLIENT_COMMON_BRANCH = "master"
CHEF_CLIENT_COMMON = "https://g... | __author__ = 'dank'
import setuptools
COSMO_CELERY_VERSION = "0.1.1"
COSMO_CELERY_BRANCH = "develop"
COSMO_CELERY = "https://github.com/CloudifySource/cosmo-celery-common/tarball/{0}".format(COSMO_CELERY_BRANCH)
CHEF_CLIENT_COMMON_VERSION = "0.1.0"
CHEF_CLIENT_COMMON_BRANCH = "develop"
CHEF_CLIENT_COMMON = "https:/... | apache-2.0 | Python |
3e194cc1661db01113a30df7dd334f6b2921e4fa | update deps | Nic30/HWToolkit | setup.py | setup.py | #!/usr/bin/env python3
# -*- coding: UTF-8 -*-
from os import path
from setuptools import setup, find_packages
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(name="hwt",
version="3.2",
d... | #!/usr/bin/env python3
# -*- coding: UTF-8 -*-
from os import path
from setuptools import setup, find_packages
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(name="hwt",
version="3.2",
d... | mit | Python |
c366c8923d61bfb75dde1576f0bb95513ae2886e | change version number to 1.0.0 | wroberts/pytimeparse | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
setup.py
(c) Will Roberts 14 April, 2014
distutils setup script for pytimeparse.
'''
from distutils.core import setup
with open('README.rst') as file:
long_description = file.read()
setup(name = 'pytimeparse',
version = '1.0.0',
... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
'''
setup.py
(c) Will Roberts 14 April, 2014
distutils setup script for pytimeparse.
'''
from distutils.core import setup
with open('README.rst') as file:
long_description = file.read()
setup(name = 'pytimeparse',
version = '1.0',
... | mit | Python |
065f52be203cc5813a1b648e8b8a26fbff96bafe | Bump version | andreroggeri/pynubank | setup.py | setup.py | import os
from setuptools import setup, find_packages
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
setup(
name='pynubank',
version='2.13.1',
url='https://github.com/andreroggeri/pynubank',
author='André Roggeri Campos',
author_email=... | import os
from setuptools import setup, find_packages
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
setup(
name='pynubank',
version='2.13.0',
url='https://github.com/andreroggeri/pynubank',
author='André Roggeri Campos',
author_email=... | mit | Python |
5f259f24fceb5dcd05a91277b2fbae04a6121209 | Bump version: 0.0.11 -> 0.0.12 | polysquare/python-parse-shebang | setup.py | setup.py | # /setup.py
#
# Installation and setup script for parse-shebang
#
# See /LICENCE.md for Copyright information
"""Installation and setup script for parse-shebang."""
from setuptools import find_packages, setup
setup(name="parse-shebang",
version="0.0.12",
description="""Parse shebangs and return their comp... | # /setup.py
#
# Installation and setup script for parse-shebang
#
# See /LICENCE.md for Copyright information
"""Installation and setup script for parse-shebang."""
from setuptools import find_packages, setup
setup(name="parse-shebang",
version="0.0.11",
description="""Parse shebangs and return their comp... | mit | Python |
7ee5a80766d1497732cef866521f60c09fca1fdc | Bump version | jdgillespie91/twads,jdgillespie91/twitter-ads-api,jdgillespie91/twads | setup.py | setup.py | from distutils.core import setup
setup(
name='twads',
packages=['twads'],
version='0.1.4',
description='A wrapper for the Twitter Ads API',
author='Jacob Gillespie',
author_email='jdgillespie91@gmail.com',
url='https://github.com/jdgillespie91/twads',
install_requires=[
'reques... | from distutils.core import setup
setup(
name='twads',
packages=['twads'],
version='0.1.3',
description='A wrapper for the Twitter Ads API',
author='Jacob Gillespie',
author_email='jdgillespie91@gmail.com',
url='https://github.com/jdgillespie91/twads',
install_requires=[
'reques... | mit | Python |
9997965391e88760aa52f4eb8d1e85a159e2c7af | Move setup.py to Python 3. | lamby/django-email-from-template | setup.py | setup.py | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='django-email-from-template',
description="Send emails generated entirely from Django templates.",
version='2.3.1',
url='https://chris-lamb.co.uk/projects/django-email-from-template',
author="Chris Lamb",
author_em... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-email-from-template',
description="Send emails generated entirely from Django templates.",
version='2.3.1',
url='https://chris-lamb.co.uk/projects/django-email-from-template',
author="Chris Lamb",
author_ema... | bsd-3-clause | Python |
fc64b927df9551a4ce360e2c5a8af697a61862d7 | Fix description in setup.py | arminha/python-aosd | setup.py | setup.py | #!/usr/bin/env python
# coding=utf8
from distutils.core import setup
from distutils.extension import Extension
try:
from Cython.Distutils import build_ext
except ImportError:
from Pyrex.Distutils import build_ext
import commands
def pkgconfig_include_dirs(*packages):
flag_map = {'-I': 'include_dirs'}
... | #!/usr/bin/env python
# coding=utf8
from distutils.core import setup
from distutils.extension import Extension
try:
from Cython.Distutils import build_ext
except ImportError:
from Pyrex.Distutils import build_ext
import commands
def pkgconfig_include_dirs(*packages):
flag_map = {'-I': 'include_dirs'}
... | mit | Python |
2d3d7f31ff85a6c3d6b58e3d731ecad886a07295 | change requirements in setup.py | DmytroObertan/reports,yshalenyk/reports,DmytroObertan/reports,DmytroObertan/reports,openprocurement/reports,DmytroObertan/reports,yshalenyk/reports,openprocurement/reports,yshalenyk/reports,yshalenyk/reports,openprocurement/reports,openprocurement/reports | setup.py | setup.py | from setuptools import setup
install_requires = [
'couchdb>=1.0.1',
'dateparser>=0.3.4',
'pbkdf2',
'requests',
'requests_cache',
'pytz',
'iso8601'
]
setup(
name='reports',
version='0.0.1',
packages=[
'reports',
],
entry_points={
'console_scripts': [
... | from setuptools import setup
install_requires = [
'couchdb>=1.0.1',
'dateparser>=0.3.4',
'pbkdf2',
'requests',
'requests_cache',
]
setup(
name='reports',
version='0.0.1',
packages=[
'reports',
],
entry_points={
'console_scripts': [
'bids = reports.u... | apache-2.0 | Python |
2a66c8be39b5bcd62115d33ed80a356fbe0d40db | update dependency on graphenelib | xeroc/python-bitshares | setup.py | setup.py | #!/usr/bin/env python3
from setuptools import setup
# Work around mbcs bug in distutils.
# http://bugs.python.org/issue10945
import codecs
try:
codecs.lookup('mbcs')
except LookupError:
ascii = codecs.lookup('ascii')
codecs.register(lambda name, enc=ascii: {True: enc}.get(name == 'mbcs'))
VERSION = '0.1.... | #!/usr/bin/env python3
from setuptools import setup
# Work around mbcs bug in distutils.
# http://bugs.python.org/issue10945
import codecs
try:
codecs.lookup('mbcs')
except LookupError:
ascii = codecs.lookup('ascii')
codecs.register(lambda name, enc=ascii: {True: enc}.get(name == 'mbcs'))
VERSION = '0.1.... | mit | Python |
a734f34497d0814b8b6f7c3c7d48aad706cbb74e | Add missing comma to setup.py classifiers list. | amacd31/bom_data_parser,amacd31/bom_data_parser | setup.py | setup.py | import versioneer
versioneer.versionfile_source = 'bom_data_parser/_version.py'
versioneer.versionfile_build = 'bom_data_parser/_version.py'
versioneer.tag_prefix = 'v'
versioneer.parentdir_prefix = 'bom_data_parser-'
from setuptools import setup
setup(
name='bom_data_parser',
version=versioneer.get_version()... | import versioneer
versioneer.versionfile_source = 'bom_data_parser/_version.py'
versioneer.versionfile_build = 'bom_data_parser/_version.py'
versioneer.tag_prefix = 'v'
versioneer.parentdir_prefix = 'bom_data_parser-'
from setuptools import setup
setup(
name='bom_data_parser',
version=versioneer.get_version()... | bsd-3-clause | Python |
8b35364b6f5d7cec1c120667a2ade78fb375b9d4 | Bump version to 0.4 | reberhardt7/sofa | setup.py | setup.py | from setuptools import setup
requires = [
'pyramid',
'SQLAlchemy',
'transaction',
'validate_email',
'pyDNS',
'passlib',
'pycrypto',
'requests',
'python-slugify',
'uritemplate',
'pyyaml',
]
setup(name='sofa',
version='0.4',
description='A lightweight REST API... | from setuptools import setup
requires = [
'pyramid',
'SQLAlchemy',
'transaction',
'validate_email',
'pyDNS',
'passlib',
'pycrypto',
'requests',
'python-slugify',
'uritemplate',
'pyyaml',
]
setup(name='sofa',
version='0.3',
description='A lightweight REST API... | mit | Python |
c7d2753169aa249a880d35bde4f68a891185503f | bump version | bsmr-opengl/glad,aaronmjacobs/glad,QUSpilPrgm/glad,0x1100/glad,QUSpilPrgm/glad,hrehfeld/glad,0x1100/glad,QUSpilPrgm/glad,aaronmjacobs/glad,0x1100/glad,bsmr-opengl/glad,QUSpilPrgm/glad,bsmr-opengl/glad,aaronmjacobs/glad,bsmr-opengl/glad,0x1100/glad,hrehfeld/glad,aaronmjacobs/glad,hrehfeld/glad,hrehfeld/glad | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf8 -*-
"""
Uses the official Khronos-XML specs to generate a
GL/GLES/EGL/GLX/WGL Loader made for your needs. Glad currently supports
the languages C, D and Volt.
Note: this package might be slightly outdated, for always up to date versions
checkout the GitHub repository: https://... | #!/usr/bin/env python
# -*- coding: utf8 -*-
"""
Uses the official Khronos-XML specs to generate a
GL/GLES/EGL/GLX/WGL Loader made for your needs. Glad currently supports
the languages C, D and Volt.
Note: this package might be slightly outdated, for always up to date versions
checkout the GitHub repository: https://... | mit | Python |
d06596219755d02d76852f43ef42bcbd4592baef | Remove unuseful coding comment in setup.py | mruse/wechatpy,cysnake4713/wechatpy,Luckyseal/wechatpy,tdautc19841202/wechatpy,tdautc19841202/wechatpy,zaihui/wechatpy,cloverstd/wechatpy,hunter007/wechatpy,zhaoqz/wechatpy,cysnake4713/wechatpy,Luckyseal/wechatpy,chenjiancan/wechatpy,chenjiancan/wechatpy,mruse/wechatpy,zhaoqz/wechatpy,messense/wechatpy,Luckyseal/wechat... | setup.py | setup.py | #!/usr/bin/env python
from __future__ import with_statement
import os
from setuptools import setup, find_packages
import wechatpy
readme = 'README.md'
if os.path.exists('README.rst'):
readme = 'README.rst'
with open(readme) as f:
long_description = f.read()
with open('requirements.txt') as f:
requirement... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import with_statement
import os
from setuptools import setup, find_packages
import wechatpy
readme = 'README.md'
if os.path.exists('README.rst'):
readme = 'README.rst'
with open(readme) as f:
long_description = f.read()
with open('requirements.txt... | mit | Python |
60645ea79cf4f6dde6d13a086603f4f01107511d | update python 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 |
924f8a0f7768b26c3dfe275d57be6d17ebdb268f | Remove simplejson from dependencies. | scast/python-phabricator,MediaMiser/python-phabricator,folsom-labs/python-phabricator,wikimedia/operations-debs-python-phabricator,jamesmeador/python-phabricator,Khan/python-phabricator,disqus/python-phabricator,disqus/python-phabricator | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='phabricator',
version='0.1.1',
author='DISQUS',
author_email='mike@disqus.com',
url='http://github.com/disqus/python-phabricator',
description = 'Phabricator API Bindings',
packages=find_packages(),
zip_safe... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='phabricator',
version='0.1.1',
author='DISQUS',
author_email='mike@disqus.com',
url='http://github.com/disqus/python-phabricator',
description = 'Phabricator API Bindings',
packages=find_packages(),
zip_safe... | apache-2.0 | Python |
fb9caf05bf526a2d4cc08e8463667d9eed548fdd | Revert "completion: Install via setup.py" | JonathonReinhart/scuba,JonathonReinhart/scuba,JonathonReinhart/scuba | setup.py | setup.py | #!/usr/bin/env python
from __future__ import print_function
import scuba.version
from setuptools import setup
from setuptools.command.build_py import build_py
import os.path
from subprocess import check_call
class BuildHook(build_py):
def run(self):
print('Building scubainit...')
check_call(['make'... | #!/usr/bin/env python
from __future__ import print_function
import scuba.version
from setuptools import setup
from setuptools.command.build_py import build_py
import os.path
from subprocess import check_call
class BuildHook(build_py):
def run(self):
print('Building scubainit...')
check_call(['make'... | mit | Python |
642b2f2782bb57d64f2a5ed3f0e5c99614b8b9eb | Fix project description for pypi | kokosing/docker-release,kokosing/docker-release | setup.py | setup.py | from setuptools import setup, find_packages
requirements = [
'GitPython == 1.0.1',
'docker-py >= 1.7.0',
'requests ==2.7.0'
]
setup_requirements = [
'flake8'
]
description = """
Tool for releasing docker images. It is useful when your docker image files
are under continuous development and you want t... | from setuptools import setup, find_packages
requirements = [
'GitPython == 1.0.1',
'docker-py >= 1.7.0',
'requests ==2.7.0'
]
setup_requirements = [
'flake8'
]
setup(
name='docker-release',
version='0.3-SNAPSHOT',
description='Tool for releasing docker images.',
author='Grzegorz Kokos... | apache-2.0 | Python |
322b45c346e32917bebabdd2b4bfa0f640644baa | fix small bug in setup.py | Yelp/send_nsca,Roguelazer/send_nsca | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name="send_nsca",
version="0.1.3",
author="Yelp",
author_email="yelplabs@yelp.com",
url="http://github.com/Roguelazer/send_nsca",
description='pure-python nsca sender',
classifiers=[
... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name="send_nsca",
version="0.1.3",
author="Yelp",
author_email="yelplabs@yelp.com",
url="http://github.com/Roguelazer/send_nsca",
description='pure-python nsca sender',
classifiers=[
... | lgpl-2.1 | Python |
342154692e8147eddde82c55520e58d79ce9947f | bump version | yjzhang/uncurl_python,yjzhang/uncurl_python | setup.py | setup.py | from setuptools import setup, find_packages
from distutils.extension import Extension
from Cython.Build import cythonize
import numpy
#directive_defaults['linetrace'] = True
#directive_defaults['binding'] = True
extensions = [
Extension('uncurl.nolips', ['uncurl/nolips.pyx'],
extra_compile_args=['... | from setuptools import setup, find_packages
from distutils.extension import Extension
from Cython.Build import cythonize
import numpy
#directive_defaults['linetrace'] = True
#directive_defaults['binding'] = True
extensions = [
Extension('uncurl.nolips', ['uncurl/nolips.pyx'],
extra_compile_args=['... | mit | Python |
c73e147b9d2a99bec10ace97a1f6e972083c46b5 | update version | openbaton/openbaton-cli,openbaton/openbaton-cli | 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="openbaton-cli",
version="3.2.8",
author="Open Baton",
author_email="dev@openbaton.org",
description="The Open Baton CLI",
license="Apach... | import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="openbaton-cli",
version="3.2.7",
author="Open Baton",
author_email="dev@openbaton.org",
description="The Open Baton CLI",
license="Apach... | apache-2.0 | Python |
b15747ab3173e24c00a986c7ab109cbdeaec006d | use hdlConvertorAst>=0.4, pycocotb>=0.8, pyDigitalWaveTools>=0.8 | Nic30/HWToolkit | setup.py | setup.py | #!/usr/bin/env python3
# -*- coding: UTF-8 -*-
from os import path
from setuptools import setup, find_packages
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(name="hwt",
version="3.3",
d... | #!/usr/bin/env python3
# -*- coding: UTF-8 -*-
from os import path
from setuptools import setup, find_packages
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(name="hwt",
version="3.3",
d... | mit | Python |
954f8e7c86bd4a6e6015022ee234beebbbee279a | update version to 0.4.2 for package build #51 | michaelw/ezmomi,snobear/ezmomi,imsweb/ezmomi | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='ezmomi',
version='0.4.2',
author='Jason Ashby',
author_email='jashby2@gmail.com',
packages=['ezmomi'],
package_dir={'ezmomi': 'ezmomi'},
package_data={'ezmomi': ['config/config.yml.ex... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='ezmomi',
version='0.4.1',
author='Jason Ashby',
author_email='jashby2@gmail.com',
packages=['ezmomi'],
package_dir={'ezmomi': 'ezmomi'},
package_data={'ezmomi': ['config/config.yml.ex... | bsd-2-clause | Python |
48febbab1988e7904831938281516a306a45db94 | add plugins | TerryHowe/ansible-modules-dcos,TerryHowe/ansible-modules-dcos | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
files = [
"ansible/plugins",
"ansible/module_utils",
"ansible/modules/dcos",
]
long_description = open('README.rst', 'r').read()
setup(
name='ansible-modules-dcos',
version='1.2.1',
description='DCOS Ansible Modules',
long_description=lon... | #!/usr/bin/env python
from setuptools import setup
files = [
"ansible/module_utils",
"ansible/modules/dcos",
]
long_description = open('README.rst', 'r').read()
setup(
name='ansible-modules-dcos',
version='1.2.0',
description='DCOS Ansible Modules',
long_description=long_description,
url=... | mit | Python |
0286628ee91663ae7cd6ee7a06043bdf68081092 | Bump version to 0.3.1 | severb/graypy,severb/graypy | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='graypy',
version='0.3.1',
description="Python logging handler that sends messages in GELF (Graylog Extended Log Format).",
long_description=open('README.rst').read(),
keywords='logging gelf graylog2 graylog udp amqp',
... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='graypy',
version='0.3',
description="Python logging handler that sends messages in GELF (Graylog Extended Log Format).",
long_description=open('README.rst').read(),
keywords='logging gelf graylog2 graylog udp amqp',
... | bsd-3-clause | Python |
0dcdefd01930c0e76fc446cd26a7fd04771f763a | Prepare openprocurement.auction 1.0.0.dev45. | openprocurement/openprocurement.auction,openprocurement/openprocurement.auction | setup.py | setup.py | from setuptools import setup, find_packages
import os
version = '1.0.0.dev45'
setup(name='openprocurement.auction',
version=version,
description="",
long_description=open("README.txt").read() + "\n" +
open(os.path.join("docs", "HISTORY.txt")).read(),
# Get more strings f... | from setuptools import setup, find_packages
import os
version = '1.0.0.dev44'
setup(name='openprocurement.auction',
version=version,
description="",
long_description=open("README.txt").read() + "\n" +
open(os.path.join("docs", "HISTORY.txt")).read(),
# Get more strings f... | apache-2.0 | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.