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
|
|---|---|---|---|---|---|---|---|---|---|---|
2c64ba2bf9e67d6fb3e12a16489900ae7319ca33
|
RasPi/VR/VR_split_image_v0.1.py
|
RasPi/VR/VR_split_image_v0.1.py
|
#! /usr/bin/env python
import sys
import cv2
import numpy as np
from matplotlib import pyplot as plt
# read input image
img = cv2.imread('/home/pi/OCR/VR/tempImg.jpg')
# Extract only those image areas where VR information will exist
# Assumes that Rover positioning while imaging is perfect
# left_img = img[70:380, 80:320]
left_img = img[120:430, 80:320];
cv2.imwrite('/home/pi/OCR/VR/left_img.jpg', left_img)
# right_img = img[70:380, 325:600]
right_img = img[120:430, 325:600];
cv2.imwrite('/home/pi/OCR/VR/right_img.jpg', right_img)
exit(0)
|
#! /usr/bin/env python
import sys
import os
import cv2
import numpy as np
from matplotlib import pyplot as plt
# set the current working directory
os.chdir('/home/pi/OCR/VR/')
# read input image
img = cv2.imread('tempImg.jpg')
# Extract only those image areas where VR information will exist
# Assumes that Rover positioning while imaging is perfect
# left_img = img[70:380, 80:320]
left_img = img[120:430, 80:320];
cv2.imwrite('left_img.jpg', left_img)
# right_img = img[70:380, 325:600]
right_img = img[120:430, 325:600];
cv2.imwrite('right_img.jpg', right_img)
exit(0)
|
Set current working directory to unify hardcoded paths
|
Set current working directory to unify hardcoded paths
|
Python
|
apache-2.0
|
ssudheen/Watson-Rover,ssudheen/Watson-Rover,ssudheen/Watson-Rover,ssudheen/Watson-Rover
|
---
+++
@@ -1,19 +1,23 @@
#! /usr/bin/env python
import sys
+import os
import cv2
import numpy as np
from matplotlib import pyplot as plt
+# set the current working directory
+os.chdir('/home/pi/OCR/VR/')
+
# read input image
-img = cv2.imread('/home/pi/OCR/VR/tempImg.jpg')
+img = cv2.imread('tempImg.jpg')
# Extract only those image areas where VR information will exist
# Assumes that Rover positioning while imaging is perfect
# left_img = img[70:380, 80:320]
left_img = img[120:430, 80:320];
-cv2.imwrite('/home/pi/OCR/VR/left_img.jpg', left_img)
+cv2.imwrite('left_img.jpg', left_img)
# right_img = img[70:380, 325:600]
right_img = img[120:430, 325:600];
-cv2.imwrite('/home/pi/OCR/VR/right_img.jpg', right_img)
+cv2.imwrite('right_img.jpg', right_img)
exit(0)
|
30ec6a7be967d1c4041539cf80f6ae3709460af5
|
wtfhack/base/models.py
|
wtfhack/base/models.py
|
""" Basic models, such as user profile """
from django.db import models
class Language(models.Model):
name = models.CharField(max_length=40, null=False)
learn_url = models.URLField(null=True, blank=True)
@staticmethod
def all():
return [l.name for l in Language.objects.all()]
def __unicode__(self):
return self.name
class Repo(models.Model):
# Full name is required
full_name = models.CharField(max_length=30, null=False)
url = models.URLField(null=True)
language = models.ForeignKey(Language, related_name='repos')
description = models.CharField(max_length=300, null=True, blank=True)
def save(self, *args, **kwargs):
'''Override save method to set default url.'''
BASE = 'https://github.com/'
# Default url to base url + full_name
if not self.url:
self.url = BASE + self.full_name
super(Repo, self).save(*args, **kwargs)
def __unicode__(self):
return "{full_name}: {language}".format(full_name=self.full_name,
language=self.language.name)
|
""" Basic models, such as user profile """
from django.db import models
class Language(models.Model):
name = models.CharField(max_length=40, null=False)
learn_url = models.URLField(null=True, blank=True)
@staticmethod
def all():
return [l.name for l in Language.objects.all()]
def __unicode__(self):
return self.name
class Repo(models.Model):
# Full name is required
full_name = models.CharField(max_length=300, null=False)
url = models.URLField(null=True)
language = models.ForeignKey(Language, related_name='repos')
description = models.CharField(max_length=500, null=True, blank=True)
def save(self, *args, **kwargs):
'''Override save method to set default url.'''
BASE = 'https://github.com/'
# Default url to base url + full_name
if not self.url:
self.url = BASE + self.full_name
super(Repo, self).save(*args, **kwargs)
def __unicode__(self):
return "{full_name}: {language}".format(full_name=self.full_name,
language=self.language.name)
|
Increase max length for repo names
|
Increase max length for repo names
|
Python
|
bsd-3-clause
|
sloria/wtfhack,sloria/wtfhack,sloria/wtfhack,sloria/wtfhack,sloria/wtfhack
|
---
+++
@@ -13,10 +13,10 @@
class Repo(models.Model):
# Full name is required
- full_name = models.CharField(max_length=30, null=False)
+ full_name = models.CharField(max_length=300, null=False)
url = models.URLField(null=True)
language = models.ForeignKey(Language, related_name='repos')
- description = models.CharField(max_length=300, null=True, blank=True)
+ description = models.CharField(max_length=500, null=True, blank=True)
def save(self, *args, **kwargs):
|
a0ba91395dc02f92e58395e41db77af12439a507
|
arrow/__init__.py
|
arrow/__init__.py
|
# -*- coding: utf-8 -*-
from ._version import __version__
from .api import get, now, utcnow
from .arrow import Arrow
from .factory import ArrowFactory
|
# -*- coding: utf-8 -*-
from ._version import __version__
from .api import get, now, utcnow
from .arrow import Arrow
from .factory import ArrowFactory
from .parser import ParserError
|
Add ParserError to the module exports.
|
Add ParserError to the module exports.
Adding ParserError to the module exports allows users to easily catch that specific error. It also eases lookup of that error for tools like PyCharm.
|
Python
|
apache-2.0
|
crsmithdev/arrow
|
---
+++
@@ -3,3 +3,4 @@
from .api import get, now, utcnow
from .arrow import Arrow
from .factory import ArrowFactory
+from .parser import ParserError
|
9aaa857b278d68009fc6de052e6951677d037fb5
|
derrida/__init__.py
|
derrida/__init__.py
|
__version_info__ = (0, 9, 0, 'dev')
# Dot-connect all but the last. Last is dash-connected if not None.
__version__ = '.'.join([str(i) for i in __version_info__[:-1]])
if __version_info__[-1] is not None:
__version__ += ('-%s' % (__version_info__[-1],))
# context processor to add version to the template environment
def context_extras(request):
return {
# software version
'SW_VERSION': __version__
}
|
__version_info__ = (0, 9, 0)
# Dot-connect all but the last. Last is dash-connected if not None.
__version__ = '.'.join([str(i) for i in __version_info__[:-1]])
if __version_info__[-1] is not None:
__version__ += ('-%s' % (__version_info__[-1],))
# context processor to add version to the template environment
def context_extras(request):
return {
# software version
'SW_VERSION': __version__
}
|
Bump version number to 0.9
|
Bump version number to 0.9
|
Python
|
apache-2.0
|
Princeton-CDH/derrida-django,Princeton-CDH/derrida-django,Princeton-CDH/derrida-django,Princeton-CDH/derrida-django
|
---
+++
@@ -1,4 +1,4 @@
-__version_info__ = (0, 9, 0, 'dev')
+__version_info__ = (0, 9, 0)
# Dot-connect all but the last. Last is dash-connected if not None.
|
4fbda94aa41e0051a4ef7ea26beb587865f8f081
|
slybot/setup.py
|
slybot/setup.py
|
from slybot import __version__
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
install_requires = ['Scrapy', 'scrapely', 'loginform', 'lxml', 'jsonschema']
tests_requires = install_requires
setup(name='slybot',
version=__version__,
license='BSD',
description='Slybot crawler',
author='Scrapy project',
author_email='info@scrapy.org',
url='http://github.com/scrapy/slybot',
packages=['slybot', 'slybot.fieldtypes', 'slybot.tests', 'slybot.linkextractor'],
platforms=['Any'],
scripts=['bin/slybot', 'bin/portiacrawl'],
install_requires=install_requires,
tests_requires=tests_requires,
classifiers=['Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python'])
|
from slybot import __version__
from setuptools import setup, find_packages
install_requires = ['Scrapy', 'scrapely', 'loginform', 'lxml', 'jsonschema']
tests_requires = install_requires
setup(name='slybot',
version=__version__,
license='BSD',
description='Slybot crawler',
author='Scrapy project',
author_email='info@scrapy.org',
url='http://github.com/scrapy/slybot',
packages=find_packages(exclude=('tests', 'tests.*')),
platforms=['Any'],
scripts=['bin/slybot', 'bin/portiacrawl'],
install_requires=install_requires,
tests_requires=tests_requires,
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7'
])
|
Update Slybot packages and drop support for Python < 2.7
|
Update Slybot packages and drop support for Python < 2.7
|
Python
|
bsd-3-clause
|
amikey/portia,naveenvprakash/portia,asa1253/portia,sntran/portia,PrasannaVenkadesh/portia,anjuncc/portia,NoisyText/portia,Youwotma/portia,PrasannaVenkadesh/portia,anjuncc/portia,amikey/portia,livepy/portia,NicoloPernigo/portia,anjuncc/portia,asa1253/portia,verylasttry/portia,chennqqi/portia,NoisyText/portia,amikey/portia,sntran/portia,SouthStar/portia,Youwotma/portia,sntran/portia,Suninus/portia,NicoloPernigo/portia,Suninus/portia,hanicker/portia,verylasttry/portia,asa1253/portia,asa1253/portia,NicoloPernigo/portia,nju520/portia,pombredanne/portia,pombredanne/portia,PrasannaVenkadesh/portia,NoisyText/portia,chennqqi/portia,nju520/portia,verylasttry/portia,chennqqi/portia,livepy/portia,NoisyText/portia,CENDARI/portia,hanicker/portia,nju520/portia,verylasttry/portia,nju520/portia,Suninus/portia,hanicker/portia,CENDARI/portia,SouthStar/portia,naveenvprakash/portia,SouthStar/portia,pombredanne/portia,hanicker/portia,livepy/portia,CENDARI/portia,anjuncc/portia,PrasannaVenkadesh/portia,Youwotma/portia,naveenvprakash/portia,pombredanne/portia,naveenvprakash/portia,Suninus/portia,amikey/portia,chennqqi/portia,livepy/portia,SouthStar/portia,NicoloPernigo/portia,Youwotma/portia,sntran/portia,CENDARI/portia
|
---
+++
@@ -1,8 +1,5 @@
from slybot import __version__
-try:
- from setuptools import setup
-except ImportError:
- from distutils.core import setup
+from setuptools import setup, find_packages
install_requires = ['Scrapy', 'scrapely', 'loginform', 'lxml', 'jsonschema']
tests_requires = install_requires
@@ -14,12 +11,16 @@
author='Scrapy project',
author_email='info@scrapy.org',
url='http://github.com/scrapy/slybot',
- packages=['slybot', 'slybot.fieldtypes', 'slybot.tests', 'slybot.linkextractor'],
+ packages=find_packages(exclude=('tests', 'tests.*')),
platforms=['Any'],
scripts=['bin/slybot', 'bin/portiacrawl'],
install_requires=install_requires,
tests_requires=tests_requires,
- classifiers=['Development Status :: 4 - Beta',
- 'License :: OSI Approved :: BSD License',
- 'Operating System :: OS Independent',
- 'Programming Language :: Python'])
+ classifiers=[
+ 'Development Status :: 4 - Beta',
+ 'License :: OSI Approved :: BSD License',
+ 'Operating System :: OS Independent',
+ 'Programming Language :: Python',
+ 'Programming Language :: Python :: 2',
+ 'Programming Language :: Python :: 2.7'
+ ])
|
8244d43bb87a2ea88ab1ee0c9cedee77eeb994ba
|
plumbium/artefacts.py
|
plumbium/artefacts.py
|
import os.path
from utils import file_sha1sum
class Artefact(object):
def __init__(self, filename, extension):
if not filename.endswith(extension):
raise ValueError
self.filename = filename
self._ext_length = len(extension)
def checksum(self):
return file_sha1sum(self.filename)
@property
def basename(self):
"""Return the filename without the extension"""
return self.filename[:-self._ext_length]
def __repr__(self):
return 'Artefact({0!r})'.format(self.filename)
class NiiGzImage(Artefact):
def __init__(self, filename):
super(NiiGzImage, self).__init__(filename, '.nii.gz')
def __repr__(self):
return '{0}({1!r})'.format(self.__clsname__, self.filename)
class TextFile(Artefact):
def __init__(self, filename):
super(TextFile, self).__init__(filename, '.txt')
def __repr__(self):
return '{0}({1!r})'.format(self.__clsname__, self.filename)
|
import os.path
from utils import file_sha1sum
class Artefact(object):
def __init__(self, filename, extension):
if not filename.endswith(extension):
raise ValueError
self._filename = filename
self._ext_length = len(extension)
self._abspath = os.path.abspath(filename)
def checksum(self):
return file_sha1sum(self.filename)
def exists(self):
return os.path.exists(self.filename)
@property
def abspath(self):
return self._abspath
@property
def basename(self):
"""Return the filename without the extension"""
return self._filename[:-self._ext_length]
@property
def filename(self):
return self._filename
def __repr__(self):
return 'Artefact({0!r})'.format(self.filename)
class NiiGzImage(Artefact):
def __init__(self, filename):
super(NiiGzImage, self).__init__(filename, '.nii.gz')
def __repr__(self):
return '{0}({1!r})'.format(self.__clsname__, self.filename)
class TextFile(Artefact):
def __init__(self, filename):
super(TextFile, self).__init__(filename, '.txt')
def __repr__(self):
return '{0}({1!r})'.format(self.__clsname__, self.filename)
|
Add abspath and exists methods to Artefact
|
Add abspath and exists methods to Artefact
|
Python
|
mit
|
jstutters/Plumbium
|
---
+++
@@ -6,16 +6,28 @@
def __init__(self, filename, extension):
if not filename.endswith(extension):
raise ValueError
- self.filename = filename
+ self._filename = filename
self._ext_length = len(extension)
+ self._abspath = os.path.abspath(filename)
def checksum(self):
return file_sha1sum(self.filename)
+ def exists(self):
+ return os.path.exists(self.filename)
+
+ @property
+ def abspath(self):
+ return self._abspath
+
@property
def basename(self):
"""Return the filename without the extension"""
- return self.filename[:-self._ext_length]
+ return self._filename[:-self._ext_length]
+
+ @property
+ def filename(self):
+ return self._filename
def __repr__(self):
return 'Artefact({0!r})'.format(self.filename)
|
e04123ce0b368b19015270b1fc1bd1f706c765cf
|
pwm/_compat.py
|
pwm/_compat.py
|
"""
pwm._compat
~~~~~~~~~~~
Micro compatiblity library. Or superlight six, if you want. Like a five, or something.
"""
# pylint: disable=unused-import
import sys
PY2 = sys.version_info[0] == 2
if PY2: # pragma: no cover
from ConfigParser import RawConfigParser
from httplib import HTTPConnection
input = raw_input
def ord_byte(char):
''' convert a single character into integer representation '''
return ord(char)
else: # pragma: no cover
from configparser import RawConfigParser
from http.client import HTTPConnection
def ord_byte(byte):
''' convert a single byte into integer representation '''
return byte
|
"""
pwm._compat
~~~~~~~~~~~
Micro compatiblity library. Or superlight six, if you want. Like a five, or something.
"""
# pylint: disable=unused-import
import sys
PY2 = sys.version_info[0] == 2
if PY2: # pragma: no cover
from ConfigParser import RawConfigParser
from httplib import HTTPConnection
input = raw_input
def ord_byte(char):
''' convert a single character into integer representation '''
return ord(char)
else: # pragma: no cover
from configparser import RawConfigParser
from http.client import HTTPConnection
input = input
def ord_byte(byte):
''' convert a single byte into integer representation '''
return byte
|
Fix python 3 input compatiblity
|
Fix python 3 input compatiblity
|
Python
|
mit
|
thusoy/pwm,thusoy/pwm
|
---
+++
@@ -21,6 +21,7 @@
else: # pragma: no cover
from configparser import RawConfigParser
from http.client import HTTPConnection
+ input = input
def ord_byte(byte):
''' convert a single byte into integer representation '''
return byte
|
fd8ea34ccc5f9aa83ea3ab81da2face511fd306f
|
dthm4kaiako/config/__init__.py
|
dthm4kaiako/config/__init__.py
|
"""Configuration for Django system."""
__version__ = "0.12.0"
__version_info__ = tuple(
[
int(num) if num.isdigit() else num
for num in __version__.replace("-", ".", 1).split(".")
]
)
|
"""Configuration for Django system."""
__version__ = "0.12.1"
__version_info__ = tuple(
[
int(num) if num.isdigit() else num
for num in __version__.replace("-", ".", 1).split(".")
]
)
|
Increment version number to 0.12.1
|
Increment version number to 0.12.1
|
Python
|
mit
|
uccser/cs4teachers,uccser/cs4teachers,uccser/cs4teachers,uccser/cs4teachers
|
---
+++
@@ -1,6 +1,6 @@
"""Configuration for Django system."""
-__version__ = "0.12.0"
+__version__ = "0.12.1"
__version_info__ = tuple(
[
int(num) if num.isdigit() else num
|
5e2dbeab75501254da598c6c401cbbd8446f01a5
|
util/timeline_adjust.py
|
util/timeline_adjust.py
|
#!/usr/bin/python
from __future__ import print_function
import argparse
import re
time_re = re.compile(r"^\s*#?\s*([0-9]+(?:\.[0-9]+)?)\s+\"")
first_num_re = re.compile(r"([0-9]+(?:\.[0-9]+)?)")
def adjust_lines(lines, adjust):
for line in lines:
match = re.match(time_re, line)
if match:
time = float(match.group(1)) + adjust
print(re.sub(first_num_re, str(time), line, 1), end='')
else:
print(line, end='')
def main():
parser = argparse.ArgumentParser(
description="A utility to uniformly adjust times in an act timeline file")
parser.add_argument('--file', required=True, type=argparse.FileType('r', 0),
help="The timeline file to adjust times in")
parser.add_argument('--adjust', required=True, type=float,
help="The amount of time to adjust each entry by")
args = parser.parse_args()
adjust_lines(args.file, args.adjust)
if __name__ == "__main__":
main()
|
#!/usr/bin/python
from __future__ import print_function
import argparse
import re
time_re = re.compile(r"^\s*#?\s*([0-9]+(?:\.[0-9]+)?)\s+\"")
first_num_re = re.compile(r"([0-9]+(?:\.[0-9]+)?)")
def adjust_lines(lines, adjust):
for line in lines:
match = re.match(time_re, line)
if match:
time = float(match.group(1)) + adjust
print(re.sub(first_num_re, str(time), line, 1), end='')
else:
print(line, end='')
def main():
parser = argparse.ArgumentParser(
description="A utility to uniformly adjust times in an act timeline file")
parser.add_argument('--file', required=True, type=argparse.FileType('r', encoding="utf8"),
help="The timeline file to adjust times in")
parser.add_argument('--adjust', required=True, type=float,
help="The amount of time to adjust each entry by")
args = parser.parse_args()
adjust_lines(args.file, args.adjust)
if __name__ == "__main__":
main()
|
Fix timeline adjust not being able to load Windows files
|
Fix timeline adjust not being able to load Windows files
|
Python
|
apache-2.0
|
quisquous/cactbot,quisquous/cactbot,quisquous/cactbot,sqt/cactbot,sqt/cactbot,sqt/cactbot,sqt/cactbot,quisquous/cactbot,quisquous/cactbot,sqt/cactbot,quisquous/cactbot
|
---
+++
@@ -19,7 +19,7 @@
def main():
parser = argparse.ArgumentParser(
description="A utility to uniformly adjust times in an act timeline file")
- parser.add_argument('--file', required=True, type=argparse.FileType('r', 0),
+ parser.add_argument('--file', required=True, type=argparse.FileType('r', encoding="utf8"),
help="The timeline file to adjust times in")
parser.add_argument('--adjust', required=True, type=float,
help="The amount of time to adjust each entry by")
|
1ceea35669fd8e6eff5252ef6607289619f0f3c2
|
certbot/tests/main_test.py
|
certbot/tests/main_test.py
|
"""Tests for certbot.main."""
import unittest
import mock
from certbot import cli
from certbot import configuration
from certbot.plugins import disco as plugins_disco
class ObtainCertTest(unittest.TestCase):
"""Tests for certbot.main.obtain_cert."""
def _call(self, args):
plugins = plugins_disco.PluginsRegistry.find_all()
config = configuration.NamespaceConfig(
cli.prepare_and_parse_args(plugins, args))
from certbot import main
with mock.patch('certbot.main._init_le_client') as mock_init:
main.obtain_cert(config, plugins)
return mock_init() # returns the client
@mock.patch('certbot.main._auth_from_domains')
def test_no_reinstall_text_pause(self, mock_auth):
mock_auth.return_value = (mock.ANY, 'reinstall')
# This hangs if the reinstallation notification pauses
self._call('certonly --webroot -d example.com -t'.split())
if __name__ == '__main__':
unittest.main() # pragma: no cover
|
"""Tests for certbot.main."""
import unittest
import mock
from certbot import cli
from certbot import configuration
from certbot.plugins import disco as plugins_disco
class ObtainCertTest(unittest.TestCase):
"""Tests for certbot.main.obtain_cert."""
def setUp(self):
self.get_utility_patch = mock.patch(
'certbot.main.zope.component.getUtility')
self.mock_get_utility = self.get_utility_patch.start()
def tearDown(self):
self.get_utility_patch.stop()
def _call(self, args):
plugins = plugins_disco.PluginsRegistry.find_all()
config = configuration.NamespaceConfig(
cli.prepare_and_parse_args(plugins, args))
from certbot import main
with mock.patch('certbot.main._init_le_client') as mock_init:
main.obtain_cert(config, plugins)
return mock_init() # returns the client
@mock.patch('certbot.main._auth_from_domains')
def test_no_reinstall_text_pause(self, mock_auth):
mock_notification = self.mock_get_utility().notification
mock_notification.side_effect = self._assert_no_pause
mock_auth.return_value = (mock.ANY, 'reinstall')
self._call('certonly --webroot -d example.com -t'.split())
def _assert_no_pause(self, message, height=42, pause=True):
# pylint: disable=unused-argument
self.assertFalse(pause)
if __name__ == '__main__':
unittest.main() # pragma: no cover
|
Improve obtain_cert no pause test
|
Improve obtain_cert no pause test
|
Python
|
apache-2.0
|
lmcro/letsencrypt,jsha/letsencrypt,dietsche/letsencrypt,letsencrypt/letsencrypt,stweil/letsencrypt,wteiken/letsencrypt,bsmr-misc-forks/letsencrypt,wteiken/letsencrypt,bsmr-misc-forks/letsencrypt,lmcro/letsencrypt,stweil/letsencrypt,jtl999/certbot,DavidGarciaCat/letsencrypt,letsencrypt/letsencrypt,DavidGarciaCat/letsencrypt,jsha/letsencrypt,jtl999/certbot,dietsche/letsencrypt
|
---
+++
@@ -13,6 +13,14 @@
class ObtainCertTest(unittest.TestCase):
"""Tests for certbot.main.obtain_cert."""
+ def setUp(self):
+ self.get_utility_patch = mock.patch(
+ 'certbot.main.zope.component.getUtility')
+ self.mock_get_utility = self.get_utility_patch.start()
+
+ def tearDown(self):
+ self.get_utility_patch.stop()
+
def _call(self, args):
plugins = plugins_disco.PluginsRegistry.find_all()
config = configuration.NamespaceConfig(
@@ -26,9 +34,14 @@
@mock.patch('certbot.main._auth_from_domains')
def test_no_reinstall_text_pause(self, mock_auth):
+ mock_notification = self.mock_get_utility().notification
+ mock_notification.side_effect = self._assert_no_pause
mock_auth.return_value = (mock.ANY, 'reinstall')
- # This hangs if the reinstallation notification pauses
self._call('certonly --webroot -d example.com -t'.split())
+
+ def _assert_no_pause(self, message, height=42, pause=True):
+ # pylint: disable=unused-argument
+ self.assertFalse(pause)
if __name__ == '__main__':
|
7151af9947dffc097a328f794281a20580c7b162
|
backend/globaleaks/handlers/__init__.py
|
backend/globaleaks/handlers/__init__.py
|
# -*- encoding: utf-8 -*-
#
# In here you will find all the handlers that are tasked with handling the
# requests specified in the API.
#
# From these handlers we will be instantiating models objects that will take care
# of our business logic and the generation of the output to be sent to GLClient.
#
# In here we are also tasked with doing the validation of the user supplied
# input. This must be done before instantiating any models object.
# Validation of input may be done with the functions inside of
# globaleaks.rest.
#
# See base.BaseHandler for details on the handlers.
__all__ = ['admin',
'base',
'files',
'node',
'receiver',
'rtip',
'submission',
'wbtip']
|
# -*- encoding: utf-8 -*-
#
# In here you will find all the handlers that are tasked with handling the
# requests specified in the API.
#
# From these handlers we will be instantiating models objects that will take care
# of our business logic and the generation of the output to be sent to GLClient.
#
# In here we are also tasked with doing the validation of the user supplied
# input. This must be done before instantiating any models object.
# Validation of input may be done with the functions inside of
# globaleaks.rest.
#
# See base.BaseHandler for details on the handlers.
__all__ = ['admin',
'base',
'files',
'public',
'receiver',
'rtip',
'submission',
'wbtip']
|
Fix python module package thanks to landscape.io
|
Fix python module package thanks to landscape.io
|
Python
|
agpl-3.0
|
vodkina/GlobaLeaks,vodkina/GlobaLeaks,vodkina/GlobaLeaks,vodkina/GlobaLeaks
|
---
+++
@@ -16,7 +16,7 @@
__all__ = ['admin',
'base',
'files',
- 'node',
+ 'public',
'receiver',
'rtip',
'submission',
|
14a085f787f5fe80a0737d97515b71adaf05d1cd
|
checker/checker/contest.py
|
checker/checker/contest.py
|
#!/usr/bin/python3
from checker.abstract import AbstractChecker
import base64
import sys
import codecs
class ContestChecker(AbstractChecker):
def __init__(self, tick, team, service, ip):
AbstractChecker.__init__(self, tick, team, service, ip)
def _rpc(self, function, *args):
sys.stdout.write("%s %s\n" % (function, " ".join(args)))
sys.stdout.flush()
return sys.stdin.readline().strip()
def get_flag(self, tick, payload=None):
if payload is None:
return self._rpc("FLAG", str(tick))
else:
payload = codecs.encode(payload, 'hex').decode('latin-1')
return self._rpc("FLAG", str(tick), payload)
def store_blob(self, ident, blob):
data = base64.b64encode(blob)
return self._rpc("STORE", ident, base64.b64encode(data).decode('latin-1'))
def retrieve_blob(self, ident):
data = self._rpc("RETRIEVE", ident)
return base64.b64decode(data)
|
#!/usr/bin/python3
from checker.abstract import AbstractChecker
import base64
import sys
import codecs
class ContestChecker(AbstractChecker):
def __init__(self, tick, team, service, ip):
AbstractChecker.__init__(self, tick, team, service, ip)
def _rpc(self, function, *args):
sys.stdout.write("%s %s\n" % (function, " ".join(args)))
sys.stdout.flush()
return sys.stdin.readline().strip()
def get_flag(self, tick, payload=None):
if payload is None:
return self._rpc("FLAG", str(tick))
else:
payload = codecs.encode(payload, 'hex').decode('latin-1')
return self._rpc("FLAG", str(tick), payload)
def store_blob(self, ident, blob):
data = base64.b64encode(blob)
return self._rpc("STORE", ident, data.decode('latin-1'))
def retrieve_blob(self, ident):
data = self._rpc("RETRIEVE", ident)
return base64.b64decode(data)
|
Fix double-encoding of binary blobs
|
Fix double-encoding of binary blobs
|
Python
|
isc
|
fausecteam/ctf-gameserver,fausecteam/ctf-gameserver,fausecteam/ctf-gameserver,fausecteam/ctf-gameserver,fausecteam/ctf-gameserver
|
---
+++
@@ -24,7 +24,7 @@
def store_blob(self, ident, blob):
data = base64.b64encode(blob)
- return self._rpc("STORE", ident, base64.b64encode(data).decode('latin-1'))
+ return self._rpc("STORE", ident, data.decode('latin-1'))
def retrieve_blob(self, ident):
data = self._rpc("RETRIEVE", ident)
|
424a5da1e867b5b77fe5f241ef0a825988157811
|
moksha/config/app_cfg.py
|
moksha/config/app_cfg.py
|
from tg.configuration import AppConfig, Bunch
import moksha
from moksha import model
from moksha.lib import app_globals, helpers
base_config = AppConfig()
base_config.package = moksha
# Set the default renderer
base_config.default_renderer = 'mako'
base_config.renderers = []
base_config.renderers.append('mako')
# @@ This is necessary at the moment.
base_config.use_legacy_renderer = True
# Configure the base SQLALchemy Setup
base_config.use_sqlalchemy = True
base_config.model = moksha.model
base_config.DBSession = moksha.model.DBSession
# Configure the authentication backend
base_config.auth_backend = 'sqlalchemy'
base_config.sa_auth.dbsession = model.DBSession
base_config.sa_auth.user_class = model.User
base_config.sa_auth.group_class = model.Group
base_config.sa_auth.permission_class = model.Permission
# override this if you would like to provide a different who plugin for
# managing login and logout of your application
base_config.sa_auth.form_plugin = None
|
from tg.configuration import AppConfig, Bunch
import moksha
from moksha import model
from moksha.lib import app_globals, helpers
base_config = AppConfig()
base_config.package = moksha
# Set the default renderer
base_config.default_renderer = 'mako'
base_config.renderers = []
base_config.renderers.append('genshi')
base_config.renderers.append('mako')
# @@ This is necessary at the moment.
base_config.use_legacy_renderer = True
# Configure the base SQLALchemy Setup
base_config.use_sqlalchemy = True
base_config.model = moksha.model
base_config.DBSession = moksha.model.DBSession
# Configure the authentication backend
base_config.auth_backend = 'sqlalchemy'
base_config.sa_auth.dbsession = model.DBSession
base_config.sa_auth.user_class = model.User
base_config.sa_auth.group_class = model.Group
base_config.sa_auth.permission_class = model.Permission
# override this if you would like to provide a different who plugin for
# managing login and logout of your application
base_config.sa_auth.form_plugin = None
|
Load up the genshi renderer
|
Load up the genshi renderer
|
Python
|
apache-2.0
|
lmacken/moksha,ralphbean/moksha,pombredanne/moksha,pombredanne/moksha,mokshaproject/moksha,lmacken/moksha,ralphbean/moksha,lmacken/moksha,pombredanne/moksha,mokshaproject/moksha,mokshaproject/moksha,ralphbean/moksha,mokshaproject/moksha,pombredanne/moksha
|
---
+++
@@ -9,6 +9,7 @@
# Set the default renderer
base_config.default_renderer = 'mako'
base_config.renderers = []
+base_config.renderers.append('genshi')
base_config.renderers.append('mako')
# @@ This is necessary at the moment.
|
c35c11fb546123d0aada37fe7d7ab1829a6fa9f0
|
graphenebase/transactions.py
|
graphenebase/transactions.py
|
from collections import OrderedDict
from binascii import hexlify, unhexlify
from calendar import timegm
from datetime import datetime
import json
import struct
import time
from .account import PublicKey
from .chains import known_chains
from .signedtransactions import Signed_Transaction
from .operations import Operation
from .objects import GrapheneObject, isArgsThisClass
timeformat = '%Y-%m-%dT%H:%M:%S%Z'
def getBlockParams(ws):
""" Auxiliary method to obtain ``ref_block_num`` and
``ref_block_prefix``. Requires a websocket connection to a
witness node!
"""
dynBCParams = ws.get_dynamic_global_properties()
ref_block_num = dynBCParams["last_irreversible_block_num"] & 0xFFFF
ref_block_prefix = struct.unpack_from("<I", unhexlify(dynBCParams["head_block_id"]), 4)[0]
return ref_block_num, ref_block_prefix
def formatTimeFromNow(secs=0):
""" Properly Format Time that is `x` seconds in the future
:param int secs: Seconds to go in the future (`x>0`) or the past (`x<0`)
:return: Properly formated time for Graphene (`%Y-%m-%dT%H:%M:%S`)
:rtype: str
"""
return datetime.utcfromtimestamp(time.time() + int(secs)).strftime(timeformat)
|
from collections import OrderedDict
from binascii import hexlify, unhexlify
from calendar import timegm
from datetime import datetime
import json
import struct
import time
from .account import PublicKey
from .chains import known_chains
from .signedtransactions import Signed_Transaction
from .operations import Operation
from .objects import GrapheneObject, isArgsThisClass
timeformat = '%Y-%m-%dT%H:%M:%S%Z'
def getBlockParams(ws):
""" Auxiliary method to obtain ``ref_block_num`` and
``ref_block_prefix``. Requires a websocket connection to a
witness node!
"""
dynBCParams = ws.get_dynamic_global_properties()
ref_block_num = dynBCParams["head_block_number"] & 0xFFFF
ref_block_prefix = struct.unpack_from("<I", unhexlify(dynBCParams["head_block_id"]), 4)[0]
return ref_block_num, ref_block_prefix
def formatTimeFromNow(secs=0):
""" Properly Format Time that is `x` seconds in the future
:param int secs: Seconds to go in the future (`x>0`) or the past (`x<0`)
:return: Properly formated time for Graphene (`%Y-%m-%dT%H:%M:%S`)
:rtype: str
"""
return datetime.utcfromtimestamp(time.time() + int(secs)).strftime(timeformat)
|
Revert "[TaPOS] link to the last irreversible block instead of headblock"
|
Revert "[TaPOS] link to the last irreversible block instead of headblock"
This reverts commit 05cec8e450a09fd0d3fa2b40860760f7bff0c125.
|
Python
|
mit
|
xeroc/python-graphenelib
|
---
+++
@@ -21,7 +21,7 @@
witness node!
"""
dynBCParams = ws.get_dynamic_global_properties()
- ref_block_num = dynBCParams["last_irreversible_block_num"] & 0xFFFF
+ ref_block_num = dynBCParams["head_block_number"] & 0xFFFF
ref_block_prefix = struct.unpack_from("<I", unhexlify(dynBCParams["head_block_id"]), 4)[0]
return ref_block_num, ref_block_prefix
|
2e723dc3244d1d485fa7c27f06807fa39f62f5d1
|
account_fiscal_position_no_source_tax/account.py
|
account_fiscal_position_no_source_tax/account.py
|
from openerp import models, api, fields
class account_fiscal_position(models.Model):
_inherit = 'account.fiscal.position'
@api.v8 # noqa
def map_tax(self, taxes):
result = super(account_fiscal_position, self).map_tax(taxes)
taxes_without_src_ids = [
x.tax_dest_id.id for x in self.tax_ids if not x.tax_src_id]
result += result.browse(taxes_without_src_ids)
return result
class account_fiscal_position_tax(models.Model):
_inherit = 'account.fiscal.position.tax'
tax_src_id = fields.Many2one(required=False)
|
from openerp import models, api, fields
class account_fiscal_position(models.Model):
_inherit = 'account.fiscal.position'
@api.v7
def map_tax(self, cr, uid, fposition_id, taxes, context=None):
result = super(account_fiscal_position, self).map_tax(
cr, uid, fposition_id, taxes, context=context)
taxes_without_src_ids = [
x.tax_dest_id.id for x in fposition_id.tax_ids if not x.tax_src_id]
result = set(result) | set(taxes_without_src_ids)
return list(result)
@api.v8 # noqa
def map_tax(self, taxes):
result = super(account_fiscal_position, self).map_tax(taxes)
taxes_without_src_ids = [
x.tax_dest_id.id for x in self.tax_ids if not x.tax_src_id]
result += result.browse(taxes_without_src_ids)
return result
class account_fiscal_position_tax(models.Model):
_inherit = 'account.fiscal.position.tax'
tax_src_id = fields.Many2one(required=False)
|
FIX fiscal position no source tax on v7 api
|
FIX fiscal position no source tax on v7 api
|
Python
|
agpl-3.0
|
csrocha/account_check,csrocha/account_check
|
---
+++
@@ -4,6 +4,15 @@
class account_fiscal_position(models.Model):
_inherit = 'account.fiscal.position'
+
+ @api.v7
+ def map_tax(self, cr, uid, fposition_id, taxes, context=None):
+ result = super(account_fiscal_position, self).map_tax(
+ cr, uid, fposition_id, taxes, context=context)
+ taxes_without_src_ids = [
+ x.tax_dest_id.id for x in fposition_id.tax_ids if not x.tax_src_id]
+ result = set(result) | set(taxes_without_src_ids)
+ return list(result)
@api.v8 # noqa
def map_tax(self, taxes):
|
debb751e42229c702fe93430a44cb5674d9aacde
|
app/events/forms.py
|
app/events/forms.py
|
"""Forms definitions."""
from django import forms
from .models import Event
class EventForm(forms.ModelForm):
"""Form for EventCreateView."""
class Meta: # noqa
model = Event
fields = (
'title',
'date',
'venue',
'description',
'fb_event_url',
)
def clean_fb_event_url(self):
url = self.cleaned_data['fb_event_url']
# heuristics to check validity of a facebook event url
fb_event_content = ['facebook', 'events']
if url:
for x in fb_event_content:
if x not in url:
raise forms.ValidationError('Not a Facebook Event URL')
return url
|
"""Forms definitions."""
from django import forms
from .models import Event
class EventForm(forms.ModelForm):
"""Form for EventCreateView."""
class Meta: # noqa
model = Event
fields = (
'title',
'date',
'venue',
'description',
'fb_event_url',
'flyer_image',
)
def clean_fb_event_url(self):
url = self.cleaned_data['fb_event_url']
# heuristics to check validity of a facebook event url
fb_event_content = ['facebook', 'events']
if url:
for x in fb_event_content:
if x not in url:
raise forms.ValidationError('Not a Facebook Event URL')
return url
|
Add image upload to event form
|
Add image upload to event form
|
Python
|
mit
|
FlowFX/reggae-cdmx,FlowFX/reggae-cdmx
|
---
+++
@@ -15,6 +15,7 @@
'venue',
'description',
'fb_event_url',
+ 'flyer_image',
)
def clean_fb_event_url(self):
|
99c08468b7008a3c44b5b7c48bccbc9fb3825556
|
opps/channels/forms.py
|
opps/channels/forms.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from django import forms
from django.utils.translation import ugettext_lazy as _
from .models import Channel
class ChannelAdminForm(forms.ModelForm):
layout = forms.ChoiceField(choices=(('default', _('Default'))))
class Meta:
model = Channel
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from django import forms
from django.utils.translation import ugettext_lazy as _
from .models import Channel
class ChannelAdminForm(forms.ModelForm):
layout = forms.ChoiceField(choices=(('default', _('Default')),))
class Meta:
model = Channel
|
Fix channel form tuple, 'too many values to unpack'
|
Fix channel form tuple, 'too many values to unpack'
|
Python
|
mit
|
opps/opps,jeanmask/opps,opps/opps,opps/opps,opps/opps,williamroot/opps,YACOWS/opps,jeanmask/opps,YACOWS/opps,williamroot/opps,YACOWS/opps,jeanmask/opps,jeanmask/opps,williamroot/opps,YACOWS/opps,williamroot/opps
|
---
+++
@@ -7,7 +7,7 @@
class ChannelAdminForm(forms.ModelForm):
- layout = forms.ChoiceField(choices=(('default', _('Default'))))
+ layout = forms.ChoiceField(choices=(('default', _('Default')),))
class Meta:
model = Channel
|
27d083727e3ca8d0264fc08e96a15f1cdc6a5acc
|
orderedmodel/models.py
|
orderedmodel/models.py
|
from django.db import models
from django.core.exceptions import ValidationError
class OrderedModel(models.Model):
order = models.PositiveIntegerField(blank=True, unique=True)
class Meta:
abstract = True
ordering = ['order']
def save(self, swapping=False, *args, **kwargs):
if not self.id:
self.order = self.max_order() + 1
if self.order == 0 and not swapping:
raise ValidationError("Can't set 'order' to 0")
super(OrderedModel, self).save(*args, **kwargs)
@classmethod
def swap(cls, obj1, obj2):
tmp, obj2.order = obj2.order, 0
obj2.save(swapping=True)
obj2.order, obj1.order = obj1.order, tmp
obj1.save()
obj2.save()
@classmethod
def max_order(cls):
try:
return cls.objects.order_by('-order').values_list('order', flat=True)[0]
except IndexError:
return 0
|
from django.db import models
from django.core.exceptions import ValidationError
class OrderedModel(models.Model):
order = models.PositiveIntegerField(blank=True, default=1)
class Meta:
abstract = True
ordering = ['order']
def save(self, swapping=False, *args, **kwargs):
if not self.id:
self.order = self.max_order() + 1
if self.order == 0 and not swapping:
raise ValidationError("Can't set 'order' to 0")
super(OrderedModel, self).save(*args, **kwargs)
@classmethod
def swap(cls, obj1, obj2):
tmp, obj2.order = obj2.order, 0
obj2.save(swapping=True)
obj2.order, obj1.order = obj1.order, tmp
obj1.save()
obj2.save()
@classmethod
def max_order(cls):
try:
return cls.objects.order_by('-order').values_list('order', flat=True)[0]
except IndexError:
return 0
|
Remove uniqueness of the order field
|
Remove uniqueness of the order field
This make possible adding the application in existing project
|
Python
|
bsd-3-clause
|
MagicSolutions/django-orderedmodel,MagicSolutions/django-orderedmodel
|
---
+++
@@ -3,7 +3,7 @@
class OrderedModel(models.Model):
- order = models.PositiveIntegerField(blank=True, unique=True)
+ order = models.PositiveIntegerField(blank=True, default=1)
class Meta:
abstract = True
|
174e36358df2522f39154a47f3f79b7dffadb3fd
|
app/services/updater_service.py
|
app/services/updater_service.py
|
from app.system.updater import check_updates, do_upgrade, run_ansible
from app.system.updater import do_reboot
from app.views import SimpleBackgroundView
from .base import BaseService, BlockingServiceStart
class UpdaterService(BaseService, BlockingServiceStart):
def __init__(self, observer=None):
super().__init__(observer=observer)
self._view = SimpleBackgroundView("Checking for updates.")
self._view.args["subtitle"] = "Please wait ..."
def on_service_start(self):
values = check_updates()
for val in values:
self._view.args["subtitle"] = "Working with {}... ".format(str((val)))
self.observer()
do_upgrade([val])
if values:
self._view.args["subtitle"] = "Updating system configuration..."
self.observer()
run_ansible()
self._view.args["subtitle"] = "Restarting..."
self.observer()
do_reboot()
def view(self):
return self._view
|
from os.path import basename
from app.system.updater import check_updates, do_upgrade, run_ansible
from app.system.updater import do_reboot
from app.views import SimpleBackgroundView
from .base import BaseService, BlockingServiceStart
class UpdaterService(BaseService, BlockingServiceStart):
def __init__(self, observer=None):
super().__init__(observer=observer)
self._view = SimpleBackgroundView("Checking for updates.")
self._view.args["subtitle"] = "Please wait ..."
def on_service_start(self):
values = check_updates()
for val in values:
repo_name = basename(val.decode())
self._view.args["subtitle"] = "Working with {}... ".format(repo_name)
self.observer()
do_upgrade([val])
if values:
self._view.args["subtitle"] = "Updating system configuration..."
self.observer()
run_ansible()
self._view.args["subtitle"] = "Restarting..."
self.observer()
do_reboot()
def view(self):
return self._view
|
Use base Repo name in updating UI.
|
Use base Repo name in updating UI.
|
Python
|
mit
|
supersaiyanmode/HomePiServer,supersaiyanmode/HomePiServer,supersaiyanmode/HomePiServer
|
---
+++
@@ -1,3 +1,5 @@
+from os.path import basename
+
from app.system.updater import check_updates, do_upgrade, run_ansible
from app.system.updater import do_reboot
from app.views import SimpleBackgroundView
@@ -13,7 +15,8 @@
def on_service_start(self):
values = check_updates()
for val in values:
- self._view.args["subtitle"] = "Working with {}... ".format(str((val)))
+ repo_name = basename(val.decode())
+ self._view.args["subtitle"] = "Working with {}... ".format(repo_name)
self.observer()
do_upgrade([val])
if values:
|
d64a171dfde57106a5abd7d46990c81c6250b965
|
whitespaceterminator.py
|
whitespaceterminator.py
|
# coding: utf8
# Copyright © 2011 Kozea
# Licensed under a 3-clause BSD license.
"""
Strip trailing whitespace before saving.
"""
from gi.repository import GObject, Gedit
class WhiteSpaceTerminator(GObject.Object, Gedit.WindowActivatable):
"""Strip trailing whitespace before saving."""
window = GObject.property(type=Gedit.Window)
def do_activate(self):
self.window.connect("tab-added", self.on_tab_added)
def on_tab_added(self, window, tab, data=None):
tab.get_document().connect("save", self.on_document_save)
def on_document_save(self, document, location, encoding, compression,
flags, data=None):
for i, text in enumerate(document.props.text.rstrip().split("\n")):
strip_stop = document.get_iter_at_line(i)
strip_stop.forward_to_line_end()
strip_start = strip_stop.copy()
strip_start.backward_chars(len(text) - len(text.rstrip()))
document.delete(strip_start, strip_stop)
document.delete(strip_start, document.get_end_iter())
|
# coding: utf8
# Copyright © 2011 Kozea
# Licensed under a 3-clause BSD license.
"""
Strip trailing whitespace before saving.
"""
from gi.repository import GObject, Gedit
class WhiteSpaceTerminator(GObject.Object, Gedit.WindowActivatable):
"""Strip trailing whitespace before saving."""
window = GObject.property(type=Gedit.Window)
def do_activate(self):
self.window.connect("tab-added", self.on_tab_added)
for document in self.window.get_documents():
document.connect("save", self.on_document_save)
def on_tab_added(self, window, tab, data=None):
tab.get_document().connect("save", self.on_document_save)
def on_document_save(self, document, location, encoding, compression,
flags, data=None):
for i, text in enumerate(document.props.text.rstrip().split("\n")):
strip_stop = document.get_iter_at_line(i)
strip_stop.forward_to_line_end()
strip_start = strip_stop.copy()
strip_start.backward_chars(len(text) - len(text.rstrip()))
document.delete(strip_start, strip_stop)
document.delete(strip_start, document.get_end_iter())
|
Connect on existing tabs when activating the plugin.
|
Connect on existing tabs when activating the plugin.
|
Python
|
bsd-3-clause
|
Kozea/Gedit-WhiteSpace-Terminator
|
---
+++
@@ -16,6 +16,8 @@
def do_activate(self):
self.window.connect("tab-added", self.on_tab_added)
+ for document in self.window.get_documents():
+ document.connect("save", self.on_document_save)
def on_tab_added(self, window, tab, data=None):
tab.get_document().connect("save", self.on_document_save)
|
f4f439f24dceb0c68f05a90196b3e4b525d1aa7a
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import distutils.core
distutils.core.setup(
name='sunburnt',
version='0.4',
description='Python interface to Solr',
author='Toby White',
author_email='toby@timetric.com',
packages=['sunburnt'],
requires=['httplib2', 'lxml', 'pytz'],
license='WTFPL',
)
|
#!/usr/bin/env python
import distutils.core
distutils.core.setup(
name='sunburnt',
version='0.4',
description='Python interface to Solr',
author='Toby White',
author_email='toby@timetric.com',
packages=['sunburnt'],
requires=['httplib2', 'lxml', 'pytz'],
license='WTFPL',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: DFSG approved',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Indexing/Search',
'Topic :: Software Development :: Libraries'],
)
|
Add some trove classifiers to the package metadata
|
Add some trove classifiers to the package metadata
|
Python
|
mit
|
rlskoeser/sunburnt,pixbuffer/sunburnt-spatial,anmar/sunburnt,rlskoeser/sunburnt,pixbuffer/sunburnt-spatial,qmssof/sunburnt,tow/sunburnt,anmar/sunburnt
|
---
+++
@@ -11,4 +11,11 @@
packages=['sunburnt'],
requires=['httplib2', 'lxml', 'pytz'],
license='WTFPL',
+ classifiers=[
+ 'Development Status :: 3 - Alpha',
+ 'Intended Audience :: Developers',
+ 'License :: DFSG approved',
+ 'Programming Language :: Python',
+ 'Topic :: Internet :: WWW/HTTP :: Indexing/Search',
+ 'Topic :: Software Development :: Libraries'],
)
|
b395ec89a82b0c416caa3b0163978e5cf25afb4b
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name="yunomi",
version="0.2.2",
description="A Python metrics library with rate, statistical distribution, and timing information.",
author="richzeng",
author_email="richie.zeng@rackspace.com",
url="https://github.com/richzeng/yunomi",
packages=["yunomi", "yunomi.core", "yunomi.stats"],
install_requires=["unittest2"]
)
|
from setuptools import setup
setup(
name="yunomi",
version="0.2.2",
description="A Python metrics library with rate, statistical distribution, and timing information.",
author="richzeng",
author_email="richie.zeng@rackspace.com",
url="https://github.com/richzeng/yunomi",
packages=["yunomi", "yunomi.core", "yunomi.stats"],
)
|
Remove unittest2 from install requirements
|
Remove unittest2 from install requirements
|
Python
|
mit
|
dreid/yunomi
|
---
+++
@@ -8,5 +8,4 @@
author_email="richie.zeng@rackspace.com",
url="https://github.com/richzeng/yunomi",
packages=["yunomi", "yunomi.core", "yunomi.stats"],
- install_requires=["unittest2"]
)
|
747c912a39f74f51cb5c38176b3e0328938d6d7a
|
setup.py
|
setup.py
|
# Copyright 2021 DeepMind Technologies Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Setup configuration specifying XManager dependencies."""
from setuptools import find_namespace_packages
from setuptools import setup
setup(
name='xmanager',
version='0.1.0',
description='A framework for managing experiments',
author='DeepMind Technologies Limited',
packages=find_namespace_packages(),
include_package_data=True,
package_data={'': ['*.sh', '*.sql']},
python_requires='>=3.7',
install_requires=[
'absl-py',
'async_generator',
'attrs',
'docker',
'google-api-core',
'google-api-python-client',
'google-cloud-aiplatform>=1.4.0',
'google-auth',
'google-cloud-storage',
'humanize',
'immutabledict',
'kubernetes',
'sqlalchemy==1.2',
'termcolor',
],
entry_points={
'console_scripts': ['xmanager = xmanager.cli.cli:entrypoint',],
},
)
|
# Copyright 2021 DeepMind Technologies Limited
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Setup configuration specifying XManager dependencies."""
from setuptools import find_namespace_packages
from setuptools import setup
setup(
name='xmanager',
version='0.1.0',
description='A framework for managing experiments',
author='DeepMind Technologies Limited',
packages=find_namespace_packages(exclude=['examples.*']),
include_package_data=True,
package_data={'': ['*.sh', '*.sql']},
python_requires='>=3.7',
install_requires=[
'absl-py',
'async_generator',
'attrs',
'docker',
'google-api-core',
'google-api-python-client',
'google-auth',
'google-cloud-aiplatform>=1.4.0',
'google-cloud-storage',
'humanize',
'immutabledict',
'kubernetes',
'sqlalchemy==1.2',
'termcolor',
],
entry_points={
'console_scripts': ['xmanager = xmanager.cli.cli:entrypoint',],
},
)
|
Exclude examples from the package installation
|
Exclude examples from the package installation
PiperOrigin-RevId: 398741057
Change-Id: I7fd7921b8275b9f8b8994b0f20f0d40e814c3a23
GitOrigin-RevId: 4ca481ae4f7c6cf62e38a970f13a14716f9661fc
|
Python
|
apache-2.0
|
deepmind/xmanager,deepmind/xmanager
|
---
+++
@@ -21,7 +21,7 @@
version='0.1.0',
description='A framework for managing experiments',
author='DeepMind Technologies Limited',
- packages=find_namespace_packages(),
+ packages=find_namespace_packages(exclude=['examples.*']),
include_package_data=True,
package_data={'': ['*.sh', '*.sql']},
python_requires='>=3.7',
@@ -32,8 +32,8 @@
'docker',
'google-api-core',
'google-api-python-client',
+ 'google-auth',
'google-cloud-aiplatform>=1.4.0',
- 'google-auth',
'google-cloud-storage',
'humanize',
'immutabledict',
|
00ca7bed25582d16cc47ecaa3908226ff7d56b0d
|
moocng/wsgi.py
|
moocng/wsgi.py
|
"""
WSGI config for moocng project.
This module contains the WSGI application used by Django's development server
and any production WSGI deployments. It should expose a module-level variable
named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover
this application via the ``WSGI_APPLICATION`` setting.
Usually you will have the standard Django WSGI application here, but it also
might make sense to replace the whole Django WSGI application with a custom one
that later delegates to the Django one. For example, you could introduce WSGI
middleware here, or combine a Django application with an application of another
framework.
"""
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "moocng.settings")
# This application object is used by any WSGI server configured to use this
# file. This includes Django's development server, if the WSGI_APPLICATION
# setting points here.
#from django.core.wsgi import get_wsgi_application
#application = get_wsgi_application()
# Apply WSGI middleware here.
# from helloworld.wsgi import HelloWorldApplication
# application = HelloWorldApplication(application)
def application(environ, start_response):
virtualenv = environ.get('VIRTUALENV', '/var/www')
activate_this = os.path.join(virtualenv, 'bin', 'activate_this.py')
execfile(activate_this, dict(__file__=activate_this))
from django.core.wsgi import get_wsgi_application
django_app = get_wsgi_application()
return django_app(environ, start_response)
|
"""
WSGI config for moocng project.
This module contains the WSGI application used by Django's development server
and any production WSGI deployments. It should expose a module-level variable
named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover
this application via the ``WSGI_APPLICATION`` setting.
Usually you will have the standard Django WSGI application here, but it also
might make sense to replace the whole Django WSGI application with a custom one
that later delegates to the Django one. For example, you could introduce WSGI
middleware here, or combine a Django application with an application of another
framework.
"""
import os
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "moocng.settings")
# This application object is used by any WSGI server configured to use this
# file. This includes Django's development server, if the WSGI_APPLICATION
# setting points here.
#from django.core.wsgi import get_wsgi_application
#application = get_wsgi_application()
# Apply WSGI middleware here.
# from helloworld.wsgi import HelloWorldApplication
# application = HelloWorldApplication(application)
def application(environ, start_response):
virtualenv = environ.get('VIRTUALENV', None)
if virtualenv is not None:
activate_this = os.path.join(virtualenv, 'bin', 'activate_this.py')
execfile(activate_this, dict(__file__=activate_this))
from django.core.wsgi import get_wsgi_application
django_app = get_wsgi_application()
return django_app(environ, start_response)
|
Allow it to run with runserver if you don't have the VIRTUALENV variable set
|
Allow it to run with runserver if you don't have the VIRTUALENV variable set
|
Python
|
apache-2.0
|
GeographicaGS/moocng,GeographicaGS/moocng,GeographicaGS/moocng,OpenMOOC/moocng,OpenMOOC/moocng,GeographicaGS/moocng
|
---
+++
@@ -28,9 +28,10 @@
# application = HelloWorldApplication(application)
def application(environ, start_response):
- virtualenv = environ.get('VIRTUALENV', '/var/www')
- activate_this = os.path.join(virtualenv, 'bin', 'activate_this.py')
- execfile(activate_this, dict(__file__=activate_this))
+ virtualenv = environ.get('VIRTUALENV', None)
+ if virtualenv is not None:
+ activate_this = os.path.join(virtualenv, 'bin', 'activate_this.py')
+ execfile(activate_this, dict(__file__=activate_this))
from django.core.wsgi import get_wsgi_application
django_app = get_wsgi_application()
|
5158880a371f708ab7eeefcb04a29cf53b2ffcad
|
setup.py
|
setup.py
|
import os
from setuptools import setup, find_packages
f = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
readme = f.read()
f.close()
setup(
name='micawber',
version="0.2.6",
description='a small library for extracting rich content from urls',
long_description=readme,
author='Charles Leifer',
author_email='coleifer@gmail.com',
url='http://github.com/coleifer/micawber/',
packages=find_packages(),
package_data = {
'micawber': [
'contrib/mcdjango/templates/micawber/*.html',
],
'examples': [
#'requirements.txt',
'*/static/*.css',
'*/templates/*.html',
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
],
test_suite='runtests.runtests',
)
|
import os
from setuptools import setup, find_packages
f = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
readme = f.read()
f.close()
setup(
name='micawber',
version="0.2.6",
description='a small library for extracting rich content from urls',
long_description=readme,
author='Charles Leifer',
author_email='coleifer@gmail.com',
url='http://github.com/coleifer/micawber/',
packages=find_packages(),
package_data = {
'micawber': [
'contrib/mcdjango/templates/micawber/*.html',
],
'examples': [
#'requirements.txt',
'*/static/*.css',
'*/templates/*.html',
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Framework :: Django',
],
test_suite='runtests.runtests',
)
|
Add Python version trove classifiers.
|
Add Python version trove classifiers.
|
Python
|
mit
|
coleifer/micawber,coleifer/micawber
|
---
+++
@@ -31,6 +31,10 @@
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
+ 'Programming Language :: Python :: 2.6',
+ 'Programming Language :: Python :: 2.7',
+ 'Programming Language :: Python :: 3.2',
+ 'Programming Language :: Python :: 3.3',
'Framework :: Django',
],
test_suite='runtests.runtests',
|
298e591522c2deb1f24c028d5c851d60bf38de39
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name="testapp",
version="0.1",
description="Example application to be deployed.",
packages=find_packages(),
install_requires=['falcon'],
)
|
from setuptools import setup, find_packages
setup(
name="testapp",
version="0.1",
description="Example application to be deployed.",
packages=find_packages(),
install_requires=['falcon', 'gunicorn'],
)
|
Add gunicorn back to requirements
|
Add gunicorn back to requirements
|
Python
|
apache-2.0
|
brantlk/python-sample-app
|
---
+++
@@ -5,5 +5,5 @@
version="0.1",
description="Example application to be deployed.",
packages=find_packages(),
- install_requires=['falcon'],
+ install_requires=['falcon', 'gunicorn'],
)
|
9822e412eb23b4860bcb24996dc2a912eba07d9c
|
setup.py
|
setup.py
|
import os
from os.path import relpath, join
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def find_package_data(data_root, package_root):
files = []
for root, dirnames, filenames in os.walk(data_root):
for fn in filenames:
files.append(relpath(join(root, fn), package_root))
return files
setup(
name = "smarty",
version = "0.1.5",
author = "John Chodera, David Mobley, and others",
author_email = "john.chodera@choderalab.org",
description = ("Automated Bayesian atomtype sampling"),
license = "MIT",
keywords = "Bayesian atomtype sampling forcefield parameterization",
url = "http://github.com/open-forcefield-group/smarty",
packages=['smarty', 'smarty/tests', 'smarty/data'],
long_description=read('README.md'),
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"License :: OSI Approved :: MIT",
],
entry_points={'console_scripts': ['smarty = smarty.cli_smarty:main', 'smirky = smarty.cli_smirky:main']},
package_data={'smarty': find_package_data('smarty/data', 'smarty')},
)
|
import os
from os.path import relpath, join
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def find_package_data(data_root, package_root):
files = []
for root, dirnames, filenames in os.walk(data_root):
for fn in filenames:
files.append(relpath(join(root, fn), package_root))
return files
setup(
name = "smarty",
version = "0.1.6",
author = "John Chodera, David Mobley, and others",
author_email = "john.chodera@choderalab.org",
description = ("Automated Bayesian atomtype sampling"),
license = "MIT",
keywords = "Bayesian atomtype sampling forcefield parameterization",
url = "http://github.com/open-forcefield-group/smarty",
packages=['smarty', 'smarty/tests', 'smarty/data'],
long_description=read('README.md'),
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"License :: OSI Approved :: MIT",
],
entry_points={'console_scripts': ['smarty = smarty.cli_smarty:main', 'smirky = smarty.cli_smirky:main']},
package_data={'smarty': find_package_data('smarty/data', 'smarty')},
)
|
Increment version number now that 0.1.5 release out.
|
Increment version number now that 0.1.5 release out.
|
Python
|
mit
|
open-forcefield-group/openforcefield,openforcefield/openff-toolkit,openforcefield/openff-toolkit,open-forcefield-group/openforcefield,open-forcefield-group/openforcefield
|
---
+++
@@ -14,7 +14,7 @@
setup(
name = "smarty",
- version = "0.1.5",
+ version = "0.1.6",
author = "John Chodera, David Mobley, and others",
author_email = "john.chodera@choderalab.org",
description = ("Automated Bayesian atomtype sampling"),
|
f97ab0211eaa07080ea946912c66b8b3393151f6
|
setup.py
|
setup.py
|
from setuptools import setup
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='flask-swagger-ui',
version='0.0.1a',
description='Swagger UI blueprint for Flask',
long_description=long_description,
url='https://github.com/sveint/flask-swagger-ui',
author='Svein Tore Koksrud Seljebotn',
author_email='sveint@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
],
keywords='flask swagger',
packages=['flask_swagger_ui'],
package_data={
'flask_swagger_ui': [
'README.md',
'templates/*.html',
'dist/VERSION',
'dist/LICENSE',
'dist/README.md',
'dist/*.html',
'dist/*.js',
'dist/*/*.js',
'dist/*/*.css',
'dist/*/*.gif',
'dist/*/*.png',
'dist/*/*.ico',
'dist/*/*.ttf',
],
}
)
|
from setuptools import setup
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='flask-swagger-ui',
version='0.0.2',
description='Swagger UI blueprint for Flask',
long_description=long_description,
url='https://github.com/sveint/flask-swagger-ui',
author='Svein Tore Koksrud Seljebotn',
author_email='sveint@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
],
keywords='flask swagger',
packages=['flask_swagger_ui'],
package_data={
'flask_swagger_ui': [
'README.md',
'templates/*.html',
'dist/VERSION',
'dist/LICENSE',
'dist/README.md',
'dist/*.html',
'dist/*.js',
'dist/*/*.js',
'dist/*/*.css',
'dist/*/*.gif',
'dist/*/*.png',
'dist/*/*.ico',
'dist/*/*.ttf',
],
}
)
|
Bump version number to 0.0.2
|
Bump version number to 0.0.2
|
Python
|
mit
|
sveint/flask-swagger-ui,sveint/flask-swagger-ui,sveint/flask-swagger-ui
|
---
+++
@@ -10,7 +10,7 @@
setup(
name='flask-swagger-ui',
- version='0.0.1a',
+ version='0.0.2',
description='Swagger UI blueprint for Flask',
long_description=long_description,
|
eb46fab82fc90dc714a5cfa046288d5d4bfcc176
|
setup.py
|
setup.py
|
import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='pcassandra',
version='0.0.3',
packages=[
'pcassandra',
'pcassandra.management',
'pcassandra.management.commands',
'pcassandra.dj18',
'pcassandra.dj18.session',
],
include_package_data=True,
license='BSD License',
description='Utilities to use Cassandra with Django',
long_description=README,
url='https://github.com/hgdeoro/pcassandra',
author='Horacio G. de Oro',
author_email='hgdeoro@gmail.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
|
import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='pcassandra',
version='0.0.4.dev',
packages=[
'pcassandra',
'pcassandra.management',
'pcassandra.management.commands',
'pcassandra.dj18',
'pcassandra.dj18.session',
],
include_package_data=True,
license='BSD License',
description='Utilities to use Cassandra with Django',
long_description=README,
url='https://github.com/hgdeoro/pcassandra',
author='Horacio G. de Oro',
author_email='hgdeoro@gmail.com',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django :: 1.8',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
],
)
|
Bump version - now at v0.0.4.dev
|
Bump version - now at v0.0.4.dev
|
Python
|
bsd-3-clause
|
hgdeoro/pcassandra,hgdeoro/pcassandra
|
---
+++
@@ -9,7 +9,7 @@
setup(
name='pcassandra',
- version='0.0.3',
+ version='0.0.4.dev',
packages=[
'pcassandra',
'pcassandra.management',
@@ -25,8 +25,9 @@
author='Horacio G. de Oro',
author_email='hgdeoro@gmail.com',
classifiers=[
+ 'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
- 'Framework :: Django',
+ 'Framework :: Django :: 1.8',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
@@ -35,5 +36,6 @@
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
+ 'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
],
)
|
5543655eec9a71a1a978d70c8381aa3bef1d9a1f
|
setup.py
|
setup.py
|
from distutils.core import setup
setup(name='pyresttest',
version='1.6.0',
description='Python RESTful API Testing & Microbenchmarking Tool',
long_description='Python RESTful API Testing & Microbenchmarking Tool \n Documentation at https://github.com/svanoort/pyresttest',
maintainer='Sam Van Oort',
maintainer_email='samvanoort@gmail.com',
url='https://github.com/svanoort/pyresttest',
keywords=['rest', 'web', 'http', 'testing'],
classifiers=[
'Environment :: Console',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Testing',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Utilities'
],
py_modules=['pyresttest.resttest', 'pyresttest.generators', 'pyresttest.binding',
'pyresttest.parsing', 'pyresttest.validators', 'pyresttest.contenthandling',
'pyresttest.benchmarks', 'pyresttest.tests', 'pyresttest.ext.validator_jsonschema'],
license='Apache License, Version 2.0',
install_requires=['pyyaml', 'pycurl'],
# Make this executable from command line when installed
scripts=['util/pyresttest', 'util/resttest.py'],
provides=['pyresttest']
)
|
from distutils.core import setup
setup(name='pyresttest',
version='1.6.1.dev',
description='Python RESTful API Testing & Microbenchmarking Tool',
long_description='Python RESTful API Testing & Microbenchmarking Tool \n Documentation at https://github.com/svanoort/pyresttest',
maintainer='Sam Van Oort',
maintainer_email='samvanoort@gmail.com',
url='https://github.com/svanoort/pyresttest',
keywords=['rest', 'web', 'http', 'testing'],
classifiers=[
'Environment :: Console',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Testing',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Utilities'
],
py_modules=['pyresttest.resttest', 'pyresttest.generators', 'pyresttest.binding',
'pyresttest.parsing', 'pyresttest.validators', 'pyresttest.contenthandling',
'pyresttest.benchmarks', 'pyresttest.tests', 'pyresttest.ext.validator_jsonschema'],
license='Apache License, Version 2.0',
install_requires=['pyyaml', 'pycurl'],
# Make this executable from command line when installed
scripts=['util/pyresttest', 'util/resttest.py'],
provides=['pyresttest']
)
|
Bump version for next release
|
Bump version for next release
|
Python
|
apache-2.0
|
svanoort/pyresttest,netjunki/pyresttest,svanoort/pyresttest,satish-suradkar/pyresttest,satish-suradkar/pyresttest,netjunki/pyresttest
|
---
+++
@@ -1,7 +1,7 @@
from distutils.core import setup
setup(name='pyresttest',
- version='1.6.0',
+ version='1.6.1.dev',
description='Python RESTful API Testing & Microbenchmarking Tool',
long_description='Python RESTful API Testing & Microbenchmarking Tool \n Documentation at https://github.com/svanoort/pyresttest',
maintainer='Sam Van Oort',
|
e3e4334788457ae60d8834862ba0b4aece511be7
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='pymks',
version='0.1-dev',
description='Package for Materials Knowledge System (MKS) regression tutorial',
author='Daniel Wheeler',
author_email='daniel.wheeler2@gmail.com',
url='http://wd15.github.com/pymks',
packages=find_packages(),
package_data = {'' : ['tests/*.py']}
)
|
#!/usr/bin/env python
import subprocess
from setuptools import setup, find_packages
import os
def git_version():
def _minimal_ext_cmd(cmd):
# construct minimal environment
env = {}
for k in ['SYSTEMROOT', 'PATH']:
v = os.environ.get(k)
if v is not None:
env[k] = v
# LANGUAGE is used on win32
env['LANGUAGE'] = 'C'
env['LANG'] = 'C'
env['LC_ALL'] = 'C'
out = subprocess.Popen(cmd, stdout = subprocess.PIPE, env=env).communicate()[0]
return out
try:
out = _minimal_ext_cmd(['git', 'rev-parse', 'HEAD'])
GIT_REVISION = out.strip().decode('ascii')
except OSError:
GIT_REVISION = ""
return GIT_REVISION
def getVersion(version, release=False):
if release:
return version
else:
return version + '-dev' + git_version()[:7]
setup(name='pymks',
version=getVersion('0.1'),
description='Package for the Materials Knowledge System (MKS)',
author='Daniel Wheeler',
author_email='daniel.wheeler2@gmail.com',
url='http://pymks.org',
packages=find_packages(),
package_data = {'' : ['tests/*.py']}
)
|
Include git sha in version number
|
Include git sha in version number
Address #82
Git sha is now in the version number
|
Python
|
mit
|
awhite40/pymks,davidbrough1/pymks,XinyiGong/pymks,fredhohman/pymks,davidbrough1/pymks
|
---
+++
@@ -1,12 +1,45 @@
#!/usr/bin/env python
+import subprocess
from setuptools import setup, find_packages
+import os
+
+
+def git_version():
+ def _minimal_ext_cmd(cmd):
+ # construct minimal environment
+ env = {}
+ for k in ['SYSTEMROOT', 'PATH']:
+ v = os.environ.get(k)
+ if v is not None:
+ env[k] = v
+ # LANGUAGE is used on win32
+ env['LANGUAGE'] = 'C'
+ env['LANG'] = 'C'
+ env['LC_ALL'] = 'C'
+ out = subprocess.Popen(cmd, stdout = subprocess.PIPE, env=env).communicate()[0]
+ return out
+
+ try:
+ out = _minimal_ext_cmd(['git', 'rev-parse', 'HEAD'])
+ GIT_REVISION = out.strip().decode('ascii')
+ except OSError:
+ GIT_REVISION = ""
+
+ return GIT_REVISION
+
+def getVersion(version, release=False):
+ if release:
+ return version
+ else:
+ return version + '-dev' + git_version()[:7]
+
setup(name='pymks',
- version='0.1-dev',
- description='Package for Materials Knowledge System (MKS) regression tutorial',
+ version=getVersion('0.1'),
+ description='Package for the Materials Knowledge System (MKS)',
author='Daniel Wheeler',
author_email='daniel.wheeler2@gmail.com',
- url='http://wd15.github.com/pymks',
+ url='http://pymks.org',
packages=find_packages(),
package_data = {'' : ['tests/*.py']}
)
|
31bbe03929ff43705fb8f62e9b0a13b7a0195a7c
|
setup.py
|
setup.py
|
import os
from setuptools import setup
HERE = os.path.abspath(os.path.dirname(__file__))
VERSION_NS = {}
with open(os.path.join(HERE, 'lc_wrapper', '_version.py')) as f:
exec(f.read(), {}, VERSION_NS)
setup(
name='lc_wrapper',
version=VERSION_NS['__version__'],
packages=['lc_wrapper', 'lc_wrapper.ipython', 'lc_wrapper.bash'],
install_requires=['ipykernel>=4.0.0', 'jupyter_client', 'python-dateutil', 'fluent-logger'],
description='Kernel Wrapper for Literate Computing',
author='NII Cloud Operation Team',
url='https://github.com/NII-cloud-operation/',
include_package_data=True,
zip_safe=False,
entry_points = {
'console_scripts': [
'jupyter-wrapper-kernelspec = lc_wrapper.kernelspecapp:LCWrapperKernelSpecApp.launch_instance'
]
}
)
|
import os
from setuptools import setup
HERE = os.path.abspath(os.path.dirname(__file__))
VERSION_NS = {}
with open(os.path.join(HERE, 'lc_wrapper', '_version.py')) as f:
exec(f.read(), {}, VERSION_NS)
setup(
name='lc_wrapper',
version=VERSION_NS['__version__'],
packages=['lc_wrapper', 'lc_wrapper.ipython', 'lc_wrapper.bash'],
install_requires=[
'ipykernel>=4.0.0',
'jupyter_client!=7.0.0,!=7.0.1,!=7.0.2,!=7.0.3',
'python-dateutil',
'fluent-logger'
],
description='Kernel Wrapper for Literate Computing',
author='NII Cloud Operation Team',
url='https://github.com/NII-cloud-operation/',
include_package_data=True,
zip_safe=False,
entry_points = {
'console_scripts': [
'jupyter-wrapper-kernelspec = lc_wrapper.kernelspecapp:LCWrapperKernelSpecApp.launch_instance'
]
}
)
|
Exclude jupyter_client incompatibility versions from install_requires
|
Exclude jupyter_client incompatibility versions from install_requires
|
Python
|
bsd-3-clause
|
NII-cloud-operation/Jupyter-LC_wrapper,NII-cloud-operation/Jupyter-LC_wrapper
|
---
+++
@@ -11,7 +11,12 @@
name='lc_wrapper',
version=VERSION_NS['__version__'],
packages=['lc_wrapper', 'lc_wrapper.ipython', 'lc_wrapper.bash'],
- install_requires=['ipykernel>=4.0.0', 'jupyter_client', 'python-dateutil', 'fluent-logger'],
+ install_requires=[
+ 'ipykernel>=4.0.0',
+ 'jupyter_client!=7.0.0,!=7.0.1,!=7.0.2,!=7.0.3',
+ 'python-dateutil',
+ 'fluent-logger'
+ ],
description='Kernel Wrapper for Literate Computing',
author='NII Cloud Operation Team',
url='https://github.com/NII-cloud-operation/',
|
411dc08c79ec3fb3a6ff70b2c99b0eb6cbc49ade
|
setup.py
|
setup.py
|
from setuptools import Extension, setup
from Cython.Build import cythonize
from sys import platform
from distutils.sysconfig import get_config_vars
import os
(opt,) = get_config_vars('OPT')
if opt:
os.environ['OPT'] = " ".join(flag for flag in opt.split() if flag != '-Wstrict-prototypes')
incl = ['./include']
extrac = []
if platform == 'win32':
rldirs = []
extrac.append('/EHsc')
elif platform == 'darwin':
rldirs = []
else:
rldirs = ["$ORIGIN"]
extrac.extend(["-w", "-O3"])
setup(
name="cycgkit",
packages=["cycgkit", 'cycgkit.cgtypes', 'cycgkit.boundingbox'],
ext_modules=cythonize([
Extension('cycgkit.cgtypes.*', ["cycgkit/cgtypes/*.pyx", './src/vec3.cpp'],
include_dirs=incl,
runtime_library_dirs=rldirs,
extra_compile_args=extrac,
language="c++"),
Extension('cycgkit.boundingbox', ["cycgkit/boundingbox.pyx", './src/boundingbox.cpp', './src/vec3.cpp'],
include_dirs=incl,
runtime_library_dirs=rldirs,
extra_compile_args=extrac,
language="c++")
]),
)
|
from setuptools import Extension, setup
from Cython.Build import cythonize
from sys import platform
from distutils.sysconfig import get_config_vars
import os
(opt,) = get_config_vars('OPT')
if opt:
os.environ['OPT'] = " ".join(flag for flag in opt.split() if flag != '-Wstrict-prototypes')
incl = ['./include']
extrac = []
if platform == 'win32':
rldirs = []
extrac.append('/EHsc')
elif platform == 'darwin':
rldirs = []
else:
rldirs = ["$ORIGIN"]
extrac.extend(["-w", "-O3"])
setup(
name="cycgkit",
packages=["cycgkit", 'cycgkit.cgtypes'],
ext_modules=cythonize([
Extension('cycgkit.cgtypes.*', ["cycgkit/cgtypes/*.pyx", './src/vec3.cpp'],
include_dirs=incl,
runtime_library_dirs=rldirs,
extra_compile_args=extrac,
language="c++"),
Extension('cycgkit.boundingbox', ["cycgkit/boundingbox.pyx", './src/boundingbox.cpp', './src/vec3.cpp'],
include_dirs=incl,
runtime_library_dirs=rldirs,
extra_compile_args=extrac,
language="c++")
]),
)
|
Fix to install extension 'cycgkit.boundingbox'.
|
Fix to install extension 'cycgkit.boundingbox'.
|
Python
|
mit
|
jr-garcia/cyCGkit_minimal,jr-garcia/cyCGkit_minimal,jr-garcia/cyCGkit_minimal
|
---
+++
@@ -23,7 +23,7 @@
setup(
name="cycgkit",
- packages=["cycgkit", 'cycgkit.cgtypes', 'cycgkit.boundingbox'],
+ packages=["cycgkit", 'cycgkit.cgtypes'],
ext_modules=cythonize([
Extension('cycgkit.cgtypes.*', ["cycgkit/cgtypes/*.pyx", './src/vec3.cpp'],
include_dirs=incl,
|
a9075095c4490e61cc29932850ef6dcbf8dff0c8
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as f:
readme = f.read()
setup(
name='whatthepatch',
version='0.0.3',
description='A patch parsing library.',
long_description=readme,
author='Christopher S. Corley',
author_email='cscorley@crimson.ua.edu',
url='https://github.com/cscorley/whatthepatch',
license='MIT',
packages=['whatthepatch'],
include_package_data=True,
keywords=[
"patch",
"diff",
"parser",
],
classifiers=[
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Version Control",
"Topic :: Text Processing",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
],
)
|
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as f:
readme = f.read()
setup(
name='whatthepatch',
version='0.0.3',
description='A patch parsing library.',
long_description=readme,
author='Christopher S. Corley',
author_email='cscorley@crimson.ua.edu',
url='https://github.com/cscorley/whatthepatch',
license='MIT',
packages=['whatthepatch'],
include_package_data=True,
keywords=[
"patch",
"diff",
"parser",
],
classifiers=[
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Version Control",
"Topic :: Text Processing",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
],
)
|
Add 3.5 to PyPI info
|
Add 3.5 to PyPI info
|
Python
|
mit
|
cscorley/whatthepatch
|
---
+++
@@ -42,6 +42,7 @@
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
+ "Programming Language :: Python :: 3.5",
],
)
|
0a4236439dd8d73f5428f9a21e172f4d78280342
|
setup.py
|
setup.py
|
import os
import setuptools
setuptools.setup(
name='factory_djoy',
version='0.5',
description='Factories for Django, creating valid instances every time',
url='http://github.com/jamescooke/factory_djoy',
author='James Cooke',
author_email='github@jamescooke.info',
license='MIT',
packages=setuptools.find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
install_requires=[
'Django>=1.8',
'factory_boy>=2.7',
],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Framework :: Django',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development :: Testing',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
import os
import setuptools
setuptools.setup(
name='factory_djoy',
version='0.5',
description='Factories for Django, creating valid instances every time',
url='http://github.com/jamescooke/factory_djoy',
author='James Cooke',
author_email='github@jamescooke.info',
license='MIT',
packages=setuptools.find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
install_requires=[
'Django>=1.8',
'factory_boy>=2.7',
],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Framework :: Django',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development :: Testing',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
Add plain Python 2 and 3 to package metadata
|
Add plain Python 2 and 3 to package metadata
|
Python
|
mit
|
jamescooke/factory_djoy
|
---
+++
@@ -26,7 +26,9 @@
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
+ 'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
+ 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development :: Testing',
|
72422be6af89c5a8d4256f5b15ac216f3545f058
|
setup.py
|
setup.py
|
# -*- coding: UTF-8 -*-
from distutils.core import setup
from setuptools import find_packages
#import time
#_version = "3.0.dev%s" % int(time.time())
_version = "3.0.0"
_packages = find_packages('.', exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
setup(
name='laterpay-client',
version=_version,
description="LaterPay API client",
long_description=open("README.rst").read(),
author="LaterPay GmbH",
author_email="support@laterpay.net",
url="https://github.com/laterpay/laterpay-client-python",
license='MIT',
keywords="LaterPay API client",
test_suite="test_client",
packages=_packages,
package_data={'laterpay.django': ['templates/laterpay/inclusion/*']},
classifiers=(
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Topic :: Software Development :: Libraries :: Python Modules",
),
)
|
# -*- coding: UTF-8 -*-
from distutils.core import setup
from setuptools import find_packages
import codecs
#import time
#_version = "3.0.dev%s" % int(time.time())
_version = "3.0.0"
_packages = find_packages('.', exclude=["*.tests", "*.tests.*", "tests.*", "tests"])
setup(
name='laterpay-client',
version=_version,
description="LaterPay API client",
long_description=codecs.open("README.rst", encoding='utf-8').read(),
author="LaterPay GmbH",
author_email="support@laterpay.net",
url="https://github.com/laterpay/laterpay-client-python",
license='MIT',
keywords="LaterPay API client",
test_suite="test_client",
packages=_packages,
package_data={'laterpay.django': ['templates/laterpay/inclusion/*']},
classifiers=(
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Topic :: Software Development :: Libraries :: Python Modules",
),
)
|
Use codecs to handle README encoding
|
Use codecs to handle README encoding
|
Python
|
mit
|
laterpay/laterpay-client-python
|
---
+++
@@ -1,6 +1,8 @@
# -*- coding: UTF-8 -*-
from distutils.core import setup
from setuptools import find_packages
+
+import codecs
#import time
#_version = "3.0.dev%s" % int(time.time())
@@ -12,7 +14,7 @@
version=_version,
description="LaterPay API client",
- long_description=open("README.rst").read(),
+ long_description=codecs.open("README.rst", encoding='utf-8').read(),
author="LaterPay GmbH",
author_email="support@laterpay.net",
url="https://github.com/laterpay/laterpay-client-python",
|
c2931c9f04e73f7b871359a678e1f0b110aa833e
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup, find_packages
from cron_sentry.version import VERSION
setup(
name='cron-sentry',
version=VERSION,
author='Yipit Coders',
author_email='coders@yipit.com',
description='Cron-Sentry is a command-line wrapper that reports unsuccessful runs to Sentry (https://www.getsentry.com)',
long_description=open('README.md').read(),
license='MIT',
classifiers=[
'Topic :: Utilities',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
],
url='http://github.com/yipit/cron-sentry',
packages=find_packages(),
install_requires=['raven', 'argparse'],
data_files=[],
entry_points={
'console_scripts': [
# `raven-cron` entry point is for backwards compatibility purposes.
# it should get removed in future releases
'raven-cron = cron_sentry.runner:run',
'cron-sentry = cron_sentry.runner:run',
]
}
)
|
#!/usr/bin/env python
from setuptools import setup, find_packages
from sys import version_info
from cron_sentry.version import VERSION
requirements = ['raven']
if version_info < (2, 7, 0):
requirements.append('argparse')
setup(
name='cron-sentry',
version=VERSION,
author='Yipit Coders',
author_email='coders@yipit.com',
description='Cron-Sentry is a command-line wrapper that reports unsuccessful runs to Sentry (https://www.getsentry.com)',
long_description=open('README.md').read(),
license='MIT',
classifiers=[
'Topic :: Utilities',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
],
url='http://github.com/yipit/cron-sentry',
packages=find_packages(),
install_requires=requirements,
data_files=[],
entry_points={
'console_scripts': [
# `raven-cron` entry point is for backwards compatibility purposes.
# it should get removed in future releases
'raven-cron = cron_sentry.runner:run',
'cron-sentry = cron_sentry.runner:run',
]
}
)
|
Change argparse requirement to only apply to python versions less than 2.7
|
Change argparse requirement to only apply to python versions less than 2.7
|
Python
|
mit
|
ciiol/cron-sentry,sysadmind/cron-sentry
|
---
+++
@@ -1,6 +1,11 @@
#!/usr/bin/env python
from setuptools import setup, find_packages
+from sys import version_info
from cron_sentry.version import VERSION
+
+requirements = ['raven']
+if version_info < (2, 7, 0):
+ requirements.append('argparse')
setup(
name='cron-sentry',
@@ -18,7 +23,7 @@
],
url='http://github.com/yipit/cron-sentry',
packages=find_packages(),
- install_requires=['raven', 'argparse'],
+ install_requires=requirements,
data_files=[],
entry_points={
'console_scripts': [
|
5e9619556d4d3403a314dba0aa0975b0ed5c7205
|
setup.py
|
setup.py
|
from distutils.core import setup
setup(
name='txZMQ',
version=open('VERSION').read().strip(),
packages=['txzmq', 'txzmq.test'],
license='GPLv2',
author='Andrey Smirnov',
author_email='me@smira.ru',
url='https://github.com/smira/txZMQ',
description='Twisted bindings for ZeroMQ',
long_description=open('README.rst').read(),
install_requires=["Twisted>=10.0", "pyzmq>=13"],
)
|
import io
from distutils.core import setup
setup(
name='txZMQ',
version=io.open('VERSION', encoding='utf-8').read().strip(),
packages=['txzmq', 'txzmq.test'],
license='GPLv2',
author='Andrey Smirnov',
author_email='me@smira.ru',
url='https://github.com/smira/txZMQ',
description='Twisted bindings for ZeroMQ',
long_description=io.open('README.rst', encoding='utf-8').read(),
install_requires=["Twisted>=10.0", "pyzmq>=13"],
)
|
Use io.open when reading UTF-8 encoded file for Python3 compatibility.
|
Use io.open when reading UTF-8 encoded file for Python3 compatibility.
This way both Python2 and Python3 can use setup.py to handle the package.
|
Python
|
mpl-2.0
|
smira/txZMQ
|
---
+++
@@ -1,14 +1,16 @@
+import io
+
from distutils.core import setup
setup(
name='txZMQ',
- version=open('VERSION').read().strip(),
+ version=io.open('VERSION', encoding='utf-8').read().strip(),
packages=['txzmq', 'txzmq.test'],
license='GPLv2',
author='Andrey Smirnov',
author_email='me@smira.ru',
url='https://github.com/smira/txZMQ',
description='Twisted bindings for ZeroMQ',
- long_description=open('README.rst').read(),
+ long_description=io.open('README.rst', encoding='utf-8').read(),
install_requires=["Twisted>=10.0", "pyzmq>=13"],
)
|
7acd0f07522aa1752585f519109129f9e9b8687e
|
h2o-py/tests/testdir_algos/deeplearning/pyunit_iris_basic_deeplearning.py
|
h2o-py/tests/testdir_algos/deeplearning/pyunit_iris_basic_deeplearning.py
|
from builtins import range
import sys, os
sys.path.insert(1, os.path.join("..",".."))
import h2o
from tests import pyunit_utils
from h2o.estimators.deeplearning import H2ODeepLearningEstimator
def deeplearning_basic():
iris_hex = h2o.import_file(path=pyunit_utils.locate("smalldata/iris/iris.csv"))
hh = H2ODeepLearningEstimator(loss="CrossEntropy")
hh.train(x=list(range(3)), y=4, training_frame=iris_hex)
hh.show()
if __name__ == "__main__":
pyunit_utils.standalone_test(deeplearning_basic)
else:
deeplearning_basic()
|
from builtins import range
import sys, os
sys.path.insert(1, "../../../")
import h2o
from tests import pyunit_utils
from h2o.estimators.deeplearning import H2ODeepLearningEstimator
def deeplearning_basic():
iris_hex = h2o.import_file(path=pyunit_utils.locate("smalldata/iris/iris.csv"))
hh = H2ODeepLearningEstimator(loss="CrossEntropy")
hh.train(x=list(range(3)), y=4, training_frame=iris_hex)
hh.show()
if __name__ == "__main__":
pyunit_utils.standalone_test(deeplearning_basic)
else:
deeplearning_basic()
|
Make sure pyuni_iris_basic_deeplearning can also run locally
|
Make sure pyuni_iris_basic_deeplearning can also run locally
|
Python
|
apache-2.0
|
jangorecki/h2o-3,h2oai/h2o-3,mathemage/h2o-3,mathemage/h2o-3,jangorecki/h2o-3,h2oai/h2o-3,h2oai/h2o-3,michalkurka/h2o-3,h2oai/h2o-3,michalkurka/h2o-3,michalkurka/h2o-3,h2oai/h2o-dev,h2oai/h2o-3,mathemage/h2o-3,michalkurka/h2o-3,spennihana/h2o-3,h2oai/h2o-3,h2oai/h2o-dev,mathemage/h2o-3,h2oai/h2o-dev,michalkurka/h2o-3,michalkurka/h2o-3,jangorecki/h2o-3,spennihana/h2o-3,h2oai/h2o-dev,h2oai/h2o-dev,michalkurka/h2o-3,spennihana/h2o-3,jangorecki/h2o-3,spennihana/h2o-3,h2oai/h2o-dev,jangorecki/h2o-3,spennihana/h2o-3,spennihana/h2o-3,jangorecki/h2o-3,spennihana/h2o-3,h2oai/h2o-dev,mathemage/h2o-3,mathemage/h2o-3,h2oai/h2o-3,jangorecki/h2o-3,mathemage/h2o-3,h2oai/h2o-3
|
---
+++
@@ -1,6 +1,6 @@
from builtins import range
import sys, os
-sys.path.insert(1, os.path.join("..",".."))
+sys.path.insert(1, "../../../")
import h2o
from tests import pyunit_utils
from h2o.estimators.deeplearning import H2ODeepLearningEstimator
|
548329d5366e9b0f037a1df59efaeb6b36b5987d
|
aux2mongodb/auxservices/base.py
|
aux2mongodb/auxservices/base.py
|
from astropy.table import Table
import os
class AuxService:
renames = {}
ignored_columns = []
transforms = {}
basename = 'AUX_SERVICE'
def __init__(self, auxdir='/fact/aux'):
self.auxdir = auxdir
self.filename_template = os.path.join(
self.auxdir, '{date:%Y}', '{date:%m}', '{date:%d}',
'{date:%Y%m%d}.' + self.basename + '.fits'
)
def read(self, date):
filename = self.filename_template.format(date=date)
df = Table.read(filename).to_pandas()
df.drop(self.ignored_columns, axis=1, inplace=True)
df.rename(columns=self.renames, inplace=True)
for key, transform in self.transforms.items():
df[key] = transform(df[key])
return df
|
from astropy.table import Table
import os
class AuxService:
renames = {}
ignored_columns = []
transforms = {}
basename = 'AUX_SERVICE'
def __init__(self, auxdir='/fact/aux'):
self.auxdir = auxdir
self.filename_template = os.path.join(
self.auxdir, '{date:%Y}', '{date:%m}', '{date:%d}',
'{date:%Y%m%d}.' + self.basename + '.fits'
)
def read_file(self, filename):
df = Table.read(filename).to_pandas()
df.drop(self.ignored_columns, axis=1, inplace=True)
df.rename(columns=self.renames, inplace=True)
for key, transform in self.transforms.items():
df[key] = transform(df[key])
return df
def read_date(self, date):
filename = self.filename_template.format(date=date)
return self.read_file(filename)
|
Add method to read from filename
|
Add method to read from filename
|
Python
|
mit
|
fact-project/aux2mongodb
|
---
+++
@@ -16,9 +16,7 @@
'{date:%Y%m%d}.' + self.basename + '.fits'
)
- def read(self, date):
-
- filename = self.filename_template.format(date=date)
+ def read_file(self, filename):
df = Table.read(filename).to_pandas()
df.drop(self.ignored_columns, axis=1, inplace=True)
@@ -28,3 +26,8 @@
df[key] = transform(df[key])
return df
+
+ def read_date(self, date):
+
+ filename = self.filename_template.format(date=date)
+ return self.read_file(filename)
|
4b0a51dcfb1b71975d0064f0ce58d68660d45a13
|
manage.py
|
manage.py
|
from os.path import abspath
from flask import current_app as app
from app import create_app
# from app.model import init_db
from flask.ext.script import Manager
manager = Manager(create_app)
manager.add_option('-m', '--cfgmode', dest='config_mode', default='Development')
manager.add_option('-f', '--cfgfile', dest='config_file', type=abspath)
@manager.command
def createdb():
with app.app_context():
"""Creates database"""
db.create_all()
print 'Database created'
@manager.command
def cleardb():
with app.app_context():
"""Clears database"""
db.drop_all()
print 'Database cleared'
@manager.command
def initdb():
with app.app_context():
"""Initializes database with test data"""
if prompt_bool('Are you sure you want to replace all data?'):
init_db()
print 'Database initialized'
else:
print 'Database initialization aborted'
if __name__ == '__main__':
manager.run()
|
from os.path import abspath
from flask import current_app as app
from app import create_app, db
# from app.model import init_db
from flask.ext.script import Manager
manager = Manager(create_app)
manager.add_option('-m', '--cfgmode', dest='config_mode', default='Development')
manager.add_option('-f', '--cfgfile', dest='config_file', type=abspath)
@manager.command
def createdb():
with app.app_context():
"""Creates database"""
db.create_all()
print 'Database created'
@manager.command
def cleardb():
with app.app_context():
"""Clears database"""
db.drop_all()
print 'Database cleared'
@manager.command
def resetdb():
with app.app_context():
"""Resets database"""
db.drop_all()
db.create_all()
print 'Database reset'
@manager.command
def initdb():
with app.app_context():
"""Initializes database with test data"""
if prompt_bool('Are you sure you want to replace all data?'):
init_db()
print 'Database initialized'
else:
print 'Database initialization aborted'
if __name__ == '__main__':
manager.run()
|
Add restdb function and db variable
|
Add restdb function and db variable
|
Python
|
mit
|
nerevu/prometheus-api,nerevu/prometheus-api,nerevu/prometheus-api
|
---
+++
@@ -1,7 +1,7 @@
from os.path import abspath
from flask import current_app as app
-from app import create_app
+from app import create_app, db
# from app.model import init_db
from flask.ext.script import Manager
@@ -26,6 +26,15 @@
print 'Database cleared'
@manager.command
+def resetdb():
+ with app.app_context():
+
+ """Resets database"""
+ db.drop_all()
+ db.create_all()
+ print 'Database reset'
+
+@manager.command
def initdb():
with app.app_context():
|
aae5c02f8642eec08e87c102b7d255fb74b86c94
|
pyluos/modules/led.py
|
pyluos/modules/led.py
|
from .module import Module, interact
class Led(Module):
def __init__(self, id, alias, robot):
Module.__init__(self, 'LED', id, alias, robot)
self.color = (0, 0, 0)
@property
def color(self):
return self._value
@color.setter
def color(self, new_color):
if new_color != self._value:
self._value = new_color
self._push_value('rgb', new_color)
def control(self):
def change_color(red, green, blue):
self.color = (red, green, blue)
return interact(change_color,
red=(0, 255, 1),
green=(0, 255, 1),
blue=(0, 255, 1))
|
from .module import Module, interact
class Led(Module):
def __init__(self, id, alias, robot):
Module.__init__(self, 'LED', id, alias, robot)
self.color = (0, 0, 0)
@property
def color(self):
return self._value
@color.setter
def color(self, new_color):
new_color = [int(min(max(c, 0), 255)) for c in new_color]
if new_color != self._value:
self._value = new_color
self._push_value('rgb', new_color)
def control(self):
def change_color(red, green, blue):
self.color = (red, green, blue)
return interact(change_color,
red=(0, 255, 1),
green=(0, 255, 1),
blue=(0, 255, 1))
|
Make sur the rgb values are within [0, 255] range.
|
Make sur the rgb values are within [0, 255] range.
|
Python
|
mit
|
pollen/pyrobus
|
---
+++
@@ -12,6 +12,8 @@
@color.setter
def color(self, new_color):
+ new_color = [int(min(max(c, 0), 255)) for c in new_color]
+
if new_color != self._value:
self._value = new_color
self._push_value('rgb', new_color)
|
29f6e1c46179257b6604a4314855b0347bc312ad
|
src/config.py
|
src/config.py
|
import json
import jsoncomment
class Config:
def __init_config_from_file(self, path):
with open(path) as f:
for k, v in jsoncomment.JsonComment(json).loads(f.read()).items():
self.__config[k] = v
def __init__(self, config):
self.__config = config
def __getitem__(self, path):
config = self.__config
keys = path.split('.')
try:
for key in keys[:-1]:
value = config[key]
if isinstance(value, dict):
config = value
else:
raise KeyError
return Config.subConfig(config[keys[-1]])
except KeyError:
raise KeyError(path)
def get(self, path, default=None):
try:
return self.__getitem__(path)
except KeyError:
return default
def __getattr__(self, key):
return Config.subConfig(self.config[key])
def __str__(self):
return self.__config.__str__()
def __repr__(self):
return self.__config.__repr__()
@staticmethod
def subConfig(value):
if isinstance(value, dict):
return Config(value)
else:
return value
@staticmethod
def fromfile(path, fallback_path):
config = Config({})
fallback_path = os.path.join(os.path.abspath(os.path.dirname(sys.argv[0])), "../config.json")
config.__init_config_from_file(fallback_path)
if path is not None:
config.__init_config_from_file(path)
return config
def load(path, fallback_path):
assert(fallback_path is not None)
return Config.fromfile(path, fallback_path)
|
import json
import jsoncomment
class Config:
def __init_config_from_file(self, path):
with open(path) as f:
for k, v in jsoncomment.JsonComment(json).loads(f.read()).items():
self.__config[k] = v
def __init__(self, config):
self.__config = config
def __getitem__(self, path):
config = self.__config
keys = path.split('.')
try:
for key in keys[:-1]:
value = config[key]
if isinstance(value, dict):
config = value
else:
raise KeyError
return Config.subConfig(config[keys[-1]])
except KeyError:
raise KeyError(path)
def get(self, path, default=None):
try:
return self.__getitem__(path)
except KeyError:
return default
def __getattr__(self, key):
return Config.subConfig(self.config[key])
def __str__(self):
return self.__config.__str__()
def __repr__(self):
return self.__config.__repr__()
@staticmethod
def subConfig(value):
if isinstance(value, dict):
return Config(value)
else:
return value
@staticmethod
def fromfile(path, fallback_path):
config = Config({})
config.__init_config_from_file(fallback_path)
if path is not None:
config.__init_config_from_file(path)
return config
def load(path, fallback_path):
assert(fallback_path is not None)
return Config.fromfile(path, fallback_path)
|
Remove 'fallback_path' handling from Config class
|
Remove 'fallback_path' handling from Config class
|
Python
|
mit
|
sbobek/achievement-unlocked
|
---
+++
@@ -50,7 +50,6 @@
@staticmethod
def fromfile(path, fallback_path):
config = Config({})
- fallback_path = os.path.join(os.path.abspath(os.path.dirname(sys.argv[0])), "../config.json")
config.__init_config_from_file(fallback_path)
if path is not None:
config.__init_config_from_file(path)
|
45da9e9d3eb2d8bba089c9a064e1a7c259da131a
|
bayespy/__init__.py
|
bayespy/__init__.py
|
######################################################################
# Copyright (C) 2011-2013 Jaakko Luttinen
#
# This file is licensed under Version 3.0 of the GNU General Public
# License. See LICENSE for a text of the license.
######################################################################
######################################################################
# This file is part of BayesPy.
#
# BayesPy is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 3 as
# published by the Free Software Foundation.
#
# BayesPy is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with BayesPy. If not, see <http://www.gnu.org/licenses/>.
######################################################################
from . import utils
from . import inference
from . import nodes
# Currently, model construction and the inference network are not separated so
# the model is constructed using variational message passing nodes.
#from .inference.vmp import nodes
|
######################################################################
# Copyright (C) 2011-2013 Jaakko Luttinen
#
# This file is licensed under Version 3.0 of the GNU General Public
# License. See LICENSE for a text of the license.
######################################################################
######################################################################
# This file is part of BayesPy.
#
# BayesPy is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 3 as
# published by the Free Software Foundation.
#
# BayesPy is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with BayesPy. If not, see <http://www.gnu.org/licenses/>.
######################################################################
from . import utils
from . import inference
from . import nodes
from . import plot
|
Add plot module to automatically loaded modules
|
ENH: Add plot module to automatically loaded modules
|
Python
|
mit
|
fivejjs/bayespy,bayespy/bayespy,jluttine/bayespy,SalemAmeen/bayespy
|
---
+++
@@ -24,7 +24,4 @@
from . import utils
from . import inference
from . import nodes
-
-# Currently, model construction and the inference network are not separated so
-# the model is constructed using variational message passing nodes.
-#from .inference.vmp import nodes
+from . import plot
|
d4edbdcc631a14112b88810de3382f147f5a13c9
|
setup.py
|
setup.py
|
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
requires = [
'pyramid',
'pyramid_jinja2',
'SQLAlchemy',
'transaction',
'pyramid_tm',
'pyramid_debugtoolbar',
'zope.sqlalchemy',
'waitress',
]
setup(name='belt',
version='0.0',
description='belt',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author='',
author_email='',
url='',
keywords='web wsgi bfg pylons pyramid',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
test_suite='belt',
install_requires=requires,
entry_points="""\
[paste.app_factory]
main = belt:main
""",
)
|
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
requires = [
'pyramid',
'pyramid_jinja2',
'SQLAlchemy',
'transaction',
'pyramid_tm',
'pyramid_debugtoolbar',
'zope.sqlalchemy',
'waitress',
'lxml',
]
test_requires = [
'fudge'
'httpretty',
'pytest',
]
setup(name='belt',
version='0.0',
description='belt',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author='',
author_email='',
url='',
keywords='web wsgi bfg pylons pyramid',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
test_suite='belt',
install_requires=requires,
tests_require=test_requires,
entry_points="""\
[paste.app_factory]
main = belt:main
""",
)
|
Update requirements, add test requirements
|
Update requirements, add test requirements
|
Python
|
bsd-3-clause
|
rob-b/belt,rob-b/belt,rob-b/belt
|
---
+++
@@ -15,6 +15,13 @@
'pyramid_debugtoolbar',
'zope.sqlalchemy',
'waitress',
+ 'lxml',
+]
+
+test_requires = [
+ 'fudge'
+ 'httpretty',
+ 'pytest',
]
setup(name='belt',
@@ -36,6 +43,7 @@
zip_safe=False,
test_suite='belt',
install_requires=requires,
+ tests_require=test_requires,
entry_points="""\
[paste.app_factory]
main = belt:main
|
c384b335d9b55a1fc7c1eaa20f909eecca1a7f9f
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# Copyright (C) 2013 SignalFuse, Inc.
# Setuptools install description file.
import os
from setuptools import setup, find_packages
requirements = ['docker-py==0.2.2']
setup(
name='maestro',
version='0.0.1',
description='Orchestrator for multi-host Docker deployments',
packages=find_packages(),
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities',
],
entry_points={
'console': ['maestro = maestro.maestro'],
'setuptools.installation': ['eggsecutable = maestro.maestro:main'],
},
author='Maxime Petazzoni',
author_email='max@signalfuse.com',
license='GNU Lesser General Public License v3',
keywords='maestro docker orchestration deployment',
url='http://github.com/signalfuse/maestro-ng',
)
|
#!/usr/bin/env python
# Copyright (C) 2013 SignalFuse, Inc.
# Setuptools install description file.
import os
from setuptools import setup, find_packages
setup(
name='maestro',
version='0.0.1',
description='Orchestrator for multi-host Docker deployments',
zip_safe=True,
packages=find_packages(),
install_requires=['docker-py'],
dependency_links=['https://github.com/mpetazzoni/docker-py/archive/timeout-and-localbinddirs.zip#egg=docker-py'],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities',
],
entry_points={
'console': ['maestro = maestro.maestro'],
'setuptools.installation': ['eggsecutable = maestro.maestro:main'],
},
author='Maxime Petazzoni',
author_email='max@signalfuse.com',
license='GNU Lesser General Public License v3',
keywords='maestro docker orchestration deployment',
url='http://github.com/signalfuse/maestro-ng',
)
|
Set custom dependency URL for docker-py until required features are merged
|
Set custom dependency URL for docker-py until required features are merged
Signed-off-by: Maxime Petazzoni <0706025b2bbcec1ed8d64822f4eccd96314938d0@signalfuse.com>
|
Python
|
apache-2.0
|
Anvil/maestro-ng,signalfx/maestro-ng,ivotron/maestro-ng,jorge-marques/maestro-ng,zsuzhengdu/maestro-ng,signalfuse/maestro-ng,ivotron/maestro-ng,signalfuse/maestro-ng,signalfx/maestro-ng,Anvil/maestro-ng,zsuzhengdu/maestro-ng,jorge-marques/maestro-ng
|
---
+++
@@ -6,14 +6,14 @@
import os
from setuptools import setup, find_packages
-requirements = ['docker-py==0.2.2']
-
setup(
name='maestro',
version='0.0.1',
description='Orchestrator for multi-host Docker deployments',
-
+ zip_safe=True,
packages=find_packages(),
+ install_requires=['docker-py'],
+ dependency_links=['https://github.com/mpetazzoni/docker-py/archive/timeout-and-localbinddirs.zip#egg=docker-py'],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
|
da063ba3936cf37bd53c3ba089173e96916339bf
|
setup.py
|
setup.py
|
from distutils.core import setup
import os
version = '0.1.0dev'
setup(
name='FrappeClient',
version=version,
author='Rushabh Mehta',
author_email='rmehta@erpnext.com',
download_url='https://github.com/jevonearth/frappe-client/archive/'+version+'.tar.gz',
packages=['frappeclient',],
install_requires=open(os.path.join(os.path.dirname(__file__), 'requirements.txt')).read().split(),
)
|
from setuptools import setup
version = '0.1.0dev'
with open('requirements.txt') as requirements:
install_requires = requirements.read().split()
setup(
name='frappeclient',
version=version,
author='Rushabh Mehta',
author_email='rmehta@erpnext.com',
packages=[
'frappeclient'
],
install_requires=install_requires,
tests_requires=[
'httmock<=1.2.2'
],
)
|
Clean up, PEP-8 fixes, remove download_url
|
Clean up, PEP-8 fixes, remove download_url
Switch to setuptools, so we can get tests_requires.
PEP-8 updates
Remove download link, as it was wrong, and it is not needed for pip
installs from git. Can be put back in if/when this package gets
published to pypi.
|
Python
|
mit
|
frappe/frappe-client
|
---
+++
@@ -1,14 +1,20 @@
-from distutils.core import setup
-import os
+from setuptools import setup
version = '0.1.0dev'
+with open('requirements.txt') as requirements:
+ install_requires = requirements.read().split()
+
setup(
- name='FrappeClient',
+ name='frappeclient',
version=version,
author='Rushabh Mehta',
author_email='rmehta@erpnext.com',
- download_url='https://github.com/jevonearth/frappe-client/archive/'+version+'.tar.gz',
- packages=['frappeclient',],
- install_requires=open(os.path.join(os.path.dirname(__file__), 'requirements.txt')).read().split(),
+ packages=[
+ 'frappeclient'
+ ],
+ install_requires=install_requires,
+ tests_requires=[
+ 'httmock<=1.2.2'
+ ],
)
|
5f0f0a75b380392b6e15acfcf46b30853dd2fb7b
|
setup.py
|
setup.py
|
from setuptools import setup
version = '0.1'
setup(name='ramp',
version=version,
description="Rapid machine learning prototyping",
long_description=open("README.md").read(),
classifiers=[
'License :: OSI Approved :: BSD License'
],
keywords='machine learning data analysis statistics mining',
author='Ken Van Haren',
author_email='kvh@science.io',
url='http://github.com/kvh/ramp',
license='BSD',
packages=['ramp'],
zip_safe=False,
install_requires=[
'numpy',
'pandas',
]
)
|
from setuptools import setup, find_packages
version = '0.1'
setup(name='ramp',
version=version,
description="Rapid machine learning prototyping",
long_description=open("README.md").read(),
classifiers=[
'License :: OSI Approved :: BSD License'
],
keywords='machine learning data analysis statistics mining',
author='Ken Van Haren',
author_email='kvh@science.io',
url='http://github.com/kvh/ramp',
license='BSD',
packages=find_packages(exclude=["*.tests"]),
zip_safe=False,
install_requires=[
'numpy',
'pandas',
]
)
|
Include subdirectories when building the package.
|
Include subdirectories when building the package.
|
Python
|
mit
|
kvh/ramp
|
---
+++
@@ -1,4 +1,4 @@
-from setuptools import setup
+from setuptools import setup, find_packages
version = '0.1'
@@ -14,7 +14,7 @@
author_email='kvh@science.io',
url='http://github.com/kvh/ramp',
license='BSD',
- packages=['ramp'],
+ packages=find_packages(exclude=["*.tests"]),
zip_safe=False,
install_requires=[
'numpy',
|
abc31c1d07e68f86e8ea4ffed080c073d7baa254
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
from setuptools import setup
setup(
name='botbot',
version='0.2.4',
description='A meta-bot for Euphoria.',
author='Rishov Sarkar',
url='https://github.com/ArkaneMoose/BotBot',
license='MIT',
packages=['botbot'],
package_dir={'botbot': 'source'},
install_requires=['eupy >=1.0, <2.0'],
dependency_links=['git+https://github.com/jedevc/EuPy.git@7b48c35e96a1775ee37c4e5da8d3de46e99e609c#egg=eupy-1.0'],
entry_points={
'console_scripts': [
'botbot = botbot.__main__:main'
]
}
)
|
#!/usr/bin/env python3
from setuptools import setup
setup(
name='botbot',
version='0.2.5',
description='A meta-bot for Euphoria.',
author='Rishov Sarkar',
url='https://github.com/ArkaneMoose/BotBot',
license='MIT',
packages=['botbot'],
package_dir={'botbot': 'source'},
install_requires=['eupy >=1.0, <2.0'],
dependency_links=['git+https://github.com/jedevc/EuPy.git@7b48c35e96a1775ee37c4e5da8d3de46e99e609c#egg=eupy-1.0'],
entry_points={
'console_scripts': [
'botbot = botbot.__main__:main'
]
}
)
|
Bump version number for adding !antighost command
|
Bump version number for adding !antighost command
|
Python
|
mit
|
ArkaneMoose/BotBot
|
---
+++
@@ -4,7 +4,7 @@
setup(
name='botbot',
- version='0.2.4',
+ version='0.2.5',
description='A meta-bot for Euphoria.',
author='Rishov Sarkar',
url='https://github.com/ArkaneMoose/BotBot',
|
da68d64b91bb97e0a6025fe7eed650f8608d9f03
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import os
import setuptools
def read_requires(base):
path = os.path.join('tools', base)
requires = []
if not os.path.isfile(path):
return requires
with open(path, 'rb') as h:
for line in h.read().splitlines():
line = line.strip()
if len(line) == 0 or line.startswith("#"):
continue
requires.append(line)
return requires
setuptools.setup(
name='taskflow',
version='0.0.1',
author='OpenStack',
license='Apache Software License',
description='Taskflow structured state management library.',
long_description='The taskflow library provides core functionality that '
'can be used to build [resumable, reliable, '
'easily understandable, ...] highly available '
'systems which process workflows in a structured manner.',
author_email='openstack-dev@lists.openstack.org',
url='http://www.openstack.org/',
tests_require=read_requires('test-requires'),
install_requires=read_requires('pip-requires'),
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2.6', ],
)
|
#!/usr/bin/env python
import os
import setuptools
def _clean_line(line):
line = line.strip()
line = line.split("#")[0]
line = line.strip()
return line
def read_requires(base):
path = os.path.join('tools', base)
requires = []
if not os.path.isfile(path):
return requires
with open(path, 'rb') as h:
for line in h.read().splitlines():
line = _clean_line(line)
if not line:
continue
requires.append(line)
return requires
setuptools.setup(
name='taskflow',
version='0.0.1',
author='OpenStack',
license='Apache Software License',
description='Taskflow structured state management library.',
long_description='The taskflow library provides core functionality that '
'can be used to build [resumable, reliable, '
'easily understandable, ...] highly available '
'systems which process workflows in a structured manner.',
author_email='openstack-dev@lists.openstack.org',
url='http://www.openstack.org/',
tests_require=read_requires('test-requires'),
install_requires=read_requires('pip-requires'),
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2.6', ],
)
|
Clean the lines in a seperate function.
|
Clean the lines in a seperate function.
|
Python
|
apache-2.0
|
varunarya10/taskflow,pombredanne/taskflow-1,citrix-openstack-build/taskflow,openstack/taskflow,jessicalucci/TaskManagement,jessicalucci/TaskManagement,varunarya10/taskflow,junneyang/taskflow,openstack/taskflow,jimbobhickville/taskflow,junneyang/taskflow,citrix-openstack-build/taskflow,jimbobhickville/taskflow,pombredanne/taskflow-1
|
---
+++
@@ -2,6 +2,13 @@
import os
import setuptools
+
+
+def _clean_line(line):
+ line = line.strip()
+ line = line.split("#")[0]
+ line = line.strip()
+ return line
def read_requires(base):
@@ -11,8 +18,8 @@
return requires
with open(path, 'rb') as h:
for line in h.read().splitlines():
- line = line.strip()
- if len(line) == 0 or line.startswith("#"):
+ line = _clean_line(line)
+ if not line:
continue
requires.append(line)
return requires
|
c7dd9141f2af03526a7a16a9e58db295127088c9
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import os
from setuptools import setup
# Utility function to read the README file.
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
twisted_deps = ['twisted']
scapy_deps = ['scapy>=2.2.0']
setup(
name = 'voltha',
version = '1.1.0',
author = 'Zsolt Haraszti, Nathan Knuth, Ali Al-Shabibi',
author_email = 'voltha-discuss@opencord.org',
description = ('Virtual Optical Line Terminal (OLT) Hardware Abstraction'),
license = 'LICENSE.txt',
keywords = 'volt gpon cord',
url = 'http://gerrit.opencord.org/voltha',
packages=['voltha', 'tests'],
long_description=read('README.md'),
classifiers=[
'Development Status :: 3 - Alpha',
'Topic :: System :: Networking',
'Programming Language :: Python',
'License :: OSI Approved :: Apache License 2.0',
],
install_requires=[
'six>1.7.2',
],
extras_require={
'twisted': twisted_deps,
'all' : twisted_deps
},
)
|
#!/usr/bin/env python
import os
from setuptools import setup
# Utility function to read the README file.
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
twisted_deps = ['twisted']
scapy_deps = ['scapy>=2.2.0']
setup(
name = 'voltha',
version = '1.2.0',
author = 'Zsolt Haraszti, Nathan Knuth, Ali Al-Shabibi',
author_email = 'voltha-discuss@opencord.org',
description = ('Virtual Optical Line Terminal (OLT) Hardware Abstraction'),
license = 'LICENSE.txt',
keywords = 'volt gpon cord',
url = 'http://gerrit.opencord.org/voltha',
packages=['voltha', 'tests'],
long_description=read('README.md'),
classifiers=[
'Development Status :: 3 - Alpha',
'Topic :: System :: Networking',
'Programming Language :: Python',
'License :: OSI Approved :: Apache License 2.0',
],
install_requires=[
'six>1.7.2',
],
extras_require={
'twisted': twisted_deps,
'all' : twisted_deps
},
)
|
Bump VOLTHA core version to 1.2
|
Bump VOLTHA core version to 1.2
Change-Id: I63ea6ee090154f25aa51e01ce0da5e930c6ef86f
|
Python
|
apache-2.0
|
opencord/voltha,opencord/voltha,opencord/voltha,opencord/voltha,opencord/voltha
|
---
+++
@@ -11,7 +11,7 @@
scapy_deps = ['scapy>=2.2.0']
setup(
name = 'voltha',
- version = '1.1.0',
+ version = '1.2.0',
author = 'Zsolt Haraszti, Nathan Knuth, Ali Al-Shabibi',
author_email = 'voltha-discuss@opencord.org',
description = ('Virtual Optical Line Terminal (OLT) Hardware Abstraction'),
|
8e4248cc73e4c4f1531c626dfda688224045c148
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name='lace',
version='0.1.1',
description='Neural Learning to Rank using Chainer',
url='https://github.com/rjagerman/lace',
download_url = 'https://github.com/rjagerman/lace/archive/v0.1.1.tar.gz',
author='Rolf Jagerman',
author_email='rjagerman@gmail.com',
license='MIT',
packages=['lace']
)
|
from setuptools import setup
setup(
name='lace',
version='0.1.1',
description='Neural Learning to Rank using Chainer',
url='https://github.com/rjagerman/lace',
download_url = 'https://github.com/rjagerman/lace/archive/v0.1.1.tar.gz',
author='Rolf Jagerman',
author_email='rjagerman@gmail.com',
license='MIT',
packages=['lace',
'lace.functions',
'lace.loss'],
install_requires=['numpy>=1.12.0', 'chainer>=2.0.0'],
tests_require=['nose']
)
|
Add correct packages and requirements for python package
|
Add correct packages and requirements for python package
|
Python
|
mit
|
rjagerman/shoelace
|
---
+++
@@ -9,5 +9,9 @@
author='Rolf Jagerman',
author_email='rjagerman@gmail.com',
license='MIT',
- packages=['lace']
+ packages=['lace',
+ 'lace.functions',
+ 'lace.loss'],
+ install_requires=['numpy>=1.12.0', 'chainer>=2.0.0'],
+ tests_require=['nose']
)
|
5d3910aa452e58da3d1d0dea822151485380339b
|
setup.py
|
setup.py
|
from setuptools import setup
with open('README.md') as desc:
long_description = desc.read()
setup(name='beets-check',
version='0.9.0-beta.2',
description='beets plugin verifying file integrity with checksums',
long_description=long_description,
author='Thomas Scholtes',
author_email='thomas-scholtes@gmx.de',
url='http://www.github.com/geigerzaehler/beets-check',
license='MIT',
platforms='ALL',
test_suite='test',
packages=['beetsplug'],
namespace_packages=['beetsplug'],
install_requires=[
'beets>=1.3.4',
],
classifiers=[
'Topic :: Multimedia :: Sound/Audio',
'Topic :: Multimedia :: Sound/Audio :: Players :: MP3',
'License :: OSI Approved :: MIT License',
'Environment :: Console',
'Environment :: Web Environment',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
],
)
|
from setuptools import setup
with open('README.md') as desc:
long_description = desc.read()
setup(name='beets-check',
version='0.9.0-beta.2',
description='beets plugin verifying file integrity with checksums',
long_description=long_description,
author='Thomas Scholtes',
author_email='thomas-scholtes@gmx.de',
url='http://www.github.com/geigerzaehler/beets-check',
license='MIT',
platforms='ALL',
test_suite='test',
packages=['beetsplug'],
install_requires=[
'beets>=1.3.4',
],
classifiers=[
'Topic :: Multimedia :: Sound/Audio',
'Topic :: Multimedia :: Sound/Audio :: Players :: MP3',
'License :: OSI Approved :: MIT License',
'Environment :: Console',
'Environment :: Web Environment',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
],
)
|
Remove namespace package metadata to fix sdist
|
Remove namespace package metadata to fix sdist
|
Python
|
mit
|
geigerzaehler/beets-check
|
---
+++
@@ -15,7 +15,6 @@
test_suite='test',
packages=['beetsplug'],
- namespace_packages=['beetsplug'],
install_requires=[
'beets>=1.3.4',
|
848a9efae2f331dd35e495a945bb62146f00fd30
|
setup.py
|
setup.py
|
import os
from setuptools import setup
INSTALL_REQUIRES = ['python_cjson', 'requests >=1.0.3']
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "qds_sdk",
version = "1.0.9_beta",
author = "Qubole",
author_email = "dev@qubole.com",
description = ("Python SDK for coding to the Qubole Data Service API"),
keywords = "qubole sdk api",
url = "http://packages.python.org/qds_sdk",
packages=['qds_sdk'],
scripts=['bin/qds.py'],
install_requires=INSTALL_REQUIRES,
long_description="[Please visit the project page at https://github.com/qubole/qds-sdk-py]\n\n" + read('README')
)
|
import os
from setuptools import setup
INSTALL_REQUIRES = ['python_cjson', 'requests >=1.0.3', 'boto >=2.20.1']
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "qds_sdk",
version = "1.0.9_beta",
author = "Qubole",
author_email = "dev@qubole.com",
description = ("Python SDK for coding to the Qubole Data Service API"),
keywords = "qubole sdk api",
url = "http://packages.python.org/qds_sdk",
packages=['qds_sdk'],
scripts=['bin/qds.py'],
install_requires=INSTALL_REQUIRES,
long_description="[Please visit the project page at https://github.com/qubole/qds-sdk-py]\n\n" + read('README')
)
|
Add boto to list of installation dependencies
|
Add boto to list of installation dependencies
|
Python
|
apache-2.0
|
tanishgupta1/qds-sdk-py-1,jainavi/qds-sdk-py,vrajat/qds-sdk-py,adeshr/qds-sdk-py,qubole/qds-sdk-py,rohitpruthi95/qds-sdk-py,yogesh2021/qds-sdk-py,prakharjain09/qds-sdk-py,msumit/qds-sdk-py
|
---
+++
@@ -1,7 +1,7 @@
import os
from setuptools import setup
-INSTALL_REQUIRES = ['python_cjson', 'requests >=1.0.3']
+INSTALL_REQUIRES = ['python_cjson', 'requests >=1.0.3', 'boto >=2.20.1']
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
06d4d1a44b6a9006546a86999b0a0f2364f68c87
|
setup.py
|
setup.py
|
from setuptools import setup
long_description = open('README.md').read()
setup(
name="django-mediumeditor",
version='0.1.3',
packages=["mediumeditor"],
include_package_data=True,
description="Medium Editor widget for Django",
url="https://github.com/g3rd/django-mediumeditor",
author="Chad Shryock",
author_email="chad@aceportfol.io",
license='MIT',
long_description=long_description,
platforms=["any"],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
],
install_requires=[
'django-appconf >= 1.0.2',
],
)
|
from setuptools import setup
long_description = open('README.md').read()
setup(
name="django-mediumeditor",
version='0.2.0',
packages=["mediumeditor"],
include_package_data=True,
description="Medium Editor widget for Django",
url="https://github.com/g3rd/django-mediumeditor",
author="Chad Shryock",
author_email="chad@aceportfol.io",
license='MIT',
long_description=long_description,
platforms=["any"],
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
],
install_requires=[
'django-appconf >= 1.0.2',
],
)
|
Increase the version number for new feature
|
Increase the version number for new feature
|
Python
|
mit
|
g3rd/django-mediumeditor,g3rd/django-mediumeditor
|
---
+++
@@ -4,7 +4,7 @@
setup(
name="django-mediumeditor",
- version='0.1.3',
+ version='0.2.0',
packages=["mediumeditor"],
include_package_data=True,
description="Medium Editor widget for Django",
|
7f01e0fb5845f222d84b24d6a9edc4f08ebf66ee
|
setup.py
|
setup.py
|
from distutils.core import setup
setup(
name = 'django-test-addons',
packages = ['test_addons'],
version = '0.3.5',
description = 'Library to provide support for testing multiple database system like Mongo, Redis, Neo4j along with django.',
author = 'Hakampreet Singh Pandher',
author_email = 'hspandher@outlook.com',
url = 'https://github.com/hspandher/django-test-utils',
download_url = 'https://github.com/hspandher/django-test-utils/tarball/0.1',
keywords = ['testing', 'django', 'mongo', 'redis', 'neo4j', 'TDD', 'python', 'memcache', 'django rest framework'],
license = 'MIT',
install_requires = [
'django>1.6'
],
extras_require = {
'mongo_testing': ['mongoengine>=0.8.7'],
'redis_testing': ['django-redis>=3.8.2'],
'neo4j_testing': ['py2neo>=2.0.6'],
'rest_framework_testing': ['djangorestframework>=3.0.5'],
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Testing',
'Topic :: Database',
],
)
|
from distutils.core import setup
setup(
name = 'django-test-addons',
packages = ['test_addons'],
version = '0.3.6',
description = 'Library to provide support for testing multiple database system like Mongo, Redis, Neo4j along with django.',
author = 'Hakampreet Singh Pandher',
author_email = 'hspandher@outlook.com',
url = 'https://github.com/hspandher/django-test-utils',
download_url = 'https://github.com/hspandher/django-test-utils/tarball/0.3.6',
keywords = ['testing', 'django', 'mongo', 'redis', 'neo4j', 'TDD', 'python', 'memcache', 'django rest framework'],
license = 'MIT',
install_requires = [
'django>1.6'
],
extras_require = {
'mongo_testing': ['mongoengine>=0.8.7'],
'redis_testing': ['django-redis>=3.8.2'],
'neo4j_testing': ['py2neo>=2.0.6'],
'rest_framework_testing': ['djangorestframework>=3.0.5'],
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Testing',
'Topic :: Database',
],
)
|
Change download url for release 0.3.6
|
Change download url for release 0.3.6
|
Python
|
mit
|
hspandher/django-test-addons
|
---
+++
@@ -3,12 +3,12 @@
setup(
name = 'django-test-addons',
packages = ['test_addons'],
- version = '0.3.5',
+ version = '0.3.6',
description = 'Library to provide support for testing multiple database system like Mongo, Redis, Neo4j along with django.',
author = 'Hakampreet Singh Pandher',
author_email = 'hspandher@outlook.com',
url = 'https://github.com/hspandher/django-test-utils',
- download_url = 'https://github.com/hspandher/django-test-utils/tarball/0.1',
+ download_url = 'https://github.com/hspandher/django-test-utils/tarball/0.3.6',
keywords = ['testing', 'django', 'mongo', 'redis', 'neo4j', 'TDD', 'python', 'memcache', 'django rest framework'],
license = 'MIT',
install_requires = [
|
07ca7b02bebc9d4baf47f8b341a6ced625d61462
|
setup.py
|
setup.py
|
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="pyslicer",
version="0.1.1",
author="SlicingDice LLC",
author_email="help@slicingdice.com",
description="Official Python client for SlicingDice, Data Warehouse and Analytics Database as a Service.",
install_requires=["requests", "ujson"],
license="BSD",
keywords="slicingdice slicing dice data analysis analytics database",
packages=[
'pyslicer',
'pyslicer.core',
'pyslicer.utils',
],
package_dir={'pyslicer': 'pyslicer'},
long_description=read('README.md'),
classifiers=[
"Programming Language :: Python :: 2.7",
"Topic :: Scientific/Engineering :: Information Analysis",
],
)
|
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="pyslicer",
version="1.0.0",
author="SlicingDice LLC",
author_email="help@slicingdice.com",
description="Official Python client for SlicingDice, Data Warehouse and Analytics Database as a Service.",
install_requires=["requests", "ujson"],
license="BSD",
keywords="slicingdice slicing dice data analysis analytics database",
packages=[
'pyslicer',
'pyslicer.core',
'pyslicer.utils',
],
package_dir={'pyslicer': 'pyslicer'},
long_description=read('README.md'),
classifiers=[
"Programming Language :: Python :: 2.7",
"Topic :: Scientific/Engineering :: Information Analysis",
],
)
|
Update package version to 1.0.0
|
Update package version to 1.0.0
|
Python
|
mit
|
SlicingDice/slicingdice-python
|
---
+++
@@ -7,7 +7,7 @@
setup(
name="pyslicer",
- version="0.1.1",
+ version="1.0.0",
author="SlicingDice LLC",
author_email="help@slicingdice.com",
description="Official Python client for SlicingDice, Data Warehouse and Analytics Database as a Service.",
|
e6666f1d6dec536b70ea9e69011983587e853149
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import setuptools
from setuptools import setup
with open('README.md', encoding='utf-8') as f:
long_description = f.read()
setup(name='cleanco',
description='Python library to process company names',
long_description=long_description,
long_description_content_type='text/markdown',
version='2.2-dev0',
license="MIT",
classifiers = [
"Topic :: Office/Business",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3"
],
url='https://github.com/psolin/cleanco',
author='Paul Solin',
author_email='paul@paulsolin.com',
packages=["cleanco"],
setup_requires=['pytest-runner'],
tests_require=['pytest', 'tox'],
)
|
#!/usr/bin/env python
import setuptools
from setuptools import setup
with open('README.md', encoding='utf-8') as f:
long_description = f.read()
setup(name='cleanco',
description='Python library to process company names',
long_description=long_description,
long_description_content_type='text/markdown',
version='2.2-dev0',
license="MIT",
license_files=('LICENSE.txt',),
classifiers = [
"Topic :: Office/Business",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3"
],
url='https://github.com/psolin/cleanco',
author='Paul Solin',
author_email='paul@paulsolin.com',
packages=["cleanco"],
setup_requires=['pytest-runner'],
tests_require=['pytest', 'tox'],
)
|
Include license file in source distribution
|
Include license file in source distribution
|
Python
|
mit
|
psolin/cleanco
|
---
+++
@@ -13,6 +13,7 @@
long_description_content_type='text/markdown',
version='2.2-dev0',
license="MIT",
+ license_files=('LICENSE.txt',),
classifiers = [
"Topic :: Office/Business",
"Development Status :: 4 - Beta",
|
7517fc46387ee998ab3b517ca38e8c003c431a5d
|
setup.py
|
setup.py
|
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': """MiniCPS is a lightweight simulator for accurate network
traffic in an industrial control system, with basic support for physical
layer interaction.""",
'author': 'scy-phy',
'url': 'https://github.com/scy-phy/minicps',
'download_url': 'https://github.com/scy-phy/minicps',
'author email': 'abc@gmail.com',
'version': '0.1.0',
'install_requires': [
'cpppo',
'networkx',
'matplotlib',
'nose',
'nose-cover3',
],
'package': ['minicps'],
'scripts': [],
'name': 'minicps'
}
setup(**config)
|
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': """MiniCPS is a lightweight simulator for accurate network
traffic in an industrial control system, with basic support for physical
layer interaction.""",
'author': 'scy-phy',
'url': 'https://github.com/scy-phy/minicps',
'download_url': 'https://github.com/scy-phy/minicps',
'author email': 'daniele_antonioli@sutd.edu.sg',
'version': '1.0.0',
'install_requires': [
'cpppo',
'nose',
'coverage',
],
'package': ['minicps'],
'scripts': [],
'name': 'minicps'
}
setup(**config)
|
Update version, email and requirements
|
Update version, email and requirements
[ci skip]
|
Python
|
mit
|
remmihsorp/minicps,scy-phy/minicps,scy-phy/minicps,remmihsorp/minicps
|
---
+++
@@ -15,16 +15,14 @@
'download_url': 'https://github.com/scy-phy/minicps',
- 'author email': 'abc@gmail.com',
+ 'author email': 'daniele_antonioli@sutd.edu.sg',
- 'version': '0.1.0',
+ 'version': '1.0.0',
'install_requires': [
'cpppo',
- 'networkx',
- 'matplotlib',
'nose',
- 'nose-cover3',
+ 'coverage',
],
'package': ['minicps'],
|
c4be964b9645261cebb142924288be7fad295a6d
|
setup.py
|
setup.py
|
# Copyright (C) Ivan Kravets <me@ikravets.com>
# See LICENSE for details.
from setuptools import find_packages, setup
from platformio import (__author__, __description__, __email__, __license__,
__title__, __url__, __version__)
setup(
name=__title__,
version=__version__,
description=__description__,
long_description=open("README.rst").read(),
author=__author__,
author_email=__email__,
url=__url__,
license=__license__,
install_requires=[
"click",
"colorama",
"pyserial",
"requests",
# "SCons"
],
packages=find_packages(),
package_data={"platformio": ["*.ini"]},
entry_points={
"console_scripts": [
"platformio = platformio.__main__:main"
]
},
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: C",
"Programming Language :: Python",
"Topic :: Software Development",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Compilers"
]
)
|
# Copyright (C) Ivan Kravets <me@ikravets.com>
# See LICENSE for details.
from sys import platform as sysplatform
from setuptools import find_packages, setup
from platformio import (__author__, __description__, __email__, __license__,
__title__, __url__, __version__)
setup(
name=__title__,
version=__version__,
description=__description__,
long_description=open("README.rst").read(),
author=__author__,
author_email=__email__,
url=__url__,
license=__license__,
install_requires=[
"click",
"pyserial",
"requests",
# "SCons"
] + (["colorama"] if sysplatform.startswith("win") else []),
packages=find_packages(),
package_data={"platformio": ["*.ini"]},
entry_points={
"console_scripts": [
"platformio = platformio.__main__:main"
]
},
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: C",
"Programming Language :: Python",
"Topic :: Software Development",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Compilers"
]
)
|
Install "colorama" if windows platform
|
Install "colorama" if windows platform
|
Python
|
apache-2.0
|
platformio/platformio-core,mplewis/platformio,eiginn/platformio,awong1900/platformio,dkuku/platformio,bkudria/platformio,bkudria/platformio,aphelps/platformio,TimJay/platformio,mseroczynski/platformio,awong1900/platformio,awong1900/platformio,platformio/platformio-core,bkudria/platformio,jrobeson/platformio,platformio/platformio,aphelps/platformio,atyenoria/platformio,jrobeson/platformio,bkudria/platformio,aphelps/platformio,TimJay/platformio,jrobeson/platformio,mcanthony/platformio,jrobeson/platformio,TimJay/platformio,ZachMassia/platformio,valeros/platformio,aphelps/platformio,TimJay/platformio,TimJay/platformio
|
---
+++
@@ -1,5 +1,7 @@
# Copyright (C) Ivan Kravets <me@ikravets.com>
# See LICENSE for details.
+
+from sys import platform as sysplatform
from setuptools import find_packages, setup
@@ -17,11 +19,10 @@
license=__license__,
install_requires=[
"click",
- "colorama",
"pyserial",
"requests",
# "SCons"
- ],
+ ] + (["colorama"] if sysplatform.startswith("win") else []),
packages=find_packages(),
package_data={"platformio": ["*.ini"]},
entry_points={
|
a5425fb9b165c875b02ee9fb5130441bca048251
|
setup.py
|
setup.py
|
from setuptools import Extension, setup
from Cython.Build import cythonize
from sys import platform
# from numpy import get_include
from distutils.sysconfig import get_config_vars
import os
(opt,) = get_config_vars('OPT')
if opt:
os.environ['OPT'] = " ".join(flag for flag in opt.split() if flag != '-Wstrict-prototypes')
incl = ['./include']
extrac = []
if platform == 'win32':
rldirs = []
extrac.append('/EHsc')
elif platform == 'darwin':
rldirs = []
else:
rldirs = ["$ORIGIN"]
extrac.extend(["-w", "-O3"])
setup(
name="cycgkit",
packages=["cycgkit"],
ext_modules=cythonize([
Extension('cycgkit/cgtypes/*', ["cycgkit/cgtypes/*.pyx", './src/vec3.cpp'],
include_dirs=incl,
runtime_library_dirs=rldirs,
extra_compile_args=extrac,
language="c++")
]),
)
|
from setuptools import Extension, setup
from Cython.Build import cythonize
from sys import platform
from distutils.sysconfig import get_config_vars
import os
(opt,) = get_config_vars('OPT')
if opt:
os.environ['OPT'] = " ".join(flag for flag in opt.split() if flag != '-Wstrict-prototypes')
incl = ['./include']
extrac = []
if platform == 'win32':
rldirs = []
extrac.append('/EHsc')
elif platform == 'darwin':
rldirs = []
else:
rldirs = ["$ORIGIN"]
extrac.extend(["-w", "-O3"])
setup(
name="cycgkit",
packages=["cycgkit", 'cycgkit.cgtypes'],
ext_modules=cythonize([
Extension('cycgkit.cgtypes.*', ["cycgkit/cgtypes/*.pyx", './src/vec3.cpp'],
include_dirs=incl,
runtime_library_dirs=rldirs,
extra_compile_args=extrac,
language="c++")
]),
)
|
Add missing option in Setup.
|
Add missing option in Setup.
|
Python
|
mit
|
jr-garcia/cyCGkit_minimal,jr-garcia/cyCGkit_minimal,jr-garcia/cyCGkit_minimal
|
---
+++
@@ -1,7 +1,6 @@
from setuptools import Extension, setup
from Cython.Build import cythonize
from sys import platform
-# from numpy import get_include
from distutils.sysconfig import get_config_vars
import os
@@ -24,9 +23,9 @@
setup(
name="cycgkit",
- packages=["cycgkit"],
+ packages=["cycgkit", 'cycgkit.cgtypes'],
ext_modules=cythonize([
- Extension('cycgkit/cgtypes/*', ["cycgkit/cgtypes/*.pyx", './src/vec3.cpp'],
+ Extension('cycgkit.cgtypes.*', ["cycgkit/cgtypes/*.pyx", './src/vec3.cpp'],
include_dirs=incl,
runtime_library_dirs=rldirs,
extra_compile_args=extrac,
|
89b5c6da51ad7e9b7a1775cfa84fe0a6e02f6eab
|
setup.py
|
setup.py
|
"""colorise module setup script for distribution."""
from setuptools import setup
import os
def get_version(filename):
with open(filename) as fh:
for line in fh:
if line.startswith('__version__'):
return line.split('=')[-1].strip()[1:-1]
setup(
name='colorise',
version=get_version(os.path.join('colorise', '__init__.py')),
author='Alexander Asp Bock',
author_email='albo.developer@gmail.com',
platforms='Platform independent',
description=('Easily print colored text to the console'),
license='BSD 3-Clause License',
keywords='text, color, colorise, colorize, console, terminal',
packages=['colorise', 'colorise.win', 'colorise.nix'],
package_data={'colorise': ['tests', 'examples']},
url='https://github.com/MisanthropicBit/colorise',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Utilities',
'Topic :: Terminals',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: PyPy'
]
)
|
"""colorise module setup script for distribution."""
from setuptools import setup
import os
def get_version(filename):
with open(filename) as fh:
for line in fh:
if line.startswith('__version__'):
return line.split('=')[-1].strip()[1:-1]
setup(
name='colorise',
version=get_version(os.path.join('colorise', '__init__.py')),
author='Alexander Asp Bock',
author_email='albo.developer@gmail.com',
platforms='Platform independent',
description=('Easily print colored text to the console'),
license='BSD 3-Clause License',
keywords='text, color, colorise, colorize, console, terminal',
packages=['colorise', 'colorise.win', 'colorise.nix'],
package_data={'colorise': ['tests', 'examples']},
url='https://github.com/MisanthropicBit/colorise',
project_urls={
'Issue Tracker': 'https://github.com/MisanthropicBit/colorise/issues',
'Documentation': 'https://colorise.readthedocs.io/en/latest/'
},
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Utilities',
'Topic :: Terminals',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: PyPy'
]
)
|
Add pypi links to issues and docs
|
Add pypi links to issues and docs [ci skip]
|
Python
|
bsd-3-clause
|
MisanthropicBit/colorise
|
---
+++
@@ -23,6 +23,10 @@
packages=['colorise', 'colorise.win', 'colorise.nix'],
package_data={'colorise': ['tests', 'examples']},
url='https://github.com/MisanthropicBit/colorise',
+ project_urls={
+ 'Issue Tracker': 'https://github.com/MisanthropicBit/colorise/issues',
+ 'Documentation': 'https://colorise.readthedocs.io/en/latest/'
+ },
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
classifiers=[
|
a2d36b09f2fd19f6a368fa711631b09489f12cf6
|
setup.py
|
setup.py
|
import setuptools
CLASSIFIERS = ['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Communications',
'Topic :: Internet',
'Topic :: Software Development :: Libraries']
DESC = 'A low-level Amazon Web Services API client for Tornado'
setuptools.setup(name='tornado-aws',
version='0.5.0',
description=DESC,
long_description=open('README.rst').read(),
author='Gavin M. Roy',
author_email='gavinmroy@gmail.com',
url='http://tornado-aws.readthedocs.org',
packages=['tornado_aws'],
package_data={'': ['LICENSE', 'README.rst',
'requires/installation.txt']},
include_package_data=True,
install_requires=open('requires/installation.txt').read(),
tests_require=open('requires/testing.txt').read(),
license='BSD',
classifiers=CLASSIFIERS,
zip_safe=True)
|
import setuptools
CLASSIFIERS = ['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Communications',
'Topic :: Internet',
'Topic :: Software Development :: Libraries']
DESC = 'A low-level Amazon Web Services API client for Tornado'
setuptools.setup(name='tornado-aws',
version='0.6.0',
description=DESC,
long_description=open('README.rst').read(),
author='Gavin M. Roy',
author_email='gavinmroy@gmail.com',
url='http://tornado-aws.readthedocs.org',
packages=['tornado_aws'],
package_data={'': ['LICENSE', 'README.rst',
'requires/installation.txt']},
include_package_data=True,
install_requires=open('requires/installation.txt').read(),
extras_require={'curl': ['pycurl']},
tests_require=open('requires/testing.txt').read(),
license='BSD',
classifiers=CLASSIFIERS,
zip_safe=True)
|
Add pycurl as an extras
|
Add pycurl as an extras
|
Python
|
bsd-3-clause
|
gmr/tornado-aws,gmr/tornado-aws
|
---
+++
@@ -20,7 +20,7 @@
setuptools.setup(name='tornado-aws',
- version='0.5.0',
+ version='0.6.0',
description=DESC,
long_description=open('README.rst').read(),
author='Gavin M. Roy',
@@ -31,6 +31,7 @@
'requires/installation.txt']},
include_package_data=True,
install_requires=open('requires/installation.txt').read(),
+ extras_require={'curl': ['pycurl']},
tests_require=open('requires/testing.txt').read(),
license='BSD',
classifiers=CLASSIFIERS,
|
9ad0dd8a1fac2e03be1fe3b44eb3b198994586ad
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import setuptools
setuptools.setup(
setup_requires=['pbr>=1.3', 'setuptools>=17.1'],
pbr=True)
|
#!/usr/bin/env python
import setuptools
setuptools.setup(
setup_requires=['pbr>=1.3', 'setuptools>=17.1'],
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
pbr=True)
|
Add python_requires to help pip
|
Add python_requires to help pip
|
Python
|
bsd-2-clause
|
testing-cabal/mock
|
---
+++
@@ -3,4 +3,5 @@
setuptools.setup(
setup_requires=['pbr>=1.3', 'setuptools>=17.1'],
+ python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
pbr=True)
|
72b660a9d71e1b29aa10a704e918c0c49dde8d86
|
pygotham/admin/events.py
|
pygotham/admin/events.py
|
"""Admin for event-related models."""
import wtforms
from pygotham.admin.utils import model_view
from pygotham.events import models
__all__ = ('EventModelView',)
CATEGORY = 'Events'
EventModelView = model_view(
models.Event,
'Events',
CATEGORY,
column_list=('name', 'slug', 'begins', 'ends', 'active'),
form_excluded_columns=(
'about_pages',
'announcements',
'calls_to_action',
'days',
'sponsor_levels',
'talks',
),
form_overrides={
'activity_begins': wtforms.DateTimeField,
'activity_ends': wtforms.DateTimeField,
'proposals_begin': wtforms.DateTimeField,
'proposals_end': wtforms.DateTimeField,
'registration_begins': wtforms.DateTimeField,
'registration_ends': wtforms.DateTimeField,
'talk_list_begins': wtforms.DateTimeField,
},
)
VolunteerModelView = model_view(
models.Volunteer,
'Volunteers',
CATEGORY,
column_filters=('event.slug', 'event.name'),
column_list=('event', 'user'),
)
|
"""Admin for event-related models."""
import wtforms
from pygotham.admin.utils import model_view
from pygotham.events import models
__all__ = ('EventModelView',)
CATEGORY = 'Events'
EventModelView = model_view(
models.Event,
'Events',
CATEGORY,
column_list=('name', 'slug', 'begins', 'ends', 'active'),
form_excluded_columns=(
'about_pages',
'announcements',
'calls_to_action',
'days',
'sponsor_levels',
'talks',
'volunteers',
),
form_overrides={
'activity_begins': wtforms.DateTimeField,
'activity_ends': wtforms.DateTimeField,
'proposals_begin': wtforms.DateTimeField,
'proposals_end': wtforms.DateTimeField,
'registration_begins': wtforms.DateTimeField,
'registration_ends': wtforms.DateTimeField,
'talk_list_begins': wtforms.DateTimeField,
},
)
VolunteerModelView = model_view(
models.Volunteer,
'Volunteers',
CATEGORY,
column_filters=('event.slug', 'event.name'),
column_list=('event', 'user'),
)
|
Exclude volunteers from the event admin
|
Exclude volunteers from the event admin
Showing many-to-many relationships in the admin can cause a page to take
a while to load. Plus the event admin isn't really the place to manage
volunteers.
Closes #198
|
Python
|
bsd-3-clause
|
pathunstrom/pygotham,pathunstrom/pygotham,pathunstrom/pygotham,djds23/pygotham-1,PyGotham/pygotham,pathunstrom/pygotham,PyGotham/pygotham,djds23/pygotham-1,djds23/pygotham-1,djds23/pygotham-1,djds23/pygotham-1,pathunstrom/pygotham,PyGotham/pygotham,PyGotham/pygotham,PyGotham/pygotham
|
---
+++
@@ -22,6 +22,7 @@
'days',
'sponsor_levels',
'talks',
+ 'volunteers',
),
form_overrides={
'activity_begins': wtforms.DateTimeField,
|
e0b5949d76f9b89786d375c1fa4c52048c559370
|
setup.py
|
setup.py
|
from setuptools import setup
setup(name="gimlet",
version='0.1',
description='Simple High-Performance WSGI Sessions',
long_description='',
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Development Status :: 3 - Alpha',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
'Topic :: Internet :: WWW/HTTP :: Session',
],
keywords='wsgi sessions middleware beaker cookie',
url='http://github.com/storborg/gimlet',
author='Scott Torborg',
author_email='scott@cartlogic.com',
install_requires=[
'itsdangerous',
'webob',
# Required for cookie encryption.
'pycrypto',
# These are for tests.
'coverage',
'nose>=1.1',
'nose-cover3',
'webtest',
],
license='MIT',
packages=['gimlet'],
test_suite='nose.collector',
tests_require=['nose'],
zip_safe=False)
|
from setuptools import setup
setup(name="gimlet",
version='0.1',
description='Simple High-Performance WSGI Sessions',
long_description='',
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Development Status :: 3 - Alpha',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
'Topic :: Internet :: WWW/HTTP :: Session',
],
keywords='wsgi sessions middleware beaker cookie',
url='http://github.com/storborg/gimlet',
author='Scott Torborg',
author_email='scott@cartlogic.com',
install_requires=[
'itsdangerous',
'webob',
'redis',
'pylibmc',
# Required for cookie encryption.
'pycrypto',
# These are for tests.
'coverage',
'nose>=1.1',
'nose-cover3',
'webtest',
],
license='MIT',
packages=['gimlet'],
test_suite='nose.collector',
tests_require=['nose'],
zip_safe=False)
|
Update dependencies to add redis and pylibmc
|
Update dependencies to add redis and pylibmc
|
Python
|
mit
|
storborg/gimlet
|
---
+++
@@ -19,6 +19,8 @@
install_requires=[
'itsdangerous',
'webob',
+ 'redis',
+ 'pylibmc',
# Required for cookie encryption.
'pycrypto',
# These are for tests.
|
3eaa26f609c9fd2f477f1b97af632cb4ffc3a8f1
|
setup.py
|
setup.py
|
from setuptools import setup
from distutils.core import Command
import os
import sys
import codecs
class TestCommand(Command):
description = "Run tests"
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import subprocess
errno = subprocess.call(['nosetests', '--debug=DEBUG', '-s'])
raise SystemExit(errno)
setup(
name='mafan',
version='0.3.1',
author='Herman Schaaf',
author_email='herman@ironzebra.com',
packages=[
'mafan',
'mafan.hanzidentifier',
'mafan.third_party',
'mafan.third_party.jianfan'
],
scripts=['bin/convert.py'],
url='https://github.com/hermanschaaf/mafan',
license='LICENSE.txt',
description='A toolbox for working with the Chinese language in Python',
long_description=codecs.open('docs/README.md', 'r', 'utf-8').read(),
cmdclass={
'test': TestCommand,
},
install_requires=[
"jieba == 0.37",
"argparse == 1.1",
"chardet == 2.1.1",
"future",
],
)
|
from setuptools import setup
from distutils.core import Command
import os
import sys
import codecs
class TestCommand(Command):
description = "Run tests"
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import subprocess
errno = subprocess.call(['nosetests', '--debug=DEBUG', '-s'])
raise SystemExit(errno)
setup(
name='mafan',
version='0.3.1',
author='Herman Schaaf',
author_email='herman@ironzebra.com',
packages=[
'mafan',
'mafan.hanzidentifier',
'mafan.third_party',
'mafan.third_party.jianfan'
],
scripts=['bin/convert.py'],
url='https://github.com/hermanschaaf/mafan',
license='LICENSE.txt',
description='A toolbox for working with the Chinese language in Python',
long_description=codecs.open('docs/README.md', 'r', 'utf-8').read(),
cmdclass={
'test': TestCommand,
},
install_requires=[
"jieba == 0.37",
"argparse == 1.1",
"chardet >= 2.1.1",
"future",
],
)
|
Allow newer versions of chardet
|
Allow newer versions of chardet
|
Python
|
mit
|
hermanschaaf/mafan
|
---
+++
@@ -42,7 +42,7 @@
install_requires=[
"jieba == 0.37",
"argparse == 1.1",
- "chardet == 2.1.1",
+ "chardet >= 2.1.1",
"future",
],
)
|
c01d29b4b2839976fd457a1e950ed5800150b315
|
setup.py
|
setup.py
|
from distutils.core import setup
# Load in babel support, if available.
try:
from babel.messages import frontend as babel
cmdclass = {"compile_catalog": babel.compile_catalog,
"extract_messages": babel.extract_messages,
"init_catalog": babel.init_catalog,
"update_catalog": babel.update_catalog,}
except ImportError:
cmdclass = {}
setup(name="django-money",
version="0.1",
description="Adds support for using money and currency fields in django models and forms. Uses py-moneyed as money implementation, based on python-money django implementation.",
url="https://github.com/jakewins/django-money",
packages=["djmoney",
"djmoney.forms",
"djmoney.models"],
# Commented out, waiting for pull request to be fulfilled: https://github.com/limist/py-moneyed/pull/1
#install_requires=['setuptools',
# 'Django >= 1.2',
# 'py-moneyed > 0.3'],
# package_dir={"": ""},
cmdclass = cmdclass,
classifiers=["Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Framework :: Django",])
|
from distutils.core import setup
# Load in babel support, if available.
try:
from babel.messages import frontend as babel
cmdclass = {"compile_catalog": babel.compile_catalog,
"extract_messages": babel.extract_messages,
"init_catalog": babel.init_catalog,
"update_catalog": babel.update_catalog,}
except ImportError:
cmdclass = {}
setup(name="django-money",
version="0.1",
description="Adds support for using money and currency fields in django models and forms. Uses py-moneyed as money implementation, based on python-money django implementation.",
url="https://github.com/jakewins/django-money",
packages=["djmoney",
"djmoney.forms",
"djmoney.models"],
install_requires=['setuptools',
'Django >= 1.2',
'py-moneyed > 0.4'],
cmdclass = cmdclass,
classifiers=["Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Framework :: Django",])
|
Update dependencies so installation is simpler.
|
Update dependencies so installation is simpler.
The pull request, and a new release of py-moneyed has occurred.
|
Python
|
bsd-3-clause
|
recklessromeo/django-money,AlexRiina/django-money,iXioN/django-money,iXioN/django-money,rescale/django-money,recklessromeo/django-money,pjdelport/django-money,tsouvarev/django-money,tsouvarev/django-money
|
---
+++
@@ -19,11 +19,9 @@
packages=["djmoney",
"djmoney.forms",
"djmoney.models"],
- # Commented out, waiting for pull request to be fulfilled: https://github.com/limist/py-moneyed/pull/1
- #install_requires=['setuptools',
- # 'Django >= 1.2',
- # 'py-moneyed > 0.3'],
-# package_dir={"": ""},
+ install_requires=['setuptools',
+ 'Django >= 1.2',
+ 'py-moneyed > 0.4'],
cmdclass = cmdclass,
classifiers=["Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
@@ -31,5 +29,3 @@
"Operating System :: OS Independent",
"Programming Language :: Python",
"Framework :: Django",])
-
-
|
935a44b454d83452e302130114c1f40d934bf2ed
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from distutils.core import setup
setup(name = "f.lux indicator applet",
version = "1.1.8",
description = "f.lux indicator applet - better lighting for your computer",
author = "Kilian Valkhof, Michael and Lorna Herf, Josh Winters",
author_email = "kilian@kilianvalkhof.com",
url = "http://www.stereopsis.com/flux/",
license = "MIT license",
package_dir = {'fluxgui' : 'src/fluxgui'},
packages = ["fluxgui",],
package_data = {"fluxgui" : ["*.glade"] },
data_files=[('share/icons/hicolor/scalable/apps', ['fluxgui.svg', 'fluxgui-light.svg', 'fluxgui-dark.svg']),
('share/applications', ['desktop/fluxgui.desktop']),
('bin', ['xflux']),],
scripts = ["fluxgui"],
long_description = """f.lux indicator applet is an indicator applet to
control xflux, an application that makes the color of your computer's
display adapt to the time of day, warm at nights and like sunlight during
the day""",
)
|
#!/usr/bin/env python
from distutils.core import setup
data_files=[('share/icons/hicolor/scalable/apps', ['fluxgui.svg', 'fluxgui-light.svg', 'fluxgui-dark.svg']),
('share/applications', ['desktop/fluxgui.desktop'])]
import os
if os.path.exists("xflux"):
data_files.append( ('bin', ['xflux']) )
setup(name = "f.lux indicator applet",
version = "1.1.8",
description = "f.lux indicator applet - better lighting for your computer",
author = "Kilian Valkhof, Michael and Lorna Herf, Josh Winters",
author_email = "kilian@kilianvalkhof.com",
url = "http://www.stereopsis.com/flux/",
license = "MIT license",
package_dir = {'fluxgui' : 'src/fluxgui'},
packages = ["fluxgui",],
package_data = {"fluxgui" : ["*.glade"] },
data_files = data_files,
scripts = ["fluxgui"],
long_description = """f.lux indicator applet is an indicator applet to
control xflux, an application that makes the color of your computer's
display adapt to the time of day, warm at nights and like sunlight during
the day""",
)
|
Drop xflux binary from debian package
|
Drop xflux binary from debian package
|
Python
|
mit
|
NHellFire/f.lux-indicator-applet,esmail/f.lux-indicator-applet
|
---
+++
@@ -1,6 +1,13 @@
#!/usr/bin/env python
from distutils.core import setup
+
+data_files=[('share/icons/hicolor/scalable/apps', ['fluxgui.svg', 'fluxgui-light.svg', 'fluxgui-dark.svg']),
+ ('share/applications', ['desktop/fluxgui.desktop'])]
+
+import os
+if os.path.exists("xflux"):
+ data_files.append( ('bin', ['xflux']) )
setup(name = "f.lux indicator applet",
version = "1.1.8",
@@ -12,9 +19,7 @@
package_dir = {'fluxgui' : 'src/fluxgui'},
packages = ["fluxgui",],
package_data = {"fluxgui" : ["*.glade"] },
- data_files=[('share/icons/hicolor/scalable/apps', ['fluxgui.svg', 'fluxgui-light.svg', 'fluxgui-dark.svg']),
- ('share/applications', ['desktop/fluxgui.desktop']),
- ('bin', ['xflux']),],
+ data_files = data_files,
scripts = ["fluxgui"],
long_description = """f.lux indicator applet is an indicator applet to
control xflux, an application that makes the color of your computer's
|
4868c9a6e976612ceed26c166c3dea7fd58d0d35
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
import ast
import os
import re
import sys
from setuptools import find_packages, setup
ROOT_PATH = os.path.abspath(os.path.dirname(__file__))
# parse version from locust/__init__.py
_version_re = re.compile(r"__version__\s+=\s+(.*)")
_init_file = os.path.join(ROOT_PATH, "locust", "__init__.py")
with open(_init_file, "rb") as f:
version = str(ast.literal_eval(_version_re.search(f.read().decode("utf-8")).group(1)))
setup(
name="locust",
version=version,
install_requires=[
"gevent>=20.9.0",
"flask>=2.0.0",
"Werkzeug>=2.0.0",
"requests>=2.9.1",
"msgpack>=0.6.2",
"pyzmq>=16.0.2",
"geventhttpclient>=1.4.4",
"ConfigArgParse>=1.0",
"psutil>=5.6.7",
"Flask-BasicAuth>=0.2.0",
"Flask-Cors>=3.0.10",
],
test_suite="locust.test",
tests_require=[
"cryptography",
"mock",
"pyquery",
],
extras_require={
":sys_platform == 'win32'": ["pywin32"],
},
)
|
# -*- coding: utf-8 -*-
import ast
import os
import re
import sys
from setuptools import find_packages, setup
ROOT_PATH = os.path.abspath(os.path.dirname(__file__))
# parse version from locust/__init__.py
_version_re = re.compile(r"__version__\s+=\s+(.*)")
_init_file = os.path.join(ROOT_PATH, "locust", "__init__.py")
with open(_init_file, "rb") as f:
version = str(ast.literal_eval(_version_re.search(f.read().decode("utf-8")).group(1)))
setup(
name="locust",
version=version,
install_requires=[
"gevent>=20.9.0",
"flask>=2.0.0",
"Werkzeug>=2.0.0",
"requests>=2.9.1",
"msgpack>=0.6.2",
"pyzmq>=16.0.2",
"geventhttpclient>=1.4.4",
"ConfigArgParse>=1.0",
"psutil>=5.6.7",
"Flask-BasicAuth>=0.2.0",
"Flask-Cors>=3.0.10",
"roundrobin>=0.0.2",
],
test_suite="locust.test",
tests_require=[
"cryptography",
"mock",
"pyquery",
],
extras_require={
":sys_platform == 'win32'": ["pywin32"],
},
)
|
Include `roundrobin` in the dependencies
|
Include `roundrobin` in the dependencies
|
Python
|
mit
|
locustio/locust,locustio/locust,mbeacom/locust,mbeacom/locust,locustio/locust,mbeacom/locust,locustio/locust,mbeacom/locust
|
---
+++
@@ -29,6 +29,7 @@
"psutil>=5.6.7",
"Flask-BasicAuth>=0.2.0",
"Flask-Cors>=3.0.10",
+ "roundrobin>=0.0.2",
],
test_suite="locust.test",
tests_require=[
|
67ae21fea2db5e0a02df6afcf282d44659802c54
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name='downstream-farmer',
version='',
packages=['downstream-farmer'],
url='',
license='',
author='Storj Labs',
author_email='info@storj.io',
description='',
install_requires=[
'requests',
'heartbeat==0.1.2'
],
dependency_links = [
'https://github.com/Storj/heartbeat/archive/v0.1.2.tar.gz#egg=heartbeat-0.1.2'
],
)
|
from setuptools import setup
setup(
name='downstream-farmer',
version='',
packages=['downstream-farmer'],
url='',
license='',
author='Storj Labs',
author_email='info@storj.io',
description='',
install_requires=[
'requests',
'heartbeat==0.1.2'
],
dependency_links=[
'https://github.com/Storj/heartbeat/archive/v0.1.2.tar.gz#egg=heartbeat-0.1.2'
],
entry_points={
'console_scripts': [
'downstream = downstream-farmer.shell:main'
]
}
)
|
Add a entry point for CLI
|
Add a entry point for CLI
|
Python
|
mit
|
Storj/downstream-farmer
|
---
+++
@@ -13,7 +13,12 @@
'requests',
'heartbeat==0.1.2'
],
- dependency_links = [
+ dependency_links=[
'https://github.com/Storj/heartbeat/archive/v0.1.2.tar.gz#egg=heartbeat-0.1.2'
],
+ entry_points={
+ 'console_scripts': [
+ 'downstream = downstream-farmer.shell:main'
+ ]
+ }
)
|
1e2218469428fe974dfe0c0403a8c6fda8417321
|
setup.py
|
setup.py
|
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='rs_limits',
version='0.5.1',
author='Kevin L. Mitchell',
author_email='kevin.mitchell@rackspace.com',
description="Rackspace-specific rate-limit preprocessor for turnstile",
license='Apache License (2.0)',
py_modules=['rs_limits'],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Paste',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
],
url='https://github.com/klmitch/rs_limits',
long_description=read('README.rst'),
entry_points={
'console_scripts': [
'group_class = rs_limits:group_class',
],
},
install_requires=[
'argparse',
'nova_limits',
'turnstile',
],
tests_require=[
'mox',
'unittest2>=0.5.1',
],
)
|
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='rs_limits',
version='0.5.1',
author='Kevin L. Mitchell',
author_email='kevin.mitchell@rackspace.com',
description="Rackspace-specific rate-limit preprocessor for turnstile",
license='Apache License (2.0)',
py_modules=['rs_limits'],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Paste',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
],
url='https://github.com/klmitch/rs_limits',
long_description=read('README.rst'),
entry_points={
'console_scripts': [
'group_class = rs_limits:group_class',
],
},
install_requires=[
'argparse',
'nova_limits',
'turnstile',
],
tests_require=[
'mox',
'nose',
'unittest2>=0.5.1',
],
)
|
Add nose to dependencies list.
|
Add nose to dependencies list.
|
Python
|
apache-2.0
|
klmitch/rs_limits
|
---
+++
@@ -37,6 +37,7 @@
],
tests_require=[
'mox',
+ 'nose',
'unittest2>=0.5.1',
],
)
|
375c9ca0a9abb04408282cad14071df6215042b2
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import find_packages, setup
setup(
name='blanc-basic-events',
version='0.3.2',
description='Blanc Basic Events for Django',
long_description=open('README.rst').read(),
url='https://github.com/blancltd/blanc-basic-events',
maintainer='Alex Tomkins',
maintainer_email='alex@blanc.ltd.uk',
platforms=['any'],
install_requires=[
'blanc-basic-assets>=0.3',
'icalendar>=3.6',
],
packages=find_packages(),
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
],
license='BSD',
)
|
#!/usr/bin/env python
from setuptools import find_packages, setup
setup(
name='blanc-basic-events',
version='0.3.2',
description='Blanc Basic Events for Django',
long_description=open('README.rst').read(),
url='https://github.com/blancltd/blanc-basic-events',
maintainer='Blanc Ltd',
maintainer_email='studio@blanc.ltd.uk',
platforms=['any'],
install_requires=[
'blanc-basic-assets>=0.3',
'icalendar>=3.6',
],
packages=find_packages(),
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
],
license='BSD',
)
|
Update author to Blanc Ltd
|
Update author to Blanc Ltd
|
Python
|
bsd-3-clause
|
blancltd/blanc-basic-events
|
---
+++
@@ -8,8 +8,8 @@
description='Blanc Basic Events for Django',
long_description=open('README.rst').read(),
url='https://github.com/blancltd/blanc-basic-events',
- maintainer='Alex Tomkins',
- maintainer_email='alex@blanc.ltd.uk',
+ maintainer='Blanc Ltd',
+ maintainer_email='studio@blanc.ltd.uk',
platforms=['any'],
install_requires=[
'blanc-basic-assets>=0.3',
|
8b5f20156ecd5bf9af25654e1f605b92c2496349
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
from setuptools import setup
from doxhooks import __version__
with open("README.rst") as readme:
lines = list(readme)
for line_no, line in enumerate(lines):
if line.startswith("Doxhooks helps you"):
long_description = "".join(lines[line_no:])
break
else:
raise RuntimeError("Cannot find long description in README.")
setup(
name="Doxhooks",
version=__version__,
description=(
"Abstract away the content and maintenance of files in your project."
),
long_description=long_description,
license="MIT",
platforms=["any"],
url="https://github.com/nre/doxhooks",
author="Nick Evans",
author_email="nick.evans3976@gmail.com",
keywords=(
"abstract build code document file hook "
"preprocessor project resource source text"
),
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Pre-processors",
],
packages=["doxhooks"],
zip_safe=True,
)
|
#!/usr/bin/env python3
from setuptools import setup
from doxhooks import __version__
with open("README.rst") as readme:
lines = list(readme)
for line_no, line in enumerate(lines):
if line.startswith("Doxhooks helps you"):
long_description = "".join(lines[line_no:])
break
else:
raise RuntimeError("Cannot find long description in README.")
setup(
name="Doxhooks",
version=__version__,
description=(
"Abstract away the content and maintenance of files in your project."
),
long_description=long_description,
license="MIT",
platforms=["any"],
url="https://github.com/nre/doxhooks",
author="Nick Evans",
author_email="nick.evans3976@gmail.com",
keywords=(
"abstract build code document file hook "
"preprocessor project resource source text"
),
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Pre-processors",
],
packages=["doxhooks"],
zip_safe=True,
)
|
Add Python 3.5 to PyPI classifiers
|
Add Python 3.5 to PyPI classifiers
|
Python
|
mit
|
nre/Doxhooks,nre/Doxhooks,nre/Doxhooks
|
---
+++
@@ -46,6 +46,7 @@
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
+ "Programming Language :: Python :: 3.5",
"Topic :: Software Development :: Build Tools",
"Topic :: Software Development :: Pre-processors",
],
|
8c43908236c33d0fea6f94de9f59f346d6b74b2b
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
# Use the docstring of the __init__ file to be the description
short_description = " ".join(__import__("cumulus").__doc__.splitlines()).strip()
# Use part of the sphinx docs index for the long description
doc_dir = os.path.join(os.path.dirname(__file__), "docs")
index_filename = os.path.join(doc_dir, "index.rst")
long_description = open(index_filename).read().split("split here", 1)[1]
setup(
name="django-cumulus",
version=__import__("cumulus").get_version().replace(" ", "-"),
packages=find_packages(),
install_requires=[
"pyrax==1.4.10",
],
author="Rich Leland",
author_email="rich@richleland.com",
license="BSD",
description=short_description,
long_description=long_description,
url="https://github.com/richleland/django-cumulus/",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Framework :: Django",
]
)
|
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
# Use the docstring of the __init__ file to be the description
short_description = " ".join(__import__("cumulus").__doc__.splitlines()).strip()
# Use part of the sphinx docs index for the long description
doc_dir = os.path.join(os.path.dirname(__file__), "docs")
index_filename = os.path.join(doc_dir, "index.rst")
long_description = open(index_filename).read().split("split here", 1)[1]
setup(
name="django-cumulus",
version=__import__("cumulus").get_version().replace(" ", "-"),
packages=find_packages(),
install_requires=[
"pyrax>=1.5.0",
],
author="Rich Leland",
author_email="rich@richleland.com",
license="BSD",
description=short_description,
long_description=long_description,
url="https://github.com/richleland/django-cumulus/",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Framework :: Django",
]
)
|
Update pyrax, and make it stop reverting if the version is too new
|
Update pyrax, and make it stop reverting if the version is too new
Conflicts:
setup.py
|
Python
|
bsd-3-clause
|
bennylope/django-cumulus,mandx/django-cumulus,CoachLogix/django-cumulus,absoludity/django-cumulus,elsmorian/django-cumulus,ferrix/django-cumulus,rizumu/django-cumulus,bennylope/django-cumulus,absoludity/django-cumulus,django-cumulus/django-cumulus,ImaginaryLandscape/django-cumulus,elsmorian/django-cumulus
|
---
+++
@@ -17,7 +17,7 @@
version=__import__("cumulus").get_version().replace(" ", "-"),
packages=find_packages(),
install_requires=[
- "pyrax==1.4.10",
+ "pyrax>=1.5.0",
],
author="Rich Leland",
author_email="rich@richleland.com",
|
e2364f25d81c176ebe208d029da26738a6589dfb
|
setup.py
|
setup.py
|
import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.markdown')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-paiji2-weather',
version='0.1',
packages=['paiji2_weather'],
include_package_data=True,
description='A simple weather app',
long_description=README,
url='https://github.com/rezometz/django-paiji2-weather',
author='Supelec Rezo Metz',
author_email='paiji-dev@rezometz.org',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
|
import os
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'README.markdown')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-paiji2-weather',
version='0.1',
packages=find_packages(),
include_package_data=True,
description='A simple weather app',
long_description=README,
url='https://github.com/rezometz/django-paiji2-weather',
author='Supelec Rezo Metz',
author_email='paiji-dev@rezometz.org',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
|
Use find_packages for package discovery
|
Use find_packages for package discovery
|
Python
|
agpl-3.0
|
rezometz/django-paiji2-weather,rezometz/django-paiji2-weather
|
---
+++
@@ -1,5 +1,5 @@
import os
-from setuptools import setup
+from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'README.markdown')) as readme:
README = readme.read()
@@ -10,7 +10,7 @@
setup(
name='django-paiji2-weather',
version='0.1',
- packages=['paiji2_weather'],
+ packages=find_packages(),
include_package_data=True,
description='A simple weather app',
long_description=README,
|
41212397b89c383824a217a8db235756be27fdcc
|
setup.py
|
setup.py
|
import os
from setuptools import find_packages, setup
ROOT = os.path.abspath(os.path.dirname(__file__))
setup(
name = 'django-hookbox',
version = '0.3',
description = 'Integrate hookbox with Django.',
long_description = open(os.path.join(ROOT, 'README.txt')).read(),
author = 'Duane Griffin',
author_email = 'duaneg@dghda.com',
url = 'https://github.com/duaneg/django-hookbox',
license = 'BSD',
packages = find_packages(),
install_requires = [
'django >= 1.3',
'hookbox >= 0.3.4dev',
'testfixtures >= 1.9',
],
classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Utilities',
],
)
|
import os
from setuptools import find_packages, setup
ROOT = os.path.abspath(os.path.dirname(__file__))
setup(
name = 'django-hookbox',
version = '0.4dev',
description = 'Integrate hookbox with Django.',
long_description = open(os.path.join(ROOT, 'README.rst')).read(),
author = 'Duane Griffin',
author_email = 'duaneg@dghda.com',
url = 'https://github.com/duaneg/django-hookbox',
license = 'BSD',
packages = find_packages(),
install_requires = [
'django >= 1.3',
'hookbox >= 0.3.4dev',
'testfixtures >= 1.9',
],
classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Utilities',
],
)
|
Fix README filename; increment version
|
Fix README filename; increment version
|
Python
|
bsd-3-clause
|
duaneg/django-hookbox
|
---
+++
@@ -5,9 +5,9 @@
setup(
name = 'django-hookbox',
- version = '0.3',
+ version = '0.4dev',
description = 'Integrate hookbox with Django.',
- long_description = open(os.path.join(ROOT, 'README.txt')).read(),
+ long_description = open(os.path.join(ROOT, 'README.rst')).read(),
author = 'Duane Griffin',
author_email = 'duaneg@dghda.com',
url = 'https://github.com/duaneg/django-hookbox',
|
b76928a82021848274cf29f29d73ab1a15eefc00
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
import json
def read_from_package():
with open('package.json', 'r') as f:
pkg = json.load(f)
return dict(version=pkg['version'],
description=pkg['description'])
setup(
name='clibdoc',
packages=find_packages(),
install_requires=['jinja2'],
data_files=[('clibdoc/data', ['data/Doxyfile.in',
'data/index.html',
'data/main.html',
'data/clibdoc.css'])],
scripts=['bin/clib-doc'],
**read_from_package()
)
|
from setuptools import setup, find_packages
import json
f = open('package.json', 'r')
pkg = json.load(f)
setup(
name='clibdoc',
version=pkg['version'],
description=pkg['description'],
packages=find_packages(),
install_requires=['jinja2'],
data_files=[('clibdoc/data', ['data/Doxyfile.in',
'data/index.html',
'data/main.html',
'data/clibdoc.css'])],
scripts=['bin/clib-doc'],
)
|
Simplify installation with package.json info
|
Simplify installation with package.json info
|
Python
|
mit
|
matze/clib-doc
|
---
+++
@@ -1,14 +1,13 @@
from setuptools import setup, find_packages
import json
-def read_from_package():
- with open('package.json', 'r') as f:
- pkg = json.load(f)
- return dict(version=pkg['version'],
- description=pkg['description'])
+f = open('package.json', 'r')
+pkg = json.load(f)
setup(
name='clibdoc',
+ version=pkg['version'],
+ description=pkg['description'],
packages=find_packages(),
install_requires=['jinja2'],
data_files=[('clibdoc/data', ['data/Doxyfile.in',
@@ -16,5 +15,4 @@
'data/main.html',
'data/clibdoc.css'])],
scripts=['bin/clib-doc'],
- **read_from_package()
)
|
7139bbd8b0461f1549508206e7caf29b6fe85254
|
setup.py
|
setup.py
|
from setuptools import setup
packages = [
'cortex', 'cortex._lib', 'cortex.built_ins', 'cortex._lib.data',
'cortex.built_ins.datasets', 'cortex.built_ins.models',
'cortex.built_ins.networks', 'cortex.built_ins.transforms'
]
install_requirements = [
'imageio', 'torch', 'imageio', 'matplotlib', 'progressbar2', 'scipy',
'sklearn', 'torchvision', 'visdom', 'pyyaml', 'pathlib'
]
setup(
name='cortex',
version='0.1',
description='A library for wrapping your pytorch code',
author='R Devon Hjelm',
author_email='erroneus@gmail.com',
packages=packages,
install_requires=install_requirements,
entry_points={'console_scripts': ['cortex=cortex.main:main']},
zip_safe=False)
|
from setuptools import setup
packages = [
'cortex', 'cortex._lib', 'cortex.built_ins', 'cortex._lib.data',
'cortex.built_ins.datasets', 'cortex.built_ins.models',
'cortex.built_ins.networks', 'cortex.built_ins.transforms']
setup(name='cortex',
version='0.1',
description='A library for wrapping your pytorch code',
author='R Devon Hjelm',
author_email='erroneus@gmail.com',
packages=packages,
install_requires=[
'imageio', 'matplotlib', 'progressbar2', 'scipy', 'sklearn',
'torchvision', 'visdom', 'pyyaml'],
entry_points={
'console_scripts': [
'cortex=cortex.main:run']
},
zip_safe=False)
|
Fix console_script out of date after branch reconstruction.
|
Fix console_script out of date after branch reconstruction.
|
Python
|
bsd-3-clause
|
rdevon/cortex,rdevon/cortex
|
---
+++
@@ -1,23 +1,22 @@
+
from setuptools import setup
packages = [
'cortex', 'cortex._lib', 'cortex.built_ins', 'cortex._lib.data',
'cortex.built_ins.datasets', 'cortex.built_ins.models',
- 'cortex.built_ins.networks', 'cortex.built_ins.transforms'
-]
+ 'cortex.built_ins.networks', 'cortex.built_ins.transforms']
-install_requirements = [
- 'imageio', 'torch', 'imageio', 'matplotlib', 'progressbar2', 'scipy',
- 'sklearn', 'torchvision', 'visdom', 'pyyaml', 'pathlib'
-]
-
-setup(
- name='cortex',
- version='0.1',
- description='A library for wrapping your pytorch code',
- author='R Devon Hjelm',
- author_email='erroneus@gmail.com',
- packages=packages,
- install_requires=install_requirements,
- entry_points={'console_scripts': ['cortex=cortex.main:main']},
- zip_safe=False)
+setup(name='cortex',
+ version='0.1',
+ description='A library for wrapping your pytorch code',
+ author='R Devon Hjelm',
+ author_email='erroneus@gmail.com',
+ packages=packages,
+ install_requires=[
+ 'imageio', 'matplotlib', 'progressbar2', 'scipy', 'sklearn',
+ 'torchvision', 'visdom', 'pyyaml'],
+ entry_points={
+ 'console_scripts': [
+ 'cortex=cortex.main:run']
+ },
+ zip_safe=False)
|
6d3b21e72ce7188d6e6239d1d4112d4e1b59a170
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
from setuptools import setup, find_packages
requires = [
"equations (>=1.0,<2.0)",
"discord.py (>=1.0,<2.0)",
"sqlalchemy (>=1.2,<2.0)",
"psycopg2 (>=2.7,<3.0)",
]
dependency_links = [
"git+https://github.com/Rapptz/discord.py@rewrite#egg=discord.py-1.0",
]
setup(name='Dice-bot',
version='1.0.1',
description='Discord bot for managing D&D characters',
author='BHodges',
url='https://github.com/b-hodges/dice-bot',
install_requires=requires,
dependency_links=dependency_links,
scripts=['dicebot.py'],
packages=find_packages())
|
#!/usr/bin/env python3
from setuptools import setup, find_packages
requires = [
"equations (>=1.0,<2.0)",
# "discord.py (>=1.0,<2.0)",
"sqlalchemy (>=1.2,<2.0)",
"psycopg2 (>=2.7,<3.0)",
]
setup(name='Dice-bot',
version='1.0.1',
description='Discord bot for managing D&D characters',
author='BHodges',
url='https://github.com/b-hodges/dice-bot',
install_requires=requires,
scripts=['dicebot.py'],
packages=find_packages())
|
Comment out discord.py for now
|
Comment out discord.py for now
|
Python
|
mit
|
b-hodges/dice-bot
|
---
+++
@@ -4,13 +4,9 @@
requires = [
"equations (>=1.0,<2.0)",
- "discord.py (>=1.0,<2.0)",
+ # "discord.py (>=1.0,<2.0)",
"sqlalchemy (>=1.2,<2.0)",
"psycopg2 (>=2.7,<3.0)",
-]
-
-dependency_links = [
- "git+https://github.com/Rapptz/discord.py@rewrite#egg=discord.py-1.0",
]
setup(name='Dice-bot',
@@ -19,6 +15,5 @@
author='BHodges',
url='https://github.com/b-hodges/dice-bot',
install_requires=requires,
- dependency_links=dependency_links,
scripts=['dicebot.py'],
packages=find_packages())
|
20290fd92c6298234ea007479f875d08239594a3
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='b2fuse',
version=1.3,
description="FUSE integration for Backblaze B2 Cloud storage",
long_description=read('README.md'),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5 ',
'Programming Language :: Python :: 3.6',
],
keywords='',
author='Sondre Engebraaten',
packages=find_packages(),
install_requires=['b2==1.1.0', 'fusepy==2.0.4', 'PyYAML==3.12'],
include_package_data=True,
zip_safe=True,
entry_points={
'console_scripts': ['b2fuse = b2fuse.b2fuse:main',],
}
)
|
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='b2fuse',
version=1.3,
description="FUSE integration for Backblaze B2 Cloud storage",
long_description=read('README.md'),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5 ',
'Programming Language :: Python :: 3.6',
],
keywords='',
author='Sondre Engebraaten',
packages=find_packages(),
install_requires=['b2==1.1.0', 'fusepy==2.0.4', 'PyYAML==5.1'],
include_package_data=True,
zip_safe=True,
entry_points={
'console_scripts': ['b2fuse = b2fuse.b2fuse:main',],
}
)
|
Bump pyyaml from 3.12 to 5.1
|
Bump pyyaml from 3.12 to 5.1
Bumps [pyyaml](https://github.com/yaml/pyyaml) from 3.12 to 5.1.
- [Release notes](https://github.com/yaml/pyyaml/releases)
- [Changelog](https://github.com/yaml/pyyaml/blob/master/CHANGES)
- [Commits](https://github.com/yaml/pyyaml/compare/3.12...5.1)
Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@github.com>
|
Python
|
mit
|
sondree/b2_fuse,sondree/b2_fuse
|
---
+++
@@ -22,7 +22,7 @@
keywords='',
author='Sondre Engebraaten',
packages=find_packages(),
- install_requires=['b2==1.1.0', 'fusepy==2.0.4', 'PyYAML==3.12'],
+ install_requires=['b2==1.1.0', 'fusepy==2.0.4', 'PyYAML==5.1'],
include_package_data=True,
zip_safe=True,
entry_points={
|
0729475711bd9200d2c23a8ecb8c010c72a68fe3
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
from codecs import open # To use a consistent encoding
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
# with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
# long_description = f.read()
dependencies = [
]
setup(
name='templar',
version='1.0.0.dev3',
description='A static templating engine written in Python',
# long_description=long_description,
url='https://github.com/albert12132/templar',
author='Albert Wu',
author_email='albert12132@gmail.com',
license='MIT',
keywords=['templating', 'static template', 'markdown'],
packages=find_packages(exclude=['tests*']),
install_requires=dependencies,
package_data={
'templar': ['config.py'],
},
entry_points={
'console_scripts': [
'templar=templar.__main__:main',
'markdown=templar.markdown:main',
],
},
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
)
|
from setuptools import setup, find_packages
from codecs import open # To use a consistent encoding
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
# with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
# long_description = f.read()
dependencies = [
]
setup(
name='templar',
version='1.0.0.dev4',
description='A static templating engine written in Python',
# long_description=long_description,
url='https://github.com/albert12132/templar',
author='Albert Wu',
author_email='albert12132@gmail.com',
license='MIT',
keywords=['templating', 'static template', 'markdown'],
packages=find_packages(exclude=['tests*']),
install_requires=dependencies,
package_data={
'templar': ['config.py'],
},
entry_points={
'console_scripts': [
'templar=templar.__main__:main',
'markdown=templar.markdown:main',
],
},
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
)
|
Change version to 1.0.0.dev4; not ready for official release yet
|
Change version to 1.0.0.dev4; not ready for official release yet
|
Python
|
mit
|
albert12132/templar,albert12132/templar
|
---
+++
@@ -13,7 +13,7 @@
setup(
name='templar',
- version='1.0.0.dev3',
+ version='1.0.0.dev4',
description='A static templating engine written in Python',
# long_description=long_description,
url='https://github.com/albert12132/templar',
|
a16f7e244546c4ef1c147dec033bb58c37d00a46
|
setup.py
|
setup.py
|
# Lint as: python3
# Copyright 2020 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from setuptools import find_packages
from setuptools import setup
REQUIRED_PACKAGES = [
"apache-beam[gcp] >= 2.22.0",
"pandas >= 1.0.4",
"tensorflow_transform >= 0.22",
"Pillow >= 7.1.2",
"coverage >= 5.1",
"ipython >= 7.15.0",
"nose >= 1.3.7",
"pylint >= 2.5.3",
"fire >= 0.3.1",
"tensorflow >= 2.2.0",
"gcsfs >= 0.6.2"
]
setup(
name='tfrutil',
version='0.1',
install_requires=REQUIRED_PACKAGES,
packages=find_packages(),
include_package_data=True,
description='TFRUtil creates TensorFlow Records easily.'
)
|
# Lint as: python3
# Copyright 2020 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from setuptools import find_packages
from setuptools import setup
REQUIRED_PACKAGES = [
"apache-beam[gcp] >= 2.22.0",
"pandas >= 1.0.4",
"tensorflow_transform >= 0.22",
"Pillow >= 7.1.2",
"coverage >= 5.1",
"ipython >= 7.15.0",
"nose >= 1.3.7",
"pylint >= 2.5.3",
"fire >= 0.3.1",
"tensorflow >= 2.2.0",
"gcsfs >= 0.6.2",
"pyarrow < 0.17",
]
setup(
name='tfrutil',
version='0.1',
install_requires=REQUIRED_PACKAGES,
packages=find_packages(),
include_package_data=True,
description='TFRUtil creates TensorFlow Records easily.'
)
|
Fix tfx-bsl error due to pyarrow package version requirement.
|
Fix tfx-bsl error due to pyarrow package version requirement.
Change-Id: Ice7d39ccb0be84b36482c93b7de4b113fb1e7f82
|
Python
|
apache-2.0
|
google/tensorflow-recorder
|
---
+++
@@ -29,7 +29,8 @@
"pylint >= 2.5.3",
"fire >= 0.3.1",
"tensorflow >= 2.2.0",
- "gcsfs >= 0.6.2"
+ "gcsfs >= 0.6.2",
+ "pyarrow < 0.17",
]
|
c4cafa9ac3e737d5bab17548b7248258f72a2172
|
setup.py
|
setup.py
|
# :coding: utf-8
# :copyright: Copyright (c) 2013 Martin Pengelly-Phillips
# :license: See LICENSE.txt.
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='Segue',
version='1.0.0dev',
description='Maya and Houdini geometry transfer helper.',
packages=[
'segue',
],
package_dir={
'': 'source'
},
author='Martin Pengelly-Phillips',
author_email='martin@4degrees.ltd.uk',
license='Apache License (2.0)',
long_description=open('README.rst').read(),
url='https://bitbucket.org/4degrees/segue',
keywords='maya,houdini,transfer,cache'
)
|
# :coding: utf-8
# :copyright: Copyright (c) 2013 Martin Pengelly-Phillips
# :license: See LICENSE.txt.
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='Segue',
version='1.0.0dev',
description='Maya and Houdini geometry transfer helper.',
packages=[
'segue',
],
package_dir={
'': 'source'
},
author='Martin Pengelly-Phillips',
author_email='martin@4degrees.ltd.uk',
license='Apache License (2.0)',
long_description=open('README.rst').read(),
url='https://gitlab.com/4degrees/segue',
keywords='maya,houdini,transfer,cache'
)
|
Update links from Github to Gitlab following project move.
|
Update links from Github to Gitlab following project move.
|
Python
|
apache-2.0
|
4degrees/segue
|
---
+++
@@ -22,7 +22,7 @@
author_email='martin@4degrees.ltd.uk',
license='Apache License (2.0)',
long_description=open('README.rst').read(),
- url='https://bitbucket.org/4degrees/segue',
+ url='https://gitlab.com/4degrees/segue',
keywords='maya,houdini,transfer,cache'
)
|
c4bcbc49fa1418c085b0b10a836d42e5c69faa01
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name="pptrees",
version="0.0.2",
description="Parallel Prefix tree generation library",
url="https://github.com/tdene/synth_opt_adders",
author="tdene",
author_email="teodord.ene@gmail.com",
license="Apache 2.0",
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: System :: Hardware",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
],
keywords=["hardware adders prefix"],
package_dir={"": "src"},
packages=["pptrees"],
package_data={"pptrees": ["mappings/*.v"]},
long_description=open("README.md").read(),
python_requires=">=3.7.*",
install_requires=["networkx", "pydot", "graphviz"],
)
|
from setuptools import setup, find_namespace_packages
setup(
name="pptrees",
version="0.0.2",
description="Parallel Prefix tree generation library",
url="https://github.com/tdene/synth_opt_adders",
author="tdene",
author_email="teodord.ene@gmail.com",
license="Apache 2.0",
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: System :: Hardware",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
],
keywords=["hardware adders prefix"],
package_dir={"": "src"},
packages=find_namespace_packages(where="src"),
package_data={"pptrees": ["mappings/*.v"]},
long_description=open("README.md").read(),
python_requires=">=3.7.*",
install_requires=["networkx", "pydot", "graphviz"],
)
|
Apply same fix as in 77a463b50a
|
Apply same fix as in 77a463b50a
Signed-off-by: Teodor-Dumitru Ene <2853baffc346a14b7885b2637a7ab7a41c2198d9@gmail.com>
|
Python
|
apache-2.0
|
tdene/synth_opt_adders
|
---
+++
@@ -1,4 +1,4 @@
-from setuptools import setup
+from setuptools import setup, find_namespace_packages
setup(
name="pptrees",
@@ -16,7 +16,7 @@
],
keywords=["hardware adders prefix"],
package_dir={"": "src"},
- packages=["pptrees"],
+ packages=find_namespace_packages(where="src"),
package_data={"pptrees": ["mappings/*.v"]},
long_description=open("README.md").read(),
python_requires=">=3.7.*",
|
d95827a4a031ac54b31b9ff0997a8248456e9d50
|
setup.py
|
setup.py
|
#!/usr/bin/env python2
from setuptools import setup, find_packages
def included_package(p):
return p.startswith('spacq.') or p == 'spacq'
setup(
name='SpanishAcquisition',
version='2.0.0a1',
author='Dmitri Iouchtchenko',
author_email='diouchtc@uwaterloo.ca',
maintainer='Grant Watson',
maintainer_email='ghwatson@uwaterloo.ca',
description='Package for interfacing with devices and building user '
'interfaces.',
license='BSD',
url='http://0.github.com/SpanishAcquisition/',
packages=[p for p in find_packages() if included_package(p)],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
],
)
|
#!/usr/bin/env python2
from setuptools import setup, find_packages
def included_package(p):
return p.startswith('spacq.') or p == 'spacq'
setup(
name='SpanishAcquisition',
version='2.0.0a1',
author='Dmitri Iouchtchenko',
author_email='diouchtc@uwaterloo.ca',
maintainer='Grant Watson',
maintainer_email='ghwatson@uwaterloo.ca',
description='Package for interfacing with devices and building user '
'interfaces.',
license='BSD',
url='http://ghwatson.github.com/SpanishAcquisitionIQC/',
packages=[p for p in find_packages() if included_package(p)],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
],
)
|
Change URL to new forked repo
|
Change URL to new forked repo
|
Python
|
bsd-2-clause
|
ghwatson/SpanishAcquisitionIQC,ghwatson/SpanishAcquisitionIQC
|
---
+++
@@ -17,7 +17,7 @@
description='Package for interfacing with devices and building user '
'interfaces.',
license='BSD',
- url='http://0.github.com/SpanishAcquisition/',
+ url='http://ghwatson.github.com/SpanishAcquisitionIQC/',
packages=[p for p in find_packages() if included_package(p)],
classifiers=[
'Development Status :: 5 - Production/Stable',
|
9ddc8bba14ff52348e43238d848371d23b9e1b9a
|
setup.py
|
setup.py
|
import os
import os.path
import sys
from setuptools import find_packages, setup
requirements = ['parse>=1.1.5']
major, minor = sys.version_info[:2]
if major == 2 and minor < 7:
requirements.append('argparse')
if major == 2 and minor < 6:
requirements.append('simplejson')
description = open('README.rst').read()
setup(
name='behave',
version='1.0.0',
description='behave is behaviour-driven development, Python style',
long_description=description,
author='Benno Rice and Richard Jones',
author_email='benno@jeamland.net',
url='http://github.com/jeamland/behave',
packages=find_packages(),
scripts=['bin/behave'],
install_requires=requirements,
use_2to3=True,
zip_safe=False,
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: Jython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Testing",
"License :: OSI Approved :: BSD License",
],
)
|
import os
import os.path
import sys
from setuptools import find_packages, setup
requirements = ['parse>=1.1.5']
major, minor = sys.version_info[:2]
if major == 2 and minor < 7:
requirements.append('argparse')
if major == 2 and minor < 6:
requirements.append('simplejson')
description = open('README.rst').read()
setup(
name='behave',
version='1.0',
description='behave is behaviour-driven development, Python style',
long_description=description,
author='Benno Rice and Richard Jones',
author_email='behave-users@googlegroups.com',
url='http://github.com/jeamland/behave',
packages=find_packages(),
scripts=['bin/behave'],
install_requires=requirements,
use_2to3=True,
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: Jython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Testing",
"License :: OSI Approved :: BSD License",
],
)
|
Change email, remove zip_safe=False and "upgrade" us to Beta.
|
Change email, remove zip_safe=False and "upgrade" us to Beta.
|
Python
|
bsd-2-clause
|
spacediver/behave,vrutkovs/behave,tokunbo/behave-parallel,Abdoctor/behave,mzcity123/behave,connorsml/behave,memee/behave,jenisys/behave,mzcity123/behave,connorsml/behave,KevinOrtman/behave,Gimpneek/behave,joshal/behave,charleswhchan/behave,tokunbo/behave-parallel,spacediver/behave,KevinMarkVI/behave-parallel,hugeinc/behave-parallel,vrutkovs/behave,KevinOrtman/behave,Gimpneek/behave,Gimpneek/behave,metaperl/behave,allanlewis/behave,kymbert/behave,benthomasson/behave,kymbert/behave,benthomasson/behave,metaperl/behave,jenisys/behave,allanlewis/behave,joshal/behave,charleswhchan/behave,Abdoctor/behave
|
---
+++
@@ -15,19 +15,18 @@
setup(
name='behave',
- version='1.0.0',
+ version='1.0',
description='behave is behaviour-driven development, Python style',
long_description=description,
author='Benno Rice and Richard Jones',
- author_email='benno@jeamland.net',
+ author_email='behave-users@googlegroups.com',
url='http://github.com/jeamland/behave',
packages=find_packages(),
scripts=['bin/behave'],
install_requires=requirements,
use_2to3=True,
- zip_safe=False,
classifiers=[
- "Development Status :: 3 - Alpha",
+ "Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
|
b8028d47d52caed5b6c714fe0abe0fa433433bfc
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
# encoding: UTF-8
"""Build tar.gz for pygubu
Needed packages to run (using Debian/Ubuntu package names):
python3-tk
"""
import os
import pygubu
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
VERSION = pygubu.__version__
_dirname_ = os.path.dirname(__file__)
readme_path = os.path.join(_dirname_, 'README.md')
setup(
name='pygubu',
version=VERSION,
license='MIT',
author='Alejandro Autalán',
author_email='alejandroautalan@gmail.com',
description='A tkinter GUI builder.',
long_description=open(readme_path, 'r', encoding='utf-8').read(),
long_description_content_type='text/markdown',
url='https://github.com/alejandroautalan/pygubu',
packages=['pygubu', 'pygubu.builder',
'pygubu.builder.widgets', 'pygubu.widgets'],
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
"Topic :: Software Development :: User Interfaces",
],
)
|
#!/usr/bin/env python3
# encoding: UTF-8
"""Build tar.gz for pygubu
Needed packages to run (using Debian/Ubuntu package names):
python3-tk
"""
import os
from io import open
import pygubu
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
VERSION = pygubu.__version__
_dirname_ = os.path.dirname(__file__)
readme_path = os.path.join(_dirname_, 'README.md')
setup(
name='pygubu',
version=VERSION,
license='MIT',
author='Alejandro Autalán',
author_email='alejandroautalan@gmail.com',
description='A tkinter GUI builder.',
long_description=open(readme_path, 'r', encoding='utf-8').read(),
long_description_content_type='text/markdown',
url='https://github.com/alejandroautalan/pygubu',
packages=['pygubu', 'pygubu.builder',
'pygubu.builder.widgets', 'pygubu.widgets'],
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
"Topic :: Software Development :: User Interfaces",
],
)
|
Fix install error on python 2.7
|
Fix install error on python 2.7
|
Python
|
mit
|
alejandroautalan/pygubu,alejandroautalan/pygubu
|
---
+++
@@ -8,6 +8,7 @@
python3-tk
"""
import os
+from io import open
import pygubu
|
09fee5dc38920d44ff9d5d44f7394d79460a9fc0
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='couchforms',
version='0.0.4',
description='Dimagi Couch Forms for Django',
author='Dimagi',
author_email='information@dimagi.com',
url='http://www.dimagi.com/',
install_requires = [
"couchexport"
],
packages = find_packages(exclude=['*.pyc']),
include_package_data=True
)
|
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='couchforms',
version='0.0.4',
description='Dimagi Couch Forms for Django',
author='Dimagi',
author_email='information@dimagi.com',
url='http://www.dimagi.com/',
install_requires = [
"couchdbkit",
"couchexport",
"dimagi-utils",
"django",
"lxml",
"restkit",
],
tests_require = [
'coverage',
'django-coverage',
],
packages = find_packages(exclude=['*.pyc']),
include_package_data=True
)
|
Add some mandatory and semi-mandatory dependencies
|
Add some mandatory and semi-mandatory dependencies
|
Python
|
bsd-3-clause
|
puttarajubr/commcare-hq,SEL-Columbia/commcare-hq,SEL-Columbia/commcare-hq,qedsoftware/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,qedsoftware/commcare-hq,puttarajubr/commcare-hq,puttarajubr/commcare-hq,dimagi/commcare-hq,qedsoftware/commcare-hq,dimagi/commcare-hq,qedsoftware/commcare-hq,puttarajubr/commcare-hq,SEL-Columbia/commcare-hq,qedsoftware/commcare-hq,dimagi/commcare-hq
|
---
+++
@@ -10,7 +10,16 @@
author_email='information@dimagi.com',
url='http://www.dimagi.com/',
install_requires = [
- "couchexport"
+ "couchdbkit",
+ "couchexport",
+ "dimagi-utils",
+ "django",
+ "lxml",
+ "restkit",
+ ],
+ tests_require = [
+ 'coverage',
+ 'django-coverage',
],
packages = find_packages(exclude=['*.pyc']),
include_package_data=True
|
d86071ea7b359dcdccc226bfdb6fc9f29e7eeba5
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name="cybox",
version="1.0b1",
author="CybOX Project, MITRE Corporation",
author_email="cybox@mitre.org",
description="An API for parsing and generating CybOX content.",
url="http://cybox.mitre.org",
packages=find_packages(),
install_requires=['lxml>=2.3', 'python-dateutil'],
classifiers=[
"Programming Language :: Python",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
]
)
|
from setuptools import setup, find_packages
setup(
name="cybox",
version="1.0.0b1",
author="CybOX Project, MITRE Corporation",
author_email="cybox@mitre.org",
description="A Python library for parsing and generating CybOX content.",
url="http://cybox.mitre.org",
packages=find_packages(),
install_requires=['lxml>=2.3', 'python-dateutil'],
classifiers=[
"Programming Language :: Python",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
]
)
|
Prepare to release on PyPI
|
Prepare to release on PyPI
[ci skip]
|
Python
|
bsd-3-clause
|
CybOXProject/python-cybox
|
---
+++
@@ -2,10 +2,10 @@
setup(
name="cybox",
- version="1.0b1",
+ version="1.0.0b1",
author="CybOX Project, MITRE Corporation",
author_email="cybox@mitre.org",
- description="An API for parsing and generating CybOX content.",
+ description="A Python library for parsing and generating CybOX content.",
url="http://cybox.mitre.org",
packages=find_packages(),
install_requires=['lxml>=2.3', 'python-dateutil'],
|
b03a50e8500ebdccfbf615e87d56d9c9f8d009b6
|
setup.py
|
setup.py
|
from setuptools import setup
from git_version import git_version
setup(
name='python-ev3dev',
version=git_version(),
description='Python language bindings for ev3dev',
author='Ralph Hempel',
author_email='rhempel@hempeldesigngroup.com',
license='MIT',
url='https://github.com/rhempel/ev3dev-lang-python',
include_package_data=True,
py_modules=['ev3dev'],
install_requires=['pil']
)
|
from setuptools import setup
from git_version import git_version
setup(
name='python-ev3dev',
version=git_version(),
description='Python language bindings for ev3dev',
author='Ralph Hempel',
author_email='rhempel@hempeldesigngroup.com',
license='MIT',
url='https://github.com/rhempel/ev3dev-lang-python',
include_package_data=True,
py_modules=['ev3dev'],
install_requires=['Pillow']
)
|
Replace pil with Pillow in python package requirements
|
Replace pil with Pillow in python package requirements
Debian package python-pil does install Pillow, the alive fork of dead
PIL project. When, however, pil is specified as package dependency in
setup.py, and python-ev3dev is installed with either
`easy_install python-ev3dev` or `python setup.py install`,
an attempt is made to install the actual PIL from PyPI. This fails on my
host system, and I think is not desired behavior anyway.
Also see ev3dev/ev3dev-lang#113
|
Python
|
mit
|
dwalton76/ev3dev-lang-python,ensonic/ev3dev-lang-python,dwalton76/ev3dev-lang-python,ensonic/ev3dev-lang-python-1,rhempel/ev3dev-lang-python,ddemidov/ev3dev-lang-python-1
|
---
+++
@@ -12,6 +12,6 @@
url='https://github.com/rhempel/ev3dev-lang-python',
include_package_data=True,
py_modules=['ev3dev'],
- install_requires=['pil']
+ install_requires=['Pillow']
)
|
fabbfe43cc7d0b8d1158be66bcda4546ed258668
|
setup.py
|
setup.py
|
import os
from setuptools import setup, find_packages
version = '0.2.1'
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='django-templatepages',
version = version,
description = "Django app for mapping URLs to templates on the filesystem",
long_description = read('README.rst'),
classifiers = [],
keywords = "",
author = "Bryan Chow",
author_email = '',
url = 'https://github.com/bryanchow/django-templatepages',
download_url = 'https://github.com/bryanchow/django-templatepages/tarball/master',
license = 'BSD',
packages = find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data = True,
zip_safe = False,
install_requires = [
'django',
],
)
|
import os
from setuptools import setup, find_packages
version = '0.2.2'
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='django-templatepages',
version = version,
description = "Django app for mapping URLs to templates on the filesystem",
long_description = read('README.rst'),
classifiers = [],
keywords = "",
author = "Bryan Chow",
author_email = '',
url = 'https://github.com/bryanchow/django-templatepages',
download_url = 'https://github.com/bryanchow/django-templatepages/tarball/master',
license = 'BSD',
packages = find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data = True,
zip_safe = False,
install_requires = [
'django',
],
)
|
Bump version number to 0.2.2
|
Bump version number to 0.2.2
|
Python
|
bsd-3-clause
|
bryanchow/django-templatepages
|
---
+++
@@ -1,7 +1,7 @@
import os
from setuptools import setup, find_packages
-version = '0.2.1'
+version = '0.2.2'
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
618a64da4f44e525082a3229e8b6c1abc2099cff
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.6.0",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: POSIX",
"Programming Language :: Python",
"Topic :: Scientific/Engineering :: Information Analysis",
],
description = "OpenFisca tax and benefit system for Country-Template",
keywords = "benefit microsimulation social tax",
license ="http://www.fsf.org/licensing/licenses/agpl-3.0.html",
url = "https://github.com/openfisca/country-template",
include_package_data = True, # Will read MANIFEST.in
data_files = [
("share/openfisca/openfisca-country-template", ["CHANGELOG.md", "LICENSE", "README.md"]),
],
install_requires = [
"OpenFisca-Core[web-api] >= 25.0, < 26.0",
],
extras_require = {
"dev": [
"autopep8 == 1.4.0",
"flake8 >= 3.5.0, < 3.6.0",
"flake8-print",
"pycodestyle >= 2.3.0, < 2.4.0", # To avoid incompatibility with flake
]
},
packages=find_packages(),
)
|
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = "OpenFisca-Country-Template",
version = "3.6.0",
author = "OpenFisca Team",
author_email = "contact@openfisca.org",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: POSIX",
"Programming Language :: Python",
"Topic :: Scientific/Engineering :: Information Analysis",
],
description = "OpenFisca tax and benefit system for Country-Template",
keywords = "benefit microsimulation social tax",
license ="http://www.fsf.org/licensing/licenses/agpl-3.0.html",
url = "https://github.com/openfisca/country-template",
include_package_data = True, # Will read MANIFEST.in
data_files = [
("share/openfisca/openfisca-country-template", ["CHANGELOG.md", "LICENSE", "README.md"]),
],
install_requires = [
"OpenFisca-Core[web-api] >= 26.0, < 27.0",
],
extras_require = {
"dev": [
"autopep8 == 1.4.0",
"flake8 >= 3.5.0, < 3.6.0",
"flake8-print",
"pycodestyle >= 2.3.0, < 2.4.0", # To avoid incompatibility with flake
]
},
packages=find_packages(),
)
|
Update dependency to Core v26
|
Update dependency to Core v26
|
Python
|
agpl-3.0
|
openfisca/country-template,openfisca/country-template
|
---
+++
@@ -23,7 +23,7 @@
("share/openfisca/openfisca-country-template", ["CHANGELOG.md", "LICENSE", "README.md"]),
],
install_requires = [
- "OpenFisca-Core[web-api] >= 25.0, < 26.0",
+ "OpenFisca-Core[web-api] >= 26.0, < 27.0",
],
extras_require = {
"dev": [
|
a9a582f5c1ee852ac23e631595d8cfa4a6575a8c
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='svglue',
version='0.2dev',
description='Create templates using Inkscape, then fill them in (and '
'render them to PDF, if you like).',
long_description=read('README.rst'),
author='Marc Brinkmann',
author_email='git@marcbrinkmann.de',
url='http://github.com/mbr/svglue',
license='MIT',
packages=find_packages(exclude=['test']),
install_requires=['lxml'],
)
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='svglue',
version='0.2.0.dev1',
description='Create templates using Inkscape, then fill them in (and '
'render them to PDF, if you like).',
long_description=read('README.rst'),
author='Marc Brinkmann',
author_email='git@marcbrinkmann.de',
url='http://github.com/mbr/svglue',
license='MIT',
packages=find_packages(exclude=['test']),
install_requires=['lxml'],
)
|
Prepare for upcoming release by fixing the version number syntax.
|
Prepare for upcoming release by fixing the version number syntax.
|
Python
|
mit
|
ticktronaut/svglue
|
---
+++
@@ -12,7 +12,7 @@
setup(
name='svglue',
- version='0.2dev',
+ version='0.2.0.dev1',
description='Create templates using Inkscape, then fill them in (and '
'render them to PDF, if you like).',
long_description=read('README.rst'),
|
704721b8bcfa54591325f7a88b45b3b4b7929cd0
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name='tangled.session',
version='0.1a3.dev0',
description='Tangled session integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.session/tags',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=[
'tangled',
'tangled.session',
'tangled.session.tests',
],
install_requires=[
'tangled>=0.1a5',
'Beaker>=1.6.4',
],
extras_require={
'dev': [
'tangled[dev]>=0.1a5',
],
},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
)
|
from setuptools import setup
setup(
name='tangled.session',
version='0.1a3.dev0',
description='Tangled session integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.session/tags',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=[
'tangled',
'tangled.session',
'tangled.session.tests',
],
install_requires=[
'tangled>=0.1a5',
'Beaker>=1.6.4',
],
extras_require={
'dev': [
'tangled[dev]>=0.1a5',
],
},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
)
|
Add generic Python 3 trove classifier
|
Add generic Python 3 trove classifier
|
Python
|
mit
|
TangledWeb/tangled.session
|
---
+++
@@ -28,6 +28,7 @@
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
+ 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
|
d547d45b7bb8915504b25efc508976cbb0257604
|
setup.py
|
setup.py
|
import os
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'VERSION')) as v_file:
version = v_file.read().strip()
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
setup(
name='canvas_python_sdk',
version=version,
description='A python SDK for Instructure\'s Canvas LMS API',
author='Harvard University',
author_email='tlt-opensource@g.harvard.edu',
url='https://github.com/penzance/canvas_python_sdk',
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
long_description=README,
classifiers=[
"License :: OSI Approved :: MIT License",
'Operating System :: OS Independent',
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development",
],
keywords='canvas api sdk LMS',
license='MIT',
zip_safe=False,
install_requires=[
'requests',
],
test_suite='tests',
tests_require=[
'mock>=1.0.1',
],
)
|
import os
from setuptools import setup, find_packages
with open(os.path.join(os.path.dirname(__file__), 'VERSION')) as v_file:
version = v_file.read().strip()
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
setup(
name='canvas_python_sdk',
version=version,
description='A python SDK for Instructure\'s Canvas LMS API',
author='Harvard University',
author_email='tlt-opensource@g.harvard.edu',
url='https://github.com/penzance/canvas_python_sdk',
packages=find_packages(exclude=["*.tests", "*.tests.*", "tests.*", "tests"]),
long_description=README,
classifiers=[
"License :: OSI Approved :: MIT License",
'Operating System :: OS Independent',
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Topic :: Software Development",
],
keywords='canvas api sdk LMS',
license='MIT',
zip_safe=False,
install_requires=[
'requests',
],
extras_require={
'docs': ['sphinx>=1.2.0'],
},
test_suite='tests',
tests_require=[
'mock>=1.0.1',
],
)
|
Move sphinx requirement into `extras`
|
Move sphinx requirement into `extras`
|
Python
|
mit
|
penzance/canvas_python_sdk
|
---
+++
@@ -32,6 +32,9 @@
install_requires=[
'requests',
],
+ extras_require={
+ 'docs': ['sphinx>=1.2.0'],
+ },
test_suite='tests',
tests_require=[
'mock>=1.0.1',
|
d0212aea443d6adb8e0a1435f53066973c765782
|
setup.py
|
setup.py
|
from setuptools import setup, PEP420PackageFinder
setup(
name='tangled.web',
version='1.0a11.dev0',
description='RESTful Web Framework',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.web/tags',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=PEP420PackageFinder.find(include=['tangled*']),
include_package_data=True,
install_requires=[
'tangled>=1.0a10',
'MarkupSafe>=0.23',
'WebOb>=1.5.1',
],
extras_require={
'dev': [
'tangled[dev]>=1.0a10',
],
},
entry_points="""
[tangled.scripts]
serve = tangled.web.scripts.serve
shell = tangled.web.scripts.shell
show = tangled.web.scripts.show
[tangled.scaffolds]
basic = tangled.web.scaffolds:basic
""",
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
|
from setuptools import setup, PEP420PackageFinder
setup(
name='tangled.web',
version='1.0a11.dev0',
description='RESTful Web Framework',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.web/tags',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=PEP420PackageFinder.find(include=['tangled*']),
include_package_data=True,
install_requires=[
'tangled>=1.0a11',
'MarkupSafe>=0.23',
'WebOb>=1.5.1',
],
extras_require={
'dev': [
'tangled[dev]>=1.0a11',
],
},
entry_points="""
[tangled.scripts]
serve = tangled.web.scripts.serve
shell = tangled.web.scripts.shell
show = tangled.web.scripts.show
[tangled.scaffolds]
basic = tangled.web.scaffolds:basic
""",
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
|
Upgrade tangled 1.0a10 => 1.0a11
|
Upgrade tangled 1.0a10 => 1.0a11
|
Python
|
mit
|
TangledWeb/tangled.web
|
---
+++
@@ -13,13 +13,13 @@
packages=PEP420PackageFinder.find(include=['tangled*']),
include_package_data=True,
install_requires=[
- 'tangled>=1.0a10',
+ 'tangled>=1.0a11',
'MarkupSafe>=0.23',
'WebOb>=1.5.1',
],
extras_require={
'dev': [
- 'tangled[dev]>=1.0a10',
+ 'tangled[dev]>=1.0a11',
],
},
entry_points="""
|
c7611391de40d2ac296f3a8dcb1579400eac0bdf
|
setup.py
|
setup.py
|
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
requires = [
'pyramid',
'pyramid_zodbconn',
'pyramid_tm',
'pyramid_debugtoolbar',
'ZODB3',
'waitress',
'repoze.folder',
'zope.interface',
'requests==0.14.0',
]
setup(name='push-hub',
version='0.2',
description='push-hub',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pylons",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author='',
author_email='',
url='',
keywords='web pylons pyramid',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires = requires,
tests_require= requires,
test_suite="pushhub",
entry_points = """\
[paste.app_factory]
main = pushhub:main
""",
)
|
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.txt')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
requires = [
'pyramid',
'pyramid_zodbconn',
'pyramid_tm',
'pyramid_debugtoolbar',
'ZODB3',
'waitress',
'repoze.folder',
'zope.interface',
'requests',
]
setup(name='push-hub',
version='0.2',
description='push-hub',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pylons",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author='',
author_email='',
url='',
keywords='web pylons pyramid',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires = requires,
tests_require= requires,
test_suite="pushhub",
entry_points = """\
[paste.app_factory]
main = pushhub:main
""",
)
|
Move requests pin to versions.cfg in buildout
|
Move requests pin to versions.cfg in buildout
|
Python
|
bsd-3-clause
|
ucla/PushHubCore
|
---
+++
@@ -15,7 +15,7 @@
'waitress',
'repoze.folder',
'zope.interface',
- 'requests==0.14.0',
+ 'requests',
]
setup(name='push-hub',
|
77d6e1fb12d88559074b87cca9a6b9492a498cc6
|
setup.py
|
setup.py
|
from os import path
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(path.join(path.dirname(__file__), fname)).read()
setup(
name="pconf",
version="0.2.1",
author="Andras Maroy",
author_email="andras@maroy.hu",
description=("Hierarchical python configuration with files, environment variables, command-line arguments."),
license="MIT",
keywords="configuration hierarchical",
url="https://github.com/andrasmaroy/pconf",
packages=['pconf', 'tests'],
long_description=read('README.md'),
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
extras_require={
'test': ['pytest', 'mock'],
},
)
|
from os import path
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(path.join(path.dirname(__file__), fname)).read()
setup(
name="pconf",
version="0.3.0",
author="Andras Maroy",
author_email="andras@maroy.hu",
description=("Hierarchical python configuration with files, environment variables, command-line arguments."),
license="MIT",
keywords="configuration hierarchical",
url="https://github.com/andrasmaroy/pconf",
packages=['pconf', 'tests'],
long_description=read('README.md'),
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
extras_require={
'test': ['pytest', 'mock'],
},
)
|
Increment version for memory stores
|
Increment version for memory stores
|
Python
|
mit
|
andrasmaroy/pconf
|
---
+++
@@ -12,7 +12,7 @@
setup(
name="pconf",
- version="0.2.1",
+ version="0.3.0",
author="Andras Maroy",
author_email="andras@maroy.hu",
description=("Hierarchical python configuration with files, environment variables, command-line arguments."),
|
8b7d58c576fbeaa5391b968a82cc3ecd1ef18b66
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name='webcomix',
version=1.3,
description='Webcomic downloader',
long_description='webcomix is a webcomic downloader that can additionally create a .cbz file once downloaded.',
url='https://github.com/J-CPelletier/webcomix',
author='Jean-Christophe Pelletier',
author_email='pelletierj97@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: End Users/Desktop',
'Topic :: Internet :: WWW/HTTP',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Operating System :: OS Independent'
],
packages=[
"webcomix"
],
install_requires=[
'Click',
'lxml',
'requests',
'fake-useragent',
'scrapy'
],
extras_require={
'dev': [
'pytest',
'pytest-cov',
'coveralls'
]
},
python_requires='>=3.5',
entry_points='''
[console_scripts]
webcomix=webcomix.main:cli
''',
)
|
from setuptools import setup
setup(
name='webcomix',
version=1.3,
description='Webcomic downloader',
long_description='webcomix is a webcomic downloader that can additionally create a .cbz file once downloaded.',
url='https://github.com/J-CPelletier/webcomix',
author='Jean-Christophe Pelletier',
author_email='pelletierj97@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: End Users/Desktop',
'Topic :: Internet :: WWW/HTTP',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Operating System :: OS Independent'
],
packages=[
"webcomix"
],
install_requires=[
'Click',
'lxml',
'requests',
'fake-useragent',
'scrapy'
],
extras_require={
'dev': [
'pytest',
'pytest-cov',
'pytest-mock',
'coveralls'
]
},
python_requires='>=3.5',
entry_points='''
[console_scripts]
webcomix=webcomix.main:cli
''',
)
|
Add pytest-mock to the dependencies
|
Add pytest-mock to the dependencies
|
Python
|
mit
|
J-CPelletier/webcomix,J-CPelletier/WebComicToCBZ,J-CPelletier/webcomix
|
---
+++
@@ -33,6 +33,7 @@
'dev': [
'pytest',
'pytest-cov',
+ 'pytest-mock',
'coveralls'
]
},
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.