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
1345fa78e45e6737df63b897f7887ca87290b447
l10n_ar_wsafip/models/__init__.py
l10n_ar_wsafip/models/__init__.py
# -*- coding: utf-8 -*- import wsafip_certificate_alias import wsafip_certificate import wsafip_server import wsafip_connection # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
# -*- coding: utf-8 -*- import wsafip_certificate_alias import wsafip_certificate import wsafip_server import wsafip_connection import loadcert_config # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
ADD loadcert_config to make module uninstallable
ADD loadcert_config to make module uninstallable
Python
agpl-3.0
bmya/odoo-argentina,jobiols/odoo-argentina,jobiols/odoo-argentina,adhoc-dev/odoo-argentina,bmya/odoo-argentina,adrianpaesani/odoo-argentina,adrianpaesani/odoo-argentina,adhoc-dev/odoo-argentina,ingadhoc/odoo-argentina
# -*- coding: utf-8 -*- import wsafip_certificate_alias import wsafip_certificate import wsafip_server import wsafip_connection # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: ADD loadcert_config to make module uninstallable
# -*- coding: utf-8 -*- import wsafip_certificate_alias import wsafip_certificate import wsafip_server import wsafip_connection import loadcert_config # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
<commit_before># -*- coding: utf-8 -*- import wsafip_certificate_alias import wsafip_certificate import wsafip_server import wsafip_connection # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: <commit_msg>ADD loadcert_config to make module uninstallable<commit_after>
# -*- coding: utf-8 -*- import wsafip_certificate_alias import wsafip_certificate import wsafip_server import wsafip_connection import loadcert_config # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
# -*- coding: utf-8 -*- import wsafip_certificate_alias import wsafip_certificate import wsafip_server import wsafip_connection # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: ADD loadcert_config to make module uninstallable# -*- coding: utf-8 -*- import wsafip_certificate_alias import wsafip_certificate import wsafip_server import wsafip_connection import loadcert_config # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
<commit_before># -*- coding: utf-8 -*- import wsafip_certificate_alias import wsafip_certificate import wsafip_server import wsafip_connection # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: <commit_msg>ADD loadcert_config to make module uninstallable<commit_after># -*- coding: utf-8 -*- import wsafip_certificate_alias import wsafip_certificate import wsafip_server import wsafip_connection import loadcert_config # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
7dffcd1ea4b44decb8abb4e7d60cc07d665b4ce3
subscription/api.py
subscription/api.py
from tastypie import fields from tastypie.resources import ModelResource, ALL from tastypie.authentication import ApiKeyAuthentication from tastypie.authorization import Authorization from subscription.models import Subscription, MessageSet from djcelery.models import PeriodicTask class PeriodicTaskResource(ModelResource): class Meta: queryset = PeriodicTask.objects.all() resource_name = 'periodic_task' list_allowed_methods = ['get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() class MessageSetResource(ModelResource): class Meta: queryset = MessageSet.objects.all() resource_name = 'message_set' list_allowed_methods = ['get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() class SubscriptionResource(ModelResource): schedule = fields.ToOneField(PeriodicTaskResource, 'schedule') message_set = fields.ToOneField(MessageSetResource, 'message_set') class Meta: queryset = Subscription.objects.all() resource_name = 'subscription' list_allowed_methods = ['post', 'get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() authorization = Authorization() filtering = { 'to_addr': ALL }
from tastypie import fields from tastypie.resources import ModelResource, ALL from tastypie.authentication import ApiKeyAuthentication from tastypie.authorization import Authorization from subscription.models import Subscription, MessageSet from djcelery.models import PeriodicTask class PeriodicTaskResource(ModelResource): class Meta: queryset = PeriodicTask.objects.all() resource_name = 'periodic_task' list_allowed_methods = ['get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() class MessageSetResource(ModelResource): class Meta: queryset = MessageSet.objects.all() resource_name = 'message_set' list_allowed_methods = ['get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() class SubscriptionResource(ModelResource): schedule = fields.ToOneField(PeriodicTaskResource, 'schedule') message_set = fields.ToOneField(MessageSetResource, 'message_set') class Meta: queryset = Subscription.objects.all() resource_name = 'subscription' list_allowed_methods = ['post', 'get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() authorization = Authorization() filtering = { 'to_addr': ALL, 'user_account': ALL }
Add filter for limiting to one account
Add filter for limiting to one account
Python
bsd-3-clause
praekelt/ndoh-control,praekelt/ndoh-control,praekelt/ndoh-control,praekelt/ndoh-control
from tastypie import fields from tastypie.resources import ModelResource, ALL from tastypie.authentication import ApiKeyAuthentication from tastypie.authorization import Authorization from subscription.models import Subscription, MessageSet from djcelery.models import PeriodicTask class PeriodicTaskResource(ModelResource): class Meta: queryset = PeriodicTask.objects.all() resource_name = 'periodic_task' list_allowed_methods = ['get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() class MessageSetResource(ModelResource): class Meta: queryset = MessageSet.objects.all() resource_name = 'message_set' list_allowed_methods = ['get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() class SubscriptionResource(ModelResource): schedule = fields.ToOneField(PeriodicTaskResource, 'schedule') message_set = fields.ToOneField(MessageSetResource, 'message_set') class Meta: queryset = Subscription.objects.all() resource_name = 'subscription' list_allowed_methods = ['post', 'get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() authorization = Authorization() filtering = { 'to_addr': ALL } Add filter for limiting to one account
from tastypie import fields from tastypie.resources import ModelResource, ALL from tastypie.authentication import ApiKeyAuthentication from tastypie.authorization import Authorization from subscription.models import Subscription, MessageSet from djcelery.models import PeriodicTask class PeriodicTaskResource(ModelResource): class Meta: queryset = PeriodicTask.objects.all() resource_name = 'periodic_task' list_allowed_methods = ['get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() class MessageSetResource(ModelResource): class Meta: queryset = MessageSet.objects.all() resource_name = 'message_set' list_allowed_methods = ['get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() class SubscriptionResource(ModelResource): schedule = fields.ToOneField(PeriodicTaskResource, 'schedule') message_set = fields.ToOneField(MessageSetResource, 'message_set') class Meta: queryset = Subscription.objects.all() resource_name = 'subscription' list_allowed_methods = ['post', 'get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() authorization = Authorization() filtering = { 'to_addr': ALL, 'user_account': ALL }
<commit_before>from tastypie import fields from tastypie.resources import ModelResource, ALL from tastypie.authentication import ApiKeyAuthentication from tastypie.authorization import Authorization from subscription.models import Subscription, MessageSet from djcelery.models import PeriodicTask class PeriodicTaskResource(ModelResource): class Meta: queryset = PeriodicTask.objects.all() resource_name = 'periodic_task' list_allowed_methods = ['get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() class MessageSetResource(ModelResource): class Meta: queryset = MessageSet.objects.all() resource_name = 'message_set' list_allowed_methods = ['get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() class SubscriptionResource(ModelResource): schedule = fields.ToOneField(PeriodicTaskResource, 'schedule') message_set = fields.ToOneField(MessageSetResource, 'message_set') class Meta: queryset = Subscription.objects.all() resource_name = 'subscription' list_allowed_methods = ['post', 'get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() authorization = Authorization() filtering = { 'to_addr': ALL } <commit_msg>Add filter for limiting to one account<commit_after>
from tastypie import fields from tastypie.resources import ModelResource, ALL from tastypie.authentication import ApiKeyAuthentication from tastypie.authorization import Authorization from subscription.models import Subscription, MessageSet from djcelery.models import PeriodicTask class PeriodicTaskResource(ModelResource): class Meta: queryset = PeriodicTask.objects.all() resource_name = 'periodic_task' list_allowed_methods = ['get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() class MessageSetResource(ModelResource): class Meta: queryset = MessageSet.objects.all() resource_name = 'message_set' list_allowed_methods = ['get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() class SubscriptionResource(ModelResource): schedule = fields.ToOneField(PeriodicTaskResource, 'schedule') message_set = fields.ToOneField(MessageSetResource, 'message_set') class Meta: queryset = Subscription.objects.all() resource_name = 'subscription' list_allowed_methods = ['post', 'get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() authorization = Authorization() filtering = { 'to_addr': ALL, 'user_account': ALL }
from tastypie import fields from tastypie.resources import ModelResource, ALL from tastypie.authentication import ApiKeyAuthentication from tastypie.authorization import Authorization from subscription.models import Subscription, MessageSet from djcelery.models import PeriodicTask class PeriodicTaskResource(ModelResource): class Meta: queryset = PeriodicTask.objects.all() resource_name = 'periodic_task' list_allowed_methods = ['get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() class MessageSetResource(ModelResource): class Meta: queryset = MessageSet.objects.all() resource_name = 'message_set' list_allowed_methods = ['get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() class SubscriptionResource(ModelResource): schedule = fields.ToOneField(PeriodicTaskResource, 'schedule') message_set = fields.ToOneField(MessageSetResource, 'message_set') class Meta: queryset = Subscription.objects.all() resource_name = 'subscription' list_allowed_methods = ['post', 'get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() authorization = Authorization() filtering = { 'to_addr': ALL } Add filter for limiting to one accountfrom tastypie import fields from tastypie.resources import ModelResource, ALL from tastypie.authentication import ApiKeyAuthentication from tastypie.authorization import Authorization from subscription.models import Subscription, MessageSet from djcelery.models import PeriodicTask class PeriodicTaskResource(ModelResource): class Meta: queryset = PeriodicTask.objects.all() resource_name = 'periodic_task' list_allowed_methods = ['get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() class MessageSetResource(ModelResource): class Meta: queryset = MessageSet.objects.all() resource_name = 'message_set' list_allowed_methods = ['get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() class SubscriptionResource(ModelResource): schedule = fields.ToOneField(PeriodicTaskResource, 'schedule') message_set = fields.ToOneField(MessageSetResource, 'message_set') class Meta: queryset = Subscription.objects.all() resource_name = 'subscription' list_allowed_methods = ['post', 'get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() authorization = Authorization() filtering = { 'to_addr': ALL, 'user_account': ALL }
<commit_before>from tastypie import fields from tastypie.resources import ModelResource, ALL from tastypie.authentication import ApiKeyAuthentication from tastypie.authorization import Authorization from subscription.models import Subscription, MessageSet from djcelery.models import PeriodicTask class PeriodicTaskResource(ModelResource): class Meta: queryset = PeriodicTask.objects.all() resource_name = 'periodic_task' list_allowed_methods = ['get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() class MessageSetResource(ModelResource): class Meta: queryset = MessageSet.objects.all() resource_name = 'message_set' list_allowed_methods = ['get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() class SubscriptionResource(ModelResource): schedule = fields.ToOneField(PeriodicTaskResource, 'schedule') message_set = fields.ToOneField(MessageSetResource, 'message_set') class Meta: queryset = Subscription.objects.all() resource_name = 'subscription' list_allowed_methods = ['post', 'get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() authorization = Authorization() filtering = { 'to_addr': ALL } <commit_msg>Add filter for limiting to one account<commit_after>from tastypie import fields from tastypie.resources import ModelResource, ALL from tastypie.authentication import ApiKeyAuthentication from tastypie.authorization import Authorization from subscription.models import Subscription, MessageSet from djcelery.models import PeriodicTask class PeriodicTaskResource(ModelResource): class Meta: queryset = PeriodicTask.objects.all() resource_name = 'periodic_task' list_allowed_methods = ['get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() class MessageSetResource(ModelResource): class Meta: queryset = MessageSet.objects.all() resource_name = 'message_set' list_allowed_methods = ['get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() class SubscriptionResource(ModelResource): schedule = fields.ToOneField(PeriodicTaskResource, 'schedule') message_set = fields.ToOneField(MessageSetResource, 'message_set') class Meta: queryset = Subscription.objects.all() resource_name = 'subscription' list_allowed_methods = ['post', 'get'] include_resource_uri = True always_return_data = True authentication = ApiKeyAuthentication() authorization = Authorization() filtering = { 'to_addr': ALL, 'user_account': ALL }
fba405a083b29b08dc3994821ae4ca2feb0e6c49
py3status/modules/taskwarrior.py
py3status/modules/taskwarrior.py
# -*- coding: utf-8 -*- """ Display currently active (started) taskwarrior tasks. Configuration parameters: - cache_timeout : how often we refresh this module in seconds (5s default) Requires - task @author James Smith http://jazmit.github.io/ @license BSD """ # import your useful libs here from time import time from subprocess import check_output import json import shlex class Py3status: """ """ # available configuration parameters cache_timeout = 5 def taskWarrior(self, i3s_output_list, i3s_config): command = 'task start.before:tomorrow status:pending export' taskwarrior_output = check_output(shlex.split(command)) tasks_json = json.loads('[' + taskwarrior_output.decode('utf-8') + ']') def describeTask(taskObj): return str(taskObj['id']) + ' ' + taskObj['description'] result = ', '.join(map(describeTask, tasks_json)) response = { 'cached_until': time() + self.cache_timeout, 'full_text': result } return response if __name__ == "__main__": """ Test this module by calling it directly. """ from time import sleep x = Py3status() config = { 'color_bad': '#FF0000', 'color_degraded': '#FFFF00', 'color_good': '#00FF00' } while True: print(x.taskWarrior([], config)) sleep(1)
# -*- coding: utf-8 -*- """ Display currently active (started) taskwarrior tasks. Configuration parameters: - cache_timeout : how often we refresh this module in seconds (5s default) Requires - task @author James Smith http://jazmit.github.io/ @license BSD """ # import your useful libs here from time import time from subprocess import check_output import json import shlex class Py3status: """ """ # available configuration parameters cache_timeout = 5 def taskWarrior(self, i3s_output_list, i3s_config): command = 'task start.before:tomorrow status:pending export' taskwarrior_output = check_output(shlex.split(command)) tasks_json = json.loads(taskwarrior_output.decode('utf-8')) def describeTask(taskObj): return str(taskObj['id']) + ' ' + taskObj['description'] result = ', '.join(map(describeTask, tasks_json)) response = { 'cached_until': time() + self.cache_timeout, 'full_text': result } return response if __name__ == "__main__": """ Test this module by calling it directly. """ from time import sleep x = Py3status() config = { 'color_bad': '#FF0000', 'color_degraded': '#FFFF00', 'color_good': '#00FF00' } while True: print(x.taskWarrior([], config)) sleep(1)
Fix parsing of taskWarrior's output
Fix parsing of taskWarrior's output I don't know for older versions, but the latest stable release already have '[' and ']' when doing an export. This lead to raising an exception because it makes a nested list and you try to access it using a string rather than an integer
Python
bsd-3-clause
valdur55/py3status,ultrabug/py3status,Shir0kamii/py3status,tobes/py3status,Spirotot/py3status,docwalter/py3status,Andrwe/py3status,guiniol/py3status,alexoneill/py3status,ultrabug/py3status,guiniol/py3status,tobes/py3status,ultrabug/py3status,Andrwe/py3status,valdur55/py3status,vvoland/py3status,hburg1234/py3status,valdur55/py3status
# -*- coding: utf-8 -*- """ Display currently active (started) taskwarrior tasks. Configuration parameters: - cache_timeout : how often we refresh this module in seconds (5s default) Requires - task @author James Smith http://jazmit.github.io/ @license BSD """ # import your useful libs here from time import time from subprocess import check_output import json import shlex class Py3status: """ """ # available configuration parameters cache_timeout = 5 def taskWarrior(self, i3s_output_list, i3s_config): command = 'task start.before:tomorrow status:pending export' taskwarrior_output = check_output(shlex.split(command)) tasks_json = json.loads('[' + taskwarrior_output.decode('utf-8') + ']') def describeTask(taskObj): return str(taskObj['id']) + ' ' + taskObj['description'] result = ', '.join(map(describeTask, tasks_json)) response = { 'cached_until': time() + self.cache_timeout, 'full_text': result } return response if __name__ == "__main__": """ Test this module by calling it directly. """ from time import sleep x = Py3status() config = { 'color_bad': '#FF0000', 'color_degraded': '#FFFF00', 'color_good': '#00FF00' } while True: print(x.taskWarrior([], config)) sleep(1) Fix parsing of taskWarrior's output I don't know for older versions, but the latest stable release already have '[' and ']' when doing an export. This lead to raising an exception because it makes a nested list and you try to access it using a string rather than an integer
# -*- coding: utf-8 -*- """ Display currently active (started) taskwarrior tasks. Configuration parameters: - cache_timeout : how often we refresh this module in seconds (5s default) Requires - task @author James Smith http://jazmit.github.io/ @license BSD """ # import your useful libs here from time import time from subprocess import check_output import json import shlex class Py3status: """ """ # available configuration parameters cache_timeout = 5 def taskWarrior(self, i3s_output_list, i3s_config): command = 'task start.before:tomorrow status:pending export' taskwarrior_output = check_output(shlex.split(command)) tasks_json = json.loads(taskwarrior_output.decode('utf-8')) def describeTask(taskObj): return str(taskObj['id']) + ' ' + taskObj['description'] result = ', '.join(map(describeTask, tasks_json)) response = { 'cached_until': time() + self.cache_timeout, 'full_text': result } return response if __name__ == "__main__": """ Test this module by calling it directly. """ from time import sleep x = Py3status() config = { 'color_bad': '#FF0000', 'color_degraded': '#FFFF00', 'color_good': '#00FF00' } while True: print(x.taskWarrior([], config)) sleep(1)
<commit_before># -*- coding: utf-8 -*- """ Display currently active (started) taskwarrior tasks. Configuration parameters: - cache_timeout : how often we refresh this module in seconds (5s default) Requires - task @author James Smith http://jazmit.github.io/ @license BSD """ # import your useful libs here from time import time from subprocess import check_output import json import shlex class Py3status: """ """ # available configuration parameters cache_timeout = 5 def taskWarrior(self, i3s_output_list, i3s_config): command = 'task start.before:tomorrow status:pending export' taskwarrior_output = check_output(shlex.split(command)) tasks_json = json.loads('[' + taskwarrior_output.decode('utf-8') + ']') def describeTask(taskObj): return str(taskObj['id']) + ' ' + taskObj['description'] result = ', '.join(map(describeTask, tasks_json)) response = { 'cached_until': time() + self.cache_timeout, 'full_text': result } return response if __name__ == "__main__": """ Test this module by calling it directly. """ from time import sleep x = Py3status() config = { 'color_bad': '#FF0000', 'color_degraded': '#FFFF00', 'color_good': '#00FF00' } while True: print(x.taskWarrior([], config)) sleep(1) <commit_msg>Fix parsing of taskWarrior's output I don't know for older versions, but the latest stable release already have '[' and ']' when doing an export. This lead to raising an exception because it makes a nested list and you try to access it using a string rather than an integer<commit_after>
# -*- coding: utf-8 -*- """ Display currently active (started) taskwarrior tasks. Configuration parameters: - cache_timeout : how often we refresh this module in seconds (5s default) Requires - task @author James Smith http://jazmit.github.io/ @license BSD """ # import your useful libs here from time import time from subprocess import check_output import json import shlex class Py3status: """ """ # available configuration parameters cache_timeout = 5 def taskWarrior(self, i3s_output_list, i3s_config): command = 'task start.before:tomorrow status:pending export' taskwarrior_output = check_output(shlex.split(command)) tasks_json = json.loads(taskwarrior_output.decode('utf-8')) def describeTask(taskObj): return str(taskObj['id']) + ' ' + taskObj['description'] result = ', '.join(map(describeTask, tasks_json)) response = { 'cached_until': time() + self.cache_timeout, 'full_text': result } return response if __name__ == "__main__": """ Test this module by calling it directly. """ from time import sleep x = Py3status() config = { 'color_bad': '#FF0000', 'color_degraded': '#FFFF00', 'color_good': '#00FF00' } while True: print(x.taskWarrior([], config)) sleep(1)
# -*- coding: utf-8 -*- """ Display currently active (started) taskwarrior tasks. Configuration parameters: - cache_timeout : how often we refresh this module in seconds (5s default) Requires - task @author James Smith http://jazmit.github.io/ @license BSD """ # import your useful libs here from time import time from subprocess import check_output import json import shlex class Py3status: """ """ # available configuration parameters cache_timeout = 5 def taskWarrior(self, i3s_output_list, i3s_config): command = 'task start.before:tomorrow status:pending export' taskwarrior_output = check_output(shlex.split(command)) tasks_json = json.loads('[' + taskwarrior_output.decode('utf-8') + ']') def describeTask(taskObj): return str(taskObj['id']) + ' ' + taskObj['description'] result = ', '.join(map(describeTask, tasks_json)) response = { 'cached_until': time() + self.cache_timeout, 'full_text': result } return response if __name__ == "__main__": """ Test this module by calling it directly. """ from time import sleep x = Py3status() config = { 'color_bad': '#FF0000', 'color_degraded': '#FFFF00', 'color_good': '#00FF00' } while True: print(x.taskWarrior([], config)) sleep(1) Fix parsing of taskWarrior's output I don't know for older versions, but the latest stable release already have '[' and ']' when doing an export. This lead to raising an exception because it makes a nested list and you try to access it using a string rather than an integer# -*- coding: utf-8 -*- """ Display currently active (started) taskwarrior tasks. Configuration parameters: - cache_timeout : how often we refresh this module in seconds (5s default) Requires - task @author James Smith http://jazmit.github.io/ @license BSD """ # import your useful libs here from time import time from subprocess import check_output import json import shlex class Py3status: """ """ # available configuration parameters cache_timeout = 5 def taskWarrior(self, i3s_output_list, i3s_config): command = 'task start.before:tomorrow status:pending export' taskwarrior_output = check_output(shlex.split(command)) tasks_json = json.loads(taskwarrior_output.decode('utf-8')) def describeTask(taskObj): return str(taskObj['id']) + ' ' + taskObj['description'] result = ', '.join(map(describeTask, tasks_json)) response = { 'cached_until': time() + self.cache_timeout, 'full_text': result } return response if __name__ == "__main__": """ Test this module by calling it directly. """ from time import sleep x = Py3status() config = { 'color_bad': '#FF0000', 'color_degraded': '#FFFF00', 'color_good': '#00FF00' } while True: print(x.taskWarrior([], config)) sleep(1)
<commit_before># -*- coding: utf-8 -*- """ Display currently active (started) taskwarrior tasks. Configuration parameters: - cache_timeout : how often we refresh this module in seconds (5s default) Requires - task @author James Smith http://jazmit.github.io/ @license BSD """ # import your useful libs here from time import time from subprocess import check_output import json import shlex class Py3status: """ """ # available configuration parameters cache_timeout = 5 def taskWarrior(self, i3s_output_list, i3s_config): command = 'task start.before:tomorrow status:pending export' taskwarrior_output = check_output(shlex.split(command)) tasks_json = json.loads('[' + taskwarrior_output.decode('utf-8') + ']') def describeTask(taskObj): return str(taskObj['id']) + ' ' + taskObj['description'] result = ', '.join(map(describeTask, tasks_json)) response = { 'cached_until': time() + self.cache_timeout, 'full_text': result } return response if __name__ == "__main__": """ Test this module by calling it directly. """ from time import sleep x = Py3status() config = { 'color_bad': '#FF0000', 'color_degraded': '#FFFF00', 'color_good': '#00FF00' } while True: print(x.taskWarrior([], config)) sleep(1) <commit_msg>Fix parsing of taskWarrior's output I don't know for older versions, but the latest stable release already have '[' and ']' when doing an export. This lead to raising an exception because it makes a nested list and you try to access it using a string rather than an integer<commit_after># -*- coding: utf-8 -*- """ Display currently active (started) taskwarrior tasks. Configuration parameters: - cache_timeout : how often we refresh this module in seconds (5s default) Requires - task @author James Smith http://jazmit.github.io/ @license BSD """ # import your useful libs here from time import time from subprocess import check_output import json import shlex class Py3status: """ """ # available configuration parameters cache_timeout = 5 def taskWarrior(self, i3s_output_list, i3s_config): command = 'task start.before:tomorrow status:pending export' taskwarrior_output = check_output(shlex.split(command)) tasks_json = json.loads(taskwarrior_output.decode('utf-8')) def describeTask(taskObj): return str(taskObj['id']) + ' ' + taskObj['description'] result = ', '.join(map(describeTask, tasks_json)) response = { 'cached_until': time() + self.cache_timeout, 'full_text': result } return response if __name__ == "__main__": """ Test this module by calling it directly. """ from time import sleep x = Py3status() config = { 'color_bad': '#FF0000', 'color_degraded': '#FFFF00', 'color_good': '#00FF00' } while True: print(x.taskWarrior([], config)) sleep(1)
9528427b32d134b4458f46305b721423e6bfe6a6
pygraphc/misc/splunk/pysplunk.py
pygraphc/misc/splunk/pysplunk.py
from os import system, remove class PySplunk(object): def __init__(self, username, source, host, output_mode, tmp_file='/tmp/pysplunk_cluster.csv'): self.username = username self.source = source.replace(' ', '\ ') self.host = host self.output_mode = output_mode self.tmp_file = tmp_file def get_splunk_cluster(self): # run Python Splunk API command command = 'python search.py --username=' + self.username + ' "search source=' + self.source + \ ' host=' + self.host + ' sourcetype=linux_secure | cluster labelfield=cluster_id labelonly=t |' \ ' table cluster_id _raw | sort _time | reverse" ' + '--output_mode=' + \ self.output_mode + " > " + self.tmp_file system(command) # get clusters with open(self.tmp_file, 'r') as f: logs = f.readlines() clusters = {} for index, log in enumerate(logs): cluster_id = log.split(',')[0] clusters[cluster_id] = clusters.get(cluster_id, []) + [index] # remove tmp_file remove(self.tmp_file) return clusters
Add Splunk API for log clustering
Add Splunk API for log clustering
Python
mit
studiawan/pygraphc
Add Splunk API for log clustering
from os import system, remove class PySplunk(object): def __init__(self, username, source, host, output_mode, tmp_file='/tmp/pysplunk_cluster.csv'): self.username = username self.source = source.replace(' ', '\ ') self.host = host self.output_mode = output_mode self.tmp_file = tmp_file def get_splunk_cluster(self): # run Python Splunk API command command = 'python search.py --username=' + self.username + ' "search source=' + self.source + \ ' host=' + self.host + ' sourcetype=linux_secure | cluster labelfield=cluster_id labelonly=t |' \ ' table cluster_id _raw | sort _time | reverse" ' + '--output_mode=' + \ self.output_mode + " > " + self.tmp_file system(command) # get clusters with open(self.tmp_file, 'r') as f: logs = f.readlines() clusters = {} for index, log in enumerate(logs): cluster_id = log.split(',')[0] clusters[cluster_id] = clusters.get(cluster_id, []) + [index] # remove tmp_file remove(self.tmp_file) return clusters
<commit_before><commit_msg>Add Splunk API for log clustering<commit_after>
from os import system, remove class PySplunk(object): def __init__(self, username, source, host, output_mode, tmp_file='/tmp/pysplunk_cluster.csv'): self.username = username self.source = source.replace(' ', '\ ') self.host = host self.output_mode = output_mode self.tmp_file = tmp_file def get_splunk_cluster(self): # run Python Splunk API command command = 'python search.py --username=' + self.username + ' "search source=' + self.source + \ ' host=' + self.host + ' sourcetype=linux_secure | cluster labelfield=cluster_id labelonly=t |' \ ' table cluster_id _raw | sort _time | reverse" ' + '--output_mode=' + \ self.output_mode + " > " + self.tmp_file system(command) # get clusters with open(self.tmp_file, 'r') as f: logs = f.readlines() clusters = {} for index, log in enumerate(logs): cluster_id = log.split(',')[0] clusters[cluster_id] = clusters.get(cluster_id, []) + [index] # remove tmp_file remove(self.tmp_file) return clusters
Add Splunk API for log clusteringfrom os import system, remove class PySplunk(object): def __init__(self, username, source, host, output_mode, tmp_file='/tmp/pysplunk_cluster.csv'): self.username = username self.source = source.replace(' ', '\ ') self.host = host self.output_mode = output_mode self.tmp_file = tmp_file def get_splunk_cluster(self): # run Python Splunk API command command = 'python search.py --username=' + self.username + ' "search source=' + self.source + \ ' host=' + self.host + ' sourcetype=linux_secure | cluster labelfield=cluster_id labelonly=t |' \ ' table cluster_id _raw | sort _time | reverse" ' + '--output_mode=' + \ self.output_mode + " > " + self.tmp_file system(command) # get clusters with open(self.tmp_file, 'r') as f: logs = f.readlines() clusters = {} for index, log in enumerate(logs): cluster_id = log.split(',')[0] clusters[cluster_id] = clusters.get(cluster_id, []) + [index] # remove tmp_file remove(self.tmp_file) return clusters
<commit_before><commit_msg>Add Splunk API for log clustering<commit_after>from os import system, remove class PySplunk(object): def __init__(self, username, source, host, output_mode, tmp_file='/tmp/pysplunk_cluster.csv'): self.username = username self.source = source.replace(' ', '\ ') self.host = host self.output_mode = output_mode self.tmp_file = tmp_file def get_splunk_cluster(self): # run Python Splunk API command command = 'python search.py --username=' + self.username + ' "search source=' + self.source + \ ' host=' + self.host + ' sourcetype=linux_secure | cluster labelfield=cluster_id labelonly=t |' \ ' table cluster_id _raw | sort _time | reverse" ' + '--output_mode=' + \ self.output_mode + " > " + self.tmp_file system(command) # get clusters with open(self.tmp_file, 'r') as f: logs = f.readlines() clusters = {} for index, log in enumerate(logs): cluster_id = log.split(',')[0] clusters[cluster_id] = clusters.get(cluster_id, []) + [index] # remove tmp_file remove(self.tmp_file) return clusters
eeea8212255d5c5eebd13882dcbe6c67e8e51b7e
pycon/dev-settings.py
pycon/dev-settings.py
from pycon.settings import * DEFAULT_URL_PREFIX='http://localhost:8000' DEBUG=True PAYPAL_TEST = True TEMPLATES[0]['OPTIONS']['debug'] = True INSTALLED_APPS = INSTALLED_APPS + ( 'django_extensions', 'django_pdb', 'test_without_migrations', # 'devserver', ) #TEST_WITHOUT_MIGRATIONS_COMMAND = 'django_nose.management.commands.test.Command' MIDDLEWARE_CLASSES = MIDDLEWARE_CLASSES + ( 'django_pdb.middleware.PdbMiddleware', # 'devserver.middleware.DevServerMiddleware', ) DEVSERVER_MODULES = ( 'devserver.modules.sql.SQLRealTimeModule', 'devserver.modules.sql.SQLSummaryModule', 'devserver.modules.profile.ProfileSummaryModule', # Modules not enabled by default 'devserver.modules.profile.LineProfilerModule', ) DEVSERVER_AUTO_PROFILE = True DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': '/tmp/p3.db', } }
from pycon.settings import * DEFAULT_URL_PREFIX='http://localhost:8000' DEBUG=True PAYPAL_TEST = True TEMPLATES[0]['OPTIONS']['debug'] = True INSTALLED_APPS = INSTALLED_APPS + ( 'django_extensions', 'django_pdb', 'test_without_migrations', # 'devserver', ) #TEST_WITHOUT_MIGRATIONS_COMMAND = 'django_nose.management.commands.test.Command' MIDDLEWARE_CLASSES = MIDDLEWARE_CLASSES + ( 'django_pdb.middleware.PdbMiddleware', # 'devserver.middleware.DevServerMiddleware', ) DEVSERVER_MODULES = ( 'devserver.modules.sql.SQLRealTimeModule', 'devserver.modules.sql.SQLSummaryModule', 'devserver.modules.profile.ProfileSummaryModule', # Modules not enabled by default 'devserver.modules.profile.LineProfilerModule', ) DEVSERVER_AUTO_PROFILE = True DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': '/tmp/p3.db', } } # DATABASES = { # 'default': { # 'ENGINE': 'django.db.backends.postgresql_psycopg2', # 'NAME': os.environ.get("DATABASE_NAME", 'epcon'), # 'USER': os.environ.get("POSTGRES_USER", 'epcon'), # 'PASSWORD': os.environ.get("POSTGRES_PASSWORD", 'epcon'), # 'HOST': os.environ.get("POSTGRES_HOST", '172.15.201.10'), # 'PORT': os.environ.get("POSTGRES_PORT", '5432'), # }, # }
Add the basic configuration for PostgreSQL for the dev
Add the basic configuration for PostgreSQL for the dev
Python
bsd-2-clause
EuroPython/epcon,artcz/epcon,artcz/epcon,artcz/epcon,artcz/epcon,EuroPython/epcon,EuroPython/epcon,EuroPython/epcon,artcz/epcon,artcz/epcon
from pycon.settings import * DEFAULT_URL_PREFIX='http://localhost:8000' DEBUG=True PAYPAL_TEST = True TEMPLATES[0]['OPTIONS']['debug'] = True INSTALLED_APPS = INSTALLED_APPS + ( 'django_extensions', 'django_pdb', 'test_without_migrations', # 'devserver', ) #TEST_WITHOUT_MIGRATIONS_COMMAND = 'django_nose.management.commands.test.Command' MIDDLEWARE_CLASSES = MIDDLEWARE_CLASSES + ( 'django_pdb.middleware.PdbMiddleware', # 'devserver.middleware.DevServerMiddleware', ) DEVSERVER_MODULES = ( 'devserver.modules.sql.SQLRealTimeModule', 'devserver.modules.sql.SQLSummaryModule', 'devserver.modules.profile.ProfileSummaryModule', # Modules not enabled by default 'devserver.modules.profile.LineProfilerModule', ) DEVSERVER_AUTO_PROFILE = True DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': '/tmp/p3.db', } } Add the basic configuration for PostgreSQL for the dev
from pycon.settings import * DEFAULT_URL_PREFIX='http://localhost:8000' DEBUG=True PAYPAL_TEST = True TEMPLATES[0]['OPTIONS']['debug'] = True INSTALLED_APPS = INSTALLED_APPS + ( 'django_extensions', 'django_pdb', 'test_without_migrations', # 'devserver', ) #TEST_WITHOUT_MIGRATIONS_COMMAND = 'django_nose.management.commands.test.Command' MIDDLEWARE_CLASSES = MIDDLEWARE_CLASSES + ( 'django_pdb.middleware.PdbMiddleware', # 'devserver.middleware.DevServerMiddleware', ) DEVSERVER_MODULES = ( 'devserver.modules.sql.SQLRealTimeModule', 'devserver.modules.sql.SQLSummaryModule', 'devserver.modules.profile.ProfileSummaryModule', # Modules not enabled by default 'devserver.modules.profile.LineProfilerModule', ) DEVSERVER_AUTO_PROFILE = True DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': '/tmp/p3.db', } } # DATABASES = { # 'default': { # 'ENGINE': 'django.db.backends.postgresql_psycopg2', # 'NAME': os.environ.get("DATABASE_NAME", 'epcon'), # 'USER': os.environ.get("POSTGRES_USER", 'epcon'), # 'PASSWORD': os.environ.get("POSTGRES_PASSWORD", 'epcon'), # 'HOST': os.environ.get("POSTGRES_HOST", '172.15.201.10'), # 'PORT': os.environ.get("POSTGRES_PORT", '5432'), # }, # }
<commit_before>from pycon.settings import * DEFAULT_URL_PREFIX='http://localhost:8000' DEBUG=True PAYPAL_TEST = True TEMPLATES[0]['OPTIONS']['debug'] = True INSTALLED_APPS = INSTALLED_APPS + ( 'django_extensions', 'django_pdb', 'test_without_migrations', # 'devserver', ) #TEST_WITHOUT_MIGRATIONS_COMMAND = 'django_nose.management.commands.test.Command' MIDDLEWARE_CLASSES = MIDDLEWARE_CLASSES + ( 'django_pdb.middleware.PdbMiddleware', # 'devserver.middleware.DevServerMiddleware', ) DEVSERVER_MODULES = ( 'devserver.modules.sql.SQLRealTimeModule', 'devserver.modules.sql.SQLSummaryModule', 'devserver.modules.profile.ProfileSummaryModule', # Modules not enabled by default 'devserver.modules.profile.LineProfilerModule', ) DEVSERVER_AUTO_PROFILE = True DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': '/tmp/p3.db', } } <commit_msg>Add the basic configuration for PostgreSQL for the dev<commit_after>
from pycon.settings import * DEFAULT_URL_PREFIX='http://localhost:8000' DEBUG=True PAYPAL_TEST = True TEMPLATES[0]['OPTIONS']['debug'] = True INSTALLED_APPS = INSTALLED_APPS + ( 'django_extensions', 'django_pdb', 'test_without_migrations', # 'devserver', ) #TEST_WITHOUT_MIGRATIONS_COMMAND = 'django_nose.management.commands.test.Command' MIDDLEWARE_CLASSES = MIDDLEWARE_CLASSES + ( 'django_pdb.middleware.PdbMiddleware', # 'devserver.middleware.DevServerMiddleware', ) DEVSERVER_MODULES = ( 'devserver.modules.sql.SQLRealTimeModule', 'devserver.modules.sql.SQLSummaryModule', 'devserver.modules.profile.ProfileSummaryModule', # Modules not enabled by default 'devserver.modules.profile.LineProfilerModule', ) DEVSERVER_AUTO_PROFILE = True DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': '/tmp/p3.db', } } # DATABASES = { # 'default': { # 'ENGINE': 'django.db.backends.postgresql_psycopg2', # 'NAME': os.environ.get("DATABASE_NAME", 'epcon'), # 'USER': os.environ.get("POSTGRES_USER", 'epcon'), # 'PASSWORD': os.environ.get("POSTGRES_PASSWORD", 'epcon'), # 'HOST': os.environ.get("POSTGRES_HOST", '172.15.201.10'), # 'PORT': os.environ.get("POSTGRES_PORT", '5432'), # }, # }
from pycon.settings import * DEFAULT_URL_PREFIX='http://localhost:8000' DEBUG=True PAYPAL_TEST = True TEMPLATES[0]['OPTIONS']['debug'] = True INSTALLED_APPS = INSTALLED_APPS + ( 'django_extensions', 'django_pdb', 'test_without_migrations', # 'devserver', ) #TEST_WITHOUT_MIGRATIONS_COMMAND = 'django_nose.management.commands.test.Command' MIDDLEWARE_CLASSES = MIDDLEWARE_CLASSES + ( 'django_pdb.middleware.PdbMiddleware', # 'devserver.middleware.DevServerMiddleware', ) DEVSERVER_MODULES = ( 'devserver.modules.sql.SQLRealTimeModule', 'devserver.modules.sql.SQLSummaryModule', 'devserver.modules.profile.ProfileSummaryModule', # Modules not enabled by default 'devserver.modules.profile.LineProfilerModule', ) DEVSERVER_AUTO_PROFILE = True DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': '/tmp/p3.db', } } Add the basic configuration for PostgreSQL for the devfrom pycon.settings import * DEFAULT_URL_PREFIX='http://localhost:8000' DEBUG=True PAYPAL_TEST = True TEMPLATES[0]['OPTIONS']['debug'] = True INSTALLED_APPS = INSTALLED_APPS + ( 'django_extensions', 'django_pdb', 'test_without_migrations', # 'devserver', ) #TEST_WITHOUT_MIGRATIONS_COMMAND = 'django_nose.management.commands.test.Command' MIDDLEWARE_CLASSES = MIDDLEWARE_CLASSES + ( 'django_pdb.middleware.PdbMiddleware', # 'devserver.middleware.DevServerMiddleware', ) DEVSERVER_MODULES = ( 'devserver.modules.sql.SQLRealTimeModule', 'devserver.modules.sql.SQLSummaryModule', 'devserver.modules.profile.ProfileSummaryModule', # Modules not enabled by default 'devserver.modules.profile.LineProfilerModule', ) DEVSERVER_AUTO_PROFILE = True DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': '/tmp/p3.db', } } # DATABASES = { # 'default': { # 'ENGINE': 'django.db.backends.postgresql_psycopg2', # 'NAME': os.environ.get("DATABASE_NAME", 'epcon'), # 'USER': os.environ.get("POSTGRES_USER", 'epcon'), # 'PASSWORD': os.environ.get("POSTGRES_PASSWORD", 'epcon'), # 'HOST': os.environ.get("POSTGRES_HOST", '172.15.201.10'), # 'PORT': os.environ.get("POSTGRES_PORT", '5432'), # }, # }
<commit_before>from pycon.settings import * DEFAULT_URL_PREFIX='http://localhost:8000' DEBUG=True PAYPAL_TEST = True TEMPLATES[0]['OPTIONS']['debug'] = True INSTALLED_APPS = INSTALLED_APPS + ( 'django_extensions', 'django_pdb', 'test_without_migrations', # 'devserver', ) #TEST_WITHOUT_MIGRATIONS_COMMAND = 'django_nose.management.commands.test.Command' MIDDLEWARE_CLASSES = MIDDLEWARE_CLASSES + ( 'django_pdb.middleware.PdbMiddleware', # 'devserver.middleware.DevServerMiddleware', ) DEVSERVER_MODULES = ( 'devserver.modules.sql.SQLRealTimeModule', 'devserver.modules.sql.SQLSummaryModule', 'devserver.modules.profile.ProfileSummaryModule', # Modules not enabled by default 'devserver.modules.profile.LineProfilerModule', ) DEVSERVER_AUTO_PROFILE = True DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': '/tmp/p3.db', } } <commit_msg>Add the basic configuration for PostgreSQL for the dev<commit_after>from pycon.settings import * DEFAULT_URL_PREFIX='http://localhost:8000' DEBUG=True PAYPAL_TEST = True TEMPLATES[0]['OPTIONS']['debug'] = True INSTALLED_APPS = INSTALLED_APPS + ( 'django_extensions', 'django_pdb', 'test_without_migrations', # 'devserver', ) #TEST_WITHOUT_MIGRATIONS_COMMAND = 'django_nose.management.commands.test.Command' MIDDLEWARE_CLASSES = MIDDLEWARE_CLASSES + ( 'django_pdb.middleware.PdbMiddleware', # 'devserver.middleware.DevServerMiddleware', ) DEVSERVER_MODULES = ( 'devserver.modules.sql.SQLRealTimeModule', 'devserver.modules.sql.SQLSummaryModule', 'devserver.modules.profile.ProfileSummaryModule', # Modules not enabled by default 'devserver.modules.profile.LineProfilerModule', ) DEVSERVER_AUTO_PROFILE = True DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': '/tmp/p3.db', } } # DATABASES = { # 'default': { # 'ENGINE': 'django.db.backends.postgresql_psycopg2', # 'NAME': os.environ.get("DATABASE_NAME", 'epcon'), # 'USER': os.environ.get("POSTGRES_USER", 'epcon'), # 'PASSWORD': os.environ.get("POSTGRES_PASSWORD", 'epcon'), # 'HOST': os.environ.get("POSTGRES_HOST", '172.15.201.10'), # 'PORT': os.environ.get("POSTGRES_PORT", '5432'), # }, # }
3c0c0e81cb377e38d901a05633dc4f26b820558b
openkamer/management/commands/add_tk_person_ids.py
openkamer/management/commands/add_tk_person_ids.py
import logging from django.core.management.base import BaseCommand from parliament.models import Parliament from openkamer.parliament import add_tk_person_id logger = logging.getLogger(__name__) class Command(BaseCommand): def handle(self, *args, **options): for member in Parliament.get_or_create_tweede_kamer().members: person = add_tk_person_id(member.person) if not person.tk_id: print('NOT FOUND FOR : {} ({})'.format(person.surname, person.initials))
import logging from django.core.management.base import BaseCommand from person.models import Person from openkamer.parliament import add_tk_person_id logger = logging.getLogger(__name__) class Command(BaseCommand): def handle(self, *args, **options): for person in Person.objects.all(): person = add_tk_person_id(person) if not person.tk_id: print('NOT FOUND FOR : {} ({})'.format(person.surname, person.initials))
Change command to update all persons
Change command to update all persons
Python
mit
openkamer/openkamer,openkamer/openkamer,openkamer/openkamer,openkamer/openkamer
import logging from django.core.management.base import BaseCommand from parliament.models import Parliament from openkamer.parliament import add_tk_person_id logger = logging.getLogger(__name__) class Command(BaseCommand): def handle(self, *args, **options): for member in Parliament.get_or_create_tweede_kamer().members: person = add_tk_person_id(member.person) if not person.tk_id: print('NOT FOUND FOR : {} ({})'.format(person.surname, person.initials)) Change command to update all persons
import logging from django.core.management.base import BaseCommand from person.models import Person from openkamer.parliament import add_tk_person_id logger = logging.getLogger(__name__) class Command(BaseCommand): def handle(self, *args, **options): for person in Person.objects.all(): person = add_tk_person_id(person) if not person.tk_id: print('NOT FOUND FOR : {} ({})'.format(person.surname, person.initials))
<commit_before>import logging from django.core.management.base import BaseCommand from parliament.models import Parliament from openkamer.parliament import add_tk_person_id logger = logging.getLogger(__name__) class Command(BaseCommand): def handle(self, *args, **options): for member in Parliament.get_or_create_tweede_kamer().members: person = add_tk_person_id(member.person) if not person.tk_id: print('NOT FOUND FOR : {} ({})'.format(person.surname, person.initials)) <commit_msg>Change command to update all persons<commit_after>
import logging from django.core.management.base import BaseCommand from person.models import Person from openkamer.parliament import add_tk_person_id logger = logging.getLogger(__name__) class Command(BaseCommand): def handle(self, *args, **options): for person in Person.objects.all(): person = add_tk_person_id(person) if not person.tk_id: print('NOT FOUND FOR : {} ({})'.format(person.surname, person.initials))
import logging from django.core.management.base import BaseCommand from parliament.models import Parliament from openkamer.parliament import add_tk_person_id logger = logging.getLogger(__name__) class Command(BaseCommand): def handle(self, *args, **options): for member in Parliament.get_or_create_tweede_kamer().members: person = add_tk_person_id(member.person) if not person.tk_id: print('NOT FOUND FOR : {} ({})'.format(person.surname, person.initials)) Change command to update all personsimport logging from django.core.management.base import BaseCommand from person.models import Person from openkamer.parliament import add_tk_person_id logger = logging.getLogger(__name__) class Command(BaseCommand): def handle(self, *args, **options): for person in Person.objects.all(): person = add_tk_person_id(person) if not person.tk_id: print('NOT FOUND FOR : {} ({})'.format(person.surname, person.initials))
<commit_before>import logging from django.core.management.base import BaseCommand from parliament.models import Parliament from openkamer.parliament import add_tk_person_id logger = logging.getLogger(__name__) class Command(BaseCommand): def handle(self, *args, **options): for member in Parliament.get_or_create_tweede_kamer().members: person = add_tk_person_id(member.person) if not person.tk_id: print('NOT FOUND FOR : {} ({})'.format(person.surname, person.initials)) <commit_msg>Change command to update all persons<commit_after>import logging from django.core.management.base import BaseCommand from person.models import Person from openkamer.parliament import add_tk_person_id logger = logging.getLogger(__name__) class Command(BaseCommand): def handle(self, *args, **options): for person in Person.objects.all(): person = add_tk_person_id(person) if not person.tk_id: print('NOT FOUND FOR : {} ({})'.format(person.surname, person.initials))
97ce053e3573980a4852a40cb6129edcf9fbc28f
ciscripts/coverage/bii/coverage.py
ciscripts/coverage/bii/coverage.py
# /ciscripts/coverage/bii/coverage.py # # Submit coverage totals for a bii project to coveralls # # See /LICENCE.md for Copyright information """Submit coverage totals for a bii project to coveralls.""" import errno import os from contextlib import contextmanager def _move_ignore_enoent(src, dst): """Move src to dst, ignoring ENOENT.""" try: os.rename(src, dst) except OSError as error: if error.errno != errno.ENOENT: raise error @contextmanager def _bii_deps_in_place(cont): """Move bii project dependencies into layout. The coverage step may require these dependencies to be present. """ bii_dir = os.path.join(cont.named_cache_dir("cmake-build"), "bii") _move_ignore_enoent(bii_dir, os.path.join(os.getcwd(), "bii")) try: yield finally: _move_ignore_enoent(os.path.join(os.getcwd(), "bii"), bii_dir) def run(cont, util, shell, argv=None): """Submit coverage total to coveralls, with bii specific preparation.""" with _bii_deps_in_place(cont): util.fetch_and_import("coverage/cmake/coverage.py").run(cont, util, shell, argv)
# /ciscripts/coverage/bii/coverage.py # # Submit coverage totals for a bii project to coveralls # # See /LICENCE.md for Copyright information """Submit coverage totals for a bii project to coveralls.""" import errno import os from contextlib import contextmanager def _move_ignore_enoent(src, dst): """Move src to dst, ignoring ENOENT.""" try: os.rename(src, dst) except OSError as error: if error.errno != errno.ENOENT: raise error @contextmanager def _bii_deps_in_place(cont): """Move bii project dependencies into layout. The coverage step may require these dependencies to be present. """ bii_dir = os.path.join(cont.named_cache_dir("cmake-build"), "bii") _move_ignore_enoent(bii_dir, os.path.join(os.getcwd(), "bii")) try: yield finally: _move_ignore_enoent(os.path.join(os.getcwd(), "bii"), bii_dir) def run(cont, util, shell, argv=None): """Submit coverage total to coveralls, with bii specific preparation.""" with _bii_deps_in_place(cont): cont.fetch_and_import("coverage/cmake/coverage.py").run(cont, util, shell, argv)
Call fetch_and_import on the right module
bii: Call fetch_and_import on the right module
Python
mit
polysquare/polysquare-ci-scripts,polysquare/polysquare-ci-scripts
# /ciscripts/coverage/bii/coverage.py # # Submit coverage totals for a bii project to coveralls # # See /LICENCE.md for Copyright information """Submit coverage totals for a bii project to coveralls.""" import errno import os from contextlib import contextmanager def _move_ignore_enoent(src, dst): """Move src to dst, ignoring ENOENT.""" try: os.rename(src, dst) except OSError as error: if error.errno != errno.ENOENT: raise error @contextmanager def _bii_deps_in_place(cont): """Move bii project dependencies into layout. The coverage step may require these dependencies to be present. """ bii_dir = os.path.join(cont.named_cache_dir("cmake-build"), "bii") _move_ignore_enoent(bii_dir, os.path.join(os.getcwd(), "bii")) try: yield finally: _move_ignore_enoent(os.path.join(os.getcwd(), "bii"), bii_dir) def run(cont, util, shell, argv=None): """Submit coverage total to coveralls, with bii specific preparation.""" with _bii_deps_in_place(cont): util.fetch_and_import("coverage/cmake/coverage.py").run(cont, util, shell, argv) bii: Call fetch_and_import on the right module
# /ciscripts/coverage/bii/coverage.py # # Submit coverage totals for a bii project to coveralls # # See /LICENCE.md for Copyright information """Submit coverage totals for a bii project to coveralls.""" import errno import os from contextlib import contextmanager def _move_ignore_enoent(src, dst): """Move src to dst, ignoring ENOENT.""" try: os.rename(src, dst) except OSError as error: if error.errno != errno.ENOENT: raise error @contextmanager def _bii_deps_in_place(cont): """Move bii project dependencies into layout. The coverage step may require these dependencies to be present. """ bii_dir = os.path.join(cont.named_cache_dir("cmake-build"), "bii") _move_ignore_enoent(bii_dir, os.path.join(os.getcwd(), "bii")) try: yield finally: _move_ignore_enoent(os.path.join(os.getcwd(), "bii"), bii_dir) def run(cont, util, shell, argv=None): """Submit coverage total to coveralls, with bii specific preparation.""" with _bii_deps_in_place(cont): cont.fetch_and_import("coverage/cmake/coverage.py").run(cont, util, shell, argv)
<commit_before># /ciscripts/coverage/bii/coverage.py # # Submit coverage totals for a bii project to coveralls # # See /LICENCE.md for Copyright information """Submit coverage totals for a bii project to coveralls.""" import errno import os from contextlib import contextmanager def _move_ignore_enoent(src, dst): """Move src to dst, ignoring ENOENT.""" try: os.rename(src, dst) except OSError as error: if error.errno != errno.ENOENT: raise error @contextmanager def _bii_deps_in_place(cont): """Move bii project dependencies into layout. The coverage step may require these dependencies to be present. """ bii_dir = os.path.join(cont.named_cache_dir("cmake-build"), "bii") _move_ignore_enoent(bii_dir, os.path.join(os.getcwd(), "bii")) try: yield finally: _move_ignore_enoent(os.path.join(os.getcwd(), "bii"), bii_dir) def run(cont, util, shell, argv=None): """Submit coverage total to coveralls, with bii specific preparation.""" with _bii_deps_in_place(cont): util.fetch_and_import("coverage/cmake/coverage.py").run(cont, util, shell, argv) <commit_msg>bii: Call fetch_and_import on the right module<commit_after>
# /ciscripts/coverage/bii/coverage.py # # Submit coverage totals for a bii project to coveralls # # See /LICENCE.md for Copyright information """Submit coverage totals for a bii project to coveralls.""" import errno import os from contextlib import contextmanager def _move_ignore_enoent(src, dst): """Move src to dst, ignoring ENOENT.""" try: os.rename(src, dst) except OSError as error: if error.errno != errno.ENOENT: raise error @contextmanager def _bii_deps_in_place(cont): """Move bii project dependencies into layout. The coverage step may require these dependencies to be present. """ bii_dir = os.path.join(cont.named_cache_dir("cmake-build"), "bii") _move_ignore_enoent(bii_dir, os.path.join(os.getcwd(), "bii")) try: yield finally: _move_ignore_enoent(os.path.join(os.getcwd(), "bii"), bii_dir) def run(cont, util, shell, argv=None): """Submit coverage total to coveralls, with bii specific preparation.""" with _bii_deps_in_place(cont): cont.fetch_and_import("coverage/cmake/coverage.py").run(cont, util, shell, argv)
# /ciscripts/coverage/bii/coverage.py # # Submit coverage totals for a bii project to coveralls # # See /LICENCE.md for Copyright information """Submit coverage totals for a bii project to coveralls.""" import errno import os from contextlib import contextmanager def _move_ignore_enoent(src, dst): """Move src to dst, ignoring ENOENT.""" try: os.rename(src, dst) except OSError as error: if error.errno != errno.ENOENT: raise error @contextmanager def _bii_deps_in_place(cont): """Move bii project dependencies into layout. The coverage step may require these dependencies to be present. """ bii_dir = os.path.join(cont.named_cache_dir("cmake-build"), "bii") _move_ignore_enoent(bii_dir, os.path.join(os.getcwd(), "bii")) try: yield finally: _move_ignore_enoent(os.path.join(os.getcwd(), "bii"), bii_dir) def run(cont, util, shell, argv=None): """Submit coverage total to coveralls, with bii specific preparation.""" with _bii_deps_in_place(cont): util.fetch_and_import("coverage/cmake/coverage.py").run(cont, util, shell, argv) bii: Call fetch_and_import on the right module# /ciscripts/coverage/bii/coverage.py # # Submit coverage totals for a bii project to coveralls # # See /LICENCE.md for Copyright information """Submit coverage totals for a bii project to coveralls.""" import errno import os from contextlib import contextmanager def _move_ignore_enoent(src, dst): """Move src to dst, ignoring ENOENT.""" try: os.rename(src, dst) except OSError as error: if error.errno != errno.ENOENT: raise error @contextmanager def _bii_deps_in_place(cont): """Move bii project dependencies into layout. The coverage step may require these dependencies to be present. """ bii_dir = os.path.join(cont.named_cache_dir("cmake-build"), "bii") _move_ignore_enoent(bii_dir, os.path.join(os.getcwd(), "bii")) try: yield finally: _move_ignore_enoent(os.path.join(os.getcwd(), "bii"), bii_dir) def run(cont, util, shell, argv=None): """Submit coverage total to coveralls, with bii specific preparation.""" with _bii_deps_in_place(cont): cont.fetch_and_import("coverage/cmake/coverage.py").run(cont, util, shell, argv)
<commit_before># /ciscripts/coverage/bii/coverage.py # # Submit coverage totals for a bii project to coveralls # # See /LICENCE.md for Copyright information """Submit coverage totals for a bii project to coveralls.""" import errno import os from contextlib import contextmanager def _move_ignore_enoent(src, dst): """Move src to dst, ignoring ENOENT.""" try: os.rename(src, dst) except OSError as error: if error.errno != errno.ENOENT: raise error @contextmanager def _bii_deps_in_place(cont): """Move bii project dependencies into layout. The coverage step may require these dependencies to be present. """ bii_dir = os.path.join(cont.named_cache_dir("cmake-build"), "bii") _move_ignore_enoent(bii_dir, os.path.join(os.getcwd(), "bii")) try: yield finally: _move_ignore_enoent(os.path.join(os.getcwd(), "bii"), bii_dir) def run(cont, util, shell, argv=None): """Submit coverage total to coveralls, with bii specific preparation.""" with _bii_deps_in_place(cont): util.fetch_and_import("coverage/cmake/coverage.py").run(cont, util, shell, argv) <commit_msg>bii: Call fetch_and_import on the right module<commit_after># /ciscripts/coverage/bii/coverage.py # # Submit coverage totals for a bii project to coveralls # # See /LICENCE.md for Copyright information """Submit coverage totals for a bii project to coveralls.""" import errno import os from contextlib import contextmanager def _move_ignore_enoent(src, dst): """Move src to dst, ignoring ENOENT.""" try: os.rename(src, dst) except OSError as error: if error.errno != errno.ENOENT: raise error @contextmanager def _bii_deps_in_place(cont): """Move bii project dependencies into layout. The coverage step may require these dependencies to be present. """ bii_dir = os.path.join(cont.named_cache_dir("cmake-build"), "bii") _move_ignore_enoent(bii_dir, os.path.join(os.getcwd(), "bii")) try: yield finally: _move_ignore_enoent(os.path.join(os.getcwd(), "bii"), bii_dir) def run(cont, util, shell, argv=None): """Submit coverage total to coveralls, with bii specific preparation.""" with _bii_deps_in_place(cont): cont.fetch_and_import("coverage/cmake/coverage.py").run(cont, util, shell, argv)
9d70b1cb1e4f787b2c666d40eac60064b4e5a9f8
payments/management/commands/init_plans.py
payments/management/commands/init_plans.py
import decimal from django.conf import settings from django.core.management.base import BaseCommand import stripe class Command(BaseCommand): help = "Make sure your Stripe account has the plans" def handle(self, *args, **options): stripe.api_key = settings.STRIPE_SECRET_KEY for plan in settings.PAYMENTS_PLANS: if settings.PAYMENTS_PLANS[plan].get("stripe_plan_id"): price = settings.PAYMENTS_PLANS[plan]["price"] if isinstance(price, decimal.Decimal): amount = int(100 * price) else: amount = int(100 * decimal.Decimal(str(price))) stripe.Plan.create( amount=amount, interval=settings.PAYMENTS_PLANS[plan]["interval"], name=settings.PAYMENTS_PLANS[plan]["name"], currency=settings.PAYMENTS_PLANS[plan]["currency"], trial_period_days=settings.PAYMENTS_PLANS[plan].get("trial_period_days"), id=settings.PAYMENTS_PLANS[plan].get("stripe_plan_id") ) print "Plan created for {0}".format(plan)
import decimal from django.conf import settings from django.core.management.base import BaseCommand import stripe class Command(BaseCommand): help = "Make sure your Stripe account has the plans" def handle(self, *args, **options): stripe.api_key = settings.STRIPE_SECRET_KEY for plan in settings.PAYMENTS_PLANS: if settings.PAYMENTS_PLANS[plan].get("stripe_plan_id"): price = settings.PAYMENTS_PLANS[plan]["price"] if isinstance(price, decimal.Decimal): amount = int(100 * price) else: amount = int(100 * decimal.Decimal(str(price))) stripe.Plan.create( amount=amount, interval=settings.PAYMENTS_PLANS[plan]["interval"], name=settings.PAYMENTS_PLANS[plan]["name"], currency=settings.PAYMENTS_PLANS[plan]["currency"], trial_period_days=settings.PAYMENTS_PLANS[plan].get( "trial_period_days"), id=settings.PAYMENTS_PLANS[plan].get("stripe_plan_id") ) print "Plan created for {0}".format(plan)
Break line in an odd place to keep the build from breaking.
Break line in an odd place to keep the build from breaking.
Python
mit
jamespacileo/django-stripe-payments,ZeevG/django-stripe-payments,ZeevG/django-stripe-payments,aibon/django-stripe-payments,grue/django-stripe-payments,jawed123/django-stripe-payments,boxysean/django-stripe-payments,jamespacileo/django-stripe-payments,adi-li/django-stripe-payments,crehana/django-stripe-payments,adi-li/django-stripe-payments,wahuneke/django-stripe-payments,alexhayes/django-stripe-payments,grue/django-stripe-payments,boxysean/django-stripe-payments,crehana/django-stripe-payments,alexhayes/django-stripe-payments,pinax/django-stripe-payments,aibon/django-stripe-payments,jawed123/django-stripe-payments,wahuneke/django-stripe-payments,wahuneke/django-stripe-payments
import decimal from django.conf import settings from django.core.management.base import BaseCommand import stripe class Command(BaseCommand): help = "Make sure your Stripe account has the plans" def handle(self, *args, **options): stripe.api_key = settings.STRIPE_SECRET_KEY for plan in settings.PAYMENTS_PLANS: if settings.PAYMENTS_PLANS[plan].get("stripe_plan_id"): price = settings.PAYMENTS_PLANS[plan]["price"] if isinstance(price, decimal.Decimal): amount = int(100 * price) else: amount = int(100 * decimal.Decimal(str(price))) stripe.Plan.create( amount=amount, interval=settings.PAYMENTS_PLANS[plan]["interval"], name=settings.PAYMENTS_PLANS[plan]["name"], currency=settings.PAYMENTS_PLANS[plan]["currency"], trial_period_days=settings.PAYMENTS_PLANS[plan].get("trial_period_days"), id=settings.PAYMENTS_PLANS[plan].get("stripe_plan_id") ) print "Plan created for {0}".format(plan) Break line in an odd place to keep the build from breaking.
import decimal from django.conf import settings from django.core.management.base import BaseCommand import stripe class Command(BaseCommand): help = "Make sure your Stripe account has the plans" def handle(self, *args, **options): stripe.api_key = settings.STRIPE_SECRET_KEY for plan in settings.PAYMENTS_PLANS: if settings.PAYMENTS_PLANS[plan].get("stripe_plan_id"): price = settings.PAYMENTS_PLANS[plan]["price"] if isinstance(price, decimal.Decimal): amount = int(100 * price) else: amount = int(100 * decimal.Decimal(str(price))) stripe.Plan.create( amount=amount, interval=settings.PAYMENTS_PLANS[plan]["interval"], name=settings.PAYMENTS_PLANS[plan]["name"], currency=settings.PAYMENTS_PLANS[plan]["currency"], trial_period_days=settings.PAYMENTS_PLANS[plan].get( "trial_period_days"), id=settings.PAYMENTS_PLANS[plan].get("stripe_plan_id") ) print "Plan created for {0}".format(plan)
<commit_before>import decimal from django.conf import settings from django.core.management.base import BaseCommand import stripe class Command(BaseCommand): help = "Make sure your Stripe account has the plans" def handle(self, *args, **options): stripe.api_key = settings.STRIPE_SECRET_KEY for plan in settings.PAYMENTS_PLANS: if settings.PAYMENTS_PLANS[plan].get("stripe_plan_id"): price = settings.PAYMENTS_PLANS[plan]["price"] if isinstance(price, decimal.Decimal): amount = int(100 * price) else: amount = int(100 * decimal.Decimal(str(price))) stripe.Plan.create( amount=amount, interval=settings.PAYMENTS_PLANS[plan]["interval"], name=settings.PAYMENTS_PLANS[plan]["name"], currency=settings.PAYMENTS_PLANS[plan]["currency"], trial_period_days=settings.PAYMENTS_PLANS[plan].get("trial_period_days"), id=settings.PAYMENTS_PLANS[plan].get("stripe_plan_id") ) print "Plan created for {0}".format(plan) <commit_msg>Break line in an odd place to keep the build from breaking.<commit_after>
import decimal from django.conf import settings from django.core.management.base import BaseCommand import stripe class Command(BaseCommand): help = "Make sure your Stripe account has the plans" def handle(self, *args, **options): stripe.api_key = settings.STRIPE_SECRET_KEY for plan in settings.PAYMENTS_PLANS: if settings.PAYMENTS_PLANS[plan].get("stripe_plan_id"): price = settings.PAYMENTS_PLANS[plan]["price"] if isinstance(price, decimal.Decimal): amount = int(100 * price) else: amount = int(100 * decimal.Decimal(str(price))) stripe.Plan.create( amount=amount, interval=settings.PAYMENTS_PLANS[plan]["interval"], name=settings.PAYMENTS_PLANS[plan]["name"], currency=settings.PAYMENTS_PLANS[plan]["currency"], trial_period_days=settings.PAYMENTS_PLANS[plan].get( "trial_period_days"), id=settings.PAYMENTS_PLANS[plan].get("stripe_plan_id") ) print "Plan created for {0}".format(plan)
import decimal from django.conf import settings from django.core.management.base import BaseCommand import stripe class Command(BaseCommand): help = "Make sure your Stripe account has the plans" def handle(self, *args, **options): stripe.api_key = settings.STRIPE_SECRET_KEY for plan in settings.PAYMENTS_PLANS: if settings.PAYMENTS_PLANS[plan].get("stripe_plan_id"): price = settings.PAYMENTS_PLANS[plan]["price"] if isinstance(price, decimal.Decimal): amount = int(100 * price) else: amount = int(100 * decimal.Decimal(str(price))) stripe.Plan.create( amount=amount, interval=settings.PAYMENTS_PLANS[plan]["interval"], name=settings.PAYMENTS_PLANS[plan]["name"], currency=settings.PAYMENTS_PLANS[plan]["currency"], trial_period_days=settings.PAYMENTS_PLANS[plan].get("trial_period_days"), id=settings.PAYMENTS_PLANS[plan].get("stripe_plan_id") ) print "Plan created for {0}".format(plan) Break line in an odd place to keep the build from breaking.import decimal from django.conf import settings from django.core.management.base import BaseCommand import stripe class Command(BaseCommand): help = "Make sure your Stripe account has the plans" def handle(self, *args, **options): stripe.api_key = settings.STRIPE_SECRET_KEY for plan in settings.PAYMENTS_PLANS: if settings.PAYMENTS_PLANS[plan].get("stripe_plan_id"): price = settings.PAYMENTS_PLANS[plan]["price"] if isinstance(price, decimal.Decimal): amount = int(100 * price) else: amount = int(100 * decimal.Decimal(str(price))) stripe.Plan.create( amount=amount, interval=settings.PAYMENTS_PLANS[plan]["interval"], name=settings.PAYMENTS_PLANS[plan]["name"], currency=settings.PAYMENTS_PLANS[plan]["currency"], trial_period_days=settings.PAYMENTS_PLANS[plan].get( "trial_period_days"), id=settings.PAYMENTS_PLANS[plan].get("stripe_plan_id") ) print "Plan created for {0}".format(plan)
<commit_before>import decimal from django.conf import settings from django.core.management.base import BaseCommand import stripe class Command(BaseCommand): help = "Make sure your Stripe account has the plans" def handle(self, *args, **options): stripe.api_key = settings.STRIPE_SECRET_KEY for plan in settings.PAYMENTS_PLANS: if settings.PAYMENTS_PLANS[plan].get("stripe_plan_id"): price = settings.PAYMENTS_PLANS[plan]["price"] if isinstance(price, decimal.Decimal): amount = int(100 * price) else: amount = int(100 * decimal.Decimal(str(price))) stripe.Plan.create( amount=amount, interval=settings.PAYMENTS_PLANS[plan]["interval"], name=settings.PAYMENTS_PLANS[plan]["name"], currency=settings.PAYMENTS_PLANS[plan]["currency"], trial_period_days=settings.PAYMENTS_PLANS[plan].get("trial_period_days"), id=settings.PAYMENTS_PLANS[plan].get("stripe_plan_id") ) print "Plan created for {0}".format(plan) <commit_msg>Break line in an odd place to keep the build from breaking.<commit_after>import decimal from django.conf import settings from django.core.management.base import BaseCommand import stripe class Command(BaseCommand): help = "Make sure your Stripe account has the plans" def handle(self, *args, **options): stripe.api_key = settings.STRIPE_SECRET_KEY for plan in settings.PAYMENTS_PLANS: if settings.PAYMENTS_PLANS[plan].get("stripe_plan_id"): price = settings.PAYMENTS_PLANS[plan]["price"] if isinstance(price, decimal.Decimal): amount = int(100 * price) else: amount = int(100 * decimal.Decimal(str(price))) stripe.Plan.create( amount=amount, interval=settings.PAYMENTS_PLANS[plan]["interval"], name=settings.PAYMENTS_PLANS[plan]["name"], currency=settings.PAYMENTS_PLANS[plan]["currency"], trial_period_days=settings.PAYMENTS_PLANS[plan].get( "trial_period_days"), id=settings.PAYMENTS_PLANS[plan].get("stripe_plan_id") ) print "Plan created for {0}".format(plan)
7d8755f38581cc1454250b77b35bc0fc1da2ba0e
pycounter/test/test_bad_reports.py
pycounter/test/test_bad_reports.py
from __future__ import absolute_import import unittest from pycounter import report import pycounter.exceptions class TestParseBad(unittest.TestCase): def test_bogus_report_type(self): data = [[u"Bogus Report OR7 (R4)"]] self.assertRaises(pycounter.exceptions.UnknownReportTypeError, report.parse_generic, iter(data) ) class TestBogusFiletype(unittest.TestCase): def test_bogus_file_type(self): self.assertRaises(pycounter.exceptions.PycounterException, report.parse, 'no_such_file', 'qsx' )
from __future__ import absolute_import import unittest from pycounter import report import pycounter.exceptions class TestParseBad(unittest.TestCase): def test_bogus_report_type(self): data = [[u"Bogus Report OR7 (R4)"]] self.assertRaises(pycounter.exceptions.UnknownReportTypeError, report.parse_generic, iter(data) ) def test_unsupported_report_type(self): """Test that we fail for report types that are real but unsupported""" # FIXME: eventually should be supported; remove this test when all are data = [[u"Platform Report PR1 (R4)"]] self.assertRaises(pycounter.exceptions.UnknownReportTypeError, report.parse_generic, iter(data) ) class TestBogusFiletype(unittest.TestCase): def test_bogus_file_type(self): self.assertRaises(pycounter.exceptions.PycounterException, report.parse, 'no_such_file', 'qsx' )
Test valid but unsupported report type (Platform Report)
Test valid but unsupported report type (Platform Report)
Python
mit
pitthsls/pycounter,chill17/pycounter
from __future__ import absolute_import import unittest from pycounter import report import pycounter.exceptions class TestParseBad(unittest.TestCase): def test_bogus_report_type(self): data = [[u"Bogus Report OR7 (R4)"]] self.assertRaises(pycounter.exceptions.UnknownReportTypeError, report.parse_generic, iter(data) ) class TestBogusFiletype(unittest.TestCase): def test_bogus_file_type(self): self.assertRaises(pycounter.exceptions.PycounterException, report.parse, 'no_such_file', 'qsx' ) Test valid but unsupported report type (Platform Report)
from __future__ import absolute_import import unittest from pycounter import report import pycounter.exceptions class TestParseBad(unittest.TestCase): def test_bogus_report_type(self): data = [[u"Bogus Report OR7 (R4)"]] self.assertRaises(pycounter.exceptions.UnknownReportTypeError, report.parse_generic, iter(data) ) def test_unsupported_report_type(self): """Test that we fail for report types that are real but unsupported""" # FIXME: eventually should be supported; remove this test when all are data = [[u"Platform Report PR1 (R4)"]] self.assertRaises(pycounter.exceptions.UnknownReportTypeError, report.parse_generic, iter(data) ) class TestBogusFiletype(unittest.TestCase): def test_bogus_file_type(self): self.assertRaises(pycounter.exceptions.PycounterException, report.parse, 'no_such_file', 'qsx' )
<commit_before>from __future__ import absolute_import import unittest from pycounter import report import pycounter.exceptions class TestParseBad(unittest.TestCase): def test_bogus_report_type(self): data = [[u"Bogus Report OR7 (R4)"]] self.assertRaises(pycounter.exceptions.UnknownReportTypeError, report.parse_generic, iter(data) ) class TestBogusFiletype(unittest.TestCase): def test_bogus_file_type(self): self.assertRaises(pycounter.exceptions.PycounterException, report.parse, 'no_such_file', 'qsx' ) <commit_msg>Test valid but unsupported report type (Platform Report)<commit_after>
from __future__ import absolute_import import unittest from pycounter import report import pycounter.exceptions class TestParseBad(unittest.TestCase): def test_bogus_report_type(self): data = [[u"Bogus Report OR7 (R4)"]] self.assertRaises(pycounter.exceptions.UnknownReportTypeError, report.parse_generic, iter(data) ) def test_unsupported_report_type(self): """Test that we fail for report types that are real but unsupported""" # FIXME: eventually should be supported; remove this test when all are data = [[u"Platform Report PR1 (R4)"]] self.assertRaises(pycounter.exceptions.UnknownReportTypeError, report.parse_generic, iter(data) ) class TestBogusFiletype(unittest.TestCase): def test_bogus_file_type(self): self.assertRaises(pycounter.exceptions.PycounterException, report.parse, 'no_such_file', 'qsx' )
from __future__ import absolute_import import unittest from pycounter import report import pycounter.exceptions class TestParseBad(unittest.TestCase): def test_bogus_report_type(self): data = [[u"Bogus Report OR7 (R4)"]] self.assertRaises(pycounter.exceptions.UnknownReportTypeError, report.parse_generic, iter(data) ) class TestBogusFiletype(unittest.TestCase): def test_bogus_file_type(self): self.assertRaises(pycounter.exceptions.PycounterException, report.parse, 'no_such_file', 'qsx' ) Test valid but unsupported report type (Platform Report)from __future__ import absolute_import import unittest from pycounter import report import pycounter.exceptions class TestParseBad(unittest.TestCase): def test_bogus_report_type(self): data = [[u"Bogus Report OR7 (R4)"]] self.assertRaises(pycounter.exceptions.UnknownReportTypeError, report.parse_generic, iter(data) ) def test_unsupported_report_type(self): """Test that we fail for report types that are real but unsupported""" # FIXME: eventually should be supported; remove this test when all are data = [[u"Platform Report PR1 (R4)"]] self.assertRaises(pycounter.exceptions.UnknownReportTypeError, report.parse_generic, iter(data) ) class TestBogusFiletype(unittest.TestCase): def test_bogus_file_type(self): self.assertRaises(pycounter.exceptions.PycounterException, report.parse, 'no_such_file', 'qsx' )
<commit_before>from __future__ import absolute_import import unittest from pycounter import report import pycounter.exceptions class TestParseBad(unittest.TestCase): def test_bogus_report_type(self): data = [[u"Bogus Report OR7 (R4)"]] self.assertRaises(pycounter.exceptions.UnknownReportTypeError, report.parse_generic, iter(data) ) class TestBogusFiletype(unittest.TestCase): def test_bogus_file_type(self): self.assertRaises(pycounter.exceptions.PycounterException, report.parse, 'no_such_file', 'qsx' ) <commit_msg>Test valid but unsupported report type (Platform Report)<commit_after>from __future__ import absolute_import import unittest from pycounter import report import pycounter.exceptions class TestParseBad(unittest.TestCase): def test_bogus_report_type(self): data = [[u"Bogus Report OR7 (R4)"]] self.assertRaises(pycounter.exceptions.UnknownReportTypeError, report.parse_generic, iter(data) ) def test_unsupported_report_type(self): """Test that we fail for report types that are real but unsupported""" # FIXME: eventually should be supported; remove this test when all are data = [[u"Platform Report PR1 (R4)"]] self.assertRaises(pycounter.exceptions.UnknownReportTypeError, report.parse_generic, iter(data) ) class TestBogusFiletype(unittest.TestCase): def test_bogus_file_type(self): self.assertRaises(pycounter.exceptions.PycounterException, report.parse, 'no_such_file', 'qsx' )
2b3c0b50e5f67ca673f5305ccf0219a4bca6bb7b
luigi/tasks/rgd/__init__.py
luigi/tasks/rgd/__init__.py
# -*- coding: utf-8 -*- """ Copyright [2009-2017] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ import luigi from tasks.config import rgd from databases.rgd import helpers from .organism import RgdOrganism class Rgd(luigi.WrapperTask): def requires(self): for organism in helpers.gene_files(rgd().host): yield RgdOrganism(organism=organism)
# -*- coding: utf-8 -*- """ Copyright [2009-2017] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ import luigi from databases.rgd import helpers from .organism import RgdOrganism class Rgd(luigi.WrapperTask): def requires(self): for organism in helpers.known_organisms(): yield RgdOrganism(organism=organism)
Correct method to detect known organisms
Correct method to detect known organisms
Python
apache-2.0
RNAcentral/rnacentral-import-pipeline,RNAcentral/rnacentral-import-pipeline,RNAcentral/rnacentral-import-pipeline,RNAcentral/rnacentral-import-pipeline
# -*- coding: utf-8 -*- """ Copyright [2009-2017] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ import luigi from tasks.config import rgd from databases.rgd import helpers from .organism import RgdOrganism class Rgd(luigi.WrapperTask): def requires(self): for organism in helpers.gene_files(rgd().host): yield RgdOrganism(organism=organism) Correct method to detect known organisms
# -*- coding: utf-8 -*- """ Copyright [2009-2017] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ import luigi from databases.rgd import helpers from .organism import RgdOrganism class Rgd(luigi.WrapperTask): def requires(self): for organism in helpers.known_organisms(): yield RgdOrganism(organism=organism)
<commit_before># -*- coding: utf-8 -*- """ Copyright [2009-2017] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ import luigi from tasks.config import rgd from databases.rgd import helpers from .organism import RgdOrganism class Rgd(luigi.WrapperTask): def requires(self): for organism in helpers.gene_files(rgd().host): yield RgdOrganism(organism=organism) <commit_msg>Correct method to detect known organisms<commit_after>
# -*- coding: utf-8 -*- """ Copyright [2009-2017] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ import luigi from databases.rgd import helpers from .organism import RgdOrganism class Rgd(luigi.WrapperTask): def requires(self): for organism in helpers.known_organisms(): yield RgdOrganism(organism=organism)
# -*- coding: utf-8 -*- """ Copyright [2009-2017] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ import luigi from tasks.config import rgd from databases.rgd import helpers from .organism import RgdOrganism class Rgd(luigi.WrapperTask): def requires(self): for organism in helpers.gene_files(rgd().host): yield RgdOrganism(organism=organism) Correct method to detect known organisms# -*- coding: utf-8 -*- """ Copyright [2009-2017] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ import luigi from databases.rgd import helpers from .organism import RgdOrganism class Rgd(luigi.WrapperTask): def requires(self): for organism in helpers.known_organisms(): yield RgdOrganism(organism=organism)
<commit_before># -*- coding: utf-8 -*- """ Copyright [2009-2017] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ import luigi from tasks.config import rgd from databases.rgd import helpers from .organism import RgdOrganism class Rgd(luigi.WrapperTask): def requires(self): for organism in helpers.gene_files(rgd().host): yield RgdOrganism(organism=organism) <commit_msg>Correct method to detect known organisms<commit_after># -*- coding: utf-8 -*- """ Copyright [2009-2017] EMBL-European Bioinformatics Institute Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. """ import luigi from databases.rgd import helpers from .organism import RgdOrganism class Rgd(luigi.WrapperTask): def requires(self): for organism in helpers.known_organisms(): yield RgdOrganism(organism=organism)
f76901831084c11ec633eb96c310860d15199edd
distutils/__init__.py
distutils/__init__.py
"""distutils The main package for the Python Module Distribution Utilities. Normally used from a setup script as from distutils.core import setup setup (...) """ import sys import importlib __version__ = sys.version[:sys.version.index(' ')] try: # Allow Debian and pkgsrc and Fedora (only) to customize # system # behavior. Ref pypa/distutils#2 and pypa/distutils#16 # and pypa/distutils#70. # This hook is deprecated and no other environments # should use it. importlib.import_module('_distutils_system_mod') except ImportError: pass
"""distutils The main package for the Python Module Distribution Utilities. Normally used from a setup script as from distutils.core import setup setup (...) """ import sys import importlib __version__ = sys.version[:sys.version.index(' ')] try: # Allow Debian and pkgsrc (only) to customize system # behavior. Ref pypa/distutils#2 and pypa/distutils#16. # This hook is deprecated and no other environments # should use it. importlib.import_module('_distutils_system_mod') except ImportError: pass
Revert "Update comment for _distutils_system_mod." as Fedora is not using that hook.
Revert "Update comment for _distutils_system_mod." as Fedora is not using that hook. This reverts commit 8c64fdc8560d9f7b7d3926350bba7702b0906329.
Python
mit
pypa/setuptools,pypa/setuptools,pypa/setuptools
"""distutils The main package for the Python Module Distribution Utilities. Normally used from a setup script as from distutils.core import setup setup (...) """ import sys import importlib __version__ = sys.version[:sys.version.index(' ')] try: # Allow Debian and pkgsrc and Fedora (only) to customize # system # behavior. Ref pypa/distutils#2 and pypa/distutils#16 # and pypa/distutils#70. # This hook is deprecated and no other environments # should use it. importlib.import_module('_distutils_system_mod') except ImportError: pass Revert "Update comment for _distutils_system_mod." as Fedora is not using that hook. This reverts commit 8c64fdc8560d9f7b7d3926350bba7702b0906329.
"""distutils The main package for the Python Module Distribution Utilities. Normally used from a setup script as from distutils.core import setup setup (...) """ import sys import importlib __version__ = sys.version[:sys.version.index(' ')] try: # Allow Debian and pkgsrc (only) to customize system # behavior. Ref pypa/distutils#2 and pypa/distutils#16. # This hook is deprecated and no other environments # should use it. importlib.import_module('_distutils_system_mod') except ImportError: pass
<commit_before>"""distutils The main package for the Python Module Distribution Utilities. Normally used from a setup script as from distutils.core import setup setup (...) """ import sys import importlib __version__ = sys.version[:sys.version.index(' ')] try: # Allow Debian and pkgsrc and Fedora (only) to customize # system # behavior. Ref pypa/distutils#2 and pypa/distutils#16 # and pypa/distutils#70. # This hook is deprecated and no other environments # should use it. importlib.import_module('_distutils_system_mod') except ImportError: pass <commit_msg>Revert "Update comment for _distutils_system_mod." as Fedora is not using that hook. This reverts commit 8c64fdc8560d9f7b7d3926350bba7702b0906329.<commit_after>
"""distutils The main package for the Python Module Distribution Utilities. Normally used from a setup script as from distutils.core import setup setup (...) """ import sys import importlib __version__ = sys.version[:sys.version.index(' ')] try: # Allow Debian and pkgsrc (only) to customize system # behavior. Ref pypa/distutils#2 and pypa/distutils#16. # This hook is deprecated and no other environments # should use it. importlib.import_module('_distutils_system_mod') except ImportError: pass
"""distutils The main package for the Python Module Distribution Utilities. Normally used from a setup script as from distutils.core import setup setup (...) """ import sys import importlib __version__ = sys.version[:sys.version.index(' ')] try: # Allow Debian and pkgsrc and Fedora (only) to customize # system # behavior. Ref pypa/distutils#2 and pypa/distutils#16 # and pypa/distutils#70. # This hook is deprecated and no other environments # should use it. importlib.import_module('_distutils_system_mod') except ImportError: pass Revert "Update comment for _distutils_system_mod." as Fedora is not using that hook. This reverts commit 8c64fdc8560d9f7b7d3926350bba7702b0906329."""distutils The main package for the Python Module Distribution Utilities. Normally used from a setup script as from distutils.core import setup setup (...) """ import sys import importlib __version__ = sys.version[:sys.version.index(' ')] try: # Allow Debian and pkgsrc (only) to customize system # behavior. Ref pypa/distutils#2 and pypa/distutils#16. # This hook is deprecated and no other environments # should use it. importlib.import_module('_distutils_system_mod') except ImportError: pass
<commit_before>"""distutils The main package for the Python Module Distribution Utilities. Normally used from a setup script as from distutils.core import setup setup (...) """ import sys import importlib __version__ = sys.version[:sys.version.index(' ')] try: # Allow Debian and pkgsrc and Fedora (only) to customize # system # behavior. Ref pypa/distutils#2 and pypa/distutils#16 # and pypa/distutils#70. # This hook is deprecated and no other environments # should use it. importlib.import_module('_distutils_system_mod') except ImportError: pass <commit_msg>Revert "Update comment for _distutils_system_mod." as Fedora is not using that hook. This reverts commit 8c64fdc8560d9f7b7d3926350bba7702b0906329.<commit_after>"""distutils The main package for the Python Module Distribution Utilities. Normally used from a setup script as from distutils.core import setup setup (...) """ import sys import importlib __version__ = sys.version[:sys.version.index(' ')] try: # Allow Debian and pkgsrc (only) to customize system # behavior. Ref pypa/distutils#2 and pypa/distutils#16. # This hook is deprecated and no other environments # should use it. importlib.import_module('_distutils_system_mod') except ImportError: pass
47537ebc8b5e869be4b853da1350e865bcbc1aa1
astroid/const.py
astroid/const.py
import enum import sys PY37 = sys.version_info >= (3, 7) PY38 = sys.version_info >= (3, 8) PY39 = sys.version_info >= (3, 9) PY310 = sys.version_info >= (3, 10) class Context(enum.Enum): Load = 1 Store = 2 Del = 3 Load = Context.Load Store = Context.Store Del = Context.Del
import enum import sys PY37 = sys.version_info >= (3, 7) PY38 = sys.version_info >= (3, 8) PY39 = sys.version_info >= (3, 9) PY310 = sys.version_info >= (3, 10) class Context(enum.Enum): Load = 1 Store = 2 Del = 3 # TODO Remove in 3.0 in favor of Context Load = Context.Load # pylint: disable=invalid-name Store = Context.Store # pylint: disable=invalid-name Del = Context.Del # pylint: disable=invalid-name
Add a todo to remove Load, Del, Store
Add a todo to remove Load, Del, Store
Python
lgpl-2.1
PyCQA/astroid
import enum import sys PY37 = sys.version_info >= (3, 7) PY38 = sys.version_info >= (3, 8) PY39 = sys.version_info >= (3, 9) PY310 = sys.version_info >= (3, 10) class Context(enum.Enum): Load = 1 Store = 2 Del = 3 Load = Context.Load Store = Context.Store Del = Context.Del Add a todo to remove Load, Del, Store
import enum import sys PY37 = sys.version_info >= (3, 7) PY38 = sys.version_info >= (3, 8) PY39 = sys.version_info >= (3, 9) PY310 = sys.version_info >= (3, 10) class Context(enum.Enum): Load = 1 Store = 2 Del = 3 # TODO Remove in 3.0 in favor of Context Load = Context.Load # pylint: disable=invalid-name Store = Context.Store # pylint: disable=invalid-name Del = Context.Del # pylint: disable=invalid-name
<commit_before>import enum import sys PY37 = sys.version_info >= (3, 7) PY38 = sys.version_info >= (3, 8) PY39 = sys.version_info >= (3, 9) PY310 = sys.version_info >= (3, 10) class Context(enum.Enum): Load = 1 Store = 2 Del = 3 Load = Context.Load Store = Context.Store Del = Context.Del <commit_msg>Add a todo to remove Load, Del, Store<commit_after>
import enum import sys PY37 = sys.version_info >= (3, 7) PY38 = sys.version_info >= (3, 8) PY39 = sys.version_info >= (3, 9) PY310 = sys.version_info >= (3, 10) class Context(enum.Enum): Load = 1 Store = 2 Del = 3 # TODO Remove in 3.0 in favor of Context Load = Context.Load # pylint: disable=invalid-name Store = Context.Store # pylint: disable=invalid-name Del = Context.Del # pylint: disable=invalid-name
import enum import sys PY37 = sys.version_info >= (3, 7) PY38 = sys.version_info >= (3, 8) PY39 = sys.version_info >= (3, 9) PY310 = sys.version_info >= (3, 10) class Context(enum.Enum): Load = 1 Store = 2 Del = 3 Load = Context.Load Store = Context.Store Del = Context.Del Add a todo to remove Load, Del, Storeimport enum import sys PY37 = sys.version_info >= (3, 7) PY38 = sys.version_info >= (3, 8) PY39 = sys.version_info >= (3, 9) PY310 = sys.version_info >= (3, 10) class Context(enum.Enum): Load = 1 Store = 2 Del = 3 # TODO Remove in 3.0 in favor of Context Load = Context.Load # pylint: disable=invalid-name Store = Context.Store # pylint: disable=invalid-name Del = Context.Del # pylint: disable=invalid-name
<commit_before>import enum import sys PY37 = sys.version_info >= (3, 7) PY38 = sys.version_info >= (3, 8) PY39 = sys.version_info >= (3, 9) PY310 = sys.version_info >= (3, 10) class Context(enum.Enum): Load = 1 Store = 2 Del = 3 Load = Context.Load Store = Context.Store Del = Context.Del <commit_msg>Add a todo to remove Load, Del, Store<commit_after>import enum import sys PY37 = sys.version_info >= (3, 7) PY38 = sys.version_info >= (3, 8) PY39 = sys.version_info >= (3, 9) PY310 = sys.version_info >= (3, 10) class Context(enum.Enum): Load = 1 Store = 2 Del = 3 # TODO Remove in 3.0 in favor of Context Load = Context.Load # pylint: disable=invalid-name Store = Context.Store # pylint: disable=invalid-name Del = Context.Del # pylint: disable=invalid-name
b466e2e11494fb73dbb86c190910a4b7c23fe203
build.py
build.py
# -*- coding: UTF-8 -*- import os import platform import logging if __name__ == "__main__": #logging.basicConfig(level = logging.DEBUG) directory_solution = r'build/' build = 1 if build == 0: build = "Debug" else: build = "Release" name_system = platform.system() source_directory = os.getcwd() generate_project = r' ' build_project = r'' if name_system == 'Windows': generate_project += r'cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=' + build + ' ' + source_directory build_project = r'mingw32-make' elif name_system == 'Linux' or name_system == 'Darwin': generate_project += r'cmake -G "Unix Makefiles" ' + source_directory build_project = r'make' logging.debug(generate_project) logging.debug(build_project) if not os.path.isdir(directory_solution): os.makedirs(directory_solution) os.chdir(directory_solution) os.system(generate_project) os.system(build_project)
# -*- coding: UTF-8 -*- import os import platform import logging if __name__ == "__main__": #logging.basicConfig(level = logging.DEBUG) directory_solution = r'build/' build = 1 if build == 0: build = "Debug" else: build = "Release" name_system = platform.system() source_directory = os.getcwd() generate_project = r' ' build_project = r'' if name_system == 'Windows': generate_project += r'cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=' + build + ' ' + source_directory build_project = r'mingw32-make' elif name_system == 'Linux' or name_system == 'Darwin': generate_project += r'cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=' + build + ' ' + source_directory build_project = r'make' logging.debug(generate_project) logging.debug(build_project) if not os.path.isdir(directory_solution): os.makedirs(directory_solution) os.chdir(directory_solution) os.system(generate_project) os.system(build_project)
Add DCMAKE_BUILD_TYPE flag for *nix
Add DCMAKE_BUILD_TYPE flag for *nix
Python
mit
ATetiukhin/Davidon_Fletcher_Powell,ATetiukhin/Davidon_Fletcher_Powell
# -*- coding: UTF-8 -*- import os import platform import logging if __name__ == "__main__": #logging.basicConfig(level = logging.DEBUG) directory_solution = r'build/' build = 1 if build == 0: build = "Debug" else: build = "Release" name_system = platform.system() source_directory = os.getcwd() generate_project = r' ' build_project = r'' if name_system == 'Windows': generate_project += r'cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=' + build + ' ' + source_directory build_project = r'mingw32-make' elif name_system == 'Linux' or name_system == 'Darwin': generate_project += r'cmake -G "Unix Makefiles" ' + source_directory build_project = r'make' logging.debug(generate_project) logging.debug(build_project) if not os.path.isdir(directory_solution): os.makedirs(directory_solution) os.chdir(directory_solution) os.system(generate_project) os.system(build_project) Add DCMAKE_BUILD_TYPE flag for *nix
# -*- coding: UTF-8 -*- import os import platform import logging if __name__ == "__main__": #logging.basicConfig(level = logging.DEBUG) directory_solution = r'build/' build = 1 if build == 0: build = "Debug" else: build = "Release" name_system = platform.system() source_directory = os.getcwd() generate_project = r' ' build_project = r'' if name_system == 'Windows': generate_project += r'cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=' + build + ' ' + source_directory build_project = r'mingw32-make' elif name_system == 'Linux' or name_system == 'Darwin': generate_project += r'cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=' + build + ' ' + source_directory build_project = r'make' logging.debug(generate_project) logging.debug(build_project) if not os.path.isdir(directory_solution): os.makedirs(directory_solution) os.chdir(directory_solution) os.system(generate_project) os.system(build_project)
<commit_before># -*- coding: UTF-8 -*- import os import platform import logging if __name__ == "__main__": #logging.basicConfig(level = logging.DEBUG) directory_solution = r'build/' build = 1 if build == 0: build = "Debug" else: build = "Release" name_system = platform.system() source_directory = os.getcwd() generate_project = r' ' build_project = r'' if name_system == 'Windows': generate_project += r'cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=' + build + ' ' + source_directory build_project = r'mingw32-make' elif name_system == 'Linux' or name_system == 'Darwin': generate_project += r'cmake -G "Unix Makefiles" ' + source_directory build_project = r'make' logging.debug(generate_project) logging.debug(build_project) if not os.path.isdir(directory_solution): os.makedirs(directory_solution) os.chdir(directory_solution) os.system(generate_project) os.system(build_project) <commit_msg>Add DCMAKE_BUILD_TYPE flag for *nix<commit_after>
# -*- coding: UTF-8 -*- import os import platform import logging if __name__ == "__main__": #logging.basicConfig(level = logging.DEBUG) directory_solution = r'build/' build = 1 if build == 0: build = "Debug" else: build = "Release" name_system = platform.system() source_directory = os.getcwd() generate_project = r' ' build_project = r'' if name_system == 'Windows': generate_project += r'cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=' + build + ' ' + source_directory build_project = r'mingw32-make' elif name_system == 'Linux' or name_system == 'Darwin': generate_project += r'cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=' + build + ' ' + source_directory build_project = r'make' logging.debug(generate_project) logging.debug(build_project) if not os.path.isdir(directory_solution): os.makedirs(directory_solution) os.chdir(directory_solution) os.system(generate_project) os.system(build_project)
# -*- coding: UTF-8 -*- import os import platform import logging if __name__ == "__main__": #logging.basicConfig(level = logging.DEBUG) directory_solution = r'build/' build = 1 if build == 0: build = "Debug" else: build = "Release" name_system = platform.system() source_directory = os.getcwd() generate_project = r' ' build_project = r'' if name_system == 'Windows': generate_project += r'cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=' + build + ' ' + source_directory build_project = r'mingw32-make' elif name_system == 'Linux' or name_system == 'Darwin': generate_project += r'cmake -G "Unix Makefiles" ' + source_directory build_project = r'make' logging.debug(generate_project) logging.debug(build_project) if not os.path.isdir(directory_solution): os.makedirs(directory_solution) os.chdir(directory_solution) os.system(generate_project) os.system(build_project) Add DCMAKE_BUILD_TYPE flag for *nix# -*- coding: UTF-8 -*- import os import platform import logging if __name__ == "__main__": #logging.basicConfig(level = logging.DEBUG) directory_solution = r'build/' build = 1 if build == 0: build = "Debug" else: build = "Release" name_system = platform.system() source_directory = os.getcwd() generate_project = r' ' build_project = r'' if name_system == 'Windows': generate_project += r'cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=' + build + ' ' + source_directory build_project = r'mingw32-make' elif name_system == 'Linux' or name_system == 'Darwin': generate_project += r'cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=' + build + ' ' + source_directory build_project = r'make' logging.debug(generate_project) logging.debug(build_project) if not os.path.isdir(directory_solution): os.makedirs(directory_solution) os.chdir(directory_solution) os.system(generate_project) os.system(build_project)
<commit_before># -*- coding: UTF-8 -*- import os import platform import logging if __name__ == "__main__": #logging.basicConfig(level = logging.DEBUG) directory_solution = r'build/' build = 1 if build == 0: build = "Debug" else: build = "Release" name_system = platform.system() source_directory = os.getcwd() generate_project = r' ' build_project = r'' if name_system == 'Windows': generate_project += r'cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=' + build + ' ' + source_directory build_project = r'mingw32-make' elif name_system == 'Linux' or name_system == 'Darwin': generate_project += r'cmake -G "Unix Makefiles" ' + source_directory build_project = r'make' logging.debug(generate_project) logging.debug(build_project) if not os.path.isdir(directory_solution): os.makedirs(directory_solution) os.chdir(directory_solution) os.system(generate_project) os.system(build_project) <commit_msg>Add DCMAKE_BUILD_TYPE flag for *nix<commit_after># -*- coding: UTF-8 -*- import os import platform import logging if __name__ == "__main__": #logging.basicConfig(level = logging.DEBUG) directory_solution = r'build/' build = 1 if build == 0: build = "Debug" else: build = "Release" name_system = platform.system() source_directory = os.getcwd() generate_project = r' ' build_project = r'' if name_system == 'Windows': generate_project += r'cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=' + build + ' ' + source_directory build_project = r'mingw32-make' elif name_system == 'Linux' or name_system == 'Darwin': generate_project += r'cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=' + build + ' ' + source_directory build_project = r'make' logging.debug(generate_project) logging.debug(build_project) if not os.path.isdir(directory_solution): os.makedirs(directory_solution) os.chdir(directory_solution) os.system(generate_project) os.system(build_project)
72f79bb208fb71e40e10e6dd5a2ee8be2e744336
pvextractor/tests/test_wcspath.py
pvextractor/tests/test_wcspath.py
from .. import pvregions from astropy import wcs from astropy.io import fits import numpy as np import os def data_path(filename): data_dir = os.path.join(os.path.dirname(__file__), 'data') return os.path.join(data_dir, filename) def test_wcspath(): p1,p2 = pvregions.paths_from_regfile(data_path('tests.reg')) w = wcs.WCS(fits.Header.fromtextfile(data_path('w51.hdr'))) p1.set_wcs(w) shouldbe = (61.593585, 75.950471, 88.911616, 72.820463, 96.025686, 88.470505, 113.95314, 95.868707, 186.80123, 76.235017, 226.35546, 100.99054) xy = (np.array(zip(shouldbe[::2],shouldbe[1::2])) - 1) np.testing.assert_allclose(np.array((p1.xy)), xy, rtol=1e-5)
import os import pytest import numpy as np from astropy import wcs from astropy.io import fits from .. import pvregions def data_path(filename): data_dir = os.path.join(os.path.dirname(__file__), 'data') return os.path.join(data_dir, filename) @pytest.mark.xfail def test_wcspath(): p1,p2 = pvregions.paths_from_regfile(data_path('tests.reg')) w = wcs.WCS(fits.Header.fromtextfile(data_path('w51.hdr'))) p1.set_wcs(w) shouldbe = (61.593585, 75.950471, 88.911616, 72.820463, 96.025686, 88.470505, 113.95314, 95.868707, 186.80123, 76.235017, 226.35546, 100.99054) xy = (np.array(zip(shouldbe[::2],shouldbe[1::2])) - 1) np.testing.assert_allclose(np.array((p1.xy)), xy, rtol=1e-5)
Mark test as xfail since it requires a fork of pyregion
Mark test as xfail since it requires a fork of pyregion
Python
bsd-3-clause
keflavich/pvextractor,radio-astro-tools/pvextractor
from .. import pvregions from astropy import wcs from astropy.io import fits import numpy as np import os def data_path(filename): data_dir = os.path.join(os.path.dirname(__file__), 'data') return os.path.join(data_dir, filename) def test_wcspath(): p1,p2 = pvregions.paths_from_regfile(data_path('tests.reg')) w = wcs.WCS(fits.Header.fromtextfile(data_path('w51.hdr'))) p1.set_wcs(w) shouldbe = (61.593585, 75.950471, 88.911616, 72.820463, 96.025686, 88.470505, 113.95314, 95.868707, 186.80123, 76.235017, 226.35546, 100.99054) xy = (np.array(zip(shouldbe[::2],shouldbe[1::2])) - 1) np.testing.assert_allclose(np.array((p1.xy)), xy, rtol=1e-5) Mark test as xfail since it requires a fork of pyregion
import os import pytest import numpy as np from astropy import wcs from astropy.io import fits from .. import pvregions def data_path(filename): data_dir = os.path.join(os.path.dirname(__file__), 'data') return os.path.join(data_dir, filename) @pytest.mark.xfail def test_wcspath(): p1,p2 = pvregions.paths_from_regfile(data_path('tests.reg')) w = wcs.WCS(fits.Header.fromtextfile(data_path('w51.hdr'))) p1.set_wcs(w) shouldbe = (61.593585, 75.950471, 88.911616, 72.820463, 96.025686, 88.470505, 113.95314, 95.868707, 186.80123, 76.235017, 226.35546, 100.99054) xy = (np.array(zip(shouldbe[::2],shouldbe[1::2])) - 1) np.testing.assert_allclose(np.array((p1.xy)), xy, rtol=1e-5)
<commit_before>from .. import pvregions from astropy import wcs from astropy.io import fits import numpy as np import os def data_path(filename): data_dir = os.path.join(os.path.dirname(__file__), 'data') return os.path.join(data_dir, filename) def test_wcspath(): p1,p2 = pvregions.paths_from_regfile(data_path('tests.reg')) w = wcs.WCS(fits.Header.fromtextfile(data_path('w51.hdr'))) p1.set_wcs(w) shouldbe = (61.593585, 75.950471, 88.911616, 72.820463, 96.025686, 88.470505, 113.95314, 95.868707, 186.80123, 76.235017, 226.35546, 100.99054) xy = (np.array(zip(shouldbe[::2],shouldbe[1::2])) - 1) np.testing.assert_allclose(np.array((p1.xy)), xy, rtol=1e-5) <commit_msg>Mark test as xfail since it requires a fork of pyregion<commit_after>
import os import pytest import numpy as np from astropy import wcs from astropy.io import fits from .. import pvregions def data_path(filename): data_dir = os.path.join(os.path.dirname(__file__), 'data') return os.path.join(data_dir, filename) @pytest.mark.xfail def test_wcspath(): p1,p2 = pvregions.paths_from_regfile(data_path('tests.reg')) w = wcs.WCS(fits.Header.fromtextfile(data_path('w51.hdr'))) p1.set_wcs(w) shouldbe = (61.593585, 75.950471, 88.911616, 72.820463, 96.025686, 88.470505, 113.95314, 95.868707, 186.80123, 76.235017, 226.35546, 100.99054) xy = (np.array(zip(shouldbe[::2],shouldbe[1::2])) - 1) np.testing.assert_allclose(np.array((p1.xy)), xy, rtol=1e-5)
from .. import pvregions from astropy import wcs from astropy.io import fits import numpy as np import os def data_path(filename): data_dir = os.path.join(os.path.dirname(__file__), 'data') return os.path.join(data_dir, filename) def test_wcspath(): p1,p2 = pvregions.paths_from_regfile(data_path('tests.reg')) w = wcs.WCS(fits.Header.fromtextfile(data_path('w51.hdr'))) p1.set_wcs(w) shouldbe = (61.593585, 75.950471, 88.911616, 72.820463, 96.025686, 88.470505, 113.95314, 95.868707, 186.80123, 76.235017, 226.35546, 100.99054) xy = (np.array(zip(shouldbe[::2],shouldbe[1::2])) - 1) np.testing.assert_allclose(np.array((p1.xy)), xy, rtol=1e-5) Mark test as xfail since it requires a fork of pyregionimport os import pytest import numpy as np from astropy import wcs from astropy.io import fits from .. import pvregions def data_path(filename): data_dir = os.path.join(os.path.dirname(__file__), 'data') return os.path.join(data_dir, filename) @pytest.mark.xfail def test_wcspath(): p1,p2 = pvregions.paths_from_regfile(data_path('tests.reg')) w = wcs.WCS(fits.Header.fromtextfile(data_path('w51.hdr'))) p1.set_wcs(w) shouldbe = (61.593585, 75.950471, 88.911616, 72.820463, 96.025686, 88.470505, 113.95314, 95.868707, 186.80123, 76.235017, 226.35546, 100.99054) xy = (np.array(zip(shouldbe[::2],shouldbe[1::2])) - 1) np.testing.assert_allclose(np.array((p1.xy)), xy, rtol=1e-5)
<commit_before>from .. import pvregions from astropy import wcs from astropy.io import fits import numpy as np import os def data_path(filename): data_dir = os.path.join(os.path.dirname(__file__), 'data') return os.path.join(data_dir, filename) def test_wcspath(): p1,p2 = pvregions.paths_from_regfile(data_path('tests.reg')) w = wcs.WCS(fits.Header.fromtextfile(data_path('w51.hdr'))) p1.set_wcs(w) shouldbe = (61.593585, 75.950471, 88.911616, 72.820463, 96.025686, 88.470505, 113.95314, 95.868707, 186.80123, 76.235017, 226.35546, 100.99054) xy = (np.array(zip(shouldbe[::2],shouldbe[1::2])) - 1) np.testing.assert_allclose(np.array((p1.xy)), xy, rtol=1e-5) <commit_msg>Mark test as xfail since it requires a fork of pyregion<commit_after>import os import pytest import numpy as np from astropy import wcs from astropy.io import fits from .. import pvregions def data_path(filename): data_dir = os.path.join(os.path.dirname(__file__), 'data') return os.path.join(data_dir, filename) @pytest.mark.xfail def test_wcspath(): p1,p2 = pvregions.paths_from_regfile(data_path('tests.reg')) w = wcs.WCS(fits.Header.fromtextfile(data_path('w51.hdr'))) p1.set_wcs(w) shouldbe = (61.593585, 75.950471, 88.911616, 72.820463, 96.025686, 88.470505, 113.95314, 95.868707, 186.80123, 76.235017, 226.35546, 100.99054) xy = (np.array(zip(shouldbe[::2],shouldbe[1::2])) - 1) np.testing.assert_allclose(np.array((p1.xy)), xy, rtol=1e-5)
375d89598acac9ef31063fc0fc6c9613d6c2d20c
bluebottle/initiatives/urls/api.py
bluebottle/initiatives/urls/api.py
from django.conf.urls import url from bluebottle.initiatives.views import ( InitiativeList, InitiativeDetail, InitiativeImage, InitiativeReviewTransitionList ) urlpatterns = [ url( r'^transitions$', InitiativeReviewTransitionList.as_view(), name='initiative-review-transition-list' ), url(r'^$', InitiativeList.as_view(), name='initiative-list'), url(r'^/(?P<pk>\d+)$', InitiativeDetail.as_view(), name='initiative-detail'), url( r'^/(?P<pk>\d+)/image/(?P<size>\d+x\d+)$', InitiativeImage.as_view(), name='initiative-image' ) ]
from django.conf.urls import url from bluebottle.initiatives.views import ( InitiativeList, InitiativeDetail, InitiativeImage, InitiativeReviewTransitionList ) urlpatterns = [ url( r'^/transitions$', InitiativeReviewTransitionList.as_view(), name='initiative-review-transition-list' ), url(r'^$', InitiativeList.as_view(), name='initiative-list'), url(r'^/(?P<pk>\d+)$', InitiativeDetail.as_view(), name='initiative-detail'), url( r'^/(?P<pk>\d+)/image/(?P<size>\d+x\d+)$', InitiativeImage.as_view(), name='initiative-image' ) ]
Add slash to initiative submit url
Add slash to initiative submit url
Python
bsd-3-clause
onepercentclub/bluebottle,onepercentclub/bluebottle,onepercentclub/bluebottle,onepercentclub/bluebottle,onepercentclub/bluebottle
from django.conf.urls import url from bluebottle.initiatives.views import ( InitiativeList, InitiativeDetail, InitiativeImage, InitiativeReviewTransitionList ) urlpatterns = [ url( r'^transitions$', InitiativeReviewTransitionList.as_view(), name='initiative-review-transition-list' ), url(r'^$', InitiativeList.as_view(), name='initiative-list'), url(r'^/(?P<pk>\d+)$', InitiativeDetail.as_view(), name='initiative-detail'), url( r'^/(?P<pk>\d+)/image/(?P<size>\d+x\d+)$', InitiativeImage.as_view(), name='initiative-image' ) ] Add slash to initiative submit url
from django.conf.urls import url from bluebottle.initiatives.views import ( InitiativeList, InitiativeDetail, InitiativeImage, InitiativeReviewTransitionList ) urlpatterns = [ url( r'^/transitions$', InitiativeReviewTransitionList.as_view(), name='initiative-review-transition-list' ), url(r'^$', InitiativeList.as_view(), name='initiative-list'), url(r'^/(?P<pk>\d+)$', InitiativeDetail.as_view(), name='initiative-detail'), url( r'^/(?P<pk>\d+)/image/(?P<size>\d+x\d+)$', InitiativeImage.as_view(), name='initiative-image' ) ]
<commit_before>from django.conf.urls import url from bluebottle.initiatives.views import ( InitiativeList, InitiativeDetail, InitiativeImage, InitiativeReviewTransitionList ) urlpatterns = [ url( r'^transitions$', InitiativeReviewTransitionList.as_view(), name='initiative-review-transition-list' ), url(r'^$', InitiativeList.as_view(), name='initiative-list'), url(r'^/(?P<pk>\d+)$', InitiativeDetail.as_view(), name='initiative-detail'), url( r'^/(?P<pk>\d+)/image/(?P<size>\d+x\d+)$', InitiativeImage.as_view(), name='initiative-image' ) ] <commit_msg>Add slash to initiative submit url<commit_after>
from django.conf.urls import url from bluebottle.initiatives.views import ( InitiativeList, InitiativeDetail, InitiativeImage, InitiativeReviewTransitionList ) urlpatterns = [ url( r'^/transitions$', InitiativeReviewTransitionList.as_view(), name='initiative-review-transition-list' ), url(r'^$', InitiativeList.as_view(), name='initiative-list'), url(r'^/(?P<pk>\d+)$', InitiativeDetail.as_view(), name='initiative-detail'), url( r'^/(?P<pk>\d+)/image/(?P<size>\d+x\d+)$', InitiativeImage.as_view(), name='initiative-image' ) ]
from django.conf.urls import url from bluebottle.initiatives.views import ( InitiativeList, InitiativeDetail, InitiativeImage, InitiativeReviewTransitionList ) urlpatterns = [ url( r'^transitions$', InitiativeReviewTransitionList.as_view(), name='initiative-review-transition-list' ), url(r'^$', InitiativeList.as_view(), name='initiative-list'), url(r'^/(?P<pk>\d+)$', InitiativeDetail.as_view(), name='initiative-detail'), url( r'^/(?P<pk>\d+)/image/(?P<size>\d+x\d+)$', InitiativeImage.as_view(), name='initiative-image' ) ] Add slash to initiative submit urlfrom django.conf.urls import url from bluebottle.initiatives.views import ( InitiativeList, InitiativeDetail, InitiativeImage, InitiativeReviewTransitionList ) urlpatterns = [ url( r'^/transitions$', InitiativeReviewTransitionList.as_view(), name='initiative-review-transition-list' ), url(r'^$', InitiativeList.as_view(), name='initiative-list'), url(r'^/(?P<pk>\d+)$', InitiativeDetail.as_view(), name='initiative-detail'), url( r'^/(?P<pk>\d+)/image/(?P<size>\d+x\d+)$', InitiativeImage.as_view(), name='initiative-image' ) ]
<commit_before>from django.conf.urls import url from bluebottle.initiatives.views import ( InitiativeList, InitiativeDetail, InitiativeImage, InitiativeReviewTransitionList ) urlpatterns = [ url( r'^transitions$', InitiativeReviewTransitionList.as_view(), name='initiative-review-transition-list' ), url(r'^$', InitiativeList.as_view(), name='initiative-list'), url(r'^/(?P<pk>\d+)$', InitiativeDetail.as_view(), name='initiative-detail'), url( r'^/(?P<pk>\d+)/image/(?P<size>\d+x\d+)$', InitiativeImage.as_view(), name='initiative-image' ) ] <commit_msg>Add slash to initiative submit url<commit_after>from django.conf.urls import url from bluebottle.initiatives.views import ( InitiativeList, InitiativeDetail, InitiativeImage, InitiativeReviewTransitionList ) urlpatterns = [ url( r'^/transitions$', InitiativeReviewTransitionList.as_view(), name='initiative-review-transition-list' ), url(r'^$', InitiativeList.as_view(), name='initiative-list'), url(r'^/(?P<pk>\d+)$', InitiativeDetail.as_view(), name='initiative-detail'), url( r'^/(?P<pk>\d+)/image/(?P<size>\d+x\d+)$', InitiativeImage.as_view(), name='initiative-image' ) ]
c67f260cf034ad8fbb7e1377f7185cc77976447e
ceph_deploy/hosts/suse/__init__.py
ceph_deploy/hosts/suse/__init__.py
import mon # noqa from install import install, mirror_install, repo_install # noqa from uninstall import uninstall # noqa import logging from ceph_deploy.util import pkg_managers # Allow to set some information about this distro # log = logging.getLogger(__name__) distro = None release = None codename = None def choose_init(module): """ Select a init system Returns the name of a init system (upstart, sysvinit ...). """ init_mapping = { '11' : 'sysvinit', # SLE_11 '12' : 'systemd', # SLE_12 '13.1' : 'systemd', # openSUSE_13.1 } return init_mapping.get(release, 'sysvinit') def get_packager(module): return pkg_managers.Zypper(module)
import mon # noqa from install import install, mirror_install, repo_install # noqa from uninstall import uninstall # noqa import logging from ceph_deploy.util import pkg_managers # Allow to set some information about this distro # log = logging.getLogger(__name__) distro = None release = None codename = None def choose_init(module): """ Select a init system Returns the name of a init system (upstart, sysvinit ...). """ init_mapping = { '11' : 'sysvinit', # SLE_11 '12' : 'systemd', # SLE_12 '13.1' : 'systemd', # openSUSE_13.1 } return init_mapping.get(release, 'systemd') def get_packager(module): return pkg_managers.Zypper(module)
Set default init to systemd for (open)SUSE
[RM-14742] Set default init to systemd for (open)SUSE (open)SUSE is now using systemd moving forward, this patch corrects behavior on Tumbleweed and LEAP openSUSE Tumbleweed distribution is a pure rolling release version of openSUSE running the latest packages. openSUSE LEAP is a rolling release version of openSUSE based on SUSE linux Enterprise. Signed-off-by: Owen Synge <ea78e0e20fce5319fd66b8fd4f543d9e30ef46a5@suse.com>
Python
mit
Vicente-Cheng/ceph-deploy,ceph/ceph-deploy,Vicente-Cheng/ceph-deploy,SUSE/ceph-deploy,trhoden/ceph-deploy,SUSE/ceph-deploy,trhoden/ceph-deploy,codenrhoden/ceph-deploy,codenrhoden/ceph-deploy,ceph/ceph-deploy
import mon # noqa from install import install, mirror_install, repo_install # noqa from uninstall import uninstall # noqa import logging from ceph_deploy.util import pkg_managers # Allow to set some information about this distro # log = logging.getLogger(__name__) distro = None release = None codename = None def choose_init(module): """ Select a init system Returns the name of a init system (upstart, sysvinit ...). """ init_mapping = { '11' : 'sysvinit', # SLE_11 '12' : 'systemd', # SLE_12 '13.1' : 'systemd', # openSUSE_13.1 } return init_mapping.get(release, 'sysvinit') def get_packager(module): return pkg_managers.Zypper(module) [RM-14742] Set default init to systemd for (open)SUSE (open)SUSE is now using systemd moving forward, this patch corrects behavior on Tumbleweed and LEAP openSUSE Tumbleweed distribution is a pure rolling release version of openSUSE running the latest packages. openSUSE LEAP is a rolling release version of openSUSE based on SUSE linux Enterprise. Signed-off-by: Owen Synge <ea78e0e20fce5319fd66b8fd4f543d9e30ef46a5@suse.com>
import mon # noqa from install import install, mirror_install, repo_install # noqa from uninstall import uninstall # noqa import logging from ceph_deploy.util import pkg_managers # Allow to set some information about this distro # log = logging.getLogger(__name__) distro = None release = None codename = None def choose_init(module): """ Select a init system Returns the name of a init system (upstart, sysvinit ...). """ init_mapping = { '11' : 'sysvinit', # SLE_11 '12' : 'systemd', # SLE_12 '13.1' : 'systemd', # openSUSE_13.1 } return init_mapping.get(release, 'systemd') def get_packager(module): return pkg_managers.Zypper(module)
<commit_before>import mon # noqa from install import install, mirror_install, repo_install # noqa from uninstall import uninstall # noqa import logging from ceph_deploy.util import pkg_managers # Allow to set some information about this distro # log = logging.getLogger(__name__) distro = None release = None codename = None def choose_init(module): """ Select a init system Returns the name of a init system (upstart, sysvinit ...). """ init_mapping = { '11' : 'sysvinit', # SLE_11 '12' : 'systemd', # SLE_12 '13.1' : 'systemd', # openSUSE_13.1 } return init_mapping.get(release, 'sysvinit') def get_packager(module): return pkg_managers.Zypper(module) <commit_msg>[RM-14742] Set default init to systemd for (open)SUSE (open)SUSE is now using systemd moving forward, this patch corrects behavior on Tumbleweed and LEAP openSUSE Tumbleweed distribution is a pure rolling release version of openSUSE running the latest packages. openSUSE LEAP is a rolling release version of openSUSE based on SUSE linux Enterprise. Signed-off-by: Owen Synge <ea78e0e20fce5319fd66b8fd4f543d9e30ef46a5@suse.com><commit_after>
import mon # noqa from install import install, mirror_install, repo_install # noqa from uninstall import uninstall # noqa import logging from ceph_deploy.util import pkg_managers # Allow to set some information about this distro # log = logging.getLogger(__name__) distro = None release = None codename = None def choose_init(module): """ Select a init system Returns the name of a init system (upstart, sysvinit ...). """ init_mapping = { '11' : 'sysvinit', # SLE_11 '12' : 'systemd', # SLE_12 '13.1' : 'systemd', # openSUSE_13.1 } return init_mapping.get(release, 'systemd') def get_packager(module): return pkg_managers.Zypper(module)
import mon # noqa from install import install, mirror_install, repo_install # noqa from uninstall import uninstall # noqa import logging from ceph_deploy.util import pkg_managers # Allow to set some information about this distro # log = logging.getLogger(__name__) distro = None release = None codename = None def choose_init(module): """ Select a init system Returns the name of a init system (upstart, sysvinit ...). """ init_mapping = { '11' : 'sysvinit', # SLE_11 '12' : 'systemd', # SLE_12 '13.1' : 'systemd', # openSUSE_13.1 } return init_mapping.get(release, 'sysvinit') def get_packager(module): return pkg_managers.Zypper(module) [RM-14742] Set default init to systemd for (open)SUSE (open)SUSE is now using systemd moving forward, this patch corrects behavior on Tumbleweed and LEAP openSUSE Tumbleweed distribution is a pure rolling release version of openSUSE running the latest packages. openSUSE LEAP is a rolling release version of openSUSE based on SUSE linux Enterprise. Signed-off-by: Owen Synge <ea78e0e20fce5319fd66b8fd4f543d9e30ef46a5@suse.com>import mon # noqa from install import install, mirror_install, repo_install # noqa from uninstall import uninstall # noqa import logging from ceph_deploy.util import pkg_managers # Allow to set some information about this distro # log = logging.getLogger(__name__) distro = None release = None codename = None def choose_init(module): """ Select a init system Returns the name of a init system (upstart, sysvinit ...). """ init_mapping = { '11' : 'sysvinit', # SLE_11 '12' : 'systemd', # SLE_12 '13.1' : 'systemd', # openSUSE_13.1 } return init_mapping.get(release, 'systemd') def get_packager(module): return pkg_managers.Zypper(module)
<commit_before>import mon # noqa from install import install, mirror_install, repo_install # noqa from uninstall import uninstall # noqa import logging from ceph_deploy.util import pkg_managers # Allow to set some information about this distro # log = logging.getLogger(__name__) distro = None release = None codename = None def choose_init(module): """ Select a init system Returns the name of a init system (upstart, sysvinit ...). """ init_mapping = { '11' : 'sysvinit', # SLE_11 '12' : 'systemd', # SLE_12 '13.1' : 'systemd', # openSUSE_13.1 } return init_mapping.get(release, 'sysvinit') def get_packager(module): return pkg_managers.Zypper(module) <commit_msg>[RM-14742] Set default init to systemd for (open)SUSE (open)SUSE is now using systemd moving forward, this patch corrects behavior on Tumbleweed and LEAP openSUSE Tumbleweed distribution is a pure rolling release version of openSUSE running the latest packages. openSUSE LEAP is a rolling release version of openSUSE based on SUSE linux Enterprise. Signed-off-by: Owen Synge <ea78e0e20fce5319fd66b8fd4f543d9e30ef46a5@suse.com><commit_after>import mon # noqa from install import install, mirror_install, repo_install # noqa from uninstall import uninstall # noqa import logging from ceph_deploy.util import pkg_managers # Allow to set some information about this distro # log = logging.getLogger(__name__) distro = None release = None codename = None def choose_init(module): """ Select a init system Returns the name of a init system (upstart, sysvinit ...). """ init_mapping = { '11' : 'sysvinit', # SLE_11 '12' : 'systemd', # SLE_12 '13.1' : 'systemd', # openSUSE_13.1 } return init_mapping.get(release, 'systemd') def get_packager(module): return pkg_managers.Zypper(module)
d6b74654459d33d3b84c7b6ec474a304a6a65a20
demographics/forms.py
demographics/forms.py
from django.forms import ModelForm from crispy_forms.helper import FormHelper from crispy_forms.layout import Submit, Layout, Fieldset from . import models class DemographicsForm(ModelForm): class Meta: model = models.Demographics exclude = ['patient', 'creation_date'] def __init__(self, *args, **kwargs): super(DemographicsForm, self).__init__(*args, **kwargs) self.helper = FormHelper() self.helper.form_method = 'post' self.helper.form_class = 'form-horizontal' self.helper.label_class = 'col-lg-2' self.helper.field_class = 'col-lg-8' self.helper.layout = Layout( Fieldset('Medical', 'has_insurance', 'ER_visit_last_year', 'last_date_physician_visit', 'chronic_condition'), Fieldset('Social', 'lives_alone', 'dependents', 'resource_access', 'transportation'), Fieldset('Employment', 'currently_employed', 'education_level', 'work_status', 'annual_income') ) self.helper.add_input(Submit('submit', 'Submit'))
from django.forms import ModelForm from crispy_forms.helper import FormHelper from crispy_forms.layout import Submit, Layout, Fieldset from . import models class DemographicsForm(ModelForm): class Meta: model = models.Demographics exclude = ['patient', 'creation_date'] def __init__(self, *args, **kwargs): super(DemographicsForm, self).__init__(*args, **kwargs) self.helper = FormHelper() self.helper.form_method = 'post' self.helper.layout = Layout( Fieldset('Medical', 'has_insurance', 'ER_visit_last_year', 'last_date_physician_visit', 'chronic_condition'), Fieldset('Social', 'lives_alone', 'dependents', 'resource_access', 'transportation'), Fieldset('Employment', 'currently_employed', 'education_level', 'work_status', 'annual_income') ) self.helper.add_input(Submit('submit', 'Submit'))
Fix demographics resolve form formatting.
Fix demographics resolve form formatting.
Python
mit
SaturdayNeighborhoodHealthClinic/clintools,SaturdayNeighborhoodHealthClinic/clintools,SaturdayNeighborhoodHealthClinic/clintools
from django.forms import ModelForm from crispy_forms.helper import FormHelper from crispy_forms.layout import Submit, Layout, Fieldset from . import models class DemographicsForm(ModelForm): class Meta: model = models.Demographics exclude = ['patient', 'creation_date'] def __init__(self, *args, **kwargs): super(DemographicsForm, self).__init__(*args, **kwargs) self.helper = FormHelper() self.helper.form_method = 'post' self.helper.form_class = 'form-horizontal' self.helper.label_class = 'col-lg-2' self.helper.field_class = 'col-lg-8' self.helper.layout = Layout( Fieldset('Medical', 'has_insurance', 'ER_visit_last_year', 'last_date_physician_visit', 'chronic_condition'), Fieldset('Social', 'lives_alone', 'dependents', 'resource_access', 'transportation'), Fieldset('Employment', 'currently_employed', 'education_level', 'work_status', 'annual_income') ) self.helper.add_input(Submit('submit', 'Submit')) Fix demographics resolve form formatting.
from django.forms import ModelForm from crispy_forms.helper import FormHelper from crispy_forms.layout import Submit, Layout, Fieldset from . import models class DemographicsForm(ModelForm): class Meta: model = models.Demographics exclude = ['patient', 'creation_date'] def __init__(self, *args, **kwargs): super(DemographicsForm, self).__init__(*args, **kwargs) self.helper = FormHelper() self.helper.form_method = 'post' self.helper.layout = Layout( Fieldset('Medical', 'has_insurance', 'ER_visit_last_year', 'last_date_physician_visit', 'chronic_condition'), Fieldset('Social', 'lives_alone', 'dependents', 'resource_access', 'transportation'), Fieldset('Employment', 'currently_employed', 'education_level', 'work_status', 'annual_income') ) self.helper.add_input(Submit('submit', 'Submit'))
<commit_before>from django.forms import ModelForm from crispy_forms.helper import FormHelper from crispy_forms.layout import Submit, Layout, Fieldset from . import models class DemographicsForm(ModelForm): class Meta: model = models.Demographics exclude = ['patient', 'creation_date'] def __init__(self, *args, **kwargs): super(DemographicsForm, self).__init__(*args, **kwargs) self.helper = FormHelper() self.helper.form_method = 'post' self.helper.form_class = 'form-horizontal' self.helper.label_class = 'col-lg-2' self.helper.field_class = 'col-lg-8' self.helper.layout = Layout( Fieldset('Medical', 'has_insurance', 'ER_visit_last_year', 'last_date_physician_visit', 'chronic_condition'), Fieldset('Social', 'lives_alone', 'dependents', 'resource_access', 'transportation'), Fieldset('Employment', 'currently_employed', 'education_level', 'work_status', 'annual_income') ) self.helper.add_input(Submit('submit', 'Submit')) <commit_msg>Fix demographics resolve form formatting.<commit_after>
from django.forms import ModelForm from crispy_forms.helper import FormHelper from crispy_forms.layout import Submit, Layout, Fieldset from . import models class DemographicsForm(ModelForm): class Meta: model = models.Demographics exclude = ['patient', 'creation_date'] def __init__(self, *args, **kwargs): super(DemographicsForm, self).__init__(*args, **kwargs) self.helper = FormHelper() self.helper.form_method = 'post' self.helper.layout = Layout( Fieldset('Medical', 'has_insurance', 'ER_visit_last_year', 'last_date_physician_visit', 'chronic_condition'), Fieldset('Social', 'lives_alone', 'dependents', 'resource_access', 'transportation'), Fieldset('Employment', 'currently_employed', 'education_level', 'work_status', 'annual_income') ) self.helper.add_input(Submit('submit', 'Submit'))
from django.forms import ModelForm from crispy_forms.helper import FormHelper from crispy_forms.layout import Submit, Layout, Fieldset from . import models class DemographicsForm(ModelForm): class Meta: model = models.Demographics exclude = ['patient', 'creation_date'] def __init__(self, *args, **kwargs): super(DemographicsForm, self).__init__(*args, **kwargs) self.helper = FormHelper() self.helper.form_method = 'post' self.helper.form_class = 'form-horizontal' self.helper.label_class = 'col-lg-2' self.helper.field_class = 'col-lg-8' self.helper.layout = Layout( Fieldset('Medical', 'has_insurance', 'ER_visit_last_year', 'last_date_physician_visit', 'chronic_condition'), Fieldset('Social', 'lives_alone', 'dependents', 'resource_access', 'transportation'), Fieldset('Employment', 'currently_employed', 'education_level', 'work_status', 'annual_income') ) self.helper.add_input(Submit('submit', 'Submit')) Fix demographics resolve form formatting.from django.forms import ModelForm from crispy_forms.helper import FormHelper from crispy_forms.layout import Submit, Layout, Fieldset from . import models class DemographicsForm(ModelForm): class Meta: model = models.Demographics exclude = ['patient', 'creation_date'] def __init__(self, *args, **kwargs): super(DemographicsForm, self).__init__(*args, **kwargs) self.helper = FormHelper() self.helper.form_method = 'post' self.helper.layout = Layout( Fieldset('Medical', 'has_insurance', 'ER_visit_last_year', 'last_date_physician_visit', 'chronic_condition'), Fieldset('Social', 'lives_alone', 'dependents', 'resource_access', 'transportation'), Fieldset('Employment', 'currently_employed', 'education_level', 'work_status', 'annual_income') ) self.helper.add_input(Submit('submit', 'Submit'))
<commit_before>from django.forms import ModelForm from crispy_forms.helper import FormHelper from crispy_forms.layout import Submit, Layout, Fieldset from . import models class DemographicsForm(ModelForm): class Meta: model = models.Demographics exclude = ['patient', 'creation_date'] def __init__(self, *args, **kwargs): super(DemographicsForm, self).__init__(*args, **kwargs) self.helper = FormHelper() self.helper.form_method = 'post' self.helper.form_class = 'form-horizontal' self.helper.label_class = 'col-lg-2' self.helper.field_class = 'col-lg-8' self.helper.layout = Layout( Fieldset('Medical', 'has_insurance', 'ER_visit_last_year', 'last_date_physician_visit', 'chronic_condition'), Fieldset('Social', 'lives_alone', 'dependents', 'resource_access', 'transportation'), Fieldset('Employment', 'currently_employed', 'education_level', 'work_status', 'annual_income') ) self.helper.add_input(Submit('submit', 'Submit')) <commit_msg>Fix demographics resolve form formatting.<commit_after>from django.forms import ModelForm from crispy_forms.helper import FormHelper from crispy_forms.layout import Submit, Layout, Fieldset from . import models class DemographicsForm(ModelForm): class Meta: model = models.Demographics exclude = ['patient', 'creation_date'] def __init__(self, *args, **kwargs): super(DemographicsForm, self).__init__(*args, **kwargs) self.helper = FormHelper() self.helper.form_method = 'post' self.helper.layout = Layout( Fieldset('Medical', 'has_insurance', 'ER_visit_last_year', 'last_date_physician_visit', 'chronic_condition'), Fieldset('Social', 'lives_alone', 'dependents', 'resource_access', 'transportation'), Fieldset('Employment', 'currently_employed', 'education_level', 'work_status', 'annual_income') ) self.helper.add_input(Submit('submit', 'Submit'))
c9f7c36e8f6bdf32a39f1ac8cd9ebbcf80df4a20
saleor/dashboard/category/forms.py
saleor/dashboard/category/forms.py
from django import forms from django.utils.text import slugify from django.utils.translation import ugettext_lazy as _ from mptt.forms import TreeNodeChoiceField from unidecode import unidecode from ...product.models import Category class CategoryForm(forms.ModelForm): parent = TreeNodeChoiceField(queryset=Category.objects.all(), required=False) class Meta: model = Category exclude = ['slug'] def clean_parent(self): parent = self.cleaned_data['parent'] if parent: if parent == self.instance: raise forms.ValidationError(_('A category may not be made a child of itself')) if self.instance in parent.get_ancestors(): raise forms.ValidationError(_('A category may not be made a child of any of its descendants.')) return parent def save(self, commit=True): self.instance.slug = slugify(unidecode(self.instance.name)) self.instance.set_hidden_descendants(self.cleaned_data['hidden']) return super(CategoryForm, self).save(commit=commit)
from django import forms from django.utils.text import slugify from django.utils.translation import ugettext_lazy as _ from mptt.forms import TreeNodeChoiceField from unidecode import unidecode from ...product.models import Category class CategoryForm(forms.ModelForm): parent = TreeNodeChoiceField(queryset=Category.objects.all(), required=False) class Meta: model = Category exclude = ['slug'] def clean_parent(self): parent = self.cleaned_data['parent'] if parent: if parent == self.instance: raise forms.ValidationError(_('A category may not be made a child of itself')) if self.instance in parent.get_ancestors(): raise forms.ValidationError(_('A category may not be made a child of any of its descendants.')) return parent def save(self, commit=True): self.instance.slug = slugify(unidecode(self.instance.name)) super(CategoryForm, self).save(commit=commit) self.instance.set_hidden_descendants(self.cleaned_data['hidden']) return self.instance
Fix getting category's descendants before save
Fix getting category's descendants before save
Python
bsd-3-clause
taedori81/saleor,laosunhust/saleor,taedori81/saleor,josesanch/saleor,laosunhust/saleor,maferelo/saleor,rodrigozn/CW-Shop,josesanch/saleor,paweltin/saleor,tfroehlich82/saleor,car3oon/saleor,arth-co/saleor,rodrigozn/CW-Shop,avorio/saleor,paweltin/saleor,maferelo/saleor,KenMutemi/saleor,rchav/vinerack,itbabu/saleor,avorio/saleor,arth-co/saleor,HyperManTT/ECommerceSaleor,mociepka/saleor,UITools/saleor,HyperManTT/ECommerceSaleor,dashmug/saleor,KenMutemi/saleor,josesanch/saleor,jreigel/saleor,UITools/saleor,jreigel/saleor,itbabu/saleor,Drekscott/Motlaesaleor,mociepka/saleor,UITools/saleor,laosunhust/saleor,spartonia/saleor,rodrigozn/CW-Shop,taedori81/saleor,tfroehlich82/saleor,arth-co/saleor,paweltin/saleor,maferelo/saleor,spartonia/saleor,UITools/saleor,Drekscott/Motlaesaleor,car3oon/saleor,avorio/saleor,laosunhust/saleor,car3oon/saleor,spartonia/saleor,taedori81/saleor,rchav/vinerack,spartonia/saleor,UITools/saleor,itbabu/saleor,Drekscott/Motlaesaleor,KenMutemi/saleor,HyperManTT/ECommerceSaleor,tfroehlich82/saleor,dashmug/saleor,Drekscott/Motlaesaleor,paweltin/saleor,avorio/saleor,arth-co/saleor,dashmug/saleor,jreigel/saleor,rchav/vinerack,mociepka/saleor
from django import forms from django.utils.text import slugify from django.utils.translation import ugettext_lazy as _ from mptt.forms import TreeNodeChoiceField from unidecode import unidecode from ...product.models import Category class CategoryForm(forms.ModelForm): parent = TreeNodeChoiceField(queryset=Category.objects.all(), required=False) class Meta: model = Category exclude = ['slug'] def clean_parent(self): parent = self.cleaned_data['parent'] if parent: if parent == self.instance: raise forms.ValidationError(_('A category may not be made a child of itself')) if self.instance in parent.get_ancestors(): raise forms.ValidationError(_('A category may not be made a child of any of its descendants.')) return parent def save(self, commit=True): self.instance.slug = slugify(unidecode(self.instance.name)) self.instance.set_hidden_descendants(self.cleaned_data['hidden']) return super(CategoryForm, self).save(commit=commit) Fix getting category's descendants before save
from django import forms from django.utils.text import slugify from django.utils.translation import ugettext_lazy as _ from mptt.forms import TreeNodeChoiceField from unidecode import unidecode from ...product.models import Category class CategoryForm(forms.ModelForm): parent = TreeNodeChoiceField(queryset=Category.objects.all(), required=False) class Meta: model = Category exclude = ['slug'] def clean_parent(self): parent = self.cleaned_data['parent'] if parent: if parent == self.instance: raise forms.ValidationError(_('A category may not be made a child of itself')) if self.instance in parent.get_ancestors(): raise forms.ValidationError(_('A category may not be made a child of any of its descendants.')) return parent def save(self, commit=True): self.instance.slug = slugify(unidecode(self.instance.name)) super(CategoryForm, self).save(commit=commit) self.instance.set_hidden_descendants(self.cleaned_data['hidden']) return self.instance
<commit_before>from django import forms from django.utils.text import slugify from django.utils.translation import ugettext_lazy as _ from mptt.forms import TreeNodeChoiceField from unidecode import unidecode from ...product.models import Category class CategoryForm(forms.ModelForm): parent = TreeNodeChoiceField(queryset=Category.objects.all(), required=False) class Meta: model = Category exclude = ['slug'] def clean_parent(self): parent = self.cleaned_data['parent'] if parent: if parent == self.instance: raise forms.ValidationError(_('A category may not be made a child of itself')) if self.instance in parent.get_ancestors(): raise forms.ValidationError(_('A category may not be made a child of any of its descendants.')) return parent def save(self, commit=True): self.instance.slug = slugify(unidecode(self.instance.name)) self.instance.set_hidden_descendants(self.cleaned_data['hidden']) return super(CategoryForm, self).save(commit=commit) <commit_msg>Fix getting category's descendants before save<commit_after>
from django import forms from django.utils.text import slugify from django.utils.translation import ugettext_lazy as _ from mptt.forms import TreeNodeChoiceField from unidecode import unidecode from ...product.models import Category class CategoryForm(forms.ModelForm): parent = TreeNodeChoiceField(queryset=Category.objects.all(), required=False) class Meta: model = Category exclude = ['slug'] def clean_parent(self): parent = self.cleaned_data['parent'] if parent: if parent == self.instance: raise forms.ValidationError(_('A category may not be made a child of itself')) if self.instance in parent.get_ancestors(): raise forms.ValidationError(_('A category may not be made a child of any of its descendants.')) return parent def save(self, commit=True): self.instance.slug = slugify(unidecode(self.instance.name)) super(CategoryForm, self).save(commit=commit) self.instance.set_hidden_descendants(self.cleaned_data['hidden']) return self.instance
from django import forms from django.utils.text import slugify from django.utils.translation import ugettext_lazy as _ from mptt.forms import TreeNodeChoiceField from unidecode import unidecode from ...product.models import Category class CategoryForm(forms.ModelForm): parent = TreeNodeChoiceField(queryset=Category.objects.all(), required=False) class Meta: model = Category exclude = ['slug'] def clean_parent(self): parent = self.cleaned_data['parent'] if parent: if parent == self.instance: raise forms.ValidationError(_('A category may not be made a child of itself')) if self.instance in parent.get_ancestors(): raise forms.ValidationError(_('A category may not be made a child of any of its descendants.')) return parent def save(self, commit=True): self.instance.slug = slugify(unidecode(self.instance.name)) self.instance.set_hidden_descendants(self.cleaned_data['hidden']) return super(CategoryForm, self).save(commit=commit) Fix getting category's descendants before savefrom django import forms from django.utils.text import slugify from django.utils.translation import ugettext_lazy as _ from mptt.forms import TreeNodeChoiceField from unidecode import unidecode from ...product.models import Category class CategoryForm(forms.ModelForm): parent = TreeNodeChoiceField(queryset=Category.objects.all(), required=False) class Meta: model = Category exclude = ['slug'] def clean_parent(self): parent = self.cleaned_data['parent'] if parent: if parent == self.instance: raise forms.ValidationError(_('A category may not be made a child of itself')) if self.instance in parent.get_ancestors(): raise forms.ValidationError(_('A category may not be made a child of any of its descendants.')) return parent def save(self, commit=True): self.instance.slug = slugify(unidecode(self.instance.name)) super(CategoryForm, self).save(commit=commit) self.instance.set_hidden_descendants(self.cleaned_data['hidden']) return self.instance
<commit_before>from django import forms from django.utils.text import slugify from django.utils.translation import ugettext_lazy as _ from mptt.forms import TreeNodeChoiceField from unidecode import unidecode from ...product.models import Category class CategoryForm(forms.ModelForm): parent = TreeNodeChoiceField(queryset=Category.objects.all(), required=False) class Meta: model = Category exclude = ['slug'] def clean_parent(self): parent = self.cleaned_data['parent'] if parent: if parent == self.instance: raise forms.ValidationError(_('A category may not be made a child of itself')) if self.instance in parent.get_ancestors(): raise forms.ValidationError(_('A category may not be made a child of any of its descendants.')) return parent def save(self, commit=True): self.instance.slug = slugify(unidecode(self.instance.name)) self.instance.set_hidden_descendants(self.cleaned_data['hidden']) return super(CategoryForm, self).save(commit=commit) <commit_msg>Fix getting category's descendants before save<commit_after>from django import forms from django.utils.text import slugify from django.utils.translation import ugettext_lazy as _ from mptt.forms import TreeNodeChoiceField from unidecode import unidecode from ...product.models import Category class CategoryForm(forms.ModelForm): parent = TreeNodeChoiceField(queryset=Category.objects.all(), required=False) class Meta: model = Category exclude = ['slug'] def clean_parent(self): parent = self.cleaned_data['parent'] if parent: if parent == self.instance: raise forms.ValidationError(_('A category may not be made a child of itself')) if self.instance in parent.get_ancestors(): raise forms.ValidationError(_('A category may not be made a child of any of its descendants.')) return parent def save(self, commit=True): self.instance.slug = slugify(unidecode(self.instance.name)) super(CategoryForm, self).save(commit=commit) self.instance.set_hidden_descendants(self.cleaned_data['hidden']) return self.instance
2c201d11f988fb741ac74cc91e17520e217eb2f8
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup setup(name='xml_models', version='0.3', description='XML backed models queried from external REST apis', author='Chris Tarttelin and Cam McHugh', author_email='ctarttelin@point2.com', url='http://djangorestmodel.sourceforge.net/', packages=['rest_client', 'xml_models'], install_requires=['mock', 'py-dom-xpath'] )
#!/usr/bin/env python from distutils.core import setup setup(name='xml_models', version='0.4', description='XML backed models queried from external REST apis', author='Chris Tarttelin and Cam McHugh', author_email='ctarttelin@point2.com', url='http://djangorestmodel.sourceforge.net/', packages=['rest_client', 'xml_models'], install_requires=['mock', 'py-dom-xpath'] )
Increment the version for the next update to pypi
Increment the version for the next update to pypi
Python
bsd-2-clause
macropin/xml-models-redux
#!/usr/bin/env python from distutils.core import setup setup(name='xml_models', version='0.3', description='XML backed models queried from external REST apis', author='Chris Tarttelin and Cam McHugh', author_email='ctarttelin@point2.com', url='http://djangorestmodel.sourceforge.net/', packages=['rest_client', 'xml_models'], install_requires=['mock', 'py-dom-xpath'] ) Increment the version for the next update to pypi
#!/usr/bin/env python from distutils.core import setup setup(name='xml_models', version='0.4', description='XML backed models queried from external REST apis', author='Chris Tarttelin and Cam McHugh', author_email='ctarttelin@point2.com', url='http://djangorestmodel.sourceforge.net/', packages=['rest_client', 'xml_models'], install_requires=['mock', 'py-dom-xpath'] )
<commit_before>#!/usr/bin/env python from distutils.core import setup setup(name='xml_models', version='0.3', description='XML backed models queried from external REST apis', author='Chris Tarttelin and Cam McHugh', author_email='ctarttelin@point2.com', url='http://djangorestmodel.sourceforge.net/', packages=['rest_client', 'xml_models'], install_requires=['mock', 'py-dom-xpath'] ) <commit_msg>Increment the version for the next update to pypi<commit_after>
#!/usr/bin/env python from distutils.core import setup setup(name='xml_models', version='0.4', description='XML backed models queried from external REST apis', author='Chris Tarttelin and Cam McHugh', author_email='ctarttelin@point2.com', url='http://djangorestmodel.sourceforge.net/', packages=['rest_client', 'xml_models'], install_requires=['mock', 'py-dom-xpath'] )
#!/usr/bin/env python from distutils.core import setup setup(name='xml_models', version='0.3', description='XML backed models queried from external REST apis', author='Chris Tarttelin and Cam McHugh', author_email='ctarttelin@point2.com', url='http://djangorestmodel.sourceforge.net/', packages=['rest_client', 'xml_models'], install_requires=['mock', 'py-dom-xpath'] ) Increment the version for the next update to pypi#!/usr/bin/env python from distutils.core import setup setup(name='xml_models', version='0.4', description='XML backed models queried from external REST apis', author='Chris Tarttelin and Cam McHugh', author_email='ctarttelin@point2.com', url='http://djangorestmodel.sourceforge.net/', packages=['rest_client', 'xml_models'], install_requires=['mock', 'py-dom-xpath'] )
<commit_before>#!/usr/bin/env python from distutils.core import setup setup(name='xml_models', version='0.3', description='XML backed models queried from external REST apis', author='Chris Tarttelin and Cam McHugh', author_email='ctarttelin@point2.com', url='http://djangorestmodel.sourceforge.net/', packages=['rest_client', 'xml_models'], install_requires=['mock', 'py-dom-xpath'] ) <commit_msg>Increment the version for the next update to pypi<commit_after>#!/usr/bin/env python from distutils.core import setup setup(name='xml_models', version='0.4', description='XML backed models queried from external REST apis', author='Chris Tarttelin and Cam McHugh', author_email='ctarttelin@point2.com', url='http://djangorestmodel.sourceforge.net/', packages=['rest_client', 'xml_models'], install_requires=['mock', 'py-dom-xpath'] )
0d208865fc69e8f0696137da30df4b5115219d96
setup.py
setup.py
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() setup( name='django-postgres-extra', version='1.19', packages=find_packages(), include_package_data=True, license='MIT License', description='Bringing all of PostgreSQL\'s awesomeness to Django.', long_description=README, url='https://github.com/SectorLabs/django-postgres-extra', author='Sector Labs', author_email='open-source@sectorlabs.ro', keywords=['django', 'postgres', 'extra', 'hstore', 'ltree'], classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3.5', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ] )
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8') as readme: README = readme.read() setup( name='django-postgres-extra', version='1.20', packages=find_packages(), include_package_data=True, license='MIT License', description='Bringing all of PostgreSQL\'s awesomeness to Django.', long_description=README, url='https://github.com/SectorLabs/django-postgres-extra', author='Sector Labs', author_email='open-source@sectorlabs.ro', keywords=['django', 'postgres', 'extra', 'hstore', 'ltree'], classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3.5', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ] )
Read README as UTF-8, always
Read README as UTF-8, always
Python
mit
SectorLabs/django-postgres-extra
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() setup( name='django-postgres-extra', version='1.19', packages=find_packages(), include_package_data=True, license='MIT License', description='Bringing all of PostgreSQL\'s awesomeness to Django.', long_description=README, url='https://github.com/SectorLabs/django-postgres-extra', author='Sector Labs', author_email='open-source@sectorlabs.ro', keywords=['django', 'postgres', 'extra', 'hstore', 'ltree'], classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3.5', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ] ) Read README as UTF-8, always
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8') as readme: README = readme.read() setup( name='django-postgres-extra', version='1.20', packages=find_packages(), include_package_data=True, license='MIT License', description='Bringing all of PostgreSQL\'s awesomeness to Django.', long_description=README, url='https://github.com/SectorLabs/django-postgres-extra', author='Sector Labs', author_email='open-source@sectorlabs.ro', keywords=['django', 'postgres', 'extra', 'hstore', 'ltree'], classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3.5', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ] )
<commit_before>import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() setup( name='django-postgres-extra', version='1.19', packages=find_packages(), include_package_data=True, license='MIT License', description='Bringing all of PostgreSQL\'s awesomeness to Django.', long_description=README, url='https://github.com/SectorLabs/django-postgres-extra', author='Sector Labs', author_email='open-source@sectorlabs.ro', keywords=['django', 'postgres', 'extra', 'hstore', 'ltree'], classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3.5', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ] ) <commit_msg>Read README as UTF-8, always<commit_after>
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8') as readme: README = readme.read() setup( name='django-postgres-extra', version='1.20', packages=find_packages(), include_package_data=True, license='MIT License', description='Bringing all of PostgreSQL\'s awesomeness to Django.', long_description=README, url='https://github.com/SectorLabs/django-postgres-extra', author='Sector Labs', author_email='open-source@sectorlabs.ro', keywords=['django', 'postgres', 'extra', 'hstore', 'ltree'], classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3.5', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ] )
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() setup( name='django-postgres-extra', version='1.19', packages=find_packages(), include_package_data=True, license='MIT License', description='Bringing all of PostgreSQL\'s awesomeness to Django.', long_description=README, url='https://github.com/SectorLabs/django-postgres-extra', author='Sector Labs', author_email='open-source@sectorlabs.ro', keywords=['django', 'postgres', 'extra', 'hstore', 'ltree'], classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3.5', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ] ) Read README as UTF-8, alwaysimport os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8') as readme: README = readme.read() setup( name='django-postgres-extra', version='1.20', packages=find_packages(), include_package_data=True, license='MIT License', description='Bringing all of PostgreSQL\'s awesomeness to Django.', long_description=README, url='https://github.com/SectorLabs/django-postgres-extra', author='Sector Labs', author_email='open-source@sectorlabs.ro', keywords=['django', 'postgres', 'extra', 'hstore', 'ltree'], classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3.5', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ] )
<commit_before>import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() setup( name='django-postgres-extra', version='1.19', packages=find_packages(), include_package_data=True, license='MIT License', description='Bringing all of PostgreSQL\'s awesomeness to Django.', long_description=README, url='https://github.com/SectorLabs/django-postgres-extra', author='Sector Labs', author_email='open-source@sectorlabs.ro', keywords=['django', 'postgres', 'extra', 'hstore', 'ltree'], classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3.5', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ] ) <commit_msg>Read README as UTF-8, always<commit_after>import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8') as readme: README = readme.read() setup( name='django-postgres-extra', version='1.20', packages=find_packages(), include_package_data=True, license='MIT License', description='Bringing all of PostgreSQL\'s awesomeness to Django.', long_description=README, url='https://github.com/SectorLabs/django-postgres-extra', author='Sector Labs', author_email='open-source@sectorlabs.ro', keywords=['django', 'postgres', 'extra', 'hstore', 'ltree'], classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3.5', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ] )
a36d3a621cde4a2d19bb0f1169ba707304c5caaf
setup.py
setup.py
try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages setup( name='fabtools', version='0.1', description='Tools for writing awesome Fabric files', author='Ronan Amicel', author_email='ronan.amicel@gmail.com', url='http://github.com/ronnix/fabtools', install_requires=[ "fabric>=1.2.0", ], setup_requires=[], tests_require=[ "unittest2", "mock", ], packages=find_packages(exclude=['ez_setup']), include_package_data=True, zip_safe=False, classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: BSD License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Unix', 'Operating System :: POSIX', 'Programming Language :: Python', 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Software Development', 'Topic :: Software Development :: Build Tools', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: System :: Software Distribution', 'Topic :: System :: Systems Administration', ], )
try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages setup( name='fabtools', version='0.1', description='Tools for writing awesome Fabric files', author='Ronan Amicel', author_email='ronan.amicel@gmail.com', url='http://github.com/ronnix/fabtools', install_requires=[ "fabric>=1.2.0", ], setup_requires=[], tests_require=[ "unittest2", "mock", ], packages=find_packages(exclude=['ez_setup', 'tests']), include_package_data=True, zip_safe=False, classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: BSD License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Unix', 'Operating System :: POSIX', 'Programming Language :: Python', 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Software Development', 'Topic :: Software Development :: Build Tools', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: System :: Software Distribution', 'Topic :: System :: Systems Administration', ], )
Exclude tests directory from install
Exclude tests directory from install
Python
bsd-2-clause
AMOSoft/fabtools,n0n0x/fabtools-python,pombredanne/fabtools,fabtools/fabtools,ahnjungho/fabtools,bitmonk/fabtools,wagigi/fabtools-python,badele/fabtools,hagai26/fabtools,pahaz/fabtools,sociateru/fabtools,davidcaste/fabtools,prologic/fabtools,ronnix/fabtools
try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages setup( name='fabtools', version='0.1', description='Tools for writing awesome Fabric files', author='Ronan Amicel', author_email='ronan.amicel@gmail.com', url='http://github.com/ronnix/fabtools', install_requires=[ "fabric>=1.2.0", ], setup_requires=[], tests_require=[ "unittest2", "mock", ], packages=find_packages(exclude=['ez_setup']), include_package_data=True, zip_safe=False, classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: BSD License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Unix', 'Operating System :: POSIX', 'Programming Language :: Python', 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Software Development', 'Topic :: Software Development :: Build Tools', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: System :: Software Distribution', 'Topic :: System :: Systems Administration', ], ) Exclude tests directory from install
try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages setup( name='fabtools', version='0.1', description='Tools for writing awesome Fabric files', author='Ronan Amicel', author_email='ronan.amicel@gmail.com', url='http://github.com/ronnix/fabtools', install_requires=[ "fabric>=1.2.0", ], setup_requires=[], tests_require=[ "unittest2", "mock", ], packages=find_packages(exclude=['ez_setup', 'tests']), include_package_data=True, zip_safe=False, classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: BSD License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Unix', 'Operating System :: POSIX', 'Programming Language :: Python', 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Software Development', 'Topic :: Software Development :: Build Tools', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: System :: Software Distribution', 'Topic :: System :: Systems Administration', ], )
<commit_before>try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages setup( name='fabtools', version='0.1', description='Tools for writing awesome Fabric files', author='Ronan Amicel', author_email='ronan.amicel@gmail.com', url='http://github.com/ronnix/fabtools', install_requires=[ "fabric>=1.2.0", ], setup_requires=[], tests_require=[ "unittest2", "mock", ], packages=find_packages(exclude=['ez_setup']), include_package_data=True, zip_safe=False, classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: BSD License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Unix', 'Operating System :: POSIX', 'Programming Language :: Python', 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Software Development', 'Topic :: Software Development :: Build Tools', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: System :: Software Distribution', 'Topic :: System :: Systems Administration', ], ) <commit_msg>Exclude tests directory from install<commit_after>
try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages setup( name='fabtools', version='0.1', description='Tools for writing awesome Fabric files', author='Ronan Amicel', author_email='ronan.amicel@gmail.com', url='http://github.com/ronnix/fabtools', install_requires=[ "fabric>=1.2.0", ], setup_requires=[], tests_require=[ "unittest2", "mock", ], packages=find_packages(exclude=['ez_setup', 'tests']), include_package_data=True, zip_safe=False, classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: BSD License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Unix', 'Operating System :: POSIX', 'Programming Language :: Python', 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Software Development', 'Topic :: Software Development :: Build Tools', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: System :: Software Distribution', 'Topic :: System :: Systems Administration', ], )
try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages setup( name='fabtools', version='0.1', description='Tools for writing awesome Fabric files', author='Ronan Amicel', author_email='ronan.amicel@gmail.com', url='http://github.com/ronnix/fabtools', install_requires=[ "fabric>=1.2.0", ], setup_requires=[], tests_require=[ "unittest2", "mock", ], packages=find_packages(exclude=['ez_setup']), include_package_data=True, zip_safe=False, classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: BSD License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Unix', 'Operating System :: POSIX', 'Programming Language :: Python', 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Software Development', 'Topic :: Software Development :: Build Tools', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: System :: Software Distribution', 'Topic :: System :: Systems Administration', ], ) Exclude tests directory from installtry: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages setup( name='fabtools', version='0.1', description='Tools for writing awesome Fabric files', author='Ronan Amicel', author_email='ronan.amicel@gmail.com', url='http://github.com/ronnix/fabtools', install_requires=[ "fabric>=1.2.0", ], setup_requires=[], tests_require=[ "unittest2", "mock", ], packages=find_packages(exclude=['ez_setup', 'tests']), include_package_data=True, zip_safe=False, classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: BSD License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Unix', 'Operating System :: POSIX', 'Programming Language :: Python', 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Software Development', 'Topic :: Software Development :: Build Tools', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: System :: Software Distribution', 'Topic :: System :: Systems Administration', ], )
<commit_before>try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages setup( name='fabtools', version='0.1', description='Tools for writing awesome Fabric files', author='Ronan Amicel', author_email='ronan.amicel@gmail.com', url='http://github.com/ronnix/fabtools', install_requires=[ "fabric>=1.2.0", ], setup_requires=[], tests_require=[ "unittest2", "mock", ], packages=find_packages(exclude=['ez_setup']), include_package_data=True, zip_safe=False, classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: BSD License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Unix', 'Operating System :: POSIX', 'Programming Language :: Python', 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Software Development', 'Topic :: Software Development :: Build Tools', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: System :: Software Distribution', 'Topic :: System :: Systems Administration', ], ) <commit_msg>Exclude tests directory from install<commit_after>try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages setup( name='fabtools', version='0.1', description='Tools for writing awesome Fabric files', author='Ronan Amicel', author_email='ronan.amicel@gmail.com', url='http://github.com/ronnix/fabtools', install_requires=[ "fabric>=1.2.0", ], setup_requires=[], tests_require=[ "unittest2", "mock", ], packages=find_packages(exclude=['ez_setup', 'tests']), include_package_data=True, zip_safe=False, classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: BSD License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Unix', 'Operating System :: POSIX', 'Programming Language :: Python', 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Software Development', 'Topic :: Software Development :: Build Tools', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: System :: Software Distribution', 'Topic :: System :: Systems Administration', ], )
f403f86cad3eb1b6b41a39f02ea8e1b0b06cff2a
setup.py
setup.py
from setuptools import setup setup( name='regrowl', description='Regrowl server', author='Paul Traylor', url='https://github.com/kfdm/gntp-regrowl', version='0.0.1', packages=[ 'regrowl', 'regrowl.bridge', 'regrowl.extras', ], # http://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', ], install_requires=[ 'gntp', ], entry_points={ 'console_scripts': [ 'regrowl = regrowl.cli:main' ], 'regrowl.bridge': [ 'echo = regrowl.bridge.echo:EchoNotifier', 'local = regrowl.bridge.local:LocalNotifier', 'subscribe = regrowl.bridge.subscribe:SubscribelNotifier', 'udp = regrowl.bridge.udp:UDPNotifier', ] } )
from setuptools import setup setup( name='regrowl', description='Regrowl server', author='Paul Traylor', url='https://github.com/kfdm/gntp-regrowl', version='0.0.1', packages=[ 'regrowl', 'regrowl.bridge', 'regrowl.extras', ], # http://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', ], install_requires=[ 'gntp', ], entry_points={ 'console_scripts': [ 'regrowl = regrowl.cli:main' ], 'regrowl.bridge': [ 'echo = regrowl.bridge.echo:EchoNotifier', 'forward = regrowl.bridge.forward:ForwardNotifier', 'local = regrowl.bridge.local:LocalNotifier', 'subscribe = regrowl.bridge.subscribe:SubscribelNotifier', 'udp = regrowl.bridge.udp:UDPNotifier', ] } )
Add forward to list of bridges
Add forward to list of bridges
Python
mit
kfdm/gntp-regrowl
from setuptools import setup setup( name='regrowl', description='Regrowl server', author='Paul Traylor', url='https://github.com/kfdm/gntp-regrowl', version='0.0.1', packages=[ 'regrowl', 'regrowl.bridge', 'regrowl.extras', ], # http://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', ], install_requires=[ 'gntp', ], entry_points={ 'console_scripts': [ 'regrowl = regrowl.cli:main' ], 'regrowl.bridge': [ 'echo = regrowl.bridge.echo:EchoNotifier', 'local = regrowl.bridge.local:LocalNotifier', 'subscribe = regrowl.bridge.subscribe:SubscribelNotifier', 'udp = regrowl.bridge.udp:UDPNotifier', ] } ) Add forward to list of bridges
from setuptools import setup setup( name='regrowl', description='Regrowl server', author='Paul Traylor', url='https://github.com/kfdm/gntp-regrowl', version='0.0.1', packages=[ 'regrowl', 'regrowl.bridge', 'regrowl.extras', ], # http://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', ], install_requires=[ 'gntp', ], entry_points={ 'console_scripts': [ 'regrowl = regrowl.cli:main' ], 'regrowl.bridge': [ 'echo = regrowl.bridge.echo:EchoNotifier', 'forward = regrowl.bridge.forward:ForwardNotifier', 'local = regrowl.bridge.local:LocalNotifier', 'subscribe = regrowl.bridge.subscribe:SubscribelNotifier', 'udp = regrowl.bridge.udp:UDPNotifier', ] } )
<commit_before>from setuptools import setup setup( name='regrowl', description='Regrowl server', author='Paul Traylor', url='https://github.com/kfdm/gntp-regrowl', version='0.0.1', packages=[ 'regrowl', 'regrowl.bridge', 'regrowl.extras', ], # http://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', ], install_requires=[ 'gntp', ], entry_points={ 'console_scripts': [ 'regrowl = regrowl.cli:main' ], 'regrowl.bridge': [ 'echo = regrowl.bridge.echo:EchoNotifier', 'local = regrowl.bridge.local:LocalNotifier', 'subscribe = regrowl.bridge.subscribe:SubscribelNotifier', 'udp = regrowl.bridge.udp:UDPNotifier', ] } ) <commit_msg>Add forward to list of bridges<commit_after>
from setuptools import setup setup( name='regrowl', description='Regrowl server', author='Paul Traylor', url='https://github.com/kfdm/gntp-regrowl', version='0.0.1', packages=[ 'regrowl', 'regrowl.bridge', 'regrowl.extras', ], # http://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', ], install_requires=[ 'gntp', ], entry_points={ 'console_scripts': [ 'regrowl = regrowl.cli:main' ], 'regrowl.bridge': [ 'echo = regrowl.bridge.echo:EchoNotifier', 'forward = regrowl.bridge.forward:ForwardNotifier', 'local = regrowl.bridge.local:LocalNotifier', 'subscribe = regrowl.bridge.subscribe:SubscribelNotifier', 'udp = regrowl.bridge.udp:UDPNotifier', ] } )
from setuptools import setup setup( name='regrowl', description='Regrowl server', author='Paul Traylor', url='https://github.com/kfdm/gntp-regrowl', version='0.0.1', packages=[ 'regrowl', 'regrowl.bridge', 'regrowl.extras', ], # http://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', ], install_requires=[ 'gntp', ], entry_points={ 'console_scripts': [ 'regrowl = regrowl.cli:main' ], 'regrowl.bridge': [ 'echo = regrowl.bridge.echo:EchoNotifier', 'local = regrowl.bridge.local:LocalNotifier', 'subscribe = regrowl.bridge.subscribe:SubscribelNotifier', 'udp = regrowl.bridge.udp:UDPNotifier', ] } ) Add forward to list of bridgesfrom setuptools import setup setup( name='regrowl', description='Regrowl server', author='Paul Traylor', url='https://github.com/kfdm/gntp-regrowl', version='0.0.1', packages=[ 'regrowl', 'regrowl.bridge', 'regrowl.extras', ], # http://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', ], install_requires=[ 'gntp', ], entry_points={ 'console_scripts': [ 'regrowl = regrowl.cli:main' ], 'regrowl.bridge': [ 'echo = regrowl.bridge.echo:EchoNotifier', 'forward = regrowl.bridge.forward:ForwardNotifier', 'local = regrowl.bridge.local:LocalNotifier', 'subscribe = regrowl.bridge.subscribe:SubscribelNotifier', 'udp = regrowl.bridge.udp:UDPNotifier', ] } )
<commit_before>from setuptools import setup setup( name='regrowl', description='Regrowl server', author='Paul Traylor', url='https://github.com/kfdm/gntp-regrowl', version='0.0.1', packages=[ 'regrowl', 'regrowl.bridge', 'regrowl.extras', ], # http://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', ], install_requires=[ 'gntp', ], entry_points={ 'console_scripts': [ 'regrowl = regrowl.cli:main' ], 'regrowl.bridge': [ 'echo = regrowl.bridge.echo:EchoNotifier', 'local = regrowl.bridge.local:LocalNotifier', 'subscribe = regrowl.bridge.subscribe:SubscribelNotifier', 'udp = regrowl.bridge.udp:UDPNotifier', ] } ) <commit_msg>Add forward to list of bridges<commit_after>from setuptools import setup setup( name='regrowl', description='Regrowl server', author='Paul Traylor', url='https://github.com/kfdm/gntp-regrowl', version='0.0.1', packages=[ 'regrowl', 'regrowl.bridge', 'regrowl.extras', ], # http://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', ], install_requires=[ 'gntp', ], entry_points={ 'console_scripts': [ 'regrowl = regrowl.cli:main' ], 'regrowl.bridge': [ 'echo = regrowl.bridge.echo:EchoNotifier', 'forward = regrowl.bridge.forward:ForwardNotifier', 'local = regrowl.bridge.local:LocalNotifier', 'subscribe = regrowl.bridge.subscribe:SubscribelNotifier', 'udp = regrowl.bridge.udp:UDPNotifier', ] } )
113b2f776c4a02b8baafca00e9de23d001f89d34
setup.py
setup.py
# coding: utf-8 from distutils.core import setup setup( name = 'gherkin3', packages = ['gherkin3'], version = '3.0.0', description = 'Gherkin parser', author = 'Björn Rasmusson', author_email = 'cukes@googlegroups.com', url = 'https://github.com/cucumber/gherkin-python', license = 'MIT', download_url = 'https://github.com/cucumber/gherkin-ruby/archive/v3.0.0.tar.gz', keywords = ['gherkin', 'cucumber', 'bdd'], classifiers = [], )
# coding: utf-8 from distutils.core import setup setup( name = 'gherkin3', packages = ['gherkin3'], version = '3.0.0', description = 'Gherkin parser', author = 'Björn Rasmusson', author_email = 'cukes@googlegroups.com', url = 'https://github.com/cucumber/gherkin-python', license = 'MIT', download_url = 'https://github.com/cucumber/gherkin-python/archive/v3.0.0.tar.gz', keywords = ['gherkin', 'cucumber', 'bdd'], classifiers = [], )
Correct the download url for gherkin-python
Correct the download url for gherkin-python
Python
mit
cucumber/gherkin3,hayd/gherkin3,curzona/gherkin3,curzona/gherkin3,araines/gherkin3,SabotageAndi/gherkin,vincent-psarga/gherkin3,dirkrombauts/gherkin3,curzona/gherkin3,hayd/gherkin3,pjlsergeant/gherkin,SabotageAndi/gherkin,chebizarro/gherkin3,cucumber/gherkin3,concertman/gherkin3,dg-ratiodata/gherkin3,moreirap/gherkin3,dg-ratiodata/gherkin3,thiblahute/gherkin3,SabotageAndi/gherkin,dg-ratiodata/gherkin3,araines/gherkin3,Zearin/gherkin3,moreirap/gherkin3,vincent-psarga/gherkin3,concertman/gherkin3,dirkrombauts/gherkin3,concertman/gherkin3,concertman/gherkin3,araines/gherkin3,araines/gherkin3,pjlsergeant/gherkin,pjlsergeant/gherkin,thiblahute/gherkin3,Zearin/gherkin3,amaniak/gherkin3,pjlsergeant/gherkin,hayd/gherkin3,concertman/gherkin3,moreirap/gherkin3,dirkrombauts/gherkin3,vincent-psarga/gherkin3,thiblahute/gherkin3,SabotageAndi/gherkin,moreirap/gherkin3,thetutlage/gherkin3,chebizarro/gherkin3,vincent-psarga/gherkin3,cucumber/gherkin3,thiblahute/gherkin3,Zearin/gherkin3,vincent-psarga/gherkin3,hayd/gherkin3,curzona/gherkin-python,vincent-psarga/gherkin3,dg-ratiodata/gherkin3,dg-ratiodata/gherkin3,hayd/gherkin3,araines/gherkin3,araines/gherkin3,chebizarro/gherkin3,pjlsergeant/gherkin,moreirap/gherkin3,SabotageAndi/gherkin,thiblahute/gherkin3,pjlsergeant/gherkin,amaniak/gherkin3,moreirap/gherkin3,amaniak/gherkin3,dg-ratiodata/gherkin3,dg-ratiodata/gherkin3,SabotageAndi/gherkin,concertman/gherkin3,amaniak/gherkin3,SabotageAndi/gherkin,araines/gherkin3,curzona/gherkin3,hayd/gherkin3,SabotageAndi/gherkin,curzona/gherkin3,cucumber/gherkin3,amaniak/gherkin3,thiblahute/gherkin3,cucumber/gherkin3,dirkrombauts/gherkin3,cucumber/gherkin3,dirkrombauts/gherkin3,concertman/gherkin3,cucumber/gherkin3,amaniak/gherkin3,curzona/gherkin3,cucumber/gherkin3,chebizarro/gherkin3,concertman/gherkin3,Zearin/gherkin3,cucumber/gherkin3,dirkrombauts/gherkin3,araines/gherkin-python,thetutlage/gherkin3,hayd/gherkin3,thiblahute/gherkin3,curzona/gherkin3,chebizarro/gherkin3,araines/gherkin3,thetutlage/gherkin3,dirkrombauts/gherkin3,thetutlage/gherkin3,hayd/gherkin3,moreirap/gherkin3,pjlsergeant/gherkin,thetutlage/gherkin3,amaniak/gherkin3,pjlsergeant/gherkin,chebizarro/gherkin3,thetutlage/gherkin3,vincent-psarga/gherkin3,pjlsergeant/gherkin,Zearin/gherkin3,dg-ratiodata/gherkin3,moreirap/gherkin3,dirkrombauts/gherkin3,curzona/gherkin3,thiblahute/gherkin3,Zearin/gherkin3,chebizarro/gherkin3,amaniak/gherkin3,Zearin/gherkin3,Zearin/gherkin3,thetutlage/gherkin3,thetutlage/gherkin3,vincent-psarga/gherkin3,SabotageAndi/gherkin,chebizarro/gherkin3
# coding: utf-8 from distutils.core import setup setup( name = 'gherkin3', packages = ['gherkin3'], version = '3.0.0', description = 'Gherkin parser', author = 'Björn Rasmusson', author_email = 'cukes@googlegroups.com', url = 'https://github.com/cucumber/gherkin-python', license = 'MIT', download_url = 'https://github.com/cucumber/gherkin-ruby/archive/v3.0.0.tar.gz', keywords = ['gherkin', 'cucumber', 'bdd'], classifiers = [], ) Correct the download url for gherkin-python
# coding: utf-8 from distutils.core import setup setup( name = 'gherkin3', packages = ['gherkin3'], version = '3.0.0', description = 'Gherkin parser', author = 'Björn Rasmusson', author_email = 'cukes@googlegroups.com', url = 'https://github.com/cucumber/gherkin-python', license = 'MIT', download_url = 'https://github.com/cucumber/gherkin-python/archive/v3.0.0.tar.gz', keywords = ['gherkin', 'cucumber', 'bdd'], classifiers = [], )
<commit_before># coding: utf-8 from distutils.core import setup setup( name = 'gherkin3', packages = ['gherkin3'], version = '3.0.0', description = 'Gherkin parser', author = 'Björn Rasmusson', author_email = 'cukes@googlegroups.com', url = 'https://github.com/cucumber/gherkin-python', license = 'MIT', download_url = 'https://github.com/cucumber/gherkin-ruby/archive/v3.0.0.tar.gz', keywords = ['gherkin', 'cucumber', 'bdd'], classifiers = [], ) <commit_msg>Correct the download url for gherkin-python<commit_after>
# coding: utf-8 from distutils.core import setup setup( name = 'gherkin3', packages = ['gherkin3'], version = '3.0.0', description = 'Gherkin parser', author = 'Björn Rasmusson', author_email = 'cukes@googlegroups.com', url = 'https://github.com/cucumber/gherkin-python', license = 'MIT', download_url = 'https://github.com/cucumber/gherkin-python/archive/v3.0.0.tar.gz', keywords = ['gherkin', 'cucumber', 'bdd'], classifiers = [], )
# coding: utf-8 from distutils.core import setup setup( name = 'gherkin3', packages = ['gherkin3'], version = '3.0.0', description = 'Gherkin parser', author = 'Björn Rasmusson', author_email = 'cukes@googlegroups.com', url = 'https://github.com/cucumber/gherkin-python', license = 'MIT', download_url = 'https://github.com/cucumber/gherkin-ruby/archive/v3.0.0.tar.gz', keywords = ['gherkin', 'cucumber', 'bdd'], classifiers = [], ) Correct the download url for gherkin-python# coding: utf-8 from distutils.core import setup setup( name = 'gherkin3', packages = ['gherkin3'], version = '3.0.0', description = 'Gherkin parser', author = 'Björn Rasmusson', author_email = 'cukes@googlegroups.com', url = 'https://github.com/cucumber/gherkin-python', license = 'MIT', download_url = 'https://github.com/cucumber/gherkin-python/archive/v3.0.0.tar.gz', keywords = ['gherkin', 'cucumber', 'bdd'], classifiers = [], )
<commit_before># coding: utf-8 from distutils.core import setup setup( name = 'gherkin3', packages = ['gherkin3'], version = '3.0.0', description = 'Gherkin parser', author = 'Björn Rasmusson', author_email = 'cukes@googlegroups.com', url = 'https://github.com/cucumber/gherkin-python', license = 'MIT', download_url = 'https://github.com/cucumber/gherkin-ruby/archive/v3.0.0.tar.gz', keywords = ['gherkin', 'cucumber', 'bdd'], classifiers = [], ) <commit_msg>Correct the download url for gherkin-python<commit_after># coding: utf-8 from distutils.core import setup setup( name = 'gherkin3', packages = ['gherkin3'], version = '3.0.0', description = 'Gherkin parser', author = 'Björn Rasmusson', author_email = 'cukes@googlegroups.com', url = 'https://github.com/cucumber/gherkin-python', license = 'MIT', download_url = 'https://github.com/cucumber/gherkin-python/archive/v3.0.0.tar.gz', keywords = ['gherkin', 'cucumber', 'bdd'], classifiers = [], )
e164ec363a7da36f02c7367137f1d2026cbb7245
setup.py
setup.py
import io from setuptools import setup AUTHOR = "Brian Curtin" EMAIL = "brian@python.org" setup(name="deprecation", version="2.0", description="A library to handle automated deprecations", license="Apache 2", url="http://deprecation.readthedocs.io/", author=AUTHOR, author_email=EMAIL, maintainer=AUTHOR, maintainer_email=EMAIL, install_requires=["packaging"], keywords=["deprecation"], long_description=io.open("README.rst", encoding="utf-8").read(), py_modules=["deprecation"], classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules"] )
import io from setuptools import setup AUTHOR = "Brian Curtin" EMAIL = "brian@python.org" setup(name="deprecation", version="2.0.1", description="A library to handle automated deprecations", license="Apache 2", url="http://deprecation.readthedocs.io/", author=AUTHOR, author_email=EMAIL, maintainer=AUTHOR, maintainer_email=EMAIL, install_requires=["packaging"], keywords=["deprecation"], long_description=io.open("README.rst", encoding="utf-8").read(), py_modules=["deprecation"], classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules"], project_urls={"Documentation": "http://deprecation.readthedocs.io/en/latest/", "Source": "https://github.com/briancurtin/deprecation", "Bug Tracker": "https://github.com/briancurtin/deprecation/issues"}, )
Add links to Github for source and bug tracker
Add links to Github for source and bug tracker
Python
apache-2.0
briancurtin/deprecation
import io from setuptools import setup AUTHOR = "Brian Curtin" EMAIL = "brian@python.org" setup(name="deprecation", version="2.0", description="A library to handle automated deprecations", license="Apache 2", url="http://deprecation.readthedocs.io/", author=AUTHOR, author_email=EMAIL, maintainer=AUTHOR, maintainer_email=EMAIL, install_requires=["packaging"], keywords=["deprecation"], long_description=io.open("README.rst", encoding="utf-8").read(), py_modules=["deprecation"], classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules"] ) Add links to Github for source and bug tracker
import io from setuptools import setup AUTHOR = "Brian Curtin" EMAIL = "brian@python.org" setup(name="deprecation", version="2.0.1", description="A library to handle automated deprecations", license="Apache 2", url="http://deprecation.readthedocs.io/", author=AUTHOR, author_email=EMAIL, maintainer=AUTHOR, maintainer_email=EMAIL, install_requires=["packaging"], keywords=["deprecation"], long_description=io.open("README.rst", encoding="utf-8").read(), py_modules=["deprecation"], classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules"], project_urls={"Documentation": "http://deprecation.readthedocs.io/en/latest/", "Source": "https://github.com/briancurtin/deprecation", "Bug Tracker": "https://github.com/briancurtin/deprecation/issues"}, )
<commit_before>import io from setuptools import setup AUTHOR = "Brian Curtin" EMAIL = "brian@python.org" setup(name="deprecation", version="2.0", description="A library to handle automated deprecations", license="Apache 2", url="http://deprecation.readthedocs.io/", author=AUTHOR, author_email=EMAIL, maintainer=AUTHOR, maintainer_email=EMAIL, install_requires=["packaging"], keywords=["deprecation"], long_description=io.open("README.rst", encoding="utf-8").read(), py_modules=["deprecation"], classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules"] ) <commit_msg>Add links to Github for source and bug tracker<commit_after>
import io from setuptools import setup AUTHOR = "Brian Curtin" EMAIL = "brian@python.org" setup(name="deprecation", version="2.0.1", description="A library to handle automated deprecations", license="Apache 2", url="http://deprecation.readthedocs.io/", author=AUTHOR, author_email=EMAIL, maintainer=AUTHOR, maintainer_email=EMAIL, install_requires=["packaging"], keywords=["deprecation"], long_description=io.open("README.rst", encoding="utf-8").read(), py_modules=["deprecation"], classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules"], project_urls={"Documentation": "http://deprecation.readthedocs.io/en/latest/", "Source": "https://github.com/briancurtin/deprecation", "Bug Tracker": "https://github.com/briancurtin/deprecation/issues"}, )
import io from setuptools import setup AUTHOR = "Brian Curtin" EMAIL = "brian@python.org" setup(name="deprecation", version="2.0", description="A library to handle automated deprecations", license="Apache 2", url="http://deprecation.readthedocs.io/", author=AUTHOR, author_email=EMAIL, maintainer=AUTHOR, maintainer_email=EMAIL, install_requires=["packaging"], keywords=["deprecation"], long_description=io.open("README.rst", encoding="utf-8").read(), py_modules=["deprecation"], classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules"] ) Add links to Github for source and bug trackerimport io from setuptools import setup AUTHOR = "Brian Curtin" EMAIL = "brian@python.org" setup(name="deprecation", version="2.0.1", description="A library to handle automated deprecations", license="Apache 2", url="http://deprecation.readthedocs.io/", author=AUTHOR, author_email=EMAIL, maintainer=AUTHOR, maintainer_email=EMAIL, install_requires=["packaging"], keywords=["deprecation"], long_description=io.open("README.rst", encoding="utf-8").read(), py_modules=["deprecation"], classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules"], project_urls={"Documentation": "http://deprecation.readthedocs.io/en/latest/", "Source": "https://github.com/briancurtin/deprecation", "Bug Tracker": "https://github.com/briancurtin/deprecation/issues"}, )
<commit_before>import io from setuptools import setup AUTHOR = "Brian Curtin" EMAIL = "brian@python.org" setup(name="deprecation", version="2.0", description="A library to handle automated deprecations", license="Apache 2", url="http://deprecation.readthedocs.io/", author=AUTHOR, author_email=EMAIL, maintainer=AUTHOR, maintainer_email=EMAIL, install_requires=["packaging"], keywords=["deprecation"], long_description=io.open("README.rst", encoding="utf-8").read(), py_modules=["deprecation"], classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules"] ) <commit_msg>Add links to Github for source and bug tracker<commit_after>import io from setuptools import setup AUTHOR = "Brian Curtin" EMAIL = "brian@python.org" setup(name="deprecation", version="2.0.1", description="A library to handle automated deprecations", license="Apache 2", url="http://deprecation.readthedocs.io/", author=AUTHOR, author_email=EMAIL, maintainer=AUTHOR, maintainer_email=EMAIL, install_requires=["packaging"], keywords=["deprecation"], long_description=io.open("README.rst", encoding="utf-8").read(), py_modules=["deprecation"], classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules"], project_urls={"Documentation": "http://deprecation.readthedocs.io/en/latest/", "Source": "https://github.com/briancurtin/deprecation", "Bug Tracker": "https://github.com/briancurtin/deprecation/issues"}, )
ac6eeca365a9975be1a0dbafbfd0c7babeee704a
setup.py
setup.py
from setuptools import setup, find_packages setup( name='gdcdatamodel', packages=find_packages(), install_requires=[ 'pytz==2016.4', 'graphviz==0.4.2', 'jsonschema==2.5.1', 'python-dateutil==2.4.2', 'dictionaryutils', 'gdcdictionary', 'psqlgraph', 'cdisutils', ], package_data={ "gdcdatamodel": [ "xml_mappings/*.yaml", ] }, dependency_links=[ 'git+https://github.com/uc-cdis/dictionaryutils.git@2.0.4#egg=dictionaryutils', 'git+https://github.com/NCI-GDC/cdisutils.git@863ce13772116b51bcf5ce7e556f5df3cb9e6f63#egg=cdisutils', 'git+https://github.com/NCI-GDC/psqlgraph.git@1.2.0#egg=psqlgraph', 'git+https://github.com/NCI-GDC/gdcdictionary.git@1.16.0#egg=gdcdictionary', ], entry_points={ 'console_scripts': [ 'gdc_postgres_admin=gdcdatamodel.gdc_postgres_admin:main' ] }, )
from setuptools import setup, find_packages setup( name='gdcdatamodel', packages=find_packages(), install_requires=[ 'pytz==2016.4', 'graphviz==0.4.2', 'jsonschema==2.5.1', 'python-dateutil==2.4.2', 'dictionaryutils', 'gdcdictionary', 'psqlgraph', 'cdisutils', ], package_data={ "gdcdatamodel": [ "xml_mappings/*.yaml", ] }, dependency_links=[ 'git+https://github.com/uc-cdis/dictionaryutils.git@2.0.4#egg=dictionaryutils', 'git+https://github.com/NCI-GDC/cdisutils.git@863ce13772116b51bcf5ce7e556f5df3cb9e6f63#egg=cdisutils', 'git+https://github.com/NCI-GDC/psqlgraph.git@1.2.0#egg=psqlgraph', 'git+https://github.com/NCI-GDC/gdcdictionary.git@1.16.1#egg=gdcdictionary', ], entry_points={ 'console_scripts': [ 'gdc_postgres_admin=gdcdatamodel.gdc_postgres_admin:main' ] }, )
Update pin to new dictionary hotfix pin
chore(pins): Update pin to new dictionary hotfix pin - Update pin to new dictionary hotfix pin
Python
apache-2.0
NCI-GDC/gdcdatamodel,NCI-GDC/gdcdatamodel
from setuptools import setup, find_packages setup( name='gdcdatamodel', packages=find_packages(), install_requires=[ 'pytz==2016.4', 'graphviz==0.4.2', 'jsonschema==2.5.1', 'python-dateutil==2.4.2', 'dictionaryutils', 'gdcdictionary', 'psqlgraph', 'cdisutils', ], package_data={ "gdcdatamodel": [ "xml_mappings/*.yaml", ] }, dependency_links=[ 'git+https://github.com/uc-cdis/dictionaryutils.git@2.0.4#egg=dictionaryutils', 'git+https://github.com/NCI-GDC/cdisutils.git@863ce13772116b51bcf5ce7e556f5df3cb9e6f63#egg=cdisutils', 'git+https://github.com/NCI-GDC/psqlgraph.git@1.2.0#egg=psqlgraph', 'git+https://github.com/NCI-GDC/gdcdictionary.git@1.16.0#egg=gdcdictionary', ], entry_points={ 'console_scripts': [ 'gdc_postgres_admin=gdcdatamodel.gdc_postgres_admin:main' ] }, ) chore(pins): Update pin to new dictionary hotfix pin - Update pin to new dictionary hotfix pin
from setuptools import setup, find_packages setup( name='gdcdatamodel', packages=find_packages(), install_requires=[ 'pytz==2016.4', 'graphviz==0.4.2', 'jsonschema==2.5.1', 'python-dateutil==2.4.2', 'dictionaryutils', 'gdcdictionary', 'psqlgraph', 'cdisutils', ], package_data={ "gdcdatamodel": [ "xml_mappings/*.yaml", ] }, dependency_links=[ 'git+https://github.com/uc-cdis/dictionaryutils.git@2.0.4#egg=dictionaryutils', 'git+https://github.com/NCI-GDC/cdisutils.git@863ce13772116b51bcf5ce7e556f5df3cb9e6f63#egg=cdisutils', 'git+https://github.com/NCI-GDC/psqlgraph.git@1.2.0#egg=psqlgraph', 'git+https://github.com/NCI-GDC/gdcdictionary.git@1.16.1#egg=gdcdictionary', ], entry_points={ 'console_scripts': [ 'gdc_postgres_admin=gdcdatamodel.gdc_postgres_admin:main' ] }, )
<commit_before>from setuptools import setup, find_packages setup( name='gdcdatamodel', packages=find_packages(), install_requires=[ 'pytz==2016.4', 'graphviz==0.4.2', 'jsonschema==2.5.1', 'python-dateutil==2.4.2', 'dictionaryutils', 'gdcdictionary', 'psqlgraph', 'cdisutils', ], package_data={ "gdcdatamodel": [ "xml_mappings/*.yaml", ] }, dependency_links=[ 'git+https://github.com/uc-cdis/dictionaryutils.git@2.0.4#egg=dictionaryutils', 'git+https://github.com/NCI-GDC/cdisutils.git@863ce13772116b51bcf5ce7e556f5df3cb9e6f63#egg=cdisutils', 'git+https://github.com/NCI-GDC/psqlgraph.git@1.2.0#egg=psqlgraph', 'git+https://github.com/NCI-GDC/gdcdictionary.git@1.16.0#egg=gdcdictionary', ], entry_points={ 'console_scripts': [ 'gdc_postgres_admin=gdcdatamodel.gdc_postgres_admin:main' ] }, ) <commit_msg>chore(pins): Update pin to new dictionary hotfix pin - Update pin to new dictionary hotfix pin<commit_after>
from setuptools import setup, find_packages setup( name='gdcdatamodel', packages=find_packages(), install_requires=[ 'pytz==2016.4', 'graphviz==0.4.2', 'jsonschema==2.5.1', 'python-dateutil==2.4.2', 'dictionaryutils', 'gdcdictionary', 'psqlgraph', 'cdisutils', ], package_data={ "gdcdatamodel": [ "xml_mappings/*.yaml", ] }, dependency_links=[ 'git+https://github.com/uc-cdis/dictionaryutils.git@2.0.4#egg=dictionaryutils', 'git+https://github.com/NCI-GDC/cdisutils.git@863ce13772116b51bcf5ce7e556f5df3cb9e6f63#egg=cdisutils', 'git+https://github.com/NCI-GDC/psqlgraph.git@1.2.0#egg=psqlgraph', 'git+https://github.com/NCI-GDC/gdcdictionary.git@1.16.1#egg=gdcdictionary', ], entry_points={ 'console_scripts': [ 'gdc_postgres_admin=gdcdatamodel.gdc_postgres_admin:main' ] }, )
from setuptools import setup, find_packages setup( name='gdcdatamodel', packages=find_packages(), install_requires=[ 'pytz==2016.4', 'graphviz==0.4.2', 'jsonschema==2.5.1', 'python-dateutil==2.4.2', 'dictionaryutils', 'gdcdictionary', 'psqlgraph', 'cdisutils', ], package_data={ "gdcdatamodel": [ "xml_mappings/*.yaml", ] }, dependency_links=[ 'git+https://github.com/uc-cdis/dictionaryutils.git@2.0.4#egg=dictionaryutils', 'git+https://github.com/NCI-GDC/cdisutils.git@863ce13772116b51bcf5ce7e556f5df3cb9e6f63#egg=cdisutils', 'git+https://github.com/NCI-GDC/psqlgraph.git@1.2.0#egg=psqlgraph', 'git+https://github.com/NCI-GDC/gdcdictionary.git@1.16.0#egg=gdcdictionary', ], entry_points={ 'console_scripts': [ 'gdc_postgres_admin=gdcdatamodel.gdc_postgres_admin:main' ] }, ) chore(pins): Update pin to new dictionary hotfix pin - Update pin to new dictionary hotfix pinfrom setuptools import setup, find_packages setup( name='gdcdatamodel', packages=find_packages(), install_requires=[ 'pytz==2016.4', 'graphviz==0.4.2', 'jsonschema==2.5.1', 'python-dateutil==2.4.2', 'dictionaryutils', 'gdcdictionary', 'psqlgraph', 'cdisutils', ], package_data={ "gdcdatamodel": [ "xml_mappings/*.yaml", ] }, dependency_links=[ 'git+https://github.com/uc-cdis/dictionaryutils.git@2.0.4#egg=dictionaryutils', 'git+https://github.com/NCI-GDC/cdisutils.git@863ce13772116b51bcf5ce7e556f5df3cb9e6f63#egg=cdisutils', 'git+https://github.com/NCI-GDC/psqlgraph.git@1.2.0#egg=psqlgraph', 'git+https://github.com/NCI-GDC/gdcdictionary.git@1.16.1#egg=gdcdictionary', ], entry_points={ 'console_scripts': [ 'gdc_postgres_admin=gdcdatamodel.gdc_postgres_admin:main' ] }, )
<commit_before>from setuptools import setup, find_packages setup( name='gdcdatamodel', packages=find_packages(), install_requires=[ 'pytz==2016.4', 'graphviz==0.4.2', 'jsonschema==2.5.1', 'python-dateutil==2.4.2', 'dictionaryutils', 'gdcdictionary', 'psqlgraph', 'cdisutils', ], package_data={ "gdcdatamodel": [ "xml_mappings/*.yaml", ] }, dependency_links=[ 'git+https://github.com/uc-cdis/dictionaryutils.git@2.0.4#egg=dictionaryutils', 'git+https://github.com/NCI-GDC/cdisutils.git@863ce13772116b51bcf5ce7e556f5df3cb9e6f63#egg=cdisutils', 'git+https://github.com/NCI-GDC/psqlgraph.git@1.2.0#egg=psqlgraph', 'git+https://github.com/NCI-GDC/gdcdictionary.git@1.16.0#egg=gdcdictionary', ], entry_points={ 'console_scripts': [ 'gdc_postgres_admin=gdcdatamodel.gdc_postgres_admin:main' ] }, ) <commit_msg>chore(pins): Update pin to new dictionary hotfix pin - Update pin to new dictionary hotfix pin<commit_after>from setuptools import setup, find_packages setup( name='gdcdatamodel', packages=find_packages(), install_requires=[ 'pytz==2016.4', 'graphviz==0.4.2', 'jsonschema==2.5.1', 'python-dateutil==2.4.2', 'dictionaryutils', 'gdcdictionary', 'psqlgraph', 'cdisutils', ], package_data={ "gdcdatamodel": [ "xml_mappings/*.yaml", ] }, dependency_links=[ 'git+https://github.com/uc-cdis/dictionaryutils.git@2.0.4#egg=dictionaryutils', 'git+https://github.com/NCI-GDC/cdisutils.git@863ce13772116b51bcf5ce7e556f5df3cb9e6f63#egg=cdisutils', 'git+https://github.com/NCI-GDC/psqlgraph.git@1.2.0#egg=psqlgraph', 'git+https://github.com/NCI-GDC/gdcdictionary.git@1.16.1#egg=gdcdictionary', ], entry_points={ 'console_scripts': [ 'gdc_postgres_admin=gdcdatamodel.gdc_postgres_admin:main' ] }, )
37f2ebdeeb3f1ef6a3c61c7dfb5dca22673fd810
setup.py
setup.py
from setuptools import setup, find_packages package_data = ['static/css/*', 'static/img/*', 'static/js/*', 'static/js/templates/*', 'templates/djukebox/*'] dependencies = ['pillow', 'django-celery==2.5.5', 'mutagen', 'simplejson', 'django-bootstrap-form', 'django-tastypie==0.9.15'] setup(name = "djukebox", version = "0.2.0", description = "A django HTML 5 audio player", author = "Justin Michalicek", author_email = "jmichalicek@gmail.com", url = "https://github.com/jmichalicek/djukebox/", license = "www.opensource.org/licenses/bsd-license.php", packages = find_packages(), #'package' package must contain files (see list above) package_data = {'djukebox' : package_data }, install_requires = dependencies, long_description = """A HTML 5 audio player using Django""" #This next part it for the Cheese Shop, look a little down the page. #classifiers = [] )
from setuptools import setup, find_packages package_data = ['static/css/*', 'static/img/*', 'static/js/*', 'static/js/templates/*', 'templates/djukebox/*'] dependencies = ['Pillow==2.1.0', 'django-celery==3.0.21', 'mutagen==1.21', 'simplejson==3.3.0', 'django-bootstrap-form', 'django-tastypie==0.9.15'] setup(name = "djukebox", version = "0.2.0", description = "A django HTML 5 audio player", author = "Justin Michalicek", author_email = "jmichalicek@gmail.com", url = "https://github.com/jmichalicek/djukebox/", license = "www.opensource.org/licenses/bsd-license.php", packages = find_packages(), #'package' package must contain files (see list above) package_data = {'djukebox' : package_data }, install_requires = dependencies, long_description = """A HTML 5 audio player using Django""" #This next part it for the Cheese Shop, look a little down the page. #classifiers = [] )
Set full versions on all dependencies and updated most to latest version
Set full versions on all dependencies and updated most to latest version
Python
bsd-2-clause
jmichalicek/djukebox,jmichalicek/djukebox
from setuptools import setup, find_packages package_data = ['static/css/*', 'static/img/*', 'static/js/*', 'static/js/templates/*', 'templates/djukebox/*'] dependencies = ['pillow', 'django-celery==2.5.5', 'mutagen', 'simplejson', 'django-bootstrap-form', 'django-tastypie==0.9.15'] setup(name = "djukebox", version = "0.2.0", description = "A django HTML 5 audio player", author = "Justin Michalicek", author_email = "jmichalicek@gmail.com", url = "https://github.com/jmichalicek/djukebox/", license = "www.opensource.org/licenses/bsd-license.php", packages = find_packages(), #'package' package must contain files (see list above) package_data = {'djukebox' : package_data }, install_requires = dependencies, long_description = """A HTML 5 audio player using Django""" #This next part it for the Cheese Shop, look a little down the page. #classifiers = [] ) Set full versions on all dependencies and updated most to latest version
from setuptools import setup, find_packages package_data = ['static/css/*', 'static/img/*', 'static/js/*', 'static/js/templates/*', 'templates/djukebox/*'] dependencies = ['Pillow==2.1.0', 'django-celery==3.0.21', 'mutagen==1.21', 'simplejson==3.3.0', 'django-bootstrap-form', 'django-tastypie==0.9.15'] setup(name = "djukebox", version = "0.2.0", description = "A django HTML 5 audio player", author = "Justin Michalicek", author_email = "jmichalicek@gmail.com", url = "https://github.com/jmichalicek/djukebox/", license = "www.opensource.org/licenses/bsd-license.php", packages = find_packages(), #'package' package must contain files (see list above) package_data = {'djukebox' : package_data }, install_requires = dependencies, long_description = """A HTML 5 audio player using Django""" #This next part it for the Cheese Shop, look a little down the page. #classifiers = [] )
<commit_before>from setuptools import setup, find_packages package_data = ['static/css/*', 'static/img/*', 'static/js/*', 'static/js/templates/*', 'templates/djukebox/*'] dependencies = ['pillow', 'django-celery==2.5.5', 'mutagen', 'simplejson', 'django-bootstrap-form', 'django-tastypie==0.9.15'] setup(name = "djukebox", version = "0.2.0", description = "A django HTML 5 audio player", author = "Justin Michalicek", author_email = "jmichalicek@gmail.com", url = "https://github.com/jmichalicek/djukebox/", license = "www.opensource.org/licenses/bsd-license.php", packages = find_packages(), #'package' package must contain files (see list above) package_data = {'djukebox' : package_data }, install_requires = dependencies, long_description = """A HTML 5 audio player using Django""" #This next part it for the Cheese Shop, look a little down the page. #classifiers = [] ) <commit_msg>Set full versions on all dependencies and updated most to latest version<commit_after>
from setuptools import setup, find_packages package_data = ['static/css/*', 'static/img/*', 'static/js/*', 'static/js/templates/*', 'templates/djukebox/*'] dependencies = ['Pillow==2.1.0', 'django-celery==3.0.21', 'mutagen==1.21', 'simplejson==3.3.0', 'django-bootstrap-form', 'django-tastypie==0.9.15'] setup(name = "djukebox", version = "0.2.0", description = "A django HTML 5 audio player", author = "Justin Michalicek", author_email = "jmichalicek@gmail.com", url = "https://github.com/jmichalicek/djukebox/", license = "www.opensource.org/licenses/bsd-license.php", packages = find_packages(), #'package' package must contain files (see list above) package_data = {'djukebox' : package_data }, install_requires = dependencies, long_description = """A HTML 5 audio player using Django""" #This next part it for the Cheese Shop, look a little down the page. #classifiers = [] )
from setuptools import setup, find_packages package_data = ['static/css/*', 'static/img/*', 'static/js/*', 'static/js/templates/*', 'templates/djukebox/*'] dependencies = ['pillow', 'django-celery==2.5.5', 'mutagen', 'simplejson', 'django-bootstrap-form', 'django-tastypie==0.9.15'] setup(name = "djukebox", version = "0.2.0", description = "A django HTML 5 audio player", author = "Justin Michalicek", author_email = "jmichalicek@gmail.com", url = "https://github.com/jmichalicek/djukebox/", license = "www.opensource.org/licenses/bsd-license.php", packages = find_packages(), #'package' package must contain files (see list above) package_data = {'djukebox' : package_data }, install_requires = dependencies, long_description = """A HTML 5 audio player using Django""" #This next part it for the Cheese Shop, look a little down the page. #classifiers = [] ) Set full versions on all dependencies and updated most to latest versionfrom setuptools import setup, find_packages package_data = ['static/css/*', 'static/img/*', 'static/js/*', 'static/js/templates/*', 'templates/djukebox/*'] dependencies = ['Pillow==2.1.0', 'django-celery==3.0.21', 'mutagen==1.21', 'simplejson==3.3.0', 'django-bootstrap-form', 'django-tastypie==0.9.15'] setup(name = "djukebox", version = "0.2.0", description = "A django HTML 5 audio player", author = "Justin Michalicek", author_email = "jmichalicek@gmail.com", url = "https://github.com/jmichalicek/djukebox/", license = "www.opensource.org/licenses/bsd-license.php", packages = find_packages(), #'package' package must contain files (see list above) package_data = {'djukebox' : package_data }, install_requires = dependencies, long_description = """A HTML 5 audio player using Django""" #This next part it for the Cheese Shop, look a little down the page. #classifiers = [] )
<commit_before>from setuptools import setup, find_packages package_data = ['static/css/*', 'static/img/*', 'static/js/*', 'static/js/templates/*', 'templates/djukebox/*'] dependencies = ['pillow', 'django-celery==2.5.5', 'mutagen', 'simplejson', 'django-bootstrap-form', 'django-tastypie==0.9.15'] setup(name = "djukebox", version = "0.2.0", description = "A django HTML 5 audio player", author = "Justin Michalicek", author_email = "jmichalicek@gmail.com", url = "https://github.com/jmichalicek/djukebox/", license = "www.opensource.org/licenses/bsd-license.php", packages = find_packages(), #'package' package must contain files (see list above) package_data = {'djukebox' : package_data }, install_requires = dependencies, long_description = """A HTML 5 audio player using Django""" #This next part it for the Cheese Shop, look a little down the page. #classifiers = [] ) <commit_msg>Set full versions on all dependencies and updated most to latest version<commit_after>from setuptools import setup, find_packages package_data = ['static/css/*', 'static/img/*', 'static/js/*', 'static/js/templates/*', 'templates/djukebox/*'] dependencies = ['Pillow==2.1.0', 'django-celery==3.0.21', 'mutagen==1.21', 'simplejson==3.3.0', 'django-bootstrap-form', 'django-tastypie==0.9.15'] setup(name = "djukebox", version = "0.2.0", description = "A django HTML 5 audio player", author = "Justin Michalicek", author_email = "jmichalicek@gmail.com", url = "https://github.com/jmichalicek/djukebox/", license = "www.opensource.org/licenses/bsd-license.php", packages = find_packages(), #'package' package must contain files (see list above) package_data = {'djukebox' : package_data }, install_requires = dependencies, long_description = """A HTML 5 audio player using Django""" #This next part it for the Cheese Shop, look a little down the page. #classifiers = [] )
9fd36310859391117434778aabf0bd738a3ff125
setup.py
setup.py
import os from setuptools import setup, find_packages version = '1.0.0' def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='django-cas', version=version, description="Django Cas Client", long_description=read('README.md'), classifiers=[ "Development Status :: Development", "Environment :: Console", "Intended Audience :: End Users/Desktop", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Utilities", "License :: OSI Approved :: Private", ], keywords='k-state-common', author='Derek Stegelman, Garrett Pennington', author_email='derekst@k-state.edu, garrett@k-state.edu', url='http://github.com/kstateome/django-cas/', license='MIT', packages=find_packages(), include_package_data=True, zip_safe=True, )
import os from setuptools import setup, find_packages version = '1.0.0' def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='django-cas-client', version=version, description="Django Cas Client", long_description=read('README.md'), classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Utilities", "License :: OSI Approved :: MIT License", ], keywords='django cas', author='Derek Stegelman, Garrett Pennington', author_email='derekst@k-state.edu, garrett@k-state.edu', url='http://github.com/kstateome/django-cas/', license='MIT', packages=find_packages(), include_package_data=True, zip_safe=True, )
Add initial release to Pypi.
Add initial release to Pypi.
Python
mit
kstateome/django-cas,byuhbll/django-cas
import os from setuptools import setup, find_packages version = '1.0.0' def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='django-cas', version=version, description="Django Cas Client", long_description=read('README.md'), classifiers=[ "Development Status :: Development", "Environment :: Console", "Intended Audience :: End Users/Desktop", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Utilities", "License :: OSI Approved :: Private", ], keywords='k-state-common', author='Derek Stegelman, Garrett Pennington', author_email='derekst@k-state.edu, garrett@k-state.edu', url='http://github.com/kstateome/django-cas/', license='MIT', packages=find_packages(), include_package_data=True, zip_safe=True, ) Add initial release to Pypi.
import os from setuptools import setup, find_packages version = '1.0.0' def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='django-cas-client', version=version, description="Django Cas Client", long_description=read('README.md'), classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Utilities", "License :: OSI Approved :: MIT License", ], keywords='django cas', author='Derek Stegelman, Garrett Pennington', author_email='derekst@k-state.edu, garrett@k-state.edu', url='http://github.com/kstateome/django-cas/', license='MIT', packages=find_packages(), include_package_data=True, zip_safe=True, )
<commit_before>import os from setuptools import setup, find_packages version = '1.0.0' def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='django-cas', version=version, description="Django Cas Client", long_description=read('README.md'), classifiers=[ "Development Status :: Development", "Environment :: Console", "Intended Audience :: End Users/Desktop", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Utilities", "License :: OSI Approved :: Private", ], keywords='k-state-common', author='Derek Stegelman, Garrett Pennington', author_email='derekst@k-state.edu, garrett@k-state.edu', url='http://github.com/kstateome/django-cas/', license='MIT', packages=find_packages(), include_package_data=True, zip_safe=True, ) <commit_msg>Add initial release to Pypi.<commit_after>
import os from setuptools import setup, find_packages version = '1.0.0' def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='django-cas-client', version=version, description="Django Cas Client", long_description=read('README.md'), classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Utilities", "License :: OSI Approved :: MIT License", ], keywords='django cas', author='Derek Stegelman, Garrett Pennington', author_email='derekst@k-state.edu, garrett@k-state.edu', url='http://github.com/kstateome/django-cas/', license='MIT', packages=find_packages(), include_package_data=True, zip_safe=True, )
import os from setuptools import setup, find_packages version = '1.0.0' def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='django-cas', version=version, description="Django Cas Client", long_description=read('README.md'), classifiers=[ "Development Status :: Development", "Environment :: Console", "Intended Audience :: End Users/Desktop", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Utilities", "License :: OSI Approved :: Private", ], keywords='k-state-common', author='Derek Stegelman, Garrett Pennington', author_email='derekst@k-state.edu, garrett@k-state.edu', url='http://github.com/kstateome/django-cas/', license='MIT', packages=find_packages(), include_package_data=True, zip_safe=True, ) Add initial release to Pypi.import os from setuptools import setup, find_packages version = '1.0.0' def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='django-cas-client', version=version, description="Django Cas Client", long_description=read('README.md'), classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Utilities", "License :: OSI Approved :: MIT License", ], keywords='django cas', author='Derek Stegelman, Garrett Pennington', author_email='derekst@k-state.edu, garrett@k-state.edu', url='http://github.com/kstateome/django-cas/', license='MIT', packages=find_packages(), include_package_data=True, zip_safe=True, )
<commit_before>import os from setuptools import setup, find_packages version = '1.0.0' def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='django-cas', version=version, description="Django Cas Client", long_description=read('README.md'), classifiers=[ "Development Status :: Development", "Environment :: Console", "Intended Audience :: End Users/Desktop", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Utilities", "License :: OSI Approved :: Private", ], keywords='k-state-common', author='Derek Stegelman, Garrett Pennington', author_email='derekst@k-state.edu, garrett@k-state.edu', url='http://github.com/kstateome/django-cas/', license='MIT', packages=find_packages(), include_package_data=True, zip_safe=True, ) <commit_msg>Add initial release to Pypi.<commit_after>import os from setuptools import setup, find_packages version = '1.0.0' def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='django-cas-client', version=version, description="Django Cas Client", long_description=read('README.md'), classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Utilities", "License :: OSI Approved :: MIT License", ], keywords='django cas', author='Derek Stegelman, Garrett Pennington', author_email='derekst@k-state.edu, garrett@k-state.edu', url='http://github.com/kstateome/django-cas/', license='MIT', packages=find_packages(), include_package_data=True, zip_safe=True, )
320f29409fd596c88d70ca18175276d1ef076c52
setup.py
setup.py
""" Setup and installation for the package. """ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name="three", version="0.4", url="http://github.com/codeforamerica/three", author="Zach Williams", author_email="hey@zachwill.com", description="An easy-to-use wrapper for the Open311 API", packages=[ 'three' ], install_requires=[ 'mock', 'simplejson', 'requests', ], license='MIT', classifiers=[ 'Development Status :: 1 - Planning', 'Intended Audience :: Developers', 'Natural Language :: English', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', ], )
""" Setup and installation for the package. """ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name="three", version="0.4.1", url="http://github.com/codeforamerica/three", author="Zach Williams", author_email="hey@zachwill.com", description="An easy-to-use wrapper for the Open311 API", packages=[ 'three' ], install_requires=[ 'mock', 'simplejson', 'requests', ], license='MIT', classifiers=[ 'Development Status :: 1 - Planning', 'Intended Audience :: Developers', 'Natural Language :: English', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', ], )
Add updated version to PyPi
Add updated version to PyPi
Python
bsd-3-clause
codeforamerica/three
""" Setup and installation for the package. """ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name="three", version="0.4", url="http://github.com/codeforamerica/three", author="Zach Williams", author_email="hey@zachwill.com", description="An easy-to-use wrapper for the Open311 API", packages=[ 'three' ], install_requires=[ 'mock', 'simplejson', 'requests', ], license='MIT', classifiers=[ 'Development Status :: 1 - Planning', 'Intended Audience :: Developers', 'Natural Language :: English', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', ], ) Add updated version to PyPi
""" Setup and installation for the package. """ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name="three", version="0.4.1", url="http://github.com/codeforamerica/three", author="Zach Williams", author_email="hey@zachwill.com", description="An easy-to-use wrapper for the Open311 API", packages=[ 'three' ], install_requires=[ 'mock', 'simplejson', 'requests', ], license='MIT', classifiers=[ 'Development Status :: 1 - Planning', 'Intended Audience :: Developers', 'Natural Language :: English', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', ], )
<commit_before>""" Setup and installation for the package. """ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name="three", version="0.4", url="http://github.com/codeforamerica/three", author="Zach Williams", author_email="hey@zachwill.com", description="An easy-to-use wrapper for the Open311 API", packages=[ 'three' ], install_requires=[ 'mock', 'simplejson', 'requests', ], license='MIT', classifiers=[ 'Development Status :: 1 - Planning', 'Intended Audience :: Developers', 'Natural Language :: English', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', ], ) <commit_msg>Add updated version to PyPi<commit_after>
""" Setup and installation for the package. """ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name="three", version="0.4.1", url="http://github.com/codeforamerica/three", author="Zach Williams", author_email="hey@zachwill.com", description="An easy-to-use wrapper for the Open311 API", packages=[ 'three' ], install_requires=[ 'mock', 'simplejson', 'requests', ], license='MIT', classifiers=[ 'Development Status :: 1 - Planning', 'Intended Audience :: Developers', 'Natural Language :: English', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', ], )
""" Setup and installation for the package. """ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name="three", version="0.4", url="http://github.com/codeforamerica/three", author="Zach Williams", author_email="hey@zachwill.com", description="An easy-to-use wrapper for the Open311 API", packages=[ 'three' ], install_requires=[ 'mock', 'simplejson', 'requests', ], license='MIT', classifiers=[ 'Development Status :: 1 - Planning', 'Intended Audience :: Developers', 'Natural Language :: English', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', ], ) Add updated version to PyPi""" Setup and installation for the package. """ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name="three", version="0.4.1", url="http://github.com/codeforamerica/three", author="Zach Williams", author_email="hey@zachwill.com", description="An easy-to-use wrapper for the Open311 API", packages=[ 'three' ], install_requires=[ 'mock', 'simplejson', 'requests', ], license='MIT', classifiers=[ 'Development Status :: 1 - Planning', 'Intended Audience :: Developers', 'Natural Language :: English', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', ], )
<commit_before>""" Setup and installation for the package. """ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name="three", version="0.4", url="http://github.com/codeforamerica/three", author="Zach Williams", author_email="hey@zachwill.com", description="An easy-to-use wrapper for the Open311 API", packages=[ 'three' ], install_requires=[ 'mock', 'simplejson', 'requests', ], license='MIT', classifiers=[ 'Development Status :: 1 - Planning', 'Intended Audience :: Developers', 'Natural Language :: English', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', ], ) <commit_msg>Add updated version to PyPi<commit_after>""" Setup and installation for the package. """ try: from setuptools import setup except ImportError: from distutils.core import setup setup( name="three", version="0.4.1", url="http://github.com/codeforamerica/three", author="Zach Williams", author_email="hey@zachwill.com", description="An easy-to-use wrapper for the Open311 API", packages=[ 'three' ], install_requires=[ 'mock', 'simplejson', 'requests', ], license='MIT', classifiers=[ 'Development Status :: 1 - Planning', 'Intended Audience :: Developers', 'Natural Language :: English', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', ], )
97f7243194e86c7dda52295b4b061ea2a2cce50e
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='Flask-RESTful', version='0.2.11', url='https://www.github.com/twilio/flask-restful/', author='Kyle Conroy', author_email='help@twilio.com', description='Simple framework for creating REST APIs', packages=find_packages(), zip_safe=False, include_package_data=True, platforms='any', test_suite = 'nose.collector', install_requires=[ 'aniso8601>=0.82', 'Flask>=0.8', 'six>=1.3.0', 'pytz', ], # Install these with "pip install -e '.[paging]'" or '.[docs]' extras_require={ 'paging': 'pycrypto>=2.6', 'docs': 'sphinx', } )
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='Flask-RESTful', version='0.2.10', url='https://www.github.com/twilio/flask-restful/', author='Kyle Conroy', author_email='help@twilio.com', description='Simple framework for creating REST APIs', packages=find_packages(), zip_safe=False, include_package_data=True, platforms='any', test_suite = 'nose.collector', install_requires=[ 'aniso8601>=0.82', 'Flask>=0.8', 'six>=1.3.0', 'pytz', ], # Install these with "pip install -e '.[paging]'" or '.[docs]' extras_require={ 'paging': 'pycrypto>=2.6', 'docs': 'sphinx', } )
Revert version number to 0.2.10
Revert version number to 0.2.10
Python
bsd-3-clause
sergeyromanov/flask-restful,liangmingjie/flask-restful,expobrain/flask-restful,FashtimeDotCom/flask-restful,ankravch/flask-restful,gonboy/flask-restful,mitchfriedman/flask-restful,justanr/flask-restful,codephillip/flask-restful,frol/flask-restful,flask-restful/flask-restful,santtu/flask-restful,whitekid/flask-restful,Khan/flask-restful,red3/flask-restful,elatomo/flask-restful,samarthmshah/flask-restful,ihiji/flask-restful,ueg1990/flask-restful,marrybird/flask-restful,mackjoner/flask-restful
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='Flask-RESTful', version='0.2.11', url='https://www.github.com/twilio/flask-restful/', author='Kyle Conroy', author_email='help@twilio.com', description='Simple framework for creating REST APIs', packages=find_packages(), zip_safe=False, include_package_data=True, platforms='any', test_suite = 'nose.collector', install_requires=[ 'aniso8601>=0.82', 'Flask>=0.8', 'six>=1.3.0', 'pytz', ], # Install these with "pip install -e '.[paging]'" or '.[docs]' extras_require={ 'paging': 'pycrypto>=2.6', 'docs': 'sphinx', } ) Revert version number to 0.2.10
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='Flask-RESTful', version='0.2.10', url='https://www.github.com/twilio/flask-restful/', author='Kyle Conroy', author_email='help@twilio.com', description='Simple framework for creating REST APIs', packages=find_packages(), zip_safe=False, include_package_data=True, platforms='any', test_suite = 'nose.collector', install_requires=[ 'aniso8601>=0.82', 'Flask>=0.8', 'six>=1.3.0', 'pytz', ], # Install these with "pip install -e '.[paging]'" or '.[docs]' extras_require={ 'paging': 'pycrypto>=2.6', 'docs': 'sphinx', } )
<commit_before>#!/usr/bin/env python from setuptools import setup, find_packages setup( name='Flask-RESTful', version='0.2.11', url='https://www.github.com/twilio/flask-restful/', author='Kyle Conroy', author_email='help@twilio.com', description='Simple framework for creating REST APIs', packages=find_packages(), zip_safe=False, include_package_data=True, platforms='any', test_suite = 'nose.collector', install_requires=[ 'aniso8601>=0.82', 'Flask>=0.8', 'six>=1.3.0', 'pytz', ], # Install these with "pip install -e '.[paging]'" or '.[docs]' extras_require={ 'paging': 'pycrypto>=2.6', 'docs': 'sphinx', } ) <commit_msg>Revert version number to 0.2.10<commit_after>
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='Flask-RESTful', version='0.2.10', url='https://www.github.com/twilio/flask-restful/', author='Kyle Conroy', author_email='help@twilio.com', description='Simple framework for creating REST APIs', packages=find_packages(), zip_safe=False, include_package_data=True, platforms='any', test_suite = 'nose.collector', install_requires=[ 'aniso8601>=0.82', 'Flask>=0.8', 'six>=1.3.0', 'pytz', ], # Install these with "pip install -e '.[paging]'" or '.[docs]' extras_require={ 'paging': 'pycrypto>=2.6', 'docs': 'sphinx', } )
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='Flask-RESTful', version='0.2.11', url='https://www.github.com/twilio/flask-restful/', author='Kyle Conroy', author_email='help@twilio.com', description='Simple framework for creating REST APIs', packages=find_packages(), zip_safe=False, include_package_data=True, platforms='any', test_suite = 'nose.collector', install_requires=[ 'aniso8601>=0.82', 'Flask>=0.8', 'six>=1.3.0', 'pytz', ], # Install these with "pip install -e '.[paging]'" or '.[docs]' extras_require={ 'paging': 'pycrypto>=2.6', 'docs': 'sphinx', } ) Revert version number to 0.2.10#!/usr/bin/env python from setuptools import setup, find_packages setup( name='Flask-RESTful', version='0.2.10', url='https://www.github.com/twilio/flask-restful/', author='Kyle Conroy', author_email='help@twilio.com', description='Simple framework for creating REST APIs', packages=find_packages(), zip_safe=False, include_package_data=True, platforms='any', test_suite = 'nose.collector', install_requires=[ 'aniso8601>=0.82', 'Flask>=0.8', 'six>=1.3.0', 'pytz', ], # Install these with "pip install -e '.[paging]'" or '.[docs]' extras_require={ 'paging': 'pycrypto>=2.6', 'docs': 'sphinx', } )
<commit_before>#!/usr/bin/env python from setuptools import setup, find_packages setup( name='Flask-RESTful', version='0.2.11', url='https://www.github.com/twilio/flask-restful/', author='Kyle Conroy', author_email='help@twilio.com', description='Simple framework for creating REST APIs', packages=find_packages(), zip_safe=False, include_package_data=True, platforms='any', test_suite = 'nose.collector', install_requires=[ 'aniso8601>=0.82', 'Flask>=0.8', 'six>=1.3.0', 'pytz', ], # Install these with "pip install -e '.[paging]'" or '.[docs]' extras_require={ 'paging': 'pycrypto>=2.6', 'docs': 'sphinx', } ) <commit_msg>Revert version number to 0.2.10<commit_after>#!/usr/bin/env python from setuptools import setup, find_packages setup( name='Flask-RESTful', version='0.2.10', url='https://www.github.com/twilio/flask-restful/', author='Kyle Conroy', author_email='help@twilio.com', description='Simple framework for creating REST APIs', packages=find_packages(), zip_safe=False, include_package_data=True, platforms='any', test_suite = 'nose.collector', install_requires=[ 'aniso8601>=0.82', 'Flask>=0.8', 'six>=1.3.0', 'pytz', ], # Install these with "pip install -e '.[paging]'" or '.[docs]' extras_require={ 'paging': 'pycrypto>=2.6', 'docs': 'sphinx', } )
663f839ef539759143369f84289b6e27f21bdcce
setup.py
setup.py
#/usr/bin/env python2.6 # # $Id: setup.py 87 2010-07-01 18:01:03Z ver $ from distutils.core import setup description = """ The Jersey core libraries provide common abstractions used by Jersey software. """ def getVersion(): import os packageSeedFile = os.path.join("src", "lib", "_version.py") ns = {"__name__": __name__, } execfile(packageSeedFile, ns) return ns["version"] version = getVersion() setup( name = "jersey", version = version.short(), description = "Jersey Core Libraries", long_description = description, author = "Oliver Gould", author_email = "ver@yahoo-inc.com", maintainer = "Jersey-Devel", maintainer_email = "jersey-devel@yahoo-inc.com", package_dir = { "jersey": "src/lib", }, packages = [ "jersey", "jersey.cases", ], py_modules = [ "jersey._version", "jersey.cli", "jersey.cases.test_cli", "jersey.inet", "jersey.cases.test_inet", "jersey.log", "jersey.cases.test_log", ], provides = [ "jersey", "jersey.cli", "jersey.log", ], requires = [ "twisted (>=9.0.0)", ], )
#/usr/bin/env python2.6 # # $Id: setup.py 87 2010-07-01 18:01:03Z ver $ from distutils.core import setup description = """ The Jersey core libraries provide common abstractions used by Jersey software. """ def getVersion(): import os packageSeedFile = os.path.join("lib", "_version.py") ns = {"__name__": __name__, } execfile(packageSeedFile, ns) return ns["version"] version = getVersion() setup( name = "jersey", version = version.short(), description = "Jersey Core Libraries", long_description = description, author = "Oliver Gould", author_email = "ver@yahoo-inc.com", maintainer = "Jersey-Devel", maintainer_email = "jersey-devel@yahoo-inc.com", package_dir = { "jersey": "lib", }, packages = [ "jersey", "jersey.cases", ], py_modules = [ "jersey._version", "jersey.cli", "jersey.cases.test_cli", "jersey.inet", "jersey.cases.test_inet", "jersey.log", "jersey.cases.test_log", ], provides = [ "jersey", "jersey.cli", "jersey.log", ], requires = [ "twisted (>=9.0.0)", ], )
Use lib/ instead of src/lib.
Use lib/ instead of src/lib.
Python
bsd-3-clause
olix0r/tx-jersey
#/usr/bin/env python2.6 # # $Id: setup.py 87 2010-07-01 18:01:03Z ver $ from distutils.core import setup description = """ The Jersey core libraries provide common abstractions used by Jersey software. """ def getVersion(): import os packageSeedFile = os.path.join("src", "lib", "_version.py") ns = {"__name__": __name__, } execfile(packageSeedFile, ns) return ns["version"] version = getVersion() setup( name = "jersey", version = version.short(), description = "Jersey Core Libraries", long_description = description, author = "Oliver Gould", author_email = "ver@yahoo-inc.com", maintainer = "Jersey-Devel", maintainer_email = "jersey-devel@yahoo-inc.com", package_dir = { "jersey": "src/lib", }, packages = [ "jersey", "jersey.cases", ], py_modules = [ "jersey._version", "jersey.cli", "jersey.cases.test_cli", "jersey.inet", "jersey.cases.test_inet", "jersey.log", "jersey.cases.test_log", ], provides = [ "jersey", "jersey.cli", "jersey.log", ], requires = [ "twisted (>=9.0.0)", ], ) Use lib/ instead of src/lib.
#/usr/bin/env python2.6 # # $Id: setup.py 87 2010-07-01 18:01:03Z ver $ from distutils.core import setup description = """ The Jersey core libraries provide common abstractions used by Jersey software. """ def getVersion(): import os packageSeedFile = os.path.join("lib", "_version.py") ns = {"__name__": __name__, } execfile(packageSeedFile, ns) return ns["version"] version = getVersion() setup( name = "jersey", version = version.short(), description = "Jersey Core Libraries", long_description = description, author = "Oliver Gould", author_email = "ver@yahoo-inc.com", maintainer = "Jersey-Devel", maintainer_email = "jersey-devel@yahoo-inc.com", package_dir = { "jersey": "lib", }, packages = [ "jersey", "jersey.cases", ], py_modules = [ "jersey._version", "jersey.cli", "jersey.cases.test_cli", "jersey.inet", "jersey.cases.test_inet", "jersey.log", "jersey.cases.test_log", ], provides = [ "jersey", "jersey.cli", "jersey.log", ], requires = [ "twisted (>=9.0.0)", ], )
<commit_before>#/usr/bin/env python2.6 # # $Id: setup.py 87 2010-07-01 18:01:03Z ver $ from distutils.core import setup description = """ The Jersey core libraries provide common abstractions used by Jersey software. """ def getVersion(): import os packageSeedFile = os.path.join("src", "lib", "_version.py") ns = {"__name__": __name__, } execfile(packageSeedFile, ns) return ns["version"] version = getVersion() setup( name = "jersey", version = version.short(), description = "Jersey Core Libraries", long_description = description, author = "Oliver Gould", author_email = "ver@yahoo-inc.com", maintainer = "Jersey-Devel", maintainer_email = "jersey-devel@yahoo-inc.com", package_dir = { "jersey": "src/lib", }, packages = [ "jersey", "jersey.cases", ], py_modules = [ "jersey._version", "jersey.cli", "jersey.cases.test_cli", "jersey.inet", "jersey.cases.test_inet", "jersey.log", "jersey.cases.test_log", ], provides = [ "jersey", "jersey.cli", "jersey.log", ], requires = [ "twisted (>=9.0.0)", ], ) <commit_msg>Use lib/ instead of src/lib.<commit_after>
#/usr/bin/env python2.6 # # $Id: setup.py 87 2010-07-01 18:01:03Z ver $ from distutils.core import setup description = """ The Jersey core libraries provide common abstractions used by Jersey software. """ def getVersion(): import os packageSeedFile = os.path.join("lib", "_version.py") ns = {"__name__": __name__, } execfile(packageSeedFile, ns) return ns["version"] version = getVersion() setup( name = "jersey", version = version.short(), description = "Jersey Core Libraries", long_description = description, author = "Oliver Gould", author_email = "ver@yahoo-inc.com", maintainer = "Jersey-Devel", maintainer_email = "jersey-devel@yahoo-inc.com", package_dir = { "jersey": "lib", }, packages = [ "jersey", "jersey.cases", ], py_modules = [ "jersey._version", "jersey.cli", "jersey.cases.test_cli", "jersey.inet", "jersey.cases.test_inet", "jersey.log", "jersey.cases.test_log", ], provides = [ "jersey", "jersey.cli", "jersey.log", ], requires = [ "twisted (>=9.0.0)", ], )
#/usr/bin/env python2.6 # # $Id: setup.py 87 2010-07-01 18:01:03Z ver $ from distutils.core import setup description = """ The Jersey core libraries provide common abstractions used by Jersey software. """ def getVersion(): import os packageSeedFile = os.path.join("src", "lib", "_version.py") ns = {"__name__": __name__, } execfile(packageSeedFile, ns) return ns["version"] version = getVersion() setup( name = "jersey", version = version.short(), description = "Jersey Core Libraries", long_description = description, author = "Oliver Gould", author_email = "ver@yahoo-inc.com", maintainer = "Jersey-Devel", maintainer_email = "jersey-devel@yahoo-inc.com", package_dir = { "jersey": "src/lib", }, packages = [ "jersey", "jersey.cases", ], py_modules = [ "jersey._version", "jersey.cli", "jersey.cases.test_cli", "jersey.inet", "jersey.cases.test_inet", "jersey.log", "jersey.cases.test_log", ], provides = [ "jersey", "jersey.cli", "jersey.log", ], requires = [ "twisted (>=9.0.0)", ], ) Use lib/ instead of src/lib.#/usr/bin/env python2.6 # # $Id: setup.py 87 2010-07-01 18:01:03Z ver $ from distutils.core import setup description = """ The Jersey core libraries provide common abstractions used by Jersey software. """ def getVersion(): import os packageSeedFile = os.path.join("lib", "_version.py") ns = {"__name__": __name__, } execfile(packageSeedFile, ns) return ns["version"] version = getVersion() setup( name = "jersey", version = version.short(), description = "Jersey Core Libraries", long_description = description, author = "Oliver Gould", author_email = "ver@yahoo-inc.com", maintainer = "Jersey-Devel", maintainer_email = "jersey-devel@yahoo-inc.com", package_dir = { "jersey": "lib", }, packages = [ "jersey", "jersey.cases", ], py_modules = [ "jersey._version", "jersey.cli", "jersey.cases.test_cli", "jersey.inet", "jersey.cases.test_inet", "jersey.log", "jersey.cases.test_log", ], provides = [ "jersey", "jersey.cli", "jersey.log", ], requires = [ "twisted (>=9.0.0)", ], )
<commit_before>#/usr/bin/env python2.6 # # $Id: setup.py 87 2010-07-01 18:01:03Z ver $ from distutils.core import setup description = """ The Jersey core libraries provide common abstractions used by Jersey software. """ def getVersion(): import os packageSeedFile = os.path.join("src", "lib", "_version.py") ns = {"__name__": __name__, } execfile(packageSeedFile, ns) return ns["version"] version = getVersion() setup( name = "jersey", version = version.short(), description = "Jersey Core Libraries", long_description = description, author = "Oliver Gould", author_email = "ver@yahoo-inc.com", maintainer = "Jersey-Devel", maintainer_email = "jersey-devel@yahoo-inc.com", package_dir = { "jersey": "src/lib", }, packages = [ "jersey", "jersey.cases", ], py_modules = [ "jersey._version", "jersey.cli", "jersey.cases.test_cli", "jersey.inet", "jersey.cases.test_inet", "jersey.log", "jersey.cases.test_log", ], provides = [ "jersey", "jersey.cli", "jersey.log", ], requires = [ "twisted (>=9.0.0)", ], ) <commit_msg>Use lib/ instead of src/lib.<commit_after>#/usr/bin/env python2.6 # # $Id: setup.py 87 2010-07-01 18:01:03Z ver $ from distutils.core import setup description = """ The Jersey core libraries provide common abstractions used by Jersey software. """ def getVersion(): import os packageSeedFile = os.path.join("lib", "_version.py") ns = {"__name__": __name__, } execfile(packageSeedFile, ns) return ns["version"] version = getVersion() setup( name = "jersey", version = version.short(), description = "Jersey Core Libraries", long_description = description, author = "Oliver Gould", author_email = "ver@yahoo-inc.com", maintainer = "Jersey-Devel", maintainer_email = "jersey-devel@yahoo-inc.com", package_dir = { "jersey": "lib", }, packages = [ "jersey", "jersey.cases", ], py_modules = [ "jersey._version", "jersey.cli", "jersey.cases.test_cli", "jersey.inet", "jersey.cases.test_inet", "jersey.log", "jersey.cases.test_log", ], provides = [ "jersey", "jersey.cli", "jersey.log", ], requires = [ "twisted (>=9.0.0)", ], )
8cc2882d4e3355e4fa07776988c570ff18af49cb
setup.py
setup.py
from setuptools import setup from os import path this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name='gopay', version='1.2.4', long_description=long_description, long_description_content_type="text/markdown", url='https://github.com/gopaycommunity/gopay-python-sdk', author='GoPay', author_email='integrace@gopay.cz', license='MIT', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', "Topic :: Software Development :: Libraries :: Python Modules", 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: Implementation :: PyPy', ], keywords='gopay payments sdk rest api', packages=['gopay'], install_requires=['requests'], )
from setuptools import setup from os import path this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name='gopay', version='1.2.4', long_description=long_description, long_description_content_type="text/markdown", url='https://github.com/gopaycommunity/gopay-python-sdk', author='GoPay', author_email='integrace@gopay.cz', license='MIT', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', "Topic :: Software Development :: Libraries :: Python Modules", 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: Implementation :: PyPy', ], keywords='gopay payments sdk rest api', packages=['gopay'], install_requires=['requests', 'deprecated>=1.2.0'], )
Add deprecated >= 1.2.0 to install_requires
Add deprecated >= 1.2.0 to install_requires
Python
mit
gopaycommunity/gopay-python-api
from setuptools import setup from os import path this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name='gopay', version='1.2.4', long_description=long_description, long_description_content_type="text/markdown", url='https://github.com/gopaycommunity/gopay-python-sdk', author='GoPay', author_email='integrace@gopay.cz', license='MIT', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', "Topic :: Software Development :: Libraries :: Python Modules", 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: Implementation :: PyPy', ], keywords='gopay payments sdk rest api', packages=['gopay'], install_requires=['requests'], ) Add deprecated >= 1.2.0 to install_requires
from setuptools import setup from os import path this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name='gopay', version='1.2.4', long_description=long_description, long_description_content_type="text/markdown", url='https://github.com/gopaycommunity/gopay-python-sdk', author='GoPay', author_email='integrace@gopay.cz', license='MIT', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', "Topic :: Software Development :: Libraries :: Python Modules", 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: Implementation :: PyPy', ], keywords='gopay payments sdk rest api', packages=['gopay'], install_requires=['requests', 'deprecated>=1.2.0'], )
<commit_before>from setuptools import setup from os import path this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name='gopay', version='1.2.4', long_description=long_description, long_description_content_type="text/markdown", url='https://github.com/gopaycommunity/gopay-python-sdk', author='GoPay', author_email='integrace@gopay.cz', license='MIT', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', "Topic :: Software Development :: Libraries :: Python Modules", 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: Implementation :: PyPy', ], keywords='gopay payments sdk rest api', packages=['gopay'], install_requires=['requests'], ) <commit_msg>Add deprecated >= 1.2.0 to install_requires<commit_after>
from setuptools import setup from os import path this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name='gopay', version='1.2.4', long_description=long_description, long_description_content_type="text/markdown", url='https://github.com/gopaycommunity/gopay-python-sdk', author='GoPay', author_email='integrace@gopay.cz', license='MIT', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', "Topic :: Software Development :: Libraries :: Python Modules", 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: Implementation :: PyPy', ], keywords='gopay payments sdk rest api', packages=['gopay'], install_requires=['requests', 'deprecated>=1.2.0'], )
from setuptools import setup from os import path this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name='gopay', version='1.2.4', long_description=long_description, long_description_content_type="text/markdown", url='https://github.com/gopaycommunity/gopay-python-sdk', author='GoPay', author_email='integrace@gopay.cz', license='MIT', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', "Topic :: Software Development :: Libraries :: Python Modules", 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: Implementation :: PyPy', ], keywords='gopay payments sdk rest api', packages=['gopay'], install_requires=['requests'], ) Add deprecated >= 1.2.0 to install_requiresfrom setuptools import setup from os import path this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name='gopay', version='1.2.4', long_description=long_description, long_description_content_type="text/markdown", url='https://github.com/gopaycommunity/gopay-python-sdk', author='GoPay', author_email='integrace@gopay.cz', license='MIT', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', "Topic :: Software Development :: Libraries :: Python Modules", 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: Implementation :: PyPy', ], keywords='gopay payments sdk rest api', packages=['gopay'], install_requires=['requests', 'deprecated>=1.2.0'], )
<commit_before>from setuptools import setup from os import path this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name='gopay', version='1.2.4', long_description=long_description, long_description_content_type="text/markdown", url='https://github.com/gopaycommunity/gopay-python-sdk', author='GoPay', author_email='integrace@gopay.cz', license='MIT', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', "Topic :: Software Development :: Libraries :: Python Modules", 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: Implementation :: PyPy', ], keywords='gopay payments sdk rest api', packages=['gopay'], install_requires=['requests'], ) <commit_msg>Add deprecated >= 1.2.0 to install_requires<commit_after>from setuptools import setup from os import path this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read() setup( name='gopay', version='1.2.4', long_description=long_description, long_description_content_type="text/markdown", url='https://github.com/gopaycommunity/gopay-python-sdk', author='GoPay', author_email='integrace@gopay.cz', license='MIT', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', "Topic :: Software Development :: Libraries :: Python Modules", 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: Implementation :: PyPy', ], keywords='gopay payments sdk rest api', packages=['gopay'], install_requires=['requests', 'deprecated>=1.2.0'], )
c158b4c80335ab9d5a4bc83b4ab11b3a1d455419
setup.py
setup.py
#!/bin/env python from setuptools import setup # Load module version from ovr/version.py exec(open('src/openvr/version.py').read()) setup( name='openvr', version=__version__, author='Christopher Bruns and others', author_email='cmbruns@rotatingpenguin.com', description='Valve OpenVR SDK python bindings using ctypes', url='https://github.com/cmbruns/pyopenvr', download_url='https://github.com/cmbruns/pyopenvr/tarball/' + __version__, package_dir={'': 'src'}, packages=['openvr', 'openvr.glframework'], package_data={'openvr': ['*.dll', '*.so', '*.dylib']}, keywords='openvr valve htc vive vr virtual reality 3d graphics', license='BSD', classifiers="""\ Environment :: Win32 (MS Windows) Intended Audience :: Developers License :: OSI Approved :: BSD License Operating System :: Microsoft :: Windows Operating System :: Microsoft :: Windows :: Windows 7 Operating System :: POSIX :: Linux Operating System :: MacOS :: MacOS X Programming Language :: Python :: 2.7 Programming Language :: Python :: 3.5 Programming Language :: Python :: Implementation :: CPython Topic :: Multimedia :: Graphics :: 3D Rendering Topic :: Scientific/Engineering :: Visualization Development Status :: 4 - Beta """.splitlines(), )
#!/bin/env python from setuptools import setup # Load module version from ovr/version.py exec(open('src/openvr/version.py').read()) setup( name='openvr', version=__version__, author='Christopher Bruns and others', author_email='cmbruns@rotatingpenguin.com', description='Valve OpenVR SDK python bindings using ctypes', long_description='Valve OpenVR SDK python bindings using ctypes', url='https://github.com/cmbruns/pyopenvr', download_url='https://github.com/cmbruns/pyopenvr/tarball/' + __version__, package_dir={'': 'src'}, packages=['openvr', 'openvr.glframework'], package_data={'openvr': ['*.dll', '*.so', '*.dylib']}, keywords='openvr valve htc vive vr virtual reality 3d graphics', license='BSD', classifiers="""\ Environment :: Win32 (MS Windows) Intended Audience :: Developers License :: OSI Approved :: BSD License Operating System :: Microsoft :: Windows Operating System :: Microsoft :: Windows :: Windows 7 Operating System :: POSIX :: Linux Operating System :: MacOS :: MacOS X Programming Language :: Python :: 2.7 Programming Language :: Python :: 3.5 Programming Language :: Python :: Implementation :: CPython Topic :: Multimedia :: Graphics :: 3D Rendering Topic :: Scientific/Engineering :: Visualization Development Status :: 4 - Beta """.splitlines(), )
Add long_description field to avoid PyPi page error.
Add long_description field to avoid PyPi page error.
Python
bsd-3-clause
cmbruns/pyopenvr,cmbruns/pyopenvr,cmbruns/pyopenvr,cmbruns/pyopenvr
#!/bin/env python from setuptools import setup # Load module version from ovr/version.py exec(open('src/openvr/version.py').read()) setup( name='openvr', version=__version__, author='Christopher Bruns and others', author_email='cmbruns@rotatingpenguin.com', description='Valve OpenVR SDK python bindings using ctypes', url='https://github.com/cmbruns/pyopenvr', download_url='https://github.com/cmbruns/pyopenvr/tarball/' + __version__, package_dir={'': 'src'}, packages=['openvr', 'openvr.glframework'], package_data={'openvr': ['*.dll', '*.so', '*.dylib']}, keywords='openvr valve htc vive vr virtual reality 3d graphics', license='BSD', classifiers="""\ Environment :: Win32 (MS Windows) Intended Audience :: Developers License :: OSI Approved :: BSD License Operating System :: Microsoft :: Windows Operating System :: Microsoft :: Windows :: Windows 7 Operating System :: POSIX :: Linux Operating System :: MacOS :: MacOS X Programming Language :: Python :: 2.7 Programming Language :: Python :: 3.5 Programming Language :: Python :: Implementation :: CPython Topic :: Multimedia :: Graphics :: 3D Rendering Topic :: Scientific/Engineering :: Visualization Development Status :: 4 - Beta """.splitlines(), ) Add long_description field to avoid PyPi page error.
#!/bin/env python from setuptools import setup # Load module version from ovr/version.py exec(open('src/openvr/version.py').read()) setup( name='openvr', version=__version__, author='Christopher Bruns and others', author_email='cmbruns@rotatingpenguin.com', description='Valve OpenVR SDK python bindings using ctypes', long_description='Valve OpenVR SDK python bindings using ctypes', url='https://github.com/cmbruns/pyopenvr', download_url='https://github.com/cmbruns/pyopenvr/tarball/' + __version__, package_dir={'': 'src'}, packages=['openvr', 'openvr.glframework'], package_data={'openvr': ['*.dll', '*.so', '*.dylib']}, keywords='openvr valve htc vive vr virtual reality 3d graphics', license='BSD', classifiers="""\ Environment :: Win32 (MS Windows) Intended Audience :: Developers License :: OSI Approved :: BSD License Operating System :: Microsoft :: Windows Operating System :: Microsoft :: Windows :: Windows 7 Operating System :: POSIX :: Linux Operating System :: MacOS :: MacOS X Programming Language :: Python :: 2.7 Programming Language :: Python :: 3.5 Programming Language :: Python :: Implementation :: CPython Topic :: Multimedia :: Graphics :: 3D Rendering Topic :: Scientific/Engineering :: Visualization Development Status :: 4 - Beta """.splitlines(), )
<commit_before>#!/bin/env python from setuptools import setup # Load module version from ovr/version.py exec(open('src/openvr/version.py').read()) setup( name='openvr', version=__version__, author='Christopher Bruns and others', author_email='cmbruns@rotatingpenguin.com', description='Valve OpenVR SDK python bindings using ctypes', url='https://github.com/cmbruns/pyopenvr', download_url='https://github.com/cmbruns/pyopenvr/tarball/' + __version__, package_dir={'': 'src'}, packages=['openvr', 'openvr.glframework'], package_data={'openvr': ['*.dll', '*.so', '*.dylib']}, keywords='openvr valve htc vive vr virtual reality 3d graphics', license='BSD', classifiers="""\ Environment :: Win32 (MS Windows) Intended Audience :: Developers License :: OSI Approved :: BSD License Operating System :: Microsoft :: Windows Operating System :: Microsoft :: Windows :: Windows 7 Operating System :: POSIX :: Linux Operating System :: MacOS :: MacOS X Programming Language :: Python :: 2.7 Programming Language :: Python :: 3.5 Programming Language :: Python :: Implementation :: CPython Topic :: Multimedia :: Graphics :: 3D Rendering Topic :: Scientific/Engineering :: Visualization Development Status :: 4 - Beta """.splitlines(), ) <commit_msg>Add long_description field to avoid PyPi page error.<commit_after>
#!/bin/env python from setuptools import setup # Load module version from ovr/version.py exec(open('src/openvr/version.py').read()) setup( name='openvr', version=__version__, author='Christopher Bruns and others', author_email='cmbruns@rotatingpenguin.com', description='Valve OpenVR SDK python bindings using ctypes', long_description='Valve OpenVR SDK python bindings using ctypes', url='https://github.com/cmbruns/pyopenvr', download_url='https://github.com/cmbruns/pyopenvr/tarball/' + __version__, package_dir={'': 'src'}, packages=['openvr', 'openvr.glframework'], package_data={'openvr': ['*.dll', '*.so', '*.dylib']}, keywords='openvr valve htc vive vr virtual reality 3d graphics', license='BSD', classifiers="""\ Environment :: Win32 (MS Windows) Intended Audience :: Developers License :: OSI Approved :: BSD License Operating System :: Microsoft :: Windows Operating System :: Microsoft :: Windows :: Windows 7 Operating System :: POSIX :: Linux Operating System :: MacOS :: MacOS X Programming Language :: Python :: 2.7 Programming Language :: Python :: 3.5 Programming Language :: Python :: Implementation :: CPython Topic :: Multimedia :: Graphics :: 3D Rendering Topic :: Scientific/Engineering :: Visualization Development Status :: 4 - Beta """.splitlines(), )
#!/bin/env python from setuptools import setup # Load module version from ovr/version.py exec(open('src/openvr/version.py').read()) setup( name='openvr', version=__version__, author='Christopher Bruns and others', author_email='cmbruns@rotatingpenguin.com', description='Valve OpenVR SDK python bindings using ctypes', url='https://github.com/cmbruns/pyopenvr', download_url='https://github.com/cmbruns/pyopenvr/tarball/' + __version__, package_dir={'': 'src'}, packages=['openvr', 'openvr.glframework'], package_data={'openvr': ['*.dll', '*.so', '*.dylib']}, keywords='openvr valve htc vive vr virtual reality 3d graphics', license='BSD', classifiers="""\ Environment :: Win32 (MS Windows) Intended Audience :: Developers License :: OSI Approved :: BSD License Operating System :: Microsoft :: Windows Operating System :: Microsoft :: Windows :: Windows 7 Operating System :: POSIX :: Linux Operating System :: MacOS :: MacOS X Programming Language :: Python :: 2.7 Programming Language :: Python :: 3.5 Programming Language :: Python :: Implementation :: CPython Topic :: Multimedia :: Graphics :: 3D Rendering Topic :: Scientific/Engineering :: Visualization Development Status :: 4 - Beta """.splitlines(), ) Add long_description field to avoid PyPi page error.#!/bin/env python from setuptools import setup # Load module version from ovr/version.py exec(open('src/openvr/version.py').read()) setup( name='openvr', version=__version__, author='Christopher Bruns and others', author_email='cmbruns@rotatingpenguin.com', description='Valve OpenVR SDK python bindings using ctypes', long_description='Valve OpenVR SDK python bindings using ctypes', url='https://github.com/cmbruns/pyopenvr', download_url='https://github.com/cmbruns/pyopenvr/tarball/' + __version__, package_dir={'': 'src'}, packages=['openvr', 'openvr.glframework'], package_data={'openvr': ['*.dll', '*.so', '*.dylib']}, keywords='openvr valve htc vive vr virtual reality 3d graphics', license='BSD', classifiers="""\ Environment :: Win32 (MS Windows) Intended Audience :: Developers License :: OSI Approved :: BSD License Operating System :: Microsoft :: Windows Operating System :: Microsoft :: Windows :: Windows 7 Operating System :: POSIX :: Linux Operating System :: MacOS :: MacOS X Programming Language :: Python :: 2.7 Programming Language :: Python :: 3.5 Programming Language :: Python :: Implementation :: CPython Topic :: Multimedia :: Graphics :: 3D Rendering Topic :: Scientific/Engineering :: Visualization Development Status :: 4 - Beta """.splitlines(), )
<commit_before>#!/bin/env python from setuptools import setup # Load module version from ovr/version.py exec(open('src/openvr/version.py').read()) setup( name='openvr', version=__version__, author='Christopher Bruns and others', author_email='cmbruns@rotatingpenguin.com', description='Valve OpenVR SDK python bindings using ctypes', url='https://github.com/cmbruns/pyopenvr', download_url='https://github.com/cmbruns/pyopenvr/tarball/' + __version__, package_dir={'': 'src'}, packages=['openvr', 'openvr.glframework'], package_data={'openvr': ['*.dll', '*.so', '*.dylib']}, keywords='openvr valve htc vive vr virtual reality 3d graphics', license='BSD', classifiers="""\ Environment :: Win32 (MS Windows) Intended Audience :: Developers License :: OSI Approved :: BSD License Operating System :: Microsoft :: Windows Operating System :: Microsoft :: Windows :: Windows 7 Operating System :: POSIX :: Linux Operating System :: MacOS :: MacOS X Programming Language :: Python :: 2.7 Programming Language :: Python :: 3.5 Programming Language :: Python :: Implementation :: CPython Topic :: Multimedia :: Graphics :: 3D Rendering Topic :: Scientific/Engineering :: Visualization Development Status :: 4 - Beta """.splitlines(), ) <commit_msg>Add long_description field to avoid PyPi page error.<commit_after>#!/bin/env python from setuptools import setup # Load module version from ovr/version.py exec(open('src/openvr/version.py').read()) setup( name='openvr', version=__version__, author='Christopher Bruns and others', author_email='cmbruns@rotatingpenguin.com', description='Valve OpenVR SDK python bindings using ctypes', long_description='Valve OpenVR SDK python bindings using ctypes', url='https://github.com/cmbruns/pyopenvr', download_url='https://github.com/cmbruns/pyopenvr/tarball/' + __version__, package_dir={'': 'src'}, packages=['openvr', 'openvr.glframework'], package_data={'openvr': ['*.dll', '*.so', '*.dylib']}, keywords='openvr valve htc vive vr virtual reality 3d graphics', license='BSD', classifiers="""\ Environment :: Win32 (MS Windows) Intended Audience :: Developers License :: OSI Approved :: BSD License Operating System :: Microsoft :: Windows Operating System :: Microsoft :: Windows :: Windows 7 Operating System :: POSIX :: Linux Operating System :: MacOS :: MacOS X Programming Language :: Python :: 2.7 Programming Language :: Python :: 3.5 Programming Language :: Python :: Implementation :: CPython Topic :: Multimedia :: Graphics :: 3D Rendering Topic :: Scientific/Engineering :: Visualization Development Status :: 4 - Beta """.splitlines(), )
59d6d3c93363a457a5e97c43d970177a35fad721
setup.py
setup.py
from setuptools import setup, find_packages setup( name='zeit.content.gallery', version='2.7.4.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description="vivi Content-Type Portraitbox", packages=find_packages('src'), package_dir={'': 'src'}, include_package_data=True, zip_safe=False, license='BSD', namespace_packages=['zeit', 'zeit.content'], install_requires=[ 'cssselect', 'Pillow', 'gocept.form', 'setuptools', 'zeit.cms>=2.92.1.dev0', 'zeit.connector>=2.4.0.dev0', 'zeit.imp>=0.15.0.dev0', 'zeit.content.image', 'zeit.push>=1.7.0.dev0', 'zeit.wysiwyg', 'zope.app.appsetup', 'zope.app.testing', 'zope.component', 'zope.formlib', 'zope.interface', 'zope.publisher', 'zope.security', 'zope.testing', ], entry_points={ 'fanstatic.libraries': [ 'zeit_content_gallery=zeit.content.gallery.browser.resources:lib', ], }, )
from setuptools import setup, find_packages setup( name='zeit.content.gallery', version='2.7.4.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description="vivi Content-Type Portraitbox", packages=find_packages('src'), package_dir={'': 'src'}, include_package_data=True, zip_safe=False, license='BSD', namespace_packages=['zeit', 'zeit.content'], install_requires=[ 'cssselect', 'Pillow', 'gocept.form', 'setuptools', 'zeit.cms >= 3.0.dev0', 'zeit.connector>=2.4.0.dev0', 'zeit.imp>=0.15.0.dev0', 'zeit.content.image', 'zeit.push>=1.7.0.dev0', 'zeit.wysiwyg', 'zope.app.appsetup', 'zope.app.testing', 'zope.component', 'zope.formlib', 'zope.interface', 'zope.publisher', 'zope.security', 'zope.testing', ], entry_points={ 'fanstatic.libraries': [ 'zeit_content_gallery=zeit.content.gallery.browser.resources:lib', ], }, )
Update to version with celery.
ZON-3409: Update to version with celery.
Python
bsd-3-clause
ZeitOnline/zeit.content.gallery,ZeitOnline/zeit.content.gallery
from setuptools import setup, find_packages setup( name='zeit.content.gallery', version='2.7.4.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description="vivi Content-Type Portraitbox", packages=find_packages('src'), package_dir={'': 'src'}, include_package_data=True, zip_safe=False, license='BSD', namespace_packages=['zeit', 'zeit.content'], install_requires=[ 'cssselect', 'Pillow', 'gocept.form', 'setuptools', 'zeit.cms>=2.92.1.dev0', 'zeit.connector>=2.4.0.dev0', 'zeit.imp>=0.15.0.dev0', 'zeit.content.image', 'zeit.push>=1.7.0.dev0', 'zeit.wysiwyg', 'zope.app.appsetup', 'zope.app.testing', 'zope.component', 'zope.formlib', 'zope.interface', 'zope.publisher', 'zope.security', 'zope.testing', ], entry_points={ 'fanstatic.libraries': [ 'zeit_content_gallery=zeit.content.gallery.browser.resources:lib', ], }, ) ZON-3409: Update to version with celery.
from setuptools import setup, find_packages setup( name='zeit.content.gallery', version='2.7.4.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description="vivi Content-Type Portraitbox", packages=find_packages('src'), package_dir={'': 'src'}, include_package_data=True, zip_safe=False, license='BSD', namespace_packages=['zeit', 'zeit.content'], install_requires=[ 'cssselect', 'Pillow', 'gocept.form', 'setuptools', 'zeit.cms >= 3.0.dev0', 'zeit.connector>=2.4.0.dev0', 'zeit.imp>=0.15.0.dev0', 'zeit.content.image', 'zeit.push>=1.7.0.dev0', 'zeit.wysiwyg', 'zope.app.appsetup', 'zope.app.testing', 'zope.component', 'zope.formlib', 'zope.interface', 'zope.publisher', 'zope.security', 'zope.testing', ], entry_points={ 'fanstatic.libraries': [ 'zeit_content_gallery=zeit.content.gallery.browser.resources:lib', ], }, )
<commit_before>from setuptools import setup, find_packages setup( name='zeit.content.gallery', version='2.7.4.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description="vivi Content-Type Portraitbox", packages=find_packages('src'), package_dir={'': 'src'}, include_package_data=True, zip_safe=False, license='BSD', namespace_packages=['zeit', 'zeit.content'], install_requires=[ 'cssselect', 'Pillow', 'gocept.form', 'setuptools', 'zeit.cms>=2.92.1.dev0', 'zeit.connector>=2.4.0.dev0', 'zeit.imp>=0.15.0.dev0', 'zeit.content.image', 'zeit.push>=1.7.0.dev0', 'zeit.wysiwyg', 'zope.app.appsetup', 'zope.app.testing', 'zope.component', 'zope.formlib', 'zope.interface', 'zope.publisher', 'zope.security', 'zope.testing', ], entry_points={ 'fanstatic.libraries': [ 'zeit_content_gallery=zeit.content.gallery.browser.resources:lib', ], }, ) <commit_msg>ZON-3409: Update to version with celery.<commit_after>
from setuptools import setup, find_packages setup( name='zeit.content.gallery', version='2.7.4.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description="vivi Content-Type Portraitbox", packages=find_packages('src'), package_dir={'': 'src'}, include_package_data=True, zip_safe=False, license='BSD', namespace_packages=['zeit', 'zeit.content'], install_requires=[ 'cssselect', 'Pillow', 'gocept.form', 'setuptools', 'zeit.cms >= 3.0.dev0', 'zeit.connector>=2.4.0.dev0', 'zeit.imp>=0.15.0.dev0', 'zeit.content.image', 'zeit.push>=1.7.0.dev0', 'zeit.wysiwyg', 'zope.app.appsetup', 'zope.app.testing', 'zope.component', 'zope.formlib', 'zope.interface', 'zope.publisher', 'zope.security', 'zope.testing', ], entry_points={ 'fanstatic.libraries': [ 'zeit_content_gallery=zeit.content.gallery.browser.resources:lib', ], }, )
from setuptools import setup, find_packages setup( name='zeit.content.gallery', version='2.7.4.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description="vivi Content-Type Portraitbox", packages=find_packages('src'), package_dir={'': 'src'}, include_package_data=True, zip_safe=False, license='BSD', namespace_packages=['zeit', 'zeit.content'], install_requires=[ 'cssselect', 'Pillow', 'gocept.form', 'setuptools', 'zeit.cms>=2.92.1.dev0', 'zeit.connector>=2.4.0.dev0', 'zeit.imp>=0.15.0.dev0', 'zeit.content.image', 'zeit.push>=1.7.0.dev0', 'zeit.wysiwyg', 'zope.app.appsetup', 'zope.app.testing', 'zope.component', 'zope.formlib', 'zope.interface', 'zope.publisher', 'zope.security', 'zope.testing', ], entry_points={ 'fanstatic.libraries': [ 'zeit_content_gallery=zeit.content.gallery.browser.resources:lib', ], }, ) ZON-3409: Update to version with celery.from setuptools import setup, find_packages setup( name='zeit.content.gallery', version='2.7.4.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description="vivi Content-Type Portraitbox", packages=find_packages('src'), package_dir={'': 'src'}, include_package_data=True, zip_safe=False, license='BSD', namespace_packages=['zeit', 'zeit.content'], install_requires=[ 'cssselect', 'Pillow', 'gocept.form', 'setuptools', 'zeit.cms >= 3.0.dev0', 'zeit.connector>=2.4.0.dev0', 'zeit.imp>=0.15.0.dev0', 'zeit.content.image', 'zeit.push>=1.7.0.dev0', 'zeit.wysiwyg', 'zope.app.appsetup', 'zope.app.testing', 'zope.component', 'zope.formlib', 'zope.interface', 'zope.publisher', 'zope.security', 'zope.testing', ], entry_points={ 'fanstatic.libraries': [ 'zeit_content_gallery=zeit.content.gallery.browser.resources:lib', ], }, )
<commit_before>from setuptools import setup, find_packages setup( name='zeit.content.gallery', version='2.7.4.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description="vivi Content-Type Portraitbox", packages=find_packages('src'), package_dir={'': 'src'}, include_package_data=True, zip_safe=False, license='BSD', namespace_packages=['zeit', 'zeit.content'], install_requires=[ 'cssselect', 'Pillow', 'gocept.form', 'setuptools', 'zeit.cms>=2.92.1.dev0', 'zeit.connector>=2.4.0.dev0', 'zeit.imp>=0.15.0.dev0', 'zeit.content.image', 'zeit.push>=1.7.0.dev0', 'zeit.wysiwyg', 'zope.app.appsetup', 'zope.app.testing', 'zope.component', 'zope.formlib', 'zope.interface', 'zope.publisher', 'zope.security', 'zope.testing', ], entry_points={ 'fanstatic.libraries': [ 'zeit_content_gallery=zeit.content.gallery.browser.resources:lib', ], }, ) <commit_msg>ZON-3409: Update to version with celery.<commit_after>from setuptools import setup, find_packages setup( name='zeit.content.gallery', version='2.7.4.dev0', author='gocept, Zeit Online', author_email='zon-backend@zeit.de', url='http://www.zeit.de/', description="vivi Content-Type Portraitbox", packages=find_packages('src'), package_dir={'': 'src'}, include_package_data=True, zip_safe=False, license='BSD', namespace_packages=['zeit', 'zeit.content'], install_requires=[ 'cssselect', 'Pillow', 'gocept.form', 'setuptools', 'zeit.cms >= 3.0.dev0', 'zeit.connector>=2.4.0.dev0', 'zeit.imp>=0.15.0.dev0', 'zeit.content.image', 'zeit.push>=1.7.0.dev0', 'zeit.wysiwyg', 'zope.app.appsetup', 'zope.app.testing', 'zope.component', 'zope.formlib', 'zope.interface', 'zope.publisher', 'zope.security', 'zope.testing', ], entry_points={ 'fanstatic.libraries': [ 'zeit_content_gallery=zeit.content.gallery.browser.resources:lib', ], }, )
be3614978166358fecc278d43873c11acdc27a1b
setup.py
setup.py
from setuptools import setup, find_packages long_description = """ Full details available at https://github.com/marvinpinto/charlesbot """ setup( name='charlesbot', version='0.10.0', description='Slack Real Time Messaging robot written in Python 3!', long_description=long_description, author='Marvin Pinto', author_email='marvin@pinto.im', license='MIT', # See https://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3.4', ], keywords='slack robot chatops automation', url="https://github.com/marvinpinto/charlesbot", packages=find_packages( exclude=[ 'Makefile', 'docker', 'images', 'requirements-dev.txt', 'requirements.txt', 'tests' ] ), entry_points={ 'console_scripts': ['charlesbot = charlesbot.__main__:main'] }, install_requires=[ "slackclient", "websocket-client", "cchardet", "aiohttp", "PyYAML", "aiocron", "croniter", "python-dateutil", ], test_suite='nose.collector' )
from setuptools import setup, find_packages import codecs # README into long description with codecs.open('README.rst', encoding='utf-8') as f: readme = f.read() setup( name='charlesbot', version='0.10.0', description='CharlesBOT is a Python bot written to take advantage of Slack\'s Real Time Messaging API', long_description=readme, author='Marvin Pinto', author_email='marvin@pinto.im', license='MIT', # See https://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3.4', ], keywords='slack robot chatops automation', url="https://github.com/marvinpinto/charlesbot", packages=find_packages( exclude=[ 'Makefile', 'docker', 'images', 'requirements-dev.txt', 'requirements.txt', 'tests' ] ), entry_points={ 'console_scripts': ['charlesbot = charlesbot.__main__:main'] }, install_requires=[ "slackclient", "websocket-client", "cchardet", "aiohttp", "PyYAML", "aiocron", "croniter", "python-dateutil", ], test_suite='nose.collector' )
Use the README.rst file as the contents for the long_description
Use the README.rst file as the contents for the long_description This renders a lot better on PyPI: https://pypi.python.org/pypi/charlesbot
Python
mit
marvinpinto/charlesbot,marvinpinto/charlesbot
from setuptools import setup, find_packages long_description = """ Full details available at https://github.com/marvinpinto/charlesbot """ setup( name='charlesbot', version='0.10.0', description='Slack Real Time Messaging robot written in Python 3!', long_description=long_description, author='Marvin Pinto', author_email='marvin@pinto.im', license='MIT', # See https://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3.4', ], keywords='slack robot chatops automation', url="https://github.com/marvinpinto/charlesbot", packages=find_packages( exclude=[ 'Makefile', 'docker', 'images', 'requirements-dev.txt', 'requirements.txt', 'tests' ] ), entry_points={ 'console_scripts': ['charlesbot = charlesbot.__main__:main'] }, install_requires=[ "slackclient", "websocket-client", "cchardet", "aiohttp", "PyYAML", "aiocron", "croniter", "python-dateutil", ], test_suite='nose.collector' ) Use the README.rst file as the contents for the long_description This renders a lot better on PyPI: https://pypi.python.org/pypi/charlesbot
from setuptools import setup, find_packages import codecs # README into long description with codecs.open('README.rst', encoding='utf-8') as f: readme = f.read() setup( name='charlesbot', version='0.10.0', description='CharlesBOT is a Python bot written to take advantage of Slack\'s Real Time Messaging API', long_description=readme, author='Marvin Pinto', author_email='marvin@pinto.im', license='MIT', # See https://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3.4', ], keywords='slack robot chatops automation', url="https://github.com/marvinpinto/charlesbot", packages=find_packages( exclude=[ 'Makefile', 'docker', 'images', 'requirements-dev.txt', 'requirements.txt', 'tests' ] ), entry_points={ 'console_scripts': ['charlesbot = charlesbot.__main__:main'] }, install_requires=[ "slackclient", "websocket-client", "cchardet", "aiohttp", "PyYAML", "aiocron", "croniter", "python-dateutil", ], test_suite='nose.collector' )
<commit_before>from setuptools import setup, find_packages long_description = """ Full details available at https://github.com/marvinpinto/charlesbot """ setup( name='charlesbot', version='0.10.0', description='Slack Real Time Messaging robot written in Python 3!', long_description=long_description, author='Marvin Pinto', author_email='marvin@pinto.im', license='MIT', # See https://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3.4', ], keywords='slack robot chatops automation', url="https://github.com/marvinpinto/charlesbot", packages=find_packages( exclude=[ 'Makefile', 'docker', 'images', 'requirements-dev.txt', 'requirements.txt', 'tests' ] ), entry_points={ 'console_scripts': ['charlesbot = charlesbot.__main__:main'] }, install_requires=[ "slackclient", "websocket-client", "cchardet", "aiohttp", "PyYAML", "aiocron", "croniter", "python-dateutil", ], test_suite='nose.collector' ) <commit_msg>Use the README.rst file as the contents for the long_description This renders a lot better on PyPI: https://pypi.python.org/pypi/charlesbot<commit_after>
from setuptools import setup, find_packages import codecs # README into long description with codecs.open('README.rst', encoding='utf-8') as f: readme = f.read() setup( name='charlesbot', version='0.10.0', description='CharlesBOT is a Python bot written to take advantage of Slack\'s Real Time Messaging API', long_description=readme, author='Marvin Pinto', author_email='marvin@pinto.im', license='MIT', # See https://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3.4', ], keywords='slack robot chatops automation', url="https://github.com/marvinpinto/charlesbot", packages=find_packages( exclude=[ 'Makefile', 'docker', 'images', 'requirements-dev.txt', 'requirements.txt', 'tests' ] ), entry_points={ 'console_scripts': ['charlesbot = charlesbot.__main__:main'] }, install_requires=[ "slackclient", "websocket-client", "cchardet", "aiohttp", "PyYAML", "aiocron", "croniter", "python-dateutil", ], test_suite='nose.collector' )
from setuptools import setup, find_packages long_description = """ Full details available at https://github.com/marvinpinto/charlesbot """ setup( name='charlesbot', version='0.10.0', description='Slack Real Time Messaging robot written in Python 3!', long_description=long_description, author='Marvin Pinto', author_email='marvin@pinto.im', license='MIT', # See https://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3.4', ], keywords='slack robot chatops automation', url="https://github.com/marvinpinto/charlesbot", packages=find_packages( exclude=[ 'Makefile', 'docker', 'images', 'requirements-dev.txt', 'requirements.txt', 'tests' ] ), entry_points={ 'console_scripts': ['charlesbot = charlesbot.__main__:main'] }, install_requires=[ "slackclient", "websocket-client", "cchardet", "aiohttp", "PyYAML", "aiocron", "croniter", "python-dateutil", ], test_suite='nose.collector' ) Use the README.rst file as the contents for the long_description This renders a lot better on PyPI: https://pypi.python.org/pypi/charlesbotfrom setuptools import setup, find_packages import codecs # README into long description with codecs.open('README.rst', encoding='utf-8') as f: readme = f.read() setup( name='charlesbot', version='0.10.0', description='CharlesBOT is a Python bot written to take advantage of Slack\'s Real Time Messaging API', long_description=readme, author='Marvin Pinto', author_email='marvin@pinto.im', license='MIT', # See https://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3.4', ], keywords='slack robot chatops automation', url="https://github.com/marvinpinto/charlesbot", packages=find_packages( exclude=[ 'Makefile', 'docker', 'images', 'requirements-dev.txt', 'requirements.txt', 'tests' ] ), entry_points={ 'console_scripts': ['charlesbot = charlesbot.__main__:main'] }, install_requires=[ "slackclient", "websocket-client", "cchardet", "aiohttp", "PyYAML", "aiocron", "croniter", "python-dateutil", ], test_suite='nose.collector' )
<commit_before>from setuptools import setup, find_packages long_description = """ Full details available at https://github.com/marvinpinto/charlesbot """ setup( name='charlesbot', version='0.10.0', description='Slack Real Time Messaging robot written in Python 3!', long_description=long_description, author='Marvin Pinto', author_email='marvin@pinto.im', license='MIT', # See https://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3.4', ], keywords='slack robot chatops automation', url="https://github.com/marvinpinto/charlesbot", packages=find_packages( exclude=[ 'Makefile', 'docker', 'images', 'requirements-dev.txt', 'requirements.txt', 'tests' ] ), entry_points={ 'console_scripts': ['charlesbot = charlesbot.__main__:main'] }, install_requires=[ "slackclient", "websocket-client", "cchardet", "aiohttp", "PyYAML", "aiocron", "croniter", "python-dateutil", ], test_suite='nose.collector' ) <commit_msg>Use the README.rst file as the contents for the long_description This renders a lot better on PyPI: https://pypi.python.org/pypi/charlesbot<commit_after>from setuptools import setup, find_packages import codecs # README into long description with codecs.open('README.rst', encoding='utf-8') as f: readme = f.read() setup( name='charlesbot', version='0.10.0', description='CharlesBOT is a Python bot written to take advantage of Slack\'s Real Time Messaging API', long_description=readme, author='Marvin Pinto', author_email='marvin@pinto.im', license='MIT', # See https://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3.4', ], keywords='slack robot chatops automation', url="https://github.com/marvinpinto/charlesbot", packages=find_packages( exclude=[ 'Makefile', 'docker', 'images', 'requirements-dev.txt', 'requirements.txt', 'tests' ] ), entry_points={ 'console_scripts': ['charlesbot = charlesbot.__main__:main'] }, install_requires=[ "slackclient", "websocket-client", "cchardet", "aiohttp", "PyYAML", "aiocron", "croniter", "python-dateutil", ], test_suite='nose.collector' )
08c47c647fffa0953c01214c81d8e5f41fe45ddc
setup.py
setup.py
from distutils.core import setup import os def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='pandocfilters', version='1.4.2', description='Utilities for writing pandoc filters in python', long_description=read('README.rst'), author='John MacFarlane', author_email='fiddlosopher@gmail.com', url='http://github.com/jgm/pandocfilters', py_modules=['pandocfilters'], keywords=['pandoc'], classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Text Processing :: Filters', 'Programming Language :: Python :: 3' ], )
from distutils.core import setup import os def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='pandocfilters', version='1.4.2', description='Utilities for writing pandoc filters in python', long_description=read('README.rst'), author='John MacFarlane', author_email='fiddlosopher@gmail.com', url='http://github.com/jgm/pandocfilters', py_modules=['pandocfilters'], keywords=['pandoc'], python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Text Processing :: Filters', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ], )
Add python_requires to help pip, update classifiers
Add python_requires to help pip, update classifiers
Python
bsd-3-clause
AugustH/pandocfilters,jgm/pandocfilters
from distutils.core import setup import os def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='pandocfilters', version='1.4.2', description='Utilities for writing pandoc filters in python', long_description=read('README.rst'), author='John MacFarlane', author_email='fiddlosopher@gmail.com', url='http://github.com/jgm/pandocfilters', py_modules=['pandocfilters'], keywords=['pandoc'], classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Text Processing :: Filters', 'Programming Language :: Python :: 3' ], ) Add python_requires to help pip, update classifiers
from distutils.core import setup import os def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='pandocfilters', version='1.4.2', description='Utilities for writing pandoc filters in python', long_description=read('README.rst'), author='John MacFarlane', author_email='fiddlosopher@gmail.com', url='http://github.com/jgm/pandocfilters', py_modules=['pandocfilters'], keywords=['pandoc'], python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Text Processing :: Filters', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ], )
<commit_before>from distutils.core import setup import os def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='pandocfilters', version='1.4.2', description='Utilities for writing pandoc filters in python', long_description=read('README.rst'), author='John MacFarlane', author_email='fiddlosopher@gmail.com', url='http://github.com/jgm/pandocfilters', py_modules=['pandocfilters'], keywords=['pandoc'], classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Text Processing :: Filters', 'Programming Language :: Python :: 3' ], ) <commit_msg>Add python_requires to help pip, update classifiers<commit_after>
from distutils.core import setup import os def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='pandocfilters', version='1.4.2', description='Utilities for writing pandoc filters in python', long_description=read('README.rst'), author='John MacFarlane', author_email='fiddlosopher@gmail.com', url='http://github.com/jgm/pandocfilters', py_modules=['pandocfilters'], keywords=['pandoc'], python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Text Processing :: Filters', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ], )
from distutils.core import setup import os def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='pandocfilters', version='1.4.2', description='Utilities for writing pandoc filters in python', long_description=read('README.rst'), author='John MacFarlane', author_email='fiddlosopher@gmail.com', url='http://github.com/jgm/pandocfilters', py_modules=['pandocfilters'], keywords=['pandoc'], classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Text Processing :: Filters', 'Programming Language :: Python :: 3' ], ) Add python_requires to help pip, update classifiersfrom distutils.core import setup import os def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='pandocfilters', version='1.4.2', description='Utilities for writing pandoc filters in python', long_description=read('README.rst'), author='John MacFarlane', author_email='fiddlosopher@gmail.com', url='http://github.com/jgm/pandocfilters', py_modules=['pandocfilters'], keywords=['pandoc'], python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Text Processing :: Filters', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ], )
<commit_before>from distutils.core import setup import os def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='pandocfilters', version='1.4.2', description='Utilities for writing pandoc filters in python', long_description=read('README.rst'), author='John MacFarlane', author_email='fiddlosopher@gmail.com', url='http://github.com/jgm/pandocfilters', py_modules=['pandocfilters'], keywords=['pandoc'], classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Text Processing :: Filters', 'Programming Language :: Python :: 3' ], ) <commit_msg>Add python_requires to help pip, update classifiers<commit_after>from distutils.core import setup import os def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='pandocfilters', version='1.4.2', description='Utilities for writing pandoc filters in python', long_description=read('README.rst'), author='John MacFarlane', author_email='fiddlosopher@gmail.com', url='http://github.com/jgm/pandocfilters', py_modules=['pandocfilters'], keywords=['pandoc'], python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Text Processing :: Filters', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ], )
3bcb2238c0a76a125f24ec8be7fe315df08ee9f3
setup.py
setup.py
from setuptools import find_packages, setup description = """ Simply library to sign and verify SOAP XML requests using the BinarySecurityToken specification. """.strip() setup( name='soap_wsse', version='0.1.0', description=description, install_requires=[ 'dm.xmlsec.binding==1.3.2', 'lxml>=3.0.0', 'pyOpenSSL>=0.14', 'suds-jurko>=0.6', ], tests_require=[ 'py.test', 'pytest-cov', ], entry_points={ }, package_dir={'': 'src'}, packages=find_packages('src'), include_package_data=True, license='MIT', classifiers=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: MIT License', ], zip_safe=False, )
from setuptools import find_packages, setup description = """ Simply library to sign and verify SOAP XML requests using the BinarySecurityToken specification. """.strip() setup( name='soap_wsse', version='0.1.1', description=description, install_requires=[ 'dm.xmlsec.binding==1.3.2', 'lxml>=3.0.0', 'pyOpenSSL>=0.14', 'suds-jurko>=0.6', ], tests_require=[ 'py.test', 'pytest-cov', ], entry_points={ }, package_dir={'': 'src'}, packages=find_packages('src'), include_package_data=True, license='MIT', classifiers=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: MIT License', ], zip_safe=False, )
Update to 0.1.1 for license fix
Update to 0.1.1 for license fix
Python
mit
mvantellingen/py-soap-wsse
from setuptools import find_packages, setup description = """ Simply library to sign and verify SOAP XML requests using the BinarySecurityToken specification. """.strip() setup( name='soap_wsse', version='0.1.0', description=description, install_requires=[ 'dm.xmlsec.binding==1.3.2', 'lxml>=3.0.0', 'pyOpenSSL>=0.14', 'suds-jurko>=0.6', ], tests_require=[ 'py.test', 'pytest-cov', ], entry_points={ }, package_dir={'': 'src'}, packages=find_packages('src'), include_package_data=True, license='MIT', classifiers=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: MIT License', ], zip_safe=False, ) Update to 0.1.1 for license fix
from setuptools import find_packages, setup description = """ Simply library to sign and verify SOAP XML requests using the BinarySecurityToken specification. """.strip() setup( name='soap_wsse', version='0.1.1', description=description, install_requires=[ 'dm.xmlsec.binding==1.3.2', 'lxml>=3.0.0', 'pyOpenSSL>=0.14', 'suds-jurko>=0.6', ], tests_require=[ 'py.test', 'pytest-cov', ], entry_points={ }, package_dir={'': 'src'}, packages=find_packages('src'), include_package_data=True, license='MIT', classifiers=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: MIT License', ], zip_safe=False, )
<commit_before>from setuptools import find_packages, setup description = """ Simply library to sign and verify SOAP XML requests using the BinarySecurityToken specification. """.strip() setup( name='soap_wsse', version='0.1.0', description=description, install_requires=[ 'dm.xmlsec.binding==1.3.2', 'lxml>=3.0.0', 'pyOpenSSL>=0.14', 'suds-jurko>=0.6', ], tests_require=[ 'py.test', 'pytest-cov', ], entry_points={ }, package_dir={'': 'src'}, packages=find_packages('src'), include_package_data=True, license='MIT', classifiers=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: MIT License', ], zip_safe=False, ) <commit_msg>Update to 0.1.1 for license fix<commit_after>
from setuptools import find_packages, setup description = """ Simply library to sign and verify SOAP XML requests using the BinarySecurityToken specification. """.strip() setup( name='soap_wsse', version='0.1.1', description=description, install_requires=[ 'dm.xmlsec.binding==1.3.2', 'lxml>=3.0.0', 'pyOpenSSL>=0.14', 'suds-jurko>=0.6', ], tests_require=[ 'py.test', 'pytest-cov', ], entry_points={ }, package_dir={'': 'src'}, packages=find_packages('src'), include_package_data=True, license='MIT', classifiers=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: MIT License', ], zip_safe=False, )
from setuptools import find_packages, setup description = """ Simply library to sign and verify SOAP XML requests using the BinarySecurityToken specification. """.strip() setup( name='soap_wsse', version='0.1.0', description=description, install_requires=[ 'dm.xmlsec.binding==1.3.2', 'lxml>=3.0.0', 'pyOpenSSL>=0.14', 'suds-jurko>=0.6', ], tests_require=[ 'py.test', 'pytest-cov', ], entry_points={ }, package_dir={'': 'src'}, packages=find_packages('src'), include_package_data=True, license='MIT', classifiers=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: MIT License', ], zip_safe=False, ) Update to 0.1.1 for license fixfrom setuptools import find_packages, setup description = """ Simply library to sign and verify SOAP XML requests using the BinarySecurityToken specification. """.strip() setup( name='soap_wsse', version='0.1.1', description=description, install_requires=[ 'dm.xmlsec.binding==1.3.2', 'lxml>=3.0.0', 'pyOpenSSL>=0.14', 'suds-jurko>=0.6', ], tests_require=[ 'py.test', 'pytest-cov', ], entry_points={ }, package_dir={'': 'src'}, packages=find_packages('src'), include_package_data=True, license='MIT', classifiers=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: MIT License', ], zip_safe=False, )
<commit_before>from setuptools import find_packages, setup description = """ Simply library to sign and verify SOAP XML requests using the BinarySecurityToken specification. """.strip() setup( name='soap_wsse', version='0.1.0', description=description, install_requires=[ 'dm.xmlsec.binding==1.3.2', 'lxml>=3.0.0', 'pyOpenSSL>=0.14', 'suds-jurko>=0.6', ], tests_require=[ 'py.test', 'pytest-cov', ], entry_points={ }, package_dir={'': 'src'}, packages=find_packages('src'), include_package_data=True, license='MIT', classifiers=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: MIT License', ], zip_safe=False, ) <commit_msg>Update to 0.1.1 for license fix<commit_after>from setuptools import find_packages, setup description = """ Simply library to sign and verify SOAP XML requests using the BinarySecurityToken specification. """.strip() setup( name='soap_wsse', version='0.1.1', description=description, install_requires=[ 'dm.xmlsec.binding==1.3.2', 'lxml>=3.0.0', 'pyOpenSSL>=0.14', 'suds-jurko>=0.6', ], tests_require=[ 'py.test', 'pytest-cov', ], entry_points={ }, package_dir={'': 'src'}, packages=find_packages('src'), include_package_data=True, license='MIT', classifiers=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: MIT License', ], zip_safe=False, )
67888f7c38f48e3d4b94c84adbb919e0516d3362
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup import base32_crockford setup( name='base32-crockford', version='0.2.0', description=("A Python implementation of Douglas Crockford's " "base32 encoding scheme"), long_description=base32_crockford.__doc__, license='BSD', author='Jason Bittel', author_email='jason.bittel@gmail.com', url='https://github.com/jbittel/base32-crockford', download_url='https://pypi.python.org/pypi/base32-crockford/', py_modules=['base32_crockford'], include_package_data=True, classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Utilities', ], )
#!/usr/bin/env python from setuptools import setup import base32_crockford setup( name='base32-crockford', version='0.2.0', description=("A Python implementation of Douglas Crockford's " "base32 encoding scheme"), long_description=base32_crockford.__doc__, license='BSD', author='Jason Bittel', author_email='jason.bittel@gmail.com', url='https://github.com/jbittel/base32-crockford', download_url='https://pypi.python.org/pypi/base32-crockford/', py_modules=['base32_crockford'], include_package_data=True, classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Utilities', ], )
Add Python 3 trove classifiers
Add Python 3 trove classifiers
Python
bsd-3-clause
jbittel/base32-crockford,klaplong/baas32
#!/usr/bin/env python from setuptools import setup import base32_crockford setup( name='base32-crockford', version='0.2.0', description=("A Python implementation of Douglas Crockford's " "base32 encoding scheme"), long_description=base32_crockford.__doc__, license='BSD', author='Jason Bittel', author_email='jason.bittel@gmail.com', url='https://github.com/jbittel/base32-crockford', download_url='https://pypi.python.org/pypi/base32-crockford/', py_modules=['base32_crockford'], include_package_data=True, classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Utilities', ], ) Add Python 3 trove classifiers
#!/usr/bin/env python from setuptools import setup import base32_crockford setup( name='base32-crockford', version='0.2.0', description=("A Python implementation of Douglas Crockford's " "base32 encoding scheme"), long_description=base32_crockford.__doc__, license='BSD', author='Jason Bittel', author_email='jason.bittel@gmail.com', url='https://github.com/jbittel/base32-crockford', download_url='https://pypi.python.org/pypi/base32-crockford/', py_modules=['base32_crockford'], include_package_data=True, classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Utilities', ], )
<commit_before>#!/usr/bin/env python from setuptools import setup import base32_crockford setup( name='base32-crockford', version='0.2.0', description=("A Python implementation of Douglas Crockford's " "base32 encoding scheme"), long_description=base32_crockford.__doc__, license='BSD', author='Jason Bittel', author_email='jason.bittel@gmail.com', url='https://github.com/jbittel/base32-crockford', download_url='https://pypi.python.org/pypi/base32-crockford/', py_modules=['base32_crockford'], include_package_data=True, classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Utilities', ], ) <commit_msg>Add Python 3 trove classifiers<commit_after>
#!/usr/bin/env python from setuptools import setup import base32_crockford setup( name='base32-crockford', version='0.2.0', description=("A Python implementation of Douglas Crockford's " "base32 encoding scheme"), long_description=base32_crockford.__doc__, license='BSD', author='Jason Bittel', author_email='jason.bittel@gmail.com', url='https://github.com/jbittel/base32-crockford', download_url='https://pypi.python.org/pypi/base32-crockford/', py_modules=['base32_crockford'], include_package_data=True, classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Utilities', ], )
#!/usr/bin/env python from setuptools import setup import base32_crockford setup( name='base32-crockford', version='0.2.0', description=("A Python implementation of Douglas Crockford's " "base32 encoding scheme"), long_description=base32_crockford.__doc__, license='BSD', author='Jason Bittel', author_email='jason.bittel@gmail.com', url='https://github.com/jbittel/base32-crockford', download_url='https://pypi.python.org/pypi/base32-crockford/', py_modules=['base32_crockford'], include_package_data=True, classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Utilities', ], ) Add Python 3 trove classifiers#!/usr/bin/env python from setuptools import setup import base32_crockford setup( name='base32-crockford', version='0.2.0', description=("A Python implementation of Douglas Crockford's " "base32 encoding scheme"), long_description=base32_crockford.__doc__, license='BSD', author='Jason Bittel', author_email='jason.bittel@gmail.com', url='https://github.com/jbittel/base32-crockford', download_url='https://pypi.python.org/pypi/base32-crockford/', py_modules=['base32_crockford'], include_package_data=True, classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Utilities', ], )
<commit_before>#!/usr/bin/env python from setuptools import setup import base32_crockford setup( name='base32-crockford', version='0.2.0', description=("A Python implementation of Douglas Crockford's " "base32 encoding scheme"), long_description=base32_crockford.__doc__, license='BSD', author='Jason Bittel', author_email='jason.bittel@gmail.com', url='https://github.com/jbittel/base32-crockford', download_url='https://pypi.python.org/pypi/base32-crockford/', py_modules=['base32_crockford'], include_package_data=True, classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Utilities', ], ) <commit_msg>Add Python 3 trove classifiers<commit_after>#!/usr/bin/env python from setuptools import setup import base32_crockford setup( name='base32-crockford', version='0.2.0', description=("A Python implementation of Douglas Crockford's " "base32 encoding scheme"), long_description=base32_crockford.__doc__, license='BSD', author='Jason Bittel', author_email='jason.bittel@gmail.com', url='https://github.com/jbittel/base32-crockford', download_url='https://pypi.python.org/pypi/base32-crockford/', py_modules=['base32_crockford'], include_package_data=True, classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Utilities', ], )
931b6a0f7a83b495b52506f25b15a92b5c7a26af
setup.py
setup.py
import os from setuptools import setup, find_packages def read(fname): with open(os.path.join(os.path.dirname(__file__), fname)) as f: return f.read() setup( name='pynubank', version='2.17.0', url='https://github.com/andreroggeri/pynubank', author='André Roggeri Campos', author_email='a.roggeri.c@gmail.com', license='MIT', packages=find_packages(), package_data={'pynubank': ['queries/*.gql', 'utils/mocked_responses/*.json']}, install_requires=['requests', 'qrcode', 'pyOpenSSL', 'colorama', 'requests-pkcs12'], setup_requires=['pytest-runner'], long_description=read("README.md"), long_description_content_type="text/markdown", entry_points={ 'console_scripts': [ 'pynubank = pynubank.cli:main' ] }, classifiers=[ 'Programming Language :: Python', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', ] )
import os from setuptools import setup, find_packages def read(fname): with open(os.path.join(os.path.dirname(__file__), fname)) as f: return f.read() setup( name='pynubank', version='2.17.0', url='https://github.com/andreroggeri/pynubank', author='André Roggeri Campos', author_email='a.roggeri.c@gmail.com', license='MIT', packages=find_packages(), package_data={'pynubank': ['queries/*.gql', 'utils/mocked_responses/*.json']}, install_requires=['requests', 'qrcode', 'pyOpenSSL', 'colorama', 'requests-pkcs12'], setup_requires=['pytest-runner'], long_description=read("README.md"), long_description_content_type="text/markdown", entry_points={ 'console_scripts': [ 'pynubank = pynubank.cli:main' ] }, classifiers=[ 'Programming Language :: Python', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', ] )
Update classifiers to include python 3.10
chore: Update classifiers to include python 3.10
Python
mit
andreroggeri/pynubank
import os from setuptools import setup, find_packages def read(fname): with open(os.path.join(os.path.dirname(__file__), fname)) as f: return f.read() setup( name='pynubank', version='2.17.0', url='https://github.com/andreroggeri/pynubank', author='André Roggeri Campos', author_email='a.roggeri.c@gmail.com', license='MIT', packages=find_packages(), package_data={'pynubank': ['queries/*.gql', 'utils/mocked_responses/*.json']}, install_requires=['requests', 'qrcode', 'pyOpenSSL', 'colorama', 'requests-pkcs12'], setup_requires=['pytest-runner'], long_description=read("README.md"), long_description_content_type="text/markdown", entry_points={ 'console_scripts': [ 'pynubank = pynubank.cli:main' ] }, classifiers=[ 'Programming Language :: Python', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', ] ) chore: Update classifiers to include python 3.10
import os from setuptools import setup, find_packages def read(fname): with open(os.path.join(os.path.dirname(__file__), fname)) as f: return f.read() setup( name='pynubank', version='2.17.0', url='https://github.com/andreroggeri/pynubank', author='André Roggeri Campos', author_email='a.roggeri.c@gmail.com', license='MIT', packages=find_packages(), package_data={'pynubank': ['queries/*.gql', 'utils/mocked_responses/*.json']}, install_requires=['requests', 'qrcode', 'pyOpenSSL', 'colorama', 'requests-pkcs12'], setup_requires=['pytest-runner'], long_description=read("README.md"), long_description_content_type="text/markdown", entry_points={ 'console_scripts': [ 'pynubank = pynubank.cli:main' ] }, classifiers=[ 'Programming Language :: Python', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', ] )
<commit_before>import os from setuptools import setup, find_packages def read(fname): with open(os.path.join(os.path.dirname(__file__), fname)) as f: return f.read() setup( name='pynubank', version='2.17.0', url='https://github.com/andreroggeri/pynubank', author='André Roggeri Campos', author_email='a.roggeri.c@gmail.com', license='MIT', packages=find_packages(), package_data={'pynubank': ['queries/*.gql', 'utils/mocked_responses/*.json']}, install_requires=['requests', 'qrcode', 'pyOpenSSL', 'colorama', 'requests-pkcs12'], setup_requires=['pytest-runner'], long_description=read("README.md"), long_description_content_type="text/markdown", entry_points={ 'console_scripts': [ 'pynubank = pynubank.cli:main' ] }, classifiers=[ 'Programming Language :: Python', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', ] ) <commit_msg>chore: Update classifiers to include python 3.10<commit_after>
import os from setuptools import setup, find_packages def read(fname): with open(os.path.join(os.path.dirname(__file__), fname)) as f: return f.read() setup( name='pynubank', version='2.17.0', url='https://github.com/andreroggeri/pynubank', author='André Roggeri Campos', author_email='a.roggeri.c@gmail.com', license='MIT', packages=find_packages(), package_data={'pynubank': ['queries/*.gql', 'utils/mocked_responses/*.json']}, install_requires=['requests', 'qrcode', 'pyOpenSSL', 'colorama', 'requests-pkcs12'], setup_requires=['pytest-runner'], long_description=read("README.md"), long_description_content_type="text/markdown", entry_points={ 'console_scripts': [ 'pynubank = pynubank.cli:main' ] }, classifiers=[ 'Programming Language :: Python', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', ] )
import os from setuptools import setup, find_packages def read(fname): with open(os.path.join(os.path.dirname(__file__), fname)) as f: return f.read() setup( name='pynubank', version='2.17.0', url='https://github.com/andreroggeri/pynubank', author='André Roggeri Campos', author_email='a.roggeri.c@gmail.com', license='MIT', packages=find_packages(), package_data={'pynubank': ['queries/*.gql', 'utils/mocked_responses/*.json']}, install_requires=['requests', 'qrcode', 'pyOpenSSL', 'colorama', 'requests-pkcs12'], setup_requires=['pytest-runner'], long_description=read("README.md"), long_description_content_type="text/markdown", entry_points={ 'console_scripts': [ 'pynubank = pynubank.cli:main' ] }, classifiers=[ 'Programming Language :: Python', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', ] ) chore: Update classifiers to include python 3.10import os from setuptools import setup, find_packages def read(fname): with open(os.path.join(os.path.dirname(__file__), fname)) as f: return f.read() setup( name='pynubank', version='2.17.0', url='https://github.com/andreroggeri/pynubank', author='André Roggeri Campos', author_email='a.roggeri.c@gmail.com', license='MIT', packages=find_packages(), package_data={'pynubank': ['queries/*.gql', 'utils/mocked_responses/*.json']}, install_requires=['requests', 'qrcode', 'pyOpenSSL', 'colorama', 'requests-pkcs12'], setup_requires=['pytest-runner'], long_description=read("README.md"), long_description_content_type="text/markdown", entry_points={ 'console_scripts': [ 'pynubank = pynubank.cli:main' ] }, classifiers=[ 'Programming Language :: Python', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', ] )
<commit_before>import os from setuptools import setup, find_packages def read(fname): with open(os.path.join(os.path.dirname(__file__), fname)) as f: return f.read() setup( name='pynubank', version='2.17.0', url='https://github.com/andreroggeri/pynubank', author='André Roggeri Campos', author_email='a.roggeri.c@gmail.com', license='MIT', packages=find_packages(), package_data={'pynubank': ['queries/*.gql', 'utils/mocked_responses/*.json']}, install_requires=['requests', 'qrcode', 'pyOpenSSL', 'colorama', 'requests-pkcs12'], setup_requires=['pytest-runner'], long_description=read("README.md"), long_description_content_type="text/markdown", entry_points={ 'console_scripts': [ 'pynubank = pynubank.cli:main' ] }, classifiers=[ 'Programming Language :: Python', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', ] ) <commit_msg>chore: Update classifiers to include python 3.10<commit_after>import os from setuptools import setup, find_packages def read(fname): with open(os.path.join(os.path.dirname(__file__), fname)) as f: return f.read() setup( name='pynubank', version='2.17.0', url='https://github.com/andreroggeri/pynubank', author='André Roggeri Campos', author_email='a.roggeri.c@gmail.com', license='MIT', packages=find_packages(), package_data={'pynubank': ['queries/*.gql', 'utils/mocked_responses/*.json']}, install_requires=['requests', 'qrcode', 'pyOpenSSL', 'colorama', 'requests-pkcs12'], setup_requires=['pytest-runner'], long_description=read("README.md"), long_description_content_type="text/markdown", entry_points={ 'console_scripts': [ 'pynubank = pynubank.cli:main' ] }, classifiers=[ 'Programming Language :: Python', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', ] )
1cbd0ce39e2e4d2b704787989bf9deb99c68aaa9
setup.py
setup.py
from distutils.core import setup import py2exe setup( console=[{'script':'check_forbidden.py','version':'1.1.0',}], ) ''' cd dropbox/codes/check_forbidden py -3.4 setup.py py2exe '''
from distutils.core import setup import py2exe setup( console=[{'script': 'check_forbidden.py', 'version': '1.1.3', }], options={'py2exe': {'bundle_files': 2}} ) ''' cd dropbox/codes/check_forbidden py -3.4 setup.py py2exe '''
Reduce the number of files in dist folder
Reduce the number of files in dist folder
Python
mit
ShunSakurai/check_forbidden,ShunSakurai/check_forbidden
from distutils.core import setup import py2exe setup( console=[{'script':'check_forbidden.py','version':'1.1.0',}], ) ''' cd dropbox/codes/check_forbidden py -3.4 setup.py py2exe ''' Reduce the number of files in dist folder
from distutils.core import setup import py2exe setup( console=[{'script': 'check_forbidden.py', 'version': '1.1.3', }], options={'py2exe': {'bundle_files': 2}} ) ''' cd dropbox/codes/check_forbidden py -3.4 setup.py py2exe '''
<commit_before>from distutils.core import setup import py2exe setup( console=[{'script':'check_forbidden.py','version':'1.1.0',}], ) ''' cd dropbox/codes/check_forbidden py -3.4 setup.py py2exe ''' <commit_msg>Reduce the number of files in dist folder<commit_after>
from distutils.core import setup import py2exe setup( console=[{'script': 'check_forbidden.py', 'version': '1.1.3', }], options={'py2exe': {'bundle_files': 2}} ) ''' cd dropbox/codes/check_forbidden py -3.4 setup.py py2exe '''
from distutils.core import setup import py2exe setup( console=[{'script':'check_forbidden.py','version':'1.1.0',}], ) ''' cd dropbox/codes/check_forbidden py -3.4 setup.py py2exe ''' Reduce the number of files in dist folderfrom distutils.core import setup import py2exe setup( console=[{'script': 'check_forbidden.py', 'version': '1.1.3', }], options={'py2exe': {'bundle_files': 2}} ) ''' cd dropbox/codes/check_forbidden py -3.4 setup.py py2exe '''
<commit_before>from distutils.core import setup import py2exe setup( console=[{'script':'check_forbidden.py','version':'1.1.0',}], ) ''' cd dropbox/codes/check_forbidden py -3.4 setup.py py2exe ''' <commit_msg>Reduce the number of files in dist folder<commit_after>from distutils.core import setup import py2exe setup( console=[{'script': 'check_forbidden.py', 'version': '1.1.3', }], options={'py2exe': {'bundle_files': 2}} ) ''' cd dropbox/codes/check_forbidden py -3.4 setup.py py2exe '''
199eb0d90c989a7511fbae58304961532ea8d43e
setup.py
setup.py
from setuptools import setup setup( name='GingerioChartioUtilities', version='0.1', author='Jeremy A Johnson', author_email='jeremy@ginger.io', packages=['chartio'], scripts=[], url='https://github.com/ginger-io/chartio', license='LICENSE', description='Chart.io Utilities', long_description=open('README.md').read(), install_requires=[ "Pillow==2.3.0", "PyPDF2==1.19", "selenium==2.31.0", ], )
from setuptools import setup setup( name='GingerioChartioUtilities', version='0.1', author='Jeremy A Johnson', author_email='jeremy@ginger.io', packages=['chartio'], scripts=[], url='https://github.com/ginger-io/chartio', license='LICENSE', description='Chart.io Utilities', long_description=open('README.md').read(), install_requires=[ "Pillow>=2.3.0", "PyPDF2>=1.19", "selenium>=2.31.0", ], )
Allow newer versions of dependencies
Allow newer versions of dependencies
Python
apache-2.0
ginger-io/chartio
from setuptools import setup setup( name='GingerioChartioUtilities', version='0.1', author='Jeremy A Johnson', author_email='jeremy@ginger.io', packages=['chartio'], scripts=[], url='https://github.com/ginger-io/chartio', license='LICENSE', description='Chart.io Utilities', long_description=open('README.md').read(), install_requires=[ "Pillow==2.3.0", "PyPDF2==1.19", "selenium==2.31.0", ], ) Allow newer versions of dependencies
from setuptools import setup setup( name='GingerioChartioUtilities', version='0.1', author='Jeremy A Johnson', author_email='jeremy@ginger.io', packages=['chartio'], scripts=[], url='https://github.com/ginger-io/chartio', license='LICENSE', description='Chart.io Utilities', long_description=open('README.md').read(), install_requires=[ "Pillow>=2.3.0", "PyPDF2>=1.19", "selenium>=2.31.0", ], )
<commit_before>from setuptools import setup setup( name='GingerioChartioUtilities', version='0.1', author='Jeremy A Johnson', author_email='jeremy@ginger.io', packages=['chartio'], scripts=[], url='https://github.com/ginger-io/chartio', license='LICENSE', description='Chart.io Utilities', long_description=open('README.md').read(), install_requires=[ "Pillow==2.3.0", "PyPDF2==1.19", "selenium==2.31.0", ], ) <commit_msg>Allow newer versions of dependencies<commit_after>
from setuptools import setup setup( name='GingerioChartioUtilities', version='0.1', author='Jeremy A Johnson', author_email='jeremy@ginger.io', packages=['chartio'], scripts=[], url='https://github.com/ginger-io/chartio', license='LICENSE', description='Chart.io Utilities', long_description=open('README.md').read(), install_requires=[ "Pillow>=2.3.0", "PyPDF2>=1.19", "selenium>=2.31.0", ], )
from setuptools import setup setup( name='GingerioChartioUtilities', version='0.1', author='Jeremy A Johnson', author_email='jeremy@ginger.io', packages=['chartio'], scripts=[], url='https://github.com/ginger-io/chartio', license='LICENSE', description='Chart.io Utilities', long_description=open('README.md').read(), install_requires=[ "Pillow==2.3.0", "PyPDF2==1.19", "selenium==2.31.0", ], ) Allow newer versions of dependenciesfrom setuptools import setup setup( name='GingerioChartioUtilities', version='0.1', author='Jeremy A Johnson', author_email='jeremy@ginger.io', packages=['chartio'], scripts=[], url='https://github.com/ginger-io/chartio', license='LICENSE', description='Chart.io Utilities', long_description=open('README.md').read(), install_requires=[ "Pillow>=2.3.0", "PyPDF2>=1.19", "selenium>=2.31.0", ], )
<commit_before>from setuptools import setup setup( name='GingerioChartioUtilities', version='0.1', author='Jeremy A Johnson', author_email='jeremy@ginger.io', packages=['chartio'], scripts=[], url='https://github.com/ginger-io/chartio', license='LICENSE', description='Chart.io Utilities', long_description=open('README.md').read(), install_requires=[ "Pillow==2.3.0", "PyPDF2==1.19", "selenium==2.31.0", ], ) <commit_msg>Allow newer versions of dependencies<commit_after>from setuptools import setup setup( name='GingerioChartioUtilities', version='0.1', author='Jeremy A Johnson', author_email='jeremy@ginger.io', packages=['chartio'], scripts=[], url='https://github.com/ginger-io/chartio', license='LICENSE', description='Chart.io Utilities', long_description=open('README.md').read(), install_requires=[ "Pillow>=2.3.0", "PyPDF2>=1.19", "selenium>=2.31.0", ], )
25cee68231c350d124614237402ae4cb5fc7c19d
setup.py
setup.py
import os from setuptools import setup, find_packages version = '1.5.0_patch1' def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='django-cas-client', version=version, description="Django Cas Client", long_description=read('README.md'), classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.5", "Framework :: Django :: 1.6", "Framework :: Django :: 1.7", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 2", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Utilities", "License :: OSI Approved :: MIT License", ], keywords='django cas', author='Derek Stegelman, Garrett Pennington', author_email='derekst@k-state.edu, garrettp@gmail.com', url='http://github.com/kstateome/django-cas/', license='MIT', packages=find_packages(), include_package_data=True, zip_safe=True, )
import os from setuptools import setup, find_packages version = '1.5.0' def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='django-cas-client', version=version, description="Django Cas Client", long_description=read('README.md'), classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.5", "Framework :: Django :: 1.6", "Framework :: Django :: 1.7", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 2", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Utilities", "License :: OSI Approved :: MIT License", ], keywords='django cas', author='Derek Stegelman, Garrett Pennington', author_email='derekst@k-state.edu, garrettp@gmail.com', url='http://github.com/kstateome/django-cas/', license='MIT', packages=find_packages(), include_package_data=True, zip_safe=True, )
Revert version update made for our mirror.
Revert version update made for our mirror.
Python
mit
kstateome/django-cas
import os from setuptools import setup, find_packages version = '1.5.0_patch1' def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='django-cas-client', version=version, description="Django Cas Client", long_description=read('README.md'), classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.5", "Framework :: Django :: 1.6", "Framework :: Django :: 1.7", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 2", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Utilities", "License :: OSI Approved :: MIT License", ], keywords='django cas', author='Derek Stegelman, Garrett Pennington', author_email='derekst@k-state.edu, garrettp@gmail.com', url='http://github.com/kstateome/django-cas/', license='MIT', packages=find_packages(), include_package_data=True, zip_safe=True, ) Revert version update made for our mirror.
import os from setuptools import setup, find_packages version = '1.5.0' def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='django-cas-client', version=version, description="Django Cas Client", long_description=read('README.md'), classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.5", "Framework :: Django :: 1.6", "Framework :: Django :: 1.7", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 2", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Utilities", "License :: OSI Approved :: MIT License", ], keywords='django cas', author='Derek Stegelman, Garrett Pennington', author_email='derekst@k-state.edu, garrettp@gmail.com', url='http://github.com/kstateome/django-cas/', license='MIT', packages=find_packages(), include_package_data=True, zip_safe=True, )
<commit_before>import os from setuptools import setup, find_packages version = '1.5.0_patch1' def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='django-cas-client', version=version, description="Django Cas Client", long_description=read('README.md'), classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.5", "Framework :: Django :: 1.6", "Framework :: Django :: 1.7", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 2", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Utilities", "License :: OSI Approved :: MIT License", ], keywords='django cas', author='Derek Stegelman, Garrett Pennington', author_email='derekst@k-state.edu, garrettp@gmail.com', url='http://github.com/kstateome/django-cas/', license='MIT', packages=find_packages(), include_package_data=True, zip_safe=True, ) <commit_msg>Revert version update made for our mirror.<commit_after>
import os from setuptools import setup, find_packages version = '1.5.0' def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='django-cas-client', version=version, description="Django Cas Client", long_description=read('README.md'), classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.5", "Framework :: Django :: 1.6", "Framework :: Django :: 1.7", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 2", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Utilities", "License :: OSI Approved :: MIT License", ], keywords='django cas', author='Derek Stegelman, Garrett Pennington', author_email='derekst@k-state.edu, garrettp@gmail.com', url='http://github.com/kstateome/django-cas/', license='MIT', packages=find_packages(), include_package_data=True, zip_safe=True, )
import os from setuptools import setup, find_packages version = '1.5.0_patch1' def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='django-cas-client', version=version, description="Django Cas Client", long_description=read('README.md'), classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.5", "Framework :: Django :: 1.6", "Framework :: Django :: 1.7", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 2", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Utilities", "License :: OSI Approved :: MIT License", ], keywords='django cas', author='Derek Stegelman, Garrett Pennington', author_email='derekst@k-state.edu, garrettp@gmail.com', url='http://github.com/kstateome/django-cas/', license='MIT', packages=find_packages(), include_package_data=True, zip_safe=True, ) Revert version update made for our mirror.import os from setuptools import setup, find_packages version = '1.5.0' def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='django-cas-client', version=version, description="Django Cas Client", long_description=read('README.md'), classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.5", "Framework :: Django :: 1.6", "Framework :: Django :: 1.7", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 2", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Utilities", "License :: OSI Approved :: MIT License", ], keywords='django cas', author='Derek Stegelman, Garrett Pennington', author_email='derekst@k-state.edu, garrettp@gmail.com', url='http://github.com/kstateome/django-cas/', license='MIT', packages=find_packages(), include_package_data=True, zip_safe=True, )
<commit_before>import os from setuptools import setup, find_packages version = '1.5.0_patch1' def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='django-cas-client', version=version, description="Django Cas Client", long_description=read('README.md'), classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.5", "Framework :: Django :: 1.6", "Framework :: Django :: 1.7", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 2", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Utilities", "License :: OSI Approved :: MIT License", ], keywords='django cas', author='Derek Stegelman, Garrett Pennington', author_email='derekst@k-state.edu, garrettp@gmail.com', url='http://github.com/kstateome/django-cas/', license='MIT', packages=find_packages(), include_package_data=True, zip_safe=True, ) <commit_msg>Revert version update made for our mirror.<commit_after>import os from setuptools import setup, find_packages version = '1.5.0' def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='django-cas-client', version=version, description="Django Cas Client", long_description=read('README.md'), classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.5", "Framework :: Django :: 1.6", "Framework :: Django :: 1.7", "Intended Audience :: Developers", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 2", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Utilities", "License :: OSI Approved :: MIT License", ], keywords='django cas', author='Derek Stegelman, Garrett Pennington', author_email='derekst@k-state.edu, garrettp@gmail.com', url='http://github.com/kstateome/django-cas/', license='MIT', packages=find_packages(), include_package_data=True, zip_safe=True, )
6a0877dc49b6fbcd6ca3475e2329aabfdb066c09
serrano/resources/field/stats.py
serrano/resources/field/stats.py
from django.core.urlresolvers import reverse from avocado.events import usage from .base import FieldBase class FieldStats(FieldBase): "Field Stats Resource" def get(self, request, pk): uri = request.build_absolute_uri instance = request.instance if instance.simple_type == 'number': stats = instance.max().min().avg() elif (instance.simple_type == 'date' or instance.simple_type == 'time' or instance.simple_type == 'datetime'): stats = instance.max().min() else: stats = instance.count(distinct=True) if stats is None: resp = {} else: resp = next(iter(stats)) resp['_links'] = { 'self': { 'href': uri( reverse('serrano:field-stats', args=[instance.pk])), }, 'parent': { 'href': uri(reverse('serrano:field', args=[instance.pk])), }, } usage.log('stats', instance=instance, request=request) return resp
from django.core.urlresolvers import reverse from avocado.events import usage from .base import FieldBase class FieldStats(FieldBase): "Field Stats Resource" def get(self, request, pk): uri = request.build_absolute_uri instance = request.instance if instance.simple_type == 'number': stats = instance.max().min().avg() elif (instance.simple_type == 'date' or instance.simple_type == 'time' or instance.simple_type == 'datetime'): stats = instance.max().min() else: stats = instance.count(distinct=True) if stats is None: resp = {} else: try: resp = next(iter(stats)) except StopIteration: resp = {} resp['_links'] = { 'self': { 'href': uri( reverse('serrano:field-stats', args=[instance.pk])), }, 'parent': { 'href': uri(reverse('serrano:field', args=[instance.pk])), }, } usage.log('stats', instance=instance, request=request) return resp
Return empty response when StopIteration is raised on exhausted iterator
Return empty response when StopIteration is raised on exhausted iterator
Python
bsd-2-clause
chop-dbhi/serrano,rv816/serrano_night,rv816/serrano_night,chop-dbhi/serrano
from django.core.urlresolvers import reverse from avocado.events import usage from .base import FieldBase class FieldStats(FieldBase): "Field Stats Resource" def get(self, request, pk): uri = request.build_absolute_uri instance = request.instance if instance.simple_type == 'number': stats = instance.max().min().avg() elif (instance.simple_type == 'date' or instance.simple_type == 'time' or instance.simple_type == 'datetime'): stats = instance.max().min() else: stats = instance.count(distinct=True) if stats is None: resp = {} else: resp = next(iter(stats)) resp['_links'] = { 'self': { 'href': uri( reverse('serrano:field-stats', args=[instance.pk])), }, 'parent': { 'href': uri(reverse('serrano:field', args=[instance.pk])), }, } usage.log('stats', instance=instance, request=request) return resp Return empty response when StopIteration is raised on exhausted iterator
from django.core.urlresolvers import reverse from avocado.events import usage from .base import FieldBase class FieldStats(FieldBase): "Field Stats Resource" def get(self, request, pk): uri = request.build_absolute_uri instance = request.instance if instance.simple_type == 'number': stats = instance.max().min().avg() elif (instance.simple_type == 'date' or instance.simple_type == 'time' or instance.simple_type == 'datetime'): stats = instance.max().min() else: stats = instance.count(distinct=True) if stats is None: resp = {} else: try: resp = next(iter(stats)) except StopIteration: resp = {} resp['_links'] = { 'self': { 'href': uri( reverse('serrano:field-stats', args=[instance.pk])), }, 'parent': { 'href': uri(reverse('serrano:field', args=[instance.pk])), }, } usage.log('stats', instance=instance, request=request) return resp
<commit_before>from django.core.urlresolvers import reverse from avocado.events import usage from .base import FieldBase class FieldStats(FieldBase): "Field Stats Resource" def get(self, request, pk): uri = request.build_absolute_uri instance = request.instance if instance.simple_type == 'number': stats = instance.max().min().avg() elif (instance.simple_type == 'date' or instance.simple_type == 'time' or instance.simple_type == 'datetime'): stats = instance.max().min() else: stats = instance.count(distinct=True) if stats is None: resp = {} else: resp = next(iter(stats)) resp['_links'] = { 'self': { 'href': uri( reverse('serrano:field-stats', args=[instance.pk])), }, 'parent': { 'href': uri(reverse('serrano:field', args=[instance.pk])), }, } usage.log('stats', instance=instance, request=request) return resp <commit_msg>Return empty response when StopIteration is raised on exhausted iterator<commit_after>
from django.core.urlresolvers import reverse from avocado.events import usage from .base import FieldBase class FieldStats(FieldBase): "Field Stats Resource" def get(self, request, pk): uri = request.build_absolute_uri instance = request.instance if instance.simple_type == 'number': stats = instance.max().min().avg() elif (instance.simple_type == 'date' or instance.simple_type == 'time' or instance.simple_type == 'datetime'): stats = instance.max().min() else: stats = instance.count(distinct=True) if stats is None: resp = {} else: try: resp = next(iter(stats)) except StopIteration: resp = {} resp['_links'] = { 'self': { 'href': uri( reverse('serrano:field-stats', args=[instance.pk])), }, 'parent': { 'href': uri(reverse('serrano:field', args=[instance.pk])), }, } usage.log('stats', instance=instance, request=request) return resp
from django.core.urlresolvers import reverse from avocado.events import usage from .base import FieldBase class FieldStats(FieldBase): "Field Stats Resource" def get(self, request, pk): uri = request.build_absolute_uri instance = request.instance if instance.simple_type == 'number': stats = instance.max().min().avg() elif (instance.simple_type == 'date' or instance.simple_type == 'time' or instance.simple_type == 'datetime'): stats = instance.max().min() else: stats = instance.count(distinct=True) if stats is None: resp = {} else: resp = next(iter(stats)) resp['_links'] = { 'self': { 'href': uri( reverse('serrano:field-stats', args=[instance.pk])), }, 'parent': { 'href': uri(reverse('serrano:field', args=[instance.pk])), }, } usage.log('stats', instance=instance, request=request) return resp Return empty response when StopIteration is raised on exhausted iteratorfrom django.core.urlresolvers import reverse from avocado.events import usage from .base import FieldBase class FieldStats(FieldBase): "Field Stats Resource" def get(self, request, pk): uri = request.build_absolute_uri instance = request.instance if instance.simple_type == 'number': stats = instance.max().min().avg() elif (instance.simple_type == 'date' or instance.simple_type == 'time' or instance.simple_type == 'datetime'): stats = instance.max().min() else: stats = instance.count(distinct=True) if stats is None: resp = {} else: try: resp = next(iter(stats)) except StopIteration: resp = {} resp['_links'] = { 'self': { 'href': uri( reverse('serrano:field-stats', args=[instance.pk])), }, 'parent': { 'href': uri(reverse('serrano:field', args=[instance.pk])), }, } usage.log('stats', instance=instance, request=request) return resp
<commit_before>from django.core.urlresolvers import reverse from avocado.events import usage from .base import FieldBase class FieldStats(FieldBase): "Field Stats Resource" def get(self, request, pk): uri = request.build_absolute_uri instance = request.instance if instance.simple_type == 'number': stats = instance.max().min().avg() elif (instance.simple_type == 'date' or instance.simple_type == 'time' or instance.simple_type == 'datetime'): stats = instance.max().min() else: stats = instance.count(distinct=True) if stats is None: resp = {} else: resp = next(iter(stats)) resp['_links'] = { 'self': { 'href': uri( reverse('serrano:field-stats', args=[instance.pk])), }, 'parent': { 'href': uri(reverse('serrano:field', args=[instance.pk])), }, } usage.log('stats', instance=instance, request=request) return resp <commit_msg>Return empty response when StopIteration is raised on exhausted iterator<commit_after>from django.core.urlresolvers import reverse from avocado.events import usage from .base import FieldBase class FieldStats(FieldBase): "Field Stats Resource" def get(self, request, pk): uri = request.build_absolute_uri instance = request.instance if instance.simple_type == 'number': stats = instance.max().min().avg() elif (instance.simple_type == 'date' or instance.simple_type == 'time' or instance.simple_type == 'datetime'): stats = instance.max().min() else: stats = instance.count(distinct=True) if stats is None: resp = {} else: try: resp = next(iter(stats)) except StopIteration: resp = {} resp['_links'] = { 'self': { 'href': uri( reverse('serrano:field-stats', args=[instance.pk])), }, 'parent': { 'href': uri(reverse('serrano:field', args=[instance.pk])), }, } usage.log('stats', instance=instance, request=request) return resp
d1f28280482315ebc568919b54f8b43c3ca93649
scrapi/settings/travis-dist.py
scrapi/settings/travis-dist.py
DEBUG = False BROKER_URL = 'amqp://guest@localhost' RECORD_HTTP_TRANSACTIONS = False CELERY_EAGER_PROPAGATES_EXCEPTIONS = True RAW_PROCESSING = ['cassandra', 'postgres'] NORMALIZED_PROCESSING = ['elasticsearch', 'cassandra', 'postgres'] RESPONSE_PROCESSING = None SENTRY_DSN = None USE_FLUENTD = False CASSANDRA_URI = ['127.0.0.1'] CASSANDRA_KEYSPACE = 'scrapi' ELASTIC_URI = 'localhost:9200' ELASTIC_TIMEOUT = 10 ELASTIC_INDEX = 'share' PLOS_API_KEY = 'fakekey' HARVARD_DATAVERSE_API_KEY = 'anotherfakekey' disabled = ['stepic', 'shareok'] FRONTEND_KEYS = [ u'description', u'contributors', u'tags', u'raw', u'title', u'id', u'source', u'dateUpdated' ]
DEBUG = False BROKER_URL = 'amqp://guest@localhost' RECORD_HTTP_TRANSACTIONS = False CELERY_EAGER_PROPAGATES_EXCEPTIONS = True RAW_PROCESSING = ['cassandra', 'postgres'] NORMALIZED_PROCESSING = ['elasticsearch', 'cassandra', 'postgres'] RESPONSE_PROCESSING = 'postgres' SENTRY_DSN = None USE_FLUENTD = False CASSANDRA_URI = ['127.0.0.1'] CASSANDRA_KEYSPACE = 'scrapi' ELASTIC_URI = 'localhost:9200' ELASTIC_TIMEOUT = 10 ELASTIC_INDEX = 'share' PLOS_API_KEY = 'fakekey' HARVARD_DATAVERSE_API_KEY = 'anotherfakekey' disabled = ['stepic', 'shareok'] FRONTEND_KEYS = [ u'description', u'contributors', u'tags', u'raw', u'title', u'id', u'source', u'dateUpdated' ]
Add postgres as response processing for travis
Add postgres as response processing for travis
Python
apache-2.0
erinspace/scrapi,erinspace/scrapi,mehanig/scrapi,fabianvf/scrapi,fabianvf/scrapi,felliott/scrapi,CenterForOpenScience/scrapi,felliott/scrapi,CenterForOpenScience/scrapi,mehanig/scrapi
DEBUG = False BROKER_URL = 'amqp://guest@localhost' RECORD_HTTP_TRANSACTIONS = False CELERY_EAGER_PROPAGATES_EXCEPTIONS = True RAW_PROCESSING = ['cassandra', 'postgres'] NORMALIZED_PROCESSING = ['elasticsearch', 'cassandra', 'postgres'] RESPONSE_PROCESSING = None SENTRY_DSN = None USE_FLUENTD = False CASSANDRA_URI = ['127.0.0.1'] CASSANDRA_KEYSPACE = 'scrapi' ELASTIC_URI = 'localhost:9200' ELASTIC_TIMEOUT = 10 ELASTIC_INDEX = 'share' PLOS_API_KEY = 'fakekey' HARVARD_DATAVERSE_API_KEY = 'anotherfakekey' disabled = ['stepic', 'shareok'] FRONTEND_KEYS = [ u'description', u'contributors', u'tags', u'raw', u'title', u'id', u'source', u'dateUpdated' ] Add postgres as response processing for travis
DEBUG = False BROKER_URL = 'amqp://guest@localhost' RECORD_HTTP_TRANSACTIONS = False CELERY_EAGER_PROPAGATES_EXCEPTIONS = True RAW_PROCESSING = ['cassandra', 'postgres'] NORMALIZED_PROCESSING = ['elasticsearch', 'cassandra', 'postgres'] RESPONSE_PROCESSING = 'postgres' SENTRY_DSN = None USE_FLUENTD = False CASSANDRA_URI = ['127.0.0.1'] CASSANDRA_KEYSPACE = 'scrapi' ELASTIC_URI = 'localhost:9200' ELASTIC_TIMEOUT = 10 ELASTIC_INDEX = 'share' PLOS_API_KEY = 'fakekey' HARVARD_DATAVERSE_API_KEY = 'anotherfakekey' disabled = ['stepic', 'shareok'] FRONTEND_KEYS = [ u'description', u'contributors', u'tags', u'raw', u'title', u'id', u'source', u'dateUpdated' ]
<commit_before>DEBUG = False BROKER_URL = 'amqp://guest@localhost' RECORD_HTTP_TRANSACTIONS = False CELERY_EAGER_PROPAGATES_EXCEPTIONS = True RAW_PROCESSING = ['cassandra', 'postgres'] NORMALIZED_PROCESSING = ['elasticsearch', 'cassandra', 'postgres'] RESPONSE_PROCESSING = None SENTRY_DSN = None USE_FLUENTD = False CASSANDRA_URI = ['127.0.0.1'] CASSANDRA_KEYSPACE = 'scrapi' ELASTIC_URI = 'localhost:9200' ELASTIC_TIMEOUT = 10 ELASTIC_INDEX = 'share' PLOS_API_KEY = 'fakekey' HARVARD_DATAVERSE_API_KEY = 'anotherfakekey' disabled = ['stepic', 'shareok'] FRONTEND_KEYS = [ u'description', u'contributors', u'tags', u'raw', u'title', u'id', u'source', u'dateUpdated' ] <commit_msg>Add postgres as response processing for travis<commit_after>
DEBUG = False BROKER_URL = 'amqp://guest@localhost' RECORD_HTTP_TRANSACTIONS = False CELERY_EAGER_PROPAGATES_EXCEPTIONS = True RAW_PROCESSING = ['cassandra', 'postgres'] NORMALIZED_PROCESSING = ['elasticsearch', 'cassandra', 'postgres'] RESPONSE_PROCESSING = 'postgres' SENTRY_DSN = None USE_FLUENTD = False CASSANDRA_URI = ['127.0.0.1'] CASSANDRA_KEYSPACE = 'scrapi' ELASTIC_URI = 'localhost:9200' ELASTIC_TIMEOUT = 10 ELASTIC_INDEX = 'share' PLOS_API_KEY = 'fakekey' HARVARD_DATAVERSE_API_KEY = 'anotherfakekey' disabled = ['stepic', 'shareok'] FRONTEND_KEYS = [ u'description', u'contributors', u'tags', u'raw', u'title', u'id', u'source', u'dateUpdated' ]
DEBUG = False BROKER_URL = 'amqp://guest@localhost' RECORD_HTTP_TRANSACTIONS = False CELERY_EAGER_PROPAGATES_EXCEPTIONS = True RAW_PROCESSING = ['cassandra', 'postgres'] NORMALIZED_PROCESSING = ['elasticsearch', 'cassandra', 'postgres'] RESPONSE_PROCESSING = None SENTRY_DSN = None USE_FLUENTD = False CASSANDRA_URI = ['127.0.0.1'] CASSANDRA_KEYSPACE = 'scrapi' ELASTIC_URI = 'localhost:9200' ELASTIC_TIMEOUT = 10 ELASTIC_INDEX = 'share' PLOS_API_KEY = 'fakekey' HARVARD_DATAVERSE_API_KEY = 'anotherfakekey' disabled = ['stepic', 'shareok'] FRONTEND_KEYS = [ u'description', u'contributors', u'tags', u'raw', u'title', u'id', u'source', u'dateUpdated' ] Add postgres as response processing for travisDEBUG = False BROKER_URL = 'amqp://guest@localhost' RECORD_HTTP_TRANSACTIONS = False CELERY_EAGER_PROPAGATES_EXCEPTIONS = True RAW_PROCESSING = ['cassandra', 'postgres'] NORMALIZED_PROCESSING = ['elasticsearch', 'cassandra', 'postgres'] RESPONSE_PROCESSING = 'postgres' SENTRY_DSN = None USE_FLUENTD = False CASSANDRA_URI = ['127.0.0.1'] CASSANDRA_KEYSPACE = 'scrapi' ELASTIC_URI = 'localhost:9200' ELASTIC_TIMEOUT = 10 ELASTIC_INDEX = 'share' PLOS_API_KEY = 'fakekey' HARVARD_DATAVERSE_API_KEY = 'anotherfakekey' disabled = ['stepic', 'shareok'] FRONTEND_KEYS = [ u'description', u'contributors', u'tags', u'raw', u'title', u'id', u'source', u'dateUpdated' ]
<commit_before>DEBUG = False BROKER_URL = 'amqp://guest@localhost' RECORD_HTTP_TRANSACTIONS = False CELERY_EAGER_PROPAGATES_EXCEPTIONS = True RAW_PROCESSING = ['cassandra', 'postgres'] NORMALIZED_PROCESSING = ['elasticsearch', 'cassandra', 'postgres'] RESPONSE_PROCESSING = None SENTRY_DSN = None USE_FLUENTD = False CASSANDRA_URI = ['127.0.0.1'] CASSANDRA_KEYSPACE = 'scrapi' ELASTIC_URI = 'localhost:9200' ELASTIC_TIMEOUT = 10 ELASTIC_INDEX = 'share' PLOS_API_KEY = 'fakekey' HARVARD_DATAVERSE_API_KEY = 'anotherfakekey' disabled = ['stepic', 'shareok'] FRONTEND_KEYS = [ u'description', u'contributors', u'tags', u'raw', u'title', u'id', u'source', u'dateUpdated' ] <commit_msg>Add postgres as response processing for travis<commit_after>DEBUG = False BROKER_URL = 'amqp://guest@localhost' RECORD_HTTP_TRANSACTIONS = False CELERY_EAGER_PROPAGATES_EXCEPTIONS = True RAW_PROCESSING = ['cassandra', 'postgres'] NORMALIZED_PROCESSING = ['elasticsearch', 'cassandra', 'postgres'] RESPONSE_PROCESSING = 'postgres' SENTRY_DSN = None USE_FLUENTD = False CASSANDRA_URI = ['127.0.0.1'] CASSANDRA_KEYSPACE = 'scrapi' ELASTIC_URI = 'localhost:9200' ELASTIC_TIMEOUT = 10 ELASTIC_INDEX = 'share' PLOS_API_KEY = 'fakekey' HARVARD_DATAVERSE_API_KEY = 'anotherfakekey' disabled = ['stepic', 'shareok'] FRONTEND_KEYS = [ u'description', u'contributors', u'tags', u'raw', u'title', u'id', u'source', u'dateUpdated' ]
6007130b702c7ac7bb0d431cc48a7bf56875fb79
setup.py
setup.py
#!/usr/bin/env python # Copyright (c) The ppd team # See LICENSE for details. from distutils.core import setup setup( name='ppd', version='0.1.0', description='Organizes pentesting information', author='Matt Haggard', author_email='haggardii@gmail.com', url='https://github.com/iffy/ppd', packages=[ 'ppd', 'ppd.test', ], install_requires=[ 'structlog', 'unqlite', 'PyYaml', ], scripts=[ 'scripts/ppd', ] )
#!/usr/bin/env python # Copyright (c) The ppd team # See LICENSE for details. from distutils.core import setup setup( name='ppd', version='0.1.0', description='Organizes pentesting information', author='Matt Haggard', author_email='haggardii@gmail.com', url='https://github.com/iffy/ppd', packages=[ 'ppd', 'ppd.test', ], install_requires=[ 'structlog', 'unqlite', 'PyYaml', 'ordereddict', ], scripts=[ 'scripts/ppd', ] )
Add ordereddict as required package (for 2.6)
Add ordereddict as required package (for 2.6)
Python
apache-2.0
iffy/ppd
#!/usr/bin/env python # Copyright (c) The ppd team # See LICENSE for details. from distutils.core import setup setup( name='ppd', version='0.1.0', description='Organizes pentesting information', author='Matt Haggard', author_email='haggardii@gmail.com', url='https://github.com/iffy/ppd', packages=[ 'ppd', 'ppd.test', ], install_requires=[ 'structlog', 'unqlite', 'PyYaml', ], scripts=[ 'scripts/ppd', ] )Add ordereddict as required package (for 2.6)
#!/usr/bin/env python # Copyright (c) The ppd team # See LICENSE for details. from distutils.core import setup setup( name='ppd', version='0.1.0', description='Organizes pentesting information', author='Matt Haggard', author_email='haggardii@gmail.com', url='https://github.com/iffy/ppd', packages=[ 'ppd', 'ppd.test', ], install_requires=[ 'structlog', 'unqlite', 'PyYaml', 'ordereddict', ], scripts=[ 'scripts/ppd', ] )
<commit_before>#!/usr/bin/env python # Copyright (c) The ppd team # See LICENSE for details. from distutils.core import setup setup( name='ppd', version='0.1.0', description='Organizes pentesting information', author='Matt Haggard', author_email='haggardii@gmail.com', url='https://github.com/iffy/ppd', packages=[ 'ppd', 'ppd.test', ], install_requires=[ 'structlog', 'unqlite', 'PyYaml', ], scripts=[ 'scripts/ppd', ] )<commit_msg>Add ordereddict as required package (for 2.6)<commit_after>
#!/usr/bin/env python # Copyright (c) The ppd team # See LICENSE for details. from distutils.core import setup setup( name='ppd', version='0.1.0', description='Organizes pentesting information', author='Matt Haggard', author_email='haggardii@gmail.com', url='https://github.com/iffy/ppd', packages=[ 'ppd', 'ppd.test', ], install_requires=[ 'structlog', 'unqlite', 'PyYaml', 'ordereddict', ], scripts=[ 'scripts/ppd', ] )
#!/usr/bin/env python # Copyright (c) The ppd team # See LICENSE for details. from distutils.core import setup setup( name='ppd', version='0.1.0', description='Organizes pentesting information', author='Matt Haggard', author_email='haggardii@gmail.com', url='https://github.com/iffy/ppd', packages=[ 'ppd', 'ppd.test', ], install_requires=[ 'structlog', 'unqlite', 'PyYaml', ], scripts=[ 'scripts/ppd', ] )Add ordereddict as required package (for 2.6)#!/usr/bin/env python # Copyright (c) The ppd team # See LICENSE for details. from distutils.core import setup setup( name='ppd', version='0.1.0', description='Organizes pentesting information', author='Matt Haggard', author_email='haggardii@gmail.com', url='https://github.com/iffy/ppd', packages=[ 'ppd', 'ppd.test', ], install_requires=[ 'structlog', 'unqlite', 'PyYaml', 'ordereddict', ], scripts=[ 'scripts/ppd', ] )
<commit_before>#!/usr/bin/env python # Copyright (c) The ppd team # See LICENSE for details. from distutils.core import setup setup( name='ppd', version='0.1.0', description='Organizes pentesting information', author='Matt Haggard', author_email='haggardii@gmail.com', url='https://github.com/iffy/ppd', packages=[ 'ppd', 'ppd.test', ], install_requires=[ 'structlog', 'unqlite', 'PyYaml', ], scripts=[ 'scripts/ppd', ] )<commit_msg>Add ordereddict as required package (for 2.6)<commit_after>#!/usr/bin/env python # Copyright (c) The ppd team # See LICENSE for details. from distutils.core import setup setup( name='ppd', version='0.1.0', description='Organizes pentesting information', author='Matt Haggard', author_email='haggardii@gmail.com', url='https://github.com/iffy/ppd', packages=[ 'ppd', 'ppd.test', ], install_requires=[ 'structlog', 'unqlite', 'PyYaml', 'ordereddict', ], scripts=[ 'scripts/ppd', ] )
1d840ce507df4765a707d42316ff493872d2e12c
setup.py
setup.py
from setuptools import setup, find_packages setup( name='moksha', version='0.1', description='', author='', author_email='', #url='', install_requires=[ "TurboGears2", "ToscaWidgets >= 0.9.1", "zope.sqlalchemy", "Shove", "feedcache", "feedparser", "tw.jquery", ], packages=find_packages(exclude=['ez_setup']), include_package_data=True, test_suite='nose.collector', tests_require=['WebTest', 'BeautifulSoup'], package_data={'moksha': ['i18n/*/LC_MESSAGES/*.mo', 'templates/*/*', 'public/*/*']}, #message_extractors = {'moksha': [ # ('**.py', 'python', None), # ('templates/**.mako', 'mako', None), # ('templates/**.html', 'genshi', None), # ('public/**', 'ignore', None)]}, entry_points=""" [paste.app_factory] main = moksha.config.middleware:make_app [paste.app_install] main = pylons.util:PylonsInstaller [moksha.widget] orbited = moksha.hub:OrbitedWidget """, )
from setuptools import setup, find_packages setup( name='moksha', version='0.1', description='', author='', author_email='', #url='', install_requires=[ "TurboGears2", "ToscaWidgets >= 0.9.1", "zope.sqlalchemy", "Shove", "feedcache", "feedparser", "tw.jquery", "repoze.squeeze", "repoze.profile", "stompservice" ], packages=find_packages(exclude=['ez_setup']), include_package_data=True, test_suite='nose.collector', tests_require=['WebTest', 'BeautifulSoup'], package_data={'moksha': ['i18n/*/LC_MESSAGES/*.mo', 'templates/*/*', 'public/*/*']}, #message_extractors = {'moksha': [ # ('**.py', 'python', None), # ('templates/**.mako', 'mako', None), # ('templates/**.html', 'genshi', None), # ('public/**', 'ignore', None)]}, entry_points=""" [paste.app_factory] main = moksha.config.middleware:make_app [paste.app_install] main = pylons.util:PylonsInstaller [moksha.widget] orbited = moksha.hub:OrbitedWidget """, )
Add repoze.{squeeze,profile} and stompservice to our dependency list
Add repoze.{squeeze,profile} and stompservice to our dependency list
Python
apache-2.0
ralphbean/moksha,mokshaproject/moksha,lmacken/moksha,pombredanne/moksha,lmacken/moksha,ralphbean/moksha,pombredanne/moksha,mokshaproject/moksha,pombredanne/moksha,mokshaproject/moksha,ralphbean/moksha,mokshaproject/moksha,pombredanne/moksha,lmacken/moksha
from setuptools import setup, find_packages setup( name='moksha', version='0.1', description='', author='', author_email='', #url='', install_requires=[ "TurboGears2", "ToscaWidgets >= 0.9.1", "zope.sqlalchemy", "Shove", "feedcache", "feedparser", "tw.jquery", ], packages=find_packages(exclude=['ez_setup']), include_package_data=True, test_suite='nose.collector', tests_require=['WebTest', 'BeautifulSoup'], package_data={'moksha': ['i18n/*/LC_MESSAGES/*.mo', 'templates/*/*', 'public/*/*']}, #message_extractors = {'moksha': [ # ('**.py', 'python', None), # ('templates/**.mako', 'mako', None), # ('templates/**.html', 'genshi', None), # ('public/**', 'ignore', None)]}, entry_points=""" [paste.app_factory] main = moksha.config.middleware:make_app [paste.app_install] main = pylons.util:PylonsInstaller [moksha.widget] orbited = moksha.hub:OrbitedWidget """, ) Add repoze.{squeeze,profile} and stompservice to our dependency list
from setuptools import setup, find_packages setup( name='moksha', version='0.1', description='', author='', author_email='', #url='', install_requires=[ "TurboGears2", "ToscaWidgets >= 0.9.1", "zope.sqlalchemy", "Shove", "feedcache", "feedparser", "tw.jquery", "repoze.squeeze", "repoze.profile", "stompservice" ], packages=find_packages(exclude=['ez_setup']), include_package_data=True, test_suite='nose.collector', tests_require=['WebTest', 'BeautifulSoup'], package_data={'moksha': ['i18n/*/LC_MESSAGES/*.mo', 'templates/*/*', 'public/*/*']}, #message_extractors = {'moksha': [ # ('**.py', 'python', None), # ('templates/**.mako', 'mako', None), # ('templates/**.html', 'genshi', None), # ('public/**', 'ignore', None)]}, entry_points=""" [paste.app_factory] main = moksha.config.middleware:make_app [paste.app_install] main = pylons.util:PylonsInstaller [moksha.widget] orbited = moksha.hub:OrbitedWidget """, )
<commit_before>from setuptools import setup, find_packages setup( name='moksha', version='0.1', description='', author='', author_email='', #url='', install_requires=[ "TurboGears2", "ToscaWidgets >= 0.9.1", "zope.sqlalchemy", "Shove", "feedcache", "feedparser", "tw.jquery", ], packages=find_packages(exclude=['ez_setup']), include_package_data=True, test_suite='nose.collector', tests_require=['WebTest', 'BeautifulSoup'], package_data={'moksha': ['i18n/*/LC_MESSAGES/*.mo', 'templates/*/*', 'public/*/*']}, #message_extractors = {'moksha': [ # ('**.py', 'python', None), # ('templates/**.mako', 'mako', None), # ('templates/**.html', 'genshi', None), # ('public/**', 'ignore', None)]}, entry_points=""" [paste.app_factory] main = moksha.config.middleware:make_app [paste.app_install] main = pylons.util:PylonsInstaller [moksha.widget] orbited = moksha.hub:OrbitedWidget """, ) <commit_msg>Add repoze.{squeeze,profile} and stompservice to our dependency list<commit_after>
from setuptools import setup, find_packages setup( name='moksha', version='0.1', description='', author='', author_email='', #url='', install_requires=[ "TurboGears2", "ToscaWidgets >= 0.9.1", "zope.sqlalchemy", "Shove", "feedcache", "feedparser", "tw.jquery", "repoze.squeeze", "repoze.profile", "stompservice" ], packages=find_packages(exclude=['ez_setup']), include_package_data=True, test_suite='nose.collector', tests_require=['WebTest', 'BeautifulSoup'], package_data={'moksha': ['i18n/*/LC_MESSAGES/*.mo', 'templates/*/*', 'public/*/*']}, #message_extractors = {'moksha': [ # ('**.py', 'python', None), # ('templates/**.mako', 'mako', None), # ('templates/**.html', 'genshi', None), # ('public/**', 'ignore', None)]}, entry_points=""" [paste.app_factory] main = moksha.config.middleware:make_app [paste.app_install] main = pylons.util:PylonsInstaller [moksha.widget] orbited = moksha.hub:OrbitedWidget """, )
from setuptools import setup, find_packages setup( name='moksha', version='0.1', description='', author='', author_email='', #url='', install_requires=[ "TurboGears2", "ToscaWidgets >= 0.9.1", "zope.sqlalchemy", "Shove", "feedcache", "feedparser", "tw.jquery", ], packages=find_packages(exclude=['ez_setup']), include_package_data=True, test_suite='nose.collector', tests_require=['WebTest', 'BeautifulSoup'], package_data={'moksha': ['i18n/*/LC_MESSAGES/*.mo', 'templates/*/*', 'public/*/*']}, #message_extractors = {'moksha': [ # ('**.py', 'python', None), # ('templates/**.mako', 'mako', None), # ('templates/**.html', 'genshi', None), # ('public/**', 'ignore', None)]}, entry_points=""" [paste.app_factory] main = moksha.config.middleware:make_app [paste.app_install] main = pylons.util:PylonsInstaller [moksha.widget] orbited = moksha.hub:OrbitedWidget """, ) Add repoze.{squeeze,profile} and stompservice to our dependency listfrom setuptools import setup, find_packages setup( name='moksha', version='0.1', description='', author='', author_email='', #url='', install_requires=[ "TurboGears2", "ToscaWidgets >= 0.9.1", "zope.sqlalchemy", "Shove", "feedcache", "feedparser", "tw.jquery", "repoze.squeeze", "repoze.profile", "stompservice" ], packages=find_packages(exclude=['ez_setup']), include_package_data=True, test_suite='nose.collector', tests_require=['WebTest', 'BeautifulSoup'], package_data={'moksha': ['i18n/*/LC_MESSAGES/*.mo', 'templates/*/*', 'public/*/*']}, #message_extractors = {'moksha': [ # ('**.py', 'python', None), # ('templates/**.mako', 'mako', None), # ('templates/**.html', 'genshi', None), # ('public/**', 'ignore', None)]}, entry_points=""" [paste.app_factory] main = moksha.config.middleware:make_app [paste.app_install] main = pylons.util:PylonsInstaller [moksha.widget] orbited = moksha.hub:OrbitedWidget """, )
<commit_before>from setuptools import setup, find_packages setup( name='moksha', version='0.1', description='', author='', author_email='', #url='', install_requires=[ "TurboGears2", "ToscaWidgets >= 0.9.1", "zope.sqlalchemy", "Shove", "feedcache", "feedparser", "tw.jquery", ], packages=find_packages(exclude=['ez_setup']), include_package_data=True, test_suite='nose.collector', tests_require=['WebTest', 'BeautifulSoup'], package_data={'moksha': ['i18n/*/LC_MESSAGES/*.mo', 'templates/*/*', 'public/*/*']}, #message_extractors = {'moksha': [ # ('**.py', 'python', None), # ('templates/**.mako', 'mako', None), # ('templates/**.html', 'genshi', None), # ('public/**', 'ignore', None)]}, entry_points=""" [paste.app_factory] main = moksha.config.middleware:make_app [paste.app_install] main = pylons.util:PylonsInstaller [moksha.widget] orbited = moksha.hub:OrbitedWidget """, ) <commit_msg>Add repoze.{squeeze,profile} and stompservice to our dependency list<commit_after>from setuptools import setup, find_packages setup( name='moksha', version='0.1', description='', author='', author_email='', #url='', install_requires=[ "TurboGears2", "ToscaWidgets >= 0.9.1", "zope.sqlalchemy", "Shove", "feedcache", "feedparser", "tw.jquery", "repoze.squeeze", "repoze.profile", "stompservice" ], packages=find_packages(exclude=['ez_setup']), include_package_data=True, test_suite='nose.collector', tests_require=['WebTest', 'BeautifulSoup'], package_data={'moksha': ['i18n/*/LC_MESSAGES/*.mo', 'templates/*/*', 'public/*/*']}, #message_extractors = {'moksha': [ # ('**.py', 'python', None), # ('templates/**.mako', 'mako', None), # ('templates/**.html', 'genshi', None), # ('public/**', 'ignore', None)]}, entry_points=""" [paste.app_factory] main = moksha.config.middleware:make_app [paste.app_install] main = pylons.util:PylonsInstaller [moksha.widget] orbited = moksha.hub:OrbitedWidget """, )
60574e2f88e32565eb2a5de1258651527515ff3b
setup.py
setup.py
from distutils.core import setup setup( name='django-browserid', version='0.5.1', packages=['django_browserid'], author='Paul Osman, Michael Kelly', author_email='mkelly@mozilla.com', url='https://github.com/mozilla/django-browserid', install_requires='requests>=0.9.1', package_data={'django_browserid': ['static/browserid/*.js']}, )
from distutils.core import setup setup( name='django-browserid', version='0.5.1', packages=['django_browserid', 'django_browserid.tests'], author='Paul Osman, Michael Kelly', author_email='mkelly@mozilla.com', url='https://github.com/mozilla/django-browserid', install_requires='requests>=0.9.1', package_data={'django_browserid': ['static/browserid/*.js']}, )
Include `tests` subpackage in installation
Include `tests` subpackage in installation The tests subpackage has helpers that are useful for running tests in django projects, such as `mock_browserid`. Include this subpackage in the distutils script so that it won't be ignored by pip, easy_install, etc.
Python
mpl-2.0
ericholscher/django-browserid,mozilla/django-browserid,Osmose/django-browserid,mozilla/django-browserid,Osmose/django-browserid,Osmose/django-browserid,mozilla/django-browserid,ericholscher/django-browserid,ericholscher/django-browserid
from distutils.core import setup setup( name='django-browserid', version='0.5.1', packages=['django_browserid'], author='Paul Osman, Michael Kelly', author_email='mkelly@mozilla.com', url='https://github.com/mozilla/django-browserid', install_requires='requests>=0.9.1', package_data={'django_browserid': ['static/browserid/*.js']}, ) Include `tests` subpackage in installation The tests subpackage has helpers that are useful for running tests in django projects, such as `mock_browserid`. Include this subpackage in the distutils script so that it won't be ignored by pip, easy_install, etc.
from distutils.core import setup setup( name='django-browserid', version='0.5.1', packages=['django_browserid', 'django_browserid.tests'], author='Paul Osman, Michael Kelly', author_email='mkelly@mozilla.com', url='https://github.com/mozilla/django-browserid', install_requires='requests>=0.9.1', package_data={'django_browserid': ['static/browserid/*.js']}, )
<commit_before>from distutils.core import setup setup( name='django-browserid', version='0.5.1', packages=['django_browserid'], author='Paul Osman, Michael Kelly', author_email='mkelly@mozilla.com', url='https://github.com/mozilla/django-browserid', install_requires='requests>=0.9.1', package_data={'django_browserid': ['static/browserid/*.js']}, ) <commit_msg>Include `tests` subpackage in installation The tests subpackage has helpers that are useful for running tests in django projects, such as `mock_browserid`. Include this subpackage in the distutils script so that it won't be ignored by pip, easy_install, etc.<commit_after>
from distutils.core import setup setup( name='django-browserid', version='0.5.1', packages=['django_browserid', 'django_browserid.tests'], author='Paul Osman, Michael Kelly', author_email='mkelly@mozilla.com', url='https://github.com/mozilla/django-browserid', install_requires='requests>=0.9.1', package_data={'django_browserid': ['static/browserid/*.js']}, )
from distutils.core import setup setup( name='django-browserid', version='0.5.1', packages=['django_browserid'], author='Paul Osman, Michael Kelly', author_email='mkelly@mozilla.com', url='https://github.com/mozilla/django-browserid', install_requires='requests>=0.9.1', package_data={'django_browserid': ['static/browserid/*.js']}, ) Include `tests` subpackage in installation The tests subpackage has helpers that are useful for running tests in django projects, such as `mock_browserid`. Include this subpackage in the distutils script so that it won't be ignored by pip, easy_install, etc.from distutils.core import setup setup( name='django-browserid', version='0.5.1', packages=['django_browserid', 'django_browserid.tests'], author='Paul Osman, Michael Kelly', author_email='mkelly@mozilla.com', url='https://github.com/mozilla/django-browserid', install_requires='requests>=0.9.1', package_data={'django_browserid': ['static/browserid/*.js']}, )
<commit_before>from distutils.core import setup setup( name='django-browserid', version='0.5.1', packages=['django_browserid'], author='Paul Osman, Michael Kelly', author_email='mkelly@mozilla.com', url='https://github.com/mozilla/django-browserid', install_requires='requests>=0.9.1', package_data={'django_browserid': ['static/browserid/*.js']}, ) <commit_msg>Include `tests` subpackage in installation The tests subpackage has helpers that are useful for running tests in django projects, such as `mock_browserid`. Include this subpackage in the distutils script so that it won't be ignored by pip, easy_install, etc.<commit_after>from distutils.core import setup setup( name='django-browserid', version='0.5.1', packages=['django_browserid', 'django_browserid.tests'], author='Paul Osman, Michael Kelly', author_email='mkelly@mozilla.com', url='https://github.com/mozilla/django-browserid', install_requires='requests>=0.9.1', package_data={'django_browserid': ['static/browserid/*.js']}, )
5274ad685c887e1cc065b48d90fd3c439ceb9cc4
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() requirements = [ 'pyparsing' ] test_requirements = [ ] setup( name='boolrule', version='0.1.0', description="Simple boolean expression evaluation engine", long_description=readme + '\n\n' + history, author="Steve Webster", author_email='spjwebster@gmail.com', url='https://github.com/tailsdotcom/boolrule', packages=[ 'boolrule', ], package_dir={'boolrule': 'boolrule'}, include_package_data=True, install_requires=requirements, license="MIT license", zip_safe=False, keywords='boolrule', classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', "Programming Language :: Python :: 2", 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], test_suite='tests', tests_require=test_requirements )
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() requirements = [ 'pyparsing' ] test_requirements = [ ] setup( name='boolrule', version='0.1.0', description="Simple boolean expression evaluation engine", long_description=readme + '\n\n' + history, author="Steve Webster", author_email='spjwebster@gmail.com', url='https://github.com/tailsdotcom/boolrule', packages=[ 'boolrule', ], package_dir={'boolrule': 'boolrule'}, include_package_data=True, install_requires=requirements, license="MIT license", zip_safe=False, keywords='boolrule boolean expression', classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', "Programming Language :: Python :: 2", 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], test_suite='tests', tests_require=test_requirements )
Add slightly more descriptive keywords for PyPI
Add slightly more descriptive keywords for PyPI
Python
mit
tailsdotcom/boolrule
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() requirements = [ 'pyparsing' ] test_requirements = [ ] setup( name='boolrule', version='0.1.0', description="Simple boolean expression evaluation engine", long_description=readme + '\n\n' + history, author="Steve Webster", author_email='spjwebster@gmail.com', url='https://github.com/tailsdotcom/boolrule', packages=[ 'boolrule', ], package_dir={'boolrule': 'boolrule'}, include_package_data=True, install_requires=requirements, license="MIT license", zip_safe=False, keywords='boolrule', classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', "Programming Language :: Python :: 2", 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], test_suite='tests', tests_require=test_requirements ) Add slightly more descriptive keywords for PyPI
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() requirements = [ 'pyparsing' ] test_requirements = [ ] setup( name='boolrule', version='0.1.0', description="Simple boolean expression evaluation engine", long_description=readme + '\n\n' + history, author="Steve Webster", author_email='spjwebster@gmail.com', url='https://github.com/tailsdotcom/boolrule', packages=[ 'boolrule', ], package_dir={'boolrule': 'boolrule'}, include_package_data=True, install_requires=requirements, license="MIT license", zip_safe=False, keywords='boolrule boolean expression', classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', "Programming Language :: Python :: 2", 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], test_suite='tests', tests_require=test_requirements )
<commit_before>#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() requirements = [ 'pyparsing' ] test_requirements = [ ] setup( name='boolrule', version='0.1.0', description="Simple boolean expression evaluation engine", long_description=readme + '\n\n' + history, author="Steve Webster", author_email='spjwebster@gmail.com', url='https://github.com/tailsdotcom/boolrule', packages=[ 'boolrule', ], package_dir={'boolrule': 'boolrule'}, include_package_data=True, install_requires=requirements, license="MIT license", zip_safe=False, keywords='boolrule', classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', "Programming Language :: Python :: 2", 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], test_suite='tests', tests_require=test_requirements ) <commit_msg>Add slightly more descriptive keywords for PyPI<commit_after>
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() requirements = [ 'pyparsing' ] test_requirements = [ ] setup( name='boolrule', version='0.1.0', description="Simple boolean expression evaluation engine", long_description=readme + '\n\n' + history, author="Steve Webster", author_email='spjwebster@gmail.com', url='https://github.com/tailsdotcom/boolrule', packages=[ 'boolrule', ], package_dir={'boolrule': 'boolrule'}, include_package_data=True, install_requires=requirements, license="MIT license", zip_safe=False, keywords='boolrule boolean expression', classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', "Programming Language :: Python :: 2", 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], test_suite='tests', tests_require=test_requirements )
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() requirements = [ 'pyparsing' ] test_requirements = [ ] setup( name='boolrule', version='0.1.0', description="Simple boolean expression evaluation engine", long_description=readme + '\n\n' + history, author="Steve Webster", author_email='spjwebster@gmail.com', url='https://github.com/tailsdotcom/boolrule', packages=[ 'boolrule', ], package_dir={'boolrule': 'boolrule'}, include_package_data=True, install_requires=requirements, license="MIT license", zip_safe=False, keywords='boolrule', classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', "Programming Language :: Python :: 2", 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], test_suite='tests', tests_require=test_requirements ) Add slightly more descriptive keywords for PyPI#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() requirements = [ 'pyparsing' ] test_requirements = [ ] setup( name='boolrule', version='0.1.0', description="Simple boolean expression evaluation engine", long_description=readme + '\n\n' + history, author="Steve Webster", author_email='spjwebster@gmail.com', url='https://github.com/tailsdotcom/boolrule', packages=[ 'boolrule', ], package_dir={'boolrule': 'boolrule'}, include_package_data=True, install_requires=requirements, license="MIT license", zip_safe=False, keywords='boolrule boolean expression', classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', "Programming Language :: Python :: 2", 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], test_suite='tests', tests_require=test_requirements )
<commit_before>#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() requirements = [ 'pyparsing' ] test_requirements = [ ] setup( name='boolrule', version='0.1.0', description="Simple boolean expression evaluation engine", long_description=readme + '\n\n' + history, author="Steve Webster", author_email='spjwebster@gmail.com', url='https://github.com/tailsdotcom/boolrule', packages=[ 'boolrule', ], package_dir={'boolrule': 'boolrule'}, include_package_data=True, install_requires=requirements, license="MIT license", zip_safe=False, keywords='boolrule', classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', "Programming Language :: Python :: 2", 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], test_suite='tests', tests_require=test_requirements ) <commit_msg>Add slightly more descriptive keywords for PyPI<commit_after>#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() requirements = [ 'pyparsing' ] test_requirements = [ ] setup( name='boolrule', version='0.1.0', description="Simple boolean expression evaluation engine", long_description=readme + '\n\n' + history, author="Steve Webster", author_email='spjwebster@gmail.com', url='https://github.com/tailsdotcom/boolrule', packages=[ 'boolrule', ], package_dir={'boolrule': 'boolrule'}, include_package_data=True, install_requires=requirements, license="MIT license", zip_safe=False, keywords='boolrule boolean expression', classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', "Programming Language :: Python :: 2", 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], test_suite='tests', tests_require=test_requirements )
521cdf8002d03b14159b48de1a61a88f979156d3
setup.py
setup.py
from __future__ import unicode_literals import re from setuptools import setup, find_packages def get_version(filename): content = open(filename).read() metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", content)) return metadata['version'] setup( name='Mopidy-Subidy', version=get_version('mopidy_subidy/__init__.py'), url='http://github.com/prior99/mopidy-subidy/', license='BSD-3-Clause', author='prior99', author_email='fgnodtke@cronosx.de', description='Improved Subsonic extension for Mopidy', long_description=open('README.md').read(), packages=find_packages(exclude=['tests', 'tests.*']), zip_safe=False, include_package_data=True, install_requires=[ 'setuptools', 'Mopidy >= 2.0', 'py-sonic >= 0.6.1', 'Pykka >= 1.1' ], entry_points={ b'mopidy.ext': [ 'subidy = mopidy_subidy:SubidyExtension', ], }, classifiers=[ 'Environment :: No Input/Output (Daemon)', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: BSD 3-Clause', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', 'Topic :: Multimedia :: Sound/Audio :: Players' ] )
from __future__ import unicode_literals import re from setuptools import setup, find_packages def get_version(filename): content = open(filename).read() metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", content)) return metadata['version'] setup( name='Mopidy-Subidy', version=get_version('mopidy_subidy/__init__.py'), url='http://github.com/prior99/mopidy-subidy/', license='BSD-3-Clause', author='prior99', author_email='fgnodtke@cronosx.de', description='Improved Subsonic extension for Mopidy', long_description=open('README.md').read(), packages=find_packages(exclude=['tests', 'tests.*']), zip_safe=False, include_package_data=True, install_requires=[ 'setuptools', 'Mopidy >= 2.0', 'py-sonic == 0.6.2', 'Pykka >= 1.1' ], entry_points={ b'mopidy.ext': [ 'subidy = mopidy_subidy:SubidyExtension', ], }, classifiers=[ 'Environment :: No Input/Output (Daemon)', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: BSD 3-Clause', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', 'Topic :: Multimedia :: Sound/Audio :: Players' ] )
Remove version range for py-sonic
Remove version range for py-sonic py-sonic stopped supporting python2 > 0.6.2 Using pip to install results in an error if this is not set
Python
bsd-3-clause
Prior99/mopidy-subidy
from __future__ import unicode_literals import re from setuptools import setup, find_packages def get_version(filename): content = open(filename).read() metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", content)) return metadata['version'] setup( name='Mopidy-Subidy', version=get_version('mopidy_subidy/__init__.py'), url='http://github.com/prior99/mopidy-subidy/', license='BSD-3-Clause', author='prior99', author_email='fgnodtke@cronosx.de', description='Improved Subsonic extension for Mopidy', long_description=open('README.md').read(), packages=find_packages(exclude=['tests', 'tests.*']), zip_safe=False, include_package_data=True, install_requires=[ 'setuptools', 'Mopidy >= 2.0', 'py-sonic >= 0.6.1', 'Pykka >= 1.1' ], entry_points={ b'mopidy.ext': [ 'subidy = mopidy_subidy:SubidyExtension', ], }, classifiers=[ 'Environment :: No Input/Output (Daemon)', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: BSD 3-Clause', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', 'Topic :: Multimedia :: Sound/Audio :: Players' ] ) Remove version range for py-sonic py-sonic stopped supporting python2 > 0.6.2 Using pip to install results in an error if this is not set
from __future__ import unicode_literals import re from setuptools import setup, find_packages def get_version(filename): content = open(filename).read() metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", content)) return metadata['version'] setup( name='Mopidy-Subidy', version=get_version('mopidy_subidy/__init__.py'), url='http://github.com/prior99/mopidy-subidy/', license='BSD-3-Clause', author='prior99', author_email='fgnodtke@cronosx.de', description='Improved Subsonic extension for Mopidy', long_description=open('README.md').read(), packages=find_packages(exclude=['tests', 'tests.*']), zip_safe=False, include_package_data=True, install_requires=[ 'setuptools', 'Mopidy >= 2.0', 'py-sonic == 0.6.2', 'Pykka >= 1.1' ], entry_points={ b'mopidy.ext': [ 'subidy = mopidy_subidy:SubidyExtension', ], }, classifiers=[ 'Environment :: No Input/Output (Daemon)', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: BSD 3-Clause', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', 'Topic :: Multimedia :: Sound/Audio :: Players' ] )
<commit_before>from __future__ import unicode_literals import re from setuptools import setup, find_packages def get_version(filename): content = open(filename).read() metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", content)) return metadata['version'] setup( name='Mopidy-Subidy', version=get_version('mopidy_subidy/__init__.py'), url='http://github.com/prior99/mopidy-subidy/', license='BSD-3-Clause', author='prior99', author_email='fgnodtke@cronosx.de', description='Improved Subsonic extension for Mopidy', long_description=open('README.md').read(), packages=find_packages(exclude=['tests', 'tests.*']), zip_safe=False, include_package_data=True, install_requires=[ 'setuptools', 'Mopidy >= 2.0', 'py-sonic >= 0.6.1', 'Pykka >= 1.1' ], entry_points={ b'mopidy.ext': [ 'subidy = mopidy_subidy:SubidyExtension', ], }, classifiers=[ 'Environment :: No Input/Output (Daemon)', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: BSD 3-Clause', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', 'Topic :: Multimedia :: Sound/Audio :: Players' ] ) <commit_msg>Remove version range for py-sonic py-sonic stopped supporting python2 > 0.6.2 Using pip to install results in an error if this is not set<commit_after>
from __future__ import unicode_literals import re from setuptools import setup, find_packages def get_version(filename): content = open(filename).read() metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", content)) return metadata['version'] setup( name='Mopidy-Subidy', version=get_version('mopidy_subidy/__init__.py'), url='http://github.com/prior99/mopidy-subidy/', license='BSD-3-Clause', author='prior99', author_email='fgnodtke@cronosx.de', description='Improved Subsonic extension for Mopidy', long_description=open('README.md').read(), packages=find_packages(exclude=['tests', 'tests.*']), zip_safe=False, include_package_data=True, install_requires=[ 'setuptools', 'Mopidy >= 2.0', 'py-sonic == 0.6.2', 'Pykka >= 1.1' ], entry_points={ b'mopidy.ext': [ 'subidy = mopidy_subidy:SubidyExtension', ], }, classifiers=[ 'Environment :: No Input/Output (Daemon)', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: BSD 3-Clause', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', 'Topic :: Multimedia :: Sound/Audio :: Players' ] )
from __future__ import unicode_literals import re from setuptools import setup, find_packages def get_version(filename): content = open(filename).read() metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", content)) return metadata['version'] setup( name='Mopidy-Subidy', version=get_version('mopidy_subidy/__init__.py'), url='http://github.com/prior99/mopidy-subidy/', license='BSD-3-Clause', author='prior99', author_email='fgnodtke@cronosx.de', description='Improved Subsonic extension for Mopidy', long_description=open('README.md').read(), packages=find_packages(exclude=['tests', 'tests.*']), zip_safe=False, include_package_data=True, install_requires=[ 'setuptools', 'Mopidy >= 2.0', 'py-sonic >= 0.6.1', 'Pykka >= 1.1' ], entry_points={ b'mopidy.ext': [ 'subidy = mopidy_subidy:SubidyExtension', ], }, classifiers=[ 'Environment :: No Input/Output (Daemon)', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: BSD 3-Clause', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', 'Topic :: Multimedia :: Sound/Audio :: Players' ] ) Remove version range for py-sonic py-sonic stopped supporting python2 > 0.6.2 Using pip to install results in an error if this is not setfrom __future__ import unicode_literals import re from setuptools import setup, find_packages def get_version(filename): content = open(filename).read() metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", content)) return metadata['version'] setup( name='Mopidy-Subidy', version=get_version('mopidy_subidy/__init__.py'), url='http://github.com/prior99/mopidy-subidy/', license='BSD-3-Clause', author='prior99', author_email='fgnodtke@cronosx.de', description='Improved Subsonic extension for Mopidy', long_description=open('README.md').read(), packages=find_packages(exclude=['tests', 'tests.*']), zip_safe=False, include_package_data=True, install_requires=[ 'setuptools', 'Mopidy >= 2.0', 'py-sonic == 0.6.2', 'Pykka >= 1.1' ], entry_points={ b'mopidy.ext': [ 'subidy = mopidy_subidy:SubidyExtension', ], }, classifiers=[ 'Environment :: No Input/Output (Daemon)', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: BSD 3-Clause', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', 'Topic :: Multimedia :: Sound/Audio :: Players' ] )
<commit_before>from __future__ import unicode_literals import re from setuptools import setup, find_packages def get_version(filename): content = open(filename).read() metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", content)) return metadata['version'] setup( name='Mopidy-Subidy', version=get_version('mopidy_subidy/__init__.py'), url='http://github.com/prior99/mopidy-subidy/', license='BSD-3-Clause', author='prior99', author_email='fgnodtke@cronosx.de', description='Improved Subsonic extension for Mopidy', long_description=open('README.md').read(), packages=find_packages(exclude=['tests', 'tests.*']), zip_safe=False, include_package_data=True, install_requires=[ 'setuptools', 'Mopidy >= 2.0', 'py-sonic >= 0.6.1', 'Pykka >= 1.1' ], entry_points={ b'mopidy.ext': [ 'subidy = mopidy_subidy:SubidyExtension', ], }, classifiers=[ 'Environment :: No Input/Output (Daemon)', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: BSD 3-Clause', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', 'Topic :: Multimedia :: Sound/Audio :: Players' ] ) <commit_msg>Remove version range for py-sonic py-sonic stopped supporting python2 > 0.6.2 Using pip to install results in an error if this is not set<commit_after>from __future__ import unicode_literals import re from setuptools import setup, find_packages def get_version(filename): content = open(filename).read() metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", content)) return metadata['version'] setup( name='Mopidy-Subidy', version=get_version('mopidy_subidy/__init__.py'), url='http://github.com/prior99/mopidy-subidy/', license='BSD-3-Clause', author='prior99', author_email='fgnodtke@cronosx.de', description='Improved Subsonic extension for Mopidy', long_description=open('README.md').read(), packages=find_packages(exclude=['tests', 'tests.*']), zip_safe=False, include_package_data=True, install_requires=[ 'setuptools', 'Mopidy >= 2.0', 'py-sonic == 0.6.2', 'Pykka >= 1.1' ], entry_points={ b'mopidy.ext': [ 'subidy = mopidy_subidy:SubidyExtension', ], }, classifiers=[ 'Environment :: No Input/Output (Daemon)', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: BSD 3-Clause', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', 'Topic :: Multimedia :: Sound/Audio :: Players' ] )
a613bcd19537afbac1d1077b44fc6cd4effb87ca
setup.py
setup.py
import setuptools def read_long_description(): with open('README') as f: data = f.read() return data setup_params = dict( name="irc", description="IRC (Internet Relay Chat) protocol client library for Python", long_description=read_long_description(), use_hg_version=True, packages=setuptools.find_packages(), author="Joel Rosdahl", author_email="joel@rosdahl.net", maintainer="Jason R. Coombs", maintainer_email="jaraco@jaraco.com", url="http://python-irclib.sourceforge.net", classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", ], setup_requires=[ 'hgtools', ], use_2to3=True, use_2to3_exclude_fixers=[ 'lib2to3.fixes.fix_import', 'lib2to3.fixes.fix_next', 'lib2to3.fixes.fix_print', ], ) if __name__ == '__main__': setuptools.setup(**setup_params)
import sys import setuptools def read_long_description(): with open('README') as f: data = f.read() return data importlib_req = ['importlib'] if sys.version_info < (2,7) else [] setup_params = dict( name="irc", description="IRC (Internet Relay Chat) protocol client library for Python", long_description=read_long_description(), use_hg_version=True, packages=setuptools.find_packages(), author="Joel Rosdahl", author_email="joel@rosdahl.net", maintainer="Jason R. Coombs", maintainer_email="jaraco@jaraco.com", url="http://python-irclib.sourceforge.net", classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", ], install_requires=[ ] + importlib_req, setup_requires=[ 'hgtools', ], use_2to3=True, use_2to3_exclude_fixers=[ 'lib2to3.fixes.fix_import', 'lib2to3.fixes.fix_next', 'lib2to3.fixes.fix_print', ], ) if __name__ == '__main__': setuptools.setup(**setup_params)
Declare importlib requirement on Python 2.6
Declare importlib requirement on Python 2.6
Python
mit
jaraco/irc
import setuptools def read_long_description(): with open('README') as f: data = f.read() return data setup_params = dict( name="irc", description="IRC (Internet Relay Chat) protocol client library for Python", long_description=read_long_description(), use_hg_version=True, packages=setuptools.find_packages(), author="Joel Rosdahl", author_email="joel@rosdahl.net", maintainer="Jason R. Coombs", maintainer_email="jaraco@jaraco.com", url="http://python-irclib.sourceforge.net", classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", ], setup_requires=[ 'hgtools', ], use_2to3=True, use_2to3_exclude_fixers=[ 'lib2to3.fixes.fix_import', 'lib2to3.fixes.fix_next', 'lib2to3.fixes.fix_print', ], ) if __name__ == '__main__': setuptools.setup(**setup_params) Declare importlib requirement on Python 2.6
import sys import setuptools def read_long_description(): with open('README') as f: data = f.read() return data importlib_req = ['importlib'] if sys.version_info < (2,7) else [] setup_params = dict( name="irc", description="IRC (Internet Relay Chat) protocol client library for Python", long_description=read_long_description(), use_hg_version=True, packages=setuptools.find_packages(), author="Joel Rosdahl", author_email="joel@rosdahl.net", maintainer="Jason R. Coombs", maintainer_email="jaraco@jaraco.com", url="http://python-irclib.sourceforge.net", classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", ], install_requires=[ ] + importlib_req, setup_requires=[ 'hgtools', ], use_2to3=True, use_2to3_exclude_fixers=[ 'lib2to3.fixes.fix_import', 'lib2to3.fixes.fix_next', 'lib2to3.fixes.fix_print', ], ) if __name__ == '__main__': setuptools.setup(**setup_params)
<commit_before>import setuptools def read_long_description(): with open('README') as f: data = f.read() return data setup_params = dict( name="irc", description="IRC (Internet Relay Chat) protocol client library for Python", long_description=read_long_description(), use_hg_version=True, packages=setuptools.find_packages(), author="Joel Rosdahl", author_email="joel@rosdahl.net", maintainer="Jason R. Coombs", maintainer_email="jaraco@jaraco.com", url="http://python-irclib.sourceforge.net", classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", ], setup_requires=[ 'hgtools', ], use_2to3=True, use_2to3_exclude_fixers=[ 'lib2to3.fixes.fix_import', 'lib2to3.fixes.fix_next', 'lib2to3.fixes.fix_print', ], ) if __name__ == '__main__': setuptools.setup(**setup_params) <commit_msg>Declare importlib requirement on Python 2.6<commit_after>
import sys import setuptools def read_long_description(): with open('README') as f: data = f.read() return data importlib_req = ['importlib'] if sys.version_info < (2,7) else [] setup_params = dict( name="irc", description="IRC (Internet Relay Chat) protocol client library for Python", long_description=read_long_description(), use_hg_version=True, packages=setuptools.find_packages(), author="Joel Rosdahl", author_email="joel@rosdahl.net", maintainer="Jason R. Coombs", maintainer_email="jaraco@jaraco.com", url="http://python-irclib.sourceforge.net", classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", ], install_requires=[ ] + importlib_req, setup_requires=[ 'hgtools', ], use_2to3=True, use_2to3_exclude_fixers=[ 'lib2to3.fixes.fix_import', 'lib2to3.fixes.fix_next', 'lib2to3.fixes.fix_print', ], ) if __name__ == '__main__': setuptools.setup(**setup_params)
import setuptools def read_long_description(): with open('README') as f: data = f.read() return data setup_params = dict( name="irc", description="IRC (Internet Relay Chat) protocol client library for Python", long_description=read_long_description(), use_hg_version=True, packages=setuptools.find_packages(), author="Joel Rosdahl", author_email="joel@rosdahl.net", maintainer="Jason R. Coombs", maintainer_email="jaraco@jaraco.com", url="http://python-irclib.sourceforge.net", classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", ], setup_requires=[ 'hgtools', ], use_2to3=True, use_2to3_exclude_fixers=[ 'lib2to3.fixes.fix_import', 'lib2to3.fixes.fix_next', 'lib2to3.fixes.fix_print', ], ) if __name__ == '__main__': setuptools.setup(**setup_params) Declare importlib requirement on Python 2.6import sys import setuptools def read_long_description(): with open('README') as f: data = f.read() return data importlib_req = ['importlib'] if sys.version_info < (2,7) else [] setup_params = dict( name="irc", description="IRC (Internet Relay Chat) protocol client library for Python", long_description=read_long_description(), use_hg_version=True, packages=setuptools.find_packages(), author="Joel Rosdahl", author_email="joel@rosdahl.net", maintainer="Jason R. Coombs", maintainer_email="jaraco@jaraco.com", url="http://python-irclib.sourceforge.net", classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", ], install_requires=[ ] + importlib_req, setup_requires=[ 'hgtools', ], use_2to3=True, use_2to3_exclude_fixers=[ 'lib2to3.fixes.fix_import', 'lib2to3.fixes.fix_next', 'lib2to3.fixes.fix_print', ], ) if __name__ == '__main__': setuptools.setup(**setup_params)
<commit_before>import setuptools def read_long_description(): with open('README') as f: data = f.read() return data setup_params = dict( name="irc", description="IRC (Internet Relay Chat) protocol client library for Python", long_description=read_long_description(), use_hg_version=True, packages=setuptools.find_packages(), author="Joel Rosdahl", author_email="joel@rosdahl.net", maintainer="Jason R. Coombs", maintainer_email="jaraco@jaraco.com", url="http://python-irclib.sourceforge.net", classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", ], setup_requires=[ 'hgtools', ], use_2to3=True, use_2to3_exclude_fixers=[ 'lib2to3.fixes.fix_import', 'lib2to3.fixes.fix_next', 'lib2to3.fixes.fix_print', ], ) if __name__ == '__main__': setuptools.setup(**setup_params) <commit_msg>Declare importlib requirement on Python 2.6<commit_after>import sys import setuptools def read_long_description(): with open('README') as f: data = f.read() return data importlib_req = ['importlib'] if sys.version_info < (2,7) else [] setup_params = dict( name="irc", description="IRC (Internet Relay Chat) protocol client library for Python", long_description=read_long_description(), use_hg_version=True, packages=setuptools.find_packages(), author="Joel Rosdahl", author_email="joel@rosdahl.net", maintainer="Jason R. Coombs", maintainer_email="jaraco@jaraco.com", url="http://python-irclib.sourceforge.net", classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", ], install_requires=[ ] + importlib_req, setup_requires=[ 'hgtools', ], use_2to3=True, use_2to3_exclude_fixers=[ 'lib2to3.fixes.fix_import', 'lib2to3.fixes.fix_next', 'lib2to3.fixes.fix_print', ], ) if __name__ == '__main__': setuptools.setup(**setup_params)
92f3fe81c9a5dbed3e6e70211d486f9f4c0418d5
setup.py
setup.py
from setuptools import setup, find_packages setup( name='django-dfp', version='0.3.2', description='DFP implementation for Django', long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(), author='Praekelt Foundation', author_email='dev@praekelt.com', license='BSD', url='http://github.com/praekelt/django-dfp', packages = find_packages(), install_requires = [ 'Django', ], include_package_data=True, tests_require=[ 'django-setuptest>=0.1.2', ], test_suite="setuptest.setuptest.SetupTestSuite", classifiers=[ "Programming Language :: Python", "License :: OSI Approved :: BSD License", "Development Status :: 4 - Beta", "Operating System :: OS Independent", "Framework :: Django", "Intended Audience :: Developers", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", ], zip_safe=False, )
from setuptools import setup, find_packages setup( name='django-dfp', version='0.3.2', description='DFP implementation for Django', long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(), author='Praekelt Foundation', author_email='dev@praekelt.com', license='BSD', url='http://github.com/praekelt/django-dfp', packages = find_packages(), install_requires = [ 'django', ], include_package_data=True, tests_require=[ 'django-setuptest>=0.1.4', ], test_suite="setuptest.setuptest.SetupTestSuite", classifiers=[ "Programming Language :: Python", "License :: OSI Approved :: BSD License", "Development Status :: 4 - Beta", "Operating System :: OS Independent", "Framework :: Django", "Intended Audience :: Developers", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", ], zip_safe=False, )
Change case of Django to django else pypi lookup fails
Change case of Django to django else pypi lookup fails
Python
bsd-3-clause
praekelt/django-dfp,praekelt/django-dfp
from setuptools import setup, find_packages setup( name='django-dfp', version='0.3.2', description='DFP implementation for Django', long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(), author='Praekelt Foundation', author_email='dev@praekelt.com', license='BSD', url='http://github.com/praekelt/django-dfp', packages = find_packages(), install_requires = [ 'Django', ], include_package_data=True, tests_require=[ 'django-setuptest>=0.1.2', ], test_suite="setuptest.setuptest.SetupTestSuite", classifiers=[ "Programming Language :: Python", "License :: OSI Approved :: BSD License", "Development Status :: 4 - Beta", "Operating System :: OS Independent", "Framework :: Django", "Intended Audience :: Developers", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", ], zip_safe=False, ) Change case of Django to django else pypi lookup fails
from setuptools import setup, find_packages setup( name='django-dfp', version='0.3.2', description='DFP implementation for Django', long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(), author='Praekelt Foundation', author_email='dev@praekelt.com', license='BSD', url='http://github.com/praekelt/django-dfp', packages = find_packages(), install_requires = [ 'django', ], include_package_data=True, tests_require=[ 'django-setuptest>=0.1.4', ], test_suite="setuptest.setuptest.SetupTestSuite", classifiers=[ "Programming Language :: Python", "License :: OSI Approved :: BSD License", "Development Status :: 4 - Beta", "Operating System :: OS Independent", "Framework :: Django", "Intended Audience :: Developers", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", ], zip_safe=False, )
<commit_before>from setuptools import setup, find_packages setup( name='django-dfp', version='0.3.2', description='DFP implementation for Django', long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(), author='Praekelt Foundation', author_email='dev@praekelt.com', license='BSD', url='http://github.com/praekelt/django-dfp', packages = find_packages(), install_requires = [ 'Django', ], include_package_data=True, tests_require=[ 'django-setuptest>=0.1.2', ], test_suite="setuptest.setuptest.SetupTestSuite", classifiers=[ "Programming Language :: Python", "License :: OSI Approved :: BSD License", "Development Status :: 4 - Beta", "Operating System :: OS Independent", "Framework :: Django", "Intended Audience :: Developers", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", ], zip_safe=False, ) <commit_msg>Change case of Django to django else pypi lookup fails<commit_after>
from setuptools import setup, find_packages setup( name='django-dfp', version='0.3.2', description='DFP implementation for Django', long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(), author='Praekelt Foundation', author_email='dev@praekelt.com', license='BSD', url='http://github.com/praekelt/django-dfp', packages = find_packages(), install_requires = [ 'django', ], include_package_data=True, tests_require=[ 'django-setuptest>=0.1.4', ], test_suite="setuptest.setuptest.SetupTestSuite", classifiers=[ "Programming Language :: Python", "License :: OSI Approved :: BSD License", "Development Status :: 4 - Beta", "Operating System :: OS Independent", "Framework :: Django", "Intended Audience :: Developers", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", ], zip_safe=False, )
from setuptools import setup, find_packages setup( name='django-dfp', version='0.3.2', description='DFP implementation for Django', long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(), author='Praekelt Foundation', author_email='dev@praekelt.com', license='BSD', url='http://github.com/praekelt/django-dfp', packages = find_packages(), install_requires = [ 'Django', ], include_package_data=True, tests_require=[ 'django-setuptest>=0.1.2', ], test_suite="setuptest.setuptest.SetupTestSuite", classifiers=[ "Programming Language :: Python", "License :: OSI Approved :: BSD License", "Development Status :: 4 - Beta", "Operating System :: OS Independent", "Framework :: Django", "Intended Audience :: Developers", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", ], zip_safe=False, ) Change case of Django to django else pypi lookup failsfrom setuptools import setup, find_packages setup( name='django-dfp', version='0.3.2', description='DFP implementation for Django', long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(), author='Praekelt Foundation', author_email='dev@praekelt.com', license='BSD', url='http://github.com/praekelt/django-dfp', packages = find_packages(), install_requires = [ 'django', ], include_package_data=True, tests_require=[ 'django-setuptest>=0.1.4', ], test_suite="setuptest.setuptest.SetupTestSuite", classifiers=[ "Programming Language :: Python", "License :: OSI Approved :: BSD License", "Development Status :: 4 - Beta", "Operating System :: OS Independent", "Framework :: Django", "Intended Audience :: Developers", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", ], zip_safe=False, )
<commit_before>from setuptools import setup, find_packages setup( name='django-dfp', version='0.3.2', description='DFP implementation for Django', long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(), author='Praekelt Foundation', author_email='dev@praekelt.com', license='BSD', url='http://github.com/praekelt/django-dfp', packages = find_packages(), install_requires = [ 'Django', ], include_package_data=True, tests_require=[ 'django-setuptest>=0.1.2', ], test_suite="setuptest.setuptest.SetupTestSuite", classifiers=[ "Programming Language :: Python", "License :: OSI Approved :: BSD License", "Development Status :: 4 - Beta", "Operating System :: OS Independent", "Framework :: Django", "Intended Audience :: Developers", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", ], zip_safe=False, ) <commit_msg>Change case of Django to django else pypi lookup fails<commit_after>from setuptools import setup, find_packages setup( name='django-dfp', version='0.3.2', description='DFP implementation for Django', long_description = open('README.rst', 'r').read() + open('AUTHORS.rst', 'r').read() + open('CHANGELOG.rst', 'r').read(), author='Praekelt Foundation', author_email='dev@praekelt.com', license='BSD', url='http://github.com/praekelt/django-dfp', packages = find_packages(), install_requires = [ 'django', ], include_package_data=True, tests_require=[ 'django-setuptest>=0.1.4', ], test_suite="setuptest.setuptest.SetupTestSuite", classifiers=[ "Programming Language :: Python", "License :: OSI Approved :: BSD License", "Development Status :: 4 - Beta", "Operating System :: OS Independent", "Framework :: Django", "Intended Audience :: Developers", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", ], zip_safe=False, )
f8fdaa0e8998c7aa64be0e22a5412b77ca3a978d
setup.py
setup.py
from setuptools import setup, find_packages VERSION = __import__('location_field').__version__ setup( name='django-location-field', version=VERSION, description="Location field for Django", long_description="This module provides a location field for Django applications.", author="Caio Ariede", author_email="caio.ariede@gmail.com", url="http://github.com/caioariede/django-location-field", license="MIT", zip_safe=False, platforms=["any"], packages=find_packages(), package_data={'location_field': [ 'static/location_field/js/*', 'templates/location_field/*', ]}, classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Framework :: Django", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", ], include_package_data=True, install_requires=[ 'Django>=1.7,<1.9', 'six', ], test_requires=[ 'pyquery', ], test_suite="runtests.runtests", )
from setuptools import setup, find_packages VERSION = __import__('location_field').__version__ setup( name='django-location-field', version=VERSION, description="Location field for Django", long_description="This module provides a location field for Django applications.", author="Caio Ariede", author_email="caio.ariede@gmail.com", url="http://github.com/caioariede/django-location-field", license="MIT", zip_safe=False, platforms=["any"], packages=find_packages(), package_data={'location_field': [ 'static/location_field/js/*', 'templates/location_field/*', ]}, classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Framework :: Django", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", ], include_package_data=True, install_requires=[ 'Django>=1.7,<1.9', 'six', ], tests_require=[ 'pyquery', ], test_suite="runtests.runtests", )
Fix typo in tests_require parameter
Fix typo in tests_require parameter
Python
mit
caioariede/django-location-field,voodmania/django-location-field,caioariede/django-location-field,caioariede/django-location-field,voodmania/django-location-field,voodmania/django-location-field
from setuptools import setup, find_packages VERSION = __import__('location_field').__version__ setup( name='django-location-field', version=VERSION, description="Location field for Django", long_description="This module provides a location field for Django applications.", author="Caio Ariede", author_email="caio.ariede@gmail.com", url="http://github.com/caioariede/django-location-field", license="MIT", zip_safe=False, platforms=["any"], packages=find_packages(), package_data={'location_field': [ 'static/location_field/js/*', 'templates/location_field/*', ]}, classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Framework :: Django", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", ], include_package_data=True, install_requires=[ 'Django>=1.7,<1.9', 'six', ], test_requires=[ 'pyquery', ], test_suite="runtests.runtests", ) Fix typo in tests_require parameter
from setuptools import setup, find_packages VERSION = __import__('location_field').__version__ setup( name='django-location-field', version=VERSION, description="Location field for Django", long_description="This module provides a location field for Django applications.", author="Caio Ariede", author_email="caio.ariede@gmail.com", url="http://github.com/caioariede/django-location-field", license="MIT", zip_safe=False, platforms=["any"], packages=find_packages(), package_data={'location_field': [ 'static/location_field/js/*', 'templates/location_field/*', ]}, classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Framework :: Django", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", ], include_package_data=True, install_requires=[ 'Django>=1.7,<1.9', 'six', ], tests_require=[ 'pyquery', ], test_suite="runtests.runtests", )
<commit_before>from setuptools import setup, find_packages VERSION = __import__('location_field').__version__ setup( name='django-location-field', version=VERSION, description="Location field for Django", long_description="This module provides a location field for Django applications.", author="Caio Ariede", author_email="caio.ariede@gmail.com", url="http://github.com/caioariede/django-location-field", license="MIT", zip_safe=False, platforms=["any"], packages=find_packages(), package_data={'location_field': [ 'static/location_field/js/*', 'templates/location_field/*', ]}, classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Framework :: Django", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", ], include_package_data=True, install_requires=[ 'Django>=1.7,<1.9', 'six', ], test_requires=[ 'pyquery', ], test_suite="runtests.runtests", ) <commit_msg>Fix typo in tests_require parameter<commit_after>
from setuptools import setup, find_packages VERSION = __import__('location_field').__version__ setup( name='django-location-field', version=VERSION, description="Location field for Django", long_description="This module provides a location field for Django applications.", author="Caio Ariede", author_email="caio.ariede@gmail.com", url="http://github.com/caioariede/django-location-field", license="MIT", zip_safe=False, platforms=["any"], packages=find_packages(), package_data={'location_field': [ 'static/location_field/js/*', 'templates/location_field/*', ]}, classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Framework :: Django", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", ], include_package_data=True, install_requires=[ 'Django>=1.7,<1.9', 'six', ], tests_require=[ 'pyquery', ], test_suite="runtests.runtests", )
from setuptools import setup, find_packages VERSION = __import__('location_field').__version__ setup( name='django-location-field', version=VERSION, description="Location field for Django", long_description="This module provides a location field for Django applications.", author="Caio Ariede", author_email="caio.ariede@gmail.com", url="http://github.com/caioariede/django-location-field", license="MIT", zip_safe=False, platforms=["any"], packages=find_packages(), package_data={'location_field': [ 'static/location_field/js/*', 'templates/location_field/*', ]}, classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Framework :: Django", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", ], include_package_data=True, install_requires=[ 'Django>=1.7,<1.9', 'six', ], test_requires=[ 'pyquery', ], test_suite="runtests.runtests", ) Fix typo in tests_require parameterfrom setuptools import setup, find_packages VERSION = __import__('location_field').__version__ setup( name='django-location-field', version=VERSION, description="Location field for Django", long_description="This module provides a location field for Django applications.", author="Caio Ariede", author_email="caio.ariede@gmail.com", url="http://github.com/caioariede/django-location-field", license="MIT", zip_safe=False, platforms=["any"], packages=find_packages(), package_data={'location_field': [ 'static/location_field/js/*', 'templates/location_field/*', ]}, classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Framework :: Django", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", ], include_package_data=True, install_requires=[ 'Django>=1.7,<1.9', 'six', ], tests_require=[ 'pyquery', ], test_suite="runtests.runtests", )
<commit_before>from setuptools import setup, find_packages VERSION = __import__('location_field').__version__ setup( name='django-location-field', version=VERSION, description="Location field for Django", long_description="This module provides a location field for Django applications.", author="Caio Ariede", author_email="caio.ariede@gmail.com", url="http://github.com/caioariede/django-location-field", license="MIT", zip_safe=False, platforms=["any"], packages=find_packages(), package_data={'location_field': [ 'static/location_field/js/*', 'templates/location_field/*', ]}, classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Framework :: Django", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", ], include_package_data=True, install_requires=[ 'Django>=1.7,<1.9', 'six', ], test_requires=[ 'pyquery', ], test_suite="runtests.runtests", ) <commit_msg>Fix typo in tests_require parameter<commit_after>from setuptools import setup, find_packages VERSION = __import__('location_field').__version__ setup( name='django-location-field', version=VERSION, description="Location field for Django", long_description="This module provides a location field for Django applications.", author="Caio Ariede", author_email="caio.ariede@gmail.com", url="http://github.com/caioariede/django-location-field", license="MIT", zip_safe=False, platforms=["any"], packages=find_packages(), package_data={'location_field': [ 'static/location_field/js/*', 'templates/location_field/*', ]}, classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Framework :: Django", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", ], include_package_data=True, install_requires=[ 'Django>=1.7,<1.9', 'six', ], tests_require=[ 'pyquery', ], test_suite="runtests.runtests", )
43615940a63c9464199e33e21d98d9e073ea80de
setup.py
setup.py
from setuptools import find_packages, setup setup( name="feeds", version="2017.08.14", # Author details author="Florian Preinstorfer, Lukas Anzinger", author_email="florian@nblock.org, lukas@lukasanzinger.at", url="https://github.com/nblock/feeds", packages=find_packages(), include_package_data=True, install_requires=[ "bleach>=1.4.3", "Click>=6.6", "dateparser>=0.5.1", "python-dateutil>=2.7.3", "Scrapy>=1.1", "lxml>=3.5.0", ], extras_require={ "docs": ["doc8", "restructuredtext_lint", "sphinx", "sphinx_rtd_theme"], "style": ["black", "flake8", "isort", "tox"], }, entry_points=""" [console_scripts] feeds=feeds.cli:main """, )
from setuptools import find_packages, setup setup( name="feeds", version="2017.08.14", # Author details author="Florian Preinstorfer, Lukas Anzinger", author_email="florian@nblock.org, lukas@lukasanzinger.at", url="https://github.com/nblock/feeds", packages=find_packages(), include_package_data=True, install_requires=[ "bleach>=1.4.3", "Click>=6.6", "dateparser>=0.5.1", "python-dateutil>=2.7.3", "Scrapy>=1.1", "lxml>=3.5.0", ], extras_require={ "docs": ["doc8", "restructuredtext_lint", "sphinx", "sphinx_rtd_theme"], "style": ["black", "flake8", "isort"], }, entry_points=""" [console_scripts] feeds=feeds.cli:main """, )
Remove tox from style extras
Remove tox from style extras
Python
agpl-3.0
Lukas0907/feeds,Lukas0907/feeds,nblock/feeds,nblock/feeds
from setuptools import find_packages, setup setup( name="feeds", version="2017.08.14", # Author details author="Florian Preinstorfer, Lukas Anzinger", author_email="florian@nblock.org, lukas@lukasanzinger.at", url="https://github.com/nblock/feeds", packages=find_packages(), include_package_data=True, install_requires=[ "bleach>=1.4.3", "Click>=6.6", "dateparser>=0.5.1", "python-dateutil>=2.7.3", "Scrapy>=1.1", "lxml>=3.5.0", ], extras_require={ "docs": ["doc8", "restructuredtext_lint", "sphinx", "sphinx_rtd_theme"], "style": ["black", "flake8", "isort", "tox"], }, entry_points=""" [console_scripts] feeds=feeds.cli:main """, ) Remove tox from style extras
from setuptools import find_packages, setup setup( name="feeds", version="2017.08.14", # Author details author="Florian Preinstorfer, Lukas Anzinger", author_email="florian@nblock.org, lukas@lukasanzinger.at", url="https://github.com/nblock/feeds", packages=find_packages(), include_package_data=True, install_requires=[ "bleach>=1.4.3", "Click>=6.6", "dateparser>=0.5.1", "python-dateutil>=2.7.3", "Scrapy>=1.1", "lxml>=3.5.0", ], extras_require={ "docs": ["doc8", "restructuredtext_lint", "sphinx", "sphinx_rtd_theme"], "style": ["black", "flake8", "isort"], }, entry_points=""" [console_scripts] feeds=feeds.cli:main """, )
<commit_before>from setuptools import find_packages, setup setup( name="feeds", version="2017.08.14", # Author details author="Florian Preinstorfer, Lukas Anzinger", author_email="florian@nblock.org, lukas@lukasanzinger.at", url="https://github.com/nblock/feeds", packages=find_packages(), include_package_data=True, install_requires=[ "bleach>=1.4.3", "Click>=6.6", "dateparser>=0.5.1", "python-dateutil>=2.7.3", "Scrapy>=1.1", "lxml>=3.5.0", ], extras_require={ "docs": ["doc8", "restructuredtext_lint", "sphinx", "sphinx_rtd_theme"], "style": ["black", "flake8", "isort", "tox"], }, entry_points=""" [console_scripts] feeds=feeds.cli:main """, ) <commit_msg>Remove tox from style extras<commit_after>
from setuptools import find_packages, setup setup( name="feeds", version="2017.08.14", # Author details author="Florian Preinstorfer, Lukas Anzinger", author_email="florian@nblock.org, lukas@lukasanzinger.at", url="https://github.com/nblock/feeds", packages=find_packages(), include_package_data=True, install_requires=[ "bleach>=1.4.3", "Click>=6.6", "dateparser>=0.5.1", "python-dateutil>=2.7.3", "Scrapy>=1.1", "lxml>=3.5.0", ], extras_require={ "docs": ["doc8", "restructuredtext_lint", "sphinx", "sphinx_rtd_theme"], "style": ["black", "flake8", "isort"], }, entry_points=""" [console_scripts] feeds=feeds.cli:main """, )
from setuptools import find_packages, setup setup( name="feeds", version="2017.08.14", # Author details author="Florian Preinstorfer, Lukas Anzinger", author_email="florian@nblock.org, lukas@lukasanzinger.at", url="https://github.com/nblock/feeds", packages=find_packages(), include_package_data=True, install_requires=[ "bleach>=1.4.3", "Click>=6.6", "dateparser>=0.5.1", "python-dateutil>=2.7.3", "Scrapy>=1.1", "lxml>=3.5.0", ], extras_require={ "docs": ["doc8", "restructuredtext_lint", "sphinx", "sphinx_rtd_theme"], "style": ["black", "flake8", "isort", "tox"], }, entry_points=""" [console_scripts] feeds=feeds.cli:main """, ) Remove tox from style extrasfrom setuptools import find_packages, setup setup( name="feeds", version="2017.08.14", # Author details author="Florian Preinstorfer, Lukas Anzinger", author_email="florian@nblock.org, lukas@lukasanzinger.at", url="https://github.com/nblock/feeds", packages=find_packages(), include_package_data=True, install_requires=[ "bleach>=1.4.3", "Click>=6.6", "dateparser>=0.5.1", "python-dateutil>=2.7.3", "Scrapy>=1.1", "lxml>=3.5.0", ], extras_require={ "docs": ["doc8", "restructuredtext_lint", "sphinx", "sphinx_rtd_theme"], "style": ["black", "flake8", "isort"], }, entry_points=""" [console_scripts] feeds=feeds.cli:main """, )
<commit_before>from setuptools import find_packages, setup setup( name="feeds", version="2017.08.14", # Author details author="Florian Preinstorfer, Lukas Anzinger", author_email="florian@nblock.org, lukas@lukasanzinger.at", url="https://github.com/nblock/feeds", packages=find_packages(), include_package_data=True, install_requires=[ "bleach>=1.4.3", "Click>=6.6", "dateparser>=0.5.1", "python-dateutil>=2.7.3", "Scrapy>=1.1", "lxml>=3.5.0", ], extras_require={ "docs": ["doc8", "restructuredtext_lint", "sphinx", "sphinx_rtd_theme"], "style": ["black", "flake8", "isort", "tox"], }, entry_points=""" [console_scripts] feeds=feeds.cli:main """, ) <commit_msg>Remove tox from style extras<commit_after>from setuptools import find_packages, setup setup( name="feeds", version="2017.08.14", # Author details author="Florian Preinstorfer, Lukas Anzinger", author_email="florian@nblock.org, lukas@lukasanzinger.at", url="https://github.com/nblock/feeds", packages=find_packages(), include_package_data=True, install_requires=[ "bleach>=1.4.3", "Click>=6.6", "dateparser>=0.5.1", "python-dateutil>=2.7.3", "Scrapy>=1.1", "lxml>=3.5.0", ], extras_require={ "docs": ["doc8", "restructuredtext_lint", "sphinx", "sphinx_rtd_theme"], "style": ["black", "flake8", "isort"], }, entry_points=""" [console_scripts] feeds=feeds.cli:main """, )
7a803d1a5e2b388283afdc1ba9c3378753ce62ee
setup.py
setup.py
# encoding: utf-8 from distutils.core import setup setup( name='json-store', version='1.1', packages=['json_store',], scripts=['bin/shelve2json.py',], description="A shelve-like store using JSON serialization.", long_description="JSON store is a simple replacement for shelve. It writes" " JSON serialized files and can accept unicode keys.", author='jeremy avnet', author_email='brainsik-code@theory.org', license='MIT License', url='https://github.com/brainsik/json-store', download_url='http://pypi.python.org/packages/source/j/json-store/json-store-1.1.tar.gz', classifiers=['Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.6',] )
# encoding: utf-8 from distutils.core import setup setup( name='json-store', version='1.1', packages=['json_store'], scripts=['bin/shelve2json.py'], description="A shelve-like store using JSON serialization.", long_description="JSON store is a simple replacement for shelve. It writes" " JSON serialized files and can accept unicode keys.", author='jeremy avnet', author_email='brainsik-code@theory.org', license='MIT License', url='https://github.com/brainsik/json-store', download_url='http://pypi.python.org/packages/source/j/json-store/json-store-1.1.tar.gz', classifiers=['Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7'] )
Add 2.7 to PyPI trove classifiers
Add 2.7 to PyPI trove classifiers
Python
mit
brainsik/json-store,brainsik/json-store,brainsik/json-store-ci-demo,brainsik/json-store-ci-demo,brainsik/json-store-ci-demo
# encoding: utf-8 from distutils.core import setup setup( name='json-store', version='1.1', packages=['json_store',], scripts=['bin/shelve2json.py',], description="A shelve-like store using JSON serialization.", long_description="JSON store is a simple replacement for shelve. It writes" " JSON serialized files and can accept unicode keys.", author='jeremy avnet', author_email='brainsik-code@theory.org', license='MIT License', url='https://github.com/brainsik/json-store', download_url='http://pypi.python.org/packages/source/j/json-store/json-store-1.1.tar.gz', classifiers=['Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.6',] ) Add 2.7 to PyPI trove classifiers
# encoding: utf-8 from distutils.core import setup setup( name='json-store', version='1.1', packages=['json_store'], scripts=['bin/shelve2json.py'], description="A shelve-like store using JSON serialization.", long_description="JSON store is a simple replacement for shelve. It writes" " JSON serialized files and can accept unicode keys.", author='jeremy avnet', author_email='brainsik-code@theory.org', license='MIT License', url='https://github.com/brainsik/json-store', download_url='http://pypi.python.org/packages/source/j/json-store/json-store-1.1.tar.gz', classifiers=['Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7'] )
<commit_before># encoding: utf-8 from distutils.core import setup setup( name='json-store', version='1.1', packages=['json_store',], scripts=['bin/shelve2json.py',], description="A shelve-like store using JSON serialization.", long_description="JSON store is a simple replacement for shelve. It writes" " JSON serialized files and can accept unicode keys.", author='jeremy avnet', author_email='brainsik-code@theory.org', license='MIT License', url='https://github.com/brainsik/json-store', download_url='http://pypi.python.org/packages/source/j/json-store/json-store-1.1.tar.gz', classifiers=['Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.6',] ) <commit_msg>Add 2.7 to PyPI trove classifiers<commit_after>
# encoding: utf-8 from distutils.core import setup setup( name='json-store', version='1.1', packages=['json_store'], scripts=['bin/shelve2json.py'], description="A shelve-like store using JSON serialization.", long_description="JSON store is a simple replacement for shelve. It writes" " JSON serialized files and can accept unicode keys.", author='jeremy avnet', author_email='brainsik-code@theory.org', license='MIT License', url='https://github.com/brainsik/json-store', download_url='http://pypi.python.org/packages/source/j/json-store/json-store-1.1.tar.gz', classifiers=['Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7'] )
# encoding: utf-8 from distutils.core import setup setup( name='json-store', version='1.1', packages=['json_store',], scripts=['bin/shelve2json.py',], description="A shelve-like store using JSON serialization.", long_description="JSON store is a simple replacement for shelve. It writes" " JSON serialized files and can accept unicode keys.", author='jeremy avnet', author_email='brainsik-code@theory.org', license='MIT License', url='https://github.com/brainsik/json-store', download_url='http://pypi.python.org/packages/source/j/json-store/json-store-1.1.tar.gz', classifiers=['Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.6',] ) Add 2.7 to PyPI trove classifiers# encoding: utf-8 from distutils.core import setup setup( name='json-store', version='1.1', packages=['json_store'], scripts=['bin/shelve2json.py'], description="A shelve-like store using JSON serialization.", long_description="JSON store is a simple replacement for shelve. It writes" " JSON serialized files and can accept unicode keys.", author='jeremy avnet', author_email='brainsik-code@theory.org', license='MIT License', url='https://github.com/brainsik/json-store', download_url='http://pypi.python.org/packages/source/j/json-store/json-store-1.1.tar.gz', classifiers=['Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7'] )
<commit_before># encoding: utf-8 from distutils.core import setup setup( name='json-store', version='1.1', packages=['json_store',], scripts=['bin/shelve2json.py',], description="A shelve-like store using JSON serialization.", long_description="JSON store is a simple replacement for shelve. It writes" " JSON serialized files and can accept unicode keys.", author='jeremy avnet', author_email='brainsik-code@theory.org', license='MIT License', url='https://github.com/brainsik/json-store', download_url='http://pypi.python.org/packages/source/j/json-store/json-store-1.1.tar.gz', classifiers=['Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.6',] ) <commit_msg>Add 2.7 to PyPI trove classifiers<commit_after># encoding: utf-8 from distutils.core import setup setup( name='json-store', version='1.1', packages=['json_store'], scripts=['bin/shelve2json.py'], description="A shelve-like store using JSON serialization.", long_description="JSON store is a simple replacement for shelve. It writes" " JSON serialized files and can accept unicode keys.", author='jeremy avnet', author_email='brainsik-code@theory.org', license='MIT License', url='https://github.com/brainsik/json-store', download_url='http://pypi.python.org/packages/source/j/json-store/json-store-1.1.tar.gz', classifiers=['Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7'] )
07ea04e56589407f4f32880a0f8bc748de3b3a88
setup.py
setup.py
import os import sys from distutils.core import setup def read(filename): return open(os.path.join(os.path.dirname(__file__), filename)).read() if sys.version_info >= (3, 4): install_requires = [] else: install_requires = ['asyncio'] install_requires.append('watchdog') exec(open('hachiko/version.py').read()) setup(name='hachiko', version=__version__, author='John Biesnecker', author_email='jbiesnecker@gmail.com', url='https://github.com/biesnecker/hachiko', packages=['hachiko'], package_dir={'hachiko': './hachiko'}, install_requires=install_requires, description='Asyncio wrapper around watchdog.', license='mit', long_description=read('README.txt') )
import os import sys from distutils.core import setup def read(filename): return open(os.path.join(os.path.dirname(__file__), filename)).read() if sys.version_info >= (3, 5): install_requires = [] else: install_requires = ['asyncio'] install_requires.append('watchdog') exec(open('hachiko/version.py').read()) setup(name='hachiko', version=__version__, author='John Biesnecker', author_email='jbiesnecker@gmail.com', url='https://github.com/biesnecker/hachiko', packages=['hachiko'], package_dir={'hachiko': './hachiko'}, install_requires=install_requires, description='Asyncio wrapper around watchdog.', license='mit', long_description=read('README.txt') )
Raise min required Python version to 3.5 Python 3.4 reached eol
Raise min required Python version to 3.5 Python 3.4 reached eol
Python
mit
biesnecker/hachiko
import os import sys from distutils.core import setup def read(filename): return open(os.path.join(os.path.dirname(__file__), filename)).read() if sys.version_info >= (3, 4): install_requires = [] else: install_requires = ['asyncio'] install_requires.append('watchdog') exec(open('hachiko/version.py').read()) setup(name='hachiko', version=__version__, author='John Biesnecker', author_email='jbiesnecker@gmail.com', url='https://github.com/biesnecker/hachiko', packages=['hachiko'], package_dir={'hachiko': './hachiko'}, install_requires=install_requires, description='Asyncio wrapper around watchdog.', license='mit', long_description=read('README.txt') )Raise min required Python version to 3.5 Python 3.4 reached eol
import os import sys from distutils.core import setup def read(filename): return open(os.path.join(os.path.dirname(__file__), filename)).read() if sys.version_info >= (3, 5): install_requires = [] else: install_requires = ['asyncio'] install_requires.append('watchdog') exec(open('hachiko/version.py').read()) setup(name='hachiko', version=__version__, author='John Biesnecker', author_email='jbiesnecker@gmail.com', url='https://github.com/biesnecker/hachiko', packages=['hachiko'], package_dir={'hachiko': './hachiko'}, install_requires=install_requires, description='Asyncio wrapper around watchdog.', license='mit', long_description=read('README.txt') )
<commit_before>import os import sys from distutils.core import setup def read(filename): return open(os.path.join(os.path.dirname(__file__), filename)).read() if sys.version_info >= (3, 4): install_requires = [] else: install_requires = ['asyncio'] install_requires.append('watchdog') exec(open('hachiko/version.py').read()) setup(name='hachiko', version=__version__, author='John Biesnecker', author_email='jbiesnecker@gmail.com', url='https://github.com/biesnecker/hachiko', packages=['hachiko'], package_dir={'hachiko': './hachiko'}, install_requires=install_requires, description='Asyncio wrapper around watchdog.', license='mit', long_description=read('README.txt') )<commit_msg>Raise min required Python version to 3.5 Python 3.4 reached eol<commit_after>
import os import sys from distutils.core import setup def read(filename): return open(os.path.join(os.path.dirname(__file__), filename)).read() if sys.version_info >= (3, 5): install_requires = [] else: install_requires = ['asyncio'] install_requires.append('watchdog') exec(open('hachiko/version.py').read()) setup(name='hachiko', version=__version__, author='John Biesnecker', author_email='jbiesnecker@gmail.com', url='https://github.com/biesnecker/hachiko', packages=['hachiko'], package_dir={'hachiko': './hachiko'}, install_requires=install_requires, description='Asyncio wrapper around watchdog.', license='mit', long_description=read('README.txt') )
import os import sys from distutils.core import setup def read(filename): return open(os.path.join(os.path.dirname(__file__), filename)).read() if sys.version_info >= (3, 4): install_requires = [] else: install_requires = ['asyncio'] install_requires.append('watchdog') exec(open('hachiko/version.py').read()) setup(name='hachiko', version=__version__, author='John Biesnecker', author_email='jbiesnecker@gmail.com', url='https://github.com/biesnecker/hachiko', packages=['hachiko'], package_dir={'hachiko': './hachiko'}, install_requires=install_requires, description='Asyncio wrapper around watchdog.', license='mit', long_description=read('README.txt') )Raise min required Python version to 3.5 Python 3.4 reached eolimport os import sys from distutils.core import setup def read(filename): return open(os.path.join(os.path.dirname(__file__), filename)).read() if sys.version_info >= (3, 5): install_requires = [] else: install_requires = ['asyncio'] install_requires.append('watchdog') exec(open('hachiko/version.py').read()) setup(name='hachiko', version=__version__, author='John Biesnecker', author_email='jbiesnecker@gmail.com', url='https://github.com/biesnecker/hachiko', packages=['hachiko'], package_dir={'hachiko': './hachiko'}, install_requires=install_requires, description='Asyncio wrapper around watchdog.', license='mit', long_description=read('README.txt') )
<commit_before>import os import sys from distutils.core import setup def read(filename): return open(os.path.join(os.path.dirname(__file__), filename)).read() if sys.version_info >= (3, 4): install_requires = [] else: install_requires = ['asyncio'] install_requires.append('watchdog') exec(open('hachiko/version.py').read()) setup(name='hachiko', version=__version__, author='John Biesnecker', author_email='jbiesnecker@gmail.com', url='https://github.com/biesnecker/hachiko', packages=['hachiko'], package_dir={'hachiko': './hachiko'}, install_requires=install_requires, description='Asyncio wrapper around watchdog.', license='mit', long_description=read('README.txt') )<commit_msg>Raise min required Python version to 3.5 Python 3.4 reached eol<commit_after>import os import sys from distutils.core import setup def read(filename): return open(os.path.join(os.path.dirname(__file__), filename)).read() if sys.version_info >= (3, 5): install_requires = [] else: install_requires = ['asyncio'] install_requires.append('watchdog') exec(open('hachiko/version.py').read()) setup(name='hachiko', version=__version__, author='John Biesnecker', author_email='jbiesnecker@gmail.com', url='https://github.com/biesnecker/hachiko', packages=['hachiko'], package_dir={'hachiko': './hachiko'}, install_requires=install_requires, description='Asyncio wrapper around watchdog.', license='mit', long_description=read('README.txt') )
33461befd29eaf33f53442515a82d081b5206a49
setup.py
setup.py
#!/usr/bin/env python import os import sys import subprocess from setuptools import setup, find_packages if not os.path.exists('./xcffib'): print("It looks like you need to generate the binding.") print("please run 'make xcffib' or 'make check'.") sys.exit(1) # version = subprocess.check_output(['git', 'describe', '--tags']) import xcffib setup( name="xcffib", version="prerelease", description="A drop in replacement for xpyb, an XCB python binding", keywords="xcb xpyb cffi x11 x windows", license="MIT", install_requires=['six', 'cffi>=0.8.2'], packages=['xcffib'], zip_safe=False, ext_modules=[xcffib.ffi.verifier.get_extension()], )
#!/usr/bin/env python import os import sys import subprocess from setuptools import setup, find_packages from distutils.command.build import build if not os.path.exists('./xcffib'): print("It looks like you need to generate the binding.") print("please run 'make xcffib' or 'make check'.") sys.exit(1) # Stolen from http://github.com/xattr/xattr, which is also MIT licensed. class cffi_build(build): """This is a shameful hack to ensure that cffi is present when we specify ext_modules. We can't do this eagerly because setup_requires hasn't run yet. """ def finalize_options(self): import xcffib self.distribution.ext_modules = [xcffib.ffi.verifier.get_extension()] build.finalize_options(self) # version = subprocess.check_output(['git', 'describe', '--tags']) dependencies = ['six', 'cffi>=0.8.2'] setup( name="xcffib", version="prerelease", description="A drop in replacement for xpyb, an XCB python binding", keywords="xcb xpyb cffi x11 x windows", license="MIT", url="http://github.com/tych0/xcffib", author="Tycho Andersen", author_email="tycho@tycho.ws", install_requires=dependencies, setup_requires=dependencies, packages=['xcffib'], zip_safe=False, cmdclass={'build': cffi_build}, )
Solve the xcffib chicken and egg problem
Solve the xcffib chicken and egg problem See https://groups.google.com/forum/#!topic/python-cffi/NgGybV5LLMs for more info.
Python
apache-2.0
tych0/xcffib
#!/usr/bin/env python import os import sys import subprocess from setuptools import setup, find_packages if not os.path.exists('./xcffib'): print("It looks like you need to generate the binding.") print("please run 'make xcffib' or 'make check'.") sys.exit(1) # version = subprocess.check_output(['git', 'describe', '--tags']) import xcffib setup( name="xcffib", version="prerelease", description="A drop in replacement for xpyb, an XCB python binding", keywords="xcb xpyb cffi x11 x windows", license="MIT", install_requires=['six', 'cffi>=0.8.2'], packages=['xcffib'], zip_safe=False, ext_modules=[xcffib.ffi.verifier.get_extension()], ) Solve the xcffib chicken and egg problem See https://groups.google.com/forum/#!topic/python-cffi/NgGybV5LLMs for more info.
#!/usr/bin/env python import os import sys import subprocess from setuptools import setup, find_packages from distutils.command.build import build if not os.path.exists('./xcffib'): print("It looks like you need to generate the binding.") print("please run 'make xcffib' or 'make check'.") sys.exit(1) # Stolen from http://github.com/xattr/xattr, which is also MIT licensed. class cffi_build(build): """This is a shameful hack to ensure that cffi is present when we specify ext_modules. We can't do this eagerly because setup_requires hasn't run yet. """ def finalize_options(self): import xcffib self.distribution.ext_modules = [xcffib.ffi.verifier.get_extension()] build.finalize_options(self) # version = subprocess.check_output(['git', 'describe', '--tags']) dependencies = ['six', 'cffi>=0.8.2'] setup( name="xcffib", version="prerelease", description="A drop in replacement for xpyb, an XCB python binding", keywords="xcb xpyb cffi x11 x windows", license="MIT", url="http://github.com/tych0/xcffib", author="Tycho Andersen", author_email="tycho@tycho.ws", install_requires=dependencies, setup_requires=dependencies, packages=['xcffib'], zip_safe=False, cmdclass={'build': cffi_build}, )
<commit_before>#!/usr/bin/env python import os import sys import subprocess from setuptools import setup, find_packages if not os.path.exists('./xcffib'): print("It looks like you need to generate the binding.") print("please run 'make xcffib' or 'make check'.") sys.exit(1) # version = subprocess.check_output(['git', 'describe', '--tags']) import xcffib setup( name="xcffib", version="prerelease", description="A drop in replacement for xpyb, an XCB python binding", keywords="xcb xpyb cffi x11 x windows", license="MIT", install_requires=['six', 'cffi>=0.8.2'], packages=['xcffib'], zip_safe=False, ext_modules=[xcffib.ffi.verifier.get_extension()], ) <commit_msg>Solve the xcffib chicken and egg problem See https://groups.google.com/forum/#!topic/python-cffi/NgGybV5LLMs for more info.<commit_after>
#!/usr/bin/env python import os import sys import subprocess from setuptools import setup, find_packages from distutils.command.build import build if not os.path.exists('./xcffib'): print("It looks like you need to generate the binding.") print("please run 'make xcffib' or 'make check'.") sys.exit(1) # Stolen from http://github.com/xattr/xattr, which is also MIT licensed. class cffi_build(build): """This is a shameful hack to ensure that cffi is present when we specify ext_modules. We can't do this eagerly because setup_requires hasn't run yet. """ def finalize_options(self): import xcffib self.distribution.ext_modules = [xcffib.ffi.verifier.get_extension()] build.finalize_options(self) # version = subprocess.check_output(['git', 'describe', '--tags']) dependencies = ['six', 'cffi>=0.8.2'] setup( name="xcffib", version="prerelease", description="A drop in replacement for xpyb, an XCB python binding", keywords="xcb xpyb cffi x11 x windows", license="MIT", url="http://github.com/tych0/xcffib", author="Tycho Andersen", author_email="tycho@tycho.ws", install_requires=dependencies, setup_requires=dependencies, packages=['xcffib'], zip_safe=False, cmdclass={'build': cffi_build}, )
#!/usr/bin/env python import os import sys import subprocess from setuptools import setup, find_packages if not os.path.exists('./xcffib'): print("It looks like you need to generate the binding.") print("please run 'make xcffib' or 'make check'.") sys.exit(1) # version = subprocess.check_output(['git', 'describe', '--tags']) import xcffib setup( name="xcffib", version="prerelease", description="A drop in replacement for xpyb, an XCB python binding", keywords="xcb xpyb cffi x11 x windows", license="MIT", install_requires=['six', 'cffi>=0.8.2'], packages=['xcffib'], zip_safe=False, ext_modules=[xcffib.ffi.verifier.get_extension()], ) Solve the xcffib chicken and egg problem See https://groups.google.com/forum/#!topic/python-cffi/NgGybV5LLMs for more info.#!/usr/bin/env python import os import sys import subprocess from setuptools import setup, find_packages from distutils.command.build import build if not os.path.exists('./xcffib'): print("It looks like you need to generate the binding.") print("please run 'make xcffib' or 'make check'.") sys.exit(1) # Stolen from http://github.com/xattr/xattr, which is also MIT licensed. class cffi_build(build): """This is a shameful hack to ensure that cffi is present when we specify ext_modules. We can't do this eagerly because setup_requires hasn't run yet. """ def finalize_options(self): import xcffib self.distribution.ext_modules = [xcffib.ffi.verifier.get_extension()] build.finalize_options(self) # version = subprocess.check_output(['git', 'describe', '--tags']) dependencies = ['six', 'cffi>=0.8.2'] setup( name="xcffib", version="prerelease", description="A drop in replacement for xpyb, an XCB python binding", keywords="xcb xpyb cffi x11 x windows", license="MIT", url="http://github.com/tych0/xcffib", author="Tycho Andersen", author_email="tycho@tycho.ws", install_requires=dependencies, setup_requires=dependencies, packages=['xcffib'], zip_safe=False, cmdclass={'build': cffi_build}, )
<commit_before>#!/usr/bin/env python import os import sys import subprocess from setuptools import setup, find_packages if not os.path.exists('./xcffib'): print("It looks like you need to generate the binding.") print("please run 'make xcffib' or 'make check'.") sys.exit(1) # version = subprocess.check_output(['git', 'describe', '--tags']) import xcffib setup( name="xcffib", version="prerelease", description="A drop in replacement for xpyb, an XCB python binding", keywords="xcb xpyb cffi x11 x windows", license="MIT", install_requires=['six', 'cffi>=0.8.2'], packages=['xcffib'], zip_safe=False, ext_modules=[xcffib.ffi.verifier.get_extension()], ) <commit_msg>Solve the xcffib chicken and egg problem See https://groups.google.com/forum/#!topic/python-cffi/NgGybV5LLMs for more info.<commit_after>#!/usr/bin/env python import os import sys import subprocess from setuptools import setup, find_packages from distutils.command.build import build if not os.path.exists('./xcffib'): print("It looks like you need to generate the binding.") print("please run 'make xcffib' or 'make check'.") sys.exit(1) # Stolen from http://github.com/xattr/xattr, which is also MIT licensed. class cffi_build(build): """This is a shameful hack to ensure that cffi is present when we specify ext_modules. We can't do this eagerly because setup_requires hasn't run yet. """ def finalize_options(self): import xcffib self.distribution.ext_modules = [xcffib.ffi.verifier.get_extension()] build.finalize_options(self) # version = subprocess.check_output(['git', 'describe', '--tags']) dependencies = ['six', 'cffi>=0.8.2'] setup( name="xcffib", version="prerelease", description="A drop in replacement for xpyb, an XCB python binding", keywords="xcb xpyb cffi x11 x windows", license="MIT", url="http://github.com/tych0/xcffib", author="Tycho Andersen", author_email="tycho@tycho.ws", install_requires=dependencies, setup_requires=dependencies, packages=['xcffib'], zip_safe=False, cmdclass={'build': cffi_build}, )
f8fdb00d5e0b7084aff39dc0403747528e60254a
setup.py
setup.py
from setuptools import setup from kafka_info import __version__ setup( name="kafka-info", version=__version__, author="Federico Giraud", author_email="fgiraud@yelp.com", description="Shows kafka cluster information and metrics", packages=[ "kafka_info", "kafka_info.utils", "kafka_info.commands", "kafka_reassignment", "kafka_consumer_manager", "kafka_consumer_manager.commands"], data_files=[ ("bash_completion.d", ["kafka-info"], ["kafka-reassignment"])], scripts=[ "kafka-info", "kafka-reassignment", "kafka-consumer-manager"], install_requires=[ "argparse", "argcomplete", "kazoo", "PyYAML", "yelp-kafka", ], )
from setuptools import setup from kafka_info import __version__ setup( name="kafka-info", version=__version__, author="Federico Giraud", author_email="fgiraud@yelp.com", description="Shows kafka cluster information and metrics", packages=[ "kafka_info", "kafka_info.utils", "kafka_info.commands", "kafka_reassignment", "kafka_consumer_manager", "kafka_consumer_manager.commands"], data_files=[ ("bash_completion.d", ["bash_completion.d/kafka-info"]), ], scripts=[ "kafka-info", "kafka-reassignment", "kafka-consumer-manager"], install_requires=[ "argparse", "argcomplete", "kazoo", "PyYAML", "yelp-kafka", ], )
Add MANIFEST.in to keep tox happy
Add MANIFEST.in to keep tox happy
Python
apache-2.0
anthonysandrin/kafka-utils,Yelp/kafka-utils,Yelp/kafka-utils,anthonysandrin/kafka-utils
from setuptools import setup from kafka_info import __version__ setup( name="kafka-info", version=__version__, author="Federico Giraud", author_email="fgiraud@yelp.com", description="Shows kafka cluster information and metrics", packages=[ "kafka_info", "kafka_info.utils", "kafka_info.commands", "kafka_reassignment", "kafka_consumer_manager", "kafka_consumer_manager.commands"], data_files=[ ("bash_completion.d", ["kafka-info"], ["kafka-reassignment"])], scripts=[ "kafka-info", "kafka-reassignment", "kafka-consumer-manager"], install_requires=[ "argparse", "argcomplete", "kazoo", "PyYAML", "yelp-kafka", ], ) Add MANIFEST.in to keep tox happy
from setuptools import setup from kafka_info import __version__ setup( name="kafka-info", version=__version__, author="Federico Giraud", author_email="fgiraud@yelp.com", description="Shows kafka cluster information and metrics", packages=[ "kafka_info", "kafka_info.utils", "kafka_info.commands", "kafka_reassignment", "kafka_consumer_manager", "kafka_consumer_manager.commands"], data_files=[ ("bash_completion.d", ["bash_completion.d/kafka-info"]), ], scripts=[ "kafka-info", "kafka-reassignment", "kafka-consumer-manager"], install_requires=[ "argparse", "argcomplete", "kazoo", "PyYAML", "yelp-kafka", ], )
<commit_before>from setuptools import setup from kafka_info import __version__ setup( name="kafka-info", version=__version__, author="Federico Giraud", author_email="fgiraud@yelp.com", description="Shows kafka cluster information and metrics", packages=[ "kafka_info", "kafka_info.utils", "kafka_info.commands", "kafka_reassignment", "kafka_consumer_manager", "kafka_consumer_manager.commands"], data_files=[ ("bash_completion.d", ["kafka-info"], ["kafka-reassignment"])], scripts=[ "kafka-info", "kafka-reassignment", "kafka-consumer-manager"], install_requires=[ "argparse", "argcomplete", "kazoo", "PyYAML", "yelp-kafka", ], ) <commit_msg>Add MANIFEST.in to keep tox happy<commit_after>
from setuptools import setup from kafka_info import __version__ setup( name="kafka-info", version=__version__, author="Federico Giraud", author_email="fgiraud@yelp.com", description="Shows kafka cluster information and metrics", packages=[ "kafka_info", "kafka_info.utils", "kafka_info.commands", "kafka_reassignment", "kafka_consumer_manager", "kafka_consumer_manager.commands"], data_files=[ ("bash_completion.d", ["bash_completion.d/kafka-info"]), ], scripts=[ "kafka-info", "kafka-reassignment", "kafka-consumer-manager"], install_requires=[ "argparse", "argcomplete", "kazoo", "PyYAML", "yelp-kafka", ], )
from setuptools import setup from kafka_info import __version__ setup( name="kafka-info", version=__version__, author="Federico Giraud", author_email="fgiraud@yelp.com", description="Shows kafka cluster information and metrics", packages=[ "kafka_info", "kafka_info.utils", "kafka_info.commands", "kafka_reassignment", "kafka_consumer_manager", "kafka_consumer_manager.commands"], data_files=[ ("bash_completion.d", ["kafka-info"], ["kafka-reassignment"])], scripts=[ "kafka-info", "kafka-reassignment", "kafka-consumer-manager"], install_requires=[ "argparse", "argcomplete", "kazoo", "PyYAML", "yelp-kafka", ], ) Add MANIFEST.in to keep tox happyfrom setuptools import setup from kafka_info import __version__ setup( name="kafka-info", version=__version__, author="Federico Giraud", author_email="fgiraud@yelp.com", description="Shows kafka cluster information and metrics", packages=[ "kafka_info", "kafka_info.utils", "kafka_info.commands", "kafka_reassignment", "kafka_consumer_manager", "kafka_consumer_manager.commands"], data_files=[ ("bash_completion.d", ["bash_completion.d/kafka-info"]), ], scripts=[ "kafka-info", "kafka-reassignment", "kafka-consumer-manager"], install_requires=[ "argparse", "argcomplete", "kazoo", "PyYAML", "yelp-kafka", ], )
<commit_before>from setuptools import setup from kafka_info import __version__ setup( name="kafka-info", version=__version__, author="Federico Giraud", author_email="fgiraud@yelp.com", description="Shows kafka cluster information and metrics", packages=[ "kafka_info", "kafka_info.utils", "kafka_info.commands", "kafka_reassignment", "kafka_consumer_manager", "kafka_consumer_manager.commands"], data_files=[ ("bash_completion.d", ["kafka-info"], ["kafka-reassignment"])], scripts=[ "kafka-info", "kafka-reassignment", "kafka-consumer-manager"], install_requires=[ "argparse", "argcomplete", "kazoo", "PyYAML", "yelp-kafka", ], ) <commit_msg>Add MANIFEST.in to keep tox happy<commit_after>from setuptools import setup from kafka_info import __version__ setup( name="kafka-info", version=__version__, author="Federico Giraud", author_email="fgiraud@yelp.com", description="Shows kafka cluster information and metrics", packages=[ "kafka_info", "kafka_info.utils", "kafka_info.commands", "kafka_reassignment", "kafka_consumer_manager", "kafka_consumer_manager.commands"], data_files=[ ("bash_completion.d", ["bash_completion.d/kafka-info"]), ], scripts=[ "kafka-info", "kafka-reassignment", "kafka-consumer-manager"], install_requires=[ "argparse", "argcomplete", "kazoo", "PyYAML", "yelp-kafka", ], )
6f4cd4e14960c25197dd2fe635ab5ceb8ad1949a
setup.py
setup.py
import pathlib from crc import LIBRARY_VERSION from setuptools import setup current = pathlib.Path(__file__).parent.resolve() def readme(): return (current / 'README.md').read_text(encoding='utf-8') if __name__ == '__main__': setup( name='crc', version=LIBRARY_VERSION, py_modules=['crc'], classifiers=[ 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', ], url='https://github.com/Nicoretti/crc', license='BSD', python_requires='>=3.7', author='Nicola Coretti', author_email='nico.coretti@gmail.com', description='Library and CLI to calculate and verify all kinds of CRC checksums.', keywords=['CRC', 'CRC8', 'CRC16', 'CRC32', 'CRC64'], long_description=readme(), long_description_content_type='text/markdown', entry_points={ 'console_scripts': [ 'crc=crc:main', ], } )
import pathlib from crc import LIBRARY_VERSION from setuptools import setup current = pathlib.Path(__file__).parent.resolve() def readme(): return (current / 'README.md').read_text(encoding='utf-8') if __name__ == '__main__': setup( name='crc', version=LIBRARY_VERSION, py_modules=['crc'], classifiers=[ 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', ], url='https://github.com/Nicoretti/crc', license='BSD', python_requires='>=3.7', author='Nicola Coretti', author_email='nico.coretti@gmail.com', description='Library and CLI to calculate and verify all kinds of CRC checksums.', keywords=['CRC', 'CRC8', 'CRC16', 'CRC32', 'CRC64'], long_description=readme(), long_description_content_type='text/markdown', entry_points={ 'console_scripts': [ 'crc=crc:main', ], } )
Update package information about supported python versions
Update package information about supported python versions
Python
bsd-2-clause
Nicoretti/crc
import pathlib from crc import LIBRARY_VERSION from setuptools import setup current = pathlib.Path(__file__).parent.resolve() def readme(): return (current / 'README.md').read_text(encoding='utf-8') if __name__ == '__main__': setup( name='crc', version=LIBRARY_VERSION, py_modules=['crc'], classifiers=[ 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', ], url='https://github.com/Nicoretti/crc', license='BSD', python_requires='>=3.7', author='Nicola Coretti', author_email='nico.coretti@gmail.com', description='Library and CLI to calculate and verify all kinds of CRC checksums.', keywords=['CRC', 'CRC8', 'CRC16', 'CRC32', 'CRC64'], long_description=readme(), long_description_content_type='text/markdown', entry_points={ 'console_scripts': [ 'crc=crc:main', ], } ) Update package information about supported python versions
import pathlib from crc import LIBRARY_VERSION from setuptools import setup current = pathlib.Path(__file__).parent.resolve() def readme(): return (current / 'README.md').read_text(encoding='utf-8') if __name__ == '__main__': setup( name='crc', version=LIBRARY_VERSION, py_modules=['crc'], classifiers=[ 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', ], url='https://github.com/Nicoretti/crc', license='BSD', python_requires='>=3.7', author='Nicola Coretti', author_email='nico.coretti@gmail.com', description='Library and CLI to calculate and verify all kinds of CRC checksums.', keywords=['CRC', 'CRC8', 'CRC16', 'CRC32', 'CRC64'], long_description=readme(), long_description_content_type='text/markdown', entry_points={ 'console_scripts': [ 'crc=crc:main', ], } )
<commit_before>import pathlib from crc import LIBRARY_VERSION from setuptools import setup current = pathlib.Path(__file__).parent.resolve() def readme(): return (current / 'README.md').read_text(encoding='utf-8') if __name__ == '__main__': setup( name='crc', version=LIBRARY_VERSION, py_modules=['crc'], classifiers=[ 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', ], url='https://github.com/Nicoretti/crc', license='BSD', python_requires='>=3.7', author='Nicola Coretti', author_email='nico.coretti@gmail.com', description='Library and CLI to calculate and verify all kinds of CRC checksums.', keywords=['CRC', 'CRC8', 'CRC16', 'CRC32', 'CRC64'], long_description=readme(), long_description_content_type='text/markdown', entry_points={ 'console_scripts': [ 'crc=crc:main', ], } ) <commit_msg>Update package information about supported python versions<commit_after>
import pathlib from crc import LIBRARY_VERSION from setuptools import setup current = pathlib.Path(__file__).parent.resolve() def readme(): return (current / 'README.md').read_text(encoding='utf-8') if __name__ == '__main__': setup( name='crc', version=LIBRARY_VERSION, py_modules=['crc'], classifiers=[ 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', ], url='https://github.com/Nicoretti/crc', license='BSD', python_requires='>=3.7', author='Nicola Coretti', author_email='nico.coretti@gmail.com', description='Library and CLI to calculate and verify all kinds of CRC checksums.', keywords=['CRC', 'CRC8', 'CRC16', 'CRC32', 'CRC64'], long_description=readme(), long_description_content_type='text/markdown', entry_points={ 'console_scripts': [ 'crc=crc:main', ], } )
import pathlib from crc import LIBRARY_VERSION from setuptools import setup current = pathlib.Path(__file__).parent.resolve() def readme(): return (current / 'README.md').read_text(encoding='utf-8') if __name__ == '__main__': setup( name='crc', version=LIBRARY_VERSION, py_modules=['crc'], classifiers=[ 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', ], url='https://github.com/Nicoretti/crc', license='BSD', python_requires='>=3.7', author='Nicola Coretti', author_email='nico.coretti@gmail.com', description='Library and CLI to calculate and verify all kinds of CRC checksums.', keywords=['CRC', 'CRC8', 'CRC16', 'CRC32', 'CRC64'], long_description=readme(), long_description_content_type='text/markdown', entry_points={ 'console_scripts': [ 'crc=crc:main', ], } ) Update package information about supported python versionsimport pathlib from crc import LIBRARY_VERSION from setuptools import setup current = pathlib.Path(__file__).parent.resolve() def readme(): return (current / 'README.md').read_text(encoding='utf-8') if __name__ == '__main__': setup( name='crc', version=LIBRARY_VERSION, py_modules=['crc'], classifiers=[ 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', ], url='https://github.com/Nicoretti/crc', license='BSD', python_requires='>=3.7', author='Nicola Coretti', author_email='nico.coretti@gmail.com', description='Library and CLI to calculate and verify all kinds of CRC checksums.', keywords=['CRC', 'CRC8', 'CRC16', 'CRC32', 'CRC64'], long_description=readme(), long_description_content_type='text/markdown', entry_points={ 'console_scripts': [ 'crc=crc:main', ], } )
<commit_before>import pathlib from crc import LIBRARY_VERSION from setuptools import setup current = pathlib.Path(__file__).parent.resolve() def readme(): return (current / 'README.md').read_text(encoding='utf-8') if __name__ == '__main__': setup( name='crc', version=LIBRARY_VERSION, py_modules=['crc'], classifiers=[ 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', ], url='https://github.com/Nicoretti/crc', license='BSD', python_requires='>=3.7', author='Nicola Coretti', author_email='nico.coretti@gmail.com', description='Library and CLI to calculate and verify all kinds of CRC checksums.', keywords=['CRC', 'CRC8', 'CRC16', 'CRC32', 'CRC64'], long_description=readme(), long_description_content_type='text/markdown', entry_points={ 'console_scripts': [ 'crc=crc:main', ], } ) <commit_msg>Update package information about supported python versions<commit_after>import pathlib from crc import LIBRARY_VERSION from setuptools import setup current = pathlib.Path(__file__).parent.resolve() def readme(): return (current / 'README.md').read_text(encoding='utf-8') if __name__ == '__main__': setup( name='crc', version=LIBRARY_VERSION, py_modules=['crc'], classifiers=[ 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', ], url='https://github.com/Nicoretti/crc', license='BSD', python_requires='>=3.7', author='Nicola Coretti', author_email='nico.coretti@gmail.com', description='Library and CLI to calculate and verify all kinds of CRC checksums.', keywords=['CRC', 'CRC8', 'CRC16', 'CRC32', 'CRC64'], long_description=readme(), long_description_content_type='text/markdown', entry_points={ 'console_scripts': [ 'crc=crc:main', ], } )
e1349cedc6eb26f8f550d00e8249cb52920fdf75
setup.py
setup.py
from setuptools import setup setup(name="gimlet", version='0.1', description='Simple High-Performance WSGI Sessions', long_description='', classifiers=[ 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2.7', 'Development Status :: 3 - Alpha', 'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware', 'Topic :: Internet :: WWW/HTTP :: Session', ], keywords='wsgi sessions middleware beaker cookie', url='http://github.com/storborg/gimlet', author='Scott Torborg', author_email='scott@cartlogic.com', install_requires=[ 'itsdangerous', 'webob', 'redis', 'pylibmc', # Required for cookie encryption. 'pycrypto', # These are for tests. 'coverage', 'nose>=1.1', 'nose-cover3', 'webtest', ], license='MIT', packages=['gimlet'], test_suite='nose.collector', tests_require=['nose'], zip_safe=False)
from setuptools import setup setup(name="gimlet", version='0.1', description='Simple High-Performance WSGI Sessions', long_description='', classifiers=[ 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2.7', 'Development Status :: 3 - Alpha', 'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware', 'Topic :: Internet :: WWW/HTTP :: Session', ], keywords='wsgi sessions middleware beaker cookie', url='http://github.com/storborg/gimlet', author='Scott Torborg', author_email='scott@cartlogic.com', install_requires=[ 'itsdangerous', 'webob', 'redis', 'pylibmc', 'sqlalchemy', # Required for cookie encryption. 'pycrypto', # These are for tests. 'coverage', 'nose>=1.1', 'nose-cover3', 'webtest', ], license='MIT', packages=['gimlet'], test_suite='nose.collector', tests_require=['nose'], zip_safe=False)
Add sqlalchemy to gimlet dependencies
Add sqlalchemy to gimlet dependencies
Python
mit
storborg/gimlet
from setuptools import setup setup(name="gimlet", version='0.1', description='Simple High-Performance WSGI Sessions', long_description='', classifiers=[ 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2.7', 'Development Status :: 3 - Alpha', 'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware', 'Topic :: Internet :: WWW/HTTP :: Session', ], keywords='wsgi sessions middleware beaker cookie', url='http://github.com/storborg/gimlet', author='Scott Torborg', author_email='scott@cartlogic.com', install_requires=[ 'itsdangerous', 'webob', 'redis', 'pylibmc', # Required for cookie encryption. 'pycrypto', # These are for tests. 'coverage', 'nose>=1.1', 'nose-cover3', 'webtest', ], license='MIT', packages=['gimlet'], test_suite='nose.collector', tests_require=['nose'], zip_safe=False) Add sqlalchemy to gimlet dependencies
from setuptools import setup setup(name="gimlet", version='0.1', description='Simple High-Performance WSGI Sessions', long_description='', classifiers=[ 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2.7', 'Development Status :: 3 - Alpha', 'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware', 'Topic :: Internet :: WWW/HTTP :: Session', ], keywords='wsgi sessions middleware beaker cookie', url='http://github.com/storborg/gimlet', author='Scott Torborg', author_email='scott@cartlogic.com', install_requires=[ 'itsdangerous', 'webob', 'redis', 'pylibmc', 'sqlalchemy', # Required for cookie encryption. 'pycrypto', # These are for tests. 'coverage', 'nose>=1.1', 'nose-cover3', 'webtest', ], license='MIT', packages=['gimlet'], test_suite='nose.collector', tests_require=['nose'], zip_safe=False)
<commit_before>from setuptools import setup setup(name="gimlet", version='0.1', description='Simple High-Performance WSGI Sessions', long_description='', classifiers=[ 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2.7', 'Development Status :: 3 - Alpha', 'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware', 'Topic :: Internet :: WWW/HTTP :: Session', ], keywords='wsgi sessions middleware beaker cookie', url='http://github.com/storborg/gimlet', author='Scott Torborg', author_email='scott@cartlogic.com', install_requires=[ 'itsdangerous', 'webob', 'redis', 'pylibmc', # Required for cookie encryption. 'pycrypto', # These are for tests. 'coverage', 'nose>=1.1', 'nose-cover3', 'webtest', ], license='MIT', packages=['gimlet'], test_suite='nose.collector', tests_require=['nose'], zip_safe=False) <commit_msg>Add sqlalchemy to gimlet dependencies<commit_after>
from setuptools import setup setup(name="gimlet", version='0.1', description='Simple High-Performance WSGI Sessions', long_description='', classifiers=[ 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2.7', 'Development Status :: 3 - Alpha', 'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware', 'Topic :: Internet :: WWW/HTTP :: Session', ], keywords='wsgi sessions middleware beaker cookie', url='http://github.com/storborg/gimlet', author='Scott Torborg', author_email='scott@cartlogic.com', install_requires=[ 'itsdangerous', 'webob', 'redis', 'pylibmc', 'sqlalchemy', # Required for cookie encryption. 'pycrypto', # These are for tests. 'coverage', 'nose>=1.1', 'nose-cover3', 'webtest', ], license='MIT', packages=['gimlet'], test_suite='nose.collector', tests_require=['nose'], zip_safe=False)
from setuptools import setup setup(name="gimlet", version='0.1', description='Simple High-Performance WSGI Sessions', long_description='', classifiers=[ 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2.7', 'Development Status :: 3 - Alpha', 'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware', 'Topic :: Internet :: WWW/HTTP :: Session', ], keywords='wsgi sessions middleware beaker cookie', url='http://github.com/storborg/gimlet', author='Scott Torborg', author_email='scott@cartlogic.com', install_requires=[ 'itsdangerous', 'webob', 'redis', 'pylibmc', # Required for cookie encryption. 'pycrypto', # These are for tests. 'coverage', 'nose>=1.1', 'nose-cover3', 'webtest', ], license='MIT', packages=['gimlet'], test_suite='nose.collector', tests_require=['nose'], zip_safe=False) Add sqlalchemy to gimlet dependenciesfrom setuptools import setup setup(name="gimlet", version='0.1', description='Simple High-Performance WSGI Sessions', long_description='', classifiers=[ 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2.7', 'Development Status :: 3 - Alpha', 'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware', 'Topic :: Internet :: WWW/HTTP :: Session', ], keywords='wsgi sessions middleware beaker cookie', url='http://github.com/storborg/gimlet', author='Scott Torborg', author_email='scott@cartlogic.com', install_requires=[ 'itsdangerous', 'webob', 'redis', 'pylibmc', 'sqlalchemy', # Required for cookie encryption. 'pycrypto', # These are for tests. 'coverage', 'nose>=1.1', 'nose-cover3', 'webtest', ], license='MIT', packages=['gimlet'], test_suite='nose.collector', tests_require=['nose'], zip_safe=False)
<commit_before>from setuptools import setup setup(name="gimlet", version='0.1', description='Simple High-Performance WSGI Sessions', long_description='', classifiers=[ 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2.7', 'Development Status :: 3 - Alpha', 'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware', 'Topic :: Internet :: WWW/HTTP :: Session', ], keywords='wsgi sessions middleware beaker cookie', url='http://github.com/storborg/gimlet', author='Scott Torborg', author_email='scott@cartlogic.com', install_requires=[ 'itsdangerous', 'webob', 'redis', 'pylibmc', # Required for cookie encryption. 'pycrypto', # These are for tests. 'coverage', 'nose>=1.1', 'nose-cover3', 'webtest', ], license='MIT', packages=['gimlet'], test_suite='nose.collector', tests_require=['nose'], zip_safe=False) <commit_msg>Add sqlalchemy to gimlet dependencies<commit_after>from setuptools import setup setup(name="gimlet", version='0.1', description='Simple High-Performance WSGI Sessions', long_description='', classifiers=[ 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2.7', 'Development Status :: 3 - Alpha', 'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware', 'Topic :: Internet :: WWW/HTTP :: Session', ], keywords='wsgi sessions middleware beaker cookie', url='http://github.com/storborg/gimlet', author='Scott Torborg', author_email='scott@cartlogic.com', install_requires=[ 'itsdangerous', 'webob', 'redis', 'pylibmc', 'sqlalchemy', # Required for cookie encryption. 'pycrypto', # These are for tests. 'coverage', 'nose>=1.1', 'nose-cover3', 'webtest', ], license='MIT', packages=['gimlet'], test_suite='nose.collector', tests_require=['nose'], zip_safe=False)
e82212dacd559547494dbb8c9948b3d4c44f9df4
setup.py
setup.py
from setuptools import setup setup( name='edit_distance', version='1.0.3', author='Ben Lambert', author_email='blambert@gmail.com', packages=['edit_distance'], license='LICENSE.txt', description='Computing edit distance on arbitrary Python sequences.', url='https://github.com/belambert/editdistance', keywords=['edit', 'distance', 'editdistance', 'levenshtein'], test_suite='test', long_description=open('README.md').read(), long_description_content_type="text/markdown", classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Text Processing", "Topic :: Utilities", "License :: OSI Approved :: Apache Software License" ], entry_points={ 'console_scripts': [ 'edit-distance = edit_distance.code:main' ] } )
from setuptools import setup setup( name='edit_distance', version='1.0.4', author='Ben Lambert', author_email='blambert@gmail.com', packages=['edit_distance'], license='LICENSE.txt', description='Computing edit distance on arbitrary Python sequences.', url='https://github.com/belambert/editdistance', keywords=['edit', 'distance', 'editdistance', 'levenshtein'], test_suite='test', long_description=open('README.md').read(), long_description_content_type="text/markdown", classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Text Processing", "Topic :: Utilities", "License :: OSI Approved :: Apache Software License" ], entry_points={ 'console_scripts': [ 'edit-distance = edit_distance.code:main' ] } )
Increment version number to 1.0.4.
Increment version number to 1.0.4.
Python
apache-2.0
belambert/editdistance,belambert/edit_distance,belambert/edit-distance
from setuptools import setup setup( name='edit_distance', version='1.0.3', author='Ben Lambert', author_email='blambert@gmail.com', packages=['edit_distance'], license='LICENSE.txt', description='Computing edit distance on arbitrary Python sequences.', url='https://github.com/belambert/editdistance', keywords=['edit', 'distance', 'editdistance', 'levenshtein'], test_suite='test', long_description=open('README.md').read(), long_description_content_type="text/markdown", classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Text Processing", "Topic :: Utilities", "License :: OSI Approved :: Apache Software License" ], entry_points={ 'console_scripts': [ 'edit-distance = edit_distance.code:main' ] } ) Increment version number to 1.0.4.
from setuptools import setup setup( name='edit_distance', version='1.0.4', author='Ben Lambert', author_email='blambert@gmail.com', packages=['edit_distance'], license='LICENSE.txt', description='Computing edit distance on arbitrary Python sequences.', url='https://github.com/belambert/editdistance', keywords=['edit', 'distance', 'editdistance', 'levenshtein'], test_suite='test', long_description=open('README.md').read(), long_description_content_type="text/markdown", classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Text Processing", "Topic :: Utilities", "License :: OSI Approved :: Apache Software License" ], entry_points={ 'console_scripts': [ 'edit-distance = edit_distance.code:main' ] } )
<commit_before>from setuptools import setup setup( name='edit_distance', version='1.0.3', author='Ben Lambert', author_email='blambert@gmail.com', packages=['edit_distance'], license='LICENSE.txt', description='Computing edit distance on arbitrary Python sequences.', url='https://github.com/belambert/editdistance', keywords=['edit', 'distance', 'editdistance', 'levenshtein'], test_suite='test', long_description=open('README.md').read(), long_description_content_type="text/markdown", classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Text Processing", "Topic :: Utilities", "License :: OSI Approved :: Apache Software License" ], entry_points={ 'console_scripts': [ 'edit-distance = edit_distance.code:main' ] } ) <commit_msg>Increment version number to 1.0.4.<commit_after>
from setuptools import setup setup( name='edit_distance', version='1.0.4', author='Ben Lambert', author_email='blambert@gmail.com', packages=['edit_distance'], license='LICENSE.txt', description='Computing edit distance on arbitrary Python sequences.', url='https://github.com/belambert/editdistance', keywords=['edit', 'distance', 'editdistance', 'levenshtein'], test_suite='test', long_description=open('README.md').read(), long_description_content_type="text/markdown", classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Text Processing", "Topic :: Utilities", "License :: OSI Approved :: Apache Software License" ], entry_points={ 'console_scripts': [ 'edit-distance = edit_distance.code:main' ] } )
from setuptools import setup setup( name='edit_distance', version='1.0.3', author='Ben Lambert', author_email='blambert@gmail.com', packages=['edit_distance'], license='LICENSE.txt', description='Computing edit distance on arbitrary Python sequences.', url='https://github.com/belambert/editdistance', keywords=['edit', 'distance', 'editdistance', 'levenshtein'], test_suite='test', long_description=open('README.md').read(), long_description_content_type="text/markdown", classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Text Processing", "Topic :: Utilities", "License :: OSI Approved :: Apache Software License" ], entry_points={ 'console_scripts': [ 'edit-distance = edit_distance.code:main' ] } ) Increment version number to 1.0.4.from setuptools import setup setup( name='edit_distance', version='1.0.4', author='Ben Lambert', author_email='blambert@gmail.com', packages=['edit_distance'], license='LICENSE.txt', description='Computing edit distance on arbitrary Python sequences.', url='https://github.com/belambert/editdistance', keywords=['edit', 'distance', 'editdistance', 'levenshtein'], test_suite='test', long_description=open('README.md').read(), long_description_content_type="text/markdown", classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Text Processing", "Topic :: Utilities", "License :: OSI Approved :: Apache Software License" ], entry_points={ 'console_scripts': [ 'edit-distance = edit_distance.code:main' ] } )
<commit_before>from setuptools import setup setup( name='edit_distance', version='1.0.3', author='Ben Lambert', author_email='blambert@gmail.com', packages=['edit_distance'], license='LICENSE.txt', description='Computing edit distance on arbitrary Python sequences.', url='https://github.com/belambert/editdistance', keywords=['edit', 'distance', 'editdistance', 'levenshtein'], test_suite='test', long_description=open('README.md').read(), long_description_content_type="text/markdown", classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Text Processing", "Topic :: Utilities", "License :: OSI Approved :: Apache Software License" ], entry_points={ 'console_scripts': [ 'edit-distance = edit_distance.code:main' ] } ) <commit_msg>Increment version number to 1.0.4.<commit_after>from setuptools import setup setup( name='edit_distance', version='1.0.4', author='Ben Lambert', author_email='blambert@gmail.com', packages=['edit_distance'], license='LICENSE.txt', description='Computing edit distance on arbitrary Python sequences.', url='https://github.com/belambert/editdistance', keywords=['edit', 'distance', 'editdistance', 'levenshtein'], test_suite='test', long_description=open('README.md').read(), long_description_content_type="text/markdown", classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Text Processing", "Topic :: Utilities", "License :: OSI Approved :: Apache Software License" ], entry_points={ 'console_scripts': [ 'edit-distance = edit_distance.code:main' ] } )
b0b19da9850a8d257839ff0e145b63fac5ff2cfc
setup.py
setup.py
""" CQLSL ----- CQL for Python without any additional abstraction layers. Designed to be simple and fast tool for communication with Cassandra. CQLSL is something between native Cassandra driver (which is really awesome!) and ORM. [Installation](https://github.com/drudim/cqlsl#installation) [Documentation](https://github.com/drudim/cqlsl#getting-started) """ from setuptools import setup import cqlsl setup( name='cqlsl', version=cqlsl.__version__, url='https://github.com/drudim/cqlsl', license='MIT', author='Dmytro Popovych', author_email='drudim.ua@gmail.com', description='CQL for Python without any additional abstraction layers', long_description=__doc__, keywords=['cassandra', 'cql'], classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Topic :: Database :: Front-Ends", "Operating System :: OS Independent", ], packages=['cqlsl'], include_package_data=True, install_requires=['cassandra-driver >= 2.1.1'], test_suite='tests', )
""" CQLSL ----- CQL for Python without any additional abstraction layers. Designed to be simple and fast tool for communication with Cassandra. CQLSL is something between native Cassandra driver (which is really awesome!) and ORM. [Installation](https://github.com/drudim/cqlsl#installation) [Documentation](https://github.com/drudim/cqlsl#getting-started) """ from setuptools import setup import cqlsl setup( name='cqlsl', version=cqlsl.__version__, url='https://github.com/drudim/cqlsl', license='MIT', author='Dmytro Popovych', author_email='drudim.ua@gmail.com', description='CQL for Python without any additional abstraction layers', long_description=__doc__, keywords=['cassandra', 'cql'], classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Topic :: Database :: Front-Ends", "Operating System :: OS Independent", ], packages=['cqlsl'], include_package_data=True, install_requires=['cassandra-driver >= 2.1.1'], test_suite='tests', )
Emphasize that we support Python 3.4.x
Emphasize that we support Python 3.4.x
Python
mit
drudim/cqlsl
""" CQLSL ----- CQL for Python without any additional abstraction layers. Designed to be simple and fast tool for communication with Cassandra. CQLSL is something between native Cassandra driver (which is really awesome!) and ORM. [Installation](https://github.com/drudim/cqlsl#installation) [Documentation](https://github.com/drudim/cqlsl#getting-started) """ from setuptools import setup import cqlsl setup( name='cqlsl', version=cqlsl.__version__, url='https://github.com/drudim/cqlsl', license='MIT', author='Dmytro Popovych', author_email='drudim.ua@gmail.com', description='CQL for Python without any additional abstraction layers', long_description=__doc__, keywords=['cassandra', 'cql'], classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Topic :: Database :: Front-Ends", "Operating System :: OS Independent", ], packages=['cqlsl'], include_package_data=True, install_requires=['cassandra-driver >= 2.1.1'], test_suite='tests', ) Emphasize that we support Python 3.4.x
""" CQLSL ----- CQL for Python without any additional abstraction layers. Designed to be simple and fast tool for communication with Cassandra. CQLSL is something between native Cassandra driver (which is really awesome!) and ORM. [Installation](https://github.com/drudim/cqlsl#installation) [Documentation](https://github.com/drudim/cqlsl#getting-started) """ from setuptools import setup import cqlsl setup( name='cqlsl', version=cqlsl.__version__, url='https://github.com/drudim/cqlsl', license='MIT', author='Dmytro Popovych', author_email='drudim.ua@gmail.com', description='CQL for Python without any additional abstraction layers', long_description=__doc__, keywords=['cassandra', 'cql'], classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Topic :: Database :: Front-Ends", "Operating System :: OS Independent", ], packages=['cqlsl'], include_package_data=True, install_requires=['cassandra-driver >= 2.1.1'], test_suite='tests', )
<commit_before>""" CQLSL ----- CQL for Python without any additional abstraction layers. Designed to be simple and fast tool for communication with Cassandra. CQLSL is something between native Cassandra driver (which is really awesome!) and ORM. [Installation](https://github.com/drudim/cqlsl#installation) [Documentation](https://github.com/drudim/cqlsl#getting-started) """ from setuptools import setup import cqlsl setup( name='cqlsl', version=cqlsl.__version__, url='https://github.com/drudim/cqlsl', license='MIT', author='Dmytro Popovych', author_email='drudim.ua@gmail.com', description='CQL for Python without any additional abstraction layers', long_description=__doc__, keywords=['cassandra', 'cql'], classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Topic :: Database :: Front-Ends", "Operating System :: OS Independent", ], packages=['cqlsl'], include_package_data=True, install_requires=['cassandra-driver >= 2.1.1'], test_suite='tests', ) <commit_msg>Emphasize that we support Python 3.4.x<commit_after>
""" CQLSL ----- CQL for Python without any additional abstraction layers. Designed to be simple and fast tool for communication with Cassandra. CQLSL is something between native Cassandra driver (which is really awesome!) and ORM. [Installation](https://github.com/drudim/cqlsl#installation) [Documentation](https://github.com/drudim/cqlsl#getting-started) """ from setuptools import setup import cqlsl setup( name='cqlsl', version=cqlsl.__version__, url='https://github.com/drudim/cqlsl', license='MIT', author='Dmytro Popovych', author_email='drudim.ua@gmail.com', description='CQL for Python without any additional abstraction layers', long_description=__doc__, keywords=['cassandra', 'cql'], classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Topic :: Database :: Front-Ends", "Operating System :: OS Independent", ], packages=['cqlsl'], include_package_data=True, install_requires=['cassandra-driver >= 2.1.1'], test_suite='tests', )
""" CQLSL ----- CQL for Python without any additional abstraction layers. Designed to be simple and fast tool for communication with Cassandra. CQLSL is something between native Cassandra driver (which is really awesome!) and ORM. [Installation](https://github.com/drudim/cqlsl#installation) [Documentation](https://github.com/drudim/cqlsl#getting-started) """ from setuptools import setup import cqlsl setup( name='cqlsl', version=cqlsl.__version__, url='https://github.com/drudim/cqlsl', license='MIT', author='Dmytro Popovych', author_email='drudim.ua@gmail.com', description='CQL for Python without any additional abstraction layers', long_description=__doc__, keywords=['cassandra', 'cql'], classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Topic :: Database :: Front-Ends", "Operating System :: OS Independent", ], packages=['cqlsl'], include_package_data=True, install_requires=['cassandra-driver >= 2.1.1'], test_suite='tests', ) Emphasize that we support Python 3.4.x""" CQLSL ----- CQL for Python without any additional abstraction layers. Designed to be simple and fast tool for communication with Cassandra. CQLSL is something between native Cassandra driver (which is really awesome!) and ORM. [Installation](https://github.com/drudim/cqlsl#installation) [Documentation](https://github.com/drudim/cqlsl#getting-started) """ from setuptools import setup import cqlsl setup( name='cqlsl', version=cqlsl.__version__, url='https://github.com/drudim/cqlsl', license='MIT', author='Dmytro Popovych', author_email='drudim.ua@gmail.com', description='CQL for Python without any additional abstraction layers', long_description=__doc__, keywords=['cassandra', 'cql'], classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Topic :: Database :: Front-Ends", "Operating System :: OS Independent", ], packages=['cqlsl'], include_package_data=True, install_requires=['cassandra-driver >= 2.1.1'], test_suite='tests', )
<commit_before>""" CQLSL ----- CQL for Python without any additional abstraction layers. Designed to be simple and fast tool for communication with Cassandra. CQLSL is something between native Cassandra driver (which is really awesome!) and ORM. [Installation](https://github.com/drudim/cqlsl#installation) [Documentation](https://github.com/drudim/cqlsl#getting-started) """ from setuptools import setup import cqlsl setup( name='cqlsl', version=cqlsl.__version__, url='https://github.com/drudim/cqlsl', license='MIT', author='Dmytro Popovych', author_email='drudim.ua@gmail.com', description='CQL for Python without any additional abstraction layers', long_description=__doc__, keywords=['cassandra', 'cql'], classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Topic :: Database :: Front-Ends", "Operating System :: OS Independent", ], packages=['cqlsl'], include_package_data=True, install_requires=['cassandra-driver >= 2.1.1'], test_suite='tests', ) <commit_msg>Emphasize that we support Python 3.4.x<commit_after>""" CQLSL ----- CQL for Python without any additional abstraction layers. Designed to be simple and fast tool for communication with Cassandra. CQLSL is something between native Cassandra driver (which is really awesome!) and ORM. [Installation](https://github.com/drudim/cqlsl#installation) [Documentation](https://github.com/drudim/cqlsl#getting-started) """ from setuptools import setup import cqlsl setup( name='cqlsl', version=cqlsl.__version__, url='https://github.com/drudim/cqlsl', license='MIT', author='Dmytro Popovych', author_email='drudim.ua@gmail.com', description='CQL for Python without any additional abstraction layers', long_description=__doc__, keywords=['cassandra', 'cql'], classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Topic :: Database :: Front-Ends", "Operating System :: OS Independent", ], packages=['cqlsl'], include_package_data=True, install_requires=['cassandra-driver >= 2.1.1'], test_suite='tests', )
9b273e446cfc901cd0e56c62716830fc44471590
setup.py
setup.py
from setuptools import setup, find_packages version = '0.1.0' # # determine requirements # requirements = ['pyzmq'] tests_require = [] setup( name='canary', version=version, description="", long_description=None, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Internet :: WWW/HTTP :: WSGI', 'Topic :: Software Development :: Libraries :: Application Frameworks' ], keywords='web framework wsgi logstash logging zeromq', author='Ryan Petrello', author_email='ryan@ryanpetrello.com', url='http://github.com/ryanpetrello/canary', license='MIT', packages=find_packages(exclude=['ez_setup', 'tests']), include_package_data=True, zip_safe=False, install_requires=requirements, tests_require=tests_require, test_suite='canary' )
from setuptools import setup, find_packages version = '0.1.0' # # determine requirements # requirements = ['pyzmq'] tests_require = [] setup( name='canary', version=version, description=("canary is a small library for recording and shipping" "exceptions from Python to logstash via ZeroMQ."), long_description="", classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Internet :: WWW/HTTP :: WSGI', 'Topic :: Software Development :: Libraries :: Application Frameworks' ], keywords='web framework wsgi logstash logging zeromq', author='Ryan Petrello', author_email='ryan@ryanpetrello.com', url='http://github.com/ryanpetrello/canary', license='MIT', packages=find_packages(exclude=['ez_setup', 'tests']), include_package_data=True, zip_safe=False, install_requires=requirements, tests_require=tests_require, test_suite='canary' )
Update the package description text.
Update the package description text.
Python
bsd-3-clause
ryanpetrello/canary
from setuptools import setup, find_packages version = '0.1.0' # # determine requirements # requirements = ['pyzmq'] tests_require = [] setup( name='canary', version=version, description="", long_description=None, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Internet :: WWW/HTTP :: WSGI', 'Topic :: Software Development :: Libraries :: Application Frameworks' ], keywords='web framework wsgi logstash logging zeromq', author='Ryan Petrello', author_email='ryan@ryanpetrello.com', url='http://github.com/ryanpetrello/canary', license='MIT', packages=find_packages(exclude=['ez_setup', 'tests']), include_package_data=True, zip_safe=False, install_requires=requirements, tests_require=tests_require, test_suite='canary' ) Update the package description text.
from setuptools import setup, find_packages version = '0.1.0' # # determine requirements # requirements = ['pyzmq'] tests_require = [] setup( name='canary', version=version, description=("canary is a small library for recording and shipping" "exceptions from Python to logstash via ZeroMQ."), long_description="", classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Internet :: WWW/HTTP :: WSGI', 'Topic :: Software Development :: Libraries :: Application Frameworks' ], keywords='web framework wsgi logstash logging zeromq', author='Ryan Petrello', author_email='ryan@ryanpetrello.com', url='http://github.com/ryanpetrello/canary', license='MIT', packages=find_packages(exclude=['ez_setup', 'tests']), include_package_data=True, zip_safe=False, install_requires=requirements, tests_require=tests_require, test_suite='canary' )
<commit_before>from setuptools import setup, find_packages version = '0.1.0' # # determine requirements # requirements = ['pyzmq'] tests_require = [] setup( name='canary', version=version, description="", long_description=None, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Internet :: WWW/HTTP :: WSGI', 'Topic :: Software Development :: Libraries :: Application Frameworks' ], keywords='web framework wsgi logstash logging zeromq', author='Ryan Petrello', author_email='ryan@ryanpetrello.com', url='http://github.com/ryanpetrello/canary', license='MIT', packages=find_packages(exclude=['ez_setup', 'tests']), include_package_data=True, zip_safe=False, install_requires=requirements, tests_require=tests_require, test_suite='canary' ) <commit_msg>Update the package description text.<commit_after>
from setuptools import setup, find_packages version = '0.1.0' # # determine requirements # requirements = ['pyzmq'] tests_require = [] setup( name='canary', version=version, description=("canary is a small library for recording and shipping" "exceptions from Python to logstash via ZeroMQ."), long_description="", classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Internet :: WWW/HTTP :: WSGI', 'Topic :: Software Development :: Libraries :: Application Frameworks' ], keywords='web framework wsgi logstash logging zeromq', author='Ryan Petrello', author_email='ryan@ryanpetrello.com', url='http://github.com/ryanpetrello/canary', license='MIT', packages=find_packages(exclude=['ez_setup', 'tests']), include_package_data=True, zip_safe=False, install_requires=requirements, tests_require=tests_require, test_suite='canary' )
from setuptools import setup, find_packages version = '0.1.0' # # determine requirements # requirements = ['pyzmq'] tests_require = [] setup( name='canary', version=version, description="", long_description=None, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Internet :: WWW/HTTP :: WSGI', 'Topic :: Software Development :: Libraries :: Application Frameworks' ], keywords='web framework wsgi logstash logging zeromq', author='Ryan Petrello', author_email='ryan@ryanpetrello.com', url='http://github.com/ryanpetrello/canary', license='MIT', packages=find_packages(exclude=['ez_setup', 'tests']), include_package_data=True, zip_safe=False, install_requires=requirements, tests_require=tests_require, test_suite='canary' ) Update the package description text.from setuptools import setup, find_packages version = '0.1.0' # # determine requirements # requirements = ['pyzmq'] tests_require = [] setup( name='canary', version=version, description=("canary is a small library for recording and shipping" "exceptions from Python to logstash via ZeroMQ."), long_description="", classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Internet :: WWW/HTTP :: WSGI', 'Topic :: Software Development :: Libraries :: Application Frameworks' ], keywords='web framework wsgi logstash logging zeromq', author='Ryan Petrello', author_email='ryan@ryanpetrello.com', url='http://github.com/ryanpetrello/canary', license='MIT', packages=find_packages(exclude=['ez_setup', 'tests']), include_package_data=True, zip_safe=False, install_requires=requirements, tests_require=tests_require, test_suite='canary' )
<commit_before>from setuptools import setup, find_packages version = '0.1.0' # # determine requirements # requirements = ['pyzmq'] tests_require = [] setup( name='canary', version=version, description="", long_description=None, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Internet :: WWW/HTTP :: WSGI', 'Topic :: Software Development :: Libraries :: Application Frameworks' ], keywords='web framework wsgi logstash logging zeromq', author='Ryan Petrello', author_email='ryan@ryanpetrello.com', url='http://github.com/ryanpetrello/canary', license='MIT', packages=find_packages(exclude=['ez_setup', 'tests']), include_package_data=True, zip_safe=False, install_requires=requirements, tests_require=tests_require, test_suite='canary' ) <commit_msg>Update the package description text.<commit_after>from setuptools import setup, find_packages version = '0.1.0' # # determine requirements # requirements = ['pyzmq'] tests_require = [] setup( name='canary', version=version, description=("canary is a small library for recording and shipping" "exceptions from Python to logstash via ZeroMQ."), long_description="", classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Internet :: WWW/HTTP :: WSGI', 'Topic :: Software Development :: Libraries :: Application Frameworks' ], keywords='web framework wsgi logstash logging zeromq', author='Ryan Petrello', author_email='ryan@ryanpetrello.com', url='http://github.com/ryanpetrello/canary', license='MIT', packages=find_packages(exclude=['ez_setup', 'tests']), include_package_data=True, zip_safe=False, install_requires=requirements, tests_require=tests_require, test_suite='canary' )
d23b236a17d1f1b26ce2b7f218c420a3e607f1d2
setup.py
setup.py
#!/usr/bin/env python """setup.py for get_user_headers""" __author__ = "Stephan Sokolow (deitarion/SSokolow)" __license__ = "MIT" import sys if __name__ == '__main__' and 'flake8' not in sys.modules: # FIXME: Why does this segfault flake8 under PyPy? from setuptools import setup setup( name="get_user_headers", version="0.1.1", description="Helper for retrieving identifying headers from the user's" "default browser", long_description="""A self-contained module with no extra dependencies which allows your script to retrieve headers like User-Agent from the user's preferred browser to ensure that requests from your (hopefully well-behaved) script don't stick out like sore thumbs for overzealous site admins to block without cause.""", author="Stephan Sokolow", author_email="http://www.ssokolow.com/ContactMe", # No spam harvesting url="https://github.com/ssokolow/get_user_headers", license="MIT", classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules", ], keywords="http web bot spider automation", py_modules=['get_user_headers'], zip_safe=True )
#!/usr/bin/env python """setup.py for get_user_headers""" __author__ = "Stephan Sokolow (deitarion/SSokolow)" __license__ = "MIT" from setuptools import setup setup( name="get_user_headers", version="0.1.1", description="Helper for retrieving identifying headers from the user's" "default browser", long_description="""A self-contained module with no extra dependencies which allows your script to retrieve headers like User-Agent from the user's preferred browser to ensure that requests from your (hopefully well-behaved) script don't stick out like sore thumbs for overzealous site admins to block without cause.""", author="Stephan Sokolow", author_email="http://www.ssokolow.com/ContactMe", # No spam harvesting url="https://github.com/ssokolow/get_user_headers", license="MIT", classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules", ], keywords="http web bot spider automation", py_modules=['get_user_headers'], zip_safe=True )
Remove obsolete pypy+flake8 segfault guard
Remove obsolete pypy+flake8 segfault guard
Python
mit
ssokolow/get_user_headers
#!/usr/bin/env python """setup.py for get_user_headers""" __author__ = "Stephan Sokolow (deitarion/SSokolow)" __license__ = "MIT" import sys if __name__ == '__main__' and 'flake8' not in sys.modules: # FIXME: Why does this segfault flake8 under PyPy? from setuptools import setup setup( name="get_user_headers", version="0.1.1", description="Helper for retrieving identifying headers from the user's" "default browser", long_description="""A self-contained module with no extra dependencies which allows your script to retrieve headers like User-Agent from the user's preferred browser to ensure that requests from your (hopefully well-behaved) script don't stick out like sore thumbs for overzealous site admins to block without cause.""", author="Stephan Sokolow", author_email="http://www.ssokolow.com/ContactMe", # No spam harvesting url="https://github.com/ssokolow/get_user_headers", license="MIT", classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules", ], keywords="http web bot spider automation", py_modules=['get_user_headers'], zip_safe=True ) Remove obsolete pypy+flake8 segfault guard
#!/usr/bin/env python """setup.py for get_user_headers""" __author__ = "Stephan Sokolow (deitarion/SSokolow)" __license__ = "MIT" from setuptools import setup setup( name="get_user_headers", version="0.1.1", description="Helper for retrieving identifying headers from the user's" "default browser", long_description="""A self-contained module with no extra dependencies which allows your script to retrieve headers like User-Agent from the user's preferred browser to ensure that requests from your (hopefully well-behaved) script don't stick out like sore thumbs for overzealous site admins to block without cause.""", author="Stephan Sokolow", author_email="http://www.ssokolow.com/ContactMe", # No spam harvesting url="https://github.com/ssokolow/get_user_headers", license="MIT", classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules", ], keywords="http web bot spider automation", py_modules=['get_user_headers'], zip_safe=True )
<commit_before>#!/usr/bin/env python """setup.py for get_user_headers""" __author__ = "Stephan Sokolow (deitarion/SSokolow)" __license__ = "MIT" import sys if __name__ == '__main__' and 'flake8' not in sys.modules: # FIXME: Why does this segfault flake8 under PyPy? from setuptools import setup setup( name="get_user_headers", version="0.1.1", description="Helper for retrieving identifying headers from the user's" "default browser", long_description="""A self-contained module with no extra dependencies which allows your script to retrieve headers like User-Agent from the user's preferred browser to ensure that requests from your (hopefully well-behaved) script don't stick out like sore thumbs for overzealous site admins to block without cause.""", author="Stephan Sokolow", author_email="http://www.ssokolow.com/ContactMe", # No spam harvesting url="https://github.com/ssokolow/get_user_headers", license="MIT", classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules", ], keywords="http web bot spider automation", py_modules=['get_user_headers'], zip_safe=True ) <commit_msg>Remove obsolete pypy+flake8 segfault guard<commit_after>
#!/usr/bin/env python """setup.py for get_user_headers""" __author__ = "Stephan Sokolow (deitarion/SSokolow)" __license__ = "MIT" from setuptools import setup setup( name="get_user_headers", version="0.1.1", description="Helper for retrieving identifying headers from the user's" "default browser", long_description="""A self-contained module with no extra dependencies which allows your script to retrieve headers like User-Agent from the user's preferred browser to ensure that requests from your (hopefully well-behaved) script don't stick out like sore thumbs for overzealous site admins to block without cause.""", author="Stephan Sokolow", author_email="http://www.ssokolow.com/ContactMe", # No spam harvesting url="https://github.com/ssokolow/get_user_headers", license="MIT", classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules", ], keywords="http web bot spider automation", py_modules=['get_user_headers'], zip_safe=True )
#!/usr/bin/env python """setup.py for get_user_headers""" __author__ = "Stephan Sokolow (deitarion/SSokolow)" __license__ = "MIT" import sys if __name__ == '__main__' and 'flake8' not in sys.modules: # FIXME: Why does this segfault flake8 under PyPy? from setuptools import setup setup( name="get_user_headers", version="0.1.1", description="Helper for retrieving identifying headers from the user's" "default browser", long_description="""A self-contained module with no extra dependencies which allows your script to retrieve headers like User-Agent from the user's preferred browser to ensure that requests from your (hopefully well-behaved) script don't stick out like sore thumbs for overzealous site admins to block without cause.""", author="Stephan Sokolow", author_email="http://www.ssokolow.com/ContactMe", # No spam harvesting url="https://github.com/ssokolow/get_user_headers", license="MIT", classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules", ], keywords="http web bot spider automation", py_modules=['get_user_headers'], zip_safe=True ) Remove obsolete pypy+flake8 segfault guard#!/usr/bin/env python """setup.py for get_user_headers""" __author__ = "Stephan Sokolow (deitarion/SSokolow)" __license__ = "MIT" from setuptools import setup setup( name="get_user_headers", version="0.1.1", description="Helper for retrieving identifying headers from the user's" "default browser", long_description="""A self-contained module with no extra dependencies which allows your script to retrieve headers like User-Agent from the user's preferred browser to ensure that requests from your (hopefully well-behaved) script don't stick out like sore thumbs for overzealous site admins to block without cause.""", author="Stephan Sokolow", author_email="http://www.ssokolow.com/ContactMe", # No spam harvesting url="https://github.com/ssokolow/get_user_headers", license="MIT", classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules", ], keywords="http web bot spider automation", py_modules=['get_user_headers'], zip_safe=True )
<commit_before>#!/usr/bin/env python """setup.py for get_user_headers""" __author__ = "Stephan Sokolow (deitarion/SSokolow)" __license__ = "MIT" import sys if __name__ == '__main__' and 'flake8' not in sys.modules: # FIXME: Why does this segfault flake8 under PyPy? from setuptools import setup setup( name="get_user_headers", version="0.1.1", description="Helper for retrieving identifying headers from the user's" "default browser", long_description="""A self-contained module with no extra dependencies which allows your script to retrieve headers like User-Agent from the user's preferred browser to ensure that requests from your (hopefully well-behaved) script don't stick out like sore thumbs for overzealous site admins to block without cause.""", author="Stephan Sokolow", author_email="http://www.ssokolow.com/ContactMe", # No spam harvesting url="https://github.com/ssokolow/get_user_headers", license="MIT", classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules", ], keywords="http web bot spider automation", py_modules=['get_user_headers'], zip_safe=True ) <commit_msg>Remove obsolete pypy+flake8 segfault guard<commit_after>#!/usr/bin/env python """setup.py for get_user_headers""" __author__ = "Stephan Sokolow (deitarion/SSokolow)" __license__ = "MIT" from setuptools import setup setup( name="get_user_headers", version="0.1.1", description="Helper for retrieving identifying headers from the user's" "default browser", long_description="""A self-contained module with no extra dependencies which allows your script to retrieve headers like User-Agent from the user's preferred browser to ensure that requests from your (hopefully well-behaved) script don't stick out like sore thumbs for overzealous site admins to block without cause.""", author="Stephan Sokolow", author_email="http://www.ssokolow.com/ContactMe", # No spam harvesting url="https://github.com/ssokolow/get_user_headers", license="MIT", classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP", "Topic :: Software Development :: Libraries :: Python Modules", ], keywords="http web bot spider automation", py_modules=['get_user_headers'], zip_safe=True )
f4c90d45e9c7640df5fca91ef48ec9c439aa7a73
setup.py
setup.py
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-etesync-journal', version='0.5.0', packages=find_packages(), include_package_data=True, license='AGPLv3', description='The server side implementation of the EteSync protocol.', long_description=README, url='https://www.etesync.com/', author='EteSync', author_email='development@etesync.com', classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: AGPLv3', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ], )
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-etesync-journal', version='0.5.0', packages=find_packages(), include_package_data=True, license='AGPLv3', description='The server side implementation of the EteSync protocol.', long_description=README, url='https://www.etesync.com/', author='EteSync', author_email='development@etesync.com', classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: GNU Affero General Public License v3', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ], )
Fix version clasifier to one of the pypi allowed ones.
Fix version clasifier to one of the pypi allowed ones.
Python
agpl-3.0
etesync/journal-manager
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-etesync-journal', version='0.5.0', packages=find_packages(), include_package_data=True, license='AGPLv3', description='The server side implementation of the EteSync protocol.', long_description=README, url='https://www.etesync.com/', author='EteSync', author_email='development@etesync.com', classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: AGPLv3', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ], ) Fix version clasifier to one of the pypi allowed ones.
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-etesync-journal', version='0.5.0', packages=find_packages(), include_package_data=True, license='AGPLv3', description='The server side implementation of the EteSync protocol.', long_description=README, url='https://www.etesync.com/', author='EteSync', author_email='development@etesync.com', classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: GNU Affero General Public License v3', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ], )
<commit_before>import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-etesync-journal', version='0.5.0', packages=find_packages(), include_package_data=True, license='AGPLv3', description='The server side implementation of the EteSync protocol.', long_description=README, url='https://www.etesync.com/', author='EteSync', author_email='development@etesync.com', classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: AGPLv3', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ], ) <commit_msg>Fix version clasifier to one of the pypi allowed ones.<commit_after>
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-etesync-journal', version='0.5.0', packages=find_packages(), include_package_data=True, license='AGPLv3', description='The server side implementation of the EteSync protocol.', long_description=README, url='https://www.etesync.com/', author='EteSync', author_email='development@etesync.com', classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: GNU Affero General Public License v3', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ], )
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-etesync-journal', version='0.5.0', packages=find_packages(), include_package_data=True, license='AGPLv3', description='The server side implementation of the EteSync protocol.', long_description=README, url='https://www.etesync.com/', author='EteSync', author_email='development@etesync.com', classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: AGPLv3', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ], ) Fix version clasifier to one of the pypi allowed ones.import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-etesync-journal', version='0.5.0', packages=find_packages(), include_package_data=True, license='AGPLv3', description='The server side implementation of the EteSync protocol.', long_description=README, url='https://www.etesync.com/', author='EteSync', author_email='development@etesync.com', classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: GNU Affero General Public License v3', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ], )
<commit_before>import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-etesync-journal', version='0.5.0', packages=find_packages(), include_package_data=True, license='AGPLv3', description='The server side implementation of the EteSync protocol.', long_description=README, url='https://www.etesync.com/', author='EteSync', author_email='development@etesync.com', classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: AGPLv3', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ], ) <commit_msg>Fix version clasifier to one of the pypi allowed ones.<commit_after>import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-etesync-journal', version='0.5.0', packages=find_packages(), include_package_data=True, license='AGPLv3', description='The server side implementation of the EteSync protocol.', long_description=README, url='https://www.etesync.com/', author='EteSync', author_email='development@etesync.com', classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: GNU Affero General Public License v3', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ], )
5b5746b0b6641b29de3ae866310fb0494e051073
setup.py
setup.py
import os from distutils.core import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() packages = [] package_dir = "dbbackup" for dirpath, dirnames, filenames in os.walk(package_dir): # ignore dirnames that start with '.' for i, dirname in enumerate(dirnames): if dirname.startswith("."): del dirnames[i] if "__init__.py" in filenames: pkg = dirpath.replace(os.path.sep, '.') if os.path.altsep: pkg = pkg.replace(os.path.altsep, '.') packages.append(pkg) setup( name='django-dbbackup', version='1.9.0', description='Management commands to help backup and restore a project database to AmazonS3, Dropbox or local disk.', long_description=read('README.md'), author='Michael Shepanski', author_email='mjs7231@gmail.com', install_requires=[], license='BSD', url='http://bitbucket.org/mjs7231/django-dbbackup', keywords=['django', 'dropbox', 'database', 'backup', 'amazon', 's3'], packages=packages )
import os from distutils.core import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() packages = [] package_dir = "dbbackup" for dirpath, dirnames, filenames in os.walk(package_dir): # ignore dirnames that start with '.' for i, dirname in enumerate(dirnames): if dirname.startswith("."): del dirnames[i] if "__init__.py" in filenames: pkg = dirpath.replace(os.path.sep, '.') if os.path.altsep: pkg = pkg.replace(os.path.altsep, '.') packages.append(pkg) try: import pypandoc long_description = pypandoc.convert(get_path('README.md'), 'rst') long_description = long_description.split( '<!---Illegal PyPi RST data -->')[0] f = open(get_path('README.rst'), 'w') f.write(long_description) f.close() except (IOError, ImportError): # No long description... but nevermind, it's only for PyPi uploads. long_description = "" setup( name='django-dbbackup', version='1.9.0', description='Management commands to help backup and restore a project database to AmazonS3, Dropbox or local disk.', long_description=read('README.md'), author='Michael Shepanski', author_email='mjs7231@gmail.com', install_requires=[], license='BSD', url='http://bitbucket.org/mjs7231/django-dbbackup', keywords=['django', 'dropbox', 'database', 'backup', 'amazon', 's3'], packages=packages )
Add pypandoc to create RST for pypi
Add pypandoc to create RST for pypi
Python
bsd-3-clause
bahoo/django-dbbackup,bahoo/django-dbbackup
import os from distutils.core import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() packages = [] package_dir = "dbbackup" for dirpath, dirnames, filenames in os.walk(package_dir): # ignore dirnames that start with '.' for i, dirname in enumerate(dirnames): if dirname.startswith("."): del dirnames[i] if "__init__.py" in filenames: pkg = dirpath.replace(os.path.sep, '.') if os.path.altsep: pkg = pkg.replace(os.path.altsep, '.') packages.append(pkg) setup( name='django-dbbackup', version='1.9.0', description='Management commands to help backup and restore a project database to AmazonS3, Dropbox or local disk.', long_description=read('README.md'), author='Michael Shepanski', author_email='mjs7231@gmail.com', install_requires=[], license='BSD', url='http://bitbucket.org/mjs7231/django-dbbackup', keywords=['django', 'dropbox', 'database', 'backup', 'amazon', 's3'], packages=packages ) Add pypandoc to create RST for pypi
import os from distutils.core import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() packages = [] package_dir = "dbbackup" for dirpath, dirnames, filenames in os.walk(package_dir): # ignore dirnames that start with '.' for i, dirname in enumerate(dirnames): if dirname.startswith("."): del dirnames[i] if "__init__.py" in filenames: pkg = dirpath.replace(os.path.sep, '.') if os.path.altsep: pkg = pkg.replace(os.path.altsep, '.') packages.append(pkg) try: import pypandoc long_description = pypandoc.convert(get_path('README.md'), 'rst') long_description = long_description.split( '<!---Illegal PyPi RST data -->')[0] f = open(get_path('README.rst'), 'w') f.write(long_description) f.close() except (IOError, ImportError): # No long description... but nevermind, it's only for PyPi uploads. long_description = "" setup( name='django-dbbackup', version='1.9.0', description='Management commands to help backup and restore a project database to AmazonS3, Dropbox or local disk.', long_description=read('README.md'), author='Michael Shepanski', author_email='mjs7231@gmail.com', install_requires=[], license='BSD', url='http://bitbucket.org/mjs7231/django-dbbackup', keywords=['django', 'dropbox', 'database', 'backup', 'amazon', 's3'], packages=packages )
<commit_before>import os from distutils.core import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() packages = [] package_dir = "dbbackup" for dirpath, dirnames, filenames in os.walk(package_dir): # ignore dirnames that start with '.' for i, dirname in enumerate(dirnames): if dirname.startswith("."): del dirnames[i] if "__init__.py" in filenames: pkg = dirpath.replace(os.path.sep, '.') if os.path.altsep: pkg = pkg.replace(os.path.altsep, '.') packages.append(pkg) setup( name='django-dbbackup', version='1.9.0', description='Management commands to help backup and restore a project database to AmazonS3, Dropbox or local disk.', long_description=read('README.md'), author='Michael Shepanski', author_email='mjs7231@gmail.com', install_requires=[], license='BSD', url='http://bitbucket.org/mjs7231/django-dbbackup', keywords=['django', 'dropbox', 'database', 'backup', 'amazon', 's3'], packages=packages ) <commit_msg>Add pypandoc to create RST for pypi<commit_after>
import os from distutils.core import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() packages = [] package_dir = "dbbackup" for dirpath, dirnames, filenames in os.walk(package_dir): # ignore dirnames that start with '.' for i, dirname in enumerate(dirnames): if dirname.startswith("."): del dirnames[i] if "__init__.py" in filenames: pkg = dirpath.replace(os.path.sep, '.') if os.path.altsep: pkg = pkg.replace(os.path.altsep, '.') packages.append(pkg) try: import pypandoc long_description = pypandoc.convert(get_path('README.md'), 'rst') long_description = long_description.split( '<!---Illegal PyPi RST data -->')[0] f = open(get_path('README.rst'), 'w') f.write(long_description) f.close() except (IOError, ImportError): # No long description... but nevermind, it's only for PyPi uploads. long_description = "" setup( name='django-dbbackup', version='1.9.0', description='Management commands to help backup and restore a project database to AmazonS3, Dropbox or local disk.', long_description=read('README.md'), author='Michael Shepanski', author_email='mjs7231@gmail.com', install_requires=[], license='BSD', url='http://bitbucket.org/mjs7231/django-dbbackup', keywords=['django', 'dropbox', 'database', 'backup', 'amazon', 's3'], packages=packages )
import os from distutils.core import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() packages = [] package_dir = "dbbackup" for dirpath, dirnames, filenames in os.walk(package_dir): # ignore dirnames that start with '.' for i, dirname in enumerate(dirnames): if dirname.startswith("."): del dirnames[i] if "__init__.py" in filenames: pkg = dirpath.replace(os.path.sep, '.') if os.path.altsep: pkg = pkg.replace(os.path.altsep, '.') packages.append(pkg) setup( name='django-dbbackup', version='1.9.0', description='Management commands to help backup and restore a project database to AmazonS3, Dropbox or local disk.', long_description=read('README.md'), author='Michael Shepanski', author_email='mjs7231@gmail.com', install_requires=[], license='BSD', url='http://bitbucket.org/mjs7231/django-dbbackup', keywords=['django', 'dropbox', 'database', 'backup', 'amazon', 's3'], packages=packages ) Add pypandoc to create RST for pypiimport os from distutils.core import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() packages = [] package_dir = "dbbackup" for dirpath, dirnames, filenames in os.walk(package_dir): # ignore dirnames that start with '.' for i, dirname in enumerate(dirnames): if dirname.startswith("."): del dirnames[i] if "__init__.py" in filenames: pkg = dirpath.replace(os.path.sep, '.') if os.path.altsep: pkg = pkg.replace(os.path.altsep, '.') packages.append(pkg) try: import pypandoc long_description = pypandoc.convert(get_path('README.md'), 'rst') long_description = long_description.split( '<!---Illegal PyPi RST data -->')[0] f = open(get_path('README.rst'), 'w') f.write(long_description) f.close() except (IOError, ImportError): # No long description... but nevermind, it's only for PyPi uploads. long_description = "" setup( name='django-dbbackup', version='1.9.0', description='Management commands to help backup and restore a project database to AmazonS3, Dropbox or local disk.', long_description=read('README.md'), author='Michael Shepanski', author_email='mjs7231@gmail.com', install_requires=[], license='BSD', url='http://bitbucket.org/mjs7231/django-dbbackup', keywords=['django', 'dropbox', 'database', 'backup', 'amazon', 's3'], packages=packages )
<commit_before>import os from distutils.core import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() packages = [] package_dir = "dbbackup" for dirpath, dirnames, filenames in os.walk(package_dir): # ignore dirnames that start with '.' for i, dirname in enumerate(dirnames): if dirname.startswith("."): del dirnames[i] if "__init__.py" in filenames: pkg = dirpath.replace(os.path.sep, '.') if os.path.altsep: pkg = pkg.replace(os.path.altsep, '.') packages.append(pkg) setup( name='django-dbbackup', version='1.9.0', description='Management commands to help backup and restore a project database to AmazonS3, Dropbox or local disk.', long_description=read('README.md'), author='Michael Shepanski', author_email='mjs7231@gmail.com', install_requires=[], license='BSD', url='http://bitbucket.org/mjs7231/django-dbbackup', keywords=['django', 'dropbox', 'database', 'backup', 'amazon', 's3'], packages=packages ) <commit_msg>Add pypandoc to create RST for pypi<commit_after>import os from distutils.core import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() packages = [] package_dir = "dbbackup" for dirpath, dirnames, filenames in os.walk(package_dir): # ignore dirnames that start with '.' for i, dirname in enumerate(dirnames): if dirname.startswith("."): del dirnames[i] if "__init__.py" in filenames: pkg = dirpath.replace(os.path.sep, '.') if os.path.altsep: pkg = pkg.replace(os.path.altsep, '.') packages.append(pkg) try: import pypandoc long_description = pypandoc.convert(get_path('README.md'), 'rst') long_description = long_description.split( '<!---Illegal PyPi RST data -->')[0] f = open(get_path('README.rst'), 'w') f.write(long_description) f.close() except (IOError, ImportError): # No long description... but nevermind, it's only for PyPi uploads. long_description = "" setup( name='django-dbbackup', version='1.9.0', description='Management commands to help backup and restore a project database to AmazonS3, Dropbox or local disk.', long_description=read('README.md'), author='Michael Shepanski', author_email='mjs7231@gmail.com', install_requires=[], license='BSD', url='http://bitbucket.org/mjs7231/django-dbbackup', keywords=['django', 'dropbox', 'database', 'backup', 'amazon', 's3'], packages=packages )
fc7b353bb906ce840b6191f9ffb40e920f863ce5
setup.py
setup.py
from setuptools import setup DESCRIPTION = open('README.md').read() setup( name="ordered-set", version='3.0.1', maintainer='Luminoso Technologies, Inc.', maintainer_email='rspeer@luminoso.com', license="MIT-LICENSE", url='http://github.com/LuminosoInsight/ordered-set', platforms=["any"], description="A MutableSet that remembers its order, so that every entry has an index.", long_description=DESCRIPTION, long_description_content_type='text/markdown', py_modules=['ordered_set'], package_data={'': ['MIT-LICENSE']}, include_package_data=True, setup_requires=['pytest-runner'], tests_require=['pytest'], python_requires='>=2.7', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', ] )
from setuptools import setup DESCRIPTION = open('README.md').read() setup( name="ordered-set", version='3.0.2', maintainer='Luminoso Technologies, Inc.', maintainer_email='rspeer@luminoso.com', license="MIT-LICENSE", url='http://github.com/LuminosoInsight/ordered-set', platforms=["any"], description="A MutableSet that remembers its order, so that every entry has an index.", long_description=DESCRIPTION, long_description_content_type='text/markdown', py_modules=['ordered_set'], package_data={'': ['MIT-LICENSE']}, include_package_data=True, tests_require=['pytest'], python_requires='>=2.7', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', ] )
Remove pytest-runner and bump version to 3.0.2
Remove pytest-runner and bump version to 3.0.2
Python
mit
LuminosoInsight/ordered-set
from setuptools import setup DESCRIPTION = open('README.md').read() setup( name="ordered-set", version='3.0.1', maintainer='Luminoso Technologies, Inc.', maintainer_email='rspeer@luminoso.com', license="MIT-LICENSE", url='http://github.com/LuminosoInsight/ordered-set', platforms=["any"], description="A MutableSet that remembers its order, so that every entry has an index.", long_description=DESCRIPTION, long_description_content_type='text/markdown', py_modules=['ordered_set'], package_data={'': ['MIT-LICENSE']}, include_package_data=True, setup_requires=['pytest-runner'], tests_require=['pytest'], python_requires='>=2.7', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', ] ) Remove pytest-runner and bump version to 3.0.2
from setuptools import setup DESCRIPTION = open('README.md').read() setup( name="ordered-set", version='3.0.2', maintainer='Luminoso Technologies, Inc.', maintainer_email='rspeer@luminoso.com', license="MIT-LICENSE", url='http://github.com/LuminosoInsight/ordered-set', platforms=["any"], description="A MutableSet that remembers its order, so that every entry has an index.", long_description=DESCRIPTION, long_description_content_type='text/markdown', py_modules=['ordered_set'], package_data={'': ['MIT-LICENSE']}, include_package_data=True, tests_require=['pytest'], python_requires='>=2.7', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', ] )
<commit_before>from setuptools import setup DESCRIPTION = open('README.md').read() setup( name="ordered-set", version='3.0.1', maintainer='Luminoso Technologies, Inc.', maintainer_email='rspeer@luminoso.com', license="MIT-LICENSE", url='http://github.com/LuminosoInsight/ordered-set', platforms=["any"], description="A MutableSet that remembers its order, so that every entry has an index.", long_description=DESCRIPTION, long_description_content_type='text/markdown', py_modules=['ordered_set'], package_data={'': ['MIT-LICENSE']}, include_package_data=True, setup_requires=['pytest-runner'], tests_require=['pytest'], python_requires='>=2.7', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', ] ) <commit_msg>Remove pytest-runner and bump version to 3.0.2<commit_after>
from setuptools import setup DESCRIPTION = open('README.md').read() setup( name="ordered-set", version='3.0.2', maintainer='Luminoso Technologies, Inc.', maintainer_email='rspeer@luminoso.com', license="MIT-LICENSE", url='http://github.com/LuminosoInsight/ordered-set', platforms=["any"], description="A MutableSet that remembers its order, so that every entry has an index.", long_description=DESCRIPTION, long_description_content_type='text/markdown', py_modules=['ordered_set'], package_data={'': ['MIT-LICENSE']}, include_package_data=True, tests_require=['pytest'], python_requires='>=2.7', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', ] )
from setuptools import setup DESCRIPTION = open('README.md').read() setup( name="ordered-set", version='3.0.1', maintainer='Luminoso Technologies, Inc.', maintainer_email='rspeer@luminoso.com', license="MIT-LICENSE", url='http://github.com/LuminosoInsight/ordered-set', platforms=["any"], description="A MutableSet that remembers its order, so that every entry has an index.", long_description=DESCRIPTION, long_description_content_type='text/markdown', py_modules=['ordered_set'], package_data={'': ['MIT-LICENSE']}, include_package_data=True, setup_requires=['pytest-runner'], tests_require=['pytest'], python_requires='>=2.7', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', ] ) Remove pytest-runner and bump version to 3.0.2from setuptools import setup DESCRIPTION = open('README.md').read() setup( name="ordered-set", version='3.0.2', maintainer='Luminoso Technologies, Inc.', maintainer_email='rspeer@luminoso.com', license="MIT-LICENSE", url='http://github.com/LuminosoInsight/ordered-set', platforms=["any"], description="A MutableSet that remembers its order, so that every entry has an index.", long_description=DESCRIPTION, long_description_content_type='text/markdown', py_modules=['ordered_set'], package_data={'': ['MIT-LICENSE']}, include_package_data=True, tests_require=['pytest'], python_requires='>=2.7', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', ] )
<commit_before>from setuptools import setup DESCRIPTION = open('README.md').read() setup( name="ordered-set", version='3.0.1', maintainer='Luminoso Technologies, Inc.', maintainer_email='rspeer@luminoso.com', license="MIT-LICENSE", url='http://github.com/LuminosoInsight/ordered-set', platforms=["any"], description="A MutableSet that remembers its order, so that every entry has an index.", long_description=DESCRIPTION, long_description_content_type='text/markdown', py_modules=['ordered_set'], package_data={'': ['MIT-LICENSE']}, include_package_data=True, setup_requires=['pytest-runner'], tests_require=['pytest'], python_requires='>=2.7', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', ] ) <commit_msg>Remove pytest-runner and bump version to 3.0.2<commit_after>from setuptools import setup DESCRIPTION = open('README.md').read() setup( name="ordered-set", version='3.0.2', maintainer='Luminoso Technologies, Inc.', maintainer_email='rspeer@luminoso.com', license="MIT-LICENSE", url='http://github.com/LuminosoInsight/ordered-set', platforms=["any"], description="A MutableSet that remembers its order, so that every entry has an index.", long_description=DESCRIPTION, long_description_content_type='text/markdown', py_modules=['ordered_set'], package_data={'': ['MIT-LICENSE']}, include_package_data=True, tests_require=['pytest'], python_requires='>=2.7', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', ] )
90dea1c68a52b2ad9609a80b58dd56bf35b829b0
setup.py
setup.py
import os from setuptools import setup, find_packages setup( name = 'projd', version = '0.1', license = 'MIT', description = 'Utilities for working with projects and applications ' 'organized within a root directory.', long_description = open(os.path.join(os.path.dirname(__file__), 'README.md')).read(), keywords = 'python project directory application', url = 'https://github.com/todddeluca/projd', author = 'Todd Francis DeLuca', author_email = 'todddeluca@yahoo.com', classifiers = ['License :: OSI Approved :: MIT License', 'Development Status :: 3 - Alpha', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', ], py_modules = ['projd'], )
import os from setuptools import setup, find_packages setup( name = 'projd', version = '0.1.0', license = 'MIT', description = 'Utilities for working with projects and applications ' 'organized within a root directory.', long_description = open(os.path.join(os.path.dirname(__file__), 'README.md')).read(), keywords = 'python project directory application', url = 'https://github.com/todddeluca/projd', author = 'Todd Francis DeLuca', author_email = 'todddeluca@yahoo.com', classifiers = ['License :: OSI Approved :: MIT License', 'Development Status :: 3 - Alpha', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', ], py_modules = ['projd'], )
Use standard 3-part version number.
Use standard 3-part version number.
Python
mit
todddeluca/projd
import os from setuptools import setup, find_packages setup( name = 'projd', version = '0.1', license = 'MIT', description = 'Utilities for working with projects and applications ' 'organized within a root directory.', long_description = open(os.path.join(os.path.dirname(__file__), 'README.md')).read(), keywords = 'python project directory application', url = 'https://github.com/todddeluca/projd', author = 'Todd Francis DeLuca', author_email = 'todddeluca@yahoo.com', classifiers = ['License :: OSI Approved :: MIT License', 'Development Status :: 3 - Alpha', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', ], py_modules = ['projd'], ) Use standard 3-part version number.
import os from setuptools import setup, find_packages setup( name = 'projd', version = '0.1.0', license = 'MIT', description = 'Utilities for working with projects and applications ' 'organized within a root directory.', long_description = open(os.path.join(os.path.dirname(__file__), 'README.md')).read(), keywords = 'python project directory application', url = 'https://github.com/todddeluca/projd', author = 'Todd Francis DeLuca', author_email = 'todddeluca@yahoo.com', classifiers = ['License :: OSI Approved :: MIT License', 'Development Status :: 3 - Alpha', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', ], py_modules = ['projd'], )
<commit_before> import os from setuptools import setup, find_packages setup( name = 'projd', version = '0.1', license = 'MIT', description = 'Utilities for working with projects and applications ' 'organized within a root directory.', long_description = open(os.path.join(os.path.dirname(__file__), 'README.md')).read(), keywords = 'python project directory application', url = 'https://github.com/todddeluca/projd', author = 'Todd Francis DeLuca', author_email = 'todddeluca@yahoo.com', classifiers = ['License :: OSI Approved :: MIT License', 'Development Status :: 3 - Alpha', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', ], py_modules = ['projd'], ) <commit_msg>Use standard 3-part version number.<commit_after>
import os from setuptools import setup, find_packages setup( name = 'projd', version = '0.1.0', license = 'MIT', description = 'Utilities for working with projects and applications ' 'organized within a root directory.', long_description = open(os.path.join(os.path.dirname(__file__), 'README.md')).read(), keywords = 'python project directory application', url = 'https://github.com/todddeluca/projd', author = 'Todd Francis DeLuca', author_email = 'todddeluca@yahoo.com', classifiers = ['License :: OSI Approved :: MIT License', 'Development Status :: 3 - Alpha', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', ], py_modules = ['projd'], )
import os from setuptools import setup, find_packages setup( name = 'projd', version = '0.1', license = 'MIT', description = 'Utilities for working with projects and applications ' 'organized within a root directory.', long_description = open(os.path.join(os.path.dirname(__file__), 'README.md')).read(), keywords = 'python project directory application', url = 'https://github.com/todddeluca/projd', author = 'Todd Francis DeLuca', author_email = 'todddeluca@yahoo.com', classifiers = ['License :: OSI Approved :: MIT License', 'Development Status :: 3 - Alpha', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', ], py_modules = ['projd'], ) Use standard 3-part version number. import os from setuptools import setup, find_packages setup( name = 'projd', version = '0.1.0', license = 'MIT', description = 'Utilities for working with projects and applications ' 'organized within a root directory.', long_description = open(os.path.join(os.path.dirname(__file__), 'README.md')).read(), keywords = 'python project directory application', url = 'https://github.com/todddeluca/projd', author = 'Todd Francis DeLuca', author_email = 'todddeluca@yahoo.com', classifiers = ['License :: OSI Approved :: MIT License', 'Development Status :: 3 - Alpha', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', ], py_modules = ['projd'], )
<commit_before> import os from setuptools import setup, find_packages setup( name = 'projd', version = '0.1', license = 'MIT', description = 'Utilities for working with projects and applications ' 'organized within a root directory.', long_description = open(os.path.join(os.path.dirname(__file__), 'README.md')).read(), keywords = 'python project directory application', url = 'https://github.com/todddeluca/projd', author = 'Todd Francis DeLuca', author_email = 'todddeluca@yahoo.com', classifiers = ['License :: OSI Approved :: MIT License', 'Development Status :: 3 - Alpha', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', ], py_modules = ['projd'], ) <commit_msg>Use standard 3-part version number.<commit_after> import os from setuptools import setup, find_packages setup( name = 'projd', version = '0.1.0', license = 'MIT', description = 'Utilities for working with projects and applications ' 'organized within a root directory.', long_description = open(os.path.join(os.path.dirname(__file__), 'README.md')).read(), keywords = 'python project directory application', url = 'https://github.com/todddeluca/projd', author = 'Todd Francis DeLuca', author_email = 'todddeluca@yahoo.com', classifiers = ['License :: OSI Approved :: MIT License', 'Development Status :: 3 - Alpha', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', ], py_modules = ['projd'], )
be66fb9da078258e59270cd4a39f0ce905e6846d
setup.py
setup.py
import re import ast from setuptools import setup, find_packages _version_re = re.compile(r'__version__\s+=\s+(.*)') with open('pgspecial/__init__.py', 'rb') as f: version = str(ast.literal_eval(_version_re.search( f.read().decode('utf-8')).group(1))) description = 'Meta-commands handler for Postgres Database.' setup( name='pgspecial', author='Amjith Ramanujam', author_email='amjith[dot]r[at]gmail.com', version=version, license='LICENSE.txt', url='http://pgcli.com', packages=find_packages(), description=description, long_description=open('README.rst').read(), install_requires=[ 'click >= 4.1', 'sqlparse >= 0.1.19', ], classifiers=[ 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: Unix', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: SQL', 'Topic :: Database', 'Topic :: Database :: Front-Ends', 'Topic :: Software Development', 'Topic :: Software Development :: Libraries :: Python Modules', ], )
import re import ast from setuptools import setup, find_packages _version_re = re.compile(r'__version__\s+=\s+(.*)') with open('pgspecial/__init__.py', 'rb') as f: version = str(ast.literal_eval(_version_re.search( f.read().decode('utf-8')).group(1))) description = 'Meta-commands handler for Postgres Database.' setup( name='pgspecial', author='PGCLI Core Team', author_email='pgcli-dev@googlegroups.com', version=version, license='LICENSE.txt', url='https://www.dbcli.com', packages=find_packages(), description=description, long_description=open('README.rst').read(), install_requires=[ 'click >= 4.1', 'sqlparse >= 0.1.19', ], classifiers=[ 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: Unix', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: SQL', 'Topic :: Database', 'Topic :: Database :: Front-Ends', 'Topic :: Software Development', 'Topic :: Software Development :: Libraries :: Python Modules', ], )
Update classifier tags, email and url.
Update classifier tags, email and url.
Python
bsd-3-clause
dbcli/pgspecial,rafalcieslinski/pgspecial
import re import ast from setuptools import setup, find_packages _version_re = re.compile(r'__version__\s+=\s+(.*)') with open('pgspecial/__init__.py', 'rb') as f: version = str(ast.literal_eval(_version_re.search( f.read().decode('utf-8')).group(1))) description = 'Meta-commands handler for Postgres Database.' setup( name='pgspecial', author='Amjith Ramanujam', author_email='amjith[dot]r[at]gmail.com', version=version, license='LICENSE.txt', url='http://pgcli.com', packages=find_packages(), description=description, long_description=open('README.rst').read(), install_requires=[ 'click >= 4.1', 'sqlparse >= 0.1.19', ], classifiers=[ 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: Unix', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: SQL', 'Topic :: Database', 'Topic :: Database :: Front-Ends', 'Topic :: Software Development', 'Topic :: Software Development :: Libraries :: Python Modules', ], ) Update classifier tags, email and url.
import re import ast from setuptools import setup, find_packages _version_re = re.compile(r'__version__\s+=\s+(.*)') with open('pgspecial/__init__.py', 'rb') as f: version = str(ast.literal_eval(_version_re.search( f.read().decode('utf-8')).group(1))) description = 'Meta-commands handler for Postgres Database.' setup( name='pgspecial', author='PGCLI Core Team', author_email='pgcli-dev@googlegroups.com', version=version, license='LICENSE.txt', url='https://www.dbcli.com', packages=find_packages(), description=description, long_description=open('README.rst').read(), install_requires=[ 'click >= 4.1', 'sqlparse >= 0.1.19', ], classifiers=[ 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: Unix', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: SQL', 'Topic :: Database', 'Topic :: Database :: Front-Ends', 'Topic :: Software Development', 'Topic :: Software Development :: Libraries :: Python Modules', ], )
<commit_before>import re import ast from setuptools import setup, find_packages _version_re = re.compile(r'__version__\s+=\s+(.*)') with open('pgspecial/__init__.py', 'rb') as f: version = str(ast.literal_eval(_version_re.search( f.read().decode('utf-8')).group(1))) description = 'Meta-commands handler for Postgres Database.' setup( name='pgspecial', author='Amjith Ramanujam', author_email='amjith[dot]r[at]gmail.com', version=version, license='LICENSE.txt', url='http://pgcli.com', packages=find_packages(), description=description, long_description=open('README.rst').read(), install_requires=[ 'click >= 4.1', 'sqlparse >= 0.1.19', ], classifiers=[ 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: Unix', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: SQL', 'Topic :: Database', 'Topic :: Database :: Front-Ends', 'Topic :: Software Development', 'Topic :: Software Development :: Libraries :: Python Modules', ], ) <commit_msg>Update classifier tags, email and url.<commit_after>
import re import ast from setuptools import setup, find_packages _version_re = re.compile(r'__version__\s+=\s+(.*)') with open('pgspecial/__init__.py', 'rb') as f: version = str(ast.literal_eval(_version_re.search( f.read().decode('utf-8')).group(1))) description = 'Meta-commands handler for Postgres Database.' setup( name='pgspecial', author='PGCLI Core Team', author_email='pgcli-dev@googlegroups.com', version=version, license='LICENSE.txt', url='https://www.dbcli.com', packages=find_packages(), description=description, long_description=open('README.rst').read(), install_requires=[ 'click >= 4.1', 'sqlparse >= 0.1.19', ], classifiers=[ 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: Unix', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: SQL', 'Topic :: Database', 'Topic :: Database :: Front-Ends', 'Topic :: Software Development', 'Topic :: Software Development :: Libraries :: Python Modules', ], )
import re import ast from setuptools import setup, find_packages _version_re = re.compile(r'__version__\s+=\s+(.*)') with open('pgspecial/__init__.py', 'rb') as f: version = str(ast.literal_eval(_version_re.search( f.read().decode('utf-8')).group(1))) description = 'Meta-commands handler for Postgres Database.' setup( name='pgspecial', author='Amjith Ramanujam', author_email='amjith[dot]r[at]gmail.com', version=version, license='LICENSE.txt', url='http://pgcli.com', packages=find_packages(), description=description, long_description=open('README.rst').read(), install_requires=[ 'click >= 4.1', 'sqlparse >= 0.1.19', ], classifiers=[ 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: Unix', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: SQL', 'Topic :: Database', 'Topic :: Database :: Front-Ends', 'Topic :: Software Development', 'Topic :: Software Development :: Libraries :: Python Modules', ], ) Update classifier tags, email and url.import re import ast from setuptools import setup, find_packages _version_re = re.compile(r'__version__\s+=\s+(.*)') with open('pgspecial/__init__.py', 'rb') as f: version = str(ast.literal_eval(_version_re.search( f.read().decode('utf-8')).group(1))) description = 'Meta-commands handler for Postgres Database.' setup( name='pgspecial', author='PGCLI Core Team', author_email='pgcli-dev@googlegroups.com', version=version, license='LICENSE.txt', url='https://www.dbcli.com', packages=find_packages(), description=description, long_description=open('README.rst').read(), install_requires=[ 'click >= 4.1', 'sqlparse >= 0.1.19', ], classifiers=[ 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: Unix', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: SQL', 'Topic :: Database', 'Topic :: Database :: Front-Ends', 'Topic :: Software Development', 'Topic :: Software Development :: Libraries :: Python Modules', ], )
<commit_before>import re import ast from setuptools import setup, find_packages _version_re = re.compile(r'__version__\s+=\s+(.*)') with open('pgspecial/__init__.py', 'rb') as f: version = str(ast.literal_eval(_version_re.search( f.read().decode('utf-8')).group(1))) description = 'Meta-commands handler for Postgres Database.' setup( name='pgspecial', author='Amjith Ramanujam', author_email='amjith[dot]r[at]gmail.com', version=version, license='LICENSE.txt', url='http://pgcli.com', packages=find_packages(), description=description, long_description=open('README.rst').read(), install_requires=[ 'click >= 4.1', 'sqlparse >= 0.1.19', ], classifiers=[ 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: Unix', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: SQL', 'Topic :: Database', 'Topic :: Database :: Front-Ends', 'Topic :: Software Development', 'Topic :: Software Development :: Libraries :: Python Modules', ], ) <commit_msg>Update classifier tags, email and url.<commit_after>import re import ast from setuptools import setup, find_packages _version_re = re.compile(r'__version__\s+=\s+(.*)') with open('pgspecial/__init__.py', 'rb') as f: version = str(ast.literal_eval(_version_re.search( f.read().decode('utf-8')).group(1))) description = 'Meta-commands handler for Postgres Database.' setup( name='pgspecial', author='PGCLI Core Team', author_email='pgcli-dev@googlegroups.com', version=version, license='LICENSE.txt', url='https://www.dbcli.com', packages=find_packages(), description=description, long_description=open('README.rst').read(), install_requires=[ 'click >= 4.1', 'sqlparse >= 0.1.19', ], classifiers=[ 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: Unix', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: SQL', 'Topic :: Database', 'Topic :: Database :: Front-Ends', 'Topic :: Software Development', 'Topic :: Software Development :: Libraries :: Python Modules', ], )
9e9108f177bc8bc9e2b1ebd240512cdf265a6c9f
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup py_files = [ "ansible/module_utils/hashivault", "ansible/plugins/lookup/hashivault", ] files = [ "ansible/modules/hashivault", ] long_description=open('README.rst', 'r').read() setup( name='ansible-modules-hashivault', version='2.10.0', description='Ansible Modules for Hashicorp Vault', long_description=long_description, author='Terry Howe', author_email='terrylhowe@example.com', url='https://github.com/TerryHowe/ansible-modules-hashivault', py_modules=py_files, packages=files, install_requires = [ 'ansible>=2.0.0', 'hvac', ], )
#!/usr/bin/env python from setuptools import setup py_files = [ "ansible/module_utils/hashivault", "ansible/plugins/lookup/hashivault", ] files = [ "ansible/modules/hashivault", ] long_description=open('README.rst', 'r').read() setup( name='ansible-modules-hashivault', version='2.11.0', description='Ansible Modules for Hashicorp Vault', long_description=long_description, author='Terry Howe', author_email='terrylhowe@example.com', url='https://github.com/TerryHowe/ansible-modules-hashivault', py_modules=py_files, packages=files, install_requires = [ 'ansible>=2.0.0', 'hvac', ], )
Cut new release for vault-token
Cut new release for vault-token
Python
mit
TerryHowe/ansible-modules-hashivault,cloudvisory/ansible-modules-hashivault,TerryHowe/ansible-modules-hashivault,cloudvisory/ansible-modules-hashivault
#!/usr/bin/env python from setuptools import setup py_files = [ "ansible/module_utils/hashivault", "ansible/plugins/lookup/hashivault", ] files = [ "ansible/modules/hashivault", ] long_description=open('README.rst', 'r').read() setup( name='ansible-modules-hashivault', version='2.10.0', description='Ansible Modules for Hashicorp Vault', long_description=long_description, author='Terry Howe', author_email='terrylhowe@example.com', url='https://github.com/TerryHowe/ansible-modules-hashivault', py_modules=py_files, packages=files, install_requires = [ 'ansible>=2.0.0', 'hvac', ], ) Cut new release for vault-token
#!/usr/bin/env python from setuptools import setup py_files = [ "ansible/module_utils/hashivault", "ansible/plugins/lookup/hashivault", ] files = [ "ansible/modules/hashivault", ] long_description=open('README.rst', 'r').read() setup( name='ansible-modules-hashivault', version='2.11.0', description='Ansible Modules for Hashicorp Vault', long_description=long_description, author='Terry Howe', author_email='terrylhowe@example.com', url='https://github.com/TerryHowe/ansible-modules-hashivault', py_modules=py_files, packages=files, install_requires = [ 'ansible>=2.0.0', 'hvac', ], )
<commit_before>#!/usr/bin/env python from setuptools import setup py_files = [ "ansible/module_utils/hashivault", "ansible/plugins/lookup/hashivault", ] files = [ "ansible/modules/hashivault", ] long_description=open('README.rst', 'r').read() setup( name='ansible-modules-hashivault', version='2.10.0', description='Ansible Modules for Hashicorp Vault', long_description=long_description, author='Terry Howe', author_email='terrylhowe@example.com', url='https://github.com/TerryHowe/ansible-modules-hashivault', py_modules=py_files, packages=files, install_requires = [ 'ansible>=2.0.0', 'hvac', ], ) <commit_msg>Cut new release for vault-token<commit_after>
#!/usr/bin/env python from setuptools import setup py_files = [ "ansible/module_utils/hashivault", "ansible/plugins/lookup/hashivault", ] files = [ "ansible/modules/hashivault", ] long_description=open('README.rst', 'r').read() setup( name='ansible-modules-hashivault', version='2.11.0', description='Ansible Modules for Hashicorp Vault', long_description=long_description, author='Terry Howe', author_email='terrylhowe@example.com', url='https://github.com/TerryHowe/ansible-modules-hashivault', py_modules=py_files, packages=files, install_requires = [ 'ansible>=2.0.0', 'hvac', ], )
#!/usr/bin/env python from setuptools import setup py_files = [ "ansible/module_utils/hashivault", "ansible/plugins/lookup/hashivault", ] files = [ "ansible/modules/hashivault", ] long_description=open('README.rst', 'r').read() setup( name='ansible-modules-hashivault', version='2.10.0', description='Ansible Modules for Hashicorp Vault', long_description=long_description, author='Terry Howe', author_email='terrylhowe@example.com', url='https://github.com/TerryHowe/ansible-modules-hashivault', py_modules=py_files, packages=files, install_requires = [ 'ansible>=2.0.0', 'hvac', ], ) Cut new release for vault-token#!/usr/bin/env python from setuptools import setup py_files = [ "ansible/module_utils/hashivault", "ansible/plugins/lookup/hashivault", ] files = [ "ansible/modules/hashivault", ] long_description=open('README.rst', 'r').read() setup( name='ansible-modules-hashivault', version='2.11.0', description='Ansible Modules for Hashicorp Vault', long_description=long_description, author='Terry Howe', author_email='terrylhowe@example.com', url='https://github.com/TerryHowe/ansible-modules-hashivault', py_modules=py_files, packages=files, install_requires = [ 'ansible>=2.0.0', 'hvac', ], )
<commit_before>#!/usr/bin/env python from setuptools import setup py_files = [ "ansible/module_utils/hashivault", "ansible/plugins/lookup/hashivault", ] files = [ "ansible/modules/hashivault", ] long_description=open('README.rst', 'r').read() setup( name='ansible-modules-hashivault', version='2.10.0', description='Ansible Modules for Hashicorp Vault', long_description=long_description, author='Terry Howe', author_email='terrylhowe@example.com', url='https://github.com/TerryHowe/ansible-modules-hashivault', py_modules=py_files, packages=files, install_requires = [ 'ansible>=2.0.0', 'hvac', ], ) <commit_msg>Cut new release for vault-token<commit_after>#!/usr/bin/env python from setuptools import setup py_files = [ "ansible/module_utils/hashivault", "ansible/plugins/lookup/hashivault", ] files = [ "ansible/modules/hashivault", ] long_description=open('README.rst', 'r').read() setup( name='ansible-modules-hashivault', version='2.11.0', description='Ansible Modules for Hashicorp Vault', long_description=long_description, author='Terry Howe', author_email='terrylhowe@example.com', url='https://github.com/TerryHowe/ansible-modules-hashivault', py_modules=py_files, packages=files, install_requires = [ 'ansible>=2.0.0', 'hvac', ], )
33b07760827633cdf76ec1b434c9c5f3bdf345f9
setup.py
setup.py
from setuptools import setup setup( name = "JIRA lean forward", version = "0.1.1dev", description = "Get Lean Stats like throughput and cycle time out of jira with ease", author = "Chris Young", licence = "BSD", author_email = "chris@chrisyoung.org", platforms = ["Any"], packages = ['jira_stats'], include_package_data = True, install_requires=[ 'python-dateutil==1.5', 'numpy', 'pandas', 'requests', 'jira-python', 'mockito', 'xlwt', 'argparse' ] )
from setuptools import setup setup( name = "JIRA lean forward", version = "0.1.1dev", description = "Get Lean Stats like throughput and cycle time out of jira with ease", author = "Chris Young", licence = "BSD", author_email = "chris@chrisyoung.org", platforms = ["Any"], packages = ['jira_stats'], include_package_data = True, install_requires=[ 'argparse==1.2.1', 'ipython==0.13.2', 'jira-python==0.13', 'mockito==0.5.1', 'numpy==1.7.1', 'oauthlib==0.4.0', 'pandas==0.11.0', 'python-dateutil==1.5', 'pytz==2013b', 'requests==1.2.0', 'requests-oauthlib==0.3.1', 'six==1.3.0', 'tlslite==0.4.1', 'wsgiref==0.1.2', 'xlwt==0.7.5' ] )
Set requirements to match output of pip freeze to see if that fixed Travis 2.7 build
JLF-6: Set requirements to match output of pip freeze to see if that fixed Travis 2.7 build
Python
bsd-2-clause
worldofchris/jlf
from setuptools import setup setup( name = "JIRA lean forward", version = "0.1.1dev", description = "Get Lean Stats like throughput and cycle time out of jira with ease", author = "Chris Young", licence = "BSD", author_email = "chris@chrisyoung.org", platforms = ["Any"], packages = ['jira_stats'], include_package_data = True, install_requires=[ 'python-dateutil==1.5', 'numpy', 'pandas', 'requests', 'jira-python', 'mockito', 'xlwt', 'argparse' ] ) JLF-6: Set requirements to match output of pip freeze to see if that fixed Travis 2.7 build
from setuptools import setup setup( name = "JIRA lean forward", version = "0.1.1dev", description = "Get Lean Stats like throughput and cycle time out of jira with ease", author = "Chris Young", licence = "BSD", author_email = "chris@chrisyoung.org", platforms = ["Any"], packages = ['jira_stats'], include_package_data = True, install_requires=[ 'argparse==1.2.1', 'ipython==0.13.2', 'jira-python==0.13', 'mockito==0.5.1', 'numpy==1.7.1', 'oauthlib==0.4.0', 'pandas==0.11.0', 'python-dateutil==1.5', 'pytz==2013b', 'requests==1.2.0', 'requests-oauthlib==0.3.1', 'six==1.3.0', 'tlslite==0.4.1', 'wsgiref==0.1.2', 'xlwt==0.7.5' ] )
<commit_before>from setuptools import setup setup( name = "JIRA lean forward", version = "0.1.1dev", description = "Get Lean Stats like throughput and cycle time out of jira with ease", author = "Chris Young", licence = "BSD", author_email = "chris@chrisyoung.org", platforms = ["Any"], packages = ['jira_stats'], include_package_data = True, install_requires=[ 'python-dateutil==1.5', 'numpy', 'pandas', 'requests', 'jira-python', 'mockito', 'xlwt', 'argparse' ] ) <commit_msg>JLF-6: Set requirements to match output of pip freeze to see if that fixed Travis 2.7 build<commit_after>
from setuptools import setup setup( name = "JIRA lean forward", version = "0.1.1dev", description = "Get Lean Stats like throughput and cycle time out of jira with ease", author = "Chris Young", licence = "BSD", author_email = "chris@chrisyoung.org", platforms = ["Any"], packages = ['jira_stats'], include_package_data = True, install_requires=[ 'argparse==1.2.1', 'ipython==0.13.2', 'jira-python==0.13', 'mockito==0.5.1', 'numpy==1.7.1', 'oauthlib==0.4.0', 'pandas==0.11.0', 'python-dateutil==1.5', 'pytz==2013b', 'requests==1.2.0', 'requests-oauthlib==0.3.1', 'six==1.3.0', 'tlslite==0.4.1', 'wsgiref==0.1.2', 'xlwt==0.7.5' ] )
from setuptools import setup setup( name = "JIRA lean forward", version = "0.1.1dev", description = "Get Lean Stats like throughput and cycle time out of jira with ease", author = "Chris Young", licence = "BSD", author_email = "chris@chrisyoung.org", platforms = ["Any"], packages = ['jira_stats'], include_package_data = True, install_requires=[ 'python-dateutil==1.5', 'numpy', 'pandas', 'requests', 'jira-python', 'mockito', 'xlwt', 'argparse' ] ) JLF-6: Set requirements to match output of pip freeze to see if that fixed Travis 2.7 buildfrom setuptools import setup setup( name = "JIRA lean forward", version = "0.1.1dev", description = "Get Lean Stats like throughput and cycle time out of jira with ease", author = "Chris Young", licence = "BSD", author_email = "chris@chrisyoung.org", platforms = ["Any"], packages = ['jira_stats'], include_package_data = True, install_requires=[ 'argparse==1.2.1', 'ipython==0.13.2', 'jira-python==0.13', 'mockito==0.5.1', 'numpy==1.7.1', 'oauthlib==0.4.0', 'pandas==0.11.0', 'python-dateutil==1.5', 'pytz==2013b', 'requests==1.2.0', 'requests-oauthlib==0.3.1', 'six==1.3.0', 'tlslite==0.4.1', 'wsgiref==0.1.2', 'xlwt==0.7.5' ] )
<commit_before>from setuptools import setup setup( name = "JIRA lean forward", version = "0.1.1dev", description = "Get Lean Stats like throughput and cycle time out of jira with ease", author = "Chris Young", licence = "BSD", author_email = "chris@chrisyoung.org", platforms = ["Any"], packages = ['jira_stats'], include_package_data = True, install_requires=[ 'python-dateutil==1.5', 'numpy', 'pandas', 'requests', 'jira-python', 'mockito', 'xlwt', 'argparse' ] ) <commit_msg>JLF-6: Set requirements to match output of pip freeze to see if that fixed Travis 2.7 build<commit_after>from setuptools import setup setup( name = "JIRA lean forward", version = "0.1.1dev", description = "Get Lean Stats like throughput and cycle time out of jira with ease", author = "Chris Young", licence = "BSD", author_email = "chris@chrisyoung.org", platforms = ["Any"], packages = ['jira_stats'], include_package_data = True, install_requires=[ 'argparse==1.2.1', 'ipython==0.13.2', 'jira-python==0.13', 'mockito==0.5.1', 'numpy==1.7.1', 'oauthlib==0.4.0', 'pandas==0.11.0', 'python-dateutil==1.5', 'pytz==2013b', 'requests==1.2.0', 'requests-oauthlib==0.3.1', 'six==1.3.0', 'tlslite==0.4.1', 'wsgiref==0.1.2', 'xlwt==0.7.5' ] )
8958a976a88fe215174478031c4ebf6577d35eca
setup.py
setup.py
from setuptools import setup setup( name='django-cacheops', version='1.2', author='Alexander Schepanovski', author_email='suor.web@gmail.com', description='A slick ORM cache with automatic granular event-driven invalidation for Django.', long_description=open('README.rst').read(), url='http://github.com/Suor/django-cacheops', license='BSD', packages=[ 'cacheops', 'cacheops.management', 'cacheops.management.commands', 'cacheops.templatetags' ], install_requires=[ 'django>=1.2', 'redis>=2.4.12', 'simplejson>=2.2.0', 'six', ], classifiers=[ 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Framework :: Django', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Software Development :: Libraries :: Python Modules', ] )
from setuptools import setup setup( name='django-cacheops', version='1.2', author='Alexander Schepanovski', author_email='suor.web@gmail.com', description='A slick ORM cache with automatic granular event-driven invalidation for Django.', long_description=open('README.rst').read(), url='http://github.com/Suor/django-cacheops', license='BSD', packages=[ 'cacheops', 'cacheops.management', 'cacheops.management.commands', 'cacheops.templatetags' ], install_requires=[ 'django>=1.2', 'redis>=2.4.12', 'simplejson>=2.2.0', 'six>=1.4.0', ], classifiers=[ 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Framework :: Django', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Software Development :: Libraries :: Python Modules', ] )
Fix error `AttributeError: 'module' object has no attribute 'PY2'`
Fix error `AttributeError: 'module' object has no attribute 'PY2'`
Python
bsd-3-clause
andwun/django-cacheops,ErwinJunge/django-cacheops,rutube/django-cacheops,Tapo4ek/django-cacheops,th13f/django-cacheops,bourivouh/django-cacheops,Tapo4ek/django-cacheops,whyflyru/django-cacheops,Suor/django-cacheops,LPgenerator/django-cacheops
from setuptools import setup setup( name='django-cacheops', version='1.2', author='Alexander Schepanovski', author_email='suor.web@gmail.com', description='A slick ORM cache with automatic granular event-driven invalidation for Django.', long_description=open('README.rst').read(), url='http://github.com/Suor/django-cacheops', license='BSD', packages=[ 'cacheops', 'cacheops.management', 'cacheops.management.commands', 'cacheops.templatetags' ], install_requires=[ 'django>=1.2', 'redis>=2.4.12', 'simplejson>=2.2.0', 'six', ], classifiers=[ 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Framework :: Django', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Software Development :: Libraries :: Python Modules', ] ) Fix error `AttributeError: 'module' object has no attribute 'PY2'`
from setuptools import setup setup( name='django-cacheops', version='1.2', author='Alexander Schepanovski', author_email='suor.web@gmail.com', description='A slick ORM cache with automatic granular event-driven invalidation for Django.', long_description=open('README.rst').read(), url='http://github.com/Suor/django-cacheops', license='BSD', packages=[ 'cacheops', 'cacheops.management', 'cacheops.management.commands', 'cacheops.templatetags' ], install_requires=[ 'django>=1.2', 'redis>=2.4.12', 'simplejson>=2.2.0', 'six>=1.4.0', ], classifiers=[ 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Framework :: Django', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Software Development :: Libraries :: Python Modules', ] )
<commit_before>from setuptools import setup setup( name='django-cacheops', version='1.2', author='Alexander Schepanovski', author_email='suor.web@gmail.com', description='A slick ORM cache with automatic granular event-driven invalidation for Django.', long_description=open('README.rst').read(), url='http://github.com/Suor/django-cacheops', license='BSD', packages=[ 'cacheops', 'cacheops.management', 'cacheops.management.commands', 'cacheops.templatetags' ], install_requires=[ 'django>=1.2', 'redis>=2.4.12', 'simplejson>=2.2.0', 'six', ], classifiers=[ 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Framework :: Django', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Software Development :: Libraries :: Python Modules', ] ) <commit_msg>Fix error `AttributeError: 'module' object has no attribute 'PY2'`<commit_after>
from setuptools import setup setup( name='django-cacheops', version='1.2', author='Alexander Schepanovski', author_email='suor.web@gmail.com', description='A slick ORM cache with automatic granular event-driven invalidation for Django.', long_description=open('README.rst').read(), url='http://github.com/Suor/django-cacheops', license='BSD', packages=[ 'cacheops', 'cacheops.management', 'cacheops.management.commands', 'cacheops.templatetags' ], install_requires=[ 'django>=1.2', 'redis>=2.4.12', 'simplejson>=2.2.0', 'six>=1.4.0', ], classifiers=[ 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Framework :: Django', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Software Development :: Libraries :: Python Modules', ] )
from setuptools import setup setup( name='django-cacheops', version='1.2', author='Alexander Schepanovski', author_email='suor.web@gmail.com', description='A slick ORM cache with automatic granular event-driven invalidation for Django.', long_description=open('README.rst').read(), url='http://github.com/Suor/django-cacheops', license='BSD', packages=[ 'cacheops', 'cacheops.management', 'cacheops.management.commands', 'cacheops.templatetags' ], install_requires=[ 'django>=1.2', 'redis>=2.4.12', 'simplejson>=2.2.0', 'six', ], classifiers=[ 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Framework :: Django', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Software Development :: Libraries :: Python Modules', ] ) Fix error `AttributeError: 'module' object has no attribute 'PY2'`from setuptools import setup setup( name='django-cacheops', version='1.2', author='Alexander Schepanovski', author_email='suor.web@gmail.com', description='A slick ORM cache with automatic granular event-driven invalidation for Django.', long_description=open('README.rst').read(), url='http://github.com/Suor/django-cacheops', license='BSD', packages=[ 'cacheops', 'cacheops.management', 'cacheops.management.commands', 'cacheops.templatetags' ], install_requires=[ 'django>=1.2', 'redis>=2.4.12', 'simplejson>=2.2.0', 'six>=1.4.0', ], classifiers=[ 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Framework :: Django', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Software Development :: Libraries :: Python Modules', ] )
<commit_before>from setuptools import setup setup( name='django-cacheops', version='1.2', author='Alexander Schepanovski', author_email='suor.web@gmail.com', description='A slick ORM cache with automatic granular event-driven invalidation for Django.', long_description=open('README.rst').read(), url='http://github.com/Suor/django-cacheops', license='BSD', packages=[ 'cacheops', 'cacheops.management', 'cacheops.management.commands', 'cacheops.templatetags' ], install_requires=[ 'django>=1.2', 'redis>=2.4.12', 'simplejson>=2.2.0', 'six', ], classifiers=[ 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Framework :: Django', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Software Development :: Libraries :: Python Modules', ] ) <commit_msg>Fix error `AttributeError: 'module' object has no attribute 'PY2'`<commit_after>from setuptools import setup setup( name='django-cacheops', version='1.2', author='Alexander Schepanovski', author_email='suor.web@gmail.com', description='A slick ORM cache with automatic granular event-driven invalidation for Django.', long_description=open('README.rst').read(), url='http://github.com/Suor/django-cacheops', license='BSD', packages=[ 'cacheops', 'cacheops.management', 'cacheops.management.commands', 'cacheops.templatetags' ], install_requires=[ 'django>=1.2', 'redis>=2.4.12', 'simplejson>=2.2.0', 'six>=1.4.0', ], classifiers=[ 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Framework :: Django', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Software Development :: Libraries :: Python Modules', ] )
e947a4022349e108142d1e645f02d3f7fe7f50ef
setup.py
setup.py
#!/usr/bin/python3 from setuptools import setup, find_packages setup(name='grafcli', version='0.5.2', description='Grafana CLI management tool', author='Milosz Smolka', author_email='m110@m110.pl', url='https://github.com/m110/grafcli', packages=find_packages(exclude=['tests']), scripts=['scripts/grafcli'], data_files=[('/etc/grafcli', ['grafcli.conf.example'])], install_requires=['climb>=0.3.2'], classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Operating System :: POSIX', 'Programming Language :: Python :: 3.4', 'Topic :: System :: Systems Administration', ])
#!/usr/bin/python3 from subprocess import check_output from setuptools import setup, find_packages git_version = check_output(["git", "describe", "--tags"]).strip() setup(name='grafcli', version=git_version, description='Grafana CLI management tool', author='Milosz Smolka', author_email='m110@m110.pl', url='https://github.com/m110/grafcli', packages=find_packages(exclude=['tests']), scripts=['scripts/grafcli'], data_files=[('/etc/grafcli', ['grafcli.conf.example'])], install_requires=['climb>=0.3.2'], classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Operating System :: POSIX', 'Programming Language :: Python :: 3.4', 'Topic :: System :: Systems Administration', ])
Use version from git tags
Use version from git tags
Python
mit
m110/grafcli,m110/grafcli
#!/usr/bin/python3 from setuptools import setup, find_packages setup(name='grafcli', version='0.5.2', description='Grafana CLI management tool', author='Milosz Smolka', author_email='m110@m110.pl', url='https://github.com/m110/grafcli', packages=find_packages(exclude=['tests']), scripts=['scripts/grafcli'], data_files=[('/etc/grafcli', ['grafcli.conf.example'])], install_requires=['climb>=0.3.2'], classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Operating System :: POSIX', 'Programming Language :: Python :: 3.4', 'Topic :: System :: Systems Administration', ]) Use version from git tags
#!/usr/bin/python3 from subprocess import check_output from setuptools import setup, find_packages git_version = check_output(["git", "describe", "--tags"]).strip() setup(name='grafcli', version=git_version, description='Grafana CLI management tool', author='Milosz Smolka', author_email='m110@m110.pl', url='https://github.com/m110/grafcli', packages=find_packages(exclude=['tests']), scripts=['scripts/grafcli'], data_files=[('/etc/grafcli', ['grafcli.conf.example'])], install_requires=['climb>=0.3.2'], classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Operating System :: POSIX', 'Programming Language :: Python :: 3.4', 'Topic :: System :: Systems Administration', ])
<commit_before>#!/usr/bin/python3 from setuptools import setup, find_packages setup(name='grafcli', version='0.5.2', description='Grafana CLI management tool', author='Milosz Smolka', author_email='m110@m110.pl', url='https://github.com/m110/grafcli', packages=find_packages(exclude=['tests']), scripts=['scripts/grafcli'], data_files=[('/etc/grafcli', ['grafcli.conf.example'])], install_requires=['climb>=0.3.2'], classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Operating System :: POSIX', 'Programming Language :: Python :: 3.4', 'Topic :: System :: Systems Administration', ]) <commit_msg>Use version from git tags<commit_after>
#!/usr/bin/python3 from subprocess import check_output from setuptools import setup, find_packages git_version = check_output(["git", "describe", "--tags"]).strip() setup(name='grafcli', version=git_version, description='Grafana CLI management tool', author='Milosz Smolka', author_email='m110@m110.pl', url='https://github.com/m110/grafcli', packages=find_packages(exclude=['tests']), scripts=['scripts/grafcli'], data_files=[('/etc/grafcli', ['grafcli.conf.example'])], install_requires=['climb>=0.3.2'], classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Operating System :: POSIX', 'Programming Language :: Python :: 3.4', 'Topic :: System :: Systems Administration', ])
#!/usr/bin/python3 from setuptools import setup, find_packages setup(name='grafcli', version='0.5.2', description='Grafana CLI management tool', author='Milosz Smolka', author_email='m110@m110.pl', url='https://github.com/m110/grafcli', packages=find_packages(exclude=['tests']), scripts=['scripts/grafcli'], data_files=[('/etc/grafcli', ['grafcli.conf.example'])], install_requires=['climb>=0.3.2'], classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Operating System :: POSIX', 'Programming Language :: Python :: 3.4', 'Topic :: System :: Systems Administration', ]) Use version from git tags#!/usr/bin/python3 from subprocess import check_output from setuptools import setup, find_packages git_version = check_output(["git", "describe", "--tags"]).strip() setup(name='grafcli', version=git_version, description='Grafana CLI management tool', author='Milosz Smolka', author_email='m110@m110.pl', url='https://github.com/m110/grafcli', packages=find_packages(exclude=['tests']), scripts=['scripts/grafcli'], data_files=[('/etc/grafcli', ['grafcli.conf.example'])], install_requires=['climb>=0.3.2'], classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Operating System :: POSIX', 'Programming Language :: Python :: 3.4', 'Topic :: System :: Systems Administration', ])
<commit_before>#!/usr/bin/python3 from setuptools import setup, find_packages setup(name='grafcli', version='0.5.2', description='Grafana CLI management tool', author='Milosz Smolka', author_email='m110@m110.pl', url='https://github.com/m110/grafcli', packages=find_packages(exclude=['tests']), scripts=['scripts/grafcli'], data_files=[('/etc/grafcli', ['grafcli.conf.example'])], install_requires=['climb>=0.3.2'], classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Operating System :: POSIX', 'Programming Language :: Python :: 3.4', 'Topic :: System :: Systems Administration', ]) <commit_msg>Use version from git tags<commit_after>#!/usr/bin/python3 from subprocess import check_output from setuptools import setup, find_packages git_version = check_output(["git", "describe", "--tags"]).strip() setup(name='grafcli', version=git_version, description='Grafana CLI management tool', author='Milosz Smolka', author_email='m110@m110.pl', url='https://github.com/m110/grafcli', packages=find_packages(exclude=['tests']), scripts=['scripts/grafcli'], data_files=[('/etc/grafcli', ['grafcli.conf.example'])], install_requires=['climb>=0.3.2'], classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Operating System :: POSIX', 'Programming Language :: Python :: 3.4', 'Topic :: System :: Systems Administration', ])
42a9d3564a9bfd0d858b9573da2cabccced7dc19
setup.py
setup.py
# -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = "OpenFisca-Country-Template", version = "3.9.5", author = "OpenFisca Team", author_email = "contact@openfisca.org", classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: GNU Affero General Public License v3", "Operating System :: POSIX", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Information Analysis", ], description = "OpenFisca tax and benefit system for Country-Template", keywords = "benefit microsimulation social tax", license ="http://www.fsf.org/licensing/licenses/agpl-3.0.html", url = "https://github.com/openfisca/country-template", include_package_data = True, # Will read MANIFEST.in data_files = [ ("share/openfisca/openfisca-country-template", ["CHANGELOG.md", "LICENSE", "README.md"]), ], install_requires = [ "OpenFisca-Core[web-api] >=27.0,<33.0", ], extras_require = { "dev": [ "autopep8 ==1.4.4", "flake8 >=3.5.0,<3.8.0", "flake8-print", "pycodestyle >=2.3.0,<2.6.0", # To avoid incompatibility with flake ] }, packages=find_packages(), )
# -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = "OpenFisca-Country-Template", version = "3.9.5", author = "OpenFisca Team", author_email = "contact@openfisca.org", classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: GNU Affero General Public License v3", "Operating System :: POSIX", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Information Analysis", ], description = "OpenFisca tax and benefit system for Country-Template", keywords = "benefit microsimulation social tax", license ="http://www.fsf.org/licensing/licenses/agpl-3.0.html", url = "https://github.com/openfisca/country-template", include_package_data = True, # Will read MANIFEST.in data_files = [ ("share/openfisca/openfisca-country-template", ["CHANGELOG.md", "LICENSE", "README.md"]), ], install_requires = [ "OpenFisca-Core[web-api] >=27.0,<35.0", ], extras_require = { "dev": [ "autopep8 ==1.4.4", "flake8 >=3.5.0,<3.8.0", "flake8-print", "pycodestyle >=2.3.0,<2.6.0", # To avoid incompatibility with flake ] }, packages=find_packages(), )
Update openfisca-core requirement from <33.0,>=27.0 to >=27.0,<35.0
Update openfisca-core requirement from <33.0,>=27.0 to >=27.0,<35.0 Updates the requirements on [openfisca-core](https://github.com/openfisca/openfisca-core) to permit the latest version. - [Release notes](https://github.com/openfisca/openfisca-core/releases) - [Changelog](https://github.com/openfisca/openfisca-core/blob/master/CHANGELOG.md) - [Commits](https://github.com/openfisca/openfisca-core/compare/27.0.0...34.0.0) Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com>
Python
agpl-3.0
openfisca/country-template,openfisca/country-template
# -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = "OpenFisca-Country-Template", version = "3.9.5", author = "OpenFisca Team", author_email = "contact@openfisca.org", classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: GNU Affero General Public License v3", "Operating System :: POSIX", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Information Analysis", ], description = "OpenFisca tax and benefit system for Country-Template", keywords = "benefit microsimulation social tax", license ="http://www.fsf.org/licensing/licenses/agpl-3.0.html", url = "https://github.com/openfisca/country-template", include_package_data = True, # Will read MANIFEST.in data_files = [ ("share/openfisca/openfisca-country-template", ["CHANGELOG.md", "LICENSE", "README.md"]), ], install_requires = [ "OpenFisca-Core[web-api] >=27.0,<33.0", ], extras_require = { "dev": [ "autopep8 ==1.4.4", "flake8 >=3.5.0,<3.8.0", "flake8-print", "pycodestyle >=2.3.0,<2.6.0", # To avoid incompatibility with flake ] }, packages=find_packages(), ) Update openfisca-core requirement from <33.0,>=27.0 to >=27.0,<35.0 Updates the requirements on [openfisca-core](https://github.com/openfisca/openfisca-core) to permit the latest version. - [Release notes](https://github.com/openfisca/openfisca-core/releases) - [Changelog](https://github.com/openfisca/openfisca-core/blob/master/CHANGELOG.md) - [Commits](https://github.com/openfisca/openfisca-core/compare/27.0.0...34.0.0) Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com>
# -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = "OpenFisca-Country-Template", version = "3.9.5", author = "OpenFisca Team", author_email = "contact@openfisca.org", classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: GNU Affero General Public License v3", "Operating System :: POSIX", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Information Analysis", ], description = "OpenFisca tax and benefit system for Country-Template", keywords = "benefit microsimulation social tax", license ="http://www.fsf.org/licensing/licenses/agpl-3.0.html", url = "https://github.com/openfisca/country-template", include_package_data = True, # Will read MANIFEST.in data_files = [ ("share/openfisca/openfisca-country-template", ["CHANGELOG.md", "LICENSE", "README.md"]), ], install_requires = [ "OpenFisca-Core[web-api] >=27.0,<35.0", ], extras_require = { "dev": [ "autopep8 ==1.4.4", "flake8 >=3.5.0,<3.8.0", "flake8-print", "pycodestyle >=2.3.0,<2.6.0", # To avoid incompatibility with flake ] }, packages=find_packages(), )
<commit_before># -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = "OpenFisca-Country-Template", version = "3.9.5", author = "OpenFisca Team", author_email = "contact@openfisca.org", classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: GNU Affero General Public License v3", "Operating System :: POSIX", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Information Analysis", ], description = "OpenFisca tax and benefit system for Country-Template", keywords = "benefit microsimulation social tax", license ="http://www.fsf.org/licensing/licenses/agpl-3.0.html", url = "https://github.com/openfisca/country-template", include_package_data = True, # Will read MANIFEST.in data_files = [ ("share/openfisca/openfisca-country-template", ["CHANGELOG.md", "LICENSE", "README.md"]), ], install_requires = [ "OpenFisca-Core[web-api] >=27.0,<33.0", ], extras_require = { "dev": [ "autopep8 ==1.4.4", "flake8 >=3.5.0,<3.8.0", "flake8-print", "pycodestyle >=2.3.0,<2.6.0", # To avoid incompatibility with flake ] }, packages=find_packages(), ) <commit_msg>Update openfisca-core requirement from <33.0,>=27.0 to >=27.0,<35.0 Updates the requirements on [openfisca-core](https://github.com/openfisca/openfisca-core) to permit the latest version. - [Release notes](https://github.com/openfisca/openfisca-core/releases) - [Changelog](https://github.com/openfisca/openfisca-core/blob/master/CHANGELOG.md) - [Commits](https://github.com/openfisca/openfisca-core/compare/27.0.0...34.0.0) Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com><commit_after>
# -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = "OpenFisca-Country-Template", version = "3.9.5", author = "OpenFisca Team", author_email = "contact@openfisca.org", classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: GNU Affero General Public License v3", "Operating System :: POSIX", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Information Analysis", ], description = "OpenFisca tax and benefit system for Country-Template", keywords = "benefit microsimulation social tax", license ="http://www.fsf.org/licensing/licenses/agpl-3.0.html", url = "https://github.com/openfisca/country-template", include_package_data = True, # Will read MANIFEST.in data_files = [ ("share/openfisca/openfisca-country-template", ["CHANGELOG.md", "LICENSE", "README.md"]), ], install_requires = [ "OpenFisca-Core[web-api] >=27.0,<35.0", ], extras_require = { "dev": [ "autopep8 ==1.4.4", "flake8 >=3.5.0,<3.8.0", "flake8-print", "pycodestyle >=2.3.0,<2.6.0", # To avoid incompatibility with flake ] }, packages=find_packages(), )
# -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = "OpenFisca-Country-Template", version = "3.9.5", author = "OpenFisca Team", author_email = "contact@openfisca.org", classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: GNU Affero General Public License v3", "Operating System :: POSIX", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Information Analysis", ], description = "OpenFisca tax and benefit system for Country-Template", keywords = "benefit microsimulation social tax", license ="http://www.fsf.org/licensing/licenses/agpl-3.0.html", url = "https://github.com/openfisca/country-template", include_package_data = True, # Will read MANIFEST.in data_files = [ ("share/openfisca/openfisca-country-template", ["CHANGELOG.md", "LICENSE", "README.md"]), ], install_requires = [ "OpenFisca-Core[web-api] >=27.0,<33.0", ], extras_require = { "dev": [ "autopep8 ==1.4.4", "flake8 >=3.5.0,<3.8.0", "flake8-print", "pycodestyle >=2.3.0,<2.6.0", # To avoid incompatibility with flake ] }, packages=find_packages(), ) Update openfisca-core requirement from <33.0,>=27.0 to >=27.0,<35.0 Updates the requirements on [openfisca-core](https://github.com/openfisca/openfisca-core) to permit the latest version. - [Release notes](https://github.com/openfisca/openfisca-core/releases) - [Changelog](https://github.com/openfisca/openfisca-core/blob/master/CHANGELOG.md) - [Commits](https://github.com/openfisca/openfisca-core/compare/27.0.0...34.0.0) Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com># -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = "OpenFisca-Country-Template", version = "3.9.5", author = "OpenFisca Team", author_email = "contact@openfisca.org", classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: GNU Affero General Public License v3", "Operating System :: POSIX", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Information Analysis", ], description = "OpenFisca tax and benefit system for Country-Template", keywords = "benefit microsimulation social tax", license ="http://www.fsf.org/licensing/licenses/agpl-3.0.html", url = "https://github.com/openfisca/country-template", include_package_data = True, # Will read MANIFEST.in data_files = [ ("share/openfisca/openfisca-country-template", ["CHANGELOG.md", "LICENSE", "README.md"]), ], install_requires = [ "OpenFisca-Core[web-api] >=27.0,<35.0", ], extras_require = { "dev": [ "autopep8 ==1.4.4", "flake8 >=3.5.0,<3.8.0", "flake8-print", "pycodestyle >=2.3.0,<2.6.0", # To avoid incompatibility with flake ] }, packages=find_packages(), )
<commit_before># -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = "OpenFisca-Country-Template", version = "3.9.5", author = "OpenFisca Team", author_email = "contact@openfisca.org", classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: GNU Affero General Public License v3", "Operating System :: POSIX", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Information Analysis", ], description = "OpenFisca tax and benefit system for Country-Template", keywords = "benefit microsimulation social tax", license ="http://www.fsf.org/licensing/licenses/agpl-3.0.html", url = "https://github.com/openfisca/country-template", include_package_data = True, # Will read MANIFEST.in data_files = [ ("share/openfisca/openfisca-country-template", ["CHANGELOG.md", "LICENSE", "README.md"]), ], install_requires = [ "OpenFisca-Core[web-api] >=27.0,<33.0", ], extras_require = { "dev": [ "autopep8 ==1.4.4", "flake8 >=3.5.0,<3.8.0", "flake8-print", "pycodestyle >=2.3.0,<2.6.0", # To avoid incompatibility with flake ] }, packages=find_packages(), ) <commit_msg>Update openfisca-core requirement from <33.0,>=27.0 to >=27.0,<35.0 Updates the requirements on [openfisca-core](https://github.com/openfisca/openfisca-core) to permit the latest version. - [Release notes](https://github.com/openfisca/openfisca-core/releases) - [Changelog](https://github.com/openfisca/openfisca-core/blob/master/CHANGELOG.md) - [Commits](https://github.com/openfisca/openfisca-core/compare/27.0.0...34.0.0) Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com><commit_after># -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = "OpenFisca-Country-Template", version = "3.9.5", author = "OpenFisca Team", author_email = "contact@openfisca.org", classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: GNU Affero General Public License v3", "Operating System :: POSIX", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Information Analysis", ], description = "OpenFisca tax and benefit system for Country-Template", keywords = "benefit microsimulation social tax", license ="http://www.fsf.org/licensing/licenses/agpl-3.0.html", url = "https://github.com/openfisca/country-template", include_package_data = True, # Will read MANIFEST.in data_files = [ ("share/openfisca/openfisca-country-template", ["CHANGELOG.md", "LICENSE", "README.md"]), ], install_requires = [ "OpenFisca-Core[web-api] >=27.0,<35.0", ], extras_require = { "dev": [ "autopep8 ==1.4.4", "flake8 >=3.5.0,<3.8.0", "flake8-print", "pycodestyle >=2.3.0,<2.6.0", # To avoid incompatibility with flake ] }, packages=find_packages(), )
ebf7fa1fa079d39438bae4dbd57270443545abad
setup.py
setup.py
from setuptools import setup, find_packages from splinter import __version__ README = open('README.rst').read() setup(name='splinter', version=__version__, description='browser abstraction for web acceptance testing', long_description=README, author='CobraTeam', author_email='andrewsmedina@gmail.com', packages=find_packages(exclude=['docs', 'tests', 'samples']), include_package_data=True, install_requires=['selenium==2.15', 'lxml>=2.3.1,<2.4.0', 'mechanize'], tests_require=['coverage', 'flask'], )
from setuptools import setup, find_packages from splinter import __version__ README = open('README.rst').read() setup(name='splinter', version=__version__, description='browser abstraction for web acceptance testing', long_description=README, author='CobraTeam', author_email='andrewsmedina@gmail.com', packages=find_packages(exclude=['docs', 'tests', 'samples']), include_package_data=True, install_requires=['selenium==2.15', 'lxml>=2.3.1,<2.4.0'], tests_require=['coverage', 'flask'], )
Remove mechanize from dependencies list
Remove mechanize from dependencies list
Python
bsd-3-clause
objarni/splinter,objarni/splinter,bmcculley/splinter,underdogio/splinter,myself659/splinter,objarni/splinter,cobrateam/splinter,bmcculley/splinter,bubenkoff/splinter,myself659/splinter,lrowe/splinter,gjvis/splinter,nikolas/splinter,gjvis/splinter,drptbl/splinter,nikolas/splinter,lrowe/splinter,myself659/splinter,drptbl/splinter,bubenkoff/splinter,bmcculley/splinter,underdogio/splinter,cobrateam/splinter,cobrateam/splinter,lrowe/splinter,gjvis/splinter,drptbl/splinter,underdogio/splinter,nikolas/splinter
from setuptools import setup, find_packages from splinter import __version__ README = open('README.rst').read() setup(name='splinter', version=__version__, description='browser abstraction for web acceptance testing', long_description=README, author='CobraTeam', author_email='andrewsmedina@gmail.com', packages=find_packages(exclude=['docs', 'tests', 'samples']), include_package_data=True, install_requires=['selenium==2.15', 'lxml>=2.3.1,<2.4.0', 'mechanize'], tests_require=['coverage', 'flask'], ) Remove mechanize from dependencies list
from setuptools import setup, find_packages from splinter import __version__ README = open('README.rst').read() setup(name='splinter', version=__version__, description='browser abstraction for web acceptance testing', long_description=README, author='CobraTeam', author_email='andrewsmedina@gmail.com', packages=find_packages(exclude=['docs', 'tests', 'samples']), include_package_data=True, install_requires=['selenium==2.15', 'lxml>=2.3.1,<2.4.0'], tests_require=['coverage', 'flask'], )
<commit_before>from setuptools import setup, find_packages from splinter import __version__ README = open('README.rst').read() setup(name='splinter', version=__version__, description='browser abstraction for web acceptance testing', long_description=README, author='CobraTeam', author_email='andrewsmedina@gmail.com', packages=find_packages(exclude=['docs', 'tests', 'samples']), include_package_data=True, install_requires=['selenium==2.15', 'lxml>=2.3.1,<2.4.0', 'mechanize'], tests_require=['coverage', 'flask'], ) <commit_msg>Remove mechanize from dependencies list<commit_after>
from setuptools import setup, find_packages from splinter import __version__ README = open('README.rst').read() setup(name='splinter', version=__version__, description='browser abstraction for web acceptance testing', long_description=README, author='CobraTeam', author_email='andrewsmedina@gmail.com', packages=find_packages(exclude=['docs', 'tests', 'samples']), include_package_data=True, install_requires=['selenium==2.15', 'lxml>=2.3.1,<2.4.0'], tests_require=['coverage', 'flask'], )
from setuptools import setup, find_packages from splinter import __version__ README = open('README.rst').read() setup(name='splinter', version=__version__, description='browser abstraction for web acceptance testing', long_description=README, author='CobraTeam', author_email='andrewsmedina@gmail.com', packages=find_packages(exclude=['docs', 'tests', 'samples']), include_package_data=True, install_requires=['selenium==2.15', 'lxml>=2.3.1,<2.4.0', 'mechanize'], tests_require=['coverage', 'flask'], ) Remove mechanize from dependencies listfrom setuptools import setup, find_packages from splinter import __version__ README = open('README.rst').read() setup(name='splinter', version=__version__, description='browser abstraction for web acceptance testing', long_description=README, author='CobraTeam', author_email='andrewsmedina@gmail.com', packages=find_packages(exclude=['docs', 'tests', 'samples']), include_package_data=True, install_requires=['selenium==2.15', 'lxml>=2.3.1,<2.4.0'], tests_require=['coverage', 'flask'], )
<commit_before>from setuptools import setup, find_packages from splinter import __version__ README = open('README.rst').read() setup(name='splinter', version=__version__, description='browser abstraction for web acceptance testing', long_description=README, author='CobraTeam', author_email='andrewsmedina@gmail.com', packages=find_packages(exclude=['docs', 'tests', 'samples']), include_package_data=True, install_requires=['selenium==2.15', 'lxml>=2.3.1,<2.4.0', 'mechanize'], tests_require=['coverage', 'flask'], ) <commit_msg>Remove mechanize from dependencies list<commit_after>from setuptools import setup, find_packages from splinter import __version__ README = open('README.rst').read() setup(name='splinter', version=__version__, description='browser abstraction for web acceptance testing', long_description=README, author='CobraTeam', author_email='andrewsmedina@gmail.com', packages=find_packages(exclude=['docs', 'tests', 'samples']), include_package_data=True, install_requires=['selenium==2.15', 'lxml>=2.3.1,<2.4.0'], tests_require=['coverage', 'flask'], )
c32273046de6847649a8a4bd8cb108ff342c8a32
setup.py
setup.py
import os from setuptools import setup, find_packages setup(name='Coffin', version=".".join(map(str, __import__("coffin").__version__)), description='Jinja2 adapter for Django', author='Christopher D. Leary', author_email='cdleary@gmail.com', maintainer='David Cramer', maintainer_email='dcramer@gmail.com', url='http://github.com/dcramer/coffin', packages=find_packages(), #install_requires=['Jinja2', 'django>=1.2'], classifiers=[ "Framework :: Django", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Operating System :: OS Independent", "Topic :: Software Development" ], )
import os from setuptools import setup, find_packages setup(name='Coffin', version=".".join(map(str, __import__("coffin").__version__)), description='Jinja2 adapter for Django', author='Christopher D. Leary', author_email='cdleary@gmail.com', maintainer='David Cramer', maintainer_email='dcramer@gmail.com', url='http://github.com/coffin/coffin', packages=find_packages(), #install_requires=['Jinja2', 'django>=1.2'], classifiers=[ "Framework :: Django", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Operating System :: OS Independent", "Topic :: Software Development" ], )
Fix URL to point to a valid repo
Fix URL to point to a valid repo
Python
bsd-3-clause
rossowl/coffin,rossowl/coffin,akx/coffin
import os from setuptools import setup, find_packages setup(name='Coffin', version=".".join(map(str, __import__("coffin").__version__)), description='Jinja2 adapter for Django', author='Christopher D. Leary', author_email='cdleary@gmail.com', maintainer='David Cramer', maintainer_email='dcramer@gmail.com', url='http://github.com/dcramer/coffin', packages=find_packages(), #install_requires=['Jinja2', 'django>=1.2'], classifiers=[ "Framework :: Django", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Operating System :: OS Independent", "Topic :: Software Development" ], ) Fix URL to point to a valid repo
import os from setuptools import setup, find_packages setup(name='Coffin', version=".".join(map(str, __import__("coffin").__version__)), description='Jinja2 adapter for Django', author='Christopher D. Leary', author_email='cdleary@gmail.com', maintainer='David Cramer', maintainer_email='dcramer@gmail.com', url='http://github.com/coffin/coffin', packages=find_packages(), #install_requires=['Jinja2', 'django>=1.2'], classifiers=[ "Framework :: Django", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Operating System :: OS Independent", "Topic :: Software Development" ], )
<commit_before>import os from setuptools import setup, find_packages setup(name='Coffin', version=".".join(map(str, __import__("coffin").__version__)), description='Jinja2 adapter for Django', author='Christopher D. Leary', author_email='cdleary@gmail.com', maintainer='David Cramer', maintainer_email='dcramer@gmail.com', url='http://github.com/dcramer/coffin', packages=find_packages(), #install_requires=['Jinja2', 'django>=1.2'], classifiers=[ "Framework :: Django", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Operating System :: OS Independent", "Topic :: Software Development" ], ) <commit_msg>Fix URL to point to a valid repo<commit_after>
import os from setuptools import setup, find_packages setup(name='Coffin', version=".".join(map(str, __import__("coffin").__version__)), description='Jinja2 adapter for Django', author='Christopher D. Leary', author_email='cdleary@gmail.com', maintainer='David Cramer', maintainer_email='dcramer@gmail.com', url='http://github.com/coffin/coffin', packages=find_packages(), #install_requires=['Jinja2', 'django>=1.2'], classifiers=[ "Framework :: Django", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Operating System :: OS Independent", "Topic :: Software Development" ], )
import os from setuptools import setup, find_packages setup(name='Coffin', version=".".join(map(str, __import__("coffin").__version__)), description='Jinja2 adapter for Django', author='Christopher D. Leary', author_email='cdleary@gmail.com', maintainer='David Cramer', maintainer_email='dcramer@gmail.com', url='http://github.com/dcramer/coffin', packages=find_packages(), #install_requires=['Jinja2', 'django>=1.2'], classifiers=[ "Framework :: Django", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Operating System :: OS Independent", "Topic :: Software Development" ], ) Fix URL to point to a valid repoimport os from setuptools import setup, find_packages setup(name='Coffin', version=".".join(map(str, __import__("coffin").__version__)), description='Jinja2 adapter for Django', author='Christopher D. Leary', author_email='cdleary@gmail.com', maintainer='David Cramer', maintainer_email='dcramer@gmail.com', url='http://github.com/coffin/coffin', packages=find_packages(), #install_requires=['Jinja2', 'django>=1.2'], classifiers=[ "Framework :: Django", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Operating System :: OS Independent", "Topic :: Software Development" ], )
<commit_before>import os from setuptools import setup, find_packages setup(name='Coffin', version=".".join(map(str, __import__("coffin").__version__)), description='Jinja2 adapter for Django', author='Christopher D. Leary', author_email='cdleary@gmail.com', maintainer='David Cramer', maintainer_email='dcramer@gmail.com', url='http://github.com/dcramer/coffin', packages=find_packages(), #install_requires=['Jinja2', 'django>=1.2'], classifiers=[ "Framework :: Django", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Operating System :: OS Independent", "Topic :: Software Development" ], ) <commit_msg>Fix URL to point to a valid repo<commit_after>import os from setuptools import setup, find_packages setup(name='Coffin', version=".".join(map(str, __import__("coffin").__version__)), description='Jinja2 adapter for Django', author='Christopher D. Leary', author_email='cdleary@gmail.com', maintainer='David Cramer', maintainer_email='dcramer@gmail.com', url='http://github.com/coffin/coffin', packages=find_packages(), #install_requires=['Jinja2', 'django>=1.2'], classifiers=[ "Framework :: Django", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Operating System :: OS Independent", "Topic :: Software Development" ], )
3a6c5ae99b514d12835b2a81fe0f891f390ece8d
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='claripy', version='8.19.2.4', python_requires='>=3.5', packages=packages, install_requires=[ 'z3-solver==4.5.1.0.post2', 'future', 'cachetools', 'pysmt', 'cvc4-solver' ], description='An abstraction layer for constraint solvers', url='https://github.com/angr/claripy', )
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='claripy', version='8.19.2.4', python_requires='>=3.5', packages=packages, install_requires=[ 'z3-solver==4.5.1.0.post2', 'future', 'cachetools', 'pysmt', ], description='An abstraction layer for constraint solvers', url='https://github.com/angr/claripy', )
Remove the default dependency on cvc4-solver.
Remove the default dependency on cvc4-solver.
Python
bsd-2-clause
angr/claripy
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='claripy', version='8.19.2.4', python_requires='>=3.5', packages=packages, install_requires=[ 'z3-solver==4.5.1.0.post2', 'future', 'cachetools', 'pysmt', 'cvc4-solver' ], description='An abstraction layer for constraint solvers', url='https://github.com/angr/claripy', ) Remove the default dependency on cvc4-solver.
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='claripy', version='8.19.2.4', python_requires='>=3.5', packages=packages, install_requires=[ 'z3-solver==4.5.1.0.post2', 'future', 'cachetools', 'pysmt', ], description='An abstraction layer for constraint solvers', url='https://github.com/angr/claripy', )
<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='claripy', version='8.19.2.4', python_requires='>=3.5', packages=packages, install_requires=[ 'z3-solver==4.5.1.0.post2', 'future', 'cachetools', 'pysmt', 'cvc4-solver' ], description='An abstraction layer for constraint solvers', url='https://github.com/angr/claripy', ) <commit_msg>Remove the default dependency on cvc4-solver.<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='claripy', version='8.19.2.4', python_requires='>=3.5', packages=packages, install_requires=[ 'z3-solver==4.5.1.0.post2', 'future', 'cachetools', 'pysmt', ], description='An abstraction layer for constraint solvers', url='https://github.com/angr/claripy', )
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='claripy', version='8.19.2.4', python_requires='>=3.5', packages=packages, install_requires=[ 'z3-solver==4.5.1.0.post2', 'future', 'cachetools', 'pysmt', 'cvc4-solver' ], description='An abstraction layer for constraint solvers', url='https://github.com/angr/claripy', ) Remove the default dependency on cvc4-solver.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='claripy', version='8.19.2.4', python_requires='>=3.5', packages=packages, install_requires=[ 'z3-solver==4.5.1.0.post2', 'future', 'cachetools', 'pysmt', ], description='An abstraction layer for constraint solvers', url='https://github.com/angr/claripy', )
<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='claripy', version='8.19.2.4', python_requires='>=3.5', packages=packages, install_requires=[ 'z3-solver==4.5.1.0.post2', 'future', 'cachetools', 'pysmt', 'cvc4-solver' ], description='An abstraction layer for constraint solvers', url='https://github.com/angr/claripy', ) <commit_msg>Remove the default dependency on cvc4-solver.<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='claripy', version='8.19.2.4', python_requires='>=3.5', packages=packages, install_requires=[ 'z3-solver==4.5.1.0.post2', 'future', 'cachetools', 'pysmt', ], description='An abstraction layer for constraint solvers', url='https://github.com/angr/claripy', )
db1f0a09f5620bd2da188b261391e02d2d88b500
snakeeyes/blueprints/page/views.py
snakeeyes/blueprints/page/views.py
from flask import Blueprint, render_template from snakeeyes.extensions import redis page = Blueprint('page', __name__, template_folder='templates') @page.route('/') def home(): return render_template('page/home.html') @page.route('/terms') def terms(): return render_template('page/terms.html') @page.route('/privacy') def privacy(): return render_template('page/privacy.html') @page.route('/up') def up(): redis.ping() return ''
from flask import Blueprint, render_template from snakeeyes.extensions import redis page = Blueprint('page', __name__, template_folder='templates') @page.get('/') def home(): return render_template('page/home.html') @page.get('/terms') def terms(): return render_template('page/terms.html') @page.get('/privacy') def privacy(): return render_template('page/privacy.html') @page.get('/up') def up(): redis.ping() return ''
Use new Flask 2.0 .get() decorator function
Use new Flask 2.0 .get() decorator function
Python
mit
nickjj/build-a-saas-app-with-flask,nickjj/build-a-saas-app-with-flask,nickjj/build-a-saas-app-with-flask,nickjj/build-a-saas-app-with-flask
from flask import Blueprint, render_template from snakeeyes.extensions import redis page = Blueprint('page', __name__, template_folder='templates') @page.route('/') def home(): return render_template('page/home.html') @page.route('/terms') def terms(): return render_template('page/terms.html') @page.route('/privacy') def privacy(): return render_template('page/privacy.html') @page.route('/up') def up(): redis.ping() return '' Use new Flask 2.0 .get() decorator function
from flask import Blueprint, render_template from snakeeyes.extensions import redis page = Blueprint('page', __name__, template_folder='templates') @page.get('/') def home(): return render_template('page/home.html') @page.get('/terms') def terms(): return render_template('page/terms.html') @page.get('/privacy') def privacy(): return render_template('page/privacy.html') @page.get('/up') def up(): redis.ping() return ''
<commit_before>from flask import Blueprint, render_template from snakeeyes.extensions import redis page = Blueprint('page', __name__, template_folder='templates') @page.route('/') def home(): return render_template('page/home.html') @page.route('/terms') def terms(): return render_template('page/terms.html') @page.route('/privacy') def privacy(): return render_template('page/privacy.html') @page.route('/up') def up(): redis.ping() return '' <commit_msg>Use new Flask 2.0 .get() decorator function<commit_after>
from flask import Blueprint, render_template from snakeeyes.extensions import redis page = Blueprint('page', __name__, template_folder='templates') @page.get('/') def home(): return render_template('page/home.html') @page.get('/terms') def terms(): return render_template('page/terms.html') @page.get('/privacy') def privacy(): return render_template('page/privacy.html') @page.get('/up') def up(): redis.ping() return ''
from flask import Blueprint, render_template from snakeeyes.extensions import redis page = Blueprint('page', __name__, template_folder='templates') @page.route('/') def home(): return render_template('page/home.html') @page.route('/terms') def terms(): return render_template('page/terms.html') @page.route('/privacy') def privacy(): return render_template('page/privacy.html') @page.route('/up') def up(): redis.ping() return '' Use new Flask 2.0 .get() decorator functionfrom flask import Blueprint, render_template from snakeeyes.extensions import redis page = Blueprint('page', __name__, template_folder='templates') @page.get('/') def home(): return render_template('page/home.html') @page.get('/terms') def terms(): return render_template('page/terms.html') @page.get('/privacy') def privacy(): return render_template('page/privacy.html') @page.get('/up') def up(): redis.ping() return ''
<commit_before>from flask import Blueprint, render_template from snakeeyes.extensions import redis page = Blueprint('page', __name__, template_folder='templates') @page.route('/') def home(): return render_template('page/home.html') @page.route('/terms') def terms(): return render_template('page/terms.html') @page.route('/privacy') def privacy(): return render_template('page/privacy.html') @page.route('/up') def up(): redis.ping() return '' <commit_msg>Use new Flask 2.0 .get() decorator function<commit_after>from flask import Blueprint, render_template from snakeeyes.extensions import redis page = Blueprint('page', __name__, template_folder='templates') @page.get('/') def home(): return render_template('page/home.html') @page.get('/terms') def terms(): return render_template('page/terms.html') @page.get('/privacy') def privacy(): return render_template('page/privacy.html') @page.get('/up') def up(): redis.ping() return ''
affca524ec3163716a78a365ac5781ec3130ad50
smithers/smithers/conf/server.py
smithers/smithers/conf/server.py
from os import getenv GEOIP_DB_FILE = '/usr/local/share/GeoIP/GeoIP2-City.mmdb' STATSD_HOST = 'graphite1.private.phx1.mozilla.com' STATSD_PORT = 8125 STATSD_PREFIX = 'glow-workers-{}'.format(getenv('DJANGO_SERVER_ENV'))
from os import getenv GEOIP_DB_FILE = '/usr/local/share/GeoIP/GeoIP2-City.mmdb' STATSD_HOST = 'graphite1.private.phx1.mozilla.com' STATSD_PORT = 8125 STATSD_PREFIX = 'glow-workers-{}'.format(getenv('DJANGO_SERVER_ENV')) COUNTRY_MIN_SHARE = 1 # basically off
Disable country minimum share limit.
Disable country minimum share limit.
Python
mpl-2.0
almossawi/mrburns,almossawi/mrburns,almossawi/mrburns,almossawi/mrburns,mozilla/mrburns,mozilla/mrburns,mozilla/mrburns
from os import getenv GEOIP_DB_FILE = '/usr/local/share/GeoIP/GeoIP2-City.mmdb' STATSD_HOST = 'graphite1.private.phx1.mozilla.com' STATSD_PORT = 8125 STATSD_PREFIX = 'glow-workers-{}'.format(getenv('DJANGO_SERVER_ENV')) Disable country minimum share limit.
from os import getenv GEOIP_DB_FILE = '/usr/local/share/GeoIP/GeoIP2-City.mmdb' STATSD_HOST = 'graphite1.private.phx1.mozilla.com' STATSD_PORT = 8125 STATSD_PREFIX = 'glow-workers-{}'.format(getenv('DJANGO_SERVER_ENV')) COUNTRY_MIN_SHARE = 1 # basically off
<commit_before>from os import getenv GEOIP_DB_FILE = '/usr/local/share/GeoIP/GeoIP2-City.mmdb' STATSD_HOST = 'graphite1.private.phx1.mozilla.com' STATSD_PORT = 8125 STATSD_PREFIX = 'glow-workers-{}'.format(getenv('DJANGO_SERVER_ENV')) <commit_msg>Disable country minimum share limit.<commit_after>
from os import getenv GEOIP_DB_FILE = '/usr/local/share/GeoIP/GeoIP2-City.mmdb' STATSD_HOST = 'graphite1.private.phx1.mozilla.com' STATSD_PORT = 8125 STATSD_PREFIX = 'glow-workers-{}'.format(getenv('DJANGO_SERVER_ENV')) COUNTRY_MIN_SHARE = 1 # basically off
from os import getenv GEOIP_DB_FILE = '/usr/local/share/GeoIP/GeoIP2-City.mmdb' STATSD_HOST = 'graphite1.private.phx1.mozilla.com' STATSD_PORT = 8125 STATSD_PREFIX = 'glow-workers-{}'.format(getenv('DJANGO_SERVER_ENV')) Disable country minimum share limit.from os import getenv GEOIP_DB_FILE = '/usr/local/share/GeoIP/GeoIP2-City.mmdb' STATSD_HOST = 'graphite1.private.phx1.mozilla.com' STATSD_PORT = 8125 STATSD_PREFIX = 'glow-workers-{}'.format(getenv('DJANGO_SERVER_ENV')) COUNTRY_MIN_SHARE = 1 # basically off
<commit_before>from os import getenv GEOIP_DB_FILE = '/usr/local/share/GeoIP/GeoIP2-City.mmdb' STATSD_HOST = 'graphite1.private.phx1.mozilla.com' STATSD_PORT = 8125 STATSD_PREFIX = 'glow-workers-{}'.format(getenv('DJANGO_SERVER_ENV')) <commit_msg>Disable country minimum share limit.<commit_after>from os import getenv GEOIP_DB_FILE = '/usr/local/share/GeoIP/GeoIP2-City.mmdb' STATSD_HOST = 'graphite1.private.phx1.mozilla.com' STATSD_PORT = 8125 STATSD_PREFIX = 'glow-workers-{}'.format(getenv('DJANGO_SERVER_ENV')) COUNTRY_MIN_SHARE = 1 # basically off
1ee168e4cebd20d1a4f18bb477389da519b2f3be
tapiriik/messagequeue/__init__.py
tapiriik/messagequeue/__init__.py
from kombu import Connection from tapiriik.settings import RABBITMQ_BROKER_URL mq = Connection(RABBITMQ_BROKER_URL) mq.connect()
from kombu import Connection from tapiriik.settings import RABBITMQ_BROKER_URL mq = Connection(RABBITMQ_BROKER_URL, transport_options={'confirm_publish': True}) mq.connect()
Enable MQ publish confirmations for scheduler
Enable MQ publish confirmations for scheduler
Python
apache-2.0
campbellr/tapiriik,cpfair/tapiriik,cmgrote/tapiriik,abs0/tapiriik,abhijit86k/tapiriik,campbellr/tapiriik,cmgrote/tapiriik,cpfair/tapiriik,cpfair/tapiriik,brunoflores/tapiriik,brunoflores/tapiriik,cgourlay/tapiriik,brunoflores/tapiriik,cgourlay/tapiriik,mduggan/tapiriik,cpfair/tapiriik,cmgrote/tapiriik,abhijit86k/tapiriik,campbellr/tapiriik,abhijit86k/tapiriik,cgourlay/tapiriik,mduggan/tapiriik,mduggan/tapiriik,cmgrote/tapiriik,cgourlay/tapiriik,abhijit86k/tapiriik,abs0/tapiriik,campbellr/tapiriik,abs0/tapiriik,brunoflores/tapiriik,mduggan/tapiriik,abs0/tapiriik
from kombu import Connection from tapiriik.settings import RABBITMQ_BROKER_URL mq = Connection(RABBITMQ_BROKER_URL) mq.connect()Enable MQ publish confirmations for scheduler
from kombu import Connection from tapiriik.settings import RABBITMQ_BROKER_URL mq = Connection(RABBITMQ_BROKER_URL, transport_options={'confirm_publish': True}) mq.connect()
<commit_before>from kombu import Connection from tapiriik.settings import RABBITMQ_BROKER_URL mq = Connection(RABBITMQ_BROKER_URL) mq.connect()<commit_msg>Enable MQ publish confirmations for scheduler<commit_after>
from kombu import Connection from tapiriik.settings import RABBITMQ_BROKER_URL mq = Connection(RABBITMQ_BROKER_URL, transport_options={'confirm_publish': True}) mq.connect()
from kombu import Connection from tapiriik.settings import RABBITMQ_BROKER_URL mq = Connection(RABBITMQ_BROKER_URL) mq.connect()Enable MQ publish confirmations for schedulerfrom kombu import Connection from tapiriik.settings import RABBITMQ_BROKER_URL mq = Connection(RABBITMQ_BROKER_URL, transport_options={'confirm_publish': True}) mq.connect()
<commit_before>from kombu import Connection from tapiriik.settings import RABBITMQ_BROKER_URL mq = Connection(RABBITMQ_BROKER_URL) mq.connect()<commit_msg>Enable MQ publish confirmations for scheduler<commit_after>from kombu import Connection from tapiriik.settings import RABBITMQ_BROKER_URL mq = Connection(RABBITMQ_BROKER_URL, transport_options={'confirm_publish': True}) mq.connect()
b33c1b70bcb7a5303c1731cb6699466610ee54af
pyedgar/__init__.py
pyedgar/__init__.py
# -*- coding: utf-8 -*- """ pyEDGAR SEC data library. ===================================== pyEDGAR is a general purpose library for all sorts of interactions with the SEC data sources, primarily the EDGAR distribution system. Files from the SEC reside at https://www.sec.gov/Archives/edgar/data/CIK/ACCESSION.txt :copyright: © 2018 by Mac Gaulin :license: MIT, see LICENSE for more details. """ __title__ = 'pyedgar' __version__ = '0.0.3a1' __author__ = 'Mac Gaulin' __license__ = 'MIT' __copyright__ = 'Copyright 2018 Mac Gaulin' # Include top level modules from . import filing from . import downloader # Include sub-modules from . import utilities from . import exceptions from .exceptions import (InputTypeError, WrongFormType, NoFormTypeFound, NoCIKFound) # __all__ = [edgarweb, forms, localstore, plaintext, #downloader, # InputTypeError, WrongFormType, NoFormTypeFound, NoCIKFound]
# -*- coding: utf-8 -*- """ pyEDGAR SEC data library. ===================================== pyEDGAR is a general purpose library for all sorts of interactions with the SEC data sources, primarily the EDGAR distribution system. Files from the SEC reside at https://www.sec.gov/Archives/edgar/data/CIK/ACCESSION.txt :copyright: © 2018 by Mac Gaulin :license: MIT, see LICENSE for more details. """ __title__ = 'pyedgar' __version__ = '0.0.4a1' __author__ = 'Mac Gaulin' __license__ = 'MIT' __copyright__ = 'Copyright 2018 Mac Gaulin' # Include sub-modules from . import utilities from . import exceptions from .exceptions import (InputTypeError, WrongFormType, NoFormTypeFound, NoCIKFound) # __all__ = [edgarweb, forms, localstore, plaintext, #downloader, # InputTypeError, WrongFormType, NoFormTypeFound, NoCIKFound]
Remove top level imports to avoid cyclical import
Remove top level imports to avoid cyclical import
Python
mit
gaulinmp/pyedgar
# -*- coding: utf-8 -*- """ pyEDGAR SEC data library. ===================================== pyEDGAR is a general purpose library for all sorts of interactions with the SEC data sources, primarily the EDGAR distribution system. Files from the SEC reside at https://www.sec.gov/Archives/edgar/data/CIK/ACCESSION.txt :copyright: © 2018 by Mac Gaulin :license: MIT, see LICENSE for more details. """ __title__ = 'pyedgar' __version__ = '0.0.3a1' __author__ = 'Mac Gaulin' __license__ = 'MIT' __copyright__ = 'Copyright 2018 Mac Gaulin' # Include top level modules from . import filing from . import downloader # Include sub-modules from . import utilities from . import exceptions from .exceptions import (InputTypeError, WrongFormType, NoFormTypeFound, NoCIKFound) # __all__ = [edgarweb, forms, localstore, plaintext, #downloader, # InputTypeError, WrongFormType, NoFormTypeFound, NoCIKFound] Remove top level imports to avoid cyclical import
# -*- coding: utf-8 -*- """ pyEDGAR SEC data library. ===================================== pyEDGAR is a general purpose library for all sorts of interactions with the SEC data sources, primarily the EDGAR distribution system. Files from the SEC reside at https://www.sec.gov/Archives/edgar/data/CIK/ACCESSION.txt :copyright: © 2018 by Mac Gaulin :license: MIT, see LICENSE for more details. """ __title__ = 'pyedgar' __version__ = '0.0.4a1' __author__ = 'Mac Gaulin' __license__ = 'MIT' __copyright__ = 'Copyright 2018 Mac Gaulin' # Include sub-modules from . import utilities from . import exceptions from .exceptions import (InputTypeError, WrongFormType, NoFormTypeFound, NoCIKFound) # __all__ = [edgarweb, forms, localstore, plaintext, #downloader, # InputTypeError, WrongFormType, NoFormTypeFound, NoCIKFound]
<commit_before># -*- coding: utf-8 -*- """ pyEDGAR SEC data library. ===================================== pyEDGAR is a general purpose library for all sorts of interactions with the SEC data sources, primarily the EDGAR distribution system. Files from the SEC reside at https://www.sec.gov/Archives/edgar/data/CIK/ACCESSION.txt :copyright: © 2018 by Mac Gaulin :license: MIT, see LICENSE for more details. """ __title__ = 'pyedgar' __version__ = '0.0.3a1' __author__ = 'Mac Gaulin' __license__ = 'MIT' __copyright__ = 'Copyright 2018 Mac Gaulin' # Include top level modules from . import filing from . import downloader # Include sub-modules from . import utilities from . import exceptions from .exceptions import (InputTypeError, WrongFormType, NoFormTypeFound, NoCIKFound) # __all__ = [edgarweb, forms, localstore, plaintext, #downloader, # InputTypeError, WrongFormType, NoFormTypeFound, NoCIKFound] <commit_msg>Remove top level imports to avoid cyclical import<commit_after>
# -*- coding: utf-8 -*- """ pyEDGAR SEC data library. ===================================== pyEDGAR is a general purpose library for all sorts of interactions with the SEC data sources, primarily the EDGAR distribution system. Files from the SEC reside at https://www.sec.gov/Archives/edgar/data/CIK/ACCESSION.txt :copyright: © 2018 by Mac Gaulin :license: MIT, see LICENSE for more details. """ __title__ = 'pyedgar' __version__ = '0.0.4a1' __author__ = 'Mac Gaulin' __license__ = 'MIT' __copyright__ = 'Copyright 2018 Mac Gaulin' # Include sub-modules from . import utilities from . import exceptions from .exceptions import (InputTypeError, WrongFormType, NoFormTypeFound, NoCIKFound) # __all__ = [edgarweb, forms, localstore, plaintext, #downloader, # InputTypeError, WrongFormType, NoFormTypeFound, NoCIKFound]
# -*- coding: utf-8 -*- """ pyEDGAR SEC data library. ===================================== pyEDGAR is a general purpose library for all sorts of interactions with the SEC data sources, primarily the EDGAR distribution system. Files from the SEC reside at https://www.sec.gov/Archives/edgar/data/CIK/ACCESSION.txt :copyright: © 2018 by Mac Gaulin :license: MIT, see LICENSE for more details. """ __title__ = 'pyedgar' __version__ = '0.0.3a1' __author__ = 'Mac Gaulin' __license__ = 'MIT' __copyright__ = 'Copyright 2018 Mac Gaulin' # Include top level modules from . import filing from . import downloader # Include sub-modules from . import utilities from . import exceptions from .exceptions import (InputTypeError, WrongFormType, NoFormTypeFound, NoCIKFound) # __all__ = [edgarweb, forms, localstore, plaintext, #downloader, # InputTypeError, WrongFormType, NoFormTypeFound, NoCIKFound] Remove top level imports to avoid cyclical import# -*- coding: utf-8 -*- """ pyEDGAR SEC data library. ===================================== pyEDGAR is a general purpose library for all sorts of interactions with the SEC data sources, primarily the EDGAR distribution system. Files from the SEC reside at https://www.sec.gov/Archives/edgar/data/CIK/ACCESSION.txt :copyright: © 2018 by Mac Gaulin :license: MIT, see LICENSE for more details. """ __title__ = 'pyedgar' __version__ = '0.0.4a1' __author__ = 'Mac Gaulin' __license__ = 'MIT' __copyright__ = 'Copyright 2018 Mac Gaulin' # Include sub-modules from . import utilities from . import exceptions from .exceptions import (InputTypeError, WrongFormType, NoFormTypeFound, NoCIKFound) # __all__ = [edgarweb, forms, localstore, plaintext, #downloader, # InputTypeError, WrongFormType, NoFormTypeFound, NoCIKFound]
<commit_before># -*- coding: utf-8 -*- """ pyEDGAR SEC data library. ===================================== pyEDGAR is a general purpose library for all sorts of interactions with the SEC data sources, primarily the EDGAR distribution system. Files from the SEC reside at https://www.sec.gov/Archives/edgar/data/CIK/ACCESSION.txt :copyright: © 2018 by Mac Gaulin :license: MIT, see LICENSE for more details. """ __title__ = 'pyedgar' __version__ = '0.0.3a1' __author__ = 'Mac Gaulin' __license__ = 'MIT' __copyright__ = 'Copyright 2018 Mac Gaulin' # Include top level modules from . import filing from . import downloader # Include sub-modules from . import utilities from . import exceptions from .exceptions import (InputTypeError, WrongFormType, NoFormTypeFound, NoCIKFound) # __all__ = [edgarweb, forms, localstore, plaintext, #downloader, # InputTypeError, WrongFormType, NoFormTypeFound, NoCIKFound] <commit_msg>Remove top level imports to avoid cyclical import<commit_after># -*- coding: utf-8 -*- """ pyEDGAR SEC data library. ===================================== pyEDGAR is a general purpose library for all sorts of interactions with the SEC data sources, primarily the EDGAR distribution system. Files from the SEC reside at https://www.sec.gov/Archives/edgar/data/CIK/ACCESSION.txt :copyright: © 2018 by Mac Gaulin :license: MIT, see LICENSE for more details. """ __title__ = 'pyedgar' __version__ = '0.0.4a1' __author__ = 'Mac Gaulin' __license__ = 'MIT' __copyright__ = 'Copyright 2018 Mac Gaulin' # Include sub-modules from . import utilities from . import exceptions from .exceptions import (InputTypeError, WrongFormType, NoFormTypeFound, NoCIKFound) # __all__ = [edgarweb, forms, localstore, plaintext, #downloader, # InputTypeError, WrongFormType, NoFormTypeFound, NoCIKFound]
d757ec338478ac67f984c1b7aa898f1c374b2a09
openprescribing/frontend/tests/commands/test_import_ccg_boundaries.py
openprescribing/frontend/tests/commands/test_import_ccg_boundaries.py
from django.core.management import call_command from django.test import TestCase from frontend.models import PCT def setUpModule(): call_command('loaddata', 'frontend/tests/fixtures/ccgs.json', verbosity=0) def tearDownModule(): call_command('flush', verbosity=0, interactive=False) class CommandsTestCase(TestCase): def test_import_ccg_boundaries(self): args = [] opts = { 'filename': ('frontend/tests/fixtures/commands/' 'CCG_BSC_Apr2015.TAB') } call_command('import_ccg_boundaries', *args, **opts) pct = PCT.objects.get(code='03Q') self.assertEqual(pct.boundary.centroid.x, -1.0307530606980588)
from django.core.management import call_command from django.test import TestCase from frontend.models import PCT def setUpModule(): call_command('loaddata', 'frontend/tests/fixtures/ccgs.json', verbosity=0) def tearDownModule(): call_command('flush', verbosity=0, interactive=False) class CommandsTestCase(TestCase): def test_import_ccg_boundaries(self): args = [] opts = { 'filename': ('frontend/tests/fixtures/commands/' 'CCG_BSC_Apr2015.TAB') } call_command('import_ccg_boundaries', *args, **opts) pct = PCT.objects.get(code='03Q') self.assertAlmostEqual(pct.boundary.centroid.x, -1.0307530606980588)
Use almostEqual for comparing geo coordinates
Use almostEqual for comparing geo coordinates An upgrade in one of the underlying libraries has shifted the numbers very slightly.
Python
mit
annapowellsmith/openpresc,annapowellsmith/openpresc,annapowellsmith/openpresc,ebmdatalab/openprescribing,ebmdatalab/openprescribing,ebmdatalab/openprescribing,ebmdatalab/openprescribing,annapowellsmith/openpresc
from django.core.management import call_command from django.test import TestCase from frontend.models import PCT def setUpModule(): call_command('loaddata', 'frontend/tests/fixtures/ccgs.json', verbosity=0) def tearDownModule(): call_command('flush', verbosity=0, interactive=False) class CommandsTestCase(TestCase): def test_import_ccg_boundaries(self): args = [] opts = { 'filename': ('frontend/tests/fixtures/commands/' 'CCG_BSC_Apr2015.TAB') } call_command('import_ccg_boundaries', *args, **opts) pct = PCT.objects.get(code='03Q') self.assertEqual(pct.boundary.centroid.x, -1.0307530606980588) Use almostEqual for comparing geo coordinates An upgrade in one of the underlying libraries has shifted the numbers very slightly.
from django.core.management import call_command from django.test import TestCase from frontend.models import PCT def setUpModule(): call_command('loaddata', 'frontend/tests/fixtures/ccgs.json', verbosity=0) def tearDownModule(): call_command('flush', verbosity=0, interactive=False) class CommandsTestCase(TestCase): def test_import_ccg_boundaries(self): args = [] opts = { 'filename': ('frontend/tests/fixtures/commands/' 'CCG_BSC_Apr2015.TAB') } call_command('import_ccg_boundaries', *args, **opts) pct = PCT.objects.get(code='03Q') self.assertAlmostEqual(pct.boundary.centroid.x, -1.0307530606980588)
<commit_before>from django.core.management import call_command from django.test import TestCase from frontend.models import PCT def setUpModule(): call_command('loaddata', 'frontend/tests/fixtures/ccgs.json', verbosity=0) def tearDownModule(): call_command('flush', verbosity=0, interactive=False) class CommandsTestCase(TestCase): def test_import_ccg_boundaries(self): args = [] opts = { 'filename': ('frontend/tests/fixtures/commands/' 'CCG_BSC_Apr2015.TAB') } call_command('import_ccg_boundaries', *args, **opts) pct = PCT.objects.get(code='03Q') self.assertEqual(pct.boundary.centroid.x, -1.0307530606980588) <commit_msg>Use almostEqual for comparing geo coordinates An upgrade in one of the underlying libraries has shifted the numbers very slightly.<commit_after>
from django.core.management import call_command from django.test import TestCase from frontend.models import PCT def setUpModule(): call_command('loaddata', 'frontend/tests/fixtures/ccgs.json', verbosity=0) def tearDownModule(): call_command('flush', verbosity=0, interactive=False) class CommandsTestCase(TestCase): def test_import_ccg_boundaries(self): args = [] opts = { 'filename': ('frontend/tests/fixtures/commands/' 'CCG_BSC_Apr2015.TAB') } call_command('import_ccg_boundaries', *args, **opts) pct = PCT.objects.get(code='03Q') self.assertAlmostEqual(pct.boundary.centroid.x, -1.0307530606980588)
from django.core.management import call_command from django.test import TestCase from frontend.models import PCT def setUpModule(): call_command('loaddata', 'frontend/tests/fixtures/ccgs.json', verbosity=0) def tearDownModule(): call_command('flush', verbosity=0, interactive=False) class CommandsTestCase(TestCase): def test_import_ccg_boundaries(self): args = [] opts = { 'filename': ('frontend/tests/fixtures/commands/' 'CCG_BSC_Apr2015.TAB') } call_command('import_ccg_boundaries', *args, **opts) pct = PCT.objects.get(code='03Q') self.assertEqual(pct.boundary.centroid.x, -1.0307530606980588) Use almostEqual for comparing geo coordinates An upgrade in one of the underlying libraries has shifted the numbers very slightly.from django.core.management import call_command from django.test import TestCase from frontend.models import PCT def setUpModule(): call_command('loaddata', 'frontend/tests/fixtures/ccgs.json', verbosity=0) def tearDownModule(): call_command('flush', verbosity=0, interactive=False) class CommandsTestCase(TestCase): def test_import_ccg_boundaries(self): args = [] opts = { 'filename': ('frontend/tests/fixtures/commands/' 'CCG_BSC_Apr2015.TAB') } call_command('import_ccg_boundaries', *args, **opts) pct = PCT.objects.get(code='03Q') self.assertAlmostEqual(pct.boundary.centroid.x, -1.0307530606980588)
<commit_before>from django.core.management import call_command from django.test import TestCase from frontend.models import PCT def setUpModule(): call_command('loaddata', 'frontend/tests/fixtures/ccgs.json', verbosity=0) def tearDownModule(): call_command('flush', verbosity=0, interactive=False) class CommandsTestCase(TestCase): def test_import_ccg_boundaries(self): args = [] opts = { 'filename': ('frontend/tests/fixtures/commands/' 'CCG_BSC_Apr2015.TAB') } call_command('import_ccg_boundaries', *args, **opts) pct = PCT.objects.get(code='03Q') self.assertEqual(pct.boundary.centroid.x, -1.0307530606980588) <commit_msg>Use almostEqual for comparing geo coordinates An upgrade in one of the underlying libraries has shifted the numbers very slightly.<commit_after>from django.core.management import call_command from django.test import TestCase from frontend.models import PCT def setUpModule(): call_command('loaddata', 'frontend/tests/fixtures/ccgs.json', verbosity=0) def tearDownModule(): call_command('flush', verbosity=0, interactive=False) class CommandsTestCase(TestCase): def test_import_ccg_boundaries(self): args = [] opts = { 'filename': ('frontend/tests/fixtures/commands/' 'CCG_BSC_Apr2015.TAB') } call_command('import_ccg_boundaries', *args, **opts) pct = PCT.objects.get(code='03Q') self.assertAlmostEqual(pct.boundary.centroid.x, -1.0307530606980588)
af6c260bb27f6b1c5f56ffbd0616b30b9afdbd7b
tests/user_utils_test.py
tests/user_utils_test.py
"""Tests for user utility functions.""" from drudge import Vec, sum_, prod_ from drudge.term import parse_terms def test_sum_prod_utility(): """Test the summation and product utility.""" v = Vec('v') vecs = [v[i] for i in range(3)] v0, v1, v2 = vecs # The proxy object cannot be directly compared. assert parse_terms(sum_(vecs)) == parse_terms(v0 + v1 + v2) assert parse_terms(prod_(vecs)) == parse_terms(v0 * v1 * v2) assert sum_([]) == 0 assert prod_([]) == 1
"""Tests for user utility functions.""" import time import types from unittest.mock import MagicMock from drudge import Vec, sum_, prod_, TimeStamper from drudge.term import parse_terms def test_sum_prod_utility(): """Test the summation and product utility.""" v = Vec('v') vecs = [v[i] for i in range(3)] v0, v1, v2 = vecs # The proxy object cannot be directly compared. assert parse_terms(sum_(vecs)) == parse_terms(v0 + v1 + v2) assert parse_terms(prod_(vecs)) == parse_terms(v0 * v1 * v2) assert sum_([]) == 0 assert prod_([]) == 1 def test_time_stamper(): """Test the time stamper utility.""" tensor = types.SimpleNamespace(n_terms=2, cache=MagicMock()) stamper = TimeStamper() time.sleep(0.5) res = stamper.stamp('Nothing') assert res.startswith('Nothing done') assert float(res.split()[-2]) - 0.5 < 0.1 time.sleep(0.5) res = stamper.stamp('Tensor', tensor) assert res.startswith('Tensor done, 2 terms') assert float(res.split()[-2]) - 0.5 < 0.1 tensor.cache.assert_called_once_with()
Add tests for the time stamping facility
Add tests for the time stamping facility
Python
mit
tschijnmo/drudge,tschijnmo/drudge,tschijnmo/drudge
"""Tests for user utility functions.""" from drudge import Vec, sum_, prod_ from drudge.term import parse_terms def test_sum_prod_utility(): """Test the summation and product utility.""" v = Vec('v') vecs = [v[i] for i in range(3)] v0, v1, v2 = vecs # The proxy object cannot be directly compared. assert parse_terms(sum_(vecs)) == parse_terms(v0 + v1 + v2) assert parse_terms(prod_(vecs)) == parse_terms(v0 * v1 * v2) assert sum_([]) == 0 assert prod_([]) == 1 Add tests for the time stamping facility
"""Tests for user utility functions.""" import time import types from unittest.mock import MagicMock from drudge import Vec, sum_, prod_, TimeStamper from drudge.term import parse_terms def test_sum_prod_utility(): """Test the summation and product utility.""" v = Vec('v') vecs = [v[i] for i in range(3)] v0, v1, v2 = vecs # The proxy object cannot be directly compared. assert parse_terms(sum_(vecs)) == parse_terms(v0 + v1 + v2) assert parse_terms(prod_(vecs)) == parse_terms(v0 * v1 * v2) assert sum_([]) == 0 assert prod_([]) == 1 def test_time_stamper(): """Test the time stamper utility.""" tensor = types.SimpleNamespace(n_terms=2, cache=MagicMock()) stamper = TimeStamper() time.sleep(0.5) res = stamper.stamp('Nothing') assert res.startswith('Nothing done') assert float(res.split()[-2]) - 0.5 < 0.1 time.sleep(0.5) res = stamper.stamp('Tensor', tensor) assert res.startswith('Tensor done, 2 terms') assert float(res.split()[-2]) - 0.5 < 0.1 tensor.cache.assert_called_once_with()
<commit_before>"""Tests for user utility functions.""" from drudge import Vec, sum_, prod_ from drudge.term import parse_terms def test_sum_prod_utility(): """Test the summation and product utility.""" v = Vec('v') vecs = [v[i] for i in range(3)] v0, v1, v2 = vecs # The proxy object cannot be directly compared. assert parse_terms(sum_(vecs)) == parse_terms(v0 + v1 + v2) assert parse_terms(prod_(vecs)) == parse_terms(v0 * v1 * v2) assert sum_([]) == 0 assert prod_([]) == 1 <commit_msg>Add tests for the time stamping facility<commit_after>
"""Tests for user utility functions.""" import time import types from unittest.mock import MagicMock from drudge import Vec, sum_, prod_, TimeStamper from drudge.term import parse_terms def test_sum_prod_utility(): """Test the summation and product utility.""" v = Vec('v') vecs = [v[i] for i in range(3)] v0, v1, v2 = vecs # The proxy object cannot be directly compared. assert parse_terms(sum_(vecs)) == parse_terms(v0 + v1 + v2) assert parse_terms(prod_(vecs)) == parse_terms(v0 * v1 * v2) assert sum_([]) == 0 assert prod_([]) == 1 def test_time_stamper(): """Test the time stamper utility.""" tensor = types.SimpleNamespace(n_terms=2, cache=MagicMock()) stamper = TimeStamper() time.sleep(0.5) res = stamper.stamp('Nothing') assert res.startswith('Nothing done') assert float(res.split()[-2]) - 0.5 < 0.1 time.sleep(0.5) res = stamper.stamp('Tensor', tensor) assert res.startswith('Tensor done, 2 terms') assert float(res.split()[-2]) - 0.5 < 0.1 tensor.cache.assert_called_once_with()
"""Tests for user utility functions.""" from drudge import Vec, sum_, prod_ from drudge.term import parse_terms def test_sum_prod_utility(): """Test the summation and product utility.""" v = Vec('v') vecs = [v[i] for i in range(3)] v0, v1, v2 = vecs # The proxy object cannot be directly compared. assert parse_terms(sum_(vecs)) == parse_terms(v0 + v1 + v2) assert parse_terms(prod_(vecs)) == parse_terms(v0 * v1 * v2) assert sum_([]) == 0 assert prod_([]) == 1 Add tests for the time stamping facility"""Tests for user utility functions.""" import time import types from unittest.mock import MagicMock from drudge import Vec, sum_, prod_, TimeStamper from drudge.term import parse_terms def test_sum_prod_utility(): """Test the summation and product utility.""" v = Vec('v') vecs = [v[i] for i in range(3)] v0, v1, v2 = vecs # The proxy object cannot be directly compared. assert parse_terms(sum_(vecs)) == parse_terms(v0 + v1 + v2) assert parse_terms(prod_(vecs)) == parse_terms(v0 * v1 * v2) assert sum_([]) == 0 assert prod_([]) == 1 def test_time_stamper(): """Test the time stamper utility.""" tensor = types.SimpleNamespace(n_terms=2, cache=MagicMock()) stamper = TimeStamper() time.sleep(0.5) res = stamper.stamp('Nothing') assert res.startswith('Nothing done') assert float(res.split()[-2]) - 0.5 < 0.1 time.sleep(0.5) res = stamper.stamp('Tensor', tensor) assert res.startswith('Tensor done, 2 terms') assert float(res.split()[-2]) - 0.5 < 0.1 tensor.cache.assert_called_once_with()
<commit_before>"""Tests for user utility functions.""" from drudge import Vec, sum_, prod_ from drudge.term import parse_terms def test_sum_prod_utility(): """Test the summation and product utility.""" v = Vec('v') vecs = [v[i] for i in range(3)] v0, v1, v2 = vecs # The proxy object cannot be directly compared. assert parse_terms(sum_(vecs)) == parse_terms(v0 + v1 + v2) assert parse_terms(prod_(vecs)) == parse_terms(v0 * v1 * v2) assert sum_([]) == 0 assert prod_([]) == 1 <commit_msg>Add tests for the time stamping facility<commit_after>"""Tests for user utility functions.""" import time import types from unittest.mock import MagicMock from drudge import Vec, sum_, prod_, TimeStamper from drudge.term import parse_terms def test_sum_prod_utility(): """Test the summation and product utility.""" v = Vec('v') vecs = [v[i] for i in range(3)] v0, v1, v2 = vecs # The proxy object cannot be directly compared. assert parse_terms(sum_(vecs)) == parse_terms(v0 + v1 + v2) assert parse_terms(prod_(vecs)) == parse_terms(v0 * v1 * v2) assert sum_([]) == 0 assert prod_([]) == 1 def test_time_stamper(): """Test the time stamper utility.""" tensor = types.SimpleNamespace(n_terms=2, cache=MagicMock()) stamper = TimeStamper() time.sleep(0.5) res = stamper.stamp('Nothing') assert res.startswith('Nothing done') assert float(res.split()[-2]) - 0.5 < 0.1 time.sleep(0.5) res = stamper.stamp('Tensor', tensor) assert res.startswith('Tensor done, 2 terms') assert float(res.split()[-2]) - 0.5 < 0.1 tensor.cache.assert_called_once_with()
c22fb8ce9eafa2f777ce273ef2497fc1983adb1c
rororo/exceptions.py
rororo/exceptions.py
""" ================= rororo.exceptions ================= All exceptions from WebOb, routr and rororo in one place. """ from string import Template from routr import exc as routr_exceptions from schemify import ValidationError from webob import exc as webob_exceptions class HTTPServerError(webob_exceptions.HTTPServerError): """ Modify server errors to print tracebacks in debug mode. """ body_template_obj = Template("""${explanation}<br /><br /> <pre>${detail}</pre> ${html_comment} """) class ImproperlyConfigured(Exception): """ Class for improperly configured errors. """ class NoRendererFound(ValueError): """ Prettify message for "No renderer found" exception. """ def __init__(self, renderer): message = 'Renderer {!r} does not exist.'.format(renderer) super(NoRendererFound, self).__init__(message) def inject(module): """ Inject all exceptions from module to global namespace. """ for attr in dir(module): if attr.startswith('_') or attr in globals(): continue value = getattr(module, attr) if isinstance(value, type) and issubclass(value, Exception): globals()[value.__name__] = value inject(routr_exceptions) inject(webob_exceptions)
""" ================= rororo.exceptions ================= All exceptions from WebOb, routr and rororo in one place. """ from string import Template from routr import exc as routr_exceptions from schemify import ValidationError from webob import exc as webob_exceptions class HTTPServerError(webob_exceptions.HTTPServerError): """ Modify server errors to print tracebacks in debug mode. """ body_template_obj = Template("""${explanation}<br /><br /> <pre>${detail}</pre> ${html_comment} """) class ImproperlyConfigured(Exception): """ Class for improperly configured errors. """ class NoRendererFound(ValueError): """ Prettify message for "No renderer found" exception. """ def __init__(self, renderer): message = 'Renderer {!r} does not exist.'.format(renderer) super(NoRendererFound, self).__init__(message) class ValidationError(Exception): """ Class for validation errors. This is very basic class, no specific outputs or other things which happened somewhere else. Just put an error message and then print it in template for example. """ def inject(module): """ Inject all exceptions from module to global namespace. """ for attr in dir(module): if attr.startswith('_') or attr in globals(): continue value = getattr(module, attr) if isinstance(value, type) and issubclass(value, Exception): globals()[value.__name__] = value inject(routr_exceptions) inject(webob_exceptions)
Add base ``ValidationError`` exception class.
Add base ``ValidationError`` exception class.
Python
bsd-3-clause
playpauseandstop/rororo,playpauseandstop/rororo
""" ================= rororo.exceptions ================= All exceptions from WebOb, routr and rororo in one place. """ from string import Template from routr import exc as routr_exceptions from schemify import ValidationError from webob import exc as webob_exceptions class HTTPServerError(webob_exceptions.HTTPServerError): """ Modify server errors to print tracebacks in debug mode. """ body_template_obj = Template("""${explanation}<br /><br /> <pre>${detail}</pre> ${html_comment} """) class ImproperlyConfigured(Exception): """ Class for improperly configured errors. """ class NoRendererFound(ValueError): """ Prettify message for "No renderer found" exception. """ def __init__(self, renderer): message = 'Renderer {!r} does not exist.'.format(renderer) super(NoRendererFound, self).__init__(message) def inject(module): """ Inject all exceptions from module to global namespace. """ for attr in dir(module): if attr.startswith('_') or attr in globals(): continue value = getattr(module, attr) if isinstance(value, type) and issubclass(value, Exception): globals()[value.__name__] = value inject(routr_exceptions) inject(webob_exceptions) Add base ``ValidationError`` exception class.
""" ================= rororo.exceptions ================= All exceptions from WebOb, routr and rororo in one place. """ from string import Template from routr import exc as routr_exceptions from schemify import ValidationError from webob import exc as webob_exceptions class HTTPServerError(webob_exceptions.HTTPServerError): """ Modify server errors to print tracebacks in debug mode. """ body_template_obj = Template("""${explanation}<br /><br /> <pre>${detail}</pre> ${html_comment} """) class ImproperlyConfigured(Exception): """ Class for improperly configured errors. """ class NoRendererFound(ValueError): """ Prettify message for "No renderer found" exception. """ def __init__(self, renderer): message = 'Renderer {!r} does not exist.'.format(renderer) super(NoRendererFound, self).__init__(message) class ValidationError(Exception): """ Class for validation errors. This is very basic class, no specific outputs or other things which happened somewhere else. Just put an error message and then print it in template for example. """ def inject(module): """ Inject all exceptions from module to global namespace. """ for attr in dir(module): if attr.startswith('_') or attr in globals(): continue value = getattr(module, attr) if isinstance(value, type) and issubclass(value, Exception): globals()[value.__name__] = value inject(routr_exceptions) inject(webob_exceptions)
<commit_before>""" ================= rororo.exceptions ================= All exceptions from WebOb, routr and rororo in one place. """ from string import Template from routr import exc as routr_exceptions from schemify import ValidationError from webob import exc as webob_exceptions class HTTPServerError(webob_exceptions.HTTPServerError): """ Modify server errors to print tracebacks in debug mode. """ body_template_obj = Template("""${explanation}<br /><br /> <pre>${detail}</pre> ${html_comment} """) class ImproperlyConfigured(Exception): """ Class for improperly configured errors. """ class NoRendererFound(ValueError): """ Prettify message for "No renderer found" exception. """ def __init__(self, renderer): message = 'Renderer {!r} does not exist.'.format(renderer) super(NoRendererFound, self).__init__(message) def inject(module): """ Inject all exceptions from module to global namespace. """ for attr in dir(module): if attr.startswith('_') or attr in globals(): continue value = getattr(module, attr) if isinstance(value, type) and issubclass(value, Exception): globals()[value.__name__] = value inject(routr_exceptions) inject(webob_exceptions) <commit_msg>Add base ``ValidationError`` exception class.<commit_after>
""" ================= rororo.exceptions ================= All exceptions from WebOb, routr and rororo in one place. """ from string import Template from routr import exc as routr_exceptions from schemify import ValidationError from webob import exc as webob_exceptions class HTTPServerError(webob_exceptions.HTTPServerError): """ Modify server errors to print tracebacks in debug mode. """ body_template_obj = Template("""${explanation}<br /><br /> <pre>${detail}</pre> ${html_comment} """) class ImproperlyConfigured(Exception): """ Class for improperly configured errors. """ class NoRendererFound(ValueError): """ Prettify message for "No renderer found" exception. """ def __init__(self, renderer): message = 'Renderer {!r} does not exist.'.format(renderer) super(NoRendererFound, self).__init__(message) class ValidationError(Exception): """ Class for validation errors. This is very basic class, no specific outputs or other things which happened somewhere else. Just put an error message and then print it in template for example. """ def inject(module): """ Inject all exceptions from module to global namespace. """ for attr in dir(module): if attr.startswith('_') or attr in globals(): continue value = getattr(module, attr) if isinstance(value, type) and issubclass(value, Exception): globals()[value.__name__] = value inject(routr_exceptions) inject(webob_exceptions)
""" ================= rororo.exceptions ================= All exceptions from WebOb, routr and rororo in one place. """ from string import Template from routr import exc as routr_exceptions from schemify import ValidationError from webob import exc as webob_exceptions class HTTPServerError(webob_exceptions.HTTPServerError): """ Modify server errors to print tracebacks in debug mode. """ body_template_obj = Template("""${explanation}<br /><br /> <pre>${detail}</pre> ${html_comment} """) class ImproperlyConfigured(Exception): """ Class for improperly configured errors. """ class NoRendererFound(ValueError): """ Prettify message for "No renderer found" exception. """ def __init__(self, renderer): message = 'Renderer {!r} does not exist.'.format(renderer) super(NoRendererFound, self).__init__(message) def inject(module): """ Inject all exceptions from module to global namespace. """ for attr in dir(module): if attr.startswith('_') or attr in globals(): continue value = getattr(module, attr) if isinstance(value, type) and issubclass(value, Exception): globals()[value.__name__] = value inject(routr_exceptions) inject(webob_exceptions) Add base ``ValidationError`` exception class.""" ================= rororo.exceptions ================= All exceptions from WebOb, routr and rororo in one place. """ from string import Template from routr import exc as routr_exceptions from schemify import ValidationError from webob import exc as webob_exceptions class HTTPServerError(webob_exceptions.HTTPServerError): """ Modify server errors to print tracebacks in debug mode. """ body_template_obj = Template("""${explanation}<br /><br /> <pre>${detail}</pre> ${html_comment} """) class ImproperlyConfigured(Exception): """ Class for improperly configured errors. """ class NoRendererFound(ValueError): """ Prettify message for "No renderer found" exception. """ def __init__(self, renderer): message = 'Renderer {!r} does not exist.'.format(renderer) super(NoRendererFound, self).__init__(message) class ValidationError(Exception): """ Class for validation errors. This is very basic class, no specific outputs or other things which happened somewhere else. Just put an error message and then print it in template for example. """ def inject(module): """ Inject all exceptions from module to global namespace. """ for attr in dir(module): if attr.startswith('_') or attr in globals(): continue value = getattr(module, attr) if isinstance(value, type) and issubclass(value, Exception): globals()[value.__name__] = value inject(routr_exceptions) inject(webob_exceptions)
<commit_before>""" ================= rororo.exceptions ================= All exceptions from WebOb, routr and rororo in one place. """ from string import Template from routr import exc as routr_exceptions from schemify import ValidationError from webob import exc as webob_exceptions class HTTPServerError(webob_exceptions.HTTPServerError): """ Modify server errors to print tracebacks in debug mode. """ body_template_obj = Template("""${explanation}<br /><br /> <pre>${detail}</pre> ${html_comment} """) class ImproperlyConfigured(Exception): """ Class for improperly configured errors. """ class NoRendererFound(ValueError): """ Prettify message for "No renderer found" exception. """ def __init__(self, renderer): message = 'Renderer {!r} does not exist.'.format(renderer) super(NoRendererFound, self).__init__(message) def inject(module): """ Inject all exceptions from module to global namespace. """ for attr in dir(module): if attr.startswith('_') or attr in globals(): continue value = getattr(module, attr) if isinstance(value, type) and issubclass(value, Exception): globals()[value.__name__] = value inject(routr_exceptions) inject(webob_exceptions) <commit_msg>Add base ``ValidationError`` exception class.<commit_after>""" ================= rororo.exceptions ================= All exceptions from WebOb, routr and rororo in one place. """ from string import Template from routr import exc as routr_exceptions from schemify import ValidationError from webob import exc as webob_exceptions class HTTPServerError(webob_exceptions.HTTPServerError): """ Modify server errors to print tracebacks in debug mode. """ body_template_obj = Template("""${explanation}<br /><br /> <pre>${detail}</pre> ${html_comment} """) class ImproperlyConfigured(Exception): """ Class for improperly configured errors. """ class NoRendererFound(ValueError): """ Prettify message for "No renderer found" exception. """ def __init__(self, renderer): message = 'Renderer {!r} does not exist.'.format(renderer) super(NoRendererFound, self).__init__(message) class ValidationError(Exception): """ Class for validation errors. This is very basic class, no specific outputs or other things which happened somewhere else. Just put an error message and then print it in template for example. """ def inject(module): """ Inject all exceptions from module to global namespace. """ for attr in dir(module): if attr.startswith('_') or attr in globals(): continue value = getattr(module, attr) if isinstance(value, type) and issubclass(value, Exception): globals()[value.__name__] = value inject(routr_exceptions) inject(webob_exceptions)
ab19ad1810855db9beea913e93b483fcf3e73a07
src/sentry/api/authentication.py
src/sentry/api/authentication.py
from django.contrib.auth.models import AnonymousUser from rest_framework.authentication import BasicAuthentication from rest_framework.exceptions import AuthenticationFailed from sentry.models import ProjectKey class KeyAuthentication(BasicAuthentication): def authenticate_credentials(self, userid, password): try: pk = ProjectKey.objects.get_from_cache(public_key=userid) except ProjectKey.DoesNotExist: raise AuthenticationFailed('Invalid api key') if pk.secret_key != password: raise AuthenticationFailed('Invalid api key') if not pk.roles.api: raise AuthenticationFailed('Key does not allow API access') return (AnonymousUser(), pk) def authenticate_header(self, request): return 'xBasic realm="%s"' % self.www_authenticate_realm class QuietBasicAuthentication(BasicAuthentication): def authenticate_header(self, request): return 'xBasic realm="%s"' % self.www_authenticate_realm
from django.contrib.auth.models import AnonymousUser from django.utils.crypto import constant_time_compare from rest_framework.authentication import BasicAuthentication from rest_framework.exceptions import AuthenticationFailed from sentry.models import ProjectKey class KeyAuthentication(BasicAuthentication): def authenticate_credentials(self, userid, password): try: pk = ProjectKey.objects.get_from_cache(public_key=userid) except ProjectKey.DoesNotExist: raise AuthenticationFailed('Invalid api key') if not constant_time_compare(pk.secret_key, password): raise AuthenticationFailed('Invalid api key') if not pk.roles.api: raise AuthenticationFailed('Key does not allow API access') return (AnonymousUser(), pk) def authenticate_header(self, request): return 'xBasic realm="%s"' % self.www_authenticate_realm class QuietBasicAuthentication(BasicAuthentication): def authenticate_header(self, request): return 'xBasic realm="%s"' % self.www_authenticate_realm
Use a constant time comparison in the API auth
Use a constant time comparison in the API auth
Python
bsd-3-clause
JamesMura/sentry,Kryz/sentry,jean/sentry,Natim/sentry,mvaled/sentry,alexm92/sentry,Kryz/sentry,hongliang5623/sentry,JamesMura/sentry,wong2/sentry,drcapulet/sentry,felixbuenemann/sentry,korealerts1/sentry,ifduyue/sentry,fotinakis/sentry,fotinakis/sentry,llonchj/sentry,nicholasserra/sentry,looker/sentry,pauloschilling/sentry,camilonova/sentry,BuildingLink/sentry,daevaorn/sentry,jean/sentry,nicholasserra/sentry,boneyao/sentry,jokey2k/sentry,pauloschilling/sentry,drcapulet/sentry,wujuguang/sentry,wong2/sentry,argonemyth/sentry,imankulov/sentry,daevaorn/sentry,fotinakis/sentry,gencer/sentry,BuildingLink/sentry,mvaled/sentry,TedaLIEz/sentry,BayanGroup/sentry,JTCunning/sentry,JackDanger/sentry,zenefits/sentry,korealerts1/sentry,wujuguang/sentry,jean/sentry,BuildingLink/sentry,vperron/sentry,1tush/sentry,songyi199111/sentry,drcapulet/sentry,JackDanger/sentry,fuziontech/sentry,fuziontech/sentry,jean/sentry,ifduyue/sentry,zenefits/sentry,kevinlondon/sentry,songyi199111/sentry,gg7/sentry,daevaorn/sentry,felixbuenemann/sentry,vperron/sentry,looker/sentry,Natim/sentry,zenefits/sentry,beeftornado/sentry,alexm92/sentry,mitsuhiko/sentry,mvaled/sentry,BuildingLink/sentry,hongliang5623/sentry,zenefits/sentry,wujuguang/sentry,Kryz/sentry,gencer/sentry,mvaled/sentry,1tush/sentry,songyi199111/sentry,gg7/sentry,looker/sentry,jokey2k/sentry,fuziontech/sentry,JamesMura/sentry,felixbuenemann/sentry,JamesMura/sentry,hongliang5623/sentry,ewdurbin/sentry,Natim/sentry,ewdurbin/sentry,boneyao/sentry,kevinastone/sentry,korealerts1/sentry,gg7/sentry,JamesMura/sentry,ifduyue/sentry,ewdurbin/sentry,kevinastone/sentry,wong2/sentry,jean/sentry,looker/sentry,zenefits/sentry,pauloschilling/sentry,fotinakis/sentry,camilonova/sentry,JTCunning/sentry,looker/sentry,alexm92/sentry,argonemyth/sentry,ifduyue/sentry,ngonzalvez/sentry,daevaorn/sentry,boneyao/sentry,BayanGroup/sentry,ngonzalvez/sentry,BayanGroup/sentry,imankulov/sentry,kevinlondon/sentry,TedaLIEz/sentry,jokey2k/sentry,gencer/sentry,JTCunning/sentry,1tush/sentry,ifduyue/sentry,argonemyth/sentry,gencer/sentry,gencer/sentry,kevinastone/sentry,mvaled/sentry,beeftornado/sentry,nicholasserra/sentry,imankulov/sentry,ngonzalvez/sentry,mvaled/sentry,TedaLIEz/sentry,camilonova/sentry,JackDanger/sentry,BuildingLink/sentry,mitsuhiko/sentry,beeftornado/sentry,llonchj/sentry,llonchj/sentry,vperron/sentry,kevinlondon/sentry
from django.contrib.auth.models import AnonymousUser from rest_framework.authentication import BasicAuthentication from rest_framework.exceptions import AuthenticationFailed from sentry.models import ProjectKey class KeyAuthentication(BasicAuthentication): def authenticate_credentials(self, userid, password): try: pk = ProjectKey.objects.get_from_cache(public_key=userid) except ProjectKey.DoesNotExist: raise AuthenticationFailed('Invalid api key') if pk.secret_key != password: raise AuthenticationFailed('Invalid api key') if not pk.roles.api: raise AuthenticationFailed('Key does not allow API access') return (AnonymousUser(), pk) def authenticate_header(self, request): return 'xBasic realm="%s"' % self.www_authenticate_realm class QuietBasicAuthentication(BasicAuthentication): def authenticate_header(self, request): return 'xBasic realm="%s"' % self.www_authenticate_realm Use a constant time comparison in the API auth
from django.contrib.auth.models import AnonymousUser from django.utils.crypto import constant_time_compare from rest_framework.authentication import BasicAuthentication from rest_framework.exceptions import AuthenticationFailed from sentry.models import ProjectKey class KeyAuthentication(BasicAuthentication): def authenticate_credentials(self, userid, password): try: pk = ProjectKey.objects.get_from_cache(public_key=userid) except ProjectKey.DoesNotExist: raise AuthenticationFailed('Invalid api key') if not constant_time_compare(pk.secret_key, password): raise AuthenticationFailed('Invalid api key') if not pk.roles.api: raise AuthenticationFailed('Key does not allow API access') return (AnonymousUser(), pk) def authenticate_header(self, request): return 'xBasic realm="%s"' % self.www_authenticate_realm class QuietBasicAuthentication(BasicAuthentication): def authenticate_header(self, request): return 'xBasic realm="%s"' % self.www_authenticate_realm
<commit_before>from django.contrib.auth.models import AnonymousUser from rest_framework.authentication import BasicAuthentication from rest_framework.exceptions import AuthenticationFailed from sentry.models import ProjectKey class KeyAuthentication(BasicAuthentication): def authenticate_credentials(self, userid, password): try: pk = ProjectKey.objects.get_from_cache(public_key=userid) except ProjectKey.DoesNotExist: raise AuthenticationFailed('Invalid api key') if pk.secret_key != password: raise AuthenticationFailed('Invalid api key') if not pk.roles.api: raise AuthenticationFailed('Key does not allow API access') return (AnonymousUser(), pk) def authenticate_header(self, request): return 'xBasic realm="%s"' % self.www_authenticate_realm class QuietBasicAuthentication(BasicAuthentication): def authenticate_header(self, request): return 'xBasic realm="%s"' % self.www_authenticate_realm <commit_msg>Use a constant time comparison in the API auth<commit_after>
from django.contrib.auth.models import AnonymousUser from django.utils.crypto import constant_time_compare from rest_framework.authentication import BasicAuthentication from rest_framework.exceptions import AuthenticationFailed from sentry.models import ProjectKey class KeyAuthentication(BasicAuthentication): def authenticate_credentials(self, userid, password): try: pk = ProjectKey.objects.get_from_cache(public_key=userid) except ProjectKey.DoesNotExist: raise AuthenticationFailed('Invalid api key') if not constant_time_compare(pk.secret_key, password): raise AuthenticationFailed('Invalid api key') if not pk.roles.api: raise AuthenticationFailed('Key does not allow API access') return (AnonymousUser(), pk) def authenticate_header(self, request): return 'xBasic realm="%s"' % self.www_authenticate_realm class QuietBasicAuthentication(BasicAuthentication): def authenticate_header(self, request): return 'xBasic realm="%s"' % self.www_authenticate_realm
from django.contrib.auth.models import AnonymousUser from rest_framework.authentication import BasicAuthentication from rest_framework.exceptions import AuthenticationFailed from sentry.models import ProjectKey class KeyAuthentication(BasicAuthentication): def authenticate_credentials(self, userid, password): try: pk = ProjectKey.objects.get_from_cache(public_key=userid) except ProjectKey.DoesNotExist: raise AuthenticationFailed('Invalid api key') if pk.secret_key != password: raise AuthenticationFailed('Invalid api key') if not pk.roles.api: raise AuthenticationFailed('Key does not allow API access') return (AnonymousUser(), pk) def authenticate_header(self, request): return 'xBasic realm="%s"' % self.www_authenticate_realm class QuietBasicAuthentication(BasicAuthentication): def authenticate_header(self, request): return 'xBasic realm="%s"' % self.www_authenticate_realm Use a constant time comparison in the API authfrom django.contrib.auth.models import AnonymousUser from django.utils.crypto import constant_time_compare from rest_framework.authentication import BasicAuthentication from rest_framework.exceptions import AuthenticationFailed from sentry.models import ProjectKey class KeyAuthentication(BasicAuthentication): def authenticate_credentials(self, userid, password): try: pk = ProjectKey.objects.get_from_cache(public_key=userid) except ProjectKey.DoesNotExist: raise AuthenticationFailed('Invalid api key') if not constant_time_compare(pk.secret_key, password): raise AuthenticationFailed('Invalid api key') if not pk.roles.api: raise AuthenticationFailed('Key does not allow API access') return (AnonymousUser(), pk) def authenticate_header(self, request): return 'xBasic realm="%s"' % self.www_authenticate_realm class QuietBasicAuthentication(BasicAuthentication): def authenticate_header(self, request): return 'xBasic realm="%s"' % self.www_authenticate_realm
<commit_before>from django.contrib.auth.models import AnonymousUser from rest_framework.authentication import BasicAuthentication from rest_framework.exceptions import AuthenticationFailed from sentry.models import ProjectKey class KeyAuthentication(BasicAuthentication): def authenticate_credentials(self, userid, password): try: pk = ProjectKey.objects.get_from_cache(public_key=userid) except ProjectKey.DoesNotExist: raise AuthenticationFailed('Invalid api key') if pk.secret_key != password: raise AuthenticationFailed('Invalid api key') if not pk.roles.api: raise AuthenticationFailed('Key does not allow API access') return (AnonymousUser(), pk) def authenticate_header(self, request): return 'xBasic realm="%s"' % self.www_authenticate_realm class QuietBasicAuthentication(BasicAuthentication): def authenticate_header(self, request): return 'xBasic realm="%s"' % self.www_authenticate_realm <commit_msg>Use a constant time comparison in the API auth<commit_after>from django.contrib.auth.models import AnonymousUser from django.utils.crypto import constant_time_compare from rest_framework.authentication import BasicAuthentication from rest_framework.exceptions import AuthenticationFailed from sentry.models import ProjectKey class KeyAuthentication(BasicAuthentication): def authenticate_credentials(self, userid, password): try: pk = ProjectKey.objects.get_from_cache(public_key=userid) except ProjectKey.DoesNotExist: raise AuthenticationFailed('Invalid api key') if not constant_time_compare(pk.secret_key, password): raise AuthenticationFailed('Invalid api key') if not pk.roles.api: raise AuthenticationFailed('Key does not allow API access') return (AnonymousUser(), pk) def authenticate_header(self, request): return 'xBasic realm="%s"' % self.www_authenticate_realm class QuietBasicAuthentication(BasicAuthentication): def authenticate_header(self, request): return 'xBasic realm="%s"' % self.www_authenticate_realm
651c0df48d5e01b4d35f891ac2684a5e265c93f8
menpofit/aam/result.py
menpofit/aam/result.py
from __future__ import division from menpofit.result import ( ParametricAlgorithmResult, MultiFitterResult, SerializableIterativeResult) # TODO: document me! # TODO: handle costs class AAMAlgorithmResult(ParametricAlgorithmResult): r""" """ def __init__(self, image, fitter, shape_parameters, appearance_parameters=None, gt_shape=None): super(AAMAlgorithmResult, self).__init__( image, fitter, shape_parameters, gt_shape=gt_shape) self.appearance_parameters = appearance_parameters # TODO: document me! class LinearAAMAlgorithmResult(AAMAlgorithmResult): r""" """ def shapes(self, as_points=False): if as_points: return [self.fitter.transform.from_vector(p).sparse_target.points for p in self.shape_parameters] else: return [self.fitter.transform.from_vector(p).sparse_target for p in self.shape_parameters] @property def final_shape(self): return self.final_transform.sparse_target @property def initial_shape(self): return self.initial_transform.sparse_target # TODO: document me! # TODO: handle costs class AAMFitterResult(MultiFitterResult): r""" """ pass
from __future__ import division from menpofit.result import ( ParametricAlgorithmResult, MultiFitterResult, SerializableIterativeResult) # TODO: document me! # TODO: handle costs class AAMAlgorithmResult(ParametricAlgorithmResult): r""" """ def __init__(self, image, fitter, shape_parameters, appearance_parameters=None, gt_shape=None): super(AAMAlgorithmResult, self).__init__( image, fitter, shape_parameters, gt_shape=gt_shape) self.appearance_parameters = appearance_parameters # TODO: document me! class LinearAAMAlgorithmResult(AAMAlgorithmResult): r""" """ @property def shapes(self, as_points=False): return [self.fitter.transform.from_vector(p).sparse_target for p in self.shape_parameters] @property def final_shape(self): return self.final_transform.sparse_target @property def initial_shape(self): return self.initial_transform.sparse_target # TODO: document me! # TODO: handle costs class AAMFitterResult(MultiFitterResult): r""" """ pass
Make shape a property for LinearAAMAlgorithmResult
Make shape a property for LinearAAMAlgorithmResult
Python
bsd-3-clause
yuxiang-zhou/menpofit,yuxiang-zhou/menpofit,grigorisg9gr/menpofit,grigorisg9gr/menpofit
from __future__ import division from menpofit.result import ( ParametricAlgorithmResult, MultiFitterResult, SerializableIterativeResult) # TODO: document me! # TODO: handle costs class AAMAlgorithmResult(ParametricAlgorithmResult): r""" """ def __init__(self, image, fitter, shape_parameters, appearance_parameters=None, gt_shape=None): super(AAMAlgorithmResult, self).__init__( image, fitter, shape_parameters, gt_shape=gt_shape) self.appearance_parameters = appearance_parameters # TODO: document me! class LinearAAMAlgorithmResult(AAMAlgorithmResult): r""" """ def shapes(self, as_points=False): if as_points: return [self.fitter.transform.from_vector(p).sparse_target.points for p in self.shape_parameters] else: return [self.fitter.transform.from_vector(p).sparse_target for p in self.shape_parameters] @property def final_shape(self): return self.final_transform.sparse_target @property def initial_shape(self): return self.initial_transform.sparse_target # TODO: document me! # TODO: handle costs class AAMFitterResult(MultiFitterResult): r""" """ pass Make shape a property for LinearAAMAlgorithmResult
from __future__ import division from menpofit.result import ( ParametricAlgorithmResult, MultiFitterResult, SerializableIterativeResult) # TODO: document me! # TODO: handle costs class AAMAlgorithmResult(ParametricAlgorithmResult): r""" """ def __init__(self, image, fitter, shape_parameters, appearance_parameters=None, gt_shape=None): super(AAMAlgorithmResult, self).__init__( image, fitter, shape_parameters, gt_shape=gt_shape) self.appearance_parameters = appearance_parameters # TODO: document me! class LinearAAMAlgorithmResult(AAMAlgorithmResult): r""" """ @property def shapes(self, as_points=False): return [self.fitter.transform.from_vector(p).sparse_target for p in self.shape_parameters] @property def final_shape(self): return self.final_transform.sparse_target @property def initial_shape(self): return self.initial_transform.sparse_target # TODO: document me! # TODO: handle costs class AAMFitterResult(MultiFitterResult): r""" """ pass
<commit_before>from __future__ import division from menpofit.result import ( ParametricAlgorithmResult, MultiFitterResult, SerializableIterativeResult) # TODO: document me! # TODO: handle costs class AAMAlgorithmResult(ParametricAlgorithmResult): r""" """ def __init__(self, image, fitter, shape_parameters, appearance_parameters=None, gt_shape=None): super(AAMAlgorithmResult, self).__init__( image, fitter, shape_parameters, gt_shape=gt_shape) self.appearance_parameters = appearance_parameters # TODO: document me! class LinearAAMAlgorithmResult(AAMAlgorithmResult): r""" """ def shapes(self, as_points=False): if as_points: return [self.fitter.transform.from_vector(p).sparse_target.points for p in self.shape_parameters] else: return [self.fitter.transform.from_vector(p).sparse_target for p in self.shape_parameters] @property def final_shape(self): return self.final_transform.sparse_target @property def initial_shape(self): return self.initial_transform.sparse_target # TODO: document me! # TODO: handle costs class AAMFitterResult(MultiFitterResult): r""" """ pass <commit_msg>Make shape a property for LinearAAMAlgorithmResult<commit_after>
from __future__ import division from menpofit.result import ( ParametricAlgorithmResult, MultiFitterResult, SerializableIterativeResult) # TODO: document me! # TODO: handle costs class AAMAlgorithmResult(ParametricAlgorithmResult): r""" """ def __init__(self, image, fitter, shape_parameters, appearance_parameters=None, gt_shape=None): super(AAMAlgorithmResult, self).__init__( image, fitter, shape_parameters, gt_shape=gt_shape) self.appearance_parameters = appearance_parameters # TODO: document me! class LinearAAMAlgorithmResult(AAMAlgorithmResult): r""" """ @property def shapes(self, as_points=False): return [self.fitter.transform.from_vector(p).sparse_target for p in self.shape_parameters] @property def final_shape(self): return self.final_transform.sparse_target @property def initial_shape(self): return self.initial_transform.sparse_target # TODO: document me! # TODO: handle costs class AAMFitterResult(MultiFitterResult): r""" """ pass
from __future__ import division from menpofit.result import ( ParametricAlgorithmResult, MultiFitterResult, SerializableIterativeResult) # TODO: document me! # TODO: handle costs class AAMAlgorithmResult(ParametricAlgorithmResult): r""" """ def __init__(self, image, fitter, shape_parameters, appearance_parameters=None, gt_shape=None): super(AAMAlgorithmResult, self).__init__( image, fitter, shape_parameters, gt_shape=gt_shape) self.appearance_parameters = appearance_parameters # TODO: document me! class LinearAAMAlgorithmResult(AAMAlgorithmResult): r""" """ def shapes(self, as_points=False): if as_points: return [self.fitter.transform.from_vector(p).sparse_target.points for p in self.shape_parameters] else: return [self.fitter.transform.from_vector(p).sparse_target for p in self.shape_parameters] @property def final_shape(self): return self.final_transform.sparse_target @property def initial_shape(self): return self.initial_transform.sparse_target # TODO: document me! # TODO: handle costs class AAMFitterResult(MultiFitterResult): r""" """ pass Make shape a property for LinearAAMAlgorithmResultfrom __future__ import division from menpofit.result import ( ParametricAlgorithmResult, MultiFitterResult, SerializableIterativeResult) # TODO: document me! # TODO: handle costs class AAMAlgorithmResult(ParametricAlgorithmResult): r""" """ def __init__(self, image, fitter, shape_parameters, appearance_parameters=None, gt_shape=None): super(AAMAlgorithmResult, self).__init__( image, fitter, shape_parameters, gt_shape=gt_shape) self.appearance_parameters = appearance_parameters # TODO: document me! class LinearAAMAlgorithmResult(AAMAlgorithmResult): r""" """ @property def shapes(self, as_points=False): return [self.fitter.transform.from_vector(p).sparse_target for p in self.shape_parameters] @property def final_shape(self): return self.final_transform.sparse_target @property def initial_shape(self): return self.initial_transform.sparse_target # TODO: document me! # TODO: handle costs class AAMFitterResult(MultiFitterResult): r""" """ pass
<commit_before>from __future__ import division from menpofit.result import ( ParametricAlgorithmResult, MultiFitterResult, SerializableIterativeResult) # TODO: document me! # TODO: handle costs class AAMAlgorithmResult(ParametricAlgorithmResult): r""" """ def __init__(self, image, fitter, shape_parameters, appearance_parameters=None, gt_shape=None): super(AAMAlgorithmResult, self).__init__( image, fitter, shape_parameters, gt_shape=gt_shape) self.appearance_parameters = appearance_parameters # TODO: document me! class LinearAAMAlgorithmResult(AAMAlgorithmResult): r""" """ def shapes(self, as_points=False): if as_points: return [self.fitter.transform.from_vector(p).sparse_target.points for p in self.shape_parameters] else: return [self.fitter.transform.from_vector(p).sparse_target for p in self.shape_parameters] @property def final_shape(self): return self.final_transform.sparse_target @property def initial_shape(self): return self.initial_transform.sparse_target # TODO: document me! # TODO: handle costs class AAMFitterResult(MultiFitterResult): r""" """ pass <commit_msg>Make shape a property for LinearAAMAlgorithmResult<commit_after>from __future__ import division from menpofit.result import ( ParametricAlgorithmResult, MultiFitterResult, SerializableIterativeResult) # TODO: document me! # TODO: handle costs class AAMAlgorithmResult(ParametricAlgorithmResult): r""" """ def __init__(self, image, fitter, shape_parameters, appearance_parameters=None, gt_shape=None): super(AAMAlgorithmResult, self).__init__( image, fitter, shape_parameters, gt_shape=gt_shape) self.appearance_parameters = appearance_parameters # TODO: document me! class LinearAAMAlgorithmResult(AAMAlgorithmResult): r""" """ @property def shapes(self, as_points=False): return [self.fitter.transform.from_vector(p).sparse_target for p in self.shape_parameters] @property def final_shape(self): return self.final_transform.sparse_target @property def initial_shape(self): return self.initial_transform.sparse_target # TODO: document me! # TODO: handle costs class AAMFitterResult(MultiFitterResult): r""" """ pass
7586babb52ea31597f3ce98f37e5ca80b454ce54
setup.py
setup.py
from distutils.core import setup setup( name='resync', version='0.1', packages=['resync'], classifiers=["Development Status :: 3 - Alpha", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules", "Environment :: Web Environment"], author='Simeon Warner', author_email='simeon.warner@cornell.edu', long_description=open('README.txt').read(), url='http://github.com/resync/resync', )
from distutils.core import setup setup( name='resync', version='0.1', packages=['resync'], classifiers=["Development Status :: 3 - Alpha", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules", "Environment :: Web Environment"], author='Simeon Warner', author_email='simeon.warner@cornell.edu', long_description=open('README.md').read(), url='http://github.com/resync/resync', )
Fix for rename of README.md
Fix for rename of README.md
Python
apache-2.0
resync/resync,lindareijnhoudt/resync,dans-er/resync,lindareijnhoudt/resync,dans-er/resync
from distutils.core import setup setup( name='resync', version='0.1', packages=['resync'], classifiers=["Development Status :: 3 - Alpha", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules", "Environment :: Web Environment"], author='Simeon Warner', author_email='simeon.warner@cornell.edu', long_description=open('README.txt').read(), url='http://github.com/resync/resync', ) Fix for rename of README.md
from distutils.core import setup setup( name='resync', version='0.1', packages=['resync'], classifiers=["Development Status :: 3 - Alpha", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules", "Environment :: Web Environment"], author='Simeon Warner', author_email='simeon.warner@cornell.edu', long_description=open('README.md').read(), url='http://github.com/resync/resync', )
<commit_before>from distutils.core import setup setup( name='resync', version='0.1', packages=['resync'], classifiers=["Development Status :: 3 - Alpha", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules", "Environment :: Web Environment"], author='Simeon Warner', author_email='simeon.warner@cornell.edu', long_description=open('README.txt').read(), url='http://github.com/resync/resync', ) <commit_msg>Fix for rename of README.md<commit_after>
from distutils.core import setup setup( name='resync', version='0.1', packages=['resync'], classifiers=["Development Status :: 3 - Alpha", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules", "Environment :: Web Environment"], author='Simeon Warner', author_email='simeon.warner@cornell.edu', long_description=open('README.md').read(), url='http://github.com/resync/resync', )
from distutils.core import setup setup( name='resync', version='0.1', packages=['resync'], classifiers=["Development Status :: 3 - Alpha", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules", "Environment :: Web Environment"], author='Simeon Warner', author_email='simeon.warner@cornell.edu', long_description=open('README.txt').read(), url='http://github.com/resync/resync', ) Fix for rename of README.mdfrom distutils.core import setup setup( name='resync', version='0.1', packages=['resync'], classifiers=["Development Status :: 3 - Alpha", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules", "Environment :: Web Environment"], author='Simeon Warner', author_email='simeon.warner@cornell.edu', long_description=open('README.md').read(), url='http://github.com/resync/resync', )
<commit_before>from distutils.core import setup setup( name='resync', version='0.1', packages=['resync'], classifiers=["Development Status :: 3 - Alpha", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules", "Environment :: Web Environment"], author='Simeon Warner', author_email='simeon.warner@cornell.edu', long_description=open('README.txt').read(), url='http://github.com/resync/resync', ) <commit_msg>Fix for rename of README.md<commit_after>from distutils.core import setup setup( name='resync', version='0.1', packages=['resync'], classifiers=["Development Status :: 3 - Alpha", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules", "Environment :: Web Environment"], author='Simeon Warner', author_email='simeon.warner@cornell.edu', long_description=open('README.md').read(), url='http://github.com/resync/resync', )
51a4618fdf78c174af428b11f5f58b5aae88b583
examples/MNIST/mnist.py
examples/MNIST/mnist.py
import os import gzip import pickle import urllib import sys '''Adapted from theano tutorial''' def load_mnist(data_file = './mnist.pkl.gz'): if not os.path.exists(data_file): origin = ('http://www.iro.umontreal.ca/~lisa/deep/data/mnist/mnist.pkl.gz') print('Downloading data from %s' % origin) urllib.urlretrieve(origin, data_file) print('... loading data') f = gzip.open(data_file, 'rb') if sys.version_info[0] == 3: train_set, valid_set, test_set = pickle.load(f, encoding='latin1') else: train_set, valid_set, test_set = pickle.load(f) f.close() train_set_x, train_set_y = train_set valid_set_x, valid_set_y = valid_set test_set_x, test_set_y = test_set return (train_set_x, train_set_y), (valid_set_x, valid_set_y), (test_set_x, test_set_y)
import os import gzip import pickle import sys # Python 2/3 compatibility. try: from urllib.request import urlretrieve except ImportError: from urllib import urlretrieve '''Adapted from theano tutorial''' def load_mnist(data_file = './mnist.pkl.gz'): if not os.path.exists(data_file): origin = ('http://www.iro.umontreal.ca/~lisa/deep/data/mnist/mnist.pkl.gz') print('Downloading data from %s' % origin) urlretrieve(origin, data_file) print('... loading data') f = gzip.open(data_file, 'rb') if sys.version_info[0] == 3: train_set, valid_set, test_set = pickle.load(f, encoding='latin1') else: train_set, valid_set, test_set = pickle.load(f) f.close() train_set_x, train_set_y = train_set valid_set_x, valid_set_y = valid_set test_set_x, test_set_y = test_set return (train_set_x, train_set_y), (valid_set_x, valid_set_y), (test_set_x, test_set_y)
Make MNIST example py3 compatible.
Make MNIST example py3 compatible.
Python
mit
Pandoro/DeepFried2,elPistolero/DeepFried2,yobibyte/DeepFried2,lucasb-eyer/DeepFried2,VisualComputingInstitute/Beacon8
import os import gzip import pickle import urllib import sys '''Adapted from theano tutorial''' def load_mnist(data_file = './mnist.pkl.gz'): if not os.path.exists(data_file): origin = ('http://www.iro.umontreal.ca/~lisa/deep/data/mnist/mnist.pkl.gz') print('Downloading data from %s' % origin) urllib.urlretrieve(origin, data_file) print('... loading data') f = gzip.open(data_file, 'rb') if sys.version_info[0] == 3: train_set, valid_set, test_set = pickle.load(f, encoding='latin1') else: train_set, valid_set, test_set = pickle.load(f) f.close() train_set_x, train_set_y = train_set valid_set_x, valid_set_y = valid_set test_set_x, test_set_y = test_set return (train_set_x, train_set_y), (valid_set_x, valid_set_y), (test_set_x, test_set_y) Make MNIST example py3 compatible.
import os import gzip import pickle import sys # Python 2/3 compatibility. try: from urllib.request import urlretrieve except ImportError: from urllib import urlretrieve '''Adapted from theano tutorial''' def load_mnist(data_file = './mnist.pkl.gz'): if not os.path.exists(data_file): origin = ('http://www.iro.umontreal.ca/~lisa/deep/data/mnist/mnist.pkl.gz') print('Downloading data from %s' % origin) urlretrieve(origin, data_file) print('... loading data') f = gzip.open(data_file, 'rb') if sys.version_info[0] == 3: train_set, valid_set, test_set = pickle.load(f, encoding='latin1') else: train_set, valid_set, test_set = pickle.load(f) f.close() train_set_x, train_set_y = train_set valid_set_x, valid_set_y = valid_set test_set_x, test_set_y = test_set return (train_set_x, train_set_y), (valid_set_x, valid_set_y), (test_set_x, test_set_y)
<commit_before>import os import gzip import pickle import urllib import sys '''Adapted from theano tutorial''' def load_mnist(data_file = './mnist.pkl.gz'): if not os.path.exists(data_file): origin = ('http://www.iro.umontreal.ca/~lisa/deep/data/mnist/mnist.pkl.gz') print('Downloading data from %s' % origin) urllib.urlretrieve(origin, data_file) print('... loading data') f = gzip.open(data_file, 'rb') if sys.version_info[0] == 3: train_set, valid_set, test_set = pickle.load(f, encoding='latin1') else: train_set, valid_set, test_set = pickle.load(f) f.close() train_set_x, train_set_y = train_set valid_set_x, valid_set_y = valid_set test_set_x, test_set_y = test_set return (train_set_x, train_set_y), (valid_set_x, valid_set_y), (test_set_x, test_set_y) <commit_msg>Make MNIST example py3 compatible.<commit_after>
import os import gzip import pickle import sys # Python 2/3 compatibility. try: from urllib.request import urlretrieve except ImportError: from urllib import urlretrieve '''Adapted from theano tutorial''' def load_mnist(data_file = './mnist.pkl.gz'): if not os.path.exists(data_file): origin = ('http://www.iro.umontreal.ca/~lisa/deep/data/mnist/mnist.pkl.gz') print('Downloading data from %s' % origin) urlretrieve(origin, data_file) print('... loading data') f = gzip.open(data_file, 'rb') if sys.version_info[0] == 3: train_set, valid_set, test_set = pickle.load(f, encoding='latin1') else: train_set, valid_set, test_set = pickle.load(f) f.close() train_set_x, train_set_y = train_set valid_set_x, valid_set_y = valid_set test_set_x, test_set_y = test_set return (train_set_x, train_set_y), (valid_set_x, valid_set_y), (test_set_x, test_set_y)
import os import gzip import pickle import urllib import sys '''Adapted from theano tutorial''' def load_mnist(data_file = './mnist.pkl.gz'): if not os.path.exists(data_file): origin = ('http://www.iro.umontreal.ca/~lisa/deep/data/mnist/mnist.pkl.gz') print('Downloading data from %s' % origin) urllib.urlretrieve(origin, data_file) print('... loading data') f = gzip.open(data_file, 'rb') if sys.version_info[0] == 3: train_set, valid_set, test_set = pickle.load(f, encoding='latin1') else: train_set, valid_set, test_set = pickle.load(f) f.close() train_set_x, train_set_y = train_set valid_set_x, valid_set_y = valid_set test_set_x, test_set_y = test_set return (train_set_x, train_set_y), (valid_set_x, valid_set_y), (test_set_x, test_set_y) Make MNIST example py3 compatible.import os import gzip import pickle import sys # Python 2/3 compatibility. try: from urllib.request import urlretrieve except ImportError: from urllib import urlretrieve '''Adapted from theano tutorial''' def load_mnist(data_file = './mnist.pkl.gz'): if not os.path.exists(data_file): origin = ('http://www.iro.umontreal.ca/~lisa/deep/data/mnist/mnist.pkl.gz') print('Downloading data from %s' % origin) urlretrieve(origin, data_file) print('... loading data') f = gzip.open(data_file, 'rb') if sys.version_info[0] == 3: train_set, valid_set, test_set = pickle.load(f, encoding='latin1') else: train_set, valid_set, test_set = pickle.load(f) f.close() train_set_x, train_set_y = train_set valid_set_x, valid_set_y = valid_set test_set_x, test_set_y = test_set return (train_set_x, train_set_y), (valid_set_x, valid_set_y), (test_set_x, test_set_y)
<commit_before>import os import gzip import pickle import urllib import sys '''Adapted from theano tutorial''' def load_mnist(data_file = './mnist.pkl.gz'): if not os.path.exists(data_file): origin = ('http://www.iro.umontreal.ca/~lisa/deep/data/mnist/mnist.pkl.gz') print('Downloading data from %s' % origin) urllib.urlretrieve(origin, data_file) print('... loading data') f = gzip.open(data_file, 'rb') if sys.version_info[0] == 3: train_set, valid_set, test_set = pickle.load(f, encoding='latin1') else: train_set, valid_set, test_set = pickle.load(f) f.close() train_set_x, train_set_y = train_set valid_set_x, valid_set_y = valid_set test_set_x, test_set_y = test_set return (train_set_x, train_set_y), (valid_set_x, valid_set_y), (test_set_x, test_set_y) <commit_msg>Make MNIST example py3 compatible.<commit_after>import os import gzip import pickle import sys # Python 2/3 compatibility. try: from urllib.request import urlretrieve except ImportError: from urllib import urlretrieve '''Adapted from theano tutorial''' def load_mnist(data_file = './mnist.pkl.gz'): if not os.path.exists(data_file): origin = ('http://www.iro.umontreal.ca/~lisa/deep/data/mnist/mnist.pkl.gz') print('Downloading data from %s' % origin) urlretrieve(origin, data_file) print('... loading data') f = gzip.open(data_file, 'rb') if sys.version_info[0] == 3: train_set, valid_set, test_set = pickle.load(f, encoding='latin1') else: train_set, valid_set, test_set = pickle.load(f) f.close() train_set_x, train_set_y = train_set valid_set_x, valid_set_y = valid_set test_set_x, test_set_y = test_set return (train_set_x, train_set_y), (valid_set_x, valid_set_y), (test_set_x, test_set_y)
82cd8b267f2a66d5e9871c4eb3ec4ce8cc2106d6
utils.py
utils.py
import os from google.appengine.api import apiproxy_stub_map from google.appengine.api.app_identity import get_application_id have_appserver = bool(apiproxy_stub_map.apiproxy.GetStub('datastore_v3')) if not have_appserver: from .boot import PROJECT_DIR from google.appengine.tools import dev_appserver appconfig = dev_appserver.LoadAppConfig(PROJECT_DIR, {}, default_partition='dev')[0] def appid(): if have_appserver: return get_application_id() else: try: return appconfig.application.split('~', 1)[-1] except ImportError, e: raise Exception("Could not get appid. Is your app.yaml file missing? " "Error was: %s" % e) on_production_server = have_appserver and \ not os.environ.get('SERVER_SOFTWARE', '').lower().startswith('devel')
import os from google.appengine.api import apiproxy_stub_map from google.appengine.api.app_identity import get_application_id have_appserver = bool(apiproxy_stub_map.apiproxy.GetStub('datastore_v3')) if not have_appserver: from .boot import PROJECT_DIR from google.appengine.tools import dev_appserver appconfig = dev_appserver.LoadAppConfig(PROJECT_DIR, {}, default_partition='dev')[0] def appid(): if have_appserver: return get_application_id() else: try: return appconfig.application.split('~', 1)[-1] except ImportError, e: raise Exception("Could not get appid. Is your app.yaml file missing? " "Error was: %s" % e) on_production_server = 'SERVER_SOFTWARE' in os.environ and not os.environ['SERVER_SOFTWARE'].startswith("Development")
Tweak the way that on_production_server is determined
Tweak the way that on_production_server is determined
Python
bsd-3-clause
potatolondon/djangoappengine-1-4,potatolondon/djangoappengine-1-4
import os from google.appengine.api import apiproxy_stub_map from google.appengine.api.app_identity import get_application_id have_appserver = bool(apiproxy_stub_map.apiproxy.GetStub('datastore_v3')) if not have_appserver: from .boot import PROJECT_DIR from google.appengine.tools import dev_appserver appconfig = dev_appserver.LoadAppConfig(PROJECT_DIR, {}, default_partition='dev')[0] def appid(): if have_appserver: return get_application_id() else: try: return appconfig.application.split('~', 1)[-1] except ImportError, e: raise Exception("Could not get appid. Is your app.yaml file missing? " "Error was: %s" % e) on_production_server = have_appserver and \ not os.environ.get('SERVER_SOFTWARE', '').lower().startswith('devel') Tweak the way that on_production_server is determined
import os from google.appengine.api import apiproxy_stub_map from google.appengine.api.app_identity import get_application_id have_appserver = bool(apiproxy_stub_map.apiproxy.GetStub('datastore_v3')) if not have_appserver: from .boot import PROJECT_DIR from google.appengine.tools import dev_appserver appconfig = dev_appserver.LoadAppConfig(PROJECT_DIR, {}, default_partition='dev')[0] def appid(): if have_appserver: return get_application_id() else: try: return appconfig.application.split('~', 1)[-1] except ImportError, e: raise Exception("Could not get appid. Is your app.yaml file missing? " "Error was: %s" % e) on_production_server = 'SERVER_SOFTWARE' in os.environ and not os.environ['SERVER_SOFTWARE'].startswith("Development")
<commit_before>import os from google.appengine.api import apiproxy_stub_map from google.appengine.api.app_identity import get_application_id have_appserver = bool(apiproxy_stub_map.apiproxy.GetStub('datastore_v3')) if not have_appserver: from .boot import PROJECT_DIR from google.appengine.tools import dev_appserver appconfig = dev_appserver.LoadAppConfig(PROJECT_DIR, {}, default_partition='dev')[0] def appid(): if have_appserver: return get_application_id() else: try: return appconfig.application.split('~', 1)[-1] except ImportError, e: raise Exception("Could not get appid. Is your app.yaml file missing? " "Error was: %s" % e) on_production_server = have_appserver and \ not os.environ.get('SERVER_SOFTWARE', '').lower().startswith('devel') <commit_msg>Tweak the way that on_production_server is determined<commit_after>
import os from google.appengine.api import apiproxy_stub_map from google.appengine.api.app_identity import get_application_id have_appserver = bool(apiproxy_stub_map.apiproxy.GetStub('datastore_v3')) if not have_appserver: from .boot import PROJECT_DIR from google.appengine.tools import dev_appserver appconfig = dev_appserver.LoadAppConfig(PROJECT_DIR, {}, default_partition='dev')[0] def appid(): if have_appserver: return get_application_id() else: try: return appconfig.application.split('~', 1)[-1] except ImportError, e: raise Exception("Could not get appid. Is your app.yaml file missing? " "Error was: %s" % e) on_production_server = 'SERVER_SOFTWARE' in os.environ and not os.environ['SERVER_SOFTWARE'].startswith("Development")
import os from google.appengine.api import apiproxy_stub_map from google.appengine.api.app_identity import get_application_id have_appserver = bool(apiproxy_stub_map.apiproxy.GetStub('datastore_v3')) if not have_appserver: from .boot import PROJECT_DIR from google.appengine.tools import dev_appserver appconfig = dev_appserver.LoadAppConfig(PROJECT_DIR, {}, default_partition='dev')[0] def appid(): if have_appserver: return get_application_id() else: try: return appconfig.application.split('~', 1)[-1] except ImportError, e: raise Exception("Could not get appid. Is your app.yaml file missing? " "Error was: %s" % e) on_production_server = have_appserver and \ not os.environ.get('SERVER_SOFTWARE', '').lower().startswith('devel') Tweak the way that on_production_server is determinedimport os from google.appengine.api import apiproxy_stub_map from google.appengine.api.app_identity import get_application_id have_appserver = bool(apiproxy_stub_map.apiproxy.GetStub('datastore_v3')) if not have_appserver: from .boot import PROJECT_DIR from google.appengine.tools import dev_appserver appconfig = dev_appserver.LoadAppConfig(PROJECT_DIR, {}, default_partition='dev')[0] def appid(): if have_appserver: return get_application_id() else: try: return appconfig.application.split('~', 1)[-1] except ImportError, e: raise Exception("Could not get appid. Is your app.yaml file missing? " "Error was: %s" % e) on_production_server = 'SERVER_SOFTWARE' in os.environ and not os.environ['SERVER_SOFTWARE'].startswith("Development")
<commit_before>import os from google.appengine.api import apiproxy_stub_map from google.appengine.api.app_identity import get_application_id have_appserver = bool(apiproxy_stub_map.apiproxy.GetStub('datastore_v3')) if not have_appserver: from .boot import PROJECT_DIR from google.appengine.tools import dev_appserver appconfig = dev_appserver.LoadAppConfig(PROJECT_DIR, {}, default_partition='dev')[0] def appid(): if have_appserver: return get_application_id() else: try: return appconfig.application.split('~', 1)[-1] except ImportError, e: raise Exception("Could not get appid. Is your app.yaml file missing? " "Error was: %s" % e) on_production_server = have_appserver and \ not os.environ.get('SERVER_SOFTWARE', '').lower().startswith('devel') <commit_msg>Tweak the way that on_production_server is determined<commit_after>import os from google.appengine.api import apiproxy_stub_map from google.appengine.api.app_identity import get_application_id have_appserver = bool(apiproxy_stub_map.apiproxy.GetStub('datastore_v3')) if not have_appserver: from .boot import PROJECT_DIR from google.appengine.tools import dev_appserver appconfig = dev_appserver.LoadAppConfig(PROJECT_DIR, {}, default_partition='dev')[0] def appid(): if have_appserver: return get_application_id() else: try: return appconfig.application.split('~', 1)[-1] except ImportError, e: raise Exception("Could not get appid. Is your app.yaml file missing? " "Error was: %s" % e) on_production_server = 'SERVER_SOFTWARE' in os.environ and not os.environ['SERVER_SOFTWARE'].startswith("Development")
5fd157d37f532e4aadd51475b9b3654bb42febd9
rbtools/clients/tests/test_cvs.py
rbtools/clients/tests/test_cvs.py
"""Unit tests for CVSClient.""" from __future__ import unicode_literals import kgb from rbtools.clients import RepositoryInfo from rbtools.clients.cvs import CVSClient from rbtools.clients.tests import SCMClientTestCase class CVSClientTests(kgb.SpyAgency, SCMClientTestCase): """Unit tests for CVSClient.""" def setUp(self): super(CVSClientTests, self).setUp() self.client = CVSClient(options=self.options) def test_get_repository_info_with_found(self): """Testing CVSClient.get_repository_info with repository found""" self.spy_on(CVSClient.get_local_path, op=kgb.SpyOpReturn('/path/to/cvsdir')) repository_info = self.client.get_repository_info() self.assertIsInstance(repository_info, RepositoryInfo) self.assertIsNone(repository_info.base_path) self.assertEqual(repository_info.path, '/path/to/cvsdir') self.assertEqual(repository_info.local_path, '/path/to/cvsdir') def test_get_repository_info_with_not_found(self): """Testing CVSClient.get_repository_info with repository not found""" self.spy_on(CVSClient.get_local_path, op=kgb.SpyOpReturn(None)) repository_info = self.client.get_repository_info() self.assertIsNone(repository_info)
"""Unit tests for CVSClient.""" from __future__ import unicode_literals import kgb from rbtools.clients import RepositoryInfo from rbtools.clients.cvs import CVSClient from rbtools.clients.tests import SCMClientTestCase class CVSClientTests(kgb.SpyAgency, SCMClientTestCase): """Unit tests for CVSClient.""" scmclient_cls = CVSClient def test_get_repository_info_with_found(self): """Testing CVSClient.get_repository_info with repository found""" client = self.build_client() self.spy_on(client.get_local_path, op=kgb.SpyOpReturn('/path/to/cvsdir')) repository_info = client.get_repository_info() self.assertIsInstance(repository_info, RepositoryInfo) self.assertIsNone(repository_info.base_path) self.assertEqual(repository_info.path, '/path/to/cvsdir') self.assertEqual(repository_info.local_path, '/path/to/cvsdir') def test_get_repository_info_with_not_found(self): """Testing CVSClient.get_repository_info with repository not found""" client = self.build_client() self.spy_on(client.get_local_path, op=kgb.SpyOpReturn(None)) repository_info = client.get_repository_info() self.assertIsNone(repository_info)
Update the CVS unit tests to use build_client().
Update the CVS unit tests to use build_client(). This updates the CVS unit tests to build a `CVSClient` in each test where it's needed, rather than in `setUp()`. This is in prepration for new tests that will need to handle client construction differently. Testing Done: CVS unit tests pass. Reviewed at https://reviews.reviewboard.org/r/12504/
Python
mit
reviewboard/rbtools,reviewboard/rbtools,reviewboard/rbtools
"""Unit tests for CVSClient.""" from __future__ import unicode_literals import kgb from rbtools.clients import RepositoryInfo from rbtools.clients.cvs import CVSClient from rbtools.clients.tests import SCMClientTestCase class CVSClientTests(kgb.SpyAgency, SCMClientTestCase): """Unit tests for CVSClient.""" def setUp(self): super(CVSClientTests, self).setUp() self.client = CVSClient(options=self.options) def test_get_repository_info_with_found(self): """Testing CVSClient.get_repository_info with repository found""" self.spy_on(CVSClient.get_local_path, op=kgb.SpyOpReturn('/path/to/cvsdir')) repository_info = self.client.get_repository_info() self.assertIsInstance(repository_info, RepositoryInfo) self.assertIsNone(repository_info.base_path) self.assertEqual(repository_info.path, '/path/to/cvsdir') self.assertEqual(repository_info.local_path, '/path/to/cvsdir') def test_get_repository_info_with_not_found(self): """Testing CVSClient.get_repository_info with repository not found""" self.spy_on(CVSClient.get_local_path, op=kgb.SpyOpReturn(None)) repository_info = self.client.get_repository_info() self.assertIsNone(repository_info) Update the CVS unit tests to use build_client(). This updates the CVS unit tests to build a `CVSClient` in each test where it's needed, rather than in `setUp()`. This is in prepration for new tests that will need to handle client construction differently. Testing Done: CVS unit tests pass. Reviewed at https://reviews.reviewboard.org/r/12504/
"""Unit tests for CVSClient.""" from __future__ import unicode_literals import kgb from rbtools.clients import RepositoryInfo from rbtools.clients.cvs import CVSClient from rbtools.clients.tests import SCMClientTestCase class CVSClientTests(kgb.SpyAgency, SCMClientTestCase): """Unit tests for CVSClient.""" scmclient_cls = CVSClient def test_get_repository_info_with_found(self): """Testing CVSClient.get_repository_info with repository found""" client = self.build_client() self.spy_on(client.get_local_path, op=kgb.SpyOpReturn('/path/to/cvsdir')) repository_info = client.get_repository_info() self.assertIsInstance(repository_info, RepositoryInfo) self.assertIsNone(repository_info.base_path) self.assertEqual(repository_info.path, '/path/to/cvsdir') self.assertEqual(repository_info.local_path, '/path/to/cvsdir') def test_get_repository_info_with_not_found(self): """Testing CVSClient.get_repository_info with repository not found""" client = self.build_client() self.spy_on(client.get_local_path, op=kgb.SpyOpReturn(None)) repository_info = client.get_repository_info() self.assertIsNone(repository_info)
<commit_before>"""Unit tests for CVSClient.""" from __future__ import unicode_literals import kgb from rbtools.clients import RepositoryInfo from rbtools.clients.cvs import CVSClient from rbtools.clients.tests import SCMClientTestCase class CVSClientTests(kgb.SpyAgency, SCMClientTestCase): """Unit tests for CVSClient.""" def setUp(self): super(CVSClientTests, self).setUp() self.client = CVSClient(options=self.options) def test_get_repository_info_with_found(self): """Testing CVSClient.get_repository_info with repository found""" self.spy_on(CVSClient.get_local_path, op=kgb.SpyOpReturn('/path/to/cvsdir')) repository_info = self.client.get_repository_info() self.assertIsInstance(repository_info, RepositoryInfo) self.assertIsNone(repository_info.base_path) self.assertEqual(repository_info.path, '/path/to/cvsdir') self.assertEqual(repository_info.local_path, '/path/to/cvsdir') def test_get_repository_info_with_not_found(self): """Testing CVSClient.get_repository_info with repository not found""" self.spy_on(CVSClient.get_local_path, op=kgb.SpyOpReturn(None)) repository_info = self.client.get_repository_info() self.assertIsNone(repository_info) <commit_msg>Update the CVS unit tests to use build_client(). This updates the CVS unit tests to build a `CVSClient` in each test where it's needed, rather than in `setUp()`. This is in prepration for new tests that will need to handle client construction differently. Testing Done: CVS unit tests pass. Reviewed at https://reviews.reviewboard.org/r/12504/<commit_after>
"""Unit tests for CVSClient.""" from __future__ import unicode_literals import kgb from rbtools.clients import RepositoryInfo from rbtools.clients.cvs import CVSClient from rbtools.clients.tests import SCMClientTestCase class CVSClientTests(kgb.SpyAgency, SCMClientTestCase): """Unit tests for CVSClient.""" scmclient_cls = CVSClient def test_get_repository_info_with_found(self): """Testing CVSClient.get_repository_info with repository found""" client = self.build_client() self.spy_on(client.get_local_path, op=kgb.SpyOpReturn('/path/to/cvsdir')) repository_info = client.get_repository_info() self.assertIsInstance(repository_info, RepositoryInfo) self.assertIsNone(repository_info.base_path) self.assertEqual(repository_info.path, '/path/to/cvsdir') self.assertEqual(repository_info.local_path, '/path/to/cvsdir') def test_get_repository_info_with_not_found(self): """Testing CVSClient.get_repository_info with repository not found""" client = self.build_client() self.spy_on(client.get_local_path, op=kgb.SpyOpReturn(None)) repository_info = client.get_repository_info() self.assertIsNone(repository_info)
"""Unit tests for CVSClient.""" from __future__ import unicode_literals import kgb from rbtools.clients import RepositoryInfo from rbtools.clients.cvs import CVSClient from rbtools.clients.tests import SCMClientTestCase class CVSClientTests(kgb.SpyAgency, SCMClientTestCase): """Unit tests for CVSClient.""" def setUp(self): super(CVSClientTests, self).setUp() self.client = CVSClient(options=self.options) def test_get_repository_info_with_found(self): """Testing CVSClient.get_repository_info with repository found""" self.spy_on(CVSClient.get_local_path, op=kgb.SpyOpReturn('/path/to/cvsdir')) repository_info = self.client.get_repository_info() self.assertIsInstance(repository_info, RepositoryInfo) self.assertIsNone(repository_info.base_path) self.assertEqual(repository_info.path, '/path/to/cvsdir') self.assertEqual(repository_info.local_path, '/path/to/cvsdir') def test_get_repository_info_with_not_found(self): """Testing CVSClient.get_repository_info with repository not found""" self.spy_on(CVSClient.get_local_path, op=kgb.SpyOpReturn(None)) repository_info = self.client.get_repository_info() self.assertIsNone(repository_info) Update the CVS unit tests to use build_client(). This updates the CVS unit tests to build a `CVSClient` in each test where it's needed, rather than in `setUp()`. This is in prepration for new tests that will need to handle client construction differently. Testing Done: CVS unit tests pass. Reviewed at https://reviews.reviewboard.org/r/12504/"""Unit tests for CVSClient.""" from __future__ import unicode_literals import kgb from rbtools.clients import RepositoryInfo from rbtools.clients.cvs import CVSClient from rbtools.clients.tests import SCMClientTestCase class CVSClientTests(kgb.SpyAgency, SCMClientTestCase): """Unit tests for CVSClient.""" scmclient_cls = CVSClient def test_get_repository_info_with_found(self): """Testing CVSClient.get_repository_info with repository found""" client = self.build_client() self.spy_on(client.get_local_path, op=kgb.SpyOpReturn('/path/to/cvsdir')) repository_info = client.get_repository_info() self.assertIsInstance(repository_info, RepositoryInfo) self.assertIsNone(repository_info.base_path) self.assertEqual(repository_info.path, '/path/to/cvsdir') self.assertEqual(repository_info.local_path, '/path/to/cvsdir') def test_get_repository_info_with_not_found(self): """Testing CVSClient.get_repository_info with repository not found""" client = self.build_client() self.spy_on(client.get_local_path, op=kgb.SpyOpReturn(None)) repository_info = client.get_repository_info() self.assertIsNone(repository_info)
<commit_before>"""Unit tests for CVSClient.""" from __future__ import unicode_literals import kgb from rbtools.clients import RepositoryInfo from rbtools.clients.cvs import CVSClient from rbtools.clients.tests import SCMClientTestCase class CVSClientTests(kgb.SpyAgency, SCMClientTestCase): """Unit tests for CVSClient.""" def setUp(self): super(CVSClientTests, self).setUp() self.client = CVSClient(options=self.options) def test_get_repository_info_with_found(self): """Testing CVSClient.get_repository_info with repository found""" self.spy_on(CVSClient.get_local_path, op=kgb.SpyOpReturn('/path/to/cvsdir')) repository_info = self.client.get_repository_info() self.assertIsInstance(repository_info, RepositoryInfo) self.assertIsNone(repository_info.base_path) self.assertEqual(repository_info.path, '/path/to/cvsdir') self.assertEqual(repository_info.local_path, '/path/to/cvsdir') def test_get_repository_info_with_not_found(self): """Testing CVSClient.get_repository_info with repository not found""" self.spy_on(CVSClient.get_local_path, op=kgb.SpyOpReturn(None)) repository_info = self.client.get_repository_info() self.assertIsNone(repository_info) <commit_msg>Update the CVS unit tests to use build_client(). This updates the CVS unit tests to build a `CVSClient` in each test where it's needed, rather than in `setUp()`. This is in prepration for new tests that will need to handle client construction differently. Testing Done: CVS unit tests pass. Reviewed at https://reviews.reviewboard.org/r/12504/<commit_after>"""Unit tests for CVSClient.""" from __future__ import unicode_literals import kgb from rbtools.clients import RepositoryInfo from rbtools.clients.cvs import CVSClient from rbtools.clients.tests import SCMClientTestCase class CVSClientTests(kgb.SpyAgency, SCMClientTestCase): """Unit tests for CVSClient.""" scmclient_cls = CVSClient def test_get_repository_info_with_found(self): """Testing CVSClient.get_repository_info with repository found""" client = self.build_client() self.spy_on(client.get_local_path, op=kgb.SpyOpReturn('/path/to/cvsdir')) repository_info = client.get_repository_info() self.assertIsInstance(repository_info, RepositoryInfo) self.assertIsNone(repository_info.base_path) self.assertEqual(repository_info.path, '/path/to/cvsdir') self.assertEqual(repository_info.local_path, '/path/to/cvsdir') def test_get_repository_info_with_not_found(self): """Testing CVSClient.get_repository_info with repository not found""" client = self.build_client() self.spy_on(client.get_local_path, op=kgb.SpyOpReturn(None)) repository_info = client.get_repository_info() self.assertIsNone(repository_info)
e004e5610526d2762027c586cfb8a0a81a1ec00d
examples/task_call.py
examples/task_call.py
import sys sys.path.append('../py') from iroha import * from iroha.iroha import * d = IDesign() mod = IModule(d, "mod") callee_tab = ITable(mod) task = design_tool.CreateSiblingTask(callee_tab) entry_insn = IInsn(task) st1 = IState(callee_tab) st1.insns.append(entry_insn) callee_tab.states.append(st1) callee_tab.initialSt = st1 caller_tab = ITable(mod) call = design_tool.CreateSiblingTaskCall(caller_tab, callee_tab) call_insn = IInsn(call) st2 = IState(caller_tab) st2.insns.append(call_insn) caller_tab.states.append(st2) caller_tab.initialSt = st2 design_tool.ValidateIds(d) w = DesignWriter(d) w.Write()
import sys sys.path.append('../py') from iroha import * from iroha.iroha import * d = IDesign() mod = IModule(d, "mod") callee_tab = ITable(mod) task = design_tool.CreateSiblingTask(callee_tab) entry_insn = IInsn(task) st1 = IState(callee_tab) st1.insns.append(entry_insn) callee_tab.states.append(st1) callee_tab.initialSt = st1 print_res = design_tool.GetResource(callee_tab, "print") print_insn = IInsn(print_res) print_insn.inputs.append(design_tool.AllocConstNum(callee_tab, False, 32, 123)) st1.insns.append(print_insn) caller_tab = ITable(mod) call = design_tool.CreateSiblingTaskCall(caller_tab, callee_tab) call_insn = IInsn(call) st20 = IState(caller_tab) st20.insns.append(call_insn) caller_tab.states.append(st20) caller_tab.initialSt = st20 st21 = IState(caller_tab) caller_tab.states.append(st21) design_tool.AddNextState(st20, st21) design_tool.ValidateIds(d) w = DesignWriter(d) w.Write()
Add a state not to call the task continuously.
Add a state not to call the task continuously.
Python
bsd-3-clause
nlsynth/iroha,nlsynth/iroha
import sys sys.path.append('../py') from iroha import * from iroha.iroha import * d = IDesign() mod = IModule(d, "mod") callee_tab = ITable(mod) task = design_tool.CreateSiblingTask(callee_tab) entry_insn = IInsn(task) st1 = IState(callee_tab) st1.insns.append(entry_insn) callee_tab.states.append(st1) callee_tab.initialSt = st1 caller_tab = ITable(mod) call = design_tool.CreateSiblingTaskCall(caller_tab, callee_tab) call_insn = IInsn(call) st2 = IState(caller_tab) st2.insns.append(call_insn) caller_tab.states.append(st2) caller_tab.initialSt = st2 design_tool.ValidateIds(d) w = DesignWriter(d) w.Write() Add a state not to call the task continuously.
import sys sys.path.append('../py') from iroha import * from iroha.iroha import * d = IDesign() mod = IModule(d, "mod") callee_tab = ITable(mod) task = design_tool.CreateSiblingTask(callee_tab) entry_insn = IInsn(task) st1 = IState(callee_tab) st1.insns.append(entry_insn) callee_tab.states.append(st1) callee_tab.initialSt = st1 print_res = design_tool.GetResource(callee_tab, "print") print_insn = IInsn(print_res) print_insn.inputs.append(design_tool.AllocConstNum(callee_tab, False, 32, 123)) st1.insns.append(print_insn) caller_tab = ITable(mod) call = design_tool.CreateSiblingTaskCall(caller_tab, callee_tab) call_insn = IInsn(call) st20 = IState(caller_tab) st20.insns.append(call_insn) caller_tab.states.append(st20) caller_tab.initialSt = st20 st21 = IState(caller_tab) caller_tab.states.append(st21) design_tool.AddNextState(st20, st21) design_tool.ValidateIds(d) w = DesignWriter(d) w.Write()
<commit_before>import sys sys.path.append('../py') from iroha import * from iroha.iroha import * d = IDesign() mod = IModule(d, "mod") callee_tab = ITable(mod) task = design_tool.CreateSiblingTask(callee_tab) entry_insn = IInsn(task) st1 = IState(callee_tab) st1.insns.append(entry_insn) callee_tab.states.append(st1) callee_tab.initialSt = st1 caller_tab = ITable(mod) call = design_tool.CreateSiblingTaskCall(caller_tab, callee_tab) call_insn = IInsn(call) st2 = IState(caller_tab) st2.insns.append(call_insn) caller_tab.states.append(st2) caller_tab.initialSt = st2 design_tool.ValidateIds(d) w = DesignWriter(d) w.Write() <commit_msg>Add a state not to call the task continuously.<commit_after>
import sys sys.path.append('../py') from iroha import * from iroha.iroha import * d = IDesign() mod = IModule(d, "mod") callee_tab = ITable(mod) task = design_tool.CreateSiblingTask(callee_tab) entry_insn = IInsn(task) st1 = IState(callee_tab) st1.insns.append(entry_insn) callee_tab.states.append(st1) callee_tab.initialSt = st1 print_res = design_tool.GetResource(callee_tab, "print") print_insn = IInsn(print_res) print_insn.inputs.append(design_tool.AllocConstNum(callee_tab, False, 32, 123)) st1.insns.append(print_insn) caller_tab = ITable(mod) call = design_tool.CreateSiblingTaskCall(caller_tab, callee_tab) call_insn = IInsn(call) st20 = IState(caller_tab) st20.insns.append(call_insn) caller_tab.states.append(st20) caller_tab.initialSt = st20 st21 = IState(caller_tab) caller_tab.states.append(st21) design_tool.AddNextState(st20, st21) design_tool.ValidateIds(d) w = DesignWriter(d) w.Write()
import sys sys.path.append('../py') from iroha import * from iroha.iroha import * d = IDesign() mod = IModule(d, "mod") callee_tab = ITable(mod) task = design_tool.CreateSiblingTask(callee_tab) entry_insn = IInsn(task) st1 = IState(callee_tab) st1.insns.append(entry_insn) callee_tab.states.append(st1) callee_tab.initialSt = st1 caller_tab = ITable(mod) call = design_tool.CreateSiblingTaskCall(caller_tab, callee_tab) call_insn = IInsn(call) st2 = IState(caller_tab) st2.insns.append(call_insn) caller_tab.states.append(st2) caller_tab.initialSt = st2 design_tool.ValidateIds(d) w = DesignWriter(d) w.Write() Add a state not to call the task continuously.import sys sys.path.append('../py') from iroha import * from iroha.iroha import * d = IDesign() mod = IModule(d, "mod") callee_tab = ITable(mod) task = design_tool.CreateSiblingTask(callee_tab) entry_insn = IInsn(task) st1 = IState(callee_tab) st1.insns.append(entry_insn) callee_tab.states.append(st1) callee_tab.initialSt = st1 print_res = design_tool.GetResource(callee_tab, "print") print_insn = IInsn(print_res) print_insn.inputs.append(design_tool.AllocConstNum(callee_tab, False, 32, 123)) st1.insns.append(print_insn) caller_tab = ITable(mod) call = design_tool.CreateSiblingTaskCall(caller_tab, callee_tab) call_insn = IInsn(call) st20 = IState(caller_tab) st20.insns.append(call_insn) caller_tab.states.append(st20) caller_tab.initialSt = st20 st21 = IState(caller_tab) caller_tab.states.append(st21) design_tool.AddNextState(st20, st21) design_tool.ValidateIds(d) w = DesignWriter(d) w.Write()
<commit_before>import sys sys.path.append('../py') from iroha import * from iroha.iroha import * d = IDesign() mod = IModule(d, "mod") callee_tab = ITable(mod) task = design_tool.CreateSiblingTask(callee_tab) entry_insn = IInsn(task) st1 = IState(callee_tab) st1.insns.append(entry_insn) callee_tab.states.append(st1) callee_tab.initialSt = st1 caller_tab = ITable(mod) call = design_tool.CreateSiblingTaskCall(caller_tab, callee_tab) call_insn = IInsn(call) st2 = IState(caller_tab) st2.insns.append(call_insn) caller_tab.states.append(st2) caller_tab.initialSt = st2 design_tool.ValidateIds(d) w = DesignWriter(d) w.Write() <commit_msg>Add a state not to call the task continuously.<commit_after>import sys sys.path.append('../py') from iroha import * from iroha.iroha import * d = IDesign() mod = IModule(d, "mod") callee_tab = ITable(mod) task = design_tool.CreateSiblingTask(callee_tab) entry_insn = IInsn(task) st1 = IState(callee_tab) st1.insns.append(entry_insn) callee_tab.states.append(st1) callee_tab.initialSt = st1 print_res = design_tool.GetResource(callee_tab, "print") print_insn = IInsn(print_res) print_insn.inputs.append(design_tool.AllocConstNum(callee_tab, False, 32, 123)) st1.insns.append(print_insn) caller_tab = ITable(mod) call = design_tool.CreateSiblingTaskCall(caller_tab, callee_tab) call_insn = IInsn(call) st20 = IState(caller_tab) st20.insns.append(call_insn) caller_tab.states.append(st20) caller_tab.initialSt = st20 st21 = IState(caller_tab) caller_tab.states.append(st21) design_tool.AddNextState(st20, st21) design_tool.ValidateIds(d) w = DesignWriter(d) w.Write()
a2333c2009f935731665de51ff1a28121c6a234d
migrations/versions/0313_email_access_validated_at.py
migrations/versions/0313_email_access_validated_at.py
""" Revision ID: 0313_email_access_validated_at Revises: 0312_populate_returned_letters Create Date: 2020-01-28 18:03:22.237386 """ from alembic import op import sqlalchemy as sa revision = '0313_email_access_validated_at' down_revision = '0312_populate_returned_letters' def upgrade(): # ### commands auto generated by Alembic - please adjust! ### op.add_column('users', sa.Column('email_access_validated_at', sa.DateTime(), nullable=True)) # if user has email_auth, set email_access_validated_at on last login, else set it at user created_at date. op.execute(""" UPDATE users SET email_access_validated_at = created_at """) op.execute(""" UPDATE users SET email_access_validated_at = logged_in_at WHERE auth_type = 'email_auth' AND email_access_validated_at IS NOT NULL """) op.alter_column('users', 'email_access_validated_at', nullable=False) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### op.drop_column('users', 'email_access_validated_at') # ### end Alembic commands ###
""" Revision ID: 0313_email_access_validated_at Revises: 0312_populate_returned_letters Create Date: 2020-01-28 18:03:22.237386 """ from alembic import op import sqlalchemy as sa revision = '0313_email_access_validated_at' down_revision = '0312_populate_returned_letters' def upgrade(): # ### commands auto generated by Alembic - please adjust! ### op.add_column('users', sa.Column('email_access_validated_at', sa.DateTime(), nullable=True)) # if user has email_auth, set email_access_validated_at on last login, else set it at user created_at date. op.execute(""" UPDATE users SET email_access_validated_at = created_at """) op.execute(""" UPDATE users SET email_access_validated_at = logged_in_at WHERE auth_type = 'email_auth' AND logged_in_at IS NOT NULL """) op.alter_column('users', 'email_access_validated_at', nullable=False) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### op.drop_column('users', 'email_access_validated_at') # ### end Alembic commands ###
Fix typo where wrong column name was checked for being null
Fix typo where wrong column name was checked for being null
Python
mit
alphagov/notifications-api,alphagov/notifications-api
""" Revision ID: 0313_email_access_validated_at Revises: 0312_populate_returned_letters Create Date: 2020-01-28 18:03:22.237386 """ from alembic import op import sqlalchemy as sa revision = '0313_email_access_validated_at' down_revision = '0312_populate_returned_letters' def upgrade(): # ### commands auto generated by Alembic - please adjust! ### op.add_column('users', sa.Column('email_access_validated_at', sa.DateTime(), nullable=True)) # if user has email_auth, set email_access_validated_at on last login, else set it at user created_at date. op.execute(""" UPDATE users SET email_access_validated_at = created_at """) op.execute(""" UPDATE users SET email_access_validated_at = logged_in_at WHERE auth_type = 'email_auth' AND email_access_validated_at IS NOT NULL """) op.alter_column('users', 'email_access_validated_at', nullable=False) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### op.drop_column('users', 'email_access_validated_at') # ### end Alembic commands ### Fix typo where wrong column name was checked for being null
""" Revision ID: 0313_email_access_validated_at Revises: 0312_populate_returned_letters Create Date: 2020-01-28 18:03:22.237386 """ from alembic import op import sqlalchemy as sa revision = '0313_email_access_validated_at' down_revision = '0312_populate_returned_letters' def upgrade(): # ### commands auto generated by Alembic - please adjust! ### op.add_column('users', sa.Column('email_access_validated_at', sa.DateTime(), nullable=True)) # if user has email_auth, set email_access_validated_at on last login, else set it at user created_at date. op.execute(""" UPDATE users SET email_access_validated_at = created_at """) op.execute(""" UPDATE users SET email_access_validated_at = logged_in_at WHERE auth_type = 'email_auth' AND logged_in_at IS NOT NULL """) op.alter_column('users', 'email_access_validated_at', nullable=False) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### op.drop_column('users', 'email_access_validated_at') # ### end Alembic commands ###
<commit_before>""" Revision ID: 0313_email_access_validated_at Revises: 0312_populate_returned_letters Create Date: 2020-01-28 18:03:22.237386 """ from alembic import op import sqlalchemy as sa revision = '0313_email_access_validated_at' down_revision = '0312_populate_returned_letters' def upgrade(): # ### commands auto generated by Alembic - please adjust! ### op.add_column('users', sa.Column('email_access_validated_at', sa.DateTime(), nullable=True)) # if user has email_auth, set email_access_validated_at on last login, else set it at user created_at date. op.execute(""" UPDATE users SET email_access_validated_at = created_at """) op.execute(""" UPDATE users SET email_access_validated_at = logged_in_at WHERE auth_type = 'email_auth' AND email_access_validated_at IS NOT NULL """) op.alter_column('users', 'email_access_validated_at', nullable=False) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### op.drop_column('users', 'email_access_validated_at') # ### end Alembic commands ### <commit_msg>Fix typo where wrong column name was checked for being null<commit_after>
""" Revision ID: 0313_email_access_validated_at Revises: 0312_populate_returned_letters Create Date: 2020-01-28 18:03:22.237386 """ from alembic import op import sqlalchemy as sa revision = '0313_email_access_validated_at' down_revision = '0312_populate_returned_letters' def upgrade(): # ### commands auto generated by Alembic - please adjust! ### op.add_column('users', sa.Column('email_access_validated_at', sa.DateTime(), nullable=True)) # if user has email_auth, set email_access_validated_at on last login, else set it at user created_at date. op.execute(""" UPDATE users SET email_access_validated_at = created_at """) op.execute(""" UPDATE users SET email_access_validated_at = logged_in_at WHERE auth_type = 'email_auth' AND logged_in_at IS NOT NULL """) op.alter_column('users', 'email_access_validated_at', nullable=False) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### op.drop_column('users', 'email_access_validated_at') # ### end Alembic commands ###
""" Revision ID: 0313_email_access_validated_at Revises: 0312_populate_returned_letters Create Date: 2020-01-28 18:03:22.237386 """ from alembic import op import sqlalchemy as sa revision = '0313_email_access_validated_at' down_revision = '0312_populate_returned_letters' def upgrade(): # ### commands auto generated by Alembic - please adjust! ### op.add_column('users', sa.Column('email_access_validated_at', sa.DateTime(), nullable=True)) # if user has email_auth, set email_access_validated_at on last login, else set it at user created_at date. op.execute(""" UPDATE users SET email_access_validated_at = created_at """) op.execute(""" UPDATE users SET email_access_validated_at = logged_in_at WHERE auth_type = 'email_auth' AND email_access_validated_at IS NOT NULL """) op.alter_column('users', 'email_access_validated_at', nullable=False) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### op.drop_column('users', 'email_access_validated_at') # ### end Alembic commands ### Fix typo where wrong column name was checked for being null""" Revision ID: 0313_email_access_validated_at Revises: 0312_populate_returned_letters Create Date: 2020-01-28 18:03:22.237386 """ from alembic import op import sqlalchemy as sa revision = '0313_email_access_validated_at' down_revision = '0312_populate_returned_letters' def upgrade(): # ### commands auto generated by Alembic - please adjust! ### op.add_column('users', sa.Column('email_access_validated_at', sa.DateTime(), nullable=True)) # if user has email_auth, set email_access_validated_at on last login, else set it at user created_at date. op.execute(""" UPDATE users SET email_access_validated_at = created_at """) op.execute(""" UPDATE users SET email_access_validated_at = logged_in_at WHERE auth_type = 'email_auth' AND logged_in_at IS NOT NULL """) op.alter_column('users', 'email_access_validated_at', nullable=False) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### op.drop_column('users', 'email_access_validated_at') # ### end Alembic commands ###
<commit_before>""" Revision ID: 0313_email_access_validated_at Revises: 0312_populate_returned_letters Create Date: 2020-01-28 18:03:22.237386 """ from alembic import op import sqlalchemy as sa revision = '0313_email_access_validated_at' down_revision = '0312_populate_returned_letters' def upgrade(): # ### commands auto generated by Alembic - please adjust! ### op.add_column('users', sa.Column('email_access_validated_at', sa.DateTime(), nullable=True)) # if user has email_auth, set email_access_validated_at on last login, else set it at user created_at date. op.execute(""" UPDATE users SET email_access_validated_at = created_at """) op.execute(""" UPDATE users SET email_access_validated_at = logged_in_at WHERE auth_type = 'email_auth' AND email_access_validated_at IS NOT NULL """) op.alter_column('users', 'email_access_validated_at', nullable=False) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### op.drop_column('users', 'email_access_validated_at') # ### end Alembic commands ### <commit_msg>Fix typo where wrong column name was checked for being null<commit_after>""" Revision ID: 0313_email_access_validated_at Revises: 0312_populate_returned_letters Create Date: 2020-01-28 18:03:22.237386 """ from alembic import op import sqlalchemy as sa revision = '0313_email_access_validated_at' down_revision = '0312_populate_returned_letters' def upgrade(): # ### commands auto generated by Alembic - please adjust! ### op.add_column('users', sa.Column('email_access_validated_at', sa.DateTime(), nullable=True)) # if user has email_auth, set email_access_validated_at on last login, else set it at user created_at date. op.execute(""" UPDATE users SET email_access_validated_at = created_at """) op.execute(""" UPDATE users SET email_access_validated_at = logged_in_at WHERE auth_type = 'email_auth' AND logged_in_at IS NOT NULL """) op.alter_column('users', 'email_access_validated_at', nullable=False) # ### end Alembic commands ### def downgrade(): # ### commands auto generated by Alembic - please adjust! ### op.drop_column('users', 'email_access_validated_at') # ### end Alembic commands ###
aa014a472a39c12cf3141dd337ecc2ed1ea2cd55
django_summernote/test_settings.py
django_summernote/test_settings.py
import django DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'django_summernote.db', } } __MIDDLEWARE__ = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.locale.LocaleMiddleware', ) if django.VERSION < (1, 10): MIDDLEWARE_CLASSES = __MIDDLEWARE__ else: MIDDLEWARE = __MIDDLEWARE__ STATIC_URL = '/' MEDIA_URL = '/media/' MEDIA_ROOT = 'test_media' SECRET_KEY = 'django_summernote' ROOT_URLCONF = 'django_summernote.urls' INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.sessions', 'django.contrib.staticfiles', 'django_summernote', ] TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', ] }, }, ] if django.VERSION >= (3, 0): X_FRAME_OPTIONS = 'SAMEORIGIN'
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'django_summernote.db', } } MIDDLEWARE = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.locale.LocaleMiddleware', ) STATIC_URL = '/' MEDIA_URL = '/media/' MEDIA_ROOT = 'test_media' SECRET_KEY = 'django_summernote' ROOT_URLCONF = 'django_summernote.urls' INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.sessions', 'django.contrib.staticfiles', 'django_summernote', ] TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', ] }, }, ] if django.VERSION >= (3, 0): X_FRAME_OPTIONS = 'SAMEORIGIN'
Drop old django version support (1.10)
Drop old django version support (1.10)
Python
mit
summernote/django-summernote,summernote/django-summernote,summernote/django-summernote
import django DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'django_summernote.db', } } __MIDDLEWARE__ = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.locale.LocaleMiddleware', ) if django.VERSION < (1, 10): MIDDLEWARE_CLASSES = __MIDDLEWARE__ else: MIDDLEWARE = __MIDDLEWARE__ STATIC_URL = '/' MEDIA_URL = '/media/' MEDIA_ROOT = 'test_media' SECRET_KEY = 'django_summernote' ROOT_URLCONF = 'django_summernote.urls' INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.sessions', 'django.contrib.staticfiles', 'django_summernote', ] TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', ] }, }, ] if django.VERSION >= (3, 0): X_FRAME_OPTIONS = 'SAMEORIGIN' Drop old django version support (1.10)
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'django_summernote.db', } } MIDDLEWARE = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.locale.LocaleMiddleware', ) STATIC_URL = '/' MEDIA_URL = '/media/' MEDIA_ROOT = 'test_media' SECRET_KEY = 'django_summernote' ROOT_URLCONF = 'django_summernote.urls' INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.sessions', 'django.contrib.staticfiles', 'django_summernote', ] TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', ] }, }, ] if django.VERSION >= (3, 0): X_FRAME_OPTIONS = 'SAMEORIGIN'
<commit_before>import django DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'django_summernote.db', } } __MIDDLEWARE__ = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.locale.LocaleMiddleware', ) if django.VERSION < (1, 10): MIDDLEWARE_CLASSES = __MIDDLEWARE__ else: MIDDLEWARE = __MIDDLEWARE__ STATIC_URL = '/' MEDIA_URL = '/media/' MEDIA_ROOT = 'test_media' SECRET_KEY = 'django_summernote' ROOT_URLCONF = 'django_summernote.urls' INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.sessions', 'django.contrib.staticfiles', 'django_summernote', ] TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', ] }, }, ] if django.VERSION >= (3, 0): X_FRAME_OPTIONS = 'SAMEORIGIN' <commit_msg>Drop old django version support (1.10)<commit_after>
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'django_summernote.db', } } MIDDLEWARE = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.locale.LocaleMiddleware', ) STATIC_URL = '/' MEDIA_URL = '/media/' MEDIA_ROOT = 'test_media' SECRET_KEY = 'django_summernote' ROOT_URLCONF = 'django_summernote.urls' INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.sessions', 'django.contrib.staticfiles', 'django_summernote', ] TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', ] }, }, ] if django.VERSION >= (3, 0): X_FRAME_OPTIONS = 'SAMEORIGIN'
import django DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'django_summernote.db', } } __MIDDLEWARE__ = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.locale.LocaleMiddleware', ) if django.VERSION < (1, 10): MIDDLEWARE_CLASSES = __MIDDLEWARE__ else: MIDDLEWARE = __MIDDLEWARE__ STATIC_URL = '/' MEDIA_URL = '/media/' MEDIA_ROOT = 'test_media' SECRET_KEY = 'django_summernote' ROOT_URLCONF = 'django_summernote.urls' INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.sessions', 'django.contrib.staticfiles', 'django_summernote', ] TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', ] }, }, ] if django.VERSION >= (3, 0): X_FRAME_OPTIONS = 'SAMEORIGIN' Drop old django version support (1.10)DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'django_summernote.db', } } MIDDLEWARE = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.locale.LocaleMiddleware', ) STATIC_URL = '/' MEDIA_URL = '/media/' MEDIA_ROOT = 'test_media' SECRET_KEY = 'django_summernote' ROOT_URLCONF = 'django_summernote.urls' INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.sessions', 'django.contrib.staticfiles', 'django_summernote', ] TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', ] }, }, ] if django.VERSION >= (3, 0): X_FRAME_OPTIONS = 'SAMEORIGIN'
<commit_before>import django DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'django_summernote.db', } } __MIDDLEWARE__ = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.locale.LocaleMiddleware', ) if django.VERSION < (1, 10): MIDDLEWARE_CLASSES = __MIDDLEWARE__ else: MIDDLEWARE = __MIDDLEWARE__ STATIC_URL = '/' MEDIA_URL = '/media/' MEDIA_ROOT = 'test_media' SECRET_KEY = 'django_summernote' ROOT_URLCONF = 'django_summernote.urls' INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.sessions', 'django.contrib.staticfiles', 'django_summernote', ] TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', ] }, }, ] if django.VERSION >= (3, 0): X_FRAME_OPTIONS = 'SAMEORIGIN' <commit_msg>Drop old django version support (1.10)<commit_after>DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'django_summernote.db', } } MIDDLEWARE = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django.middleware.locale.LocaleMiddleware', ) STATIC_URL = '/' MEDIA_URL = '/media/' MEDIA_ROOT = 'test_media' SECRET_KEY = 'django_summernote' ROOT_URLCONF = 'django_summernote.urls' INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.messages', 'django.contrib.sessions', 'django.contrib.staticfiles', 'django_summernote', ] TEMPLATES = [ { 'BACKEND': 'django.template.backends.django.DjangoTemplates', 'APP_DIRS': True, 'OPTIONS': { 'context_processors': [ 'django.template.context_processors.request', 'django.contrib.auth.context_processors.auth', 'django.contrib.messages.context_processors.messages', ] }, }, ] if django.VERSION >= (3, 0): X_FRAME_OPTIONS = 'SAMEORIGIN'
9c0e72228ab3e2176907edd8e584ba64f34cbcc3
1-1/hello_world_broken.py
1-1/hello_world_broken.py
import pyopencl as cl TASKS = 64 if __name__ == '__main__': print('create context') ctx = cl.create_some_context() print('create command queue') queue = cl.CommandQueue(ctx) print('load program from cl source file') f = open('hello_world.cl', 'r') kernels = ''.join(f.readlines()) f.close() print('compile kernel code') prg = cl.Program(ctx, kernels).build() print('execute kernel programs') evt = prg.hello_world(queue, (TASKS, ), (1, )) print('wait for kernel executions') evt.wait() print('done')
import pyopencl as cl TASKS = 64 if __name__ == '__main__': print('create context') ctx = cl.create_some_context() print('create command queue') queue = cl.CommandQueue(ctx) print('load program from cl source file') f = open('hello_world_broken.cl', 'r') kernels = ''.join(f.readlines()) f.close() print('compile kernel code') prg = cl.Program(ctx, kernels).build() print('execute kernel programs') evt = prg.hello_world(queue, (TASKS, ), (1, )) print('wait for kernel executions') evt.wait() print('done')
Correct the filename we use.
Correct the filename we use.
Python
mit
PyOCL/pyopencl-examples,PyOCL/pyopencl-examples
import pyopencl as cl TASKS = 64 if __name__ == '__main__': print('create context') ctx = cl.create_some_context() print('create command queue') queue = cl.CommandQueue(ctx) print('load program from cl source file') f = open('hello_world.cl', 'r') kernels = ''.join(f.readlines()) f.close() print('compile kernel code') prg = cl.Program(ctx, kernels).build() print('execute kernel programs') evt = prg.hello_world(queue, (TASKS, ), (1, )) print('wait for kernel executions') evt.wait() print('done') Correct the filename we use.
import pyopencl as cl TASKS = 64 if __name__ == '__main__': print('create context') ctx = cl.create_some_context() print('create command queue') queue = cl.CommandQueue(ctx) print('load program from cl source file') f = open('hello_world_broken.cl', 'r') kernels = ''.join(f.readlines()) f.close() print('compile kernel code') prg = cl.Program(ctx, kernels).build() print('execute kernel programs') evt = prg.hello_world(queue, (TASKS, ), (1, )) print('wait for kernel executions') evt.wait() print('done')
<commit_before>import pyopencl as cl TASKS = 64 if __name__ == '__main__': print('create context') ctx = cl.create_some_context() print('create command queue') queue = cl.CommandQueue(ctx) print('load program from cl source file') f = open('hello_world.cl', 'r') kernels = ''.join(f.readlines()) f.close() print('compile kernel code') prg = cl.Program(ctx, kernels).build() print('execute kernel programs') evt = prg.hello_world(queue, (TASKS, ), (1, )) print('wait for kernel executions') evt.wait() print('done') <commit_msg>Correct the filename we use.<commit_after>
import pyopencl as cl TASKS = 64 if __name__ == '__main__': print('create context') ctx = cl.create_some_context() print('create command queue') queue = cl.CommandQueue(ctx) print('load program from cl source file') f = open('hello_world_broken.cl', 'r') kernels = ''.join(f.readlines()) f.close() print('compile kernel code') prg = cl.Program(ctx, kernels).build() print('execute kernel programs') evt = prg.hello_world(queue, (TASKS, ), (1, )) print('wait for kernel executions') evt.wait() print('done')
import pyopencl as cl TASKS = 64 if __name__ == '__main__': print('create context') ctx = cl.create_some_context() print('create command queue') queue = cl.CommandQueue(ctx) print('load program from cl source file') f = open('hello_world.cl', 'r') kernels = ''.join(f.readlines()) f.close() print('compile kernel code') prg = cl.Program(ctx, kernels).build() print('execute kernel programs') evt = prg.hello_world(queue, (TASKS, ), (1, )) print('wait for kernel executions') evt.wait() print('done') Correct the filename we use.import pyopencl as cl TASKS = 64 if __name__ == '__main__': print('create context') ctx = cl.create_some_context() print('create command queue') queue = cl.CommandQueue(ctx) print('load program from cl source file') f = open('hello_world_broken.cl', 'r') kernels = ''.join(f.readlines()) f.close() print('compile kernel code') prg = cl.Program(ctx, kernels).build() print('execute kernel programs') evt = prg.hello_world(queue, (TASKS, ), (1, )) print('wait for kernel executions') evt.wait() print('done')
<commit_before>import pyopencl as cl TASKS = 64 if __name__ == '__main__': print('create context') ctx = cl.create_some_context() print('create command queue') queue = cl.CommandQueue(ctx) print('load program from cl source file') f = open('hello_world.cl', 'r') kernels = ''.join(f.readlines()) f.close() print('compile kernel code') prg = cl.Program(ctx, kernels).build() print('execute kernel programs') evt = prg.hello_world(queue, (TASKS, ), (1, )) print('wait for kernel executions') evt.wait() print('done') <commit_msg>Correct the filename we use.<commit_after>import pyopencl as cl TASKS = 64 if __name__ == '__main__': print('create context') ctx = cl.create_some_context() print('create command queue') queue = cl.CommandQueue(ctx) print('load program from cl source file') f = open('hello_world_broken.cl', 'r') kernels = ''.join(f.readlines()) f.close() print('compile kernel code') prg = cl.Program(ctx, kernels).build() print('execute kernel programs') evt = prg.hello_world(queue, (TASKS, ), (1, )) print('wait for kernel executions') evt.wait() print('done')
ce8bb976d113da8fbc423437d065d34199dbe57b
packages/fsharp-3.0.py
packages/fsharp-3.0.py
class FsharpPackage(GitHubTarballPackage): def __init__(self): GitHubTarballPackage.__init__(self, 'fsharp', 'fsharp', '3.0.13', '3.0.13', configure = '') def build(self): self.sh ('autoreconf') self.sh ('./configure --prefix="%{prefix}"') self.sh ('make') FsharpPackage()
class FsharpPackage(GitHubTarballPackage): def __init__(self): GitHubTarballPackage.__init__(self, 'fsharp', 'fsharp', '3.0.13', '893b8a3a9326b0a2008b5f7322dd8002b8065a69', configure = '') def build(self): self.sh ('autoreconf') self.sh ('./configure --prefix="%{prefix}"') self.sh ('make') FsharpPackage()
Use the full commit hash so that we can download from github.com.
Use the full commit hash so that we can download from github.com.
Python
mit
mono/bockbuild,BansheeMediaPlayer/bockbuild,mono/bockbuild,BansheeMediaPlayer/bockbuild,BansheeMediaPlayer/bockbuild
class FsharpPackage(GitHubTarballPackage): def __init__(self): GitHubTarballPackage.__init__(self, 'fsharp', 'fsharp', '3.0.13', '3.0.13', configure = '') def build(self): self.sh ('autoreconf') self.sh ('./configure --prefix="%{prefix}"') self.sh ('make') FsharpPackage() Use the full commit hash so that we can download from github.com.
class FsharpPackage(GitHubTarballPackage): def __init__(self): GitHubTarballPackage.__init__(self, 'fsharp', 'fsharp', '3.0.13', '893b8a3a9326b0a2008b5f7322dd8002b8065a69', configure = '') def build(self): self.sh ('autoreconf') self.sh ('./configure --prefix="%{prefix}"') self.sh ('make') FsharpPackage()
<commit_before> class FsharpPackage(GitHubTarballPackage): def __init__(self): GitHubTarballPackage.__init__(self, 'fsharp', 'fsharp', '3.0.13', '3.0.13', configure = '') def build(self): self.sh ('autoreconf') self.sh ('./configure --prefix="%{prefix}"') self.sh ('make') FsharpPackage() <commit_msg>Use the full commit hash so that we can download from github.com.<commit_after>
class FsharpPackage(GitHubTarballPackage): def __init__(self): GitHubTarballPackage.__init__(self, 'fsharp', 'fsharp', '3.0.13', '893b8a3a9326b0a2008b5f7322dd8002b8065a69', configure = '') def build(self): self.sh ('autoreconf') self.sh ('./configure --prefix="%{prefix}"') self.sh ('make') FsharpPackage()
class FsharpPackage(GitHubTarballPackage): def __init__(self): GitHubTarballPackage.__init__(self, 'fsharp', 'fsharp', '3.0.13', '3.0.13', configure = '') def build(self): self.sh ('autoreconf') self.sh ('./configure --prefix="%{prefix}"') self.sh ('make') FsharpPackage() Use the full commit hash so that we can download from github.com. class FsharpPackage(GitHubTarballPackage): def __init__(self): GitHubTarballPackage.__init__(self, 'fsharp', 'fsharp', '3.0.13', '893b8a3a9326b0a2008b5f7322dd8002b8065a69', configure = '') def build(self): self.sh ('autoreconf') self.sh ('./configure --prefix="%{prefix}"') self.sh ('make') FsharpPackage()
<commit_before> class FsharpPackage(GitHubTarballPackage): def __init__(self): GitHubTarballPackage.__init__(self, 'fsharp', 'fsharp', '3.0.13', '3.0.13', configure = '') def build(self): self.sh ('autoreconf') self.sh ('./configure --prefix="%{prefix}"') self.sh ('make') FsharpPackage() <commit_msg>Use the full commit hash so that we can download from github.com.<commit_after> class FsharpPackage(GitHubTarballPackage): def __init__(self): GitHubTarballPackage.__init__(self, 'fsharp', 'fsharp', '3.0.13', '893b8a3a9326b0a2008b5f7322dd8002b8065a69', configure = '') def build(self): self.sh ('autoreconf') self.sh ('./configure --prefix="%{prefix}"') self.sh ('make') FsharpPackage()
d989f5513df5a8a28c6bb1c251554afd8fe5f228
camera.py
camera.py
#!/usr/bin/env python """Test Raspberry Pi camera!""" # http://picamera.readthedocs.org/en/release-1.10/index.html import picamera import sys from fractions import Fraction from time import sleep filename = sys.argv[1] camera = picamera.PiCamera() camera.vflip = True camera.hflip = True camera.framerate = Fraction(1, 6) camera.shutter_speed = 4000000 #camera.exposure_mode = 'off' camera.iso = 1600 print "sleep" sleep(4) print "go" # camera.sharpness = 0 # camera.contrast = 0 # camera.brightness = 50 # camera.saturation = 0 # camera.ISO = 0 # camera.video_stabilization = False # camera.exposure_compensation = 0 # camera.exposure_mode = 'auto' # camera.meter_mode = 'average' # camera.awb_mode = 'auto' # camera.image_effect = 'none' # camera.color_effects = None # camera.rotation = 0 # camera.hflip = False # camera.vflip = False # camera.crop = (0.0, 0.0, 1.0, 1.0) camera.capture(filename)
#!/usr/bin/env python """Test Raspberry Pi camera!""" # http://picamera.readthedocs.org/en/release-1.10/index.html import picamera import sys from fractions import Fraction from time import sleep filename = sys.argv[1] camera = picamera.PiCamera() camera.vflip = True camera.hflip = True ## Low light #camera.framerate = Fraction(1, 6) #camera.shutter_speed = 4000000 #camera.iso = 1600 print "sleep" sleep(2) print "go" ## I don't use this: #camera.exposure_mode = 'off' ## Defaults # camera.sharpness = 0 # camera.contrast = 0 # camera.brightness = 50 # camera.saturation = 0 # camera.ISO = 0 # camera.video_stabilization = False # camera.exposure_compensation = 0 # camera.exposure_mode = 'auto' # camera.meter_mode = 'average' # camera.awb_mode = 'auto' # camera.image_effect = 'none' # camera.color_effects = None # camera.rotation = 0 # camera.hflip = False # camera.vflip = False # camera.crop = (0.0, 0.0, 1.0, 1.0) camera.capture(filename)
Change settings for normal light.
Change settings for normal light.
Python
mit
zimolzak/Raspberry-Pi-newbie,zimolzak/Raspberry-Pi-newbie,zimolzak/Raspberry-Pi-newbie,zimolzak/Raspberry-Pi-newbie,zimolzak/Raspberry-Pi-newbie
#!/usr/bin/env python """Test Raspberry Pi camera!""" # http://picamera.readthedocs.org/en/release-1.10/index.html import picamera import sys from fractions import Fraction from time import sleep filename = sys.argv[1] camera = picamera.PiCamera() camera.vflip = True camera.hflip = True camera.framerate = Fraction(1, 6) camera.shutter_speed = 4000000 #camera.exposure_mode = 'off' camera.iso = 1600 print "sleep" sleep(4) print "go" # camera.sharpness = 0 # camera.contrast = 0 # camera.brightness = 50 # camera.saturation = 0 # camera.ISO = 0 # camera.video_stabilization = False # camera.exposure_compensation = 0 # camera.exposure_mode = 'auto' # camera.meter_mode = 'average' # camera.awb_mode = 'auto' # camera.image_effect = 'none' # camera.color_effects = None # camera.rotation = 0 # camera.hflip = False # camera.vflip = False # camera.crop = (0.0, 0.0, 1.0, 1.0) camera.capture(filename) Change settings for normal light.
#!/usr/bin/env python """Test Raspberry Pi camera!""" # http://picamera.readthedocs.org/en/release-1.10/index.html import picamera import sys from fractions import Fraction from time import sleep filename = sys.argv[1] camera = picamera.PiCamera() camera.vflip = True camera.hflip = True ## Low light #camera.framerate = Fraction(1, 6) #camera.shutter_speed = 4000000 #camera.iso = 1600 print "sleep" sleep(2) print "go" ## I don't use this: #camera.exposure_mode = 'off' ## Defaults # camera.sharpness = 0 # camera.contrast = 0 # camera.brightness = 50 # camera.saturation = 0 # camera.ISO = 0 # camera.video_stabilization = False # camera.exposure_compensation = 0 # camera.exposure_mode = 'auto' # camera.meter_mode = 'average' # camera.awb_mode = 'auto' # camera.image_effect = 'none' # camera.color_effects = None # camera.rotation = 0 # camera.hflip = False # camera.vflip = False # camera.crop = (0.0, 0.0, 1.0, 1.0) camera.capture(filename)
<commit_before>#!/usr/bin/env python """Test Raspberry Pi camera!""" # http://picamera.readthedocs.org/en/release-1.10/index.html import picamera import sys from fractions import Fraction from time import sleep filename = sys.argv[1] camera = picamera.PiCamera() camera.vflip = True camera.hflip = True camera.framerate = Fraction(1, 6) camera.shutter_speed = 4000000 #camera.exposure_mode = 'off' camera.iso = 1600 print "sleep" sleep(4) print "go" # camera.sharpness = 0 # camera.contrast = 0 # camera.brightness = 50 # camera.saturation = 0 # camera.ISO = 0 # camera.video_stabilization = False # camera.exposure_compensation = 0 # camera.exposure_mode = 'auto' # camera.meter_mode = 'average' # camera.awb_mode = 'auto' # camera.image_effect = 'none' # camera.color_effects = None # camera.rotation = 0 # camera.hflip = False # camera.vflip = False # camera.crop = (0.0, 0.0, 1.0, 1.0) camera.capture(filename) <commit_msg>Change settings for normal light.<commit_after>
#!/usr/bin/env python """Test Raspberry Pi camera!""" # http://picamera.readthedocs.org/en/release-1.10/index.html import picamera import sys from fractions import Fraction from time import sleep filename = sys.argv[1] camera = picamera.PiCamera() camera.vflip = True camera.hflip = True ## Low light #camera.framerate = Fraction(1, 6) #camera.shutter_speed = 4000000 #camera.iso = 1600 print "sleep" sleep(2) print "go" ## I don't use this: #camera.exposure_mode = 'off' ## Defaults # camera.sharpness = 0 # camera.contrast = 0 # camera.brightness = 50 # camera.saturation = 0 # camera.ISO = 0 # camera.video_stabilization = False # camera.exposure_compensation = 0 # camera.exposure_mode = 'auto' # camera.meter_mode = 'average' # camera.awb_mode = 'auto' # camera.image_effect = 'none' # camera.color_effects = None # camera.rotation = 0 # camera.hflip = False # camera.vflip = False # camera.crop = (0.0, 0.0, 1.0, 1.0) camera.capture(filename)
#!/usr/bin/env python """Test Raspberry Pi camera!""" # http://picamera.readthedocs.org/en/release-1.10/index.html import picamera import sys from fractions import Fraction from time import sleep filename = sys.argv[1] camera = picamera.PiCamera() camera.vflip = True camera.hflip = True camera.framerate = Fraction(1, 6) camera.shutter_speed = 4000000 #camera.exposure_mode = 'off' camera.iso = 1600 print "sleep" sleep(4) print "go" # camera.sharpness = 0 # camera.contrast = 0 # camera.brightness = 50 # camera.saturation = 0 # camera.ISO = 0 # camera.video_stabilization = False # camera.exposure_compensation = 0 # camera.exposure_mode = 'auto' # camera.meter_mode = 'average' # camera.awb_mode = 'auto' # camera.image_effect = 'none' # camera.color_effects = None # camera.rotation = 0 # camera.hflip = False # camera.vflip = False # camera.crop = (0.0, 0.0, 1.0, 1.0) camera.capture(filename) Change settings for normal light.#!/usr/bin/env python """Test Raspberry Pi camera!""" # http://picamera.readthedocs.org/en/release-1.10/index.html import picamera import sys from fractions import Fraction from time import sleep filename = sys.argv[1] camera = picamera.PiCamera() camera.vflip = True camera.hflip = True ## Low light #camera.framerate = Fraction(1, 6) #camera.shutter_speed = 4000000 #camera.iso = 1600 print "sleep" sleep(2) print "go" ## I don't use this: #camera.exposure_mode = 'off' ## Defaults # camera.sharpness = 0 # camera.contrast = 0 # camera.brightness = 50 # camera.saturation = 0 # camera.ISO = 0 # camera.video_stabilization = False # camera.exposure_compensation = 0 # camera.exposure_mode = 'auto' # camera.meter_mode = 'average' # camera.awb_mode = 'auto' # camera.image_effect = 'none' # camera.color_effects = None # camera.rotation = 0 # camera.hflip = False # camera.vflip = False # camera.crop = (0.0, 0.0, 1.0, 1.0) camera.capture(filename)
<commit_before>#!/usr/bin/env python """Test Raspberry Pi camera!""" # http://picamera.readthedocs.org/en/release-1.10/index.html import picamera import sys from fractions import Fraction from time import sleep filename = sys.argv[1] camera = picamera.PiCamera() camera.vflip = True camera.hflip = True camera.framerate = Fraction(1, 6) camera.shutter_speed = 4000000 #camera.exposure_mode = 'off' camera.iso = 1600 print "sleep" sleep(4) print "go" # camera.sharpness = 0 # camera.contrast = 0 # camera.brightness = 50 # camera.saturation = 0 # camera.ISO = 0 # camera.video_stabilization = False # camera.exposure_compensation = 0 # camera.exposure_mode = 'auto' # camera.meter_mode = 'average' # camera.awb_mode = 'auto' # camera.image_effect = 'none' # camera.color_effects = None # camera.rotation = 0 # camera.hflip = False # camera.vflip = False # camera.crop = (0.0, 0.0, 1.0, 1.0) camera.capture(filename) <commit_msg>Change settings for normal light.<commit_after>#!/usr/bin/env python """Test Raspberry Pi camera!""" # http://picamera.readthedocs.org/en/release-1.10/index.html import picamera import sys from fractions import Fraction from time import sleep filename = sys.argv[1] camera = picamera.PiCamera() camera.vflip = True camera.hflip = True ## Low light #camera.framerate = Fraction(1, 6) #camera.shutter_speed = 4000000 #camera.iso = 1600 print "sleep" sleep(2) print "go" ## I don't use this: #camera.exposure_mode = 'off' ## Defaults # camera.sharpness = 0 # camera.contrast = 0 # camera.brightness = 50 # camera.saturation = 0 # camera.ISO = 0 # camera.video_stabilization = False # camera.exposure_compensation = 0 # camera.exposure_mode = 'auto' # camera.meter_mode = 'average' # camera.awb_mode = 'auto' # camera.image_effect = 'none' # camera.color_effects = None # camera.rotation = 0 # camera.hflip = False # camera.vflip = False # camera.crop = (0.0, 0.0, 1.0, 1.0) camera.capture(filename)
597f4e9491120b1bf70544a0a3b26be02431587d
onepercentclub/settings/travis.py
onepercentclub/settings/travis.py
# TODO: not sure why but we need to include the SECRET_KEY here - importing from the test_runner file doesn't work SECRET_KEY = 'hbqnTEq+m7Tk61bvRV/TLANr3i0WZ6hgBXDh3aYpSU8m+E1iCtlU3Q==' from .test_runner import * # Use firefox for running tests on Travis SELENIUM_WEBDRIVER = 'firefox' ROOT_URLCONF = 'onepercentclub.urls'
# TODO: not sure why but we need to include the SECRET_KEY here - importing from the test_runner file doesn't work SECRET_KEY = 'hbqnTEq+m7Tk61bvRV/TLANr3i0WZ6hgBXDh3aYpSU8m+E1iCtlU3Q==' from .test_runner import * # Use firefox for running tests on Travis SELENIUM_WEBDRIVER = 'remote' SELENIUM_TESTS = False ROOT_URLCONF = 'onepercentclub.urls'
Disable front end tests on Travis for now.
Disable front end tests on Travis for now.
Python
bsd-3-clause
onepercentclub/onepercentclub-site,onepercentclub/onepercentclub-site,onepercentclub/onepercentclub-site,onepercentclub/onepercentclub-site,onepercentclub/onepercentclub-site
# TODO: not sure why but we need to include the SECRET_KEY here - importing from the test_runner file doesn't work SECRET_KEY = 'hbqnTEq+m7Tk61bvRV/TLANr3i0WZ6hgBXDh3aYpSU8m+E1iCtlU3Q==' from .test_runner import * # Use firefox for running tests on Travis SELENIUM_WEBDRIVER = 'firefox' ROOT_URLCONF = 'onepercentclub.urls' Disable front end tests on Travis for now.
# TODO: not sure why but we need to include the SECRET_KEY here - importing from the test_runner file doesn't work SECRET_KEY = 'hbqnTEq+m7Tk61bvRV/TLANr3i0WZ6hgBXDh3aYpSU8m+E1iCtlU3Q==' from .test_runner import * # Use firefox for running tests on Travis SELENIUM_WEBDRIVER = 'remote' SELENIUM_TESTS = False ROOT_URLCONF = 'onepercentclub.urls'
<commit_before># TODO: not sure why but we need to include the SECRET_KEY here - importing from the test_runner file doesn't work SECRET_KEY = 'hbqnTEq+m7Tk61bvRV/TLANr3i0WZ6hgBXDh3aYpSU8m+E1iCtlU3Q==' from .test_runner import * # Use firefox for running tests on Travis SELENIUM_WEBDRIVER = 'firefox' ROOT_URLCONF = 'onepercentclub.urls' <commit_msg>Disable front end tests on Travis for now.<commit_after>
# TODO: not sure why but we need to include the SECRET_KEY here - importing from the test_runner file doesn't work SECRET_KEY = 'hbqnTEq+m7Tk61bvRV/TLANr3i0WZ6hgBXDh3aYpSU8m+E1iCtlU3Q==' from .test_runner import * # Use firefox for running tests on Travis SELENIUM_WEBDRIVER = 'remote' SELENIUM_TESTS = False ROOT_URLCONF = 'onepercentclub.urls'
# TODO: not sure why but we need to include the SECRET_KEY here - importing from the test_runner file doesn't work SECRET_KEY = 'hbqnTEq+m7Tk61bvRV/TLANr3i0WZ6hgBXDh3aYpSU8m+E1iCtlU3Q==' from .test_runner import * # Use firefox for running tests on Travis SELENIUM_WEBDRIVER = 'firefox' ROOT_URLCONF = 'onepercentclub.urls' Disable front end tests on Travis for now.# TODO: not sure why but we need to include the SECRET_KEY here - importing from the test_runner file doesn't work SECRET_KEY = 'hbqnTEq+m7Tk61bvRV/TLANr3i0WZ6hgBXDh3aYpSU8m+E1iCtlU3Q==' from .test_runner import * # Use firefox for running tests on Travis SELENIUM_WEBDRIVER = 'remote' SELENIUM_TESTS = False ROOT_URLCONF = 'onepercentclub.urls'
<commit_before># TODO: not sure why but we need to include the SECRET_KEY here - importing from the test_runner file doesn't work SECRET_KEY = 'hbqnTEq+m7Tk61bvRV/TLANr3i0WZ6hgBXDh3aYpSU8m+E1iCtlU3Q==' from .test_runner import * # Use firefox for running tests on Travis SELENIUM_WEBDRIVER = 'firefox' ROOT_URLCONF = 'onepercentclub.urls' <commit_msg>Disable front end tests on Travis for now.<commit_after># TODO: not sure why but we need to include the SECRET_KEY here - importing from the test_runner file doesn't work SECRET_KEY = 'hbqnTEq+m7Tk61bvRV/TLANr3i0WZ6hgBXDh3aYpSU8m+E1iCtlU3Q==' from .test_runner import * # Use firefox for running tests on Travis SELENIUM_WEBDRIVER = 'remote' SELENIUM_TESTS = False ROOT_URLCONF = 'onepercentclub.urls'
9328069cf7c871d701d0299e8665ef60572e8061
fandjango/decorators.py
fandjango/decorators.py
from functools import wraps from django.http import HttpResponse from django.core.urlresolvers import reverse from django.conf import settings from utils import redirect_to_facebook_authorization def facebook_authorization_required(redirect_uri=False): """ Redirect Facebook canvas views to authorization if required. Arguments: redirect_uri -- A string describing an URI to redirect to after authorization is complete. Defaults to current URI in Facebook canvas (ex. http://apps.facebook.com/myapp/path/). """ def decorator(function): @wraps(function) def wrapper(request, *args, **kwargs): if not request.facebook or not request.facebook.user: return redirect_to_facebook_authorization( redirect_uri = redirect_uri or settings.FACEBOOK_APPLICATION_URL + request.get_full_path() ) return function(request, *args, **kwargs) return wrapper return decorator
from functools import wraps from django.http import HttpResponse from django.core.urlresolvers import reverse from django.core.handlers.wsgi import WSGIRequest from django.conf import settings from utils import redirect_to_facebook_authorization def facebook_authorization_required(redirect_uri=False): """ Redirect Facebook canvas views to authorization if required. Arguments: redirect_uri -- A string describing an URI to redirect to after authorization is complete. Defaults to current URI in Facebook canvas (ex. http://apps.facebook.com/myapp/path/). """ def decorator(function): @wraps(function) def wrapper(*args, **kwargs): request = [arg for arg in args if arg.__class__ is WSGIRequest][0] if not request.facebook or not request.facebook.user: return redirect_to_facebook_authorization( redirect_uri = redirect_uri or settings.FACEBOOK_APPLICATION_URL + request.get_full_path() ) return function(*args, **kwargs) return wrapper return decorator
Fix a bug that caused the "facebook_authorization_required" decorator to be incompatible with Django libraries that modify the order of arguments given to views.
Fix a bug that caused the "facebook_authorization_required" decorator to be incompatible with Django libraries that modify the order of arguments given to views.
Python
mit
jgorset/fandjango,jgorset/fandjango
from functools import wraps from django.http import HttpResponse from django.core.urlresolvers import reverse from django.conf import settings from utils import redirect_to_facebook_authorization def facebook_authorization_required(redirect_uri=False): """ Redirect Facebook canvas views to authorization if required. Arguments: redirect_uri -- A string describing an URI to redirect to after authorization is complete. Defaults to current URI in Facebook canvas (ex. http://apps.facebook.com/myapp/path/). """ def decorator(function): @wraps(function) def wrapper(request, *args, **kwargs): if not request.facebook or not request.facebook.user: return redirect_to_facebook_authorization( redirect_uri = redirect_uri or settings.FACEBOOK_APPLICATION_URL + request.get_full_path() ) return function(request, *args, **kwargs) return wrapper return decorator Fix a bug that caused the "facebook_authorization_required" decorator to be incompatible with Django libraries that modify the order of arguments given to views.
from functools import wraps from django.http import HttpResponse from django.core.urlresolvers import reverse from django.core.handlers.wsgi import WSGIRequest from django.conf import settings from utils import redirect_to_facebook_authorization def facebook_authorization_required(redirect_uri=False): """ Redirect Facebook canvas views to authorization if required. Arguments: redirect_uri -- A string describing an URI to redirect to after authorization is complete. Defaults to current URI in Facebook canvas (ex. http://apps.facebook.com/myapp/path/). """ def decorator(function): @wraps(function) def wrapper(*args, **kwargs): request = [arg for arg in args if arg.__class__ is WSGIRequest][0] if not request.facebook or not request.facebook.user: return redirect_to_facebook_authorization( redirect_uri = redirect_uri or settings.FACEBOOK_APPLICATION_URL + request.get_full_path() ) return function(*args, **kwargs) return wrapper return decorator
<commit_before>from functools import wraps from django.http import HttpResponse from django.core.urlresolvers import reverse from django.conf import settings from utils import redirect_to_facebook_authorization def facebook_authorization_required(redirect_uri=False): """ Redirect Facebook canvas views to authorization if required. Arguments: redirect_uri -- A string describing an URI to redirect to after authorization is complete. Defaults to current URI in Facebook canvas (ex. http://apps.facebook.com/myapp/path/). """ def decorator(function): @wraps(function) def wrapper(request, *args, **kwargs): if not request.facebook or not request.facebook.user: return redirect_to_facebook_authorization( redirect_uri = redirect_uri or settings.FACEBOOK_APPLICATION_URL + request.get_full_path() ) return function(request, *args, **kwargs) return wrapper return decorator <commit_msg>Fix a bug that caused the "facebook_authorization_required" decorator to be incompatible with Django libraries that modify the order of arguments given to views.<commit_after>
from functools import wraps from django.http import HttpResponse from django.core.urlresolvers import reverse from django.core.handlers.wsgi import WSGIRequest from django.conf import settings from utils import redirect_to_facebook_authorization def facebook_authorization_required(redirect_uri=False): """ Redirect Facebook canvas views to authorization if required. Arguments: redirect_uri -- A string describing an URI to redirect to after authorization is complete. Defaults to current URI in Facebook canvas (ex. http://apps.facebook.com/myapp/path/). """ def decorator(function): @wraps(function) def wrapper(*args, **kwargs): request = [arg for arg in args if arg.__class__ is WSGIRequest][0] if not request.facebook or not request.facebook.user: return redirect_to_facebook_authorization( redirect_uri = redirect_uri or settings.FACEBOOK_APPLICATION_URL + request.get_full_path() ) return function(*args, **kwargs) return wrapper return decorator
from functools import wraps from django.http import HttpResponse from django.core.urlresolvers import reverse from django.conf import settings from utils import redirect_to_facebook_authorization def facebook_authorization_required(redirect_uri=False): """ Redirect Facebook canvas views to authorization if required. Arguments: redirect_uri -- A string describing an URI to redirect to after authorization is complete. Defaults to current URI in Facebook canvas (ex. http://apps.facebook.com/myapp/path/). """ def decorator(function): @wraps(function) def wrapper(request, *args, **kwargs): if not request.facebook or not request.facebook.user: return redirect_to_facebook_authorization( redirect_uri = redirect_uri or settings.FACEBOOK_APPLICATION_URL + request.get_full_path() ) return function(request, *args, **kwargs) return wrapper return decorator Fix a bug that caused the "facebook_authorization_required" decorator to be incompatible with Django libraries that modify the order of arguments given to views.from functools import wraps from django.http import HttpResponse from django.core.urlresolvers import reverse from django.core.handlers.wsgi import WSGIRequest from django.conf import settings from utils import redirect_to_facebook_authorization def facebook_authorization_required(redirect_uri=False): """ Redirect Facebook canvas views to authorization if required. Arguments: redirect_uri -- A string describing an URI to redirect to after authorization is complete. Defaults to current URI in Facebook canvas (ex. http://apps.facebook.com/myapp/path/). """ def decorator(function): @wraps(function) def wrapper(*args, **kwargs): request = [arg for arg in args if arg.__class__ is WSGIRequest][0] if not request.facebook or not request.facebook.user: return redirect_to_facebook_authorization( redirect_uri = redirect_uri or settings.FACEBOOK_APPLICATION_URL + request.get_full_path() ) return function(*args, **kwargs) return wrapper return decorator
<commit_before>from functools import wraps from django.http import HttpResponse from django.core.urlresolvers import reverse from django.conf import settings from utils import redirect_to_facebook_authorization def facebook_authorization_required(redirect_uri=False): """ Redirect Facebook canvas views to authorization if required. Arguments: redirect_uri -- A string describing an URI to redirect to after authorization is complete. Defaults to current URI in Facebook canvas (ex. http://apps.facebook.com/myapp/path/). """ def decorator(function): @wraps(function) def wrapper(request, *args, **kwargs): if not request.facebook or not request.facebook.user: return redirect_to_facebook_authorization( redirect_uri = redirect_uri or settings.FACEBOOK_APPLICATION_URL + request.get_full_path() ) return function(request, *args, **kwargs) return wrapper return decorator <commit_msg>Fix a bug that caused the "facebook_authorization_required" decorator to be incompatible with Django libraries that modify the order of arguments given to views.<commit_after>from functools import wraps from django.http import HttpResponse from django.core.urlresolvers import reverse from django.core.handlers.wsgi import WSGIRequest from django.conf import settings from utils import redirect_to_facebook_authorization def facebook_authorization_required(redirect_uri=False): """ Redirect Facebook canvas views to authorization if required. Arguments: redirect_uri -- A string describing an URI to redirect to after authorization is complete. Defaults to current URI in Facebook canvas (ex. http://apps.facebook.com/myapp/path/). """ def decorator(function): @wraps(function) def wrapper(*args, **kwargs): request = [arg for arg in args if arg.__class__ is WSGIRequest][0] if not request.facebook or not request.facebook.user: return redirect_to_facebook_authorization( redirect_uri = redirect_uri or settings.FACEBOOK_APPLICATION_URL + request.get_full_path() ) return function(*args, **kwargs) return wrapper return decorator
94caedce74bad7a1e4a2002dd725a220a8fc8a8e
django_prometheus/migrations.py
django_prometheus/migrations.py
from django.db import connections from django.db.migrations.executor import MigrationExecutor from prometheus_client import Gauge unapplied_migrations = Gauge( 'django_migrations_unapplied_total', 'Count of unapplied migrations by database connection', ['connection']) applied_migrations = Gauge( 'django_migrations_applied_total', 'Count of applied migrations by database connection', ['connection']) def ExportMigrationsForDatabase(alias, executor): plan = executor.migration_plan(executor.loader.graph.leaf_nodes()) unapplied_migrations.labels(alias).set(len(plan)) applied_migrations.labels(alias).set(len( executor.loader.applied_migrations)) def ExportMigrations(): """Exports counts of unapplied migrations. This is meant to be called during app startup, ideally by django_prometheus.apps.AppConfig. """ return if 'default' in connections and connections['default']['ENGINE'] == 'django.db.backends.dummy': # This is the case where DATABASES = {} in the configuration, # i.e. the user is not using any databases. Django "helpfully" # adds a dummy database and then throws when you try to # actually use it. So we don't do anything, because trying to # export stats would crash the app on startup. return for alias in connections.databases: executor = MigrationExecutor(connections[alias]) ExportMigrationsForDatabase(alias, executor)
from django.db import connections from django.db.migrations.executor import MigrationExecutor from prometheus_client import Gauge unapplied_migrations = Gauge( 'django_migrations_unapplied_total', 'Count of unapplied migrations by database connection', ['connection']) applied_migrations = Gauge( 'django_migrations_applied_total', 'Count of applied migrations by database connection', ['connection']) def ExportMigrationsForDatabase(alias, executor): plan = executor.migration_plan(executor.loader.graph.leaf_nodes()) unapplied_migrations.labels(alias).set(len(plan)) applied_migrations.labels(alias).set(len( executor.loader.applied_migrations)) def ExportMigrations(): """Exports counts of unapplied migrations. This is meant to be called during app startup, ideally by django_prometheus.apps.AppConfig. """ return if 'default' in connections and ( connections['default']['ENGINE'] == 'django.db.backends.dummy'): # This is the case where DATABASES = {} in the configuration, # i.e. the user is not using any databases. Django "helpfully" # adds a dummy database and then throws when you try to # actually use it. So we don't do anything, because trying to # export stats would crash the app on startup. return for alias in connections.databases: executor = MigrationExecutor(connections[alias]) ExportMigrationsForDatabase(alias, executor)
Fix pep8 violation in 29e3a0c.
Fix pep8 violation in 29e3a0c.
Python
apache-2.0
korfuri/django-prometheus,obytes/django-prometheus,obytes/django-prometheus,korfuri/django-prometheus
from django.db import connections from django.db.migrations.executor import MigrationExecutor from prometheus_client import Gauge unapplied_migrations = Gauge( 'django_migrations_unapplied_total', 'Count of unapplied migrations by database connection', ['connection']) applied_migrations = Gauge( 'django_migrations_applied_total', 'Count of applied migrations by database connection', ['connection']) def ExportMigrationsForDatabase(alias, executor): plan = executor.migration_plan(executor.loader.graph.leaf_nodes()) unapplied_migrations.labels(alias).set(len(plan)) applied_migrations.labels(alias).set(len( executor.loader.applied_migrations)) def ExportMigrations(): """Exports counts of unapplied migrations. This is meant to be called during app startup, ideally by django_prometheus.apps.AppConfig. """ return if 'default' in connections and connections['default']['ENGINE'] == 'django.db.backends.dummy': # This is the case where DATABASES = {} in the configuration, # i.e. the user is not using any databases. Django "helpfully" # adds a dummy database and then throws when you try to # actually use it. So we don't do anything, because trying to # export stats would crash the app on startup. return for alias in connections.databases: executor = MigrationExecutor(connections[alias]) ExportMigrationsForDatabase(alias, executor) Fix pep8 violation in 29e3a0c.
from django.db import connections from django.db.migrations.executor import MigrationExecutor from prometheus_client import Gauge unapplied_migrations = Gauge( 'django_migrations_unapplied_total', 'Count of unapplied migrations by database connection', ['connection']) applied_migrations = Gauge( 'django_migrations_applied_total', 'Count of applied migrations by database connection', ['connection']) def ExportMigrationsForDatabase(alias, executor): plan = executor.migration_plan(executor.loader.graph.leaf_nodes()) unapplied_migrations.labels(alias).set(len(plan)) applied_migrations.labels(alias).set(len( executor.loader.applied_migrations)) def ExportMigrations(): """Exports counts of unapplied migrations. This is meant to be called during app startup, ideally by django_prometheus.apps.AppConfig. """ return if 'default' in connections and ( connections['default']['ENGINE'] == 'django.db.backends.dummy'): # This is the case where DATABASES = {} in the configuration, # i.e. the user is not using any databases. Django "helpfully" # adds a dummy database and then throws when you try to # actually use it. So we don't do anything, because trying to # export stats would crash the app on startup. return for alias in connections.databases: executor = MigrationExecutor(connections[alias]) ExportMigrationsForDatabase(alias, executor)
<commit_before>from django.db import connections from django.db.migrations.executor import MigrationExecutor from prometheus_client import Gauge unapplied_migrations = Gauge( 'django_migrations_unapplied_total', 'Count of unapplied migrations by database connection', ['connection']) applied_migrations = Gauge( 'django_migrations_applied_total', 'Count of applied migrations by database connection', ['connection']) def ExportMigrationsForDatabase(alias, executor): plan = executor.migration_plan(executor.loader.graph.leaf_nodes()) unapplied_migrations.labels(alias).set(len(plan)) applied_migrations.labels(alias).set(len( executor.loader.applied_migrations)) def ExportMigrations(): """Exports counts of unapplied migrations. This is meant to be called during app startup, ideally by django_prometheus.apps.AppConfig. """ return if 'default' in connections and connections['default']['ENGINE'] == 'django.db.backends.dummy': # This is the case where DATABASES = {} in the configuration, # i.e. the user is not using any databases. Django "helpfully" # adds a dummy database and then throws when you try to # actually use it. So we don't do anything, because trying to # export stats would crash the app on startup. return for alias in connections.databases: executor = MigrationExecutor(connections[alias]) ExportMigrationsForDatabase(alias, executor) <commit_msg>Fix pep8 violation in 29e3a0c.<commit_after>
from django.db import connections from django.db.migrations.executor import MigrationExecutor from prometheus_client import Gauge unapplied_migrations = Gauge( 'django_migrations_unapplied_total', 'Count of unapplied migrations by database connection', ['connection']) applied_migrations = Gauge( 'django_migrations_applied_total', 'Count of applied migrations by database connection', ['connection']) def ExportMigrationsForDatabase(alias, executor): plan = executor.migration_plan(executor.loader.graph.leaf_nodes()) unapplied_migrations.labels(alias).set(len(plan)) applied_migrations.labels(alias).set(len( executor.loader.applied_migrations)) def ExportMigrations(): """Exports counts of unapplied migrations. This is meant to be called during app startup, ideally by django_prometheus.apps.AppConfig. """ return if 'default' in connections and ( connections['default']['ENGINE'] == 'django.db.backends.dummy'): # This is the case where DATABASES = {} in the configuration, # i.e. the user is not using any databases. Django "helpfully" # adds a dummy database and then throws when you try to # actually use it. So we don't do anything, because trying to # export stats would crash the app on startup. return for alias in connections.databases: executor = MigrationExecutor(connections[alias]) ExportMigrationsForDatabase(alias, executor)
from django.db import connections from django.db.migrations.executor import MigrationExecutor from prometheus_client import Gauge unapplied_migrations = Gauge( 'django_migrations_unapplied_total', 'Count of unapplied migrations by database connection', ['connection']) applied_migrations = Gauge( 'django_migrations_applied_total', 'Count of applied migrations by database connection', ['connection']) def ExportMigrationsForDatabase(alias, executor): plan = executor.migration_plan(executor.loader.graph.leaf_nodes()) unapplied_migrations.labels(alias).set(len(plan)) applied_migrations.labels(alias).set(len( executor.loader.applied_migrations)) def ExportMigrations(): """Exports counts of unapplied migrations. This is meant to be called during app startup, ideally by django_prometheus.apps.AppConfig. """ return if 'default' in connections and connections['default']['ENGINE'] == 'django.db.backends.dummy': # This is the case where DATABASES = {} in the configuration, # i.e. the user is not using any databases. Django "helpfully" # adds a dummy database and then throws when you try to # actually use it. So we don't do anything, because trying to # export stats would crash the app on startup. return for alias in connections.databases: executor = MigrationExecutor(connections[alias]) ExportMigrationsForDatabase(alias, executor) Fix pep8 violation in 29e3a0c.from django.db import connections from django.db.migrations.executor import MigrationExecutor from prometheus_client import Gauge unapplied_migrations = Gauge( 'django_migrations_unapplied_total', 'Count of unapplied migrations by database connection', ['connection']) applied_migrations = Gauge( 'django_migrations_applied_total', 'Count of applied migrations by database connection', ['connection']) def ExportMigrationsForDatabase(alias, executor): plan = executor.migration_plan(executor.loader.graph.leaf_nodes()) unapplied_migrations.labels(alias).set(len(plan)) applied_migrations.labels(alias).set(len( executor.loader.applied_migrations)) def ExportMigrations(): """Exports counts of unapplied migrations. This is meant to be called during app startup, ideally by django_prometheus.apps.AppConfig. """ return if 'default' in connections and ( connections['default']['ENGINE'] == 'django.db.backends.dummy'): # This is the case where DATABASES = {} in the configuration, # i.e. the user is not using any databases. Django "helpfully" # adds a dummy database and then throws when you try to # actually use it. So we don't do anything, because trying to # export stats would crash the app on startup. return for alias in connections.databases: executor = MigrationExecutor(connections[alias]) ExportMigrationsForDatabase(alias, executor)
<commit_before>from django.db import connections from django.db.migrations.executor import MigrationExecutor from prometheus_client import Gauge unapplied_migrations = Gauge( 'django_migrations_unapplied_total', 'Count of unapplied migrations by database connection', ['connection']) applied_migrations = Gauge( 'django_migrations_applied_total', 'Count of applied migrations by database connection', ['connection']) def ExportMigrationsForDatabase(alias, executor): plan = executor.migration_plan(executor.loader.graph.leaf_nodes()) unapplied_migrations.labels(alias).set(len(plan)) applied_migrations.labels(alias).set(len( executor.loader.applied_migrations)) def ExportMigrations(): """Exports counts of unapplied migrations. This is meant to be called during app startup, ideally by django_prometheus.apps.AppConfig. """ return if 'default' in connections and connections['default']['ENGINE'] == 'django.db.backends.dummy': # This is the case where DATABASES = {} in the configuration, # i.e. the user is not using any databases. Django "helpfully" # adds a dummy database and then throws when you try to # actually use it. So we don't do anything, because trying to # export stats would crash the app on startup. return for alias in connections.databases: executor = MigrationExecutor(connections[alias]) ExportMigrationsForDatabase(alias, executor) <commit_msg>Fix pep8 violation in 29e3a0c.<commit_after>from django.db import connections from django.db.migrations.executor import MigrationExecutor from prometheus_client import Gauge unapplied_migrations = Gauge( 'django_migrations_unapplied_total', 'Count of unapplied migrations by database connection', ['connection']) applied_migrations = Gauge( 'django_migrations_applied_total', 'Count of applied migrations by database connection', ['connection']) def ExportMigrationsForDatabase(alias, executor): plan = executor.migration_plan(executor.loader.graph.leaf_nodes()) unapplied_migrations.labels(alias).set(len(plan)) applied_migrations.labels(alias).set(len( executor.loader.applied_migrations)) def ExportMigrations(): """Exports counts of unapplied migrations. This is meant to be called during app startup, ideally by django_prometheus.apps.AppConfig. """ return if 'default' in connections and ( connections['default']['ENGINE'] == 'django.db.backends.dummy'): # This is the case where DATABASES = {} in the configuration, # i.e. the user is not using any databases. Django "helpfully" # adds a dummy database and then throws when you try to # actually use it. So we don't do anything, because trying to # export stats would crash the app on startup. return for alias in connections.databases: executor = MigrationExecutor(connections[alias]) ExportMigrationsForDatabase(alias, executor)
f96b4f3516905b13267d6c918f22e76556b4b56a
salt/modules/cmd.py
salt/modules/cmd.py
''' Module for shelling out commands, inclusion of this module should be configurable for security reasons '''
''' Module for shelling out commands, inclusion of this module should be configurable for security reasons ''' def echo(text): ''' Return a string - used for testing the connection ''' return text
Add a simple test function
Add a simple test function
Python
apache-2.0
saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt
''' Module for shelling out commands, inclusion of this module should be configurable for security reasons ''' Add a simple test function
''' Module for shelling out commands, inclusion of this module should be configurable for security reasons ''' def echo(text): ''' Return a string - used for testing the connection ''' return text
<commit_before>''' Module for shelling out commands, inclusion of this module should be configurable for security reasons ''' <commit_msg>Add a simple test function<commit_after>
''' Module for shelling out commands, inclusion of this module should be configurable for security reasons ''' def echo(text): ''' Return a string - used for testing the connection ''' return text
''' Module for shelling out commands, inclusion of this module should be configurable for security reasons ''' Add a simple test function''' Module for shelling out commands, inclusion of this module should be configurable for security reasons ''' def echo(text): ''' Return a string - used for testing the connection ''' return text
<commit_before>''' Module for shelling out commands, inclusion of this module should be configurable for security reasons ''' <commit_msg>Add a simple test function<commit_after>''' Module for shelling out commands, inclusion of this module should be configurable for security reasons ''' def echo(text): ''' Return a string - used for testing the connection ''' return text
fe54d298fb3a922d28934b8fa2cdc863334b35b3
src/webassets/filter/stylus.py
src/webassets/filter/stylus.py
from webassets.filter import ExternalTool, option __all__ = ('Stylus',) class Stylus(ExternalTool): """Converts `Stylus <http://learnboost.github.com/stylus/>`_ markup to CSS. Requires the Stylus executable to be available externally. You can install it using the `Node Package Manager <http://npmjs.org/>`_:: $ npm install stylus Supported configuration options: STYLUS_BIN The path to the Stylus binary. If not set, assumes ``stylus`` is in the system path. STYLUS_PLUGINS A Python list of Stylus plugins to use. Each plugin will be included via Stylus's command-line ``--use`` argument. STYLUS_EXTRA_ARGS A Python list of any additional command-line arguments. """ name = 'stylus' options = { 'stylus': 'STYLUS_BIN', 'plugins': option('STYLUS_PLUGINS', type=list), 'extra_args': option('STYLUS_EXTRA_ARGS', type=list), } max_debug_level = None def input(self, _in, out, **kwargs): args = [self.stylus or 'stylus'] for plugin in self.plugins or []: args.extend(('--use', plugin)) if self.extra_args: args.extend(self.extra_args) self.subprocess(args, out, _in)
import os from webassets.filter import ExternalTool, option __all__ = ('Stylus',) class Stylus(ExternalTool): """Converts `Stylus <http://learnboost.github.com/stylus/>`_ markup to CSS. Requires the Stylus executable to be available externally. You can install it using the `Node Package Manager <http://npmjs.org/>`_:: $ npm install stylus Supported configuration options: STYLUS_BIN The path to the Stylus binary. If not set, assumes ``stylus`` is in the system path. STYLUS_PLUGINS A Python list of Stylus plugins to use. Each plugin will be included via Stylus's command-line ``--use`` argument. STYLUS_EXTRA_ARGS A Python list of any additional command-line arguments. STYLUS_EXTRA_PATHS A Python list of any additional import paths. """ name = 'stylus' options = { 'stylus': 'STYLUS_BIN', 'plugins': option('STYLUS_PLUGINS', type=list), 'extra_args': option('STYLUS_EXTRA_ARGS', type=list), 'extra_paths': option('STYLUS_EXTRA_PATHS', type=list), } max_debug_level = None def input(self, _in, out, **kwargs): args = [self.stylus or 'stylus'] source_dir = os.path.dirname(kwargs['source_path']) paths = [source_dir] + (self.extra_paths or []) for path in paths: args.extend(('--include', path)) for plugin in self.plugins or []: args.extend(('--use', plugin)) if self.extra_args: args.extend(self.extra_args) self.subprocess(args, out, _in)
Update Stylus filter with include paths
Update Stylus filter with include paths Since the Stylus filter works with stdin, the compiler doesn't know the source directory, and thus can't resolve any imports. This adds the source directory to the include path using the `--include` option, and also adds the `STYLUS_EXTRA_PATHS` option to configure any extra include paths.
Python
bsd-2-clause
glorpen/webassets,florianjacob/webassets,scorphus/webassets,aconrad/webassets,heynemann/webassets,wijerasa/webassets,scorphus/webassets,john2x/webassets,florianjacob/webassets,heynemann/webassets,JDeuce/webassets,john2x/webassets,aconrad/webassets,wijerasa/webassets,JDeuce/webassets,0x1997/webassets,glorpen/webassets,0x1997/webassets,heynemann/webassets,aconrad/webassets,glorpen/webassets
from webassets.filter import ExternalTool, option __all__ = ('Stylus',) class Stylus(ExternalTool): """Converts `Stylus <http://learnboost.github.com/stylus/>`_ markup to CSS. Requires the Stylus executable to be available externally. You can install it using the `Node Package Manager <http://npmjs.org/>`_:: $ npm install stylus Supported configuration options: STYLUS_BIN The path to the Stylus binary. If not set, assumes ``stylus`` is in the system path. STYLUS_PLUGINS A Python list of Stylus plugins to use. Each plugin will be included via Stylus's command-line ``--use`` argument. STYLUS_EXTRA_ARGS A Python list of any additional command-line arguments. """ name = 'stylus' options = { 'stylus': 'STYLUS_BIN', 'plugins': option('STYLUS_PLUGINS', type=list), 'extra_args': option('STYLUS_EXTRA_ARGS', type=list), } max_debug_level = None def input(self, _in, out, **kwargs): args = [self.stylus or 'stylus'] for plugin in self.plugins or []: args.extend(('--use', plugin)) if self.extra_args: args.extend(self.extra_args) self.subprocess(args, out, _in) Update Stylus filter with include paths Since the Stylus filter works with stdin, the compiler doesn't know the source directory, and thus can't resolve any imports. This adds the source directory to the include path using the `--include` option, and also adds the `STYLUS_EXTRA_PATHS` option to configure any extra include paths.
import os from webassets.filter import ExternalTool, option __all__ = ('Stylus',) class Stylus(ExternalTool): """Converts `Stylus <http://learnboost.github.com/stylus/>`_ markup to CSS. Requires the Stylus executable to be available externally. You can install it using the `Node Package Manager <http://npmjs.org/>`_:: $ npm install stylus Supported configuration options: STYLUS_BIN The path to the Stylus binary. If not set, assumes ``stylus`` is in the system path. STYLUS_PLUGINS A Python list of Stylus plugins to use. Each plugin will be included via Stylus's command-line ``--use`` argument. STYLUS_EXTRA_ARGS A Python list of any additional command-line arguments. STYLUS_EXTRA_PATHS A Python list of any additional import paths. """ name = 'stylus' options = { 'stylus': 'STYLUS_BIN', 'plugins': option('STYLUS_PLUGINS', type=list), 'extra_args': option('STYLUS_EXTRA_ARGS', type=list), 'extra_paths': option('STYLUS_EXTRA_PATHS', type=list), } max_debug_level = None def input(self, _in, out, **kwargs): args = [self.stylus or 'stylus'] source_dir = os.path.dirname(kwargs['source_path']) paths = [source_dir] + (self.extra_paths or []) for path in paths: args.extend(('--include', path)) for plugin in self.plugins or []: args.extend(('--use', plugin)) if self.extra_args: args.extend(self.extra_args) self.subprocess(args, out, _in)
<commit_before>from webassets.filter import ExternalTool, option __all__ = ('Stylus',) class Stylus(ExternalTool): """Converts `Stylus <http://learnboost.github.com/stylus/>`_ markup to CSS. Requires the Stylus executable to be available externally. You can install it using the `Node Package Manager <http://npmjs.org/>`_:: $ npm install stylus Supported configuration options: STYLUS_BIN The path to the Stylus binary. If not set, assumes ``stylus`` is in the system path. STYLUS_PLUGINS A Python list of Stylus plugins to use. Each plugin will be included via Stylus's command-line ``--use`` argument. STYLUS_EXTRA_ARGS A Python list of any additional command-line arguments. """ name = 'stylus' options = { 'stylus': 'STYLUS_BIN', 'plugins': option('STYLUS_PLUGINS', type=list), 'extra_args': option('STYLUS_EXTRA_ARGS', type=list), } max_debug_level = None def input(self, _in, out, **kwargs): args = [self.stylus or 'stylus'] for plugin in self.plugins or []: args.extend(('--use', plugin)) if self.extra_args: args.extend(self.extra_args) self.subprocess(args, out, _in) <commit_msg>Update Stylus filter with include paths Since the Stylus filter works with stdin, the compiler doesn't know the source directory, and thus can't resolve any imports. This adds the source directory to the include path using the `--include` option, and also adds the `STYLUS_EXTRA_PATHS` option to configure any extra include paths.<commit_after>
import os from webassets.filter import ExternalTool, option __all__ = ('Stylus',) class Stylus(ExternalTool): """Converts `Stylus <http://learnboost.github.com/stylus/>`_ markup to CSS. Requires the Stylus executable to be available externally. You can install it using the `Node Package Manager <http://npmjs.org/>`_:: $ npm install stylus Supported configuration options: STYLUS_BIN The path to the Stylus binary. If not set, assumes ``stylus`` is in the system path. STYLUS_PLUGINS A Python list of Stylus plugins to use. Each plugin will be included via Stylus's command-line ``--use`` argument. STYLUS_EXTRA_ARGS A Python list of any additional command-line arguments. STYLUS_EXTRA_PATHS A Python list of any additional import paths. """ name = 'stylus' options = { 'stylus': 'STYLUS_BIN', 'plugins': option('STYLUS_PLUGINS', type=list), 'extra_args': option('STYLUS_EXTRA_ARGS', type=list), 'extra_paths': option('STYLUS_EXTRA_PATHS', type=list), } max_debug_level = None def input(self, _in, out, **kwargs): args = [self.stylus or 'stylus'] source_dir = os.path.dirname(kwargs['source_path']) paths = [source_dir] + (self.extra_paths or []) for path in paths: args.extend(('--include', path)) for plugin in self.plugins or []: args.extend(('--use', plugin)) if self.extra_args: args.extend(self.extra_args) self.subprocess(args, out, _in)
from webassets.filter import ExternalTool, option __all__ = ('Stylus',) class Stylus(ExternalTool): """Converts `Stylus <http://learnboost.github.com/stylus/>`_ markup to CSS. Requires the Stylus executable to be available externally. You can install it using the `Node Package Manager <http://npmjs.org/>`_:: $ npm install stylus Supported configuration options: STYLUS_BIN The path to the Stylus binary. If not set, assumes ``stylus`` is in the system path. STYLUS_PLUGINS A Python list of Stylus plugins to use. Each plugin will be included via Stylus's command-line ``--use`` argument. STYLUS_EXTRA_ARGS A Python list of any additional command-line arguments. """ name = 'stylus' options = { 'stylus': 'STYLUS_BIN', 'plugins': option('STYLUS_PLUGINS', type=list), 'extra_args': option('STYLUS_EXTRA_ARGS', type=list), } max_debug_level = None def input(self, _in, out, **kwargs): args = [self.stylus or 'stylus'] for plugin in self.plugins or []: args.extend(('--use', plugin)) if self.extra_args: args.extend(self.extra_args) self.subprocess(args, out, _in) Update Stylus filter with include paths Since the Stylus filter works with stdin, the compiler doesn't know the source directory, and thus can't resolve any imports. This adds the source directory to the include path using the `--include` option, and also adds the `STYLUS_EXTRA_PATHS` option to configure any extra include paths.import os from webassets.filter import ExternalTool, option __all__ = ('Stylus',) class Stylus(ExternalTool): """Converts `Stylus <http://learnboost.github.com/stylus/>`_ markup to CSS. Requires the Stylus executable to be available externally. You can install it using the `Node Package Manager <http://npmjs.org/>`_:: $ npm install stylus Supported configuration options: STYLUS_BIN The path to the Stylus binary. If not set, assumes ``stylus`` is in the system path. STYLUS_PLUGINS A Python list of Stylus plugins to use. Each plugin will be included via Stylus's command-line ``--use`` argument. STYLUS_EXTRA_ARGS A Python list of any additional command-line arguments. STYLUS_EXTRA_PATHS A Python list of any additional import paths. """ name = 'stylus' options = { 'stylus': 'STYLUS_BIN', 'plugins': option('STYLUS_PLUGINS', type=list), 'extra_args': option('STYLUS_EXTRA_ARGS', type=list), 'extra_paths': option('STYLUS_EXTRA_PATHS', type=list), } max_debug_level = None def input(self, _in, out, **kwargs): args = [self.stylus or 'stylus'] source_dir = os.path.dirname(kwargs['source_path']) paths = [source_dir] + (self.extra_paths or []) for path in paths: args.extend(('--include', path)) for plugin in self.plugins or []: args.extend(('--use', plugin)) if self.extra_args: args.extend(self.extra_args) self.subprocess(args, out, _in)
<commit_before>from webassets.filter import ExternalTool, option __all__ = ('Stylus',) class Stylus(ExternalTool): """Converts `Stylus <http://learnboost.github.com/stylus/>`_ markup to CSS. Requires the Stylus executable to be available externally. You can install it using the `Node Package Manager <http://npmjs.org/>`_:: $ npm install stylus Supported configuration options: STYLUS_BIN The path to the Stylus binary. If not set, assumes ``stylus`` is in the system path. STYLUS_PLUGINS A Python list of Stylus plugins to use. Each plugin will be included via Stylus's command-line ``--use`` argument. STYLUS_EXTRA_ARGS A Python list of any additional command-line arguments. """ name = 'stylus' options = { 'stylus': 'STYLUS_BIN', 'plugins': option('STYLUS_PLUGINS', type=list), 'extra_args': option('STYLUS_EXTRA_ARGS', type=list), } max_debug_level = None def input(self, _in, out, **kwargs): args = [self.stylus or 'stylus'] for plugin in self.plugins or []: args.extend(('--use', plugin)) if self.extra_args: args.extend(self.extra_args) self.subprocess(args, out, _in) <commit_msg>Update Stylus filter with include paths Since the Stylus filter works with stdin, the compiler doesn't know the source directory, and thus can't resolve any imports. This adds the source directory to the include path using the `--include` option, and also adds the `STYLUS_EXTRA_PATHS` option to configure any extra include paths.<commit_after>import os from webassets.filter import ExternalTool, option __all__ = ('Stylus',) class Stylus(ExternalTool): """Converts `Stylus <http://learnboost.github.com/stylus/>`_ markup to CSS. Requires the Stylus executable to be available externally. You can install it using the `Node Package Manager <http://npmjs.org/>`_:: $ npm install stylus Supported configuration options: STYLUS_BIN The path to the Stylus binary. If not set, assumes ``stylus`` is in the system path. STYLUS_PLUGINS A Python list of Stylus plugins to use. Each plugin will be included via Stylus's command-line ``--use`` argument. STYLUS_EXTRA_ARGS A Python list of any additional command-line arguments. STYLUS_EXTRA_PATHS A Python list of any additional import paths. """ name = 'stylus' options = { 'stylus': 'STYLUS_BIN', 'plugins': option('STYLUS_PLUGINS', type=list), 'extra_args': option('STYLUS_EXTRA_ARGS', type=list), 'extra_paths': option('STYLUS_EXTRA_PATHS', type=list), } max_debug_level = None def input(self, _in, out, **kwargs): args = [self.stylus or 'stylus'] source_dir = os.path.dirname(kwargs['source_path']) paths = [source_dir] + (self.extra_paths or []) for path in paths: args.extend(('--include', path)) for plugin in self.plugins or []: args.extend(('--use', plugin)) if self.extra_args: args.extend(self.extra_args) self.subprocess(args, out, _in)
44baebd79f59938bcb8bec41f59f2e554f71cdae
senlin/db/sqlalchemy/migrate_repo/manage.py
senlin/db/sqlalchemy/migrate_repo/manage.py
#!/usr/bin/env python from migrate.versioning.shell import main if __name__ == '__main__': main(debug='False')
#!/usr/bin/env python # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. from migrate.versioning.shell import main if __name__ == '__main__': main(debug='False')
Add Apache 2.0 license to source file
Add Apache 2.0 license to source file As per OpenStack licensing guide lines [1]: [H102 H103] Newly contributed Source Code should be licensed under the Apache 2.0 license. [H104] Files with no code shouldn't contain any license header nor comments, and must be left completely empty. [1] http://docs.openstack.org/developer/hacking/#openstack-licensing Change-Id: I63ce7db32621bca31cf0531433edd12932391b5d
Python
apache-2.0
openstack/senlin,openstack/senlin,stackforge/senlin,stackforge/senlin,openstack/senlin
#!/usr/bin/env python from migrate.versioning.shell import main if __name__ == '__main__': main(debug='False') Add Apache 2.0 license to source file As per OpenStack licensing guide lines [1]: [H102 H103] Newly contributed Source Code should be licensed under the Apache 2.0 license. [H104] Files with no code shouldn't contain any license header nor comments, and must be left completely empty. [1] http://docs.openstack.org/developer/hacking/#openstack-licensing Change-Id: I63ce7db32621bca31cf0531433edd12932391b5d
#!/usr/bin/env python # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. from migrate.versioning.shell import main if __name__ == '__main__': main(debug='False')
<commit_before>#!/usr/bin/env python from migrate.versioning.shell import main if __name__ == '__main__': main(debug='False') <commit_msg>Add Apache 2.0 license to source file As per OpenStack licensing guide lines [1]: [H102 H103] Newly contributed Source Code should be licensed under the Apache 2.0 license. [H104] Files with no code shouldn't contain any license header nor comments, and must be left completely empty. [1] http://docs.openstack.org/developer/hacking/#openstack-licensing Change-Id: I63ce7db32621bca31cf0531433edd12932391b5d<commit_after>
#!/usr/bin/env python # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. from migrate.versioning.shell import main if __name__ == '__main__': main(debug='False')
#!/usr/bin/env python from migrate.versioning.shell import main if __name__ == '__main__': main(debug='False') Add Apache 2.0 license to source file As per OpenStack licensing guide lines [1]: [H102 H103] Newly contributed Source Code should be licensed under the Apache 2.0 license. [H104] Files with no code shouldn't contain any license header nor comments, and must be left completely empty. [1] http://docs.openstack.org/developer/hacking/#openstack-licensing Change-Id: I63ce7db32621bca31cf0531433edd12932391b5d#!/usr/bin/env python # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. from migrate.versioning.shell import main if __name__ == '__main__': main(debug='False')
<commit_before>#!/usr/bin/env python from migrate.versioning.shell import main if __name__ == '__main__': main(debug='False') <commit_msg>Add Apache 2.0 license to source file As per OpenStack licensing guide lines [1]: [H102 H103] Newly contributed Source Code should be licensed under the Apache 2.0 license. [H104] Files with no code shouldn't contain any license header nor comments, and must be left completely empty. [1] http://docs.openstack.org/developer/hacking/#openstack-licensing Change-Id: I63ce7db32621bca31cf0531433edd12932391b5d<commit_after>#!/usr/bin/env python # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the # License for the specific language governing permissions and limitations # under the License. from migrate.versioning.shell import main if __name__ == '__main__': main(debug='False')