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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a8ef0d416b94c453ea8f3605e8cae7147ae90830 | appengine/isolate/main_frontend.py | appengine/isolate/main_frontend.py | # Copyright 2014 The Swarming Authors. All rights reserved.
# Use of this source code is governed by the Apache v2.0 license that can be
# found in the LICENSE file.
"""This modules is imported by AppEngine and defines the 'app' object.
It is a separate file so that application bootstrapping code like ereporter2,
that shouldn't be done in unit tests, can be done safely. This file must be
tested via a smoke test.
"""
import os
import sys
import endpoints
APP_DIR = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, os.path.join(APP_DIR, 'components', 'third_party'))
from components import ereporter2
from components import utils
import handlers_endpoints
import handlers_frontend
def create_application():
ereporter2.register_formatter()
# App that serves HTML pages and old API.
frontend = handlers_frontend.create_application(False)
# App that serves new endpoints API.
api = endpoints.api_server([handlers_endpoints.IsolateServer])
return frontend, api
frontend_app, endpoints_app = create_application()
| # Copyright 2014 The Swarming Authors. All rights reserved.
# Use of this source code is governed by the Apache v2.0 license that can be
# found in the LICENSE file.
"""This modules is imported by AppEngine and defines the 'app' object.
It is a separate file so that application bootstrapping code like ereporter2,
that shouldn't be done in unit tests, can be done safely. This file must be
tested via a smoke test.
"""
import os
import sys
import endpoints
APP_DIR = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, os.path.join(APP_DIR, 'components', 'third_party'))
from components import ereporter2
from components import utils
import handlers_endpoints
import handlers_frontend
def create_application():
ereporter2.register_formatter()
# App that serves HTML pages and old API.
frontend = handlers_frontend.create_application(False)
# App that serves new endpoints API.
api = endpoints.api_server([handlers_endpoints.IsolateService])
return frontend, api
frontend_app, endpoints_app = create_application()
| Fix typo in commit 4b061a25b579c and 2c2176043b739. | Fix typo in commit 4b061a25b579c and 2c2176043b739.
It's IsolateService, not IsolateServer.
TBR=vadimsh@chromium.org
BUG=
Review URL: https://codereview.appspot.com/221200043
| Python | apache-2.0 | luci/luci-py,luci/luci-py,luci/luci-py,luci/luci-py | # Copyright 2014 The Swarming Authors. All rights reserved.
# Use of this source code is governed by the Apache v2.0 license that can be
# found in the LICENSE file.
"""This modules is imported by AppEngine and defines the 'app' object.
It is a separate file so that application bootstrapping code like ereporter2,
that shouldn't be done in unit tests, can be done safely. This file must be
tested via a smoke test.
"""
import os
import sys
import endpoints
APP_DIR = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, os.path.join(APP_DIR, 'components', 'third_party'))
from components import ereporter2
from components import utils
import handlers_endpoints
import handlers_frontend
def create_application():
ereporter2.register_formatter()
# App that serves HTML pages and old API.
frontend = handlers_frontend.create_application(False)
# App that serves new endpoints API.
api = endpoints.api_server([handlers_endpoints.IsolateServer])
return frontend, api
frontend_app, endpoints_app = create_application()
Fix typo in commit 4b061a25b579c and 2c2176043b739.
It's IsolateService, not IsolateServer.
TBR=vadimsh@chromium.org
BUG=
Review URL: https://codereview.appspot.com/221200043 | # Copyright 2014 The Swarming Authors. All rights reserved.
# Use of this source code is governed by the Apache v2.0 license that can be
# found in the LICENSE file.
"""This modules is imported by AppEngine and defines the 'app' object.
It is a separate file so that application bootstrapping code like ereporter2,
that shouldn't be done in unit tests, can be done safely. This file must be
tested via a smoke test.
"""
import os
import sys
import endpoints
APP_DIR = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, os.path.join(APP_DIR, 'components', 'third_party'))
from components import ereporter2
from components import utils
import handlers_endpoints
import handlers_frontend
def create_application():
ereporter2.register_formatter()
# App that serves HTML pages and old API.
frontend = handlers_frontend.create_application(False)
# App that serves new endpoints API.
api = endpoints.api_server([handlers_endpoints.IsolateService])
return frontend, api
frontend_app, endpoints_app = create_application()
| <commit_before># Copyright 2014 The Swarming Authors. All rights reserved.
# Use of this source code is governed by the Apache v2.0 license that can be
# found in the LICENSE file.
"""This modules is imported by AppEngine and defines the 'app' object.
It is a separate file so that application bootstrapping code like ereporter2,
that shouldn't be done in unit tests, can be done safely. This file must be
tested via a smoke test.
"""
import os
import sys
import endpoints
APP_DIR = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, os.path.join(APP_DIR, 'components', 'third_party'))
from components import ereporter2
from components import utils
import handlers_endpoints
import handlers_frontend
def create_application():
ereporter2.register_formatter()
# App that serves HTML pages and old API.
frontend = handlers_frontend.create_application(False)
# App that serves new endpoints API.
api = endpoints.api_server([handlers_endpoints.IsolateServer])
return frontend, api
frontend_app, endpoints_app = create_application()
<commit_msg>Fix typo in commit 4b061a25b579c and 2c2176043b739.
It's IsolateService, not IsolateServer.
TBR=vadimsh@chromium.org
BUG=
Review URL: https://codereview.appspot.com/221200043<commit_after> | # Copyright 2014 The Swarming Authors. All rights reserved.
# Use of this source code is governed by the Apache v2.0 license that can be
# found in the LICENSE file.
"""This modules is imported by AppEngine and defines the 'app' object.
It is a separate file so that application bootstrapping code like ereporter2,
that shouldn't be done in unit tests, can be done safely. This file must be
tested via a smoke test.
"""
import os
import sys
import endpoints
APP_DIR = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, os.path.join(APP_DIR, 'components', 'third_party'))
from components import ereporter2
from components import utils
import handlers_endpoints
import handlers_frontend
def create_application():
ereporter2.register_formatter()
# App that serves HTML pages and old API.
frontend = handlers_frontend.create_application(False)
# App that serves new endpoints API.
api = endpoints.api_server([handlers_endpoints.IsolateService])
return frontend, api
frontend_app, endpoints_app = create_application()
| # Copyright 2014 The Swarming Authors. All rights reserved.
# Use of this source code is governed by the Apache v2.0 license that can be
# found in the LICENSE file.
"""This modules is imported by AppEngine and defines the 'app' object.
It is a separate file so that application bootstrapping code like ereporter2,
that shouldn't be done in unit tests, can be done safely. This file must be
tested via a smoke test.
"""
import os
import sys
import endpoints
APP_DIR = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, os.path.join(APP_DIR, 'components', 'third_party'))
from components import ereporter2
from components import utils
import handlers_endpoints
import handlers_frontend
def create_application():
ereporter2.register_formatter()
# App that serves HTML pages and old API.
frontend = handlers_frontend.create_application(False)
# App that serves new endpoints API.
api = endpoints.api_server([handlers_endpoints.IsolateServer])
return frontend, api
frontend_app, endpoints_app = create_application()
Fix typo in commit 4b061a25b579c and 2c2176043b739.
It's IsolateService, not IsolateServer.
TBR=vadimsh@chromium.org
BUG=
Review URL: https://codereview.appspot.com/221200043# Copyright 2014 The Swarming Authors. All rights reserved.
# Use of this source code is governed by the Apache v2.0 license that can be
# found in the LICENSE file.
"""This modules is imported by AppEngine and defines the 'app' object.
It is a separate file so that application bootstrapping code like ereporter2,
that shouldn't be done in unit tests, can be done safely. This file must be
tested via a smoke test.
"""
import os
import sys
import endpoints
APP_DIR = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, os.path.join(APP_DIR, 'components', 'third_party'))
from components import ereporter2
from components import utils
import handlers_endpoints
import handlers_frontend
def create_application():
ereporter2.register_formatter()
# App that serves HTML pages and old API.
frontend = handlers_frontend.create_application(False)
# App that serves new endpoints API.
api = endpoints.api_server([handlers_endpoints.IsolateService])
return frontend, api
frontend_app, endpoints_app = create_application()
| <commit_before># Copyright 2014 The Swarming Authors. All rights reserved.
# Use of this source code is governed by the Apache v2.0 license that can be
# found in the LICENSE file.
"""This modules is imported by AppEngine and defines the 'app' object.
It is a separate file so that application bootstrapping code like ereporter2,
that shouldn't be done in unit tests, can be done safely. This file must be
tested via a smoke test.
"""
import os
import sys
import endpoints
APP_DIR = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, os.path.join(APP_DIR, 'components', 'third_party'))
from components import ereporter2
from components import utils
import handlers_endpoints
import handlers_frontend
def create_application():
ereporter2.register_formatter()
# App that serves HTML pages and old API.
frontend = handlers_frontend.create_application(False)
# App that serves new endpoints API.
api = endpoints.api_server([handlers_endpoints.IsolateServer])
return frontend, api
frontend_app, endpoints_app = create_application()
<commit_msg>Fix typo in commit 4b061a25b579c and 2c2176043b739.
It's IsolateService, not IsolateServer.
TBR=vadimsh@chromium.org
BUG=
Review URL: https://codereview.appspot.com/221200043<commit_after># Copyright 2014 The Swarming Authors. All rights reserved.
# Use of this source code is governed by the Apache v2.0 license that can be
# found in the LICENSE file.
"""This modules is imported by AppEngine and defines the 'app' object.
It is a separate file so that application bootstrapping code like ereporter2,
that shouldn't be done in unit tests, can be done safely. This file must be
tested via a smoke test.
"""
import os
import sys
import endpoints
APP_DIR = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, os.path.join(APP_DIR, 'components', 'third_party'))
from components import ereporter2
from components import utils
import handlers_endpoints
import handlers_frontend
def create_application():
ereporter2.register_formatter()
# App that serves HTML pages and old API.
frontend = handlers_frontend.create_application(False)
# App that serves new endpoints API.
api = endpoints.api_server([handlers_endpoints.IsolateService])
return frontend, api
frontend_app, endpoints_app = create_application()
|
dcf22e77c7beab31dc9470d3acbf12611fd2344f | project/utils/__init__.py | project/utils/__init__.py | from django.conf import settings
import facebook
from urlparse import urlparse
def get_fb_profile_url(url):
name = urlparse(url).path.strip("/")
graph = facebook.GraphAPI(access_token=settings.FB_ACCESS_TOKEN)
return "fb://profile/%s" % graph.get_object(name)['id']
def parse_tw_url(url):
return urlparse(url).path.strip("/")
| from django.conf import settings
import facebook
from urlparse import urlparse
def get_fb_profile_url(url):
name = urlparse(url).path.strip("/")
graph = facebook.GraphAPI(access_token=settings.FB_ACCESS_TOKEN)
return "fb://page/%s" % graph.get_object(name)['id']
def parse_tw_url(url):
return urlparse(url).path.strip("/")
| Change facebook URL to use fb://page instead of fb://profile | Change facebook URL to use fb://page instead of fb://profile
| Python | agpl-3.0 | Xicnet/radioflow-scheduler,Xicnet/radioflow-scheduler,Xicnet/radioflow-scheduler,Xicnet/radioflow-scheduler,Xicnet/radioflow-scheduler | from django.conf import settings
import facebook
from urlparse import urlparse
def get_fb_profile_url(url):
name = urlparse(url).path.strip("/")
graph = facebook.GraphAPI(access_token=settings.FB_ACCESS_TOKEN)
return "fb://profile/%s" % graph.get_object(name)['id']
def parse_tw_url(url):
return urlparse(url).path.strip("/")
Change facebook URL to use fb://page instead of fb://profile | from django.conf import settings
import facebook
from urlparse import urlparse
def get_fb_profile_url(url):
name = urlparse(url).path.strip("/")
graph = facebook.GraphAPI(access_token=settings.FB_ACCESS_TOKEN)
return "fb://page/%s" % graph.get_object(name)['id']
def parse_tw_url(url):
return urlparse(url).path.strip("/")
| <commit_before>from django.conf import settings
import facebook
from urlparse import urlparse
def get_fb_profile_url(url):
name = urlparse(url).path.strip("/")
graph = facebook.GraphAPI(access_token=settings.FB_ACCESS_TOKEN)
return "fb://profile/%s" % graph.get_object(name)['id']
def parse_tw_url(url):
return urlparse(url).path.strip("/")
<commit_msg>Change facebook URL to use fb://page instead of fb://profile<commit_after> | from django.conf import settings
import facebook
from urlparse import urlparse
def get_fb_profile_url(url):
name = urlparse(url).path.strip("/")
graph = facebook.GraphAPI(access_token=settings.FB_ACCESS_TOKEN)
return "fb://page/%s" % graph.get_object(name)['id']
def parse_tw_url(url):
return urlparse(url).path.strip("/")
| from django.conf import settings
import facebook
from urlparse import urlparse
def get_fb_profile_url(url):
name = urlparse(url).path.strip("/")
graph = facebook.GraphAPI(access_token=settings.FB_ACCESS_TOKEN)
return "fb://profile/%s" % graph.get_object(name)['id']
def parse_tw_url(url):
return urlparse(url).path.strip("/")
Change facebook URL to use fb://page instead of fb://profilefrom django.conf import settings
import facebook
from urlparse import urlparse
def get_fb_profile_url(url):
name = urlparse(url).path.strip("/")
graph = facebook.GraphAPI(access_token=settings.FB_ACCESS_TOKEN)
return "fb://page/%s" % graph.get_object(name)['id']
def parse_tw_url(url):
return urlparse(url).path.strip("/")
| <commit_before>from django.conf import settings
import facebook
from urlparse import urlparse
def get_fb_profile_url(url):
name = urlparse(url).path.strip("/")
graph = facebook.GraphAPI(access_token=settings.FB_ACCESS_TOKEN)
return "fb://profile/%s" % graph.get_object(name)['id']
def parse_tw_url(url):
return urlparse(url).path.strip("/")
<commit_msg>Change facebook URL to use fb://page instead of fb://profile<commit_after>from django.conf import settings
import facebook
from urlparse import urlparse
def get_fb_profile_url(url):
name = urlparse(url).path.strip("/")
graph = facebook.GraphAPI(access_token=settings.FB_ACCESS_TOKEN)
return "fb://page/%s" % graph.get_object(name)['id']
def parse_tw_url(url):
return urlparse(url).path.strip("/")
|
f8cbdf038a3d5cd8ba229cb627ecd1831265ca02 | context.py | context.py | from llvm.core import Module
from llvm.ee import ExecutionEngine
from llvm.passes import (FunctionPassManager,
PASS_GVN,
PASS_INSTCOMBINE,
PASS_REASSOCIATE,
PASS_SIMPLIFYCFG)
class Context(object):
optimizations = (PASS_GVN,
PASS_INSTCOMBINE,
PASS_REASSOCIATE,
PASS_SIMPLIFYCFG)
def __init__(self, name):
self.name = name
self.module = Module.new(name)
self.builder = None
self.scope = {}
self.executor = ExecutionEngine.new(self.module)
self.fpm = self.setup_fpm()
def setup_fpm(self):
fpm = FunctionPassManager.new(self.module)
for optimization in self.optimizations:
fpm.add(optimization)
fpm.initialize()
return fpm
| from llvm.core import Module
from llvm.ee import ExecutionEngine
from llvm.passes import (FunctionPassManager,
PASS_GVN,
PASS_INSTCOMBINE,
PASS_REASSOCIATE,
PASS_SIMPLIFYCFG)
class Context(object):
optimizations = (PASS_GVN,
PASS_INSTCOMBINE,
PASS_REASSOCIATE,
PASS_SIMPLIFYCFG)
def __init__(self, name):
self.name = name
self.module = Module.new(name)
self.builder = None
self.scope = {}
self.executor = ExecutionEngine.new(self.module)
self.fpm = self.setup_fpm()
def setup_fpm(self):
fpm = FunctionPassManager.new(self.module)
# github.com/llvmpy/llvmpy/issues/44
fpm.add(self.executor.target_data.clone())
for optimization in self.optimizations:
fpm.add(optimization)
fpm.initialize()
return fpm
| Add target_data from ExecutionEngine to FunctionPassManager | Add target_data from ExecutionEngine to FunctionPassManager
| Python | mit | guilload/kaleidoscope | from llvm.core import Module
from llvm.ee import ExecutionEngine
from llvm.passes import (FunctionPassManager,
PASS_GVN,
PASS_INSTCOMBINE,
PASS_REASSOCIATE,
PASS_SIMPLIFYCFG)
class Context(object):
optimizations = (PASS_GVN,
PASS_INSTCOMBINE,
PASS_REASSOCIATE,
PASS_SIMPLIFYCFG)
def __init__(self, name):
self.name = name
self.module = Module.new(name)
self.builder = None
self.scope = {}
self.executor = ExecutionEngine.new(self.module)
self.fpm = self.setup_fpm()
def setup_fpm(self):
fpm = FunctionPassManager.new(self.module)
for optimization in self.optimizations:
fpm.add(optimization)
fpm.initialize()
return fpm
Add target_data from ExecutionEngine to FunctionPassManager | from llvm.core import Module
from llvm.ee import ExecutionEngine
from llvm.passes import (FunctionPassManager,
PASS_GVN,
PASS_INSTCOMBINE,
PASS_REASSOCIATE,
PASS_SIMPLIFYCFG)
class Context(object):
optimizations = (PASS_GVN,
PASS_INSTCOMBINE,
PASS_REASSOCIATE,
PASS_SIMPLIFYCFG)
def __init__(self, name):
self.name = name
self.module = Module.new(name)
self.builder = None
self.scope = {}
self.executor = ExecutionEngine.new(self.module)
self.fpm = self.setup_fpm()
def setup_fpm(self):
fpm = FunctionPassManager.new(self.module)
# github.com/llvmpy/llvmpy/issues/44
fpm.add(self.executor.target_data.clone())
for optimization in self.optimizations:
fpm.add(optimization)
fpm.initialize()
return fpm
| <commit_before>from llvm.core import Module
from llvm.ee import ExecutionEngine
from llvm.passes import (FunctionPassManager,
PASS_GVN,
PASS_INSTCOMBINE,
PASS_REASSOCIATE,
PASS_SIMPLIFYCFG)
class Context(object):
optimizations = (PASS_GVN,
PASS_INSTCOMBINE,
PASS_REASSOCIATE,
PASS_SIMPLIFYCFG)
def __init__(self, name):
self.name = name
self.module = Module.new(name)
self.builder = None
self.scope = {}
self.executor = ExecutionEngine.new(self.module)
self.fpm = self.setup_fpm()
def setup_fpm(self):
fpm = FunctionPassManager.new(self.module)
for optimization in self.optimizations:
fpm.add(optimization)
fpm.initialize()
return fpm
<commit_msg>Add target_data from ExecutionEngine to FunctionPassManager<commit_after> | from llvm.core import Module
from llvm.ee import ExecutionEngine
from llvm.passes import (FunctionPassManager,
PASS_GVN,
PASS_INSTCOMBINE,
PASS_REASSOCIATE,
PASS_SIMPLIFYCFG)
class Context(object):
optimizations = (PASS_GVN,
PASS_INSTCOMBINE,
PASS_REASSOCIATE,
PASS_SIMPLIFYCFG)
def __init__(self, name):
self.name = name
self.module = Module.new(name)
self.builder = None
self.scope = {}
self.executor = ExecutionEngine.new(self.module)
self.fpm = self.setup_fpm()
def setup_fpm(self):
fpm = FunctionPassManager.new(self.module)
# github.com/llvmpy/llvmpy/issues/44
fpm.add(self.executor.target_data.clone())
for optimization in self.optimizations:
fpm.add(optimization)
fpm.initialize()
return fpm
| from llvm.core import Module
from llvm.ee import ExecutionEngine
from llvm.passes import (FunctionPassManager,
PASS_GVN,
PASS_INSTCOMBINE,
PASS_REASSOCIATE,
PASS_SIMPLIFYCFG)
class Context(object):
optimizations = (PASS_GVN,
PASS_INSTCOMBINE,
PASS_REASSOCIATE,
PASS_SIMPLIFYCFG)
def __init__(self, name):
self.name = name
self.module = Module.new(name)
self.builder = None
self.scope = {}
self.executor = ExecutionEngine.new(self.module)
self.fpm = self.setup_fpm()
def setup_fpm(self):
fpm = FunctionPassManager.new(self.module)
for optimization in self.optimizations:
fpm.add(optimization)
fpm.initialize()
return fpm
Add target_data from ExecutionEngine to FunctionPassManagerfrom llvm.core import Module
from llvm.ee import ExecutionEngine
from llvm.passes import (FunctionPassManager,
PASS_GVN,
PASS_INSTCOMBINE,
PASS_REASSOCIATE,
PASS_SIMPLIFYCFG)
class Context(object):
optimizations = (PASS_GVN,
PASS_INSTCOMBINE,
PASS_REASSOCIATE,
PASS_SIMPLIFYCFG)
def __init__(self, name):
self.name = name
self.module = Module.new(name)
self.builder = None
self.scope = {}
self.executor = ExecutionEngine.new(self.module)
self.fpm = self.setup_fpm()
def setup_fpm(self):
fpm = FunctionPassManager.new(self.module)
# github.com/llvmpy/llvmpy/issues/44
fpm.add(self.executor.target_data.clone())
for optimization in self.optimizations:
fpm.add(optimization)
fpm.initialize()
return fpm
| <commit_before>from llvm.core import Module
from llvm.ee import ExecutionEngine
from llvm.passes import (FunctionPassManager,
PASS_GVN,
PASS_INSTCOMBINE,
PASS_REASSOCIATE,
PASS_SIMPLIFYCFG)
class Context(object):
optimizations = (PASS_GVN,
PASS_INSTCOMBINE,
PASS_REASSOCIATE,
PASS_SIMPLIFYCFG)
def __init__(self, name):
self.name = name
self.module = Module.new(name)
self.builder = None
self.scope = {}
self.executor = ExecutionEngine.new(self.module)
self.fpm = self.setup_fpm()
def setup_fpm(self):
fpm = FunctionPassManager.new(self.module)
for optimization in self.optimizations:
fpm.add(optimization)
fpm.initialize()
return fpm
<commit_msg>Add target_data from ExecutionEngine to FunctionPassManager<commit_after>from llvm.core import Module
from llvm.ee import ExecutionEngine
from llvm.passes import (FunctionPassManager,
PASS_GVN,
PASS_INSTCOMBINE,
PASS_REASSOCIATE,
PASS_SIMPLIFYCFG)
class Context(object):
optimizations = (PASS_GVN,
PASS_INSTCOMBINE,
PASS_REASSOCIATE,
PASS_SIMPLIFYCFG)
def __init__(self, name):
self.name = name
self.module = Module.new(name)
self.builder = None
self.scope = {}
self.executor = ExecutionEngine.new(self.module)
self.fpm = self.setup_fpm()
def setup_fpm(self):
fpm = FunctionPassManager.new(self.module)
# github.com/llvmpy/llvmpy/issues/44
fpm.add(self.executor.target_data.clone())
for optimization in self.optimizations:
fpm.add(optimization)
fpm.initialize()
return fpm
|
45b71ea93db90ccb4b2b42947a73ea7a50bb91dd | grouprise/features/files/views.py | grouprise/features/files/views.py | import grouprise.features
from . import forms
class Create(grouprise.features.content.views.Create):
template_name = 'files/create.html'
form_class = forms.Create
| import grouprise.features.content.views
from . import forms
class Create(grouprise.features.content.views.Create):
template_name = 'files/create.html'
form_class = forms.Create
| Use full import in files view | Use full import in files view
Previously it seemed to work only by accident (the importer imported the
package before).
| Python | agpl-3.0 | stadtgestalten/stadtgestalten,stadtgestalten/stadtgestalten,stadtgestalten/stadtgestalten | import grouprise.features
from . import forms
class Create(grouprise.features.content.views.Create):
template_name = 'files/create.html'
form_class = forms.Create
Use full import in files view
Previously it seemed to work only by accident (the importer imported the
package before). | import grouprise.features.content.views
from . import forms
class Create(grouprise.features.content.views.Create):
template_name = 'files/create.html'
form_class = forms.Create
| <commit_before>import grouprise.features
from . import forms
class Create(grouprise.features.content.views.Create):
template_name = 'files/create.html'
form_class = forms.Create
<commit_msg>Use full import in files view
Previously it seemed to work only by accident (the importer imported the
package before).<commit_after> | import grouprise.features.content.views
from . import forms
class Create(grouprise.features.content.views.Create):
template_name = 'files/create.html'
form_class = forms.Create
| import grouprise.features
from . import forms
class Create(grouprise.features.content.views.Create):
template_name = 'files/create.html'
form_class = forms.Create
Use full import in files view
Previously it seemed to work only by accident (the importer imported the
package before).import grouprise.features.content.views
from . import forms
class Create(grouprise.features.content.views.Create):
template_name = 'files/create.html'
form_class = forms.Create
| <commit_before>import grouprise.features
from . import forms
class Create(grouprise.features.content.views.Create):
template_name = 'files/create.html'
form_class = forms.Create
<commit_msg>Use full import in files view
Previously it seemed to work only by accident (the importer imported the
package before).<commit_after>import grouprise.features.content.views
from . import forms
class Create(grouprise.features.content.views.Create):
template_name = 'files/create.html'
form_class = forms.Create
|
8621d6c0826beb4a4b4e920ce27786b01546ed28 | impactstoryanalytics/highcharts.py | impactstoryanalytics/highcharts.py | boilerplate = {
'chart': {
'renderTo': 'container',
'plotBackgroundColor': 'none',
'backgroundColor': 'none',
'spacingTop': 5
},
'title': {'text': None},
'subtitle': {'text': None},
'yAxis': {
'title':{
'text': None
},
'gridLineColor': 'rgba(255, 255, 255, .1)'
},
"xAxis": {
"lineColor": "rgba(0,0,0,0)"
},
'credits': {
'enabled': False
},
'plotOptions': {
'series': {
'marker': {
'enabled': False
}
}
},
} | boilerplate = {
'chart': {
'renderTo': 'container',
'plotBackgroundColor': 'none',
'backgroundColor': 'none',
'spacingTop': 5
},
'title': {'text': None},
'subtitle': {'text': None},
'yAxis': {
'min': 0,
'title':{
'text': None
},
'gridLineColor': 'rgba(255, 255, 255, .1)'
},
"xAxis": {
"lineColor": "rgba(0,0,0,0)"
},
'credits': {
'enabled': False
},
'plotOptions': {
'series': {
'marker': {
'enabled': False
}
}
},
} | Set y-axis min to 0 | Set y-axis min to 0
| Python | mit | Impactstory/impactstory-analytics,Impactstory/impactstory-analytics,total-impact/impactstory-analytics,total-impact/impactstory-analytics,Impactstory/impactstory-analytics,total-impact/impactstory-analytics,Impactstory/impactstory-analytics,total-impact/impactstory-analytics | boilerplate = {
'chart': {
'renderTo': 'container',
'plotBackgroundColor': 'none',
'backgroundColor': 'none',
'spacingTop': 5
},
'title': {'text': None},
'subtitle': {'text': None},
'yAxis': {
'title':{
'text': None
},
'gridLineColor': 'rgba(255, 255, 255, .1)'
},
"xAxis": {
"lineColor": "rgba(0,0,0,0)"
},
'credits': {
'enabled': False
},
'plotOptions': {
'series': {
'marker': {
'enabled': False
}
}
},
}Set y-axis min to 0 | boilerplate = {
'chart': {
'renderTo': 'container',
'plotBackgroundColor': 'none',
'backgroundColor': 'none',
'spacingTop': 5
},
'title': {'text': None},
'subtitle': {'text': None},
'yAxis': {
'min': 0,
'title':{
'text': None
},
'gridLineColor': 'rgba(255, 255, 255, .1)'
},
"xAxis": {
"lineColor": "rgba(0,0,0,0)"
},
'credits': {
'enabled': False
},
'plotOptions': {
'series': {
'marker': {
'enabled': False
}
}
},
} | <commit_before>boilerplate = {
'chart': {
'renderTo': 'container',
'plotBackgroundColor': 'none',
'backgroundColor': 'none',
'spacingTop': 5
},
'title': {'text': None},
'subtitle': {'text': None},
'yAxis': {
'title':{
'text': None
},
'gridLineColor': 'rgba(255, 255, 255, .1)'
},
"xAxis": {
"lineColor": "rgba(0,0,0,0)"
},
'credits': {
'enabled': False
},
'plotOptions': {
'series': {
'marker': {
'enabled': False
}
}
},
}<commit_msg>Set y-axis min to 0<commit_after> | boilerplate = {
'chart': {
'renderTo': 'container',
'plotBackgroundColor': 'none',
'backgroundColor': 'none',
'spacingTop': 5
},
'title': {'text': None},
'subtitle': {'text': None},
'yAxis': {
'min': 0,
'title':{
'text': None
},
'gridLineColor': 'rgba(255, 255, 255, .1)'
},
"xAxis": {
"lineColor": "rgba(0,0,0,0)"
},
'credits': {
'enabled': False
},
'plotOptions': {
'series': {
'marker': {
'enabled': False
}
}
},
} | boilerplate = {
'chart': {
'renderTo': 'container',
'plotBackgroundColor': 'none',
'backgroundColor': 'none',
'spacingTop': 5
},
'title': {'text': None},
'subtitle': {'text': None},
'yAxis': {
'title':{
'text': None
},
'gridLineColor': 'rgba(255, 255, 255, .1)'
},
"xAxis": {
"lineColor": "rgba(0,0,0,0)"
},
'credits': {
'enabled': False
},
'plotOptions': {
'series': {
'marker': {
'enabled': False
}
}
},
}Set y-axis min to 0boilerplate = {
'chart': {
'renderTo': 'container',
'plotBackgroundColor': 'none',
'backgroundColor': 'none',
'spacingTop': 5
},
'title': {'text': None},
'subtitle': {'text': None},
'yAxis': {
'min': 0,
'title':{
'text': None
},
'gridLineColor': 'rgba(255, 255, 255, .1)'
},
"xAxis": {
"lineColor": "rgba(0,0,0,0)"
},
'credits': {
'enabled': False
},
'plotOptions': {
'series': {
'marker': {
'enabled': False
}
}
},
} | <commit_before>boilerplate = {
'chart': {
'renderTo': 'container',
'plotBackgroundColor': 'none',
'backgroundColor': 'none',
'spacingTop': 5
},
'title': {'text': None},
'subtitle': {'text': None},
'yAxis': {
'title':{
'text': None
},
'gridLineColor': 'rgba(255, 255, 255, .1)'
},
"xAxis": {
"lineColor": "rgba(0,0,0,0)"
},
'credits': {
'enabled': False
},
'plotOptions': {
'series': {
'marker': {
'enabled': False
}
}
},
}<commit_msg>Set y-axis min to 0<commit_after>boilerplate = {
'chart': {
'renderTo': 'container',
'plotBackgroundColor': 'none',
'backgroundColor': 'none',
'spacingTop': 5
},
'title': {'text': None},
'subtitle': {'text': None},
'yAxis': {
'min': 0,
'title':{
'text': None
},
'gridLineColor': 'rgba(255, 255, 255, .1)'
},
"xAxis": {
"lineColor": "rgba(0,0,0,0)"
},
'credits': {
'enabled': False
},
'plotOptions': {
'series': {
'marker': {
'enabled': False
}
}
},
} |
bcccdbdb1b18128d96c37b7a5a888b55c5f99e9a | src/pybel_tools/analysis/__init__.py | src/pybel_tools/analysis/__init__.py | # -*- coding: utf-8 -*-
"""This submodule contains functions for applying algorithms to BEL graphs"""
from . import concordance, mechanisms, rcr, stability, ucmpa
from .concordance import *
from .mechanisms import *
from .rcr import *
from .stability import *
from .ucmpa import *
__all__ = (
concordance.__all__ +
mechanisms.__all__ +
rcr.__all__ +
stability.__all__ +
ucmpa.__all__
)
| # -*- coding: utf-8 -*-
"""This submodule contains functions for applying algorithms to BEL graphs.
Each analysis might have weird requirements, and therefore they should all be imported explicitly.
"""
| Remove star imports from analysis | Remove star imports from analysis
| Python | mit | pybel/pybel-tools,pybel/pybel-tools,pybel/pybel-tools | # -*- coding: utf-8 -*-
"""This submodule contains functions for applying algorithms to BEL graphs"""
from . import concordance, mechanisms, rcr, stability, ucmpa
from .concordance import *
from .mechanisms import *
from .rcr import *
from .stability import *
from .ucmpa import *
__all__ = (
concordance.__all__ +
mechanisms.__all__ +
rcr.__all__ +
stability.__all__ +
ucmpa.__all__
)
Remove star imports from analysis | # -*- coding: utf-8 -*-
"""This submodule contains functions for applying algorithms to BEL graphs.
Each analysis might have weird requirements, and therefore they should all be imported explicitly.
"""
| <commit_before># -*- coding: utf-8 -*-
"""This submodule contains functions for applying algorithms to BEL graphs"""
from . import concordance, mechanisms, rcr, stability, ucmpa
from .concordance import *
from .mechanisms import *
from .rcr import *
from .stability import *
from .ucmpa import *
__all__ = (
concordance.__all__ +
mechanisms.__all__ +
rcr.__all__ +
stability.__all__ +
ucmpa.__all__
)
<commit_msg>Remove star imports from analysis<commit_after> | # -*- coding: utf-8 -*-
"""This submodule contains functions for applying algorithms to BEL graphs.
Each analysis might have weird requirements, and therefore they should all be imported explicitly.
"""
| # -*- coding: utf-8 -*-
"""This submodule contains functions for applying algorithms to BEL graphs"""
from . import concordance, mechanisms, rcr, stability, ucmpa
from .concordance import *
from .mechanisms import *
from .rcr import *
from .stability import *
from .ucmpa import *
__all__ = (
concordance.__all__ +
mechanisms.__all__ +
rcr.__all__ +
stability.__all__ +
ucmpa.__all__
)
Remove star imports from analysis# -*- coding: utf-8 -*-
"""This submodule contains functions for applying algorithms to BEL graphs.
Each analysis might have weird requirements, and therefore they should all be imported explicitly.
"""
| <commit_before># -*- coding: utf-8 -*-
"""This submodule contains functions for applying algorithms to BEL graphs"""
from . import concordance, mechanisms, rcr, stability, ucmpa
from .concordance import *
from .mechanisms import *
from .rcr import *
from .stability import *
from .ucmpa import *
__all__ = (
concordance.__all__ +
mechanisms.__all__ +
rcr.__all__ +
stability.__all__ +
ucmpa.__all__
)
<commit_msg>Remove star imports from analysis<commit_after># -*- coding: utf-8 -*-
"""This submodule contains functions for applying algorithms to BEL graphs.
Each analysis might have weird requirements, and therefore they should all be imported explicitly.
"""
|
dcb58a29df0c8ab28b08fa8ca080dfd2f1c7552a | gunicorn.conf.py | gunicorn.conf.py | import os, multiprocessing
bind = "0.0.0.0:{}".format(os.environ["PORT"])
workers = multiprocessing.cpu_count() * 2 + 1
worker_class = "gevent"
def post_fork(server, worker):
from psycogreen.gevent import patch_psycopg
patch_psycopg()
worker.log.info("Colored psycopg green.")
| import multiprocessing
import os
bind = '0.0.0.0:{}'.format(os.environ['PORT'])
preload = True
workers = multiprocessing.cpu_count() * 2 + 1
| Remove the greens to (hopefully) recover tracebacks. | Remove the greens to (hopefully) recover tracebacks.
| Python | apache-2.0 | hello-base/web,hello-base/web,hello-base/web,hello-base/web | import os, multiprocessing
bind = "0.0.0.0:{}".format(os.environ["PORT"])
workers = multiprocessing.cpu_count() * 2 + 1
worker_class = "gevent"
def post_fork(server, worker):
from psycogreen.gevent import patch_psycopg
patch_psycopg()
worker.log.info("Colored psycopg green.")
Remove the greens to (hopefully) recover tracebacks. | import multiprocessing
import os
bind = '0.0.0.0:{}'.format(os.environ['PORT'])
preload = True
workers = multiprocessing.cpu_count() * 2 + 1
| <commit_before>import os, multiprocessing
bind = "0.0.0.0:{}".format(os.environ["PORT"])
workers = multiprocessing.cpu_count() * 2 + 1
worker_class = "gevent"
def post_fork(server, worker):
from psycogreen.gevent import patch_psycopg
patch_psycopg()
worker.log.info("Colored psycopg green.")
<commit_msg>Remove the greens to (hopefully) recover tracebacks.<commit_after> | import multiprocessing
import os
bind = '0.0.0.0:{}'.format(os.environ['PORT'])
preload = True
workers = multiprocessing.cpu_count() * 2 + 1
| import os, multiprocessing
bind = "0.0.0.0:{}".format(os.environ["PORT"])
workers = multiprocessing.cpu_count() * 2 + 1
worker_class = "gevent"
def post_fork(server, worker):
from psycogreen.gevent import patch_psycopg
patch_psycopg()
worker.log.info("Colored psycopg green.")
Remove the greens to (hopefully) recover tracebacks.import multiprocessing
import os
bind = '0.0.0.0:{}'.format(os.environ['PORT'])
preload = True
workers = multiprocessing.cpu_count() * 2 + 1
| <commit_before>import os, multiprocessing
bind = "0.0.0.0:{}".format(os.environ["PORT"])
workers = multiprocessing.cpu_count() * 2 + 1
worker_class = "gevent"
def post_fork(server, worker):
from psycogreen.gevent import patch_psycopg
patch_psycopg()
worker.log.info("Colored psycopg green.")
<commit_msg>Remove the greens to (hopefully) recover tracebacks.<commit_after>import multiprocessing
import os
bind = '0.0.0.0:{}'.format(os.environ['PORT'])
preload = True
workers = multiprocessing.cpu_count() * 2 + 1
|
4377eb3738eac414aecc52cbe7003cc887d82614 | setup.py | setup.py | from distutils.core import setup
setup(
name = 'apns',
version = '1.0',
py_modules = ['pyapns'],
url = 'http://www.goosoftware.co.uk/',
author = 'Simon Whitaker',
author_email = 'simon@goosoftware.co.uk',
description = 'A python library for interacting with the Apple Push Notification Service',
license = 'unlicense.org',
) | from distutils.core import setup
setup(
author = 'Simon Whitaker',
author_email = 'simon@goosoftware.co.uk',
description = 'A python library for interacting with the Apple Push Notification Service',
download_url = 'http://github.com/simonwhitaker/PyAPNs',
license = 'unlicense.org',
name = 'apns',
py_modules = ['apns'],
url = 'http://www.goosoftware.co.uk/',
version = '1.0.1',
) | Tweak to py_modules, misc tidying | Tweak to py_modules, misc tidying
| Python | mit | AlexKordic/PyAPNs,duanhongyi/PyAPNs,miraculixx/PyAPNs,RatenGoods/PyAPNs,postmates/PyAPNs,korhner/PyAPNs,tenmalin/PyAPNs | from distutils.core import setup
setup(
name = 'apns',
version = '1.0',
py_modules = ['pyapns'],
url = 'http://www.goosoftware.co.uk/',
author = 'Simon Whitaker',
author_email = 'simon@goosoftware.co.uk',
description = 'A python library for interacting with the Apple Push Notification Service',
license = 'unlicense.org',
)Tweak to py_modules, misc tidying | from distutils.core import setup
setup(
author = 'Simon Whitaker',
author_email = 'simon@goosoftware.co.uk',
description = 'A python library for interacting with the Apple Push Notification Service',
download_url = 'http://github.com/simonwhitaker/PyAPNs',
license = 'unlicense.org',
name = 'apns',
py_modules = ['apns'],
url = 'http://www.goosoftware.co.uk/',
version = '1.0.1',
) | <commit_before>from distutils.core import setup
setup(
name = 'apns',
version = '1.0',
py_modules = ['pyapns'],
url = 'http://www.goosoftware.co.uk/',
author = 'Simon Whitaker',
author_email = 'simon@goosoftware.co.uk',
description = 'A python library for interacting with the Apple Push Notification Service',
license = 'unlicense.org',
)<commit_msg>Tweak to py_modules, misc tidying<commit_after> | from distutils.core import setup
setup(
author = 'Simon Whitaker',
author_email = 'simon@goosoftware.co.uk',
description = 'A python library for interacting with the Apple Push Notification Service',
download_url = 'http://github.com/simonwhitaker/PyAPNs',
license = 'unlicense.org',
name = 'apns',
py_modules = ['apns'],
url = 'http://www.goosoftware.co.uk/',
version = '1.0.1',
) | from distutils.core import setup
setup(
name = 'apns',
version = '1.0',
py_modules = ['pyapns'],
url = 'http://www.goosoftware.co.uk/',
author = 'Simon Whitaker',
author_email = 'simon@goosoftware.co.uk',
description = 'A python library for interacting with the Apple Push Notification Service',
license = 'unlicense.org',
)Tweak to py_modules, misc tidyingfrom distutils.core import setup
setup(
author = 'Simon Whitaker',
author_email = 'simon@goosoftware.co.uk',
description = 'A python library for interacting with the Apple Push Notification Service',
download_url = 'http://github.com/simonwhitaker/PyAPNs',
license = 'unlicense.org',
name = 'apns',
py_modules = ['apns'],
url = 'http://www.goosoftware.co.uk/',
version = '1.0.1',
) | <commit_before>from distutils.core import setup
setup(
name = 'apns',
version = '1.0',
py_modules = ['pyapns'],
url = 'http://www.goosoftware.co.uk/',
author = 'Simon Whitaker',
author_email = 'simon@goosoftware.co.uk',
description = 'A python library for interacting with the Apple Push Notification Service',
license = 'unlicense.org',
)<commit_msg>Tweak to py_modules, misc tidying<commit_after>from distutils.core import setup
setup(
author = 'Simon Whitaker',
author_email = 'simon@goosoftware.co.uk',
description = 'A python library for interacting with the Apple Push Notification Service',
download_url = 'http://github.com/simonwhitaker/PyAPNs',
license = 'unlicense.org',
name = 'apns',
py_modules = ['apns'],
url = 'http://www.goosoftware.co.uk/',
version = '1.0.1',
) |
d8295756e73cb096acd5e3ef7e2b076b8b871c31 | apps/domain/src/main/routes/general/routes.py | apps/domain/src/main/routes/general/routes.py | from .blueprint import root_blueprint as root_route
from ...core.node import node
# syft absolute
from syft.core.common.message import SignedImmediateSyftMessageWithReply
from syft.core.common.message import SignedImmediateSyftMessageWithoutReply
from syft.core.common.serde.deserialize import _deserialize
from flask import request, Response
import json
@root_route.route("/pysyft", methods=["POST"])
def root_route():
json_msg = request.get_json()
obj_msg = _deserialize(blob=json_msg, from_json=True)
if isinstance(obj_msg, SignedImmediateSyftMessageWithReply):
reply = node.recv_immediate_msg_with_reply(msg=obj_msg)
return reply.json()
elif isinstance(obj_msg, SignedImmediateSyftMessageWithoutReply):
node.recv_immediate_msg_without_reply(msg=obj_msg)
else:
node.recv_eventual_msg_without_reply(msg=obj_msg)
return ""
| from .blueprint import root_blueprint as root_route
from ...core.node import node
# syft absolute
from syft.core.common.message import SignedImmediateSyftMessageWithReply
from syft.core.common.message import SignedImmediateSyftMessageWithoutReply
from syft.core.common.serde.deserialize import _deserialize
from flask import request, Response
import json
@root_route.route("/pysyft", methods=["POST"])
def root_route():
data = request.get_data()
obj_msg = _deserialize(blob=data, from_bytes=True)
if isinstance(obj_msg, SignedImmediateSyftMessageWithReply):
reply = node.recv_immediate_msg_with_reply(msg=obj_msg)
r = Response(response=reply.serialize(to_bytes=True), status=200)
r.headers["Content-Type"] = "application/octet-stream"
return r
elif isinstance(obj_msg, SignedImmediateSyftMessageWithoutReply):
node.recv_immediate_msg_without_reply(msg=obj_msg)
else:
node.recv_eventual_msg_without_reply(msg=obj_msg)
return ""
| Update /users/login endpoint to return serialized metadata | Update /users/login endpoint to return serialized metadata
| Python | apache-2.0 | OpenMined/PySyft,OpenMined/PySyft,OpenMined/PySyft,OpenMined/PySyft | from .blueprint import root_blueprint as root_route
from ...core.node import node
# syft absolute
from syft.core.common.message import SignedImmediateSyftMessageWithReply
from syft.core.common.message import SignedImmediateSyftMessageWithoutReply
from syft.core.common.serde.deserialize import _deserialize
from flask import request, Response
import json
@root_route.route("/pysyft", methods=["POST"])
def root_route():
json_msg = request.get_json()
obj_msg = _deserialize(blob=json_msg, from_json=True)
if isinstance(obj_msg, SignedImmediateSyftMessageWithReply):
reply = node.recv_immediate_msg_with_reply(msg=obj_msg)
return reply.json()
elif isinstance(obj_msg, SignedImmediateSyftMessageWithoutReply):
node.recv_immediate_msg_without_reply(msg=obj_msg)
else:
node.recv_eventual_msg_without_reply(msg=obj_msg)
return ""
Update /users/login endpoint to return serialized metadata | from .blueprint import root_blueprint as root_route
from ...core.node import node
# syft absolute
from syft.core.common.message import SignedImmediateSyftMessageWithReply
from syft.core.common.message import SignedImmediateSyftMessageWithoutReply
from syft.core.common.serde.deserialize import _deserialize
from flask import request, Response
import json
@root_route.route("/pysyft", methods=["POST"])
def root_route():
data = request.get_data()
obj_msg = _deserialize(blob=data, from_bytes=True)
if isinstance(obj_msg, SignedImmediateSyftMessageWithReply):
reply = node.recv_immediate_msg_with_reply(msg=obj_msg)
r = Response(response=reply.serialize(to_bytes=True), status=200)
r.headers["Content-Type"] = "application/octet-stream"
return r
elif isinstance(obj_msg, SignedImmediateSyftMessageWithoutReply):
node.recv_immediate_msg_without_reply(msg=obj_msg)
else:
node.recv_eventual_msg_without_reply(msg=obj_msg)
return ""
| <commit_before>from .blueprint import root_blueprint as root_route
from ...core.node import node
# syft absolute
from syft.core.common.message import SignedImmediateSyftMessageWithReply
from syft.core.common.message import SignedImmediateSyftMessageWithoutReply
from syft.core.common.serde.deserialize import _deserialize
from flask import request, Response
import json
@root_route.route("/pysyft", methods=["POST"])
def root_route():
json_msg = request.get_json()
obj_msg = _deserialize(blob=json_msg, from_json=True)
if isinstance(obj_msg, SignedImmediateSyftMessageWithReply):
reply = node.recv_immediate_msg_with_reply(msg=obj_msg)
return reply.json()
elif isinstance(obj_msg, SignedImmediateSyftMessageWithoutReply):
node.recv_immediate_msg_without_reply(msg=obj_msg)
else:
node.recv_eventual_msg_without_reply(msg=obj_msg)
return ""
<commit_msg>Update /users/login endpoint to return serialized metadata<commit_after> | from .blueprint import root_blueprint as root_route
from ...core.node import node
# syft absolute
from syft.core.common.message import SignedImmediateSyftMessageWithReply
from syft.core.common.message import SignedImmediateSyftMessageWithoutReply
from syft.core.common.serde.deserialize import _deserialize
from flask import request, Response
import json
@root_route.route("/pysyft", methods=["POST"])
def root_route():
data = request.get_data()
obj_msg = _deserialize(blob=data, from_bytes=True)
if isinstance(obj_msg, SignedImmediateSyftMessageWithReply):
reply = node.recv_immediate_msg_with_reply(msg=obj_msg)
r = Response(response=reply.serialize(to_bytes=True), status=200)
r.headers["Content-Type"] = "application/octet-stream"
return r
elif isinstance(obj_msg, SignedImmediateSyftMessageWithoutReply):
node.recv_immediate_msg_without_reply(msg=obj_msg)
else:
node.recv_eventual_msg_without_reply(msg=obj_msg)
return ""
| from .blueprint import root_blueprint as root_route
from ...core.node import node
# syft absolute
from syft.core.common.message import SignedImmediateSyftMessageWithReply
from syft.core.common.message import SignedImmediateSyftMessageWithoutReply
from syft.core.common.serde.deserialize import _deserialize
from flask import request, Response
import json
@root_route.route("/pysyft", methods=["POST"])
def root_route():
json_msg = request.get_json()
obj_msg = _deserialize(blob=json_msg, from_json=True)
if isinstance(obj_msg, SignedImmediateSyftMessageWithReply):
reply = node.recv_immediate_msg_with_reply(msg=obj_msg)
return reply.json()
elif isinstance(obj_msg, SignedImmediateSyftMessageWithoutReply):
node.recv_immediate_msg_without_reply(msg=obj_msg)
else:
node.recv_eventual_msg_without_reply(msg=obj_msg)
return ""
Update /users/login endpoint to return serialized metadatafrom .blueprint import root_blueprint as root_route
from ...core.node import node
# syft absolute
from syft.core.common.message import SignedImmediateSyftMessageWithReply
from syft.core.common.message import SignedImmediateSyftMessageWithoutReply
from syft.core.common.serde.deserialize import _deserialize
from flask import request, Response
import json
@root_route.route("/pysyft", methods=["POST"])
def root_route():
data = request.get_data()
obj_msg = _deserialize(blob=data, from_bytes=True)
if isinstance(obj_msg, SignedImmediateSyftMessageWithReply):
reply = node.recv_immediate_msg_with_reply(msg=obj_msg)
r = Response(response=reply.serialize(to_bytes=True), status=200)
r.headers["Content-Type"] = "application/octet-stream"
return r
elif isinstance(obj_msg, SignedImmediateSyftMessageWithoutReply):
node.recv_immediate_msg_without_reply(msg=obj_msg)
else:
node.recv_eventual_msg_without_reply(msg=obj_msg)
return ""
| <commit_before>from .blueprint import root_blueprint as root_route
from ...core.node import node
# syft absolute
from syft.core.common.message import SignedImmediateSyftMessageWithReply
from syft.core.common.message import SignedImmediateSyftMessageWithoutReply
from syft.core.common.serde.deserialize import _deserialize
from flask import request, Response
import json
@root_route.route("/pysyft", methods=["POST"])
def root_route():
json_msg = request.get_json()
obj_msg = _deserialize(blob=json_msg, from_json=True)
if isinstance(obj_msg, SignedImmediateSyftMessageWithReply):
reply = node.recv_immediate_msg_with_reply(msg=obj_msg)
return reply.json()
elif isinstance(obj_msg, SignedImmediateSyftMessageWithoutReply):
node.recv_immediate_msg_without_reply(msg=obj_msg)
else:
node.recv_eventual_msg_without_reply(msg=obj_msg)
return ""
<commit_msg>Update /users/login endpoint to return serialized metadata<commit_after>from .blueprint import root_blueprint as root_route
from ...core.node import node
# syft absolute
from syft.core.common.message import SignedImmediateSyftMessageWithReply
from syft.core.common.message import SignedImmediateSyftMessageWithoutReply
from syft.core.common.serde.deserialize import _deserialize
from flask import request, Response
import json
@root_route.route("/pysyft", methods=["POST"])
def root_route():
data = request.get_data()
obj_msg = _deserialize(blob=data, from_bytes=True)
if isinstance(obj_msg, SignedImmediateSyftMessageWithReply):
reply = node.recv_immediate_msg_with_reply(msg=obj_msg)
r = Response(response=reply.serialize(to_bytes=True), status=200)
r.headers["Content-Type"] = "application/octet-stream"
return r
elif isinstance(obj_msg, SignedImmediateSyftMessageWithoutReply):
node.recv_immediate_msg_without_reply(msg=obj_msg)
else:
node.recv_eventual_msg_without_reply(msg=obj_msg)
return ""
|
b80e93af8f699d7ccf0400a454d73f2a1ff23db1 | setup.py | setup.py | import os
from setuptools import setup, find_packages
classifiers = """\
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Programming Language :: Python
Topic :: Utilities
Operating System :: Unix
"""
def read(*rel_names):
return open(os.path.join(os.path.dirname(__file__), *rel_names)).read()
setup(
name='crammit',
version='0.1',
url='https://github.com/rspivak/crammit.git',
license='MIT',
description='Crammit - CSS/JavaScript minifier. Asset packaging library',
author='Ruslan Spivak',
author_email='ruslan.spivak@gmail.com',
packages=find_packages('src'),
package_dir={'': 'src'},
install_requires=['slimit'],
zip_safe=False,
entry_points="""\
[console_scripts]
crammit = crammit:main
""",
classifiers=filter(None, classifiers.split('\n')),
long_description=read('README.rst') + '\n\n' + read('CHANGES.rst'),
extras_require={'test': []}
)
| import os
from setuptools import setup, find_packages
classifiers = """\
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Programming Language :: Python
Topic :: Utilities
Operating System :: Unix
"""
def read(*rel_names):
return open(os.path.join(os.path.dirname(__file__), *rel_names)).read()
setup(
name='crammit',
version='0.1',
url='https://github.com/rspivak/crammit.git',
license='MIT',
description='Crammit - CSS/JavaScript minifier. Asset packaging library',
author='Ruslan Spivak',
author_email='ruslan.spivak@gmail.com',
packages=find_packages('src'),
package_dir={'': 'src'},
install_requires=['slimit', 'cssmin'],
zip_safe=False,
entry_points="""\
[console_scripts]
crammit = crammit:main
""",
classifiers=filter(None, classifiers.split('\n')),
long_description=read('README.rst') + '\n\n' + read('CHANGES.rst'),
extras_require={'test': []}
)
| Add 'cssmin' as a dependency | Add 'cssmin' as a dependency
| Python | mit | rspivak/crammit,rspivak/crammit | import os
from setuptools import setup, find_packages
classifiers = """\
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Programming Language :: Python
Topic :: Utilities
Operating System :: Unix
"""
def read(*rel_names):
return open(os.path.join(os.path.dirname(__file__), *rel_names)).read()
setup(
name='crammit',
version='0.1',
url='https://github.com/rspivak/crammit.git',
license='MIT',
description='Crammit - CSS/JavaScript minifier. Asset packaging library',
author='Ruslan Spivak',
author_email='ruslan.spivak@gmail.com',
packages=find_packages('src'),
package_dir={'': 'src'},
install_requires=['slimit'],
zip_safe=False,
entry_points="""\
[console_scripts]
crammit = crammit:main
""",
classifiers=filter(None, classifiers.split('\n')),
long_description=read('README.rst') + '\n\n' + read('CHANGES.rst'),
extras_require={'test': []}
)
Add 'cssmin' as a dependency | import os
from setuptools import setup, find_packages
classifiers = """\
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Programming Language :: Python
Topic :: Utilities
Operating System :: Unix
"""
def read(*rel_names):
return open(os.path.join(os.path.dirname(__file__), *rel_names)).read()
setup(
name='crammit',
version='0.1',
url='https://github.com/rspivak/crammit.git',
license='MIT',
description='Crammit - CSS/JavaScript minifier. Asset packaging library',
author='Ruslan Spivak',
author_email='ruslan.spivak@gmail.com',
packages=find_packages('src'),
package_dir={'': 'src'},
install_requires=['slimit', 'cssmin'],
zip_safe=False,
entry_points="""\
[console_scripts]
crammit = crammit:main
""",
classifiers=filter(None, classifiers.split('\n')),
long_description=read('README.rst') + '\n\n' + read('CHANGES.rst'),
extras_require={'test': []}
)
| <commit_before>import os
from setuptools import setup, find_packages
classifiers = """\
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Programming Language :: Python
Topic :: Utilities
Operating System :: Unix
"""
def read(*rel_names):
return open(os.path.join(os.path.dirname(__file__), *rel_names)).read()
setup(
name='crammit',
version='0.1',
url='https://github.com/rspivak/crammit.git',
license='MIT',
description='Crammit - CSS/JavaScript minifier. Asset packaging library',
author='Ruslan Spivak',
author_email='ruslan.spivak@gmail.com',
packages=find_packages('src'),
package_dir={'': 'src'},
install_requires=['slimit'],
zip_safe=False,
entry_points="""\
[console_scripts]
crammit = crammit:main
""",
classifiers=filter(None, classifiers.split('\n')),
long_description=read('README.rst') + '\n\n' + read('CHANGES.rst'),
extras_require={'test': []}
)
<commit_msg>Add 'cssmin' as a dependency<commit_after> | import os
from setuptools import setup, find_packages
classifiers = """\
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Programming Language :: Python
Topic :: Utilities
Operating System :: Unix
"""
def read(*rel_names):
return open(os.path.join(os.path.dirname(__file__), *rel_names)).read()
setup(
name='crammit',
version='0.1',
url='https://github.com/rspivak/crammit.git',
license='MIT',
description='Crammit - CSS/JavaScript minifier. Asset packaging library',
author='Ruslan Spivak',
author_email='ruslan.spivak@gmail.com',
packages=find_packages('src'),
package_dir={'': 'src'},
install_requires=['slimit', 'cssmin'],
zip_safe=False,
entry_points="""\
[console_scripts]
crammit = crammit:main
""",
classifiers=filter(None, classifiers.split('\n')),
long_description=read('README.rst') + '\n\n' + read('CHANGES.rst'),
extras_require={'test': []}
)
| import os
from setuptools import setup, find_packages
classifiers = """\
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Programming Language :: Python
Topic :: Utilities
Operating System :: Unix
"""
def read(*rel_names):
return open(os.path.join(os.path.dirname(__file__), *rel_names)).read()
setup(
name='crammit',
version='0.1',
url='https://github.com/rspivak/crammit.git',
license='MIT',
description='Crammit - CSS/JavaScript minifier. Asset packaging library',
author='Ruslan Spivak',
author_email='ruslan.spivak@gmail.com',
packages=find_packages('src'),
package_dir={'': 'src'},
install_requires=['slimit'],
zip_safe=False,
entry_points="""\
[console_scripts]
crammit = crammit:main
""",
classifiers=filter(None, classifiers.split('\n')),
long_description=read('README.rst') + '\n\n' + read('CHANGES.rst'),
extras_require={'test': []}
)
Add 'cssmin' as a dependencyimport os
from setuptools import setup, find_packages
classifiers = """\
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Programming Language :: Python
Topic :: Utilities
Operating System :: Unix
"""
def read(*rel_names):
return open(os.path.join(os.path.dirname(__file__), *rel_names)).read()
setup(
name='crammit',
version='0.1',
url='https://github.com/rspivak/crammit.git',
license='MIT',
description='Crammit - CSS/JavaScript minifier. Asset packaging library',
author='Ruslan Spivak',
author_email='ruslan.spivak@gmail.com',
packages=find_packages('src'),
package_dir={'': 'src'},
install_requires=['slimit', 'cssmin'],
zip_safe=False,
entry_points="""\
[console_scripts]
crammit = crammit:main
""",
classifiers=filter(None, classifiers.split('\n')),
long_description=read('README.rst') + '\n\n' + read('CHANGES.rst'),
extras_require={'test': []}
)
| <commit_before>import os
from setuptools import setup, find_packages
classifiers = """\
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Programming Language :: Python
Topic :: Utilities
Operating System :: Unix
"""
def read(*rel_names):
return open(os.path.join(os.path.dirname(__file__), *rel_names)).read()
setup(
name='crammit',
version='0.1',
url='https://github.com/rspivak/crammit.git',
license='MIT',
description='Crammit - CSS/JavaScript minifier. Asset packaging library',
author='Ruslan Spivak',
author_email='ruslan.spivak@gmail.com',
packages=find_packages('src'),
package_dir={'': 'src'},
install_requires=['slimit'],
zip_safe=False,
entry_points="""\
[console_scripts]
crammit = crammit:main
""",
classifiers=filter(None, classifiers.split('\n')),
long_description=read('README.rst') + '\n\n' + read('CHANGES.rst'),
extras_require={'test': []}
)
<commit_msg>Add 'cssmin' as a dependency<commit_after>import os
from setuptools import setup, find_packages
classifiers = """\
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Programming Language :: Python
Topic :: Utilities
Operating System :: Unix
"""
def read(*rel_names):
return open(os.path.join(os.path.dirname(__file__), *rel_names)).read()
setup(
name='crammit',
version='0.1',
url='https://github.com/rspivak/crammit.git',
license='MIT',
description='Crammit - CSS/JavaScript minifier. Asset packaging library',
author='Ruslan Spivak',
author_email='ruslan.spivak@gmail.com',
packages=find_packages('src'),
package_dir={'': 'src'},
install_requires=['slimit', 'cssmin'],
zip_safe=False,
entry_points="""\
[console_scripts]
crammit = crammit:main
""",
classifiers=filter(None, classifiers.split('\n')),
long_description=read('README.rst') + '\n\n' + read('CHANGES.rst'),
extras_require={'test': []}
)
|
f41ed1b43ccb67b2c407dc9b7d03bdd0ac26f410 | setup.py | setup.py | from setuptools import setup, find_packages
import sys
if sys.hexversion < 0x02070000:
sys.exit("Python 2.7 or newer is required to use this package.")
setup(
name="legato",
version="1.1",
author="S[&]T",
author_email="info@stcorp.nl",
url="https://stcorp.nl/",
description="Task trigger daemon",
license="BSD",
packages=find_packages(),
entry_points={
"console_scripts": [
"legato = legato.main:main",
],
},
install_requires=[
"pyyaml",
"schedule",
"watchdog"
]
)
| from setuptools import setup, find_packages
import sys
if sys.hexversion < 0x02070000:
sys.exit("Python 2.7 or newer is required to use this package.")
setup(
name="legato",
version="1.1",
author="S[&]T",
url="https://github.com/stcorp/legato",
description="Task trigger daemon",
license="BSD",
packages=find_packages(),
entry_points={
"console_scripts": [
"legato = legato.main:main",
],
},
install_requires=[
"pyyaml",
"schedule",
"watchdog"
]
)
| Change url to github and remove email address | Change url to github and remove email address
| Python | bsd-3-clause | stcorp/legato | from setuptools import setup, find_packages
import sys
if sys.hexversion < 0x02070000:
sys.exit("Python 2.7 or newer is required to use this package.")
setup(
name="legato",
version="1.1",
author="S[&]T",
author_email="info@stcorp.nl",
url="https://stcorp.nl/",
description="Task trigger daemon",
license="BSD",
packages=find_packages(),
entry_points={
"console_scripts": [
"legato = legato.main:main",
],
},
install_requires=[
"pyyaml",
"schedule",
"watchdog"
]
)
Change url to github and remove email address | from setuptools import setup, find_packages
import sys
if sys.hexversion < 0x02070000:
sys.exit("Python 2.7 or newer is required to use this package.")
setup(
name="legato",
version="1.1",
author="S[&]T",
url="https://github.com/stcorp/legato",
description="Task trigger daemon",
license="BSD",
packages=find_packages(),
entry_points={
"console_scripts": [
"legato = legato.main:main",
],
},
install_requires=[
"pyyaml",
"schedule",
"watchdog"
]
)
| <commit_before>from setuptools import setup, find_packages
import sys
if sys.hexversion < 0x02070000:
sys.exit("Python 2.7 or newer is required to use this package.")
setup(
name="legato",
version="1.1",
author="S[&]T",
author_email="info@stcorp.nl",
url="https://stcorp.nl/",
description="Task trigger daemon",
license="BSD",
packages=find_packages(),
entry_points={
"console_scripts": [
"legato = legato.main:main",
],
},
install_requires=[
"pyyaml",
"schedule",
"watchdog"
]
)
<commit_msg>Change url to github and remove email address<commit_after> | from setuptools import setup, find_packages
import sys
if sys.hexversion < 0x02070000:
sys.exit("Python 2.7 or newer is required to use this package.")
setup(
name="legato",
version="1.1",
author="S[&]T",
url="https://github.com/stcorp/legato",
description="Task trigger daemon",
license="BSD",
packages=find_packages(),
entry_points={
"console_scripts": [
"legato = legato.main:main",
],
},
install_requires=[
"pyyaml",
"schedule",
"watchdog"
]
)
| from setuptools import setup, find_packages
import sys
if sys.hexversion < 0x02070000:
sys.exit("Python 2.7 or newer is required to use this package.")
setup(
name="legato",
version="1.1",
author="S[&]T",
author_email="info@stcorp.nl",
url="https://stcorp.nl/",
description="Task trigger daemon",
license="BSD",
packages=find_packages(),
entry_points={
"console_scripts": [
"legato = legato.main:main",
],
},
install_requires=[
"pyyaml",
"schedule",
"watchdog"
]
)
Change url to github and remove email addressfrom setuptools import setup, find_packages
import sys
if sys.hexversion < 0x02070000:
sys.exit("Python 2.7 or newer is required to use this package.")
setup(
name="legato",
version="1.1",
author="S[&]T",
url="https://github.com/stcorp/legato",
description="Task trigger daemon",
license="BSD",
packages=find_packages(),
entry_points={
"console_scripts": [
"legato = legato.main:main",
],
},
install_requires=[
"pyyaml",
"schedule",
"watchdog"
]
)
| <commit_before>from setuptools import setup, find_packages
import sys
if sys.hexversion < 0x02070000:
sys.exit("Python 2.7 or newer is required to use this package.")
setup(
name="legato",
version="1.1",
author="S[&]T",
author_email="info@stcorp.nl",
url="https://stcorp.nl/",
description="Task trigger daemon",
license="BSD",
packages=find_packages(),
entry_points={
"console_scripts": [
"legato = legato.main:main",
],
},
install_requires=[
"pyyaml",
"schedule",
"watchdog"
]
)
<commit_msg>Change url to github and remove email address<commit_after>from setuptools import setup, find_packages
import sys
if sys.hexversion < 0x02070000:
sys.exit("Python 2.7 or newer is required to use this package.")
setup(
name="legato",
version="1.1",
author="S[&]T",
url="https://github.com/stcorp/legato",
description="Task trigger daemon",
license="BSD",
packages=find_packages(),
entry_points={
"console_scripts": [
"legato = legato.main:main",
],
},
install_requires=[
"pyyaml",
"schedule",
"watchdog"
]
)
|
09e93b9ed12023dbc7ead6c4ebcdc021eef9f269 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='panoptes_client',
url='https://github.com/zooniverse/panoptes-python-client',
author='Adam McMaster',
author_email='adam@zooniverse.org',
version='1.0.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
'requests>=2.4.2,<2.19',
'future>=0.16,<0.17',
'python-magic>=0.4,<0.5',
],
extras_require={
'testing': [
'mock>=2.0,<2.1',
],
'docs': [
'sphinx',
]
}
)
| from setuptools import setup, find_packages
setup(
name='panoptes_client',
url='https://github.com/zooniverse/panoptes-python-client',
author='Adam McMaster',
author_email='adam@zooniverse.org',
version='1.0.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
'requests>=2.4.2,<2.20',
'future>=0.16,<0.17',
'python-magic>=0.4,<0.5',
],
extras_require={
'testing': [
'mock>=2.0,<2.1',
],
'docs': [
'sphinx',
]
}
)
| Update requests requirement to >=2.4.2,<2.20 | Update requests requirement to >=2.4.2,<2.20
Updates the requirements on [requests](https://github.com/requests/requests) to permit the latest version.
- [Release notes](https://github.com/requests/requests/releases)
- [Changelog](https://github.com/requests/requests/blob/master/HISTORY.rst)
- [Commits](https://github.com/requests/requests/commits/v2.19.1)
Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com> | Python | apache-2.0 | zooniverse/panoptes-python-client | from setuptools import setup, find_packages
setup(
name='panoptes_client',
url='https://github.com/zooniverse/panoptes-python-client',
author='Adam McMaster',
author_email='adam@zooniverse.org',
version='1.0.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
'requests>=2.4.2,<2.19',
'future>=0.16,<0.17',
'python-magic>=0.4,<0.5',
],
extras_require={
'testing': [
'mock>=2.0,<2.1',
],
'docs': [
'sphinx',
]
}
)
Update requests requirement to >=2.4.2,<2.20
Updates the requirements on [requests](https://github.com/requests/requests) to permit the latest version.
- [Release notes](https://github.com/requests/requests/releases)
- [Changelog](https://github.com/requests/requests/blob/master/HISTORY.rst)
- [Commits](https://github.com/requests/requests/commits/v2.19.1)
Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com> | from setuptools import setup, find_packages
setup(
name='panoptes_client',
url='https://github.com/zooniverse/panoptes-python-client',
author='Adam McMaster',
author_email='adam@zooniverse.org',
version='1.0.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
'requests>=2.4.2,<2.20',
'future>=0.16,<0.17',
'python-magic>=0.4,<0.5',
],
extras_require={
'testing': [
'mock>=2.0,<2.1',
],
'docs': [
'sphinx',
]
}
)
| <commit_before>from setuptools import setup, find_packages
setup(
name='panoptes_client',
url='https://github.com/zooniverse/panoptes-python-client',
author='Adam McMaster',
author_email='adam@zooniverse.org',
version='1.0.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
'requests>=2.4.2,<2.19',
'future>=0.16,<0.17',
'python-magic>=0.4,<0.5',
],
extras_require={
'testing': [
'mock>=2.0,<2.1',
],
'docs': [
'sphinx',
]
}
)
<commit_msg>Update requests requirement to >=2.4.2,<2.20
Updates the requirements on [requests](https://github.com/requests/requests) to permit the latest version.
- [Release notes](https://github.com/requests/requests/releases)
- [Changelog](https://github.com/requests/requests/blob/master/HISTORY.rst)
- [Commits](https://github.com/requests/requests/commits/v2.19.1)
Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com><commit_after> | from setuptools import setup, find_packages
setup(
name='panoptes_client',
url='https://github.com/zooniverse/panoptes-python-client',
author='Adam McMaster',
author_email='adam@zooniverse.org',
version='1.0.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
'requests>=2.4.2,<2.20',
'future>=0.16,<0.17',
'python-magic>=0.4,<0.5',
],
extras_require={
'testing': [
'mock>=2.0,<2.1',
],
'docs': [
'sphinx',
]
}
)
| from setuptools import setup, find_packages
setup(
name='panoptes_client',
url='https://github.com/zooniverse/panoptes-python-client',
author='Adam McMaster',
author_email='adam@zooniverse.org',
version='1.0.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
'requests>=2.4.2,<2.19',
'future>=0.16,<0.17',
'python-magic>=0.4,<0.5',
],
extras_require={
'testing': [
'mock>=2.0,<2.1',
],
'docs': [
'sphinx',
]
}
)
Update requests requirement to >=2.4.2,<2.20
Updates the requirements on [requests](https://github.com/requests/requests) to permit the latest version.
- [Release notes](https://github.com/requests/requests/releases)
- [Changelog](https://github.com/requests/requests/blob/master/HISTORY.rst)
- [Commits](https://github.com/requests/requests/commits/v2.19.1)
Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com>from setuptools import setup, find_packages
setup(
name='panoptes_client',
url='https://github.com/zooniverse/panoptes-python-client',
author='Adam McMaster',
author_email='adam@zooniverse.org',
version='1.0.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
'requests>=2.4.2,<2.20',
'future>=0.16,<0.17',
'python-magic>=0.4,<0.5',
],
extras_require={
'testing': [
'mock>=2.0,<2.1',
],
'docs': [
'sphinx',
]
}
)
| <commit_before>from setuptools import setup, find_packages
setup(
name='panoptes_client',
url='https://github.com/zooniverse/panoptes-python-client',
author='Adam McMaster',
author_email='adam@zooniverse.org',
version='1.0.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
'requests>=2.4.2,<2.19',
'future>=0.16,<0.17',
'python-magic>=0.4,<0.5',
],
extras_require={
'testing': [
'mock>=2.0,<2.1',
],
'docs': [
'sphinx',
]
}
)
<commit_msg>Update requests requirement to >=2.4.2,<2.20
Updates the requirements on [requests](https://github.com/requests/requests) to permit the latest version.
- [Release notes](https://github.com/requests/requests/releases)
- [Changelog](https://github.com/requests/requests/blob/master/HISTORY.rst)
- [Commits](https://github.com/requests/requests/commits/v2.19.1)
Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com><commit_after>from setuptools import setup, find_packages
setup(
name='panoptes_client',
url='https://github.com/zooniverse/panoptes-python-client',
author='Adam McMaster',
author_email='adam@zooniverse.org',
version='1.0.1',
packages=find_packages(),
include_package_data=True,
install_requires=[
'requests>=2.4.2,<2.20',
'future>=0.16,<0.17',
'python-magic>=0.4,<0.5',
],
extras_require={
'testing': [
'mock>=2.0,<2.1',
],
'docs': [
'sphinx',
]
}
)
|
4bd81c84a35fe03b855e4365d9ae92c3b905e61e | setup.py | setup.py | import os
from setuptools import find_packages, setup
rootpath = os.path.abspath(os.path.dirname(__file__))
# Extract version
def extract_version(module='kyokai'):
version = None
fname = os.path.join(rootpath, module, 'util.py')
with open(fname) as f:
for line in f:
if line.startswith('VERSION'):
_, version = line.split('=')
version = version.strip()[1:-1] # Remove quotation characters.
break
return version
setup(
name='Kyokai',
version=extract_version(),
packages=find_packages(),
url='https://mirai.veriny.tf',
license='MIT',
author='Isaac Dickinson',
author_email='sun@veriny.tf',
description='A fast, asynchronous web framework for Python 3.5+',
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Topic :: Internet",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Application Frameworks"
],
install_requires=[
"http-parser>=0.8.3",
"uvloop>=0.4.15",
"PyYAML>=3.11",
"python-magic",
'typeguard',
'asphalt'
]
)
| import os
from setuptools import find_packages, setup
rootpath = os.path.abspath(os.path.dirname(__file__))
# Extract version
def extract_version(module='kyokai'):
version = None
fname = os.path.join(rootpath, module, 'util.py')
with open(fname) as f:
for line in f:
if line.startswith('VERSION'):
_, version = line.split('=')
version = version.strip()[1:-1] # Remove quotation characters.
break
return version
setup(
name='Kyokai',
version=extract_version(),
packages=find_packages(),
url='https://mirai.veriny.tf',
license='MIT',
author='Isaac Dickinson',
author_email='sun@veriny.tf',
description='A fast, asynchronous web framework for Python 3.5+',
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Topic :: Internet",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Application Frameworks"
],
install_requires=[
"http-parser>=0.8.3",
"PyYAML>=3.11",
"python-magic",
'typeguard>=1.2.1',
'asphalt'
]
)
| Remove hard dependency on typeguard | Remove hard dependency on typeguard
| Python | mit | SunDwarf/Kyoukai | import os
from setuptools import find_packages, setup
rootpath = os.path.abspath(os.path.dirname(__file__))
# Extract version
def extract_version(module='kyokai'):
version = None
fname = os.path.join(rootpath, module, 'util.py')
with open(fname) as f:
for line in f:
if line.startswith('VERSION'):
_, version = line.split('=')
version = version.strip()[1:-1] # Remove quotation characters.
break
return version
setup(
name='Kyokai',
version=extract_version(),
packages=find_packages(),
url='https://mirai.veriny.tf',
license='MIT',
author='Isaac Dickinson',
author_email='sun@veriny.tf',
description='A fast, asynchronous web framework for Python 3.5+',
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Topic :: Internet",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Application Frameworks"
],
install_requires=[
"http-parser>=0.8.3",
"uvloop>=0.4.15",
"PyYAML>=3.11",
"python-magic",
'typeguard',
'asphalt'
]
)
Remove hard dependency on typeguard | import os
from setuptools import find_packages, setup
rootpath = os.path.abspath(os.path.dirname(__file__))
# Extract version
def extract_version(module='kyokai'):
version = None
fname = os.path.join(rootpath, module, 'util.py')
with open(fname) as f:
for line in f:
if line.startswith('VERSION'):
_, version = line.split('=')
version = version.strip()[1:-1] # Remove quotation characters.
break
return version
setup(
name='Kyokai',
version=extract_version(),
packages=find_packages(),
url='https://mirai.veriny.tf',
license='MIT',
author='Isaac Dickinson',
author_email='sun@veriny.tf',
description='A fast, asynchronous web framework for Python 3.5+',
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Topic :: Internet",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Application Frameworks"
],
install_requires=[
"http-parser>=0.8.3",
"PyYAML>=3.11",
"python-magic",
'typeguard>=1.2.1',
'asphalt'
]
)
| <commit_before>import os
from setuptools import find_packages, setup
rootpath = os.path.abspath(os.path.dirname(__file__))
# Extract version
def extract_version(module='kyokai'):
version = None
fname = os.path.join(rootpath, module, 'util.py')
with open(fname) as f:
for line in f:
if line.startswith('VERSION'):
_, version = line.split('=')
version = version.strip()[1:-1] # Remove quotation characters.
break
return version
setup(
name='Kyokai',
version=extract_version(),
packages=find_packages(),
url='https://mirai.veriny.tf',
license='MIT',
author='Isaac Dickinson',
author_email='sun@veriny.tf',
description='A fast, asynchronous web framework for Python 3.5+',
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Topic :: Internet",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Application Frameworks"
],
install_requires=[
"http-parser>=0.8.3",
"uvloop>=0.4.15",
"PyYAML>=3.11",
"python-magic",
'typeguard',
'asphalt'
]
)
<commit_msg>Remove hard dependency on typeguard<commit_after> | import os
from setuptools import find_packages, setup
rootpath = os.path.abspath(os.path.dirname(__file__))
# Extract version
def extract_version(module='kyokai'):
version = None
fname = os.path.join(rootpath, module, 'util.py')
with open(fname) as f:
for line in f:
if line.startswith('VERSION'):
_, version = line.split('=')
version = version.strip()[1:-1] # Remove quotation characters.
break
return version
setup(
name='Kyokai',
version=extract_version(),
packages=find_packages(),
url='https://mirai.veriny.tf',
license='MIT',
author='Isaac Dickinson',
author_email='sun@veriny.tf',
description='A fast, asynchronous web framework for Python 3.5+',
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Topic :: Internet",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Application Frameworks"
],
install_requires=[
"http-parser>=0.8.3",
"PyYAML>=3.11",
"python-magic",
'typeguard>=1.2.1',
'asphalt'
]
)
| import os
from setuptools import find_packages, setup
rootpath = os.path.abspath(os.path.dirname(__file__))
# Extract version
def extract_version(module='kyokai'):
version = None
fname = os.path.join(rootpath, module, 'util.py')
with open(fname) as f:
for line in f:
if line.startswith('VERSION'):
_, version = line.split('=')
version = version.strip()[1:-1] # Remove quotation characters.
break
return version
setup(
name='Kyokai',
version=extract_version(),
packages=find_packages(),
url='https://mirai.veriny.tf',
license='MIT',
author='Isaac Dickinson',
author_email='sun@veriny.tf',
description='A fast, asynchronous web framework for Python 3.5+',
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Topic :: Internet",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Application Frameworks"
],
install_requires=[
"http-parser>=0.8.3",
"uvloop>=0.4.15",
"PyYAML>=3.11",
"python-magic",
'typeguard',
'asphalt'
]
)
Remove hard dependency on typeguardimport os
from setuptools import find_packages, setup
rootpath = os.path.abspath(os.path.dirname(__file__))
# Extract version
def extract_version(module='kyokai'):
version = None
fname = os.path.join(rootpath, module, 'util.py')
with open(fname) as f:
for line in f:
if line.startswith('VERSION'):
_, version = line.split('=')
version = version.strip()[1:-1] # Remove quotation characters.
break
return version
setup(
name='Kyokai',
version=extract_version(),
packages=find_packages(),
url='https://mirai.veriny.tf',
license='MIT',
author='Isaac Dickinson',
author_email='sun@veriny.tf',
description='A fast, asynchronous web framework for Python 3.5+',
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Topic :: Internet",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Application Frameworks"
],
install_requires=[
"http-parser>=0.8.3",
"PyYAML>=3.11",
"python-magic",
'typeguard>=1.2.1',
'asphalt'
]
)
| <commit_before>import os
from setuptools import find_packages, setup
rootpath = os.path.abspath(os.path.dirname(__file__))
# Extract version
def extract_version(module='kyokai'):
version = None
fname = os.path.join(rootpath, module, 'util.py')
with open(fname) as f:
for line in f:
if line.startswith('VERSION'):
_, version = line.split('=')
version = version.strip()[1:-1] # Remove quotation characters.
break
return version
setup(
name='Kyokai',
version=extract_version(),
packages=find_packages(),
url='https://mirai.veriny.tf',
license='MIT',
author='Isaac Dickinson',
author_email='sun@veriny.tf',
description='A fast, asynchronous web framework for Python 3.5+',
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Topic :: Internet",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Application Frameworks"
],
install_requires=[
"http-parser>=0.8.3",
"uvloop>=0.4.15",
"PyYAML>=3.11",
"python-magic",
'typeguard',
'asphalt'
]
)
<commit_msg>Remove hard dependency on typeguard<commit_after>import os
from setuptools import find_packages, setup
rootpath = os.path.abspath(os.path.dirname(__file__))
# Extract version
def extract_version(module='kyokai'):
version = None
fname = os.path.join(rootpath, module, 'util.py')
with open(fname) as f:
for line in f:
if line.startswith('VERSION'):
_, version = line.split('=')
version = version.strip()[1:-1] # Remove quotation characters.
break
return version
setup(
name='Kyokai',
version=extract_version(),
packages=find_packages(),
url='https://mirai.veriny.tf',
license='MIT',
author='Isaac Dickinson',
author_email='sun@veriny.tf',
description='A fast, asynchronous web framework for Python 3.5+',
classifiers=[
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Topic :: Internet",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Application Frameworks"
],
install_requires=[
"http-parser>=0.8.3",
"PyYAML>=3.11",
"python-magic",
'typeguard>=1.2.1',
'asphalt'
]
)
|
c347f608479db5bae2e6687fcce003979a9f75fa | setup.py | setup.py | import sys
from setuptools import find_packages, setup
backports = []
if sys.version_info < (3, 4):
backports.append('enum34')
setup(
name='flax',
version='0.0',
description='A roguelike.',
#long_description=...
author='Eevee',
author_email='eevee.flax@veekun.com',
license='MIT',
# TODO classifiers and keywords before trying to upload
packages=find_packages(),
install_requires=backports + [
'urwid',
'zope.interface',
],
entry_points={
'console_scripts': [
'flax = flax.ui.console:main',
],
},
)
| import sys
from setuptools import find_packages, setup
backports = []
if sys.version_info < (3, 4):
backports.append('enum34')
setup(
name='flax',
version='0.1',
description='A roguelike',
# long_description=...
author='Eevee',
author_email='eevee.flax@veekun.com',
url='https://github.com/eevee/flax',
license='MIT',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python',
'Topic :: Games/Entertainment',
],
packages=find_packages(),
install_requires=backports + [
'urwid',
'zope.interface',
],
entry_points={
'console_scripts': [
'flax = flax.ui.console:main',
],
},
)
| Add some classifiers, call it 0.1. | Add some classifiers, call it 0.1.
| Python | mit | eevee/flax | import sys
from setuptools import find_packages, setup
backports = []
if sys.version_info < (3, 4):
backports.append('enum34')
setup(
name='flax',
version='0.0',
description='A roguelike.',
#long_description=...
author='Eevee',
author_email='eevee.flax@veekun.com',
license='MIT',
# TODO classifiers and keywords before trying to upload
packages=find_packages(),
install_requires=backports + [
'urwid',
'zope.interface',
],
entry_points={
'console_scripts': [
'flax = flax.ui.console:main',
],
},
)
Add some classifiers, call it 0.1. | import sys
from setuptools import find_packages, setup
backports = []
if sys.version_info < (3, 4):
backports.append('enum34')
setup(
name='flax',
version='0.1',
description='A roguelike',
# long_description=...
author='Eevee',
author_email='eevee.flax@veekun.com',
url='https://github.com/eevee/flax',
license='MIT',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python',
'Topic :: Games/Entertainment',
],
packages=find_packages(),
install_requires=backports + [
'urwid',
'zope.interface',
],
entry_points={
'console_scripts': [
'flax = flax.ui.console:main',
],
},
)
| <commit_before>import sys
from setuptools import find_packages, setup
backports = []
if sys.version_info < (3, 4):
backports.append('enum34')
setup(
name='flax',
version='0.0',
description='A roguelike.',
#long_description=...
author='Eevee',
author_email='eevee.flax@veekun.com',
license='MIT',
# TODO classifiers and keywords before trying to upload
packages=find_packages(),
install_requires=backports + [
'urwid',
'zope.interface',
],
entry_points={
'console_scripts': [
'flax = flax.ui.console:main',
],
},
)
<commit_msg>Add some classifiers, call it 0.1.<commit_after> | import sys
from setuptools import find_packages, setup
backports = []
if sys.version_info < (3, 4):
backports.append('enum34')
setup(
name='flax',
version='0.1',
description='A roguelike',
# long_description=...
author='Eevee',
author_email='eevee.flax@veekun.com',
url='https://github.com/eevee/flax',
license='MIT',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python',
'Topic :: Games/Entertainment',
],
packages=find_packages(),
install_requires=backports + [
'urwid',
'zope.interface',
],
entry_points={
'console_scripts': [
'flax = flax.ui.console:main',
],
},
)
| import sys
from setuptools import find_packages, setup
backports = []
if sys.version_info < (3, 4):
backports.append('enum34')
setup(
name='flax',
version='0.0',
description='A roguelike.',
#long_description=...
author='Eevee',
author_email='eevee.flax@veekun.com',
license='MIT',
# TODO classifiers and keywords before trying to upload
packages=find_packages(),
install_requires=backports + [
'urwid',
'zope.interface',
],
entry_points={
'console_scripts': [
'flax = flax.ui.console:main',
],
},
)
Add some classifiers, call it 0.1.import sys
from setuptools import find_packages, setup
backports = []
if sys.version_info < (3, 4):
backports.append('enum34')
setup(
name='flax',
version='0.1',
description='A roguelike',
# long_description=...
author='Eevee',
author_email='eevee.flax@veekun.com',
url='https://github.com/eevee/flax',
license='MIT',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python',
'Topic :: Games/Entertainment',
],
packages=find_packages(),
install_requires=backports + [
'urwid',
'zope.interface',
],
entry_points={
'console_scripts': [
'flax = flax.ui.console:main',
],
},
)
| <commit_before>import sys
from setuptools import find_packages, setup
backports = []
if sys.version_info < (3, 4):
backports.append('enum34')
setup(
name='flax',
version='0.0',
description='A roguelike.',
#long_description=...
author='Eevee',
author_email='eevee.flax@veekun.com',
license='MIT',
# TODO classifiers and keywords before trying to upload
packages=find_packages(),
install_requires=backports + [
'urwid',
'zope.interface',
],
entry_points={
'console_scripts': [
'flax = flax.ui.console:main',
],
},
)
<commit_msg>Add some classifiers, call it 0.1.<commit_after>import sys
from setuptools import find_packages, setup
backports = []
if sys.version_info < (3, 4):
backports.append('enum34')
setup(
name='flax',
version='0.1',
description='A roguelike',
# long_description=...
author='Eevee',
author_email='eevee.flax@veekun.com',
url='https://github.com/eevee/flax',
license='MIT',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python',
'Topic :: Games/Entertainment',
],
packages=find_packages(),
install_requires=backports + [
'urwid',
'zope.interface',
],
entry_points={
'console_scripts': [
'flax = flax.ui.console:main',
],
},
)
|
9f685541120f07ac6723b88c8c37f6ef21126a47 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
version = "0.1.0"
setup(name='metric_learn',
version=version,
description='Python implementations of metric learning algorithms',
author='CJ Carey',
author_email='ccarey@cs.umass.edu',
url='http://github.com/all-umass/metric_learn',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
],
packages=['metric_learn'],
install_requires=[
'numpy >= 1.5.1',
'scipy >= 0.8',
'scikit-learn'
],
test_suite='test'
)
| #!/usr/bin/env python
from setuptools import setup
version = "0.1.0"
setup(name='metric_learn',
version=version,
description='Python implementations of metric learning algorithms',
author='CJ Carey',
author_email='ccarey@cs.umass.edu',
url='http://github.com/all-umass/metric_learn',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
],
packages=['metric_learn'],
install_requires=[
'numpy',
'scipy',
'scikit-learn'
],
test_suite='test'
)
| Remove version constraints on numpy/scipy | Remove version constraints on numpy/scipy
| Python | mit | all-umass/metric-learn,terrytangyuan/metric-learn,tigerneil/metric-learn,xuanhan863/metric-learn,Snazz2001/metric-learn,JingheZ/metric-learn | #!/usr/bin/env python
from setuptools import setup
version = "0.1.0"
setup(name='metric_learn',
version=version,
description='Python implementations of metric learning algorithms',
author='CJ Carey',
author_email='ccarey@cs.umass.edu',
url='http://github.com/all-umass/metric_learn',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
],
packages=['metric_learn'],
install_requires=[
'numpy >= 1.5.1',
'scipy >= 0.8',
'scikit-learn'
],
test_suite='test'
)
Remove version constraints on numpy/scipy | #!/usr/bin/env python
from setuptools import setup
version = "0.1.0"
setup(name='metric_learn',
version=version,
description='Python implementations of metric learning algorithms',
author='CJ Carey',
author_email='ccarey@cs.umass.edu',
url='http://github.com/all-umass/metric_learn',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
],
packages=['metric_learn'],
install_requires=[
'numpy',
'scipy',
'scikit-learn'
],
test_suite='test'
)
| <commit_before>#!/usr/bin/env python
from setuptools import setup
version = "0.1.0"
setup(name='metric_learn',
version=version,
description='Python implementations of metric learning algorithms',
author='CJ Carey',
author_email='ccarey@cs.umass.edu',
url='http://github.com/all-umass/metric_learn',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
],
packages=['metric_learn'],
install_requires=[
'numpy >= 1.5.1',
'scipy >= 0.8',
'scikit-learn'
],
test_suite='test'
)
<commit_msg>Remove version constraints on numpy/scipy<commit_after> | #!/usr/bin/env python
from setuptools import setup
version = "0.1.0"
setup(name='metric_learn',
version=version,
description='Python implementations of metric learning algorithms',
author='CJ Carey',
author_email='ccarey@cs.umass.edu',
url='http://github.com/all-umass/metric_learn',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
],
packages=['metric_learn'],
install_requires=[
'numpy',
'scipy',
'scikit-learn'
],
test_suite='test'
)
| #!/usr/bin/env python
from setuptools import setup
version = "0.1.0"
setup(name='metric_learn',
version=version,
description='Python implementations of metric learning algorithms',
author='CJ Carey',
author_email='ccarey@cs.umass.edu',
url='http://github.com/all-umass/metric_learn',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
],
packages=['metric_learn'],
install_requires=[
'numpy >= 1.5.1',
'scipy >= 0.8',
'scikit-learn'
],
test_suite='test'
)
Remove version constraints on numpy/scipy#!/usr/bin/env python
from setuptools import setup
version = "0.1.0"
setup(name='metric_learn',
version=version,
description='Python implementations of metric learning algorithms',
author='CJ Carey',
author_email='ccarey@cs.umass.edu',
url='http://github.com/all-umass/metric_learn',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
],
packages=['metric_learn'],
install_requires=[
'numpy',
'scipy',
'scikit-learn'
],
test_suite='test'
)
| <commit_before>#!/usr/bin/env python
from setuptools import setup
version = "0.1.0"
setup(name='metric_learn',
version=version,
description='Python implementations of metric learning algorithms',
author='CJ Carey',
author_email='ccarey@cs.umass.edu',
url='http://github.com/all-umass/metric_learn',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
],
packages=['metric_learn'],
install_requires=[
'numpy >= 1.5.1',
'scipy >= 0.8',
'scikit-learn'
],
test_suite='test'
)
<commit_msg>Remove version constraints on numpy/scipy<commit_after>#!/usr/bin/env python
from setuptools import setup
version = "0.1.0"
setup(name='metric_learn',
version=version,
description='Python implementations of metric learning algorithms',
author='CJ Carey',
author_email='ccarey@cs.umass.edu',
url='http://github.com/all-umass/metric_learn',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
],
packages=['metric_learn'],
install_requires=[
'numpy',
'scipy',
'scikit-learn'
],
test_suite='test'
)
|
c341259964b4874656f0394d459fe46b5e7d010e | temporenc/__init__.py | temporenc/__init__.py | """
Temporenc, a comprehensive binary encoding format for dates and times
"""
# Export public API
from .temporenc import ( # noqa
pack,
packb,
unpack,
unpackb,
Moment,
)
| """
Temporenc, a comprehensive binary encoding format for dates and times
"""
__version__ = '0.1.0'
__version_info__ = tuple(map(int, __version__.split('.')))
# Export public API
from .temporenc import ( # noqa
pack,
packb,
unpack,
unpackb,
Moment,
)
| Add __version__ and __version_info__ package attributes | Add __version__ and __version_info__ package attributes
See #3.
| Python | bsd-3-clause | wbolster/temporenc-python | """
Temporenc, a comprehensive binary encoding format for dates and times
"""
# Export public API
from .temporenc import ( # noqa
pack,
packb,
unpack,
unpackb,
Moment,
)
Add __version__ and __version_info__ package attributes
See #3. | """
Temporenc, a comprehensive binary encoding format for dates and times
"""
__version__ = '0.1.0'
__version_info__ = tuple(map(int, __version__.split('.')))
# Export public API
from .temporenc import ( # noqa
pack,
packb,
unpack,
unpackb,
Moment,
)
| <commit_before>"""
Temporenc, a comprehensive binary encoding format for dates and times
"""
# Export public API
from .temporenc import ( # noqa
pack,
packb,
unpack,
unpackb,
Moment,
)
<commit_msg>Add __version__ and __version_info__ package attributes
See #3.<commit_after> | """
Temporenc, a comprehensive binary encoding format for dates and times
"""
__version__ = '0.1.0'
__version_info__ = tuple(map(int, __version__.split('.')))
# Export public API
from .temporenc import ( # noqa
pack,
packb,
unpack,
unpackb,
Moment,
)
| """
Temporenc, a comprehensive binary encoding format for dates and times
"""
# Export public API
from .temporenc import ( # noqa
pack,
packb,
unpack,
unpackb,
Moment,
)
Add __version__ and __version_info__ package attributes
See #3."""
Temporenc, a comprehensive binary encoding format for dates and times
"""
__version__ = '0.1.0'
__version_info__ = tuple(map(int, __version__.split('.')))
# Export public API
from .temporenc import ( # noqa
pack,
packb,
unpack,
unpackb,
Moment,
)
| <commit_before>"""
Temporenc, a comprehensive binary encoding format for dates and times
"""
# Export public API
from .temporenc import ( # noqa
pack,
packb,
unpack,
unpackb,
Moment,
)
<commit_msg>Add __version__ and __version_info__ package attributes
See #3.<commit_after>"""
Temporenc, a comprehensive binary encoding format for dates and times
"""
__version__ = '0.1.0'
__version_info__ = tuple(map(int, __version__.split('.')))
# Export public API
from .temporenc import ( # noqa
pack,
packb,
unpack,
unpackb,
Moment,
)
|
48cead9dc1fae0a3916aabb8950e1e31921b1bd7 | chessfellows/chess/models.py | chessfellows/chess/models.py | # from django.db import models
# from django.contrib.auth.models import User
# class Player(models.Model):
# user = models.OneToOneField(User)
# rating = models.PositiveSmallIntegerField()
# wins = models.PositiveIntegerField()
# losses = models.PositiveIntegerField()
# matches = models.ManyToManyField()
# class Match(models.Model):
# white = models.ForiegnKey('Player')
# black = models.ForiegnKey('Player')
# moves = models.TextField()
| from django.db import models
from django.contrib.auth.models import User
class Match(models.Model):
white = models.ForeignKey(User, related_name="White")
black = models.ForeignKey(User, related_name="Black")
moves = models.TextField()
class Player(models.Model):
user = models.OneToOneField(User)
rating = models.PositiveSmallIntegerField(default=1200)
wins = models.PositiveIntegerField(default=0)
losses = models.PositiveIntegerField(default=0)
draws = models.PositiveIntegerField(default=0)
matches = models.ManyToManyField(Match, related_name="Player")
opponent_rating = models.PositiveIntegerField(default=0)
def calc_rating(self):
numerator = (self.opponent_rating + 400 * (self.wins - self.losses))
denom = self.wins + self.losses + self.draws
return numerator // denom
def save(self, *args, **kwargs):
self.rating = self.calc_rating()
super(Player, self).save(*args, **kwargs)
| Add Player.calc_rating() and Player.save() methods to update player rating after saving | Add Player.calc_rating() and Player.save() methods to update player rating after saving
| Python | mit | EyuelAbebe/gamer,EyuelAbebe/gamer | # from django.db import models
# from django.contrib.auth.models import User
# class Player(models.Model):
# user = models.OneToOneField(User)
# rating = models.PositiveSmallIntegerField()
# wins = models.PositiveIntegerField()
# losses = models.PositiveIntegerField()
# matches = models.ManyToManyField()
# class Match(models.Model):
# white = models.ForiegnKey('Player')
# black = models.ForiegnKey('Player')
# moves = models.TextField()
Add Player.calc_rating() and Player.save() methods to update player rating after saving | from django.db import models
from django.contrib.auth.models import User
class Match(models.Model):
white = models.ForeignKey(User, related_name="White")
black = models.ForeignKey(User, related_name="Black")
moves = models.TextField()
class Player(models.Model):
user = models.OneToOneField(User)
rating = models.PositiveSmallIntegerField(default=1200)
wins = models.PositiveIntegerField(default=0)
losses = models.PositiveIntegerField(default=0)
draws = models.PositiveIntegerField(default=0)
matches = models.ManyToManyField(Match, related_name="Player")
opponent_rating = models.PositiveIntegerField(default=0)
def calc_rating(self):
numerator = (self.opponent_rating + 400 * (self.wins - self.losses))
denom = self.wins + self.losses + self.draws
return numerator // denom
def save(self, *args, **kwargs):
self.rating = self.calc_rating()
super(Player, self).save(*args, **kwargs)
| <commit_before># from django.db import models
# from django.contrib.auth.models import User
# class Player(models.Model):
# user = models.OneToOneField(User)
# rating = models.PositiveSmallIntegerField()
# wins = models.PositiveIntegerField()
# losses = models.PositiveIntegerField()
# matches = models.ManyToManyField()
# class Match(models.Model):
# white = models.ForiegnKey('Player')
# black = models.ForiegnKey('Player')
# moves = models.TextField()
<commit_msg>Add Player.calc_rating() and Player.save() methods to update player rating after saving<commit_after> | from django.db import models
from django.contrib.auth.models import User
class Match(models.Model):
white = models.ForeignKey(User, related_name="White")
black = models.ForeignKey(User, related_name="Black")
moves = models.TextField()
class Player(models.Model):
user = models.OneToOneField(User)
rating = models.PositiveSmallIntegerField(default=1200)
wins = models.PositiveIntegerField(default=0)
losses = models.PositiveIntegerField(default=0)
draws = models.PositiveIntegerField(default=0)
matches = models.ManyToManyField(Match, related_name="Player")
opponent_rating = models.PositiveIntegerField(default=0)
def calc_rating(self):
numerator = (self.opponent_rating + 400 * (self.wins - self.losses))
denom = self.wins + self.losses + self.draws
return numerator // denom
def save(self, *args, **kwargs):
self.rating = self.calc_rating()
super(Player, self).save(*args, **kwargs)
| # from django.db import models
# from django.contrib.auth.models import User
# class Player(models.Model):
# user = models.OneToOneField(User)
# rating = models.PositiveSmallIntegerField()
# wins = models.PositiveIntegerField()
# losses = models.PositiveIntegerField()
# matches = models.ManyToManyField()
# class Match(models.Model):
# white = models.ForiegnKey('Player')
# black = models.ForiegnKey('Player')
# moves = models.TextField()
Add Player.calc_rating() and Player.save() methods to update player rating after savingfrom django.db import models
from django.contrib.auth.models import User
class Match(models.Model):
white = models.ForeignKey(User, related_name="White")
black = models.ForeignKey(User, related_name="Black")
moves = models.TextField()
class Player(models.Model):
user = models.OneToOneField(User)
rating = models.PositiveSmallIntegerField(default=1200)
wins = models.PositiveIntegerField(default=0)
losses = models.PositiveIntegerField(default=0)
draws = models.PositiveIntegerField(default=0)
matches = models.ManyToManyField(Match, related_name="Player")
opponent_rating = models.PositiveIntegerField(default=0)
def calc_rating(self):
numerator = (self.opponent_rating + 400 * (self.wins - self.losses))
denom = self.wins + self.losses + self.draws
return numerator // denom
def save(self, *args, **kwargs):
self.rating = self.calc_rating()
super(Player, self).save(*args, **kwargs)
| <commit_before># from django.db import models
# from django.contrib.auth.models import User
# class Player(models.Model):
# user = models.OneToOneField(User)
# rating = models.PositiveSmallIntegerField()
# wins = models.PositiveIntegerField()
# losses = models.PositiveIntegerField()
# matches = models.ManyToManyField()
# class Match(models.Model):
# white = models.ForiegnKey('Player')
# black = models.ForiegnKey('Player')
# moves = models.TextField()
<commit_msg>Add Player.calc_rating() and Player.save() methods to update player rating after saving<commit_after>from django.db import models
from django.contrib.auth.models import User
class Match(models.Model):
white = models.ForeignKey(User, related_name="White")
black = models.ForeignKey(User, related_name="Black")
moves = models.TextField()
class Player(models.Model):
user = models.OneToOneField(User)
rating = models.PositiveSmallIntegerField(default=1200)
wins = models.PositiveIntegerField(default=0)
losses = models.PositiveIntegerField(default=0)
draws = models.PositiveIntegerField(default=0)
matches = models.ManyToManyField(Match, related_name="Player")
opponent_rating = models.PositiveIntegerField(default=0)
def calc_rating(self):
numerator = (self.opponent_rating + 400 * (self.wins - self.losses))
denom = self.wins + self.losses + self.draws
return numerator // denom
def save(self, *args, **kwargs):
self.rating = self.calc_rating()
super(Player, self).save(*args, **kwargs)
|
b2150d8929d4db80e72d6baafaa38fda28424f7b | score.py | score.py | #! /usr/bin/env python
# -*- coding: utf-8 -*-
import wikipedia
import sys
sample = 'Philosophers'
# help(cat_page)
def getPagesIn(category):
"""Should return the list of pages that the provided category contains"""
page_name = 'Category:' + category
page = wikipedia.page(page_name)
return page.links
def readability_score(page):
summary = wikipedia.summary(page)
return 100./(len(summary)+1) # the shorter the better, but avoid zero
def get_scored_table(category):
print category
pages = getPagesIn(category)
scores = []
for page in pages:
scores.append((page, readability_score(page)))
scores.sort(key=lambda s: s[1])
return scores
if __name__ == "__main__":
categories = sys.argv
del categories[0]
for category in categories:
scores = get_scored_table(category)
for page, score in scores:
print page, score
print '---'
| #! /usr/bin/env python
# -*- coding: utf-8 -*-
import wikipedia
import sys
import os
sample = 'Philosophers'
# help(cat_page)
def getPagesIn(category):
"""Return the list of pages contained in the provided category"""
# wikipedia module doesn't provide category listing, let's retrieve it
# with some quick & dirty shell command for now
cmd = ("wget 'https://en.wikipedia.org/wiki/Category:"
"%(category)s'"
" --quiet -O - " # use standard output quietly
"|grep '<li>' " # get only line with list element
"|grep -v Category" # exclude subcategory
"|sed -e 's/.*title=\"//' -e 's/\">.*//'" # extract title
"") % locals()
fetched_titles = os.popen(cmd)
pages = []
for line in fetched_titles:
pages.append(line[:-1])
return pages
def readability_score(page):
"""Return a readability score for the given page title"""
summary = wikipedia.summary(page)
return 100./(len(summary)+1) # the shorter the better, but avoid zero
def get_scored_table(category):
"""Return an array of (title, score) tuples for pages in category"""
print category
pages = getPagesIn(category)
scores = []
for page in pages:
scores.append((page, readability_score(page)))
scores.sort(key=lambda s: s[1])
return scores
if __name__ == "__main__":
categories = sys.argv
del categories[0]
for category in categories:
scores = get_scored_table(category)
for page, score in scores:
print page, score
print '---'
| Use wget to fetch a list of categories + short description of each function | Use wget to fetch a list of categories + short description of each function
| Python | agpl-3.0 | psychoslave/catscore,psychoslave/catscore | #! /usr/bin/env python
# -*- coding: utf-8 -*-
import wikipedia
import sys
sample = 'Philosophers'
# help(cat_page)
def getPagesIn(category):
"""Should return the list of pages that the provided category contains"""
page_name = 'Category:' + category
page = wikipedia.page(page_name)
return page.links
def readability_score(page):
summary = wikipedia.summary(page)
return 100./(len(summary)+1) # the shorter the better, but avoid zero
def get_scored_table(category):
print category
pages = getPagesIn(category)
scores = []
for page in pages:
scores.append((page, readability_score(page)))
scores.sort(key=lambda s: s[1])
return scores
if __name__ == "__main__":
categories = sys.argv
del categories[0]
for category in categories:
scores = get_scored_table(category)
for page, score in scores:
print page, score
print '---'
Use wget to fetch a list of categories + short description of each function | #! /usr/bin/env python
# -*- coding: utf-8 -*-
import wikipedia
import sys
import os
sample = 'Philosophers'
# help(cat_page)
def getPagesIn(category):
"""Return the list of pages contained in the provided category"""
# wikipedia module doesn't provide category listing, let's retrieve it
# with some quick & dirty shell command for now
cmd = ("wget 'https://en.wikipedia.org/wiki/Category:"
"%(category)s'"
" --quiet -O - " # use standard output quietly
"|grep '<li>' " # get only line with list element
"|grep -v Category" # exclude subcategory
"|sed -e 's/.*title=\"//' -e 's/\">.*//'" # extract title
"") % locals()
fetched_titles = os.popen(cmd)
pages = []
for line in fetched_titles:
pages.append(line[:-1])
return pages
def readability_score(page):
"""Return a readability score for the given page title"""
summary = wikipedia.summary(page)
return 100./(len(summary)+1) # the shorter the better, but avoid zero
def get_scored_table(category):
"""Return an array of (title, score) tuples for pages in category"""
print category
pages = getPagesIn(category)
scores = []
for page in pages:
scores.append((page, readability_score(page)))
scores.sort(key=lambda s: s[1])
return scores
if __name__ == "__main__":
categories = sys.argv
del categories[0]
for category in categories:
scores = get_scored_table(category)
for page, score in scores:
print page, score
print '---'
| <commit_before>#! /usr/bin/env python
# -*- coding: utf-8 -*-
import wikipedia
import sys
sample = 'Philosophers'
# help(cat_page)
def getPagesIn(category):
"""Should return the list of pages that the provided category contains"""
page_name = 'Category:' + category
page = wikipedia.page(page_name)
return page.links
def readability_score(page):
summary = wikipedia.summary(page)
return 100./(len(summary)+1) # the shorter the better, but avoid zero
def get_scored_table(category):
print category
pages = getPagesIn(category)
scores = []
for page in pages:
scores.append((page, readability_score(page)))
scores.sort(key=lambda s: s[1])
return scores
if __name__ == "__main__":
categories = sys.argv
del categories[0]
for category in categories:
scores = get_scored_table(category)
for page, score in scores:
print page, score
print '---'
<commit_msg>Use wget to fetch a list of categories + short description of each function<commit_after> | #! /usr/bin/env python
# -*- coding: utf-8 -*-
import wikipedia
import sys
import os
sample = 'Philosophers'
# help(cat_page)
def getPagesIn(category):
"""Return the list of pages contained in the provided category"""
# wikipedia module doesn't provide category listing, let's retrieve it
# with some quick & dirty shell command for now
cmd = ("wget 'https://en.wikipedia.org/wiki/Category:"
"%(category)s'"
" --quiet -O - " # use standard output quietly
"|grep '<li>' " # get only line with list element
"|grep -v Category" # exclude subcategory
"|sed -e 's/.*title=\"//' -e 's/\">.*//'" # extract title
"") % locals()
fetched_titles = os.popen(cmd)
pages = []
for line in fetched_titles:
pages.append(line[:-1])
return pages
def readability_score(page):
"""Return a readability score for the given page title"""
summary = wikipedia.summary(page)
return 100./(len(summary)+1) # the shorter the better, but avoid zero
def get_scored_table(category):
"""Return an array of (title, score) tuples for pages in category"""
print category
pages = getPagesIn(category)
scores = []
for page in pages:
scores.append((page, readability_score(page)))
scores.sort(key=lambda s: s[1])
return scores
if __name__ == "__main__":
categories = sys.argv
del categories[0]
for category in categories:
scores = get_scored_table(category)
for page, score in scores:
print page, score
print '---'
| #! /usr/bin/env python
# -*- coding: utf-8 -*-
import wikipedia
import sys
sample = 'Philosophers'
# help(cat_page)
def getPagesIn(category):
"""Should return the list of pages that the provided category contains"""
page_name = 'Category:' + category
page = wikipedia.page(page_name)
return page.links
def readability_score(page):
summary = wikipedia.summary(page)
return 100./(len(summary)+1) # the shorter the better, but avoid zero
def get_scored_table(category):
print category
pages = getPagesIn(category)
scores = []
for page in pages:
scores.append((page, readability_score(page)))
scores.sort(key=lambda s: s[1])
return scores
if __name__ == "__main__":
categories = sys.argv
del categories[0]
for category in categories:
scores = get_scored_table(category)
for page, score in scores:
print page, score
print '---'
Use wget to fetch a list of categories + short description of each function#! /usr/bin/env python
# -*- coding: utf-8 -*-
import wikipedia
import sys
import os
sample = 'Philosophers'
# help(cat_page)
def getPagesIn(category):
"""Return the list of pages contained in the provided category"""
# wikipedia module doesn't provide category listing, let's retrieve it
# with some quick & dirty shell command for now
cmd = ("wget 'https://en.wikipedia.org/wiki/Category:"
"%(category)s'"
" --quiet -O - " # use standard output quietly
"|grep '<li>' " # get only line with list element
"|grep -v Category" # exclude subcategory
"|sed -e 's/.*title=\"//' -e 's/\">.*//'" # extract title
"") % locals()
fetched_titles = os.popen(cmd)
pages = []
for line in fetched_titles:
pages.append(line[:-1])
return pages
def readability_score(page):
"""Return a readability score for the given page title"""
summary = wikipedia.summary(page)
return 100./(len(summary)+1) # the shorter the better, but avoid zero
def get_scored_table(category):
"""Return an array of (title, score) tuples for pages in category"""
print category
pages = getPagesIn(category)
scores = []
for page in pages:
scores.append((page, readability_score(page)))
scores.sort(key=lambda s: s[1])
return scores
if __name__ == "__main__":
categories = sys.argv
del categories[0]
for category in categories:
scores = get_scored_table(category)
for page, score in scores:
print page, score
print '---'
| <commit_before>#! /usr/bin/env python
# -*- coding: utf-8 -*-
import wikipedia
import sys
sample = 'Philosophers'
# help(cat_page)
def getPagesIn(category):
"""Should return the list of pages that the provided category contains"""
page_name = 'Category:' + category
page = wikipedia.page(page_name)
return page.links
def readability_score(page):
summary = wikipedia.summary(page)
return 100./(len(summary)+1) # the shorter the better, but avoid zero
def get_scored_table(category):
print category
pages = getPagesIn(category)
scores = []
for page in pages:
scores.append((page, readability_score(page)))
scores.sort(key=lambda s: s[1])
return scores
if __name__ == "__main__":
categories = sys.argv
del categories[0]
for category in categories:
scores = get_scored_table(category)
for page, score in scores:
print page, score
print '---'
<commit_msg>Use wget to fetch a list of categories + short description of each function<commit_after>#! /usr/bin/env python
# -*- coding: utf-8 -*-
import wikipedia
import sys
import os
sample = 'Philosophers'
# help(cat_page)
def getPagesIn(category):
"""Return the list of pages contained in the provided category"""
# wikipedia module doesn't provide category listing, let's retrieve it
# with some quick & dirty shell command for now
cmd = ("wget 'https://en.wikipedia.org/wiki/Category:"
"%(category)s'"
" --quiet -O - " # use standard output quietly
"|grep '<li>' " # get only line with list element
"|grep -v Category" # exclude subcategory
"|sed -e 's/.*title=\"//' -e 's/\">.*//'" # extract title
"") % locals()
fetched_titles = os.popen(cmd)
pages = []
for line in fetched_titles:
pages.append(line[:-1])
return pages
def readability_score(page):
"""Return a readability score for the given page title"""
summary = wikipedia.summary(page)
return 100./(len(summary)+1) # the shorter the better, but avoid zero
def get_scored_table(category):
"""Return an array of (title, score) tuples for pages in category"""
print category
pages = getPagesIn(category)
scores = []
for page in pages:
scores.append((page, readability_score(page)))
scores.sort(key=lambda s: s[1])
return scores
if __name__ == "__main__":
categories = sys.argv
del categories[0]
for category in categories:
scores = get_scored_table(category)
for page, score in scores:
print page, score
print '---'
|
a3ee1841e4459ce734f621ad2aac86168f6ae3da | astral/models/ticket.py | astral/models/ticket.py | from elixir import ManyToOne, Entity
from elixir.events import after_insert
import json
from astral.models.base import BaseEntityMixin
from astral.models.event import Event
class Ticket(BaseEntityMixin, Entity):
source = ManyToOne('Node')
destination = ManyToOne('Node')
stream = ManyToOne('Stream')
def absolute_url(self):
return '/stream/%s/ticket/%s' % (self.stream.id,
self.destination.uuid)
@after_insert
def emit_new_node_event(self):
Event(message=json.dumps({'type': "ticket", 'data': self.to_dict()}))
def __repr__(self):
return u'<Ticket %s: %s from %s to %s>' % (
self.id, self.stream, self.source, self.destination)
| from elixir import ManyToOne, Entity
from elixir.events import after_insert
import json
from astral.models.base import BaseEntityMixin
from astral.models.event import Event
class Ticket(BaseEntityMixin, Entity):
source = ManyToOne('Node')
destination = ManyToOne('Node')
stream = ManyToOne('Stream')
API_FIELDS = ['id', 'source_id', 'destination_id', 'stream_id']
def absolute_url(self):
return '/stream/%s/ticket/%s' % (self.stream.id,
self.destination.uuid)
@after_insert
def emit_new_node_event(self):
Event(message=json.dumps({'type': "ticket", 'data': self.to_dict()}))
def __repr__(self):
return u'<Ticket %s: %s from %s to %s>' % (
self.id, self.stream, self.source, self.destination)
| Add API_FIELDS so we can pass a Ticket as an event. | Add API_FIELDS so we can pass a Ticket as an event.
| Python | mit | peplin/astral | from elixir import ManyToOne, Entity
from elixir.events import after_insert
import json
from astral.models.base import BaseEntityMixin
from astral.models.event import Event
class Ticket(BaseEntityMixin, Entity):
source = ManyToOne('Node')
destination = ManyToOne('Node')
stream = ManyToOne('Stream')
def absolute_url(self):
return '/stream/%s/ticket/%s' % (self.stream.id,
self.destination.uuid)
@after_insert
def emit_new_node_event(self):
Event(message=json.dumps({'type': "ticket", 'data': self.to_dict()}))
def __repr__(self):
return u'<Ticket %s: %s from %s to %s>' % (
self.id, self.stream, self.source, self.destination)
Add API_FIELDS so we can pass a Ticket as an event. | from elixir import ManyToOne, Entity
from elixir.events import after_insert
import json
from astral.models.base import BaseEntityMixin
from astral.models.event import Event
class Ticket(BaseEntityMixin, Entity):
source = ManyToOne('Node')
destination = ManyToOne('Node')
stream = ManyToOne('Stream')
API_FIELDS = ['id', 'source_id', 'destination_id', 'stream_id']
def absolute_url(self):
return '/stream/%s/ticket/%s' % (self.stream.id,
self.destination.uuid)
@after_insert
def emit_new_node_event(self):
Event(message=json.dumps({'type': "ticket", 'data': self.to_dict()}))
def __repr__(self):
return u'<Ticket %s: %s from %s to %s>' % (
self.id, self.stream, self.source, self.destination)
| <commit_before>from elixir import ManyToOne, Entity
from elixir.events import after_insert
import json
from astral.models.base import BaseEntityMixin
from astral.models.event import Event
class Ticket(BaseEntityMixin, Entity):
source = ManyToOne('Node')
destination = ManyToOne('Node')
stream = ManyToOne('Stream')
def absolute_url(self):
return '/stream/%s/ticket/%s' % (self.stream.id,
self.destination.uuid)
@after_insert
def emit_new_node_event(self):
Event(message=json.dumps({'type': "ticket", 'data': self.to_dict()}))
def __repr__(self):
return u'<Ticket %s: %s from %s to %s>' % (
self.id, self.stream, self.source, self.destination)
<commit_msg>Add API_FIELDS so we can pass a Ticket as an event.<commit_after> | from elixir import ManyToOne, Entity
from elixir.events import after_insert
import json
from astral.models.base import BaseEntityMixin
from astral.models.event import Event
class Ticket(BaseEntityMixin, Entity):
source = ManyToOne('Node')
destination = ManyToOne('Node')
stream = ManyToOne('Stream')
API_FIELDS = ['id', 'source_id', 'destination_id', 'stream_id']
def absolute_url(self):
return '/stream/%s/ticket/%s' % (self.stream.id,
self.destination.uuid)
@after_insert
def emit_new_node_event(self):
Event(message=json.dumps({'type': "ticket", 'data': self.to_dict()}))
def __repr__(self):
return u'<Ticket %s: %s from %s to %s>' % (
self.id, self.stream, self.source, self.destination)
| from elixir import ManyToOne, Entity
from elixir.events import after_insert
import json
from astral.models.base import BaseEntityMixin
from astral.models.event import Event
class Ticket(BaseEntityMixin, Entity):
source = ManyToOne('Node')
destination = ManyToOne('Node')
stream = ManyToOne('Stream')
def absolute_url(self):
return '/stream/%s/ticket/%s' % (self.stream.id,
self.destination.uuid)
@after_insert
def emit_new_node_event(self):
Event(message=json.dumps({'type': "ticket", 'data': self.to_dict()}))
def __repr__(self):
return u'<Ticket %s: %s from %s to %s>' % (
self.id, self.stream, self.source, self.destination)
Add API_FIELDS so we can pass a Ticket as an event.from elixir import ManyToOne, Entity
from elixir.events import after_insert
import json
from astral.models.base import BaseEntityMixin
from astral.models.event import Event
class Ticket(BaseEntityMixin, Entity):
source = ManyToOne('Node')
destination = ManyToOne('Node')
stream = ManyToOne('Stream')
API_FIELDS = ['id', 'source_id', 'destination_id', 'stream_id']
def absolute_url(self):
return '/stream/%s/ticket/%s' % (self.stream.id,
self.destination.uuid)
@after_insert
def emit_new_node_event(self):
Event(message=json.dumps({'type': "ticket", 'data': self.to_dict()}))
def __repr__(self):
return u'<Ticket %s: %s from %s to %s>' % (
self.id, self.stream, self.source, self.destination)
| <commit_before>from elixir import ManyToOne, Entity
from elixir.events import after_insert
import json
from astral.models.base import BaseEntityMixin
from astral.models.event import Event
class Ticket(BaseEntityMixin, Entity):
source = ManyToOne('Node')
destination = ManyToOne('Node')
stream = ManyToOne('Stream')
def absolute_url(self):
return '/stream/%s/ticket/%s' % (self.stream.id,
self.destination.uuid)
@after_insert
def emit_new_node_event(self):
Event(message=json.dumps({'type': "ticket", 'data': self.to_dict()}))
def __repr__(self):
return u'<Ticket %s: %s from %s to %s>' % (
self.id, self.stream, self.source, self.destination)
<commit_msg>Add API_FIELDS so we can pass a Ticket as an event.<commit_after>from elixir import ManyToOne, Entity
from elixir.events import after_insert
import json
from astral.models.base import BaseEntityMixin
from astral.models.event import Event
class Ticket(BaseEntityMixin, Entity):
source = ManyToOne('Node')
destination = ManyToOne('Node')
stream = ManyToOne('Stream')
API_FIELDS = ['id', 'source_id', 'destination_id', 'stream_id']
def absolute_url(self):
return '/stream/%s/ticket/%s' % (self.stream.id,
self.destination.uuid)
@after_insert
def emit_new_node_event(self):
Event(message=json.dumps({'type': "ticket", 'data': self.to_dict()}))
def __repr__(self):
return u'<Ticket %s: %s from %s to %s>' % (
self.id, self.stream, self.source, self.destination)
|
affbf76e62427080c52a42fe6fb17dd42df81d9b | 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',
'psqlgraph',
'gdcdictionary',
'dictionaryutils>=2.0.0,<3.0.0',
'cdisutils',
],
package_data={
"gdcdatamodel": [
"xml_mappings/*.yaml",
]
},
dependency_links=[
'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.14.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',
'psqlgraph',
'gdcdictionary',
'dictionaryutils>=2.0.0,<3.0.0',
'cdisutils',
],
package_data={
"gdcdatamodel": [
"xml_mappings/*.yaml",
]
},
dependency_links=[
'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@release/marvin#egg=gdcdictionary',
],
entry_points={
'console_scripts': [
'gdc_postgres_admin=gdcdatamodel.gdc_postgres_admin:main'
]
},
)
| Update pins for marvin release | release(marvin): Update pins for marvin release
| 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',
'psqlgraph',
'gdcdictionary',
'dictionaryutils>=2.0.0,<3.0.0',
'cdisutils',
],
package_data={
"gdcdatamodel": [
"xml_mappings/*.yaml",
]
},
dependency_links=[
'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.14.0#egg=gdcdictionary',
],
entry_points={
'console_scripts': [
'gdc_postgres_admin=gdcdatamodel.gdc_postgres_admin:main'
]
},
)
release(marvin): Update pins for marvin release | 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',
'psqlgraph',
'gdcdictionary',
'dictionaryutils>=2.0.0,<3.0.0',
'cdisutils',
],
package_data={
"gdcdatamodel": [
"xml_mappings/*.yaml",
]
},
dependency_links=[
'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@release/marvin#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',
'psqlgraph',
'gdcdictionary',
'dictionaryutils>=2.0.0,<3.0.0',
'cdisutils',
],
package_data={
"gdcdatamodel": [
"xml_mappings/*.yaml",
]
},
dependency_links=[
'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.14.0#egg=gdcdictionary',
],
entry_points={
'console_scripts': [
'gdc_postgres_admin=gdcdatamodel.gdc_postgres_admin:main'
]
},
)
<commit_msg>release(marvin): Update pins for marvin release<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',
'psqlgraph',
'gdcdictionary',
'dictionaryutils>=2.0.0,<3.0.0',
'cdisutils',
],
package_data={
"gdcdatamodel": [
"xml_mappings/*.yaml",
]
},
dependency_links=[
'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@release/marvin#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',
'psqlgraph',
'gdcdictionary',
'dictionaryutils>=2.0.0,<3.0.0',
'cdisutils',
],
package_data={
"gdcdatamodel": [
"xml_mappings/*.yaml",
]
},
dependency_links=[
'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.14.0#egg=gdcdictionary',
],
entry_points={
'console_scripts': [
'gdc_postgres_admin=gdcdatamodel.gdc_postgres_admin:main'
]
},
)
release(marvin): Update pins for marvin releasefrom 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',
'psqlgraph',
'gdcdictionary',
'dictionaryutils>=2.0.0,<3.0.0',
'cdisutils',
],
package_data={
"gdcdatamodel": [
"xml_mappings/*.yaml",
]
},
dependency_links=[
'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@release/marvin#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',
'psqlgraph',
'gdcdictionary',
'dictionaryutils>=2.0.0,<3.0.0',
'cdisutils',
],
package_data={
"gdcdatamodel": [
"xml_mappings/*.yaml",
]
},
dependency_links=[
'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.14.0#egg=gdcdictionary',
],
entry_points={
'console_scripts': [
'gdc_postgres_admin=gdcdatamodel.gdc_postgres_admin:main'
]
},
)
<commit_msg>release(marvin): Update pins for marvin release<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',
'psqlgraph',
'gdcdictionary',
'dictionaryutils>=2.0.0,<3.0.0',
'cdisutils',
],
package_data={
"gdcdatamodel": [
"xml_mappings/*.yaml",
]
},
dependency_links=[
'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@release/marvin#egg=gdcdictionary',
],
entry_points={
'console_scripts': [
'gdc_postgres_admin=gdcdatamodel.gdc_postgres_admin:main'
]
},
)
|
3e40f0bd3941a48e3b792573c0058f1cc339d5db | fabfile.py | fabfile.py |
# It's for me, sorry
from fabric.api import *
import slackbot_settings as settings
from urllib import request, parse
env.hosts = settings.DEPLOY_HOSTS
def deploy():
slack("Deploy Started")
with cd("/var/bot/slack-shogi"):
run("git pull")
run("supervisorctl reload")
slack("Deploy Finished")
def slack(text):
if settings.WEBHOOK_URL:
payload = ("payload={\"text\": \"" + parse.quote(text) +
"\", \"username\": \"Mr.deploy\"}").encode("utf-8")
request.urlopen(url=settings.WEBHOOK_URL, data=payload)
|
# It's for me, sorry
from fabric.api import *
import slackbot_settings as settings
from urllib import request, parse
env.hosts = settings.DEPLOY_HOSTS
def deploy():
slack("Deploy Started")
try:
with cd("/var/bot/slack-shogi"):
run("git pull")
run("supervisorctl reload")
slack("Deploy Finished")
except:
slack("Deploy Failed")
def slack(text):
if settings.WEBHOOK_URL:
payload = ("payload={\"text\": \"" + parse.quote(text) +
"\", \"username\": \"Mr.deploy\"}").encode("utf-8")
request.urlopen(url=settings.WEBHOOK_URL, data=payload)
| Add fallback slack message for deploy script | Add fallback slack message for deploy script
| Python | mit | setokinto/slack-shogi |
# It's for me, sorry
from fabric.api import *
import slackbot_settings as settings
from urllib import request, parse
env.hosts = settings.DEPLOY_HOSTS
def deploy():
slack("Deploy Started")
with cd("/var/bot/slack-shogi"):
run("git pull")
run("supervisorctl reload")
slack("Deploy Finished")
def slack(text):
if settings.WEBHOOK_URL:
payload = ("payload={\"text\": \"" + parse.quote(text) +
"\", \"username\": \"Mr.deploy\"}").encode("utf-8")
request.urlopen(url=settings.WEBHOOK_URL, data=payload)
Add fallback slack message for deploy script |
# It's for me, sorry
from fabric.api import *
import slackbot_settings as settings
from urllib import request, parse
env.hosts = settings.DEPLOY_HOSTS
def deploy():
slack("Deploy Started")
try:
with cd("/var/bot/slack-shogi"):
run("git pull")
run("supervisorctl reload")
slack("Deploy Finished")
except:
slack("Deploy Failed")
def slack(text):
if settings.WEBHOOK_URL:
payload = ("payload={\"text\": \"" + parse.quote(text) +
"\", \"username\": \"Mr.deploy\"}").encode("utf-8")
request.urlopen(url=settings.WEBHOOK_URL, data=payload)
| <commit_before>
# It's for me, sorry
from fabric.api import *
import slackbot_settings as settings
from urllib import request, parse
env.hosts = settings.DEPLOY_HOSTS
def deploy():
slack("Deploy Started")
with cd("/var/bot/slack-shogi"):
run("git pull")
run("supervisorctl reload")
slack("Deploy Finished")
def slack(text):
if settings.WEBHOOK_URL:
payload = ("payload={\"text\": \"" + parse.quote(text) +
"\", \"username\": \"Mr.deploy\"}").encode("utf-8")
request.urlopen(url=settings.WEBHOOK_URL, data=payload)
<commit_msg>Add fallback slack message for deploy script<commit_after> |
# It's for me, sorry
from fabric.api import *
import slackbot_settings as settings
from urllib import request, parse
env.hosts = settings.DEPLOY_HOSTS
def deploy():
slack("Deploy Started")
try:
with cd("/var/bot/slack-shogi"):
run("git pull")
run("supervisorctl reload")
slack("Deploy Finished")
except:
slack("Deploy Failed")
def slack(text):
if settings.WEBHOOK_URL:
payload = ("payload={\"text\": \"" + parse.quote(text) +
"\", \"username\": \"Mr.deploy\"}").encode("utf-8")
request.urlopen(url=settings.WEBHOOK_URL, data=payload)
|
# It's for me, sorry
from fabric.api import *
import slackbot_settings as settings
from urllib import request, parse
env.hosts = settings.DEPLOY_HOSTS
def deploy():
slack("Deploy Started")
with cd("/var/bot/slack-shogi"):
run("git pull")
run("supervisorctl reload")
slack("Deploy Finished")
def slack(text):
if settings.WEBHOOK_URL:
payload = ("payload={\"text\": \"" + parse.quote(text) +
"\", \"username\": \"Mr.deploy\"}").encode("utf-8")
request.urlopen(url=settings.WEBHOOK_URL, data=payload)
Add fallback slack message for deploy script
# It's for me, sorry
from fabric.api import *
import slackbot_settings as settings
from urllib import request, parse
env.hosts = settings.DEPLOY_HOSTS
def deploy():
slack("Deploy Started")
try:
with cd("/var/bot/slack-shogi"):
run("git pull")
run("supervisorctl reload")
slack("Deploy Finished")
except:
slack("Deploy Failed")
def slack(text):
if settings.WEBHOOK_URL:
payload = ("payload={\"text\": \"" + parse.quote(text) +
"\", \"username\": \"Mr.deploy\"}").encode("utf-8")
request.urlopen(url=settings.WEBHOOK_URL, data=payload)
| <commit_before>
# It's for me, sorry
from fabric.api import *
import slackbot_settings as settings
from urllib import request, parse
env.hosts = settings.DEPLOY_HOSTS
def deploy():
slack("Deploy Started")
with cd("/var/bot/slack-shogi"):
run("git pull")
run("supervisorctl reload")
slack("Deploy Finished")
def slack(text):
if settings.WEBHOOK_URL:
payload = ("payload={\"text\": \"" + parse.quote(text) +
"\", \"username\": \"Mr.deploy\"}").encode("utf-8")
request.urlopen(url=settings.WEBHOOK_URL, data=payload)
<commit_msg>Add fallback slack message for deploy script<commit_after>
# It's for me, sorry
from fabric.api import *
import slackbot_settings as settings
from urllib import request, parse
env.hosts = settings.DEPLOY_HOSTS
def deploy():
slack("Deploy Started")
try:
with cd("/var/bot/slack-shogi"):
run("git pull")
run("supervisorctl reload")
slack("Deploy Finished")
except:
slack("Deploy Failed")
def slack(text):
if settings.WEBHOOK_URL:
payload = ("payload={\"text\": \"" + parse.quote(text) +
"\", \"username\": \"Mr.deploy\"}").encode("utf-8")
request.urlopen(url=settings.WEBHOOK_URL, data=payload)
|
71d0862a28e5711a665e713e971849bc06d9335b | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Setup script for humanize."""
from setuptools import setup, find_packages
import sys, os
import io
version = '0.5.1'
# some trove classifiers:
setup(
name='humanize',
version=version,
description="python humanize utilities",
long_description=io.open('README.rst', 'r', encoding="UTF-8").read(),
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Programming Language :: Python :: 3',
'Programming Language :: Python',
],
keywords='humanize time size',
author='Jason Moiron',
author_email='jmoiron@jmoiron.net',
url='http://github.com/jmoiron/humanize',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
test_suite="tests",
tests_require=['mock'],
install_requires=[
# -*- Extra requirements: -*-
],
entry_points="""
# -*- Entry points: -*-
""",
)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Setup script for humanize."""
from setuptools import setup, find_packages
import io
version = '0.5.1'
setup(
name='humanize',
version=version,
description="python humanize utilities",
long_description=io.open('README.rst', 'r', encoding="UTF-8").read(),
# Get strings from https://pypi.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
keywords='humanize time size',
author='Jason Moiron',
author_email='jmoiron@jmoiron.net',
url='https://github.com/jmoiron/humanize',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
test_suite="tests",
tests_require=['mock'],
install_requires=[
# -*- Extra requirements: -*-
],
entry_points="""
# -*- Entry points: -*-
""",
)
| Update Trove classifiers to match tested versions | Update Trove classifiers to match tested versions
| Python | mit | jmoiron/humanize,jmoiron/humanize | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Setup script for humanize."""
from setuptools import setup, find_packages
import sys, os
import io
version = '0.5.1'
# some trove classifiers:
setup(
name='humanize',
version=version,
description="python humanize utilities",
long_description=io.open('README.rst', 'r', encoding="UTF-8").read(),
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Programming Language :: Python :: 3',
'Programming Language :: Python',
],
keywords='humanize time size',
author='Jason Moiron',
author_email='jmoiron@jmoiron.net',
url='http://github.com/jmoiron/humanize',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
test_suite="tests",
tests_require=['mock'],
install_requires=[
# -*- Extra requirements: -*-
],
entry_points="""
# -*- Entry points: -*-
""",
)
Update Trove classifiers to match tested versions | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Setup script for humanize."""
from setuptools import setup, find_packages
import io
version = '0.5.1'
setup(
name='humanize',
version=version,
description="python humanize utilities",
long_description=io.open('README.rst', 'r', encoding="UTF-8").read(),
# Get strings from https://pypi.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
keywords='humanize time size',
author='Jason Moiron',
author_email='jmoiron@jmoiron.net',
url='https://github.com/jmoiron/humanize',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
test_suite="tests",
tests_require=['mock'],
install_requires=[
# -*- Extra requirements: -*-
],
entry_points="""
# -*- Entry points: -*-
""",
)
| <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Setup script for humanize."""
from setuptools import setup, find_packages
import sys, os
import io
version = '0.5.1'
# some trove classifiers:
setup(
name='humanize',
version=version,
description="python humanize utilities",
long_description=io.open('README.rst', 'r', encoding="UTF-8").read(),
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Programming Language :: Python :: 3',
'Programming Language :: Python',
],
keywords='humanize time size',
author='Jason Moiron',
author_email='jmoiron@jmoiron.net',
url='http://github.com/jmoiron/humanize',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
test_suite="tests",
tests_require=['mock'],
install_requires=[
# -*- Extra requirements: -*-
],
entry_points="""
# -*- Entry points: -*-
""",
)
<commit_msg>Update Trove classifiers to match tested versions<commit_after> | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Setup script for humanize."""
from setuptools import setup, find_packages
import io
version = '0.5.1'
setup(
name='humanize',
version=version,
description="python humanize utilities",
long_description=io.open('README.rst', 'r', encoding="UTF-8").read(),
# Get strings from https://pypi.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
keywords='humanize time size',
author='Jason Moiron',
author_email='jmoiron@jmoiron.net',
url='https://github.com/jmoiron/humanize',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
test_suite="tests",
tests_require=['mock'],
install_requires=[
# -*- Extra requirements: -*-
],
entry_points="""
# -*- Entry points: -*-
""",
)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Setup script for humanize."""
from setuptools import setup, find_packages
import sys, os
import io
version = '0.5.1'
# some trove classifiers:
setup(
name='humanize',
version=version,
description="python humanize utilities",
long_description=io.open('README.rst', 'r', encoding="UTF-8").read(),
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Programming Language :: Python :: 3',
'Programming Language :: Python',
],
keywords='humanize time size',
author='Jason Moiron',
author_email='jmoiron@jmoiron.net',
url='http://github.com/jmoiron/humanize',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
test_suite="tests",
tests_require=['mock'],
install_requires=[
# -*- Extra requirements: -*-
],
entry_points="""
# -*- Entry points: -*-
""",
)
Update Trove classifiers to match tested versions#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Setup script for humanize."""
from setuptools import setup, find_packages
import io
version = '0.5.1'
setup(
name='humanize',
version=version,
description="python humanize utilities",
long_description=io.open('README.rst', 'r', encoding="UTF-8").read(),
# Get strings from https://pypi.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
keywords='humanize time size',
author='Jason Moiron',
author_email='jmoiron@jmoiron.net',
url='https://github.com/jmoiron/humanize',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
test_suite="tests",
tests_require=['mock'],
install_requires=[
# -*- Extra requirements: -*-
],
entry_points="""
# -*- Entry points: -*-
""",
)
| <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Setup script for humanize."""
from setuptools import setup, find_packages
import sys, os
import io
version = '0.5.1'
# some trove classifiers:
setup(
name='humanize',
version=version,
description="python humanize utilities",
long_description=io.open('README.rst', 'r', encoding="UTF-8").read(),
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Programming Language :: Python :: 3',
'Programming Language :: Python',
],
keywords='humanize time size',
author='Jason Moiron',
author_email='jmoiron@jmoiron.net',
url='http://github.com/jmoiron/humanize',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
test_suite="tests",
tests_require=['mock'],
install_requires=[
# -*- Extra requirements: -*-
],
entry_points="""
# -*- Entry points: -*-
""",
)
<commit_msg>Update Trove classifiers to match tested versions<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Setup script for humanize."""
from setuptools import setup, find_packages
import io
version = '0.5.1'
setup(
name='humanize',
version=version,
description="python humanize utilities",
long_description=io.open('README.rst', 'r', encoding="UTF-8").read(),
# Get strings from https://pypi.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
keywords='humanize time size',
author='Jason Moiron',
author_email='jmoiron@jmoiron.net',
url='https://github.com/jmoiron/humanize',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
test_suite="tests",
tests_require=['mock'],
install_requires=[
# -*- Extra requirements: -*-
],
entry_points="""
# -*- Entry points: -*-
""",
)
|
9a986495eeaa1e331ee0404d09fcdea4e4e9299c | opps/contrib/notifications/views.py | opps/contrib/notifications/views.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
import time
from django.http import StreamingHttpResponse
from django.utils.decorators import method_decorator
from django.views.decorators.csrf import csrf_exempt
from opps.views.generic.detail import DetailView
from opps.db import Db
from .models import Notification
class AsyncServer(DetailView):
model = Notification
def _queue(self):
_db = Db(self.get_object.get_absolute_url(),
self.get_object().id)
pubsub = _db.object().pubsub()
pubsub.subscribe(_db.key)
while True:
for m in pubsub.listen():
if m['type'] == 'message':
yield u"data: {}\n\n".format(m['data'])
yield u"data: {}\n\n".format(json.dumps({"action": "ping"}))
time.sleep(0.5)
@method_decorator(csrf_exempt)
def dispatch(self, request, *args, **kwargs):
response = StreamingHttpResponse(self._queue(),
mimetype='text/event-stream')
response['Cache-Control'] = 'no-cache'
response['Software'] = 'opps-liveblogging'
response['Access-Control-Allow-Origin'] = '*'
response.flush()
return response
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
import time
from django.http import StreamingHttpResponse
from django.utils.decorators import method_decorator
from django.views.decorators.csrf import csrf_exempt
from opps.api.views.generic.list import ListView as ListAPIView
from opps.views.generic.detail import DetailView
from opps.db import Db
from .models import Notification
class AsyncServer(DetailView):
model = Notification
def _queue(self):
_db = Db(self.get_object.get_absolute_url(),
self.get_object().id)
pubsub = _db.object().pubsub()
pubsub.subscribe(_db.key)
while True:
for m in pubsub.listen():
if m['type'] == 'message':
yield u"data: {}\n\n".format(m['data'])
yield u"data: {}\n\n".format(json.dumps({"action": "ping"}))
time.sleep(0.5)
@method_decorator(csrf_exempt)
def dispatch(self, request, *args, **kwargs):
response = StreamingHttpResponse(self._queue(),
mimetype='text/event-stream')
response['Cache-Control'] = 'no-cache'
response['Software'] = 'opps-liveblogging'
response['Access-Control-Allow-Origin'] = '*'
response.flush()
return response
class APIServer(ListAPIView):
pass
| Create APIServer view on notification used to json render | Create APIServer view on notification
used to json render
| Python | mit | YACOWS/opps,williamroot/opps,YACOWS/opps,YACOWS/opps,opps/opps,williamroot/opps,jeanmask/opps,opps/opps,williamroot/opps,opps/opps,jeanmask/opps,opps/opps,YACOWS/opps,jeanmask/opps,williamroot/opps,jeanmask/opps | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
import time
from django.http import StreamingHttpResponse
from django.utils.decorators import method_decorator
from django.views.decorators.csrf import csrf_exempt
from opps.views.generic.detail import DetailView
from opps.db import Db
from .models import Notification
class AsyncServer(DetailView):
model = Notification
def _queue(self):
_db = Db(self.get_object.get_absolute_url(),
self.get_object().id)
pubsub = _db.object().pubsub()
pubsub.subscribe(_db.key)
while True:
for m in pubsub.listen():
if m['type'] == 'message':
yield u"data: {}\n\n".format(m['data'])
yield u"data: {}\n\n".format(json.dumps({"action": "ping"}))
time.sleep(0.5)
@method_decorator(csrf_exempt)
def dispatch(self, request, *args, **kwargs):
response = StreamingHttpResponse(self._queue(),
mimetype='text/event-stream')
response['Cache-Control'] = 'no-cache'
response['Software'] = 'opps-liveblogging'
response['Access-Control-Allow-Origin'] = '*'
response.flush()
return response
Create APIServer view on notification
used to json render | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
import time
from django.http import StreamingHttpResponse
from django.utils.decorators import method_decorator
from django.views.decorators.csrf import csrf_exempt
from opps.api.views.generic.list import ListView as ListAPIView
from opps.views.generic.detail import DetailView
from opps.db import Db
from .models import Notification
class AsyncServer(DetailView):
model = Notification
def _queue(self):
_db = Db(self.get_object.get_absolute_url(),
self.get_object().id)
pubsub = _db.object().pubsub()
pubsub.subscribe(_db.key)
while True:
for m in pubsub.listen():
if m['type'] == 'message':
yield u"data: {}\n\n".format(m['data'])
yield u"data: {}\n\n".format(json.dumps({"action": "ping"}))
time.sleep(0.5)
@method_decorator(csrf_exempt)
def dispatch(self, request, *args, **kwargs):
response = StreamingHttpResponse(self._queue(),
mimetype='text/event-stream')
response['Cache-Control'] = 'no-cache'
response['Software'] = 'opps-liveblogging'
response['Access-Control-Allow-Origin'] = '*'
response.flush()
return response
class APIServer(ListAPIView):
pass
| <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
import time
from django.http import StreamingHttpResponse
from django.utils.decorators import method_decorator
from django.views.decorators.csrf import csrf_exempt
from opps.views.generic.detail import DetailView
from opps.db import Db
from .models import Notification
class AsyncServer(DetailView):
model = Notification
def _queue(self):
_db = Db(self.get_object.get_absolute_url(),
self.get_object().id)
pubsub = _db.object().pubsub()
pubsub.subscribe(_db.key)
while True:
for m in pubsub.listen():
if m['type'] == 'message':
yield u"data: {}\n\n".format(m['data'])
yield u"data: {}\n\n".format(json.dumps({"action": "ping"}))
time.sleep(0.5)
@method_decorator(csrf_exempt)
def dispatch(self, request, *args, **kwargs):
response = StreamingHttpResponse(self._queue(),
mimetype='text/event-stream')
response['Cache-Control'] = 'no-cache'
response['Software'] = 'opps-liveblogging'
response['Access-Control-Allow-Origin'] = '*'
response.flush()
return response
<commit_msg>Create APIServer view on notification
used to json render<commit_after> | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
import time
from django.http import StreamingHttpResponse
from django.utils.decorators import method_decorator
from django.views.decorators.csrf import csrf_exempt
from opps.api.views.generic.list import ListView as ListAPIView
from opps.views.generic.detail import DetailView
from opps.db import Db
from .models import Notification
class AsyncServer(DetailView):
model = Notification
def _queue(self):
_db = Db(self.get_object.get_absolute_url(),
self.get_object().id)
pubsub = _db.object().pubsub()
pubsub.subscribe(_db.key)
while True:
for m in pubsub.listen():
if m['type'] == 'message':
yield u"data: {}\n\n".format(m['data'])
yield u"data: {}\n\n".format(json.dumps({"action": "ping"}))
time.sleep(0.5)
@method_decorator(csrf_exempt)
def dispatch(self, request, *args, **kwargs):
response = StreamingHttpResponse(self._queue(),
mimetype='text/event-stream')
response['Cache-Control'] = 'no-cache'
response['Software'] = 'opps-liveblogging'
response['Access-Control-Allow-Origin'] = '*'
response.flush()
return response
class APIServer(ListAPIView):
pass
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
import time
from django.http import StreamingHttpResponse
from django.utils.decorators import method_decorator
from django.views.decorators.csrf import csrf_exempt
from opps.views.generic.detail import DetailView
from opps.db import Db
from .models import Notification
class AsyncServer(DetailView):
model = Notification
def _queue(self):
_db = Db(self.get_object.get_absolute_url(),
self.get_object().id)
pubsub = _db.object().pubsub()
pubsub.subscribe(_db.key)
while True:
for m in pubsub.listen():
if m['type'] == 'message':
yield u"data: {}\n\n".format(m['data'])
yield u"data: {}\n\n".format(json.dumps({"action": "ping"}))
time.sleep(0.5)
@method_decorator(csrf_exempt)
def dispatch(self, request, *args, **kwargs):
response = StreamingHttpResponse(self._queue(),
mimetype='text/event-stream')
response['Cache-Control'] = 'no-cache'
response['Software'] = 'opps-liveblogging'
response['Access-Control-Allow-Origin'] = '*'
response.flush()
return response
Create APIServer view on notification
used to json render#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
import time
from django.http import StreamingHttpResponse
from django.utils.decorators import method_decorator
from django.views.decorators.csrf import csrf_exempt
from opps.api.views.generic.list import ListView as ListAPIView
from opps.views.generic.detail import DetailView
from opps.db import Db
from .models import Notification
class AsyncServer(DetailView):
model = Notification
def _queue(self):
_db = Db(self.get_object.get_absolute_url(),
self.get_object().id)
pubsub = _db.object().pubsub()
pubsub.subscribe(_db.key)
while True:
for m in pubsub.listen():
if m['type'] == 'message':
yield u"data: {}\n\n".format(m['data'])
yield u"data: {}\n\n".format(json.dumps({"action": "ping"}))
time.sleep(0.5)
@method_decorator(csrf_exempt)
def dispatch(self, request, *args, **kwargs):
response = StreamingHttpResponse(self._queue(),
mimetype='text/event-stream')
response['Cache-Control'] = 'no-cache'
response['Software'] = 'opps-liveblogging'
response['Access-Control-Allow-Origin'] = '*'
response.flush()
return response
class APIServer(ListAPIView):
pass
| <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
import time
from django.http import StreamingHttpResponse
from django.utils.decorators import method_decorator
from django.views.decorators.csrf import csrf_exempt
from opps.views.generic.detail import DetailView
from opps.db import Db
from .models import Notification
class AsyncServer(DetailView):
model = Notification
def _queue(self):
_db = Db(self.get_object.get_absolute_url(),
self.get_object().id)
pubsub = _db.object().pubsub()
pubsub.subscribe(_db.key)
while True:
for m in pubsub.listen():
if m['type'] == 'message':
yield u"data: {}\n\n".format(m['data'])
yield u"data: {}\n\n".format(json.dumps({"action": "ping"}))
time.sleep(0.5)
@method_decorator(csrf_exempt)
def dispatch(self, request, *args, **kwargs):
response = StreamingHttpResponse(self._queue(),
mimetype='text/event-stream')
response['Cache-Control'] = 'no-cache'
response['Software'] = 'opps-liveblogging'
response['Access-Control-Allow-Origin'] = '*'
response.flush()
return response
<commit_msg>Create APIServer view on notification
used to json render<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import json
import time
from django.http import StreamingHttpResponse
from django.utils.decorators import method_decorator
from django.views.decorators.csrf import csrf_exempt
from opps.api.views.generic.list import ListView as ListAPIView
from opps.views.generic.detail import DetailView
from opps.db import Db
from .models import Notification
class AsyncServer(DetailView):
model = Notification
def _queue(self):
_db = Db(self.get_object.get_absolute_url(),
self.get_object().id)
pubsub = _db.object().pubsub()
pubsub.subscribe(_db.key)
while True:
for m in pubsub.listen():
if m['type'] == 'message':
yield u"data: {}\n\n".format(m['data'])
yield u"data: {}\n\n".format(json.dumps({"action": "ping"}))
time.sleep(0.5)
@method_decorator(csrf_exempt)
def dispatch(self, request, *args, **kwargs):
response = StreamingHttpResponse(self._queue(),
mimetype='text/event-stream')
response['Cache-Control'] = 'no-cache'
response['Software'] = 'opps-liveblogging'
response['Access-Control-Allow-Origin'] = '*'
response.flush()
return response
class APIServer(ListAPIView):
pass
|
1dc3aa4eb9aec4e301663841d4510073fbcade9c | setup.py | setup.py | import setuptools
from savanna.openstack.common import setup as common_setup
requires = common_setup.parse_requirements()
depend_links = common_setup.parse_dependency_links()
project = 'savanna'
setuptools.setup(
name=project,
version=common_setup.get_version(project, '0.1'),
description='Savanna project',
author='Mirantis Inc.',
author_email='savanna-team@mirantis.com',
url='http://savanna.mirantis.com',
classifiers=[
'Environment :: OpenStack',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'Intended Audience :: BigDate',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
license='Apache Software License',
cmdclass=common_setup.get_cmdclass(),
packages=setuptools.find_packages(exclude=['bin']),
package_data={'savanna': ['resources/*.template']},
install_requires=requires,
dependency_links=depend_links,
include_package_data=True,
test_suite='nose.collector',
scripts=[
'bin/savanna-api',
'bin/savanna-manage',
],
py_modules=[],
data_files=[
('share/savanna',
[
'etc/savanna/savanna.conf.sample',
'etc/savanna/savanna.conf.sample-full',
]),
],
)
| import setuptools
from savanna.openstack.common import setup as common_setup
requires = common_setup.parse_requirements()
depend_links = common_setup.parse_dependency_links()
project = 'savanna'
setuptools.setup(
name=project,
version=common_setup.get_version(project, '0.1'),
description='Savanna project',
author='Mirantis Inc.',
author_email='savanna-team@mirantis.com',
url='http://savanna.mirantis.com',
classifiers=[
'Environment :: OpenStack',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
license='Apache Software License',
cmdclass=common_setup.get_cmdclass(),
packages=setuptools.find_packages(exclude=['bin']),
package_data={'savanna': ['resources/*.template']},
install_requires=requires,
dependency_links=depend_links,
include_package_data=True,
test_suite='nose.collector',
scripts=[
'bin/savanna-api',
'bin/savanna-manage',
],
py_modules=[],
data_files=[
('share/savanna',
[
'etc/savanna/savanna.conf.sample',
'etc/savanna/savanna.conf.sample-full',
]),
],
)
| Remove an invalid trove classifier. | Remove an invalid trove classifier.
* setup.py(setuptools.setup): Remove "Intended Audience :: BigDate"
since it's not in pypi's list of valid trove classifiers and
prevents successful upload of the package when present.
Change-Id: Iee487d1737a12158bb181d21ae841d07e0820e10
| Python | apache-2.0 | openstack/sahara-tests,openstack/sahara-tests,openstack/sahara-tests,esikachev/sahara-tests,openstack/sahara-scenario,openstack/sahara-scenario,esikachev/sahara-tests,openstack/sahara-tests,esikachev/sahara-tests,openstack/sahara-scenario | import setuptools
from savanna.openstack.common import setup as common_setup
requires = common_setup.parse_requirements()
depend_links = common_setup.parse_dependency_links()
project = 'savanna'
setuptools.setup(
name=project,
version=common_setup.get_version(project, '0.1'),
description='Savanna project',
author='Mirantis Inc.',
author_email='savanna-team@mirantis.com',
url='http://savanna.mirantis.com',
classifiers=[
'Environment :: OpenStack',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'Intended Audience :: BigDate',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
license='Apache Software License',
cmdclass=common_setup.get_cmdclass(),
packages=setuptools.find_packages(exclude=['bin']),
package_data={'savanna': ['resources/*.template']},
install_requires=requires,
dependency_links=depend_links,
include_package_data=True,
test_suite='nose.collector',
scripts=[
'bin/savanna-api',
'bin/savanna-manage',
],
py_modules=[],
data_files=[
('share/savanna',
[
'etc/savanna/savanna.conf.sample',
'etc/savanna/savanna.conf.sample-full',
]),
],
)
Remove an invalid trove classifier.
* setup.py(setuptools.setup): Remove "Intended Audience :: BigDate"
since it's not in pypi's list of valid trove classifiers and
prevents successful upload of the package when present.
Change-Id: Iee487d1737a12158bb181d21ae841d07e0820e10 | import setuptools
from savanna.openstack.common import setup as common_setup
requires = common_setup.parse_requirements()
depend_links = common_setup.parse_dependency_links()
project = 'savanna'
setuptools.setup(
name=project,
version=common_setup.get_version(project, '0.1'),
description='Savanna project',
author='Mirantis Inc.',
author_email='savanna-team@mirantis.com',
url='http://savanna.mirantis.com',
classifiers=[
'Environment :: OpenStack',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
license='Apache Software License',
cmdclass=common_setup.get_cmdclass(),
packages=setuptools.find_packages(exclude=['bin']),
package_data={'savanna': ['resources/*.template']},
install_requires=requires,
dependency_links=depend_links,
include_package_data=True,
test_suite='nose.collector',
scripts=[
'bin/savanna-api',
'bin/savanna-manage',
],
py_modules=[],
data_files=[
('share/savanna',
[
'etc/savanna/savanna.conf.sample',
'etc/savanna/savanna.conf.sample-full',
]),
],
)
| <commit_before>import setuptools
from savanna.openstack.common import setup as common_setup
requires = common_setup.parse_requirements()
depend_links = common_setup.parse_dependency_links()
project = 'savanna'
setuptools.setup(
name=project,
version=common_setup.get_version(project, '0.1'),
description='Savanna project',
author='Mirantis Inc.',
author_email='savanna-team@mirantis.com',
url='http://savanna.mirantis.com',
classifiers=[
'Environment :: OpenStack',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'Intended Audience :: BigDate',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
license='Apache Software License',
cmdclass=common_setup.get_cmdclass(),
packages=setuptools.find_packages(exclude=['bin']),
package_data={'savanna': ['resources/*.template']},
install_requires=requires,
dependency_links=depend_links,
include_package_data=True,
test_suite='nose.collector',
scripts=[
'bin/savanna-api',
'bin/savanna-manage',
],
py_modules=[],
data_files=[
('share/savanna',
[
'etc/savanna/savanna.conf.sample',
'etc/savanna/savanna.conf.sample-full',
]),
],
)
<commit_msg>Remove an invalid trove classifier.
* setup.py(setuptools.setup): Remove "Intended Audience :: BigDate"
since it's not in pypi's list of valid trove classifiers and
prevents successful upload of the package when present.
Change-Id: Iee487d1737a12158bb181d21ae841d07e0820e10<commit_after> | import setuptools
from savanna.openstack.common import setup as common_setup
requires = common_setup.parse_requirements()
depend_links = common_setup.parse_dependency_links()
project = 'savanna'
setuptools.setup(
name=project,
version=common_setup.get_version(project, '0.1'),
description='Savanna project',
author='Mirantis Inc.',
author_email='savanna-team@mirantis.com',
url='http://savanna.mirantis.com',
classifiers=[
'Environment :: OpenStack',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
license='Apache Software License',
cmdclass=common_setup.get_cmdclass(),
packages=setuptools.find_packages(exclude=['bin']),
package_data={'savanna': ['resources/*.template']},
install_requires=requires,
dependency_links=depend_links,
include_package_data=True,
test_suite='nose.collector',
scripts=[
'bin/savanna-api',
'bin/savanna-manage',
],
py_modules=[],
data_files=[
('share/savanna',
[
'etc/savanna/savanna.conf.sample',
'etc/savanna/savanna.conf.sample-full',
]),
],
)
| import setuptools
from savanna.openstack.common import setup as common_setup
requires = common_setup.parse_requirements()
depend_links = common_setup.parse_dependency_links()
project = 'savanna'
setuptools.setup(
name=project,
version=common_setup.get_version(project, '0.1'),
description='Savanna project',
author='Mirantis Inc.',
author_email='savanna-team@mirantis.com',
url='http://savanna.mirantis.com',
classifiers=[
'Environment :: OpenStack',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'Intended Audience :: BigDate',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
license='Apache Software License',
cmdclass=common_setup.get_cmdclass(),
packages=setuptools.find_packages(exclude=['bin']),
package_data={'savanna': ['resources/*.template']},
install_requires=requires,
dependency_links=depend_links,
include_package_data=True,
test_suite='nose.collector',
scripts=[
'bin/savanna-api',
'bin/savanna-manage',
],
py_modules=[],
data_files=[
('share/savanna',
[
'etc/savanna/savanna.conf.sample',
'etc/savanna/savanna.conf.sample-full',
]),
],
)
Remove an invalid trove classifier.
* setup.py(setuptools.setup): Remove "Intended Audience :: BigDate"
since it's not in pypi's list of valid trove classifiers and
prevents successful upload of the package when present.
Change-Id: Iee487d1737a12158bb181d21ae841d07e0820e10import setuptools
from savanna.openstack.common import setup as common_setup
requires = common_setup.parse_requirements()
depend_links = common_setup.parse_dependency_links()
project = 'savanna'
setuptools.setup(
name=project,
version=common_setup.get_version(project, '0.1'),
description='Savanna project',
author='Mirantis Inc.',
author_email='savanna-team@mirantis.com',
url='http://savanna.mirantis.com',
classifiers=[
'Environment :: OpenStack',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
license='Apache Software License',
cmdclass=common_setup.get_cmdclass(),
packages=setuptools.find_packages(exclude=['bin']),
package_data={'savanna': ['resources/*.template']},
install_requires=requires,
dependency_links=depend_links,
include_package_data=True,
test_suite='nose.collector',
scripts=[
'bin/savanna-api',
'bin/savanna-manage',
],
py_modules=[],
data_files=[
('share/savanna',
[
'etc/savanna/savanna.conf.sample',
'etc/savanna/savanna.conf.sample-full',
]),
],
)
| <commit_before>import setuptools
from savanna.openstack.common import setup as common_setup
requires = common_setup.parse_requirements()
depend_links = common_setup.parse_dependency_links()
project = 'savanna'
setuptools.setup(
name=project,
version=common_setup.get_version(project, '0.1'),
description='Savanna project',
author='Mirantis Inc.',
author_email='savanna-team@mirantis.com',
url='http://savanna.mirantis.com',
classifiers=[
'Environment :: OpenStack',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'Intended Audience :: BigDate',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
license='Apache Software License',
cmdclass=common_setup.get_cmdclass(),
packages=setuptools.find_packages(exclude=['bin']),
package_data={'savanna': ['resources/*.template']},
install_requires=requires,
dependency_links=depend_links,
include_package_data=True,
test_suite='nose.collector',
scripts=[
'bin/savanna-api',
'bin/savanna-manage',
],
py_modules=[],
data_files=[
('share/savanna',
[
'etc/savanna/savanna.conf.sample',
'etc/savanna/savanna.conf.sample-full',
]),
],
)
<commit_msg>Remove an invalid trove classifier.
* setup.py(setuptools.setup): Remove "Intended Audience :: BigDate"
since it's not in pypi's list of valid trove classifiers and
prevents successful upload of the package when present.
Change-Id: Iee487d1737a12158bb181d21ae841d07e0820e10<commit_after>import setuptools
from savanna.openstack.common import setup as common_setup
requires = common_setup.parse_requirements()
depend_links = common_setup.parse_dependency_links()
project = 'savanna'
setuptools.setup(
name=project,
version=common_setup.get_version(project, '0.1'),
description='Savanna project',
author='Mirantis Inc.',
author_email='savanna-team@mirantis.com',
url='http://savanna.mirantis.com',
classifiers=[
'Environment :: OpenStack',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
license='Apache Software License',
cmdclass=common_setup.get_cmdclass(),
packages=setuptools.find_packages(exclude=['bin']),
package_data={'savanna': ['resources/*.template']},
install_requires=requires,
dependency_links=depend_links,
include_package_data=True,
test_suite='nose.collector',
scripts=[
'bin/savanna-api',
'bin/savanna-manage',
],
py_modules=[],
data_files=[
('share/savanna',
[
'etc/savanna/savanna.conf.sample',
'etc/savanna/savanna.conf.sample-full',
]),
],
)
|
29a6b2e88b278062b7378c50001ad5521b61c5c1 | setup.py | setup.py | import re
from setuptools import find_packages, setup
with open('netsgiro/__init__.py') as fh:
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", fh.read()))
with open('README.rst') as fh:
long_description = fh.read()
setup(
name='netsgiro',
version=metadata['version'],
description='File parsers for Nets AvtaleGiro and OCR Giro',
long_description=long_description,
url='https://github.com/otovo/python-netsgiro',
author='Otovo AS',
author_email='jodal+netsgiro@otovo.no',
license='Apache License, Version 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='avtalegiro ocr giro',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=[
'attrs',
'typing', # Needed for Python 3.4
],
extras_require={
'dev': [
'check-manifest',
'flake8',
'flake8-import-order',
'mypy',
'pytest',
'pytest-xdist',
'sphinx',
'sphinx_rtd_theme',
'tox',
],
},
)
| import re
from setuptools import find_packages, setup
with open('netsgiro/__init__.py') as fh:
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", fh.read()))
with open('README.rst') as fh:
long_description = fh.read()
setup(
name='netsgiro',
version=metadata['version'],
description='File parsers for Nets AvtaleGiro and OCR Giro',
long_description=long_description,
url='https://netsgiro.readthedocs.io/',
author='Otovo AS',
author_email='jodal+netsgiro@otovo.no',
license='Apache License, Version 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='avtalegiro ocr giro',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=[
'attrs',
'typing', # Needed for Python 3.4
],
extras_require={
'dev': [
'check-manifest',
'flake8',
'flake8-import-order',
'mypy',
'pytest',
'pytest-xdist',
'sphinx',
'sphinx_rtd_theme',
'tox',
],
},
)
| Use docs as project homepage | Use docs as project homepage
| Python | apache-2.0 | otovo/python-netsgiro | import re
from setuptools import find_packages, setup
with open('netsgiro/__init__.py') as fh:
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", fh.read()))
with open('README.rst') as fh:
long_description = fh.read()
setup(
name='netsgiro',
version=metadata['version'],
description='File parsers for Nets AvtaleGiro and OCR Giro',
long_description=long_description,
url='https://github.com/otovo/python-netsgiro',
author='Otovo AS',
author_email='jodal+netsgiro@otovo.no',
license='Apache License, Version 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='avtalegiro ocr giro',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=[
'attrs',
'typing', # Needed for Python 3.4
],
extras_require={
'dev': [
'check-manifest',
'flake8',
'flake8-import-order',
'mypy',
'pytest',
'pytest-xdist',
'sphinx',
'sphinx_rtd_theme',
'tox',
],
},
)
Use docs as project homepage | import re
from setuptools import find_packages, setup
with open('netsgiro/__init__.py') as fh:
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", fh.read()))
with open('README.rst') as fh:
long_description = fh.read()
setup(
name='netsgiro',
version=metadata['version'],
description='File parsers for Nets AvtaleGiro and OCR Giro',
long_description=long_description,
url='https://netsgiro.readthedocs.io/',
author='Otovo AS',
author_email='jodal+netsgiro@otovo.no',
license='Apache License, Version 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='avtalegiro ocr giro',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=[
'attrs',
'typing', # Needed for Python 3.4
],
extras_require={
'dev': [
'check-manifest',
'flake8',
'flake8-import-order',
'mypy',
'pytest',
'pytest-xdist',
'sphinx',
'sphinx_rtd_theme',
'tox',
],
},
)
| <commit_before>import re
from setuptools import find_packages, setup
with open('netsgiro/__init__.py') as fh:
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", fh.read()))
with open('README.rst') as fh:
long_description = fh.read()
setup(
name='netsgiro',
version=metadata['version'],
description='File parsers for Nets AvtaleGiro and OCR Giro',
long_description=long_description,
url='https://github.com/otovo/python-netsgiro',
author='Otovo AS',
author_email='jodal+netsgiro@otovo.no',
license='Apache License, Version 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='avtalegiro ocr giro',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=[
'attrs',
'typing', # Needed for Python 3.4
],
extras_require={
'dev': [
'check-manifest',
'flake8',
'flake8-import-order',
'mypy',
'pytest',
'pytest-xdist',
'sphinx',
'sphinx_rtd_theme',
'tox',
],
},
)
<commit_msg>Use docs as project homepage<commit_after> | import re
from setuptools import find_packages, setup
with open('netsgiro/__init__.py') as fh:
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", fh.read()))
with open('README.rst') as fh:
long_description = fh.read()
setup(
name='netsgiro',
version=metadata['version'],
description='File parsers for Nets AvtaleGiro and OCR Giro',
long_description=long_description,
url='https://netsgiro.readthedocs.io/',
author='Otovo AS',
author_email='jodal+netsgiro@otovo.no',
license='Apache License, Version 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='avtalegiro ocr giro',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=[
'attrs',
'typing', # Needed for Python 3.4
],
extras_require={
'dev': [
'check-manifest',
'flake8',
'flake8-import-order',
'mypy',
'pytest',
'pytest-xdist',
'sphinx',
'sphinx_rtd_theme',
'tox',
],
},
)
| import re
from setuptools import find_packages, setup
with open('netsgiro/__init__.py') as fh:
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", fh.read()))
with open('README.rst') as fh:
long_description = fh.read()
setup(
name='netsgiro',
version=metadata['version'],
description='File parsers for Nets AvtaleGiro and OCR Giro',
long_description=long_description,
url='https://github.com/otovo/python-netsgiro',
author='Otovo AS',
author_email='jodal+netsgiro@otovo.no',
license='Apache License, Version 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='avtalegiro ocr giro',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=[
'attrs',
'typing', # Needed for Python 3.4
],
extras_require={
'dev': [
'check-manifest',
'flake8',
'flake8-import-order',
'mypy',
'pytest',
'pytest-xdist',
'sphinx',
'sphinx_rtd_theme',
'tox',
],
},
)
Use docs as project homepageimport re
from setuptools import find_packages, setup
with open('netsgiro/__init__.py') as fh:
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", fh.read()))
with open('README.rst') as fh:
long_description = fh.read()
setup(
name='netsgiro',
version=metadata['version'],
description='File parsers for Nets AvtaleGiro and OCR Giro',
long_description=long_description,
url='https://netsgiro.readthedocs.io/',
author='Otovo AS',
author_email='jodal+netsgiro@otovo.no',
license='Apache License, Version 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='avtalegiro ocr giro',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=[
'attrs',
'typing', # Needed for Python 3.4
],
extras_require={
'dev': [
'check-manifest',
'flake8',
'flake8-import-order',
'mypy',
'pytest',
'pytest-xdist',
'sphinx',
'sphinx_rtd_theme',
'tox',
],
},
)
| <commit_before>import re
from setuptools import find_packages, setup
with open('netsgiro/__init__.py') as fh:
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", fh.read()))
with open('README.rst') as fh:
long_description = fh.read()
setup(
name='netsgiro',
version=metadata['version'],
description='File parsers for Nets AvtaleGiro and OCR Giro',
long_description=long_description,
url='https://github.com/otovo/python-netsgiro',
author='Otovo AS',
author_email='jodal+netsgiro@otovo.no',
license='Apache License, Version 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='avtalegiro ocr giro',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=[
'attrs',
'typing', # Needed for Python 3.4
],
extras_require={
'dev': [
'check-manifest',
'flake8',
'flake8-import-order',
'mypy',
'pytest',
'pytest-xdist',
'sphinx',
'sphinx_rtd_theme',
'tox',
],
},
)
<commit_msg>Use docs as project homepage<commit_after>import re
from setuptools import find_packages, setup
with open('netsgiro/__init__.py') as fh:
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", fh.read()))
with open('README.rst') as fh:
long_description = fh.read()
setup(
name='netsgiro',
version=metadata['version'],
description='File parsers for Nets AvtaleGiro and OCR Giro',
long_description=long_description,
url='https://netsgiro.readthedocs.io/',
author='Otovo AS',
author_email='jodal+netsgiro@otovo.no',
license='Apache License, Version 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='avtalegiro ocr giro',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=[
'attrs',
'typing', # Needed for Python 3.4
],
extras_require={
'dev': [
'check-manifest',
'flake8',
'flake8-import-order',
'mypy',
'pytest',
'pytest-xdist',
'sphinx',
'sphinx_rtd_theme',
'tox',
],
},
)
|
f3e6c433f1f96e3185de04d5c4b069f9f2adf311 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='scrapy-djangoitem',
version='0.0.0',
url='https://github.com/scrapy/scrapy-djangoitem',
description='Scrapy extension to write scraped items using Django models',
long_description=open('README.rst').read(),
author='Scrapy developers',
license='BSD',
packages=find_packages(exclude=('tests', 'tests.*')),
include_package_data=True,
zip_safe=False,
classifiers=[
'Framework :: Scrapy',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Topic :: Utilities',
'Framework :: Django',
'Framework :: Scrapy',
],
install_requires=[
'Scrapy>=0.24.5',
'Django',
],
)
| from setuptools import setup, find_packages
setup(
name='scrapy-djangoitem',
version='0.0.0',
url='https://github.com/scrapy/scrapy-djangoitem',
description='Scrapy extension to write scraped items using Django models',
long_description=open('README.rst').read(),
author='Scrapy developers',
license='BSD',
packages=find_packages(exclude=('tests', 'tests.*')),
include_package_data=True,
zip_safe=False,
classifiers=[
'Framework :: Scrapy',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Topic :: Utilities',
'Framework :: Django',
'Framework :: Scrapy',
],
requires=['scrapy (>=0.24.5)', 'django'],
)
| Remove scrapy and django from install_requires. | Remove scrapy and django from install_requires.
This prevents unintended upgrades of Scrapy or Django
when user runs 'pip install -U scrapy-djangoitem'.
| Python | bsd-3-clause | scrapy-plugins/scrapy-djangoitem,scrapy/scrapy-djangoitem | from setuptools import setup, find_packages
setup(
name='scrapy-djangoitem',
version='0.0.0',
url='https://github.com/scrapy/scrapy-djangoitem',
description='Scrapy extension to write scraped items using Django models',
long_description=open('README.rst').read(),
author='Scrapy developers',
license='BSD',
packages=find_packages(exclude=('tests', 'tests.*')),
include_package_data=True,
zip_safe=False,
classifiers=[
'Framework :: Scrapy',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Topic :: Utilities',
'Framework :: Django',
'Framework :: Scrapy',
],
install_requires=[
'Scrapy>=0.24.5',
'Django',
],
)
Remove scrapy and django from install_requires.
This prevents unintended upgrades of Scrapy or Django
when user runs 'pip install -U scrapy-djangoitem'. | from setuptools import setup, find_packages
setup(
name='scrapy-djangoitem',
version='0.0.0',
url='https://github.com/scrapy/scrapy-djangoitem',
description='Scrapy extension to write scraped items using Django models',
long_description=open('README.rst').read(),
author='Scrapy developers',
license='BSD',
packages=find_packages(exclude=('tests', 'tests.*')),
include_package_data=True,
zip_safe=False,
classifiers=[
'Framework :: Scrapy',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Topic :: Utilities',
'Framework :: Django',
'Framework :: Scrapy',
],
requires=['scrapy (>=0.24.5)', 'django'],
)
| <commit_before>from setuptools import setup, find_packages
setup(
name='scrapy-djangoitem',
version='0.0.0',
url='https://github.com/scrapy/scrapy-djangoitem',
description='Scrapy extension to write scraped items using Django models',
long_description=open('README.rst').read(),
author='Scrapy developers',
license='BSD',
packages=find_packages(exclude=('tests', 'tests.*')),
include_package_data=True,
zip_safe=False,
classifiers=[
'Framework :: Scrapy',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Topic :: Utilities',
'Framework :: Django',
'Framework :: Scrapy',
],
install_requires=[
'Scrapy>=0.24.5',
'Django',
],
)
<commit_msg>Remove scrapy and django from install_requires.
This prevents unintended upgrades of Scrapy or Django
when user runs 'pip install -U scrapy-djangoitem'.<commit_after> | from setuptools import setup, find_packages
setup(
name='scrapy-djangoitem',
version='0.0.0',
url='https://github.com/scrapy/scrapy-djangoitem',
description='Scrapy extension to write scraped items using Django models',
long_description=open('README.rst').read(),
author='Scrapy developers',
license='BSD',
packages=find_packages(exclude=('tests', 'tests.*')),
include_package_data=True,
zip_safe=False,
classifiers=[
'Framework :: Scrapy',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Topic :: Utilities',
'Framework :: Django',
'Framework :: Scrapy',
],
requires=['scrapy (>=0.24.5)', 'django'],
)
| from setuptools import setup, find_packages
setup(
name='scrapy-djangoitem',
version='0.0.0',
url='https://github.com/scrapy/scrapy-djangoitem',
description='Scrapy extension to write scraped items using Django models',
long_description=open('README.rst').read(),
author='Scrapy developers',
license='BSD',
packages=find_packages(exclude=('tests', 'tests.*')),
include_package_data=True,
zip_safe=False,
classifiers=[
'Framework :: Scrapy',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Topic :: Utilities',
'Framework :: Django',
'Framework :: Scrapy',
],
install_requires=[
'Scrapy>=0.24.5',
'Django',
],
)
Remove scrapy and django from install_requires.
This prevents unintended upgrades of Scrapy or Django
when user runs 'pip install -U scrapy-djangoitem'.from setuptools import setup, find_packages
setup(
name='scrapy-djangoitem',
version='0.0.0',
url='https://github.com/scrapy/scrapy-djangoitem',
description='Scrapy extension to write scraped items using Django models',
long_description=open('README.rst').read(),
author='Scrapy developers',
license='BSD',
packages=find_packages(exclude=('tests', 'tests.*')),
include_package_data=True,
zip_safe=False,
classifiers=[
'Framework :: Scrapy',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Topic :: Utilities',
'Framework :: Django',
'Framework :: Scrapy',
],
requires=['scrapy (>=0.24.5)', 'django'],
)
| <commit_before>from setuptools import setup, find_packages
setup(
name='scrapy-djangoitem',
version='0.0.0',
url='https://github.com/scrapy/scrapy-djangoitem',
description='Scrapy extension to write scraped items using Django models',
long_description=open('README.rst').read(),
author='Scrapy developers',
license='BSD',
packages=find_packages(exclude=('tests', 'tests.*')),
include_package_data=True,
zip_safe=False,
classifiers=[
'Framework :: Scrapy',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Topic :: Utilities',
'Framework :: Django',
'Framework :: Scrapy',
],
install_requires=[
'Scrapy>=0.24.5',
'Django',
],
)
<commit_msg>Remove scrapy and django from install_requires.
This prevents unintended upgrades of Scrapy or Django
when user runs 'pip install -U scrapy-djangoitem'.<commit_after>from setuptools import setup, find_packages
setup(
name='scrapy-djangoitem',
version='0.0.0',
url='https://github.com/scrapy/scrapy-djangoitem',
description='Scrapy extension to write scraped items using Django models',
long_description=open('README.rst').read(),
author='Scrapy developers',
license='BSD',
packages=find_packages(exclude=('tests', 'tests.*')),
include_package_data=True,
zip_safe=False,
classifiers=[
'Framework :: Scrapy',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Topic :: Utilities',
'Framework :: Django',
'Framework :: Scrapy',
],
requires=['scrapy (>=0.24.5)', 'django'],
)
|
70740cbf1ed66fcdbe09f64382d7a1c8b6325e51 | setup.py | setup.py | #
# This file is part of WinPexpect. WinPexpect is free software that is made
# available under the MIT license. Consult the file "LICENSE" that is
# distributed together with this file for the exact licensing terms.
#
# WinPexpect is copyright (c) 2008-2010 by the WinPexpect authors. See the
# file "AUTHORS" for a complete overview.
from setuptools import setup
setup(
name = 'winpexpect',
version = '1.2',
description = 'A version of pexpect that works under Windows.',
author = 'Geert Jansen',
author_email = 'geert@boskant.nl',
url = 'http://bitbucket.org/geertj/winpexpect',
license = 'MIT',
classifiers = ['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Operating System :: Microsoft :: Windows'],
package_dir = {'': 'lib'},
py_modules = ['pexpect', 'winpexpect'],
test_suite = 'nose.collector'
)
| #
# This file is part of WinPexpect. WinPexpect is free software that is made
# available under the MIT license. Consult the file "LICENSE" that is
# distributed together with this file for the exact licensing terms.
#
# WinPexpect is copyright (c) 2008-2010 by the WinPexpect authors. See the
# file "AUTHORS" for a complete overview.
from setuptools import setup
setup(
name = 'winpexpect',
version = '1.2',
description = 'A version of pexpect that works under Windows.',
author = 'Geert Jansen',
author_email = 'geert@boskant.nl',
url = 'http://bitbucket.org/geertj/winpexpect',
license = 'MIT',
classifiers = ['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Operating System :: Microsoft :: Windows'],
package_dir = {'': 'lib'},
py_modules = ['pexpect', 'winpexpect'],
test_suite = 'nose.collector',
zip_safe = False
)
| Set zip_safe to False as the stub may be called by a process that does not have a writable egg cache. | Set zip_safe to False as the stub may be called by a process that does not
have a writable egg cache.
| Python | mit | geertj/winpexpect | #
# This file is part of WinPexpect. WinPexpect is free software that is made
# available under the MIT license. Consult the file "LICENSE" that is
# distributed together with this file for the exact licensing terms.
#
# WinPexpect is copyright (c) 2008-2010 by the WinPexpect authors. See the
# file "AUTHORS" for a complete overview.
from setuptools import setup
setup(
name = 'winpexpect',
version = '1.2',
description = 'A version of pexpect that works under Windows.',
author = 'Geert Jansen',
author_email = 'geert@boskant.nl',
url = 'http://bitbucket.org/geertj/winpexpect',
license = 'MIT',
classifiers = ['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Operating System :: Microsoft :: Windows'],
package_dir = {'': 'lib'},
py_modules = ['pexpect', 'winpexpect'],
test_suite = 'nose.collector'
)
Set zip_safe to False as the stub may be called by a process that does not
have a writable egg cache. | #
# This file is part of WinPexpect. WinPexpect is free software that is made
# available under the MIT license. Consult the file "LICENSE" that is
# distributed together with this file for the exact licensing terms.
#
# WinPexpect is copyright (c) 2008-2010 by the WinPexpect authors. See the
# file "AUTHORS" for a complete overview.
from setuptools import setup
setup(
name = 'winpexpect',
version = '1.2',
description = 'A version of pexpect that works under Windows.',
author = 'Geert Jansen',
author_email = 'geert@boskant.nl',
url = 'http://bitbucket.org/geertj/winpexpect',
license = 'MIT',
classifiers = ['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Operating System :: Microsoft :: Windows'],
package_dir = {'': 'lib'},
py_modules = ['pexpect', 'winpexpect'],
test_suite = 'nose.collector',
zip_safe = False
)
| <commit_before>#
# This file is part of WinPexpect. WinPexpect is free software that is made
# available under the MIT license. Consult the file "LICENSE" that is
# distributed together with this file for the exact licensing terms.
#
# WinPexpect is copyright (c) 2008-2010 by the WinPexpect authors. See the
# file "AUTHORS" for a complete overview.
from setuptools import setup
setup(
name = 'winpexpect',
version = '1.2',
description = 'A version of pexpect that works under Windows.',
author = 'Geert Jansen',
author_email = 'geert@boskant.nl',
url = 'http://bitbucket.org/geertj/winpexpect',
license = 'MIT',
classifiers = ['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Operating System :: Microsoft :: Windows'],
package_dir = {'': 'lib'},
py_modules = ['pexpect', 'winpexpect'],
test_suite = 'nose.collector'
)
<commit_msg>Set zip_safe to False as the stub may be called by a process that does not
have a writable egg cache.<commit_after> | #
# This file is part of WinPexpect. WinPexpect is free software that is made
# available under the MIT license. Consult the file "LICENSE" that is
# distributed together with this file for the exact licensing terms.
#
# WinPexpect is copyright (c) 2008-2010 by the WinPexpect authors. See the
# file "AUTHORS" for a complete overview.
from setuptools import setup
setup(
name = 'winpexpect',
version = '1.2',
description = 'A version of pexpect that works under Windows.',
author = 'Geert Jansen',
author_email = 'geert@boskant.nl',
url = 'http://bitbucket.org/geertj/winpexpect',
license = 'MIT',
classifiers = ['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Operating System :: Microsoft :: Windows'],
package_dir = {'': 'lib'},
py_modules = ['pexpect', 'winpexpect'],
test_suite = 'nose.collector',
zip_safe = False
)
| #
# This file is part of WinPexpect. WinPexpect is free software that is made
# available under the MIT license. Consult the file "LICENSE" that is
# distributed together with this file for the exact licensing terms.
#
# WinPexpect is copyright (c) 2008-2010 by the WinPexpect authors. See the
# file "AUTHORS" for a complete overview.
from setuptools import setup
setup(
name = 'winpexpect',
version = '1.2',
description = 'A version of pexpect that works under Windows.',
author = 'Geert Jansen',
author_email = 'geert@boskant.nl',
url = 'http://bitbucket.org/geertj/winpexpect',
license = 'MIT',
classifiers = ['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Operating System :: Microsoft :: Windows'],
package_dir = {'': 'lib'},
py_modules = ['pexpect', 'winpexpect'],
test_suite = 'nose.collector'
)
Set zip_safe to False as the stub may be called by a process that does not
have a writable egg cache.#
# This file is part of WinPexpect. WinPexpect is free software that is made
# available under the MIT license. Consult the file "LICENSE" that is
# distributed together with this file for the exact licensing terms.
#
# WinPexpect is copyright (c) 2008-2010 by the WinPexpect authors. See the
# file "AUTHORS" for a complete overview.
from setuptools import setup
setup(
name = 'winpexpect',
version = '1.2',
description = 'A version of pexpect that works under Windows.',
author = 'Geert Jansen',
author_email = 'geert@boskant.nl',
url = 'http://bitbucket.org/geertj/winpexpect',
license = 'MIT',
classifiers = ['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Operating System :: Microsoft :: Windows'],
package_dir = {'': 'lib'},
py_modules = ['pexpect', 'winpexpect'],
test_suite = 'nose.collector',
zip_safe = False
)
| <commit_before>#
# This file is part of WinPexpect. WinPexpect is free software that is made
# available under the MIT license. Consult the file "LICENSE" that is
# distributed together with this file for the exact licensing terms.
#
# WinPexpect is copyright (c) 2008-2010 by the WinPexpect authors. See the
# file "AUTHORS" for a complete overview.
from setuptools import setup
setup(
name = 'winpexpect',
version = '1.2',
description = 'A version of pexpect that works under Windows.',
author = 'Geert Jansen',
author_email = 'geert@boskant.nl',
url = 'http://bitbucket.org/geertj/winpexpect',
license = 'MIT',
classifiers = ['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Operating System :: Microsoft :: Windows'],
package_dir = {'': 'lib'},
py_modules = ['pexpect', 'winpexpect'],
test_suite = 'nose.collector'
)
<commit_msg>Set zip_safe to False as the stub may be called by a process that does not
have a writable egg cache.<commit_after>#
# This file is part of WinPexpect. WinPexpect is free software that is made
# available under the MIT license. Consult the file "LICENSE" that is
# distributed together with this file for the exact licensing terms.
#
# WinPexpect is copyright (c) 2008-2010 by the WinPexpect authors. See the
# file "AUTHORS" for a complete overview.
from setuptools import setup
setup(
name = 'winpexpect',
version = '1.2',
description = 'A version of pexpect that works under Windows.',
author = 'Geert Jansen',
author_email = 'geert@boskant.nl',
url = 'http://bitbucket.org/geertj/winpexpect',
license = 'MIT',
classifiers = ['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Operating System :: Microsoft :: Windows'],
package_dir = {'': 'lib'},
py_modules = ['pexpect', 'winpexpect'],
test_suite = 'nose.collector',
zip_safe = False
)
|
05c8dd06ff4f82f0030a30c4fefcaa98e53f3232 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='tangled.sqlalchemy',
version='0.1.dev0',
description='Tangled SQLAlchemy integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=find_packages(),
install_requires=(
'tangled>=0.1.dev0',
'SQLAlchemy',
),
extras_require={
'dev': (
'tangled[dev]',
),
},
classifiers=(
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
),
)
| from setuptools import setup
setup(
name='tangled.sqlalchemy',
version='0.1.dev0',
description='Tangled SQLAlchemy integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
install_requires=[
'tangled>=0.1.dev0',
'SQLAlchemy',
],
extras_require={
'dev': [
'tangled[dev]',
],
},
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
],
)
| Update package configuration, pt. ii | Update package configuration, pt. ii
| Python | mit | TangledWeb/tangled.sqlalchemy | from setuptools import setup, find_packages
setup(
name='tangled.sqlalchemy',
version='0.1.dev0',
description='Tangled SQLAlchemy integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=find_packages(),
install_requires=(
'tangled>=0.1.dev0',
'SQLAlchemy',
),
extras_require={
'dev': (
'tangled[dev]',
),
},
classifiers=(
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
),
)
Update package configuration, pt. ii | from setuptools import setup
setup(
name='tangled.sqlalchemy',
version='0.1.dev0',
description='Tangled SQLAlchemy integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
install_requires=[
'tangled>=0.1.dev0',
'SQLAlchemy',
],
extras_require={
'dev': [
'tangled[dev]',
],
},
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
],
)
| <commit_before>from setuptools import setup, find_packages
setup(
name='tangled.sqlalchemy',
version='0.1.dev0',
description='Tangled SQLAlchemy integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=find_packages(),
install_requires=(
'tangled>=0.1.dev0',
'SQLAlchemy',
),
extras_require={
'dev': (
'tangled[dev]',
),
},
classifiers=(
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
),
)
<commit_msg>Update package configuration, pt. ii<commit_after> | from setuptools import setup
setup(
name='tangled.sqlalchemy',
version='0.1.dev0',
description='Tangled SQLAlchemy integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
install_requires=[
'tangled>=0.1.dev0',
'SQLAlchemy',
],
extras_require={
'dev': [
'tangled[dev]',
],
},
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
],
)
| from setuptools import setup, find_packages
setup(
name='tangled.sqlalchemy',
version='0.1.dev0',
description='Tangled SQLAlchemy integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=find_packages(),
install_requires=(
'tangled>=0.1.dev0',
'SQLAlchemy',
),
extras_require={
'dev': (
'tangled[dev]',
),
},
classifiers=(
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
),
)
Update package configuration, pt. iifrom setuptools import setup
setup(
name='tangled.sqlalchemy',
version='0.1.dev0',
description='Tangled SQLAlchemy integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
install_requires=[
'tangled>=0.1.dev0',
'SQLAlchemy',
],
extras_require={
'dev': [
'tangled[dev]',
],
},
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
],
)
| <commit_before>from setuptools import setup, find_packages
setup(
name='tangled.sqlalchemy',
version='0.1.dev0',
description='Tangled SQLAlchemy integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=find_packages(),
install_requires=(
'tangled>=0.1.dev0',
'SQLAlchemy',
),
extras_require={
'dev': (
'tangled[dev]',
),
},
classifiers=(
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
),
)
<commit_msg>Update package configuration, pt. ii<commit_after>from setuptools import setup
setup(
name='tangled.sqlalchemy',
version='0.1.dev0',
description='Tangled SQLAlchemy integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
install_requires=[
'tangled>=0.1.dev0',
'SQLAlchemy',
],
extras_require={
'dev': [
'tangled[dev]',
],
},
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
],
)
|
34bdb1e936bcc511b69e0ebd86dd42ac93519cb1 | setup.py | setup.py | from setuptools import setup, find_packages
__author__ = 'shafferm'
setup(
name="SCNIC",
version="0.2",
setup_requires=['pytest-runner'],
test_require=['pytest'],
install_requires=["numpy", "scipy", "networkx", "biom-format", "pandas", "fast_sparCC"],
scripts=["scripts/SCNIC_analysis.py"],
packages=find_packages(),
description="A tool for finding and summarizing modules of highly correlated observations in compositional data",
author="Michael Shaffer",
author_email='michael.shaffer@ucdenver.edu',
url="https://github.com/shafferm/SCNIC/",
download_url="https://github.com/shafferm/SCNIC/tarball/0.2"
)
| from setuptools import setup, find_packages
__author__ = 'shafferm'
setup(
name="SCNIC",
version="0.2.1",
setup_requires=['pytest-runner'],
test_require=['pytest'],
install_requires=["numpy", "scipy", "networkx", "biom-format", "pandas", "fast_sparCC"],
scripts=["scripts/SCNIC_analysis.py"],
packages=find_packages(),
description="A tool for finding and summarizing modules of highly correlated observations in compositional data",
author="Michael Shaffer",
author_email='michael.shaffer@ucdenver.edu',
url="https://github.com/shafferm/SCNIC/",
download_url="https://github.com/shafferm/SCNIC/tarball/0.2.1"
)
| Update to version 0.2.1 as a result of fix in previous commit, ready to update on pip | Update to version 0.2.1 as a result of fix in previous commit, ready to update on pip
| Python | bsd-3-clause | shafferm/SCNIC | from setuptools import setup, find_packages
__author__ = 'shafferm'
setup(
name="SCNIC",
version="0.2",
setup_requires=['pytest-runner'],
test_require=['pytest'],
install_requires=["numpy", "scipy", "networkx", "biom-format", "pandas", "fast_sparCC"],
scripts=["scripts/SCNIC_analysis.py"],
packages=find_packages(),
description="A tool for finding and summarizing modules of highly correlated observations in compositional data",
author="Michael Shaffer",
author_email='michael.shaffer@ucdenver.edu',
url="https://github.com/shafferm/SCNIC/",
download_url="https://github.com/shafferm/SCNIC/tarball/0.2"
)
Update to version 0.2.1 as a result of fix in previous commit, ready to update on pip | from setuptools import setup, find_packages
__author__ = 'shafferm'
setup(
name="SCNIC",
version="0.2.1",
setup_requires=['pytest-runner'],
test_require=['pytest'],
install_requires=["numpy", "scipy", "networkx", "biom-format", "pandas", "fast_sparCC"],
scripts=["scripts/SCNIC_analysis.py"],
packages=find_packages(),
description="A tool for finding and summarizing modules of highly correlated observations in compositional data",
author="Michael Shaffer",
author_email='michael.shaffer@ucdenver.edu',
url="https://github.com/shafferm/SCNIC/",
download_url="https://github.com/shafferm/SCNIC/tarball/0.2.1"
)
| <commit_before>from setuptools import setup, find_packages
__author__ = 'shafferm'
setup(
name="SCNIC",
version="0.2",
setup_requires=['pytest-runner'],
test_require=['pytest'],
install_requires=["numpy", "scipy", "networkx", "biom-format", "pandas", "fast_sparCC"],
scripts=["scripts/SCNIC_analysis.py"],
packages=find_packages(),
description="A tool for finding and summarizing modules of highly correlated observations in compositional data",
author="Michael Shaffer",
author_email='michael.shaffer@ucdenver.edu',
url="https://github.com/shafferm/SCNIC/",
download_url="https://github.com/shafferm/SCNIC/tarball/0.2"
)
<commit_msg>Update to version 0.2.1 as a result of fix in previous commit, ready to update on pip<commit_after> | from setuptools import setup, find_packages
__author__ = 'shafferm'
setup(
name="SCNIC",
version="0.2.1",
setup_requires=['pytest-runner'],
test_require=['pytest'],
install_requires=["numpy", "scipy", "networkx", "biom-format", "pandas", "fast_sparCC"],
scripts=["scripts/SCNIC_analysis.py"],
packages=find_packages(),
description="A tool for finding and summarizing modules of highly correlated observations in compositional data",
author="Michael Shaffer",
author_email='michael.shaffer@ucdenver.edu',
url="https://github.com/shafferm/SCNIC/",
download_url="https://github.com/shafferm/SCNIC/tarball/0.2.1"
)
| from setuptools import setup, find_packages
__author__ = 'shafferm'
setup(
name="SCNIC",
version="0.2",
setup_requires=['pytest-runner'],
test_require=['pytest'],
install_requires=["numpy", "scipy", "networkx", "biom-format", "pandas", "fast_sparCC"],
scripts=["scripts/SCNIC_analysis.py"],
packages=find_packages(),
description="A tool for finding and summarizing modules of highly correlated observations in compositional data",
author="Michael Shaffer",
author_email='michael.shaffer@ucdenver.edu',
url="https://github.com/shafferm/SCNIC/",
download_url="https://github.com/shafferm/SCNIC/tarball/0.2"
)
Update to version 0.2.1 as a result of fix in previous commit, ready to update on pipfrom setuptools import setup, find_packages
__author__ = 'shafferm'
setup(
name="SCNIC",
version="0.2.1",
setup_requires=['pytest-runner'],
test_require=['pytest'],
install_requires=["numpy", "scipy", "networkx", "biom-format", "pandas", "fast_sparCC"],
scripts=["scripts/SCNIC_analysis.py"],
packages=find_packages(),
description="A tool for finding and summarizing modules of highly correlated observations in compositional data",
author="Michael Shaffer",
author_email='michael.shaffer@ucdenver.edu',
url="https://github.com/shafferm/SCNIC/",
download_url="https://github.com/shafferm/SCNIC/tarball/0.2.1"
)
| <commit_before>from setuptools import setup, find_packages
__author__ = 'shafferm'
setup(
name="SCNIC",
version="0.2",
setup_requires=['pytest-runner'],
test_require=['pytest'],
install_requires=["numpy", "scipy", "networkx", "biom-format", "pandas", "fast_sparCC"],
scripts=["scripts/SCNIC_analysis.py"],
packages=find_packages(),
description="A tool for finding and summarizing modules of highly correlated observations in compositional data",
author="Michael Shaffer",
author_email='michael.shaffer@ucdenver.edu',
url="https://github.com/shafferm/SCNIC/",
download_url="https://github.com/shafferm/SCNIC/tarball/0.2"
)
<commit_msg>Update to version 0.2.1 as a result of fix in previous commit, ready to update on pip<commit_after>from setuptools import setup, find_packages
__author__ = 'shafferm'
setup(
name="SCNIC",
version="0.2.1",
setup_requires=['pytest-runner'],
test_require=['pytest'],
install_requires=["numpy", "scipy", "networkx", "biom-format", "pandas", "fast_sparCC"],
scripts=["scripts/SCNIC_analysis.py"],
packages=find_packages(),
description="A tool for finding and summarizing modules of highly correlated observations in compositional data",
author="Michael Shaffer",
author_email='michael.shaffer@ucdenver.edu',
url="https://github.com/shafferm/SCNIC/",
download_url="https://github.com/shafferm/SCNIC/tarball/0.2.1"
)
|
cd62369097feba54172c0048c4ef0ec0713be6d3 | linter.py | linter.py |
#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Ivan Sobolev
# Copyright (c) 2016 Ivan Sobolev
#
# License: MIT
#
"""This module exports the Bemlint plugin class."""
from SublimeLinter.lint import NodeLinter, util
class Bemlint(NodeLinter):
"""Provides an interface to bemlint."""
syntax = ('html', 'html+tt2', 'html+tt3')
cmd = ('bemlint', '@', '--format', 'compact')
version_args = '--version'
version_re = r'v(?P<version>\d+\.\d+\.\d+)'
version_requirement = '>= 1.4.5'
config_file = ('--config', '.bemlint.json')
regex = (
r'^.+?: line (?P<line>\d+), col (?P<col>\d+), '
r'(?:(?P<error>Error)|(?P<warning>Warning)) - '
r'(?P<message>.+)'
)
multiline = False
line_col_base = (1, 1)
error_stream = util.STREAM_BOTH
tempfile_suffix = 'bem'
|
#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Ivan Sobolev
# Copyright (c) 2016 Ivan Sobolev
#
# License: MIT
#
"""This module exports the Bemlint plugin class."""
from SublimeLinter.lint import NodeLinter, util
class Bemlint(NodeLinter):
"""Provides an interface to bemlint."""
name = 'bemlint'
cmd = 'bemlint @ ${args}'
config_file = ('--config', '.bemlint.json')
regex = (
r'^.+?: line (?P<line>\d+), col (?P<col>\d+), '
r'(?:(?P<error>Error)|(?P<warning>Warning)) - '
r'(?P<message>.+)'
)
multiline = False
line_col_base = (1, 1)
error_stream = util.STREAM_BOTH
tempfile_suffix = 'bem'
defaults = {
'selector': 'text.html',
'--format': 'compact',
}
# the following attributes are marked useless for SL4
version_args = '--version'
version_re = r'v(?P<version>\d+\.\d+\.\d+)'
version_requirement = '>= 1.4.5'
| Fix compatibility for SublimeLinter 4.12.0 | Fix compatibility for SublimeLinter 4.12.0
Signed-off-by: Jack Cherng <159f0f32a62cc912ca55f89bb5e06807cf019bc7@gmail.com>
| Python | mit | DesTincT/SublimeLinter-contrib-bemlint |
#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Ivan Sobolev
# Copyright (c) 2016 Ivan Sobolev
#
# License: MIT
#
"""This module exports the Bemlint plugin class."""
from SublimeLinter.lint import NodeLinter, util
class Bemlint(NodeLinter):
"""Provides an interface to bemlint."""
syntax = ('html', 'html+tt2', 'html+tt3')
cmd = ('bemlint', '@', '--format', 'compact')
version_args = '--version'
version_re = r'v(?P<version>\d+\.\d+\.\d+)'
version_requirement = '>= 1.4.5'
config_file = ('--config', '.bemlint.json')
regex = (
r'^.+?: line (?P<line>\d+), col (?P<col>\d+), '
r'(?:(?P<error>Error)|(?P<warning>Warning)) - '
r'(?P<message>.+)'
)
multiline = False
line_col_base = (1, 1)
error_stream = util.STREAM_BOTH
tempfile_suffix = 'bem'
Fix compatibility for SublimeLinter 4.12.0
Signed-off-by: Jack Cherng <159f0f32a62cc912ca55f89bb5e06807cf019bc7@gmail.com> |
#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Ivan Sobolev
# Copyright (c) 2016 Ivan Sobolev
#
# License: MIT
#
"""This module exports the Bemlint plugin class."""
from SublimeLinter.lint import NodeLinter, util
class Bemlint(NodeLinter):
"""Provides an interface to bemlint."""
name = 'bemlint'
cmd = 'bemlint @ ${args}'
config_file = ('--config', '.bemlint.json')
regex = (
r'^.+?: line (?P<line>\d+), col (?P<col>\d+), '
r'(?:(?P<error>Error)|(?P<warning>Warning)) - '
r'(?P<message>.+)'
)
multiline = False
line_col_base = (1, 1)
error_stream = util.STREAM_BOTH
tempfile_suffix = 'bem'
defaults = {
'selector': 'text.html',
'--format': 'compact',
}
# the following attributes are marked useless for SL4
version_args = '--version'
version_re = r'v(?P<version>\d+\.\d+\.\d+)'
version_requirement = '>= 1.4.5'
| <commit_before>
#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Ivan Sobolev
# Copyright (c) 2016 Ivan Sobolev
#
# License: MIT
#
"""This module exports the Bemlint plugin class."""
from SublimeLinter.lint import NodeLinter, util
class Bemlint(NodeLinter):
"""Provides an interface to bemlint."""
syntax = ('html', 'html+tt2', 'html+tt3')
cmd = ('bemlint', '@', '--format', 'compact')
version_args = '--version'
version_re = r'v(?P<version>\d+\.\d+\.\d+)'
version_requirement = '>= 1.4.5'
config_file = ('--config', '.bemlint.json')
regex = (
r'^.+?: line (?P<line>\d+), col (?P<col>\d+), '
r'(?:(?P<error>Error)|(?P<warning>Warning)) - '
r'(?P<message>.+)'
)
multiline = False
line_col_base = (1, 1)
error_stream = util.STREAM_BOTH
tempfile_suffix = 'bem'
<commit_msg>Fix compatibility for SublimeLinter 4.12.0
Signed-off-by: Jack Cherng <159f0f32a62cc912ca55f89bb5e06807cf019bc7@gmail.com><commit_after> |
#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Ivan Sobolev
# Copyright (c) 2016 Ivan Sobolev
#
# License: MIT
#
"""This module exports the Bemlint plugin class."""
from SublimeLinter.lint import NodeLinter, util
class Bemlint(NodeLinter):
"""Provides an interface to bemlint."""
name = 'bemlint'
cmd = 'bemlint @ ${args}'
config_file = ('--config', '.bemlint.json')
regex = (
r'^.+?: line (?P<line>\d+), col (?P<col>\d+), '
r'(?:(?P<error>Error)|(?P<warning>Warning)) - '
r'(?P<message>.+)'
)
multiline = False
line_col_base = (1, 1)
error_stream = util.STREAM_BOTH
tempfile_suffix = 'bem'
defaults = {
'selector': 'text.html',
'--format': 'compact',
}
# the following attributes are marked useless for SL4
version_args = '--version'
version_re = r'v(?P<version>\d+\.\d+\.\d+)'
version_requirement = '>= 1.4.5'
|
#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Ivan Sobolev
# Copyright (c) 2016 Ivan Sobolev
#
# License: MIT
#
"""This module exports the Bemlint plugin class."""
from SublimeLinter.lint import NodeLinter, util
class Bemlint(NodeLinter):
"""Provides an interface to bemlint."""
syntax = ('html', 'html+tt2', 'html+tt3')
cmd = ('bemlint', '@', '--format', 'compact')
version_args = '--version'
version_re = r'v(?P<version>\d+\.\d+\.\d+)'
version_requirement = '>= 1.4.5'
config_file = ('--config', '.bemlint.json')
regex = (
r'^.+?: line (?P<line>\d+), col (?P<col>\d+), '
r'(?:(?P<error>Error)|(?P<warning>Warning)) - '
r'(?P<message>.+)'
)
multiline = False
line_col_base = (1, 1)
error_stream = util.STREAM_BOTH
tempfile_suffix = 'bem'
Fix compatibility for SublimeLinter 4.12.0
Signed-off-by: Jack Cherng <159f0f32a62cc912ca55f89bb5e06807cf019bc7@gmail.com>
#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Ivan Sobolev
# Copyright (c) 2016 Ivan Sobolev
#
# License: MIT
#
"""This module exports the Bemlint plugin class."""
from SublimeLinter.lint import NodeLinter, util
class Bemlint(NodeLinter):
"""Provides an interface to bemlint."""
name = 'bemlint'
cmd = 'bemlint @ ${args}'
config_file = ('--config', '.bemlint.json')
regex = (
r'^.+?: line (?P<line>\d+), col (?P<col>\d+), '
r'(?:(?P<error>Error)|(?P<warning>Warning)) - '
r'(?P<message>.+)'
)
multiline = False
line_col_base = (1, 1)
error_stream = util.STREAM_BOTH
tempfile_suffix = 'bem'
defaults = {
'selector': 'text.html',
'--format': 'compact',
}
# the following attributes are marked useless for SL4
version_args = '--version'
version_re = r'v(?P<version>\d+\.\d+\.\d+)'
version_requirement = '>= 1.4.5'
| <commit_before>
#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Ivan Sobolev
# Copyright (c) 2016 Ivan Sobolev
#
# License: MIT
#
"""This module exports the Bemlint plugin class."""
from SublimeLinter.lint import NodeLinter, util
class Bemlint(NodeLinter):
"""Provides an interface to bemlint."""
syntax = ('html', 'html+tt2', 'html+tt3')
cmd = ('bemlint', '@', '--format', 'compact')
version_args = '--version'
version_re = r'v(?P<version>\d+\.\d+\.\d+)'
version_requirement = '>= 1.4.5'
config_file = ('--config', '.bemlint.json')
regex = (
r'^.+?: line (?P<line>\d+), col (?P<col>\d+), '
r'(?:(?P<error>Error)|(?P<warning>Warning)) - '
r'(?P<message>.+)'
)
multiline = False
line_col_base = (1, 1)
error_stream = util.STREAM_BOTH
tempfile_suffix = 'bem'
<commit_msg>Fix compatibility for SublimeLinter 4.12.0
Signed-off-by: Jack Cherng <159f0f32a62cc912ca55f89bb5e06807cf019bc7@gmail.com><commit_after>
#
# linter.py
# Linter for SublimeLinter3, a code checking framework for Sublime Text 3
#
# Written by Ivan Sobolev
# Copyright (c) 2016 Ivan Sobolev
#
# License: MIT
#
"""This module exports the Bemlint plugin class."""
from SublimeLinter.lint import NodeLinter, util
class Bemlint(NodeLinter):
"""Provides an interface to bemlint."""
name = 'bemlint'
cmd = 'bemlint @ ${args}'
config_file = ('--config', '.bemlint.json')
regex = (
r'^.+?: line (?P<line>\d+), col (?P<col>\d+), '
r'(?:(?P<error>Error)|(?P<warning>Warning)) - '
r'(?P<message>.+)'
)
multiline = False
line_col_base = (1, 1)
error_stream = util.STREAM_BOTH
tempfile_suffix = 'bem'
defaults = {
'selector': 'text.html',
'--format': 'compact',
}
# the following attributes are marked useless for SL4
version_args = '--version'
version_re = r'v(?P<version>\d+\.\d+\.\d+)'
version_requirement = '>= 1.4.5'
|
8e03b6e7ea7135bcf476e36c25a233f55ff1dffc | setup.py | setup.py | import sys
from setuptools import setup, find_packages
with open('VERSION') as version_fp:
VERSION = version_fp.read().strip()
if sys.version_info[:2] < (3, 4):
django_version = '1.8'
else:
django_version = '1.9'
setup(
name='django-perms',
version=VERSION,
url='https://github.com/PSU-OIT-ARC/django-perms',
author='Matt Johnson',
author_email='mdj2@pdx.edu',
maintainer='Wyatt Baldwin',
maintainer_email='wbaldwin@pdx.edu',
description='Syntactic sugar for handling permission functions in views, templates, and code',
packages=find_packages(),
zip_safe=False,
install_requires=[
'six>=1.10.0',
],
extras_require={
'dev': [
'coverage',
'django>={version},<{version}.999'.format(version=django_version),
'flake8',
'tox',
],
},
classifiers=[
'Framework :: Django',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
| import sys
from setuptools import setup, find_packages
with open('VERSION') as version_fp:
VERSION = version_fp.read().strip()
if sys.version_info[:2] < (3, 4):
django_version = '1.8'
else:
django_version = '1.9'
setup(
name='django-perms',
version=VERSION,
url='https://github.com/PSU-OIT-ARC/django-perms',
author='Matt Johnson',
author_email='mdj2@pdx.edu',
maintainer='Wyatt Baldwin',
maintainer_email='wbaldwin@pdx.edu',
description='Syntactic sugar for handling permission functions in views, templates, and code',
packages=find_packages(),
zip_safe=False,
install_requires=[
'six>=1.11.0',
],
extras_require={
'dev': [
'coverage',
'django>={version},<{version}.999'.format(version=django_version),
'flake8',
'tox',
],
},
classifiers=[
'Framework :: Django',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
| Upgrade six 1.10 to 1.11 | Upgrade six 1.10 to 1.11
| Python | mit | wylee/django-perms | import sys
from setuptools import setup, find_packages
with open('VERSION') as version_fp:
VERSION = version_fp.read().strip()
if sys.version_info[:2] < (3, 4):
django_version = '1.8'
else:
django_version = '1.9'
setup(
name='django-perms',
version=VERSION,
url='https://github.com/PSU-OIT-ARC/django-perms',
author='Matt Johnson',
author_email='mdj2@pdx.edu',
maintainer='Wyatt Baldwin',
maintainer_email='wbaldwin@pdx.edu',
description='Syntactic sugar for handling permission functions in views, templates, and code',
packages=find_packages(),
zip_safe=False,
install_requires=[
'six>=1.10.0',
],
extras_require={
'dev': [
'coverage',
'django>={version},<{version}.999'.format(version=django_version),
'flake8',
'tox',
],
},
classifiers=[
'Framework :: Django',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
Upgrade six 1.10 to 1.11 | import sys
from setuptools import setup, find_packages
with open('VERSION') as version_fp:
VERSION = version_fp.read().strip()
if sys.version_info[:2] < (3, 4):
django_version = '1.8'
else:
django_version = '1.9'
setup(
name='django-perms',
version=VERSION,
url='https://github.com/PSU-OIT-ARC/django-perms',
author='Matt Johnson',
author_email='mdj2@pdx.edu',
maintainer='Wyatt Baldwin',
maintainer_email='wbaldwin@pdx.edu',
description='Syntactic sugar for handling permission functions in views, templates, and code',
packages=find_packages(),
zip_safe=False,
install_requires=[
'six>=1.11.0',
],
extras_require={
'dev': [
'coverage',
'django>={version},<{version}.999'.format(version=django_version),
'flake8',
'tox',
],
},
classifiers=[
'Framework :: Django',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
| <commit_before>import sys
from setuptools import setup, find_packages
with open('VERSION') as version_fp:
VERSION = version_fp.read().strip()
if sys.version_info[:2] < (3, 4):
django_version = '1.8'
else:
django_version = '1.9'
setup(
name='django-perms',
version=VERSION,
url='https://github.com/PSU-OIT-ARC/django-perms',
author='Matt Johnson',
author_email='mdj2@pdx.edu',
maintainer='Wyatt Baldwin',
maintainer_email='wbaldwin@pdx.edu',
description='Syntactic sugar for handling permission functions in views, templates, and code',
packages=find_packages(),
zip_safe=False,
install_requires=[
'six>=1.10.0',
],
extras_require={
'dev': [
'coverage',
'django>={version},<{version}.999'.format(version=django_version),
'flake8',
'tox',
],
},
classifiers=[
'Framework :: Django',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
<commit_msg>Upgrade six 1.10 to 1.11<commit_after> | import sys
from setuptools import setup, find_packages
with open('VERSION') as version_fp:
VERSION = version_fp.read().strip()
if sys.version_info[:2] < (3, 4):
django_version = '1.8'
else:
django_version = '1.9'
setup(
name='django-perms',
version=VERSION,
url='https://github.com/PSU-OIT-ARC/django-perms',
author='Matt Johnson',
author_email='mdj2@pdx.edu',
maintainer='Wyatt Baldwin',
maintainer_email='wbaldwin@pdx.edu',
description='Syntactic sugar for handling permission functions in views, templates, and code',
packages=find_packages(),
zip_safe=False,
install_requires=[
'six>=1.11.0',
],
extras_require={
'dev': [
'coverage',
'django>={version},<{version}.999'.format(version=django_version),
'flake8',
'tox',
],
},
classifiers=[
'Framework :: Django',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
| import sys
from setuptools import setup, find_packages
with open('VERSION') as version_fp:
VERSION = version_fp.read().strip()
if sys.version_info[:2] < (3, 4):
django_version = '1.8'
else:
django_version = '1.9'
setup(
name='django-perms',
version=VERSION,
url='https://github.com/PSU-OIT-ARC/django-perms',
author='Matt Johnson',
author_email='mdj2@pdx.edu',
maintainer='Wyatt Baldwin',
maintainer_email='wbaldwin@pdx.edu',
description='Syntactic sugar for handling permission functions in views, templates, and code',
packages=find_packages(),
zip_safe=False,
install_requires=[
'six>=1.10.0',
],
extras_require={
'dev': [
'coverage',
'django>={version},<{version}.999'.format(version=django_version),
'flake8',
'tox',
],
},
classifiers=[
'Framework :: Django',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
Upgrade six 1.10 to 1.11import sys
from setuptools import setup, find_packages
with open('VERSION') as version_fp:
VERSION = version_fp.read().strip()
if sys.version_info[:2] < (3, 4):
django_version = '1.8'
else:
django_version = '1.9'
setup(
name='django-perms',
version=VERSION,
url='https://github.com/PSU-OIT-ARC/django-perms',
author='Matt Johnson',
author_email='mdj2@pdx.edu',
maintainer='Wyatt Baldwin',
maintainer_email='wbaldwin@pdx.edu',
description='Syntactic sugar for handling permission functions in views, templates, and code',
packages=find_packages(),
zip_safe=False,
install_requires=[
'six>=1.11.0',
],
extras_require={
'dev': [
'coverage',
'django>={version},<{version}.999'.format(version=django_version),
'flake8',
'tox',
],
},
classifiers=[
'Framework :: Django',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
| <commit_before>import sys
from setuptools import setup, find_packages
with open('VERSION') as version_fp:
VERSION = version_fp.read().strip()
if sys.version_info[:2] < (3, 4):
django_version = '1.8'
else:
django_version = '1.9'
setup(
name='django-perms',
version=VERSION,
url='https://github.com/PSU-OIT-ARC/django-perms',
author='Matt Johnson',
author_email='mdj2@pdx.edu',
maintainer='Wyatt Baldwin',
maintainer_email='wbaldwin@pdx.edu',
description='Syntactic sugar for handling permission functions in views, templates, and code',
packages=find_packages(),
zip_safe=False,
install_requires=[
'six>=1.10.0',
],
extras_require={
'dev': [
'coverage',
'django>={version},<{version}.999'.format(version=django_version),
'flake8',
'tox',
],
},
classifiers=[
'Framework :: Django',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
<commit_msg>Upgrade six 1.10 to 1.11<commit_after>import sys
from setuptools import setup, find_packages
with open('VERSION') as version_fp:
VERSION = version_fp.read().strip()
if sys.version_info[:2] < (3, 4):
django_version = '1.8'
else:
django_version = '1.9'
setup(
name='django-perms',
version=VERSION,
url='https://github.com/PSU-OIT-ARC/django-perms',
author='Matt Johnson',
author_email='mdj2@pdx.edu',
maintainer='Wyatt Baldwin',
maintainer_email='wbaldwin@pdx.edu',
description='Syntactic sugar for handling permission functions in views, templates, and code',
packages=find_packages(),
zip_safe=False,
install_requires=[
'six>=1.11.0',
],
extras_require={
'dev': [
'coverage',
'django>={version},<{version}.999'.format(version=django_version),
'flake8',
'tox',
],
},
classifiers=[
'Framework :: Django',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
|
b11a53464b2bcdf5ba26f43dbdb81e0a0fde44d7 | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name="pbs",
version="1.0",
author="Daniel Lombraña González",
author_email="info@pybossa.com",
description="PyBossa command line client",
license="AGPLv3",
url="https://github.com/PyBossa/pbs",
classifiers = ['Development Status :: 0 - Production',
'Environment :: Consle',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affer v3',
'Operating System :: OS Independent',
'Programming Language :: Python',],
py_modules=['pbs'],
install_requires=['Click', 'pybossa-client', 'requests', 'nose', 'mock', 'coverage',
'rednose'],
entry_points='''
[console_scripts]
pbs=pbs:cli
'''
)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
try:
from pypandoc import convert
read_md = lambda f: convert(f, 'rst')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
read_md = lambda f: open(f, 'r').read()
setup(
name="pybossa-pbs",
version="1.0",
author="Daniel Lombraña González",
author_email="info@pybossa.com",
description="PyBossa command line client",
long_description=read_md('README.md'),
license="AGPLv3",
url="https://github.com/PyBossa/pbs",
classifiers = ['Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Operating System :: OS Independent',
'Programming Language :: Python',],
py_modules=['pbs'],
install_requires=['Click', 'pybossa-client', 'requests', 'nose', 'mock', 'coverage',
'rednose', 'pypandoc'],
entry_points='''
[console_scripts]
pbs=pbs:cli
'''
)
| Use pandoc to convert from Markdown to RST for pypi | Use pandoc to convert from Markdown to RST for pypi
| Python | agpl-3.0 | PyBossa/pbs,PyBossa/pbs,PyBossa/pbs | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name="pbs",
version="1.0",
author="Daniel Lombraña González",
author_email="info@pybossa.com",
description="PyBossa command line client",
license="AGPLv3",
url="https://github.com/PyBossa/pbs",
classifiers = ['Development Status :: 0 - Production',
'Environment :: Consle',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affer v3',
'Operating System :: OS Independent',
'Programming Language :: Python',],
py_modules=['pbs'],
install_requires=['Click', 'pybossa-client', 'requests', 'nose', 'mock', 'coverage',
'rednose'],
entry_points='''
[console_scripts]
pbs=pbs:cli
'''
)
Use pandoc to convert from Markdown to RST for pypi | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
try:
from pypandoc import convert
read_md = lambda f: convert(f, 'rst')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
read_md = lambda f: open(f, 'r').read()
setup(
name="pybossa-pbs",
version="1.0",
author="Daniel Lombraña González",
author_email="info@pybossa.com",
description="PyBossa command line client",
long_description=read_md('README.md'),
license="AGPLv3",
url="https://github.com/PyBossa/pbs",
classifiers = ['Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Operating System :: OS Independent',
'Programming Language :: Python',],
py_modules=['pbs'],
install_requires=['Click', 'pybossa-client', 'requests', 'nose', 'mock', 'coverage',
'rednose', 'pypandoc'],
entry_points='''
[console_scripts]
pbs=pbs:cli
'''
)
| <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name="pbs",
version="1.0",
author="Daniel Lombraña González",
author_email="info@pybossa.com",
description="PyBossa command line client",
license="AGPLv3",
url="https://github.com/PyBossa/pbs",
classifiers = ['Development Status :: 0 - Production',
'Environment :: Consle',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affer v3',
'Operating System :: OS Independent',
'Programming Language :: Python',],
py_modules=['pbs'],
install_requires=['Click', 'pybossa-client', 'requests', 'nose', 'mock', 'coverage',
'rednose'],
entry_points='''
[console_scripts]
pbs=pbs:cli
'''
)
<commit_msg>Use pandoc to convert from Markdown to RST for pypi<commit_after> | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
try:
from pypandoc import convert
read_md = lambda f: convert(f, 'rst')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
read_md = lambda f: open(f, 'r').read()
setup(
name="pybossa-pbs",
version="1.0",
author="Daniel Lombraña González",
author_email="info@pybossa.com",
description="PyBossa command line client",
long_description=read_md('README.md'),
license="AGPLv3",
url="https://github.com/PyBossa/pbs",
classifiers = ['Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Operating System :: OS Independent',
'Programming Language :: Python',],
py_modules=['pbs'],
install_requires=['Click', 'pybossa-client', 'requests', 'nose', 'mock', 'coverage',
'rednose', 'pypandoc'],
entry_points='''
[console_scripts]
pbs=pbs:cli
'''
)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name="pbs",
version="1.0",
author="Daniel Lombraña González",
author_email="info@pybossa.com",
description="PyBossa command line client",
license="AGPLv3",
url="https://github.com/PyBossa/pbs",
classifiers = ['Development Status :: 0 - Production',
'Environment :: Consle',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affer v3',
'Operating System :: OS Independent',
'Programming Language :: Python',],
py_modules=['pbs'],
install_requires=['Click', 'pybossa-client', 'requests', 'nose', 'mock', 'coverage',
'rednose'],
entry_points='''
[console_scripts]
pbs=pbs:cli
'''
)
Use pandoc to convert from Markdown to RST for pypi#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
try:
from pypandoc import convert
read_md = lambda f: convert(f, 'rst')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
read_md = lambda f: open(f, 'r').read()
setup(
name="pybossa-pbs",
version="1.0",
author="Daniel Lombraña González",
author_email="info@pybossa.com",
description="PyBossa command line client",
long_description=read_md('README.md'),
license="AGPLv3",
url="https://github.com/PyBossa/pbs",
classifiers = ['Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Operating System :: OS Independent',
'Programming Language :: Python',],
py_modules=['pbs'],
install_requires=['Click', 'pybossa-client', 'requests', 'nose', 'mock', 'coverage',
'rednose', 'pypandoc'],
entry_points='''
[console_scripts]
pbs=pbs:cli
'''
)
| <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name="pbs",
version="1.0",
author="Daniel Lombraña González",
author_email="info@pybossa.com",
description="PyBossa command line client",
license="AGPLv3",
url="https://github.com/PyBossa/pbs",
classifiers = ['Development Status :: 0 - Production',
'Environment :: Consle',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affer v3',
'Operating System :: OS Independent',
'Programming Language :: Python',],
py_modules=['pbs'],
install_requires=['Click', 'pybossa-client', 'requests', 'nose', 'mock', 'coverage',
'rednose'],
entry_points='''
[console_scripts]
pbs=pbs:cli
'''
)
<commit_msg>Use pandoc to convert from Markdown to RST for pypi<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
try:
from pypandoc import convert
read_md = lambda f: convert(f, 'rst')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
read_md = lambda f: open(f, 'r').read()
setup(
name="pybossa-pbs",
version="1.0",
author="Daniel Lombraña González",
author_email="info@pybossa.com",
description="PyBossa command line client",
long_description=read_md('README.md'),
license="AGPLv3",
url="https://github.com/PyBossa/pbs",
classifiers = ['Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Operating System :: OS Independent',
'Programming Language :: Python',],
py_modules=['pbs'],
install_requires=['Click', 'pybossa-client', 'requests', 'nose', 'mock', 'coverage',
'rednose', 'pypandoc'],
entry_points='''
[console_scripts]
pbs=pbs:cli
'''
)
|
8ffb6559b9cfe2bf20bf41b52c4776d563c8929a | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="django-salmonella",
version='0.6.1',
author='Lincoln Loop: Seth Buntin, Yann Malet',
author_email='info@lincolnloop.com',
description=("raw_id_fields widget replacement that handles display of an object's "
"string value on change and can be overridden via a template."),
packages=find_packages(),
package_data={'salmonella': [
'static/salmonella/js/*.js',
'static/salmonella/img/*.gif',
'templates/salmonella/*.html',
'templates/salmonella/admin/*.html',
'templates/salmonella/admin/widgets/*.html'
]},
include_package_data=True,
url="http://github.com/lincolnloop/django-salmonella/",
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
| #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="django-salmonella",
version='0.6.1',
author='Lincoln Loop: Seth Buntin, Yann Malet',
author_email='info@lincolnloop.com',
description=("raw_id_fields widget replacement that handles display of an object's "
"string value on change and can be overridden via a template."),
packages=find_packages(),
package_data={'salmonella': [
'static/salmonella/js/*.js',
'static/salmonella/img/*.gif',
'templates/salmonella/*.html',
'templates/salmonella/admin/*.html',
'templates/salmonella/admin/widgets/*.html',
'templates/salmonella/admin/filters/*.html'
]},
include_package_data=True,
url="http://github.com/lincolnloop/django-salmonella/",
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
| Include filters to package data | Include filters to package data
| Python | mit | lincolnloop/django-salmonella,lincolnloop/django-salmonella,lincolnloop/django-salmonella,lincolnloop/django-salmonella | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="django-salmonella",
version='0.6.1',
author='Lincoln Loop: Seth Buntin, Yann Malet',
author_email='info@lincolnloop.com',
description=("raw_id_fields widget replacement that handles display of an object's "
"string value on change and can be overridden via a template."),
packages=find_packages(),
package_data={'salmonella': [
'static/salmonella/js/*.js',
'static/salmonella/img/*.gif',
'templates/salmonella/*.html',
'templates/salmonella/admin/*.html',
'templates/salmonella/admin/widgets/*.html'
]},
include_package_data=True,
url="http://github.com/lincolnloop/django-salmonella/",
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
Include filters to package data | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="django-salmonella",
version='0.6.1',
author='Lincoln Loop: Seth Buntin, Yann Malet',
author_email='info@lincolnloop.com',
description=("raw_id_fields widget replacement that handles display of an object's "
"string value on change and can be overridden via a template."),
packages=find_packages(),
package_data={'salmonella': [
'static/salmonella/js/*.js',
'static/salmonella/img/*.gif',
'templates/salmonella/*.html',
'templates/salmonella/admin/*.html',
'templates/salmonella/admin/widgets/*.html',
'templates/salmonella/admin/filters/*.html'
]},
include_package_data=True,
url="http://github.com/lincolnloop/django-salmonella/",
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
| <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="django-salmonella",
version='0.6.1',
author='Lincoln Loop: Seth Buntin, Yann Malet',
author_email='info@lincolnloop.com',
description=("raw_id_fields widget replacement that handles display of an object's "
"string value on change and can be overridden via a template."),
packages=find_packages(),
package_data={'salmonella': [
'static/salmonella/js/*.js',
'static/salmonella/img/*.gif',
'templates/salmonella/*.html',
'templates/salmonella/admin/*.html',
'templates/salmonella/admin/widgets/*.html'
]},
include_package_data=True,
url="http://github.com/lincolnloop/django-salmonella/",
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
<commit_msg>Include filters to package data<commit_after> | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="django-salmonella",
version='0.6.1',
author='Lincoln Loop: Seth Buntin, Yann Malet',
author_email='info@lincolnloop.com',
description=("raw_id_fields widget replacement that handles display of an object's "
"string value on change and can be overridden via a template."),
packages=find_packages(),
package_data={'salmonella': [
'static/salmonella/js/*.js',
'static/salmonella/img/*.gif',
'templates/salmonella/*.html',
'templates/salmonella/admin/*.html',
'templates/salmonella/admin/widgets/*.html',
'templates/salmonella/admin/filters/*.html'
]},
include_package_data=True,
url="http://github.com/lincolnloop/django-salmonella/",
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
| #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="django-salmonella",
version='0.6.1',
author='Lincoln Loop: Seth Buntin, Yann Malet',
author_email='info@lincolnloop.com',
description=("raw_id_fields widget replacement that handles display of an object's "
"string value on change and can be overridden via a template."),
packages=find_packages(),
package_data={'salmonella': [
'static/salmonella/js/*.js',
'static/salmonella/img/*.gif',
'templates/salmonella/*.html',
'templates/salmonella/admin/*.html',
'templates/salmonella/admin/widgets/*.html'
]},
include_package_data=True,
url="http://github.com/lincolnloop/django-salmonella/",
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
Include filters to package data#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="django-salmonella",
version='0.6.1',
author='Lincoln Loop: Seth Buntin, Yann Malet',
author_email='info@lincolnloop.com',
description=("raw_id_fields widget replacement that handles display of an object's "
"string value on change and can be overridden via a template."),
packages=find_packages(),
package_data={'salmonella': [
'static/salmonella/js/*.js',
'static/salmonella/img/*.gif',
'templates/salmonella/*.html',
'templates/salmonella/admin/*.html',
'templates/salmonella/admin/widgets/*.html',
'templates/salmonella/admin/filters/*.html'
]},
include_package_data=True,
url="http://github.com/lincolnloop/django-salmonella/",
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
| <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="django-salmonella",
version='0.6.1',
author='Lincoln Loop: Seth Buntin, Yann Malet',
author_email='info@lincolnloop.com',
description=("raw_id_fields widget replacement that handles display of an object's "
"string value on change and can be overridden via a template."),
packages=find_packages(),
package_data={'salmonella': [
'static/salmonella/js/*.js',
'static/salmonella/img/*.gif',
'templates/salmonella/*.html',
'templates/salmonella/admin/*.html',
'templates/salmonella/admin/widgets/*.html'
]},
include_package_data=True,
url="http://github.com/lincolnloop/django-salmonella/",
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
<commit_msg>Include filters to package data<commit_after>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="django-salmonella",
version='0.6.1',
author='Lincoln Loop: Seth Buntin, Yann Malet',
author_email='info@lincolnloop.com',
description=("raw_id_fields widget replacement that handles display of an object's "
"string value on change and can be overridden via a template."),
packages=find_packages(),
package_data={'salmonella': [
'static/salmonella/js/*.js',
'static/salmonella/img/*.gif',
'templates/salmonella/*.html',
'templates/salmonella/admin/*.html',
'templates/salmonella/admin/widgets/*.html',
'templates/salmonella/admin/filters/*.html'
]},
include_package_data=True,
url="http://github.com/lincolnloop/django-salmonella/",
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
|
a8708203a9de77c34d1df05986aee2f4033bdf63 | invoice/tasks.py | invoice/tasks.py | # -*- encoding: utf-8 -*-
import logging
from celery import shared_task
from django.utils import timezone
from invoice.models import InvoiceUser
from mail.service import queue_mail_message
from mail.tasks import process_mail
from .report import time_summary
logger = logging.getLogger(__name__)
@shared_task
def mail_time_summary():
users = []
for item in InvoiceUser.objects.all():
if item.mail_time_summary and item.user.email:
users.append(item.user)
for user in users:
logger.debug('mail_time_summary: {}'.format(user.username))
report = time_summary(user, days=1)
message = ''
for d, summary in report.items():
message = message + '\n\n{}, total time {}'.format(
d.strftime('%d/%m/%Y %A'),
summary['format_total'],
)
for ticket in summary['tickets']:
message = message + '\n{}: {}, {} ({})'.format(
ticket['pk'],
ticket['contact'],
ticket['description'],
ticket['format_minutes'],
)
queue_mail_message(
user,
[user.email],
'Time Summary for {}'.format(timezone.now().strftime('%d/%m/%Y')),
message,
)
if users:
process_mail.delay()
| # -*- encoding: utf-8 -*-
import logging
from celery import shared_task
from django.utils import timezone
from invoice.models import InvoiceUser
from mail.service import queue_mail_message
from mail.tasks import process_mail
from .report import time_summary
logger = logging.getLogger(__name__)
@shared_task
def mail_time_summary():
users = []
for item in InvoiceUser.objects.all():
if item.mail_time_summary and item.user.email:
users.append(item.user)
for user in users:
logger.info('mail_time_summary: {}'.format(user.username))
report = time_summary(user, days=1)
message = '<table border="0">'
for d, summary in report.items():
message = message + '<tr colspan="3">'
message = message + '<td>{}</td>'.format(d.strftime('%d/%m/%Y %A'))
message = message + '</tr>'
for ticket in summary['tickets']:
message = message + '<tr>'
message = message + '<td>{}</td>'.format(ticket['pk'])
message = message + '<td>{}, {}</td>'.format(
ticket['contact'],
ticket['description'],
)
message = message + '<td>{}</td>'.format(
ticket['format_minutes'],
)
message = message + '</tr>'
message = message + '<tr>'
message = message + '<td></td><td></td>'
message = message + '<td><b>{}</b></td>'.format(
summary['format_total']
)
message = message + '</tr>'
message = message + '</table>'
queue_mail_message(
user,
[user.email],
'Time Summary for {}'.format(timezone.now().strftime('%d/%m/%Y')),
message,
)
if users:
process_mail.delay()
| Put the time summary in an html table | Put the time summary in an html table
| Python | apache-2.0 | pkimber/invoice,pkimber/invoice,pkimber/invoice | # -*- encoding: utf-8 -*-
import logging
from celery import shared_task
from django.utils import timezone
from invoice.models import InvoiceUser
from mail.service import queue_mail_message
from mail.tasks import process_mail
from .report import time_summary
logger = logging.getLogger(__name__)
@shared_task
def mail_time_summary():
users = []
for item in InvoiceUser.objects.all():
if item.mail_time_summary and item.user.email:
users.append(item.user)
for user in users:
logger.debug('mail_time_summary: {}'.format(user.username))
report = time_summary(user, days=1)
message = ''
for d, summary in report.items():
message = message + '\n\n{}, total time {}'.format(
d.strftime('%d/%m/%Y %A'),
summary['format_total'],
)
for ticket in summary['tickets']:
message = message + '\n{}: {}, {} ({})'.format(
ticket['pk'],
ticket['contact'],
ticket['description'],
ticket['format_minutes'],
)
queue_mail_message(
user,
[user.email],
'Time Summary for {}'.format(timezone.now().strftime('%d/%m/%Y')),
message,
)
if users:
process_mail.delay()
Put the time summary in an html table | # -*- encoding: utf-8 -*-
import logging
from celery import shared_task
from django.utils import timezone
from invoice.models import InvoiceUser
from mail.service import queue_mail_message
from mail.tasks import process_mail
from .report import time_summary
logger = logging.getLogger(__name__)
@shared_task
def mail_time_summary():
users = []
for item in InvoiceUser.objects.all():
if item.mail_time_summary and item.user.email:
users.append(item.user)
for user in users:
logger.info('mail_time_summary: {}'.format(user.username))
report = time_summary(user, days=1)
message = '<table border="0">'
for d, summary in report.items():
message = message + '<tr colspan="3">'
message = message + '<td>{}</td>'.format(d.strftime('%d/%m/%Y %A'))
message = message + '</tr>'
for ticket in summary['tickets']:
message = message + '<tr>'
message = message + '<td>{}</td>'.format(ticket['pk'])
message = message + '<td>{}, {}</td>'.format(
ticket['contact'],
ticket['description'],
)
message = message + '<td>{}</td>'.format(
ticket['format_minutes'],
)
message = message + '</tr>'
message = message + '<tr>'
message = message + '<td></td><td></td>'
message = message + '<td><b>{}</b></td>'.format(
summary['format_total']
)
message = message + '</tr>'
message = message + '</table>'
queue_mail_message(
user,
[user.email],
'Time Summary for {}'.format(timezone.now().strftime('%d/%m/%Y')),
message,
)
if users:
process_mail.delay()
| <commit_before># -*- encoding: utf-8 -*-
import logging
from celery import shared_task
from django.utils import timezone
from invoice.models import InvoiceUser
from mail.service import queue_mail_message
from mail.tasks import process_mail
from .report import time_summary
logger = logging.getLogger(__name__)
@shared_task
def mail_time_summary():
users = []
for item in InvoiceUser.objects.all():
if item.mail_time_summary and item.user.email:
users.append(item.user)
for user in users:
logger.debug('mail_time_summary: {}'.format(user.username))
report = time_summary(user, days=1)
message = ''
for d, summary in report.items():
message = message + '\n\n{}, total time {}'.format(
d.strftime('%d/%m/%Y %A'),
summary['format_total'],
)
for ticket in summary['tickets']:
message = message + '\n{}: {}, {} ({})'.format(
ticket['pk'],
ticket['contact'],
ticket['description'],
ticket['format_minutes'],
)
queue_mail_message(
user,
[user.email],
'Time Summary for {}'.format(timezone.now().strftime('%d/%m/%Y')),
message,
)
if users:
process_mail.delay()
<commit_msg>Put the time summary in an html table<commit_after> | # -*- encoding: utf-8 -*-
import logging
from celery import shared_task
from django.utils import timezone
from invoice.models import InvoiceUser
from mail.service import queue_mail_message
from mail.tasks import process_mail
from .report import time_summary
logger = logging.getLogger(__name__)
@shared_task
def mail_time_summary():
users = []
for item in InvoiceUser.objects.all():
if item.mail_time_summary and item.user.email:
users.append(item.user)
for user in users:
logger.info('mail_time_summary: {}'.format(user.username))
report = time_summary(user, days=1)
message = '<table border="0">'
for d, summary in report.items():
message = message + '<tr colspan="3">'
message = message + '<td>{}</td>'.format(d.strftime('%d/%m/%Y %A'))
message = message + '</tr>'
for ticket in summary['tickets']:
message = message + '<tr>'
message = message + '<td>{}</td>'.format(ticket['pk'])
message = message + '<td>{}, {}</td>'.format(
ticket['contact'],
ticket['description'],
)
message = message + '<td>{}</td>'.format(
ticket['format_minutes'],
)
message = message + '</tr>'
message = message + '<tr>'
message = message + '<td></td><td></td>'
message = message + '<td><b>{}</b></td>'.format(
summary['format_total']
)
message = message + '</tr>'
message = message + '</table>'
queue_mail_message(
user,
[user.email],
'Time Summary for {}'.format(timezone.now().strftime('%d/%m/%Y')),
message,
)
if users:
process_mail.delay()
| # -*- encoding: utf-8 -*-
import logging
from celery import shared_task
from django.utils import timezone
from invoice.models import InvoiceUser
from mail.service import queue_mail_message
from mail.tasks import process_mail
from .report import time_summary
logger = logging.getLogger(__name__)
@shared_task
def mail_time_summary():
users = []
for item in InvoiceUser.objects.all():
if item.mail_time_summary and item.user.email:
users.append(item.user)
for user in users:
logger.debug('mail_time_summary: {}'.format(user.username))
report = time_summary(user, days=1)
message = ''
for d, summary in report.items():
message = message + '\n\n{}, total time {}'.format(
d.strftime('%d/%m/%Y %A'),
summary['format_total'],
)
for ticket in summary['tickets']:
message = message + '\n{}: {}, {} ({})'.format(
ticket['pk'],
ticket['contact'],
ticket['description'],
ticket['format_minutes'],
)
queue_mail_message(
user,
[user.email],
'Time Summary for {}'.format(timezone.now().strftime('%d/%m/%Y')),
message,
)
if users:
process_mail.delay()
Put the time summary in an html table# -*- encoding: utf-8 -*-
import logging
from celery import shared_task
from django.utils import timezone
from invoice.models import InvoiceUser
from mail.service import queue_mail_message
from mail.tasks import process_mail
from .report import time_summary
logger = logging.getLogger(__name__)
@shared_task
def mail_time_summary():
users = []
for item in InvoiceUser.objects.all():
if item.mail_time_summary and item.user.email:
users.append(item.user)
for user in users:
logger.info('mail_time_summary: {}'.format(user.username))
report = time_summary(user, days=1)
message = '<table border="0">'
for d, summary in report.items():
message = message + '<tr colspan="3">'
message = message + '<td>{}</td>'.format(d.strftime('%d/%m/%Y %A'))
message = message + '</tr>'
for ticket in summary['tickets']:
message = message + '<tr>'
message = message + '<td>{}</td>'.format(ticket['pk'])
message = message + '<td>{}, {}</td>'.format(
ticket['contact'],
ticket['description'],
)
message = message + '<td>{}</td>'.format(
ticket['format_minutes'],
)
message = message + '</tr>'
message = message + '<tr>'
message = message + '<td></td><td></td>'
message = message + '<td><b>{}</b></td>'.format(
summary['format_total']
)
message = message + '</tr>'
message = message + '</table>'
queue_mail_message(
user,
[user.email],
'Time Summary for {}'.format(timezone.now().strftime('%d/%m/%Y')),
message,
)
if users:
process_mail.delay()
| <commit_before># -*- encoding: utf-8 -*-
import logging
from celery import shared_task
from django.utils import timezone
from invoice.models import InvoiceUser
from mail.service import queue_mail_message
from mail.tasks import process_mail
from .report import time_summary
logger = logging.getLogger(__name__)
@shared_task
def mail_time_summary():
users = []
for item in InvoiceUser.objects.all():
if item.mail_time_summary and item.user.email:
users.append(item.user)
for user in users:
logger.debug('mail_time_summary: {}'.format(user.username))
report = time_summary(user, days=1)
message = ''
for d, summary in report.items():
message = message + '\n\n{}, total time {}'.format(
d.strftime('%d/%m/%Y %A'),
summary['format_total'],
)
for ticket in summary['tickets']:
message = message + '\n{}: {}, {} ({})'.format(
ticket['pk'],
ticket['contact'],
ticket['description'],
ticket['format_minutes'],
)
queue_mail_message(
user,
[user.email],
'Time Summary for {}'.format(timezone.now().strftime('%d/%m/%Y')),
message,
)
if users:
process_mail.delay()
<commit_msg>Put the time summary in an html table<commit_after># -*- encoding: utf-8 -*-
import logging
from celery import shared_task
from django.utils import timezone
from invoice.models import InvoiceUser
from mail.service import queue_mail_message
from mail.tasks import process_mail
from .report import time_summary
logger = logging.getLogger(__name__)
@shared_task
def mail_time_summary():
users = []
for item in InvoiceUser.objects.all():
if item.mail_time_summary and item.user.email:
users.append(item.user)
for user in users:
logger.info('mail_time_summary: {}'.format(user.username))
report = time_summary(user, days=1)
message = '<table border="0">'
for d, summary in report.items():
message = message + '<tr colspan="3">'
message = message + '<td>{}</td>'.format(d.strftime('%d/%m/%Y %A'))
message = message + '</tr>'
for ticket in summary['tickets']:
message = message + '<tr>'
message = message + '<td>{}</td>'.format(ticket['pk'])
message = message + '<td>{}, {}</td>'.format(
ticket['contact'],
ticket['description'],
)
message = message + '<td>{}</td>'.format(
ticket['format_minutes'],
)
message = message + '</tr>'
message = message + '<tr>'
message = message + '<td></td><td></td>'
message = message + '<td><b>{}</b></td>'.format(
summary['format_total']
)
message = message + '</tr>'
message = message + '</table>'
queue_mail_message(
user,
[user.email],
'Time Summary for {}'.format(timezone.now().strftime('%d/%m/%Y')),
message,
)
if users:
process_mail.delay()
|
e104f16b749c532b7af95cc4d59b811721645765 | custom/enikshay/const.py | custom/enikshay/const.py | PRIMARY_PHONE_NUMBER = 'contact_phone_number'
BACKUP_PHONE_NUMBER = 'secondary_contact_phone_number'
| PRIMARY_PHONE_NUMBER = 'phone_number'
BACKUP_PHONE_NUMBER = 'secondary_contact_phone_number'
| Update 99DOTS phone number property | Update 99DOTS phone number property | Python | bsd-3-clause | dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq | PRIMARY_PHONE_NUMBER = 'contact_phone_number'
BACKUP_PHONE_NUMBER = 'secondary_contact_phone_number'
Update 99DOTS phone number property | PRIMARY_PHONE_NUMBER = 'phone_number'
BACKUP_PHONE_NUMBER = 'secondary_contact_phone_number'
| <commit_before>PRIMARY_PHONE_NUMBER = 'contact_phone_number'
BACKUP_PHONE_NUMBER = 'secondary_contact_phone_number'
<commit_msg>Update 99DOTS phone number property<commit_after> | PRIMARY_PHONE_NUMBER = 'phone_number'
BACKUP_PHONE_NUMBER = 'secondary_contact_phone_number'
| PRIMARY_PHONE_NUMBER = 'contact_phone_number'
BACKUP_PHONE_NUMBER = 'secondary_contact_phone_number'
Update 99DOTS phone number propertyPRIMARY_PHONE_NUMBER = 'phone_number'
BACKUP_PHONE_NUMBER = 'secondary_contact_phone_number'
| <commit_before>PRIMARY_PHONE_NUMBER = 'contact_phone_number'
BACKUP_PHONE_NUMBER = 'secondary_contact_phone_number'
<commit_msg>Update 99DOTS phone number property<commit_after>PRIMARY_PHONE_NUMBER = 'phone_number'
BACKUP_PHONE_NUMBER = 'secondary_contact_phone_number'
|
0ddf70338c6522cccfa3dbb2a3eb5efffd46052b | setup.py | setup.py | from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
tests_require = [
'mock >= 1.0.1',
]
install_requires = [
'xmltodict >= 0.9.0',
'requests >= 2.5.1',
]
setup(
name='pynessus-api',
version='1.0dev',
description='A Python interface to the Nessus API',
long_description=long_description,
url='https://github.com/sait-berkeley-infosec/pynessus-api',
author='Arlan Jaska',
author_email='ajaska@berkeley.edu',
license='MIT',
packages=find_packages(),
install_requires=install_requires,
tests_require=tests_require,
)
| from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
tests_require = [
'mock >= 1.0.1',
'nose >= 1.3.4',
]
install_requires = [
'xmltodict >= 0.9.0',
'requests >= 2.5.1',
]
setup(
name='pynessus-api',
version='1.0dev',
description='A Python interface to the Nessus API',
long_description=long_description,
url='https://github.com/sait-berkeley-infosec/pynessus-api',
author='Arlan Jaska',
author_email='ajaska@berkeley.edu',
license='MIT',
packages=find_packages(),
install_requires=install_requires,
tests_require=tests_require,
)
| Switch to nosetests framework for testing | Switch to nosetests framework for testing
| Python | mit | sait-berkeley-infosec/pynessus-api | from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
tests_require = [
'mock >= 1.0.1',
]
install_requires = [
'xmltodict >= 0.9.0',
'requests >= 2.5.1',
]
setup(
name='pynessus-api',
version='1.0dev',
description='A Python interface to the Nessus API',
long_description=long_description,
url='https://github.com/sait-berkeley-infosec/pynessus-api',
author='Arlan Jaska',
author_email='ajaska@berkeley.edu',
license='MIT',
packages=find_packages(),
install_requires=install_requires,
tests_require=tests_require,
)
Switch to nosetests framework for testing | from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
tests_require = [
'mock >= 1.0.1',
'nose >= 1.3.4',
]
install_requires = [
'xmltodict >= 0.9.0',
'requests >= 2.5.1',
]
setup(
name='pynessus-api',
version='1.0dev',
description='A Python interface to the Nessus API',
long_description=long_description,
url='https://github.com/sait-berkeley-infosec/pynessus-api',
author='Arlan Jaska',
author_email='ajaska@berkeley.edu',
license='MIT',
packages=find_packages(),
install_requires=install_requires,
tests_require=tests_require,
)
| <commit_before>from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
tests_require = [
'mock >= 1.0.1',
]
install_requires = [
'xmltodict >= 0.9.0',
'requests >= 2.5.1',
]
setup(
name='pynessus-api',
version='1.0dev',
description='A Python interface to the Nessus API',
long_description=long_description,
url='https://github.com/sait-berkeley-infosec/pynessus-api',
author='Arlan Jaska',
author_email='ajaska@berkeley.edu',
license='MIT',
packages=find_packages(),
install_requires=install_requires,
tests_require=tests_require,
)
<commit_msg>Switch to nosetests framework for testing<commit_after> | from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
tests_require = [
'mock >= 1.0.1',
'nose >= 1.3.4',
]
install_requires = [
'xmltodict >= 0.9.0',
'requests >= 2.5.1',
]
setup(
name='pynessus-api',
version='1.0dev',
description='A Python interface to the Nessus API',
long_description=long_description,
url='https://github.com/sait-berkeley-infosec/pynessus-api',
author='Arlan Jaska',
author_email='ajaska@berkeley.edu',
license='MIT',
packages=find_packages(),
install_requires=install_requires,
tests_require=tests_require,
)
| from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
tests_require = [
'mock >= 1.0.1',
]
install_requires = [
'xmltodict >= 0.9.0',
'requests >= 2.5.1',
]
setup(
name='pynessus-api',
version='1.0dev',
description='A Python interface to the Nessus API',
long_description=long_description,
url='https://github.com/sait-berkeley-infosec/pynessus-api',
author='Arlan Jaska',
author_email='ajaska@berkeley.edu',
license='MIT',
packages=find_packages(),
install_requires=install_requires,
tests_require=tests_require,
)
Switch to nosetests framework for testingfrom setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
tests_require = [
'mock >= 1.0.1',
'nose >= 1.3.4',
]
install_requires = [
'xmltodict >= 0.9.0',
'requests >= 2.5.1',
]
setup(
name='pynessus-api',
version='1.0dev',
description='A Python interface to the Nessus API',
long_description=long_description,
url='https://github.com/sait-berkeley-infosec/pynessus-api',
author='Arlan Jaska',
author_email='ajaska@berkeley.edu',
license='MIT',
packages=find_packages(),
install_requires=install_requires,
tests_require=tests_require,
)
| <commit_before>from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
tests_require = [
'mock >= 1.0.1',
]
install_requires = [
'xmltodict >= 0.9.0',
'requests >= 2.5.1',
]
setup(
name='pynessus-api',
version='1.0dev',
description='A Python interface to the Nessus API',
long_description=long_description,
url='https://github.com/sait-berkeley-infosec/pynessus-api',
author='Arlan Jaska',
author_email='ajaska@berkeley.edu',
license='MIT',
packages=find_packages(),
install_requires=install_requires,
tests_require=tests_require,
)
<commit_msg>Switch to nosetests framework for testing<commit_after>from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
tests_require = [
'mock >= 1.0.1',
'nose >= 1.3.4',
]
install_requires = [
'xmltodict >= 0.9.0',
'requests >= 2.5.1',
]
setup(
name='pynessus-api',
version='1.0dev',
description='A Python interface to the Nessus API',
long_description=long_description,
url='https://github.com/sait-berkeley-infosec/pynessus-api',
author='Arlan Jaska',
author_email='ajaska@berkeley.edu',
license='MIT',
packages=find_packages(),
install_requires=install_requires,
tests_require=tests_require,
)
|
04ff248c628e5523bc22c532cf4518f210376307 | setup.py | setup.py | #!/usr/bin/env python
# NOTE: setup.py does NOT install the contents of the library dir
# for you, you should go through "make install" or "make RPMs"
# for that, or manually copy modules over.
import os
import sys
sys.path.insert(0, os.path.abspath('lib'))
from ansible import __version__, __author__
from distutils.core import setup
setup(name='ansible',
version=__version__,
description='Minimal SSH command and control',
author=__author__,
author_email='michael.dehaan@gmail.com',
url='http://ansible.github.com/',
license='GPLv3',
install_requires=['paramiko', 'jinja2', "PyYAML"],
package_dir={ 'ansible': 'lib/ansible' },
packages=[
'ansible',
'ansible.inventory',
'ansible.playbook',
'ansible.runner',
'ansible.runner.connection',
],
scripts=[
'bin/ansible',
'bin/ansible-playbook'
]
)
| #!/usr/bin/env python
# NOTE: setup.py does NOT install the contents of the library dir
# for you, you should go through "make install" or "make RPMs"
# for that, or manually copy modules over.
import os
import sys
sys.path.insert(0, os.path.abspath('lib'))
from ansible import __version__, __author__
from distutils.core import setup
setup(name='ansible',
version=__version__,
description='Minimal SSH command and control',
author=__author__,
author_email='michael.dehaan@gmail.com',
url='http://ansible.github.com/',
license='GPLv3',
install_requires=['paramiko', 'jinja2', "PyYAML"],
package_dir={ 'ansible': 'lib/ansible' },
packages=[
'ansible',
'ansible.inventory',
'ansible.playbook',
'ansible.runner',
'ansible.runner.connection',
],
scripts=[
'bin/ansible',
'bin/ansible-playbook',
'bin/ansible-pull'
]
)
| Include bin/ansible-pull as part of the sdist in distutils. | Include bin/ansible-pull as part of the sdist in distutils.
| Python | mit | thaim/ansible,thaim/ansible | #!/usr/bin/env python
# NOTE: setup.py does NOT install the contents of the library dir
# for you, you should go through "make install" or "make RPMs"
# for that, or manually copy modules over.
import os
import sys
sys.path.insert(0, os.path.abspath('lib'))
from ansible import __version__, __author__
from distutils.core import setup
setup(name='ansible',
version=__version__,
description='Minimal SSH command and control',
author=__author__,
author_email='michael.dehaan@gmail.com',
url='http://ansible.github.com/',
license='GPLv3',
install_requires=['paramiko', 'jinja2', "PyYAML"],
package_dir={ 'ansible': 'lib/ansible' },
packages=[
'ansible',
'ansible.inventory',
'ansible.playbook',
'ansible.runner',
'ansible.runner.connection',
],
scripts=[
'bin/ansible',
'bin/ansible-playbook'
]
)
Include bin/ansible-pull as part of the sdist in distutils. | #!/usr/bin/env python
# NOTE: setup.py does NOT install the contents of the library dir
# for you, you should go through "make install" or "make RPMs"
# for that, or manually copy modules over.
import os
import sys
sys.path.insert(0, os.path.abspath('lib'))
from ansible import __version__, __author__
from distutils.core import setup
setup(name='ansible',
version=__version__,
description='Minimal SSH command and control',
author=__author__,
author_email='michael.dehaan@gmail.com',
url='http://ansible.github.com/',
license='GPLv3',
install_requires=['paramiko', 'jinja2', "PyYAML"],
package_dir={ 'ansible': 'lib/ansible' },
packages=[
'ansible',
'ansible.inventory',
'ansible.playbook',
'ansible.runner',
'ansible.runner.connection',
],
scripts=[
'bin/ansible',
'bin/ansible-playbook',
'bin/ansible-pull'
]
)
| <commit_before>#!/usr/bin/env python
# NOTE: setup.py does NOT install the contents of the library dir
# for you, you should go through "make install" or "make RPMs"
# for that, or manually copy modules over.
import os
import sys
sys.path.insert(0, os.path.abspath('lib'))
from ansible import __version__, __author__
from distutils.core import setup
setup(name='ansible',
version=__version__,
description='Minimal SSH command and control',
author=__author__,
author_email='michael.dehaan@gmail.com',
url='http://ansible.github.com/',
license='GPLv3',
install_requires=['paramiko', 'jinja2', "PyYAML"],
package_dir={ 'ansible': 'lib/ansible' },
packages=[
'ansible',
'ansible.inventory',
'ansible.playbook',
'ansible.runner',
'ansible.runner.connection',
],
scripts=[
'bin/ansible',
'bin/ansible-playbook'
]
)
<commit_msg>Include bin/ansible-pull as part of the sdist in distutils.<commit_after> | #!/usr/bin/env python
# NOTE: setup.py does NOT install the contents of the library dir
# for you, you should go through "make install" or "make RPMs"
# for that, or manually copy modules over.
import os
import sys
sys.path.insert(0, os.path.abspath('lib'))
from ansible import __version__, __author__
from distutils.core import setup
setup(name='ansible',
version=__version__,
description='Minimal SSH command and control',
author=__author__,
author_email='michael.dehaan@gmail.com',
url='http://ansible.github.com/',
license='GPLv3',
install_requires=['paramiko', 'jinja2', "PyYAML"],
package_dir={ 'ansible': 'lib/ansible' },
packages=[
'ansible',
'ansible.inventory',
'ansible.playbook',
'ansible.runner',
'ansible.runner.connection',
],
scripts=[
'bin/ansible',
'bin/ansible-playbook',
'bin/ansible-pull'
]
)
| #!/usr/bin/env python
# NOTE: setup.py does NOT install the contents of the library dir
# for you, you should go through "make install" or "make RPMs"
# for that, or manually copy modules over.
import os
import sys
sys.path.insert(0, os.path.abspath('lib'))
from ansible import __version__, __author__
from distutils.core import setup
setup(name='ansible',
version=__version__,
description='Minimal SSH command and control',
author=__author__,
author_email='michael.dehaan@gmail.com',
url='http://ansible.github.com/',
license='GPLv3',
install_requires=['paramiko', 'jinja2', "PyYAML"],
package_dir={ 'ansible': 'lib/ansible' },
packages=[
'ansible',
'ansible.inventory',
'ansible.playbook',
'ansible.runner',
'ansible.runner.connection',
],
scripts=[
'bin/ansible',
'bin/ansible-playbook'
]
)
Include bin/ansible-pull as part of the sdist in distutils.#!/usr/bin/env python
# NOTE: setup.py does NOT install the contents of the library dir
# for you, you should go through "make install" or "make RPMs"
# for that, or manually copy modules over.
import os
import sys
sys.path.insert(0, os.path.abspath('lib'))
from ansible import __version__, __author__
from distutils.core import setup
setup(name='ansible',
version=__version__,
description='Minimal SSH command and control',
author=__author__,
author_email='michael.dehaan@gmail.com',
url='http://ansible.github.com/',
license='GPLv3',
install_requires=['paramiko', 'jinja2', "PyYAML"],
package_dir={ 'ansible': 'lib/ansible' },
packages=[
'ansible',
'ansible.inventory',
'ansible.playbook',
'ansible.runner',
'ansible.runner.connection',
],
scripts=[
'bin/ansible',
'bin/ansible-playbook',
'bin/ansible-pull'
]
)
| <commit_before>#!/usr/bin/env python
# NOTE: setup.py does NOT install the contents of the library dir
# for you, you should go through "make install" or "make RPMs"
# for that, or manually copy modules over.
import os
import sys
sys.path.insert(0, os.path.abspath('lib'))
from ansible import __version__, __author__
from distutils.core import setup
setup(name='ansible',
version=__version__,
description='Minimal SSH command and control',
author=__author__,
author_email='michael.dehaan@gmail.com',
url='http://ansible.github.com/',
license='GPLv3',
install_requires=['paramiko', 'jinja2', "PyYAML"],
package_dir={ 'ansible': 'lib/ansible' },
packages=[
'ansible',
'ansible.inventory',
'ansible.playbook',
'ansible.runner',
'ansible.runner.connection',
],
scripts=[
'bin/ansible',
'bin/ansible-playbook'
]
)
<commit_msg>Include bin/ansible-pull as part of the sdist in distutils.<commit_after>#!/usr/bin/env python
# NOTE: setup.py does NOT install the contents of the library dir
# for you, you should go through "make install" or "make RPMs"
# for that, or manually copy modules over.
import os
import sys
sys.path.insert(0, os.path.abspath('lib'))
from ansible import __version__, __author__
from distutils.core import setup
setup(name='ansible',
version=__version__,
description='Minimal SSH command and control',
author=__author__,
author_email='michael.dehaan@gmail.com',
url='http://ansible.github.com/',
license='GPLv3',
install_requires=['paramiko', 'jinja2', "PyYAML"],
package_dir={ 'ansible': 'lib/ansible' },
packages=[
'ansible',
'ansible.inventory',
'ansible.playbook',
'ansible.runner',
'ansible.runner.connection',
],
scripts=[
'bin/ansible',
'bin/ansible-playbook',
'bin/ansible-pull'
]
)
|
a8826a8ce89dcb697b747285b276c4d2ccc9685d | setup.py | setup.py | from cx_Freeze import setup, Executable
packages = [
"encodings",
"uvloop",
"motor",
"appdirs",
"packaging",
"packaging.version",
"_cffi_backend",
"asyncio",
"asyncio.base_events",
"asyncio.compat",
"raven.conf",
"raven.handlers",
"raven.processors"
]
# Dependencies are automatically detected, but it might need
# fine tuning.
buildOptions = dict(packages=packages, excludes=[])
base = 'Console'
executables = [
Executable('run.py', base=base)
]
setup(name='virtool',
version='3.0.0',
description='',
options=dict(build_exe=buildOptions),
executables=executables)
| from cx_Freeze import setup, Executable
packages = [
"encodings",
"uvloop",
"motor",
"appdirs",
"packaging",
"packaging.version",
"_cffi_backend",
"asyncio",
"asyncio.base_events",
"asyncio.compat",
"raven",
"raven.conf",
"raven.handlers",
"raven.processors"
]
# Dependencies are automatically detected, but it might need
# fine tuning.
buildOptions = dict(packages=packages, excludes=[])
base = 'Console'
executables = [
Executable('run.py', base=base)
]
setup(name='virtool',
version='3.0.0',
description='',
options=dict(build_exe=buildOptions),
executables=executables)
| Fix missing raven module again | Fix missing raven module again
| Python | mit | igboyes/virtool,virtool/virtool,igboyes/virtool,virtool/virtool | from cx_Freeze import setup, Executable
packages = [
"encodings",
"uvloop",
"motor",
"appdirs",
"packaging",
"packaging.version",
"_cffi_backend",
"asyncio",
"asyncio.base_events",
"asyncio.compat",
"raven.conf",
"raven.handlers",
"raven.processors"
]
# Dependencies are automatically detected, but it might need
# fine tuning.
buildOptions = dict(packages=packages, excludes=[])
base = 'Console'
executables = [
Executable('run.py', base=base)
]
setup(name='virtool',
version='3.0.0',
description='',
options=dict(build_exe=buildOptions),
executables=executables)
Fix missing raven module again | from cx_Freeze import setup, Executable
packages = [
"encodings",
"uvloop",
"motor",
"appdirs",
"packaging",
"packaging.version",
"_cffi_backend",
"asyncio",
"asyncio.base_events",
"asyncio.compat",
"raven",
"raven.conf",
"raven.handlers",
"raven.processors"
]
# Dependencies are automatically detected, but it might need
# fine tuning.
buildOptions = dict(packages=packages, excludes=[])
base = 'Console'
executables = [
Executable('run.py', base=base)
]
setup(name='virtool',
version='3.0.0',
description='',
options=dict(build_exe=buildOptions),
executables=executables)
| <commit_before>from cx_Freeze import setup, Executable
packages = [
"encodings",
"uvloop",
"motor",
"appdirs",
"packaging",
"packaging.version",
"_cffi_backend",
"asyncio",
"asyncio.base_events",
"asyncio.compat",
"raven.conf",
"raven.handlers",
"raven.processors"
]
# Dependencies are automatically detected, but it might need
# fine tuning.
buildOptions = dict(packages=packages, excludes=[])
base = 'Console'
executables = [
Executable('run.py', base=base)
]
setup(name='virtool',
version='3.0.0',
description='',
options=dict(build_exe=buildOptions),
executables=executables)
<commit_msg>Fix missing raven module again<commit_after> | from cx_Freeze import setup, Executable
packages = [
"encodings",
"uvloop",
"motor",
"appdirs",
"packaging",
"packaging.version",
"_cffi_backend",
"asyncio",
"asyncio.base_events",
"asyncio.compat",
"raven",
"raven.conf",
"raven.handlers",
"raven.processors"
]
# Dependencies are automatically detected, but it might need
# fine tuning.
buildOptions = dict(packages=packages, excludes=[])
base = 'Console'
executables = [
Executable('run.py', base=base)
]
setup(name='virtool',
version='3.0.0',
description='',
options=dict(build_exe=buildOptions),
executables=executables)
| from cx_Freeze import setup, Executable
packages = [
"encodings",
"uvloop",
"motor",
"appdirs",
"packaging",
"packaging.version",
"_cffi_backend",
"asyncio",
"asyncio.base_events",
"asyncio.compat",
"raven.conf",
"raven.handlers",
"raven.processors"
]
# Dependencies are automatically detected, but it might need
# fine tuning.
buildOptions = dict(packages=packages, excludes=[])
base = 'Console'
executables = [
Executable('run.py', base=base)
]
setup(name='virtool',
version='3.0.0',
description='',
options=dict(build_exe=buildOptions),
executables=executables)
Fix missing raven module againfrom cx_Freeze import setup, Executable
packages = [
"encodings",
"uvloop",
"motor",
"appdirs",
"packaging",
"packaging.version",
"_cffi_backend",
"asyncio",
"asyncio.base_events",
"asyncio.compat",
"raven",
"raven.conf",
"raven.handlers",
"raven.processors"
]
# Dependencies are automatically detected, but it might need
# fine tuning.
buildOptions = dict(packages=packages, excludes=[])
base = 'Console'
executables = [
Executable('run.py', base=base)
]
setup(name='virtool',
version='3.0.0',
description='',
options=dict(build_exe=buildOptions),
executables=executables)
| <commit_before>from cx_Freeze import setup, Executable
packages = [
"encodings",
"uvloop",
"motor",
"appdirs",
"packaging",
"packaging.version",
"_cffi_backend",
"asyncio",
"asyncio.base_events",
"asyncio.compat",
"raven.conf",
"raven.handlers",
"raven.processors"
]
# Dependencies are automatically detected, but it might need
# fine tuning.
buildOptions = dict(packages=packages, excludes=[])
base = 'Console'
executables = [
Executable('run.py', base=base)
]
setup(name='virtool',
version='3.0.0',
description='',
options=dict(build_exe=buildOptions),
executables=executables)
<commit_msg>Fix missing raven module again<commit_after>from cx_Freeze import setup, Executable
packages = [
"encodings",
"uvloop",
"motor",
"appdirs",
"packaging",
"packaging.version",
"_cffi_backend",
"asyncio",
"asyncio.base_events",
"asyncio.compat",
"raven",
"raven.conf",
"raven.handlers",
"raven.processors"
]
# Dependencies are automatically detected, but it might need
# fine tuning.
buildOptions = dict(packages=packages, excludes=[])
base = 'Console'
executables = [
Executable('run.py', base=base)
]
setup(name='virtool',
version='3.0.0',
description='',
options=dict(build_exe=buildOptions),
executables=executables)
|
c45f04b91249e47284043adc56555f0cc3ed3513 | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name = "django-webmaster-verification",
version = "0.1.1",
author = "Nicolas Kuttler",
author_email = "pypi@nicolaskuttler.com",
description = "Webmaster tools verification for Django",
long_description = open("README.rst").read(),
license = "BSD",
url = "http://github.com/nkuttler/django-webmaster-verification",
packages = ['webmaster_verification'],
package_data = {
'webmaster_verification': ['templates/webmaster_verification/*', ],
},
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Framework :: Django",
],
zip_safe = True,
)
| try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name = "django-webmaster-verification",
version = "0.1.3",
author = "Nicolas Kuttler",
author_email = "pypi@nicolaskuttler.com",
description = "Webmaster tools verification for Django",
long_description = open("README.rst").read(),
license = "BSD",
url = "http://github.com/nkuttler/django-webmaster-verification",
packages = ['webmaster_verification'],
include_package_data = True,
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Framework :: Django",
],
install_requires = [
"Django >= 1.3",
],
zip_safe = True,
)
| Include all package data and add django dependency | Include all package data and add django dependency
| Python | bsd-3-clause | nkuttler/django-webmaster-verification,nkuttler/django-webmaster-verification | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name = "django-webmaster-verification",
version = "0.1.1",
author = "Nicolas Kuttler",
author_email = "pypi@nicolaskuttler.com",
description = "Webmaster tools verification for Django",
long_description = open("README.rst").read(),
license = "BSD",
url = "http://github.com/nkuttler/django-webmaster-verification",
packages = ['webmaster_verification'],
package_data = {
'webmaster_verification': ['templates/webmaster_verification/*', ],
},
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Framework :: Django",
],
zip_safe = True,
)
Include all package data and add django dependency | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name = "django-webmaster-verification",
version = "0.1.3",
author = "Nicolas Kuttler",
author_email = "pypi@nicolaskuttler.com",
description = "Webmaster tools verification for Django",
long_description = open("README.rst").read(),
license = "BSD",
url = "http://github.com/nkuttler/django-webmaster-verification",
packages = ['webmaster_verification'],
include_package_data = True,
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Framework :: Django",
],
install_requires = [
"Django >= 1.3",
],
zip_safe = True,
)
| <commit_before>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name = "django-webmaster-verification",
version = "0.1.1",
author = "Nicolas Kuttler",
author_email = "pypi@nicolaskuttler.com",
description = "Webmaster tools verification for Django",
long_description = open("README.rst").read(),
license = "BSD",
url = "http://github.com/nkuttler/django-webmaster-verification",
packages = ['webmaster_verification'],
package_data = {
'webmaster_verification': ['templates/webmaster_verification/*', ],
},
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Framework :: Django",
],
zip_safe = True,
)
<commit_msg>Include all package data and add django dependency<commit_after> | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name = "django-webmaster-verification",
version = "0.1.3",
author = "Nicolas Kuttler",
author_email = "pypi@nicolaskuttler.com",
description = "Webmaster tools verification for Django",
long_description = open("README.rst").read(),
license = "BSD",
url = "http://github.com/nkuttler/django-webmaster-verification",
packages = ['webmaster_verification'],
include_package_data = True,
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Framework :: Django",
],
install_requires = [
"Django >= 1.3",
],
zip_safe = True,
)
| try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name = "django-webmaster-verification",
version = "0.1.1",
author = "Nicolas Kuttler",
author_email = "pypi@nicolaskuttler.com",
description = "Webmaster tools verification for Django",
long_description = open("README.rst").read(),
license = "BSD",
url = "http://github.com/nkuttler/django-webmaster-verification",
packages = ['webmaster_verification'],
package_data = {
'webmaster_verification': ['templates/webmaster_verification/*', ],
},
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Framework :: Django",
],
zip_safe = True,
)
Include all package data and add django dependencytry:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name = "django-webmaster-verification",
version = "0.1.3",
author = "Nicolas Kuttler",
author_email = "pypi@nicolaskuttler.com",
description = "Webmaster tools verification for Django",
long_description = open("README.rst").read(),
license = "BSD",
url = "http://github.com/nkuttler/django-webmaster-verification",
packages = ['webmaster_verification'],
include_package_data = True,
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Framework :: Django",
],
install_requires = [
"Django >= 1.3",
],
zip_safe = True,
)
| <commit_before>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name = "django-webmaster-verification",
version = "0.1.1",
author = "Nicolas Kuttler",
author_email = "pypi@nicolaskuttler.com",
description = "Webmaster tools verification for Django",
long_description = open("README.rst").read(),
license = "BSD",
url = "http://github.com/nkuttler/django-webmaster-verification",
packages = ['webmaster_verification'],
package_data = {
'webmaster_verification': ['templates/webmaster_verification/*', ],
},
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Framework :: Django",
],
zip_safe = True,
)
<commit_msg>Include all package data and add django dependency<commit_after>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name = "django-webmaster-verification",
version = "0.1.3",
author = "Nicolas Kuttler",
author_email = "pypi@nicolaskuttler.com",
description = "Webmaster tools verification for Django",
long_description = open("README.rst").read(),
license = "BSD",
url = "http://github.com/nkuttler/django-webmaster-verification",
packages = ['webmaster_verification'],
include_package_data = True,
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Framework :: Django",
],
install_requires = [
"Django >= 1.3",
],
zip_safe = True,
)
|
1be5076113608ac6cd7294dab8a8775396d6a5ba | setup.py | setup.py | #!/usr/bin/python2.4
from distutils.core import setup
setup(name='mox',
version='0.5.1',
py_modules=['mox', 'stubout'],
url='http://code.google.com/p/pymox/',
maintainer='pymox maintainers',
maintainer_email='mox-discuss@googlegroups.com',
license='Apache License, Version 2.0',
description='Mock object framework',
long_description='''Mox is a mock object framework for Python based on the
Java mock object framework EasyMock.''',
)
| #!/usr/bin/python2.4
from distutils.core import setup
setup(name='mox',
version='0.5.2',
py_modules=['mox', 'stubout'],
url='http://code.google.com/p/pymox/',
maintainer='pymox maintainers',
maintainer_email='mox-discuss@googlegroups.com',
license='Apache License, Version 2.0',
description='Mock object framework',
long_description='''Mox is a mock object framework for Python based on the
Java mock object framework EasyMock.''',
)
| Increment version number to 0.5.2 for new release. | Increment version number to 0.5.2 for new release.
git-svn-id: a6b788f8f337f972f2eef25e065b182c49e085b0@41 b1010a0a-674b-0410-b734-77272b80c875
| Python | apache-2.0 | freyes/pymox | #!/usr/bin/python2.4
from distutils.core import setup
setup(name='mox',
version='0.5.1',
py_modules=['mox', 'stubout'],
url='http://code.google.com/p/pymox/',
maintainer='pymox maintainers',
maintainer_email='mox-discuss@googlegroups.com',
license='Apache License, Version 2.0',
description='Mock object framework',
long_description='''Mox is a mock object framework for Python based on the
Java mock object framework EasyMock.''',
)
Increment version number to 0.5.2 for new release.
git-svn-id: a6b788f8f337f972f2eef25e065b182c49e085b0@41 b1010a0a-674b-0410-b734-77272b80c875 | #!/usr/bin/python2.4
from distutils.core import setup
setup(name='mox',
version='0.5.2',
py_modules=['mox', 'stubout'],
url='http://code.google.com/p/pymox/',
maintainer='pymox maintainers',
maintainer_email='mox-discuss@googlegroups.com',
license='Apache License, Version 2.0',
description='Mock object framework',
long_description='''Mox is a mock object framework for Python based on the
Java mock object framework EasyMock.''',
)
| <commit_before>#!/usr/bin/python2.4
from distutils.core import setup
setup(name='mox',
version='0.5.1',
py_modules=['mox', 'stubout'],
url='http://code.google.com/p/pymox/',
maintainer='pymox maintainers',
maintainer_email='mox-discuss@googlegroups.com',
license='Apache License, Version 2.0',
description='Mock object framework',
long_description='''Mox is a mock object framework for Python based on the
Java mock object framework EasyMock.''',
)
<commit_msg>Increment version number to 0.5.2 for new release.
git-svn-id: a6b788f8f337f972f2eef25e065b182c49e085b0@41 b1010a0a-674b-0410-b734-77272b80c875<commit_after> | #!/usr/bin/python2.4
from distutils.core import setup
setup(name='mox',
version='0.5.2',
py_modules=['mox', 'stubout'],
url='http://code.google.com/p/pymox/',
maintainer='pymox maintainers',
maintainer_email='mox-discuss@googlegroups.com',
license='Apache License, Version 2.0',
description='Mock object framework',
long_description='''Mox is a mock object framework for Python based on the
Java mock object framework EasyMock.''',
)
| #!/usr/bin/python2.4
from distutils.core import setup
setup(name='mox',
version='0.5.1',
py_modules=['mox', 'stubout'],
url='http://code.google.com/p/pymox/',
maintainer='pymox maintainers',
maintainer_email='mox-discuss@googlegroups.com',
license='Apache License, Version 2.0',
description='Mock object framework',
long_description='''Mox is a mock object framework for Python based on the
Java mock object framework EasyMock.''',
)
Increment version number to 0.5.2 for new release.
git-svn-id: a6b788f8f337f972f2eef25e065b182c49e085b0@41 b1010a0a-674b-0410-b734-77272b80c875#!/usr/bin/python2.4
from distutils.core import setup
setup(name='mox',
version='0.5.2',
py_modules=['mox', 'stubout'],
url='http://code.google.com/p/pymox/',
maintainer='pymox maintainers',
maintainer_email='mox-discuss@googlegroups.com',
license='Apache License, Version 2.0',
description='Mock object framework',
long_description='''Mox is a mock object framework for Python based on the
Java mock object framework EasyMock.''',
)
| <commit_before>#!/usr/bin/python2.4
from distutils.core import setup
setup(name='mox',
version='0.5.1',
py_modules=['mox', 'stubout'],
url='http://code.google.com/p/pymox/',
maintainer='pymox maintainers',
maintainer_email='mox-discuss@googlegroups.com',
license='Apache License, Version 2.0',
description='Mock object framework',
long_description='''Mox is a mock object framework for Python based on the
Java mock object framework EasyMock.''',
)
<commit_msg>Increment version number to 0.5.2 for new release.
git-svn-id: a6b788f8f337f972f2eef25e065b182c49e085b0@41 b1010a0a-674b-0410-b734-77272b80c875<commit_after>#!/usr/bin/python2.4
from distutils.core import setup
setup(name='mox',
version='0.5.2',
py_modules=['mox', 'stubout'],
url='http://code.google.com/p/pymox/',
maintainer='pymox maintainers',
maintainer_email='mox-discuss@googlegroups.com',
license='Apache License, Version 2.0',
description='Mock object framework',
long_description='''Mox is a mock object framework for Python based on the
Java mock object framework EasyMock.''',
)
|
3c93818f907dbc4a28677231d9f5e60ed9fdb87c | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
import dougrain
base_url = "http://github.com/wharris/dougrain/"
setup(
name = 'dougrain',
version = dougrain.__version__,
description = 'HAL JSON parser and generator',
author = 'Will Harris',
author_email = 'will@greatlibrary.net',
url = base_url,
packages = ['dougrain'],
provides = ['dougrain'],
long_description=open("README.md").read(),
install_requires = ['uritemplate >= 0.5.1'],
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD Licencse',
'Programming Language :: Python',
'Operating System :: POSIX',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
| #!/usr/bin/env python
from distutils.core import setup
import dougrain
base_url = "http://github.com/wharris/dougrain/"
setup(
name = 'dougrain',
version = dougrain.__version__,
description = 'HAL JSON parser and generator',
author = 'Will Harris',
author_email = 'will@greatlibrary.net',
url = base_url,
packages = ['dougrain'],
provides = ['dougrain'],
long_description=open("README.md").read(),
install_requires = ['uritemplate >= 0.5.1'],
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD Licencse',
'Programming Language :: Python',
'Operating System :: POSIX',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
| Make development status be Alpha. | Make development status be Alpha.
| Python | mit | wharris/dougrain | #!/usr/bin/env python
from distutils.core import setup
import dougrain
base_url = "http://github.com/wharris/dougrain/"
setup(
name = 'dougrain',
version = dougrain.__version__,
description = 'HAL JSON parser and generator',
author = 'Will Harris',
author_email = 'will@greatlibrary.net',
url = base_url,
packages = ['dougrain'],
provides = ['dougrain'],
long_description=open("README.md").read(),
install_requires = ['uritemplate >= 0.5.1'],
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD Licencse',
'Programming Language :: Python',
'Operating System :: POSIX',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
Make development status be Alpha. | #!/usr/bin/env python
from distutils.core import setup
import dougrain
base_url = "http://github.com/wharris/dougrain/"
setup(
name = 'dougrain',
version = dougrain.__version__,
description = 'HAL JSON parser and generator',
author = 'Will Harris',
author_email = 'will@greatlibrary.net',
url = base_url,
packages = ['dougrain'],
provides = ['dougrain'],
long_description=open("README.md").read(),
install_requires = ['uritemplate >= 0.5.1'],
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD Licencse',
'Programming Language :: Python',
'Operating System :: POSIX',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
| <commit_before>#!/usr/bin/env python
from distutils.core import setup
import dougrain
base_url = "http://github.com/wharris/dougrain/"
setup(
name = 'dougrain',
version = dougrain.__version__,
description = 'HAL JSON parser and generator',
author = 'Will Harris',
author_email = 'will@greatlibrary.net',
url = base_url,
packages = ['dougrain'],
provides = ['dougrain'],
long_description=open("README.md").read(),
install_requires = ['uritemplate >= 0.5.1'],
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD Licencse',
'Programming Language :: Python',
'Operating System :: POSIX',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
<commit_msg>Make development status be Alpha.<commit_after> | #!/usr/bin/env python
from distutils.core import setup
import dougrain
base_url = "http://github.com/wharris/dougrain/"
setup(
name = 'dougrain',
version = dougrain.__version__,
description = 'HAL JSON parser and generator',
author = 'Will Harris',
author_email = 'will@greatlibrary.net',
url = base_url,
packages = ['dougrain'],
provides = ['dougrain'],
long_description=open("README.md").read(),
install_requires = ['uritemplate >= 0.5.1'],
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD Licencse',
'Programming Language :: Python',
'Operating System :: POSIX',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
| #!/usr/bin/env python
from distutils.core import setup
import dougrain
base_url = "http://github.com/wharris/dougrain/"
setup(
name = 'dougrain',
version = dougrain.__version__,
description = 'HAL JSON parser and generator',
author = 'Will Harris',
author_email = 'will@greatlibrary.net',
url = base_url,
packages = ['dougrain'],
provides = ['dougrain'],
long_description=open("README.md").read(),
install_requires = ['uritemplate >= 0.5.1'],
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD Licencse',
'Programming Language :: Python',
'Operating System :: POSIX',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
Make development status be Alpha.#!/usr/bin/env python
from distutils.core import setup
import dougrain
base_url = "http://github.com/wharris/dougrain/"
setup(
name = 'dougrain',
version = dougrain.__version__,
description = 'HAL JSON parser and generator',
author = 'Will Harris',
author_email = 'will@greatlibrary.net',
url = base_url,
packages = ['dougrain'],
provides = ['dougrain'],
long_description=open("README.md").read(),
install_requires = ['uritemplate >= 0.5.1'],
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD Licencse',
'Programming Language :: Python',
'Operating System :: POSIX',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
| <commit_before>#!/usr/bin/env python
from distutils.core import setup
import dougrain
base_url = "http://github.com/wharris/dougrain/"
setup(
name = 'dougrain',
version = dougrain.__version__,
description = 'HAL JSON parser and generator',
author = 'Will Harris',
author_email = 'will@greatlibrary.net',
url = base_url,
packages = ['dougrain'],
provides = ['dougrain'],
long_description=open("README.md").read(),
install_requires = ['uritemplate >= 0.5.1'],
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD Licencse',
'Programming Language :: Python',
'Operating System :: POSIX',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
<commit_msg>Make development status be Alpha.<commit_after>#!/usr/bin/env python
from distutils.core import setup
import dougrain
base_url = "http://github.com/wharris/dougrain/"
setup(
name = 'dougrain',
version = dougrain.__version__,
description = 'HAL JSON parser and generator',
author = 'Will Harris',
author_email = 'will@greatlibrary.net',
url = base_url,
packages = ['dougrain'],
provides = ['dougrain'],
long_description=open("README.md").read(),
install_requires = ['uritemplate >= 0.5.1'],
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD Licencse',
'Programming Language :: Python',
'Operating System :: POSIX',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
|
3ed50012e47d4e3a07b5719f2f260663886ba0c7 | setup.py | setup.py | #!/usr/bin/env python
# encoding=utf-8
from __future__ import print_function
import os
import sys
try:
from setuptools import setup
except ImportError:
print("This package requires 'setuptools' to be installed.")
sys.exit(1)
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
setup(name='skosify',
version='2.2.1', # Use bumpversion to update
description='SKOS converter for RDFS/OWL/SKOS vocabularies.',
long_description=README,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
keywords='rdf skos',
author='Osma Suominen',
author_email='osma.suominen@helsinki.fi',
url='https://github.com/NatLibFi/Skosify',
license='MIT',
install_requires=['rdflib'],
setup_requires=['rdflib>=3.0.0,<6.0.0', 'pytest-runner>=2.9'],
tests_require=['pytest<6.0.0', 'pytest-pep8', 'pytest-cov', 'pytest-catchlog'],
packages=['skosify', 'skosify.rdftools'],
entry_points={'console_scripts': ['skosify=skosify.cli:main']}
)
| #!/usr/bin/env python
# encoding=utf-8
from __future__ import print_function
import os
import sys
try:
from setuptools import setup
except ImportError:
print("This package requires 'setuptools' to be installed.")
sys.exit(1)
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
setup(name='skosify',
version='2.2.1', # Use bumpversion to update
description='SKOS converter for RDFS/OWL/SKOS vocabularies.',
long_description=README,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
keywords='rdf skos',
author='Osma Suominen',
author_email='osma.suominen@helsinki.fi',
url='https://github.com/NatLibFi/Skosify',
license='MIT',
install_requires=['rdflib'],
setup_requires=['rdflib>=3.0.0', 'pytest-runner>=2.9'],
tests_require=['pytest<6.0.0', 'pytest-pep8', 'pytest-cov', 'pytest-catchlog'],
packages=['skosify', 'skosify.rdftools'],
entry_points={'console_scripts': ['skosify=skosify.cli:main']}
)
| Allow rdflib 6.0.0 to be used now that it should work | Allow rdflib 6.0.0 to be used now that it should work
| Python | mit | NatLibFi/Skosify,NatLibFi/Skosify | #!/usr/bin/env python
# encoding=utf-8
from __future__ import print_function
import os
import sys
try:
from setuptools import setup
except ImportError:
print("This package requires 'setuptools' to be installed.")
sys.exit(1)
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
setup(name='skosify',
version='2.2.1', # Use bumpversion to update
description='SKOS converter for RDFS/OWL/SKOS vocabularies.',
long_description=README,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
keywords='rdf skos',
author='Osma Suominen',
author_email='osma.suominen@helsinki.fi',
url='https://github.com/NatLibFi/Skosify',
license='MIT',
install_requires=['rdflib'],
setup_requires=['rdflib>=3.0.0,<6.0.0', 'pytest-runner>=2.9'],
tests_require=['pytest<6.0.0', 'pytest-pep8', 'pytest-cov', 'pytest-catchlog'],
packages=['skosify', 'skosify.rdftools'],
entry_points={'console_scripts': ['skosify=skosify.cli:main']}
)
Allow rdflib 6.0.0 to be used now that it should work | #!/usr/bin/env python
# encoding=utf-8
from __future__ import print_function
import os
import sys
try:
from setuptools import setup
except ImportError:
print("This package requires 'setuptools' to be installed.")
sys.exit(1)
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
setup(name='skosify',
version='2.2.1', # Use bumpversion to update
description='SKOS converter for RDFS/OWL/SKOS vocabularies.',
long_description=README,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
keywords='rdf skos',
author='Osma Suominen',
author_email='osma.suominen@helsinki.fi',
url='https://github.com/NatLibFi/Skosify',
license='MIT',
install_requires=['rdflib'],
setup_requires=['rdflib>=3.0.0', 'pytest-runner>=2.9'],
tests_require=['pytest<6.0.0', 'pytest-pep8', 'pytest-cov', 'pytest-catchlog'],
packages=['skosify', 'skosify.rdftools'],
entry_points={'console_scripts': ['skosify=skosify.cli:main']}
)
| <commit_before>#!/usr/bin/env python
# encoding=utf-8
from __future__ import print_function
import os
import sys
try:
from setuptools import setup
except ImportError:
print("This package requires 'setuptools' to be installed.")
sys.exit(1)
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
setup(name='skosify',
version='2.2.1', # Use bumpversion to update
description='SKOS converter for RDFS/OWL/SKOS vocabularies.',
long_description=README,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
keywords='rdf skos',
author='Osma Suominen',
author_email='osma.suominen@helsinki.fi',
url='https://github.com/NatLibFi/Skosify',
license='MIT',
install_requires=['rdflib'],
setup_requires=['rdflib>=3.0.0,<6.0.0', 'pytest-runner>=2.9'],
tests_require=['pytest<6.0.0', 'pytest-pep8', 'pytest-cov', 'pytest-catchlog'],
packages=['skosify', 'skosify.rdftools'],
entry_points={'console_scripts': ['skosify=skosify.cli:main']}
)
<commit_msg>Allow rdflib 6.0.0 to be used now that it should work<commit_after> | #!/usr/bin/env python
# encoding=utf-8
from __future__ import print_function
import os
import sys
try:
from setuptools import setup
except ImportError:
print("This package requires 'setuptools' to be installed.")
sys.exit(1)
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
setup(name='skosify',
version='2.2.1', # Use bumpversion to update
description='SKOS converter for RDFS/OWL/SKOS vocabularies.',
long_description=README,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
keywords='rdf skos',
author='Osma Suominen',
author_email='osma.suominen@helsinki.fi',
url='https://github.com/NatLibFi/Skosify',
license='MIT',
install_requires=['rdflib'],
setup_requires=['rdflib>=3.0.0', 'pytest-runner>=2.9'],
tests_require=['pytest<6.0.0', 'pytest-pep8', 'pytest-cov', 'pytest-catchlog'],
packages=['skosify', 'skosify.rdftools'],
entry_points={'console_scripts': ['skosify=skosify.cli:main']}
)
| #!/usr/bin/env python
# encoding=utf-8
from __future__ import print_function
import os
import sys
try:
from setuptools import setup
except ImportError:
print("This package requires 'setuptools' to be installed.")
sys.exit(1)
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
setup(name='skosify',
version='2.2.1', # Use bumpversion to update
description='SKOS converter for RDFS/OWL/SKOS vocabularies.',
long_description=README,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
keywords='rdf skos',
author='Osma Suominen',
author_email='osma.suominen@helsinki.fi',
url='https://github.com/NatLibFi/Skosify',
license='MIT',
install_requires=['rdflib'],
setup_requires=['rdflib>=3.0.0,<6.0.0', 'pytest-runner>=2.9'],
tests_require=['pytest<6.0.0', 'pytest-pep8', 'pytest-cov', 'pytest-catchlog'],
packages=['skosify', 'skosify.rdftools'],
entry_points={'console_scripts': ['skosify=skosify.cli:main']}
)
Allow rdflib 6.0.0 to be used now that it should work#!/usr/bin/env python
# encoding=utf-8
from __future__ import print_function
import os
import sys
try:
from setuptools import setup
except ImportError:
print("This package requires 'setuptools' to be installed.")
sys.exit(1)
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
setup(name='skosify',
version='2.2.1', # Use bumpversion to update
description='SKOS converter for RDFS/OWL/SKOS vocabularies.',
long_description=README,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
keywords='rdf skos',
author='Osma Suominen',
author_email='osma.suominen@helsinki.fi',
url='https://github.com/NatLibFi/Skosify',
license='MIT',
install_requires=['rdflib'],
setup_requires=['rdflib>=3.0.0', 'pytest-runner>=2.9'],
tests_require=['pytest<6.0.0', 'pytest-pep8', 'pytest-cov', 'pytest-catchlog'],
packages=['skosify', 'skosify.rdftools'],
entry_points={'console_scripts': ['skosify=skosify.cli:main']}
)
| <commit_before>#!/usr/bin/env python
# encoding=utf-8
from __future__ import print_function
import os
import sys
try:
from setuptools import setup
except ImportError:
print("This package requires 'setuptools' to be installed.")
sys.exit(1)
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
setup(name='skosify',
version='2.2.1', # Use bumpversion to update
description='SKOS converter for RDFS/OWL/SKOS vocabularies.',
long_description=README,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
keywords='rdf skos',
author='Osma Suominen',
author_email='osma.suominen@helsinki.fi',
url='https://github.com/NatLibFi/Skosify',
license='MIT',
install_requires=['rdflib'],
setup_requires=['rdflib>=3.0.0,<6.0.0', 'pytest-runner>=2.9'],
tests_require=['pytest<6.0.0', 'pytest-pep8', 'pytest-cov', 'pytest-catchlog'],
packages=['skosify', 'skosify.rdftools'],
entry_points={'console_scripts': ['skosify=skosify.cli:main']}
)
<commit_msg>Allow rdflib 6.0.0 to be used now that it should work<commit_after>#!/usr/bin/env python
# encoding=utf-8
from __future__ import print_function
import os
import sys
try:
from setuptools import setup
except ImportError:
print("This package requires 'setuptools' to be installed.")
sys.exit(1)
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
setup(name='skosify',
version='2.2.1', # Use bumpversion to update
description='SKOS converter for RDFS/OWL/SKOS vocabularies.',
long_description=README,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
keywords='rdf skos',
author='Osma Suominen',
author_email='osma.suominen@helsinki.fi',
url='https://github.com/NatLibFi/Skosify',
license='MIT',
install_requires=['rdflib'],
setup_requires=['rdflib>=3.0.0', 'pytest-runner>=2.9'],
tests_require=['pytest<6.0.0', 'pytest-pep8', 'pytest-cov', 'pytest-catchlog'],
packages=['skosify', 'skosify.rdftools'],
entry_points={'console_scripts': ['skosify=skosify.cli:main']}
)
|
a04477ca1566fa2cd9a4b208fcdeda7b03ef6a8c | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='kombine',
version='0.0.1',
description='An embarrassingly parallel, kernel-density-based\
ensemble sampler',
author='Ben Farr',
author_email='farr@uchicago.edu',
url='https://github.com/bfarr/kombine',
include_package_data=True,
packages=['kombine'],
install_requires=['numpy', 'scipy'],
)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='kombine',
version='0.1.0',
description='An embarrassingly parallel, kernel-density-based\
ensemble sampler',
author='Ben Farr',
author_email='farr@uchicago.edu',
url='https://github.com/bfarr/kombine',
include_package_data=True,
packages=['kombine'],
install_requires=['numpy', 'scipy'],
)
| Increment version number after RJMCMC addition | Increment version number after RJMCMC addition
| Python | mit | bfarr/kombine,stevertaylor/kombine | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='kombine',
version='0.0.1',
description='An embarrassingly parallel, kernel-density-based\
ensemble sampler',
author='Ben Farr',
author_email='farr@uchicago.edu',
url='https://github.com/bfarr/kombine',
include_package_data=True,
packages=['kombine'],
install_requires=['numpy', 'scipy'],
)
Increment version number after RJMCMC addition | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='kombine',
version='0.1.0',
description='An embarrassingly parallel, kernel-density-based\
ensemble sampler',
author='Ben Farr',
author_email='farr@uchicago.edu',
url='https://github.com/bfarr/kombine',
include_package_data=True,
packages=['kombine'],
install_requires=['numpy', 'scipy'],
)
| <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='kombine',
version='0.0.1',
description='An embarrassingly parallel, kernel-density-based\
ensemble sampler',
author='Ben Farr',
author_email='farr@uchicago.edu',
url='https://github.com/bfarr/kombine',
include_package_data=True,
packages=['kombine'],
install_requires=['numpy', 'scipy'],
)
<commit_msg>Increment version number after RJMCMC addition<commit_after> | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='kombine',
version='0.1.0',
description='An embarrassingly parallel, kernel-density-based\
ensemble sampler',
author='Ben Farr',
author_email='farr@uchicago.edu',
url='https://github.com/bfarr/kombine',
include_package_data=True,
packages=['kombine'],
install_requires=['numpy', 'scipy'],
)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='kombine',
version='0.0.1',
description='An embarrassingly parallel, kernel-density-based\
ensemble sampler',
author='Ben Farr',
author_email='farr@uchicago.edu',
url='https://github.com/bfarr/kombine',
include_package_data=True,
packages=['kombine'],
install_requires=['numpy', 'scipy'],
)
Increment version number after RJMCMC addition#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='kombine',
version='0.1.0',
description='An embarrassingly parallel, kernel-density-based\
ensemble sampler',
author='Ben Farr',
author_email='farr@uchicago.edu',
url='https://github.com/bfarr/kombine',
include_package_data=True,
packages=['kombine'],
install_requires=['numpy', 'scipy'],
)
| <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='kombine',
version='0.0.1',
description='An embarrassingly parallel, kernel-density-based\
ensemble sampler',
author='Ben Farr',
author_email='farr@uchicago.edu',
url='https://github.com/bfarr/kombine',
include_package_data=True,
packages=['kombine'],
install_requires=['numpy', 'scipy'],
)
<commit_msg>Increment version number after RJMCMC addition<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='kombine',
version='0.1.0',
description='An embarrassingly parallel, kernel-density-based\
ensemble sampler',
author='Ben Farr',
author_email='farr@uchicago.edu',
url='https://github.com/bfarr/kombine',
include_package_data=True,
packages=['kombine'],
install_requires=['numpy', 'scipy'],
)
|
fc3a02ed585bfb4d8ad404bceeebefae5496ebd4 | setup.py | setup.py | # coding: utf8
from distutils.core import setup
import trans
long_description = open('README.rst', 'r').read()
description = 'National characters transcription module.'
setup(
name='trans',
version=trans.__version__,
description=description,
long_description=long_description,
author='Zelenyak Aleksandr aka ZZZ',
author_email='zzz.sochi@gmail.com',
url='https://github.com/zzzsochi/trans',
license='BSD',
platforms='any',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
],
py_modules=['trans'],
)
| # coding: utf8
from distutils.core import setup
import trans
long_description = open('README.rst', 'r').read()
description = 'National characters transcription module.'
setup(
name='trans',
version=trans.__version__,
description=description,
long_description=long_description,
author='Zelenyak Aleksander aka ZZZ',
author_email='zzz.sochi@gmail.com',
url='https://github.com/zzzsochi/trans',
license='BSD',
platforms='any',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
py_modules=['trans'],
)
| Extend supported python versions and some pep8 fixes | Extend supported python versions and some pep8 fixes
| Python | bsd-2-clause | zzzsochi/trans | # coding: utf8
from distutils.core import setup
import trans
long_description = open('README.rst', 'r').read()
description = 'National characters transcription module.'
setup(
name='trans',
version=trans.__version__,
description=description,
long_description=long_description,
author='Zelenyak Aleksandr aka ZZZ',
author_email='zzz.sochi@gmail.com',
url='https://github.com/zzzsochi/trans',
license='BSD',
platforms='any',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
],
py_modules=['trans'],
)
Extend supported python versions and some pep8 fixes | # coding: utf8
from distutils.core import setup
import trans
long_description = open('README.rst', 'r').read()
description = 'National characters transcription module.'
setup(
name='trans',
version=trans.__version__,
description=description,
long_description=long_description,
author='Zelenyak Aleksander aka ZZZ',
author_email='zzz.sochi@gmail.com',
url='https://github.com/zzzsochi/trans',
license='BSD',
platforms='any',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
py_modules=['trans'],
)
| <commit_before># coding: utf8
from distutils.core import setup
import trans
long_description = open('README.rst', 'r').read()
description = 'National characters transcription module.'
setup(
name='trans',
version=trans.__version__,
description=description,
long_description=long_description,
author='Zelenyak Aleksandr aka ZZZ',
author_email='zzz.sochi@gmail.com',
url='https://github.com/zzzsochi/trans',
license='BSD',
platforms='any',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
],
py_modules=['trans'],
)
<commit_msg>Extend supported python versions and some pep8 fixes<commit_after> | # coding: utf8
from distutils.core import setup
import trans
long_description = open('README.rst', 'r').read()
description = 'National characters transcription module.'
setup(
name='trans',
version=trans.__version__,
description=description,
long_description=long_description,
author='Zelenyak Aleksander aka ZZZ',
author_email='zzz.sochi@gmail.com',
url='https://github.com/zzzsochi/trans',
license='BSD',
platforms='any',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
py_modules=['trans'],
)
| # coding: utf8
from distutils.core import setup
import trans
long_description = open('README.rst', 'r').read()
description = 'National characters transcription module.'
setup(
name='trans',
version=trans.__version__,
description=description,
long_description=long_description,
author='Zelenyak Aleksandr aka ZZZ',
author_email='zzz.sochi@gmail.com',
url='https://github.com/zzzsochi/trans',
license='BSD',
platforms='any',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
],
py_modules=['trans'],
)
Extend supported python versions and some pep8 fixes# coding: utf8
from distutils.core import setup
import trans
long_description = open('README.rst', 'r').read()
description = 'National characters transcription module.'
setup(
name='trans',
version=trans.__version__,
description=description,
long_description=long_description,
author='Zelenyak Aleksander aka ZZZ',
author_email='zzz.sochi@gmail.com',
url='https://github.com/zzzsochi/trans',
license='BSD',
platforms='any',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
py_modules=['trans'],
)
| <commit_before># coding: utf8
from distutils.core import setup
import trans
long_description = open('README.rst', 'r').read()
description = 'National characters transcription module.'
setup(
name='trans',
version=trans.__version__,
description=description,
long_description=long_description,
author='Zelenyak Aleksandr aka ZZZ',
author_email='zzz.sochi@gmail.com',
url='https://github.com/zzzsochi/trans',
license='BSD',
platforms='any',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
],
py_modules=['trans'],
)
<commit_msg>Extend supported python versions and some pep8 fixes<commit_after># coding: utf8
from distutils.core import setup
import trans
long_description = open('README.rst', 'r').read()
description = 'National characters transcription module.'
setup(
name='trans',
version=trans.__version__,
description=description,
long_description=long_description,
author='Zelenyak Aleksander aka ZZZ',
author_email='zzz.sochi@gmail.com',
url='https://github.com/zzzsochi/trans',
license='BSD',
platforms='any',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
py_modules=['trans'],
)
|
3d0a31ab12121ca387ebcc0eab38b42e1b5abe35 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='tangled.website',
version='0.1.dev0',
description='tangledframework.com',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=[
'tangled',
'tangled.website',
],
include_package_data=True,
install_requires=[
'tangled.auth>=0.1.dev0',
'tangled.session>=0.1.dev0',
'tangled.site>=0.1.dev0',
'SQLAlchemy>=0.9.2',
],
extras_require={
'dev': ['coverage'],
},
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
],
)
| from setuptools import setup, find_packages
setup(
name='tangled.website',
version='0.1.dev0',
description='tangledframework.com',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=[
'tangled',
'tangled.website',
],
include_package_data=True,
install_requires=[
'tangled.auth>=0.1a3',
'tangled.session>=0.1a2',
'tangled.site>=0.1a2',
'SQLAlchemy>=0.9.2',
],
extras_require={
'dev': ['coverage'],
},
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
],
)
| Upgrade all tangled deps to released versions | Upgrade all tangled deps to released versions
| Python | mit | TangledWeb/tangled.website | from setuptools import setup, find_packages
setup(
name='tangled.website',
version='0.1.dev0',
description='tangledframework.com',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=[
'tangled',
'tangled.website',
],
include_package_data=True,
install_requires=[
'tangled.auth>=0.1.dev0',
'tangled.session>=0.1.dev0',
'tangled.site>=0.1.dev0',
'SQLAlchemy>=0.9.2',
],
extras_require={
'dev': ['coverage'],
},
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
],
)
Upgrade all tangled deps to released versions | from setuptools import setup, find_packages
setup(
name='tangled.website',
version='0.1.dev0',
description='tangledframework.com',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=[
'tangled',
'tangled.website',
],
include_package_data=True,
install_requires=[
'tangled.auth>=0.1a3',
'tangled.session>=0.1a2',
'tangled.site>=0.1a2',
'SQLAlchemy>=0.9.2',
],
extras_require={
'dev': ['coverage'],
},
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
],
)
| <commit_before>from setuptools import setup, find_packages
setup(
name='tangled.website',
version='0.1.dev0',
description='tangledframework.com',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=[
'tangled',
'tangled.website',
],
include_package_data=True,
install_requires=[
'tangled.auth>=0.1.dev0',
'tangled.session>=0.1.dev0',
'tangled.site>=0.1.dev0',
'SQLAlchemy>=0.9.2',
],
extras_require={
'dev': ['coverage'],
},
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
],
)
<commit_msg>Upgrade all tangled deps to released versions<commit_after> | from setuptools import setup, find_packages
setup(
name='tangled.website',
version='0.1.dev0',
description='tangledframework.com',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=[
'tangled',
'tangled.website',
],
include_package_data=True,
install_requires=[
'tangled.auth>=0.1a3',
'tangled.session>=0.1a2',
'tangled.site>=0.1a2',
'SQLAlchemy>=0.9.2',
],
extras_require={
'dev': ['coverage'],
},
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
],
)
| from setuptools import setup, find_packages
setup(
name='tangled.website',
version='0.1.dev0',
description='tangledframework.com',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=[
'tangled',
'tangled.website',
],
include_package_data=True,
install_requires=[
'tangled.auth>=0.1.dev0',
'tangled.session>=0.1.dev0',
'tangled.site>=0.1.dev0',
'SQLAlchemy>=0.9.2',
],
extras_require={
'dev': ['coverage'],
},
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
],
)
Upgrade all tangled deps to released versionsfrom setuptools import setup, find_packages
setup(
name='tangled.website',
version='0.1.dev0',
description='tangledframework.com',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=[
'tangled',
'tangled.website',
],
include_package_data=True,
install_requires=[
'tangled.auth>=0.1a3',
'tangled.session>=0.1a2',
'tangled.site>=0.1a2',
'SQLAlchemy>=0.9.2',
],
extras_require={
'dev': ['coverage'],
},
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
],
)
| <commit_before>from setuptools import setup, find_packages
setup(
name='tangled.website',
version='0.1.dev0',
description='tangledframework.com',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=[
'tangled',
'tangled.website',
],
include_package_data=True,
install_requires=[
'tangled.auth>=0.1.dev0',
'tangled.session>=0.1.dev0',
'tangled.site>=0.1.dev0',
'SQLAlchemy>=0.9.2',
],
extras_require={
'dev': ['coverage'],
},
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
],
)
<commit_msg>Upgrade all tangled deps to released versions<commit_after>from setuptools import setup, find_packages
setup(
name='tangled.website',
version='0.1.dev0',
description='tangledframework.com',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=[
'tangled',
'tangled.website',
],
include_package_data=True,
install_requires=[
'tangled.auth>=0.1a3',
'tangled.session>=0.1a2',
'tangled.site>=0.1a2',
'SQLAlchemy>=0.9.2',
],
extras_require={
'dev': ['coverage'],
},
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
],
)
|
d411e2058053c5607b2bb49002cab0e110683624 | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from github_backup import __version__
try:
from setuptools import setup
setup # workaround for pyflakes issue #13
except ImportError:
from distutils.core import setup
# Hack to prevent stupid TypeError: 'NoneType' object is not callable error on
# exit of python setup.py test # in multiprocessing/util.py _exit_function when
# running python setup.py test (see
# http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)
try:
import multiprocessing
multiprocessing
except ImportError:
pass
def open_file(fname):
return open(os.path.join(os.path.dirname(__file__), fname))
setup(
name='github-backup',
version=__version__,
author='Jose Diaz-Gonzalez',
author_email='github-backup@josediazgonzalez.com',
packages=['github_backup'],
scripts=['bin/github-backup'],
url='http://github.com/josegonzalez/python-github-backup',
license=open('LICENSE.txt').read(),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Topic :: System :: Archiving :: Backup',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
description='backup a github user or organization',
long_description=open_file('README.rst').read(),
install_requires=open_file('requirements.txt').readlines(),
zip_safe=True,
)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
from github_backup import __version__
def open_file(fname):
return open(os.path.join(os.path.dirname(__file__), fname))
setup(
name='github-backup',
version=__version__,
author='Jose Diaz-Gonzalez',
author_email='github-backup@josediazgonzalez.com',
packages=['github_backup'],
scripts=['bin/github-backup'],
url='http://github.com/josegonzalez/python-github-backup',
license=open('LICENSE.txt').read(),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Topic :: System :: Archiving :: Backup',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
description='backup a github user or organization',
long_description=open_file('README.rst').read(),
install_requires=open_file('requirements.txt').readlines(),
zip_safe=True,
)
| Remove python 2 specific import logic | Remove python 2 specific import logic
| Python | mit | josegonzalez/python-github-backup,josegonzalez/python-github-backup | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from github_backup import __version__
try:
from setuptools import setup
setup # workaround for pyflakes issue #13
except ImportError:
from distutils.core import setup
# Hack to prevent stupid TypeError: 'NoneType' object is not callable error on
# exit of python setup.py test # in multiprocessing/util.py _exit_function when
# running python setup.py test (see
# http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)
try:
import multiprocessing
multiprocessing
except ImportError:
pass
def open_file(fname):
return open(os.path.join(os.path.dirname(__file__), fname))
setup(
name='github-backup',
version=__version__,
author='Jose Diaz-Gonzalez',
author_email='github-backup@josediazgonzalez.com',
packages=['github_backup'],
scripts=['bin/github-backup'],
url='http://github.com/josegonzalez/python-github-backup',
license=open('LICENSE.txt').read(),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Topic :: System :: Archiving :: Backup',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
description='backup a github user or organization',
long_description=open_file('README.rst').read(),
install_requires=open_file('requirements.txt').readlines(),
zip_safe=True,
)
Remove python 2 specific import logic | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
from github_backup import __version__
def open_file(fname):
return open(os.path.join(os.path.dirname(__file__), fname))
setup(
name='github-backup',
version=__version__,
author='Jose Diaz-Gonzalez',
author_email='github-backup@josediazgonzalez.com',
packages=['github_backup'],
scripts=['bin/github-backup'],
url='http://github.com/josegonzalez/python-github-backup',
license=open('LICENSE.txt').read(),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Topic :: System :: Archiving :: Backup',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
description='backup a github user or organization',
long_description=open_file('README.rst').read(),
install_requires=open_file('requirements.txt').readlines(),
zip_safe=True,
)
| <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from github_backup import __version__
try:
from setuptools import setup
setup # workaround for pyflakes issue #13
except ImportError:
from distutils.core import setup
# Hack to prevent stupid TypeError: 'NoneType' object is not callable error on
# exit of python setup.py test # in multiprocessing/util.py _exit_function when
# running python setup.py test (see
# http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)
try:
import multiprocessing
multiprocessing
except ImportError:
pass
def open_file(fname):
return open(os.path.join(os.path.dirname(__file__), fname))
setup(
name='github-backup',
version=__version__,
author='Jose Diaz-Gonzalez',
author_email='github-backup@josediazgonzalez.com',
packages=['github_backup'],
scripts=['bin/github-backup'],
url='http://github.com/josegonzalez/python-github-backup',
license=open('LICENSE.txt').read(),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Topic :: System :: Archiving :: Backup',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
description='backup a github user or organization',
long_description=open_file('README.rst').read(),
install_requires=open_file('requirements.txt').readlines(),
zip_safe=True,
)
<commit_msg>Remove python 2 specific import logic<commit_after> | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
from github_backup import __version__
def open_file(fname):
return open(os.path.join(os.path.dirname(__file__), fname))
setup(
name='github-backup',
version=__version__,
author='Jose Diaz-Gonzalez',
author_email='github-backup@josediazgonzalez.com',
packages=['github_backup'],
scripts=['bin/github-backup'],
url='http://github.com/josegonzalez/python-github-backup',
license=open('LICENSE.txt').read(),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Topic :: System :: Archiving :: Backup',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
description='backup a github user or organization',
long_description=open_file('README.rst').read(),
install_requires=open_file('requirements.txt').readlines(),
zip_safe=True,
)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from github_backup import __version__
try:
from setuptools import setup
setup # workaround for pyflakes issue #13
except ImportError:
from distutils.core import setup
# Hack to prevent stupid TypeError: 'NoneType' object is not callable error on
# exit of python setup.py test # in multiprocessing/util.py _exit_function when
# running python setup.py test (see
# http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)
try:
import multiprocessing
multiprocessing
except ImportError:
pass
def open_file(fname):
return open(os.path.join(os.path.dirname(__file__), fname))
setup(
name='github-backup',
version=__version__,
author='Jose Diaz-Gonzalez',
author_email='github-backup@josediazgonzalez.com',
packages=['github_backup'],
scripts=['bin/github-backup'],
url='http://github.com/josegonzalez/python-github-backup',
license=open('LICENSE.txt').read(),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Topic :: System :: Archiving :: Backup',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
description='backup a github user or organization',
long_description=open_file('README.rst').read(),
install_requires=open_file('requirements.txt').readlines(),
zip_safe=True,
)
Remove python 2 specific import logic#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
from github_backup import __version__
def open_file(fname):
return open(os.path.join(os.path.dirname(__file__), fname))
setup(
name='github-backup',
version=__version__,
author='Jose Diaz-Gonzalez',
author_email='github-backup@josediazgonzalez.com',
packages=['github_backup'],
scripts=['bin/github-backup'],
url='http://github.com/josegonzalez/python-github-backup',
license=open('LICENSE.txt').read(),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Topic :: System :: Archiving :: Backup',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
description='backup a github user or organization',
long_description=open_file('README.rst').read(),
install_requires=open_file('requirements.txt').readlines(),
zip_safe=True,
)
| <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from github_backup import __version__
try:
from setuptools import setup
setup # workaround for pyflakes issue #13
except ImportError:
from distutils.core import setup
# Hack to prevent stupid TypeError: 'NoneType' object is not callable error on
# exit of python setup.py test # in multiprocessing/util.py _exit_function when
# running python setup.py test (see
# http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)
try:
import multiprocessing
multiprocessing
except ImportError:
pass
def open_file(fname):
return open(os.path.join(os.path.dirname(__file__), fname))
setup(
name='github-backup',
version=__version__,
author='Jose Diaz-Gonzalez',
author_email='github-backup@josediazgonzalez.com',
packages=['github_backup'],
scripts=['bin/github-backup'],
url='http://github.com/josegonzalez/python-github-backup',
license=open('LICENSE.txt').read(),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Topic :: System :: Archiving :: Backup',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
description='backup a github user or organization',
long_description=open_file('README.rst').read(),
install_requires=open_file('requirements.txt').readlines(),
zip_safe=True,
)
<commit_msg>Remove python 2 specific import logic<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
from github_backup import __version__
def open_file(fname):
return open(os.path.join(os.path.dirname(__file__), fname))
setup(
name='github-backup',
version=__version__,
author='Jose Diaz-Gonzalez',
author_email='github-backup@josediazgonzalez.com',
packages=['github_backup'],
scripts=['bin/github-backup'],
url='http://github.com/josegonzalez/python-github-backup',
license=open('LICENSE.txt').read(),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Topic :: System :: Archiving :: Backup',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
description='backup a github user or organization',
long_description=open_file('README.rst').read(),
install_requires=open_file('requirements.txt').readlines(),
zip_safe=True,
)
|
1c17d37deb97e46769d1fbdb9af7cd9b2c63dc2e | manage.py | manage.py | # -*- coding: utf-8 -*-
from flask import current_app, g
from flask.ext.script import Manager, Server, prompt_bool
from massa import create_app
manager = Manager(create_app)
manager.add_option('-c', '--config', dest='config', required=False)
manager.add_command('runserver', Server(
use_debugger = True,
use_reloader = True,
host = '0.0.0.0',
port = 5000,
))
@manager.command
def db_create_tables():
"""Create all the db tables."""
current_app.preprocess_request()
db = g.sl('db')
db.create_tables()
@manager.command
def db_drop_tables():
"""Drop all the db tables."""
if prompt_bool('Are you sure you want to drop all the db tables?'):
current_app.preprocess_request()
db = g.sl('db')
db.drop_tables()
@manager.command
def db_recreate_tables():
"""Drop and create all the db tables."""
if prompt_bool('Are you sure you want to recreate all the db tables?'):
current_app.preprocess_request()
db = g.sl('db')
db.drop_tables()
db.create_tables()
if __name__ == '__main__':
manager.run()
| # -*- coding: utf-8 -*-
from flask import current_app, g
from flask.ext.script import Manager, Server, prompt_bool
from massa import create_app
manager = Manager(create_app)
manager.add_option('-c', '--config', dest='config', required=False)
manager.add_command('runserver', Server(
use_debugger = True,
use_reloader = True,
host = '0.0.0.0',
port = 5000,
))
@manager.command
def db_create_tables():
"""Create all the db tables."""
current_app.preprocess_request()
db = g.sl('db')
db.create_tables()
@manager.command
def db_drop_tables():
"""Drop all the db tables."""
if prompt_bool('Are you sure you want to drop all the db tables?'):
current_app.preprocess_request()
db = g.sl('db')
db.drop_tables()
@manager.command
def db_recreate_tables():
"""Drop and create all the db tables."""
if prompt_bool('Are you sure you want to recreate all the db tables?'):
current_app.preprocess_request()
db = g.sl('db')
db.drop_tables()
db.create_tables()
if __name__ == '__main__':
manager.run()
| Fix indents, from 2 to 4 spaces. | Fix indents, from 2 to 4 spaces. | Python | mit | jaapverloop/massa | # -*- coding: utf-8 -*-
from flask import current_app, g
from flask.ext.script import Manager, Server, prompt_bool
from massa import create_app
manager = Manager(create_app)
manager.add_option('-c', '--config', dest='config', required=False)
manager.add_command('runserver', Server(
use_debugger = True,
use_reloader = True,
host = '0.0.0.0',
port = 5000,
))
@manager.command
def db_create_tables():
"""Create all the db tables."""
current_app.preprocess_request()
db = g.sl('db')
db.create_tables()
@manager.command
def db_drop_tables():
"""Drop all the db tables."""
if prompt_bool('Are you sure you want to drop all the db tables?'):
current_app.preprocess_request()
db = g.sl('db')
db.drop_tables()
@manager.command
def db_recreate_tables():
"""Drop and create all the db tables."""
if prompt_bool('Are you sure you want to recreate all the db tables?'):
current_app.preprocess_request()
db = g.sl('db')
db.drop_tables()
db.create_tables()
if __name__ == '__main__':
manager.run()
Fix indents, from 2 to 4 spaces. | # -*- coding: utf-8 -*-
from flask import current_app, g
from flask.ext.script import Manager, Server, prompt_bool
from massa import create_app
manager = Manager(create_app)
manager.add_option('-c', '--config', dest='config', required=False)
manager.add_command('runserver', Server(
use_debugger = True,
use_reloader = True,
host = '0.0.0.0',
port = 5000,
))
@manager.command
def db_create_tables():
"""Create all the db tables."""
current_app.preprocess_request()
db = g.sl('db')
db.create_tables()
@manager.command
def db_drop_tables():
"""Drop all the db tables."""
if prompt_bool('Are you sure you want to drop all the db tables?'):
current_app.preprocess_request()
db = g.sl('db')
db.drop_tables()
@manager.command
def db_recreate_tables():
"""Drop and create all the db tables."""
if prompt_bool('Are you sure you want to recreate all the db tables?'):
current_app.preprocess_request()
db = g.sl('db')
db.drop_tables()
db.create_tables()
if __name__ == '__main__':
manager.run()
| <commit_before># -*- coding: utf-8 -*-
from flask import current_app, g
from flask.ext.script import Manager, Server, prompt_bool
from massa import create_app
manager = Manager(create_app)
manager.add_option('-c', '--config', dest='config', required=False)
manager.add_command('runserver', Server(
use_debugger = True,
use_reloader = True,
host = '0.0.0.0',
port = 5000,
))
@manager.command
def db_create_tables():
"""Create all the db tables."""
current_app.preprocess_request()
db = g.sl('db')
db.create_tables()
@manager.command
def db_drop_tables():
"""Drop all the db tables."""
if prompt_bool('Are you sure you want to drop all the db tables?'):
current_app.preprocess_request()
db = g.sl('db')
db.drop_tables()
@manager.command
def db_recreate_tables():
"""Drop and create all the db tables."""
if prompt_bool('Are you sure you want to recreate all the db tables?'):
current_app.preprocess_request()
db = g.sl('db')
db.drop_tables()
db.create_tables()
if __name__ == '__main__':
manager.run()
<commit_msg>Fix indents, from 2 to 4 spaces.<commit_after> | # -*- coding: utf-8 -*-
from flask import current_app, g
from flask.ext.script import Manager, Server, prompt_bool
from massa import create_app
manager = Manager(create_app)
manager.add_option('-c', '--config', dest='config', required=False)
manager.add_command('runserver', Server(
use_debugger = True,
use_reloader = True,
host = '0.0.0.0',
port = 5000,
))
@manager.command
def db_create_tables():
"""Create all the db tables."""
current_app.preprocess_request()
db = g.sl('db')
db.create_tables()
@manager.command
def db_drop_tables():
"""Drop all the db tables."""
if prompt_bool('Are you sure you want to drop all the db tables?'):
current_app.preprocess_request()
db = g.sl('db')
db.drop_tables()
@manager.command
def db_recreate_tables():
"""Drop and create all the db tables."""
if prompt_bool('Are you sure you want to recreate all the db tables?'):
current_app.preprocess_request()
db = g.sl('db')
db.drop_tables()
db.create_tables()
if __name__ == '__main__':
manager.run()
| # -*- coding: utf-8 -*-
from flask import current_app, g
from flask.ext.script import Manager, Server, prompt_bool
from massa import create_app
manager = Manager(create_app)
manager.add_option('-c', '--config', dest='config', required=False)
manager.add_command('runserver', Server(
use_debugger = True,
use_reloader = True,
host = '0.0.0.0',
port = 5000,
))
@manager.command
def db_create_tables():
"""Create all the db tables."""
current_app.preprocess_request()
db = g.sl('db')
db.create_tables()
@manager.command
def db_drop_tables():
"""Drop all the db tables."""
if prompt_bool('Are you sure you want to drop all the db tables?'):
current_app.preprocess_request()
db = g.sl('db')
db.drop_tables()
@manager.command
def db_recreate_tables():
"""Drop and create all the db tables."""
if prompt_bool('Are you sure you want to recreate all the db tables?'):
current_app.preprocess_request()
db = g.sl('db')
db.drop_tables()
db.create_tables()
if __name__ == '__main__':
manager.run()
Fix indents, from 2 to 4 spaces.# -*- coding: utf-8 -*-
from flask import current_app, g
from flask.ext.script import Manager, Server, prompt_bool
from massa import create_app
manager = Manager(create_app)
manager.add_option('-c', '--config', dest='config', required=False)
manager.add_command('runserver', Server(
use_debugger = True,
use_reloader = True,
host = '0.0.0.0',
port = 5000,
))
@manager.command
def db_create_tables():
"""Create all the db tables."""
current_app.preprocess_request()
db = g.sl('db')
db.create_tables()
@manager.command
def db_drop_tables():
"""Drop all the db tables."""
if prompt_bool('Are you sure you want to drop all the db tables?'):
current_app.preprocess_request()
db = g.sl('db')
db.drop_tables()
@manager.command
def db_recreate_tables():
"""Drop and create all the db tables."""
if prompt_bool('Are you sure you want to recreate all the db tables?'):
current_app.preprocess_request()
db = g.sl('db')
db.drop_tables()
db.create_tables()
if __name__ == '__main__':
manager.run()
| <commit_before># -*- coding: utf-8 -*-
from flask import current_app, g
from flask.ext.script import Manager, Server, prompt_bool
from massa import create_app
manager = Manager(create_app)
manager.add_option('-c', '--config', dest='config', required=False)
manager.add_command('runserver', Server(
use_debugger = True,
use_reloader = True,
host = '0.0.0.0',
port = 5000,
))
@manager.command
def db_create_tables():
"""Create all the db tables."""
current_app.preprocess_request()
db = g.sl('db')
db.create_tables()
@manager.command
def db_drop_tables():
"""Drop all the db tables."""
if prompt_bool('Are you sure you want to drop all the db tables?'):
current_app.preprocess_request()
db = g.sl('db')
db.drop_tables()
@manager.command
def db_recreate_tables():
"""Drop and create all the db tables."""
if prompt_bool('Are you sure you want to recreate all the db tables?'):
current_app.preprocess_request()
db = g.sl('db')
db.drop_tables()
db.create_tables()
if __name__ == '__main__':
manager.run()
<commit_msg>Fix indents, from 2 to 4 spaces.<commit_after># -*- coding: utf-8 -*-
from flask import current_app, g
from flask.ext.script import Manager, Server, prompt_bool
from massa import create_app
manager = Manager(create_app)
manager.add_option('-c', '--config', dest='config', required=False)
manager.add_command('runserver', Server(
use_debugger = True,
use_reloader = True,
host = '0.0.0.0',
port = 5000,
))
@manager.command
def db_create_tables():
"""Create all the db tables."""
current_app.preprocess_request()
db = g.sl('db')
db.create_tables()
@manager.command
def db_drop_tables():
"""Drop all the db tables."""
if prompt_bool('Are you sure you want to drop all the db tables?'):
current_app.preprocess_request()
db = g.sl('db')
db.drop_tables()
@manager.command
def db_recreate_tables():
"""Drop and create all the db tables."""
if prompt_bool('Are you sure you want to recreate all the db tables?'):
current_app.preprocess_request()
db = g.sl('db')
db.drop_tables()
db.create_tables()
if __name__ == '__main__':
manager.run()
|
0905772851b4911466eb8f31dd4853aefb88e478 | manage.py | manage.py | import os
from app import create_app, db
from app.models import User, Category
from flask_script import Manager
from flask_migrate import Migrate, MigrateCommand
app = create_app(os.getenv('FLASK_CONFIG') or 'default')
manager = Manager(app)
migrate = Migrate(app, db)
manager.add_command('db', MigrateCommand)
#pylint: disable-msg=E1101
@manager.command
def adduser(email, username, admin=False):
""" Register a new user"""
from getpass import getpass
password = getpass()
password2 = getpass(prompt='Confirm: ')
if password != password2:
import sys
sys.exit("Error: Passwords do not match!")
db.create_all()
category = Category.get_by_name('Almenn frétt')
if category is None:
category = Category(name='Almenn frétt',
name_en='General News',
active=True)
db.session.add(category)
user = User(email=email,
username=username,
password=password,
is_admin=admin)
db.session.add(user)
db.session.commit()
print('User {0} was registered successfully!'.format(username))
if __name__ == '__main__':
manager.run()
| import os
from app import create_app, db
from app.models import User, Category
from flask_script import Manager, Server
from flask_migrate import Migrate, MigrateCommand
app = create_app(os.getenv('FLASK_CONFIG') or 'default')
manager = Manager(app)
migrate = Migrate(app, db)
manager.add_command('db', MigrateCommand)
manager.add_command('runserver', Server(host='127.0.0.1'))
#pylint: disable-msg=E1101
@manager.command
def adduser(email, username, admin=False):
""" Register a new user"""
from getpass import getpass
password = getpass()
password2 = getpass(prompt='Confirm: ')
if password != password2:
import sys
sys.exit("Error: Passwords do not match!")
db.create_all()
category = Category.get_by_name('Almenn frétt')
if category is None:
category = Category(name='Almenn frétt',
name_en='General News',
active=True)
db.session.add(category)
user = User(email=email,
username=username,
password=password,
is_admin=admin)
db.session.add(user)
db.session.commit()
print('User {0} was registered successfully!'.format(username))
if __name__ == '__main__':
manager.run()
| Change the runserver command to run a server at a host ip of 127.0.0.1 to easily change the xternal visibility of the application later | Change the runserver command to run a server at a host ip of 127.0.0.1 to easily change the xternal visibility of the application later
| Python | mit | finnurtorfa/aflafrettir.is,finnurtorfa/aflafrettir.is,finnurtorfa/aflafrettir.is,finnurtorfa/aflafrettir.is | import os
from app import create_app, db
from app.models import User, Category
from flask_script import Manager
from flask_migrate import Migrate, MigrateCommand
app = create_app(os.getenv('FLASK_CONFIG') or 'default')
manager = Manager(app)
migrate = Migrate(app, db)
manager.add_command('db', MigrateCommand)
#pylint: disable-msg=E1101
@manager.command
def adduser(email, username, admin=False):
""" Register a new user"""
from getpass import getpass
password = getpass()
password2 = getpass(prompt='Confirm: ')
if password != password2:
import sys
sys.exit("Error: Passwords do not match!")
db.create_all()
category = Category.get_by_name('Almenn frétt')
if category is None:
category = Category(name='Almenn frétt',
name_en='General News',
active=True)
db.session.add(category)
user = User(email=email,
username=username,
password=password,
is_admin=admin)
db.session.add(user)
db.session.commit()
print('User {0} was registered successfully!'.format(username))
if __name__ == '__main__':
manager.run()
Change the runserver command to run a server at a host ip of 127.0.0.1 to easily change the xternal visibility of the application later | import os
from app import create_app, db
from app.models import User, Category
from flask_script import Manager, Server
from flask_migrate import Migrate, MigrateCommand
app = create_app(os.getenv('FLASK_CONFIG') or 'default')
manager = Manager(app)
migrate = Migrate(app, db)
manager.add_command('db', MigrateCommand)
manager.add_command('runserver', Server(host='127.0.0.1'))
#pylint: disable-msg=E1101
@manager.command
def adduser(email, username, admin=False):
""" Register a new user"""
from getpass import getpass
password = getpass()
password2 = getpass(prompt='Confirm: ')
if password != password2:
import sys
sys.exit("Error: Passwords do not match!")
db.create_all()
category = Category.get_by_name('Almenn frétt')
if category is None:
category = Category(name='Almenn frétt',
name_en='General News',
active=True)
db.session.add(category)
user = User(email=email,
username=username,
password=password,
is_admin=admin)
db.session.add(user)
db.session.commit()
print('User {0} was registered successfully!'.format(username))
if __name__ == '__main__':
manager.run()
| <commit_before>import os
from app import create_app, db
from app.models import User, Category
from flask_script import Manager
from flask_migrate import Migrate, MigrateCommand
app = create_app(os.getenv('FLASK_CONFIG') or 'default')
manager = Manager(app)
migrate = Migrate(app, db)
manager.add_command('db', MigrateCommand)
#pylint: disable-msg=E1101
@manager.command
def adduser(email, username, admin=False):
""" Register a new user"""
from getpass import getpass
password = getpass()
password2 = getpass(prompt='Confirm: ')
if password != password2:
import sys
sys.exit("Error: Passwords do not match!")
db.create_all()
category = Category.get_by_name('Almenn frétt')
if category is None:
category = Category(name='Almenn frétt',
name_en='General News',
active=True)
db.session.add(category)
user = User(email=email,
username=username,
password=password,
is_admin=admin)
db.session.add(user)
db.session.commit()
print('User {0} was registered successfully!'.format(username))
if __name__ == '__main__':
manager.run()
<commit_msg>Change the runserver command to run a server at a host ip of 127.0.0.1 to easily change the xternal visibility of the application later<commit_after> | import os
from app import create_app, db
from app.models import User, Category
from flask_script import Manager, Server
from flask_migrate import Migrate, MigrateCommand
app = create_app(os.getenv('FLASK_CONFIG') or 'default')
manager = Manager(app)
migrate = Migrate(app, db)
manager.add_command('db', MigrateCommand)
manager.add_command('runserver', Server(host='127.0.0.1'))
#pylint: disable-msg=E1101
@manager.command
def adduser(email, username, admin=False):
""" Register a new user"""
from getpass import getpass
password = getpass()
password2 = getpass(prompt='Confirm: ')
if password != password2:
import sys
sys.exit("Error: Passwords do not match!")
db.create_all()
category = Category.get_by_name('Almenn frétt')
if category is None:
category = Category(name='Almenn frétt',
name_en='General News',
active=True)
db.session.add(category)
user = User(email=email,
username=username,
password=password,
is_admin=admin)
db.session.add(user)
db.session.commit()
print('User {0} was registered successfully!'.format(username))
if __name__ == '__main__':
manager.run()
| import os
from app import create_app, db
from app.models import User, Category
from flask_script import Manager
from flask_migrate import Migrate, MigrateCommand
app = create_app(os.getenv('FLASK_CONFIG') or 'default')
manager = Manager(app)
migrate = Migrate(app, db)
manager.add_command('db', MigrateCommand)
#pylint: disable-msg=E1101
@manager.command
def adduser(email, username, admin=False):
""" Register a new user"""
from getpass import getpass
password = getpass()
password2 = getpass(prompt='Confirm: ')
if password != password2:
import sys
sys.exit("Error: Passwords do not match!")
db.create_all()
category = Category.get_by_name('Almenn frétt')
if category is None:
category = Category(name='Almenn frétt',
name_en='General News',
active=True)
db.session.add(category)
user = User(email=email,
username=username,
password=password,
is_admin=admin)
db.session.add(user)
db.session.commit()
print('User {0} was registered successfully!'.format(username))
if __name__ == '__main__':
manager.run()
Change the runserver command to run a server at a host ip of 127.0.0.1 to easily change the xternal visibility of the application laterimport os
from app import create_app, db
from app.models import User, Category
from flask_script import Manager, Server
from flask_migrate import Migrate, MigrateCommand
app = create_app(os.getenv('FLASK_CONFIG') or 'default')
manager = Manager(app)
migrate = Migrate(app, db)
manager.add_command('db', MigrateCommand)
manager.add_command('runserver', Server(host='127.0.0.1'))
#pylint: disable-msg=E1101
@manager.command
def adduser(email, username, admin=False):
""" Register a new user"""
from getpass import getpass
password = getpass()
password2 = getpass(prompt='Confirm: ')
if password != password2:
import sys
sys.exit("Error: Passwords do not match!")
db.create_all()
category = Category.get_by_name('Almenn frétt')
if category is None:
category = Category(name='Almenn frétt',
name_en='General News',
active=True)
db.session.add(category)
user = User(email=email,
username=username,
password=password,
is_admin=admin)
db.session.add(user)
db.session.commit()
print('User {0} was registered successfully!'.format(username))
if __name__ == '__main__':
manager.run()
| <commit_before>import os
from app import create_app, db
from app.models import User, Category
from flask_script import Manager
from flask_migrate import Migrate, MigrateCommand
app = create_app(os.getenv('FLASK_CONFIG') or 'default')
manager = Manager(app)
migrate = Migrate(app, db)
manager.add_command('db', MigrateCommand)
#pylint: disable-msg=E1101
@manager.command
def adduser(email, username, admin=False):
""" Register a new user"""
from getpass import getpass
password = getpass()
password2 = getpass(prompt='Confirm: ')
if password != password2:
import sys
sys.exit("Error: Passwords do not match!")
db.create_all()
category = Category.get_by_name('Almenn frétt')
if category is None:
category = Category(name='Almenn frétt',
name_en='General News',
active=True)
db.session.add(category)
user = User(email=email,
username=username,
password=password,
is_admin=admin)
db.session.add(user)
db.session.commit()
print('User {0} was registered successfully!'.format(username))
if __name__ == '__main__':
manager.run()
<commit_msg>Change the runserver command to run a server at a host ip of 127.0.0.1 to easily change the xternal visibility of the application later<commit_after>import os
from app import create_app, db
from app.models import User, Category
from flask_script import Manager, Server
from flask_migrate import Migrate, MigrateCommand
app = create_app(os.getenv('FLASK_CONFIG') or 'default')
manager = Manager(app)
migrate = Migrate(app, db)
manager.add_command('db', MigrateCommand)
manager.add_command('runserver', Server(host='127.0.0.1'))
#pylint: disable-msg=E1101
@manager.command
def adduser(email, username, admin=False):
""" Register a new user"""
from getpass import getpass
password = getpass()
password2 = getpass(prompt='Confirm: ')
if password != password2:
import sys
sys.exit("Error: Passwords do not match!")
db.create_all()
category = Category.get_by_name('Almenn frétt')
if category is None:
category = Category(name='Almenn frétt',
name_en='General News',
active=True)
db.session.add(category)
user = User(email=email,
username=username,
password=password,
is_admin=admin)
db.session.add(user)
db.session.commit()
print('User {0} was registered successfully!'.format(username))
if __name__ == '__main__':
manager.run()
|
2294ac33ad60b49c1aa7490674d11521ab027033 | setup.py | setup.py | import os
import platform
from setuptools import setup
requirements = [
"pycurl",
"pyyaml >= 3.09",
"tornado >= 1.1, <2.0",
"testify == 0.3.10",
]
# python-rrdtool doesn't install cleanly out of the box on OS X
if not (os.name == "posix" and platform.system() == "Darwin"):
requirements.append("python-rrdtool >= 1.4.7")
setup(
name='firefly',
version='1.0',
provides=['firefly'],
author='Yelp',
description='A multi-datacenter graphing tool',
packages=['firefly'],
long_description="""Firefly provides graphing of performance metrics from multiple data centers and sources.
Firefly works with both the Ganglia and Statmonster data sources.
""",
install_requires=requirements
)
| import os
import platform
from setuptools import setup
requirements = [
"pycurl",
"pyyaml >= 3.09",
"tornado >= 1.1, <2.0",
"testify == 0.3.10",
"PyHamcrest >= 1.8",
]
# python-rrdtool doesn't install cleanly out of the box on OS X
if not (os.name == "posix" and platform.system() == "Darwin"):
requirements.append("python-rrdtool >= 1.4.7")
setup(
name='firefly',
version='1.0',
provides=['firefly'],
author='Yelp',
description='A multi-datacenter graphing tool',
packages=['firefly'],
long_description="""Firefly provides graphing of performance metrics from multiple data centers and sources.
Firefly works with both the Ganglia and Statmonster data sources.
""",
install_requires=requirements
)
| Add PyHamcrest as a unit test dependency | Add PyHamcrest as a unit test dependency
| Python | isc | Yelp/firefly,Yelp/firefly,Yelp/firefly,Yelp/firefly | import os
import platform
from setuptools import setup
requirements = [
"pycurl",
"pyyaml >= 3.09",
"tornado >= 1.1, <2.0",
"testify == 0.3.10",
]
# python-rrdtool doesn't install cleanly out of the box on OS X
if not (os.name == "posix" and platform.system() == "Darwin"):
requirements.append("python-rrdtool >= 1.4.7")
setup(
name='firefly',
version='1.0',
provides=['firefly'],
author='Yelp',
description='A multi-datacenter graphing tool',
packages=['firefly'],
long_description="""Firefly provides graphing of performance metrics from multiple data centers and sources.
Firefly works with both the Ganglia and Statmonster data sources.
""",
install_requires=requirements
)
Add PyHamcrest as a unit test dependency | import os
import platform
from setuptools import setup
requirements = [
"pycurl",
"pyyaml >= 3.09",
"tornado >= 1.1, <2.0",
"testify == 0.3.10",
"PyHamcrest >= 1.8",
]
# python-rrdtool doesn't install cleanly out of the box on OS X
if not (os.name == "posix" and platform.system() == "Darwin"):
requirements.append("python-rrdtool >= 1.4.7")
setup(
name='firefly',
version='1.0',
provides=['firefly'],
author='Yelp',
description='A multi-datacenter graphing tool',
packages=['firefly'],
long_description="""Firefly provides graphing of performance metrics from multiple data centers and sources.
Firefly works with both the Ganglia and Statmonster data sources.
""",
install_requires=requirements
)
| <commit_before>import os
import platform
from setuptools import setup
requirements = [
"pycurl",
"pyyaml >= 3.09",
"tornado >= 1.1, <2.0",
"testify == 0.3.10",
]
# python-rrdtool doesn't install cleanly out of the box on OS X
if not (os.name == "posix" and platform.system() == "Darwin"):
requirements.append("python-rrdtool >= 1.4.7")
setup(
name='firefly',
version='1.0',
provides=['firefly'],
author='Yelp',
description='A multi-datacenter graphing tool',
packages=['firefly'],
long_description="""Firefly provides graphing of performance metrics from multiple data centers and sources.
Firefly works with both the Ganglia and Statmonster data sources.
""",
install_requires=requirements
)
<commit_msg>Add PyHamcrest as a unit test dependency<commit_after> | import os
import platform
from setuptools import setup
requirements = [
"pycurl",
"pyyaml >= 3.09",
"tornado >= 1.1, <2.0",
"testify == 0.3.10",
"PyHamcrest >= 1.8",
]
# python-rrdtool doesn't install cleanly out of the box on OS X
if not (os.name == "posix" and platform.system() == "Darwin"):
requirements.append("python-rrdtool >= 1.4.7")
setup(
name='firefly',
version='1.0',
provides=['firefly'],
author='Yelp',
description='A multi-datacenter graphing tool',
packages=['firefly'],
long_description="""Firefly provides graphing of performance metrics from multiple data centers and sources.
Firefly works with both the Ganglia and Statmonster data sources.
""",
install_requires=requirements
)
| import os
import platform
from setuptools import setup
requirements = [
"pycurl",
"pyyaml >= 3.09",
"tornado >= 1.1, <2.0",
"testify == 0.3.10",
]
# python-rrdtool doesn't install cleanly out of the box on OS X
if not (os.name == "posix" and platform.system() == "Darwin"):
requirements.append("python-rrdtool >= 1.4.7")
setup(
name='firefly',
version='1.0',
provides=['firefly'],
author='Yelp',
description='A multi-datacenter graphing tool',
packages=['firefly'],
long_description="""Firefly provides graphing of performance metrics from multiple data centers and sources.
Firefly works with both the Ganglia and Statmonster data sources.
""",
install_requires=requirements
)
Add PyHamcrest as a unit test dependencyimport os
import platform
from setuptools import setup
requirements = [
"pycurl",
"pyyaml >= 3.09",
"tornado >= 1.1, <2.0",
"testify == 0.3.10",
"PyHamcrest >= 1.8",
]
# python-rrdtool doesn't install cleanly out of the box on OS X
if not (os.name == "posix" and platform.system() == "Darwin"):
requirements.append("python-rrdtool >= 1.4.7")
setup(
name='firefly',
version='1.0',
provides=['firefly'],
author='Yelp',
description='A multi-datacenter graphing tool',
packages=['firefly'],
long_description="""Firefly provides graphing of performance metrics from multiple data centers and sources.
Firefly works with both the Ganglia and Statmonster data sources.
""",
install_requires=requirements
)
| <commit_before>import os
import platform
from setuptools import setup
requirements = [
"pycurl",
"pyyaml >= 3.09",
"tornado >= 1.1, <2.0",
"testify == 0.3.10",
]
# python-rrdtool doesn't install cleanly out of the box on OS X
if not (os.name == "posix" and platform.system() == "Darwin"):
requirements.append("python-rrdtool >= 1.4.7")
setup(
name='firefly',
version='1.0',
provides=['firefly'],
author='Yelp',
description='A multi-datacenter graphing tool',
packages=['firefly'],
long_description="""Firefly provides graphing of performance metrics from multiple data centers and sources.
Firefly works with both the Ganglia and Statmonster data sources.
""",
install_requires=requirements
)
<commit_msg>Add PyHamcrest as a unit test dependency<commit_after>import os
import platform
from setuptools import setup
requirements = [
"pycurl",
"pyyaml >= 3.09",
"tornado >= 1.1, <2.0",
"testify == 0.3.10",
"PyHamcrest >= 1.8",
]
# python-rrdtool doesn't install cleanly out of the box on OS X
if not (os.name == "posix" and platform.system() == "Darwin"):
requirements.append("python-rrdtool >= 1.4.7")
setup(
name='firefly',
version='1.0',
provides=['firefly'],
author='Yelp',
description='A multi-datacenter graphing tool',
packages=['firefly'],
long_description="""Firefly provides graphing of performance metrics from multiple data centers and sources.
Firefly works with both the Ganglia and Statmonster data sources.
""",
install_requires=requirements
)
|
b21d8d0352af8c1b2ff14151cc61418a8915fd7c | setup.py | setup.py | # -*- coding: utf-8 -*-
import setuptools
import versioneer
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="PcbDraw",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author="Jan Mrázek",
author_email="email@honzamrazek.cz",
description="Utility to produce nice looking drawings of KiCAD boards",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/yaqwsx/PcbDraw",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=[
"numpy",
"lxml",
"mistune",
"pybars3",
"wand",
"pyyaml",
"svgpathtools",
"pcbnewTransition>=0.2"
],
setup_requires=[
"versioneer"
],
zip_safe=False,
include_package_data=True,
entry_points = {
"console_scripts": [
"pcbdraw=pcbdraw.pcbdraw:main",
"populate=pcbdraw.populate:main"
],
}
) | # -*- coding: utf-8 -*-
import setuptools
import versioneer
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="PcbDraw",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author="Jan Mrázek",
author_email="email@honzamrazek.cz",
description="Utility to produce nice looking drawings of KiCAD boards",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/yaqwsx/PcbDraw",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=[
"numpy",
"lxml",
"mistune",
"pybars3",
"wand",
"pyyaml",
"svgpathtools==1.4.1",
"pcbnewTransition>=0.2"
],
setup_requires=[
"versioneer"
],
zip_safe=False,
include_package_data=True,
entry_points = {
"console_scripts": [
"pcbdraw=pcbdraw.pcbdraw:main",
"populate=pcbdraw.populate:main"
],
}
) | Enforce working version of svgpathtools | Enforce working version of svgpathtools
| Python | mit | yaqwsx/PcbDraw,yaqwsx/PcbDraw | # -*- coding: utf-8 -*-
import setuptools
import versioneer
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="PcbDraw",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author="Jan Mrázek",
author_email="email@honzamrazek.cz",
description="Utility to produce nice looking drawings of KiCAD boards",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/yaqwsx/PcbDraw",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=[
"numpy",
"lxml",
"mistune",
"pybars3",
"wand",
"pyyaml",
"svgpathtools",
"pcbnewTransition>=0.2"
],
setup_requires=[
"versioneer"
],
zip_safe=False,
include_package_data=True,
entry_points = {
"console_scripts": [
"pcbdraw=pcbdraw.pcbdraw:main",
"populate=pcbdraw.populate:main"
],
}
)Enforce working version of svgpathtools | # -*- coding: utf-8 -*-
import setuptools
import versioneer
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="PcbDraw",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author="Jan Mrázek",
author_email="email@honzamrazek.cz",
description="Utility to produce nice looking drawings of KiCAD boards",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/yaqwsx/PcbDraw",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=[
"numpy",
"lxml",
"mistune",
"pybars3",
"wand",
"pyyaml",
"svgpathtools==1.4.1",
"pcbnewTransition>=0.2"
],
setup_requires=[
"versioneer"
],
zip_safe=False,
include_package_data=True,
entry_points = {
"console_scripts": [
"pcbdraw=pcbdraw.pcbdraw:main",
"populate=pcbdraw.populate:main"
],
}
) | <commit_before># -*- coding: utf-8 -*-
import setuptools
import versioneer
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="PcbDraw",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author="Jan Mrázek",
author_email="email@honzamrazek.cz",
description="Utility to produce nice looking drawings of KiCAD boards",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/yaqwsx/PcbDraw",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=[
"numpy",
"lxml",
"mistune",
"pybars3",
"wand",
"pyyaml",
"svgpathtools",
"pcbnewTransition>=0.2"
],
setup_requires=[
"versioneer"
],
zip_safe=False,
include_package_data=True,
entry_points = {
"console_scripts": [
"pcbdraw=pcbdraw.pcbdraw:main",
"populate=pcbdraw.populate:main"
],
}
)<commit_msg>Enforce working version of svgpathtools<commit_after> | # -*- coding: utf-8 -*-
import setuptools
import versioneer
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="PcbDraw",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author="Jan Mrázek",
author_email="email@honzamrazek.cz",
description="Utility to produce nice looking drawings of KiCAD boards",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/yaqwsx/PcbDraw",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=[
"numpy",
"lxml",
"mistune",
"pybars3",
"wand",
"pyyaml",
"svgpathtools==1.4.1",
"pcbnewTransition>=0.2"
],
setup_requires=[
"versioneer"
],
zip_safe=False,
include_package_data=True,
entry_points = {
"console_scripts": [
"pcbdraw=pcbdraw.pcbdraw:main",
"populate=pcbdraw.populate:main"
],
}
) | # -*- coding: utf-8 -*-
import setuptools
import versioneer
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="PcbDraw",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author="Jan Mrázek",
author_email="email@honzamrazek.cz",
description="Utility to produce nice looking drawings of KiCAD boards",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/yaqwsx/PcbDraw",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=[
"numpy",
"lxml",
"mistune",
"pybars3",
"wand",
"pyyaml",
"svgpathtools",
"pcbnewTransition>=0.2"
],
setup_requires=[
"versioneer"
],
zip_safe=False,
include_package_data=True,
entry_points = {
"console_scripts": [
"pcbdraw=pcbdraw.pcbdraw:main",
"populate=pcbdraw.populate:main"
],
}
)Enforce working version of svgpathtools# -*- coding: utf-8 -*-
import setuptools
import versioneer
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="PcbDraw",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author="Jan Mrázek",
author_email="email@honzamrazek.cz",
description="Utility to produce nice looking drawings of KiCAD boards",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/yaqwsx/PcbDraw",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=[
"numpy",
"lxml",
"mistune",
"pybars3",
"wand",
"pyyaml",
"svgpathtools==1.4.1",
"pcbnewTransition>=0.2"
],
setup_requires=[
"versioneer"
],
zip_safe=False,
include_package_data=True,
entry_points = {
"console_scripts": [
"pcbdraw=pcbdraw.pcbdraw:main",
"populate=pcbdraw.populate:main"
],
}
) | <commit_before># -*- coding: utf-8 -*-
import setuptools
import versioneer
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="PcbDraw",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author="Jan Mrázek",
author_email="email@honzamrazek.cz",
description="Utility to produce nice looking drawings of KiCAD boards",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/yaqwsx/PcbDraw",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=[
"numpy",
"lxml",
"mistune",
"pybars3",
"wand",
"pyyaml",
"svgpathtools",
"pcbnewTransition>=0.2"
],
setup_requires=[
"versioneer"
],
zip_safe=False,
include_package_data=True,
entry_points = {
"console_scripts": [
"pcbdraw=pcbdraw.pcbdraw:main",
"populate=pcbdraw.populate:main"
],
}
)<commit_msg>Enforce working version of svgpathtools<commit_after># -*- coding: utf-8 -*-
import setuptools
import versioneer
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="PcbDraw",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author="Jan Mrázek",
author_email="email@honzamrazek.cz",
description="Utility to produce nice looking drawings of KiCAD boards",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/yaqwsx/PcbDraw",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=[
"numpy",
"lxml",
"mistune",
"pybars3",
"wand",
"pyyaml",
"svgpathtools==1.4.1",
"pcbnewTransition>=0.2"
],
setup_requires=[
"versioneer"
],
zip_safe=False,
include_package_data=True,
entry_points = {
"console_scripts": [
"pcbdraw=pcbdraw.pcbdraw:main",
"populate=pcbdraw.populate:main"
],
}
) |
9e7b117835f438200528ae81a0d57b870c01e556 | setup.py | setup.py | from setuptools import setup, find_packages
version = open('version.txt').read().strip()
setup(
name='pyramid_restler',
version=version,
description='RESTful views for Pyramid',
author='Wyatt Lee Baldwin',
author_email='wyatt.lee.baldwin@gmail.com',
keywords='Web REST Pylons Pyramid',
install_requires=(
'pyramid>=1.2.3',
),
packages=find_packages(),
classifiers=(
'Development Status :: 2 - Pre-Alpha',
'Framework :: Pylons',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
),
)
| from setuptools import setup, find_packages
version = open('version.txt').read().strip()
setup(
name='pyramid_restler',
version=version,
description='RESTful views for Pyramid',
author='Wyatt Lee Baldwin',
author_email='wyatt.lee.baldwin@gmail.com',
keywords='Web REST Pylons Pyramid',
install_requires=(
'pyramid>=1.2.3',
),
packages=find_packages(),
classifiers=(
'Development Status :: 3 - Alpha',
'Framework :: Pylons',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
),
)
| Upgrade project status from pre-alpha to alpha. | Upgrade project status from pre-alpha to alpha.
| Python | mit | wylee/pyramid_restler | from setuptools import setup, find_packages
version = open('version.txt').read().strip()
setup(
name='pyramid_restler',
version=version,
description='RESTful views for Pyramid',
author='Wyatt Lee Baldwin',
author_email='wyatt.lee.baldwin@gmail.com',
keywords='Web REST Pylons Pyramid',
install_requires=(
'pyramid>=1.2.3',
),
packages=find_packages(),
classifiers=(
'Development Status :: 2 - Pre-Alpha',
'Framework :: Pylons',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
),
)
Upgrade project status from pre-alpha to alpha. | from setuptools import setup, find_packages
version = open('version.txt').read().strip()
setup(
name='pyramid_restler',
version=version,
description='RESTful views for Pyramid',
author='Wyatt Lee Baldwin',
author_email='wyatt.lee.baldwin@gmail.com',
keywords='Web REST Pylons Pyramid',
install_requires=(
'pyramid>=1.2.3',
),
packages=find_packages(),
classifiers=(
'Development Status :: 3 - Alpha',
'Framework :: Pylons',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
),
)
| <commit_before>from setuptools import setup, find_packages
version = open('version.txt').read().strip()
setup(
name='pyramid_restler',
version=version,
description='RESTful views for Pyramid',
author='Wyatt Lee Baldwin',
author_email='wyatt.lee.baldwin@gmail.com',
keywords='Web REST Pylons Pyramid',
install_requires=(
'pyramid>=1.2.3',
),
packages=find_packages(),
classifiers=(
'Development Status :: 2 - Pre-Alpha',
'Framework :: Pylons',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
),
)
<commit_msg>Upgrade project status from pre-alpha to alpha.<commit_after> | from setuptools import setup, find_packages
version = open('version.txt').read().strip()
setup(
name='pyramid_restler',
version=version,
description='RESTful views for Pyramid',
author='Wyatt Lee Baldwin',
author_email='wyatt.lee.baldwin@gmail.com',
keywords='Web REST Pylons Pyramid',
install_requires=(
'pyramid>=1.2.3',
),
packages=find_packages(),
classifiers=(
'Development Status :: 3 - Alpha',
'Framework :: Pylons',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
),
)
| from setuptools import setup, find_packages
version = open('version.txt').read().strip()
setup(
name='pyramid_restler',
version=version,
description='RESTful views for Pyramid',
author='Wyatt Lee Baldwin',
author_email='wyatt.lee.baldwin@gmail.com',
keywords='Web REST Pylons Pyramid',
install_requires=(
'pyramid>=1.2.3',
),
packages=find_packages(),
classifiers=(
'Development Status :: 2 - Pre-Alpha',
'Framework :: Pylons',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
),
)
Upgrade project status from pre-alpha to alpha.from setuptools import setup, find_packages
version = open('version.txt').read().strip()
setup(
name='pyramid_restler',
version=version,
description='RESTful views for Pyramid',
author='Wyatt Lee Baldwin',
author_email='wyatt.lee.baldwin@gmail.com',
keywords='Web REST Pylons Pyramid',
install_requires=(
'pyramid>=1.2.3',
),
packages=find_packages(),
classifiers=(
'Development Status :: 3 - Alpha',
'Framework :: Pylons',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
),
)
| <commit_before>from setuptools import setup, find_packages
version = open('version.txt').read().strip()
setup(
name='pyramid_restler',
version=version,
description='RESTful views for Pyramid',
author='Wyatt Lee Baldwin',
author_email='wyatt.lee.baldwin@gmail.com',
keywords='Web REST Pylons Pyramid',
install_requires=(
'pyramid>=1.2.3',
),
packages=find_packages(),
classifiers=(
'Development Status :: 2 - Pre-Alpha',
'Framework :: Pylons',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
),
)
<commit_msg>Upgrade project status from pre-alpha to alpha.<commit_after>from setuptools import setup, find_packages
version = open('version.txt').read().strip()
setup(
name='pyramid_restler',
version=version,
description='RESTful views for Pyramid',
author='Wyatt Lee Baldwin',
author_email='wyatt.lee.baldwin@gmail.com',
keywords='Web REST Pylons Pyramid',
install_requires=(
'pyramid>=1.2.3',
),
packages=find_packages(),
classifiers=(
'Development Status :: 3 - Alpha',
'Framework :: Pylons',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
),
)
|
a9c095969f574b43bc9daf240fe91947e16d9a31 | setup.py | setup.py | from setuptools import setup, find_packages
import sys
import os
requires = [
'Flask==0.9',
'elasticsearch',
'PyJWT==0.1.4',
'iso8601==0.1.4',
]
if sys.version_info < (2, 7):
requires.append('ordereddict==1.1')
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name = 'annotator',
version = '0.10.0',
packages = find_packages(exclude=['test*']),
install_requires = requires,
extras_require = {
'docs': ['Sphinx'],
'testing': ['nose', 'coverage'],
},
# metadata for upload to PyPI
author = 'Rufus Pollock and Nick Stenning (Open Knowledge Foundation)',
author_email = 'annotator@okfn.org',
description = 'Database backend for the Annotator (http://annotateit.org)',
long_description = (read('README.rst') + '\n\n' +
read('CHANGES.rst')),
license = 'MIT',
keywords = 'annotation web javascript',
url = 'http://okfnlabs.org/annotator/',
download_url = 'https://github.com/okfn/annotator-store',
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python'
],
)
| from setuptools import setup, find_packages
import os
requires = [
'Flask==0.9',
'elasticsearch',
'PyJWT==0.1.4',
'iso8601==0.1.4',
]
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name = 'annotator',
version = '0.10.0',
packages = find_packages(exclude=['test*']),
install_requires = requires,
extras_require = {
'docs': ['Sphinx'],
'testing': ['nose', 'coverage'],
},
# metadata for upload to PyPI
author = 'Rufus Pollock and Nick Stenning (Open Knowledge Foundation)',
author_email = 'annotator@okfn.org',
description = 'Database backend for the Annotator (http://annotateit.org)',
long_description = (read('README.rst') + '\n\n' +
read('CHANGES.rst')),
license = 'MIT',
keywords = 'annotation web javascript',
url = 'http://okfnlabs.org/annotator/',
download_url = 'https://github.com/okfn/annotator-store',
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python'
],
)
| Remove unnecessary dependency on ordereddict | Remove unnecessary dependency on ordereddict
| Python | mit | ningyifan/annotator-store,openannotation/annotator-store,nobita-isc/annotator-store,nobita-isc/annotator-store,nobita-isc/annotator-store,nobita-isc/annotator-store,happybelly/annotator-store | from setuptools import setup, find_packages
import sys
import os
requires = [
'Flask==0.9',
'elasticsearch',
'PyJWT==0.1.4',
'iso8601==0.1.4',
]
if sys.version_info < (2, 7):
requires.append('ordereddict==1.1')
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name = 'annotator',
version = '0.10.0',
packages = find_packages(exclude=['test*']),
install_requires = requires,
extras_require = {
'docs': ['Sphinx'],
'testing': ['nose', 'coverage'],
},
# metadata for upload to PyPI
author = 'Rufus Pollock and Nick Stenning (Open Knowledge Foundation)',
author_email = 'annotator@okfn.org',
description = 'Database backend for the Annotator (http://annotateit.org)',
long_description = (read('README.rst') + '\n\n' +
read('CHANGES.rst')),
license = 'MIT',
keywords = 'annotation web javascript',
url = 'http://okfnlabs.org/annotator/',
download_url = 'https://github.com/okfn/annotator-store',
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python'
],
)
Remove unnecessary dependency on ordereddict | from setuptools import setup, find_packages
import os
requires = [
'Flask==0.9',
'elasticsearch',
'PyJWT==0.1.4',
'iso8601==0.1.4',
]
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name = 'annotator',
version = '0.10.0',
packages = find_packages(exclude=['test*']),
install_requires = requires,
extras_require = {
'docs': ['Sphinx'],
'testing': ['nose', 'coverage'],
},
# metadata for upload to PyPI
author = 'Rufus Pollock and Nick Stenning (Open Knowledge Foundation)',
author_email = 'annotator@okfn.org',
description = 'Database backend for the Annotator (http://annotateit.org)',
long_description = (read('README.rst') + '\n\n' +
read('CHANGES.rst')),
license = 'MIT',
keywords = 'annotation web javascript',
url = 'http://okfnlabs.org/annotator/',
download_url = 'https://github.com/okfn/annotator-store',
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python'
],
)
| <commit_before>from setuptools import setup, find_packages
import sys
import os
requires = [
'Flask==0.9',
'elasticsearch',
'PyJWT==0.1.4',
'iso8601==0.1.4',
]
if sys.version_info < (2, 7):
requires.append('ordereddict==1.1')
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name = 'annotator',
version = '0.10.0',
packages = find_packages(exclude=['test*']),
install_requires = requires,
extras_require = {
'docs': ['Sphinx'],
'testing': ['nose', 'coverage'],
},
# metadata for upload to PyPI
author = 'Rufus Pollock and Nick Stenning (Open Knowledge Foundation)',
author_email = 'annotator@okfn.org',
description = 'Database backend for the Annotator (http://annotateit.org)',
long_description = (read('README.rst') + '\n\n' +
read('CHANGES.rst')),
license = 'MIT',
keywords = 'annotation web javascript',
url = 'http://okfnlabs.org/annotator/',
download_url = 'https://github.com/okfn/annotator-store',
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python'
],
)
<commit_msg>Remove unnecessary dependency on ordereddict<commit_after> | from setuptools import setup, find_packages
import os
requires = [
'Flask==0.9',
'elasticsearch',
'PyJWT==0.1.4',
'iso8601==0.1.4',
]
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name = 'annotator',
version = '0.10.0',
packages = find_packages(exclude=['test*']),
install_requires = requires,
extras_require = {
'docs': ['Sphinx'],
'testing': ['nose', 'coverage'],
},
# metadata for upload to PyPI
author = 'Rufus Pollock and Nick Stenning (Open Knowledge Foundation)',
author_email = 'annotator@okfn.org',
description = 'Database backend for the Annotator (http://annotateit.org)',
long_description = (read('README.rst') + '\n\n' +
read('CHANGES.rst')),
license = 'MIT',
keywords = 'annotation web javascript',
url = 'http://okfnlabs.org/annotator/',
download_url = 'https://github.com/okfn/annotator-store',
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python'
],
)
| from setuptools import setup, find_packages
import sys
import os
requires = [
'Flask==0.9',
'elasticsearch',
'PyJWT==0.1.4',
'iso8601==0.1.4',
]
if sys.version_info < (2, 7):
requires.append('ordereddict==1.1')
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name = 'annotator',
version = '0.10.0',
packages = find_packages(exclude=['test*']),
install_requires = requires,
extras_require = {
'docs': ['Sphinx'],
'testing': ['nose', 'coverage'],
},
# metadata for upload to PyPI
author = 'Rufus Pollock and Nick Stenning (Open Knowledge Foundation)',
author_email = 'annotator@okfn.org',
description = 'Database backend for the Annotator (http://annotateit.org)',
long_description = (read('README.rst') + '\n\n' +
read('CHANGES.rst')),
license = 'MIT',
keywords = 'annotation web javascript',
url = 'http://okfnlabs.org/annotator/',
download_url = 'https://github.com/okfn/annotator-store',
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python'
],
)
Remove unnecessary dependency on ordereddictfrom setuptools import setup, find_packages
import os
requires = [
'Flask==0.9',
'elasticsearch',
'PyJWT==0.1.4',
'iso8601==0.1.4',
]
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name = 'annotator',
version = '0.10.0',
packages = find_packages(exclude=['test*']),
install_requires = requires,
extras_require = {
'docs': ['Sphinx'],
'testing': ['nose', 'coverage'],
},
# metadata for upload to PyPI
author = 'Rufus Pollock and Nick Stenning (Open Knowledge Foundation)',
author_email = 'annotator@okfn.org',
description = 'Database backend for the Annotator (http://annotateit.org)',
long_description = (read('README.rst') + '\n\n' +
read('CHANGES.rst')),
license = 'MIT',
keywords = 'annotation web javascript',
url = 'http://okfnlabs.org/annotator/',
download_url = 'https://github.com/okfn/annotator-store',
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python'
],
)
| <commit_before>from setuptools import setup, find_packages
import sys
import os
requires = [
'Flask==0.9',
'elasticsearch',
'PyJWT==0.1.4',
'iso8601==0.1.4',
]
if sys.version_info < (2, 7):
requires.append('ordereddict==1.1')
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name = 'annotator',
version = '0.10.0',
packages = find_packages(exclude=['test*']),
install_requires = requires,
extras_require = {
'docs': ['Sphinx'],
'testing': ['nose', 'coverage'],
},
# metadata for upload to PyPI
author = 'Rufus Pollock and Nick Stenning (Open Knowledge Foundation)',
author_email = 'annotator@okfn.org',
description = 'Database backend for the Annotator (http://annotateit.org)',
long_description = (read('README.rst') + '\n\n' +
read('CHANGES.rst')),
license = 'MIT',
keywords = 'annotation web javascript',
url = 'http://okfnlabs.org/annotator/',
download_url = 'https://github.com/okfn/annotator-store',
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python'
],
)
<commit_msg>Remove unnecessary dependency on ordereddict<commit_after>from setuptools import setup, find_packages
import os
requires = [
'Flask==0.9',
'elasticsearch',
'PyJWT==0.1.4',
'iso8601==0.1.4',
]
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name = 'annotator',
version = '0.10.0',
packages = find_packages(exclude=['test*']),
install_requires = requires,
extras_require = {
'docs': ['Sphinx'],
'testing': ['nose', 'coverage'],
},
# metadata for upload to PyPI
author = 'Rufus Pollock and Nick Stenning (Open Knowledge Foundation)',
author_email = 'annotator@okfn.org',
description = 'Database backend for the Annotator (http://annotateit.org)',
long_description = (read('README.rst') + '\n\n' +
read('CHANGES.rst')),
license = 'MIT',
keywords = 'annotation web javascript',
url = 'http://okfnlabs.org/annotator/',
download_url = 'https://github.com/okfn/annotator-store',
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python'
],
)
|
12953b9999bc8f01da2c254e69531bb2cb34c92e | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name="irma-probe",
version='1.0',
author='QuarksLab',
author_email='irma@quarkslab.com',
packages=find_packages(),
include_package_data=True,
license='LICENSE',
description='Probe package for IRMA',
long_description=open('README.rst').read(),
scripts=['scripts/celery.bat'],
install_requires=['celery>=3.1.5', 'redis>=2.8.0'],
) | import os
from setuptools import setup, find_packages, findall
IRMA_PROBE_PKG_TARGET = os.environ.get('IRMA_PROBE_PKG_TARGET', "Windows")
target = None
target_linux = 0
target_windows = 1
if IRMA_PROBE_PKG_TARGET == "Linux":
target = target_linux
elif IRMA_PROBE_PKG_TARGET == "Windows":
target = target_windows
if target is None:
raise ValueError("invalid env variable IRMA_PROBE_PKG_TARGET")
else:
print "Packaging for Target '{0}'".format(IRMA_PROBE_PKG_TARGET)
basename = 'irma-probe'
if target == target_linux:
name = basename + "-linux"
scripts = []
elif target == target_windows:
name = basename + "-win"
scripts = ['scripts/celery.bat']
setup(
name=name,
version='1.0',
author='QuarksLab',
author_email='irma@quarkslab.com',
packages=find_packages(),
include_package_data=True,
license='LICENSE',
description='Probe package for IRMA',
long_description='',
install_requires=['celery>=3.1.5', 'redis>=2.8.0'],
)
| Revert "merge package windows and linux into one single irma-probe package" | Revert "merge package windows and linux into one single irma-probe package"
This reverts commit 7e1b52c722f34a075c20048ce829ecb963573df2.
| Python | apache-2.0 | hirokihamasaki/irma,quarkslab/irma,hirokihamasaki/irma,quarkslab/irma,hirokihamasaki/irma,hirokihamasaki/irma,quarkslab/irma,hirokihamasaki/irma,quarkslab/irma | from setuptools import setup, find_packages
setup(
name="irma-probe",
version='1.0',
author='QuarksLab',
author_email='irma@quarkslab.com',
packages=find_packages(),
include_package_data=True,
license='LICENSE',
description='Probe package for IRMA',
long_description=open('README.rst').read(),
scripts=['scripts/celery.bat'],
install_requires=['celery>=3.1.5', 'redis>=2.8.0'],
)Revert "merge package windows and linux into one single irma-probe package"
This reverts commit 7e1b52c722f34a075c20048ce829ecb963573df2. | import os
from setuptools import setup, find_packages, findall
IRMA_PROBE_PKG_TARGET = os.environ.get('IRMA_PROBE_PKG_TARGET', "Windows")
target = None
target_linux = 0
target_windows = 1
if IRMA_PROBE_PKG_TARGET == "Linux":
target = target_linux
elif IRMA_PROBE_PKG_TARGET == "Windows":
target = target_windows
if target is None:
raise ValueError("invalid env variable IRMA_PROBE_PKG_TARGET")
else:
print "Packaging for Target '{0}'".format(IRMA_PROBE_PKG_TARGET)
basename = 'irma-probe'
if target == target_linux:
name = basename + "-linux"
scripts = []
elif target == target_windows:
name = basename + "-win"
scripts = ['scripts/celery.bat']
setup(
name=name,
version='1.0',
author='QuarksLab',
author_email='irma@quarkslab.com',
packages=find_packages(),
include_package_data=True,
license='LICENSE',
description='Probe package for IRMA',
long_description='',
install_requires=['celery>=3.1.5', 'redis>=2.8.0'],
)
| <commit_before>from setuptools import setup, find_packages
setup(
name="irma-probe",
version='1.0',
author='QuarksLab',
author_email='irma@quarkslab.com',
packages=find_packages(),
include_package_data=True,
license='LICENSE',
description='Probe package for IRMA',
long_description=open('README.rst').read(),
scripts=['scripts/celery.bat'],
install_requires=['celery>=3.1.5', 'redis>=2.8.0'],
)<commit_msg>Revert "merge package windows and linux into one single irma-probe package"
This reverts commit 7e1b52c722f34a075c20048ce829ecb963573df2.<commit_after> | import os
from setuptools import setup, find_packages, findall
IRMA_PROBE_PKG_TARGET = os.environ.get('IRMA_PROBE_PKG_TARGET', "Windows")
target = None
target_linux = 0
target_windows = 1
if IRMA_PROBE_PKG_TARGET == "Linux":
target = target_linux
elif IRMA_PROBE_PKG_TARGET == "Windows":
target = target_windows
if target is None:
raise ValueError("invalid env variable IRMA_PROBE_PKG_TARGET")
else:
print "Packaging for Target '{0}'".format(IRMA_PROBE_PKG_TARGET)
basename = 'irma-probe'
if target == target_linux:
name = basename + "-linux"
scripts = []
elif target == target_windows:
name = basename + "-win"
scripts = ['scripts/celery.bat']
setup(
name=name,
version='1.0',
author='QuarksLab',
author_email='irma@quarkslab.com',
packages=find_packages(),
include_package_data=True,
license='LICENSE',
description='Probe package for IRMA',
long_description='',
install_requires=['celery>=3.1.5', 'redis>=2.8.0'],
)
| from setuptools import setup, find_packages
setup(
name="irma-probe",
version='1.0',
author='QuarksLab',
author_email='irma@quarkslab.com',
packages=find_packages(),
include_package_data=True,
license='LICENSE',
description='Probe package for IRMA',
long_description=open('README.rst').read(),
scripts=['scripts/celery.bat'],
install_requires=['celery>=3.1.5', 'redis>=2.8.0'],
)Revert "merge package windows and linux into one single irma-probe package"
This reverts commit 7e1b52c722f34a075c20048ce829ecb963573df2.import os
from setuptools import setup, find_packages, findall
IRMA_PROBE_PKG_TARGET = os.environ.get('IRMA_PROBE_PKG_TARGET', "Windows")
target = None
target_linux = 0
target_windows = 1
if IRMA_PROBE_PKG_TARGET == "Linux":
target = target_linux
elif IRMA_PROBE_PKG_TARGET == "Windows":
target = target_windows
if target is None:
raise ValueError("invalid env variable IRMA_PROBE_PKG_TARGET")
else:
print "Packaging for Target '{0}'".format(IRMA_PROBE_PKG_TARGET)
basename = 'irma-probe'
if target == target_linux:
name = basename + "-linux"
scripts = []
elif target == target_windows:
name = basename + "-win"
scripts = ['scripts/celery.bat']
setup(
name=name,
version='1.0',
author='QuarksLab',
author_email='irma@quarkslab.com',
packages=find_packages(),
include_package_data=True,
license='LICENSE',
description='Probe package for IRMA',
long_description='',
install_requires=['celery>=3.1.5', 'redis>=2.8.0'],
)
| <commit_before>from setuptools import setup, find_packages
setup(
name="irma-probe",
version='1.0',
author='QuarksLab',
author_email='irma@quarkslab.com',
packages=find_packages(),
include_package_data=True,
license='LICENSE',
description='Probe package for IRMA',
long_description=open('README.rst').read(),
scripts=['scripts/celery.bat'],
install_requires=['celery>=3.1.5', 'redis>=2.8.0'],
)<commit_msg>Revert "merge package windows and linux into one single irma-probe package"
This reverts commit 7e1b52c722f34a075c20048ce829ecb963573df2.<commit_after>import os
from setuptools import setup, find_packages, findall
IRMA_PROBE_PKG_TARGET = os.environ.get('IRMA_PROBE_PKG_TARGET', "Windows")
target = None
target_linux = 0
target_windows = 1
if IRMA_PROBE_PKG_TARGET == "Linux":
target = target_linux
elif IRMA_PROBE_PKG_TARGET == "Windows":
target = target_windows
if target is None:
raise ValueError("invalid env variable IRMA_PROBE_PKG_TARGET")
else:
print "Packaging for Target '{0}'".format(IRMA_PROBE_PKG_TARGET)
basename = 'irma-probe'
if target == target_linux:
name = basename + "-linux"
scripts = []
elif target == target_windows:
name = basename + "-win"
scripts = ['scripts/celery.bat']
setup(
name=name,
version='1.0',
author='QuarksLab',
author_email='irma@quarkslab.com',
packages=find_packages(),
include_package_data=True,
license='LICENSE',
description='Probe package for IRMA',
long_description='',
install_requires=['celery>=3.1.5', 'redis>=2.8.0'],
)
|
fce895e57f027d83c6c4aa2cec12f605bb7bd8e2 | setup.py | setup.py | import setuptools
from src.version import __VERSION_STR__
setuptools.setup(
name='powser',
version=__VERSION_STR__,
description=(
'Front-end package manager inspired by bower utilizing cdnjs. '
'See https://github.com/JDeuce/powser for more.'
),
author='Josh Jaques',
author_email='jjaques@gmail.com',
url='https://github.com/JDeuce/powser',
py_modules=['src'],
install_requires=open('requirements.txt').read().splitlines(),
license='MIT License',
zip_safe=False,
keywords='front-end package management cdnjs bower',
classifiers=[],
packages=setuptools.find_packages(),
entry_points={
'console_scripts': [
'powser = src.main:main'
]
}
)
| import setuptools
from src.version import __VERSION_STR__
setuptools.setup(
name='powser',
version=__VERSION_STR__,
description=(
'Front-end package manager inspired by bower utilizing cdnjs. '
'See https://github.com/JDeuce/powser for more.'
),
author='Josh Jaques',
author_email='jjaques@gmail.com',
url='https://github.com/JDeuce/powser',
package_dir={'powser': 'src'},
packages=['powser'],
install_requires=open('requirements.txt').read().splitlines(),
license='MIT License',
zip_safe=False,
keywords='front-end package management cdnjs bower',
classifiers=[],
entry_points={
'console_scripts': [
'powser = powser.main:main'
]
}
)
| Fix the way it uses the 'src' dir so the package is no longer installed as 'src'. | Fix the way it uses the 'src' dir so the package is no longer installed as 'src'.
Note that although there is this fancy package_dir renaming
functionality available to setup.py, and it will work if you do a
setup.py install, it doesn't work properly when you run setup.py
develop.
| Python | mit | JDeuce/powser | import setuptools
from src.version import __VERSION_STR__
setuptools.setup(
name='powser',
version=__VERSION_STR__,
description=(
'Front-end package manager inspired by bower utilizing cdnjs. '
'See https://github.com/JDeuce/powser for more.'
),
author='Josh Jaques',
author_email='jjaques@gmail.com',
url='https://github.com/JDeuce/powser',
py_modules=['src'],
install_requires=open('requirements.txt').read().splitlines(),
license='MIT License',
zip_safe=False,
keywords='front-end package management cdnjs bower',
classifiers=[],
packages=setuptools.find_packages(),
entry_points={
'console_scripts': [
'powser = src.main:main'
]
}
)
Fix the way it uses the 'src' dir so the package is no longer installed as 'src'.
Note that although there is this fancy package_dir renaming
functionality available to setup.py, and it will work if you do a
setup.py install, it doesn't work properly when you run setup.py
develop. | import setuptools
from src.version import __VERSION_STR__
setuptools.setup(
name='powser',
version=__VERSION_STR__,
description=(
'Front-end package manager inspired by bower utilizing cdnjs. '
'See https://github.com/JDeuce/powser for more.'
),
author='Josh Jaques',
author_email='jjaques@gmail.com',
url='https://github.com/JDeuce/powser',
package_dir={'powser': 'src'},
packages=['powser'],
install_requires=open('requirements.txt').read().splitlines(),
license='MIT License',
zip_safe=False,
keywords='front-end package management cdnjs bower',
classifiers=[],
entry_points={
'console_scripts': [
'powser = powser.main:main'
]
}
)
| <commit_before>import setuptools
from src.version import __VERSION_STR__
setuptools.setup(
name='powser',
version=__VERSION_STR__,
description=(
'Front-end package manager inspired by bower utilizing cdnjs. '
'See https://github.com/JDeuce/powser for more.'
),
author='Josh Jaques',
author_email='jjaques@gmail.com',
url='https://github.com/JDeuce/powser',
py_modules=['src'],
install_requires=open('requirements.txt').read().splitlines(),
license='MIT License',
zip_safe=False,
keywords='front-end package management cdnjs bower',
classifiers=[],
packages=setuptools.find_packages(),
entry_points={
'console_scripts': [
'powser = src.main:main'
]
}
)
<commit_msg>Fix the way it uses the 'src' dir so the package is no longer installed as 'src'.
Note that although there is this fancy package_dir renaming
functionality available to setup.py, and it will work if you do a
setup.py install, it doesn't work properly when you run setup.py
develop.<commit_after> | import setuptools
from src.version import __VERSION_STR__
setuptools.setup(
name='powser',
version=__VERSION_STR__,
description=(
'Front-end package manager inspired by bower utilizing cdnjs. '
'See https://github.com/JDeuce/powser for more.'
),
author='Josh Jaques',
author_email='jjaques@gmail.com',
url='https://github.com/JDeuce/powser',
package_dir={'powser': 'src'},
packages=['powser'],
install_requires=open('requirements.txt').read().splitlines(),
license='MIT License',
zip_safe=False,
keywords='front-end package management cdnjs bower',
classifiers=[],
entry_points={
'console_scripts': [
'powser = powser.main:main'
]
}
)
| import setuptools
from src.version import __VERSION_STR__
setuptools.setup(
name='powser',
version=__VERSION_STR__,
description=(
'Front-end package manager inspired by bower utilizing cdnjs. '
'See https://github.com/JDeuce/powser for more.'
),
author='Josh Jaques',
author_email='jjaques@gmail.com',
url='https://github.com/JDeuce/powser',
py_modules=['src'],
install_requires=open('requirements.txt').read().splitlines(),
license='MIT License',
zip_safe=False,
keywords='front-end package management cdnjs bower',
classifiers=[],
packages=setuptools.find_packages(),
entry_points={
'console_scripts': [
'powser = src.main:main'
]
}
)
Fix the way it uses the 'src' dir so the package is no longer installed as 'src'.
Note that although there is this fancy package_dir renaming
functionality available to setup.py, and it will work if you do a
setup.py install, it doesn't work properly when you run setup.py
develop.import setuptools
from src.version import __VERSION_STR__
setuptools.setup(
name='powser',
version=__VERSION_STR__,
description=(
'Front-end package manager inspired by bower utilizing cdnjs. '
'See https://github.com/JDeuce/powser for more.'
),
author='Josh Jaques',
author_email='jjaques@gmail.com',
url='https://github.com/JDeuce/powser',
package_dir={'powser': 'src'},
packages=['powser'],
install_requires=open('requirements.txt').read().splitlines(),
license='MIT License',
zip_safe=False,
keywords='front-end package management cdnjs bower',
classifiers=[],
entry_points={
'console_scripts': [
'powser = powser.main:main'
]
}
)
| <commit_before>import setuptools
from src.version import __VERSION_STR__
setuptools.setup(
name='powser',
version=__VERSION_STR__,
description=(
'Front-end package manager inspired by bower utilizing cdnjs. '
'See https://github.com/JDeuce/powser for more.'
),
author='Josh Jaques',
author_email='jjaques@gmail.com',
url='https://github.com/JDeuce/powser',
py_modules=['src'],
install_requires=open('requirements.txt').read().splitlines(),
license='MIT License',
zip_safe=False,
keywords='front-end package management cdnjs bower',
classifiers=[],
packages=setuptools.find_packages(),
entry_points={
'console_scripts': [
'powser = src.main:main'
]
}
)
<commit_msg>Fix the way it uses the 'src' dir so the package is no longer installed as 'src'.
Note that although there is this fancy package_dir renaming
functionality available to setup.py, and it will work if you do a
setup.py install, it doesn't work properly when you run setup.py
develop.<commit_after>import setuptools
from src.version import __VERSION_STR__
setuptools.setup(
name='powser',
version=__VERSION_STR__,
description=(
'Front-end package manager inspired by bower utilizing cdnjs. '
'See https://github.com/JDeuce/powser for more.'
),
author='Josh Jaques',
author_email='jjaques@gmail.com',
url='https://github.com/JDeuce/powser',
package_dir={'powser': 'src'},
packages=['powser'],
install_requires=open('requirements.txt').read().splitlines(),
license='MIT License',
zip_safe=False,
keywords='front-end package management cdnjs bower',
classifiers=[],
entry_points={
'console_scripts': [
'powser = powser.main:main'
]
}
)
|
f89398d49b53b3ec43b196c22a5735696f2de021 | 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',
'psqlgraph',
'gdcdictionary',
'cdisutils',
'python-dateutil==2.4.2',
],
package_data={
"gdcdatamodel": [
"xml_mappings/*.yaml",
]
},
dependency_links=[
'git+https://github.com/NCI-GDC/cdisutils.git@4a75cc05c7ba2174e70cca9c9ea7e93947f7a868#egg=cdisutils',
'git+https://github.com/NCI-GDC/psqlgraph.git@7b5de7d56aa3159a9526940eb273579ddbf084ca#egg=psqlgraph',
'git+https://github.com/NCI-GDC/gdcdictionary.git@1.12#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',
'psqlgraph',
'gdcdictionary',
'cdisutils',
'python-dateutil==2.4.2',
],
package_data={
"gdcdatamodel": [
"xml_mappings/*.yaml",
]
},
dependency_links=[
'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.12.1-final#egg=gdcdictionary',
],
entry_points={
'console_scripts': [
'gdc_postgres_admin=gdcdatamodel.gdc_postgres_admin:main'
]
},
)
| Update pins to match horton dictionary/api | chore(pins): Update pins to match horton dictionary/api
- Update pins to match horton dictionary/api
| 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',
'psqlgraph',
'gdcdictionary',
'cdisutils',
'python-dateutil==2.4.2',
],
package_data={
"gdcdatamodel": [
"xml_mappings/*.yaml",
]
},
dependency_links=[
'git+https://github.com/NCI-GDC/cdisutils.git@4a75cc05c7ba2174e70cca9c9ea7e93947f7a868#egg=cdisutils',
'git+https://github.com/NCI-GDC/psqlgraph.git@7b5de7d56aa3159a9526940eb273579ddbf084ca#egg=psqlgraph',
'git+https://github.com/NCI-GDC/gdcdictionary.git@1.12#egg=gdcdictionary',
],
entry_points={
'console_scripts': [
'gdc_postgres_admin=gdcdatamodel.gdc_postgres_admin:main'
]
},
)
chore(pins): Update pins to match horton dictionary/api
- Update pins to match horton dictionary/api | 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',
'psqlgraph',
'gdcdictionary',
'cdisutils',
'python-dateutil==2.4.2',
],
package_data={
"gdcdatamodel": [
"xml_mappings/*.yaml",
]
},
dependency_links=[
'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.12.1-final#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',
'psqlgraph',
'gdcdictionary',
'cdisutils',
'python-dateutil==2.4.2',
],
package_data={
"gdcdatamodel": [
"xml_mappings/*.yaml",
]
},
dependency_links=[
'git+https://github.com/NCI-GDC/cdisutils.git@4a75cc05c7ba2174e70cca9c9ea7e93947f7a868#egg=cdisutils',
'git+https://github.com/NCI-GDC/psqlgraph.git@7b5de7d56aa3159a9526940eb273579ddbf084ca#egg=psqlgraph',
'git+https://github.com/NCI-GDC/gdcdictionary.git@1.12#egg=gdcdictionary',
],
entry_points={
'console_scripts': [
'gdc_postgres_admin=gdcdatamodel.gdc_postgres_admin:main'
]
},
)
<commit_msg>chore(pins): Update pins to match horton dictionary/api
- Update pins to match horton dictionary/api<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',
'psqlgraph',
'gdcdictionary',
'cdisutils',
'python-dateutil==2.4.2',
],
package_data={
"gdcdatamodel": [
"xml_mappings/*.yaml",
]
},
dependency_links=[
'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.12.1-final#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',
'psqlgraph',
'gdcdictionary',
'cdisutils',
'python-dateutil==2.4.2',
],
package_data={
"gdcdatamodel": [
"xml_mappings/*.yaml",
]
},
dependency_links=[
'git+https://github.com/NCI-GDC/cdisutils.git@4a75cc05c7ba2174e70cca9c9ea7e93947f7a868#egg=cdisutils',
'git+https://github.com/NCI-GDC/psqlgraph.git@7b5de7d56aa3159a9526940eb273579ddbf084ca#egg=psqlgraph',
'git+https://github.com/NCI-GDC/gdcdictionary.git@1.12#egg=gdcdictionary',
],
entry_points={
'console_scripts': [
'gdc_postgres_admin=gdcdatamodel.gdc_postgres_admin:main'
]
},
)
chore(pins): Update pins to match horton dictionary/api
- Update pins to match horton dictionary/apifrom setuptools import setup, find_packages
setup(
name='gdcdatamodel',
packages=find_packages(),
install_requires=[
'pytz==2016.4',
'graphviz==0.4.2',
'jsonschema==2.5.1',
'psqlgraph',
'gdcdictionary',
'cdisutils',
'python-dateutil==2.4.2',
],
package_data={
"gdcdatamodel": [
"xml_mappings/*.yaml",
]
},
dependency_links=[
'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.12.1-final#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',
'psqlgraph',
'gdcdictionary',
'cdisutils',
'python-dateutil==2.4.2',
],
package_data={
"gdcdatamodel": [
"xml_mappings/*.yaml",
]
},
dependency_links=[
'git+https://github.com/NCI-GDC/cdisutils.git@4a75cc05c7ba2174e70cca9c9ea7e93947f7a868#egg=cdisutils',
'git+https://github.com/NCI-GDC/psqlgraph.git@7b5de7d56aa3159a9526940eb273579ddbf084ca#egg=psqlgraph',
'git+https://github.com/NCI-GDC/gdcdictionary.git@1.12#egg=gdcdictionary',
],
entry_points={
'console_scripts': [
'gdc_postgres_admin=gdcdatamodel.gdc_postgres_admin:main'
]
},
)
<commit_msg>chore(pins): Update pins to match horton dictionary/api
- Update pins to match horton dictionary/api<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',
'psqlgraph',
'gdcdictionary',
'cdisutils',
'python-dateutil==2.4.2',
],
package_data={
"gdcdatamodel": [
"xml_mappings/*.yaml",
]
},
dependency_links=[
'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.12.1-final#egg=gdcdictionary',
],
entry_points={
'console_scripts': [
'gdc_postgres_admin=gdcdatamodel.gdc_postgres_admin:main'
]
},
)
|
dda6c02ed3dc66841a5085274b60965ce9159516 | setup.py | setup.py | from setuptools import setup
try:
import multiprocessing
except ImportError:
pass
setup(
name='httpie-api-auth',
description='ApiAuth plugin for HTTPie.',
long_description=open('README.rst').read().strip(),
version='0.1.0',
author='Kyle Hargraves',
author_email='pd@krh.me',
license='MIT',
url='https://github.com/pd/httpie-api-auth',
download_url='https://github.com/pd/httpie-api-auth',
py_modules=['httpie_api_auth'],
zip_safe=False,
entry_points={
'httpie.plugins.auth.v1': [
'httpie_api_auth = httpie_api_auth:ApiAuthPlugin'
]
},
install_requires=[
'httpie>=0.7.0'
],
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'Intended Audience :: Developers',
'Environment :: Plugins',
'License :: OSI Approved :: MIT License',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Utilities'
],
)
| from setuptools import setup
try:
import multiprocessing
except ImportError:
pass
setup(
name='httpie-api-auth',
description='ApiAuth plugin for HTTPie.',
long_description=open('README.rst').read().strip(),
version='0.2.0',
author='Kyle Hargraves',
author_email='pd@krh.me',
license='MIT',
url='https://github.com/pd/httpie-api-auth',
download_url='https://github.com/pd/httpie-api-auth',
py_modules=['httpie_api_auth'],
zip_safe=False,
entry_points={
'httpie.plugins.auth.v1': [
'httpie_api_auth = httpie_api_auth:ApiAuthPlugin'
]
},
install_requires=[
'httpie>=0.7.0'
],
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'Intended Audience :: Developers',
'Environment :: Plugins',
'License :: OSI Approved :: MIT License',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Utilities'
],
)
| Handle query params, request bodies | v0.2.0: Handle query params, request bodies
| Python | mit | pd/httpie-api-auth | from setuptools import setup
try:
import multiprocessing
except ImportError:
pass
setup(
name='httpie-api-auth',
description='ApiAuth plugin for HTTPie.',
long_description=open('README.rst').read().strip(),
version='0.1.0',
author='Kyle Hargraves',
author_email='pd@krh.me',
license='MIT',
url='https://github.com/pd/httpie-api-auth',
download_url='https://github.com/pd/httpie-api-auth',
py_modules=['httpie_api_auth'],
zip_safe=False,
entry_points={
'httpie.plugins.auth.v1': [
'httpie_api_auth = httpie_api_auth:ApiAuthPlugin'
]
},
install_requires=[
'httpie>=0.7.0'
],
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'Intended Audience :: Developers',
'Environment :: Plugins',
'License :: OSI Approved :: MIT License',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Utilities'
],
)
v0.2.0: Handle query params, request bodies | from setuptools import setup
try:
import multiprocessing
except ImportError:
pass
setup(
name='httpie-api-auth',
description='ApiAuth plugin for HTTPie.',
long_description=open('README.rst').read().strip(),
version='0.2.0',
author='Kyle Hargraves',
author_email='pd@krh.me',
license='MIT',
url='https://github.com/pd/httpie-api-auth',
download_url='https://github.com/pd/httpie-api-auth',
py_modules=['httpie_api_auth'],
zip_safe=False,
entry_points={
'httpie.plugins.auth.v1': [
'httpie_api_auth = httpie_api_auth:ApiAuthPlugin'
]
},
install_requires=[
'httpie>=0.7.0'
],
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'Intended Audience :: Developers',
'Environment :: Plugins',
'License :: OSI Approved :: MIT License',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Utilities'
],
)
| <commit_before>from setuptools import setup
try:
import multiprocessing
except ImportError:
pass
setup(
name='httpie-api-auth',
description='ApiAuth plugin for HTTPie.',
long_description=open('README.rst').read().strip(),
version='0.1.0',
author='Kyle Hargraves',
author_email='pd@krh.me',
license='MIT',
url='https://github.com/pd/httpie-api-auth',
download_url='https://github.com/pd/httpie-api-auth',
py_modules=['httpie_api_auth'],
zip_safe=False,
entry_points={
'httpie.plugins.auth.v1': [
'httpie_api_auth = httpie_api_auth:ApiAuthPlugin'
]
},
install_requires=[
'httpie>=0.7.0'
],
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'Intended Audience :: Developers',
'Environment :: Plugins',
'License :: OSI Approved :: MIT License',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Utilities'
],
)
<commit_msg>v0.2.0: Handle query params, request bodies<commit_after> | from setuptools import setup
try:
import multiprocessing
except ImportError:
pass
setup(
name='httpie-api-auth',
description='ApiAuth plugin for HTTPie.',
long_description=open('README.rst').read().strip(),
version='0.2.0',
author='Kyle Hargraves',
author_email='pd@krh.me',
license='MIT',
url='https://github.com/pd/httpie-api-auth',
download_url='https://github.com/pd/httpie-api-auth',
py_modules=['httpie_api_auth'],
zip_safe=False,
entry_points={
'httpie.plugins.auth.v1': [
'httpie_api_auth = httpie_api_auth:ApiAuthPlugin'
]
},
install_requires=[
'httpie>=0.7.0'
],
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'Intended Audience :: Developers',
'Environment :: Plugins',
'License :: OSI Approved :: MIT License',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Utilities'
],
)
| from setuptools import setup
try:
import multiprocessing
except ImportError:
pass
setup(
name='httpie-api-auth',
description='ApiAuth plugin for HTTPie.',
long_description=open('README.rst').read().strip(),
version='0.1.0',
author='Kyle Hargraves',
author_email='pd@krh.me',
license='MIT',
url='https://github.com/pd/httpie-api-auth',
download_url='https://github.com/pd/httpie-api-auth',
py_modules=['httpie_api_auth'],
zip_safe=False,
entry_points={
'httpie.plugins.auth.v1': [
'httpie_api_auth = httpie_api_auth:ApiAuthPlugin'
]
},
install_requires=[
'httpie>=0.7.0'
],
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'Intended Audience :: Developers',
'Environment :: Plugins',
'License :: OSI Approved :: MIT License',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Utilities'
],
)
v0.2.0: Handle query params, request bodiesfrom setuptools import setup
try:
import multiprocessing
except ImportError:
pass
setup(
name='httpie-api-auth',
description='ApiAuth plugin for HTTPie.',
long_description=open('README.rst').read().strip(),
version='0.2.0',
author='Kyle Hargraves',
author_email='pd@krh.me',
license='MIT',
url='https://github.com/pd/httpie-api-auth',
download_url='https://github.com/pd/httpie-api-auth',
py_modules=['httpie_api_auth'],
zip_safe=False,
entry_points={
'httpie.plugins.auth.v1': [
'httpie_api_auth = httpie_api_auth:ApiAuthPlugin'
]
},
install_requires=[
'httpie>=0.7.0'
],
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'Intended Audience :: Developers',
'Environment :: Plugins',
'License :: OSI Approved :: MIT License',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Utilities'
],
)
| <commit_before>from setuptools import setup
try:
import multiprocessing
except ImportError:
pass
setup(
name='httpie-api-auth',
description='ApiAuth plugin for HTTPie.',
long_description=open('README.rst').read().strip(),
version='0.1.0',
author='Kyle Hargraves',
author_email='pd@krh.me',
license='MIT',
url='https://github.com/pd/httpie-api-auth',
download_url='https://github.com/pd/httpie-api-auth',
py_modules=['httpie_api_auth'],
zip_safe=False,
entry_points={
'httpie.plugins.auth.v1': [
'httpie_api_auth = httpie_api_auth:ApiAuthPlugin'
]
},
install_requires=[
'httpie>=0.7.0'
],
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'Intended Audience :: Developers',
'Environment :: Plugins',
'License :: OSI Approved :: MIT License',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Utilities'
],
)
<commit_msg>v0.2.0: Handle query params, request bodies<commit_after>from setuptools import setup
try:
import multiprocessing
except ImportError:
pass
setup(
name='httpie-api-auth',
description='ApiAuth plugin for HTTPie.',
long_description=open('README.rst').read().strip(),
version='0.2.0',
author='Kyle Hargraves',
author_email='pd@krh.me',
license='MIT',
url='https://github.com/pd/httpie-api-auth',
download_url='https://github.com/pd/httpie-api-auth',
py_modules=['httpie_api_auth'],
zip_safe=False,
entry_points={
'httpie.plugins.auth.v1': [
'httpie_api_auth = httpie_api_auth:ApiAuthPlugin'
]
},
install_requires=[
'httpie>=0.7.0'
],
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python',
'Intended Audience :: Developers',
'Environment :: Plugins',
'License :: OSI Approved :: MIT License',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Utilities'
],
)
|
e2ce105300b7aed62b689edd7dcab2fbd27cc04b | setup.py | setup.py | #!env python
from distutils.core import setup
setup(name="dailypost",
version="0.2",
description="Manage MOTD entries and keep your MOTD looking fine.",
author="Mustafa Paksoy",
url="https://github.com/mustpax/dailypost",
scripts=["dailypost.py"])
| #!/usr/bin/python
from distutils.core import setup
setup(name="dailypost",
version="0.2",
description="Manage MOTD entries and keep your MOTD looking fine.",
author="Mustafa Paksoy",
url="https://github.com/mustpax/dailypost",
scripts=["dailypost.py"])
| Use fully qualified interpreter path. | Use fully qualified interpreter path.
| Python | mit | mustpax/dailypost | #!env python
from distutils.core import setup
setup(name="dailypost",
version="0.2",
description="Manage MOTD entries and keep your MOTD looking fine.",
author="Mustafa Paksoy",
url="https://github.com/mustpax/dailypost",
scripts=["dailypost.py"])
Use fully qualified interpreter path. | #!/usr/bin/python
from distutils.core import setup
setup(name="dailypost",
version="0.2",
description="Manage MOTD entries and keep your MOTD looking fine.",
author="Mustafa Paksoy",
url="https://github.com/mustpax/dailypost",
scripts=["dailypost.py"])
| <commit_before>#!env python
from distutils.core import setup
setup(name="dailypost",
version="0.2",
description="Manage MOTD entries and keep your MOTD looking fine.",
author="Mustafa Paksoy",
url="https://github.com/mustpax/dailypost",
scripts=["dailypost.py"])
<commit_msg>Use fully qualified interpreter path.<commit_after> | #!/usr/bin/python
from distutils.core import setup
setup(name="dailypost",
version="0.2",
description="Manage MOTD entries and keep your MOTD looking fine.",
author="Mustafa Paksoy",
url="https://github.com/mustpax/dailypost",
scripts=["dailypost.py"])
| #!env python
from distutils.core import setup
setup(name="dailypost",
version="0.2",
description="Manage MOTD entries and keep your MOTD looking fine.",
author="Mustafa Paksoy",
url="https://github.com/mustpax/dailypost",
scripts=["dailypost.py"])
Use fully qualified interpreter path.#!/usr/bin/python
from distutils.core import setup
setup(name="dailypost",
version="0.2",
description="Manage MOTD entries and keep your MOTD looking fine.",
author="Mustafa Paksoy",
url="https://github.com/mustpax/dailypost",
scripts=["dailypost.py"])
| <commit_before>#!env python
from distutils.core import setup
setup(name="dailypost",
version="0.2",
description="Manage MOTD entries and keep your MOTD looking fine.",
author="Mustafa Paksoy",
url="https://github.com/mustpax/dailypost",
scripts=["dailypost.py"])
<commit_msg>Use fully qualified interpreter path.<commit_after>#!/usr/bin/python
from distutils.core import setup
setup(name="dailypost",
version="0.2",
description="Manage MOTD entries and keep your MOTD looking fine.",
author="Mustafa Paksoy",
url="https://github.com/mustpax/dailypost",
scripts=["dailypost.py"])
|
3571d4def52455bbef025c685c0950737d654a9c | setup.py | setup.py | """setup.py - Distutils setup file"""
from setuptools import setup, find_packages
setup(
name='destroyer',
version='0.1.0',
packages=find_packages(),
include_package_data=True,
install_requires=[
'Tweepy',
'Click',
],
entry_points='''
[console_scripts]
destroyercli=destroyer.destroyer:main
''',
)
| """setup.py - Distutils setup file"""
from setuptools import setup, find_packages
setup(
name='destroyer',
version='0.1.0',
packages=find_packages(),
include_package_data=True,
install_requires=[
'Tweepy',
'Click',
],
entry_points='''
[console_scripts]
destroyer=destroyer.destroyer:main
''',
)
| Update name of cli executable | Update name of cli executable
| Python | mit | jaredmichaelsmith/destroyer | """setup.py - Distutils setup file"""
from setuptools import setup, find_packages
setup(
name='destroyer',
version='0.1.0',
packages=find_packages(),
include_package_data=True,
install_requires=[
'Tweepy',
'Click',
],
entry_points='''
[console_scripts]
destroyercli=destroyer.destroyer:main
''',
)
Update name of cli executable | """setup.py - Distutils setup file"""
from setuptools import setup, find_packages
setup(
name='destroyer',
version='0.1.0',
packages=find_packages(),
include_package_data=True,
install_requires=[
'Tweepy',
'Click',
],
entry_points='''
[console_scripts]
destroyer=destroyer.destroyer:main
''',
)
| <commit_before>"""setup.py - Distutils setup file"""
from setuptools import setup, find_packages
setup(
name='destroyer',
version='0.1.0',
packages=find_packages(),
include_package_data=True,
install_requires=[
'Tweepy',
'Click',
],
entry_points='''
[console_scripts]
destroyercli=destroyer.destroyer:main
''',
)
<commit_msg>Update name of cli executable<commit_after> | """setup.py - Distutils setup file"""
from setuptools import setup, find_packages
setup(
name='destroyer',
version='0.1.0',
packages=find_packages(),
include_package_data=True,
install_requires=[
'Tweepy',
'Click',
],
entry_points='''
[console_scripts]
destroyer=destroyer.destroyer:main
''',
)
| """setup.py - Distutils setup file"""
from setuptools import setup, find_packages
setup(
name='destroyer',
version='0.1.0',
packages=find_packages(),
include_package_data=True,
install_requires=[
'Tweepy',
'Click',
],
entry_points='''
[console_scripts]
destroyercli=destroyer.destroyer:main
''',
)
Update name of cli executable"""setup.py - Distutils setup file"""
from setuptools import setup, find_packages
setup(
name='destroyer',
version='0.1.0',
packages=find_packages(),
include_package_data=True,
install_requires=[
'Tweepy',
'Click',
],
entry_points='''
[console_scripts]
destroyer=destroyer.destroyer:main
''',
)
| <commit_before>"""setup.py - Distutils setup file"""
from setuptools import setup, find_packages
setup(
name='destroyer',
version='0.1.0',
packages=find_packages(),
include_package_data=True,
install_requires=[
'Tweepy',
'Click',
],
entry_points='''
[console_scripts]
destroyercli=destroyer.destroyer:main
''',
)
<commit_msg>Update name of cli executable<commit_after>"""setup.py - Distutils setup file"""
from setuptools import setup, find_packages
setup(
name='destroyer',
version='0.1.0',
packages=find_packages(),
include_package_data=True,
install_requires=[
'Tweepy',
'Click',
],
entry_points='''
[console_scripts]
destroyer=destroyer.destroyer:main
''',
)
|
e888ccc6d49347a00f78c5aa168f8f149638e6aa | setup.py | setup.py | import setuptools
setuptools.setup(
name="Mongothon",
version="0.7.7",
author="Tom Leach",
author_email="tom@gc.io",
description="A MongoDB object-document mapping layer for Python",
license="BSD",
keywords="mongo mongodb database pymongo odm validation",
url="http://github.com/gamechanger/mongothon",
packages=["mongothon"],
long_description="Mongothon is a MongoDB object-document mapping " +
"API for Python, loosely based on the awesome " +
"mongoose.js library.",
install_requires=['pymongo>=2.5.0', 'inflection==0.2.0', 'schemer==0.2.1'],
tests_require=['mock', 'nose']
)
| import setuptools
setuptools.setup(
name="Mongothon",
version="0.7.8",
author="Tom Leach",
author_email="tom@gc.io",
description="A MongoDB object-document mapping layer for Python",
license="BSD",
keywords="mongo mongodb database pymongo odm validation",
url="http://github.com/gamechanger/mongothon",
packages=["mongothon"],
long_description="Mongothon is a MongoDB object-document mapping " +
"API for Python, loosely based on the awesome " +
"mongoose.js library.",
install_requires=['pymongo>=2.5.0', 'inflection==0.2.0', 'schemer==0.2.2'],
tests_require=['mock', 'nose']
)
| Use latest version of schemer | Use latest version of schemer
| Python | mit | gamechanger/mongothon | import setuptools
setuptools.setup(
name="Mongothon",
version="0.7.7",
author="Tom Leach",
author_email="tom@gc.io",
description="A MongoDB object-document mapping layer for Python",
license="BSD",
keywords="mongo mongodb database pymongo odm validation",
url="http://github.com/gamechanger/mongothon",
packages=["mongothon"],
long_description="Mongothon is a MongoDB object-document mapping " +
"API for Python, loosely based on the awesome " +
"mongoose.js library.",
install_requires=['pymongo>=2.5.0', 'inflection==0.2.0', 'schemer==0.2.1'],
tests_require=['mock', 'nose']
)
Use latest version of schemer | import setuptools
setuptools.setup(
name="Mongothon",
version="0.7.8",
author="Tom Leach",
author_email="tom@gc.io",
description="A MongoDB object-document mapping layer for Python",
license="BSD",
keywords="mongo mongodb database pymongo odm validation",
url="http://github.com/gamechanger/mongothon",
packages=["mongothon"],
long_description="Mongothon is a MongoDB object-document mapping " +
"API for Python, loosely based on the awesome " +
"mongoose.js library.",
install_requires=['pymongo>=2.5.0', 'inflection==0.2.0', 'schemer==0.2.2'],
tests_require=['mock', 'nose']
)
| <commit_before>import setuptools
setuptools.setup(
name="Mongothon",
version="0.7.7",
author="Tom Leach",
author_email="tom@gc.io",
description="A MongoDB object-document mapping layer for Python",
license="BSD",
keywords="mongo mongodb database pymongo odm validation",
url="http://github.com/gamechanger/mongothon",
packages=["mongothon"],
long_description="Mongothon is a MongoDB object-document mapping " +
"API for Python, loosely based on the awesome " +
"mongoose.js library.",
install_requires=['pymongo>=2.5.0', 'inflection==0.2.0', 'schemer==0.2.1'],
tests_require=['mock', 'nose']
)
<commit_msg>Use latest version of schemer<commit_after> | import setuptools
setuptools.setup(
name="Mongothon",
version="0.7.8",
author="Tom Leach",
author_email="tom@gc.io",
description="A MongoDB object-document mapping layer for Python",
license="BSD",
keywords="mongo mongodb database pymongo odm validation",
url="http://github.com/gamechanger/mongothon",
packages=["mongothon"],
long_description="Mongothon is a MongoDB object-document mapping " +
"API for Python, loosely based on the awesome " +
"mongoose.js library.",
install_requires=['pymongo>=2.5.0', 'inflection==0.2.0', 'schemer==0.2.2'],
tests_require=['mock', 'nose']
)
| import setuptools
setuptools.setup(
name="Mongothon",
version="0.7.7",
author="Tom Leach",
author_email="tom@gc.io",
description="A MongoDB object-document mapping layer for Python",
license="BSD",
keywords="mongo mongodb database pymongo odm validation",
url="http://github.com/gamechanger/mongothon",
packages=["mongothon"],
long_description="Mongothon is a MongoDB object-document mapping " +
"API for Python, loosely based on the awesome " +
"mongoose.js library.",
install_requires=['pymongo>=2.5.0', 'inflection==0.2.0', 'schemer==0.2.1'],
tests_require=['mock', 'nose']
)
Use latest version of schemerimport setuptools
setuptools.setup(
name="Mongothon",
version="0.7.8",
author="Tom Leach",
author_email="tom@gc.io",
description="A MongoDB object-document mapping layer for Python",
license="BSD",
keywords="mongo mongodb database pymongo odm validation",
url="http://github.com/gamechanger/mongothon",
packages=["mongothon"],
long_description="Mongothon is a MongoDB object-document mapping " +
"API for Python, loosely based on the awesome " +
"mongoose.js library.",
install_requires=['pymongo>=2.5.0', 'inflection==0.2.0', 'schemer==0.2.2'],
tests_require=['mock', 'nose']
)
| <commit_before>import setuptools
setuptools.setup(
name="Mongothon",
version="0.7.7",
author="Tom Leach",
author_email="tom@gc.io",
description="A MongoDB object-document mapping layer for Python",
license="BSD",
keywords="mongo mongodb database pymongo odm validation",
url="http://github.com/gamechanger/mongothon",
packages=["mongothon"],
long_description="Mongothon is a MongoDB object-document mapping " +
"API for Python, loosely based on the awesome " +
"mongoose.js library.",
install_requires=['pymongo>=2.5.0', 'inflection==0.2.0', 'schemer==0.2.1'],
tests_require=['mock', 'nose']
)
<commit_msg>Use latest version of schemer<commit_after>import setuptools
setuptools.setup(
name="Mongothon",
version="0.7.8",
author="Tom Leach",
author_email="tom@gc.io",
description="A MongoDB object-document mapping layer for Python",
license="BSD",
keywords="mongo mongodb database pymongo odm validation",
url="http://github.com/gamechanger/mongothon",
packages=["mongothon"],
long_description="Mongothon is a MongoDB object-document mapping " +
"API for Python, loosely based on the awesome " +
"mongoose.js library.",
install_requires=['pymongo>=2.5.0', 'inflection==0.2.0', 'schemer==0.2.2'],
tests_require=['mock', 'nose']
)
|
55e4391b3232edf0f222b02506c10bdb851d7afa | setup.py | setup.py | from setuptools import setup
with open('README.md') as f:
readme = f.read()
setup(
version='1.3.4',
name='FuelSDKWrapper',
description='Simplify and enhance the FuelSDK for Salesforce Marketing Cloud (ExactTarget)',
long_description=readme,
long_description_content_type="text/markdown",
author='Seb Angel',
author_email='seb.angel.force@gmail.com',
py_modules=['FuelSDKWrapper'],
packages=[],
url='https://github.com/seb-angel/FuelSDK-Python-Wrapper',
license='MIT',
install_requires=[
'Salesforce-FuelSDK>=1.3.0',
'PyJWT>=0.1.9',
'requests>=2.18.4',
'suds-jurko>=0.6'
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
)
| from setuptools import setup
with open('README.md', 'r', encoding='utf-8') as f:
readme = f.read()
setup(
version='1.3.4',
name='FuelSDKWrapper',
description='Simplify and enhance the FuelSDK for Salesforce Marketing Cloud (ExactTarget)',
long_description=readme,
long_description_content_type="text/markdown",
author='Seb Angel',
author_email='seb.angel.force@gmail.com',
py_modules=['FuelSDKWrapper'],
packages=[],
url='https://github.com/seb-angel/FuelSDK-Python-Wrapper',
license='MIT',
install_requires=[
'Salesforce-FuelSDK>=1.3.0',
'PyJWT>=0.1.9',
'requests>=2.18.4',
'suds-jurko>=0.6'
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
)
| Add UTF-8 encoding to readme file | Add UTF-8 encoding to readme file
| Python | mit | seb-angel/FuelSDK-Python-Wrapper | from setuptools import setup
with open('README.md') as f:
readme = f.read()
setup(
version='1.3.4',
name='FuelSDKWrapper',
description='Simplify and enhance the FuelSDK for Salesforce Marketing Cloud (ExactTarget)',
long_description=readme,
long_description_content_type="text/markdown",
author='Seb Angel',
author_email='seb.angel.force@gmail.com',
py_modules=['FuelSDKWrapper'],
packages=[],
url='https://github.com/seb-angel/FuelSDK-Python-Wrapper',
license='MIT',
install_requires=[
'Salesforce-FuelSDK>=1.3.0',
'PyJWT>=0.1.9',
'requests>=2.18.4',
'suds-jurko>=0.6'
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
)
Add UTF-8 encoding to readme file | from setuptools import setup
with open('README.md', 'r', encoding='utf-8') as f:
readme = f.read()
setup(
version='1.3.4',
name='FuelSDKWrapper',
description='Simplify and enhance the FuelSDK for Salesforce Marketing Cloud (ExactTarget)',
long_description=readme,
long_description_content_type="text/markdown",
author='Seb Angel',
author_email='seb.angel.force@gmail.com',
py_modules=['FuelSDKWrapper'],
packages=[],
url='https://github.com/seb-angel/FuelSDK-Python-Wrapper',
license='MIT',
install_requires=[
'Salesforce-FuelSDK>=1.3.0',
'PyJWT>=0.1.9',
'requests>=2.18.4',
'suds-jurko>=0.6'
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
)
| <commit_before>from setuptools import setup
with open('README.md') as f:
readme = f.read()
setup(
version='1.3.4',
name='FuelSDKWrapper',
description='Simplify and enhance the FuelSDK for Salesforce Marketing Cloud (ExactTarget)',
long_description=readme,
long_description_content_type="text/markdown",
author='Seb Angel',
author_email='seb.angel.force@gmail.com',
py_modules=['FuelSDKWrapper'],
packages=[],
url='https://github.com/seb-angel/FuelSDK-Python-Wrapper',
license='MIT',
install_requires=[
'Salesforce-FuelSDK>=1.3.0',
'PyJWT>=0.1.9',
'requests>=2.18.4',
'suds-jurko>=0.6'
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
)
<commit_msg>Add UTF-8 encoding to readme file<commit_after> | from setuptools import setup
with open('README.md', 'r', encoding='utf-8') as f:
readme = f.read()
setup(
version='1.3.4',
name='FuelSDKWrapper',
description='Simplify and enhance the FuelSDK for Salesforce Marketing Cloud (ExactTarget)',
long_description=readme,
long_description_content_type="text/markdown",
author='Seb Angel',
author_email='seb.angel.force@gmail.com',
py_modules=['FuelSDKWrapper'],
packages=[],
url='https://github.com/seb-angel/FuelSDK-Python-Wrapper',
license='MIT',
install_requires=[
'Salesforce-FuelSDK>=1.3.0',
'PyJWT>=0.1.9',
'requests>=2.18.4',
'suds-jurko>=0.6'
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
)
| from setuptools import setup
with open('README.md') as f:
readme = f.read()
setup(
version='1.3.4',
name='FuelSDKWrapper',
description='Simplify and enhance the FuelSDK for Salesforce Marketing Cloud (ExactTarget)',
long_description=readme,
long_description_content_type="text/markdown",
author='Seb Angel',
author_email='seb.angel.force@gmail.com',
py_modules=['FuelSDKWrapper'],
packages=[],
url='https://github.com/seb-angel/FuelSDK-Python-Wrapper',
license='MIT',
install_requires=[
'Salesforce-FuelSDK>=1.3.0',
'PyJWT>=0.1.9',
'requests>=2.18.4',
'suds-jurko>=0.6'
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
)
Add UTF-8 encoding to readme filefrom setuptools import setup
with open('README.md', 'r', encoding='utf-8') as f:
readme = f.read()
setup(
version='1.3.4',
name='FuelSDKWrapper',
description='Simplify and enhance the FuelSDK for Salesforce Marketing Cloud (ExactTarget)',
long_description=readme,
long_description_content_type="text/markdown",
author='Seb Angel',
author_email='seb.angel.force@gmail.com',
py_modules=['FuelSDKWrapper'],
packages=[],
url='https://github.com/seb-angel/FuelSDK-Python-Wrapper',
license='MIT',
install_requires=[
'Salesforce-FuelSDK>=1.3.0',
'PyJWT>=0.1.9',
'requests>=2.18.4',
'suds-jurko>=0.6'
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
)
| <commit_before>from setuptools import setup
with open('README.md') as f:
readme = f.read()
setup(
version='1.3.4',
name='FuelSDKWrapper',
description='Simplify and enhance the FuelSDK for Salesforce Marketing Cloud (ExactTarget)',
long_description=readme,
long_description_content_type="text/markdown",
author='Seb Angel',
author_email='seb.angel.force@gmail.com',
py_modules=['FuelSDKWrapper'],
packages=[],
url='https://github.com/seb-angel/FuelSDK-Python-Wrapper',
license='MIT',
install_requires=[
'Salesforce-FuelSDK>=1.3.0',
'PyJWT>=0.1.9',
'requests>=2.18.4',
'suds-jurko>=0.6'
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
)
<commit_msg>Add UTF-8 encoding to readme file<commit_after>from setuptools import setup
with open('README.md', 'r', encoding='utf-8') as f:
readme = f.read()
setup(
version='1.3.4',
name='FuelSDKWrapper',
description='Simplify and enhance the FuelSDK for Salesforce Marketing Cloud (ExactTarget)',
long_description=readme,
long_description_content_type="text/markdown",
author='Seb Angel',
author_email='seb.angel.force@gmail.com',
py_modules=['FuelSDKWrapper'],
packages=[],
url='https://github.com/seb-angel/FuelSDK-Python-Wrapper',
license='MIT',
install_requires=[
'Salesforce-FuelSDK>=1.3.0',
'PyJWT>=0.1.9',
'requests>=2.18.4',
'suds-jurko>=0.6'
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
)
|
d4811ebf3c136bba2559a2156b88909a76cfac7b | setup.py | setup.py | from distutils.core import setup
setup(
name='enumerator',
version='0.1.4',
author='Erik Dominguez, Steve Coward',
author_email='maleus@overflowsecurity.com, steve@sugarstack.io',
maintainer='Steve Coward',
maintainer_email='steve@sugarstack.io',
scripts=['bin/enumerator'],
packages=['enumerator', 'enumerator.static', 'enumerator.lib', 'enumerator.lib.services'],
package_data={
'': ['*.txt'],
},
url='http://pypi.python.org/pypi/enumerator/',
license='LICENSE.txt',
description='enumerator is a tool built to assist in automating the often tedious task of enumerating a target or list of targets during a penetration test.',
long_description=open('README.txt').read(),
install_requires=[
'blinker==1.3',
],
)
| from setuptools import setup
setup(
name='enumerator',
version='0.1.4',
author='Erik Dominguez, Steve Coward',
author_email='maleus@overflowsecurity.com, steve@sugarstack.io',
maintainer='Steve Coward',
maintainer_email='steve@sugarstack.io',
scripts=['bin/enumerator'],
packages=['enumerator', 'enumerator.static', 'enumerator.lib', 'enumerator.lib.services'],
package_data={
'': ['*.txt'],
},
url='http://pypi.python.org/pypi/enumerator/',
license='LICENSE.txt',
description='enumerator is a tool built to assist in automating the often tedious task of enumerating a target or list of targets during a penetration test.',
long_description=open('README.txt').read(),
install_requires=[
'blinker==1.3',
],
)
| Use Setuptools instead of the deprecated Disutils | Use Setuptools instead of the deprecated Disutils
| Python | mit | sgabe/Enumerator | from distutils.core import setup
setup(
name='enumerator',
version='0.1.4',
author='Erik Dominguez, Steve Coward',
author_email='maleus@overflowsecurity.com, steve@sugarstack.io',
maintainer='Steve Coward',
maintainer_email='steve@sugarstack.io',
scripts=['bin/enumerator'],
packages=['enumerator', 'enumerator.static', 'enumerator.lib', 'enumerator.lib.services'],
package_data={
'': ['*.txt'],
},
url='http://pypi.python.org/pypi/enumerator/',
license='LICENSE.txt',
description='enumerator is a tool built to assist in automating the often tedious task of enumerating a target or list of targets during a penetration test.',
long_description=open('README.txt').read(),
install_requires=[
'blinker==1.3',
],
)
Use Setuptools instead of the deprecated Disutils | from setuptools import setup
setup(
name='enumerator',
version='0.1.4',
author='Erik Dominguez, Steve Coward',
author_email='maleus@overflowsecurity.com, steve@sugarstack.io',
maintainer='Steve Coward',
maintainer_email='steve@sugarstack.io',
scripts=['bin/enumerator'],
packages=['enumerator', 'enumerator.static', 'enumerator.lib', 'enumerator.lib.services'],
package_data={
'': ['*.txt'],
},
url='http://pypi.python.org/pypi/enumerator/',
license='LICENSE.txt',
description='enumerator is a tool built to assist in automating the often tedious task of enumerating a target or list of targets during a penetration test.',
long_description=open('README.txt').read(),
install_requires=[
'blinker==1.3',
],
)
| <commit_before>from distutils.core import setup
setup(
name='enumerator',
version='0.1.4',
author='Erik Dominguez, Steve Coward',
author_email='maleus@overflowsecurity.com, steve@sugarstack.io',
maintainer='Steve Coward',
maintainer_email='steve@sugarstack.io',
scripts=['bin/enumerator'],
packages=['enumerator', 'enumerator.static', 'enumerator.lib', 'enumerator.lib.services'],
package_data={
'': ['*.txt'],
},
url='http://pypi.python.org/pypi/enumerator/',
license='LICENSE.txt',
description='enumerator is a tool built to assist in automating the often tedious task of enumerating a target or list of targets during a penetration test.',
long_description=open('README.txt').read(),
install_requires=[
'blinker==1.3',
],
)
<commit_msg>Use Setuptools instead of the deprecated Disutils<commit_after> | from setuptools import setup
setup(
name='enumerator',
version='0.1.4',
author='Erik Dominguez, Steve Coward',
author_email='maleus@overflowsecurity.com, steve@sugarstack.io',
maintainer='Steve Coward',
maintainer_email='steve@sugarstack.io',
scripts=['bin/enumerator'],
packages=['enumerator', 'enumerator.static', 'enumerator.lib', 'enumerator.lib.services'],
package_data={
'': ['*.txt'],
},
url='http://pypi.python.org/pypi/enumerator/',
license='LICENSE.txt',
description='enumerator is a tool built to assist in automating the often tedious task of enumerating a target or list of targets during a penetration test.',
long_description=open('README.txt').read(),
install_requires=[
'blinker==1.3',
],
)
| from distutils.core import setup
setup(
name='enumerator',
version='0.1.4',
author='Erik Dominguez, Steve Coward',
author_email='maleus@overflowsecurity.com, steve@sugarstack.io',
maintainer='Steve Coward',
maintainer_email='steve@sugarstack.io',
scripts=['bin/enumerator'],
packages=['enumerator', 'enumerator.static', 'enumerator.lib', 'enumerator.lib.services'],
package_data={
'': ['*.txt'],
},
url='http://pypi.python.org/pypi/enumerator/',
license='LICENSE.txt',
description='enumerator is a tool built to assist in automating the often tedious task of enumerating a target or list of targets during a penetration test.',
long_description=open('README.txt').read(),
install_requires=[
'blinker==1.3',
],
)
Use Setuptools instead of the deprecated Disutilsfrom setuptools import setup
setup(
name='enumerator',
version='0.1.4',
author='Erik Dominguez, Steve Coward',
author_email='maleus@overflowsecurity.com, steve@sugarstack.io',
maintainer='Steve Coward',
maintainer_email='steve@sugarstack.io',
scripts=['bin/enumerator'],
packages=['enumerator', 'enumerator.static', 'enumerator.lib', 'enumerator.lib.services'],
package_data={
'': ['*.txt'],
},
url='http://pypi.python.org/pypi/enumerator/',
license='LICENSE.txt',
description='enumerator is a tool built to assist in automating the often tedious task of enumerating a target or list of targets during a penetration test.',
long_description=open('README.txt').read(),
install_requires=[
'blinker==1.3',
],
)
| <commit_before>from distutils.core import setup
setup(
name='enumerator',
version='0.1.4',
author='Erik Dominguez, Steve Coward',
author_email='maleus@overflowsecurity.com, steve@sugarstack.io',
maintainer='Steve Coward',
maintainer_email='steve@sugarstack.io',
scripts=['bin/enumerator'],
packages=['enumerator', 'enumerator.static', 'enumerator.lib', 'enumerator.lib.services'],
package_data={
'': ['*.txt'],
},
url='http://pypi.python.org/pypi/enumerator/',
license='LICENSE.txt',
description='enumerator is a tool built to assist in automating the often tedious task of enumerating a target or list of targets during a penetration test.',
long_description=open('README.txt').read(),
install_requires=[
'blinker==1.3',
],
)
<commit_msg>Use Setuptools instead of the deprecated Disutils<commit_after>from setuptools import setup
setup(
name='enumerator',
version='0.1.4',
author='Erik Dominguez, Steve Coward',
author_email='maleus@overflowsecurity.com, steve@sugarstack.io',
maintainer='Steve Coward',
maintainer_email='steve@sugarstack.io',
scripts=['bin/enumerator'],
packages=['enumerator', 'enumerator.static', 'enumerator.lib', 'enumerator.lib.services'],
package_data={
'': ['*.txt'],
},
url='http://pypi.python.org/pypi/enumerator/',
license='LICENSE.txt',
description='enumerator is a tool built to assist in automating the often tedious task of enumerating a target or list of targets during a penetration test.',
long_description=open('README.txt').read(),
install_requires=[
'blinker==1.3',
],
)
|
e703e3d68dd9f3aa17cb3000eaf39044a65f676b | setup.py | setup.py | """small RNA-seq annotation"""
from setuptools import setup, find_packages
def readme():
with open('README.md') as f:
return f.read()
# with open("reqs.txt", "r") as f:
# install_requires = [x.strip() for x in f.readlines() if not x.startswith("#")]
setup(name='mirtop',
version='0.1.2a',
description='Small RNA-seq annotation',
long_description=readme(),
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Topic :: Scientific/Engineering :: Bio-Informatics'
],
keywords='RNA-seq miRNA isomiRs annotation',
url='http://github.com/lpantano/mirtop',
author='Lorena Pantano',
author_email='lpantano@iscb.org',
license='MIT',
packages=find_packages(),
test_suite='nose',
entry_points={
'console_scripts': ['mirtop=mirtop.command_line:main'],
},
include_package_data=True,
zip_safe=False)
| """small RNA-seq annotation"""
from setuptools import setup, find_packages
def readme():
with open('README.md') as f:
return f.read()
# with open("reqs.txt", "r") as f:
# install_requires = [x.strip() for x in f.readlines() if not x.startswith("#")]
setup(name='mirtop',
version='0.1.3a',
description='Small RNA-seq annotation',
long_description=readme(),
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Topic :: Scientific/Engineering :: Bio-Informatics'
],
keywords='RNA-seq miRNA isomiRs annotation',
url='http://github.com/lpantano/mirtop',
author='Lorena Pantano',
author_email='lpantano@iscb.org',
license='MIT',
packages=find_packages(),
test_suite='nose',
entry_points={
'console_scripts': ['mirtop=mirtop.command_line:main'],
},
include_package_data=True,
zip_safe=False)
| Change order of isomiR naming | Change order of isomiR naming
| Python | mit | miRTop/mirtop,miRTop/mirtop | """small RNA-seq annotation"""
from setuptools import setup, find_packages
def readme():
with open('README.md') as f:
return f.read()
# with open("reqs.txt", "r") as f:
# install_requires = [x.strip() for x in f.readlines() if not x.startswith("#")]
setup(name='mirtop',
version='0.1.2a',
description='Small RNA-seq annotation',
long_description=readme(),
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Topic :: Scientific/Engineering :: Bio-Informatics'
],
keywords='RNA-seq miRNA isomiRs annotation',
url='http://github.com/lpantano/mirtop',
author='Lorena Pantano',
author_email='lpantano@iscb.org',
license='MIT',
packages=find_packages(),
test_suite='nose',
entry_points={
'console_scripts': ['mirtop=mirtop.command_line:main'],
},
include_package_data=True,
zip_safe=False)
Change order of isomiR naming | """small RNA-seq annotation"""
from setuptools import setup, find_packages
def readme():
with open('README.md') as f:
return f.read()
# with open("reqs.txt", "r") as f:
# install_requires = [x.strip() for x in f.readlines() if not x.startswith("#")]
setup(name='mirtop',
version='0.1.3a',
description='Small RNA-seq annotation',
long_description=readme(),
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Topic :: Scientific/Engineering :: Bio-Informatics'
],
keywords='RNA-seq miRNA isomiRs annotation',
url='http://github.com/lpantano/mirtop',
author='Lorena Pantano',
author_email='lpantano@iscb.org',
license='MIT',
packages=find_packages(),
test_suite='nose',
entry_points={
'console_scripts': ['mirtop=mirtop.command_line:main'],
},
include_package_data=True,
zip_safe=False)
| <commit_before>"""small RNA-seq annotation"""
from setuptools import setup, find_packages
def readme():
with open('README.md') as f:
return f.read()
# with open("reqs.txt", "r") as f:
# install_requires = [x.strip() for x in f.readlines() if not x.startswith("#")]
setup(name='mirtop',
version='0.1.2a',
description='Small RNA-seq annotation',
long_description=readme(),
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Topic :: Scientific/Engineering :: Bio-Informatics'
],
keywords='RNA-seq miRNA isomiRs annotation',
url='http://github.com/lpantano/mirtop',
author='Lorena Pantano',
author_email='lpantano@iscb.org',
license='MIT',
packages=find_packages(),
test_suite='nose',
entry_points={
'console_scripts': ['mirtop=mirtop.command_line:main'],
},
include_package_data=True,
zip_safe=False)
<commit_msg>Change order of isomiR naming<commit_after> | """small RNA-seq annotation"""
from setuptools import setup, find_packages
def readme():
with open('README.md') as f:
return f.read()
# with open("reqs.txt", "r") as f:
# install_requires = [x.strip() for x in f.readlines() if not x.startswith("#")]
setup(name='mirtop',
version='0.1.3a',
description='Small RNA-seq annotation',
long_description=readme(),
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Topic :: Scientific/Engineering :: Bio-Informatics'
],
keywords='RNA-seq miRNA isomiRs annotation',
url='http://github.com/lpantano/mirtop',
author='Lorena Pantano',
author_email='lpantano@iscb.org',
license='MIT',
packages=find_packages(),
test_suite='nose',
entry_points={
'console_scripts': ['mirtop=mirtop.command_line:main'],
},
include_package_data=True,
zip_safe=False)
| """small RNA-seq annotation"""
from setuptools import setup, find_packages
def readme():
with open('README.md') as f:
return f.read()
# with open("reqs.txt", "r") as f:
# install_requires = [x.strip() for x in f.readlines() if not x.startswith("#")]
setup(name='mirtop',
version='0.1.2a',
description='Small RNA-seq annotation',
long_description=readme(),
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Topic :: Scientific/Engineering :: Bio-Informatics'
],
keywords='RNA-seq miRNA isomiRs annotation',
url='http://github.com/lpantano/mirtop',
author='Lorena Pantano',
author_email='lpantano@iscb.org',
license='MIT',
packages=find_packages(),
test_suite='nose',
entry_points={
'console_scripts': ['mirtop=mirtop.command_line:main'],
},
include_package_data=True,
zip_safe=False)
Change order of isomiR naming"""small RNA-seq annotation"""
from setuptools import setup, find_packages
def readme():
with open('README.md') as f:
return f.read()
# with open("reqs.txt", "r") as f:
# install_requires = [x.strip() for x in f.readlines() if not x.startswith("#")]
setup(name='mirtop',
version='0.1.3a',
description='Small RNA-seq annotation',
long_description=readme(),
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Topic :: Scientific/Engineering :: Bio-Informatics'
],
keywords='RNA-seq miRNA isomiRs annotation',
url='http://github.com/lpantano/mirtop',
author='Lorena Pantano',
author_email='lpantano@iscb.org',
license='MIT',
packages=find_packages(),
test_suite='nose',
entry_points={
'console_scripts': ['mirtop=mirtop.command_line:main'],
},
include_package_data=True,
zip_safe=False)
| <commit_before>"""small RNA-seq annotation"""
from setuptools import setup, find_packages
def readme():
with open('README.md') as f:
return f.read()
# with open("reqs.txt", "r") as f:
# install_requires = [x.strip() for x in f.readlines() if not x.startswith("#")]
setup(name='mirtop',
version='0.1.2a',
description='Small RNA-seq annotation',
long_description=readme(),
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Topic :: Scientific/Engineering :: Bio-Informatics'
],
keywords='RNA-seq miRNA isomiRs annotation',
url='http://github.com/lpantano/mirtop',
author='Lorena Pantano',
author_email='lpantano@iscb.org',
license='MIT',
packages=find_packages(),
test_suite='nose',
entry_points={
'console_scripts': ['mirtop=mirtop.command_line:main'],
},
include_package_data=True,
zip_safe=False)
<commit_msg>Change order of isomiR naming<commit_after>"""small RNA-seq annotation"""
from setuptools import setup, find_packages
def readme():
with open('README.md') as f:
return f.read()
# with open("reqs.txt", "r") as f:
# install_requires = [x.strip() for x in f.readlines() if not x.startswith("#")]
setup(name='mirtop',
version='0.1.3a',
description='Small RNA-seq annotation',
long_description=readme(),
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Topic :: Scientific/Engineering :: Bio-Informatics'
],
keywords='RNA-seq miRNA isomiRs annotation',
url='http://github.com/lpantano/mirtop',
author='Lorena Pantano',
author_email='lpantano@iscb.org',
license='MIT',
packages=find_packages(),
test_suite='nose',
entry_points={
'console_scripts': ['mirtop=mirtop.command_line:main'],
},
include_package_data=True,
zip_safe=False)
|
ac4afca0a66638d8318e69f428d4869958fef0cd | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='neomodel',
version='0.3.6',
description='An object mapper for the neo4j graph database.',
long_description=open('README.rst').read(),
author='Robin Edwards',
author_email='robin.ge@gmail.com',
zip_safe=True,
url='http://github.com/robinedwards/neomodel',
license='MIT',
packages=find_packages(),
keywords='graph neo4j py2neo ORM',
tests_require=['nose==1.1.2'],
test_suite='nose.collector',
install_requires=['py2neo==1.5', 'pytz==2013b', 'lucene-querybuilder==0.1.6'],
dependency_links=['https://github.com/scholrly/lucene-querybuilder/zipball/4b12452e#egg=lucene-querybuilder'],
classifiers=[
"Development Status :: 5 - Production/Stable",
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Topic :: Database",
])
| from setuptools import setup, find_packages
setup(
name='neomodel',
version='0.3.6',
description='An object mapper for the neo4j graph database.',
long_description=open('README.rst').read(),
author='Robin Edwards',
author_email='robin.ge@gmail.com',
zip_safe=True,
url='http://github.com/robinedwards/neomodel',
license='MIT',
packages=find_packages(),
keywords='graph neo4j py2neo ORM',
tests_require=['nose==1.1.2'],
test_suite='nose.collector',
install_requires=['py2neo==1.5', 'pytz==2013b', 'lucene-querybuilder==0.2'],
classifiers=[
"Development Status :: 5 - Production/Stable",
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Topic :: Database",
])
| Use pypi version of lucene-querybuilder | Use pypi version of lucene-querybuilder
| Python | mit | bleib1dj/neomodel,pombredanne/neomodel,fpieper/neomodel,cristigociu/neomodel_dh,wcooley/neomodel,robinedwards/neomodel,bleib1dj/neomodel,andrefsp/neomodel,robinedwards/neomodel | from setuptools import setup, find_packages
setup(
name='neomodel',
version='0.3.6',
description='An object mapper for the neo4j graph database.',
long_description=open('README.rst').read(),
author='Robin Edwards',
author_email='robin.ge@gmail.com',
zip_safe=True,
url='http://github.com/robinedwards/neomodel',
license='MIT',
packages=find_packages(),
keywords='graph neo4j py2neo ORM',
tests_require=['nose==1.1.2'],
test_suite='nose.collector',
install_requires=['py2neo==1.5', 'pytz==2013b', 'lucene-querybuilder==0.1.6'],
dependency_links=['https://github.com/scholrly/lucene-querybuilder/zipball/4b12452e#egg=lucene-querybuilder'],
classifiers=[
"Development Status :: 5 - Production/Stable",
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Topic :: Database",
])
Use pypi version of lucene-querybuilder | from setuptools import setup, find_packages
setup(
name='neomodel',
version='0.3.6',
description='An object mapper for the neo4j graph database.',
long_description=open('README.rst').read(),
author='Robin Edwards',
author_email='robin.ge@gmail.com',
zip_safe=True,
url='http://github.com/robinedwards/neomodel',
license='MIT',
packages=find_packages(),
keywords='graph neo4j py2neo ORM',
tests_require=['nose==1.1.2'],
test_suite='nose.collector',
install_requires=['py2neo==1.5', 'pytz==2013b', 'lucene-querybuilder==0.2'],
classifiers=[
"Development Status :: 5 - Production/Stable",
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Topic :: Database",
])
| <commit_before>from setuptools import setup, find_packages
setup(
name='neomodel',
version='0.3.6',
description='An object mapper for the neo4j graph database.',
long_description=open('README.rst').read(),
author='Robin Edwards',
author_email='robin.ge@gmail.com',
zip_safe=True,
url='http://github.com/robinedwards/neomodel',
license='MIT',
packages=find_packages(),
keywords='graph neo4j py2neo ORM',
tests_require=['nose==1.1.2'],
test_suite='nose.collector',
install_requires=['py2neo==1.5', 'pytz==2013b', 'lucene-querybuilder==0.1.6'],
dependency_links=['https://github.com/scholrly/lucene-querybuilder/zipball/4b12452e#egg=lucene-querybuilder'],
classifiers=[
"Development Status :: 5 - Production/Stable",
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Topic :: Database",
])
<commit_msg>Use pypi version of lucene-querybuilder<commit_after> | from setuptools import setup, find_packages
setup(
name='neomodel',
version='0.3.6',
description='An object mapper for the neo4j graph database.',
long_description=open('README.rst').read(),
author='Robin Edwards',
author_email='robin.ge@gmail.com',
zip_safe=True,
url='http://github.com/robinedwards/neomodel',
license='MIT',
packages=find_packages(),
keywords='graph neo4j py2neo ORM',
tests_require=['nose==1.1.2'],
test_suite='nose.collector',
install_requires=['py2neo==1.5', 'pytz==2013b', 'lucene-querybuilder==0.2'],
classifiers=[
"Development Status :: 5 - Production/Stable",
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Topic :: Database",
])
| from setuptools import setup, find_packages
setup(
name='neomodel',
version='0.3.6',
description='An object mapper for the neo4j graph database.',
long_description=open('README.rst').read(),
author='Robin Edwards',
author_email='robin.ge@gmail.com',
zip_safe=True,
url='http://github.com/robinedwards/neomodel',
license='MIT',
packages=find_packages(),
keywords='graph neo4j py2neo ORM',
tests_require=['nose==1.1.2'],
test_suite='nose.collector',
install_requires=['py2neo==1.5', 'pytz==2013b', 'lucene-querybuilder==0.1.6'],
dependency_links=['https://github.com/scholrly/lucene-querybuilder/zipball/4b12452e#egg=lucene-querybuilder'],
classifiers=[
"Development Status :: 5 - Production/Stable",
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Topic :: Database",
])
Use pypi version of lucene-querybuilderfrom setuptools import setup, find_packages
setup(
name='neomodel',
version='0.3.6',
description='An object mapper for the neo4j graph database.',
long_description=open('README.rst').read(),
author='Robin Edwards',
author_email='robin.ge@gmail.com',
zip_safe=True,
url='http://github.com/robinedwards/neomodel',
license='MIT',
packages=find_packages(),
keywords='graph neo4j py2neo ORM',
tests_require=['nose==1.1.2'],
test_suite='nose.collector',
install_requires=['py2neo==1.5', 'pytz==2013b', 'lucene-querybuilder==0.2'],
classifiers=[
"Development Status :: 5 - Production/Stable",
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Topic :: Database",
])
| <commit_before>from setuptools import setup, find_packages
setup(
name='neomodel',
version='0.3.6',
description='An object mapper for the neo4j graph database.',
long_description=open('README.rst').read(),
author='Robin Edwards',
author_email='robin.ge@gmail.com',
zip_safe=True,
url='http://github.com/robinedwards/neomodel',
license='MIT',
packages=find_packages(),
keywords='graph neo4j py2neo ORM',
tests_require=['nose==1.1.2'],
test_suite='nose.collector',
install_requires=['py2neo==1.5', 'pytz==2013b', 'lucene-querybuilder==0.1.6'],
dependency_links=['https://github.com/scholrly/lucene-querybuilder/zipball/4b12452e#egg=lucene-querybuilder'],
classifiers=[
"Development Status :: 5 - Production/Stable",
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Topic :: Database",
])
<commit_msg>Use pypi version of lucene-querybuilder<commit_after>from setuptools import setup, find_packages
setup(
name='neomodel',
version='0.3.6',
description='An object mapper for the neo4j graph database.',
long_description=open('README.rst').read(),
author='Robin Edwards',
author_email='robin.ge@gmail.com',
zip_safe=True,
url='http://github.com/robinedwards/neomodel',
license='MIT',
packages=find_packages(),
keywords='graph neo4j py2neo ORM',
tests_require=['nose==1.1.2'],
test_suite='nose.collector',
install_requires=['py2neo==1.5', 'pytz==2013b', 'lucene-querybuilder==0.2'],
classifiers=[
"Development Status :: 5 - Production/Stable",
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Topic :: Database",
])
|
2bd62c4b241340ca79292c3b9ef3ad87715e64c8 | setup.py | setup.py | import os
from setuptools import find_packages, setup
from asgiref import __version__
# We use the README as the long_description
readme_path = os.path.join(os.path.dirname(__file__), "README.rst")
setup(
name='asgiref',
version=__version__,
url='http://github.com/django/asgiref/',
author='Django Software Foundation',
author_email='foundation@djangoproject.com',
description='ASGI specs, helper code, and adapters',
long_description=open(readme_path).read(),
license='BSD',
zip_safe=False,
packages=find_packages(exclude=['tests']),
include_package_data=True,
extras_require={
"tests": [
"pytest~=3.3",
"pytest-asyncio~=0.8",
],
},
install_requires=[
'async_timeout~=3.0',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP',
],
)
| import os
from setuptools import find_packages, setup
from asgiref import __version__
# We use the README as the long_description
readme_path = os.path.join(os.path.dirname(__file__), "README.rst")
setup(
name='asgiref',
version=__version__,
url='http://github.com/django/asgiref/',
author='Django Software Foundation',
author_email='foundation@djangoproject.com',
description='ASGI specs, helper code, and adapters',
long_description=open(readme_path).read(),
license='BSD',
zip_safe=False,
packages=find_packages(exclude=['tests']),
include_package_data=True,
extras_require={
"tests": [
"pytest~=3.3",
"pytest-asyncio~=0.8",
],
},
install_requires=[
'async_timeout>=2.0,<4.0',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP',
],
)
| Fix version to include 2.0 for now (3.0 appears unfindable) | Fix version to include 2.0 for now (3.0 appears unfindable)
| Python | bsd-3-clause | django/asgiref | import os
from setuptools import find_packages, setup
from asgiref import __version__
# We use the README as the long_description
readme_path = os.path.join(os.path.dirname(__file__), "README.rst")
setup(
name='asgiref',
version=__version__,
url='http://github.com/django/asgiref/',
author='Django Software Foundation',
author_email='foundation@djangoproject.com',
description='ASGI specs, helper code, and adapters',
long_description=open(readme_path).read(),
license='BSD',
zip_safe=False,
packages=find_packages(exclude=['tests']),
include_package_data=True,
extras_require={
"tests": [
"pytest~=3.3",
"pytest-asyncio~=0.8",
],
},
install_requires=[
'async_timeout~=3.0',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP',
],
)
Fix version to include 2.0 for now (3.0 appears unfindable) | import os
from setuptools import find_packages, setup
from asgiref import __version__
# We use the README as the long_description
readme_path = os.path.join(os.path.dirname(__file__), "README.rst")
setup(
name='asgiref',
version=__version__,
url='http://github.com/django/asgiref/',
author='Django Software Foundation',
author_email='foundation@djangoproject.com',
description='ASGI specs, helper code, and adapters',
long_description=open(readme_path).read(),
license='BSD',
zip_safe=False,
packages=find_packages(exclude=['tests']),
include_package_data=True,
extras_require={
"tests": [
"pytest~=3.3",
"pytest-asyncio~=0.8",
],
},
install_requires=[
'async_timeout>=2.0,<4.0',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP',
],
)
| <commit_before>import os
from setuptools import find_packages, setup
from asgiref import __version__
# We use the README as the long_description
readme_path = os.path.join(os.path.dirname(__file__), "README.rst")
setup(
name='asgiref',
version=__version__,
url='http://github.com/django/asgiref/',
author='Django Software Foundation',
author_email='foundation@djangoproject.com',
description='ASGI specs, helper code, and adapters',
long_description=open(readme_path).read(),
license='BSD',
zip_safe=False,
packages=find_packages(exclude=['tests']),
include_package_data=True,
extras_require={
"tests": [
"pytest~=3.3",
"pytest-asyncio~=0.8",
],
},
install_requires=[
'async_timeout~=3.0',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP',
],
)
<commit_msg>Fix version to include 2.0 for now (3.0 appears unfindable)<commit_after> | import os
from setuptools import find_packages, setup
from asgiref import __version__
# We use the README as the long_description
readme_path = os.path.join(os.path.dirname(__file__), "README.rst")
setup(
name='asgiref',
version=__version__,
url='http://github.com/django/asgiref/',
author='Django Software Foundation',
author_email='foundation@djangoproject.com',
description='ASGI specs, helper code, and adapters',
long_description=open(readme_path).read(),
license='BSD',
zip_safe=False,
packages=find_packages(exclude=['tests']),
include_package_data=True,
extras_require={
"tests": [
"pytest~=3.3",
"pytest-asyncio~=0.8",
],
},
install_requires=[
'async_timeout>=2.0,<4.0',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP',
],
)
| import os
from setuptools import find_packages, setup
from asgiref import __version__
# We use the README as the long_description
readme_path = os.path.join(os.path.dirname(__file__), "README.rst")
setup(
name='asgiref',
version=__version__,
url='http://github.com/django/asgiref/',
author='Django Software Foundation',
author_email='foundation@djangoproject.com',
description='ASGI specs, helper code, and adapters',
long_description=open(readme_path).read(),
license='BSD',
zip_safe=False,
packages=find_packages(exclude=['tests']),
include_package_data=True,
extras_require={
"tests": [
"pytest~=3.3",
"pytest-asyncio~=0.8",
],
},
install_requires=[
'async_timeout~=3.0',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP',
],
)
Fix version to include 2.0 for now (3.0 appears unfindable)import os
from setuptools import find_packages, setup
from asgiref import __version__
# We use the README as the long_description
readme_path = os.path.join(os.path.dirname(__file__), "README.rst")
setup(
name='asgiref',
version=__version__,
url='http://github.com/django/asgiref/',
author='Django Software Foundation',
author_email='foundation@djangoproject.com',
description='ASGI specs, helper code, and adapters',
long_description=open(readme_path).read(),
license='BSD',
zip_safe=False,
packages=find_packages(exclude=['tests']),
include_package_data=True,
extras_require={
"tests": [
"pytest~=3.3",
"pytest-asyncio~=0.8",
],
},
install_requires=[
'async_timeout>=2.0,<4.0',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP',
],
)
| <commit_before>import os
from setuptools import find_packages, setup
from asgiref import __version__
# We use the README as the long_description
readme_path = os.path.join(os.path.dirname(__file__), "README.rst")
setup(
name='asgiref',
version=__version__,
url='http://github.com/django/asgiref/',
author='Django Software Foundation',
author_email='foundation@djangoproject.com',
description='ASGI specs, helper code, and adapters',
long_description=open(readme_path).read(),
license='BSD',
zip_safe=False,
packages=find_packages(exclude=['tests']),
include_package_data=True,
extras_require={
"tests": [
"pytest~=3.3",
"pytest-asyncio~=0.8",
],
},
install_requires=[
'async_timeout~=3.0',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP',
],
)
<commit_msg>Fix version to include 2.0 for now (3.0 appears unfindable)<commit_after>import os
from setuptools import find_packages, setup
from asgiref import __version__
# We use the README as the long_description
readme_path = os.path.join(os.path.dirname(__file__), "README.rst")
setup(
name='asgiref',
version=__version__,
url='http://github.com/django/asgiref/',
author='Django Software Foundation',
author_email='foundation@djangoproject.com',
description='ASGI specs, helper code, and adapters',
long_description=open(readme_path).read(),
license='BSD',
zip_safe=False,
packages=find_packages(exclude=['tests']),
include_package_data=True,
extras_require={
"tests": [
"pytest~=3.3",
"pytest-asyncio~=0.8",
],
},
install_requires=[
'async_timeout>=2.0,<4.0',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP',
],
)
|
e97081c000804b24021946ac39245e2e7a76e2a3 | setup.py | setup.py | from authy import __version__
from setuptools import setup, find_packages
# to install authy type the following command:
# python setup.py install
with open('README.md') as f:
long_description = f.read()
setup(
name="authy",
version=__version__,
description="Authy API Client",
author="Authy Inc",
author_email="dev-support@authy.com",
url="http://github.com/authy/authy-python",
keywords=["authy", "two factor", "authentication"],
install_requires=["requests>=2.2.1", "simplejson>=3.4.0", "six>=1.8.0"],
packages=find_packages(),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Security"
],
long_description=long_description,
long_description_content_type='text/markdown'
)
| from authy import __version__
from setuptools import setup, find_packages
# to install authy type the following command:
# python setup.py install
with open('README.md') as f:
long_description = f.read()
setup(
name="authy",
version=__version__,
description="Authy API Client",
author="Authy Inc",
author_email="dev-support@authy.com",
url="http://github.com/authy/authy-python",
keywords=["authy", "two factor", "authentication"],
install_requires=[
"requests>=2.2.1",
"six>=1.8.0",
"simplejson>=3.4.0;python_version<'2.6'"
]
packages=find_packages(),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Security"
],
long_description=long_description,
long_description_content_type='text/markdown'
)
| Remove simplejson as a dependency for python 2.6+ | Remove simplejson as a dependency for python 2.6+
Python 2.6 introduced the ``json`` module into the core language and so ``simplejson`` is only required in python versions prior to python 2.6. This fix ensures that pip will only install simplejson if the version of python being run is less than 2.6. This stops the un-needed installation of a library that wont ever actually get used by authy if a newer version of python is running. | Python | mit | authy/authy-python,authy/authy-python | from authy import __version__
from setuptools import setup, find_packages
# to install authy type the following command:
# python setup.py install
with open('README.md') as f:
long_description = f.read()
setup(
name="authy",
version=__version__,
description="Authy API Client",
author="Authy Inc",
author_email="dev-support@authy.com",
url="http://github.com/authy/authy-python",
keywords=["authy", "two factor", "authentication"],
install_requires=["requests>=2.2.1", "simplejson>=3.4.0", "six>=1.8.0"],
packages=find_packages(),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Security"
],
long_description=long_description,
long_description_content_type='text/markdown'
)
Remove simplejson as a dependency for python 2.6+
Python 2.6 introduced the ``json`` module into the core language and so ``simplejson`` is only required in python versions prior to python 2.6. This fix ensures that pip will only install simplejson if the version of python being run is less than 2.6. This stops the un-needed installation of a library that wont ever actually get used by authy if a newer version of python is running. | from authy import __version__
from setuptools import setup, find_packages
# to install authy type the following command:
# python setup.py install
with open('README.md') as f:
long_description = f.read()
setup(
name="authy",
version=__version__,
description="Authy API Client",
author="Authy Inc",
author_email="dev-support@authy.com",
url="http://github.com/authy/authy-python",
keywords=["authy", "two factor", "authentication"],
install_requires=[
"requests>=2.2.1",
"six>=1.8.0",
"simplejson>=3.4.0;python_version<'2.6'"
]
packages=find_packages(),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Security"
],
long_description=long_description,
long_description_content_type='text/markdown'
)
| <commit_before>from authy import __version__
from setuptools import setup, find_packages
# to install authy type the following command:
# python setup.py install
with open('README.md') as f:
long_description = f.read()
setup(
name="authy",
version=__version__,
description="Authy API Client",
author="Authy Inc",
author_email="dev-support@authy.com",
url="http://github.com/authy/authy-python",
keywords=["authy", "two factor", "authentication"],
install_requires=["requests>=2.2.1", "simplejson>=3.4.0", "six>=1.8.0"],
packages=find_packages(),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Security"
],
long_description=long_description,
long_description_content_type='text/markdown'
)
<commit_msg>Remove simplejson as a dependency for python 2.6+
Python 2.6 introduced the ``json`` module into the core language and so ``simplejson`` is only required in python versions prior to python 2.6. This fix ensures that pip will only install simplejson if the version of python being run is less than 2.6. This stops the un-needed installation of a library that wont ever actually get used by authy if a newer version of python is running.<commit_after> | from authy import __version__
from setuptools import setup, find_packages
# to install authy type the following command:
# python setup.py install
with open('README.md') as f:
long_description = f.read()
setup(
name="authy",
version=__version__,
description="Authy API Client",
author="Authy Inc",
author_email="dev-support@authy.com",
url="http://github.com/authy/authy-python",
keywords=["authy", "two factor", "authentication"],
install_requires=[
"requests>=2.2.1",
"six>=1.8.0",
"simplejson>=3.4.0;python_version<'2.6'"
]
packages=find_packages(),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Security"
],
long_description=long_description,
long_description_content_type='text/markdown'
)
| from authy import __version__
from setuptools import setup, find_packages
# to install authy type the following command:
# python setup.py install
with open('README.md') as f:
long_description = f.read()
setup(
name="authy",
version=__version__,
description="Authy API Client",
author="Authy Inc",
author_email="dev-support@authy.com",
url="http://github.com/authy/authy-python",
keywords=["authy", "two factor", "authentication"],
install_requires=["requests>=2.2.1", "simplejson>=3.4.0", "six>=1.8.0"],
packages=find_packages(),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Security"
],
long_description=long_description,
long_description_content_type='text/markdown'
)
Remove simplejson as a dependency for python 2.6+
Python 2.6 introduced the ``json`` module into the core language and so ``simplejson`` is only required in python versions prior to python 2.6. This fix ensures that pip will only install simplejson if the version of python being run is less than 2.6. This stops the un-needed installation of a library that wont ever actually get used by authy if a newer version of python is running.from authy import __version__
from setuptools import setup, find_packages
# to install authy type the following command:
# python setup.py install
with open('README.md') as f:
long_description = f.read()
setup(
name="authy",
version=__version__,
description="Authy API Client",
author="Authy Inc",
author_email="dev-support@authy.com",
url="http://github.com/authy/authy-python",
keywords=["authy", "two factor", "authentication"],
install_requires=[
"requests>=2.2.1",
"six>=1.8.0",
"simplejson>=3.4.0;python_version<'2.6'"
]
packages=find_packages(),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Security"
],
long_description=long_description,
long_description_content_type='text/markdown'
)
| <commit_before>from authy import __version__
from setuptools import setup, find_packages
# to install authy type the following command:
# python setup.py install
with open('README.md') as f:
long_description = f.read()
setup(
name="authy",
version=__version__,
description="Authy API Client",
author="Authy Inc",
author_email="dev-support@authy.com",
url="http://github.com/authy/authy-python",
keywords=["authy", "two factor", "authentication"],
install_requires=["requests>=2.2.1", "simplejson>=3.4.0", "six>=1.8.0"],
packages=find_packages(),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Security"
],
long_description=long_description,
long_description_content_type='text/markdown'
)
<commit_msg>Remove simplejson as a dependency for python 2.6+
Python 2.6 introduced the ``json`` module into the core language and so ``simplejson`` is only required in python versions prior to python 2.6. This fix ensures that pip will only install simplejson if the version of python being run is less than 2.6. This stops the un-needed installation of a library that wont ever actually get used by authy if a newer version of python is running.<commit_after>from authy import __version__
from setuptools import setup, find_packages
# to install authy type the following command:
# python setup.py install
with open('README.md') as f:
long_description = f.read()
setup(
name="authy",
version=__version__,
description="Authy API Client",
author="Authy Inc",
author_email="dev-support@authy.com",
url="http://github.com/authy/authy-python",
keywords=["authy", "two factor", "authentication"],
install_requires=[
"requests>=2.2.1",
"six>=1.8.0",
"simplejson>=3.4.0;python_version<'2.6'"
]
packages=find_packages(),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Security"
],
long_description=long_description,
long_description_content_type='text/markdown'
)
|
d8769ab9c5d1d8b1f5ccbd4e22d2ed2ed17601b5 | setup.py | setup.py | from setuptools import setup
setup(
name='instabot',
packages=['instabot', 'instabot.bot', 'instabot.api'],
version='0.3.5.2',
description='Cool Instagram bot scripts and API python wrapper.',
author='Daniil Okhlopkov, Evgeny Kemerov',
author_email='ohld@icloud.com, eskemerov@gmail.com',
url='https://github.com/instagrambot/instabot',
download_url='https://github.com/instagrambot/instabot/tarball/0.3.5.2',
keywords=['instagram', 'bot', 'api', 'wrapper'],
classifiers=[],
install_requires=['tqdm', 'requests-toolbelt', 'requests', 'schedule'],
)
| from setuptools import setup
setup(
name='instabot',
packages=['instabot', 'instabot.bot', 'instabot.api'],
version='0.3.5.2',
description='Cool Instagram bot scripts and API python wrapper.',
author='Daniil Okhlopkov, Evgeny Kemerov',
author_email='ohld@icloud.com, eskemerov@gmail.com',
url='https://github.com/instagrambot/instabot',
download_url='https://github.com/instagrambot/instabot/tarball/0.3.5.2',
keywords=['instagram', 'bot', 'api', 'wrapper'],
classifiers=[],
install_requires=['tqdm', 'requests-toolbelt', 'requests', 'schedule', 'future'],
)
| Add "future" package for python2 compability | Add "future" package for python2 compability | Python | apache-2.0 | ohld/instabot,instagrambot/instabot,instagrambot/instabot | from setuptools import setup
setup(
name='instabot',
packages=['instabot', 'instabot.bot', 'instabot.api'],
version='0.3.5.2',
description='Cool Instagram bot scripts and API python wrapper.',
author='Daniil Okhlopkov, Evgeny Kemerov',
author_email='ohld@icloud.com, eskemerov@gmail.com',
url='https://github.com/instagrambot/instabot',
download_url='https://github.com/instagrambot/instabot/tarball/0.3.5.2',
keywords=['instagram', 'bot', 'api', 'wrapper'],
classifiers=[],
install_requires=['tqdm', 'requests-toolbelt', 'requests', 'schedule'],
)
Add "future" package for python2 compability | from setuptools import setup
setup(
name='instabot',
packages=['instabot', 'instabot.bot', 'instabot.api'],
version='0.3.5.2',
description='Cool Instagram bot scripts and API python wrapper.',
author='Daniil Okhlopkov, Evgeny Kemerov',
author_email='ohld@icloud.com, eskemerov@gmail.com',
url='https://github.com/instagrambot/instabot',
download_url='https://github.com/instagrambot/instabot/tarball/0.3.5.2',
keywords=['instagram', 'bot', 'api', 'wrapper'],
classifiers=[],
install_requires=['tqdm', 'requests-toolbelt', 'requests', 'schedule', 'future'],
)
| <commit_before>from setuptools import setup
setup(
name='instabot',
packages=['instabot', 'instabot.bot', 'instabot.api'],
version='0.3.5.2',
description='Cool Instagram bot scripts and API python wrapper.',
author='Daniil Okhlopkov, Evgeny Kemerov',
author_email='ohld@icloud.com, eskemerov@gmail.com',
url='https://github.com/instagrambot/instabot',
download_url='https://github.com/instagrambot/instabot/tarball/0.3.5.2',
keywords=['instagram', 'bot', 'api', 'wrapper'],
classifiers=[],
install_requires=['tqdm', 'requests-toolbelt', 'requests', 'schedule'],
)
<commit_msg>Add "future" package for python2 compability<commit_after> | from setuptools import setup
setup(
name='instabot',
packages=['instabot', 'instabot.bot', 'instabot.api'],
version='0.3.5.2',
description='Cool Instagram bot scripts and API python wrapper.',
author='Daniil Okhlopkov, Evgeny Kemerov',
author_email='ohld@icloud.com, eskemerov@gmail.com',
url='https://github.com/instagrambot/instabot',
download_url='https://github.com/instagrambot/instabot/tarball/0.3.5.2',
keywords=['instagram', 'bot', 'api', 'wrapper'],
classifiers=[],
install_requires=['tqdm', 'requests-toolbelt', 'requests', 'schedule', 'future'],
)
| from setuptools import setup
setup(
name='instabot',
packages=['instabot', 'instabot.bot', 'instabot.api'],
version='0.3.5.2',
description='Cool Instagram bot scripts and API python wrapper.',
author='Daniil Okhlopkov, Evgeny Kemerov',
author_email='ohld@icloud.com, eskemerov@gmail.com',
url='https://github.com/instagrambot/instabot',
download_url='https://github.com/instagrambot/instabot/tarball/0.3.5.2',
keywords=['instagram', 'bot', 'api', 'wrapper'],
classifiers=[],
install_requires=['tqdm', 'requests-toolbelt', 'requests', 'schedule'],
)
Add "future" package for python2 compabilityfrom setuptools import setup
setup(
name='instabot',
packages=['instabot', 'instabot.bot', 'instabot.api'],
version='0.3.5.2',
description='Cool Instagram bot scripts and API python wrapper.',
author='Daniil Okhlopkov, Evgeny Kemerov',
author_email='ohld@icloud.com, eskemerov@gmail.com',
url='https://github.com/instagrambot/instabot',
download_url='https://github.com/instagrambot/instabot/tarball/0.3.5.2',
keywords=['instagram', 'bot', 'api', 'wrapper'],
classifiers=[],
install_requires=['tqdm', 'requests-toolbelt', 'requests', 'schedule', 'future'],
)
| <commit_before>from setuptools import setup
setup(
name='instabot',
packages=['instabot', 'instabot.bot', 'instabot.api'],
version='0.3.5.2',
description='Cool Instagram bot scripts and API python wrapper.',
author='Daniil Okhlopkov, Evgeny Kemerov',
author_email='ohld@icloud.com, eskemerov@gmail.com',
url='https://github.com/instagrambot/instabot',
download_url='https://github.com/instagrambot/instabot/tarball/0.3.5.2',
keywords=['instagram', 'bot', 'api', 'wrapper'],
classifiers=[],
install_requires=['tqdm', 'requests-toolbelt', 'requests', 'schedule'],
)
<commit_msg>Add "future" package for python2 compability<commit_after>from setuptools import setup
setup(
name='instabot',
packages=['instabot', 'instabot.bot', 'instabot.api'],
version='0.3.5.2',
description='Cool Instagram bot scripts and API python wrapper.',
author='Daniil Okhlopkov, Evgeny Kemerov',
author_email='ohld@icloud.com, eskemerov@gmail.com',
url='https://github.com/instagrambot/instabot',
download_url='https://github.com/instagrambot/instabot/tarball/0.3.5.2',
keywords=['instagram', 'bot', 'api', 'wrapper'],
classifiers=[],
install_requires=['tqdm', 'requests-toolbelt', 'requests', 'schedule', 'future'],
)
|
5c2435641ce8f2e680a78e64efac5809e94a1cb8 | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Import python libs
import os
import sys
if 'USE_SETUPTOOLS' in os.environ or 'setuptools' in sys.modules:
from setuptools import setup
else:
from distutils.core import setup
NAME = 'rflo'
DESC = ('raft on raet and ioflo')
VERSION = '0.0.1'
setup(name=NAME,
version=VERSION,
description=DESC,
author='Thomas S Hatch',
author_email='thatch@saltstack.com',
url='https://github.com/thatch45/rflo',
packages=[
'rflo',
]
)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Import python libs
import os
import sys
if 'USE_SETUPTOOLS' in os.environ or 'setuptools' in sys.modules:
from setuptools import setup
else:
from distutils.core import setup
NAME = 'rflo'
DESC = ('raft on raet and ioflo')
VERSION = '0.0.1'
setup(name=NAME,
version=VERSION,
description=DESC,
author='Thomas S Hatch',
author_email='thatch@saltstack.com',
url='https://github.com/thatch45/rflo',
packages=[
'rflo',
],
scripts=[
'scripts/rflo',
],
package_data = {'rflo': ['*.flo']},
)
| Add floscripts and start scripts | Add floscripts and start scripts
| Python | apache-2.0 | thatch45/rflo | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Import python libs
import os
import sys
if 'USE_SETUPTOOLS' in os.environ or 'setuptools' in sys.modules:
from setuptools import setup
else:
from distutils.core import setup
NAME = 'rflo'
DESC = ('raft on raet and ioflo')
VERSION = '0.0.1'
setup(name=NAME,
version=VERSION,
description=DESC,
author='Thomas S Hatch',
author_email='thatch@saltstack.com',
url='https://github.com/thatch45/rflo',
packages=[
'rflo',
]
)
Add floscripts and start scripts | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Import python libs
import os
import sys
if 'USE_SETUPTOOLS' in os.environ or 'setuptools' in sys.modules:
from setuptools import setup
else:
from distutils.core import setup
NAME = 'rflo'
DESC = ('raft on raet and ioflo')
VERSION = '0.0.1'
setup(name=NAME,
version=VERSION,
description=DESC,
author='Thomas S Hatch',
author_email='thatch@saltstack.com',
url='https://github.com/thatch45/rflo',
packages=[
'rflo',
],
scripts=[
'scripts/rflo',
],
package_data = {'rflo': ['*.flo']},
)
| <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Import python libs
import os
import sys
if 'USE_SETUPTOOLS' in os.environ or 'setuptools' in sys.modules:
from setuptools import setup
else:
from distutils.core import setup
NAME = 'rflo'
DESC = ('raft on raet and ioflo')
VERSION = '0.0.1'
setup(name=NAME,
version=VERSION,
description=DESC,
author='Thomas S Hatch',
author_email='thatch@saltstack.com',
url='https://github.com/thatch45/rflo',
packages=[
'rflo',
]
)
<commit_msg>Add floscripts and start scripts<commit_after> | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Import python libs
import os
import sys
if 'USE_SETUPTOOLS' in os.environ or 'setuptools' in sys.modules:
from setuptools import setup
else:
from distutils.core import setup
NAME = 'rflo'
DESC = ('raft on raet and ioflo')
VERSION = '0.0.1'
setup(name=NAME,
version=VERSION,
description=DESC,
author='Thomas S Hatch',
author_email='thatch@saltstack.com',
url='https://github.com/thatch45/rflo',
packages=[
'rflo',
],
scripts=[
'scripts/rflo',
],
package_data = {'rflo': ['*.flo']},
)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Import python libs
import os
import sys
if 'USE_SETUPTOOLS' in os.environ or 'setuptools' in sys.modules:
from setuptools import setup
else:
from distutils.core import setup
NAME = 'rflo'
DESC = ('raft on raet and ioflo')
VERSION = '0.0.1'
setup(name=NAME,
version=VERSION,
description=DESC,
author='Thomas S Hatch',
author_email='thatch@saltstack.com',
url='https://github.com/thatch45/rflo',
packages=[
'rflo',
]
)
Add floscripts and start scripts#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Import python libs
import os
import sys
if 'USE_SETUPTOOLS' in os.environ or 'setuptools' in sys.modules:
from setuptools import setup
else:
from distutils.core import setup
NAME = 'rflo'
DESC = ('raft on raet and ioflo')
VERSION = '0.0.1'
setup(name=NAME,
version=VERSION,
description=DESC,
author='Thomas S Hatch',
author_email='thatch@saltstack.com',
url='https://github.com/thatch45/rflo',
packages=[
'rflo',
],
scripts=[
'scripts/rflo',
],
package_data = {'rflo': ['*.flo']},
)
| <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Import python libs
import os
import sys
if 'USE_SETUPTOOLS' in os.environ or 'setuptools' in sys.modules:
from setuptools import setup
else:
from distutils.core import setup
NAME = 'rflo'
DESC = ('raft on raet and ioflo')
VERSION = '0.0.1'
setup(name=NAME,
version=VERSION,
description=DESC,
author='Thomas S Hatch',
author_email='thatch@saltstack.com',
url='https://github.com/thatch45/rflo',
packages=[
'rflo',
]
)
<commit_msg>Add floscripts and start scripts<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Import python libs
import os
import sys
if 'USE_SETUPTOOLS' in os.environ or 'setuptools' in sys.modules:
from setuptools import setup
else:
from distutils.core import setup
NAME = 'rflo'
DESC = ('raft on raet and ioflo')
VERSION = '0.0.1'
setup(name=NAME,
version=VERSION,
description=DESC,
author='Thomas S Hatch',
author_email='thatch@saltstack.com',
url='https://github.com/thatch45/rflo',
packages=[
'rflo',
],
scripts=[
'scripts/rflo',
],
package_data = {'rflo': ['*.flo']},
)
|
58ec2816c8ad8d54d30d4ca22dcbb4941995207e | setup.py | setup.py | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
packages = [
'django_atomic_signals',
]
requires = [
'Django>=1.6.0,<1.8',
]
tests_require = [
'flake8',
'django-nose',
'rednose',
]
setup(
name='django-atomic-signals',
version='1.0.1',
description='Signals for atomic transaction blocks in Django 1.6+',
author='Nick Bruun',
author_email='nick@bruun.co',
url='http://bruun.co/',
packages=packages,
package_data={'': ['LICENSE']},
package_dir={'django_atomic_signals': 'django_atomic_signals'},
include_package_data=True,
tests_require=tests_require,
install_requires=requires,
license=open('LICENSE').read(),
zip_safe=True,
classifiers=(
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
),
)
| #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
packages = [
'django_atomic_signals',
]
requires = [
'Django>=1.6.0,<1.8',
]
tests_require = [
'flake8',
'django-nose',
'rednose',
]
setup(
name='django-atomic-signals',
version='1.1.0',
description='Signals for atomic transaction blocks in Django 1.6+',
author='Nick Bruun',
author_email='nick@bruun.co',
url='http://bruun.co/',
packages=packages,
package_data={'': ['LICENSE']},
package_dir={'django_atomic_signals': 'django_atomic_signals'},
include_package_data=True,
tests_require=tests_require,
install_requires=requires,
license=open('LICENSE').read(),
zip_safe=True,
classifiers=(
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
),
)
| Move to version 1.1.0 for Django 1.7 support. | Move to version 1.1.0 for Django 1.7 support.
| Python | bsd-3-clause | adamchainz/django_atomic_signals,graingert/django_atomic_signals | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
packages = [
'django_atomic_signals',
]
requires = [
'Django>=1.6.0,<1.8',
]
tests_require = [
'flake8',
'django-nose',
'rednose',
]
setup(
name='django-atomic-signals',
version='1.0.1',
description='Signals for atomic transaction blocks in Django 1.6+',
author='Nick Bruun',
author_email='nick@bruun.co',
url='http://bruun.co/',
packages=packages,
package_data={'': ['LICENSE']},
package_dir={'django_atomic_signals': 'django_atomic_signals'},
include_package_data=True,
tests_require=tests_require,
install_requires=requires,
license=open('LICENSE').read(),
zip_safe=True,
classifiers=(
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
),
)
Move to version 1.1.0 for Django 1.7 support. | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
packages = [
'django_atomic_signals',
]
requires = [
'Django>=1.6.0,<1.8',
]
tests_require = [
'flake8',
'django-nose',
'rednose',
]
setup(
name='django-atomic-signals',
version='1.1.0',
description='Signals for atomic transaction blocks in Django 1.6+',
author='Nick Bruun',
author_email='nick@bruun.co',
url='http://bruun.co/',
packages=packages,
package_data={'': ['LICENSE']},
package_dir={'django_atomic_signals': 'django_atomic_signals'},
include_package_data=True,
tests_require=tests_require,
install_requires=requires,
license=open('LICENSE').read(),
zip_safe=True,
classifiers=(
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
),
)
| <commit_before>#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
packages = [
'django_atomic_signals',
]
requires = [
'Django>=1.6.0,<1.8',
]
tests_require = [
'flake8',
'django-nose',
'rednose',
]
setup(
name='django-atomic-signals',
version='1.0.1',
description='Signals for atomic transaction blocks in Django 1.6+',
author='Nick Bruun',
author_email='nick@bruun.co',
url='http://bruun.co/',
packages=packages,
package_data={'': ['LICENSE']},
package_dir={'django_atomic_signals': 'django_atomic_signals'},
include_package_data=True,
tests_require=tests_require,
install_requires=requires,
license=open('LICENSE').read(),
zip_safe=True,
classifiers=(
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
),
)
<commit_msg>Move to version 1.1.0 for Django 1.7 support.<commit_after> | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
packages = [
'django_atomic_signals',
]
requires = [
'Django>=1.6.0,<1.8',
]
tests_require = [
'flake8',
'django-nose',
'rednose',
]
setup(
name='django-atomic-signals',
version='1.1.0',
description='Signals for atomic transaction blocks in Django 1.6+',
author='Nick Bruun',
author_email='nick@bruun.co',
url='http://bruun.co/',
packages=packages,
package_data={'': ['LICENSE']},
package_dir={'django_atomic_signals': 'django_atomic_signals'},
include_package_data=True,
tests_require=tests_require,
install_requires=requires,
license=open('LICENSE').read(),
zip_safe=True,
classifiers=(
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
),
)
| #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
packages = [
'django_atomic_signals',
]
requires = [
'Django>=1.6.0,<1.8',
]
tests_require = [
'flake8',
'django-nose',
'rednose',
]
setup(
name='django-atomic-signals',
version='1.0.1',
description='Signals for atomic transaction blocks in Django 1.6+',
author='Nick Bruun',
author_email='nick@bruun.co',
url='http://bruun.co/',
packages=packages,
package_data={'': ['LICENSE']},
package_dir={'django_atomic_signals': 'django_atomic_signals'},
include_package_data=True,
tests_require=tests_require,
install_requires=requires,
license=open('LICENSE').read(),
zip_safe=True,
classifiers=(
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
),
)
Move to version 1.1.0 for Django 1.7 support.#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
packages = [
'django_atomic_signals',
]
requires = [
'Django>=1.6.0,<1.8',
]
tests_require = [
'flake8',
'django-nose',
'rednose',
]
setup(
name='django-atomic-signals',
version='1.1.0',
description='Signals for atomic transaction blocks in Django 1.6+',
author='Nick Bruun',
author_email='nick@bruun.co',
url='http://bruun.co/',
packages=packages,
package_data={'': ['LICENSE']},
package_dir={'django_atomic_signals': 'django_atomic_signals'},
include_package_data=True,
tests_require=tests_require,
install_requires=requires,
license=open('LICENSE').read(),
zip_safe=True,
classifiers=(
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
),
)
| <commit_before>#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
packages = [
'django_atomic_signals',
]
requires = [
'Django>=1.6.0,<1.8',
]
tests_require = [
'flake8',
'django-nose',
'rednose',
]
setup(
name='django-atomic-signals',
version='1.0.1',
description='Signals for atomic transaction blocks in Django 1.6+',
author='Nick Bruun',
author_email='nick@bruun.co',
url='http://bruun.co/',
packages=packages,
package_data={'': ['LICENSE']},
package_dir={'django_atomic_signals': 'django_atomic_signals'},
include_package_data=True,
tests_require=tests_require,
install_requires=requires,
license=open('LICENSE').read(),
zip_safe=True,
classifiers=(
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
),
)
<commit_msg>Move to version 1.1.0 for Django 1.7 support.<commit_after>#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
packages = [
'django_atomic_signals',
]
requires = [
'Django>=1.6.0,<1.8',
]
tests_require = [
'flake8',
'django-nose',
'rednose',
]
setup(
name='django-atomic-signals',
version='1.1.0',
description='Signals for atomic transaction blocks in Django 1.6+',
author='Nick Bruun',
author_email='nick@bruun.co',
url='http://bruun.co/',
packages=packages,
package_data={'': ['LICENSE']},
package_dir={'django_atomic_signals': 'django_atomic_signals'},
include_package_data=True,
tests_require=tests_require,
install_requires=requires,
license=open('LICENSE').read(),
zip_safe=True,
classifiers=(
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
),
)
|
47e0bf3b451f37f09e1dd98edceec8a7432c184e | tests/test_appinfo.py | tests/test_appinfo.py | import io
import os
import pickle
import pytest
from steamfiles import appinfo
test_file_name = os.path.join(os.path.dirname(__file__), 'test_data/appinfo.vdf')
@pytest.yield_fixture
def vdf_data():
with open(test_file_name, 'rb') as f:
yield f.read()
@pytest.yield_fixture
def pickled_data():
with open(reference_file_name, 'rb') as f:
yield f.read()
@pytest.mark.usefixtures('vdf_data')
def test_load_dump(vdf_data):
with open(test_file_name, 'rb') as in_file:
out_file = io.BytesIO()
obj = appinfo.load(in_file)
appinfo.dump(obj, out_file)
# Rewind to the beginning
out_file.seek(0)
assert out_file.read() == vdf_data
def test_loads_wrong_type():
with pytest.raises(TypeError):
appinfo.loads('JustTestData')
| import io
import os
import pickle
import pytest
from steamfiles import appinfo
test_file_name = os.path.join(os.path.dirname(__file__), 'test_data/appinfo.vdf')
@pytest.yield_fixture
def vdf_data():
with open(test_file_name, 'rb') as f:
yield f.read()
@pytest.mark.usefixtures('vdf_data')
def test_load_dump(vdf_data):
with open(test_file_name, 'rb') as in_file:
out_file = io.BytesIO()
obj = appinfo.load(in_file)
appinfo.dump(obj, out_file)
# Rewind to the beginning
out_file.seek(0)
assert out_file.read() == vdf_data
def test_loads_wrong_type():
with pytest.raises(TypeError):
appinfo.loads('JustTestData')
| Remove unused fixture from a test | Remove unused fixture from a test
| Python | mit | leovp/steamfiles | import io
import os
import pickle
import pytest
from steamfiles import appinfo
test_file_name = os.path.join(os.path.dirname(__file__), 'test_data/appinfo.vdf')
@pytest.yield_fixture
def vdf_data():
with open(test_file_name, 'rb') as f:
yield f.read()
@pytest.yield_fixture
def pickled_data():
with open(reference_file_name, 'rb') as f:
yield f.read()
@pytest.mark.usefixtures('vdf_data')
def test_load_dump(vdf_data):
with open(test_file_name, 'rb') as in_file:
out_file = io.BytesIO()
obj = appinfo.load(in_file)
appinfo.dump(obj, out_file)
# Rewind to the beginning
out_file.seek(0)
assert out_file.read() == vdf_data
def test_loads_wrong_type():
with pytest.raises(TypeError):
appinfo.loads('JustTestData')
Remove unused fixture from a test | import io
import os
import pickle
import pytest
from steamfiles import appinfo
test_file_name = os.path.join(os.path.dirname(__file__), 'test_data/appinfo.vdf')
@pytest.yield_fixture
def vdf_data():
with open(test_file_name, 'rb') as f:
yield f.read()
@pytest.mark.usefixtures('vdf_data')
def test_load_dump(vdf_data):
with open(test_file_name, 'rb') as in_file:
out_file = io.BytesIO()
obj = appinfo.load(in_file)
appinfo.dump(obj, out_file)
# Rewind to the beginning
out_file.seek(0)
assert out_file.read() == vdf_data
def test_loads_wrong_type():
with pytest.raises(TypeError):
appinfo.loads('JustTestData')
| <commit_before>import io
import os
import pickle
import pytest
from steamfiles import appinfo
test_file_name = os.path.join(os.path.dirname(__file__), 'test_data/appinfo.vdf')
@pytest.yield_fixture
def vdf_data():
with open(test_file_name, 'rb') as f:
yield f.read()
@pytest.yield_fixture
def pickled_data():
with open(reference_file_name, 'rb') as f:
yield f.read()
@pytest.mark.usefixtures('vdf_data')
def test_load_dump(vdf_data):
with open(test_file_name, 'rb') as in_file:
out_file = io.BytesIO()
obj = appinfo.load(in_file)
appinfo.dump(obj, out_file)
# Rewind to the beginning
out_file.seek(0)
assert out_file.read() == vdf_data
def test_loads_wrong_type():
with pytest.raises(TypeError):
appinfo.loads('JustTestData')
<commit_msg>Remove unused fixture from a test<commit_after> | import io
import os
import pickle
import pytest
from steamfiles import appinfo
test_file_name = os.path.join(os.path.dirname(__file__), 'test_data/appinfo.vdf')
@pytest.yield_fixture
def vdf_data():
with open(test_file_name, 'rb') as f:
yield f.read()
@pytest.mark.usefixtures('vdf_data')
def test_load_dump(vdf_data):
with open(test_file_name, 'rb') as in_file:
out_file = io.BytesIO()
obj = appinfo.load(in_file)
appinfo.dump(obj, out_file)
# Rewind to the beginning
out_file.seek(0)
assert out_file.read() == vdf_data
def test_loads_wrong_type():
with pytest.raises(TypeError):
appinfo.loads('JustTestData')
| import io
import os
import pickle
import pytest
from steamfiles import appinfo
test_file_name = os.path.join(os.path.dirname(__file__), 'test_data/appinfo.vdf')
@pytest.yield_fixture
def vdf_data():
with open(test_file_name, 'rb') as f:
yield f.read()
@pytest.yield_fixture
def pickled_data():
with open(reference_file_name, 'rb') as f:
yield f.read()
@pytest.mark.usefixtures('vdf_data')
def test_load_dump(vdf_data):
with open(test_file_name, 'rb') as in_file:
out_file = io.BytesIO()
obj = appinfo.load(in_file)
appinfo.dump(obj, out_file)
# Rewind to the beginning
out_file.seek(0)
assert out_file.read() == vdf_data
def test_loads_wrong_type():
with pytest.raises(TypeError):
appinfo.loads('JustTestData')
Remove unused fixture from a testimport io
import os
import pickle
import pytest
from steamfiles import appinfo
test_file_name = os.path.join(os.path.dirname(__file__), 'test_data/appinfo.vdf')
@pytest.yield_fixture
def vdf_data():
with open(test_file_name, 'rb') as f:
yield f.read()
@pytest.mark.usefixtures('vdf_data')
def test_load_dump(vdf_data):
with open(test_file_name, 'rb') as in_file:
out_file = io.BytesIO()
obj = appinfo.load(in_file)
appinfo.dump(obj, out_file)
# Rewind to the beginning
out_file.seek(0)
assert out_file.read() == vdf_data
def test_loads_wrong_type():
with pytest.raises(TypeError):
appinfo.loads('JustTestData')
| <commit_before>import io
import os
import pickle
import pytest
from steamfiles import appinfo
test_file_name = os.path.join(os.path.dirname(__file__), 'test_data/appinfo.vdf')
@pytest.yield_fixture
def vdf_data():
with open(test_file_name, 'rb') as f:
yield f.read()
@pytest.yield_fixture
def pickled_data():
with open(reference_file_name, 'rb') as f:
yield f.read()
@pytest.mark.usefixtures('vdf_data')
def test_load_dump(vdf_data):
with open(test_file_name, 'rb') as in_file:
out_file = io.BytesIO()
obj = appinfo.load(in_file)
appinfo.dump(obj, out_file)
# Rewind to the beginning
out_file.seek(0)
assert out_file.read() == vdf_data
def test_loads_wrong_type():
with pytest.raises(TypeError):
appinfo.loads('JustTestData')
<commit_msg>Remove unused fixture from a test<commit_after>import io
import os
import pickle
import pytest
from steamfiles import appinfo
test_file_name = os.path.join(os.path.dirname(__file__), 'test_data/appinfo.vdf')
@pytest.yield_fixture
def vdf_data():
with open(test_file_name, 'rb') as f:
yield f.read()
@pytest.mark.usefixtures('vdf_data')
def test_load_dump(vdf_data):
with open(test_file_name, 'rb') as in_file:
out_file = io.BytesIO()
obj = appinfo.load(in_file)
appinfo.dump(obj, out_file)
# Rewind to the beginning
out_file.seek(0)
assert out_file.read() == vdf_data
def test_loads_wrong_type():
with pytest.raises(TypeError):
appinfo.loads('JustTestData')
|
105bd894666ffecc2e3b73928771c253bcdc1166 | tests/test_gui_mpl.py | tests/test_gui_mpl.py | # -*- coding: utf-8 -*-
'''
Copyright (c) 2018 by Tobias Houska
This file is part of Statistical Parameter Optimization Tool for Python(SPOTPY).
:author: Tobias Houska, Philipp Kraft
'''
import unittest
import matplotlib
matplotlib.use('Agg')
import sys
if sys.version_info >= (3, 5) and matplotlib.__version__ >= '2.1':
sys.path.append(".")
try:
import spotpy
except ImportError:
import spotpy
from spotpy.gui.mpl import GUI
from test_setup_parameters import SpotSetupMixedParameterFunction as Setup
class TestGuiMpl(unittest.TestCase):
def test_setup(self):
setup = Setup()
with GUI(setup) as gui:
self.assertTrue(hasattr(gui, 'setup'))
def test_sliders(self):
setup = Setup()
with GUI(setup) as gui:
self.assertEqual(len(gui.sliders), 4)
def test_clear(self):
setup = Setup()
with GUI(setup) as gui:
gui.clear()
self.assertEqual(len(gui.lines), 1)
def test_run(self):
setup = Setup()
with GUI(setup) as gui:
gui.clear()
gui.run()
self.assertEqual(len(gui.lines), 2)
if __name__ == '__main__':
unittest.main()
| # -*- coding: utf-8 -*-
'''
Copyright (c) 2018 by Tobias Houska
This file is part of Statistical Parameter Optimization Tool for Python(SPOTPY).
:author: Tobias Houska, Philipp Kraft
'''
import unittest
import matplotlib
matplotlib.use('Agg')
import sys
if sys.version_info >= (3, 5) and matplotlib.__version__ >= '2.1':
sys.path.append(".")
try:
import spotpy
except ImportError:
import spotpy
from spotpy.gui.mpl import GUI
from .test_setup_parameters import SpotSetupMixedParameterFunction as Setup
class TestGuiMpl(unittest.TestCase):
def test_setup(self):
setup = Setup()
with GUI(setup) as gui:
self.assertTrue(hasattr(gui, 'setup'))
def test_sliders(self):
setup = Setup()
with GUI(setup) as gui:
self.assertEqual(len(gui.sliders), 4)
def test_clear(self):
setup = Setup()
with GUI(setup) as gui:
gui.clear()
self.assertEqual(len(gui.lines), 1)
def test_run(self):
setup = Setup()
with GUI(setup) as gui:
gui.clear()
gui.run()
self.assertEqual(len(gui.lines), 2)
if __name__ == '__main__':
unittest.main()
| Fix relativ import of package | Fix relativ import of package
| Python | mit | thouska/spotpy,thouska/spotpy,thouska/spotpy | # -*- coding: utf-8 -*-
'''
Copyright (c) 2018 by Tobias Houska
This file is part of Statistical Parameter Optimization Tool for Python(SPOTPY).
:author: Tobias Houska, Philipp Kraft
'''
import unittest
import matplotlib
matplotlib.use('Agg')
import sys
if sys.version_info >= (3, 5) and matplotlib.__version__ >= '2.1':
sys.path.append(".")
try:
import spotpy
except ImportError:
import spotpy
from spotpy.gui.mpl import GUI
from test_setup_parameters import SpotSetupMixedParameterFunction as Setup
class TestGuiMpl(unittest.TestCase):
def test_setup(self):
setup = Setup()
with GUI(setup) as gui:
self.assertTrue(hasattr(gui, 'setup'))
def test_sliders(self):
setup = Setup()
with GUI(setup) as gui:
self.assertEqual(len(gui.sliders), 4)
def test_clear(self):
setup = Setup()
with GUI(setup) as gui:
gui.clear()
self.assertEqual(len(gui.lines), 1)
def test_run(self):
setup = Setup()
with GUI(setup) as gui:
gui.clear()
gui.run()
self.assertEqual(len(gui.lines), 2)
if __name__ == '__main__':
unittest.main()
Fix relativ import of package | # -*- coding: utf-8 -*-
'''
Copyright (c) 2018 by Tobias Houska
This file is part of Statistical Parameter Optimization Tool for Python(SPOTPY).
:author: Tobias Houska, Philipp Kraft
'''
import unittest
import matplotlib
matplotlib.use('Agg')
import sys
if sys.version_info >= (3, 5) and matplotlib.__version__ >= '2.1':
sys.path.append(".")
try:
import spotpy
except ImportError:
import spotpy
from spotpy.gui.mpl import GUI
from .test_setup_parameters import SpotSetupMixedParameterFunction as Setup
class TestGuiMpl(unittest.TestCase):
def test_setup(self):
setup = Setup()
with GUI(setup) as gui:
self.assertTrue(hasattr(gui, 'setup'))
def test_sliders(self):
setup = Setup()
with GUI(setup) as gui:
self.assertEqual(len(gui.sliders), 4)
def test_clear(self):
setup = Setup()
with GUI(setup) as gui:
gui.clear()
self.assertEqual(len(gui.lines), 1)
def test_run(self):
setup = Setup()
with GUI(setup) as gui:
gui.clear()
gui.run()
self.assertEqual(len(gui.lines), 2)
if __name__ == '__main__':
unittest.main()
| <commit_before># -*- coding: utf-8 -*-
'''
Copyright (c) 2018 by Tobias Houska
This file is part of Statistical Parameter Optimization Tool for Python(SPOTPY).
:author: Tobias Houska, Philipp Kraft
'''
import unittest
import matplotlib
matplotlib.use('Agg')
import sys
if sys.version_info >= (3, 5) and matplotlib.__version__ >= '2.1':
sys.path.append(".")
try:
import spotpy
except ImportError:
import spotpy
from spotpy.gui.mpl import GUI
from test_setup_parameters import SpotSetupMixedParameterFunction as Setup
class TestGuiMpl(unittest.TestCase):
def test_setup(self):
setup = Setup()
with GUI(setup) as gui:
self.assertTrue(hasattr(gui, 'setup'))
def test_sliders(self):
setup = Setup()
with GUI(setup) as gui:
self.assertEqual(len(gui.sliders), 4)
def test_clear(self):
setup = Setup()
with GUI(setup) as gui:
gui.clear()
self.assertEqual(len(gui.lines), 1)
def test_run(self):
setup = Setup()
with GUI(setup) as gui:
gui.clear()
gui.run()
self.assertEqual(len(gui.lines), 2)
if __name__ == '__main__':
unittest.main()
<commit_msg>Fix relativ import of package<commit_after> | # -*- coding: utf-8 -*-
'''
Copyright (c) 2018 by Tobias Houska
This file is part of Statistical Parameter Optimization Tool for Python(SPOTPY).
:author: Tobias Houska, Philipp Kraft
'''
import unittest
import matplotlib
matplotlib.use('Agg')
import sys
if sys.version_info >= (3, 5) and matplotlib.__version__ >= '2.1':
sys.path.append(".")
try:
import spotpy
except ImportError:
import spotpy
from spotpy.gui.mpl import GUI
from .test_setup_parameters import SpotSetupMixedParameterFunction as Setup
class TestGuiMpl(unittest.TestCase):
def test_setup(self):
setup = Setup()
with GUI(setup) as gui:
self.assertTrue(hasattr(gui, 'setup'))
def test_sliders(self):
setup = Setup()
with GUI(setup) as gui:
self.assertEqual(len(gui.sliders), 4)
def test_clear(self):
setup = Setup()
with GUI(setup) as gui:
gui.clear()
self.assertEqual(len(gui.lines), 1)
def test_run(self):
setup = Setup()
with GUI(setup) as gui:
gui.clear()
gui.run()
self.assertEqual(len(gui.lines), 2)
if __name__ == '__main__':
unittest.main()
| # -*- coding: utf-8 -*-
'''
Copyright (c) 2018 by Tobias Houska
This file is part of Statistical Parameter Optimization Tool for Python(SPOTPY).
:author: Tobias Houska, Philipp Kraft
'''
import unittest
import matplotlib
matplotlib.use('Agg')
import sys
if sys.version_info >= (3, 5) and matplotlib.__version__ >= '2.1':
sys.path.append(".")
try:
import spotpy
except ImportError:
import spotpy
from spotpy.gui.mpl import GUI
from test_setup_parameters import SpotSetupMixedParameterFunction as Setup
class TestGuiMpl(unittest.TestCase):
def test_setup(self):
setup = Setup()
with GUI(setup) as gui:
self.assertTrue(hasattr(gui, 'setup'))
def test_sliders(self):
setup = Setup()
with GUI(setup) as gui:
self.assertEqual(len(gui.sliders), 4)
def test_clear(self):
setup = Setup()
with GUI(setup) as gui:
gui.clear()
self.assertEqual(len(gui.lines), 1)
def test_run(self):
setup = Setup()
with GUI(setup) as gui:
gui.clear()
gui.run()
self.assertEqual(len(gui.lines), 2)
if __name__ == '__main__':
unittest.main()
Fix relativ import of package# -*- coding: utf-8 -*-
'''
Copyright (c) 2018 by Tobias Houska
This file is part of Statistical Parameter Optimization Tool for Python(SPOTPY).
:author: Tobias Houska, Philipp Kraft
'''
import unittest
import matplotlib
matplotlib.use('Agg')
import sys
if sys.version_info >= (3, 5) and matplotlib.__version__ >= '2.1':
sys.path.append(".")
try:
import spotpy
except ImportError:
import spotpy
from spotpy.gui.mpl import GUI
from .test_setup_parameters import SpotSetupMixedParameterFunction as Setup
class TestGuiMpl(unittest.TestCase):
def test_setup(self):
setup = Setup()
with GUI(setup) as gui:
self.assertTrue(hasattr(gui, 'setup'))
def test_sliders(self):
setup = Setup()
with GUI(setup) as gui:
self.assertEqual(len(gui.sliders), 4)
def test_clear(self):
setup = Setup()
with GUI(setup) as gui:
gui.clear()
self.assertEqual(len(gui.lines), 1)
def test_run(self):
setup = Setup()
with GUI(setup) as gui:
gui.clear()
gui.run()
self.assertEqual(len(gui.lines), 2)
if __name__ == '__main__':
unittest.main()
| <commit_before># -*- coding: utf-8 -*-
'''
Copyright (c) 2018 by Tobias Houska
This file is part of Statistical Parameter Optimization Tool for Python(SPOTPY).
:author: Tobias Houska, Philipp Kraft
'''
import unittest
import matplotlib
matplotlib.use('Agg')
import sys
if sys.version_info >= (3, 5) and matplotlib.__version__ >= '2.1':
sys.path.append(".")
try:
import spotpy
except ImportError:
import spotpy
from spotpy.gui.mpl import GUI
from test_setup_parameters import SpotSetupMixedParameterFunction as Setup
class TestGuiMpl(unittest.TestCase):
def test_setup(self):
setup = Setup()
with GUI(setup) as gui:
self.assertTrue(hasattr(gui, 'setup'))
def test_sliders(self):
setup = Setup()
with GUI(setup) as gui:
self.assertEqual(len(gui.sliders), 4)
def test_clear(self):
setup = Setup()
with GUI(setup) as gui:
gui.clear()
self.assertEqual(len(gui.lines), 1)
def test_run(self):
setup = Setup()
with GUI(setup) as gui:
gui.clear()
gui.run()
self.assertEqual(len(gui.lines), 2)
if __name__ == '__main__':
unittest.main()
<commit_msg>Fix relativ import of package<commit_after># -*- coding: utf-8 -*-
'''
Copyright (c) 2018 by Tobias Houska
This file is part of Statistical Parameter Optimization Tool for Python(SPOTPY).
:author: Tobias Houska, Philipp Kraft
'''
import unittest
import matplotlib
matplotlib.use('Agg')
import sys
if sys.version_info >= (3, 5) and matplotlib.__version__ >= '2.1':
sys.path.append(".")
try:
import spotpy
except ImportError:
import spotpy
from spotpy.gui.mpl import GUI
from .test_setup_parameters import SpotSetupMixedParameterFunction as Setup
class TestGuiMpl(unittest.TestCase):
def test_setup(self):
setup = Setup()
with GUI(setup) as gui:
self.assertTrue(hasattr(gui, 'setup'))
def test_sliders(self):
setup = Setup()
with GUI(setup) as gui:
self.assertEqual(len(gui.sliders), 4)
def test_clear(self):
setup = Setup()
with GUI(setup) as gui:
gui.clear()
self.assertEqual(len(gui.lines), 1)
def test_run(self):
setup = Setup()
with GUI(setup) as gui:
gui.clear()
gui.run()
self.assertEqual(len(gui.lines), 2)
if __name__ == '__main__':
unittest.main()
|
61ed42b7bbb63b3d4e7fdfedf0444c59cf5a35ad | setup.py | setup.py | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.16',
packages=['todoist', 'todoist.managers'],
author='Doist Team',
author_email='info@todoist.com',
license='BSD',
description='todoist-python - The official Todoist Python API library',
long_description = read('README.md'),
install_requires=[
'requests',
],
# see here for complete list of classifiers
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=(
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
),
)
| # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.17',
packages=['todoist', 'todoist.managers'],
author='Doist Team',
author_email='info@todoist.com',
license='BSD',
description='todoist-python - The official Todoist Python API library',
long_description = read('README.md'),
install_requires=[
'requests',
],
# see here for complete list of classifiers
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=(
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
),
)
| Update the PyPI version to 0.2.17 | Update the PyPI version to 0.2.17
| Python | mit | Doist/todoist-python | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.16',
packages=['todoist', 'todoist.managers'],
author='Doist Team',
author_email='info@todoist.com',
license='BSD',
description='todoist-python - The official Todoist Python API library',
long_description = read('README.md'),
install_requires=[
'requests',
],
# see here for complete list of classifiers
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=(
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
),
)
Update the PyPI version to 0.2.17 | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.17',
packages=['todoist', 'todoist.managers'],
author='Doist Team',
author_email='info@todoist.com',
license='BSD',
description='todoist-python - The official Todoist Python API library',
long_description = read('README.md'),
install_requires=[
'requests',
],
# see here for complete list of classifiers
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=(
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
),
)
| <commit_before># -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.16',
packages=['todoist', 'todoist.managers'],
author='Doist Team',
author_email='info@todoist.com',
license='BSD',
description='todoist-python - The official Todoist Python API library',
long_description = read('README.md'),
install_requires=[
'requests',
],
# see here for complete list of classifiers
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=(
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
),
)
<commit_msg>Update the PyPI version to 0.2.17<commit_after> | # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.17',
packages=['todoist', 'todoist.managers'],
author='Doist Team',
author_email='info@todoist.com',
license='BSD',
description='todoist-python - The official Todoist Python API library',
long_description = read('README.md'),
install_requires=[
'requests',
],
# see here for complete list of classifiers
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=(
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
),
)
| # -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.16',
packages=['todoist', 'todoist.managers'],
author='Doist Team',
author_email='info@todoist.com',
license='BSD',
description='todoist-python - The official Todoist Python API library',
long_description = read('README.md'),
install_requires=[
'requests',
],
# see here for complete list of classifiers
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=(
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
),
)
Update the PyPI version to 0.2.17# -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.17',
packages=['todoist', 'todoist.managers'],
author='Doist Team',
author_email='info@todoist.com',
license='BSD',
description='todoist-python - The official Todoist Python API library',
long_description = read('README.md'),
install_requires=[
'requests',
],
# see here for complete list of classifiers
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=(
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
),
)
| <commit_before># -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.16',
packages=['todoist', 'todoist.managers'],
author='Doist Team',
author_email='info@todoist.com',
license='BSD',
description='todoist-python - The official Todoist Python API library',
long_description = read('README.md'),
install_requires=[
'requests',
],
# see here for complete list of classifiers
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=(
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
),
)
<commit_msg>Update the PyPI version to 0.2.17<commit_after># -*- coding: utf-8 -*-
import os
from setuptools import setup
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except:
return ''
setup(
name='todoist-python',
version='0.2.17',
packages=['todoist', 'todoist.managers'],
author='Doist Team',
author_email='info@todoist.com',
license='BSD',
description='todoist-python - The official Todoist Python API library',
long_description = read('README.md'),
install_requires=[
'requests',
],
# see here for complete list of classifiers
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=(
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
),
)
|
599f50a8006f80e5926029f5a9820f5606084497 | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
execfile('panoply/constants.py')
setup(
name=__package_name__,
version=__version__,
packages=["panoply"],
install_requires=[
"requests==2.3.0",
"oauth2client==4.1.1"
],
extras_require={
"test": [
"pep8==1.7.0",
"coverage==4.3.4"
]
},
url="https://github.com/panoplyio/panoply-python-sdk",
author="Panoply.io",
author_email="support@panoply.io"
)
| try:
from setuptools import setup
except ImportError:
from distutils.core import setup
execfile('panoply/constants.py')
setup(
name=__package_name__,
version=__version__,
packages=["panoply"],
install_requires=[
"requests==2.21.0",
"oauth2client==4.1.1"
],
extras_require={
"test": [
"pep8==1.7.0",
"coverage==4.3.4"
]
},
url="https://github.com/panoplyio/panoply-python-sdk",
author="Panoply.io",
author_email="support@panoply.io"
)
| Update requests to its latest version | Update requests to its latest version
| Python | mit | panoplyio/panoply-python-sdk | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
execfile('panoply/constants.py')
setup(
name=__package_name__,
version=__version__,
packages=["panoply"],
install_requires=[
"requests==2.3.0",
"oauth2client==4.1.1"
],
extras_require={
"test": [
"pep8==1.7.0",
"coverage==4.3.4"
]
},
url="https://github.com/panoplyio/panoply-python-sdk",
author="Panoply.io",
author_email="support@panoply.io"
)
Update requests to its latest version | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
execfile('panoply/constants.py')
setup(
name=__package_name__,
version=__version__,
packages=["panoply"],
install_requires=[
"requests==2.21.0",
"oauth2client==4.1.1"
],
extras_require={
"test": [
"pep8==1.7.0",
"coverage==4.3.4"
]
},
url="https://github.com/panoplyio/panoply-python-sdk",
author="Panoply.io",
author_email="support@panoply.io"
)
| <commit_before>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
execfile('panoply/constants.py')
setup(
name=__package_name__,
version=__version__,
packages=["panoply"],
install_requires=[
"requests==2.3.0",
"oauth2client==4.1.1"
],
extras_require={
"test": [
"pep8==1.7.0",
"coverage==4.3.4"
]
},
url="https://github.com/panoplyio/panoply-python-sdk",
author="Panoply.io",
author_email="support@panoply.io"
)
<commit_msg>Update requests to its latest version<commit_after> | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
execfile('panoply/constants.py')
setup(
name=__package_name__,
version=__version__,
packages=["panoply"],
install_requires=[
"requests==2.21.0",
"oauth2client==4.1.1"
],
extras_require={
"test": [
"pep8==1.7.0",
"coverage==4.3.4"
]
},
url="https://github.com/panoplyio/panoply-python-sdk",
author="Panoply.io",
author_email="support@panoply.io"
)
| try:
from setuptools import setup
except ImportError:
from distutils.core import setup
execfile('panoply/constants.py')
setup(
name=__package_name__,
version=__version__,
packages=["panoply"],
install_requires=[
"requests==2.3.0",
"oauth2client==4.1.1"
],
extras_require={
"test": [
"pep8==1.7.0",
"coverage==4.3.4"
]
},
url="https://github.com/panoplyio/panoply-python-sdk",
author="Panoply.io",
author_email="support@panoply.io"
)
Update requests to its latest versiontry:
from setuptools import setup
except ImportError:
from distutils.core import setup
execfile('panoply/constants.py')
setup(
name=__package_name__,
version=__version__,
packages=["panoply"],
install_requires=[
"requests==2.21.0",
"oauth2client==4.1.1"
],
extras_require={
"test": [
"pep8==1.7.0",
"coverage==4.3.4"
]
},
url="https://github.com/panoplyio/panoply-python-sdk",
author="Panoply.io",
author_email="support@panoply.io"
)
| <commit_before>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
execfile('panoply/constants.py')
setup(
name=__package_name__,
version=__version__,
packages=["panoply"],
install_requires=[
"requests==2.3.0",
"oauth2client==4.1.1"
],
extras_require={
"test": [
"pep8==1.7.0",
"coverage==4.3.4"
]
},
url="https://github.com/panoplyio/panoply-python-sdk",
author="Panoply.io",
author_email="support@panoply.io"
)
<commit_msg>Update requests to its latest version<commit_after>try:
from setuptools import setup
except ImportError:
from distutils.core import setup
execfile('panoply/constants.py')
setup(
name=__package_name__,
version=__version__,
packages=["panoply"],
install_requires=[
"requests==2.21.0",
"oauth2client==4.1.1"
],
extras_require={
"test": [
"pep8==1.7.0",
"coverage==4.3.4"
]
},
url="https://github.com/panoplyio/panoply-python-sdk",
author="Panoply.io",
author_email="support@panoply.io"
)
|
a404a37749b5d8a950621cbfd662ce31775ab515 | setup.py | setup.py | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
print('[replot] setuptools not found.')
raise
with open('replot/constants.py') as fh:
for line in fh:
line = line.strip()
if line.startswith('__VERSION__'):
version = line.split()[-1][1:-1]
break
try:
from pip.req import parse_requirements
from pip.download import PipSession
except ImportError:
print('[replot] pip not found.')
raise
# parse_requirements() returns generator of pip.req.InstallRequirement objects
parsed_requirements = parse_requirements("requirements.txt",
session=PipSession())
# reqs is a list of requirement
# e.g. ['django==1.5.1', 'mezzanine==1.4.6']
install_requires = [str(ir.req) for ir in parsed_requirements]
setup(
name='replot',
version=version,
url='https://github.com/Phyks/replot/',
author='Phyks (Lucas Verney)',
author_email='phyks@phyks.me',
license='MIT License',
description='A (sane) Python plotting module, abstracting on top of Matplotlib.',
packages=['replot'],
install_requires=install_requires
)
| #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
print('[replot] setuptools not found.')
raise
with open('replot/constants.py') as fh:
for line in fh:
line = line.strip()
if line.startswith('__VERSION__'):
version = line.split()[-1][1:-1]
break
try:
from pip.req import parse_requirements
from pip.download import PipSession
except ImportError:
print('[replot] pip not found.')
raise
# parse_requirements() returns generator of pip.req.InstallRequirement objects
parsed_requirements = parse_requirements("requirements.txt",
session=PipSession())
# reqs is a list of requirement
# e.g. ['django==1.5.1', 'mezzanine==1.4.6']
install_requires = [str(ir.req) for ir in parsed_requirements]
setup(
name='replot',
version=version,
url='https://github.com/Phyks/replot/',
author='Phyks (Lucas Verney)',
author_email='phyks@phyks.me',
license='MIT License',
description='A (sane) Python plotting module, abstracting on top of Matplotlib.',
packages=['replot', 'replot.grid', 'replot.helpers'],
install_requires=install_requires
)
| Fix ImportError when importing after system-wide installation | Fix ImportError when importing after system-wide installation
| Python | mit | Phyks/replot | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
print('[replot] setuptools not found.')
raise
with open('replot/constants.py') as fh:
for line in fh:
line = line.strip()
if line.startswith('__VERSION__'):
version = line.split()[-1][1:-1]
break
try:
from pip.req import parse_requirements
from pip.download import PipSession
except ImportError:
print('[replot] pip not found.')
raise
# parse_requirements() returns generator of pip.req.InstallRequirement objects
parsed_requirements = parse_requirements("requirements.txt",
session=PipSession())
# reqs is a list of requirement
# e.g. ['django==1.5.1', 'mezzanine==1.4.6']
install_requires = [str(ir.req) for ir in parsed_requirements]
setup(
name='replot',
version=version,
url='https://github.com/Phyks/replot/',
author='Phyks (Lucas Verney)',
author_email='phyks@phyks.me',
license='MIT License',
description='A (sane) Python plotting module, abstracting on top of Matplotlib.',
packages=['replot'],
install_requires=install_requires
)
Fix ImportError when importing after system-wide installation | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
print('[replot] setuptools not found.')
raise
with open('replot/constants.py') as fh:
for line in fh:
line = line.strip()
if line.startswith('__VERSION__'):
version = line.split()[-1][1:-1]
break
try:
from pip.req import parse_requirements
from pip.download import PipSession
except ImportError:
print('[replot] pip not found.')
raise
# parse_requirements() returns generator of pip.req.InstallRequirement objects
parsed_requirements = parse_requirements("requirements.txt",
session=PipSession())
# reqs is a list of requirement
# e.g. ['django==1.5.1', 'mezzanine==1.4.6']
install_requires = [str(ir.req) for ir in parsed_requirements]
setup(
name='replot',
version=version,
url='https://github.com/Phyks/replot/',
author='Phyks (Lucas Verney)',
author_email='phyks@phyks.me',
license='MIT License',
description='A (sane) Python plotting module, abstracting on top of Matplotlib.',
packages=['replot', 'replot.grid', 'replot.helpers'],
install_requires=install_requires
)
| <commit_before>#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
print('[replot] setuptools not found.')
raise
with open('replot/constants.py') as fh:
for line in fh:
line = line.strip()
if line.startswith('__VERSION__'):
version = line.split()[-1][1:-1]
break
try:
from pip.req import parse_requirements
from pip.download import PipSession
except ImportError:
print('[replot] pip not found.')
raise
# parse_requirements() returns generator of pip.req.InstallRequirement objects
parsed_requirements = parse_requirements("requirements.txt",
session=PipSession())
# reqs is a list of requirement
# e.g. ['django==1.5.1', 'mezzanine==1.4.6']
install_requires = [str(ir.req) for ir in parsed_requirements]
setup(
name='replot',
version=version,
url='https://github.com/Phyks/replot/',
author='Phyks (Lucas Verney)',
author_email='phyks@phyks.me',
license='MIT License',
description='A (sane) Python plotting module, abstracting on top of Matplotlib.',
packages=['replot'],
install_requires=install_requires
)
<commit_msg>Fix ImportError when importing after system-wide installation<commit_after> | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
print('[replot] setuptools not found.')
raise
with open('replot/constants.py') as fh:
for line in fh:
line = line.strip()
if line.startswith('__VERSION__'):
version = line.split()[-1][1:-1]
break
try:
from pip.req import parse_requirements
from pip.download import PipSession
except ImportError:
print('[replot] pip not found.')
raise
# parse_requirements() returns generator of pip.req.InstallRequirement objects
parsed_requirements = parse_requirements("requirements.txt",
session=PipSession())
# reqs is a list of requirement
# e.g. ['django==1.5.1', 'mezzanine==1.4.6']
install_requires = [str(ir.req) for ir in parsed_requirements]
setup(
name='replot',
version=version,
url='https://github.com/Phyks/replot/',
author='Phyks (Lucas Verney)',
author_email='phyks@phyks.me',
license='MIT License',
description='A (sane) Python plotting module, abstracting on top of Matplotlib.',
packages=['replot', 'replot.grid', 'replot.helpers'],
install_requires=install_requires
)
| #!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
print('[replot] setuptools not found.')
raise
with open('replot/constants.py') as fh:
for line in fh:
line = line.strip()
if line.startswith('__VERSION__'):
version = line.split()[-1][1:-1]
break
try:
from pip.req import parse_requirements
from pip.download import PipSession
except ImportError:
print('[replot] pip not found.')
raise
# parse_requirements() returns generator of pip.req.InstallRequirement objects
parsed_requirements = parse_requirements("requirements.txt",
session=PipSession())
# reqs is a list of requirement
# e.g. ['django==1.5.1', 'mezzanine==1.4.6']
install_requires = [str(ir.req) for ir in parsed_requirements]
setup(
name='replot',
version=version,
url='https://github.com/Phyks/replot/',
author='Phyks (Lucas Verney)',
author_email='phyks@phyks.me',
license='MIT License',
description='A (sane) Python plotting module, abstracting on top of Matplotlib.',
packages=['replot'],
install_requires=install_requires
)
Fix ImportError when importing after system-wide installation#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
print('[replot] setuptools not found.')
raise
with open('replot/constants.py') as fh:
for line in fh:
line = line.strip()
if line.startswith('__VERSION__'):
version = line.split()[-1][1:-1]
break
try:
from pip.req import parse_requirements
from pip.download import PipSession
except ImportError:
print('[replot] pip not found.')
raise
# parse_requirements() returns generator of pip.req.InstallRequirement objects
parsed_requirements = parse_requirements("requirements.txt",
session=PipSession())
# reqs is a list of requirement
# e.g. ['django==1.5.1', 'mezzanine==1.4.6']
install_requires = [str(ir.req) for ir in parsed_requirements]
setup(
name='replot',
version=version,
url='https://github.com/Phyks/replot/',
author='Phyks (Lucas Verney)',
author_email='phyks@phyks.me',
license='MIT License',
description='A (sane) Python plotting module, abstracting on top of Matplotlib.',
packages=['replot', 'replot.grid', 'replot.helpers'],
install_requires=install_requires
)
| <commit_before>#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
print('[replot] setuptools not found.')
raise
with open('replot/constants.py') as fh:
for line in fh:
line = line.strip()
if line.startswith('__VERSION__'):
version = line.split()[-1][1:-1]
break
try:
from pip.req import parse_requirements
from pip.download import PipSession
except ImportError:
print('[replot] pip not found.')
raise
# parse_requirements() returns generator of pip.req.InstallRequirement objects
parsed_requirements = parse_requirements("requirements.txt",
session=PipSession())
# reqs is a list of requirement
# e.g. ['django==1.5.1', 'mezzanine==1.4.6']
install_requires = [str(ir.req) for ir in parsed_requirements]
setup(
name='replot',
version=version,
url='https://github.com/Phyks/replot/',
author='Phyks (Lucas Verney)',
author_email='phyks@phyks.me',
license='MIT License',
description='A (sane) Python plotting module, abstracting on top of Matplotlib.',
packages=['replot'],
install_requires=install_requires
)
<commit_msg>Fix ImportError when importing after system-wide installation<commit_after>#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
print('[replot] setuptools not found.')
raise
with open('replot/constants.py') as fh:
for line in fh:
line = line.strip()
if line.startswith('__VERSION__'):
version = line.split()[-1][1:-1]
break
try:
from pip.req import parse_requirements
from pip.download import PipSession
except ImportError:
print('[replot] pip not found.')
raise
# parse_requirements() returns generator of pip.req.InstallRequirement objects
parsed_requirements = parse_requirements("requirements.txt",
session=PipSession())
# reqs is a list of requirement
# e.g. ['django==1.5.1', 'mezzanine==1.4.6']
install_requires = [str(ir.req) for ir in parsed_requirements]
setup(
name='replot',
version=version,
url='https://github.com/Phyks/replot/',
author='Phyks (Lucas Verney)',
author_email='phyks@phyks.me',
license='MIT License',
description='A (sane) Python plotting module, abstracting on top of Matplotlib.',
packages=['replot', 'replot.grid', 'replot.helpers'],
install_requires=install_requires
)
|
602f537ad3ee6365aa781bc7776d5e797bfb65a3 | refactor_scripts/set_manufacturer.py | refactor_scripts/set_manufacturer.py | #!/usr/bin/python
import copy
import os
import os.path
import sys
import merge
def setManufacturer(manufacturer, destinations, test=False):
base_part = {u'category': "", u'name': "", u'subpart': [], u'equivalent': [], u'urls': {u'store': [], u'related': [], u'manufacturer': []}, u'manufacturer': manufacturer, u'replacement': []}
for destination in destinations:
destination = destination.decode("utf-8")
new_destination = os.path.join(manufacturer, os.path.basename(destination))
if test:
print(destination, new_destination)
else:
merge.mergeFiles([destination], new_destination, part=copy.deepcopy(base_part))
if __name__ == "__main__":
manufacturer = sys.argv[1].decode("utf-8")
destinations = sys.argv[2:]
setManufacturer(manufacturer, destinations)
| #!/usr/bin/python
import copy
import os
import os.path
import sys
import merge
def setManufacturer(manufacturer, destinations, test=False):
base_part = {u'category': "", u'name': "", u'subpart': [], u'equivalent': [], u'urls': {u'store': [], u'related': [], u'manufacturer': []}, u'manufacturer': manufacturer, u'replacement': []}
for destination in destinations:
destination = destination.decode("utf-8")
new_destination = os.path.join(manufacturer.replace(" ", "-"), os.path.basename(destination))
if test:
print(destination, new_destination)
else:
merge.mergeFiles([destination], new_destination, part=copy.deepcopy(base_part))
if __name__ == "__main__":
manufacturer = sys.argv[1].decode("utf-8")
destinations = sys.argv[2:]
setManufacturer(manufacturer, destinations)
| Handle refactoring manufacturers with spaces in their name. | Handle refactoring manufacturers with spaces in their name.
| Python | apache-2.0 | rcbuild-info/scrape,rcbuild-info/scrape | #!/usr/bin/python
import copy
import os
import os.path
import sys
import merge
def setManufacturer(manufacturer, destinations, test=False):
base_part = {u'category': "", u'name': "", u'subpart': [], u'equivalent': [], u'urls': {u'store': [], u'related': [], u'manufacturer': []}, u'manufacturer': manufacturer, u'replacement': []}
for destination in destinations:
destination = destination.decode("utf-8")
new_destination = os.path.join(manufacturer, os.path.basename(destination))
if test:
print(destination, new_destination)
else:
merge.mergeFiles([destination], new_destination, part=copy.deepcopy(base_part))
if __name__ == "__main__":
manufacturer = sys.argv[1].decode("utf-8")
destinations = sys.argv[2:]
setManufacturer(manufacturer, destinations)
Handle refactoring manufacturers with spaces in their name. | #!/usr/bin/python
import copy
import os
import os.path
import sys
import merge
def setManufacturer(manufacturer, destinations, test=False):
base_part = {u'category': "", u'name': "", u'subpart': [], u'equivalent': [], u'urls': {u'store': [], u'related': [], u'manufacturer': []}, u'manufacturer': manufacturer, u'replacement': []}
for destination in destinations:
destination = destination.decode("utf-8")
new_destination = os.path.join(manufacturer.replace(" ", "-"), os.path.basename(destination))
if test:
print(destination, new_destination)
else:
merge.mergeFiles([destination], new_destination, part=copy.deepcopy(base_part))
if __name__ == "__main__":
manufacturer = sys.argv[1].decode("utf-8")
destinations = sys.argv[2:]
setManufacturer(manufacturer, destinations)
| <commit_before>#!/usr/bin/python
import copy
import os
import os.path
import sys
import merge
def setManufacturer(manufacturer, destinations, test=False):
base_part = {u'category': "", u'name': "", u'subpart': [], u'equivalent': [], u'urls': {u'store': [], u'related': [], u'manufacturer': []}, u'manufacturer': manufacturer, u'replacement': []}
for destination in destinations:
destination = destination.decode("utf-8")
new_destination = os.path.join(manufacturer, os.path.basename(destination))
if test:
print(destination, new_destination)
else:
merge.mergeFiles([destination], new_destination, part=copy.deepcopy(base_part))
if __name__ == "__main__":
manufacturer = sys.argv[1].decode("utf-8")
destinations = sys.argv[2:]
setManufacturer(manufacturer, destinations)
<commit_msg>Handle refactoring manufacturers with spaces in their name.<commit_after> | #!/usr/bin/python
import copy
import os
import os.path
import sys
import merge
def setManufacturer(manufacturer, destinations, test=False):
base_part = {u'category': "", u'name': "", u'subpart': [], u'equivalent': [], u'urls': {u'store': [], u'related': [], u'manufacturer': []}, u'manufacturer': manufacturer, u'replacement': []}
for destination in destinations:
destination = destination.decode("utf-8")
new_destination = os.path.join(manufacturer.replace(" ", "-"), os.path.basename(destination))
if test:
print(destination, new_destination)
else:
merge.mergeFiles([destination], new_destination, part=copy.deepcopy(base_part))
if __name__ == "__main__":
manufacturer = sys.argv[1].decode("utf-8")
destinations = sys.argv[2:]
setManufacturer(manufacturer, destinations)
| #!/usr/bin/python
import copy
import os
import os.path
import sys
import merge
def setManufacturer(manufacturer, destinations, test=False):
base_part = {u'category': "", u'name': "", u'subpart': [], u'equivalent': [], u'urls': {u'store': [], u'related': [], u'manufacturer': []}, u'manufacturer': manufacturer, u'replacement': []}
for destination in destinations:
destination = destination.decode("utf-8")
new_destination = os.path.join(manufacturer, os.path.basename(destination))
if test:
print(destination, new_destination)
else:
merge.mergeFiles([destination], new_destination, part=copy.deepcopy(base_part))
if __name__ == "__main__":
manufacturer = sys.argv[1].decode("utf-8")
destinations = sys.argv[2:]
setManufacturer(manufacturer, destinations)
Handle refactoring manufacturers with spaces in their name.#!/usr/bin/python
import copy
import os
import os.path
import sys
import merge
def setManufacturer(manufacturer, destinations, test=False):
base_part = {u'category': "", u'name': "", u'subpart': [], u'equivalent': [], u'urls': {u'store': [], u'related': [], u'manufacturer': []}, u'manufacturer': manufacturer, u'replacement': []}
for destination in destinations:
destination = destination.decode("utf-8")
new_destination = os.path.join(manufacturer.replace(" ", "-"), os.path.basename(destination))
if test:
print(destination, new_destination)
else:
merge.mergeFiles([destination], new_destination, part=copy.deepcopy(base_part))
if __name__ == "__main__":
manufacturer = sys.argv[1].decode("utf-8")
destinations = sys.argv[2:]
setManufacturer(manufacturer, destinations)
| <commit_before>#!/usr/bin/python
import copy
import os
import os.path
import sys
import merge
def setManufacturer(manufacturer, destinations, test=False):
base_part = {u'category': "", u'name': "", u'subpart': [], u'equivalent': [], u'urls': {u'store': [], u'related': [], u'manufacturer': []}, u'manufacturer': manufacturer, u'replacement': []}
for destination in destinations:
destination = destination.decode("utf-8")
new_destination = os.path.join(manufacturer, os.path.basename(destination))
if test:
print(destination, new_destination)
else:
merge.mergeFiles([destination], new_destination, part=copy.deepcopy(base_part))
if __name__ == "__main__":
manufacturer = sys.argv[1].decode("utf-8")
destinations = sys.argv[2:]
setManufacturer(manufacturer, destinations)
<commit_msg>Handle refactoring manufacturers with spaces in their name.<commit_after>#!/usr/bin/python
import copy
import os
import os.path
import sys
import merge
def setManufacturer(manufacturer, destinations, test=False):
base_part = {u'category': "", u'name': "", u'subpart': [], u'equivalent': [], u'urls': {u'store': [], u'related': [], u'manufacturer': []}, u'manufacturer': manufacturer, u'replacement': []}
for destination in destinations:
destination = destination.decode("utf-8")
new_destination = os.path.join(manufacturer.replace(" ", "-"), os.path.basename(destination))
if test:
print(destination, new_destination)
else:
merge.mergeFiles([destination], new_destination, part=copy.deepcopy(base_part))
if __name__ == "__main__":
manufacturer = sys.argv[1].decode("utf-8")
destinations = sys.argv[2:]
setManufacturer(manufacturer, destinations)
|
ba1ca23964080e4b6c4fa5b3295a65ce1787f291 | setup.py | setup.py | import os
from setuptools import setup
setup(
name = "ld35",
version = "0.0.1.dev",
url = "https://github.com/seventhroot/ld35",
package_dir = {'ld35': 'src/ld35'},
packages = ['ld35'],
package_data = {'ld35': [
'assets/*.ogg',
'assets/*.wav',
'examples/*.png',
'examples/*.tmx',
]},
install_requires = [
'pygame==1.9.1',
'Pyganim==0.9.2',
'pyscroll==2.16.6',
'PyTMX==3.20.14',
'six==1.10.0',
],
scripts = ['scripts/ld35game.py'],
# this is to compensate for pytmx.
# better solution may be to give it a suitable resource loader
zip_safe = False,
)
| import os
from setuptools import setup
setup(
name = "ld35",
version = "0.0.1.dev",
url = "https://github.com/seventhroot/ld35",
description = 'The SeventhRoot entry for Ludum Dare 35',
long_description_markdown_filename='README.md',
packages = ['ld35'],
package_data = {'ld35': [
'assets/*.ogg',
'assets/*.wav',
'examples/*.png',
'examples/*.tmx',
]},
setup_requires=['setuptools-markdown'],
install_requires = [
'pygame==1.9.1',
'Pyganim==0.9.2',
'pyscroll==2.16.6',
'PyTMX==3.20.14',
'six==1.10.0',
],
scripts = ['scripts/ld35game.py'],
# this is to compensate for pytmx.
# better solution may be to give it a suitable resource loader
zip_safe = False,
)
| Set package description and removed package dir setting. | Set package description and removed package dir setting.
| Python | mit | seventhroot/ld35 | import os
from setuptools import setup
setup(
name = "ld35",
version = "0.0.1.dev",
url = "https://github.com/seventhroot/ld35",
package_dir = {'ld35': 'src/ld35'},
packages = ['ld35'],
package_data = {'ld35': [
'assets/*.ogg',
'assets/*.wav',
'examples/*.png',
'examples/*.tmx',
]},
install_requires = [
'pygame==1.9.1',
'Pyganim==0.9.2',
'pyscroll==2.16.6',
'PyTMX==3.20.14',
'six==1.10.0',
],
scripts = ['scripts/ld35game.py'],
# this is to compensate for pytmx.
# better solution may be to give it a suitable resource loader
zip_safe = False,
)
Set package description and removed package dir setting. | import os
from setuptools import setup
setup(
name = "ld35",
version = "0.0.1.dev",
url = "https://github.com/seventhroot/ld35",
description = 'The SeventhRoot entry for Ludum Dare 35',
long_description_markdown_filename='README.md',
packages = ['ld35'],
package_data = {'ld35': [
'assets/*.ogg',
'assets/*.wav',
'examples/*.png',
'examples/*.tmx',
]},
setup_requires=['setuptools-markdown'],
install_requires = [
'pygame==1.9.1',
'Pyganim==0.9.2',
'pyscroll==2.16.6',
'PyTMX==3.20.14',
'six==1.10.0',
],
scripts = ['scripts/ld35game.py'],
# this is to compensate for pytmx.
# better solution may be to give it a suitable resource loader
zip_safe = False,
)
| <commit_before>import os
from setuptools import setup
setup(
name = "ld35",
version = "0.0.1.dev",
url = "https://github.com/seventhroot/ld35",
package_dir = {'ld35': 'src/ld35'},
packages = ['ld35'],
package_data = {'ld35': [
'assets/*.ogg',
'assets/*.wav',
'examples/*.png',
'examples/*.tmx',
]},
install_requires = [
'pygame==1.9.1',
'Pyganim==0.9.2',
'pyscroll==2.16.6',
'PyTMX==3.20.14',
'six==1.10.0',
],
scripts = ['scripts/ld35game.py'],
# this is to compensate for pytmx.
# better solution may be to give it a suitable resource loader
zip_safe = False,
)
<commit_msg>Set package description and removed package dir setting.<commit_after> | import os
from setuptools import setup
setup(
name = "ld35",
version = "0.0.1.dev",
url = "https://github.com/seventhroot/ld35",
description = 'The SeventhRoot entry for Ludum Dare 35',
long_description_markdown_filename='README.md',
packages = ['ld35'],
package_data = {'ld35': [
'assets/*.ogg',
'assets/*.wav',
'examples/*.png',
'examples/*.tmx',
]},
setup_requires=['setuptools-markdown'],
install_requires = [
'pygame==1.9.1',
'Pyganim==0.9.2',
'pyscroll==2.16.6',
'PyTMX==3.20.14',
'six==1.10.0',
],
scripts = ['scripts/ld35game.py'],
# this is to compensate for pytmx.
# better solution may be to give it a suitable resource loader
zip_safe = False,
)
| import os
from setuptools import setup
setup(
name = "ld35",
version = "0.0.1.dev",
url = "https://github.com/seventhroot/ld35",
package_dir = {'ld35': 'src/ld35'},
packages = ['ld35'],
package_data = {'ld35': [
'assets/*.ogg',
'assets/*.wav',
'examples/*.png',
'examples/*.tmx',
]},
install_requires = [
'pygame==1.9.1',
'Pyganim==0.9.2',
'pyscroll==2.16.6',
'PyTMX==3.20.14',
'six==1.10.0',
],
scripts = ['scripts/ld35game.py'],
# this is to compensate for pytmx.
# better solution may be to give it a suitable resource loader
zip_safe = False,
)
Set package description and removed package dir setting.import os
from setuptools import setup
setup(
name = "ld35",
version = "0.0.1.dev",
url = "https://github.com/seventhroot/ld35",
description = 'The SeventhRoot entry for Ludum Dare 35',
long_description_markdown_filename='README.md',
packages = ['ld35'],
package_data = {'ld35': [
'assets/*.ogg',
'assets/*.wav',
'examples/*.png',
'examples/*.tmx',
]},
setup_requires=['setuptools-markdown'],
install_requires = [
'pygame==1.9.1',
'Pyganim==0.9.2',
'pyscroll==2.16.6',
'PyTMX==3.20.14',
'six==1.10.0',
],
scripts = ['scripts/ld35game.py'],
# this is to compensate for pytmx.
# better solution may be to give it a suitable resource loader
zip_safe = False,
)
| <commit_before>import os
from setuptools import setup
setup(
name = "ld35",
version = "0.0.1.dev",
url = "https://github.com/seventhroot/ld35",
package_dir = {'ld35': 'src/ld35'},
packages = ['ld35'],
package_data = {'ld35': [
'assets/*.ogg',
'assets/*.wav',
'examples/*.png',
'examples/*.tmx',
]},
install_requires = [
'pygame==1.9.1',
'Pyganim==0.9.2',
'pyscroll==2.16.6',
'PyTMX==3.20.14',
'six==1.10.0',
],
scripts = ['scripts/ld35game.py'],
# this is to compensate for pytmx.
# better solution may be to give it a suitable resource loader
zip_safe = False,
)
<commit_msg>Set package description and removed package dir setting.<commit_after>import os
from setuptools import setup
setup(
name = "ld35",
version = "0.0.1.dev",
url = "https://github.com/seventhroot/ld35",
description = 'The SeventhRoot entry for Ludum Dare 35',
long_description_markdown_filename='README.md',
packages = ['ld35'],
package_data = {'ld35': [
'assets/*.ogg',
'assets/*.wav',
'examples/*.png',
'examples/*.tmx',
]},
setup_requires=['setuptools-markdown'],
install_requires = [
'pygame==1.9.1',
'Pyganim==0.9.2',
'pyscroll==2.16.6',
'PyTMX==3.20.14',
'six==1.10.0',
],
scripts = ['scripts/ld35game.py'],
# this is to compensate for pytmx.
# better solution may be to give it a suitable resource loader
zip_safe = False,
)
|
b654ac3811df48965b7eb599f7c47f63784c2e81 | setup.py | setup.py |
AUTHOR = 'Chris Dent'
AUTHOR_EMAIL = 'cdent@peermore.com'
MAINTAINER = 'Ben Paddock'
MAINTAINER_EMAIL = 'pads@thisispads.me.uk'
NAME = 'tiddlywebplugins.jsondispatcher'
DESCRIPTION = 'A TiddlyWeb plugin to allow the dispatching of tiddlers to non-Python handlers by serialising tiddler data to JSON'
VERSION = '0.1.0'
import os
from setuptools import setup, find_packages
setup(
namespace_packages = ['tiddlywebplugins'],
name = NAME,
version = VERSION,
description = DESCRIPTION,
long_description = file(os.path.join(os.path.dirname(__file__), 'README')).read(),
author = AUTHOR,
author_email = AUTHOR_EMAIL,
maintainer = MAINTAINER,
maintainer_email = MAINTAINER_EMAIL,
url = 'http://pypi.python.org/pypi/%s' % NAME,
packages = find_packages(exclude=['test']),
platforms = 'Posix; MacOS X; Windows',
install_requires = ['tiddlyweb', 'tiddlywebplugins.dispatcher', 'beanstalkc'],
zip_safe = False,
)
|
AUTHOR = 'Chris Dent'
AUTHOR_EMAIL = 'cdent@peermore.com'
MAINTAINER = 'Ben Paddock'
MAINTAINER_EMAIL = 'pads@thisispads.me.uk'
NAME = 'tiddlywebplugins.jsondispatcher'
DESCRIPTION = 'A TiddlyWeb plugin to allow the dispatching of tiddlers to non-Python handlers by serialising tiddler data to JSON'
VERSION = '0.1.0'
import os
from setuptools import setup, find_packages
setup(
namespace_packages = ['tiddlywebplugins'],
name = NAME,
version = VERSION,
description = DESCRIPTION,
long_description = file(os.path.join(os.path.dirname(__file__), 'README')).read(),
author = AUTHOR,
author_email = AUTHOR_EMAIL,
maintainer = MAINTAINER,
maintainer_email = MAINTAINER_EMAIL,
url = 'http://pypi.python.org/pypi/%s' % NAME,
packages = find_packages(exclude=['test']),
platforms = 'Posix; MacOS X; Windows',
install_requires = [
'tiddlyweb',
'tiddlywebplugins.dispatcher',
'tiddlywebplugins.utils',
'beanstalkc'
],
zip_safe = False,
)
| Include tiddlywebplugins.utils as a dependency | Include tiddlywebplugins.utils as a dependency
| Python | bsd-3-clause | TiddlySpace/tiddlywebplugins.jsondispatcher |
AUTHOR = 'Chris Dent'
AUTHOR_EMAIL = 'cdent@peermore.com'
MAINTAINER = 'Ben Paddock'
MAINTAINER_EMAIL = 'pads@thisispads.me.uk'
NAME = 'tiddlywebplugins.jsondispatcher'
DESCRIPTION = 'A TiddlyWeb plugin to allow the dispatching of tiddlers to non-Python handlers by serialising tiddler data to JSON'
VERSION = '0.1.0'
import os
from setuptools import setup, find_packages
setup(
namespace_packages = ['tiddlywebplugins'],
name = NAME,
version = VERSION,
description = DESCRIPTION,
long_description = file(os.path.join(os.path.dirname(__file__), 'README')).read(),
author = AUTHOR,
author_email = AUTHOR_EMAIL,
maintainer = MAINTAINER,
maintainer_email = MAINTAINER_EMAIL,
url = 'http://pypi.python.org/pypi/%s' % NAME,
packages = find_packages(exclude=['test']),
platforms = 'Posix; MacOS X; Windows',
install_requires = ['tiddlyweb', 'tiddlywebplugins.dispatcher', 'beanstalkc'],
zip_safe = False,
)
Include tiddlywebplugins.utils as a dependency |
AUTHOR = 'Chris Dent'
AUTHOR_EMAIL = 'cdent@peermore.com'
MAINTAINER = 'Ben Paddock'
MAINTAINER_EMAIL = 'pads@thisispads.me.uk'
NAME = 'tiddlywebplugins.jsondispatcher'
DESCRIPTION = 'A TiddlyWeb plugin to allow the dispatching of tiddlers to non-Python handlers by serialising tiddler data to JSON'
VERSION = '0.1.0'
import os
from setuptools import setup, find_packages
setup(
namespace_packages = ['tiddlywebplugins'],
name = NAME,
version = VERSION,
description = DESCRIPTION,
long_description = file(os.path.join(os.path.dirname(__file__), 'README')).read(),
author = AUTHOR,
author_email = AUTHOR_EMAIL,
maintainer = MAINTAINER,
maintainer_email = MAINTAINER_EMAIL,
url = 'http://pypi.python.org/pypi/%s' % NAME,
packages = find_packages(exclude=['test']),
platforms = 'Posix; MacOS X; Windows',
install_requires = [
'tiddlyweb',
'tiddlywebplugins.dispatcher',
'tiddlywebplugins.utils',
'beanstalkc'
],
zip_safe = False,
)
| <commit_before>
AUTHOR = 'Chris Dent'
AUTHOR_EMAIL = 'cdent@peermore.com'
MAINTAINER = 'Ben Paddock'
MAINTAINER_EMAIL = 'pads@thisispads.me.uk'
NAME = 'tiddlywebplugins.jsondispatcher'
DESCRIPTION = 'A TiddlyWeb plugin to allow the dispatching of tiddlers to non-Python handlers by serialising tiddler data to JSON'
VERSION = '0.1.0'
import os
from setuptools import setup, find_packages
setup(
namespace_packages = ['tiddlywebplugins'],
name = NAME,
version = VERSION,
description = DESCRIPTION,
long_description = file(os.path.join(os.path.dirname(__file__), 'README')).read(),
author = AUTHOR,
author_email = AUTHOR_EMAIL,
maintainer = MAINTAINER,
maintainer_email = MAINTAINER_EMAIL,
url = 'http://pypi.python.org/pypi/%s' % NAME,
packages = find_packages(exclude=['test']),
platforms = 'Posix; MacOS X; Windows',
install_requires = ['tiddlyweb', 'tiddlywebplugins.dispatcher', 'beanstalkc'],
zip_safe = False,
)
<commit_msg>Include tiddlywebplugins.utils as a dependency<commit_after> |
AUTHOR = 'Chris Dent'
AUTHOR_EMAIL = 'cdent@peermore.com'
MAINTAINER = 'Ben Paddock'
MAINTAINER_EMAIL = 'pads@thisispads.me.uk'
NAME = 'tiddlywebplugins.jsondispatcher'
DESCRIPTION = 'A TiddlyWeb plugin to allow the dispatching of tiddlers to non-Python handlers by serialising tiddler data to JSON'
VERSION = '0.1.0'
import os
from setuptools import setup, find_packages
setup(
namespace_packages = ['tiddlywebplugins'],
name = NAME,
version = VERSION,
description = DESCRIPTION,
long_description = file(os.path.join(os.path.dirname(__file__), 'README')).read(),
author = AUTHOR,
author_email = AUTHOR_EMAIL,
maintainer = MAINTAINER,
maintainer_email = MAINTAINER_EMAIL,
url = 'http://pypi.python.org/pypi/%s' % NAME,
packages = find_packages(exclude=['test']),
platforms = 'Posix; MacOS X; Windows',
install_requires = [
'tiddlyweb',
'tiddlywebplugins.dispatcher',
'tiddlywebplugins.utils',
'beanstalkc'
],
zip_safe = False,
)
|
AUTHOR = 'Chris Dent'
AUTHOR_EMAIL = 'cdent@peermore.com'
MAINTAINER = 'Ben Paddock'
MAINTAINER_EMAIL = 'pads@thisispads.me.uk'
NAME = 'tiddlywebplugins.jsondispatcher'
DESCRIPTION = 'A TiddlyWeb plugin to allow the dispatching of tiddlers to non-Python handlers by serialising tiddler data to JSON'
VERSION = '0.1.0'
import os
from setuptools import setup, find_packages
setup(
namespace_packages = ['tiddlywebplugins'],
name = NAME,
version = VERSION,
description = DESCRIPTION,
long_description = file(os.path.join(os.path.dirname(__file__), 'README')).read(),
author = AUTHOR,
author_email = AUTHOR_EMAIL,
maintainer = MAINTAINER,
maintainer_email = MAINTAINER_EMAIL,
url = 'http://pypi.python.org/pypi/%s' % NAME,
packages = find_packages(exclude=['test']),
platforms = 'Posix; MacOS X; Windows',
install_requires = ['tiddlyweb', 'tiddlywebplugins.dispatcher', 'beanstalkc'],
zip_safe = False,
)
Include tiddlywebplugins.utils as a dependency
AUTHOR = 'Chris Dent'
AUTHOR_EMAIL = 'cdent@peermore.com'
MAINTAINER = 'Ben Paddock'
MAINTAINER_EMAIL = 'pads@thisispads.me.uk'
NAME = 'tiddlywebplugins.jsondispatcher'
DESCRIPTION = 'A TiddlyWeb plugin to allow the dispatching of tiddlers to non-Python handlers by serialising tiddler data to JSON'
VERSION = '0.1.0'
import os
from setuptools import setup, find_packages
setup(
namespace_packages = ['tiddlywebplugins'],
name = NAME,
version = VERSION,
description = DESCRIPTION,
long_description = file(os.path.join(os.path.dirname(__file__), 'README')).read(),
author = AUTHOR,
author_email = AUTHOR_EMAIL,
maintainer = MAINTAINER,
maintainer_email = MAINTAINER_EMAIL,
url = 'http://pypi.python.org/pypi/%s' % NAME,
packages = find_packages(exclude=['test']),
platforms = 'Posix; MacOS X; Windows',
install_requires = [
'tiddlyweb',
'tiddlywebplugins.dispatcher',
'tiddlywebplugins.utils',
'beanstalkc'
],
zip_safe = False,
)
| <commit_before>
AUTHOR = 'Chris Dent'
AUTHOR_EMAIL = 'cdent@peermore.com'
MAINTAINER = 'Ben Paddock'
MAINTAINER_EMAIL = 'pads@thisispads.me.uk'
NAME = 'tiddlywebplugins.jsondispatcher'
DESCRIPTION = 'A TiddlyWeb plugin to allow the dispatching of tiddlers to non-Python handlers by serialising tiddler data to JSON'
VERSION = '0.1.0'
import os
from setuptools import setup, find_packages
setup(
namespace_packages = ['tiddlywebplugins'],
name = NAME,
version = VERSION,
description = DESCRIPTION,
long_description = file(os.path.join(os.path.dirname(__file__), 'README')).read(),
author = AUTHOR,
author_email = AUTHOR_EMAIL,
maintainer = MAINTAINER,
maintainer_email = MAINTAINER_EMAIL,
url = 'http://pypi.python.org/pypi/%s' % NAME,
packages = find_packages(exclude=['test']),
platforms = 'Posix; MacOS X; Windows',
install_requires = ['tiddlyweb', 'tiddlywebplugins.dispatcher', 'beanstalkc'],
zip_safe = False,
)
<commit_msg>Include tiddlywebplugins.utils as a dependency<commit_after>
AUTHOR = 'Chris Dent'
AUTHOR_EMAIL = 'cdent@peermore.com'
MAINTAINER = 'Ben Paddock'
MAINTAINER_EMAIL = 'pads@thisispads.me.uk'
NAME = 'tiddlywebplugins.jsondispatcher'
DESCRIPTION = 'A TiddlyWeb plugin to allow the dispatching of tiddlers to non-Python handlers by serialising tiddler data to JSON'
VERSION = '0.1.0'
import os
from setuptools import setup, find_packages
setup(
namespace_packages = ['tiddlywebplugins'],
name = NAME,
version = VERSION,
description = DESCRIPTION,
long_description = file(os.path.join(os.path.dirname(__file__), 'README')).read(),
author = AUTHOR,
author_email = AUTHOR_EMAIL,
maintainer = MAINTAINER,
maintainer_email = MAINTAINER_EMAIL,
url = 'http://pypi.python.org/pypi/%s' % NAME,
packages = find_packages(exclude=['test']),
platforms = 'Posix; MacOS X; Windows',
install_requires = [
'tiddlyweb',
'tiddlywebplugins.dispatcher',
'tiddlywebplugins.utils',
'beanstalkc'
],
zip_safe = False,
)
|
c90b6b173e4e26063f9c0fa1e03c550c63c6a06d | setup.py | setup.py | import sys
import os
from cx_Freeze import setup, Executable
paths = []
paths.extend(sys.path)
paths.append('whacked4')
build_exe_options = {
'packages': [],
'path': paths,
'include_files': ['res', 'cfg', 'LICENSE', 'README.md'],
'optimize': 2,
'include_msvcr': True
}
build_exe_options['path'].append('src')
base = None
if sys.platform == 'win32':
base = 'Win32GUI'
exe = Executable(
'src/main.py',
base=base,
targetName=os.environ['app_name_lower'] + '.exe',
icon='res/icon-hatchet.ico'
)
setup(
name = os.environ['app_title'],
version = os.environ['app_version_value'],
description = os.environ['app_description'],
options = {'build_exe': build_exe_options},
executables = [exe]
)
| import sys
import os
from cx_Freeze import setup, Executable
paths = []
paths.extend(sys.path)
paths.append('whacked4')
build_exe_options = {
'packages': [],
'path': paths,
'include_files': ['res', 'cfg', 'docs', 'LICENSE', 'README.md'],
'optimize': 2,
'include_msvcr': True
}
build_exe_options['path'].append('src')
base = None
if sys.platform == 'win32':
base = 'Win32GUI'
exe = Executable(
'src/main.py',
base=base,
targetName=os.environ['app_name_lower'] + '.exe',
icon='res/icon-hatchet.ico'
)
setup(
name = os.environ['app_title'],
version = os.environ['app_version_value'],
description = os.environ['app_description'],
options = {'build_exe': build_exe_options},
executables = [exe]
)
| Add documentation to packaging script. | Add documentation to packaging script.
| Python | bsd-2-clause | GitExl/WhackEd4,GitExl/WhackEd4 | import sys
import os
from cx_Freeze import setup, Executable
paths = []
paths.extend(sys.path)
paths.append('whacked4')
build_exe_options = {
'packages': [],
'path': paths,
'include_files': ['res', 'cfg', 'LICENSE', 'README.md'],
'optimize': 2,
'include_msvcr': True
}
build_exe_options['path'].append('src')
base = None
if sys.platform == 'win32':
base = 'Win32GUI'
exe = Executable(
'src/main.py',
base=base,
targetName=os.environ['app_name_lower'] + '.exe',
icon='res/icon-hatchet.ico'
)
setup(
name = os.environ['app_title'],
version = os.environ['app_version_value'],
description = os.environ['app_description'],
options = {'build_exe': build_exe_options},
executables = [exe]
)
Add documentation to packaging script. | import sys
import os
from cx_Freeze import setup, Executable
paths = []
paths.extend(sys.path)
paths.append('whacked4')
build_exe_options = {
'packages': [],
'path': paths,
'include_files': ['res', 'cfg', 'docs', 'LICENSE', 'README.md'],
'optimize': 2,
'include_msvcr': True
}
build_exe_options['path'].append('src')
base = None
if sys.platform == 'win32':
base = 'Win32GUI'
exe = Executable(
'src/main.py',
base=base,
targetName=os.environ['app_name_lower'] + '.exe',
icon='res/icon-hatchet.ico'
)
setup(
name = os.environ['app_title'],
version = os.environ['app_version_value'],
description = os.environ['app_description'],
options = {'build_exe': build_exe_options},
executables = [exe]
)
| <commit_before>import sys
import os
from cx_Freeze import setup, Executable
paths = []
paths.extend(sys.path)
paths.append('whacked4')
build_exe_options = {
'packages': [],
'path': paths,
'include_files': ['res', 'cfg', 'LICENSE', 'README.md'],
'optimize': 2,
'include_msvcr': True
}
build_exe_options['path'].append('src')
base = None
if sys.platform == 'win32':
base = 'Win32GUI'
exe = Executable(
'src/main.py',
base=base,
targetName=os.environ['app_name_lower'] + '.exe',
icon='res/icon-hatchet.ico'
)
setup(
name = os.environ['app_title'],
version = os.environ['app_version_value'],
description = os.environ['app_description'],
options = {'build_exe': build_exe_options},
executables = [exe]
)
<commit_msg>Add documentation to packaging script.<commit_after> | import sys
import os
from cx_Freeze import setup, Executable
paths = []
paths.extend(sys.path)
paths.append('whacked4')
build_exe_options = {
'packages': [],
'path': paths,
'include_files': ['res', 'cfg', 'docs', 'LICENSE', 'README.md'],
'optimize': 2,
'include_msvcr': True
}
build_exe_options['path'].append('src')
base = None
if sys.platform == 'win32':
base = 'Win32GUI'
exe = Executable(
'src/main.py',
base=base,
targetName=os.environ['app_name_lower'] + '.exe',
icon='res/icon-hatchet.ico'
)
setup(
name = os.environ['app_title'],
version = os.environ['app_version_value'],
description = os.environ['app_description'],
options = {'build_exe': build_exe_options},
executables = [exe]
)
| import sys
import os
from cx_Freeze import setup, Executable
paths = []
paths.extend(sys.path)
paths.append('whacked4')
build_exe_options = {
'packages': [],
'path': paths,
'include_files': ['res', 'cfg', 'LICENSE', 'README.md'],
'optimize': 2,
'include_msvcr': True
}
build_exe_options['path'].append('src')
base = None
if sys.platform == 'win32':
base = 'Win32GUI'
exe = Executable(
'src/main.py',
base=base,
targetName=os.environ['app_name_lower'] + '.exe',
icon='res/icon-hatchet.ico'
)
setup(
name = os.environ['app_title'],
version = os.environ['app_version_value'],
description = os.environ['app_description'],
options = {'build_exe': build_exe_options},
executables = [exe]
)
Add documentation to packaging script.import sys
import os
from cx_Freeze import setup, Executable
paths = []
paths.extend(sys.path)
paths.append('whacked4')
build_exe_options = {
'packages': [],
'path': paths,
'include_files': ['res', 'cfg', 'docs', 'LICENSE', 'README.md'],
'optimize': 2,
'include_msvcr': True
}
build_exe_options['path'].append('src')
base = None
if sys.platform == 'win32':
base = 'Win32GUI'
exe = Executable(
'src/main.py',
base=base,
targetName=os.environ['app_name_lower'] + '.exe',
icon='res/icon-hatchet.ico'
)
setup(
name = os.environ['app_title'],
version = os.environ['app_version_value'],
description = os.environ['app_description'],
options = {'build_exe': build_exe_options},
executables = [exe]
)
| <commit_before>import sys
import os
from cx_Freeze import setup, Executable
paths = []
paths.extend(sys.path)
paths.append('whacked4')
build_exe_options = {
'packages': [],
'path': paths,
'include_files': ['res', 'cfg', 'LICENSE', 'README.md'],
'optimize': 2,
'include_msvcr': True
}
build_exe_options['path'].append('src')
base = None
if sys.platform == 'win32':
base = 'Win32GUI'
exe = Executable(
'src/main.py',
base=base,
targetName=os.environ['app_name_lower'] + '.exe',
icon='res/icon-hatchet.ico'
)
setup(
name = os.environ['app_title'],
version = os.environ['app_version_value'],
description = os.environ['app_description'],
options = {'build_exe': build_exe_options},
executables = [exe]
)
<commit_msg>Add documentation to packaging script.<commit_after>import sys
import os
from cx_Freeze import setup, Executable
paths = []
paths.extend(sys.path)
paths.append('whacked4')
build_exe_options = {
'packages': [],
'path': paths,
'include_files': ['res', 'cfg', 'docs', 'LICENSE', 'README.md'],
'optimize': 2,
'include_msvcr': True
}
build_exe_options['path'].append('src')
base = None
if sys.platform == 'win32':
base = 'Win32GUI'
exe = Executable(
'src/main.py',
base=base,
targetName=os.environ['app_name_lower'] + '.exe',
icon='res/icon-hatchet.ico'
)
setup(
name = os.environ['app_title'],
version = os.environ['app_version_value'],
description = os.environ['app_description'],
options = {'build_exe': build_exe_options},
executables = [exe]
)
|
a412de216896ddf5b1c2156927d39bade75b10d8 | setup.py | setup.py | import os
import sys
import imp
from setuptools import find_packages
try:
from restricted_pkg import setup
except:
# allow falling back to setuptools only if
# we are not trying to upload
if 'upload' in sys.argv:
raise ImportError('restricted_pkg is required to upload, first do pip install restricted_pkg')
from setuptools import setup
requirements = imp.load_source('requirements', os.path.realpath('requirements.py'))
setup(
name='dusty',
version='0.0.1',
description='Docker-based development environment manager',
url='https://github.com/gamechanger/dusty',
private_repository='gamechanger',
author='GameChanger',
author_email='travis@gamechanger.io',
packages=find_packages(),
install_requires=requirements.install_requires,
tests_require=requirements.test_requires,
test_suite="nose.collector",
entry_points={'console_scripts':
['dustyd = dusty.daemon:main']},
zip_safe=False
)
| import os
import sys
import imp
from setuptools import find_packages
try:
from restricted_pkg import setup
except:
# allow falling back to setuptools only if
# we are not trying to upload
if 'upload' in sys.argv:
raise ImportError('restricted_pkg is required to upload, first do pip install restricted_pkg')
from setuptools import setup
requirements = imp.load_source('requirements', os.path.realpath('requirements.py'))
setup(
name='dusty',
version='0.0.1',
description='Docker-based development environment manager',
url='https://github.com/gamechanger/dusty',
private_repository='gamechanger',
author='GameChanger',
author_email='travis@gamechanger.io',
packages=find_packages(),
install_requires=requirements.install_requires,
tests_require=requirements.test_requires,
test_suite="nose.collector",
entry_points={'console_scripts':
['dustyd = dusty.daemon:main',
'dusty = dusty.client:main']},
zip_safe=False
)
| Add entrypoint for Dusty client | Add entrypoint for Dusty client
| Python | mit | gamechanger/dusty,gamechanger/dusty,gamechanger/dusty,gamechanger/dusty,gamechanger/dusty | import os
import sys
import imp
from setuptools import find_packages
try:
from restricted_pkg import setup
except:
# allow falling back to setuptools only if
# we are not trying to upload
if 'upload' in sys.argv:
raise ImportError('restricted_pkg is required to upload, first do pip install restricted_pkg')
from setuptools import setup
requirements = imp.load_source('requirements', os.path.realpath('requirements.py'))
setup(
name='dusty',
version='0.0.1',
description='Docker-based development environment manager',
url='https://github.com/gamechanger/dusty',
private_repository='gamechanger',
author='GameChanger',
author_email='travis@gamechanger.io',
packages=find_packages(),
install_requires=requirements.install_requires,
tests_require=requirements.test_requires,
test_suite="nose.collector",
entry_points={'console_scripts':
['dustyd = dusty.daemon:main']},
zip_safe=False
)
Add entrypoint for Dusty client | import os
import sys
import imp
from setuptools import find_packages
try:
from restricted_pkg import setup
except:
# allow falling back to setuptools only if
# we are not trying to upload
if 'upload' in sys.argv:
raise ImportError('restricted_pkg is required to upload, first do pip install restricted_pkg')
from setuptools import setup
requirements = imp.load_source('requirements', os.path.realpath('requirements.py'))
setup(
name='dusty',
version='0.0.1',
description='Docker-based development environment manager',
url='https://github.com/gamechanger/dusty',
private_repository='gamechanger',
author='GameChanger',
author_email='travis@gamechanger.io',
packages=find_packages(),
install_requires=requirements.install_requires,
tests_require=requirements.test_requires,
test_suite="nose.collector",
entry_points={'console_scripts':
['dustyd = dusty.daemon:main',
'dusty = dusty.client:main']},
zip_safe=False
)
| <commit_before>import os
import sys
import imp
from setuptools import find_packages
try:
from restricted_pkg import setup
except:
# allow falling back to setuptools only if
# we are not trying to upload
if 'upload' in sys.argv:
raise ImportError('restricted_pkg is required to upload, first do pip install restricted_pkg')
from setuptools import setup
requirements = imp.load_source('requirements', os.path.realpath('requirements.py'))
setup(
name='dusty',
version='0.0.1',
description='Docker-based development environment manager',
url='https://github.com/gamechanger/dusty',
private_repository='gamechanger',
author='GameChanger',
author_email='travis@gamechanger.io',
packages=find_packages(),
install_requires=requirements.install_requires,
tests_require=requirements.test_requires,
test_suite="nose.collector",
entry_points={'console_scripts':
['dustyd = dusty.daemon:main']},
zip_safe=False
)
<commit_msg>Add entrypoint for Dusty client<commit_after> | import os
import sys
import imp
from setuptools import find_packages
try:
from restricted_pkg import setup
except:
# allow falling back to setuptools only if
# we are not trying to upload
if 'upload' in sys.argv:
raise ImportError('restricted_pkg is required to upload, first do pip install restricted_pkg')
from setuptools import setup
requirements = imp.load_source('requirements', os.path.realpath('requirements.py'))
setup(
name='dusty',
version='0.0.1',
description='Docker-based development environment manager',
url='https://github.com/gamechanger/dusty',
private_repository='gamechanger',
author='GameChanger',
author_email='travis@gamechanger.io',
packages=find_packages(),
install_requires=requirements.install_requires,
tests_require=requirements.test_requires,
test_suite="nose.collector",
entry_points={'console_scripts':
['dustyd = dusty.daemon:main',
'dusty = dusty.client:main']},
zip_safe=False
)
| import os
import sys
import imp
from setuptools import find_packages
try:
from restricted_pkg import setup
except:
# allow falling back to setuptools only if
# we are not trying to upload
if 'upload' in sys.argv:
raise ImportError('restricted_pkg is required to upload, first do pip install restricted_pkg')
from setuptools import setup
requirements = imp.load_source('requirements', os.path.realpath('requirements.py'))
setup(
name='dusty',
version='0.0.1',
description='Docker-based development environment manager',
url='https://github.com/gamechanger/dusty',
private_repository='gamechanger',
author='GameChanger',
author_email='travis@gamechanger.io',
packages=find_packages(),
install_requires=requirements.install_requires,
tests_require=requirements.test_requires,
test_suite="nose.collector",
entry_points={'console_scripts':
['dustyd = dusty.daemon:main']},
zip_safe=False
)
Add entrypoint for Dusty clientimport os
import sys
import imp
from setuptools import find_packages
try:
from restricted_pkg import setup
except:
# allow falling back to setuptools only if
# we are not trying to upload
if 'upload' in sys.argv:
raise ImportError('restricted_pkg is required to upload, first do pip install restricted_pkg')
from setuptools import setup
requirements = imp.load_source('requirements', os.path.realpath('requirements.py'))
setup(
name='dusty',
version='0.0.1',
description='Docker-based development environment manager',
url='https://github.com/gamechanger/dusty',
private_repository='gamechanger',
author='GameChanger',
author_email='travis@gamechanger.io',
packages=find_packages(),
install_requires=requirements.install_requires,
tests_require=requirements.test_requires,
test_suite="nose.collector",
entry_points={'console_scripts':
['dustyd = dusty.daemon:main',
'dusty = dusty.client:main']},
zip_safe=False
)
| <commit_before>import os
import sys
import imp
from setuptools import find_packages
try:
from restricted_pkg import setup
except:
# allow falling back to setuptools only if
# we are not trying to upload
if 'upload' in sys.argv:
raise ImportError('restricted_pkg is required to upload, first do pip install restricted_pkg')
from setuptools import setup
requirements = imp.load_source('requirements', os.path.realpath('requirements.py'))
setup(
name='dusty',
version='0.0.1',
description='Docker-based development environment manager',
url='https://github.com/gamechanger/dusty',
private_repository='gamechanger',
author='GameChanger',
author_email='travis@gamechanger.io',
packages=find_packages(),
install_requires=requirements.install_requires,
tests_require=requirements.test_requires,
test_suite="nose.collector",
entry_points={'console_scripts':
['dustyd = dusty.daemon:main']},
zip_safe=False
)
<commit_msg>Add entrypoint for Dusty client<commit_after>import os
import sys
import imp
from setuptools import find_packages
try:
from restricted_pkg import setup
except:
# allow falling back to setuptools only if
# we are not trying to upload
if 'upload' in sys.argv:
raise ImportError('restricted_pkg is required to upload, first do pip install restricted_pkg')
from setuptools import setup
requirements = imp.load_source('requirements', os.path.realpath('requirements.py'))
setup(
name='dusty',
version='0.0.1',
description='Docker-based development environment manager',
url='https://github.com/gamechanger/dusty',
private_repository='gamechanger',
author='GameChanger',
author_email='travis@gamechanger.io',
packages=find_packages(),
install_requires=requirements.install_requires,
tests_require=requirements.test_requires,
test_suite="nose.collector",
entry_points={'console_scripts':
['dustyd = dusty.daemon:main',
'dusty = dusty.client:main']},
zip_safe=False
)
|
24c67ce5972c1edf51f23c0029d56fd2b30daa47 | setup.py | setup.py | import re
from setuptools import find_packages, setup
with open('netsgiro/__init__.py') as fh:
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", fh.read()))
with open('README.rst') as fh:
long_description = fh.read()
setup(
name='netsgiro',
version=metadata['version'],
description='File parsers for Nets AvtaleGiro and OCR Giro',
long_description=long_description,
url='https://github.com/otovo/python-netsgiro',
author='Otovo AS',
license='Apache License, Version 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='avtalegiro ocr giro',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=[
'attrs',
'typing', # Needed for Python 3.4
],
extras_require={
'dev': [
'check-manifest',
'flake8',
'flake8-import-order',
'mypy',
'pytest',
'pytest-xdist',
'tox',
],
},
)
| import re
from setuptools import find_packages, setup
with open('netsgiro/__init__.py') as fh:
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", fh.read()))
with open('README.rst') as fh:
long_description = fh.read()
setup(
name='netsgiro',
version=metadata['version'],
description='File parsers for Nets AvtaleGiro and OCR Giro',
long_description=long_description,
url='https://github.com/otovo/python-netsgiro',
author='Otovo AS',
author_email='jodal+netsgiro@otovo.no',
license='Apache License, Version 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='avtalegiro ocr giro',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=[
'attrs',
'typing', # Needed for Python 3.4
],
extras_require={
'dev': [
'check-manifest',
'flake8',
'flake8-import-order',
'mypy',
'pytest',
'pytest-xdist',
'tox',
],
},
)
| Add required author_email to package metadata | Add required author_email to package metadata
| Python | apache-2.0 | otovo/python-netsgiro | import re
from setuptools import find_packages, setup
with open('netsgiro/__init__.py') as fh:
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", fh.read()))
with open('README.rst') as fh:
long_description = fh.read()
setup(
name='netsgiro',
version=metadata['version'],
description='File parsers for Nets AvtaleGiro and OCR Giro',
long_description=long_description,
url='https://github.com/otovo/python-netsgiro',
author='Otovo AS',
license='Apache License, Version 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='avtalegiro ocr giro',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=[
'attrs',
'typing', # Needed for Python 3.4
],
extras_require={
'dev': [
'check-manifest',
'flake8',
'flake8-import-order',
'mypy',
'pytest',
'pytest-xdist',
'tox',
],
},
)
Add required author_email to package metadata | import re
from setuptools import find_packages, setup
with open('netsgiro/__init__.py') as fh:
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", fh.read()))
with open('README.rst') as fh:
long_description = fh.read()
setup(
name='netsgiro',
version=metadata['version'],
description='File parsers for Nets AvtaleGiro and OCR Giro',
long_description=long_description,
url='https://github.com/otovo/python-netsgiro',
author='Otovo AS',
author_email='jodal+netsgiro@otovo.no',
license='Apache License, Version 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='avtalegiro ocr giro',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=[
'attrs',
'typing', # Needed for Python 3.4
],
extras_require={
'dev': [
'check-manifest',
'flake8',
'flake8-import-order',
'mypy',
'pytest',
'pytest-xdist',
'tox',
],
},
)
| <commit_before>import re
from setuptools import find_packages, setup
with open('netsgiro/__init__.py') as fh:
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", fh.read()))
with open('README.rst') as fh:
long_description = fh.read()
setup(
name='netsgiro',
version=metadata['version'],
description='File parsers for Nets AvtaleGiro and OCR Giro',
long_description=long_description,
url='https://github.com/otovo/python-netsgiro',
author='Otovo AS',
license='Apache License, Version 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='avtalegiro ocr giro',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=[
'attrs',
'typing', # Needed for Python 3.4
],
extras_require={
'dev': [
'check-manifest',
'flake8',
'flake8-import-order',
'mypy',
'pytest',
'pytest-xdist',
'tox',
],
},
)
<commit_msg>Add required author_email to package metadata<commit_after> | import re
from setuptools import find_packages, setup
with open('netsgiro/__init__.py') as fh:
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", fh.read()))
with open('README.rst') as fh:
long_description = fh.read()
setup(
name='netsgiro',
version=metadata['version'],
description='File parsers for Nets AvtaleGiro and OCR Giro',
long_description=long_description,
url='https://github.com/otovo/python-netsgiro',
author='Otovo AS',
author_email='jodal+netsgiro@otovo.no',
license='Apache License, Version 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='avtalegiro ocr giro',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=[
'attrs',
'typing', # Needed for Python 3.4
],
extras_require={
'dev': [
'check-manifest',
'flake8',
'flake8-import-order',
'mypy',
'pytest',
'pytest-xdist',
'tox',
],
},
)
| import re
from setuptools import find_packages, setup
with open('netsgiro/__init__.py') as fh:
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", fh.read()))
with open('README.rst') as fh:
long_description = fh.read()
setup(
name='netsgiro',
version=metadata['version'],
description='File parsers for Nets AvtaleGiro and OCR Giro',
long_description=long_description,
url='https://github.com/otovo/python-netsgiro',
author='Otovo AS',
license='Apache License, Version 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='avtalegiro ocr giro',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=[
'attrs',
'typing', # Needed for Python 3.4
],
extras_require={
'dev': [
'check-manifest',
'flake8',
'flake8-import-order',
'mypy',
'pytest',
'pytest-xdist',
'tox',
],
},
)
Add required author_email to package metadataimport re
from setuptools import find_packages, setup
with open('netsgiro/__init__.py') as fh:
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", fh.read()))
with open('README.rst') as fh:
long_description = fh.read()
setup(
name='netsgiro',
version=metadata['version'],
description='File parsers for Nets AvtaleGiro and OCR Giro',
long_description=long_description,
url='https://github.com/otovo/python-netsgiro',
author='Otovo AS',
author_email='jodal+netsgiro@otovo.no',
license='Apache License, Version 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='avtalegiro ocr giro',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=[
'attrs',
'typing', # Needed for Python 3.4
],
extras_require={
'dev': [
'check-manifest',
'flake8',
'flake8-import-order',
'mypy',
'pytest',
'pytest-xdist',
'tox',
],
},
)
| <commit_before>import re
from setuptools import find_packages, setup
with open('netsgiro/__init__.py') as fh:
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", fh.read()))
with open('README.rst') as fh:
long_description = fh.read()
setup(
name='netsgiro',
version=metadata['version'],
description='File parsers for Nets AvtaleGiro and OCR Giro',
long_description=long_description,
url='https://github.com/otovo/python-netsgiro',
author='Otovo AS',
license='Apache License, Version 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='avtalegiro ocr giro',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=[
'attrs',
'typing', # Needed for Python 3.4
],
extras_require={
'dev': [
'check-manifest',
'flake8',
'flake8-import-order',
'mypy',
'pytest',
'pytest-xdist',
'tox',
],
},
)
<commit_msg>Add required author_email to package metadata<commit_after>import re
from setuptools import find_packages, setup
with open('netsgiro/__init__.py') as fh:
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", fh.read()))
with open('README.rst') as fh:
long_description = fh.read()
setup(
name='netsgiro',
version=metadata['version'],
description='File parsers for Nets AvtaleGiro and OCR Giro',
long_description=long_description,
url='https://github.com/otovo/python-netsgiro',
author='Otovo AS',
author_email='jodal+netsgiro@otovo.no',
license='Apache License, Version 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords='avtalegiro ocr giro',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=[
'attrs',
'typing', # Needed for Python 3.4
],
extras_require={
'dev': [
'check-manifest',
'flake8',
'flake8-import-order',
'mypy',
'pytest',
'pytest-xdist',
'tox',
],
},
)
|
e5d81deba11a0b08e10829a3f30a0e8b63cb51ea | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read().replace('.. :changelog:', '')
requirements = [
'python-dateutil',
'sdag2',
'six'
]
test_requirements = [
]
setup(
name='jsonte',
version='0.8.5',
description="Json Type Extensions.",
long_description=readme + '\n\n' + history,
author="Rasjid Wilcox",
author_email='rasjidw@openminddev.net',
url='https://github.com/rasjidw/python-jsonte',
py_modules=['jsonte'],
install_requires=requirements,
license="BSD",
zip_safe=False,
keywords='jsonte',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
test_suite='test_jsonte',
tests_require=test_requirements
)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read().replace('.. :changelog:', '')
requirements = [
'python-dateutil',
'sdag2',
'six'
]
test_requirements = [
]
setup(
name='jsonte',
version='0.8.5',
description="Json Type Extensions.",
long_description=readme + '\n\n' + history,
author="Rasjid Wilcox",
author_email='rasjidw@openminddev.net',
url='https://github.com/rasjidw/python-jsonte',
py_modules=['jsonte'],
install_requires=requirements,
license="BSD",
zip_safe=False,
keywords='jsonte json',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
test_suite='test_jsonte',
tests_require=test_requirements
)
| Add json as a keyword. | Add json as a keyword.
| Python | bsd-2-clause | rasjidw/python-jsonte | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read().replace('.. :changelog:', '')
requirements = [
'python-dateutil',
'sdag2',
'six'
]
test_requirements = [
]
setup(
name='jsonte',
version='0.8.5',
description="Json Type Extensions.",
long_description=readme + '\n\n' + history,
author="Rasjid Wilcox",
author_email='rasjidw@openminddev.net',
url='https://github.com/rasjidw/python-jsonte',
py_modules=['jsonte'],
install_requires=requirements,
license="BSD",
zip_safe=False,
keywords='jsonte',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
test_suite='test_jsonte',
tests_require=test_requirements
)
Add json as a keyword. | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read().replace('.. :changelog:', '')
requirements = [
'python-dateutil',
'sdag2',
'six'
]
test_requirements = [
]
setup(
name='jsonte',
version='0.8.5',
description="Json Type Extensions.",
long_description=readme + '\n\n' + history,
author="Rasjid Wilcox",
author_email='rasjidw@openminddev.net',
url='https://github.com/rasjidw/python-jsonte',
py_modules=['jsonte'],
install_requires=requirements,
license="BSD",
zip_safe=False,
keywords='jsonte json',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
test_suite='test_jsonte',
tests_require=test_requirements
)
| <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read().replace('.. :changelog:', '')
requirements = [
'python-dateutil',
'sdag2',
'six'
]
test_requirements = [
]
setup(
name='jsonte',
version='0.8.5',
description="Json Type Extensions.",
long_description=readme + '\n\n' + history,
author="Rasjid Wilcox",
author_email='rasjidw@openminddev.net',
url='https://github.com/rasjidw/python-jsonte',
py_modules=['jsonte'],
install_requires=requirements,
license="BSD",
zip_safe=False,
keywords='jsonte',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
test_suite='test_jsonte',
tests_require=test_requirements
)
<commit_msg>Add json as a keyword.<commit_after> | #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read().replace('.. :changelog:', '')
requirements = [
'python-dateutil',
'sdag2',
'six'
]
test_requirements = [
]
setup(
name='jsonte',
version='0.8.5',
description="Json Type Extensions.",
long_description=readme + '\n\n' + history,
author="Rasjid Wilcox",
author_email='rasjidw@openminddev.net',
url='https://github.com/rasjidw/python-jsonte',
py_modules=['jsonte'],
install_requires=requirements,
license="BSD",
zip_safe=False,
keywords='jsonte json',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
test_suite='test_jsonte',
tests_require=test_requirements
)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read().replace('.. :changelog:', '')
requirements = [
'python-dateutil',
'sdag2',
'six'
]
test_requirements = [
]
setup(
name='jsonte',
version='0.8.5',
description="Json Type Extensions.",
long_description=readme + '\n\n' + history,
author="Rasjid Wilcox",
author_email='rasjidw@openminddev.net',
url='https://github.com/rasjidw/python-jsonte',
py_modules=['jsonte'],
install_requires=requirements,
license="BSD",
zip_safe=False,
keywords='jsonte',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
test_suite='test_jsonte',
tests_require=test_requirements
)
Add json as a keyword.#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read().replace('.. :changelog:', '')
requirements = [
'python-dateutil',
'sdag2',
'six'
]
test_requirements = [
]
setup(
name='jsonte',
version='0.8.5',
description="Json Type Extensions.",
long_description=readme + '\n\n' + history,
author="Rasjid Wilcox",
author_email='rasjidw@openminddev.net',
url='https://github.com/rasjidw/python-jsonte',
py_modules=['jsonte'],
install_requires=requirements,
license="BSD",
zip_safe=False,
keywords='jsonte json',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
test_suite='test_jsonte',
tests_require=test_requirements
)
| <commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read().replace('.. :changelog:', '')
requirements = [
'python-dateutil',
'sdag2',
'six'
]
test_requirements = [
]
setup(
name='jsonte',
version='0.8.5',
description="Json Type Extensions.",
long_description=readme + '\n\n' + history,
author="Rasjid Wilcox",
author_email='rasjidw@openminddev.net',
url='https://github.com/rasjidw/python-jsonte',
py_modules=['jsonte'],
install_requires=requirements,
license="BSD",
zip_safe=False,
keywords='jsonte',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
test_suite='test_jsonte',
tests_require=test_requirements
)
<commit_msg>Add json as a keyword.<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read().replace('.. :changelog:', '')
requirements = [
'python-dateutil',
'sdag2',
'six'
]
test_requirements = [
]
setup(
name='jsonte',
version='0.8.5',
description="Json Type Extensions.",
long_description=readme + '\n\n' + history,
author="Rasjid Wilcox",
author_email='rasjidw@openminddev.net',
url='https://github.com/rasjidw/python-jsonte',
py_modules=['jsonte'],
install_requires=requirements,
license="BSD",
zip_safe=False,
keywords='jsonte json',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
test_suite='test_jsonte',
tests_require=test_requirements
)
|
b87073e7c7d4387b6608142de7fd6216a1d093b9 | setup.py | setup.py | from distutils.core import setup
setup(name = "bitey",
description="Bitcode Import Tool",
long_description = """
Bitey allows LLVM bitcode to be directly imported into Python as
an high performance extension module without the need for writing wrappers.
""",
license="""BSD""",
version = "0.0",
author = "David Beazley",
author_email = "dave@dabeaz.com",
maintainer = "David Beazley",
maintainer_email = "dave@dabeaz.com",
url = "https://github.com/dabeaz/bitey/",
packages = ['bitey'],
classifiers = [
'Programming Language :: Python :: 2',
]
)
| from distutils.core import setup
setup(name = "bitey",
description="Bitcode Import Tool",
long_description = """
Bitey allows LLVM bitcode to be directly imported into Python as
an high performance extension module without the need for writing wrappers.
""",
license="""BSD""",
version = "0.0",
author = "David Beazley",
author_email = "dave@dabeaz.com",
maintainer = "David Beazley",
maintainer_email = "dave@dabeaz.com",
url = "https://github.com/dabeaz/bitey/",
packages = ['bitey'],
classifiers = [
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
]
)
| Add trove classifier for Python 3 | Add trove classifier for Python 3
| Python | bsd-3-clause | dabeaz/bitey,dabeaz/bitey | from distutils.core import setup
setup(name = "bitey",
description="Bitcode Import Tool",
long_description = """
Bitey allows LLVM bitcode to be directly imported into Python as
an high performance extension module without the need for writing wrappers.
""",
license="""BSD""",
version = "0.0",
author = "David Beazley",
author_email = "dave@dabeaz.com",
maintainer = "David Beazley",
maintainer_email = "dave@dabeaz.com",
url = "https://github.com/dabeaz/bitey/",
packages = ['bitey'],
classifiers = [
'Programming Language :: Python :: 2',
]
)
Add trove classifier for Python 3 | from distutils.core import setup
setup(name = "bitey",
description="Bitcode Import Tool",
long_description = """
Bitey allows LLVM bitcode to be directly imported into Python as
an high performance extension module without the need for writing wrappers.
""",
license="""BSD""",
version = "0.0",
author = "David Beazley",
author_email = "dave@dabeaz.com",
maintainer = "David Beazley",
maintainer_email = "dave@dabeaz.com",
url = "https://github.com/dabeaz/bitey/",
packages = ['bitey'],
classifiers = [
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
]
)
| <commit_before>from distutils.core import setup
setup(name = "bitey",
description="Bitcode Import Tool",
long_description = """
Bitey allows LLVM bitcode to be directly imported into Python as
an high performance extension module without the need for writing wrappers.
""",
license="""BSD""",
version = "0.0",
author = "David Beazley",
author_email = "dave@dabeaz.com",
maintainer = "David Beazley",
maintainer_email = "dave@dabeaz.com",
url = "https://github.com/dabeaz/bitey/",
packages = ['bitey'],
classifiers = [
'Programming Language :: Python :: 2',
]
)
<commit_msg>Add trove classifier for Python 3<commit_after> | from distutils.core import setup
setup(name = "bitey",
description="Bitcode Import Tool",
long_description = """
Bitey allows LLVM bitcode to be directly imported into Python as
an high performance extension module without the need for writing wrappers.
""",
license="""BSD""",
version = "0.0",
author = "David Beazley",
author_email = "dave@dabeaz.com",
maintainer = "David Beazley",
maintainer_email = "dave@dabeaz.com",
url = "https://github.com/dabeaz/bitey/",
packages = ['bitey'],
classifiers = [
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
]
)
| from distutils.core import setup
setup(name = "bitey",
description="Bitcode Import Tool",
long_description = """
Bitey allows LLVM bitcode to be directly imported into Python as
an high performance extension module without the need for writing wrappers.
""",
license="""BSD""",
version = "0.0",
author = "David Beazley",
author_email = "dave@dabeaz.com",
maintainer = "David Beazley",
maintainer_email = "dave@dabeaz.com",
url = "https://github.com/dabeaz/bitey/",
packages = ['bitey'],
classifiers = [
'Programming Language :: Python :: 2',
]
)
Add trove classifier for Python 3from distutils.core import setup
setup(name = "bitey",
description="Bitcode Import Tool",
long_description = """
Bitey allows LLVM bitcode to be directly imported into Python as
an high performance extension module without the need for writing wrappers.
""",
license="""BSD""",
version = "0.0",
author = "David Beazley",
author_email = "dave@dabeaz.com",
maintainer = "David Beazley",
maintainer_email = "dave@dabeaz.com",
url = "https://github.com/dabeaz/bitey/",
packages = ['bitey'],
classifiers = [
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
]
)
| <commit_before>from distutils.core import setup
setup(name = "bitey",
description="Bitcode Import Tool",
long_description = """
Bitey allows LLVM bitcode to be directly imported into Python as
an high performance extension module without the need for writing wrappers.
""",
license="""BSD""",
version = "0.0",
author = "David Beazley",
author_email = "dave@dabeaz.com",
maintainer = "David Beazley",
maintainer_email = "dave@dabeaz.com",
url = "https://github.com/dabeaz/bitey/",
packages = ['bitey'],
classifiers = [
'Programming Language :: Python :: 2',
]
)
<commit_msg>Add trove classifier for Python 3<commit_after>from distutils.core import setup
setup(name = "bitey",
description="Bitcode Import Tool",
long_description = """
Bitey allows LLVM bitcode to be directly imported into Python as
an high performance extension module without the need for writing wrappers.
""",
license="""BSD""",
version = "0.0",
author = "David Beazley",
author_email = "dave@dabeaz.com",
maintainer = "David Beazley",
maintainer_email = "dave@dabeaz.com",
url = "https://github.com/dabeaz/bitey/",
packages = ['bitey'],
classifiers = [
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
]
)
|
acf731b9b147dcb184aa93e51b2ebe2373b2d11f | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='Flask-RESTful',
version='0.1.8',
url='https://www.github.com/twilio/flask-restful/',
author='Kyle Conroy',
author_email='kyle@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',
setup_requires=[
'nose>=1.1.2',
'mock>=0.8',
],
install_requires=[
'Flask>=0.8',
'pycrypto>=2.6',
]
)
| #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='Flask-RESTful',
version='0.1.7',
url='https://www.github.com/twilio/flask-restful/',
author='Kyle Conroy',
author_email='kyle@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',
setup_requires=[
'nose>=1.1.2',
'mock>=0.8',
],
install_requires=[
'Flask>=0.8',
'pycrypto>=2.6',
]
)
| Undo accidental version bump caused by Makefile | Undo accidental version bump caused by Makefile
| Python | bsd-3-clause | ueg1990/flask-restful,marrybird/flask-restful,Khan/flask-restful,flask-restful/flask-restful,justanr/flask-restful,mackjoner/flask-restful,ankravch/flask-restful,whitekid/flask-restful,frol/flask-restful,elatomo/flask-restful,liangmingjie/flask-restful,santtu/flask-restful,ihiji/flask-restful,gonboy/flask-restful,CanalTP/flask-restful,FashtimeDotCom/flask-restful,codephillip/flask-restful,sergeyromanov/flask-restful,expobrain/flask-restful,red3/flask-restful,mitchfriedman/flask-restful,samarthmshah/flask-restful | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='Flask-RESTful',
version='0.1.8',
url='https://www.github.com/twilio/flask-restful/',
author='Kyle Conroy',
author_email='kyle@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',
setup_requires=[
'nose>=1.1.2',
'mock>=0.8',
],
install_requires=[
'Flask>=0.8',
'pycrypto>=2.6',
]
)
Undo accidental version bump caused by Makefile | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='Flask-RESTful',
version='0.1.7',
url='https://www.github.com/twilio/flask-restful/',
author='Kyle Conroy',
author_email='kyle@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',
setup_requires=[
'nose>=1.1.2',
'mock>=0.8',
],
install_requires=[
'Flask>=0.8',
'pycrypto>=2.6',
]
)
| <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='Flask-RESTful',
version='0.1.8',
url='https://www.github.com/twilio/flask-restful/',
author='Kyle Conroy',
author_email='kyle@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',
setup_requires=[
'nose>=1.1.2',
'mock>=0.8',
],
install_requires=[
'Flask>=0.8',
'pycrypto>=2.6',
]
)
<commit_msg>Undo accidental version bump caused by Makefile<commit_after> | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='Flask-RESTful',
version='0.1.7',
url='https://www.github.com/twilio/flask-restful/',
author='Kyle Conroy',
author_email='kyle@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',
setup_requires=[
'nose>=1.1.2',
'mock>=0.8',
],
install_requires=[
'Flask>=0.8',
'pycrypto>=2.6',
]
)
| #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='Flask-RESTful',
version='0.1.8',
url='https://www.github.com/twilio/flask-restful/',
author='Kyle Conroy',
author_email='kyle@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',
setup_requires=[
'nose>=1.1.2',
'mock>=0.8',
],
install_requires=[
'Flask>=0.8',
'pycrypto>=2.6',
]
)
Undo accidental version bump caused by Makefile#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='Flask-RESTful',
version='0.1.7',
url='https://www.github.com/twilio/flask-restful/',
author='Kyle Conroy',
author_email='kyle@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',
setup_requires=[
'nose>=1.1.2',
'mock>=0.8',
],
install_requires=[
'Flask>=0.8',
'pycrypto>=2.6',
]
)
| <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='Flask-RESTful',
version='0.1.8',
url='https://www.github.com/twilio/flask-restful/',
author='Kyle Conroy',
author_email='kyle@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',
setup_requires=[
'nose>=1.1.2',
'mock>=0.8',
],
install_requires=[
'Flask>=0.8',
'pycrypto>=2.6',
]
)
<commit_msg>Undo accidental version bump caused by Makefile<commit_after>#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='Flask-RESTful',
version='0.1.7',
url='https://www.github.com/twilio/flask-restful/',
author='Kyle Conroy',
author_email='kyle@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',
setup_requires=[
'nose>=1.1.2',
'mock>=0.8',
],
install_requires=[
'Flask>=0.8',
'pycrypto>=2.6',
]
)
|
88ccf2a17dd7d846c89659561809dde9df01da48 | setup.py | setup.py | #!/usr/bin/env python
from codecs import open
from setuptools import find_packages, setup
with open('README.rst', 'r', 'utf-8') as f:
readme = f.read()
setup(
name='django-glitter-news',
version='0.3.3',
description='Django Glitter News for Django',
long_description=readme,
url='https://github.com/blancltd/django-glitter-news',
maintainer='Blanc Ltd',
maintainer_email='studio@blanc.ltd.uk',
platforms=['any'],
packages=find_packages(),
include_package_data=True,
install_requires=[
'django-glitter',
'django-taggit>=0.21.3',
'django-admin-sortable>=2.0.0',
],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'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',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
license='BSD',
)
| #!/usr/bin/env python
from codecs import open
from setuptools import find_packages, setup
with open('README.rst', 'r', 'utf-8') as f:
readme = f.read()
setup(
name='django-glitter-news',
version='0.3.3',
description='Django Glitter News for Django',
long_description=readme,
url='https://github.com/developersociety/django-glitter-news',
maintainer='Blanc Ltd',
maintainer_email='studio@blanc.ltd.uk',
platforms=['any'],
packages=find_packages(),
include_package_data=True,
install_requires=[
'django-glitter',
'django-taggit>=0.21.3',
'django-admin-sortable>=2.0.0',
],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'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',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
license='BSD',
)
| Update GitHub repos from blancltd to developersociety | Update GitHub repos from blancltd to developersociety
| Python | bsd-2-clause | blancltd/glitter-news | #!/usr/bin/env python
from codecs import open
from setuptools import find_packages, setup
with open('README.rst', 'r', 'utf-8') as f:
readme = f.read()
setup(
name='django-glitter-news',
version='0.3.3',
description='Django Glitter News for Django',
long_description=readme,
url='https://github.com/blancltd/django-glitter-news',
maintainer='Blanc Ltd',
maintainer_email='studio@blanc.ltd.uk',
platforms=['any'],
packages=find_packages(),
include_package_data=True,
install_requires=[
'django-glitter',
'django-taggit>=0.21.3',
'django-admin-sortable>=2.0.0',
],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'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',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
license='BSD',
)
Update GitHub repos from blancltd to developersociety | #!/usr/bin/env python
from codecs import open
from setuptools import find_packages, setup
with open('README.rst', 'r', 'utf-8') as f:
readme = f.read()
setup(
name='django-glitter-news',
version='0.3.3',
description='Django Glitter News for Django',
long_description=readme,
url='https://github.com/developersociety/django-glitter-news',
maintainer='Blanc Ltd',
maintainer_email='studio@blanc.ltd.uk',
platforms=['any'],
packages=find_packages(),
include_package_data=True,
install_requires=[
'django-glitter',
'django-taggit>=0.21.3',
'django-admin-sortable>=2.0.0',
],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'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',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
license='BSD',
)
| <commit_before>#!/usr/bin/env python
from codecs import open
from setuptools import find_packages, setup
with open('README.rst', 'r', 'utf-8') as f:
readme = f.read()
setup(
name='django-glitter-news',
version='0.3.3',
description='Django Glitter News for Django',
long_description=readme,
url='https://github.com/blancltd/django-glitter-news',
maintainer='Blanc Ltd',
maintainer_email='studio@blanc.ltd.uk',
platforms=['any'],
packages=find_packages(),
include_package_data=True,
install_requires=[
'django-glitter',
'django-taggit>=0.21.3',
'django-admin-sortable>=2.0.0',
],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'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',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
license='BSD',
)
<commit_msg>Update GitHub repos from blancltd to developersociety<commit_after> | #!/usr/bin/env python
from codecs import open
from setuptools import find_packages, setup
with open('README.rst', 'r', 'utf-8') as f:
readme = f.read()
setup(
name='django-glitter-news',
version='0.3.3',
description='Django Glitter News for Django',
long_description=readme,
url='https://github.com/developersociety/django-glitter-news',
maintainer='Blanc Ltd',
maintainer_email='studio@blanc.ltd.uk',
platforms=['any'],
packages=find_packages(),
include_package_data=True,
install_requires=[
'django-glitter',
'django-taggit>=0.21.3',
'django-admin-sortable>=2.0.0',
],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'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',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
license='BSD',
)
| #!/usr/bin/env python
from codecs import open
from setuptools import find_packages, setup
with open('README.rst', 'r', 'utf-8') as f:
readme = f.read()
setup(
name='django-glitter-news',
version='0.3.3',
description='Django Glitter News for Django',
long_description=readme,
url='https://github.com/blancltd/django-glitter-news',
maintainer='Blanc Ltd',
maintainer_email='studio@blanc.ltd.uk',
platforms=['any'],
packages=find_packages(),
include_package_data=True,
install_requires=[
'django-glitter',
'django-taggit>=0.21.3',
'django-admin-sortable>=2.0.0',
],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'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',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
license='BSD',
)
Update GitHub repos from blancltd to developersociety#!/usr/bin/env python
from codecs import open
from setuptools import find_packages, setup
with open('README.rst', 'r', 'utf-8') as f:
readme = f.read()
setup(
name='django-glitter-news',
version='0.3.3',
description='Django Glitter News for Django',
long_description=readme,
url='https://github.com/developersociety/django-glitter-news',
maintainer='Blanc Ltd',
maintainer_email='studio@blanc.ltd.uk',
platforms=['any'],
packages=find_packages(),
include_package_data=True,
install_requires=[
'django-glitter',
'django-taggit>=0.21.3',
'django-admin-sortable>=2.0.0',
],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'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',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
license='BSD',
)
| <commit_before>#!/usr/bin/env python
from codecs import open
from setuptools import find_packages, setup
with open('README.rst', 'r', 'utf-8') as f:
readme = f.read()
setup(
name='django-glitter-news',
version='0.3.3',
description='Django Glitter News for Django',
long_description=readme,
url='https://github.com/blancltd/django-glitter-news',
maintainer='Blanc Ltd',
maintainer_email='studio@blanc.ltd.uk',
platforms=['any'],
packages=find_packages(),
include_package_data=True,
install_requires=[
'django-glitter',
'django-taggit>=0.21.3',
'django-admin-sortable>=2.0.0',
],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'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',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
license='BSD',
)
<commit_msg>Update GitHub repos from blancltd to developersociety<commit_after>#!/usr/bin/env python
from codecs import open
from setuptools import find_packages, setup
with open('README.rst', 'r', 'utf-8') as f:
readme = f.read()
setup(
name='django-glitter-news',
version='0.3.3',
description='Django Glitter News for Django',
long_description=readme,
url='https://github.com/developersociety/django-glitter-news',
maintainer='Blanc Ltd',
maintainer_email='studio@blanc.ltd.uk',
platforms=['any'],
packages=find_packages(),
include_package_data=True,
install_requires=[
'django-glitter',
'django-taggit>=0.21.3',
'django-admin-sortable>=2.0.0',
],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'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',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
license='BSD',
)
|
b11166f648c6c9c225b45fd13d57eb3124df81cc | setup.py | setup.py | from distutils.core import setup
import skyfield # to learn the version
setup(
name='skyfield',
version=skyfield.__version__,
description=skyfield.__doc__,
long_description=open('README.rst').read(),
license='MIT',
author='Brandon Rhodes',
author_email='brandon@rhodesmill.org',
url='http://github.com/brandon-rhodes/python-skyfield/',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Topic :: Scientific/Engineering :: Astronomy',
],
packages=[
'skyfield',
'skyfield.data',
'skyfield.tests',
],
package_data = {
'skyfield': ['documentation/*.rst'],
'skyfield.data': ['*.npy', '*.txt'],
},
install_requires=[
'de421==2008.1',
'jplephem>=1.2',
'numpy',
'requests>=1.2.3',
'sgp4>=1.1',
])
| from distutils.core import setup
import skyfield # to learn the version
setup(
name='skyfield',
version=skyfield.__version__,
description=skyfield.__doc__,
long_description=open('README.rst').read(),
license='MIT',
author='Brandon Rhodes',
author_email='brandon@rhodesmill.org',
url='http://github.com/brandon-rhodes/python-skyfield/',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Topic :: Scientific/Engineering :: Astronomy',
],
packages=[
'skyfield',
'skyfield.data',
'skyfield.tests',
],
package_data = {
'skyfield': ['documentation/*.rst'],
'skyfield.data': ['*.npy', '*.txt'],
},
install_requires=[
'de421==2008.1',
'jplephem>=1.2',
'numpy',
'requests>=1.2.3',
'sgp4>=1.1',
])
| Declare Python 2.7 and 3.3 compatibility | Declare Python 2.7 and 3.3 compatibility
| Python | mit | GuidoBR/python-skyfield,skyfielders/python-skyfield,ozialien/python-skyfield,skyfielders/python-skyfield,GuidoBR/python-skyfield,exoanalytic/python-skyfield,exoanalytic/python-skyfield,ozialien/python-skyfield | from distutils.core import setup
import skyfield # to learn the version
setup(
name='skyfield',
version=skyfield.__version__,
description=skyfield.__doc__,
long_description=open('README.rst').read(),
license='MIT',
author='Brandon Rhodes',
author_email='brandon@rhodesmill.org',
url='http://github.com/brandon-rhodes/python-skyfield/',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Topic :: Scientific/Engineering :: Astronomy',
],
packages=[
'skyfield',
'skyfield.data',
'skyfield.tests',
],
package_data = {
'skyfield': ['documentation/*.rst'],
'skyfield.data': ['*.npy', '*.txt'],
},
install_requires=[
'de421==2008.1',
'jplephem>=1.2',
'numpy',
'requests>=1.2.3',
'sgp4>=1.1',
])
Declare Python 2.7 and 3.3 compatibility | from distutils.core import setup
import skyfield # to learn the version
setup(
name='skyfield',
version=skyfield.__version__,
description=skyfield.__doc__,
long_description=open('README.rst').read(),
license='MIT',
author='Brandon Rhodes',
author_email='brandon@rhodesmill.org',
url='http://github.com/brandon-rhodes/python-skyfield/',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Topic :: Scientific/Engineering :: Astronomy',
],
packages=[
'skyfield',
'skyfield.data',
'skyfield.tests',
],
package_data = {
'skyfield': ['documentation/*.rst'],
'skyfield.data': ['*.npy', '*.txt'],
},
install_requires=[
'de421==2008.1',
'jplephem>=1.2',
'numpy',
'requests>=1.2.3',
'sgp4>=1.1',
])
| <commit_before>from distutils.core import setup
import skyfield # to learn the version
setup(
name='skyfield',
version=skyfield.__version__,
description=skyfield.__doc__,
long_description=open('README.rst').read(),
license='MIT',
author='Brandon Rhodes',
author_email='brandon@rhodesmill.org',
url='http://github.com/brandon-rhodes/python-skyfield/',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Topic :: Scientific/Engineering :: Astronomy',
],
packages=[
'skyfield',
'skyfield.data',
'skyfield.tests',
],
package_data = {
'skyfield': ['documentation/*.rst'],
'skyfield.data': ['*.npy', '*.txt'],
},
install_requires=[
'de421==2008.1',
'jplephem>=1.2',
'numpy',
'requests>=1.2.3',
'sgp4>=1.1',
])
<commit_msg>Declare Python 2.7 and 3.3 compatibility<commit_after> | from distutils.core import setup
import skyfield # to learn the version
setup(
name='skyfield',
version=skyfield.__version__,
description=skyfield.__doc__,
long_description=open('README.rst').read(),
license='MIT',
author='Brandon Rhodes',
author_email='brandon@rhodesmill.org',
url='http://github.com/brandon-rhodes/python-skyfield/',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Topic :: Scientific/Engineering :: Astronomy',
],
packages=[
'skyfield',
'skyfield.data',
'skyfield.tests',
],
package_data = {
'skyfield': ['documentation/*.rst'],
'skyfield.data': ['*.npy', '*.txt'],
},
install_requires=[
'de421==2008.1',
'jplephem>=1.2',
'numpy',
'requests>=1.2.3',
'sgp4>=1.1',
])
| from distutils.core import setup
import skyfield # to learn the version
setup(
name='skyfield',
version=skyfield.__version__,
description=skyfield.__doc__,
long_description=open('README.rst').read(),
license='MIT',
author='Brandon Rhodes',
author_email='brandon@rhodesmill.org',
url='http://github.com/brandon-rhodes/python-skyfield/',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Topic :: Scientific/Engineering :: Astronomy',
],
packages=[
'skyfield',
'skyfield.data',
'skyfield.tests',
],
package_data = {
'skyfield': ['documentation/*.rst'],
'skyfield.data': ['*.npy', '*.txt'],
},
install_requires=[
'de421==2008.1',
'jplephem>=1.2',
'numpy',
'requests>=1.2.3',
'sgp4>=1.1',
])
Declare Python 2.7 and 3.3 compatibilityfrom distutils.core import setup
import skyfield # to learn the version
setup(
name='skyfield',
version=skyfield.__version__,
description=skyfield.__doc__,
long_description=open('README.rst').read(),
license='MIT',
author='Brandon Rhodes',
author_email='brandon@rhodesmill.org',
url='http://github.com/brandon-rhodes/python-skyfield/',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Topic :: Scientific/Engineering :: Astronomy',
],
packages=[
'skyfield',
'skyfield.data',
'skyfield.tests',
],
package_data = {
'skyfield': ['documentation/*.rst'],
'skyfield.data': ['*.npy', '*.txt'],
},
install_requires=[
'de421==2008.1',
'jplephem>=1.2',
'numpy',
'requests>=1.2.3',
'sgp4>=1.1',
])
| <commit_before>from distutils.core import setup
import skyfield # to learn the version
setup(
name='skyfield',
version=skyfield.__version__,
description=skyfield.__doc__,
long_description=open('README.rst').read(),
license='MIT',
author='Brandon Rhodes',
author_email='brandon@rhodesmill.org',
url='http://github.com/brandon-rhodes/python-skyfield/',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Topic :: Scientific/Engineering :: Astronomy',
],
packages=[
'skyfield',
'skyfield.data',
'skyfield.tests',
],
package_data = {
'skyfield': ['documentation/*.rst'],
'skyfield.data': ['*.npy', '*.txt'],
},
install_requires=[
'de421==2008.1',
'jplephem>=1.2',
'numpy',
'requests>=1.2.3',
'sgp4>=1.1',
])
<commit_msg>Declare Python 2.7 and 3.3 compatibility<commit_after>from distutils.core import setup
import skyfield # to learn the version
setup(
name='skyfield',
version=skyfield.__version__,
description=skyfield.__doc__,
long_description=open('README.rst').read(),
license='MIT',
author='Brandon Rhodes',
author_email='brandon@rhodesmill.org',
url='http://github.com/brandon-rhodes/python-skyfield/',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Topic :: Scientific/Engineering :: Astronomy',
],
packages=[
'skyfield',
'skyfield.data',
'skyfield.tests',
],
package_data = {
'skyfield': ['documentation/*.rst'],
'skyfield.data': ['*.npy', '*.txt'],
},
install_requires=[
'de421==2008.1',
'jplephem>=1.2',
'numpy',
'requests>=1.2.3',
'sgp4>=1.1',
])
|
2ad357bd15e50035c4914a9510eeb3b1f40d687b | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
version_tuple = __import__('pymysql').VERSION
if version_tuple[2] is not None:
version = "%d.%d_%s" % version_tuple
else:
version = "%d.%d" % version_tuple[:2]
try:
with open('README.rst') as f:
readme = f.read()
except IOError:
readme = ''
setup(
name="PyMySQL",
version=version,
url='https://github.com/PyMySQL/PyMySQL/',
download_url = 'https://github.com/PyMySQL/PyMySQL/tarball/pymysql-%s' % version,
author='yutaka.matsubara',
author_email='yutaka.matsubara@gmail.com',
maintainer='Marcel Rodrigues',
maintainer_email='marcelgmr@gmail.com',
description='Pure-Python MySQL Driver',
long_description=readme,
license="MIT",
packages=find_packages(),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Database',
]
)
| #!/usr/bin/env python
from setuptools import setup, find_packages
version_tuple = __import__('pymysql').VERSION
if version_tuple[3] is not None:
version = "%d.%d.%d_%s" % version_tuple
else:
version = "%d.%d.%d" % version_tuple[:3]
try:
with open('README.rst') as f:
readme = f.read()
except IOError:
readme = ''
setup(
name="PyMySQL",
version=version,
url='https://github.com/PyMySQL/PyMySQL/',
download_url = 'https://github.com/PyMySQL/PyMySQL/tarball/pymysql-%s' % version,
author='yutaka.matsubara',
author_email='yutaka.matsubara@gmail.com',
maintainer='Marcel Rodrigues',
maintainer_email='marcelgmr@gmail.com',
description='Pure-Python MySQL Driver',
long_description=readme,
license="MIT",
packages=find_packages(),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Database',
]
)
| Change version format to allow MAJOR.MINOR.PATCH. | Change version format to allow MAJOR.MINOR.PATCH.
| Python | mit | nju520/PyMySQL,jheld/PyMySQL,aio-libs/aiomysql,NunoEdgarGub1/PyMySQL,pulsar314/Tornado-MySQL,anson-tang/PyMySQL,yeyinzhu3211/PyMySQL,xjzhou/PyMySQL,xjzhou/PyMySQL,pymysql/pymysql,eibanez/PyMySQL,yeyinzhu3211/PyMySQL,PyMySQL/PyMySQL,wraziens/PyMySQL,Geoion/Tornado-MySQL,modulexcite/PyMySQL,jwjohns/PyMySQL,DashaChuk/PyMySQL,mosquito/Tornado-MySQL,wraziens/PyMySQL,lzedl/PyMySQL,boneyao/PyMySQL,Ting-y/PyMySQL,methane/PyMySQL,PyMySQL/Tornado-MySQL,lzedl/PyMySQL,MartinThoma/PyMySQL,eibanez/PyMySQL | #!/usr/bin/env python
from setuptools import setup, find_packages
version_tuple = __import__('pymysql').VERSION
if version_tuple[2] is not None:
version = "%d.%d_%s" % version_tuple
else:
version = "%d.%d" % version_tuple[:2]
try:
with open('README.rst') as f:
readme = f.read()
except IOError:
readme = ''
setup(
name="PyMySQL",
version=version,
url='https://github.com/PyMySQL/PyMySQL/',
download_url = 'https://github.com/PyMySQL/PyMySQL/tarball/pymysql-%s' % version,
author='yutaka.matsubara',
author_email='yutaka.matsubara@gmail.com',
maintainer='Marcel Rodrigues',
maintainer_email='marcelgmr@gmail.com',
description='Pure-Python MySQL Driver',
long_description=readme,
license="MIT",
packages=find_packages(),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Database',
]
)
Change version format to allow MAJOR.MINOR.PATCH. | #!/usr/bin/env python
from setuptools import setup, find_packages
version_tuple = __import__('pymysql').VERSION
if version_tuple[3] is not None:
version = "%d.%d.%d_%s" % version_tuple
else:
version = "%d.%d.%d" % version_tuple[:3]
try:
with open('README.rst') as f:
readme = f.read()
except IOError:
readme = ''
setup(
name="PyMySQL",
version=version,
url='https://github.com/PyMySQL/PyMySQL/',
download_url = 'https://github.com/PyMySQL/PyMySQL/tarball/pymysql-%s' % version,
author='yutaka.matsubara',
author_email='yutaka.matsubara@gmail.com',
maintainer='Marcel Rodrigues',
maintainer_email='marcelgmr@gmail.com',
description='Pure-Python MySQL Driver',
long_description=readme,
license="MIT",
packages=find_packages(),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Database',
]
)
| <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
version_tuple = __import__('pymysql').VERSION
if version_tuple[2] is not None:
version = "%d.%d_%s" % version_tuple
else:
version = "%d.%d" % version_tuple[:2]
try:
with open('README.rst') as f:
readme = f.read()
except IOError:
readme = ''
setup(
name="PyMySQL",
version=version,
url='https://github.com/PyMySQL/PyMySQL/',
download_url = 'https://github.com/PyMySQL/PyMySQL/tarball/pymysql-%s' % version,
author='yutaka.matsubara',
author_email='yutaka.matsubara@gmail.com',
maintainer='Marcel Rodrigues',
maintainer_email='marcelgmr@gmail.com',
description='Pure-Python MySQL Driver',
long_description=readme,
license="MIT",
packages=find_packages(),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Database',
]
)
<commit_msg>Change version format to allow MAJOR.MINOR.PATCH.<commit_after> | #!/usr/bin/env python
from setuptools import setup, find_packages
version_tuple = __import__('pymysql').VERSION
if version_tuple[3] is not None:
version = "%d.%d.%d_%s" % version_tuple
else:
version = "%d.%d.%d" % version_tuple[:3]
try:
with open('README.rst') as f:
readme = f.read()
except IOError:
readme = ''
setup(
name="PyMySQL",
version=version,
url='https://github.com/PyMySQL/PyMySQL/',
download_url = 'https://github.com/PyMySQL/PyMySQL/tarball/pymysql-%s' % version,
author='yutaka.matsubara',
author_email='yutaka.matsubara@gmail.com',
maintainer='Marcel Rodrigues',
maintainer_email='marcelgmr@gmail.com',
description='Pure-Python MySQL Driver',
long_description=readme,
license="MIT",
packages=find_packages(),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Database',
]
)
| #!/usr/bin/env python
from setuptools import setup, find_packages
version_tuple = __import__('pymysql').VERSION
if version_tuple[2] is not None:
version = "%d.%d_%s" % version_tuple
else:
version = "%d.%d" % version_tuple[:2]
try:
with open('README.rst') as f:
readme = f.read()
except IOError:
readme = ''
setup(
name="PyMySQL",
version=version,
url='https://github.com/PyMySQL/PyMySQL/',
download_url = 'https://github.com/PyMySQL/PyMySQL/tarball/pymysql-%s' % version,
author='yutaka.matsubara',
author_email='yutaka.matsubara@gmail.com',
maintainer='Marcel Rodrigues',
maintainer_email='marcelgmr@gmail.com',
description='Pure-Python MySQL Driver',
long_description=readme,
license="MIT",
packages=find_packages(),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Database',
]
)
Change version format to allow MAJOR.MINOR.PATCH.#!/usr/bin/env python
from setuptools import setup, find_packages
version_tuple = __import__('pymysql').VERSION
if version_tuple[3] is not None:
version = "%d.%d.%d_%s" % version_tuple
else:
version = "%d.%d.%d" % version_tuple[:3]
try:
with open('README.rst') as f:
readme = f.read()
except IOError:
readme = ''
setup(
name="PyMySQL",
version=version,
url='https://github.com/PyMySQL/PyMySQL/',
download_url = 'https://github.com/PyMySQL/PyMySQL/tarball/pymysql-%s' % version,
author='yutaka.matsubara',
author_email='yutaka.matsubara@gmail.com',
maintainer='Marcel Rodrigues',
maintainer_email='marcelgmr@gmail.com',
description='Pure-Python MySQL Driver',
long_description=readme,
license="MIT",
packages=find_packages(),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Database',
]
)
| <commit_before>#!/usr/bin/env python
from setuptools import setup, find_packages
version_tuple = __import__('pymysql').VERSION
if version_tuple[2] is not None:
version = "%d.%d_%s" % version_tuple
else:
version = "%d.%d" % version_tuple[:2]
try:
with open('README.rst') as f:
readme = f.read()
except IOError:
readme = ''
setup(
name="PyMySQL",
version=version,
url='https://github.com/PyMySQL/PyMySQL/',
download_url = 'https://github.com/PyMySQL/PyMySQL/tarball/pymysql-%s' % version,
author='yutaka.matsubara',
author_email='yutaka.matsubara@gmail.com',
maintainer='Marcel Rodrigues',
maintainer_email='marcelgmr@gmail.com',
description='Pure-Python MySQL Driver',
long_description=readme,
license="MIT",
packages=find_packages(),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Database',
]
)
<commit_msg>Change version format to allow MAJOR.MINOR.PATCH.<commit_after>#!/usr/bin/env python
from setuptools import setup, find_packages
version_tuple = __import__('pymysql').VERSION
if version_tuple[3] is not None:
version = "%d.%d.%d_%s" % version_tuple
else:
version = "%d.%d.%d" % version_tuple[:3]
try:
with open('README.rst') as f:
readme = f.read()
except IOError:
readme = ''
setup(
name="PyMySQL",
version=version,
url='https://github.com/PyMySQL/PyMySQL/',
download_url = 'https://github.com/PyMySQL/PyMySQL/tarball/pymysql-%s' % version,
author='yutaka.matsubara',
author_email='yutaka.matsubara@gmail.com',
maintainer='Marcel Rodrigues',
maintainer_email='marcelgmr@gmail.com',
description='Pure-Python MySQL Driver',
long_description=readme,
license="MIT",
packages=find_packages(),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Database',
]
)
|
fc8ecdda75a9edb7b8f58cf247a9c26b05fdc20b | setup.py | setup.py | from setuptools import setup, find_packages
from django_s3_storage import __version__
version_str = ".".join(str(n) for n in __version__)
setup(
name="django-s3-storage",
version=version_str,
license="BSD",
description="Django Amazon S3 file storage.",
author="Dave Hall",
author_email="dave@etianen.com",
url="https://github.com/etianen/django-s3-storage",
packages=find_packages(),
install_requires=[
"django>=1.11",
"boto3>=1.4.4,<2",
],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Framework :: Django",
],
)
| from setuptools import setup, find_packages
from django_s3_storage import __version__
version_str = ".".join(str(n) for n in __version__)
setup(
name="django-s3-storage",
version=version_str,
license="BSD",
description="Django Amazon S3 file storage.",
author="Dave Hall",
author_email="dave@etianen.com",
url="https://github.com/etianen/django-s3-storage",
packages=find_packages(),
install_requires=[
"django>=1.11",
"boto3>=1.4.4,<2",
],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Framework :: Django",
],
)
| Remove Python 3.4 from classifiers | Remove Python 3.4 from classifiers
| Python | bsd-3-clause | etianen/django-s3-storage | from setuptools import setup, find_packages
from django_s3_storage import __version__
version_str = ".".join(str(n) for n in __version__)
setup(
name="django-s3-storage",
version=version_str,
license="BSD",
description="Django Amazon S3 file storage.",
author="Dave Hall",
author_email="dave@etianen.com",
url="https://github.com/etianen/django-s3-storage",
packages=find_packages(),
install_requires=[
"django>=1.11",
"boto3>=1.4.4,<2",
],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Framework :: Django",
],
)
Remove Python 3.4 from classifiers | from setuptools import setup, find_packages
from django_s3_storage import __version__
version_str = ".".join(str(n) for n in __version__)
setup(
name="django-s3-storage",
version=version_str,
license="BSD",
description="Django Amazon S3 file storage.",
author="Dave Hall",
author_email="dave@etianen.com",
url="https://github.com/etianen/django-s3-storage",
packages=find_packages(),
install_requires=[
"django>=1.11",
"boto3>=1.4.4,<2",
],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Framework :: Django",
],
)
| <commit_before>from setuptools import setup, find_packages
from django_s3_storage import __version__
version_str = ".".join(str(n) for n in __version__)
setup(
name="django-s3-storage",
version=version_str,
license="BSD",
description="Django Amazon S3 file storage.",
author="Dave Hall",
author_email="dave@etianen.com",
url="https://github.com/etianen/django-s3-storage",
packages=find_packages(),
install_requires=[
"django>=1.11",
"boto3>=1.4.4,<2",
],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Framework :: Django",
],
)
<commit_msg>Remove Python 3.4 from classifiers<commit_after> | from setuptools import setup, find_packages
from django_s3_storage import __version__
version_str = ".".join(str(n) for n in __version__)
setup(
name="django-s3-storage",
version=version_str,
license="BSD",
description="Django Amazon S3 file storage.",
author="Dave Hall",
author_email="dave@etianen.com",
url="https://github.com/etianen/django-s3-storage",
packages=find_packages(),
install_requires=[
"django>=1.11",
"boto3>=1.4.4,<2",
],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Framework :: Django",
],
)
| from setuptools import setup, find_packages
from django_s3_storage import __version__
version_str = ".".join(str(n) for n in __version__)
setup(
name="django-s3-storage",
version=version_str,
license="BSD",
description="Django Amazon S3 file storage.",
author="Dave Hall",
author_email="dave@etianen.com",
url="https://github.com/etianen/django-s3-storage",
packages=find_packages(),
install_requires=[
"django>=1.11",
"boto3>=1.4.4,<2",
],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Framework :: Django",
],
)
Remove Python 3.4 from classifiersfrom setuptools import setup, find_packages
from django_s3_storage import __version__
version_str = ".".join(str(n) for n in __version__)
setup(
name="django-s3-storage",
version=version_str,
license="BSD",
description="Django Amazon S3 file storage.",
author="Dave Hall",
author_email="dave@etianen.com",
url="https://github.com/etianen/django-s3-storage",
packages=find_packages(),
install_requires=[
"django>=1.11",
"boto3>=1.4.4,<2",
],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Framework :: Django",
],
)
| <commit_before>from setuptools import setup, find_packages
from django_s3_storage import __version__
version_str = ".".join(str(n) for n in __version__)
setup(
name="django-s3-storage",
version=version_str,
license="BSD",
description="Django Amazon S3 file storage.",
author="Dave Hall",
author_email="dave@etianen.com",
url="https://github.com/etianen/django-s3-storage",
packages=find_packages(),
install_requires=[
"django>=1.11",
"boto3>=1.4.4,<2",
],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Framework :: Django",
],
)
<commit_msg>Remove Python 3.4 from classifiers<commit_after>from setuptools import setup, find_packages
from django_s3_storage import __version__
version_str = ".".join(str(n) for n in __version__)
setup(
name="django-s3-storage",
version=version_str,
license="BSD",
description="Django Amazon S3 file storage.",
author="Dave Hall",
author_email="dave@etianen.com",
url="https://github.com/etianen/django-s3-storage",
packages=find_packages(),
install_requires=[
"django>=1.11",
"boto3>=1.4.4,<2",
],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Framework :: Django",
],
)
|
7924c608fd7c44574c1a7b59fb7eb9f77b44340b | setup.py | setup.py | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_cli',
version='0.1',
description='Command-line tool for debugging PPP modules',
url='https://github.com/ProjetPP/PPP-CLI',
author='Valentin Lorentz',
author_email='valentin.lorentz+ppp@ens-lyon.org',
license='MIT',
classifiers=[
'Environment :: No Input/Output (Daemon)',
'Development Status :: 1 - Planning',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
],
install_requires=[
'ppp_datamodel>=0.7,<0.8',
'ppp_datamodel_notation_parser',
],
packages=[
'ppp_cli',
],
)
| #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_cli',
version='0.1',
description='Command-line tool for debugging PPP modules',
url='https://github.com/ProjetPP/PPP-CLI',
author='Valentin Lorentz',
author_email='valentin.lorentz+ppp@ens-lyon.org',
license='MIT',
classifiers=[
'Environment :: No Input/Output (Daemon)',
'Development Status :: 1 - Planning',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
],
install_requires=[
'ppp_datamodel>=0.6.1,<0.7',
'ppp_datamodel_notation_parser',
],
packages=[
'ppp_cli',
],
)
| Fix datamodel version. Closes GH-1. | Fix datamodel version. Closes GH-1.
| Python | mit | ProjetPP/PPP-CLI | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_cli',
version='0.1',
description='Command-line tool for debugging PPP modules',
url='https://github.com/ProjetPP/PPP-CLI',
author='Valentin Lorentz',
author_email='valentin.lorentz+ppp@ens-lyon.org',
license='MIT',
classifiers=[
'Environment :: No Input/Output (Daemon)',
'Development Status :: 1 - Planning',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
],
install_requires=[
'ppp_datamodel>=0.7,<0.8',
'ppp_datamodel_notation_parser',
],
packages=[
'ppp_cli',
],
)
Fix datamodel version. Closes GH-1. | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_cli',
version='0.1',
description='Command-line tool for debugging PPP modules',
url='https://github.com/ProjetPP/PPP-CLI',
author='Valentin Lorentz',
author_email='valentin.lorentz+ppp@ens-lyon.org',
license='MIT',
classifiers=[
'Environment :: No Input/Output (Daemon)',
'Development Status :: 1 - Planning',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
],
install_requires=[
'ppp_datamodel>=0.6.1,<0.7',
'ppp_datamodel_notation_parser',
],
packages=[
'ppp_cli',
],
)
| <commit_before>#!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_cli',
version='0.1',
description='Command-line tool for debugging PPP modules',
url='https://github.com/ProjetPP/PPP-CLI',
author='Valentin Lorentz',
author_email='valentin.lorentz+ppp@ens-lyon.org',
license='MIT',
classifiers=[
'Environment :: No Input/Output (Daemon)',
'Development Status :: 1 - Planning',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
],
install_requires=[
'ppp_datamodel>=0.7,<0.8',
'ppp_datamodel_notation_parser',
],
packages=[
'ppp_cli',
],
)
<commit_msg>Fix datamodel version. Closes GH-1.<commit_after> | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_cli',
version='0.1',
description='Command-line tool for debugging PPP modules',
url='https://github.com/ProjetPP/PPP-CLI',
author='Valentin Lorentz',
author_email='valentin.lorentz+ppp@ens-lyon.org',
license='MIT',
classifiers=[
'Environment :: No Input/Output (Daemon)',
'Development Status :: 1 - Planning',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
],
install_requires=[
'ppp_datamodel>=0.6.1,<0.7',
'ppp_datamodel_notation_parser',
],
packages=[
'ppp_cli',
],
)
| #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_cli',
version='0.1',
description='Command-line tool for debugging PPP modules',
url='https://github.com/ProjetPP/PPP-CLI',
author='Valentin Lorentz',
author_email='valentin.lorentz+ppp@ens-lyon.org',
license='MIT',
classifiers=[
'Environment :: No Input/Output (Daemon)',
'Development Status :: 1 - Planning',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
],
install_requires=[
'ppp_datamodel>=0.7,<0.8',
'ppp_datamodel_notation_parser',
],
packages=[
'ppp_cli',
],
)
Fix datamodel version. Closes GH-1.#!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_cli',
version='0.1',
description='Command-line tool for debugging PPP modules',
url='https://github.com/ProjetPP/PPP-CLI',
author='Valentin Lorentz',
author_email='valentin.lorentz+ppp@ens-lyon.org',
license='MIT',
classifiers=[
'Environment :: No Input/Output (Daemon)',
'Development Status :: 1 - Planning',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
],
install_requires=[
'ppp_datamodel>=0.6.1,<0.7',
'ppp_datamodel_notation_parser',
],
packages=[
'ppp_cli',
],
)
| <commit_before>#!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_cli',
version='0.1',
description='Command-line tool for debugging PPP modules',
url='https://github.com/ProjetPP/PPP-CLI',
author='Valentin Lorentz',
author_email='valentin.lorentz+ppp@ens-lyon.org',
license='MIT',
classifiers=[
'Environment :: No Input/Output (Daemon)',
'Development Status :: 1 - Planning',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
],
install_requires=[
'ppp_datamodel>=0.7,<0.8',
'ppp_datamodel_notation_parser',
],
packages=[
'ppp_cli',
],
)
<commit_msg>Fix datamodel version. Closes GH-1.<commit_after>#!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_cli',
version='0.1',
description='Command-line tool for debugging PPP modules',
url='https://github.com/ProjetPP/PPP-CLI',
author='Valentin Lorentz',
author_email='valentin.lorentz+ppp@ens-lyon.org',
license='MIT',
classifiers=[
'Environment :: No Input/Output (Daemon)',
'Development Status :: 1 - Planning',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
],
install_requires=[
'ppp_datamodel>=0.6.1,<0.7',
'ppp_datamodel_notation_parser',
],
packages=[
'ppp_cli',
],
)
|
7d8adf2ba125e70c0a8a6b2fab67bbce7bff47de | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.3',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='adam@zooniverse.org',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
packages=find_packages(),
include_package_data=True,
install_requires=[
'Click>=6.7,<7.1',
'PyYAML>=5.1,<5.4',
'panoptes-client>=1.3,<2.0',
'humanize>=0.5.1,<1.1',
'pathvalidate>=0.29.0,<0.30',
],
entry_points='''
[console_scripts]
panoptes=panoptes_cli.scripts.panoptes:cli
''',
)
| from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.3',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='adam@zooniverse.org',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
packages=find_packages(),
include_package_data=True,
install_requires=[
'Click>=6.7,<7.1',
'PyYAML>=5.1,<5.5',
'panoptes-client>=1.3,<2.0',
'humanize>=0.5.1,<1.1',
'pathvalidate>=0.29.0,<0.30',
],
entry_points='''
[console_scripts]
panoptes=panoptes_cli.scripts.panoptes:cli
''',
)
| Update pyyaml requirement from <5.4,>=5.1 to >=5.1,<5.5 | Update pyyaml requirement from <5.4,>=5.1 to >=5.1,<5.5
Updates the requirements on [pyyaml](https://github.com/yaml/pyyaml) to permit the latest version.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/5.1...5.4)
Signed-off-by: dependabot-preview[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com> | Python | apache-2.0 | zooniverse/panoptes-cli | from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.3',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='adam@zooniverse.org',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
packages=find_packages(),
include_package_data=True,
install_requires=[
'Click>=6.7,<7.1',
'PyYAML>=5.1,<5.4',
'panoptes-client>=1.3,<2.0',
'humanize>=0.5.1,<1.1',
'pathvalidate>=0.29.0,<0.30',
],
entry_points='''
[console_scripts]
panoptes=panoptes_cli.scripts.panoptes:cli
''',
)
Update pyyaml requirement from <5.4,>=5.1 to >=5.1,<5.5
Updates the requirements on [pyyaml](https://github.com/yaml/pyyaml) to permit the latest version.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/5.1...5.4)
Signed-off-by: dependabot-preview[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com> | from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.3',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='adam@zooniverse.org',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
packages=find_packages(),
include_package_data=True,
install_requires=[
'Click>=6.7,<7.1',
'PyYAML>=5.1,<5.5',
'panoptes-client>=1.3,<2.0',
'humanize>=0.5.1,<1.1',
'pathvalidate>=0.29.0,<0.30',
],
entry_points='''
[console_scripts]
panoptes=panoptes_cli.scripts.panoptes:cli
''',
)
| <commit_before>from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.3',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='adam@zooniverse.org',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
packages=find_packages(),
include_package_data=True,
install_requires=[
'Click>=6.7,<7.1',
'PyYAML>=5.1,<5.4',
'panoptes-client>=1.3,<2.0',
'humanize>=0.5.1,<1.1',
'pathvalidate>=0.29.0,<0.30',
],
entry_points='''
[console_scripts]
panoptes=panoptes_cli.scripts.panoptes:cli
''',
)
<commit_msg>Update pyyaml requirement from <5.4,>=5.1 to >=5.1,<5.5
Updates the requirements on [pyyaml](https://github.com/yaml/pyyaml) to permit the latest version.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/5.1...5.4)
Signed-off-by: dependabot-preview[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com><commit_after> | from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.3',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='adam@zooniverse.org',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
packages=find_packages(),
include_package_data=True,
install_requires=[
'Click>=6.7,<7.1',
'PyYAML>=5.1,<5.5',
'panoptes-client>=1.3,<2.0',
'humanize>=0.5.1,<1.1',
'pathvalidate>=0.29.0,<0.30',
],
entry_points='''
[console_scripts]
panoptes=panoptes_cli.scripts.panoptes:cli
''',
)
| from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.3',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='adam@zooniverse.org',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
packages=find_packages(),
include_package_data=True,
install_requires=[
'Click>=6.7,<7.1',
'PyYAML>=5.1,<5.4',
'panoptes-client>=1.3,<2.0',
'humanize>=0.5.1,<1.1',
'pathvalidate>=0.29.0,<0.30',
],
entry_points='''
[console_scripts]
panoptes=panoptes_cli.scripts.panoptes:cli
''',
)
Update pyyaml requirement from <5.4,>=5.1 to >=5.1,<5.5
Updates the requirements on [pyyaml](https://github.com/yaml/pyyaml) to permit the latest version.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/5.1...5.4)
Signed-off-by: dependabot-preview[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com>from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.3',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='adam@zooniverse.org',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
packages=find_packages(),
include_package_data=True,
install_requires=[
'Click>=6.7,<7.1',
'PyYAML>=5.1,<5.5',
'panoptes-client>=1.3,<2.0',
'humanize>=0.5.1,<1.1',
'pathvalidate>=0.29.0,<0.30',
],
entry_points='''
[console_scripts]
panoptes=panoptes_cli.scripts.panoptes:cli
''',
)
| <commit_before>from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.3',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='adam@zooniverse.org',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
packages=find_packages(),
include_package_data=True,
install_requires=[
'Click>=6.7,<7.1',
'PyYAML>=5.1,<5.4',
'panoptes-client>=1.3,<2.0',
'humanize>=0.5.1,<1.1',
'pathvalidate>=0.29.0,<0.30',
],
entry_points='''
[console_scripts]
panoptes=panoptes_cli.scripts.panoptes:cli
''',
)
<commit_msg>Update pyyaml requirement from <5.4,>=5.1 to >=5.1,<5.5
Updates the requirements on [pyyaml](https://github.com/yaml/pyyaml) to permit the latest version.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/5.1...5.4)
Signed-off-by: dependabot-preview[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@dependabot.com><commit_after>from setuptools import setup, find_packages
setup(
name='panoptescli',
version='1.1.3',
url='https://github.com/zooniverse/panoptes-cli',
author='Adam McMaster',
author_email='adam@zooniverse.org',
description=(
'A command-line client for Panoptes, the API behind the Zooniverse'
),
packages=find_packages(),
include_package_data=True,
install_requires=[
'Click>=6.7,<7.1',
'PyYAML>=5.1,<5.5',
'panoptes-client>=1.3,<2.0',
'humanize>=0.5.1,<1.1',
'pathvalidate>=0.29.0,<0.30',
],
entry_points='''
[console_scripts]
panoptes=panoptes_cli.scripts.panoptes:cli
''',
)
|
5f23b65fc1ea40d4d9cd8f17a4b439304840f57c | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='pictures-dedupe-and-rename',
version='1.0.0',
description='Dedupe a set of pictures in a given folder and rename them using the yyyymmdd_HHMMss format',
url='https://github.com/mina-asham/pictures-dedupe-and-rename',
license='MIT',
author='Mina Asham',
author_email='mina.asham@hotmail.com',
scripts=['dedupe-rename.py'],
packages=find_packages(),
install_requires=['exifread'],
long_description=open('README.md').read()
)
| # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='pictures-dedupe-and-rename',
version='1.0.0',
description='Dedupe a set of pictures in a given folder and rename them using the yyyymmdd_HHMMss format',
url='https://github.com/mina-asham/pictures-dedupe-and-rename',
license='MIT',
author='Mina Asham',
author_email='mina.asham@hotmail.com',
scripts=['dedupe-rename.py'],
packages=find_packages(),
install_requires=['mock', 'exifread'],
long_description=open('README.md').read()
)
| Add mock as a requirement, this is required for all Python releases prior to 3.3 | Add mock as a requirement, this is required for all Python releases prior to 3.3
| Python | mit | mina-asham/pictures-dedupe-and-rename | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='pictures-dedupe-and-rename',
version='1.0.0',
description='Dedupe a set of pictures in a given folder and rename them using the yyyymmdd_HHMMss format',
url='https://github.com/mina-asham/pictures-dedupe-and-rename',
license='MIT',
author='Mina Asham',
author_email='mina.asham@hotmail.com',
scripts=['dedupe-rename.py'],
packages=find_packages(),
install_requires=['exifread'],
long_description=open('README.md').read()
)
Add mock as a requirement, this is required for all Python releases prior to 3.3 | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='pictures-dedupe-and-rename',
version='1.0.0',
description='Dedupe a set of pictures in a given folder and rename them using the yyyymmdd_HHMMss format',
url='https://github.com/mina-asham/pictures-dedupe-and-rename',
license='MIT',
author='Mina Asham',
author_email='mina.asham@hotmail.com',
scripts=['dedupe-rename.py'],
packages=find_packages(),
install_requires=['mock', 'exifread'],
long_description=open('README.md').read()
)
| <commit_before># -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='pictures-dedupe-and-rename',
version='1.0.0',
description='Dedupe a set of pictures in a given folder and rename them using the yyyymmdd_HHMMss format',
url='https://github.com/mina-asham/pictures-dedupe-and-rename',
license='MIT',
author='Mina Asham',
author_email='mina.asham@hotmail.com',
scripts=['dedupe-rename.py'],
packages=find_packages(),
install_requires=['exifread'],
long_description=open('README.md').read()
)
<commit_msg>Add mock as a requirement, this is required for all Python releases prior to 3.3<commit_after> | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='pictures-dedupe-and-rename',
version='1.0.0',
description='Dedupe a set of pictures in a given folder and rename them using the yyyymmdd_HHMMss format',
url='https://github.com/mina-asham/pictures-dedupe-and-rename',
license='MIT',
author='Mina Asham',
author_email='mina.asham@hotmail.com',
scripts=['dedupe-rename.py'],
packages=find_packages(),
install_requires=['mock', 'exifread'],
long_description=open('README.md').read()
)
| # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='pictures-dedupe-and-rename',
version='1.0.0',
description='Dedupe a set of pictures in a given folder and rename them using the yyyymmdd_HHMMss format',
url='https://github.com/mina-asham/pictures-dedupe-and-rename',
license='MIT',
author='Mina Asham',
author_email='mina.asham@hotmail.com',
scripts=['dedupe-rename.py'],
packages=find_packages(),
install_requires=['exifread'],
long_description=open('README.md').read()
)
Add mock as a requirement, this is required for all Python releases prior to 3.3# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='pictures-dedupe-and-rename',
version='1.0.0',
description='Dedupe a set of pictures in a given folder and rename them using the yyyymmdd_HHMMss format',
url='https://github.com/mina-asham/pictures-dedupe-and-rename',
license='MIT',
author='Mina Asham',
author_email='mina.asham@hotmail.com',
scripts=['dedupe-rename.py'],
packages=find_packages(),
install_requires=['mock', 'exifread'],
long_description=open('README.md').read()
)
| <commit_before># -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='pictures-dedupe-and-rename',
version='1.0.0',
description='Dedupe a set of pictures in a given folder and rename them using the yyyymmdd_HHMMss format',
url='https://github.com/mina-asham/pictures-dedupe-and-rename',
license='MIT',
author='Mina Asham',
author_email='mina.asham@hotmail.com',
scripts=['dedupe-rename.py'],
packages=find_packages(),
install_requires=['exifread'],
long_description=open('README.md').read()
)
<commit_msg>Add mock as a requirement, this is required for all Python releases prior to 3.3<commit_after># -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='pictures-dedupe-and-rename',
version='1.0.0',
description='Dedupe a set of pictures in a given folder and rename them using the yyyymmdd_HHMMss format',
url='https://github.com/mina-asham/pictures-dedupe-and-rename',
license='MIT',
author='Mina Asham',
author_email='mina.asham@hotmail.com',
scripts=['dedupe-rename.py'],
packages=find_packages(),
install_requires=['mock', 'exifread'],
long_description=open('README.md').read()
)
|
19e2753f957d26883be1703a1c3098c4f858424c | setup.py | setup.py | from distutils.core import setup
import pkg_resources
import sys
requires = ['six']
if sys.version_info < (2, 7):
requires.append('argparse')
version = pkg_resources.require("fitparse")[0].version
setup(
name='fitparse',
version=version,
description='Python library to parse ANT/Garmin .FIT files',
author='David Cooper, Kévin Gomez',
author_email='dave@kupesoft.com, contact@kevingomez.fr',
url='https://github.com/K-Phoen/python-fitparse',
license=open('LICENSE').read(),
packages=['fitparse'],
scripts=['scripts/fitdump'], # Don't include generate_profile.py
install_requires=requires,
)
| # -*- coding: utf-8 -*-
import re
import sys
from distutils.core import setup
requires = ['six']
if sys.version_info < (2, 7):
requires.append('argparse')
with open('fitparse/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
setup(
name='fitparse',
version=version,
description='Python library to parse ANT/Garmin .FIT files',
author='David Cooper, Kévin Gomez',
author_email='dave@kupesoft.com, contact@kevingomez.fr',
url='https://github.com/K-Phoen/python-fitparse',
license=open('LICENSE').read(),
packages=['fitparse'],
scripts=['scripts/fitdump'], # Don't include generate_profile.py
install_requires=requires,
)
| Read the __version__ from the fitparse/__init__.py without importing it | Read the __version__ from the fitparse/__init__.py without importing it
It avoids having to read an extra VERSION file in the module code itself
and leaves all the ugliness in setup.py, where ugliness belongs. This
is the same technique that the requests module uses.
| Python | isc | K-Phoen/python-fitparse | from distutils.core import setup
import pkg_resources
import sys
requires = ['six']
if sys.version_info < (2, 7):
requires.append('argparse')
version = pkg_resources.require("fitparse")[0].version
setup(
name='fitparse',
version=version,
description='Python library to parse ANT/Garmin .FIT files',
author='David Cooper, Kévin Gomez',
author_email='dave@kupesoft.com, contact@kevingomez.fr',
url='https://github.com/K-Phoen/python-fitparse',
license=open('LICENSE').read(),
packages=['fitparse'],
scripts=['scripts/fitdump'], # Don't include generate_profile.py
install_requires=requires,
)
Read the __version__ from the fitparse/__init__.py without importing it
It avoids having to read an extra VERSION file in the module code itself
and leaves all the ugliness in setup.py, where ugliness belongs. This
is the same technique that the requests module uses. | # -*- coding: utf-8 -*-
import re
import sys
from distutils.core import setup
requires = ['six']
if sys.version_info < (2, 7):
requires.append('argparse')
with open('fitparse/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
setup(
name='fitparse',
version=version,
description='Python library to parse ANT/Garmin .FIT files',
author='David Cooper, Kévin Gomez',
author_email='dave@kupesoft.com, contact@kevingomez.fr',
url='https://github.com/K-Phoen/python-fitparse',
license=open('LICENSE').read(),
packages=['fitparse'],
scripts=['scripts/fitdump'], # Don't include generate_profile.py
install_requires=requires,
)
| <commit_before>from distutils.core import setup
import pkg_resources
import sys
requires = ['six']
if sys.version_info < (2, 7):
requires.append('argparse')
version = pkg_resources.require("fitparse")[0].version
setup(
name='fitparse',
version=version,
description='Python library to parse ANT/Garmin .FIT files',
author='David Cooper, Kévin Gomez',
author_email='dave@kupesoft.com, contact@kevingomez.fr',
url='https://github.com/K-Phoen/python-fitparse',
license=open('LICENSE').read(),
packages=['fitparse'],
scripts=['scripts/fitdump'], # Don't include generate_profile.py
install_requires=requires,
)
<commit_msg>Read the __version__ from the fitparse/__init__.py without importing it
It avoids having to read an extra VERSION file in the module code itself
and leaves all the ugliness in setup.py, where ugliness belongs. This
is the same technique that the requests module uses.<commit_after> | # -*- coding: utf-8 -*-
import re
import sys
from distutils.core import setup
requires = ['six']
if sys.version_info < (2, 7):
requires.append('argparse')
with open('fitparse/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
setup(
name='fitparse',
version=version,
description='Python library to parse ANT/Garmin .FIT files',
author='David Cooper, Kévin Gomez',
author_email='dave@kupesoft.com, contact@kevingomez.fr',
url='https://github.com/K-Phoen/python-fitparse',
license=open('LICENSE').read(),
packages=['fitparse'],
scripts=['scripts/fitdump'], # Don't include generate_profile.py
install_requires=requires,
)
| from distutils.core import setup
import pkg_resources
import sys
requires = ['six']
if sys.version_info < (2, 7):
requires.append('argparse')
version = pkg_resources.require("fitparse")[0].version
setup(
name='fitparse',
version=version,
description='Python library to parse ANT/Garmin .FIT files',
author='David Cooper, Kévin Gomez',
author_email='dave@kupesoft.com, contact@kevingomez.fr',
url='https://github.com/K-Phoen/python-fitparse',
license=open('LICENSE').read(),
packages=['fitparse'],
scripts=['scripts/fitdump'], # Don't include generate_profile.py
install_requires=requires,
)
Read the __version__ from the fitparse/__init__.py without importing it
It avoids having to read an extra VERSION file in the module code itself
and leaves all the ugliness in setup.py, where ugliness belongs. This
is the same technique that the requests module uses.# -*- coding: utf-8 -*-
import re
import sys
from distutils.core import setup
requires = ['six']
if sys.version_info < (2, 7):
requires.append('argparse')
with open('fitparse/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
setup(
name='fitparse',
version=version,
description='Python library to parse ANT/Garmin .FIT files',
author='David Cooper, Kévin Gomez',
author_email='dave@kupesoft.com, contact@kevingomez.fr',
url='https://github.com/K-Phoen/python-fitparse',
license=open('LICENSE').read(),
packages=['fitparse'],
scripts=['scripts/fitdump'], # Don't include generate_profile.py
install_requires=requires,
)
| <commit_before>from distutils.core import setup
import pkg_resources
import sys
requires = ['six']
if sys.version_info < (2, 7):
requires.append('argparse')
version = pkg_resources.require("fitparse")[0].version
setup(
name='fitparse',
version=version,
description='Python library to parse ANT/Garmin .FIT files',
author='David Cooper, Kévin Gomez',
author_email='dave@kupesoft.com, contact@kevingomez.fr',
url='https://github.com/K-Phoen/python-fitparse',
license=open('LICENSE').read(),
packages=['fitparse'],
scripts=['scripts/fitdump'], # Don't include generate_profile.py
install_requires=requires,
)
<commit_msg>Read the __version__ from the fitparse/__init__.py without importing it
It avoids having to read an extra VERSION file in the module code itself
and leaves all the ugliness in setup.py, where ugliness belongs. This
is the same technique that the requests module uses.<commit_after># -*- coding: utf-8 -*-
import re
import sys
from distutils.core import setup
requires = ['six']
if sys.version_info < (2, 7):
requires.append('argparse')
with open('fitparse/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
setup(
name='fitparse',
version=version,
description='Python library to parse ANT/Garmin .FIT files',
author='David Cooper, Kévin Gomez',
author_email='dave@kupesoft.com, contact@kevingomez.fr',
url='https://github.com/K-Phoen/python-fitparse',
license=open('LICENSE').read(),
packages=['fitparse'],
scripts=['scripts/fitdump'], # Don't include generate_profile.py
install_requires=requires,
)
|
058b484b997158219b9c0eda34ec6ac3d897f563 | setup.py | setup.py | import os
import json
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md'), encoding="utf-8") as f:
readme = f.read()
with open(os.path.join(os.path.dirname(__file__), 'package.json'), encoding="utf-8") as f:
package = json.loads(f.read())
setup(
name=package['name'],
version=package['version'],
description=package['description'],
long_description=readme,
long_description_content_type='text/markdown',
author=package['author']['name'],
author_email=package['author']['email'],
url=package['homepage'],
packages=['s3direct'],
include_package_data=True,
install_requires=['django>=1.8'],
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)
| import os
import io
import json
from setuptools import setup
with io.open(os.path.join(os.path.dirname(__file__), 'README.md'), encoding="utf-8") as f:
readme = f.read()
with io.open(os.path.join(os.path.dirname(__file__), 'package.json'), encoding="utf-8") as f:
package = json.loads(f.read())
setup(
name=package['name'],
version=package['version'],
description=package['description'],
long_description=readme,
long_description_content_type='text/markdown',
author=package['author']['name'],
author_email=package['author']['email'],
url=package['homepage'],
packages=['s3direct'],
include_package_data=True,
install_requires=['django>=1.8'],
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)
| Use io.open for py2/py3 compat | Use io.open for py2/py3 compat
| Python | mit | bradleyg/django-s3direct,bradleyg/django-s3direct,bradleyg/django-s3direct | import os
import json
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md'), encoding="utf-8") as f:
readme = f.read()
with open(os.path.join(os.path.dirname(__file__), 'package.json'), encoding="utf-8") as f:
package = json.loads(f.read())
setup(
name=package['name'],
version=package['version'],
description=package['description'],
long_description=readme,
long_description_content_type='text/markdown',
author=package['author']['name'],
author_email=package['author']['email'],
url=package['homepage'],
packages=['s3direct'],
include_package_data=True,
install_requires=['django>=1.8'],
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)
Use io.open for py2/py3 compat | import os
import io
import json
from setuptools import setup
with io.open(os.path.join(os.path.dirname(__file__), 'README.md'), encoding="utf-8") as f:
readme = f.read()
with io.open(os.path.join(os.path.dirname(__file__), 'package.json'), encoding="utf-8") as f:
package = json.loads(f.read())
setup(
name=package['name'],
version=package['version'],
description=package['description'],
long_description=readme,
long_description_content_type='text/markdown',
author=package['author']['name'],
author_email=package['author']['email'],
url=package['homepage'],
packages=['s3direct'],
include_package_data=True,
install_requires=['django>=1.8'],
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)
| <commit_before>import os
import json
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md'), encoding="utf-8") as f:
readme = f.read()
with open(os.path.join(os.path.dirname(__file__), 'package.json'), encoding="utf-8") as f:
package = json.loads(f.read())
setup(
name=package['name'],
version=package['version'],
description=package['description'],
long_description=readme,
long_description_content_type='text/markdown',
author=package['author']['name'],
author_email=package['author']['email'],
url=package['homepage'],
packages=['s3direct'],
include_package_data=True,
install_requires=['django>=1.8'],
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)
<commit_msg>Use io.open for py2/py3 compat<commit_after> | import os
import io
import json
from setuptools import setup
with io.open(os.path.join(os.path.dirname(__file__), 'README.md'), encoding="utf-8") as f:
readme = f.read()
with io.open(os.path.join(os.path.dirname(__file__), 'package.json'), encoding="utf-8") as f:
package = json.loads(f.read())
setup(
name=package['name'],
version=package['version'],
description=package['description'],
long_description=readme,
long_description_content_type='text/markdown',
author=package['author']['name'],
author_email=package['author']['email'],
url=package['homepage'],
packages=['s3direct'],
include_package_data=True,
install_requires=['django>=1.8'],
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)
| import os
import json
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md'), encoding="utf-8") as f:
readme = f.read()
with open(os.path.join(os.path.dirname(__file__), 'package.json'), encoding="utf-8") as f:
package = json.loads(f.read())
setup(
name=package['name'],
version=package['version'],
description=package['description'],
long_description=readme,
long_description_content_type='text/markdown',
author=package['author']['name'],
author_email=package['author']['email'],
url=package['homepage'],
packages=['s3direct'],
include_package_data=True,
install_requires=['django>=1.8'],
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)
Use io.open for py2/py3 compatimport os
import io
import json
from setuptools import setup
with io.open(os.path.join(os.path.dirname(__file__), 'README.md'), encoding="utf-8") as f:
readme = f.read()
with io.open(os.path.join(os.path.dirname(__file__), 'package.json'), encoding="utf-8") as f:
package = json.loads(f.read())
setup(
name=package['name'],
version=package['version'],
description=package['description'],
long_description=readme,
long_description_content_type='text/markdown',
author=package['author']['name'],
author_email=package['author']['email'],
url=package['homepage'],
packages=['s3direct'],
include_package_data=True,
install_requires=['django>=1.8'],
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)
| <commit_before>import os
import json
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md'), encoding="utf-8") as f:
readme = f.read()
with open(os.path.join(os.path.dirname(__file__), 'package.json'), encoding="utf-8") as f:
package = json.loads(f.read())
setup(
name=package['name'],
version=package['version'],
description=package['description'],
long_description=readme,
long_description_content_type='text/markdown',
author=package['author']['name'],
author_email=package['author']['email'],
url=package['homepage'],
packages=['s3direct'],
include_package_data=True,
install_requires=['django>=1.8'],
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)
<commit_msg>Use io.open for py2/py3 compat<commit_after>import os
import io
import json
from setuptools import setup
with io.open(os.path.join(os.path.dirname(__file__), 'README.md'), encoding="utf-8") as f:
readme = f.read()
with io.open(os.path.join(os.path.dirname(__file__), 'package.json'), encoding="utf-8") as f:
package = json.loads(f.read())
setup(
name=package['name'],
version=package['version'],
description=package['description'],
long_description=readme,
long_description_content_type='text/markdown',
author=package['author']['name'],
author_email=package['author']['email'],
url=package['homepage'],
packages=['s3direct'],
include_package_data=True,
install_requires=['django>=1.8'],
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)
|
f3055b0804beeee52bed748ed56c2f407e736efb | setup.py | setup.py | #!/usr/bin/env python
"""
# sentry-restricted-github
A limited alternavite to sentry-github which doesn't require write access to
repos. It allows creating tickets but doesn't link them to the sentry error
group.
"""
from setuptools import setup, find_packages
# tests_require = [
# 'nose',
# ]
install_requires = [
'sentry>=6.0.0',
]
setup(
name='sentry-restricted-github',
version='0.1',
author='Daniel Benamy',
author_email='dbenamy@stripe.com',
url='https://github.com/stripe/sentry-restricted-github',
description='Create github tickets from sentry errors. More secure but less featureful than sentry-github.',
long_description=__doc__,
license='MIT',
package_dir={'': 'src'},
packages=find_packages('src'),
zip_safe=False,
install_requires=install_requires,
# tests_require=tests_require,
# extras_require={'test': tests_require},
test_suite='runtests.runtests',
include_package_data=True,
entry_points={
'sentry.apps': [
'safe_github = sentry_safe_github',
],
'sentry.plugins': [
'safe_github = sentry_safe_github.plugin:SafeGithubPlugin',
],
},
classifiers=[
'Framework :: Django',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Topic :: Software Development'
],
)
| #!/usr/bin/env python
"""
# sentry-restricted-github
A limited alternavite to sentry-github which doesn't require write access to
repos. It allows creating tickets but doesn't link them to the sentry error
group.
"""
from setuptools import setup, find_packages
# tests_require = [
# 'nose',
# ]
install_requires = [
'sentry>=6.0.0',
]
setup(
name='sentry-restricted-github',
version='0.1',
author='Daniel Benamy',
author_email='dbenamy@stripe.com',
url='https://github.com/stripe/sentry-restricted-github',
description='Create github tickets from sentry errors without giving sentry write access to the repo.',
long_description=__doc__,
license='MIT',
package_dir={'': 'src'},
packages=find_packages('src'),
zip_safe=False,
install_requires=install_requires,
# tests_require=tests_require,
# extras_require={'test': tests_require},
test_suite='runtests.runtests',
include_package_data=True,
entry_points={
'sentry.apps': [
'safe_github = sentry_safe_github',
],
'sentry.plugins': [
'safe_github = sentry_safe_github.plugin:SafeGithubPlugin',
],
},
classifiers=[
'Framework :: Django',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Topic :: Software Development'
],
)
| Make short desc less fudful | Make short desc less fudful
| Python | mit | stripe/sentry-restricted-github | #!/usr/bin/env python
"""
# sentry-restricted-github
A limited alternavite to sentry-github which doesn't require write access to
repos. It allows creating tickets but doesn't link them to the sentry error
group.
"""
from setuptools import setup, find_packages
# tests_require = [
# 'nose',
# ]
install_requires = [
'sentry>=6.0.0',
]
setup(
name='sentry-restricted-github',
version='0.1',
author='Daniel Benamy',
author_email='dbenamy@stripe.com',
url='https://github.com/stripe/sentry-restricted-github',
description='Create github tickets from sentry errors. More secure but less featureful than sentry-github.',
long_description=__doc__,
license='MIT',
package_dir={'': 'src'},
packages=find_packages('src'),
zip_safe=False,
install_requires=install_requires,
# tests_require=tests_require,
# extras_require={'test': tests_require},
test_suite='runtests.runtests',
include_package_data=True,
entry_points={
'sentry.apps': [
'safe_github = sentry_safe_github',
],
'sentry.plugins': [
'safe_github = sentry_safe_github.plugin:SafeGithubPlugin',
],
},
classifiers=[
'Framework :: Django',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Topic :: Software Development'
],
)
Make short desc less fudful | #!/usr/bin/env python
"""
# sentry-restricted-github
A limited alternavite to sentry-github which doesn't require write access to
repos. It allows creating tickets but doesn't link them to the sentry error
group.
"""
from setuptools import setup, find_packages
# tests_require = [
# 'nose',
# ]
install_requires = [
'sentry>=6.0.0',
]
setup(
name='sentry-restricted-github',
version='0.1',
author='Daniel Benamy',
author_email='dbenamy@stripe.com',
url='https://github.com/stripe/sentry-restricted-github',
description='Create github tickets from sentry errors without giving sentry write access to the repo.',
long_description=__doc__,
license='MIT',
package_dir={'': 'src'},
packages=find_packages('src'),
zip_safe=False,
install_requires=install_requires,
# tests_require=tests_require,
# extras_require={'test': tests_require},
test_suite='runtests.runtests',
include_package_data=True,
entry_points={
'sentry.apps': [
'safe_github = sentry_safe_github',
],
'sentry.plugins': [
'safe_github = sentry_safe_github.plugin:SafeGithubPlugin',
],
},
classifiers=[
'Framework :: Django',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Topic :: Software Development'
],
)
| <commit_before>#!/usr/bin/env python
"""
# sentry-restricted-github
A limited alternavite to sentry-github which doesn't require write access to
repos. It allows creating tickets but doesn't link them to the sentry error
group.
"""
from setuptools import setup, find_packages
# tests_require = [
# 'nose',
# ]
install_requires = [
'sentry>=6.0.0',
]
setup(
name='sentry-restricted-github',
version='0.1',
author='Daniel Benamy',
author_email='dbenamy@stripe.com',
url='https://github.com/stripe/sentry-restricted-github',
description='Create github tickets from sentry errors. More secure but less featureful than sentry-github.',
long_description=__doc__,
license='MIT',
package_dir={'': 'src'},
packages=find_packages('src'),
zip_safe=False,
install_requires=install_requires,
# tests_require=tests_require,
# extras_require={'test': tests_require},
test_suite='runtests.runtests',
include_package_data=True,
entry_points={
'sentry.apps': [
'safe_github = sentry_safe_github',
],
'sentry.plugins': [
'safe_github = sentry_safe_github.plugin:SafeGithubPlugin',
],
},
classifiers=[
'Framework :: Django',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Topic :: Software Development'
],
)
<commit_msg>Make short desc less fudful<commit_after> | #!/usr/bin/env python
"""
# sentry-restricted-github
A limited alternavite to sentry-github which doesn't require write access to
repos. It allows creating tickets but doesn't link them to the sentry error
group.
"""
from setuptools import setup, find_packages
# tests_require = [
# 'nose',
# ]
install_requires = [
'sentry>=6.0.0',
]
setup(
name='sentry-restricted-github',
version='0.1',
author='Daniel Benamy',
author_email='dbenamy@stripe.com',
url='https://github.com/stripe/sentry-restricted-github',
description='Create github tickets from sentry errors without giving sentry write access to the repo.',
long_description=__doc__,
license='MIT',
package_dir={'': 'src'},
packages=find_packages('src'),
zip_safe=False,
install_requires=install_requires,
# tests_require=tests_require,
# extras_require={'test': tests_require},
test_suite='runtests.runtests',
include_package_data=True,
entry_points={
'sentry.apps': [
'safe_github = sentry_safe_github',
],
'sentry.plugins': [
'safe_github = sentry_safe_github.plugin:SafeGithubPlugin',
],
},
classifiers=[
'Framework :: Django',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Topic :: Software Development'
],
)
| #!/usr/bin/env python
"""
# sentry-restricted-github
A limited alternavite to sentry-github which doesn't require write access to
repos. It allows creating tickets but doesn't link them to the sentry error
group.
"""
from setuptools import setup, find_packages
# tests_require = [
# 'nose',
# ]
install_requires = [
'sentry>=6.0.0',
]
setup(
name='sentry-restricted-github',
version='0.1',
author='Daniel Benamy',
author_email='dbenamy@stripe.com',
url='https://github.com/stripe/sentry-restricted-github',
description='Create github tickets from sentry errors. More secure but less featureful than sentry-github.',
long_description=__doc__,
license='MIT',
package_dir={'': 'src'},
packages=find_packages('src'),
zip_safe=False,
install_requires=install_requires,
# tests_require=tests_require,
# extras_require={'test': tests_require},
test_suite='runtests.runtests',
include_package_data=True,
entry_points={
'sentry.apps': [
'safe_github = sentry_safe_github',
],
'sentry.plugins': [
'safe_github = sentry_safe_github.plugin:SafeGithubPlugin',
],
},
classifiers=[
'Framework :: Django',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Topic :: Software Development'
],
)
Make short desc less fudful#!/usr/bin/env python
"""
# sentry-restricted-github
A limited alternavite to sentry-github which doesn't require write access to
repos. It allows creating tickets but doesn't link them to the sentry error
group.
"""
from setuptools import setup, find_packages
# tests_require = [
# 'nose',
# ]
install_requires = [
'sentry>=6.0.0',
]
setup(
name='sentry-restricted-github',
version='0.1',
author='Daniel Benamy',
author_email='dbenamy@stripe.com',
url='https://github.com/stripe/sentry-restricted-github',
description='Create github tickets from sentry errors without giving sentry write access to the repo.',
long_description=__doc__,
license='MIT',
package_dir={'': 'src'},
packages=find_packages('src'),
zip_safe=False,
install_requires=install_requires,
# tests_require=tests_require,
# extras_require={'test': tests_require},
test_suite='runtests.runtests',
include_package_data=True,
entry_points={
'sentry.apps': [
'safe_github = sentry_safe_github',
],
'sentry.plugins': [
'safe_github = sentry_safe_github.plugin:SafeGithubPlugin',
],
},
classifiers=[
'Framework :: Django',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Topic :: Software Development'
],
)
| <commit_before>#!/usr/bin/env python
"""
# sentry-restricted-github
A limited alternavite to sentry-github which doesn't require write access to
repos. It allows creating tickets but doesn't link them to the sentry error
group.
"""
from setuptools import setup, find_packages
# tests_require = [
# 'nose',
# ]
install_requires = [
'sentry>=6.0.0',
]
setup(
name='sentry-restricted-github',
version='0.1',
author='Daniel Benamy',
author_email='dbenamy@stripe.com',
url='https://github.com/stripe/sentry-restricted-github',
description='Create github tickets from sentry errors. More secure but less featureful than sentry-github.',
long_description=__doc__,
license='MIT',
package_dir={'': 'src'},
packages=find_packages('src'),
zip_safe=False,
install_requires=install_requires,
# tests_require=tests_require,
# extras_require={'test': tests_require},
test_suite='runtests.runtests',
include_package_data=True,
entry_points={
'sentry.apps': [
'safe_github = sentry_safe_github',
],
'sentry.plugins': [
'safe_github = sentry_safe_github.plugin:SafeGithubPlugin',
],
},
classifiers=[
'Framework :: Django',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Topic :: Software Development'
],
)
<commit_msg>Make short desc less fudful<commit_after>#!/usr/bin/env python
"""
# sentry-restricted-github
A limited alternavite to sentry-github which doesn't require write access to
repos. It allows creating tickets but doesn't link them to the sentry error
group.
"""
from setuptools import setup, find_packages
# tests_require = [
# 'nose',
# ]
install_requires = [
'sentry>=6.0.0',
]
setup(
name='sentry-restricted-github',
version='0.1',
author='Daniel Benamy',
author_email='dbenamy@stripe.com',
url='https://github.com/stripe/sentry-restricted-github',
description='Create github tickets from sentry errors without giving sentry write access to the repo.',
long_description=__doc__,
license='MIT',
package_dir={'': 'src'},
packages=find_packages('src'),
zip_safe=False,
install_requires=install_requires,
# tests_require=tests_require,
# extras_require={'test': tests_require},
test_suite='runtests.runtests',
include_package_data=True,
entry_points={
'sentry.apps': [
'safe_github = sentry_safe_github',
],
'sentry.plugins': [
'safe_github = sentry_safe_github.plugin:SafeGithubPlugin',
],
},
classifiers=[
'Framework :: Django',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Topic :: Software Development'
],
)
|
f9ee920b402356555de1198bceb2b26b321c5cbf | setup.py | setup.py | from __future__ import with_statement
from setuptools import setup, find_packages
def version():
with open('VERSION') as f:
return f.read().strip()
def readme():
with open('README.md') as f:
return f.read().encode('ascii', errors='ignore').decode()
reqs = [line.strip() for line in open('requirements.txt') if not line.startswith('#')]
setup(
name = "pocean-core",
version = version(),
description = "A python framework for working with met-ocean data",
long_description = readme(),
license = 'MIT',
author = "Kyle Wilcox",
author_email = "kyle@axiomdatascience.com",
url = "https://github.com/axiom-data-science/pocean",
packages = find_packages(),
install_requires = reqs,
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
],
include_package_data = True,
)
| from __future__ import with_statement
from setuptools import setup, find_packages
def version():
with open('VERSION') as f:
return f.read().strip()
def readme():
with open('README.md', 'rb') as f:
return f.read().decode('utf-8', errors='ignore')
reqs = [line.strip() for line in open('requirements.txt') if not line.startswith('#')]
setup(
name = "pocean-core",
version = version(),
description = "A python framework for working with met-ocean data",
long_description = readme(),
license = 'MIT',
author = "Kyle Wilcox",
author_email = "kyle@axiomdatascience.com",
url = "https://github.com/axiom-data-science/pocean",
packages = find_packages(),
install_requires = reqs,
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
],
include_package_data = True,
)
| Fix for Windows builds (for real this time) | Fix for Windows builds (for real this time)
| Python | mit | pyoceans/pocean-core,pyoceans/pocean-core | from __future__ import with_statement
from setuptools import setup, find_packages
def version():
with open('VERSION') as f:
return f.read().strip()
def readme():
with open('README.md') as f:
return f.read().encode('ascii', errors='ignore').decode()
reqs = [line.strip() for line in open('requirements.txt') if not line.startswith('#')]
setup(
name = "pocean-core",
version = version(),
description = "A python framework for working with met-ocean data",
long_description = readme(),
license = 'MIT',
author = "Kyle Wilcox",
author_email = "kyle@axiomdatascience.com",
url = "https://github.com/axiom-data-science/pocean",
packages = find_packages(),
install_requires = reqs,
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
],
include_package_data = True,
)
Fix for Windows builds (for real this time) | from __future__ import with_statement
from setuptools import setup, find_packages
def version():
with open('VERSION') as f:
return f.read().strip()
def readme():
with open('README.md', 'rb') as f:
return f.read().decode('utf-8', errors='ignore')
reqs = [line.strip() for line in open('requirements.txt') if not line.startswith('#')]
setup(
name = "pocean-core",
version = version(),
description = "A python framework for working with met-ocean data",
long_description = readme(),
license = 'MIT',
author = "Kyle Wilcox",
author_email = "kyle@axiomdatascience.com",
url = "https://github.com/axiom-data-science/pocean",
packages = find_packages(),
install_requires = reqs,
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
],
include_package_data = True,
)
| <commit_before>from __future__ import with_statement
from setuptools import setup, find_packages
def version():
with open('VERSION') as f:
return f.read().strip()
def readme():
with open('README.md') as f:
return f.read().encode('ascii', errors='ignore').decode()
reqs = [line.strip() for line in open('requirements.txt') if not line.startswith('#')]
setup(
name = "pocean-core",
version = version(),
description = "A python framework for working with met-ocean data",
long_description = readme(),
license = 'MIT',
author = "Kyle Wilcox",
author_email = "kyle@axiomdatascience.com",
url = "https://github.com/axiom-data-science/pocean",
packages = find_packages(),
install_requires = reqs,
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
],
include_package_data = True,
)
<commit_msg>Fix for Windows builds (for real this time)<commit_after> | from __future__ import with_statement
from setuptools import setup, find_packages
def version():
with open('VERSION') as f:
return f.read().strip()
def readme():
with open('README.md', 'rb') as f:
return f.read().decode('utf-8', errors='ignore')
reqs = [line.strip() for line in open('requirements.txt') if not line.startswith('#')]
setup(
name = "pocean-core",
version = version(),
description = "A python framework for working with met-ocean data",
long_description = readme(),
license = 'MIT',
author = "Kyle Wilcox",
author_email = "kyle@axiomdatascience.com",
url = "https://github.com/axiom-data-science/pocean",
packages = find_packages(),
install_requires = reqs,
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
],
include_package_data = True,
)
| from __future__ import with_statement
from setuptools import setup, find_packages
def version():
with open('VERSION') as f:
return f.read().strip()
def readme():
with open('README.md') as f:
return f.read().encode('ascii', errors='ignore').decode()
reqs = [line.strip() for line in open('requirements.txt') if not line.startswith('#')]
setup(
name = "pocean-core",
version = version(),
description = "A python framework for working with met-ocean data",
long_description = readme(),
license = 'MIT',
author = "Kyle Wilcox",
author_email = "kyle@axiomdatascience.com",
url = "https://github.com/axiom-data-science/pocean",
packages = find_packages(),
install_requires = reqs,
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
],
include_package_data = True,
)
Fix for Windows builds (for real this time)from __future__ import with_statement
from setuptools import setup, find_packages
def version():
with open('VERSION') as f:
return f.read().strip()
def readme():
with open('README.md', 'rb') as f:
return f.read().decode('utf-8', errors='ignore')
reqs = [line.strip() for line in open('requirements.txt') if not line.startswith('#')]
setup(
name = "pocean-core",
version = version(),
description = "A python framework for working with met-ocean data",
long_description = readme(),
license = 'MIT',
author = "Kyle Wilcox",
author_email = "kyle@axiomdatascience.com",
url = "https://github.com/axiom-data-science/pocean",
packages = find_packages(),
install_requires = reqs,
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
],
include_package_data = True,
)
| <commit_before>from __future__ import with_statement
from setuptools import setup, find_packages
def version():
with open('VERSION') as f:
return f.read().strip()
def readme():
with open('README.md') as f:
return f.read().encode('ascii', errors='ignore').decode()
reqs = [line.strip() for line in open('requirements.txt') if not line.startswith('#')]
setup(
name = "pocean-core",
version = version(),
description = "A python framework for working with met-ocean data",
long_description = readme(),
license = 'MIT',
author = "Kyle Wilcox",
author_email = "kyle@axiomdatascience.com",
url = "https://github.com/axiom-data-science/pocean",
packages = find_packages(),
install_requires = reqs,
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
],
include_package_data = True,
)
<commit_msg>Fix for Windows builds (for real this time)<commit_after>from __future__ import with_statement
from setuptools import setup, find_packages
def version():
with open('VERSION') as f:
return f.read().strip()
def readme():
with open('README.md', 'rb') as f:
return f.read().decode('utf-8', errors='ignore')
reqs = [line.strip() for line in open('requirements.txt') if not line.startswith('#')]
setup(
name = "pocean-core",
version = version(),
description = "A python framework for working with met-ocean data",
long_description = readme(),
license = 'MIT',
author = "Kyle Wilcox",
author_email = "kyle@axiomdatascience.com",
url = "https://github.com/axiom-data-science/pocean",
packages = find_packages(),
install_requires = reqs,
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
],
include_package_data = True,
)
|
5e92c0ef714dea823e1deeef21b5141d9e0111a0 | setup.py | setup.py | from distutils.core import setup
import sys
import os
import re
PACKAGENAME = 'OpSimSummary'
packageDir = os.path.join(os.path.dirname(os.path.abspath(__file__)),
PACKAGENAME)
versionFile = os.path.join(packageDir, 'version.py')
# Obtain the package version
with open(versionFile, 'r') as f:
s = f.read()
# Look up the string value assigned to __version__ in version.py using regexp
versionRegExp = re.compile("__VERSION__ = \"(.*?)\"")
# Assign to __version__
__version__ = versionRegExp.findall(s)[0]
print(__version__)
setup(# package information
name=PACKAGENAME,
version=__version__,
description='simple repo to study OpSim output summaries',
long_description=''' ''',
# What code to include as packages
packages=[PACKAGENAME],
packagedir={PACKAGENAME: 'opsimsummary'},
# What data to include as packages
include_package_data=True,
package_data={PACKAGENAME:['example_data/*.dat', 'example_data/*.simlib']}
)
| from distutils.core import setup
import sys
import os
import re
PACKAGENAME = 'OpSimSummary'
packageDir = os.path.join(os.path.dirname(os.path.abspath(__file__)),
'opsimsummary')
versionFile = os.path.join(packageDir, 'version.py')
# Obtain the package version
with open(versionFile, 'r') as f:
s = f.read()
# Look up the string value assigned to __version__ in version.py using regexp
versionRegExp = re.compile("__VERSION__ = \"(.*?)\"")
# Assign to __version__
__version__ = versionRegExp.findall(s)[0]
print(__version__)
setup(# package information
name=PACKAGENAME,
version=__version__,
description='simple repo to study OpSim output summaries',
long_description=''' ''',
# What code to include as packages
packages=[PACKAGENAME],
packagedir={PACKAGENAME: 'opsimsummary'},
# What data to include as packages
include_package_data=True,
package_data={PACKAGENAME:['example_data/*.dat', 'example_data/*.simlib']}
)
| Revert "Changed back due to problems, will fix later" | Revert "Changed back due to problems, will fix later"
This reverts commit 613dad26fdb260f586f829b00f6eb25c4b28e448.
modified: setup.py
| Python | mit | rbiswas4/simlib | from distutils.core import setup
import sys
import os
import re
PACKAGENAME = 'OpSimSummary'
packageDir = os.path.join(os.path.dirname(os.path.abspath(__file__)),
PACKAGENAME)
versionFile = os.path.join(packageDir, 'version.py')
# Obtain the package version
with open(versionFile, 'r') as f:
s = f.read()
# Look up the string value assigned to __version__ in version.py using regexp
versionRegExp = re.compile("__VERSION__ = \"(.*?)\"")
# Assign to __version__
__version__ = versionRegExp.findall(s)[0]
print(__version__)
setup(# package information
name=PACKAGENAME,
version=__version__,
description='simple repo to study OpSim output summaries',
long_description=''' ''',
# What code to include as packages
packages=[PACKAGENAME],
packagedir={PACKAGENAME: 'opsimsummary'},
# What data to include as packages
include_package_data=True,
package_data={PACKAGENAME:['example_data/*.dat', 'example_data/*.simlib']}
)
Revert "Changed back due to problems, will fix later"
This reverts commit 613dad26fdb260f586f829b00f6eb25c4b28e448.
modified: setup.py | from distutils.core import setup
import sys
import os
import re
PACKAGENAME = 'OpSimSummary'
packageDir = os.path.join(os.path.dirname(os.path.abspath(__file__)),
'opsimsummary')
versionFile = os.path.join(packageDir, 'version.py')
# Obtain the package version
with open(versionFile, 'r') as f:
s = f.read()
# Look up the string value assigned to __version__ in version.py using regexp
versionRegExp = re.compile("__VERSION__ = \"(.*?)\"")
# Assign to __version__
__version__ = versionRegExp.findall(s)[0]
print(__version__)
setup(# package information
name=PACKAGENAME,
version=__version__,
description='simple repo to study OpSim output summaries',
long_description=''' ''',
# What code to include as packages
packages=[PACKAGENAME],
packagedir={PACKAGENAME: 'opsimsummary'},
# What data to include as packages
include_package_data=True,
package_data={PACKAGENAME:['example_data/*.dat', 'example_data/*.simlib']}
)
| <commit_before>from distutils.core import setup
import sys
import os
import re
PACKAGENAME = 'OpSimSummary'
packageDir = os.path.join(os.path.dirname(os.path.abspath(__file__)),
PACKAGENAME)
versionFile = os.path.join(packageDir, 'version.py')
# Obtain the package version
with open(versionFile, 'r') as f:
s = f.read()
# Look up the string value assigned to __version__ in version.py using regexp
versionRegExp = re.compile("__VERSION__ = \"(.*?)\"")
# Assign to __version__
__version__ = versionRegExp.findall(s)[0]
print(__version__)
setup(# package information
name=PACKAGENAME,
version=__version__,
description='simple repo to study OpSim output summaries',
long_description=''' ''',
# What code to include as packages
packages=[PACKAGENAME],
packagedir={PACKAGENAME: 'opsimsummary'},
# What data to include as packages
include_package_data=True,
package_data={PACKAGENAME:['example_data/*.dat', 'example_data/*.simlib']}
)
<commit_msg>Revert "Changed back due to problems, will fix later"
This reverts commit 613dad26fdb260f586f829b00f6eb25c4b28e448.
modified: setup.py<commit_after> | from distutils.core import setup
import sys
import os
import re
PACKAGENAME = 'OpSimSummary'
packageDir = os.path.join(os.path.dirname(os.path.abspath(__file__)),
'opsimsummary')
versionFile = os.path.join(packageDir, 'version.py')
# Obtain the package version
with open(versionFile, 'r') as f:
s = f.read()
# Look up the string value assigned to __version__ in version.py using regexp
versionRegExp = re.compile("__VERSION__ = \"(.*?)\"")
# Assign to __version__
__version__ = versionRegExp.findall(s)[0]
print(__version__)
setup(# package information
name=PACKAGENAME,
version=__version__,
description='simple repo to study OpSim output summaries',
long_description=''' ''',
# What code to include as packages
packages=[PACKAGENAME],
packagedir={PACKAGENAME: 'opsimsummary'},
# What data to include as packages
include_package_data=True,
package_data={PACKAGENAME:['example_data/*.dat', 'example_data/*.simlib']}
)
| from distutils.core import setup
import sys
import os
import re
PACKAGENAME = 'OpSimSummary'
packageDir = os.path.join(os.path.dirname(os.path.abspath(__file__)),
PACKAGENAME)
versionFile = os.path.join(packageDir, 'version.py')
# Obtain the package version
with open(versionFile, 'r') as f:
s = f.read()
# Look up the string value assigned to __version__ in version.py using regexp
versionRegExp = re.compile("__VERSION__ = \"(.*?)\"")
# Assign to __version__
__version__ = versionRegExp.findall(s)[0]
print(__version__)
setup(# package information
name=PACKAGENAME,
version=__version__,
description='simple repo to study OpSim output summaries',
long_description=''' ''',
# What code to include as packages
packages=[PACKAGENAME],
packagedir={PACKAGENAME: 'opsimsummary'},
# What data to include as packages
include_package_data=True,
package_data={PACKAGENAME:['example_data/*.dat', 'example_data/*.simlib']}
)
Revert "Changed back due to problems, will fix later"
This reverts commit 613dad26fdb260f586f829b00f6eb25c4b28e448.
modified: setup.pyfrom distutils.core import setup
import sys
import os
import re
PACKAGENAME = 'OpSimSummary'
packageDir = os.path.join(os.path.dirname(os.path.abspath(__file__)),
'opsimsummary')
versionFile = os.path.join(packageDir, 'version.py')
# Obtain the package version
with open(versionFile, 'r') as f:
s = f.read()
# Look up the string value assigned to __version__ in version.py using regexp
versionRegExp = re.compile("__VERSION__ = \"(.*?)\"")
# Assign to __version__
__version__ = versionRegExp.findall(s)[0]
print(__version__)
setup(# package information
name=PACKAGENAME,
version=__version__,
description='simple repo to study OpSim output summaries',
long_description=''' ''',
# What code to include as packages
packages=[PACKAGENAME],
packagedir={PACKAGENAME: 'opsimsummary'},
# What data to include as packages
include_package_data=True,
package_data={PACKAGENAME:['example_data/*.dat', 'example_data/*.simlib']}
)
| <commit_before>from distutils.core import setup
import sys
import os
import re
PACKAGENAME = 'OpSimSummary'
packageDir = os.path.join(os.path.dirname(os.path.abspath(__file__)),
PACKAGENAME)
versionFile = os.path.join(packageDir, 'version.py')
# Obtain the package version
with open(versionFile, 'r') as f:
s = f.read()
# Look up the string value assigned to __version__ in version.py using regexp
versionRegExp = re.compile("__VERSION__ = \"(.*?)\"")
# Assign to __version__
__version__ = versionRegExp.findall(s)[0]
print(__version__)
setup(# package information
name=PACKAGENAME,
version=__version__,
description='simple repo to study OpSim output summaries',
long_description=''' ''',
# What code to include as packages
packages=[PACKAGENAME],
packagedir={PACKAGENAME: 'opsimsummary'},
# What data to include as packages
include_package_data=True,
package_data={PACKAGENAME:['example_data/*.dat', 'example_data/*.simlib']}
)
<commit_msg>Revert "Changed back due to problems, will fix later"
This reverts commit 613dad26fdb260f586f829b00f6eb25c4b28e448.
modified: setup.py<commit_after>from distutils.core import setup
import sys
import os
import re
PACKAGENAME = 'OpSimSummary'
packageDir = os.path.join(os.path.dirname(os.path.abspath(__file__)),
'opsimsummary')
versionFile = os.path.join(packageDir, 'version.py')
# Obtain the package version
with open(versionFile, 'r') as f:
s = f.read()
# Look up the string value assigned to __version__ in version.py using regexp
versionRegExp = re.compile("__VERSION__ = \"(.*?)\"")
# Assign to __version__
__version__ = versionRegExp.findall(s)[0]
print(__version__)
setup(# package information
name=PACKAGENAME,
version=__version__,
description='simple repo to study OpSim output summaries',
long_description=''' ''',
# What code to include as packages
packages=[PACKAGENAME],
packagedir={PACKAGENAME: 'opsimsummary'},
# What data to include as packages
include_package_data=True,
package_data={PACKAGENAME:['example_data/*.dat', 'example_data/*.simlib']}
)
|
1525d327adf76a37bdbd6b0b9f63308ad55c5dbc | setup.py | setup.py | from distutils.core import setup
setup(
name='django-databrowse',
version='1.3',
packages=['django_databrowse', 'django_databrowse.plugins'],
package_dir={'django_databrowse': 'django_databrowse'},
package_data={
'django_databrowse': [
'templates/databrowse/*.html',
'templates/databrowse/include/*.html'
]
},
provides=['django_databrowse'],
include_package_data=True,
url='http://pypi.python.org/pypi/django-databrowse',
license=open('LICENSE').read(),
author='Alireza Savand',
author_email='alireza.savand@gmail.com',
description='Databrowse is a Django application that lets you browse your data.',
long_description=open('README.rst').read(),
install_requires=['django', ],
keywords=[
'django',
'web',
'databrowse',
'data'
],
platforms='OS Independent',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python',
'Framework :: Django',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development'
],
)
| from distutils.core import setup
setup(
name='django-databrowse',
version='1.3',
packages=['django_databrowse', 'django_databrowse.plugins'],
package_dir={'django_databrowse': 'django_databrowse'},
package_data={
'django_databrowse': [
'templates/databrowse/*.html',
'templates/databrowse/include/*.html'
]
},
provides=['django_databrowse'],
include_package_data=True,
url='https://github.com/Alir3z4/django-databrowse',
license=open('LICENSE').read(),
author='Alireza Savand',
author_email='alireza.savand@gmail.com',
description='Databrowse is a Django application that lets you browse your data.',
long_description=open('README.rst').read(),
install_requires=['django', ],
keywords=[
'django',
'web',
'databrowse',
'data'
],
platforms='OS Independent',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python',
'Framework :: Django',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development'
],
)
| Change the pkg url to its github repo | Change the pkg url to its github repo
| Python | bsd-3-clause | Alir3z4/django-databrowse,Alir3z4/django-databrowse | from distutils.core import setup
setup(
name='django-databrowse',
version='1.3',
packages=['django_databrowse', 'django_databrowse.plugins'],
package_dir={'django_databrowse': 'django_databrowse'},
package_data={
'django_databrowse': [
'templates/databrowse/*.html',
'templates/databrowse/include/*.html'
]
},
provides=['django_databrowse'],
include_package_data=True,
url='http://pypi.python.org/pypi/django-databrowse',
license=open('LICENSE').read(),
author='Alireza Savand',
author_email='alireza.savand@gmail.com',
description='Databrowse is a Django application that lets you browse your data.',
long_description=open('README.rst').read(),
install_requires=['django', ],
keywords=[
'django',
'web',
'databrowse',
'data'
],
platforms='OS Independent',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python',
'Framework :: Django',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development'
],
)
Change the pkg url to its github repo | from distutils.core import setup
setup(
name='django-databrowse',
version='1.3',
packages=['django_databrowse', 'django_databrowse.plugins'],
package_dir={'django_databrowse': 'django_databrowse'},
package_data={
'django_databrowse': [
'templates/databrowse/*.html',
'templates/databrowse/include/*.html'
]
},
provides=['django_databrowse'],
include_package_data=True,
url='https://github.com/Alir3z4/django-databrowse',
license=open('LICENSE').read(),
author='Alireza Savand',
author_email='alireza.savand@gmail.com',
description='Databrowse is a Django application that lets you browse your data.',
long_description=open('README.rst').read(),
install_requires=['django', ],
keywords=[
'django',
'web',
'databrowse',
'data'
],
platforms='OS Independent',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python',
'Framework :: Django',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development'
],
)
| <commit_before>from distutils.core import setup
setup(
name='django-databrowse',
version='1.3',
packages=['django_databrowse', 'django_databrowse.plugins'],
package_dir={'django_databrowse': 'django_databrowse'},
package_data={
'django_databrowse': [
'templates/databrowse/*.html',
'templates/databrowse/include/*.html'
]
},
provides=['django_databrowse'],
include_package_data=True,
url='http://pypi.python.org/pypi/django-databrowse',
license=open('LICENSE').read(),
author='Alireza Savand',
author_email='alireza.savand@gmail.com',
description='Databrowse is a Django application that lets you browse your data.',
long_description=open('README.rst').read(),
install_requires=['django', ],
keywords=[
'django',
'web',
'databrowse',
'data'
],
platforms='OS Independent',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python',
'Framework :: Django',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development'
],
)
<commit_msg>Change the pkg url to its github repo<commit_after> | from distutils.core import setup
setup(
name='django-databrowse',
version='1.3',
packages=['django_databrowse', 'django_databrowse.plugins'],
package_dir={'django_databrowse': 'django_databrowse'},
package_data={
'django_databrowse': [
'templates/databrowse/*.html',
'templates/databrowse/include/*.html'
]
},
provides=['django_databrowse'],
include_package_data=True,
url='https://github.com/Alir3z4/django-databrowse',
license=open('LICENSE').read(),
author='Alireza Savand',
author_email='alireza.savand@gmail.com',
description='Databrowse is a Django application that lets you browse your data.',
long_description=open('README.rst').read(),
install_requires=['django', ],
keywords=[
'django',
'web',
'databrowse',
'data'
],
platforms='OS Independent',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python',
'Framework :: Django',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development'
],
)
| from distutils.core import setup
setup(
name='django-databrowse',
version='1.3',
packages=['django_databrowse', 'django_databrowse.plugins'],
package_dir={'django_databrowse': 'django_databrowse'},
package_data={
'django_databrowse': [
'templates/databrowse/*.html',
'templates/databrowse/include/*.html'
]
},
provides=['django_databrowse'],
include_package_data=True,
url='http://pypi.python.org/pypi/django-databrowse',
license=open('LICENSE').read(),
author='Alireza Savand',
author_email='alireza.savand@gmail.com',
description='Databrowse is a Django application that lets you browse your data.',
long_description=open('README.rst').read(),
install_requires=['django', ],
keywords=[
'django',
'web',
'databrowse',
'data'
],
platforms='OS Independent',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python',
'Framework :: Django',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development'
],
)
Change the pkg url to its github repofrom distutils.core import setup
setup(
name='django-databrowse',
version='1.3',
packages=['django_databrowse', 'django_databrowse.plugins'],
package_dir={'django_databrowse': 'django_databrowse'},
package_data={
'django_databrowse': [
'templates/databrowse/*.html',
'templates/databrowse/include/*.html'
]
},
provides=['django_databrowse'],
include_package_data=True,
url='https://github.com/Alir3z4/django-databrowse',
license=open('LICENSE').read(),
author='Alireza Savand',
author_email='alireza.savand@gmail.com',
description='Databrowse is a Django application that lets you browse your data.',
long_description=open('README.rst').read(),
install_requires=['django', ],
keywords=[
'django',
'web',
'databrowse',
'data'
],
platforms='OS Independent',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python',
'Framework :: Django',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development'
],
)
| <commit_before>from distutils.core import setup
setup(
name='django-databrowse',
version='1.3',
packages=['django_databrowse', 'django_databrowse.plugins'],
package_dir={'django_databrowse': 'django_databrowse'},
package_data={
'django_databrowse': [
'templates/databrowse/*.html',
'templates/databrowse/include/*.html'
]
},
provides=['django_databrowse'],
include_package_data=True,
url='http://pypi.python.org/pypi/django-databrowse',
license=open('LICENSE').read(),
author='Alireza Savand',
author_email='alireza.savand@gmail.com',
description='Databrowse is a Django application that lets you browse your data.',
long_description=open('README.rst').read(),
install_requires=['django', ],
keywords=[
'django',
'web',
'databrowse',
'data'
],
platforms='OS Independent',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python',
'Framework :: Django',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development'
],
)
<commit_msg>Change the pkg url to its github repo<commit_after>from distutils.core import setup
setup(
name='django-databrowse',
version='1.3',
packages=['django_databrowse', 'django_databrowse.plugins'],
package_dir={'django_databrowse': 'django_databrowse'},
package_data={
'django_databrowse': [
'templates/databrowse/*.html',
'templates/databrowse/include/*.html'
]
},
provides=['django_databrowse'],
include_package_data=True,
url='https://github.com/Alir3z4/django-databrowse',
license=open('LICENSE').read(),
author='Alireza Savand',
author_email='alireza.savand@gmail.com',
description='Databrowse is a Django application that lets you browse your data.',
long_description=open('README.rst').read(),
install_requires=['django', ],
keywords=[
'django',
'web',
'databrowse',
'data'
],
platforms='OS Independent',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python',
'Framework :: Django',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development'
],
)
|
aac588a758f43bf517aba0afbb0455d86035a893 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name="Coinbox-pos",
version="0.2",
packages=find_packages()+['argparse'],
scripts=['coinbox'],
zip_safe=True,
namespace_packages=['cbmod'],
include_package_data=True,
install_requires=[
'sqlalchemy>=0.7, <1.0',
'PyDispatcher>=2.0.3, <3.0',
'ProxyTypes>=0.9, <1.0',
'Babel>=1.3, <2.0'
],
author='Coinbox POS Team',
author_email='coinboxpos@googlegroups.com',
description='Coinbox POS core package',
license='MIT',
url='http://coinboxpos.org/'
)
| from setuptools import setup, find_packages
setup(
name="Coinbox-pos",
version="0.2",
packages=find_packages(),
scripts=['coinbox'],
zip_safe=True,
namespace_packages=['cbmod'],
include_package_data=True,
install_requires=[
'sqlalchemy>=0.7, <1.0',
'PyDispatcher>=2.0.3, <3.0',
'ProxyTypes>=0.9, <1.0',
'Babel>=1.3, <2.0'
],
author='Coinbox POS Team',
author_email='coinboxpos@googlegroups.com',
description='Coinbox POS core package',
license='MIT',
url='http://coinboxpos.org/'
)
| Fix installation error: remove argparse from list of packages | Fix installation error: remove argparse from list of packages
| Python | mit | coinbox/coinbox-core | from setuptools import setup, find_packages
setup(
name="Coinbox-pos",
version="0.2",
packages=find_packages()+['argparse'],
scripts=['coinbox'],
zip_safe=True,
namespace_packages=['cbmod'],
include_package_data=True,
install_requires=[
'sqlalchemy>=0.7, <1.0',
'PyDispatcher>=2.0.3, <3.0',
'ProxyTypes>=0.9, <1.0',
'Babel>=1.3, <2.0'
],
author='Coinbox POS Team',
author_email='coinboxpos@googlegroups.com',
description='Coinbox POS core package',
license='MIT',
url='http://coinboxpos.org/'
)
Fix installation error: remove argparse from list of packages | from setuptools import setup, find_packages
setup(
name="Coinbox-pos",
version="0.2",
packages=find_packages(),
scripts=['coinbox'],
zip_safe=True,
namespace_packages=['cbmod'],
include_package_data=True,
install_requires=[
'sqlalchemy>=0.7, <1.0',
'PyDispatcher>=2.0.3, <3.0',
'ProxyTypes>=0.9, <1.0',
'Babel>=1.3, <2.0'
],
author='Coinbox POS Team',
author_email='coinboxpos@googlegroups.com',
description='Coinbox POS core package',
license='MIT',
url='http://coinboxpos.org/'
)
| <commit_before>from setuptools import setup, find_packages
setup(
name="Coinbox-pos",
version="0.2",
packages=find_packages()+['argparse'],
scripts=['coinbox'],
zip_safe=True,
namespace_packages=['cbmod'],
include_package_data=True,
install_requires=[
'sqlalchemy>=0.7, <1.0',
'PyDispatcher>=2.0.3, <3.0',
'ProxyTypes>=0.9, <1.0',
'Babel>=1.3, <2.0'
],
author='Coinbox POS Team',
author_email='coinboxpos@googlegroups.com',
description='Coinbox POS core package',
license='MIT',
url='http://coinboxpos.org/'
)
<commit_msg>Fix installation error: remove argparse from list of packages<commit_after> | from setuptools import setup, find_packages
setup(
name="Coinbox-pos",
version="0.2",
packages=find_packages(),
scripts=['coinbox'],
zip_safe=True,
namespace_packages=['cbmod'],
include_package_data=True,
install_requires=[
'sqlalchemy>=0.7, <1.0',
'PyDispatcher>=2.0.3, <3.0',
'ProxyTypes>=0.9, <1.0',
'Babel>=1.3, <2.0'
],
author='Coinbox POS Team',
author_email='coinboxpos@googlegroups.com',
description='Coinbox POS core package',
license='MIT',
url='http://coinboxpos.org/'
)
| from setuptools import setup, find_packages
setup(
name="Coinbox-pos",
version="0.2",
packages=find_packages()+['argparse'],
scripts=['coinbox'],
zip_safe=True,
namespace_packages=['cbmod'],
include_package_data=True,
install_requires=[
'sqlalchemy>=0.7, <1.0',
'PyDispatcher>=2.0.3, <3.0',
'ProxyTypes>=0.9, <1.0',
'Babel>=1.3, <2.0'
],
author='Coinbox POS Team',
author_email='coinboxpos@googlegroups.com',
description='Coinbox POS core package',
license='MIT',
url='http://coinboxpos.org/'
)
Fix installation error: remove argparse from list of packagesfrom setuptools import setup, find_packages
setup(
name="Coinbox-pos",
version="0.2",
packages=find_packages(),
scripts=['coinbox'],
zip_safe=True,
namespace_packages=['cbmod'],
include_package_data=True,
install_requires=[
'sqlalchemy>=0.7, <1.0',
'PyDispatcher>=2.0.3, <3.0',
'ProxyTypes>=0.9, <1.0',
'Babel>=1.3, <2.0'
],
author='Coinbox POS Team',
author_email='coinboxpos@googlegroups.com',
description='Coinbox POS core package',
license='MIT',
url='http://coinboxpos.org/'
)
| <commit_before>from setuptools import setup, find_packages
setup(
name="Coinbox-pos",
version="0.2",
packages=find_packages()+['argparse'],
scripts=['coinbox'],
zip_safe=True,
namespace_packages=['cbmod'],
include_package_data=True,
install_requires=[
'sqlalchemy>=0.7, <1.0',
'PyDispatcher>=2.0.3, <3.0',
'ProxyTypes>=0.9, <1.0',
'Babel>=1.3, <2.0'
],
author='Coinbox POS Team',
author_email='coinboxpos@googlegroups.com',
description='Coinbox POS core package',
license='MIT',
url='http://coinboxpos.org/'
)
<commit_msg>Fix installation error: remove argparse from list of packages<commit_after>from setuptools import setup, find_packages
setup(
name="Coinbox-pos",
version="0.2",
packages=find_packages(),
scripts=['coinbox'],
zip_safe=True,
namespace_packages=['cbmod'],
include_package_data=True,
install_requires=[
'sqlalchemy>=0.7, <1.0',
'PyDispatcher>=2.0.3, <3.0',
'ProxyTypes>=0.9, <1.0',
'Babel>=1.3, <2.0'
],
author='Coinbox POS Team',
author_email='coinboxpos@googlegroups.com',
description='Coinbox POS core package',
license='MIT',
url='http://coinboxpos.org/'
)
|
eeeab2aae49dadff6e51ae8819d0dfe811ab107d | setup.py | setup.py |
from setuptools import setup
from setuptools import find_packages
install_requires = [
'zeep>=1.6',
]
tests_require = [
'pytest>3',
'mock',
]
setup(
name='pyAEATsii',
version='0.2.1',
description='A python wrapper for the AEAT SII webservices',
author="Calidae S.L.",
author_email="dev@calidae.com",
url='http://www.calidae.com/',
download_url='https://github.com/calidae/python-aeat_sii',
install_requires=install_requires,
setup_requires=['pytest-runner'],
tests_require=tests_require,
extras_require={
'test': tests_require,
},
entry_points={},
package_dir={'': 'src'},
packages=find_packages('src'),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
)
|
from setuptools import setup
from setuptools import find_packages
install_requires = [
'zeep>=1.6',
]
tests_require = [
'pytest>3',
'mock',
]
setup(
name='pyAEATsii',
version='0.2.2',
description='A python wrapper for the AEAT SII webservices',
author="Calidae S.L.",
author_email="dev@calidae.com",
url='http://www.calidae.com/',
download_url='https://github.com/calidae/python-aeat_sii',
install_requires=install_requires,
setup_requires=['pytest-runner'],
tests_require=tests_require,
extras_require={
'test': tests_require,
},
entry_points={},
package_dir={'': 'src'},
packages=find_packages('src'),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
)
| Bump version 0.2.1 -> 0.2.2 | Bump version 0.2.1 -> 0.2.2
| Python | apache-2.0 | calidae/python-aeat_sii |
from setuptools import setup
from setuptools import find_packages
install_requires = [
'zeep>=1.6',
]
tests_require = [
'pytest>3',
'mock',
]
setup(
name='pyAEATsii',
version='0.2.1',
description='A python wrapper for the AEAT SII webservices',
author="Calidae S.L.",
author_email="dev@calidae.com",
url='http://www.calidae.com/',
download_url='https://github.com/calidae/python-aeat_sii',
install_requires=install_requires,
setup_requires=['pytest-runner'],
tests_require=tests_require,
extras_require={
'test': tests_require,
},
entry_points={},
package_dir={'': 'src'},
packages=find_packages('src'),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
)
Bump version 0.2.1 -> 0.2.2 |
from setuptools import setup
from setuptools import find_packages
install_requires = [
'zeep>=1.6',
]
tests_require = [
'pytest>3',
'mock',
]
setup(
name='pyAEATsii',
version='0.2.2',
description='A python wrapper for the AEAT SII webservices',
author="Calidae S.L.",
author_email="dev@calidae.com",
url='http://www.calidae.com/',
download_url='https://github.com/calidae/python-aeat_sii',
install_requires=install_requires,
setup_requires=['pytest-runner'],
tests_require=tests_require,
extras_require={
'test': tests_require,
},
entry_points={},
package_dir={'': 'src'},
packages=find_packages('src'),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
)
| <commit_before>
from setuptools import setup
from setuptools import find_packages
install_requires = [
'zeep>=1.6',
]
tests_require = [
'pytest>3',
'mock',
]
setup(
name='pyAEATsii',
version='0.2.1',
description='A python wrapper for the AEAT SII webservices',
author="Calidae S.L.",
author_email="dev@calidae.com",
url='http://www.calidae.com/',
download_url='https://github.com/calidae/python-aeat_sii',
install_requires=install_requires,
setup_requires=['pytest-runner'],
tests_require=tests_require,
extras_require={
'test': tests_require,
},
entry_points={},
package_dir={'': 'src'},
packages=find_packages('src'),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
)
<commit_msg>Bump version 0.2.1 -> 0.2.2<commit_after> |
from setuptools import setup
from setuptools import find_packages
install_requires = [
'zeep>=1.6',
]
tests_require = [
'pytest>3',
'mock',
]
setup(
name='pyAEATsii',
version='0.2.2',
description='A python wrapper for the AEAT SII webservices',
author="Calidae S.L.",
author_email="dev@calidae.com",
url='http://www.calidae.com/',
download_url='https://github.com/calidae/python-aeat_sii',
install_requires=install_requires,
setup_requires=['pytest-runner'],
tests_require=tests_require,
extras_require={
'test': tests_require,
},
entry_points={},
package_dir={'': 'src'},
packages=find_packages('src'),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
)
|
from setuptools import setup
from setuptools import find_packages
install_requires = [
'zeep>=1.6',
]
tests_require = [
'pytest>3',
'mock',
]
setup(
name='pyAEATsii',
version='0.2.1',
description='A python wrapper for the AEAT SII webservices',
author="Calidae S.L.",
author_email="dev@calidae.com",
url='http://www.calidae.com/',
download_url='https://github.com/calidae/python-aeat_sii',
install_requires=install_requires,
setup_requires=['pytest-runner'],
tests_require=tests_require,
extras_require={
'test': tests_require,
},
entry_points={},
package_dir={'': 'src'},
packages=find_packages('src'),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
)
Bump version 0.2.1 -> 0.2.2
from setuptools import setup
from setuptools import find_packages
install_requires = [
'zeep>=1.6',
]
tests_require = [
'pytest>3',
'mock',
]
setup(
name='pyAEATsii',
version='0.2.2',
description='A python wrapper for the AEAT SII webservices',
author="Calidae S.L.",
author_email="dev@calidae.com",
url='http://www.calidae.com/',
download_url='https://github.com/calidae/python-aeat_sii',
install_requires=install_requires,
setup_requires=['pytest-runner'],
tests_require=tests_require,
extras_require={
'test': tests_require,
},
entry_points={},
package_dir={'': 'src'},
packages=find_packages('src'),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
)
| <commit_before>
from setuptools import setup
from setuptools import find_packages
install_requires = [
'zeep>=1.6',
]
tests_require = [
'pytest>3',
'mock',
]
setup(
name='pyAEATsii',
version='0.2.1',
description='A python wrapper for the AEAT SII webservices',
author="Calidae S.L.",
author_email="dev@calidae.com",
url='http://www.calidae.com/',
download_url='https://github.com/calidae/python-aeat_sii',
install_requires=install_requires,
setup_requires=['pytest-runner'],
tests_require=tests_require,
extras_require={
'test': tests_require,
},
entry_points={},
package_dir={'': 'src'},
packages=find_packages('src'),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
)
<commit_msg>Bump version 0.2.1 -> 0.2.2<commit_after>
from setuptools import setup
from setuptools import find_packages
install_requires = [
'zeep>=1.6',
]
tests_require = [
'pytest>3',
'mock',
]
setup(
name='pyAEATsii',
version='0.2.2',
description='A python wrapper for the AEAT SII webservices',
author="Calidae S.L.",
author_email="dev@calidae.com",
url='http://www.calidae.com/',
download_url='https://github.com/calidae/python-aeat_sii',
install_requires=install_requires,
setup_requires=['pytest-runner'],
tests_require=tests_require,
extras_require={
'test': tests_require,
},
entry_points={},
package_dir={'': 'src'},
packages=find_packages('src'),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
)
|
8b9d789ccc5ed1840e8a7173c304c86f954a5447 | setup.py | setup.py | import setuptools
setuptools.setup(
name='warlock',
version='0.1',
description='',
author='Brian Waldon',
author_email='bcwaldon@gmail.com',
url='http://github.com/bcwaldon/warlock',
packages=['warlock'],
install_requires=['jsonschema'],
)
| import setuptools
setuptools.setup(
name='warlock',
version='0.0.1',
description='Python object model built on top of JSON schema',
author='Brian Waldon',
author_email='bcwaldon@gmail.com',
url='http://github.com/bcwaldon/warlock',
packages=['warlock'],
install_requires=['jsonschema'],
)
| Set reasonable version and add description | Set reasonable version and add description
| Python | apache-2.0 | bcwaldon/warlock | import setuptools
setuptools.setup(
name='warlock',
version='0.1',
description='',
author='Brian Waldon',
author_email='bcwaldon@gmail.com',
url='http://github.com/bcwaldon/warlock',
packages=['warlock'],
install_requires=['jsonschema'],
)
Set reasonable version and add description | import setuptools
setuptools.setup(
name='warlock',
version='0.0.1',
description='Python object model built on top of JSON schema',
author='Brian Waldon',
author_email='bcwaldon@gmail.com',
url='http://github.com/bcwaldon/warlock',
packages=['warlock'],
install_requires=['jsonschema'],
)
| <commit_before>import setuptools
setuptools.setup(
name='warlock',
version='0.1',
description='',
author='Brian Waldon',
author_email='bcwaldon@gmail.com',
url='http://github.com/bcwaldon/warlock',
packages=['warlock'],
install_requires=['jsonschema'],
)
<commit_msg>Set reasonable version and add description<commit_after> | import setuptools
setuptools.setup(
name='warlock',
version='0.0.1',
description='Python object model built on top of JSON schema',
author='Brian Waldon',
author_email='bcwaldon@gmail.com',
url='http://github.com/bcwaldon/warlock',
packages=['warlock'],
install_requires=['jsonschema'],
)
| import setuptools
setuptools.setup(
name='warlock',
version='0.1',
description='',
author='Brian Waldon',
author_email='bcwaldon@gmail.com',
url='http://github.com/bcwaldon/warlock',
packages=['warlock'],
install_requires=['jsonschema'],
)
Set reasonable version and add descriptionimport setuptools
setuptools.setup(
name='warlock',
version='0.0.1',
description='Python object model built on top of JSON schema',
author='Brian Waldon',
author_email='bcwaldon@gmail.com',
url='http://github.com/bcwaldon/warlock',
packages=['warlock'],
install_requires=['jsonschema'],
)
| <commit_before>import setuptools
setuptools.setup(
name='warlock',
version='0.1',
description='',
author='Brian Waldon',
author_email='bcwaldon@gmail.com',
url='http://github.com/bcwaldon/warlock',
packages=['warlock'],
install_requires=['jsonschema'],
)
<commit_msg>Set reasonable version and add description<commit_after>import setuptools
setuptools.setup(
name='warlock',
version='0.0.1',
description='Python object model built on top of JSON schema',
author='Brian Waldon',
author_email='bcwaldon@gmail.com',
url='http://github.com/bcwaldon/warlock',
packages=['warlock'],
install_requires=['jsonschema'],
)
|
47038d4ababa7054a35a1471aec34ca7b8a686d4 | setup.py | setup.py | # coding=utf-8
"""Install config."""
from setuptools import setup
setup(
name='pysndfx',
version='0.3.2',
description='Apply audio effects such as reverb and EQ directly to audio files or NumPy ndarrays.',
url='https://github.com/carlthome/python-audio-effects',
author='Carl Thomé',
author_email='carlthome@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Multimedia :: Sound/Audio',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
],
keywords='audio music sound',
packages=['pysndfx'],
install_requires=['numpy'])
| # coding=utf-8
"""Install config."""
from setuptools import setup
with open('README.md') as f:
long_description = f.read()
setup(
name='pysndfx',
version='0.3.2',
description='Apply audio effects such as reverb and EQ directly to audio files or NumPy ndarrays.',
url='https://github.com/carlthome/python-audio-effects',
author='Carl Thomé',
author_email='carlthome@gmail.com',
license='MIT',
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Multimedia :: Sound/Audio',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
],
keywords='audio music sound',
packages=['pysndfx'],
install_requires=['numpy'])
| Use README.md as package description | Use README.md as package description | Python | mit | carlthome/python-audio-effects | # coding=utf-8
"""Install config."""
from setuptools import setup
setup(
name='pysndfx',
version='0.3.2',
description='Apply audio effects such as reverb and EQ directly to audio files or NumPy ndarrays.',
url='https://github.com/carlthome/python-audio-effects',
author='Carl Thomé',
author_email='carlthome@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Multimedia :: Sound/Audio',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
],
keywords='audio music sound',
packages=['pysndfx'],
install_requires=['numpy'])
Use README.md as package description | # coding=utf-8
"""Install config."""
from setuptools import setup
with open('README.md') as f:
long_description = f.read()
setup(
name='pysndfx',
version='0.3.2',
description='Apply audio effects such as reverb and EQ directly to audio files or NumPy ndarrays.',
url='https://github.com/carlthome/python-audio-effects',
author='Carl Thomé',
author_email='carlthome@gmail.com',
license='MIT',
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Multimedia :: Sound/Audio',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
],
keywords='audio music sound',
packages=['pysndfx'],
install_requires=['numpy'])
| <commit_before># coding=utf-8
"""Install config."""
from setuptools import setup
setup(
name='pysndfx',
version='0.3.2',
description='Apply audio effects such as reverb and EQ directly to audio files or NumPy ndarrays.',
url='https://github.com/carlthome/python-audio-effects',
author='Carl Thomé',
author_email='carlthome@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Multimedia :: Sound/Audio',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
],
keywords='audio music sound',
packages=['pysndfx'],
install_requires=['numpy'])
<commit_msg>Use README.md as package description<commit_after> | # coding=utf-8
"""Install config."""
from setuptools import setup
with open('README.md') as f:
long_description = f.read()
setup(
name='pysndfx',
version='0.3.2',
description='Apply audio effects such as reverb and EQ directly to audio files or NumPy ndarrays.',
url='https://github.com/carlthome/python-audio-effects',
author='Carl Thomé',
author_email='carlthome@gmail.com',
license='MIT',
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Multimedia :: Sound/Audio',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
],
keywords='audio music sound',
packages=['pysndfx'],
install_requires=['numpy'])
| # coding=utf-8
"""Install config."""
from setuptools import setup
setup(
name='pysndfx',
version='0.3.2',
description='Apply audio effects such as reverb and EQ directly to audio files or NumPy ndarrays.',
url='https://github.com/carlthome/python-audio-effects',
author='Carl Thomé',
author_email='carlthome@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Multimedia :: Sound/Audio',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
],
keywords='audio music sound',
packages=['pysndfx'],
install_requires=['numpy'])
Use README.md as package description# coding=utf-8
"""Install config."""
from setuptools import setup
with open('README.md') as f:
long_description = f.read()
setup(
name='pysndfx',
version='0.3.2',
description='Apply audio effects such as reverb and EQ directly to audio files or NumPy ndarrays.',
url='https://github.com/carlthome/python-audio-effects',
author='Carl Thomé',
author_email='carlthome@gmail.com',
license='MIT',
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Multimedia :: Sound/Audio',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
],
keywords='audio music sound',
packages=['pysndfx'],
install_requires=['numpy'])
| <commit_before># coding=utf-8
"""Install config."""
from setuptools import setup
setup(
name='pysndfx',
version='0.3.2',
description='Apply audio effects such as reverb and EQ directly to audio files or NumPy ndarrays.',
url='https://github.com/carlthome/python-audio-effects',
author='Carl Thomé',
author_email='carlthome@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Multimedia :: Sound/Audio',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
],
keywords='audio music sound',
packages=['pysndfx'],
install_requires=['numpy'])
<commit_msg>Use README.md as package description<commit_after># coding=utf-8
"""Install config."""
from setuptools import setup
with open('README.md') as f:
long_description = f.read()
setup(
name='pysndfx',
version='0.3.2',
description='Apply audio effects such as reverb and EQ directly to audio files or NumPy ndarrays.',
url='https://github.com/carlthome/python-audio-effects',
author='Carl Thomé',
author_email='carlthome@gmail.com',
license='MIT',
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Multimedia :: Sound/Audio',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
],
keywords='audio music sound',
packages=['pysndfx'],
install_requires=['numpy'])
|
aba21ccde199e49c693d05bd16e9b243c9ef4172 | setup.py | setup.py | from setuptools import setup
import marquise.marquise
extension = marquise.marquise.FFI.verifier.get_extension()
with open('VERSION', 'r') as f:
VERSION = f.readline().strip()
# These notes suggest that there's not yet any "correct" way to do packageable
# CFFI interfaces. For now I'm splitting the CFFI stuff from the python
# interface stuff, and it seems to do the job okay, though dealing with
# packages and modules is a flailfest at best for me.
# https://bitbucket.org/cffi/cffi/issue/109/enable-sane-packaging-for-cffi
setup(
name="marquise",
version=VERSION,
description="Python bindings for libmarquise",
author="Barney Desmond",
author_email="engineering@anchor.net.au",
url="https://github.com/anchor/pymarquise",
zip_safe=False,
packages=[
"marquise",
],
package_data={"marquise" : ["marquise.h"]},
ext_modules = [extension],
)
| from setuptools import setup
import marquise.marquise
extension = marquise.marquise.FFI.verifier.get_extension()
with open('VERSION', 'r') as f:
VERSION = f.readline().strip()
# These notes suggest that there's not yet any "correct" way to do packageable
# CFFI interfaces. For now I'm splitting the CFFI stuff from the python
# interface stuff, and it seems to do the job okay, though dealing with
# packages and modules is a flailfest at best for me.
# https://bitbucket.org/cffi/cffi/issue/109/enable-sane-packaging-for-cffi
setup(
name="marquise",
version=VERSION,
description="Python bindings for libmarquise",
author="Barney Desmond",
author_email="engineering@anchor.net.au",
maintainer="Anchor Engineering",
maintainer_email="engineering@anchor.net.au",
url="https://github.com/anchor/pymarquise",
zip_safe=False,
packages=[
"marquise",
],
package_data={"marquise" : ["marquise.h"]},
ext_modules = [extension],
include_package_data=True
)
| Add more metadata for pypi | Add more metadata for pypi
| Python | mit | anchor/pymarquise,anchor/pymarquise | from setuptools import setup
import marquise.marquise
extension = marquise.marquise.FFI.verifier.get_extension()
with open('VERSION', 'r') as f:
VERSION = f.readline().strip()
# These notes suggest that there's not yet any "correct" way to do packageable
# CFFI interfaces. For now I'm splitting the CFFI stuff from the python
# interface stuff, and it seems to do the job okay, though dealing with
# packages and modules is a flailfest at best for me.
# https://bitbucket.org/cffi/cffi/issue/109/enable-sane-packaging-for-cffi
setup(
name="marquise",
version=VERSION,
description="Python bindings for libmarquise",
author="Barney Desmond",
author_email="engineering@anchor.net.au",
url="https://github.com/anchor/pymarquise",
zip_safe=False,
packages=[
"marquise",
],
package_data={"marquise" : ["marquise.h"]},
ext_modules = [extension],
)
Add more metadata for pypi | from setuptools import setup
import marquise.marquise
extension = marquise.marquise.FFI.verifier.get_extension()
with open('VERSION', 'r') as f:
VERSION = f.readline().strip()
# These notes suggest that there's not yet any "correct" way to do packageable
# CFFI interfaces. For now I'm splitting the CFFI stuff from the python
# interface stuff, and it seems to do the job okay, though dealing with
# packages and modules is a flailfest at best for me.
# https://bitbucket.org/cffi/cffi/issue/109/enable-sane-packaging-for-cffi
setup(
name="marquise",
version=VERSION,
description="Python bindings for libmarquise",
author="Barney Desmond",
author_email="engineering@anchor.net.au",
maintainer="Anchor Engineering",
maintainer_email="engineering@anchor.net.au",
url="https://github.com/anchor/pymarquise",
zip_safe=False,
packages=[
"marquise",
],
package_data={"marquise" : ["marquise.h"]},
ext_modules = [extension],
include_package_data=True
)
| <commit_before>from setuptools import setup
import marquise.marquise
extension = marquise.marquise.FFI.verifier.get_extension()
with open('VERSION', 'r') as f:
VERSION = f.readline().strip()
# These notes suggest that there's not yet any "correct" way to do packageable
# CFFI interfaces. For now I'm splitting the CFFI stuff from the python
# interface stuff, and it seems to do the job okay, though dealing with
# packages and modules is a flailfest at best for me.
# https://bitbucket.org/cffi/cffi/issue/109/enable-sane-packaging-for-cffi
setup(
name="marquise",
version=VERSION,
description="Python bindings for libmarquise",
author="Barney Desmond",
author_email="engineering@anchor.net.au",
url="https://github.com/anchor/pymarquise",
zip_safe=False,
packages=[
"marquise",
],
package_data={"marquise" : ["marquise.h"]},
ext_modules = [extension],
)
<commit_msg>Add more metadata for pypi<commit_after> | from setuptools import setup
import marquise.marquise
extension = marquise.marquise.FFI.verifier.get_extension()
with open('VERSION', 'r') as f:
VERSION = f.readline().strip()
# These notes suggest that there's not yet any "correct" way to do packageable
# CFFI interfaces. For now I'm splitting the CFFI stuff from the python
# interface stuff, and it seems to do the job okay, though dealing with
# packages and modules is a flailfest at best for me.
# https://bitbucket.org/cffi/cffi/issue/109/enable-sane-packaging-for-cffi
setup(
name="marquise",
version=VERSION,
description="Python bindings for libmarquise",
author="Barney Desmond",
author_email="engineering@anchor.net.au",
maintainer="Anchor Engineering",
maintainer_email="engineering@anchor.net.au",
url="https://github.com/anchor/pymarquise",
zip_safe=False,
packages=[
"marquise",
],
package_data={"marquise" : ["marquise.h"]},
ext_modules = [extension],
include_package_data=True
)
| from setuptools import setup
import marquise.marquise
extension = marquise.marquise.FFI.verifier.get_extension()
with open('VERSION', 'r') as f:
VERSION = f.readline().strip()
# These notes suggest that there's not yet any "correct" way to do packageable
# CFFI interfaces. For now I'm splitting the CFFI stuff from the python
# interface stuff, and it seems to do the job okay, though dealing with
# packages and modules is a flailfest at best for me.
# https://bitbucket.org/cffi/cffi/issue/109/enable-sane-packaging-for-cffi
setup(
name="marquise",
version=VERSION,
description="Python bindings for libmarquise",
author="Barney Desmond",
author_email="engineering@anchor.net.au",
url="https://github.com/anchor/pymarquise",
zip_safe=False,
packages=[
"marquise",
],
package_data={"marquise" : ["marquise.h"]},
ext_modules = [extension],
)
Add more metadata for pypifrom setuptools import setup
import marquise.marquise
extension = marquise.marquise.FFI.verifier.get_extension()
with open('VERSION', 'r') as f:
VERSION = f.readline().strip()
# These notes suggest that there's not yet any "correct" way to do packageable
# CFFI interfaces. For now I'm splitting the CFFI stuff from the python
# interface stuff, and it seems to do the job okay, though dealing with
# packages and modules is a flailfest at best for me.
# https://bitbucket.org/cffi/cffi/issue/109/enable-sane-packaging-for-cffi
setup(
name="marquise",
version=VERSION,
description="Python bindings for libmarquise",
author="Barney Desmond",
author_email="engineering@anchor.net.au",
maintainer="Anchor Engineering",
maintainer_email="engineering@anchor.net.au",
url="https://github.com/anchor/pymarquise",
zip_safe=False,
packages=[
"marquise",
],
package_data={"marquise" : ["marquise.h"]},
ext_modules = [extension],
include_package_data=True
)
| <commit_before>from setuptools import setup
import marquise.marquise
extension = marquise.marquise.FFI.verifier.get_extension()
with open('VERSION', 'r') as f:
VERSION = f.readline().strip()
# These notes suggest that there's not yet any "correct" way to do packageable
# CFFI interfaces. For now I'm splitting the CFFI stuff from the python
# interface stuff, and it seems to do the job okay, though dealing with
# packages and modules is a flailfest at best for me.
# https://bitbucket.org/cffi/cffi/issue/109/enable-sane-packaging-for-cffi
setup(
name="marquise",
version=VERSION,
description="Python bindings for libmarquise",
author="Barney Desmond",
author_email="engineering@anchor.net.au",
url="https://github.com/anchor/pymarquise",
zip_safe=False,
packages=[
"marquise",
],
package_data={"marquise" : ["marquise.h"]},
ext_modules = [extension],
)
<commit_msg>Add more metadata for pypi<commit_after>from setuptools import setup
import marquise.marquise
extension = marquise.marquise.FFI.verifier.get_extension()
with open('VERSION', 'r') as f:
VERSION = f.readline().strip()
# These notes suggest that there's not yet any "correct" way to do packageable
# CFFI interfaces. For now I'm splitting the CFFI stuff from the python
# interface stuff, and it seems to do the job okay, though dealing with
# packages and modules is a flailfest at best for me.
# https://bitbucket.org/cffi/cffi/issue/109/enable-sane-packaging-for-cffi
setup(
name="marquise",
version=VERSION,
description="Python bindings for libmarquise",
author="Barney Desmond",
author_email="engineering@anchor.net.au",
maintainer="Anchor Engineering",
maintainer_email="engineering@anchor.net.au",
url="https://github.com/anchor/pymarquise",
zip_safe=False,
packages=[
"marquise",
],
package_data={"marquise" : ["marquise.h"]},
ext_modules = [extension],
include_package_data=True
)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.