commit stringlengths 40 40 | old_file stringlengths 4 150 | new_file stringlengths 4 150 | old_contents stringlengths 0 3.26k | new_contents stringlengths 1 4.43k | subject stringlengths 15 501 | message stringlengths 15 4.06k | lang stringclasses 4
values | license stringclasses 13
values | repos stringlengths 5 91.5k | diff stringlengths 0 4.35k |
|---|---|---|---|---|---|---|---|---|---|---|
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,
tha... | # 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,
tha... | 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 | ---
+++
@@ -30,7 +30,7 @@
# 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])
+ api = endpoints.api_server([handlers_endpoints.IsolateService])
return fronte... |
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 urlp... | 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 urlpars... | 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 | ---
+++
@@ -7,7 +7,7 @@
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']
+ return "fb://page/%s" % graph.get_object(name)['id']
def parse_tw_url(url):
re... |
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 =... | 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 =... | Add target_data from ExecutionEngine to FunctionPassManager | Add target_data from ExecutionEngine to FunctionPassManager
| Python | mit | guilload/kaleidoscope | ---
+++
@@ -25,6 +25,9 @@
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)
|
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 | ---
+++
@@ -1,4 +1,4 @@
-import grouprise.features
+import grouprise.features.content.views
from . import forms
|
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
},
'gridLineColo... | boilerplate = {
'chart': {
'renderTo': 'container',
'plotBackgroundColor': 'none',
'backgroundColor': 'none',
'spacingTop': 5
},
'title': {'text': None},
'subtitle': {'text': None},
'yAxis': {
'min': 0,
'title':{
'text': None
},
... | 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 | ---
+++
@@ -8,6 +8,7 @@
'title': {'text': None},
'subtitle': {'text': None},
'yAxis': {
+ 'min': 0,
'title':{
'text': None
}, |
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__ ... | # -*- 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 | ---
+++
@@ -1,18 +1,6 @@
# -*- coding: utf-8 -*-
-"""This submodule contains functions for applying algorithms to BEL graphs"""
+"""This submodule contains functions for applying algorithms to BEL graphs.
-from . import concordance, mechanisms, rcr, stability, ucmpa
-from .concordance import *
-from .mechanisms ... |
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 | ---
+++
@@ -1,10 +1,7 @@
-import os, multiprocessing
+import multiprocessing
+import os
-bind = "0.0.0.0:{}".format(os.environ["PORT"])
+
+bind = '0.0.0.0:{}'.format(os.environ['PORT'])
+preload = True
workers = multiprocessing.cpu_count() * 2 + 1
-worker_class = "gevent"
-
-def post_fork(server, worker):
- fro... |
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 fo... | 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 = 'apn... | 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 | ---
+++
@@ -1,12 +1,13 @@
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',
- ... |
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 ... | 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 ... | 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 | ---
+++
@@ -12,11 +12,13 @@
@root_route.route("/pysyft", methods=["POST"])
def root_route():
- json_msg = request.get_json()
- obj_msg = _deserialize(blob=json_msg, from_json=True)
+ data = request.get_data()
+ obj_msg = _deserialize(blob=data, from_bytes=True)
if isinstance(obj_msg, SignedImmedi... |
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)).re... | 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)).re... | Add 'cssmin' as a dependency | Add 'cssmin' as a dependency
| Python | mit | rspivak/crammit,rspivak/crammit | ---
+++
@@ -25,7 +25,7 @@
author_email='ruslan.spivak@gmail.com',
packages=find_packages('src'),
package_dir={'': 'src'},
- install_requires=['slimit'],
+ install_requires=['slimit', 'cssmin'],
zip_safe=False,
entry_points="""\
[console_scripts] |
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 da... | 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="B... | Change url to github and remove email address | Change url to github and remove email address
| Python | bsd-3-clause | stcorp/legato | ---
+++
@@ -8,8 +8,7 @@
name="legato",
version="1.1",
author="S[&]T",
- author_email="info@stcorp.nl",
- url="https://stcorp.nl/",
+ url="https://github.com/stcorp/legato",
description="Task trigger daemon",
license="BSD",
packages=find_packages(), |
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=[
... | 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=[
... | 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... | Python | apache-2.0 | zooniverse/panoptes-python-client | ---
+++
@@ -9,7 +9,7 @@
packages=find_packages(),
include_package_data=True,
install_requires=[
- 'requests>=2.4.2,<2.19',
+ 'requests>=2.4.2,<2.20',
'future>=0.16,<0.17',
'python-magic>=0.4,<0.5',
], |
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.startswit... | 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.startswit... | Remove hard dependency on typeguard | Remove hard dependency on typeguard
| Python | mit | SunDwarf/Kyoukai | ---
+++
@@ -38,10 +38,9 @@
],
install_requires=[
"http-parser>=0.8.3",
- "uvloop>=0.4.15",
"PyYAML>=3.11",
"python-magic",
- 'typeguard',
+ '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',
... | 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://gith... | Add some classifiers, call it 0.1. | Add some classifiers, call it 0.1.
| Python | mit | eevee/flax | ---
+++
@@ -10,14 +10,23 @@
setup(
name='flax',
- version='0.0',
- description='A roguelike.',
- #long_description=...
+ version='0.1',
+ description='A roguelike',
+ # long_description=...
author='Eevee',
author_email='eevee.flax@veekun.com',
+ url='https://github.com/eevee/fla... |
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',
... | #!/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',
... | 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 | ---
+++
@@ -16,10 +16,9 @@
],
packages=['metric_learn'],
install_requires=[
- 'numpy >= 1.5.1',
- 'scipy >= 0.8',
+ '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 | ---
+++
@@ -2,8 +2,11 @@
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, |
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.ManyToMany... | 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)
... | 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 | ---
+++
@@ -1,16 +1,27 @@
-# from django.db import models
-# from django.contrib.auth.models import User
+from django.db import models
+from django.contrib.auth.models import User
-# class Player(models.Model):
-# user = models.OneToOneField(User)
-# rating = models.PositiveSmallIntegerField()
-# wins... |
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.lin... | #! /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 qu... | 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 | ---
+++
@@ -3,6 +3,7 @@
import wikipedia
import sys
+import os
sample = 'Philosophers'
@@ -10,18 +11,32 @@
def getPagesIn(category):
- """Should return the list of pages that the provided category contains"""
- page_name = 'Category:' + category
- page = wikipedia.page(page_name)
- return pa... |
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')
... | 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')
... | 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 | ---
+++
@@ -11,6 +11,8 @@
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) |
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.... | 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.... | Update pins for marvin release | release(marvin): Update pins for marvin release
| Python | apache-2.0 | NCI-GDC/gdcdatamodel,NCI-GDC/gdcdatamodel | ---
+++
@@ -21,7 +21,7 @@
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=gdcdictio... |
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 Finishe... |
# 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")
... | Add fallback slack message for deploy script | Add fallback slack message for deploy script
| Python | mit | setokinto/slack-shogi | ---
+++
@@ -10,10 +10,13 @@
def deploy():
slack("Deploy Started")
- with cd("/var/bot/slack-shogi"):
- run("git pull")
- run("supervisorctl reload")
- slack("Deploy Finished")
+ try:
+ with cd("/var/bot/slack-shogi"):
+ run("git pull")
+ run("supervisorctl r... |
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... | #!/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(... | Update Trove classifiers to match tested versions | Update Trove classifiers to match tested versions
| Python | mit | jmoiron/humanize,jmoiron/humanize | ---
+++
@@ -4,33 +4,37 @@
"""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('R... |
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 Noti... | #!/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 im... | 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 | ---
+++
@@ -6,6 +6,7 @@
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
@@ -37,3 +38,7 @@
response['Access... |
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... | 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... | 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 | ---
+++
@@ -17,7 +17,6 @@
'Environment :: OpenStack',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
- 'Intended Audience :: BigDate',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: L... |
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 ... | 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 ... | Use docs as project homepage | Use docs as project homepage
| Python | apache-2.0 | otovo/python-netsgiro | ---
+++
@@ -16,7 +16,7 @@
version=metadata['version'],
description='File parsers for Nets AvtaleGiro and OCR Giro',
long_description=long_description,
- url='https://github.com/otovo/python-netsgiro',
+ url='https://netsgiro.readthedocs.io/',
author='Otovo AS',
author_email='jodal+netsg... |
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',
... | 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',
... | 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 | ---
+++
@@ -26,8 +26,5 @@
'Framework :: Django',
'Framework :: Scrapy',
],
- install_requires=[
- 'Scrapy>=0.24.5',
- 'Django',
- ],
+ 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 com... | #
# 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 com... | 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 | ---
+++
@@ -23,5 +23,6 @@
'Operating System :: Microsoft :: Windows'],
package_dir = {'': 'lib'},
py_modules = ['pexpect', 'winpexpect'],
- test_suite = 'nose.collector'
+ 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',
... | 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_require... | Update package configuration, pt. ii | Update package configuration, pt. ii
| Python | mit | TangledWeb/tangled.sqlalchemy | ---
+++
@@ -1,4 +1,4 @@
-from setuptools import setup, find_packages
+from setuptools import setup
setup(
@@ -9,20 +9,19 @@
url='http://tangledframework.org/',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
- packages=find_packages(),
- install_requires=(
+ install_requires... |
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"],
... | 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"],
... | 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 | ---
+++
@@ -4,7 +4,7 @@
setup(
name="SCNIC",
- version="0.2",
+ version="0.2.1",
setup_requires=['pytest-runner'],
test_require=['pytest'],
install_requires=["numpy", "scipy", "networkx", "biom-format", "pandas", "fast_sparCC"],
@@ -14,5 +14,5 @@
author="Michael Shaffer",
author... |
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 ... |
#
# 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 ... | 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 | ---
+++
@@ -17,11 +17,8 @@
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'... |
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... | 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... | Upgrade six 1.10 to 1.11 | Upgrade six 1.10 to 1.11
| Python | mit | wylee/django-perms | ---
+++
@@ -25,7 +25,7 @@
packages=find_packages(),
zip_safe=False,
install_requires=[
- 'six>=1.10.0',
+ 'six>=1.11.0',
],
extras_require={
'dev': [ |
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",
classifier... | #!/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... | 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 | ---
+++
@@ -3,23 +3,31 @@
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="pbs"... |
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 "
... | #!/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 "
... | Include filters to package data | Include filters to package data
| Python | mit | lincolnloop/django-salmonella,lincolnloop/django-salmonella,lincolnloop/django-salmonella,lincolnloop/django-salmonella | ---
+++
@@ -14,7 +14,8 @@
'static/salmonella/img/*.gif',
'templates/salmonella/*.html',
'templates/salmonella/admin/*.html',
- 'templates/salmonella/admin/widgets/*.html'
+ 'templates/salmonella/admin/widgets/*.html',
+ 'templates/salmonella/admin/filters/*.html'
]... |
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 ma... | # -*- 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 ma... | 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 | ---
+++
@@ -20,21 +20,31 @@
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))
+ logger.info('mail_time_summary: {}'.format(user.username))
report = time_summary(user,... |
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 | ---
+++
@@ -1,2 +1,2 @@
-PRIMARY_PHONE_NUMBER = 'contact_phone_number'
+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',... | 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 = [
... | Switch to nosetests framework for testing | Switch to nosetests framework for testing
| Python | mit | sait-berkeley-infosec/pynessus-api | ---
+++
@@ -9,6 +9,7 @@
tests_require = [
'mock >= 1.0.1',
+ 'nose >= 1.3.4',
]
install_requires = [ |
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.... | #!/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.... | 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 | ---
+++
@@ -29,6 +29,7 @@
],
scripts=[
'bin/ansible',
- 'bin/ansible-playbook'
+ '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... | 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"
]
#... | Fix missing raven module again | Fix missing raven module again
| Python | mit | igboyes/virtool,virtool/virtool,igboyes/virtool,virtool/virtool | ---
+++
@@ -11,6 +11,7 @@
"asyncio",
"asyncio.base_events",
"asyncio.compat",
+ "raven",
"raven.conf",
"raven.handlers",
"raven.processors" |
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_de... | 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_de... | 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 | ---
+++
@@ -5,7 +5,7 @@
setup(
name = "django-webmaster-verification",
- version = "0.1.1",
+ version = "0.1.3",
author = "Nicolas Kuttler",
author_email = "pypi@nicolaskuttler.com",
description = "Webmaster tools verification for Django",
@@ -13,9 +13,7 @@
license = "BSD",
url ... |
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',
... | #!/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',
... | 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 | ---
+++
@@ -2,7 +2,7 @@
from distutils.core import setup
setup(name='mox',
- version='0.5.1',
+ version='0.5.2',
py_modules=['mox', 'stubout'],
url='http://code.google.com/p/pymox/',
maintainer='pymox maintainers', |
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 ... | #!/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 ... | Make development status be Alpha. | Make development status be Alpha.
| Python | mit | wharris/dougrain | ---
+++
@@ -17,7 +17,7 @@
long_description=open("README.md").read(),
install_requires = ['uritemplate >= 0.5.1'],
classifiers = [
- 'Development Status :: 4 - Beta',
+ 'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD L... |
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... | #!/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... | 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 | ---
+++
@@ -30,7 +30,7 @@
url='https://github.com/NatLibFi/Skosify',
license='MIT',
install_requires=['rdflib'],
- setup_requires=['rdflib>=3.0.0,<6.0.0', 'pytest-runner>=2.9'],
+ setup_requires=['rdflib>=3.0.0', 'pytest-runner>=2.9'],
tests_require=['pytest<6.0.0', 'pytest-pep8'... |
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',
... | #!/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',
... | Increment version number after RJMCMC addition | Increment version number after RJMCMC addition
| Python | mit | bfarr/kombine,stevertaylor/kombine | ---
+++
@@ -9,7 +9,7 @@
setup(
name='kombine',
- version='0.0.1',
+ version='0.1.0',
description='An embarrassingly parallel, kernel-density-based\
ensemble sampler',
author='Ben Farr', |
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,
... | # 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 A... | Extend supported python versions and some pep8 fixes | Extend supported python versions and some pep8 fixes
| Python | bsd-2-clause | zzzsochi/trans | ---
+++
@@ -9,25 +9,27 @@
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.c... |
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=[
... | 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=[
... | Upgrade all tangled deps to released versions | Upgrade all tangled deps to released versions
| Python | mit | TangledWeb/tangled.website | ---
+++
@@ -15,9 +15,9 @@
],
include_package_data=True,
install_requires=[
- 'tangled.auth>=0.1.dev0',
- 'tangled.session>=0.1.dev0',
- 'tangled.site>=0.1.dev0',
+ 'tangled.auth>=0.1a3',
+ 'tangled.session>=0.1a2',
+ 'tangled.site>=0.1a2',
'SQLAlchemy>... |
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
# e... | #!/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_emai... | Remove python 2 specific import logic | Remove python 2 specific import logic
| Python | mit | josegonzalez/python-github-backup,josegonzalez/python-github-backup | ---
+++
@@ -1,23 +1,9 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
+from setuptools import setup
+
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 p... |
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_... | # -*- 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_... | Fix indents, from 2 to 4 spaces. | Fix indents, from 2 to 4 spaces. | Python | mit | jaapverloop/massa | ---
+++
@@ -18,29 +18,29 @@
@manager.command
def db_create_tables():
- """Create all the db tables."""
- current_app.preprocess_request()
- db = g.sl('db')
- db.create_tables()
+ """Create all the db tables."""
+ current_app.preprocess_request()
+ db = g.sl('db')
+ db.create_tables()
@manager... |
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)
#pyli... | 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... | 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 | ---
+++
@@ -3,13 +3,14 @@
from app import create_app, db
from app.models import User, Category
-from flask_script import Manager
+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... |
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("pyt... | 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"):
... | Add PyHamcrest as a unit test dependency | Add PyHamcrest as a unit test dependency
| Python | isc | Yelp/firefly,Yelp/firefly,Yelp/firefly,Yelp/firefly | ---
+++
@@ -7,6 +7,7 @@
"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 |
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",
des... | # -*- 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",
des... | Enforce working version of svgpathtools | Enforce working version of svgpathtools
| Python | mit | yaqwsx/PcbDraw,yaqwsx/PcbDraw | ---
+++
@@ -29,7 +29,7 @@
"pybars3",
"wand",
"pyyaml",
- "svgpathtools",
+ "svgpathtools==1.4.1",
"pcbnewTransition>=0.2"
],
setup_requires=[ |
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',
in... | 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',
in... | Upgrade project status from pre-alpha to alpha. | Upgrade project status from pre-alpha to alpha.
| Python | mit | wylee/pyramid_restler | ---
+++
@@ -16,7 +16,7 @@
),
packages=find_packages(),
classifiers=(
- 'Development Status :: 2 - Pre-Alpha',
+ 'Development Status :: 3 - Alpha',
'Framework :: Pylons',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License', |
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."""
... | 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(
n... | 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 | ---
+++
@@ -1,5 +1,4 @@
from setuptools import setup, find_packages
-import sys
import os
requires = [
@@ -8,9 +7,6 @@
'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 th... |
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... | 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_windo... | 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 | ---
+++
@@ -1,7 +1,32 @@
-from setuptools import setup, find_packages
+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":
+ targe... |
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_em... | 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_em... | 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 | ---
+++
@@ -13,16 +13,16 @@
author='Josh Jaques',
author_email='jjaques@gmail.com',
url='https://github.com/JDeuce/powser',
- py_modules=['src'],
+ package_dir={'powser': 'src'},
+ packages=['powser'],
install_requires=open('requirements.txt').read().splitlines(),
license='MIT Licens... |
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',
],
... | 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',
],
... | 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 | ---
+++
@@ -18,9 +18,9 @@
]
},
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://git... |
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=... | 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=... | Handle query params, request bodies | v0.2.0: Handle query params, request bodies
| Python | mit | pd/httpie-api-auth | ---
+++
@@ -8,7 +8,7 @@
name='httpie-api-auth',
description='ApiAuth plugin for HTTPie.',
long_description=open('README.rst').read().strip(),
- version='0.1.0',
+ version='0.2.0',
author='Kyle Hargraves',
author_email='pd@krh.me',
license='MIT', |
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 | ---
+++
@@ -1,4 +1,4 @@
-#!env python
+#!/usr/bin/python
from distutils.core import setup
|
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]
des... | """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]
des... | Update name of cli executable | Update name of cli executable
| Python | mit | jaredmichaelsmith/destroyer | ---
+++
@@ -15,6 +15,6 @@
],
entry_points='''
[console_scripts]
- destroyercli=destroyer.destroyer:main
+ 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/gamecha... | 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/gamecha... | Use latest version of schemer | Use latest version of schemer
| Python | mit | gamechanger/mongothon | ---
+++
@@ -3,7 +3,7 @@
setuptools.setup(
name="Mongothon",
- version="0.7.7",
+ version="0.7.8",
author="Tom Leach",
author_email="tom@gc.io",
description="A MongoDB object-document mapping layer for Python",
@@ -14,6 +14,6 @@
long_description="Mongothon is a MongoDB object-document... |
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",
au... | 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=... | Add UTF-8 encoding to readme file | Add UTF-8 encoding to readme file
| Python | mit | seb-angel/FuelSDK-Python-Wrapper | ---
+++
@@ -1,6 +1,6 @@
from setuptools import setup
-with open('README.md') as f:
+with open('README.md', 'r', encoding='utf-8') as f:
readme = f.read()
setup( |
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=['e... | 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=['enume... | Use Setuptools instead of the deprecated Disutils | Use Setuptools instead of the deprecated Disutils
| Python | mit | sgabe/Enumerator | ---
+++
@@ -1,4 +1,4 @@
-from distutils.core import setup
+from setuptools import setup
setup(
name='enumerator', |
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',
... | """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',
... | Change order of isomiR naming | Change order of isomiR naming
| Python | mit | miRTop/mirtop,miRTop/mirtop | ---
+++
@@ -11,7 +11,7 @@
setup(name='mirtop',
- version='0.1.2a',
+ version='0.1.3a',
description='Small RNA-seq annotation',
long_description=readme(),
classifiers=[ |
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... | 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... | 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 | ---
+++
@@ -14,8 +14,7 @@
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=lucen... |
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 So... | 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 So... | 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 | ---
+++
@@ -26,7 +26,7 @@
],
},
install_requires=[
- 'async_timeout~=3.0',
+ 'async_timeout>=2.0,<4.0',
],
classifiers=[
'Development Status :: 5 - Production/Stable', |
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 I... | 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 I... | 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... | Python | mit | authy/authy-python,authy/authy-python | ---
+++
@@ -15,7 +15,11 @@
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"],
+ install_requires=[
+ "requests>=2.2.1",
+ "si... |
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... | 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... | Add "future" package for python2 compability | Add "future" package for python2 compability | Python | apache-2.0 | ohld/instabot,instagrambot/instabot,instagrambot/instabot | ---
+++
@@ -10,5 +10,5 @@
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'],
+ install_requires=['tqdm', 'requests-toolbelt', 'requests'... |
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,
... | #!/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,
... | Add floscripts and start scripts | Add floscripts and start scripts
| Python | apache-2.0 | thatch45/rflo | ---
+++
@@ -21,5 +21,9 @@
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',
... | #!/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',
... | 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 | ---
+++
@@ -21,7 +21,7 @@
setup(
name='django-atomic-signals',
- version='1.0.1',
+ version='1.1.0',
description='Signals for atomic transaction blocks in Django 1.6+',
author='Nick Bruun',
author_email='nick@bruun.co', |
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 ... | 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_... | Remove unused fixture from a test | Remove unused fixture from a test
| Python | mit | leovp/steamfiles | ---
+++
@@ -10,12 +10,6 @@
@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()
|
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.... | # -*- 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.... | Fix relativ import of package | Fix relativ import of package
| Python | mit | thouska/spotpy,thouska/spotpy,thouska/spotpy | ---
+++
@@ -21,7 +21,7 @@
import spotpy
from spotpy.gui.mpl import GUI
- from test_setup_parameters import SpotSetupMixedParameterFunction as Setup
+ from .test_setup_parameters import SpotSetupMixedParameterFunction as Setup
class TestGuiMpl(unittest.TestCase): |
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... | # -*- 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... | Update the PyPI version to 0.2.17 | Update the PyPI version to 0.2.17
| Python | mit | Doist/todoist-python | ---
+++
@@ -10,7 +10,7 @@
setup(
name='todoist-python',
- version='0.2.16',
+ version='0.2.17',
packages=['todoist', 'todoist.managers'],
author='Doist Team',
author_email='info@todoist.com', |
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_requir... | 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_requi... | Update requests to its latest version | Update requests to its latest version
| Python | mit | panoplyio/panoply-python-sdk | ---
+++
@@ -11,7 +11,7 @@
version=__version__,
packages=["panoply"],
install_requires=[
- "requests==2.3.0",
+ "requests==2.21.0",
"oauth2client==4.1.1"
],
extras_require={ |
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]
... | #!/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]
... | Fix ImportError when importing after system-wide installation | Fix ImportError when importing after system-wide installation
| Python | mit | Phyks/replot | ---
+++
@@ -36,6 +36,6 @@
author_email='phyks@phyks.me',
license='MIT License',
description='A (sane) Python plotting module, abstracting on top of Matplotlib.',
- packages=['replot'],
+ 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're... | #!/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're... | 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 | ---
+++
@@ -12,7 +12,7 @@
for destination in destinations:
destination = destination.decode("utf-8")
- new_destination = os.path.join(manufacturer, os.path.basename(destination))
+ new_destination = os.path.join(manufacturer.replace(" ", "-"), os.path.basename(destination))
if test:
print(... |
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',
'... | 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': [
'a... | Set package description and removed package dir setting. | Set package description and removed package dir setting.
| Python | mit | seventhroot/ld35 | ---
+++
@@ -5,7 +5,8 @@
name = "ld35",
version = "0.0.1.dev",
url = "https://github.com/seventhroot/ld35",
- package_dir = {'ld35': 'src/ld35'},
+ description = 'The SeventhRoot entry for Ludum Dare 35',
+ long_description_markdown_filename='README.md',
packages = ['ld35'],
package_d... |
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'
... |
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'
... | Include tiddlywebplugins.utils as a dependency | Include tiddlywebplugins.utils as a dependency
| Python | bsd-3-clause | TiddlySpace/tiddlywebplugins.jsondispatcher | ---
+++
@@ -23,6 +23,11 @@
url = 'http://pypi.python.org/pypi/%s' % NAME,
packages = find_packages(exclude=['test']),
platforms = 'Posix; MacOS X; Windows',
- install_requires = ['tiddlyweb', 'tiddlywebplugins.dispatcher', 'beanstalkc'],
+ install_requires = [
+ 'ti... |
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')
bas... | 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('sr... | Add documentation to packaging script. | Add documentation to packaging script.
| Python | bsd-2-clause | GitExl/WhackEd4,GitExl/WhackEd4 | ---
+++
@@ -9,7 +9,7 @@
build_exe_options = {
'packages': [],
'path': paths,
- 'include_files': ['res', 'cfg', 'LICENSE', 'README.md'],
+ 'include_files': ['res', 'cfg', 'docs', 'LICENSE', 'README.md'],
'optimize': 2,
'include_msvcr': True
} |
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 rest... | 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 rest... | Add entrypoint for Dusty client | Add entrypoint for Dusty client
| Python | mit | gamechanger/dusty,gamechanger/dusty,gamechanger/dusty,gamechanger/dusty,gamechanger/dusty | ---
+++
@@ -27,6 +27,7 @@
tests_require=requirements.test_requires,
test_suite="nose.collector",
entry_points={'console_scripts':
- ['dustyd = dusty.daemon:main']},
+ ['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 ... | 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 ... | Add required author_email to package metadata | Add required author_email to package metadata
| Python | apache-2.0 | otovo/python-netsgiro | ---
+++
@@ -18,6 +18,7 @@
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', |
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:', ... | #!/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:', ... | Add json as a keyword. | Add json as a keyword.
| Python | bsd-2-clause | rasjidw/python-jsonte | ---
+++
@@ -35,7 +35,7 @@
install_requires=requirements,
license="BSD",
zip_safe=False,
- keywords='jsonte',
+ keywords='jsonte json',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers', |
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""",
... | 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""",
... | Add trove classifier for Python 3 | Add trove classifier for Python 3
| Python | bsd-3-clause | dabeaz/bitey,dabeaz/bitey | ---
+++
@@ -15,5 +15,6 @@
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_pac... | #!/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_pac... | 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,Canal... | ---
+++
@@ -4,7 +4,7 @@
setup(
name='Flask-RESTful',
- version='0.1.8',
+ version='0.1.7',
url='https://www.github.com/twilio/flask-restful/',
author='Kyle Conroy',
author_email='kyle@twilio.com', |
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://git... | #!/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://git... | Update GitHub repos from blancltd to developersociety | Update GitHub repos from blancltd to developersociety
| Python | bsd-2-clause | blancltd/glitter-news | ---
+++
@@ -13,7 +13,7 @@
version='0.3.3',
description='Django Glitter News for Django',
long_description=readme,
- url='https://github.com/blancltd/django-glitter-news',
+ url='https://github.com/developersociety/django-glitter-news',
maintainer='Blanc Ltd',
maintainer_email='studio@bl... |
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='ht... | 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='ht... | 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 | ---
+++
@@ -12,8 +12,12 @@
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 Appro... |
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:
... | #!/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 IOErr... | 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/PyMy... | ---
+++
@@ -3,10 +3,10 @@
version_tuple = __import__('pymysql').VERSION
-if version_tuple[2] is not None:
- version = "%d.%d_%s" % version_tuple
+if version_tuple[3] is not None:
+ version = "%d.%d.%d_%s" % version_tuple
else:
- version = "%d.%d" % version_tuple[:2]
+ version = "%d.%d.%d" % version_... |
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... | 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... | Remove Python 3.4 from classifiers | Remove Python 3.4 from classifiers
| Python | bsd-3-clause | etianen/django-s3-storage | ---
+++
@@ -27,7 +27,6 @@
"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",
... |
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',
licens... | #!/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',
licens... | Fix datamodel version. Closes GH-1. | Fix datamodel version. Closes GH-1.
| Python | mit | ProjetPP/PPP-CLI | ---
+++
@@ -23,7 +23,7 @@
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
],
install_requires=[
- 'ppp_datamodel>=0.7,<0.8',
+ 'ppp_datamodel>=0.6.1,<0.7',
'ppp_datamodel_notation_parser',
],
packages=[ |
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'
),
... | 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'
),
... | 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/pyy... | Python | apache-2.0 | zooniverse/panoptes-cli | ---
+++
@@ -13,7 +13,7 @@
include_package_data=True,
install_requires=[
'Click>=6.7,<7.1',
- 'PyYAML>=5.1,<5.4',
+ 'PyYAML>=5.1,<5.5',
'panoptes-client>=1.3,<2.0',
'humanize>=0.5.1,<1.1',
'pathvalidate>=0.29.0,<0.30', |
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',
l... | # -*- 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',
l... | 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 | ---
+++
@@ -11,6 +11,6 @@
author_email='mina.asham@hotmail.com',
scripts=['dedupe-rename.py'],
packages=find_packages(),
- install_requires=['exifread'],
+ 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',
... | # -*- 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.MULTIL... | 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 | ---
+++
@@ -1,13 +1,17 @@
+# -*- coding: utf-8 -*-
+
+import re
+import sys
+
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
+with open('fitparse/__ini... |
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'... | 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(
nam... | 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 | ---
+++
@@ -1,11 +1,12 @@
import os
+import io
import json
from setuptools import setup
-with open(os.path.join(os.path.dirname(__file__), 'README.md'), encoding="utf-8") as f:
+with io.open(os.path.join(os.path.dirname(__file__), 'README.md'), encoding="utf-8") as f:
readme = f.read()
-with open(os.path.... |
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_require... | #!/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_require... | Make short desc less fudful | Make short desc less fudful
| Python | mit | stripe/sentry-restricted-github | ---
+++
@@ -25,7 +25,7 @@
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.',
+ description='Create github tickets from s... |
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('r... | 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('requ... | Fix for Windows builds (for real this time) | Fix for Windows builds (for real this time)
| Python | mit | pyoceans/pocean-core,pyoceans/pocean-core | ---
+++
@@ -9,8 +9,8 @@
def readme():
- with open('README.md') as f:
- return f.read().encode('ascii', errors='ignore').decode()
+ 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.s... |
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:... | 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... | 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 | ---
+++
@@ -5,7 +5,7 @@
PACKAGENAME = 'OpSimSummary'
packageDir = os.path.join(os.path.dirname(os.path.abspath(__file__)),
- PACKAGENAME)
+ 'opsimsummary')
versionFile = os.path.join(packageDir, 'version.py')
# Obtain the package version |
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',
... | 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',
... | 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 | ---
+++
@@ -13,7 +13,7 @@
},
provides=['django_databrowse'],
include_package_data=True,
- url='http://pypi.python.org/pypi/django-databrowse',
+ url='https://github.com/Alir3z4/django-databrowse',
license=open('LICENSE').read(),
author='Alireza Savand',
author_email='alireza.savand... |
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=[
'sqlalchem... | 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'... | Fix installation error: remove argparse from list of packages | Fix installation error: remove argparse from list of packages
| Python | mit | coinbox/coinbox-core | ---
+++
@@ -3,7 +3,7 @@
setup(
name="Coinbox-pos",
version="0.2",
- packages=find_packages()+['argparse'],
+ packages=find_packages(),
scripts=['coinbox'],
zip_safe=True, |
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="de... |
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="de... | Bump version 0.2.1 -> 0.2.2 | Bump version 0.2.1 -> 0.2.2
| Python | apache-2.0 | calidae/python-aeat_sii | ---
+++
@@ -13,7 +13,7 @@
setup(
name='pyAEATsii',
- version='0.2.1',
+ version='0.2.2',
description='A python wrapper for the AEAT SII webservices',
author="Calidae S.L.",
author_email="dev@calidae.com", |
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 | ---
+++
@@ -3,8 +3,8 @@
setuptools.setup(
name='warlock',
- version='0.1',
- description='',
+ 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', |
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_emai... | # 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/p... | Use README.md as package description | Use README.md as package description | Python | mit | carlthome/python-audio-effects | ---
+++
@@ -1,6 +1,9 @@
# coding=utf-8
"""Install config."""
from setuptools import setup
+
+with open('README.md') as f:
+ long_description = f.read()
setup(
name='pysndfx',
@@ -10,6 +13,8 @@
author='Carl Thomé',
author_email='carlthome@gmail.com',
license='MIT',
+ long_description=lo... |
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 f... | 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 f... | Add more metadata for pypi | Add more metadata for pypi
| Python | mit | anchor/pymarquise,anchor/pymarquise | ---
+++
@@ -19,6 +19,8 @@
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,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.