Dataset Viewer
commit
stringlengths 40
40
| old_file
stringlengths 4
118
| new_file
stringlengths 4
118
| old_contents
stringlengths 0
2.94k
| new_contents
stringlengths 1
4.43k
| subject
stringlengths 15
444
| message
stringlengths 16
3.45k
| lang
stringclasses 1
value | license
stringclasses 13
values | repos
stringlengths 5
43.2k
| prompt
stringlengths 17
4.58k
| response
stringlengths 1
4.43k
| prompt_tagged
stringlengths 58
4.62k
| response_tagged
stringlengths 1
4.43k
| text
stringlengths 132
7.29k
| text_tagged
stringlengths 173
7.33k
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
e905334869af72025592de586b81650cb3468b8a | sentry/queue/client.py | sentry/queue/client.py | """
sentry.queue.client
~~~~~~~~~~~~~~~~~~~
:copyright: (c) 2010 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
from kombu import BrokerConnection
from kombu.common import maybe_declare
from kombu.pools import producers
from sentry.conf import settings
from sentry.queue.queues import task_queues, task_exchange
class Broker(object):
def __init__(self, config):
self.connection = BrokerConnection(**config)
def delay(self, func, *args, **kwargs):
payload = {
"func": func,
"args": args,
"kwargs": kwargs,
}
with producers[self.connection].acquire(block=False) as producer:
for queue in task_queues:
maybe_declare(queue, producer.channel)
producer.publish(payload,
exchange=task_exchange,
serializer="pickle",
compression="bzip2",
queue='default',
routing_key='default',
)
broker = Broker(settings.QUEUE)
| """
sentry.queue.client
~~~~~~~~~~~~~~~~~~~
:copyright: (c) 2010 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
from kombu import BrokerConnection
from kombu.common import maybe_declare
from kombu.pools import producers
from sentry.conf import settings
from sentry.queue.queues import task_queues, task_exchange
class Broker(object):
def __init__(self, config):
self.connection = BrokerConnection(**config)
with producers[self.connection].acquire(block=False) as producer:
for queue in task_queues:
maybe_declare(queue, producer.channel)
def delay(self, func, *args, **kwargs):
payload = {
"func": func,
"args": args,
"kwargs": kwargs,
}
with producers[self.connection].acquire(block=False) as producer:
producer.publish(payload,
exchange=task_exchange,
serializer="pickle",
compression="bzip2",
queue='default',
routing_key='default',
)
broker = Broker(settings.QUEUE)
| Declare queues when broker is instantiated | Declare queues when broker is instantiated
| Python | bsd-3-clause | imankulov/sentry,BuildingLink/sentry,zenefits/sentry,korealerts1/sentry,kevinastone/sentry,fotinakis/sentry,fuziontech/sentry,ngonzalvez/sentry,mvaled/sentry,Kronuz/django-sentry,ngonzalvez/sentry,looker/sentry,felixbuenemann/sentry,ngonzalvez/sentry,nicholasserra/sentry,camilonova/sentry,jokey2k/sentry,llonchj/sentry,fuziontech/sentry,llonchj/sentry,NickPresta/sentry,boneyao/sentry,SilentCircle/sentry,Kryz/sentry,JamesMura/sentry,SilentCircle/sentry,wujuguang/sentry,JTCunning/sentry,rdio/sentry,1tush/sentry,alexm92/sentry,imankulov/sentry,wujuguang/sentry,jokey2k/sentry,jean/sentry,chayapan/django-sentry,looker/sentry,beeftornado/sentry,chayapan/django-sentry,gg7/sentry,chayapan/django-sentry,JamesMura/sentry,1tush/sentry,zenefits/sentry,ewdurbin/sentry,NickPresta/sentry,alex/sentry,camilonova/sentry,kevinastone/sentry,pauloschilling/sentry,boneyao/sentry,korealerts1/sentry,rdio/sentry,daevaorn/sentry,drcapulet/sentry,TedaLIEz/sentry,Kronuz/django-sentry,wong2/sentry,felixbuenemann/sentry,1tush/sentry,hongliang5623/sentry,looker/sentry,BayanGroup/sentry,BuildingLink/sentry,BuildingLink/sentry,BayanGroup/sentry,kevinlondon/sentry,daevaorn/sentry,looker/sentry,llonchj/sentry,gencer/sentry,fotinakis/sentry,BuildingLink/sentry,korealerts1/sentry,felixbuenemann/sentry,boneyao/sentry,alex/sentry,fuziontech/sentry,nicholasserra/sentry,beeftornado/sentry,SilentCircle/sentry,ifduyue/sentry,gencer/sentry,jean/sentry,pauloschilling/sentry,camilonova/sentry,wong2/sentry,mvaled/sentry,JamesMura/sentry,ewdurbin/sentry,JackDanger/sentry,beeftornado/sentry,BuildingLink/sentry,argonemyth/sentry,zenefits/sentry,alex/sentry,gg7/sentry,jean/sentry,vperron/sentry,NickPresta/sentry,mvaled/sentry,JackDanger/sentry,songyi199111/sentry,vperron/sentry,daevaorn/sentry,ifduyue/sentry,kevinlondon/sentry,BayanGroup/sentry,JackDanger/sentry,kevinastone/sentry,Natim/sentry,zenefits/sentry,pauloschilling/sentry,Natim/sentry,argonemyth/sentry,alexm92/sentry,Natim/sentry,Kronuz/django-sentry,gg7/sentry,hongliang5623/sentry,looker/sentry,daevaorn/sentry,TedaLIEz/sentry,alexm92/sentry,vperron/sentry,ifduyue/sentry,mvaled/sentry,jean/sentry,JamesMura/sentry,hongliang5623/sentry,songyi199111/sentry,argonemyth/sentry,JTCunning/sentry,gencer/sentry,nicholasserra/sentry,ifduyue/sentry,Kryz/sentry,Kryz/sentry,beni55/sentry,TedaLIEz/sentry,kevinlondon/sentry,NickPresta/sentry,mvaled/sentry,drcapulet/sentry,jean/sentry,gencer/sentry,songyi199111/sentry,beni55/sentry,beni55/sentry,SilentCircle/sentry,mvaled/sentry,mitsuhiko/sentry,ewdurbin/sentry,wujuguang/sentry,fotinakis/sentry,drcapulet/sentry,fotinakis/sentry,wong2/sentry,ifduyue/sentry,zenefits/sentry,JTCunning/sentry,rdio/sentry,imankulov/sentry,jokey2k/sentry,gencer/sentry,rdio/sentry,JamesMura/sentry,mitsuhiko/sentry | """
sentry.queue.client
~~~~~~~~~~~~~~~~~~~
:copyright: (c) 2010 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
from kombu import BrokerConnection
from kombu.common import maybe_declare
from kombu.pools import producers
from sentry.conf import settings
from sentry.queue.queues import task_queues, task_exchange
class Broker(object):
def __init__(self, config):
self.connection = BrokerConnection(**config)
def delay(self, func, *args, **kwargs):
payload = {
"func": func,
"args": args,
"kwargs": kwargs,
}
with producers[self.connection].acquire(block=False) as producer:
for queue in task_queues:
maybe_declare(queue, producer.channel)
producer.publish(payload,
exchange=task_exchange,
serializer="pickle",
compression="bzip2",
queue='default',
routing_key='default',
)
broker = Broker(settings.QUEUE)
Declare queues when broker is instantiated | """
sentry.queue.client
~~~~~~~~~~~~~~~~~~~
:copyright: (c) 2010 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
from kombu import BrokerConnection
from kombu.common import maybe_declare
from kombu.pools import producers
from sentry.conf import settings
from sentry.queue.queues import task_queues, task_exchange
class Broker(object):
def __init__(self, config):
self.connection = BrokerConnection(**config)
with producers[self.connection].acquire(block=False) as producer:
for queue in task_queues:
maybe_declare(queue, producer.channel)
def delay(self, func, *args, **kwargs):
payload = {
"func": func,
"args": args,
"kwargs": kwargs,
}
with producers[self.connection].acquire(block=False) as producer:
producer.publish(payload,
exchange=task_exchange,
serializer="pickle",
compression="bzip2",
queue='default',
routing_key='default',
)
broker = Broker(settings.QUEUE)
| <commit_before>"""
sentry.queue.client
~~~~~~~~~~~~~~~~~~~
:copyright: (c) 2010 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
from kombu import BrokerConnection
from kombu.common import maybe_declare
from kombu.pools import producers
from sentry.conf import settings
from sentry.queue.queues import task_queues, task_exchange
class Broker(object):
def __init__(self, config):
self.connection = BrokerConnection(**config)
def delay(self, func, *args, **kwargs):
payload = {
"func": func,
"args": args,
"kwargs": kwargs,
}
with producers[self.connection].acquire(block=False) as producer:
for queue in task_queues:
maybe_declare(queue, producer.channel)
producer.publish(payload,
exchange=task_exchange,
serializer="pickle",
compression="bzip2",
queue='default',
routing_key='default',
)
broker = Broker(settings.QUEUE)
<commit_msg>Declare queues when broker is instantiated<commit_after> | """
sentry.queue.client
~~~~~~~~~~~~~~~~~~~
:copyright: (c) 2010 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
from kombu import BrokerConnection
from kombu.common import maybe_declare
from kombu.pools import producers
from sentry.conf import settings
from sentry.queue.queues import task_queues, task_exchange
class Broker(object):
def __init__(self, config):
self.connection = BrokerConnection(**config)
with producers[self.connection].acquire(block=False) as producer:
for queue in task_queues:
maybe_declare(queue, producer.channel)
def delay(self, func, *args, **kwargs):
payload = {
"func": func,
"args": args,
"kwargs": kwargs,
}
with producers[self.connection].acquire(block=False) as producer:
producer.publish(payload,
exchange=task_exchange,
serializer="pickle",
compression="bzip2",
queue='default',
routing_key='default',
)
broker = Broker(settings.QUEUE)
| """
sentry.queue.client
~~~~~~~~~~~~~~~~~~~
:copyright: (c) 2010 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
from kombu import BrokerConnection
from kombu.common import maybe_declare
from kombu.pools import producers
from sentry.conf import settings
from sentry.queue.queues import task_queues, task_exchange
class Broker(object):
def __init__(self, config):
self.connection = BrokerConnection(**config)
def delay(self, func, *args, **kwargs):
payload = {
"func": func,
"args": args,
"kwargs": kwargs,
}
with producers[self.connection].acquire(block=False) as producer:
for queue in task_queues:
maybe_declare(queue, producer.channel)
producer.publish(payload,
exchange=task_exchange,
serializer="pickle",
compression="bzip2",
queue='default',
routing_key='default',
)
broker = Broker(settings.QUEUE)
Declare queues when broker is instantiated"""
sentry.queue.client
~~~~~~~~~~~~~~~~~~~
:copyright: (c) 2010 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
from kombu import BrokerConnection
from kombu.common import maybe_declare
from kombu.pools import producers
from sentry.conf import settings
from sentry.queue.queues import task_queues, task_exchange
class Broker(object):
def __init__(self, config):
self.connection = BrokerConnection(**config)
with producers[self.connection].acquire(block=False) as producer:
for queue in task_queues:
maybe_declare(queue, producer.channel)
def delay(self, func, *args, **kwargs):
payload = {
"func": func,
"args": args,
"kwargs": kwargs,
}
with producers[self.connection].acquire(block=False) as producer:
producer.publish(payload,
exchange=task_exchange,
serializer="pickle",
compression="bzip2",
queue='default',
routing_key='default',
)
broker = Broker(settings.QUEUE)
| <commit_before>"""
sentry.queue.client
~~~~~~~~~~~~~~~~~~~
:copyright: (c) 2010 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
from kombu import BrokerConnection
from kombu.common import maybe_declare
from kombu.pools import producers
from sentry.conf import settings
from sentry.queue.queues import task_queues, task_exchange
class Broker(object):
def __init__(self, config):
self.connection = BrokerConnection(**config)
def delay(self, func, *args, **kwargs):
payload = {
"func": func,
"args": args,
"kwargs": kwargs,
}
with producers[self.connection].acquire(block=False) as producer:
for queue in task_queues:
maybe_declare(queue, producer.channel)
producer.publish(payload,
exchange=task_exchange,
serializer="pickle",
compression="bzip2",
queue='default',
routing_key='default',
)
broker = Broker(settings.QUEUE)
<commit_msg>Declare queues when broker is instantiated<commit_after>"""
sentry.queue.client
~~~~~~~~~~~~~~~~~~~
:copyright: (c) 2010 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
from kombu import BrokerConnection
from kombu.common import maybe_declare
from kombu.pools import producers
from sentry.conf import settings
from sentry.queue.queues import task_queues, task_exchange
class Broker(object):
def __init__(self, config):
self.connection = BrokerConnection(**config)
with producers[self.connection].acquire(block=False) as producer:
for queue in task_queues:
maybe_declare(queue, producer.channel)
def delay(self, func, *args, **kwargs):
payload = {
"func": func,
"args": args,
"kwargs": kwargs,
}
with producers[self.connection].acquire(block=False) as producer:
producer.publish(payload,
exchange=task_exchange,
serializer="pickle",
compression="bzip2",
queue='default',
routing_key='default',
)
broker = Broker(settings.QUEUE)
|
45fc612fdc5a354dbf0bacccd345b1aebcc73e59 | tests/test_openweather.py | tests/test_openweather.py | # -*- coding: utf-8 -*-
import bot_mock
from pyfibot.modules import module_openweather
from utils import check_re
bot = bot_mock.BotMock()
def test_weather():
regex = u'Lappeenranta, FI: Temperature: \d+.\d\xb0C, feels like: \d+.\d\xb0C, wind: \d+.\d m/s, humidity: \d+%, pressure: \d+ hPa, cloudiness: \d+%'
check_re(regex, module_openweather.command_weather(bot, None, "#channel", 'lappeenranta')[1])
def test_forecast():
regex = u'Lappeenranta, Finland: tomorrow: \d+.\d-\d+.\d \xb0C \(.*?\), in 2 days: \d+.\d-\d+.\d \xb0C \(.*?\), in 3 days: \d+.\d-\d+.\d \xb0C \(.*?\)'
check_re(regex, module_openweather.command_forecast(bot, None, "#channel", 'lappeenranta')[1])
| # -*- coding: utf-8 -*-
import bot_mock
from pyfibot.modules import module_openweather
from utils import check_re
bot = bot_mock.BotMock()
def test_weather():
regex = u'Lappeenranta, FI: Temperature: \d+.\d\xb0C, feels like: \d+.\d\xb0C, wind: \d+.\d m/s, humidity: \d+%, pressure: \d+ hPa, cloudiness: \d+%'
check_re(regex, module_openweather.command_weather(bot, None, "#channel", 'lappeenranta')[1])
def test_forecast():
regex = u'Lappeenranta, FI: tomorrow: \d+.\d-\d+.\d \xb0C \(.*?\), in 2 days: \d+.\d-\d+.\d \xb0C \(.*?\), in 3 days: \d+.\d-\d+.\d \xb0C \(.*?\)'
check_re(regex, module_openweather.command_forecast(bot, None, "#channel", 'lappeenranta')[1])
| Revert "Fix openweather unit tests" | Revert "Fix openweather unit tests"
This reverts commit 36e100e649f0a337228a6d7375358d23afd544ff.
Open Weather Map has reverted back to their old api or something like that...
| Python | bsd-3-clause | rnyberg/pyfibot,EArmour/pyfibot,aapa/pyfibot,aapa/pyfibot,lepinkainen/pyfibot,rnyberg/pyfibot,lepinkainen/pyfibot,huqa/pyfibot,huqa/pyfibot,EArmour/pyfibot | # -*- coding: utf-8 -*-
import bot_mock
from pyfibot.modules import module_openweather
from utils import check_re
bot = bot_mock.BotMock()
def test_weather():
regex = u'Lappeenranta, FI: Temperature: \d+.\d\xb0C, feels like: \d+.\d\xb0C, wind: \d+.\d m/s, humidity: \d+%, pressure: \d+ hPa, cloudiness: \d+%'
check_re(regex, module_openweather.command_weather(bot, None, "#channel", 'lappeenranta')[1])
def test_forecast():
regex = u'Lappeenranta, Finland: tomorrow: \d+.\d-\d+.\d \xb0C \(.*?\), in 2 days: \d+.\d-\d+.\d \xb0C \(.*?\), in 3 days: \d+.\d-\d+.\d \xb0C \(.*?\)'
check_re(regex, module_openweather.command_forecast(bot, None, "#channel", 'lappeenranta')[1])
Revert "Fix openweather unit tests"
This reverts commit 36e100e649f0a337228a6d7375358d23afd544ff.
Open Weather Map has reverted back to their old api or something like that... | # -*- coding: utf-8 -*-
import bot_mock
from pyfibot.modules import module_openweather
from utils import check_re
bot = bot_mock.BotMock()
def test_weather():
regex = u'Lappeenranta, FI: Temperature: \d+.\d\xb0C, feels like: \d+.\d\xb0C, wind: \d+.\d m/s, humidity: \d+%, pressure: \d+ hPa, cloudiness: \d+%'
check_re(regex, module_openweather.command_weather(bot, None, "#channel", 'lappeenranta')[1])
def test_forecast():
regex = u'Lappeenranta, FI: tomorrow: \d+.\d-\d+.\d \xb0C \(.*?\), in 2 days: \d+.\d-\d+.\d \xb0C \(.*?\), in 3 days: \d+.\d-\d+.\d \xb0C \(.*?\)'
check_re(regex, module_openweather.command_forecast(bot, None, "#channel", 'lappeenranta')[1])
| <commit_before># -*- coding: utf-8 -*-
import bot_mock
from pyfibot.modules import module_openweather
from utils import check_re
bot = bot_mock.BotMock()
def test_weather():
regex = u'Lappeenranta, FI: Temperature: \d+.\d\xb0C, feels like: \d+.\d\xb0C, wind: \d+.\d m/s, humidity: \d+%, pressure: \d+ hPa, cloudiness: \d+%'
check_re(regex, module_openweather.command_weather(bot, None, "#channel", 'lappeenranta')[1])
def test_forecast():
regex = u'Lappeenranta, Finland: tomorrow: \d+.\d-\d+.\d \xb0C \(.*?\), in 2 days: \d+.\d-\d+.\d \xb0C \(.*?\), in 3 days: \d+.\d-\d+.\d \xb0C \(.*?\)'
check_re(regex, module_openweather.command_forecast(bot, None, "#channel", 'lappeenranta')[1])
<commit_msg>Revert "Fix openweather unit tests"
This reverts commit 36e100e649f0a337228a6d7375358d23afd544ff.
Open Weather Map has reverted back to their old api or something like that...<commit_after> | # -*- coding: utf-8 -*-
import bot_mock
from pyfibot.modules import module_openweather
from utils import check_re
bot = bot_mock.BotMock()
def test_weather():
regex = u'Lappeenranta, FI: Temperature: \d+.\d\xb0C, feels like: \d+.\d\xb0C, wind: \d+.\d m/s, humidity: \d+%, pressure: \d+ hPa, cloudiness: \d+%'
check_re(regex, module_openweather.command_weather(bot, None, "#channel", 'lappeenranta')[1])
def test_forecast():
regex = u'Lappeenranta, FI: tomorrow: \d+.\d-\d+.\d \xb0C \(.*?\), in 2 days: \d+.\d-\d+.\d \xb0C \(.*?\), in 3 days: \d+.\d-\d+.\d \xb0C \(.*?\)'
check_re(regex, module_openweather.command_forecast(bot, None, "#channel", 'lappeenranta')[1])
| # -*- coding: utf-8 -*-
import bot_mock
from pyfibot.modules import module_openweather
from utils import check_re
bot = bot_mock.BotMock()
def test_weather():
regex = u'Lappeenranta, FI: Temperature: \d+.\d\xb0C, feels like: \d+.\d\xb0C, wind: \d+.\d m/s, humidity: \d+%, pressure: \d+ hPa, cloudiness: \d+%'
check_re(regex, module_openweather.command_weather(bot, None, "#channel", 'lappeenranta')[1])
def test_forecast():
regex = u'Lappeenranta, Finland: tomorrow: \d+.\d-\d+.\d \xb0C \(.*?\), in 2 days: \d+.\d-\d+.\d \xb0C \(.*?\), in 3 days: \d+.\d-\d+.\d \xb0C \(.*?\)'
check_re(regex, module_openweather.command_forecast(bot, None, "#channel", 'lappeenranta')[1])
Revert "Fix openweather unit tests"
This reverts commit 36e100e649f0a337228a6d7375358d23afd544ff.
Open Weather Map has reverted back to their old api or something like that...# -*- coding: utf-8 -*-
import bot_mock
from pyfibot.modules import module_openweather
from utils import check_re
bot = bot_mock.BotMock()
def test_weather():
regex = u'Lappeenranta, FI: Temperature: \d+.\d\xb0C, feels like: \d+.\d\xb0C, wind: \d+.\d m/s, humidity: \d+%, pressure: \d+ hPa, cloudiness: \d+%'
check_re(regex, module_openweather.command_weather(bot, None, "#channel", 'lappeenranta')[1])
def test_forecast():
regex = u'Lappeenranta, FI: tomorrow: \d+.\d-\d+.\d \xb0C \(.*?\), in 2 days: \d+.\d-\d+.\d \xb0C \(.*?\), in 3 days: \d+.\d-\d+.\d \xb0C \(.*?\)'
check_re(regex, module_openweather.command_forecast(bot, None, "#channel", 'lappeenranta')[1])
| <commit_before># -*- coding: utf-8 -*-
import bot_mock
from pyfibot.modules import module_openweather
from utils import check_re
bot = bot_mock.BotMock()
def test_weather():
regex = u'Lappeenranta, FI: Temperature: \d+.\d\xb0C, feels like: \d+.\d\xb0C, wind: \d+.\d m/s, humidity: \d+%, pressure: \d+ hPa, cloudiness: \d+%'
check_re(regex, module_openweather.command_weather(bot, None, "#channel", 'lappeenranta')[1])
def test_forecast():
regex = u'Lappeenranta, Finland: tomorrow: \d+.\d-\d+.\d \xb0C \(.*?\), in 2 days: \d+.\d-\d+.\d \xb0C \(.*?\), in 3 days: \d+.\d-\d+.\d \xb0C \(.*?\)'
check_re(regex, module_openweather.command_forecast(bot, None, "#channel", 'lappeenranta')[1])
<commit_msg>Revert "Fix openweather unit tests"
This reverts commit 36e100e649f0a337228a6d7375358d23afd544ff.
Open Weather Map has reverted back to their old api or something like that...<commit_after># -*- coding: utf-8 -*-
import bot_mock
from pyfibot.modules import module_openweather
from utils import check_re
bot = bot_mock.BotMock()
def test_weather():
regex = u'Lappeenranta, FI: Temperature: \d+.\d\xb0C, feels like: \d+.\d\xb0C, wind: \d+.\d m/s, humidity: \d+%, pressure: \d+ hPa, cloudiness: \d+%'
check_re(regex, module_openweather.command_weather(bot, None, "#channel", 'lappeenranta')[1])
def test_forecast():
regex = u'Lappeenranta, FI: tomorrow: \d+.\d-\d+.\d \xb0C \(.*?\), in 2 days: \d+.\d-\d+.\d \xb0C \(.*?\), in 3 days: \d+.\d-\d+.\d \xb0C \(.*?\)'
check_re(regex, module_openweather.command_forecast(bot, None, "#channel", 'lappeenranta')[1])
|
22faee82e1f070532c0dfe5777136e842233a1f0 | src/dashboard/src/main/templatetags/percentage.py | src/dashboard/src/main/templatetags/percentage.py | from django.template import Node, Library
register = Library()
@register.filter('percentage')
def percentage(value, total):
try:
percentage = int(value) / int(total) * 100
except ZeroDivisionError:
percentage = 0
return '<abbr title="%s/%s">%s%%</abbr>' % (value, total, percentage)
| from django.template import Node, Library
register = Library()
@register.filter('percentage')
def percentage(value, total):
try:
percentage = float(value) / float(total) * 100
except ZeroDivisionError:
percentage = 0
return '<abbr title="%s/%s">%s%%</abbr>' % (value, total, percentage)
| Fix % only showing 0 or 100%, everything between goes to 0%. | Fix % only showing 0 or 100%, everything between goes to 0%.
Autoconverted from SVN (revision:1548)
| Python | agpl-3.0 | artefactual/archivematica-history,artefactual/archivematica-history,artefactual/archivematica-history,artefactual/archivematica-history | from django.template import Node, Library
register = Library()
@register.filter('percentage')
def percentage(value, total):
try:
percentage = int(value) / int(total) * 100
except ZeroDivisionError:
percentage = 0
return '<abbr title="%s/%s">%s%%</abbr>' % (value, total, percentage)
Fix % only showing 0 or 100%, everything between goes to 0%.
Autoconverted from SVN (revision:1548) | from django.template import Node, Library
register = Library()
@register.filter('percentage')
def percentage(value, total):
try:
percentage = float(value) / float(total) * 100
except ZeroDivisionError:
percentage = 0
return '<abbr title="%s/%s">%s%%</abbr>' % (value, total, percentage)
| <commit_before>from django.template import Node, Library
register = Library()
@register.filter('percentage')
def percentage(value, total):
try:
percentage = int(value) / int(total) * 100
except ZeroDivisionError:
percentage = 0
return '<abbr title="%s/%s">%s%%</abbr>' % (value, total, percentage)
<commit_msg>Fix % only showing 0 or 100%, everything between goes to 0%.
Autoconverted from SVN (revision:1548)<commit_after> | from django.template import Node, Library
register = Library()
@register.filter('percentage')
def percentage(value, total):
try:
percentage = float(value) / float(total) * 100
except ZeroDivisionError:
percentage = 0
return '<abbr title="%s/%s">%s%%</abbr>' % (value, total, percentage)
| from django.template import Node, Library
register = Library()
@register.filter('percentage')
def percentage(value, total):
try:
percentage = int(value) / int(total) * 100
except ZeroDivisionError:
percentage = 0
return '<abbr title="%s/%s">%s%%</abbr>' % (value, total, percentage)
Fix % only showing 0 or 100%, everything between goes to 0%.
Autoconverted from SVN (revision:1548)from django.template import Node, Library
register = Library()
@register.filter('percentage')
def percentage(value, total):
try:
percentage = float(value) / float(total) * 100
except ZeroDivisionError:
percentage = 0
return '<abbr title="%s/%s">%s%%</abbr>' % (value, total, percentage)
| <commit_before>from django.template import Node, Library
register = Library()
@register.filter('percentage')
def percentage(value, total):
try:
percentage = int(value) / int(total) * 100
except ZeroDivisionError:
percentage = 0
return '<abbr title="%s/%s">%s%%</abbr>' % (value, total, percentage)
<commit_msg>Fix % only showing 0 or 100%, everything between goes to 0%.
Autoconverted from SVN (revision:1548)<commit_after>from django.template import Node, Library
register = Library()
@register.filter('percentage')
def percentage(value, total):
try:
percentage = float(value) / float(total) * 100
except ZeroDivisionError:
percentage = 0
return '<abbr title="%s/%s">%s%%</abbr>' % (value, total, percentage)
|
950ac9130bafe1fced578bf61d746b047830bfa0 | automata/base/exceptions.py | automata/base/exceptions.py | #!/usr/bin/env python3
"""Exception classes shared by all automata."""
class AutomatonException(Exception):
"""The base class for all automaton-related errors."""
pass
class InvalidStateError(AutomatonException):
"""A state is not a valid state for this automaton."""
pass
class InvalidSymbolError(AutomatonException):
"""A symbol is not a valid symbol for this automaton."""
pass
class MissingStateError(AutomatonException):
"""A state is missing from the automaton definition."""
pass
class MissingSymbolError(AutomatonException):
"""A symbol is missing from the automaton definition."""
pass
class InitialStateError(AutomatonException):
"""The initial state fails to meet some required condition."""
pass
class FinalStateError(AutomatonException):
"""A final state fails to meet some required condition."""
pass
class RejectionException(AutomatonException):
"""The input was rejected by the automaton after validation."""
pass
| #!/usr/bin/env python3
"""Exception classes shared by all automata."""
class AutomatonException(Exception):
"""The base class for all automaton-related errors."""
pass
class InvalidStateError(AutomatonException):
"""A state is not a valid state for this automaton."""
pass
class InvalidSymbolError(AutomatonException):
"""A symbol is not a valid symbol for this automaton."""
pass
class MissingStateError(AutomatonException):
"""A state is missing from the automaton definition."""
pass
class MissingSymbolError(AutomatonException):
"""A symbol is missing from the automaton definition."""
pass
class InitialStateError(AutomatonException):
"""The initial state fails to meet some required condition."""
pass
class FinalStateError(AutomatonException):
"""A final state fails to meet some required condition."""
pass
class RejectionException(AutomatonException):
"""The input was rejected by the automaton."""
pass
| Remove "validation" from RejectionException docstring | Remove "validation" from RejectionException docstring
| Python | mit | caleb531/automata | #!/usr/bin/env python3
"""Exception classes shared by all automata."""
class AutomatonException(Exception):
"""The base class for all automaton-related errors."""
pass
class InvalidStateError(AutomatonException):
"""A state is not a valid state for this automaton."""
pass
class InvalidSymbolError(AutomatonException):
"""A symbol is not a valid symbol for this automaton."""
pass
class MissingStateError(AutomatonException):
"""A state is missing from the automaton definition."""
pass
class MissingSymbolError(AutomatonException):
"""A symbol is missing from the automaton definition."""
pass
class InitialStateError(AutomatonException):
"""The initial state fails to meet some required condition."""
pass
class FinalStateError(AutomatonException):
"""A final state fails to meet some required condition."""
pass
class RejectionException(AutomatonException):
"""The input was rejected by the automaton after validation."""
pass
Remove "validation" from RejectionException docstring | #!/usr/bin/env python3
"""Exception classes shared by all automata."""
class AutomatonException(Exception):
"""The base class for all automaton-related errors."""
pass
class InvalidStateError(AutomatonException):
"""A state is not a valid state for this automaton."""
pass
class InvalidSymbolError(AutomatonException):
"""A symbol is not a valid symbol for this automaton."""
pass
class MissingStateError(AutomatonException):
"""A state is missing from the automaton definition."""
pass
class MissingSymbolError(AutomatonException):
"""A symbol is missing from the automaton definition."""
pass
class InitialStateError(AutomatonException):
"""The initial state fails to meet some required condition."""
pass
class FinalStateError(AutomatonException):
"""A final state fails to meet some required condition."""
pass
class RejectionException(AutomatonException):
"""The input was rejected by the automaton."""
pass
| <commit_before>#!/usr/bin/env python3
"""Exception classes shared by all automata."""
class AutomatonException(Exception):
"""The base class for all automaton-related errors."""
pass
class InvalidStateError(AutomatonException):
"""A state is not a valid state for this automaton."""
pass
class InvalidSymbolError(AutomatonException):
"""A symbol is not a valid symbol for this automaton."""
pass
class MissingStateError(AutomatonException):
"""A state is missing from the automaton definition."""
pass
class MissingSymbolError(AutomatonException):
"""A symbol is missing from the automaton definition."""
pass
class InitialStateError(AutomatonException):
"""The initial state fails to meet some required condition."""
pass
class FinalStateError(AutomatonException):
"""A final state fails to meet some required condition."""
pass
class RejectionException(AutomatonException):
"""The input was rejected by the automaton after validation."""
pass
<commit_msg>Remove "validation" from RejectionException docstring<commit_after> | #!/usr/bin/env python3
"""Exception classes shared by all automata."""
class AutomatonException(Exception):
"""The base class for all automaton-related errors."""
pass
class InvalidStateError(AutomatonException):
"""A state is not a valid state for this automaton."""
pass
class InvalidSymbolError(AutomatonException):
"""A symbol is not a valid symbol for this automaton."""
pass
class MissingStateError(AutomatonException):
"""A state is missing from the automaton definition."""
pass
class MissingSymbolError(AutomatonException):
"""A symbol is missing from the automaton definition."""
pass
class InitialStateError(AutomatonException):
"""The initial state fails to meet some required condition."""
pass
class FinalStateError(AutomatonException):
"""A final state fails to meet some required condition."""
pass
class RejectionException(AutomatonException):
"""The input was rejected by the automaton."""
pass
| #!/usr/bin/env python3
"""Exception classes shared by all automata."""
class AutomatonException(Exception):
"""The base class for all automaton-related errors."""
pass
class InvalidStateError(AutomatonException):
"""A state is not a valid state for this automaton."""
pass
class InvalidSymbolError(AutomatonException):
"""A symbol is not a valid symbol for this automaton."""
pass
class MissingStateError(AutomatonException):
"""A state is missing from the automaton definition."""
pass
class MissingSymbolError(AutomatonException):
"""A symbol is missing from the automaton definition."""
pass
class InitialStateError(AutomatonException):
"""The initial state fails to meet some required condition."""
pass
class FinalStateError(AutomatonException):
"""A final state fails to meet some required condition."""
pass
class RejectionException(AutomatonException):
"""The input was rejected by the automaton after validation."""
pass
Remove "validation" from RejectionException docstring#!/usr/bin/env python3
"""Exception classes shared by all automata."""
class AutomatonException(Exception):
"""The base class for all automaton-related errors."""
pass
class InvalidStateError(AutomatonException):
"""A state is not a valid state for this automaton."""
pass
class InvalidSymbolError(AutomatonException):
"""A symbol is not a valid symbol for this automaton."""
pass
class MissingStateError(AutomatonException):
"""A state is missing from the automaton definition."""
pass
class MissingSymbolError(AutomatonException):
"""A symbol is missing from the automaton definition."""
pass
class InitialStateError(AutomatonException):
"""The initial state fails to meet some required condition."""
pass
class FinalStateError(AutomatonException):
"""A final state fails to meet some required condition."""
pass
class RejectionException(AutomatonException):
"""The input was rejected by the automaton."""
pass
| <commit_before>#!/usr/bin/env python3
"""Exception classes shared by all automata."""
class AutomatonException(Exception):
"""The base class for all automaton-related errors."""
pass
class InvalidStateError(AutomatonException):
"""A state is not a valid state for this automaton."""
pass
class InvalidSymbolError(AutomatonException):
"""A symbol is not a valid symbol for this automaton."""
pass
class MissingStateError(AutomatonException):
"""A state is missing from the automaton definition."""
pass
class MissingSymbolError(AutomatonException):
"""A symbol is missing from the automaton definition."""
pass
class InitialStateError(AutomatonException):
"""The initial state fails to meet some required condition."""
pass
class FinalStateError(AutomatonException):
"""A final state fails to meet some required condition."""
pass
class RejectionException(AutomatonException):
"""The input was rejected by the automaton after validation."""
pass
<commit_msg>Remove "validation" from RejectionException docstring<commit_after>#!/usr/bin/env python3
"""Exception classes shared by all automata."""
class AutomatonException(Exception):
"""The base class for all automaton-related errors."""
pass
class InvalidStateError(AutomatonException):
"""A state is not a valid state for this automaton."""
pass
class InvalidSymbolError(AutomatonException):
"""A symbol is not a valid symbol for this automaton."""
pass
class MissingStateError(AutomatonException):
"""A state is missing from the automaton definition."""
pass
class MissingSymbolError(AutomatonException):
"""A symbol is missing from the automaton definition."""
pass
class InitialStateError(AutomatonException):
"""The initial state fails to meet some required condition."""
pass
class FinalStateError(AutomatonException):
"""A final state fails to meet some required condition."""
pass
class RejectionException(AutomatonException):
"""The input was rejected by the automaton."""
pass
|
462ae981ed5b9cc9a8f46e97dfe7908c0827ea64 | account_invoice_line_description/res_config.py | account_invoice_line_description/res_config.py | # -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2015 Agile Business Group sagl
# (<http://www.agilebg.com>)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from openerp.osv import orm, fields
class AccountConfigSettings(orm.TransientModel):
_inherit = 'account.config.settings'
_columns = {
'group_use_product_description_per_inv_line': fields.boolean(
"""Allow using only the product description on the
invoice order lines""",
implied_group="invoice_line_description."
"group_use_product_description_per_inv_line",
help="""Allows you to use only product description on the
invoice order lines."""
),
}
| # -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2015 Agile Business Group sagl
# (<http://www.agilebg.com>)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from openerp.osv import orm, fields
class AccountConfigSettings(orm.TransientModel):
_inherit = 'account.config.settings'
_columns = {
'group_use_product_description_per_inv_line': fields.boolean(
"""Allow using only the product description on the
invoice order lines""",
implied_group="account_invoice_line_description."
"group_use_product_description_per_inv_line",
help="""Allows you to use only product description on the
invoice order lines."""
),
}
| Fix implied_group, it still refers to the old module name | Fix implied_group, it still refers to the old module name
| Python | agpl-3.0 | Antiun/account-invoicing,hbrunn/account-invoicing,kittiu/account-invoicing,open-synergy/account-invoicing,raycarnes/account-invoicing,brain-tec/account-invoicing,charbeljc/account-invoicing,Noviat/account-invoicing,Endika/account-invoicing,eezee-it/account-invoicing,brain-tec/account-invoicing,kmee/account-invoicing,gurneyalex/account-invoicing,BT-jmichaud/account-invoicing,iDTLabssl/account-invoicing,kmee/account-invoicing,BT-ojossen/account-invoicing,damdam-s/account-invoicing,sysadminmatmoz/account-invoicing,acsone/account-invoicing,BT-fgarbely/account-invoicing,archetipo/account-invoicing,acsone/account-invoicing,akretion/account-invoicing,Trust-Code/account-invoicing,taktik/account-invoicing,EBII/account-invoicing,bluestar-solutions/account-invoicing,Elneo-group/account-invoicing,scigghia/account-invoicing,sergiocorato/account-invoicing,abstract-open-solutions/account-invoicing | # -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2015 Agile Business Group sagl
# (<http://www.agilebg.com>)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from openerp.osv import orm, fields
class AccountConfigSettings(orm.TransientModel):
_inherit = 'account.config.settings'
_columns = {
'group_use_product_description_per_inv_line': fields.boolean(
"""Allow using only the product description on the
invoice order lines""",
implied_group="invoice_line_description."
"group_use_product_description_per_inv_line",
help="""Allows you to use only product description on the
invoice order lines."""
),
}
Fix implied_group, it still refers to the old module name | # -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2015 Agile Business Group sagl
# (<http://www.agilebg.com>)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from openerp.osv import orm, fields
class AccountConfigSettings(orm.TransientModel):
_inherit = 'account.config.settings'
_columns = {
'group_use_product_description_per_inv_line': fields.boolean(
"""Allow using only the product description on the
invoice order lines""",
implied_group="account_invoice_line_description."
"group_use_product_description_per_inv_line",
help="""Allows you to use only product description on the
invoice order lines."""
),
}
| <commit_before># -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2015 Agile Business Group sagl
# (<http://www.agilebg.com>)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from openerp.osv import orm, fields
class AccountConfigSettings(orm.TransientModel):
_inherit = 'account.config.settings'
_columns = {
'group_use_product_description_per_inv_line': fields.boolean(
"""Allow using only the product description on the
invoice order lines""",
implied_group="invoice_line_description."
"group_use_product_description_per_inv_line",
help="""Allows you to use only product description on the
invoice order lines."""
),
}
<commit_msg>Fix implied_group, it still refers to the old module name<commit_after> | # -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2015 Agile Business Group sagl
# (<http://www.agilebg.com>)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from openerp.osv import orm, fields
class AccountConfigSettings(orm.TransientModel):
_inherit = 'account.config.settings'
_columns = {
'group_use_product_description_per_inv_line': fields.boolean(
"""Allow using only the product description on the
invoice order lines""",
implied_group="account_invoice_line_description."
"group_use_product_description_per_inv_line",
help="""Allows you to use only product description on the
invoice order lines."""
),
}
| # -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2015 Agile Business Group sagl
# (<http://www.agilebg.com>)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from openerp.osv import orm, fields
class AccountConfigSettings(orm.TransientModel):
_inherit = 'account.config.settings'
_columns = {
'group_use_product_description_per_inv_line': fields.boolean(
"""Allow using only the product description on the
invoice order lines""",
implied_group="invoice_line_description."
"group_use_product_description_per_inv_line",
help="""Allows you to use only product description on the
invoice order lines."""
),
}
Fix implied_group, it still refers to the old module name# -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2015 Agile Business Group sagl
# (<http://www.agilebg.com>)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from openerp.osv import orm, fields
class AccountConfigSettings(orm.TransientModel):
_inherit = 'account.config.settings'
_columns = {
'group_use_product_description_per_inv_line': fields.boolean(
"""Allow using only the product description on the
invoice order lines""",
implied_group="account_invoice_line_description."
"group_use_product_description_per_inv_line",
help="""Allows you to use only product description on the
invoice order lines."""
),
}
| <commit_before># -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2015 Agile Business Group sagl
# (<http://www.agilebg.com>)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from openerp.osv import orm, fields
class AccountConfigSettings(orm.TransientModel):
_inherit = 'account.config.settings'
_columns = {
'group_use_product_description_per_inv_line': fields.boolean(
"""Allow using only the product description on the
invoice order lines""",
implied_group="invoice_line_description."
"group_use_product_description_per_inv_line",
help="""Allows you to use only product description on the
invoice order lines."""
),
}
<commit_msg>Fix implied_group, it still refers to the old module name<commit_after># -*- coding: utf-8 -*-
##############################################################################
#
# Copyright (C) 2015 Agile Business Group sagl
# (<http://www.agilebg.com>)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
##############################################################################
from openerp.osv import orm, fields
class AccountConfigSettings(orm.TransientModel):
_inherit = 'account.config.settings'
_columns = {
'group_use_product_description_per_inv_line': fields.boolean(
"""Allow using only the product description on the
invoice order lines""",
implied_group="account_invoice_line_description."
"group_use_product_description_per_inv_line",
help="""Allows you to use only product description on the
invoice order lines."""
),
}
|
f183b471bf92c03bb5353b02009e3287ffe06ae7 | txircd/modules/umode_i.py | txircd/modules/umode_i.py | from txircd.modbase import Mode
class InvisibleMode(Mode):
def namesListEntry(self, recipient, channel, user, representation):
if channel not in recipient.channels and "i" in user.mode:
return ""
return representation
class Spawner(object):
def __init__(self, ircd):
self.ircd = ircd
def spawn(self):
return {
"modes": {
"uni": InvisibleMode()
}
}
def cleanup(self):
self.ircd.removeMode("uni") | from txircd.modbase import Mode
class InvisibleMode(Mode):
def namesListEntry(self, recipient, channel, user, representation):
if channel.name not in recipient.channels and "i" in user.mode:
return ""
return representation
class Spawner(object):
def __init__(self, ircd):
self.ircd = ircd
def spawn(self):
return {
"modes": {
"uni": InvisibleMode()
}
}
def cleanup(self):
self.ircd.removeMode("uni") | Fix interpretation of parameters for names list modification | Fix interpretation of parameters for names list modification
| Python | bsd-3-clause | ElementalAlchemist/txircd,DesertBus/txircd,Heufneutje/txircd | from txircd.modbase import Mode
class InvisibleMode(Mode):
def namesListEntry(self, recipient, channel, user, representation):
if channel not in recipient.channels and "i" in user.mode:
return ""
return representation
class Spawner(object):
def __init__(self, ircd):
self.ircd = ircd
def spawn(self):
return {
"modes": {
"uni": InvisibleMode()
}
}
def cleanup(self):
self.ircd.removeMode("uni")Fix interpretation of parameters for names list modification | from txircd.modbase import Mode
class InvisibleMode(Mode):
def namesListEntry(self, recipient, channel, user, representation):
if channel.name not in recipient.channels and "i" in user.mode:
return ""
return representation
class Spawner(object):
def __init__(self, ircd):
self.ircd = ircd
def spawn(self):
return {
"modes": {
"uni": InvisibleMode()
}
}
def cleanup(self):
self.ircd.removeMode("uni") | <commit_before>from txircd.modbase import Mode
class InvisibleMode(Mode):
def namesListEntry(self, recipient, channel, user, representation):
if channel not in recipient.channels and "i" in user.mode:
return ""
return representation
class Spawner(object):
def __init__(self, ircd):
self.ircd = ircd
def spawn(self):
return {
"modes": {
"uni": InvisibleMode()
}
}
def cleanup(self):
self.ircd.removeMode("uni")<commit_msg>Fix interpretation of parameters for names list modification<commit_after> | from txircd.modbase import Mode
class InvisibleMode(Mode):
def namesListEntry(self, recipient, channel, user, representation):
if channel.name not in recipient.channels and "i" in user.mode:
return ""
return representation
class Spawner(object):
def __init__(self, ircd):
self.ircd = ircd
def spawn(self):
return {
"modes": {
"uni": InvisibleMode()
}
}
def cleanup(self):
self.ircd.removeMode("uni") | from txircd.modbase import Mode
class InvisibleMode(Mode):
def namesListEntry(self, recipient, channel, user, representation):
if channel not in recipient.channels and "i" in user.mode:
return ""
return representation
class Spawner(object):
def __init__(self, ircd):
self.ircd = ircd
def spawn(self):
return {
"modes": {
"uni": InvisibleMode()
}
}
def cleanup(self):
self.ircd.removeMode("uni")Fix interpretation of parameters for names list modificationfrom txircd.modbase import Mode
class InvisibleMode(Mode):
def namesListEntry(self, recipient, channel, user, representation):
if channel.name not in recipient.channels and "i" in user.mode:
return ""
return representation
class Spawner(object):
def __init__(self, ircd):
self.ircd = ircd
def spawn(self):
return {
"modes": {
"uni": InvisibleMode()
}
}
def cleanup(self):
self.ircd.removeMode("uni") | <commit_before>from txircd.modbase import Mode
class InvisibleMode(Mode):
def namesListEntry(self, recipient, channel, user, representation):
if channel not in recipient.channels and "i" in user.mode:
return ""
return representation
class Spawner(object):
def __init__(self, ircd):
self.ircd = ircd
def spawn(self):
return {
"modes": {
"uni": InvisibleMode()
}
}
def cleanup(self):
self.ircd.removeMode("uni")<commit_msg>Fix interpretation of parameters for names list modification<commit_after>from txircd.modbase import Mode
class InvisibleMode(Mode):
def namesListEntry(self, recipient, channel, user, representation):
if channel.name not in recipient.channels and "i" in user.mode:
return ""
return representation
class Spawner(object):
def __init__(self, ircd):
self.ircd = ircd
def spawn(self):
return {
"modes": {
"uni": InvisibleMode()
}
}
def cleanup(self):
self.ircd.removeMode("uni") |
c3f8860c717a139d396b0d902db989ab7b8369ba | stock_inventory_hierarchical/__openerp__.py | stock_inventory_hierarchical/__openerp__.py | # -*- coding: utf-8 -*-
# © 2013-2016 Numérigraphe SARL
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Hierarchical Inventory adjustments",
"summary": "Group several Inventory adjustments in a master inventory",
"version": "8.0.2.0.0",
"depends": ["stock"],
"author": u"Numérigraphe,Odoo Community Association (OCA)",
"category": "Warehouse Management",
"data": ["views/stock_inventory_view.xml",
"wizard/generate_inventory_view.xml"],
"images": ["inventory_form.png",
"inventory_form_actions.png",
"wizard.png"],
'license': 'AGPL-3',
'installable': True
}
| # -*- coding: utf-8 -*-
# © 2013-2016 Numérigraphe SARL
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Hierarchical Inventory adjustments",
"summary": "Group several Inventory adjustments in a master inventory",
"version": "8.0.2.0.0",
"depends": ["stock"],
"author": u"Numérigraphe,Odoo Community Association (OCA)",
"category": "Warehouse Management",
"data": ["views/stock_inventory_view.xml",
"wizard/generate_inventory_view.xml"],
"images": ["images/inventory_form.png",
"images/inventory_form_actions.png",
"images/wizard.png"],
'license': 'AGPL-3',
'installable': True
}
| Fix image path in manifest | Fix image path in manifest
| Python | agpl-3.0 | kmee/stock-logistics-warehouse,factorlibre/stock-logistics-warehouse,open-synergy/stock-logistics-warehouse,acsone/stock-logistics-warehouse,avoinsystems/stock-logistics-warehouse | # -*- coding: utf-8 -*-
# © 2013-2016 Numérigraphe SARL
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Hierarchical Inventory adjustments",
"summary": "Group several Inventory adjustments in a master inventory",
"version": "8.0.2.0.0",
"depends": ["stock"],
"author": u"Numérigraphe,Odoo Community Association (OCA)",
"category": "Warehouse Management",
"data": ["views/stock_inventory_view.xml",
"wizard/generate_inventory_view.xml"],
"images": ["inventory_form.png",
"inventory_form_actions.png",
"wizard.png"],
'license': 'AGPL-3',
'installable': True
}
Fix image path in manifest | # -*- coding: utf-8 -*-
# © 2013-2016 Numérigraphe SARL
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Hierarchical Inventory adjustments",
"summary": "Group several Inventory adjustments in a master inventory",
"version": "8.0.2.0.0",
"depends": ["stock"],
"author": u"Numérigraphe,Odoo Community Association (OCA)",
"category": "Warehouse Management",
"data": ["views/stock_inventory_view.xml",
"wizard/generate_inventory_view.xml"],
"images": ["images/inventory_form.png",
"images/inventory_form_actions.png",
"images/wizard.png"],
'license': 'AGPL-3',
'installable': True
}
| <commit_before># -*- coding: utf-8 -*-
# © 2013-2016 Numérigraphe SARL
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Hierarchical Inventory adjustments",
"summary": "Group several Inventory adjustments in a master inventory",
"version": "8.0.2.0.0",
"depends": ["stock"],
"author": u"Numérigraphe,Odoo Community Association (OCA)",
"category": "Warehouse Management",
"data": ["views/stock_inventory_view.xml",
"wizard/generate_inventory_view.xml"],
"images": ["inventory_form.png",
"inventory_form_actions.png",
"wizard.png"],
'license': 'AGPL-3',
'installable': True
}
<commit_msg>Fix image path in manifest<commit_after> | # -*- coding: utf-8 -*-
# © 2013-2016 Numérigraphe SARL
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Hierarchical Inventory adjustments",
"summary": "Group several Inventory adjustments in a master inventory",
"version": "8.0.2.0.0",
"depends": ["stock"],
"author": u"Numérigraphe,Odoo Community Association (OCA)",
"category": "Warehouse Management",
"data": ["views/stock_inventory_view.xml",
"wizard/generate_inventory_view.xml"],
"images": ["images/inventory_form.png",
"images/inventory_form_actions.png",
"images/wizard.png"],
'license': 'AGPL-3',
'installable': True
}
| # -*- coding: utf-8 -*-
# © 2013-2016 Numérigraphe SARL
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Hierarchical Inventory adjustments",
"summary": "Group several Inventory adjustments in a master inventory",
"version": "8.0.2.0.0",
"depends": ["stock"],
"author": u"Numérigraphe,Odoo Community Association (OCA)",
"category": "Warehouse Management",
"data": ["views/stock_inventory_view.xml",
"wizard/generate_inventory_view.xml"],
"images": ["inventory_form.png",
"inventory_form_actions.png",
"wizard.png"],
'license': 'AGPL-3',
'installable': True
}
Fix image path in manifest# -*- coding: utf-8 -*-
# © 2013-2016 Numérigraphe SARL
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Hierarchical Inventory adjustments",
"summary": "Group several Inventory adjustments in a master inventory",
"version": "8.0.2.0.0",
"depends": ["stock"],
"author": u"Numérigraphe,Odoo Community Association (OCA)",
"category": "Warehouse Management",
"data": ["views/stock_inventory_view.xml",
"wizard/generate_inventory_view.xml"],
"images": ["images/inventory_form.png",
"images/inventory_form_actions.png",
"images/wizard.png"],
'license': 'AGPL-3',
'installable': True
}
| <commit_before># -*- coding: utf-8 -*-
# © 2013-2016 Numérigraphe SARL
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Hierarchical Inventory adjustments",
"summary": "Group several Inventory adjustments in a master inventory",
"version": "8.0.2.0.0",
"depends": ["stock"],
"author": u"Numérigraphe,Odoo Community Association (OCA)",
"category": "Warehouse Management",
"data": ["views/stock_inventory_view.xml",
"wizard/generate_inventory_view.xml"],
"images": ["inventory_form.png",
"inventory_form_actions.png",
"wizard.png"],
'license': 'AGPL-3',
'installable': True
}
<commit_msg>Fix image path in manifest<commit_after># -*- coding: utf-8 -*-
# © 2013-2016 Numérigraphe SARL
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
{
"name": "Hierarchical Inventory adjustments",
"summary": "Group several Inventory adjustments in a master inventory",
"version": "8.0.2.0.0",
"depends": ["stock"],
"author": u"Numérigraphe,Odoo Community Association (OCA)",
"category": "Warehouse Management",
"data": ["views/stock_inventory_view.xml",
"wizard/generate_inventory_view.xml"],
"images": ["images/inventory_form.png",
"images/inventory_form_actions.png",
"images/wizard.png"],
'license': 'AGPL-3',
'installable': True
}
|
9e169348d95e29ad04942ecb00628f3d1f3a3a1c | partner_email_check/models/res_partner.py | partner_email_check/models/res_partner.py | # Copyright 2019 Komit <https://komit-consulting.com>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
import logging
from odoo import api, models, _
from odoo.exceptions import UserError
_logger = logging.getLogger(__name__)
try:
from validate_email import validate_email
except ImportError:
_logger.error('Cannot import "validate_email".')
def validate_email(email):
_logger.warning(
'Can not validate email, '
'python dependency required "validate_email"')
return True
class ResPartner(models.Model):
_inherit = 'res.partner'
@api.constrains('email')
def constrains_email(self):
for rec in self.filtered("email"):
self.email_check(rec.email)
@api.model
def email_check(self, email):
if validate_email(email):
return True
raise UserError(_('Invalid e-mail!'))
| # Copyright 2019 Komit <https://komit-consulting.com>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
import logging
from odoo import api, models, _
from odoo.exceptions import UserError
_logger = logging.getLogger(__name__)
try:
from validate_email import validate_email
except ImportError:
_logger.debug('Cannot import "validate_email".')
def validate_email(email):
_logger.warning(
'Can not validate email, '
'python dependency required "validate_email"')
return True
class ResPartner(models.Model):
_inherit = 'res.partner'
@api.constrains('email')
def constrains_email(self):
for rec in self.filtered("email"):
self.email_check(rec.email)
@api.model
def email_check(self, email):
if validate_email(email):
return True
raise UserError(_('Invalid e-mail!'))
| Make debugger record a debug message instead of error when importing validate_email in partner_email_check | [FIX][11.0] Make debugger record a debug message instead of error when importing validate_email in partner_email_check
| Python | agpl-3.0 | BT-rmartin/partner-contact,OCA/partner-contact,OCA/partner-contact,BT-rmartin/partner-contact | # Copyright 2019 Komit <https://komit-consulting.com>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
import logging
from odoo import api, models, _
from odoo.exceptions import UserError
_logger = logging.getLogger(__name__)
try:
from validate_email import validate_email
except ImportError:
_logger.error('Cannot import "validate_email".')
def validate_email(email):
_logger.warning(
'Can not validate email, '
'python dependency required "validate_email"')
return True
class ResPartner(models.Model):
_inherit = 'res.partner'
@api.constrains('email')
def constrains_email(self):
for rec in self.filtered("email"):
self.email_check(rec.email)
@api.model
def email_check(self, email):
if validate_email(email):
return True
raise UserError(_('Invalid e-mail!'))
[FIX][11.0] Make debugger record a debug message instead of error when importing validate_email in partner_email_check | # Copyright 2019 Komit <https://komit-consulting.com>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
import logging
from odoo import api, models, _
from odoo.exceptions import UserError
_logger = logging.getLogger(__name__)
try:
from validate_email import validate_email
except ImportError:
_logger.debug('Cannot import "validate_email".')
def validate_email(email):
_logger.warning(
'Can not validate email, '
'python dependency required "validate_email"')
return True
class ResPartner(models.Model):
_inherit = 'res.partner'
@api.constrains('email')
def constrains_email(self):
for rec in self.filtered("email"):
self.email_check(rec.email)
@api.model
def email_check(self, email):
if validate_email(email):
return True
raise UserError(_('Invalid e-mail!'))
| <commit_before># Copyright 2019 Komit <https://komit-consulting.com>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
import logging
from odoo import api, models, _
from odoo.exceptions import UserError
_logger = logging.getLogger(__name__)
try:
from validate_email import validate_email
except ImportError:
_logger.error('Cannot import "validate_email".')
def validate_email(email):
_logger.warning(
'Can not validate email, '
'python dependency required "validate_email"')
return True
class ResPartner(models.Model):
_inherit = 'res.partner'
@api.constrains('email')
def constrains_email(self):
for rec in self.filtered("email"):
self.email_check(rec.email)
@api.model
def email_check(self, email):
if validate_email(email):
return True
raise UserError(_('Invalid e-mail!'))
<commit_msg> [FIX][11.0] Make debugger record a debug message instead of error when importing validate_email in partner_email_check<commit_after> | # Copyright 2019 Komit <https://komit-consulting.com>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
import logging
from odoo import api, models, _
from odoo.exceptions import UserError
_logger = logging.getLogger(__name__)
try:
from validate_email import validate_email
except ImportError:
_logger.debug('Cannot import "validate_email".')
def validate_email(email):
_logger.warning(
'Can not validate email, '
'python dependency required "validate_email"')
return True
class ResPartner(models.Model):
_inherit = 'res.partner'
@api.constrains('email')
def constrains_email(self):
for rec in self.filtered("email"):
self.email_check(rec.email)
@api.model
def email_check(self, email):
if validate_email(email):
return True
raise UserError(_('Invalid e-mail!'))
| # Copyright 2019 Komit <https://komit-consulting.com>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
import logging
from odoo import api, models, _
from odoo.exceptions import UserError
_logger = logging.getLogger(__name__)
try:
from validate_email import validate_email
except ImportError:
_logger.error('Cannot import "validate_email".')
def validate_email(email):
_logger.warning(
'Can not validate email, '
'python dependency required "validate_email"')
return True
class ResPartner(models.Model):
_inherit = 'res.partner'
@api.constrains('email')
def constrains_email(self):
for rec in self.filtered("email"):
self.email_check(rec.email)
@api.model
def email_check(self, email):
if validate_email(email):
return True
raise UserError(_('Invalid e-mail!'))
[FIX][11.0] Make debugger record a debug message instead of error when importing validate_email in partner_email_check# Copyright 2019 Komit <https://komit-consulting.com>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
import logging
from odoo import api, models, _
from odoo.exceptions import UserError
_logger = logging.getLogger(__name__)
try:
from validate_email import validate_email
except ImportError:
_logger.debug('Cannot import "validate_email".')
def validate_email(email):
_logger.warning(
'Can not validate email, '
'python dependency required "validate_email"')
return True
class ResPartner(models.Model):
_inherit = 'res.partner'
@api.constrains('email')
def constrains_email(self):
for rec in self.filtered("email"):
self.email_check(rec.email)
@api.model
def email_check(self, email):
if validate_email(email):
return True
raise UserError(_('Invalid e-mail!'))
| <commit_before># Copyright 2019 Komit <https://komit-consulting.com>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
import logging
from odoo import api, models, _
from odoo.exceptions import UserError
_logger = logging.getLogger(__name__)
try:
from validate_email import validate_email
except ImportError:
_logger.error('Cannot import "validate_email".')
def validate_email(email):
_logger.warning(
'Can not validate email, '
'python dependency required "validate_email"')
return True
class ResPartner(models.Model):
_inherit = 'res.partner'
@api.constrains('email')
def constrains_email(self):
for rec in self.filtered("email"):
self.email_check(rec.email)
@api.model
def email_check(self, email):
if validate_email(email):
return True
raise UserError(_('Invalid e-mail!'))
<commit_msg> [FIX][11.0] Make debugger record a debug message instead of error when importing validate_email in partner_email_check<commit_after># Copyright 2019 Komit <https://komit-consulting.com>
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
import logging
from odoo import api, models, _
from odoo.exceptions import UserError
_logger = logging.getLogger(__name__)
try:
from validate_email import validate_email
except ImportError:
_logger.debug('Cannot import "validate_email".')
def validate_email(email):
_logger.warning(
'Can not validate email, '
'python dependency required "validate_email"')
return True
class ResPartner(models.Model):
_inherit = 'res.partner'
@api.constrains('email')
def constrains_email(self):
for rec in self.filtered("email"):
self.email_check(rec.email)
@api.model
def email_check(self, email):
if validate_email(email):
return True
raise UserError(_('Invalid e-mail!'))
|
cd56fb2c1a0f4b6dd40ce03545e57c6fd2e1c519 | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
packages = [
'upho',
'upho.phonon',
'upho.harmonic',
'upho.analysis',
'upho.structure',
'upho.irreps',
'upho.qpoints',
'group',
]
scripts = [
'scripts/upho_weights',
'scripts/upho_sf',
'scripts/upho_qpoints',
'scripts/upho_fit',
]
setup(name='upho',
version='0.5.3',
author="Yuji Ikeda",
author_email="[email protected]",
packages=packages,
scripts=scripts,
install_requires=['numpy', 'h5py', 'phonopy'])
| #!/usr/bin/env python
from distutils.core import setup
packages = [
'upho',
'upho.phonon',
'upho.harmonic',
'upho.analysis',
'upho.structure',
'upho.irreps',
'upho.qpoints',
'group',
]
scripts = [
'scripts/upho_weights',
'scripts/upho_sf',
'scripts/upho_qpoints',
'scripts/upho_fit',
]
setup(name='upho',
version='0.5.3',
author="Yuji Ikeda",
author_email="[email protected]",
packages=packages,
scripts=scripts,
install_requires=['numpy', 'h5py', 'phonopy'])
| Modify the author email address | Modify the author email address
| Python | mit | yuzie007/upho,yuzie007/ph_unfolder | #!/usr/bin/env python
from distutils.core import setup
packages = [
'upho',
'upho.phonon',
'upho.harmonic',
'upho.analysis',
'upho.structure',
'upho.irreps',
'upho.qpoints',
'group',
]
scripts = [
'scripts/upho_weights',
'scripts/upho_sf',
'scripts/upho_qpoints',
'scripts/upho_fit',
]
setup(name='upho',
version='0.5.3',
author="Yuji Ikeda",
author_email="[email protected]",
packages=packages,
scripts=scripts,
install_requires=['numpy', 'h5py', 'phonopy'])
Modify the author email address | #!/usr/bin/env python
from distutils.core import setup
packages = [
'upho',
'upho.phonon',
'upho.harmonic',
'upho.analysis',
'upho.structure',
'upho.irreps',
'upho.qpoints',
'group',
]
scripts = [
'scripts/upho_weights',
'scripts/upho_sf',
'scripts/upho_qpoints',
'scripts/upho_fit',
]
setup(name='upho',
version='0.5.3',
author="Yuji Ikeda",
author_email="[email protected]",
packages=packages,
scripts=scripts,
install_requires=['numpy', 'h5py', 'phonopy'])
| <commit_before>#!/usr/bin/env python
from distutils.core import setup
packages = [
'upho',
'upho.phonon',
'upho.harmonic',
'upho.analysis',
'upho.structure',
'upho.irreps',
'upho.qpoints',
'group',
]
scripts = [
'scripts/upho_weights',
'scripts/upho_sf',
'scripts/upho_qpoints',
'scripts/upho_fit',
]
setup(name='upho',
version='0.5.3',
author="Yuji Ikeda",
author_email="[email protected]",
packages=packages,
scripts=scripts,
install_requires=['numpy', 'h5py', 'phonopy'])
<commit_msg>Modify the author email address<commit_after> | #!/usr/bin/env python
from distutils.core import setup
packages = [
'upho',
'upho.phonon',
'upho.harmonic',
'upho.analysis',
'upho.structure',
'upho.irreps',
'upho.qpoints',
'group',
]
scripts = [
'scripts/upho_weights',
'scripts/upho_sf',
'scripts/upho_qpoints',
'scripts/upho_fit',
]
setup(name='upho',
version='0.5.3',
author="Yuji Ikeda",
author_email="[email protected]",
packages=packages,
scripts=scripts,
install_requires=['numpy', 'h5py', 'phonopy'])
| #!/usr/bin/env python
from distutils.core import setup
packages = [
'upho',
'upho.phonon',
'upho.harmonic',
'upho.analysis',
'upho.structure',
'upho.irreps',
'upho.qpoints',
'group',
]
scripts = [
'scripts/upho_weights',
'scripts/upho_sf',
'scripts/upho_qpoints',
'scripts/upho_fit',
]
setup(name='upho',
version='0.5.3',
author="Yuji Ikeda",
author_email="[email protected]",
packages=packages,
scripts=scripts,
install_requires=['numpy', 'h5py', 'phonopy'])
Modify the author email address#!/usr/bin/env python
from distutils.core import setup
packages = [
'upho',
'upho.phonon',
'upho.harmonic',
'upho.analysis',
'upho.structure',
'upho.irreps',
'upho.qpoints',
'group',
]
scripts = [
'scripts/upho_weights',
'scripts/upho_sf',
'scripts/upho_qpoints',
'scripts/upho_fit',
]
setup(name='upho',
version='0.5.3',
author="Yuji Ikeda",
author_email="[email protected]",
packages=packages,
scripts=scripts,
install_requires=['numpy', 'h5py', 'phonopy'])
| <commit_before>#!/usr/bin/env python
from distutils.core import setup
packages = [
'upho',
'upho.phonon',
'upho.harmonic',
'upho.analysis',
'upho.structure',
'upho.irreps',
'upho.qpoints',
'group',
]
scripts = [
'scripts/upho_weights',
'scripts/upho_sf',
'scripts/upho_qpoints',
'scripts/upho_fit',
]
setup(name='upho',
version='0.5.3',
author="Yuji Ikeda",
author_email="[email protected]",
packages=packages,
scripts=scripts,
install_requires=['numpy', 'h5py', 'phonopy'])
<commit_msg>Modify the author email address<commit_after>#!/usr/bin/env python
from distutils.core import setup
packages = [
'upho',
'upho.phonon',
'upho.harmonic',
'upho.analysis',
'upho.structure',
'upho.irreps',
'upho.qpoints',
'group',
]
scripts = [
'scripts/upho_weights',
'scripts/upho_sf',
'scripts/upho_qpoints',
'scripts/upho_fit',
]
setup(name='upho',
version='0.5.3',
author="Yuji Ikeda",
author_email="[email protected]",
packages=packages,
scripts=scripts,
install_requires=['numpy', 'h5py', 'phonopy'])
|
db7bc89d03089ad3107a19220a94ee3fe3d230c3 | setup.py | setup.py |
from setuptools import setup, find_packages
import sys, os
version = '1.1.1'
setup(
name = 'daprot',
version = version,
description = "daprot is a data prototyper and mapper library.",
packages = find_packages( exclude = [ 'ez_setup'] ),
include_package_data = True,
zip_safe = False,
entry_points = {},
author = 'Bence Faludi',
author_email = '[email protected]',
license = 'GPL',
install_requires = [
'dm',
'funcomp',
],
test_suite = "daprot.tests"
)
|
from setuptools import setup, find_packages
import sys, os
version = '1.1.2'
setup(
name = 'daprot',
version = version,
description = "daprot is a data prototyper and mapper library.",
packages = find_packages( exclude = [ 'ez_setup'] ),
include_package_data = True,
zip_safe = False,
entry_points = {},
author = 'Bence Faludi',
author_email = '[email protected]',
license = 'GPL',
install_requires = [
'dm',
'funcomp',
],
test_suite = "daprot.tests"
)
| Change the version of the package. | Change the version of the package. | Python | agpl-3.0 | bfaludi/daprot |
from setuptools import setup, find_packages
import sys, os
version = '1.1.1'
setup(
name = 'daprot',
version = version,
description = "daprot is a data prototyper and mapper library.",
packages = find_packages( exclude = [ 'ez_setup'] ),
include_package_data = True,
zip_safe = False,
entry_points = {},
author = 'Bence Faludi',
author_email = '[email protected]',
license = 'GPL',
install_requires = [
'dm',
'funcomp',
],
test_suite = "daprot.tests"
)
Change the version of the package. |
from setuptools import setup, find_packages
import sys, os
version = '1.1.2'
setup(
name = 'daprot',
version = version,
description = "daprot is a data prototyper and mapper library.",
packages = find_packages( exclude = [ 'ez_setup'] ),
include_package_data = True,
zip_safe = False,
entry_points = {},
author = 'Bence Faludi',
author_email = '[email protected]',
license = 'GPL',
install_requires = [
'dm',
'funcomp',
],
test_suite = "daprot.tests"
)
| <commit_before>
from setuptools import setup, find_packages
import sys, os
version = '1.1.1'
setup(
name = 'daprot',
version = version,
description = "daprot is a data prototyper and mapper library.",
packages = find_packages( exclude = [ 'ez_setup'] ),
include_package_data = True,
zip_safe = False,
entry_points = {},
author = 'Bence Faludi',
author_email = '[email protected]',
license = 'GPL',
install_requires = [
'dm',
'funcomp',
],
test_suite = "daprot.tests"
)
<commit_msg>Change the version of the package.<commit_after> |
from setuptools import setup, find_packages
import sys, os
version = '1.1.2'
setup(
name = 'daprot',
version = version,
description = "daprot is a data prototyper and mapper library.",
packages = find_packages( exclude = [ 'ez_setup'] ),
include_package_data = True,
zip_safe = False,
entry_points = {},
author = 'Bence Faludi',
author_email = '[email protected]',
license = 'GPL',
install_requires = [
'dm',
'funcomp',
],
test_suite = "daprot.tests"
)
|
from setuptools import setup, find_packages
import sys, os
version = '1.1.1'
setup(
name = 'daprot',
version = version,
description = "daprot is a data prototyper and mapper library.",
packages = find_packages( exclude = [ 'ez_setup'] ),
include_package_data = True,
zip_safe = False,
entry_points = {},
author = 'Bence Faludi',
author_email = '[email protected]',
license = 'GPL',
install_requires = [
'dm',
'funcomp',
],
test_suite = "daprot.tests"
)
Change the version of the package.
from setuptools import setup, find_packages
import sys, os
version = '1.1.2'
setup(
name = 'daprot',
version = version,
description = "daprot is a data prototyper and mapper library.",
packages = find_packages( exclude = [ 'ez_setup'] ),
include_package_data = True,
zip_safe = False,
entry_points = {},
author = 'Bence Faludi',
author_email = '[email protected]',
license = 'GPL',
install_requires = [
'dm',
'funcomp',
],
test_suite = "daprot.tests"
)
| <commit_before>
from setuptools import setup, find_packages
import sys, os
version = '1.1.1'
setup(
name = 'daprot',
version = version,
description = "daprot is a data prototyper and mapper library.",
packages = find_packages( exclude = [ 'ez_setup'] ),
include_package_data = True,
zip_safe = False,
entry_points = {},
author = 'Bence Faludi',
author_email = '[email protected]',
license = 'GPL',
install_requires = [
'dm',
'funcomp',
],
test_suite = "daprot.tests"
)
<commit_msg>Change the version of the package.<commit_after>
from setuptools import setup, find_packages
import sys, os
version = '1.1.2'
setup(
name = 'daprot',
version = version,
description = "daprot is a data prototyper and mapper library.",
packages = find_packages( exclude = [ 'ez_setup'] ),
include_package_data = True,
zip_safe = False,
entry_points = {},
author = 'Bence Faludi',
author_email = '[email protected]',
license = 'GPL',
install_requires = [
'dm',
'funcomp',
],
test_suite = "daprot.tests"
)
|
4f133cb1c9bb389156175268eb1b989d76e4d280 | setup.py | setup.py | try:
from setuptools import setup
from setuptools import find_packages
packages = find_packages()
except ImportError:
from distutils.core import setup
import os
packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().strip().split('\n')]
if bytes is str:
raise Exception("This module is designed for python 3 only. Please install an older version to use python 2.")
setup(
name='cle',
description='CLE Loads Everything (at least, many binary formats!) and provides a pythonic interface to analyze what they are and what they would look like in memory.',
version='8.20.5.27',
python_requires='>=3.6',
packages=packages,
install_requires=[
'pyelftools>=0.25',
'cffi',
'pyvex==8.20.5.27',
'pefile',
'sortedcontainers>=2.0',
],
extras_require={
"minidump": ["minidump==0.0.10"],
"xbe": ["pyxbe==0.0.2"],
"ar": ["arpy==1.1.1"],
}
)
| try:
from setuptools import setup
from setuptools import find_packages
packages = find_packages()
except ImportError:
from distutils.core import setup
import os
packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().strip().split('\n')]
if bytes is str:
raise Exception("This module is designed for python 3 only. Please install an older version to use python 2.")
setup(
name='cle',
description='CLE Loads Everything (at least, many binary formats!) and provides a pythonic interface to analyze what they are and what they would look like in memory.',
version='8.20.5.27',
python_requires='>=3.6',
packages=packages,
install_requires=[
'pyelftools>=0.25',
'cffi',
'pyvex==8.20.5.27',
'pefile',
'sortedcontainers>=2.0',
],
extras_require={
"minidump": ["minidump>=0.0.10"],
"xbe": ["pyxbe==0.0.2"],
"ar": ["arpy==1.1.1"],
}
)
| Adjust minidump dependency to >= 0.0.10 | Adjust minidump dependency to >= 0.0.10
| Python | bsd-2-clause | angr/cle | try:
from setuptools import setup
from setuptools import find_packages
packages = find_packages()
except ImportError:
from distutils.core import setup
import os
packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().strip().split('\n')]
if bytes is str:
raise Exception("This module is designed for python 3 only. Please install an older version to use python 2.")
setup(
name='cle',
description='CLE Loads Everything (at least, many binary formats!) and provides a pythonic interface to analyze what they are and what they would look like in memory.',
version='8.20.5.27',
python_requires='>=3.6',
packages=packages,
install_requires=[
'pyelftools>=0.25',
'cffi',
'pyvex==8.20.5.27',
'pefile',
'sortedcontainers>=2.0',
],
extras_require={
"minidump": ["minidump==0.0.10"],
"xbe": ["pyxbe==0.0.2"],
"ar": ["arpy==1.1.1"],
}
)
Adjust minidump dependency to >= 0.0.10 | try:
from setuptools import setup
from setuptools import find_packages
packages = find_packages()
except ImportError:
from distutils.core import setup
import os
packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().strip().split('\n')]
if bytes is str:
raise Exception("This module is designed for python 3 only. Please install an older version to use python 2.")
setup(
name='cle',
description='CLE Loads Everything (at least, many binary formats!) and provides a pythonic interface to analyze what they are and what they would look like in memory.',
version='8.20.5.27',
python_requires='>=3.6',
packages=packages,
install_requires=[
'pyelftools>=0.25',
'cffi',
'pyvex==8.20.5.27',
'pefile',
'sortedcontainers>=2.0',
],
extras_require={
"minidump": ["minidump>=0.0.10"],
"xbe": ["pyxbe==0.0.2"],
"ar": ["arpy==1.1.1"],
}
)
| <commit_before>try:
from setuptools import setup
from setuptools import find_packages
packages = find_packages()
except ImportError:
from distutils.core import setup
import os
packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().strip().split('\n')]
if bytes is str:
raise Exception("This module is designed for python 3 only. Please install an older version to use python 2.")
setup(
name='cle',
description='CLE Loads Everything (at least, many binary formats!) and provides a pythonic interface to analyze what they are and what they would look like in memory.',
version='8.20.5.27',
python_requires='>=3.6',
packages=packages,
install_requires=[
'pyelftools>=0.25',
'cffi',
'pyvex==8.20.5.27',
'pefile',
'sortedcontainers>=2.0',
],
extras_require={
"minidump": ["minidump==0.0.10"],
"xbe": ["pyxbe==0.0.2"],
"ar": ["arpy==1.1.1"],
}
)
<commit_msg>Adjust minidump dependency to >= 0.0.10<commit_after> | try:
from setuptools import setup
from setuptools import find_packages
packages = find_packages()
except ImportError:
from distutils.core import setup
import os
packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().strip().split('\n')]
if bytes is str:
raise Exception("This module is designed for python 3 only. Please install an older version to use python 2.")
setup(
name='cle',
description='CLE Loads Everything (at least, many binary formats!) and provides a pythonic interface to analyze what they are and what they would look like in memory.',
version='8.20.5.27',
python_requires='>=3.6',
packages=packages,
install_requires=[
'pyelftools>=0.25',
'cffi',
'pyvex==8.20.5.27',
'pefile',
'sortedcontainers>=2.0',
],
extras_require={
"minidump": ["minidump>=0.0.10"],
"xbe": ["pyxbe==0.0.2"],
"ar": ["arpy==1.1.1"],
}
)
| try:
from setuptools import setup
from setuptools import find_packages
packages = find_packages()
except ImportError:
from distutils.core import setup
import os
packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().strip().split('\n')]
if bytes is str:
raise Exception("This module is designed for python 3 only. Please install an older version to use python 2.")
setup(
name='cle',
description='CLE Loads Everything (at least, many binary formats!) and provides a pythonic interface to analyze what they are and what they would look like in memory.',
version='8.20.5.27',
python_requires='>=3.6',
packages=packages,
install_requires=[
'pyelftools>=0.25',
'cffi',
'pyvex==8.20.5.27',
'pefile',
'sortedcontainers>=2.0',
],
extras_require={
"minidump": ["minidump==0.0.10"],
"xbe": ["pyxbe==0.0.2"],
"ar": ["arpy==1.1.1"],
}
)
Adjust minidump dependency to >= 0.0.10try:
from setuptools import setup
from setuptools import find_packages
packages = find_packages()
except ImportError:
from distutils.core import setup
import os
packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().strip().split('\n')]
if bytes is str:
raise Exception("This module is designed for python 3 only. Please install an older version to use python 2.")
setup(
name='cle',
description='CLE Loads Everything (at least, many binary formats!) and provides a pythonic interface to analyze what they are and what they would look like in memory.',
version='8.20.5.27',
python_requires='>=3.6',
packages=packages,
install_requires=[
'pyelftools>=0.25',
'cffi',
'pyvex==8.20.5.27',
'pefile',
'sortedcontainers>=2.0',
],
extras_require={
"minidump": ["minidump>=0.0.10"],
"xbe": ["pyxbe==0.0.2"],
"ar": ["arpy==1.1.1"],
}
)
| <commit_before>try:
from setuptools import setup
from setuptools import find_packages
packages = find_packages()
except ImportError:
from distutils.core import setup
import os
packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().strip().split('\n')]
if bytes is str:
raise Exception("This module is designed for python 3 only. Please install an older version to use python 2.")
setup(
name='cle',
description='CLE Loads Everything (at least, many binary formats!) and provides a pythonic interface to analyze what they are and what they would look like in memory.',
version='8.20.5.27',
python_requires='>=3.6',
packages=packages,
install_requires=[
'pyelftools>=0.25',
'cffi',
'pyvex==8.20.5.27',
'pefile',
'sortedcontainers>=2.0',
],
extras_require={
"minidump": ["minidump==0.0.10"],
"xbe": ["pyxbe==0.0.2"],
"ar": ["arpy==1.1.1"],
}
)
<commit_msg>Adjust minidump dependency to >= 0.0.10<commit_after>try:
from setuptools import setup
from setuptools import find_packages
packages = find_packages()
except ImportError:
from distutils.core import setup
import os
packages = [x.strip('./').replace('/','.') for x in os.popen('find -name "__init__.py" | xargs -n1 dirname').read().strip().split('\n')]
if bytes is str:
raise Exception("This module is designed for python 3 only. Please install an older version to use python 2.")
setup(
name='cle',
description='CLE Loads Everything (at least, many binary formats!) and provides a pythonic interface to analyze what they are and what they would look like in memory.',
version='8.20.5.27',
python_requires='>=3.6',
packages=packages,
install_requires=[
'pyelftools>=0.25',
'cffi',
'pyvex==8.20.5.27',
'pefile',
'sortedcontainers>=2.0',
],
extras_require={
"minidump": ["minidump>=0.0.10"],
"xbe": ["pyxbe==0.0.2"],
"ar": ["arpy==1.1.1"],
}
)
|
fc8d9f995b0abd66da9b2db02dc3588f5e99e66a | setup.py | setup.py | from setuptools import setup, find_packages
from os.path import join, dirname
import sys
if sys.version_info.major < 3:
print("Sorry, currently only Python 3 is supported!")
sys.exit(1)
setup(
name = 'CollectionBatchTool',
version=__import__('collectionbatchtool').__version__,
description = 'batch import and export of Specify data',
long_description = open(join(dirname(__file__), 'README.rst')).read(),
packages = find_packages(),
py_modules = ['collectionbatchtool', 'specifymodels'],
install_requires = ['pandas>=0.16', 'peewee>=2.6', 'pymysql'],
author = 'Markus Englund',
author_email = '[email protected]',
url = 'https://github.com/jmenglund/CollectionBatchTool',
license = 'MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
keywords = ['Specify', 'Collection management']
)
| from setuptools import setup, find_packages
from os.path import join, dirname
import sys
if sys.version_info.major < 3:
print("Sorry, currently only Python 3 is supported!")
sys.exit(1)
setup(
name = 'CollectionBatchTool',
version=__import__('collectionbatchtool').__version__,
description = 'batch import and export of Specify data',
long_description = open(
join(dirname(__file__), 'README.rst'), encoding='utf-8').read(),
packages = find_packages(),
py_modules = ['collectionbatchtool', 'specifymodels'],
install_requires = ['pandas>=0.16', 'peewee>=2.6', 'pymysql'],
author = 'Markus Englund',
author_email = '[email protected]',
url = 'https://github.com/jmenglund/CollectionBatchTool',
license = 'MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
keywords = ['Specify', 'Collection management']
)
| Add utf-8 support for long description | Add utf-8 support for long description
| Python | mit | jmenglund/CollectionBatchTool | from setuptools import setup, find_packages
from os.path import join, dirname
import sys
if sys.version_info.major < 3:
print("Sorry, currently only Python 3 is supported!")
sys.exit(1)
setup(
name = 'CollectionBatchTool',
version=__import__('collectionbatchtool').__version__,
description = 'batch import and export of Specify data',
long_description = open(join(dirname(__file__), 'README.rst')).read(),
packages = find_packages(),
py_modules = ['collectionbatchtool', 'specifymodels'],
install_requires = ['pandas>=0.16', 'peewee>=2.6', 'pymysql'],
author = 'Markus Englund',
author_email = '[email protected]',
url = 'https://github.com/jmenglund/CollectionBatchTool',
license = 'MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
keywords = ['Specify', 'Collection management']
)
Add utf-8 support for long description | from setuptools import setup, find_packages
from os.path import join, dirname
import sys
if sys.version_info.major < 3:
print("Sorry, currently only Python 3 is supported!")
sys.exit(1)
setup(
name = 'CollectionBatchTool',
version=__import__('collectionbatchtool').__version__,
description = 'batch import and export of Specify data',
long_description = open(
join(dirname(__file__), 'README.rst'), encoding='utf-8').read(),
packages = find_packages(),
py_modules = ['collectionbatchtool', 'specifymodels'],
install_requires = ['pandas>=0.16', 'peewee>=2.6', 'pymysql'],
author = 'Markus Englund',
author_email = '[email protected]',
url = 'https://github.com/jmenglund/CollectionBatchTool',
license = 'MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
keywords = ['Specify', 'Collection management']
)
| <commit_before>from setuptools import setup, find_packages
from os.path import join, dirname
import sys
if sys.version_info.major < 3:
print("Sorry, currently only Python 3 is supported!")
sys.exit(1)
setup(
name = 'CollectionBatchTool',
version=__import__('collectionbatchtool').__version__,
description = 'batch import and export of Specify data',
long_description = open(join(dirname(__file__), 'README.rst')).read(),
packages = find_packages(),
py_modules = ['collectionbatchtool', 'specifymodels'],
install_requires = ['pandas>=0.16', 'peewee>=2.6', 'pymysql'],
author = 'Markus Englund',
author_email = '[email protected]',
url = 'https://github.com/jmenglund/CollectionBatchTool',
license = 'MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
keywords = ['Specify', 'Collection management']
)
<commit_msg>Add utf-8 support for long description<commit_after> | from setuptools import setup, find_packages
from os.path import join, dirname
import sys
if sys.version_info.major < 3:
print("Sorry, currently only Python 3 is supported!")
sys.exit(1)
setup(
name = 'CollectionBatchTool',
version=__import__('collectionbatchtool').__version__,
description = 'batch import and export of Specify data',
long_description = open(
join(dirname(__file__), 'README.rst'), encoding='utf-8').read(),
packages = find_packages(),
py_modules = ['collectionbatchtool', 'specifymodels'],
install_requires = ['pandas>=0.16', 'peewee>=2.6', 'pymysql'],
author = 'Markus Englund',
author_email = '[email protected]',
url = 'https://github.com/jmenglund/CollectionBatchTool',
license = 'MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
keywords = ['Specify', 'Collection management']
)
| from setuptools import setup, find_packages
from os.path import join, dirname
import sys
if sys.version_info.major < 3:
print("Sorry, currently only Python 3 is supported!")
sys.exit(1)
setup(
name = 'CollectionBatchTool',
version=__import__('collectionbatchtool').__version__,
description = 'batch import and export of Specify data',
long_description = open(join(dirname(__file__), 'README.rst')).read(),
packages = find_packages(),
py_modules = ['collectionbatchtool', 'specifymodels'],
install_requires = ['pandas>=0.16', 'peewee>=2.6', 'pymysql'],
author = 'Markus Englund',
author_email = '[email protected]',
url = 'https://github.com/jmenglund/CollectionBatchTool',
license = 'MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
keywords = ['Specify', 'Collection management']
)
Add utf-8 support for long descriptionfrom setuptools import setup, find_packages
from os.path import join, dirname
import sys
if sys.version_info.major < 3:
print("Sorry, currently only Python 3 is supported!")
sys.exit(1)
setup(
name = 'CollectionBatchTool',
version=__import__('collectionbatchtool').__version__,
description = 'batch import and export of Specify data',
long_description = open(
join(dirname(__file__), 'README.rst'), encoding='utf-8').read(),
packages = find_packages(),
py_modules = ['collectionbatchtool', 'specifymodels'],
install_requires = ['pandas>=0.16', 'peewee>=2.6', 'pymysql'],
author = 'Markus Englund',
author_email = '[email protected]',
url = 'https://github.com/jmenglund/CollectionBatchTool',
license = 'MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
keywords = ['Specify', 'Collection management']
)
| <commit_before>from setuptools import setup, find_packages
from os.path import join, dirname
import sys
if sys.version_info.major < 3:
print("Sorry, currently only Python 3 is supported!")
sys.exit(1)
setup(
name = 'CollectionBatchTool',
version=__import__('collectionbatchtool').__version__,
description = 'batch import and export of Specify data',
long_description = open(join(dirname(__file__), 'README.rst')).read(),
packages = find_packages(),
py_modules = ['collectionbatchtool', 'specifymodels'],
install_requires = ['pandas>=0.16', 'peewee>=2.6', 'pymysql'],
author = 'Markus Englund',
author_email = '[email protected]',
url = 'https://github.com/jmenglund/CollectionBatchTool',
license = 'MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
keywords = ['Specify', 'Collection management']
)
<commit_msg>Add utf-8 support for long description<commit_after>from setuptools import setup, find_packages
from os.path import join, dirname
import sys
if sys.version_info.major < 3:
print("Sorry, currently only Python 3 is supported!")
sys.exit(1)
setup(
name = 'CollectionBatchTool',
version=__import__('collectionbatchtool').__version__,
description = 'batch import and export of Specify data',
long_description = open(
join(dirname(__file__), 'README.rst'), encoding='utf-8').read(),
packages = find_packages(),
py_modules = ['collectionbatchtool', 'specifymodels'],
install_requires = ['pandas>=0.16', 'peewee>=2.6', 'pymysql'],
author = 'Markus Englund',
author_email = '[email protected]',
url = 'https://github.com/jmenglund/CollectionBatchTool',
license = 'MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
keywords = ['Specify', 'Collection management']
)
|
a0e73b06e22be39d06c276a89e04f56452802fba | setup.py | setup.py | from setuptools import setup
setup(
name='scout',
version=__import__('scout').__version__,
description='scout',
author='Charles Leifer',
author_email='[email protected]',
url='http://github.com/coleifer/scout/',
py_modules=['scout'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
test_suite='tests',
)
| from setuptools import setup
setup(
name='scout',
version=__import__('scout').__version__,
description='scout',
author='Charles Leifer',
author_email='[email protected]',
url='http://github.com/coleifer/scout/',
py_modules=['scout'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
scripts=['scout.py'],
test_suite='tests',
)
| Add `scout.py` as a script. | Add `scout.py` as a script.
| Python | mit | coleifer/scout | from setuptools import setup
setup(
name='scout',
version=__import__('scout').__version__,
description='scout',
author='Charles Leifer',
author_email='[email protected]',
url='http://github.com/coleifer/scout/',
py_modules=['scout'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
test_suite='tests',
)
Add `scout.py` as a script. | from setuptools import setup
setup(
name='scout',
version=__import__('scout').__version__,
description='scout',
author='Charles Leifer',
author_email='[email protected]',
url='http://github.com/coleifer/scout/',
py_modules=['scout'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
scripts=['scout.py'],
test_suite='tests',
)
| <commit_before>from setuptools import setup
setup(
name='scout',
version=__import__('scout').__version__,
description='scout',
author='Charles Leifer',
author_email='[email protected]',
url='http://github.com/coleifer/scout/',
py_modules=['scout'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
test_suite='tests',
)
<commit_msg>Add `scout.py` as a script.<commit_after> | from setuptools import setup
setup(
name='scout',
version=__import__('scout').__version__,
description='scout',
author='Charles Leifer',
author_email='[email protected]',
url='http://github.com/coleifer/scout/',
py_modules=['scout'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
scripts=['scout.py'],
test_suite='tests',
)
| from setuptools import setup
setup(
name='scout',
version=__import__('scout').__version__,
description='scout',
author='Charles Leifer',
author_email='[email protected]',
url='http://github.com/coleifer/scout/',
py_modules=['scout'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
test_suite='tests',
)
Add `scout.py` as a script.from setuptools import setup
setup(
name='scout',
version=__import__('scout').__version__,
description='scout',
author='Charles Leifer',
author_email='[email protected]',
url='http://github.com/coleifer/scout/',
py_modules=['scout'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
scripts=['scout.py'],
test_suite='tests',
)
| <commit_before>from setuptools import setup
setup(
name='scout',
version=__import__('scout').__version__,
description='scout',
author='Charles Leifer',
author_email='[email protected]',
url='http://github.com/coleifer/scout/',
py_modules=['scout'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
test_suite='tests',
)
<commit_msg>Add `scout.py` as a script.<commit_after>from setuptools import setup
setup(
name='scout',
version=__import__('scout').__version__,
description='scout',
author='Charles Leifer',
author_email='[email protected]',
url='http://github.com/coleifer/scout/',
py_modules=['scout'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
scripts=['scout.py'],
test_suite='tests',
)
|
6dc4cb5ec0f0e2373d364e93b7d342beaad6dc4b | setup.py | setup.py | # !/usr/bin/env python
from setuptools import setup, find_packages
setup(name='symbtrsynthesis',
version='1.0.1-dev',
description='An (adaptive) synthesizer for SymbTr-MusicXML scores',
author='Hasan Sercan Atli',
url='https://github.com/hsercanatli/symbtrsynthesis',
packages=find_packages(),
include_package_data=True, install_requires=['numpy']
)
| # !/usr/bin/env python
from setuptools import setup, find_packages
setup(name='symbtrsynthesis',
version='1.0.1-dev',
description='An (adaptive) synthesizer for SymbTr-MusicXML scores',
author='Hasan Sercan Atli',
url='https://github.com/hsercanatli/symbtrsynthesis',
packages=find_packages(),
package_data={'symbtrsynthesis': ['data/*.json']},
include_package_data=True, install_requires=['numpy']
)
| Include data files in built package | Include data files in built package
| Python | agpl-3.0 | hsercanatli/adaptivetuning | # !/usr/bin/env python
from setuptools import setup, find_packages
setup(name='symbtrsynthesis',
version='1.0.1-dev',
description='An (adaptive) synthesizer for SymbTr-MusicXML scores',
author='Hasan Sercan Atli',
url='https://github.com/hsercanatli/symbtrsynthesis',
packages=find_packages(),
include_package_data=True, install_requires=['numpy']
)
Include data files in built package | # !/usr/bin/env python
from setuptools import setup, find_packages
setup(name='symbtrsynthesis',
version='1.0.1-dev',
description='An (adaptive) synthesizer for SymbTr-MusicXML scores',
author='Hasan Sercan Atli',
url='https://github.com/hsercanatli/symbtrsynthesis',
packages=find_packages(),
package_data={'symbtrsynthesis': ['data/*.json']},
include_package_data=True, install_requires=['numpy']
)
| <commit_before># !/usr/bin/env python
from setuptools import setup, find_packages
setup(name='symbtrsynthesis',
version='1.0.1-dev',
description='An (adaptive) synthesizer for SymbTr-MusicXML scores',
author='Hasan Sercan Atli',
url='https://github.com/hsercanatli/symbtrsynthesis',
packages=find_packages(),
include_package_data=True, install_requires=['numpy']
)
<commit_msg>Include data files in built package<commit_after> | # !/usr/bin/env python
from setuptools import setup, find_packages
setup(name='symbtrsynthesis',
version='1.0.1-dev',
description='An (adaptive) synthesizer for SymbTr-MusicXML scores',
author='Hasan Sercan Atli',
url='https://github.com/hsercanatli/symbtrsynthesis',
packages=find_packages(),
package_data={'symbtrsynthesis': ['data/*.json']},
include_package_data=True, install_requires=['numpy']
)
| # !/usr/bin/env python
from setuptools import setup, find_packages
setup(name='symbtrsynthesis',
version='1.0.1-dev',
description='An (adaptive) synthesizer for SymbTr-MusicXML scores',
author='Hasan Sercan Atli',
url='https://github.com/hsercanatli/symbtrsynthesis',
packages=find_packages(),
include_package_data=True, install_requires=['numpy']
)
Include data files in built package# !/usr/bin/env python
from setuptools import setup, find_packages
setup(name='symbtrsynthesis',
version='1.0.1-dev',
description='An (adaptive) synthesizer for SymbTr-MusicXML scores',
author='Hasan Sercan Atli',
url='https://github.com/hsercanatli/symbtrsynthesis',
packages=find_packages(),
package_data={'symbtrsynthesis': ['data/*.json']},
include_package_data=True, install_requires=['numpy']
)
| <commit_before># !/usr/bin/env python
from setuptools import setup, find_packages
setup(name='symbtrsynthesis',
version='1.0.1-dev',
description='An (adaptive) synthesizer for SymbTr-MusicXML scores',
author='Hasan Sercan Atli',
url='https://github.com/hsercanatli/symbtrsynthesis',
packages=find_packages(),
include_package_data=True, install_requires=['numpy']
)
<commit_msg>Include data files in built package<commit_after># !/usr/bin/env python
from setuptools import setup, find_packages
setup(name='symbtrsynthesis',
version='1.0.1-dev',
description='An (adaptive) synthesizer for SymbTr-MusicXML scores',
author='Hasan Sercan Atli',
url='https://github.com/hsercanatli/symbtrsynthesis',
packages=find_packages(),
package_data={'symbtrsynthesis': ['data/*.json']},
include_package_data=True, install_requires=['numpy']
)
|
340cdd0ea77c5edb9ae6f38cf380eec1772cee66 | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'TRX',
'author': 'Kyle Maxwell, based on Paterva\'s library',
'url': 'https://github.com/krmaxwell/TRX',
'download_url': 'https://github.com/krmaxwell/TRX',
'author_email': '[email protected]',
'version': '0.1',
'install_requires': ['nose'],
'packages': ['TRX'],
'scripts': [],
'name': 'TRX'
}
setup(**config)
| try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'TRX',
'author': 'Kyle Maxwell, based on Paterva\'s library',
'url': 'https://github.com/krmaxwell/TRX',
'download_url': 'https://github.com/krmaxwell/TRX',
'author_email': '[email protected]',
'version': '0.2',
'install_requires': ['nose'],
'packages': ['TRX'],
'scripts': [],
'name': 'TRX'
}
setup(**config)
| Increment minor version and set up for git flow | Increment minor version and set up for git flow
| Python | apache-2.0 | krmaxwell/TRX | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'TRX',
'author': 'Kyle Maxwell, based on Paterva\'s library',
'url': 'https://github.com/krmaxwell/TRX',
'download_url': 'https://github.com/krmaxwell/TRX',
'author_email': '[email protected]',
'version': '0.1',
'install_requires': ['nose'],
'packages': ['TRX'],
'scripts': [],
'name': 'TRX'
}
setup(**config)
Increment minor version and set up for git flow | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'TRX',
'author': 'Kyle Maxwell, based on Paterva\'s library',
'url': 'https://github.com/krmaxwell/TRX',
'download_url': 'https://github.com/krmaxwell/TRX',
'author_email': '[email protected]',
'version': '0.2',
'install_requires': ['nose'],
'packages': ['TRX'],
'scripts': [],
'name': 'TRX'
}
setup(**config)
| <commit_before>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'TRX',
'author': 'Kyle Maxwell, based on Paterva\'s library',
'url': 'https://github.com/krmaxwell/TRX',
'download_url': 'https://github.com/krmaxwell/TRX',
'author_email': '[email protected]',
'version': '0.1',
'install_requires': ['nose'],
'packages': ['TRX'],
'scripts': [],
'name': 'TRX'
}
setup(**config)
<commit_msg>Increment minor version and set up for git flow<commit_after> | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'TRX',
'author': 'Kyle Maxwell, based on Paterva\'s library',
'url': 'https://github.com/krmaxwell/TRX',
'download_url': 'https://github.com/krmaxwell/TRX',
'author_email': '[email protected]',
'version': '0.2',
'install_requires': ['nose'],
'packages': ['TRX'],
'scripts': [],
'name': 'TRX'
}
setup(**config)
| try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'TRX',
'author': 'Kyle Maxwell, based on Paterva\'s library',
'url': 'https://github.com/krmaxwell/TRX',
'download_url': 'https://github.com/krmaxwell/TRX',
'author_email': '[email protected]',
'version': '0.1',
'install_requires': ['nose'],
'packages': ['TRX'],
'scripts': [],
'name': 'TRX'
}
setup(**config)
Increment minor version and set up for git flowtry:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'TRX',
'author': 'Kyle Maxwell, based on Paterva\'s library',
'url': 'https://github.com/krmaxwell/TRX',
'download_url': 'https://github.com/krmaxwell/TRX',
'author_email': '[email protected]',
'version': '0.2',
'install_requires': ['nose'],
'packages': ['TRX'],
'scripts': [],
'name': 'TRX'
}
setup(**config)
| <commit_before>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'TRX',
'author': 'Kyle Maxwell, based on Paterva\'s library',
'url': 'https://github.com/krmaxwell/TRX',
'download_url': 'https://github.com/krmaxwell/TRX',
'author_email': '[email protected]',
'version': '0.1',
'install_requires': ['nose'],
'packages': ['TRX'],
'scripts': [],
'name': 'TRX'
}
setup(**config)
<commit_msg>Increment minor version and set up for git flow<commit_after>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'TRX',
'author': 'Kyle Maxwell, based on Paterva\'s library',
'url': 'https://github.com/krmaxwell/TRX',
'download_url': 'https://github.com/krmaxwell/TRX',
'author_email': '[email protected]',
'version': '0.2',
'install_requires': ['nose'],
'packages': ['TRX'],
'scripts': [],
'name': 'TRX'
}
setup(**config)
|
08ccc7d676a0cb0c69d1cbd5096ff5c77e19c4ab | setup.py | setup.py | from os import path
from setuptools import setup
from hip_pocket.constants import VERSION
def load(file_name):
here = path.dirname(path.abspath(__file__))
return open(path.join(here, file_name), "r").read()
setup(
name="HipPocket",
description="A wrapper around Flask to ease the development of larger applications",
long_description=load("README.rst"),
version=VERSION,
packages=["hip_pocket"],
url="https://github.com/svieira/HipPocket",
author="Sean Vieira",
author_email="[email protected]",
install_requires=[
"Flask>=.7",
"Jinja2>=2.4",
"Werkzeug>=.7"
],
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules"
],
zip_safe=False
)
| from os import path
from setuptools import setup
from hip_pocket.constants import VERSION
def load(file_name):
here = path.dirname(path.abspath(__file__))
return open(path.join(here, file_name), "r").read()
setup(
name="HipPocket",
description="A wrapper around Flask to ease the development of larger applications",
long_description=load("README.rst"),
version=VERSION,
packages=["hip_pocket", "hip_pocket.tests"],
url="https://github.com/svieira/HipPocket",
author="Sean Vieira",
author_email="[email protected]",
install_requires=[
"Flask>=.7",
"Jinja2>=2.4",
"Werkzeug>=.7"
],
platforms="any",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules"
],
zip_safe=False
)
| Add tests package and specify platforms | Add tests package and specify platforms
| Python | mit | svieira/Flask-HipPocket,svieira/Flask-HipPocket | from os import path
from setuptools import setup
from hip_pocket.constants import VERSION
def load(file_name):
here = path.dirname(path.abspath(__file__))
return open(path.join(here, file_name), "r").read()
setup(
name="HipPocket",
description="A wrapper around Flask to ease the development of larger applications",
long_description=load("README.rst"),
version=VERSION,
packages=["hip_pocket"],
url="https://github.com/svieira/HipPocket",
author="Sean Vieira",
author_email="[email protected]",
install_requires=[
"Flask>=.7",
"Jinja2>=2.4",
"Werkzeug>=.7"
],
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules"
],
zip_safe=False
)
Add tests package and specify platforms | from os import path
from setuptools import setup
from hip_pocket.constants import VERSION
def load(file_name):
here = path.dirname(path.abspath(__file__))
return open(path.join(here, file_name), "r").read()
setup(
name="HipPocket",
description="A wrapper around Flask to ease the development of larger applications",
long_description=load("README.rst"),
version=VERSION,
packages=["hip_pocket", "hip_pocket.tests"],
url="https://github.com/svieira/HipPocket",
author="Sean Vieira",
author_email="[email protected]",
install_requires=[
"Flask>=.7",
"Jinja2>=2.4",
"Werkzeug>=.7"
],
platforms="any",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules"
],
zip_safe=False
)
| <commit_before>from os import path
from setuptools import setup
from hip_pocket.constants import VERSION
def load(file_name):
here = path.dirname(path.abspath(__file__))
return open(path.join(here, file_name), "r").read()
setup(
name="HipPocket",
description="A wrapper around Flask to ease the development of larger applications",
long_description=load("README.rst"),
version=VERSION,
packages=["hip_pocket"],
url="https://github.com/svieira/HipPocket",
author="Sean Vieira",
author_email="[email protected]",
install_requires=[
"Flask>=.7",
"Jinja2>=2.4",
"Werkzeug>=.7"
],
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules"
],
zip_safe=False
)
<commit_msg>Add tests package and specify platforms<commit_after> | from os import path
from setuptools import setup
from hip_pocket.constants import VERSION
def load(file_name):
here = path.dirname(path.abspath(__file__))
return open(path.join(here, file_name), "r").read()
setup(
name="HipPocket",
description="A wrapper around Flask to ease the development of larger applications",
long_description=load("README.rst"),
version=VERSION,
packages=["hip_pocket", "hip_pocket.tests"],
url="https://github.com/svieira/HipPocket",
author="Sean Vieira",
author_email="[email protected]",
install_requires=[
"Flask>=.7",
"Jinja2>=2.4",
"Werkzeug>=.7"
],
platforms="any",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules"
],
zip_safe=False
)
| from os import path
from setuptools import setup
from hip_pocket.constants import VERSION
def load(file_name):
here = path.dirname(path.abspath(__file__))
return open(path.join(here, file_name), "r").read()
setup(
name="HipPocket",
description="A wrapper around Flask to ease the development of larger applications",
long_description=load("README.rst"),
version=VERSION,
packages=["hip_pocket"],
url="https://github.com/svieira/HipPocket",
author="Sean Vieira",
author_email="[email protected]",
install_requires=[
"Flask>=.7",
"Jinja2>=2.4",
"Werkzeug>=.7"
],
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules"
],
zip_safe=False
)
Add tests package and specify platformsfrom os import path
from setuptools import setup
from hip_pocket.constants import VERSION
def load(file_name):
here = path.dirname(path.abspath(__file__))
return open(path.join(here, file_name), "r").read()
setup(
name="HipPocket",
description="A wrapper around Flask to ease the development of larger applications",
long_description=load("README.rst"),
version=VERSION,
packages=["hip_pocket", "hip_pocket.tests"],
url="https://github.com/svieira/HipPocket",
author="Sean Vieira",
author_email="[email protected]",
install_requires=[
"Flask>=.7",
"Jinja2>=2.4",
"Werkzeug>=.7"
],
platforms="any",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules"
],
zip_safe=False
)
| <commit_before>from os import path
from setuptools import setup
from hip_pocket.constants import VERSION
def load(file_name):
here = path.dirname(path.abspath(__file__))
return open(path.join(here, file_name), "r").read()
setup(
name="HipPocket",
description="A wrapper around Flask to ease the development of larger applications",
long_description=load("README.rst"),
version=VERSION,
packages=["hip_pocket"],
url="https://github.com/svieira/HipPocket",
author="Sean Vieira",
author_email="[email protected]",
install_requires=[
"Flask>=.7",
"Jinja2>=2.4",
"Werkzeug>=.7"
],
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules"
],
zip_safe=False
)
<commit_msg>Add tests package and specify platforms<commit_after>from os import path
from setuptools import setup
from hip_pocket.constants import VERSION
def load(file_name):
here = path.dirname(path.abspath(__file__))
return open(path.join(here, file_name), "r").read()
setup(
name="HipPocket",
description="A wrapper around Flask to ease the development of larger applications",
long_description=load("README.rst"),
version=VERSION,
packages=["hip_pocket", "hip_pocket.tests"],
url="https://github.com/svieira/HipPocket",
author="Sean Vieira",
author_email="[email protected]",
install_requires=[
"Flask>=.7",
"Jinja2>=2.4",
"Werkzeug>=.7"
],
platforms="any",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules"
],
zip_safe=False
)
|
78497a5ef492f18511c4a09b5ca62facafe9c302 | setup.py | setup.py | """Installation script."""
from os import path
from setuptools import find_packages, setup
HERE = path.abspath(path.dirname(__file__))
with open(path.join(HERE, 'README.rst')) as f:
LONG_DESCRIPTION = f.read().strip()
setup(
name='fuel',
version='0.1a1', # PEP 440 compliant
description='Data pipeline framework for machine learning',
long_description=LONG_DESCRIPTION,
url='https://github.com/bartvm/fuel.git',
author='Universite de Montreal',
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Utilities',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
keywords='dataset data iteration pipeline processing',
packages=find_packages(exclude=['tests']),
install_requires=['six', 'picklable_itertools', 'toolz', 'pyyaml', 'h5py',
'tables'],
scripts=['bin/fuel-convert']
)
| """Installation script."""
from os import path
from setuptools import find_packages, setup
HERE = path.abspath(path.dirname(__file__))
with open(path.join(HERE, 'README.rst')) as f:
LONG_DESCRIPTION = f.read().strip()
setup(
name='fuel',
version='0.1a1', # PEP 440 compliant
description='Data pipeline framework for machine learning',
long_description=LONG_DESCRIPTION,
url='https://github.com/bartvm/fuel.git',
author='Universite de Montreal',
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Utilities',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
keywords='dataset data iteration pipeline processing',
packages=find_packages(exclude=['tests']),
install_requires=['six', 'picklable_itertools', 'toolz', 'pyyaml', 'h5py',
'tables'],
scripts=['bin/fuel-convert', 'bin/fuel-download']
)
| Add fuel-download to installed scripts | Add fuel-download to installed scripts
| Python | mit | capybaralet/fuel,glewis17/fuel,EderSantana/fuel,bouthilx/fuel,laurent-dinh/fuel,orhanf/fuel,mila-udem/fuel,rizar/fuel,codeaudit/fuel,udibr/fuel,glewis17/fuel,orhanf/fuel,ejls/fuel,capybaralet/fuel,dmitriy-serdyuk/fuel,markusnagel/fuel,ejls/fuel,dwf/fuel,janchorowski/fuel,laurent-dinh/fuel,dribnet/fuel,janchorowski/fuel,dhruvparamhans/fuel,mjwillson/fuel,bouthilx/fuel,dribnet/fuel,aalmah/fuel,harmdevries89/fuel,dwf/fuel,jbornschein/fuel,EderSantana/fuel,hantek/fuel,dhruvparamhans/fuel,harmdevries89/fuel,vdumoulin/fuel,dmitriy-serdyuk/fuel,udibr/fuel,lamblin/fuel,chrishokamp/fuel,jbornschein/fuel,lamblin/fuel,rodrigob/fuel,chrishokamp/fuel,rodrigob/fuel,hantek/fuel,mila-udem/fuel,rizar/fuel,markusnagel/fuel,mjwillson/fuel,codeaudit/fuel,vdumoulin/fuel,aalmah/fuel | """Installation script."""
from os import path
from setuptools import find_packages, setup
HERE = path.abspath(path.dirname(__file__))
with open(path.join(HERE, 'README.rst')) as f:
LONG_DESCRIPTION = f.read().strip()
setup(
name='fuel',
version='0.1a1', # PEP 440 compliant
description='Data pipeline framework for machine learning',
long_description=LONG_DESCRIPTION,
url='https://github.com/bartvm/fuel.git',
author='Universite de Montreal',
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Utilities',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
keywords='dataset data iteration pipeline processing',
packages=find_packages(exclude=['tests']),
install_requires=['six', 'picklable_itertools', 'toolz', 'pyyaml', 'h5py',
'tables'],
scripts=['bin/fuel-convert']
)
Add fuel-download to installed scripts | """Installation script."""
from os import path
from setuptools import find_packages, setup
HERE = path.abspath(path.dirname(__file__))
with open(path.join(HERE, 'README.rst')) as f:
LONG_DESCRIPTION = f.read().strip()
setup(
name='fuel',
version='0.1a1', # PEP 440 compliant
description='Data pipeline framework for machine learning',
long_description=LONG_DESCRIPTION,
url='https://github.com/bartvm/fuel.git',
author='Universite de Montreal',
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Utilities',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
keywords='dataset data iteration pipeline processing',
packages=find_packages(exclude=['tests']),
install_requires=['six', 'picklable_itertools', 'toolz', 'pyyaml', 'h5py',
'tables'],
scripts=['bin/fuel-convert', 'bin/fuel-download']
)
| <commit_before>"""Installation script."""
from os import path
from setuptools import find_packages, setup
HERE = path.abspath(path.dirname(__file__))
with open(path.join(HERE, 'README.rst')) as f:
LONG_DESCRIPTION = f.read().strip()
setup(
name='fuel',
version='0.1a1', # PEP 440 compliant
description='Data pipeline framework for machine learning',
long_description=LONG_DESCRIPTION,
url='https://github.com/bartvm/fuel.git',
author='Universite de Montreal',
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Utilities',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
keywords='dataset data iteration pipeline processing',
packages=find_packages(exclude=['tests']),
install_requires=['six', 'picklable_itertools', 'toolz', 'pyyaml', 'h5py',
'tables'],
scripts=['bin/fuel-convert']
)
<commit_msg>Add fuel-download to installed scripts<commit_after> | """Installation script."""
from os import path
from setuptools import find_packages, setup
HERE = path.abspath(path.dirname(__file__))
with open(path.join(HERE, 'README.rst')) as f:
LONG_DESCRIPTION = f.read().strip()
setup(
name='fuel',
version='0.1a1', # PEP 440 compliant
description='Data pipeline framework for machine learning',
long_description=LONG_DESCRIPTION,
url='https://github.com/bartvm/fuel.git',
author='Universite de Montreal',
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Utilities',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
keywords='dataset data iteration pipeline processing',
packages=find_packages(exclude=['tests']),
install_requires=['six', 'picklable_itertools', 'toolz', 'pyyaml', 'h5py',
'tables'],
scripts=['bin/fuel-convert', 'bin/fuel-download']
)
| """Installation script."""
from os import path
from setuptools import find_packages, setup
HERE = path.abspath(path.dirname(__file__))
with open(path.join(HERE, 'README.rst')) as f:
LONG_DESCRIPTION = f.read().strip()
setup(
name='fuel',
version='0.1a1', # PEP 440 compliant
description='Data pipeline framework for machine learning',
long_description=LONG_DESCRIPTION,
url='https://github.com/bartvm/fuel.git',
author='Universite de Montreal',
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Utilities',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
keywords='dataset data iteration pipeline processing',
packages=find_packages(exclude=['tests']),
install_requires=['six', 'picklable_itertools', 'toolz', 'pyyaml', 'h5py',
'tables'],
scripts=['bin/fuel-convert']
)
Add fuel-download to installed scripts"""Installation script."""
from os import path
from setuptools import find_packages, setup
HERE = path.abspath(path.dirname(__file__))
with open(path.join(HERE, 'README.rst')) as f:
LONG_DESCRIPTION = f.read().strip()
setup(
name='fuel',
version='0.1a1', # PEP 440 compliant
description='Data pipeline framework for machine learning',
long_description=LONG_DESCRIPTION,
url='https://github.com/bartvm/fuel.git',
author='Universite de Montreal',
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Utilities',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
keywords='dataset data iteration pipeline processing',
packages=find_packages(exclude=['tests']),
install_requires=['six', 'picklable_itertools', 'toolz', 'pyyaml', 'h5py',
'tables'],
scripts=['bin/fuel-convert', 'bin/fuel-download']
)
| <commit_before>"""Installation script."""
from os import path
from setuptools import find_packages, setup
HERE = path.abspath(path.dirname(__file__))
with open(path.join(HERE, 'README.rst')) as f:
LONG_DESCRIPTION = f.read().strip()
setup(
name='fuel',
version='0.1a1', # PEP 440 compliant
description='Data pipeline framework for machine learning',
long_description=LONG_DESCRIPTION,
url='https://github.com/bartvm/fuel.git',
author='Universite de Montreal',
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Utilities',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
keywords='dataset data iteration pipeline processing',
packages=find_packages(exclude=['tests']),
install_requires=['six', 'picklable_itertools', 'toolz', 'pyyaml', 'h5py',
'tables'],
scripts=['bin/fuel-convert']
)
<commit_msg>Add fuel-download to installed scripts<commit_after>"""Installation script."""
from os import path
from setuptools import find_packages, setup
HERE = path.abspath(path.dirname(__file__))
with open(path.join(HERE, 'README.rst')) as f:
LONG_DESCRIPTION = f.read().strip()
setup(
name='fuel',
version='0.1a1', # PEP 440 compliant
description='Data pipeline framework for machine learning',
long_description=LONG_DESCRIPTION,
url='https://github.com/bartvm/fuel.git',
author='Universite de Montreal',
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Utilities',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
keywords='dataset data iteration pipeline processing',
packages=find_packages(exclude=['tests']),
install_requires=['six', 'picklable_itertools', 'toolz', 'pyyaml', 'h5py',
'tables'],
scripts=['bin/fuel-convert', 'bin/fuel-download']
)
|
4bb6876b089375e228320162b7955bcdfa824f41 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='akanda-rug',
version='0.1.5',
description='Akanda Router Update Generator manages tenant routers',
author='DreamHost',
author_email='[email protected]',
url='http://github.com/dreamhost/akanda-rug',
license='BSD',
install_requires=[
'netaddr>=0.7.5',
'httplib2>=0.7.2',
'python-quantumclient>=2.1',
'oslo.config',
'kombu==1.0.4'
],
namespace_packages=['akanda'],
packages=find_packages(exclude=['test']),
include_package_data=True,
zip_safe=False,
entry_points={
'console_scripts': [
'akanda-rug-service=akanda.rug.service:main',
'akanda-rug-new=akanda.rug.main:main',
]
},
)
| from setuptools import setup, find_packages
setup(
name='akanda-rug',
version='0.1.5',
description='Akanda Router Update Generator manages tenant routers',
author='DreamHost',
author_email='[email protected]',
url='http://github.com/dreamhost/akanda-rug',
license='BSD',
install_requires=[
'netaddr>=0.7.5',
'httplib2>=0.7.2',
'python-quantumclient>=2.1',
'oslo.config',
'kombu==1.0.4'
],
namespace_packages=['akanda'],
packages=find_packages(exclude=['test']),
include_package_data=True,
zip_safe=False,
entry_points={
'console_scripts': [
'akanda-rug-service=akanda.rug.main:main',
]
},
)
| Update the startup command to use the new version of the rug | Update the startup command to use the new version of the rug
Change-Id: Ie014dcfb0974b048025aeff96b16a868f672b84a
Signed-off-by: Rosario Di Somma <[email protected]>
| Python | apache-2.0 | openstack/akanda-rug,markmcclain/astara,dreamhost/akanda-rug,openstack/akanda-rug,stackforge/akanda-rug,stackforge/akanda-rug | from setuptools import setup, find_packages
setup(
name='akanda-rug',
version='0.1.5',
description='Akanda Router Update Generator manages tenant routers',
author='DreamHost',
author_email='[email protected]',
url='http://github.com/dreamhost/akanda-rug',
license='BSD',
install_requires=[
'netaddr>=0.7.5',
'httplib2>=0.7.2',
'python-quantumclient>=2.1',
'oslo.config',
'kombu==1.0.4'
],
namespace_packages=['akanda'],
packages=find_packages(exclude=['test']),
include_package_data=True,
zip_safe=False,
entry_points={
'console_scripts': [
'akanda-rug-service=akanda.rug.service:main',
'akanda-rug-new=akanda.rug.main:main',
]
},
)
Update the startup command to use the new version of the rug
Change-Id: Ie014dcfb0974b048025aeff96b16a868f672b84a
Signed-off-by: Rosario Di Somma <[email protected]> | from setuptools import setup, find_packages
setup(
name='akanda-rug',
version='0.1.5',
description='Akanda Router Update Generator manages tenant routers',
author='DreamHost',
author_email='[email protected]',
url='http://github.com/dreamhost/akanda-rug',
license='BSD',
install_requires=[
'netaddr>=0.7.5',
'httplib2>=0.7.2',
'python-quantumclient>=2.1',
'oslo.config',
'kombu==1.0.4'
],
namespace_packages=['akanda'],
packages=find_packages(exclude=['test']),
include_package_data=True,
zip_safe=False,
entry_points={
'console_scripts': [
'akanda-rug-service=akanda.rug.main:main',
]
},
)
| <commit_before>from setuptools import setup, find_packages
setup(
name='akanda-rug',
version='0.1.5',
description='Akanda Router Update Generator manages tenant routers',
author='DreamHost',
author_email='[email protected]',
url='http://github.com/dreamhost/akanda-rug',
license='BSD',
install_requires=[
'netaddr>=0.7.5',
'httplib2>=0.7.2',
'python-quantumclient>=2.1',
'oslo.config',
'kombu==1.0.4'
],
namespace_packages=['akanda'],
packages=find_packages(exclude=['test']),
include_package_data=True,
zip_safe=False,
entry_points={
'console_scripts': [
'akanda-rug-service=akanda.rug.service:main',
'akanda-rug-new=akanda.rug.main:main',
]
},
)
<commit_msg>Update the startup command to use the new version of the rug
Change-Id: Ie014dcfb0974b048025aeff96b16a868f672b84a
Signed-off-by: Rosario Di Somma <[email protected]><commit_after> | from setuptools import setup, find_packages
setup(
name='akanda-rug',
version='0.1.5',
description='Akanda Router Update Generator manages tenant routers',
author='DreamHost',
author_email='[email protected]',
url='http://github.com/dreamhost/akanda-rug',
license='BSD',
install_requires=[
'netaddr>=0.7.5',
'httplib2>=0.7.2',
'python-quantumclient>=2.1',
'oslo.config',
'kombu==1.0.4'
],
namespace_packages=['akanda'],
packages=find_packages(exclude=['test']),
include_package_data=True,
zip_safe=False,
entry_points={
'console_scripts': [
'akanda-rug-service=akanda.rug.main:main',
]
},
)
| from setuptools import setup, find_packages
setup(
name='akanda-rug',
version='0.1.5',
description='Akanda Router Update Generator manages tenant routers',
author='DreamHost',
author_email='[email protected]',
url='http://github.com/dreamhost/akanda-rug',
license='BSD',
install_requires=[
'netaddr>=0.7.5',
'httplib2>=0.7.2',
'python-quantumclient>=2.1',
'oslo.config',
'kombu==1.0.4'
],
namespace_packages=['akanda'],
packages=find_packages(exclude=['test']),
include_package_data=True,
zip_safe=False,
entry_points={
'console_scripts': [
'akanda-rug-service=akanda.rug.service:main',
'akanda-rug-new=akanda.rug.main:main',
]
},
)
Update the startup command to use the new version of the rug
Change-Id: Ie014dcfb0974b048025aeff96b16a868f672b84a
Signed-off-by: Rosario Di Somma <[email protected]>from setuptools import setup, find_packages
setup(
name='akanda-rug',
version='0.1.5',
description='Akanda Router Update Generator manages tenant routers',
author='DreamHost',
author_email='[email protected]',
url='http://github.com/dreamhost/akanda-rug',
license='BSD',
install_requires=[
'netaddr>=0.7.5',
'httplib2>=0.7.2',
'python-quantumclient>=2.1',
'oslo.config',
'kombu==1.0.4'
],
namespace_packages=['akanda'],
packages=find_packages(exclude=['test']),
include_package_data=True,
zip_safe=False,
entry_points={
'console_scripts': [
'akanda-rug-service=akanda.rug.main:main',
]
},
)
| <commit_before>from setuptools import setup, find_packages
setup(
name='akanda-rug',
version='0.1.5',
description='Akanda Router Update Generator manages tenant routers',
author='DreamHost',
author_email='[email protected]',
url='http://github.com/dreamhost/akanda-rug',
license='BSD',
install_requires=[
'netaddr>=0.7.5',
'httplib2>=0.7.2',
'python-quantumclient>=2.1',
'oslo.config',
'kombu==1.0.4'
],
namespace_packages=['akanda'],
packages=find_packages(exclude=['test']),
include_package_data=True,
zip_safe=False,
entry_points={
'console_scripts': [
'akanda-rug-service=akanda.rug.service:main',
'akanda-rug-new=akanda.rug.main:main',
]
},
)
<commit_msg>Update the startup command to use the new version of the rug
Change-Id: Ie014dcfb0974b048025aeff96b16a868f672b84a
Signed-off-by: Rosario Di Somma <[email protected]><commit_after>from setuptools import setup, find_packages
setup(
name='akanda-rug',
version='0.1.5',
description='Akanda Router Update Generator manages tenant routers',
author='DreamHost',
author_email='[email protected]',
url='http://github.com/dreamhost/akanda-rug',
license='BSD',
install_requires=[
'netaddr>=0.7.5',
'httplib2>=0.7.2',
'python-quantumclient>=2.1',
'oslo.config',
'kombu==1.0.4'
],
namespace_packages=['akanda'],
packages=find_packages(exclude=['test']),
include_package_data=True,
zip_safe=False,
entry_points={
'console_scripts': [
'akanda-rug-service=akanda.rug.main:main',
]
},
)
|
49ac4dc3e7506f35d2f3ad695afaf9c89f08720b | setup.py | setup.py |
import os
from setuptools import setup
base_dir = os.path.dirname(__file__)
with open(os.path.join(base_dir, "README.rst")) as f:
long_description = f.read()
setup(
name="TxSNI",
description="easy-to-use SNI endpoint for twisted",
packages=[
"txsni",
"twisted.plugins",
],
install_requires=[
"Twisted[tls]>=14.0",
"pyOpenSSL>=0.14",
],
version="0.1.6",
long_description=long_description,
license="MIT",
url="https://github.com/glyph/txsni",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Security :: Cryptography",
],
)
|
import os
from setuptools import setup
base_dir = os.path.dirname(__file__)
with open(os.path.join(base_dir, "README.rst")) as f:
long_description = f.read()
setup(
name="TxSNI",
description="easy-to-use SNI endpoint for twisted",
packages=[
"txsni",
"txsni.test",
"txsni.test.certs",
"twisted.plugins",
],
install_requires=[
"Twisted[tls]>=14.0",
"pyOpenSSL>=0.14",
],
version="0.1.6",
long_description=long_description,
license="MIT",
url="https://github.com/glyph/txsni",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Security :: Cryptography",
],
)
| Install the tests and test utilities | Install the tests and test utilities
| Python | mit | glyph/txsni |
import os
from setuptools import setup
base_dir = os.path.dirname(__file__)
with open(os.path.join(base_dir, "README.rst")) as f:
long_description = f.read()
setup(
name="TxSNI",
description="easy-to-use SNI endpoint for twisted",
packages=[
"txsni",
"twisted.plugins",
],
install_requires=[
"Twisted[tls]>=14.0",
"pyOpenSSL>=0.14",
],
version="0.1.6",
long_description=long_description,
license="MIT",
url="https://github.com/glyph/txsni",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Security :: Cryptography",
],
)
Install the tests and test utilities |
import os
from setuptools import setup
base_dir = os.path.dirname(__file__)
with open(os.path.join(base_dir, "README.rst")) as f:
long_description = f.read()
setup(
name="TxSNI",
description="easy-to-use SNI endpoint for twisted",
packages=[
"txsni",
"txsni.test",
"txsni.test.certs",
"twisted.plugins",
],
install_requires=[
"Twisted[tls]>=14.0",
"pyOpenSSL>=0.14",
],
version="0.1.6",
long_description=long_description,
license="MIT",
url="https://github.com/glyph/txsni",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Security :: Cryptography",
],
)
| <commit_before>
import os
from setuptools import setup
base_dir = os.path.dirname(__file__)
with open(os.path.join(base_dir, "README.rst")) as f:
long_description = f.read()
setup(
name="TxSNI",
description="easy-to-use SNI endpoint for twisted",
packages=[
"txsni",
"twisted.plugins",
],
install_requires=[
"Twisted[tls]>=14.0",
"pyOpenSSL>=0.14",
],
version="0.1.6",
long_description=long_description,
license="MIT",
url="https://github.com/glyph/txsni",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Security :: Cryptography",
],
)
<commit_msg>Install the tests and test utilities<commit_after> |
import os
from setuptools import setup
base_dir = os.path.dirname(__file__)
with open(os.path.join(base_dir, "README.rst")) as f:
long_description = f.read()
setup(
name="TxSNI",
description="easy-to-use SNI endpoint for twisted",
packages=[
"txsni",
"txsni.test",
"txsni.test.certs",
"twisted.plugins",
],
install_requires=[
"Twisted[tls]>=14.0",
"pyOpenSSL>=0.14",
],
version="0.1.6",
long_description=long_description,
license="MIT",
url="https://github.com/glyph/txsni",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Security :: Cryptography",
],
)
|
import os
from setuptools import setup
base_dir = os.path.dirname(__file__)
with open(os.path.join(base_dir, "README.rst")) as f:
long_description = f.read()
setup(
name="TxSNI",
description="easy-to-use SNI endpoint for twisted",
packages=[
"txsni",
"twisted.plugins",
],
install_requires=[
"Twisted[tls]>=14.0",
"pyOpenSSL>=0.14",
],
version="0.1.6",
long_description=long_description,
license="MIT",
url="https://github.com/glyph/txsni",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Security :: Cryptography",
],
)
Install the tests and test utilities
import os
from setuptools import setup
base_dir = os.path.dirname(__file__)
with open(os.path.join(base_dir, "README.rst")) as f:
long_description = f.read()
setup(
name="TxSNI",
description="easy-to-use SNI endpoint for twisted",
packages=[
"txsni",
"txsni.test",
"txsni.test.certs",
"twisted.plugins",
],
install_requires=[
"Twisted[tls]>=14.0",
"pyOpenSSL>=0.14",
],
version="0.1.6",
long_description=long_description,
license="MIT",
url="https://github.com/glyph/txsni",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Security :: Cryptography",
],
)
| <commit_before>
import os
from setuptools import setup
base_dir = os.path.dirname(__file__)
with open(os.path.join(base_dir, "README.rst")) as f:
long_description = f.read()
setup(
name="TxSNI",
description="easy-to-use SNI endpoint for twisted",
packages=[
"txsni",
"twisted.plugins",
],
install_requires=[
"Twisted[tls]>=14.0",
"pyOpenSSL>=0.14",
],
version="0.1.6",
long_description=long_description,
license="MIT",
url="https://github.com/glyph/txsni",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Security :: Cryptography",
],
)
<commit_msg>Install the tests and test utilities<commit_after>
import os
from setuptools import setup
base_dir = os.path.dirname(__file__)
with open(os.path.join(base_dir, "README.rst")) as f:
long_description = f.read()
setup(
name="TxSNI",
description="easy-to-use SNI endpoint for twisted",
packages=[
"txsni",
"txsni.test",
"txsni.test.certs",
"twisted.plugins",
],
install_requires=[
"Twisted[tls]>=14.0",
"pyOpenSSL>=0.14",
],
version="0.1.6",
long_description=long_description,
license="MIT",
url="https://github.com/glyph/txsni",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Security :: Cryptography",
],
)
|
ae4ff7cffa1273338fff56eb531f2a6f5989de41 | setup.py | setup.py |
import os
from setuptools import setup, find_packages
VERSION = '1.4.5'
setup(
namespace_packages = ['tiddlywebplugins'],
name = 'tiddlywebplugins.atom',
version = VERSION,
description = 'A TiddlyWeb plugin that provides an Atom feed of tiddler collections.',
long_description=file(os.path.join(os.path.dirname(__file__), 'README')).read(),
author = 'Chris Dent',
url = 'http://pypi.python.org/pypi/tiddlywebplugins.atom',
packages = find_packages(exclude=['test']),
author_email = '[email protected]',
platforms = 'Posix; MacOS X; Windows',
install_requires = ['setuptools',
'tiddlyweb>=1.4.2',
'feedgenerator'],
'extras_require': {
'testing': ['tiddlywebwiki', 'tiddlywebplugins.markdown']
},
zip_safe = False,
license = 'BSD',
)
|
import os
from setuptools import setup, find_packages
VERSION = '1.4.5'
setup(
namespace_packages = ['tiddlywebplugins'],
name = 'tiddlywebplugins.atom',
version = VERSION,
description = 'A TiddlyWeb plugin that provides an Atom feed of tiddler collections.',
long_description=open(os.path.join(os.path.dirname(__file__), 'README')).read(),
author = 'Chris Dent',
url = 'http://pypi.python.org/pypi/tiddlywebplugins.atom',
packages = find_packages(exclude=['test']),
author_email = '[email protected]',
platforms = 'Posix; MacOS X; Windows',
install_requires = ['setuptools',
'tiddlyweb>=1.4.2',
'feedgenerator'],
'extras_require': {
'testing': ['tiddlywebwiki', 'tiddlywebplugins.markdown']
},
zip_safe = False,
license = 'BSD',
)
| Use `open` instead of `file` for compatibility | Use `open` instead of `file` for compatibility
| Python | bsd-3-clause | tiddlyweb/tiddlywebplugins.atom |
import os
from setuptools import setup, find_packages
VERSION = '1.4.5'
setup(
namespace_packages = ['tiddlywebplugins'],
name = 'tiddlywebplugins.atom',
version = VERSION,
description = 'A TiddlyWeb plugin that provides an Atom feed of tiddler collections.',
long_description=file(os.path.join(os.path.dirname(__file__), 'README')).read(),
author = 'Chris Dent',
url = 'http://pypi.python.org/pypi/tiddlywebplugins.atom',
packages = find_packages(exclude=['test']),
author_email = '[email protected]',
platforms = 'Posix; MacOS X; Windows',
install_requires = ['setuptools',
'tiddlyweb>=1.4.2',
'feedgenerator'],
'extras_require': {
'testing': ['tiddlywebwiki', 'tiddlywebplugins.markdown']
},
zip_safe = False,
license = 'BSD',
)
Use `open` instead of `file` for compatibility |
import os
from setuptools import setup, find_packages
VERSION = '1.4.5'
setup(
namespace_packages = ['tiddlywebplugins'],
name = 'tiddlywebplugins.atom',
version = VERSION,
description = 'A TiddlyWeb plugin that provides an Atom feed of tiddler collections.',
long_description=open(os.path.join(os.path.dirname(__file__), 'README')).read(),
author = 'Chris Dent',
url = 'http://pypi.python.org/pypi/tiddlywebplugins.atom',
packages = find_packages(exclude=['test']),
author_email = '[email protected]',
platforms = 'Posix; MacOS X; Windows',
install_requires = ['setuptools',
'tiddlyweb>=1.4.2',
'feedgenerator'],
'extras_require': {
'testing': ['tiddlywebwiki', 'tiddlywebplugins.markdown']
},
zip_safe = False,
license = 'BSD',
)
| <commit_before>
import os
from setuptools import setup, find_packages
VERSION = '1.4.5'
setup(
namespace_packages = ['tiddlywebplugins'],
name = 'tiddlywebplugins.atom',
version = VERSION,
description = 'A TiddlyWeb plugin that provides an Atom feed of tiddler collections.',
long_description=file(os.path.join(os.path.dirname(__file__), 'README')).read(),
author = 'Chris Dent',
url = 'http://pypi.python.org/pypi/tiddlywebplugins.atom',
packages = find_packages(exclude=['test']),
author_email = '[email protected]',
platforms = 'Posix; MacOS X; Windows',
install_requires = ['setuptools',
'tiddlyweb>=1.4.2',
'feedgenerator'],
'extras_require': {
'testing': ['tiddlywebwiki', 'tiddlywebplugins.markdown']
},
zip_safe = False,
license = 'BSD',
)
<commit_msg>Use `open` instead of `file` for compatibility<commit_after> |
import os
from setuptools import setup, find_packages
VERSION = '1.4.5'
setup(
namespace_packages = ['tiddlywebplugins'],
name = 'tiddlywebplugins.atom',
version = VERSION,
description = 'A TiddlyWeb plugin that provides an Atom feed of tiddler collections.',
long_description=open(os.path.join(os.path.dirname(__file__), 'README')).read(),
author = 'Chris Dent',
url = 'http://pypi.python.org/pypi/tiddlywebplugins.atom',
packages = find_packages(exclude=['test']),
author_email = '[email protected]',
platforms = 'Posix; MacOS X; Windows',
install_requires = ['setuptools',
'tiddlyweb>=1.4.2',
'feedgenerator'],
'extras_require': {
'testing': ['tiddlywebwiki', 'tiddlywebplugins.markdown']
},
zip_safe = False,
license = 'BSD',
)
|
import os
from setuptools import setup, find_packages
VERSION = '1.4.5'
setup(
namespace_packages = ['tiddlywebplugins'],
name = 'tiddlywebplugins.atom',
version = VERSION,
description = 'A TiddlyWeb plugin that provides an Atom feed of tiddler collections.',
long_description=file(os.path.join(os.path.dirname(__file__), 'README')).read(),
author = 'Chris Dent',
url = 'http://pypi.python.org/pypi/tiddlywebplugins.atom',
packages = find_packages(exclude=['test']),
author_email = '[email protected]',
platforms = 'Posix; MacOS X; Windows',
install_requires = ['setuptools',
'tiddlyweb>=1.4.2',
'feedgenerator'],
'extras_require': {
'testing': ['tiddlywebwiki', 'tiddlywebplugins.markdown']
},
zip_safe = False,
license = 'BSD',
)
Use `open` instead of `file` for compatibility
import os
from setuptools import setup, find_packages
VERSION = '1.4.5'
setup(
namespace_packages = ['tiddlywebplugins'],
name = 'tiddlywebplugins.atom',
version = VERSION,
description = 'A TiddlyWeb plugin that provides an Atom feed of tiddler collections.',
long_description=open(os.path.join(os.path.dirname(__file__), 'README')).read(),
author = 'Chris Dent',
url = 'http://pypi.python.org/pypi/tiddlywebplugins.atom',
packages = find_packages(exclude=['test']),
author_email = '[email protected]',
platforms = 'Posix; MacOS X; Windows',
install_requires = ['setuptools',
'tiddlyweb>=1.4.2',
'feedgenerator'],
'extras_require': {
'testing': ['tiddlywebwiki', 'tiddlywebplugins.markdown']
},
zip_safe = False,
license = 'BSD',
)
| <commit_before>
import os
from setuptools import setup, find_packages
VERSION = '1.4.5'
setup(
namespace_packages = ['tiddlywebplugins'],
name = 'tiddlywebplugins.atom',
version = VERSION,
description = 'A TiddlyWeb plugin that provides an Atom feed of tiddler collections.',
long_description=file(os.path.join(os.path.dirname(__file__), 'README')).read(),
author = 'Chris Dent',
url = 'http://pypi.python.org/pypi/tiddlywebplugins.atom',
packages = find_packages(exclude=['test']),
author_email = '[email protected]',
platforms = 'Posix; MacOS X; Windows',
install_requires = ['setuptools',
'tiddlyweb>=1.4.2',
'feedgenerator'],
'extras_require': {
'testing': ['tiddlywebwiki', 'tiddlywebplugins.markdown']
},
zip_safe = False,
license = 'BSD',
)
<commit_msg>Use `open` instead of `file` for compatibility<commit_after>
import os
from setuptools import setup, find_packages
VERSION = '1.4.5'
setup(
namespace_packages = ['tiddlywebplugins'],
name = 'tiddlywebplugins.atom',
version = VERSION,
description = 'A TiddlyWeb plugin that provides an Atom feed of tiddler collections.',
long_description=open(os.path.join(os.path.dirname(__file__), 'README')).read(),
author = 'Chris Dent',
url = 'http://pypi.python.org/pypi/tiddlywebplugins.atom',
packages = find_packages(exclude=['test']),
author_email = '[email protected]',
platforms = 'Posix; MacOS X; Windows',
install_requires = ['setuptools',
'tiddlyweb>=1.4.2',
'feedgenerator'],
'extras_require': {
'testing': ['tiddlywebwiki', 'tiddlywebplugins.markdown']
},
zip_safe = False,
license = 'BSD',
)
|
End of preview. Expand
in Data Studio
- Downloads last month
- 4