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 |
|---|---|---|---|---|---|---|---|---|---|---|
fccf3f1b2eb1a861d8c63aef1bef9ba4ac03a777 | setup.py | setup.py | #-*- encoding: utf-8 -*-
from setuptools import setup
from setuptools.command.test import test as TestCommand
import sys
class Tox(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#impor... | #-*- encoding: utf-8 -*-
from setuptools import setup
from setuptools.command.test import test as TestCommand
import sys
class Tox(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
#impor... | Add Python 3 trove classifier | Add Python 3 trove classifier
| Python | bsd-3-clause | rescale/django-money,recklessromeo/django-money,tsouvarev/django-money,AlexRiina/django-money,recklessromeo/django-money,tsouvarev/django-money | ---
+++
@@ -38,6 +38,7 @@
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
+ "Programming Language :: Python :: 3",
"Framework :: Django", ],
tests_... |
fd99c30f1bc03a39fa378cfda0fe6249d4a48722 | setup.py | setup.py | from setuptools import setup, find_packages
import os
name = 'docrepr'
here = os.path.abspath(os.path.dirname(__file__))
version_ns = {}
with open(os.path.join(here, name, '_version.py')) as f:
exec(f.read(), {}, version_ns)
setup(
name=name,
version=version_ns['__version__'],
description='docrepr re... | from setuptools import setup, find_packages
import os
name = 'docrepr'
here = os.path.abspath(os.path.dirname(__file__))
version_ns = {}
with open(os.path.join(here, name, '_version.py')) as f:
exec(f.read(), {}, version_ns)
setup(
name=name,
version=version_ns['__version__'],
description='docrepr re... | Fix author field and maintainer one | Setup.py: Fix author field and maintainer one
| Python | bsd-3-clause | spyder-ide/docrepr,spyder-ide/docrepr,spyder-ide/docrepr | ---
+++
@@ -17,6 +17,7 @@
include_package_data=True,
install_requires=['docutils', 'jinja2', 'sphinx'],
url='https://github.com/spyder-ide/docrepr',
- author='The Spyder Development Team',
+ author='Tim Dumol / The Spyder Development Team',
+ maintainer='The Spyder Development Team',
lice... |
c360d62a088dc4ea0722f3ff062bf82422b2c8a6 | setup.py | setup.py | from setuptools import setup
setup(name='dpaw-utils',
version='0.3a12',
description='Utilities for Django/Python apps',
url='https://github.com/parksandwildlife/dpaw-utils',
author='Department of Parks and Wildlife',
author_email='asi@dpaw.wa.gov.au',
license='BSD',
packages=[... | from setuptools import setup
setup(name='dpaw-utils',
version='0.3a15',
description='Utilities for Django/Python apps',
url='https://github.com/parksandwildlife/dpaw-utils',
author='Department of Parks and Wildlife',
author_email='asi@dpaw.wa.gov.au',
license='BSD',
packages=[... | Increment lib version to 0.3a15. | Increment lib version to 0.3a15.
| Python | apache-2.0 | rockychen-dpaw/dpaw-utils,rockychen-dpaw/dpaw-utils,parksandwildlife/dpaw-utils,parksandwildlife/dpaw-utils | ---
+++
@@ -1,7 +1,7 @@
from setuptools import setup
setup(name='dpaw-utils',
- version='0.3a12',
+ version='0.3a15',
description='Utilities for Django/Python apps',
url='https://github.com/parksandwildlife/dpaw-utils',
author='Department of Parks and Wildlife', |
afc1fb93e8713feecefeb10e77c725b28f09b5f8 | setup.py | setup.py | from setuptools import setup
setup(
maintainer='Adam Grandquist',
maintainer_email='grandquista@gmail.com',
name='libReQL',
url='https://github.com/grandquista/ReQL-Core',
version='0.1.0',
zip_safe=False
)
| from setuptools import setup, Extension
setup(
ext_modules=[Extension('libReQL', [
'ReQL-expr.c',
'ReQL-ast.c',
'ReQL.c',
'ReQL-expr-Python.c',
'ReQL-ast-Python.c',
'ReQL-Python.c'
])],
maintainer='Adam Grandquist',
maintainer_email='grandquista@gmail.com... | Make Python try to build extension. | Make Python try to build extension.
| Python | apache-2.0 | grandquista/ReQL-Core,grandquista/ReQL-Core,grandquista/ReQL-Core,grandquista/ReQL-Core | ---
+++
@@ -1,6 +1,14 @@
-from setuptools import setup
+from setuptools import setup, Extension
setup(
+ ext_modules=[Extension('libReQL', [
+ 'ReQL-expr.c',
+ 'ReQL-ast.c',
+ 'ReQL.c',
+ 'ReQL-expr-Python.c',
+ 'ReQL-ast-Python.c',
+ 'ReQL-Python.c'
+ ])],
main... |
1a75bfa255eef976f55d9d08c88697183c8b1e8f | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
version = "0.0.3"
setup(
name="pyopen",
version=version,
author="Tim O'Donnell",
author_email="timodonnell@gmail.com",
packages=["pyopen", "pyopen.loaders"],
url="https://github.com/timodonnell/pyope... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
version = "0.0.4"
setup(
name="pyopen",
version=version,
author="Tim O'Donnell",
author_email="timodonnell@gmail.com",
packages=["pyopen", "pyopen.loaders"],
url="https://github.com/timodonnell/pyope... | Add requests dependency, bump to 0.0.4 | Add requests dependency, bump to 0.0.4
| Python | apache-2.0 | timodonnell/pyopen | ---
+++
@@ -3,7 +3,7 @@
except ImportError:
from distutils.core import setup
-version = "0.0.3"
+version = "0.0.4"
setup(
name="pyopen",
@@ -34,6 +34,7 @@
"traitlets",
"six",
"xlrd",
+ "requests",
"pandas>=0.16.1",
"nose>=1.3.1",
] |
76efd79df4b996323872dbe48c39d8f21af6a09f | setup.py | setup.py | #!/usr/bin/env python3
import setuptools
import unittest
def discover_tests():
test_loader = unittest.TestLoader()
return test_loader.discover('.', pattern='*_test.py')
setuptools.setup(
name='mesonwrap',
version='0.0.4',
author='The Meson development team',
license='Apache 2',
url='htt... | #!/usr/bin/env python3
import setuptools
import unittest
def discover_tests():
test_loader = unittest.TestLoader()
return test_loader.discover('.', pattern='*_test.py')
setuptools.setup(
name='mesonwrap',
version='0.0.4',
author='The Meson development team',
license='Apache 2',
url='htt... | Install templates with wrapweb package | Install templates with wrapweb package
| Python | apache-2.0 | mesonbuild/wrapweb,mesonbuild/wrapweb,mesonbuild/wrapweb | ---
+++
@@ -16,6 +16,9 @@
license='Apache 2',
url='https://github.com/mesonbuild/wrapweb',
packages=['mesonwrap', 'wrapweb'],
+ package_data={
+ 'wrapweb': ['templates/*.html'],
+ },
scripts=['mesonwrap.py'],
test_suite='setup.discover_tests',
) |
44c338e09bcb91003516d9589cf78c1a5896c73a | setup.py | setup.py | import os
try:
from setuptools import setup
except ImportError:
from distutils.core 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... | import os
try:
from setuptools import setup
except ImportError:
from distutils.core 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... | Prepare for test PyPI upload | Prepare for test PyPI upload
| Python | mit | bjmorgan/lattice_mc | ---
+++
@@ -18,7 +18,7 @@
'author': 'Benjamin J. Morgan',
'author_email': 'b.j.morgan@bath.ac.uk',
'url': 'https://github.com/bjmorgan/lattice_mc',
- 'download_url': 'https://github.com/bjmorgan/lattice_mc/tarball/1.0.0',
+ 'download_url': 'https://github.com/bjmorgan/lattice_mc/tarball/0.9.1',
... |
65d6563d22c8500402b23c09d3b8991b79c94dee | setup.py | setup.py | #
# Copyright 2016 BMC Software, Inc.
#
# 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 w... | #
# Copyright 2016 BMC Software, Inc.
#
# 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 w... | Add versions to install requirements | Add versions to install requirements
| Python | apache-2.0 | jdgwartney/meter-plugin-sdk-python,jdgwartney/meter-plugin-sdk-python | ---
+++
@@ -32,6 +32,7 @@
license='LICENSE',
description='TrueSight Pulse Meter Plugin SDK for Python',
long_description=open('README.txt').read(),
- install_requires=['tinyrpc', 'tspapi',],
- setup_requires=['tinyrpc', 'tspapi', ],
+ install_requires=[
+ 'tinyrpc >= 0.5',
+ 'tspapi >= ... |
c793efc175d0c5829f7dca1916e35def43f1a9fc | setup.py | setup.py | import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
setup(
name='django-arcutils',
version=VERSION,
url='https://github.com/PSU-OIT-ARC/django-arcutils',
author='PSU - OIT - ARC',
author_email='consultants@pdx.edu',
description='Common utilities used in ARC Django proj... | import sys
from setuptools import find_packages, setup
VERSION = '2.0.dev0'
setup(
name='django-arcutils',
version=VERSION,
url='https://github.com/PSU-OIT-ARC/django-arcutils',
author='PSU - OIT - ARC',
author_email='consultants@pdx.edu',
description='Common utilities used in ARC Django proj... | Add min version of ldap3 | Add min version of ldap3
| Python | mit | wylee/django-arcutils,wylee/django-arcutils,PSU-OIT-ARC/django-arcutils,PSU-OIT-ARC/django-arcutils | ---
+++
@@ -19,7 +19,7 @@
],
extras_require={
'ldap': [
- 'ldap3',
+ 'ldap3>=0.9.9.1',
],
'dev': [
'django>=1.7', |
5d5d9455f801a3279dc450b2cf7203da5dc64f6b | setup.py | setup.py | from setuptools import setup, Extension
from Cython.Build import cythonize
from Cython.Distutils import build_ext
import numpy
ext = Extension('noisily.noise',
sources=['noisily/noise.pyx'],
include_dirs=['noise-c/include', numpy.get_include()],
extra_objects=['noise-c/target/release/libnois... | from setuptools import setup, Extension
from Cython.Build import cythonize
from Cython.Distutils import build_ext
import numpy
import sys
if sys.platform == 'win32':
pass
elif sys.platform == 'darwin':
noise_link_libraries = ['System', 'c', 'm']
else:
noise_link_libraries = ['util', 'dl', 'pthread', 'gc... | Fix missing symbols from static linking | Fix missing symbols from static linking
| Python | apache-2.0 | tocubed/noisily,tocubed/noisily,tocubed/noisily | ---
+++
@@ -5,11 +5,20 @@
import numpy
+import sys
+
+if sys.platform == 'win32':
+ pass
+elif sys.platform == 'darwin':
+ noise_link_libraries = ['System', 'c', 'm']
+else:
+ noise_link_libraries = ['util', 'dl', 'pthread', 'gcc_s', 'c', 'm', 'rt', 'util']
ext = Extension('noisily.noise',
s... |
3e7e6e0742965eef5064be2e669ec91c61324fc5 | setup.py | setup.py | import io
import os
import re
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'opencmiss', 'utils', '__init__.py')) as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).gr... | import io
import os
import re
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'src', 'opencmiss', 'utils', '__init__.py')) as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTIL... | Correct definition of path to version information for package. | Correct definition of path to version information for package.
| Python | apache-2.0 | OpenCMISS-Bindings/opencmiss.utils | ---
+++
@@ -7,7 +7,7 @@
here = os.path.abspath(os.path.dirname(__file__))
-with open(os.path.join(here, 'opencmiss', 'utils', '__init__.py')) as fd:
+with open(os.path.join(here, 'src', 'opencmiss', 'utils', '__init__.py')) as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
... |
a9542b41af8b3dcc999994c9954dee04414995c7 | setup.py | setup.py | from setuptools import setup
import io
import os
version = '0.2.4'
readme_path = os.path.join(os.path.dirname(__file__), 'README.rst')
with io.open(readme_path, encoding='utf-8') as f:
long_description = f.read()
setup(
name='markdown2ctags',
description='Generates ctags-compatible output for the sec... | from setuptools import setup
import io
import os
version = '0.2.5'
readme_path = os.path.join(os.path.dirname(__file__), 'README.rst')
with io.open(readme_path, encoding='utf-8') as f:
long_description = f.read()
setup(
name='markdown2ctags',
description='Generates ctags-compatible output for the sec... | Bump version number for release. | Bump version number for release.
| Python | bsd-3-clause | jszakmeister/markdown2ctags | ---
+++
@@ -4,7 +4,7 @@
import os
-version = '0.2.4'
+version = '0.2.5'
readme_path = os.path.join(os.path.dirname(__file__), 'README.rst') |
e1595a489ef7a5243dd4bf759a393338257e02dd | setup.py | setup.py | from setuptools import setup
from os import path
project_dir = path.abspath(path.dirname(__file__))
def read_from(filename):
with open(path.join(project_dir, filename), encoding='utf-8') as f:
return f.read().strip()
setup(
name='nlist',
version=read_from('VERSION'),
description='A lightwei... | from setuptools import setup
from os import path
project_dir = path.abspath(path.dirname(__file__))
def read_from(filename):
with open(path.join(project_dir, filename), encoding='utf-8') as f:
return f.read().strip()
setup(
name='nlist',
version=read_from('VERSION'),
description='A lightwei... | Remove badges from pypi description | Remove badges from pypi description
| Python | mit | swarmer/nlist,swarmer/nlist | ---
+++
@@ -13,7 +13,7 @@
name='nlist',
version=read_from('VERSION'),
description='A lightweight multidimensional list in Python',
- long_description=read_from('README.rst'),
+ long_description='\n'.join(read_from('README.rst').splitlines()[3:]),
url='https://github.com/swarmer/nlist',
... |
5010f46259e7ac9ed70c1eecef454fef2f55fea4 | setup.py | setup.py | """Install Mesh TensorFlow."""
from setuptools import find_packages
from setuptools import setup
setup(
name='mesh-tensorflow',
version='0.0.5',
description='Mesh TensorFlow',
author='Google Inc.',
author_email='no-reply@google.com',
url='http://github.com/tensorflow/mesh',
license='Apache... | """Install Mesh TensorFlow."""
from setuptools import find_packages
from setuptools import setup
setup(
name='mesh-tensorflow',
version='0.0.5',
description='Mesh TensorFlow',
author='Google Inc.',
author_email='no-reply@google.com',
url='http://github.com/tensorflow/mesh',
license='Apache... | Move gin-config to install_requires to fix build. | Move gin-config to install_requires to fix build.
PiperOrigin-RevId: 258563598
| Python | apache-2.0 | tensorflow/mesh,tensorflow/mesh | ---
+++
@@ -16,11 +16,11 @@
scripts=[],
install_requires=[
'future',
+ 'gin-config',
'six',
],
extras_require={
'auto_mtf': ['ortools>=7.0.6546'],
- 'gin-config': ['gin-config>=0.2.0'],
'tensorflow': ['tensorflow>=1.9.0'],
'tensorflow_gpu'... |
6255eefafd2dc20e393d955a861fce8f041dfc08 | setup.py | setup.py | from setuptools import setup, find_packages
# Dynamically calculate the version based on dbsettings.VERSION
version_tuple = (0, 8, 1)
if version_tuple[2] is not None:
if type(version_tuple[2]) == int:
version = "%d.%d.%s" % version_tuple
else:
version = "%d.%d_%s" % version_tuple
else:
vers... | from setuptools import setup
# Dynamically calculate the version based on dbsettings.VERSION
version_tuple = (0, 8, 1)
if version_tuple[2] is not None:
if type(version_tuple[2]) == int:
version = "%d.%d.%s" % version_tuple
else:
version = "%d.%d_%s" % version_tuple
else:
version = "%d.%d" %... | Include migrations in the sdist package. | Include migrations in the sdist package.
Fixes https://github.com/zlorf/django-dbsettings/issues/18
find_packages(include=...) does not appear to get submodules.
| Python | bsd-3-clause | zlorf/django-dbsettings,sciyoshi/django-dbsettings,johnpaulett/django-dbsettings,DjangoAdminHackers/django-dbsettings,sciyoshi/django-dbsettings,nwaxiomatic/django-dbsettings,helber/django-dbsettings,DjangoAdminHackers/django-dbsettings,zlorf/django-dbsettings,nwaxiomatic/django-dbsettings,helber/django-dbsettings,john... | ---
+++
@@ -1,4 +1,4 @@
-from setuptools import setup, find_packages
+from setuptools import setup
# Dynamically calculate the version based on dbsettings.VERSION
version_tuple = (0, 8, 1)
@@ -20,7 +20,10 @@
maintainer='Jacek Tomaszewski',
maintainer_email='jacek.tomek@gmail.com',
url='http://githu... |
2119d75d1115b28fb768dafb2df2e2f13e761310 | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: UTF-8 -*-
import os.path as op
from glob import glob
from setuptools import setup
from setup_helper import SetupHelper
name = "goatools"
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License'... | #!/usr/bin/env python
# -*- coding: UTF-8 -*-
import os.path as op
from glob import glob
from setuptools import setup
from setup_helper import SetupHelper
name = "goatools"
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License'... | Include .anno and .test_data in dist | [CI] Include .anno and .test_data in dist
| Python | bsd-2-clause | lileiting/goatools,tanghaibao/goatools,lileiting/goatools,tanghaibao/goatools | ---
+++
@@ -33,7 +33,7 @@
author_email=h.email,
license=h.license,
long_description=h.long_description,
- packages=[name],
+ packages=[name, name + ".test_data", name + ".anno"],
scripts=glob('scripts/*.py'),
classifiers=classifiers,
url='http://github.com/tanghaibao/goatools', |
9049a718f7b4fa6394f5d8b153e91f21daa06888 | setup.py | setup.py | import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
errno... | import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
errno... | Add a description, because metadata is hard. | Add a description, because metadata is hard.
| Python | mit | dreid/atomiclong,alex/atomiclong | ---
+++
@@ -26,10 +26,11 @@
setup(
name='atomiclong',
- version='0.1',
+ version='0.1.1',
author='David Reid',
author_email='dreid@dreid.org',
url='https://github.com/dreid/atomiclong',
+ description="An AtomicLong type using CFFI.",
long_description=README,
license='MIT',
... |
26a5b169f1cc67911f49c2ba835b078135f57dda | setup.py | setup.py | from distutils.core import setup
setup(
name='Juju XaaS Client Binding',
version='0.1.0',
author='Justin SB',
author_email='justin@fathomdb.com',
packages=['jujuxaas', 'jujuxaas.auth'],
url='http://pypi.python.org/pypi/JujuXaasClient/',
license='LICENSE.txt',
description='Client library... | from distutils.core import setup
setup(
name='Juju XaaS Client Binding',
version='0.1.0',
author='Justin SB',
author_email='justin@fathomdb.com',
packages=['jujuxaas', 'jujuxaas.auth'],
url='http://pypi.python.org/pypi/JujuXaasClient/',
license='LICENSE.txt',
description='Client library... | Add python-keystoneclient as a dependency | Add python-keystoneclient as a dependency
| Python | apache-2.0 | jxaas/python-client | ---
+++
@@ -11,6 +11,7 @@
description='Client library for Juju XaaS.',
long_description=open('README.md').read(),
install_requires=[
- 'requests'
+ 'requests',
+ 'python-keystoneclient'
],
) |
b2574f5f4de0d11ab5d4ab8da411ddfca6b7cc5d | setup.py | setup.py | from setuptools import setup, find_packages
import sys, os
version = '0.1'
setup(name='FastPt',
version=version,
description="Really fast well-formed xml templates",
long_description="""Are you tired of the slow performance of Genshi? But
you still long for the assurance that your output is we... | from setuptools import setup, find_packages
import sys, os
version = '0.1'
setup(name='FastPt',
version=version,
description="Really fast well-formed xml templates",
long_description="""Are you tired of the slow performance of Genshi? But
you still long for the assurance that your output is we... | Remove lxml requirement b/c it is not easily easy_installable | Remove lxml requirement b/c it is not easily easy_installable
| Python | mit | moreati/kajiki,ollyc/kajiki,moreati/kajiki,ollyc/kajiki,moreati/kajiki,ollyc/kajiki | ---
+++
@@ -31,7 +31,7 @@
include_package_data=True,
zip_safe=False,
install_requires=[
- 'lxml',
+ # 'lxml',
],
entry_points="""
# -*- Entry points: -*- |
daa85b5a66711b1200a13394bf8921a258015c45 | setup.py | setup.py | from setuptools import setup
setup(name='keras_tf_multigpu',
version='0.1',
description='Multi-GPU data-parallel training in Keras/TensorFlow',
url='https://github.com/rossumai/keras-multi-gpu',
author='Bohumir Zamecnik',
author_email='bohumir.zamecnik@gmail.com',
license='MIT',
... | from setuptools import setup
setup(name='keras_tf_multigpu',
version='0.1',
description='Multi-GPU data-parallel training in Keras/TensorFlow',
url='https://github.com/rossumai/keras-multi-gpu',
author='Bohumir Zamecnik',
author_email='bohumir.zamecnik@gmail.com',
license='MIT',
... | Add missing dependency on h5py. | Add missing dependency on h5py.
| Python | mit | rossumai/keras-multi-gpu,rossumai/keras-multi-gpu | ---
+++
@@ -10,6 +10,7 @@
packages=['keras_tf_multigpu'],
zip_safe=False,
install_requires=[
+ 'h5py',
'Keras>=2.0.8',
'numpy',
'tensorflow-gpu>=1.3', |
8147dab8fffb8d9d9753009f43b27afc1729febc | setup.py | setup.py | from setuptools import setup, find_packages
import os
setup(
name="cpgintegrate",
version="0.2.17-SNAPSHOT",
packages=find_packages(),
include_package_data=True,
install_requires=[
'requests>=2.18.4',
'pandas>=0.23.0',
'xlrd',
'sqlalchemy>=1.0',
'beautifulsou... | from setuptools import setup, find_packages
import os
setup(
name="cpgintegrate",
version="0.2.17",
packages=find_packages(),
include_package_data=True,
install_requires=[
'requests>=2.18.4',
'pandas>=0.23.0',
'xlrd',
'sqlalchemy>=1.0',
'beautifulsoup4',
... | Bump version, allow newer lxml | Bump version, allow newer lxml
| Python | agpl-3.0 | PointyShinyBurning/cpgintegrate | ---
+++
@@ -3,7 +3,7 @@
setup(
name="cpgintegrate",
- version="0.2.17-SNAPSHOT",
+ version="0.2.17",
packages=find_packages(),
include_package_data=True,
install_requires=[
@@ -12,7 +12,7 @@
'xlrd',
'sqlalchemy>=1.0',
'beautifulsoup4',
- 'lxml<4.0',
+ ... |
1766d21c01a5282be5632d6f19889da16ff333e0 | setup.py | setup.py | from setuptools import setup, find_packages
import os
# The version of the wrapped library is the starting point for the
# version number of the python package.
# In bugfix releases of the python package, add a '-' suffix and an
# incrementing integer.
# For example, a packaging bugfix release version 1.4.4 of the
# j... | from setuptools import setup, find_packages
import os
# The version of the wrapped library is the starting point for the
# version number of the python package.
# In bugfix releases of the python package, add a '-' suffix and an
# incrementing integer.
# For example, a packaging bugfix release version 1.4.4 of the
# j... | Add the repos URL in Metadata | Add the repos URL in Metadata
| Python | bsd-3-clause | vivek8943/js.amcharts,vivek8943/js.amcharts | ---
+++
@@ -30,6 +30,7 @@
author='Fanstatic Developers',
author_email='fanstatic@googlegroups.com',
license='BSD',
+ url='https://github.com/securactive/js.amcharts',
packages=find_packages(),namespace_packages=['js'],
include_package_data=True,
zip_safe=False, |
470458f918df26bf4bebe5a81739831968ea3e2f | setup.py | setup.py | from setuptools import setup, find_packages
with open('README.rst') as f:
long_description = f.read()
setup(
name='xopen',
use_scm_version={'write_to': 'src/xopen/_version.py'},
setup_requires=['setuptools_scm'], # Support pip versions that don't know about pyproject.toml
author='Marcel Martin et... | from setuptools import setup, find_packages
with open('README.rst') as f:
long_description = f.read()
setup(
name='xopen',
use_scm_version={'write_to': 'src/xopen/_version.py'},
setup_requires=['setuptools_scm'], # Support pip versions that don't know about pyproject.toml
author='Marcel Martin et... | Install isal wheels on windows too. | Install isal wheels on windows too. | Python | mit | marcelm/xopen | ---
+++
@@ -18,7 +18,7 @@
package_data={"xopen": ["py.typed"]},
extras_require={
'dev': ['pytest'],
- ':(sys_platform=="linux" or sys_platform=="darwin") and python_implementation != "PyPy"': ['isal>=0.5.0']
+ ':python_implementation != "PyPy"': ['isal>=0.6.0']
},
python_req... |
841fe3f80e32520600321eb5c986b0ff3e002865 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='sgfs',
version='0.1.0b',
description='Translation layer between Shotgun entities and a file structure.',
url='http://github.com/westernx/sgfs',
packages=find_packages(exclude=['build*', 'tests*']),
include_package_data=True,
... | from setuptools import setup, find_packages
setup(
name='sgfs',
version='0.1.0b',
description='Translation layer between Shotgun entities and a file structure.',
url='http://github.com/westernx/sgfs',
packages=find_packages(exclude=['build*', 'tests*']),
include_package_data=True,
... | Fix typo in command name | Fix typo in command name
| Python | bsd-3-clause | westernx/sgfs,westernx/sgfs | ---
+++
@@ -22,7 +22,7 @@
# Relinking or updating tags.
'sgfs-relink = sgfs.commands.relink:main',
- 'sgfs-rebuild-cache = gfs.commands.relink:main_rebuild',
+ 'sgfs-rebuild-cache = sgfs.commands.relink:main_rebuild',
'sgfs-update = sgfs.commands.update:m... |
1a8bdb4afcdb268af09df1a1abf2ef09f45176f1 | setup.py | setup.py | from setuptools import setup
setup(
name='tangled.contrib',
version='0.1a4.dev0',
description='Tangled namespace for contributed packages',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.contrib/tags',
aut... | from setuptools import setup
setup(
name='tangled.contrib',
version='0.1a4.dev0',
description='Tangled namespace for contributed packages',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.contrib/tags',
aut... | Upgrade tangled from 0.1a5 to 0.1a8 | Upgrade tangled from 0.1a5 to 0.1a8
| Python | mit | TangledWeb/tangled.contrib | ---
+++
@@ -18,11 +18,11 @@
],
include_package_data=True,
install_requires=[
- 'tangled>=0.1a5',
+ 'tangled>=0.1a8',
],
extras_require={
'dev': [
- 'tangled[dev]>=0.1a5',
+ 'tangled[dev]>=0.1a8',
],
},
entry_points=""" |
d26271d67e9ccc3e2d1f2e0e82ed9969688432e6 | setup.py | setup.py | #!/usr/bin/env python
import os
from setuptools import find_packages, setup
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
setup(
name="django-anonymizer",
version='0.5.0.13-bw',
packages=find_packages(exclude=['*.tests']),
include_package_data=True,
... | #!/usr/bin/env python
import os
from setuptools import find_packages, setup
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
setup(
name="django-anonymizer",
version='0.5.0.13-bw',
packages=find_packages(exclude=['*.tests']),
include_package_data=True,
... | Add myself as a maintainer & update the url | Add myself as a maintainer & update the url
| Python | mit | BetterWorks/django-anonymizer | ---
+++
@@ -16,7 +16,9 @@
author="Luke Plant",
author_email="L.Plant.98@cantab.net",
- url="https://bitbucket.org/spookylukey/django-anonymizer/",
+ maintainer="David Stensland",
+ maintainer_email="anonymizer@terite.com",
+ url="https://github.com/betterworks/django-anonymizer",
descript... |
2f155a48bfdae8a603148f4e593d7e49fccc7ddc | setup.py | setup.py | #!/usr/bin/env python
import re
from setuptools import setup, find_packages
with open('rhino/__init__.py') as f:
version = re.findall(r"^__version__ = '(.*)'", f.read(), re.M)[0]
with open('README.rst') as f:
README = f.read()
setup(
name='Rhino',
version=version,
author='Stanis Trendelenburg',
... | #!/usr/bin/env python
import re
from setuptools import setup, find_packages
with open('rhino/__init__.py') as f:
version = re.findall(r"^__version__ = '(.*)'", f.read(), re.M)[0]
with open('README.rst') as f:
README = f.read()
setup(
name='Rhino',
version=version,
author='Stanis Trendelenburg',
... | Remove line added by mistake | Remove line added by mistake
| Python | mit | trendels/rhino | ---
+++
@@ -25,5 +25,4 @@
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
],
- install_requires=['uritemplate'],
) |
19e0c178b924e0db54ab07f71d1e0fd6e02b8a23 | setup.py | setup.py |
try:
from distutils.core import setup
except ImportError:
from setuptools import setup
open('MANIFEST.in', 'w').write("\n".join((
'include *.rst',
'include doc/*',
'include test/*.c'
)))
from mss import __version__
setup(
name='mss',
version=__version__,
author='Tiger-222',
py_mo... |
try:
from distutils.core import setup
except ImportError:
from setuptools import setup
open('MANIFEST.in', 'w').write("\n".join((
'include *.rst',
'include doc/*'
)))
from mss import __version__
setup(
name='mss',
version=__version__,
author='Tiger-222',
py_modules=['mss'],
autho... | Remove C file from package sent to pip env | Remove C file from package sent to pip env
| Python | mit | BoboTiG/python-mss | ---
+++
@@ -6,8 +6,7 @@
open('MANIFEST.in', 'w').write("\n".join((
'include *.rst',
- 'include doc/*',
- 'include test/*.c'
+ 'include doc/*'
)))
from mss import __version__ |
bd78770c589ff2919ce96d0b04127bfceda0583f | setup.py | setup.py | from setuptools import setup
version = '0.5.dev0'
long_description = '\n\n'.join([
open('README.rst').read(),
open('CREDITS.rst').read(),
open('CHANGES.rst').read(),
])
install_requires = [
'Django',
'ddsc-logging',
'ddsc-opendap',
'ddsc-site',
'dikedata-api',
'django-cors-hea... | from setuptools import setup
version = '0.5.dev0'
long_description = '\n\n'.join([
open('README.rst').read(),
open('CREDITS.rst').read(),
open('CHANGES.rst').read(),
])
install_requires = [
'Django',
'ddsc-logging',
'ddsc-core',
'ddsc-opendap',
'ddsc-site',
'dikedata-api',
... | Add missing libraries to the install_requires list (we import from them, so they really should be declared. | Add missing libraries to the install_requires list (we import from them, so they really should be declared.
| Python | mit | ddsc/ddsc-api,ddsc/ddsc-api | ---
+++
@@ -11,13 +11,16 @@
install_requires = [
'Django',
'ddsc-logging',
+ 'ddsc-core',
'ddsc-opendap',
'ddsc-site',
'dikedata-api',
'django-cors-headers',
'django-extensions',
+ 'django-haystack >= 2.0',
'django-nose',
'gunicorn',
+ 'lizard-security',
'li... |
2fe54797df8a7efbcb58e14de72b415069af7eb4 | setup.py | setup.py | from setuptools import setup, find_packages
from django_python3_ldap import __version__
version_str = ".".join(str(n) for n in __version__)
setup(
name = "django-python3-ldap",
version = version_str,
license = "BSD",
description = "Django LDAP user authentication backend for Python 3.",
... | from setuptools import setup, find_packages
from django_python3_ldap import __version__
version_str = ".".join(str(n) for n in __version__)
setup(
name = "django-python3-ldap",
version = version_str,
license = "BSD",
description = "Django LDAP user authentication backend for Python 3.",
... | Fix dependencies with new package ldap3 | Fix dependencies with new package ldap3
Old package 'python3_ldap' is now called 'ldap3'. And 'python3_ldap' version 0.9.5.3 is no more available on pypi | Python | bsd-3-clause | etianen/django-python3-ldap,rbrtslmn/django-python3-ldap,sol33t/django-python3-ldap,NotSqrt/django-python3-ldap,mnach/django-python3-ldap,alanzoppa/django-python3-ldap | ---
+++
@@ -17,7 +17,7 @@
packages = find_packages(),
install_requires = [
"django>=1.7",
- "python3-ldap==0.9.5.3",
+ "ldap3==0.9.8.2",
],
classifiers = [
"Development Status :: 4 - Beta", |
71a717f5166ec52b630507c83b3a67456786b996 | setup.py | setup.py | import codecs
import re
from os import path
from setuptools import setup
def read(*parts):
file_path = path.join(path.dirname(__file__), *parts)
return codecs.open(file_path).read()
def find_version(*parts):
version_file = read(*parts)
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",... | import codecs
import re
from os import path
from setuptools import setup
def read(*parts):
file_path = path.join(path.dirname(__file__), *parts)
return codecs.open(file_path).read()
def find_version(*parts):
version_file = read(*parts)
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",... | Drop python 2.6 support from metadata | Drop python 2.6 support from metadata
| Python | bsd-3-clause | ptone/django-predicate | ---
+++
@@ -39,7 +39,6 @@
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
- 'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
... |
7fe88d28e2c86a884be81c7757cc8ffadff5aa71 | setup.py | setup.py | import os
import re
import sys
from setuptools import setup, find_packages
if sys.version_info[:2] < (2, 6):
raise RuntimeError('Requires Python 2.6 or better')
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.txt')).read()
info = open(os.path.join(here, 'inferno', 'lib... | import os
import re
import sys
from setuptools import setup, find_packages
if sys.version_info[:2] < (2, 6):
raise RuntimeError('Requires Python 2.6 or better')
here = os.path.abspath(os.path.dirname(__file__))
info = open(os.path.join(here, 'inferno', 'lib', '__init__.py')).read()
VERSION = re.compile(r".*__ve... | Remove the reference to README. | Remove the reference to README. | Python | mit | oldmantaiter/inferno,pombredanne/inferno,chango/inferno | ---
+++
@@ -9,7 +9,6 @@
raise RuntimeError('Requires Python 2.6 or better')
here = os.path.abspath(os.path.dirname(__file__))
-README = open(os.path.join(here, 'README.txt')).read()
info = open(os.path.join(here, 'inferno', 'lib', '__init__.py')).read()
VERSION = re.compile(r".*__version__ = '(.*?)'", re.S)... |
cb7f4dfb9315c79448f2db52266df0f11aeb6210 | setup.py | setup.py | from setuptools import setup, find_packages
setup(name='coinop',
version='0.0.3',
description='Crypto-currency conveniences',
url='http://github.com/BitVault/coinop-py',
author='Matthew King',
author_email='matthew@bitvault.io',
license='MIT',
packages=find_packages(exclude=[... | from setuptools import setup, find_packages
setup(name='coinop',
version='0.1.0',
description='Crypto-currency conveniences',
url='http://github.com/BitVault/coinop-py',
author='Matthew King',
author_email='matthew@bitvault.io',
license='MIT',
packages=find_packages(exclude=[... | Make version number match patchboard, bitvault | Make version number match patchboard, bitvault
| Python | mit | GemHQ/coinop-py | ---
+++
@@ -2,7 +2,7 @@
setup(name='coinop',
- version='0.0.3',
+ version='0.1.0',
description='Crypto-currency conveniences',
url='http://github.com/BitVault/coinop-py',
author='Matthew King', |
53727a452f0a6498f02c046f47e24effb81349da | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(name='pyannotate',
version='1.0.5',
description="PyAnnotate: Auto-generate PEP-484 annotations",
author='Dropbox',
author_email='guido@dropbox.com',
url='https://github.com/dropbox/pyannotate',
license='Apache 2.0',
pla... | #!/usr/bin/env python
import os
from setuptools import setup
def get_long_description():
filename = os.path.join(os.path.dirname(__file__), 'README.md')
with open(filename) as f:
return f.read()
setup(name='pyannotate',
version='1.0.5',
description="PyAnnotate: Auto-generate PEP-484 annot... | Add long description (from README.md) | Add long description (from README.md)
| Python | apache-2.0 | dropbox/pyannotate | ---
+++
@@ -1,10 +1,17 @@
#!/usr/bin/env python
+import os
from setuptools import setup
+
+def get_long_description():
+ filename = os.path.join(os.path.dirname(__file__), 'README.md')
+ with open(filename) as f:
+ return f.read()
setup(name='pyannotate',
version='1.0.5',
description... |
78583066f80b4392ad03f37dcee276622ce8223d | setup.py | setup.py | from setuptools import find_packages, setup
with open("README.rst") as readme_file:
readme = readme_file.read()
setup(
name="homebrew",
version="0.2.1",
description="Homebrew wrapper",
long_description=readme,
author="Iwan in 't Groen",
author_email="iwanintgroen@gmail.com",
url="https... | from setuptools import find_packages, setup
with open("README.rst") as readme_file:
readme = readme_file.read()
setup(
name="homebrew",
version="0.2.1",
description="Homebrew wrapper",
long_description=readme,
author="Iwan in 't Groen",
author_email="iwanintgroen@gmail.com",
url="https... | Add python 3.9 to trove classifiers | Add python 3.9 to trove classifiers
| Python | isc | igroen/homebrew | ---
+++
@@ -21,5 +21,6 @@
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
+ "Programming Language :: Python :: 3.9",
],
) |
3ee933042e0c02a5a23e69d48e81d3fb5a9fa05b | setup.py | setup.py | import os
import setuptools
requirements = [
"numpy",
"scipy",
"lasagne",
]
def readme():
base_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(base_dir, 'README.md')) as f:
return f.read()
def setup():
setuptools.setup(
name="nn_patterns",
ve... | import os
import setuptools
requirements = [
"fnmatch",
"future",
"six",
"numpy",
"scipy",
"lasagne",
"theano",
]
def readme():
base_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(base_dir, 'README.md')) as f:
return f.read()
def setup():
s... | Add requirements to package definition. | Add requirements to package definition.
| Python | mit | pikinder/nn-patterns | ---
+++
@@ -3,9 +3,14 @@
requirements = [
+ "fnmatch",
+ "future",
+ "six",
+
"numpy",
"scipy",
"lasagne",
+ "theano",
]
|
123f5a8dd6fc49d3e5f4be09096bdeabe4ffdd24 | setup.py | setup.py | """Setup script for zinnia-theme-bootstrap"""
from setuptools import setup
from setuptools import find_packages
import zinnia_bootstrap
setup(
name='zinnia-theme-bootstrap',
version=zinnia_bootstrap.__version__,
description='Bootstrap theme for django-blog-zinnia',
long_description=open('README.rst')... | """Setup script for zinnia-theme-bootstrap"""
from setuptools import setup
from setuptools import find_packages
import zinnia_bootstrap
setup(
name='zinnia-theme-bootstrap',
version=zinnia_bootstrap.__version__,
description='Bootstrap theme for django-blog-zinnia',
long_description=open('README.rst')... | Add classifier for Python 3 | Add classifier for Python 3
| Python | bsd-3-clause | dwdsolutions/zinnia-theme-hos,django-blog-zinnia/zinnia-theme-bootstrap,django-blog-zinnia/zinnia-theme-bootstrap,dwdsolutions/zinnia-theme-hos | ---
+++
@@ -23,6 +23,7 @@
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Programming Language :: Python',
+ 'Programming Language :: Python :: 3',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'L... |
17512492c1fe997e6f19f56901e6a231aea9fced | setup.py | setup.py | import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='otree-redwood',
vers... | import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='otree-redwood',
vers... | Update pypi version, update requirements. | Update pypi version, update requirements.
| Python | mit | Leeps-Lab/otree-redwood,Leeps-Lab/otree-redwood,Leeps-Lab/otree-redwood | ---
+++
@@ -9,7 +9,7 @@
setup(
name='otree-redwood',
- version='0.0.3',
+ version='0.1.0',
packages=find_packages(),
include_package_data=True,
license='MIT License',
@@ -32,9 +32,6 @@
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
install_requires=[
- 'f... |
b87a3601d9575df5180255bc06f5564c77a90eca | setup.py | setup.py | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.9",
packages=find_packages(),
scripts=["scripts/generator.py", "scripts/runner.py",
"scripts/collector.py", "scripts/analyser.py"],
p... | #!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.10-dev",
packages=find_packages(),
scripts=["scripts/generator.py", "scripts/runner.py",
"scripts/collector.py", "scripts/analyser.py"],
... | Prepare for next development cycle | Prepare for next development cycle
| Python | mit | ProgramFan/bentoo | ---
+++
@@ -5,7 +5,7 @@
setup(
name="bentoo",
description="Benchmarking tools",
- version="0.9",
+ version="0.10-dev",
packages=find_packages(),
scripts=["scripts/generator.py", "scripts/runner.py",
"scripts/collector.py", "scripts/analyser.py"], |
eda82743b8c572bb9c9c43037f8bc4b75ec66ad6 | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name="LightMatchingEngine",
url="https://github.com/gavincyi/LightMatchingEngine",
license='MIT',
author="Gavin Chan",
author_email="gavincyi@gmail.com",
description="A light matching engine",
packages=find_packages(exclude=('tests',)),
... | from setuptools import setup, find_packages
setup(
name="lightmatchingengine",
url="https://github.com/gavincyi/LightMatchingEngine",
license='MIT',
author="Gavin Chan",
author_email="gavincyi@gmail.com",
description="A light matching engine",
packages=find_packages(exclude=('tests',)),
... | Rename package name to lightmatchingengine | Rename package name to lightmatchingengine
| Python | mit | gavincyi/LightMatchingEngine | ---
+++
@@ -1,7 +1,7 @@
from setuptools import setup, find_packages
setup(
- name="LightMatchingEngine",
+ name="lightmatchingengine",
url="https://github.com/gavincyi/LightMatchingEngine",
license='MIT',
|
d155daf76457386661be1f7b93bed6ba6ab448fb | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
VERSION = '1.4.0'
setup(
name='tornadoes',
version=VERSION,
description="A tornado-powered python library that provides asynchronous access to elasticsearch.",
long_description="""\
A tornado-powered python library that provides ... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
VERSION = '1.4.1'
setup(
name='tornadoes',
version=VERSION,
description="A tornado-powered python library that provides asynchronous access to elasticsearch.",
long_description="""\
A tornado-powered python library that provides ... | Improve parameters usage of create_path function. | Improve parameters usage of create_path function.
| Python | mit | scorphus/tornado-es,scorphus/tornado-es,excpt0/tornado-es,globocom/tornado-es,excpt0/tornado-es,globocom/tornado-es | ---
+++
@@ -2,7 +2,7 @@
from setuptools import setup, find_packages
-VERSION = '1.4.0'
+VERSION = '1.4.1'
setup(
name='tornadoes', |
efa6852a86e42557e0c5078e00c090e17f4ae1f8 | setup.py | setup.py | #
# This file is part of ArgProc. ArgProc is free software that is made
# available under the MIT license. Consult the file "LICENSE" that is
# distributed together with this file for the exact licensing terms.
#
# ArgProc is copyright (c) 2010 by the ArgProc authors. See the file
# "AUTHORS" for a complete overview.
... | #
# This file is part of ArgProc. ArgProc is free software that is made
# available under the MIT license. Consult the file "LICENSE" that is
# distributed together with this file for the exact licensing terms.
#
# ArgProc is copyright (c) 2010 by the ArgProc authors. See the file
# "AUTHORS" for a complete overview.
... | Update email address and home page. | Update email address and home page.
| Python | mit | geertj/argproc | ---
+++
@@ -31,8 +31,8 @@
version = '1.4',
description = 'A rule-based arguments processor',
author = 'Geert Jansen',
- author_email = 'geert@boskant.nl',
- url = 'http://bitbucket.org/geertj/argproc',
+ author_email = 'geertj@gmail.com',
+ url = 'http://github.com/geertj/argproc',
lic... |
785cbcb8ff92520e0e57fec3634353935b5b030a | setup.py | setup.py | from setuptools import setup
setup(name='depfinder',
version='0.0.1',
author='Eric Dill',
author_email='thedizzle@gmail.com',
py_modules=['depfinder'],
description='Find all the imports in your library',
url='http://github.com/ericdill/depfinder',
platforms='Cross platform (Li... | from setuptools import setup
import depfinder
setup(name='depfinder',
version=depfinder.__version__,
author='Eric Dill',
author_email='thedizzle@gmail.com',
py_modules=['depfinder'],
description='Find all the imports in your library',
url='http://github.com/ericdill/depfinder',
... | Use the version specified in depfinder.py | MNT: Use the version specified in depfinder.py
| Python | bsd-3-clause | ericdill/depfinder | ---
+++
@@ -1,7 +1,8 @@
from setuptools import setup
+import depfinder
setup(name='depfinder',
- version='0.0.1',
+ version=depfinder.__version__,
author='Eric Dill',
author_email='thedizzle@gmail.com',
py_modules=['depfinder'], |
e30bcefccd5f41a7117afc2d3f7007561ac69af8 | setup.py | setup.py | import sys
from setuptools import find_packages, setup
with open('VERSION') as version_fp:
VERSION = version_fp.read().strip()
install_requires = [
'django-local-settings>=1.0a14',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils... | import sys
from setuptools import find_packages, setup
with open('VERSION') as version_fp:
VERSION = version_fp.read().strip()
install_requires = [
'django-local-settings>=1.0a14',
'stashward',
]
if sys.version_info[:2] < (3, 4):
install_requires.append('enum34')
setup(
name='django-arcutils... | Upgrade ldap3 1.0.4 => 1.1.2 | Upgrade ldap3 1.0.4 => 1.1.2
| Python | mit | wylee/django-arcutils,PSU-OIT-ARC/django-arcutils,PSU-OIT-ARC/django-arcutils,wylee/django-arcutils | ---
+++
@@ -30,7 +30,7 @@
extras_require={
'ldap': [
'certifi>=2016.2.28',
- 'ldap3>=1.0.4',
+ 'ldap3>=1.1.2',
],
'dev': [
'django>=1.7,<1.9', |
85f45651e940b86b0e3d1317cbe082cd8c34992c | setup.py | setup.py | #!/usr/bin/env python
import sys
from os.path import join, dirname
from setuptools import setup
sys.path.append(join(dirname(__file__), 'src'))
execfile(join(dirname(__file__), 'src', 'BrowserMobProxyLibrary', 'version.py'))
DESCRIPTION = """
BrowserMobProxyLibrary is a Robot Framework library ro interface with Bro... | #!/usr/bin/env python
import sys
from os.path import join, dirname
from setuptools import setup
CURDIR = dirname(__file__)
with open(join(CURDIR, 'requirements.txt')) as f:
REQUIREMENTS = f.read().splitlines()
sys.path.append(join(CURDIR, 'src'))
filename = join(CURDIR, 'src', 'BrowserMobProxyLibrary', 'versio... | Move requirements to separate file | Move requirements to separate file
| Python | apache-2.0 | s4int/robotframework-BrowserMobProxyLibrary | ---
+++
@@ -4,16 +4,18 @@
from os.path import join, dirname
from setuptools import setup
-sys.path.append(join(dirname(__file__), 'src'))
-execfile(join(dirname(__file__), 'src', 'BrowserMobProxyLibrary', 'version.py'))
+CURDIR = dirname(__file__)
+with open(join(CURDIR, 'requirements.txt')) as f:
+ REQUIREM... |
fcf30e1dfada272d0344ccb9e4054afeda003c8e | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
from os.path import dirname, join
setup(name='hashids',
version='0.8.3',
description='Python implementation of hashids (http://www.hashids.org).'
'Compatible with python 2.5--3.',
long_description=open(join(dirname(__file__), 'R... | #!/usr/bin/env python
from distutils.core import setup
from os.path import dirname, join
from codecs import open
setup(name='hashids',
version='0.8.3',
description='Python implementation of hashids (http://www.hashids.org).'
'Compatible with python 2.5--3.',
long_description=open(jo... | Make it work with older python versions as well | Make it work with older python versions as well | Python | mit | davidaurelio/hashids-python,Dubz/hashids-python,pombredanne/hashids-python | ---
+++
@@ -1,12 +1,13 @@
#!/usr/bin/env python
from distutils.core import setup
from os.path import dirname, join
+from codecs import open
setup(name='hashids',
version='0.8.3',
description='Python implementation of hashids (http://www.hashids.org).'
'Compatible with python 2.5... |
315bc9ada4452517df245b74b55a96c05209ef8a | setup.py | setup.py | #!/usr/bin/env python
from setuptools import Extension, setup
from Cython.Build import cythonize
import numpy
sourcefiles = [ 'SuchTree/SuchTree.pyx' ]
extensions = [ Extension( 'SuchTree', sourcefiles ) ]
extensions = cythonize( extensions, language_level = "3",
include_path = [ numpy.get_i... | #!/usr/bin/env python
from setuptools import Extension, setup
from Cython.Build import cythonize
import numpy
sourcefiles = [ 'SuchTree/SuchTree.pyx' ]
extensions = [ Extension( 'SuchTree', sourcefiles, include_dirs=[numpy.get_include()]) ]
extensions = cythonize( extensions, language_level = "3" )
setup(
ext_... | Rework Cython to avoid duplicated build, include numpy headers | Rework Cython to avoid duplicated build, include numpy headers
| Python | bsd-3-clause | ryneches/SuchTree | ---
+++
@@ -6,11 +6,10 @@
sourcefiles = [ 'SuchTree/SuchTree.pyx' ]
-extensions = [ Extension( 'SuchTree', sourcefiles ) ]
+extensions = [ Extension( 'SuchTree', sourcefiles, include_dirs=[numpy.get_include()]) ]
-extensions = cythonize( extensions, language_level = "3",
- include_path =... |
0e98542f2b703de66dda71fb1b5efb7ae6d5b93d | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
from vaspy import __version__ as version
maintainer = 'Shao-Zheng-Jiang'
maintainer_email = 'shaozhengjiang@gmail.com'
author = maintainer
author_email = maintainer_email
description = __doc__
requires = [
'numpy',
'matplotlib'
]
license = 'LICENSE'
lon... | #!/usr/bin/env python
from distutils.core import setup
from vaspy import __version__ as version
maintainer = 'Shao-Zheng-Jiang'
maintainer_email = 'shaozhengjiang@gmail.com'
author = maintainer
author_email = maintainer_email
description = __doc__
requires = [
'numpy',
'matplotlib'
]
license = 'LICENSE'
wit... | Fix bug in getting long_description. | Fix bug in getting long_description.
| Python | mit | PytLab/VASPy,PytLab/VASPy | ---
+++
@@ -15,7 +15,8 @@
]
license = 'LICENSE'
-long_description = file('README.md').read()
+with open("README.md") as f:
+ long_descriptio = f.read()
name = 'python-vaspy'
packages = [
'vaspy', |
5b34711e3f7b2c183ebb4be504c0914f8c55f6e3 | setup.py | setup.py | import sys
from setuptools import setup
extra = {}
if sys.version_info >= (3,):
extra['use_2to3'] = True
setup(name='mockito-edgeware',
version='1.0.0',
packages=['mockito', 'mockito_test', 'mockito_util'],
url='https://github.com/edgeware/mockito-python',
download_url='http://pypi.edgeware... | import sys
from setuptools import setup
extra = {}
if sys.version_info >= (3,):
extra['use_2to3'] = True
setup(name='mockito',
version='0.5.1-edgeware',
packages=['mockito', 'mockito_test', 'mockito_util'],
url='https://github.com/edgeware/mockito-python',
download_url='http://pypi.edgewa... | Use version suffix instead of renaming | Use version suffix instead of renaming
| Python | mit | edgeware/mockito-python,edgeware/mockito-python | ---
+++
@@ -4,18 +4,19 @@
extra = {}
if sys.version_info >= (3,):
- extra['use_2to3'] = True
+ extra['use_2to3'] = True
-setup(name='mockito-edgeware',
- version='1.0.0',
+setup(name='mockito',
+ version='0.5.1-edgeware',
packages=['mockito', 'mockito_test', 'mockito_util'],
url='htt... |
0f8e6c8440f96f5bb5b1da960f290b0c0ac7dcc8 | setup.py | setup.py | import os
from setuptools import setup, find_packages
from wagtailmenus import __version__
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setu... | import os
from setuptools import setup, find_packages
from wagtailmenus import __version__
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setu... | Use tarball to match current version | Use tarball to match current version
| Python | mit | ababic/wagtailmenus,frague59/wagtailmenus,rkhleics/wagtailmenus,ababic/wagtailmenus,rkhleics/wagtailmenus,frague59/wagtailmenus,frague59/wagtailmenus,rkhleics/wagtailmenus,ababic/wagtailmenus | ---
+++
@@ -20,7 +20,7 @@
packages=find_packages(),
license="MIT",
keywords="wagtail cms model utility",
- download_url="https://github.com/rkhleics/wagailmenus/tarball/0.1",
+ download_url="https://github.com/rkhleics/wagailmenus/tarball/1.0.0",
url="https://github.com/rkhleics/wagailmenus"... |
0452180ce246d86da8b02b0721f11a4346cbd9a5 | cozify/multisensor.py | cozify/multisensor.py | import time
from influxdb import InfluxDBClient
from influxdb import SeriesHelper
from . import config
# expects Cozify devices type json data
def getMultisensorData(data):
out = []
for device in data:
state=data[device]['state']
devtype = state['type']
if devtype == 'STATE_MULTI_SEN... | import time
from influxdb import InfluxDBClient
from influxdb import SeriesHelper
from . import config
# expects Cozify devices type json data
def getMultisensorData(data):
out = []
for device in data:
state=data[device]['state']
devtype = state['type']
if devtype == 'STATE_MULTI_SEN... | Make comment about time accuracy more universal | Make comment about time accuracy more universal
| Python | mit | Artanicus/python-cozify,Artanicus/python-cozify | ---
+++
@@ -18,7 +18,7 @@
timestamp=state['lastSeen']
else:
# if no time of measurement is known we must make a reasonable assumption
- # Stored here in milliseconds, influxDB internally stores as nanoseconds
+ # Stored here in milliseconds ... |
d60068060b7b0eb3892b41372d27b9f505a49754 | basic_extras/models.py | basic_extras/models.py | # -*- coding: utf-8 -*-
from django.db import models
from django.utils.translation import ugettext_lazy as _
from basic_extras.utils import now
class MetaBase(models.Model):
"""Abstract base model class that holds some commone metadata fields."""
created = models.DateTimeField(_(u'date created'))
modif... | # -*- coding: utf-8 -*-
from django.db import models
from django.utils.translation import ugettext_lazy as _
from basic_extras.utils import now
class MetaBase(models.Model):
"""Abstract base model class that holds some common metadata fields."""
created = models.DateTimeField(_(u'date created'))
modifi... | Fix a typo in documentation. | Fix a typo in documentation.
| Python | bsd-3-clause | benspaulding/django-basic-extras | ---
+++
@@ -7,7 +7,7 @@
class MetaBase(models.Model):
- """Abstract base model class that holds some commone metadata fields."""
+ """Abstract base model class that holds some common metadata fields."""
created = models.DateTimeField(_(u'date created'))
modified = models.DateTimeField(_(u'date ... |
663e4ca4a0363670d6dd72a512e936d0c47457c0 | tasks.py | tasks.py | from os import mkdir
from os.path import join
from shutil import rmtree, copytree
from invoke import Collection, ctask as task
from invocations.docs import docs, www
from invocations.packaging import publish
# Until we move to spec-based testing
@task
def test(ctx):
ctx.run("python test.py --verbose", pty=True)
... | from os import mkdir
from os.path import join
from shutil import rmtree, copytree
from invoke import Collection, ctask as task
from invocations.docs import docs, www
from invocations.packaging import publish
# Until we move to spec-based testing
@task
def test(ctx):
ctx.run("python test.py --verbose", pty=True)
... | Fix dumb bug in release task | Fix dumb bug in release task
| Python | lgpl-2.1 | jaraco/paramiko,ameily/paramiko,SebastianDeiss/paramiko,reaperhulk/paramiko,mirrorcoder/paramiko,paramiko/paramiko,dorianpula/paramiko | ---
+++
@@ -25,7 +25,8 @@
# Move the built docs into where Epydocs used to live
target = 'docs'
rmtree(target, ignore_errors=True)
- copytree(docs_build, target)
+ # TODO: make it easier to yank out this config val from the docs coll
+ copytree('sites/docs/_build', target)
# Publish
... |
4446a700fcf057f83645b4861b5655773983511c | tests.py | tests.py | import unittest
import os
from main import generate_files
class WordsTest(unittest.TestCase):
def setUp(self):
for fname in ["test_sequences", "test_words"]:
if os.path.exists(fname):
os.remove(fname)
def test_files_created(self):
self.assertFalse(os.path.exists("t... | import unittest
import os
from main import generate_files
class WordsTest(unittest.TestCase):
def setUp(self):
# Make sure the expected files don't exist yet
for fname in ["test_sequences", "test_words"]:
if os.path.exists(fname):
os.remove(fname)
def test_files_cr... | Add teardown function as well | Add teardown function as well
| Python | mit | orblivion/hellolabs_word_test | ---
+++
@@ -5,6 +5,7 @@
class WordsTest(unittest.TestCase):
def setUp(self):
+ # Make sure the expected files don't exist yet
for fname in ["test_sequences", "test_words"]:
if os.path.exists(fname):
os.remove(fname)
@@ -16,5 +17,11 @@
self.assertTrue(os.p... |
f5abc26cf9e7fa80bc74028e4c5e3552772f2e93 | tasks.py | tasks.py | # Project tasks (for use with invoke task runner)
import subprocess
from invoke import task
@task
def test(cover=False):
# Run tests using nose called with coverage
code = subprocess.call(['coverage', 'run', '-m', 'nose', '--rednose'])
# Also generate coverage reports when --cover flag is given
if co... | # Project tasks (for use with invoke task runner)
import subprocess
from invoke import task
@task
def test(cover=False):
if cover:
# Run tests via coverage and generate reports if --cover flag is given
code = subprocess.call(['coverage', 'run', '-m', 'nose', '--rednose'])
# Only show cove... | Improve performance of 'test' task | Improve performance of 'test' task
| Python | mit | caleb531/youversion-suggest,caleb531/youversion-suggest | ---
+++
@@ -6,14 +6,18 @@
@task
def test(cover=False):
- # Run tests using nose called with coverage
- code = subprocess.call(['coverage', 'run', '-m', 'nose', '--rednose'])
- # Also generate coverage reports when --cover flag is given
- if cover and code == 0:
- # Add blank line between test r... |
393bc0dc82524802c8d548216d4c51b4394e5394 | tests.py | tests.py | #coding:utf8
import unittest
class TestFunctions(unittest.TestCase):
def first(self):
assertEqual('test', 'test')
def second(self):
"""second test"""
assertEqual('2','2')
| # coding: utf-8
import unittest
class TestFunctions(unittest.TestCase):
def first(self):
self.assertEqual('test', 'test')
def second(self):
"""second test"""
self.assertEqual('2','2')
| Add self to test cases | Add self to test cases
Change-Id: Ib8a8fea97fb7390613a5521103f0f9d31615f262
| Python | apache-2.0 | khoser/mini_games | ---
+++
@@ -1,4 +1,4 @@
-#coding:utf8
+# coding: utf-8
import unittest
@@ -6,9 +6,9 @@
class TestFunctions(unittest.TestCase):
def first(self):
- assertEqual('test', 'test')
+ self.assertEqual('test', 'test')
def second(self):
"""second test"""
- assertEqual('2','2')
... |
f2ab0c74986881e017199ac8a56dd09334a8b42b | magnum/tests/unit/template/test_template.py | magnum/tests/unit/template/test_template.py | # Copyright 2015 Intel, Inc
#
# 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, ... | # Copyright 2015 Intel, Inc
#
# 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, ... | Improve yml template test case. | Improve yml template test case.
Print out yml file name when failed to loading yml.
Change-Id: Ie34282b91ec8101ffa2676e3144acf5a054578b0
| Python | apache-2.0 | ArchiFleKs/magnum,openstack/magnum,ArchiFleKs/magnum,openstack/magnum,jay-lau/magnum | ---
+++
@@ -12,6 +12,7 @@
# License for the specific language governing permissions and limitations
# under the License.
import os
+import sys
from glob import glob
from oslo_config import cfg
@@ -34,4 +35,8 @@
for y in glob(os.path.join(x[0], '*.yaml'))]:
with open(yml, 'r') ... |
ae4519a26e372f8a27a7e460fc08d409c5bafe55 | networkx/algorithms/flow/__init__.py | networkx/algorithms/flow/__init__.py | from networkx.algorithms.flow.maxflow import *
from networkx.algorithms.flow.mincost import *
from networkx.algorithms.flow.preflow_push import *
from networkx.algorithms.flow.shortest_augmenting_path import *
del utils
| from . import maxflow, mincost, preflow_push, shortest_augmenting_path
__all__ = sum([maxflow.__all__, mincost.__all__, preflow_push.__all__,
shortest_augmenting_path.__all__], [])
from .maxflow import *
from .mincost import *
from .preflow_push import *
from .shortest_augmenting_path import *
| Modify handling of module conflict in shortest augmenting path maxflow | Modify handling of module conflict in shortest augmenting path maxflow
| Python | bsd-3-clause | nathania/networkx,ionanrozenfeld/networkx,dmoliveira/networkx,aureooms/networkx,kernc/networkx,dmoliveira/networkx,aureooms/networkx,kernc/networkx,harlowja/networkx,jni/networkx,jakevdp/networkx,jni/networkx,jakevdp/networkx,Sixshaman/networkx,RMKD/networkx,RMKD/networkx,ionanrozenfeld/networkx,sharifulgeo/networkx,de... | ---
+++
@@ -1,6 +1,9 @@
-from networkx.algorithms.flow.maxflow import *
-from networkx.algorithms.flow.mincost import *
-from networkx.algorithms.flow.preflow_push import *
-from networkx.algorithms.flow.shortest_augmenting_path import *
+from . import maxflow, mincost, preflow_push, shortest_augmenting_path
-del u... |
8a9137ea826a3b8ca8c74be546f1388e81e72b9f | setup.py | setup.py | import os
import shutil
from setuptools import setup, find_packages, Command
import oscrypto
class CleanCommand(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
folder = os.path.dirname(os.path.abspath(__file__... | import os
import shutil
from setuptools import setup, find_packages, Command
import oscrypto
class CleanCommand(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
folder = os.path.dirname(os.path.abspath(__file__... | Fix typo in package description | Fix typo in package description
| Python | mit | wbond/oscrypto | ---
+++
@@ -28,7 +28,7 @@
name='oscrypto',
version=oscrypto.__version__,
- description='Crytographic services provided by the operating system, including key generation, encryption, decryption, signing, verifying and key derivation',
+ description='Cryptographic services provided by the operating sy... |
e2fb68232df520151f3d4545129150b5d1fcf0ad | setup.py | setup.py | from setuptools import setup
with open('README.md') as f:
long_description = f.read()
setup(
name='abraia',
version='0.3.2',
description='Abraia Python SDK',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/abraia/abraia-python',
... | from setuptools import setup
with open('README.md') as f:
long_description = f.read()
setup(
name='abraia',
version='0.3.3',
description='Abraia Python SDK',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/abraia/abraia-python',
... | Fix last issues with new implementation | Fix last issues with new implementation
| Python | mit | abraia/abraia-python | ---
+++
@@ -5,7 +5,7 @@
setup(
name='abraia',
- version='0.3.2',
+ version='0.3.3',
description='Abraia Python SDK',
long_description=long_description,
long_description_content_type='text/markdown', |
cc9ef459277c6583e8f6fce3f9ab658f74f13559 | setup.py | setup.py | # -*- coding: utf-8 -*-
from distutils.core import setup
setup(
name='sugartensor',
packages=['sugartensor'],
version='0.0.1.4',
description='A slim tensorflow wrapper that provides syntactic sugar for tensor variables.',
author='Namju Kim at Jamonglabs Co.,Ltd.',
author_email='buriburisuri@gma... | # -*- coding: utf-8 -*-
from distutils.core import setup
setup(
name='sugartensor',
packages=['sugartensor'],
version='0.0.1.5',
description='A slim tensorflow wrapper that provides syntactic sugar for tensor variables.',
author='Namju Kim at Jamonglabs Co.,Ltd.',
author_email='buriburisuri@gma... | Add console logging option to sg_train_func. | Add console logging option to sg_train_func.
| Python | mit | buriburisuri/sugartensor | ---
+++
@@ -4,12 +4,12 @@
setup(
name='sugartensor',
packages=['sugartensor'],
- version='0.0.1.4',
+ version='0.0.1.5',
description='A slim tensorflow wrapper that provides syntactic sugar for tensor variables.',
author='Namju Kim at Jamonglabs Co.,Ltd.',
author_email='buriburisuri@gm... |
ea0cb6cc038c071f3160d15ca2167af7ff18096f | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
def fread(filepath):
with open(filepath, 'r') as f:
return f.read()
setup(
name='GB2260',
version='0.1.0',
author='Hsiaoming Yang',
author_email='me@lepture.com',
url='https://github.com/cn/GB2260',
packages=['gb2260'],
desc... | #!/usr/bin/env python
from setuptools import setup
def fread(filepath):
with open(filepath, 'r') as f:
return f.read()
setup(
name='GB2260',
version='0.1.0',
author='TonySeek',
author_email='tonyseek@gmail.com',
url='https://github.com/cn/GB2260',
packages=['gb2260'],
descri... | Change python module author to @tonyseek | Change python module author to @tonyseek
| Python | bsd-2-clause | cn/GB2260.py | ---
+++
@@ -11,8 +11,8 @@
setup(
name='GB2260',
version='0.1.0',
- author='Hsiaoming Yang',
- author_email='me@lepture.com',
+ author='TonySeek',
+ author_email='tonyseek@gmail.com',
url='https://github.com/cn/GB2260',
packages=['gb2260'],
description='The Python implementation f... |
1faeaaadbd616866d08d85af8277ec0f4c3ac319 | setup.py | setup.py | from setuptools import setup
import imp
def get_version():
ver_file = None
try:
ver_file, pathname, description = imp.find_module('__version__', ['src/wstool'])
vermod = imp.load_module('__version__', ver_file, pathname, description)
version = vermod.version
return version
... | from setuptools import setup
import imp
def get_version():
ver_file = None
try:
ver_file, pathname, description = imp.find_module('__version__', ['src/wstool'])
vermod = imp.load_module('__version__', ver_file, pathname, description)
version = vermod.version
return version
... | Add dependency to vcstools>=0.1.34 (to be released) | Add dependency to vcstools>=0.1.34 (to be released)
| Python | bsd-3-clause | tkruse/wstool,vincentrou/wstool,tkruse/wstool,vincentrou/wstool,wkentaro/wstool | ---
+++
@@ -20,7 +20,7 @@
packages=['wstool'],
package_dir={'': 'src'},
# rosinstall dependency to be kept in order not to break ros hydro install instructions
- install_requires=['vcstools', 'pyyaml'],
+ install_requires=['vcstools>=0.1.34', 'pyyaml'],
scripts=["scripts/wstool"]... |
d9aeb09cbe0c2311c0f2bdd5177dd9f4a036631e | setup.py | setup.py | from setuptools import find_packages, setup
from channels import __version__
setup(
name='channels',
version=__version__,
url='http://github.com/django/channels',
author='Django Software Foundation',
author_email='foundation@djangoproject.com',
description="Brings async, event-driven capabiliti... | from setuptools import find_packages, setup
from channels import __version__
setup(
name='channels',
version=__version__,
url='http://github.com/django/channels',
author='Django Software Foundation',
author_email='foundation@djangoproject.com',
description="Brings async, event-driven capabiliti... | Add base trove classifier for Django. | Add base trove classifier for Django.
Implying "currently supported versions".
| Python | bsd-3-clause | andrewgodwin/django-channels,andrewgodwin/channels,django/channels | ---
+++
@@ -40,6 +40,7 @@
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
+ 'Framework :: Django',
'Topic :: Internet :: WWW/HTTP',
],
) |
a2637bc28477dff53a5fd836b0aab42b7dee5c30 | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: UTF-8 -*-
from setuptools import setup
from glob import glob
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python ::... | #!/usr/bin/env python
# -*- coding: UTF-8 -*-
from setuptools import setup
from glob import glob
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python ::... | Add collections package to required list. | Add collections package to required list.
| Python | bsd-2-clause | lileiting/goatools,lileiting/goatools,tanghaibao/goatools,tanghaibao/goatools | ---
+++
@@ -26,5 +26,5 @@
url='http://github.com/tanghaibao/goatools',
description="Python scripts to find enrichment of GO terms",
long_description=open("README.rst").read(),
- install_requires=['fisher', 'wget', 'xlsxwriter', 'statsmodels']
+ install_requires=['fisher', 'wget', 'collections', '... |
d1cb4a227c97369938f93a40afbee2ff4f0e1cc0 | setup.py | setup.py | from setuptools import setup, find_packages
import os, sys
version = '0.0.1'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
TEST_DEPENDENCIES = ['mock', 'pymongo >= 2.7', 'sqlalchemy']
py_version = sys.version_info[:2... | from setuptools import setup, find_packages
import os, sys
version = '0.0.1'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
TEST_DEPENDENCIES = ['mock', 'pymongo >= 2.7', 'sqlalchemy', 'pillow']
py_version = sys.versi... | Add also Pillow as a test depdenency | Add also Pillow as a test depdenency
| Python | mit | miraculixx/depot,rlam3/depot,miraculixx/depot,eprikazc/depot,amol-/depot | ---
+++
@@ -9,7 +9,7 @@
except IOError:
README = ''
-TEST_DEPENDENCIES = ['mock', 'pymongo >= 2.7', 'sqlalchemy']
+TEST_DEPENDENCIES = ['mock', 'pymongo >= 2.7', 'sqlalchemy', 'pillow']
py_version = sys.version_info[:2]
if py_version[0] == 2: |
7140111a5a326d8d065110079e59b5f90aa700bb | setup.py | setup.py | #! /usr/bin/env python
from setuptools import find_packages, setup
setup(name='oemof.db',
version='0.0.2',
description='The oemof database extension',
namespace_package = ['oemof'],
packages=find_packages(),
package_dir={'oemof': 'oemof'},
install_requires=['sqlalchemy >= 1.0',
... | #! /usr/bin/env python
from setuptools import find_packages, setup
setup(name='oemof.db',
version='0.0.2',
description='The oemof database extension',
namespace_package = ['oemof'],
packages=find_packages(),
package_dir={'oemof': 'oemof'},
install_requires=['sqlalchemy >= 1.0',
... | Add missing required package: psycopg2 | Add missing required package: psycopg2 | Python | mit | oemof/oemof.db | ---
+++
@@ -10,4 +10,5 @@
package_dir={'oemof': 'oemof'},
install_requires=['sqlalchemy >= 1.0',
'keyring >= 4.0',
- 'shapely'])
+ 'shapely',
+ 'psycopg2']) |
6a5609dc518897d94d71a3611b890a3364b8917a | setup.py | setup.py | # -*- coding: utf-8 -*-
"""
A text interface to Taiga.
"""
from taiga_ncurses import __name__, __description__, __version__
from setuptools import setup, find_packages
REQUIREMENTS = [
"requests==2.5.0",
"urwid>=1.3.0",
"x256==0.0.3"
]
NAME = __name__
DESCRIPTION = __description__
VERSION = "{0}.{1}".... | # -*- coding: utf-8 -*-
"""
A text interface to Taiga.
"""
from __future__ import print_function
import sys
if sys.version_info[0] < 3 or sys.version_info[1] < 3:
print("Sorry, taiga-ncurses needs python >= 3.3", file=sys.stderr)
sys.exit(-1)
from taiga_ncurses import __name__, __description__, __version__
... | Check if you are using python 3.3+ | Check if you are using python 3.3+
| Python | apache-2.0 | taigaio/taiga-ncurses,battlemidget/taiga-ncurses,wweiradio/taiga-ncurses | ---
+++
@@ -3,6 +3,13 @@
"""
A text interface to Taiga.
"""
+
+from __future__ import print_function
+import sys
+if sys.version_info[0] < 3 or sys.version_info[1] < 3:
+ print("Sorry, taiga-ncurses needs python >= 3.3", file=sys.stderr)
+ sys.exit(-1)
+
from taiga_ncurses import __name__, __description__... |
5f68c9eeeb32f67d52ac3f804a0239d323d44a05 | setup.py | setup.py | #!/usr/bin/env python
import sys
assert sys.version >= '2.5', "Requires Python v2.5 or above."
from setuptools import setup
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"... | #!/usr/bin/env python
import sys
assert sys.version >= '2.5', "Requires Python v2.5 or above."
from setuptools import setup
classifiers = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
... | Append License, Topic to classifiers. | Append License, Topic to classifiers.
Signed-off-by: Kouhei Maeda <c9f1823971fa1a4c79cdb50b3311094021cee31e@palmtb.net>
| Python | bsd-3-clause | stochastic-technologies/shortuuid,skorokithakis/shortuuid | ---
+++
@@ -5,12 +5,14 @@
from setuptools import setup
classifiers = [
+ "License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming L... |
8e06061e59d7443de00648d6a7e14f32d5b7ad2f | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(name = "medea",
license = "Apache",
version = "0.0",
install_requires = ["protobuf"],
description = "Mesos containerization hooks for Docker",
author ... | #!/usr/bin/env python
from setuptools import setup
setup(name = "medea",
license = "Apache",
version = "0.0.0",
install_requires = ["protobuf"],
description = "Mesos containerization hooks for Docker",
author ... | Add classifiers and a fuller version number. | Add classifiers and a fuller version number.
| Python | apache-2.0 | solidsnack/deimos,davidbliu/deimos-etcd-mod,solidsnack/deimos,mesosphere/deimos,midonet/mcp,midonet/mcp,mesosphere/deimos,davidbliu/deimos-etcd-mod | ---
+++
@@ -4,7 +4,7 @@
setup(name = "medea",
license = "Apache",
- version = "0.0",
+ version = "0.0.0",
install_requires = ["protobuf"],
description = "Mesos containerization hooks for Docker",
... |
22d72a2daf1cd7ba46ded5f75a2322357762a86c | fireplace/cards/gvg/druid.py | fireplace/cards/gvg/druid.py | from ..utils import *
##
# Minions
# Druid of the Fang
class GVG_080:
def action(self):
if self.poweredUp:
self.morph("GVG_080t")
| from ..utils import *
##
# Minions
# Attack Mode (Anodized Robo Cub)
class GVG_030a:
action = buffSelf("GVG_030ae")
# Tank Mode (Anodized Robo Cub)
class GVG_030b:
action = buffSelf("GVG_030be")
# Gift of Mana (Grove Tender)
class GVG_032a:
def action(self):
for player in self.game.players:
player.maxMana... | Implement Anodized Robo Cub, Grove Tender | Implement Anodized Robo Cub, Grove Tender
| Python | agpl-3.0 | Ragowit/fireplace,liujimj/fireplace,Ragowit/fireplace,Meerkov/fireplace,beheh/fireplace,butozerca/fireplace,oftc-ftw/fireplace,jleclanche/fireplace,amw2104/fireplace,liujimj/fireplace,NightKev/fireplace,amw2104/fireplace,butozerca/fireplace,smallnamespace/fireplace,Meerkov/fireplace,oftc-ftw/fireplace,smallnamespace/fi... | ---
+++
@@ -4,6 +4,29 @@
##
# Minions
+# Attack Mode (Anodized Robo Cub)
+class GVG_030a:
+ action = buffSelf("GVG_030ae")
+
+# Tank Mode (Anodized Robo Cub)
+class GVG_030b:
+ action = buffSelf("GVG_030be")
+
+
+# Gift of Mana (Grove Tender)
+class GVG_032a:
+ def action(self):
+ for player in self.game.players... |
5cb584cba4c968c7c366d51d8fc3c61cc71d80b0 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
# Version info -- read without importing
_locals = {}
with open('releases/_version.py') as fp:
exec(fp.read(), None, _locals)
version = _locals['__version__']
setup(
name='releases',
version=version,
description='A Sphinx extension for changelog mani... | #!/usr/bin/env python
from setuptools import setup
# Version info -- read without importing
_locals = {}
with open('releases/_version.py') as fp:
exec(fp.read(), None, _locals)
version = _locals['__version__']
setup(
name='releases',
version=version,
description='A Sphinx extension for changelog mani... | Remove upper-bound on required Sphinx version | Remove upper-bound on required Sphinx version | Python | bsd-2-clause | bitprophet/releases | ---
+++
@@ -16,7 +16,7 @@
author_email='jeff@bitprophet.org',
url='https://github.com/bitprophet/releases',
packages=['releases'],
- install_requires=['semantic_version<3.0', 'sphinx>=1.3,<1.5'],
+ install_requires=['semantic_version<3.0', 'sphinx>=1.3'],
classifiers=[
'Development ... |
dcbd1e485e095771c8e607bc380bc7742d36ea7e | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name="clrsvsim",
version="0.1.0",
description="Color Genomics Structural Variant Simulator",
author="Color Genomics",
author_email="dev@color.com",
url="https://github.com/ColorGenomics/clrsvs... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name="clrsvsim",
version="0.1.0",
description="Color Genomics Structural Variant Simulator",
author="Color",
author_email="dev@color.com",
url="https://github.com/color/clrsvsim",
packages... | Update author & use Color's new GH repo | Update author & use Color's new GH repo
| Python | apache-2.0 | color/clrsvsim | ---
+++
@@ -8,9 +8,9 @@
name="clrsvsim",
version="0.1.0",
description="Color Genomics Structural Variant Simulator",
- author="Color Genomics",
+ author="Color",
author_email="dev@color.com",
- url="https://github.com/ColorGenomics/clrsvsim",
+ url="https://github.com/color/clrsvsim",
... |
b4ea3835e901af0b3bf70cc886f9c93eb7c65f98 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
name='mockldap',
version='0.1',
description=u"A simple mock implementation of python-ldap.",
long_description=open('README').read(),
url='http://bitbucket.org/psagers/mockldap/',
author='Peter Sagerson',
author_email='psagers.pypi@i... | #!/usr/bin/env python
from setuptools import setup
try:
import unittest2
except ImportError:
test_loader = 'unittest:TestLoader'
else:
test_loader = 'unittest2:TestLoader'
setup(
name='mockldap',
version='0.1',
description=u"A simple mock implementation of python-ldap.",
long_description... | Use unittest2 test loader when available. | Use unittest2 test loader when available.
When default setuptools test loader is used, tests are collected into
unittest.TestSuite instead of unittest2.TestSuite. As a result,
setUpClass() methods are not called and tests fail on Python 2.6.
Instead, use unittest2 test loader when available. Fallback to plain
unittes... | Python | bsd-2-clause | sttts/mockldap,sttts/mockldap | ---
+++
@@ -1,6 +1,14 @@
#!/usr/bin/env python
from setuptools import setup
+
+try:
+ import unittest2
+except ImportError:
+ test_loader = 'unittest:TestLoader'
+else:
+ test_loader = 'unittest2:TestLoader'
+
setup(
name='mockldap',
@@ -36,5 +44,6 @@
setup_requires=[
'setuptools>=0... |
3e0c76bef538ac1f4cc0415491b4b73574403777 | setup.py | setup.py | # -*- coding: utf-8 -*
import os
from setuptools import setup, find_packages
readme = os.path.join(os.path.dirname(__file__), 'README.md')
long_description = open(readme).read()
setup(
name='python-mandrill-inbound',
version='0.0.2',
packages=find_packages(),
author='José Padilla',
author_email='... | # -*- coding: utf-8 -*
import os
from setuptools import setup, find_packages
readme_md = os.path.join(os.path.dirname(__file__), 'README.md')
try:
import pandoc
pandoc.core.PANDOC_PATH = '/usr/local/bin/pandoc'
doc = pandoc.Document()
doc.markdown = open(readme_md).read()
long_description = doc.r... | Create optional README in rst for pypi | Create optional README in rst for pypi
| Python | mit | jpadilla/mandrill-inbound-python | ---
+++
@@ -3,8 +3,16 @@
import os
from setuptools import setup, find_packages
-readme = os.path.join(os.path.dirname(__file__), 'README.md')
-long_description = open(readme).read()
+readme_md = os.path.join(os.path.dirname(__file__), 'README.md')
+
+try:
+ import pandoc
+ pandoc.core.PANDOC_PATH = '/usr/lo... |
d62ac35483eb1685562566b918050218e57c7e1b | setup.py | setup.py | """A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspa... | """A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspa... | Cut a new version to update the README on PyPi. | Cut a new version to update the README on PyPi.
| Python | mit | mwchase/class-namespaces,mwchase/class-namespaces | ---
+++
@@ -19,7 +19,7 @@
setup(
name='class_namespaces',
- version='0.3.5',
+ version='0.3.6',
description='Class Namespaces',
long_description=long_description, |
26aa4b483dfb40a9351badc6a98e68097d8ebb80 | setup.py | setup.py | from setuptools import setup
setup(
name='simpleblogging',
version='2.0.13',
packages=['simple'],
url='http://github.com/orf/simple',
license='MIT',
author='Orf',
author_email='tom@tomforb.es',
description='A simple markdown based blog.',
include_package_data=True,
install_requi... | from setuptools import setup
setup(
name='simpleblogging',
version='2.0.13',
packages=['simple'],
url='https://github.com/orf/simple',
license='MIT',
author='Orf',
author_email='tom@tomforb.es',
description='A simple markdown based blog.',
include_package_data=True,
install_requ... | Change url protocol to https for secure access | Change url protocol to https for secure access | Python | mit | orf/simple,orf/simple,orf/simple | ---
+++
@@ -4,7 +4,7 @@
name='simpleblogging',
version='2.0.13',
packages=['simple'],
- url='http://github.com/orf/simple',
+ url='https://github.com/orf/simple',
license='MIT',
author='Orf',
author_email='tom@tomforb.es', |
c6f946d47fafbd01c5d607fc797cef88f85f0055 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(name='hyppocratic',
version='0.1',
description='Software to convert text files to EpiDoc compatible XML.',
author='Johathan Boyle, Nicolas Gruel',
packages=['CommentaryToEpidoc'],
install_requires=['docopt'],
entry_points={
... | #!/usr/bin/env python
#TODO: add data in the installation for the default xml_template.txt
from setuptools import setup
setup(name='hyppocratic',
version='0.1',
description='Software to convert text files to EpiDoc compatible XML.',
author='Johathan Boyle, Nicolas Gruel',
packages=['hyppocrat... | Correct installation script to use the correct name for the package. | Correct installation script to use the correct name for the package.
Bug solved
| Python | bsd-3-clause | gruel/AphorismToTEI | ---
+++
@@ -1,4 +1,6 @@
#!/usr/bin/env python
+
+#TODO: add data in the installation for the default xml_template.txt
from setuptools import setup
@@ -6,7 +8,7 @@
version='0.1',
description='Software to convert text files to EpiDoc compatible XML.',
author='Johathan Boyle, Nicolas Gruel',
-... |
9297c0e672f8500f71c2279deb5fd5662aa60dd9 | setup.py | setup.py | # -*- coding: utf-8 -*-
import codecs
import re
from os import path
from distutils.core import setup
from setuptools import find_packages
def read(*parts):
return codecs.open(path.join(path.dirname(__file__), *parts),
encoding='utf-8').read()
def find_version(*file_paths):
version_fil... | # -*- coding: utf-8 -*-
import codecs
import re
from os import path
from distutils.core import setup
from setuptools import find_packages
def read(*parts):
return codecs.open(path.join(path.dirname(__file__), *parts),
encoding='utf-8').read()
def find_version(*file_paths):
version_fil... | Exclude tests from being installed. | Exclude tests from being installed.
They would polute global package namespace.
| Python | bsd-3-clause | gregmuellegger/django-floppyforms,gregmuellegger/django-floppyforms,gregmuellegger/django-floppyforms | ---
+++
@@ -25,7 +25,7 @@
version=find_version('floppyforms', '__init__.py'),
author=u'Bruno Renié',
author_email='bruno@renie.fr',
- packages=find_packages(),
+ packages=find_packages(exclude=["tests.*", "tests"]),
include_package_data=True,
url='https://github.com/gregmuellegger/djang... |
55d033219350dbb2288d71cb3e8f5d355fe6fe02 | setup.py | setup.py | """
Flask-GoogleLogin
-----------------
Flask-GoogleLogin extends Flask-Login to use Google's OAuth2 authorization
Links
`````
* `documentation <http://packages.python.org/Flask-GoogleLogin>`_
* `development version <https://github.com/marksteve/flask-googlelogin>`_
"""
from setuptools import setup
setup(
name='... | """
Flask-GoogleLogin
-----------------
Flask-GoogleLogin extends Flask-Login to use Google's OAuth2 authorization
Links
`````
* `documentation <http://packages.python.org/Flask-GoogleLogin>`_
* `development version <https://github.com/marksteve/flask-googlelogin>`_
"""
from setuptools import setup
setup(
name='... | Update to Flask-Login 0.2.2 and bump version number | Update to Flask-Login 0.2.2 and bump version number
| Python | mit | insynchq/flask-googlelogin,insynchq/flask-googlelogin | ---
+++
@@ -13,7 +13,7 @@
setup(
name='Flask-GoogleLogin',
- version='0.1.5',
+ version='0.1.6',
url='https://github.com/marksteve/flask-googlelogin',
license='MIT',
author="Mark Steve Samson",
@@ -25,7 +25,7 @@
platforms='any',
install_requires=[
'requests<1.0',
- ... |
5b2de46ac3c21278f1ab2c7620d3f31dc7d98530 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
version = '0.6.0.dev'
required = open('requirements.txt').read().split('\n')
extra = {'all': ['mist', 'rime']}
setup(
name='thunder-python',
version=version,
description='large-scale image and time series analysis',
author='freeman-lab',
author_... | #!/usr/bin/env python
from setuptools import setup
version = '0.6.0.dev'
required = open('requirements.txt').read().split('\n')
extra = {'all': ['mist', 'rime']}
setup(
name='thunder-python',
version=version,
description='large-scale image and time series analysis',
author='freeman-lab',
author_... | Fix name for extra arguments | Fix name for extra arguments
| Python | apache-2.0 | thunder-project/thunder,jwittenbach/thunder,j-friedrich/thunder,j-friedrich/thunder | ---
+++
@@ -23,6 +23,6 @@
],
package_data={'thunder.lib': ['thunder_python-' + version + '-py2.7.egg']},
install_requires=required,
- extra_requires=extra,
+ extras_require=extra,
long_description='See https://github.com/thunder-project/thunder'
) |
8126a93ec002c3cbff8f9cd7bfe996de740f4bef | setup.py | setup.py | from distutils.core import setup
setup(
name='buqeyemodel',
# packages=['buqeyemodel'],
py_modules=['buqeyemodel'],
version='0.1',
description='A statistical model of EFT convergence.',
author='Jordan Melendez',
author_email='jmelendez1992@gmail.com',
license='MIT',
url='https://git... | from distutils.core import setup
setup(
name='buqeyemodel',
packages=['buqeyemodel'],
# py_modules=['buqeyemodel', 'pymc3_additions'],
version='0.1',
description='A statistical model of EFT convergence.',
author='Jordan Melendez',
author_email='jmelendez1992@gmail.com',
license='MIT',
... | Put buqeyemodel back in folder for multi-file use | Put buqeyemodel back in folder for multi-file use
| Python | mit | jordan-melendez/buqeyemodel,jordan-melendez/buqeyemodel | ---
+++
@@ -2,8 +2,8 @@
setup(
name='buqeyemodel',
- # packages=['buqeyemodel'],
- py_modules=['buqeyemodel'],
+ packages=['buqeyemodel'],
+ # py_modules=['buqeyemodel', 'pymc3_additions'],
version='0.1',
description='A statistical model of EFT convergence.',
author='Jordan Melendez... |
d098503ee2be36af86c85527c80b6526f474b4b1 | setup.py | setup.py | # -*- coding: utf-8 -*-
"""Build and installation routines for CMSocial.
"""
from __future__ import absolute_import
from __future__ import print_function
# setuptools doesn't seem to like this:
# from __future__ import unicode_literals
import os
from setuptools import setup, find_packages
setup(
name="cmsocia... | # -*- coding: utf-8 -*-
"""Build and installation routines for CMSocial.
"""
from __future__ import absolute_import
from __future__ import print_function
# setuptools doesn't seem to like this:
# from __future__ import unicode_literals
import os
from setuptools import setup, find_packages
setup(
name="cmsocia... | Rename cmsocialServer to cmsPracticeWebServer, to avoid problems | Rename cmsocialServer to cmsPracticeWebServer, to avoid problems
| Python | agpl-3.0 | algorithm-ninja/cmsocial,elsantodel90/oia-juez,algorithm-ninja/cmsocial,elsantodel90/oia-juez,algorithm-ninja/cmsocial,elsantodel90/oia-juez,algorithm-ninja/cmsocial,elsantodel90/oia-juez,algorithm-ninja/cmsocial | ---
+++
@@ -24,7 +24,8 @@
packages=find_packages(),
entry_points={
"console_scripts": [
- "cmsocialServer=cmsocial.server.pws:main",
+# "cmsocialServer=cmsocial.server.pws:main", # we must rename this because of CMS's ResourceService
+ "cmsPracticeWebServer=cmsoci... |
e0bbdbcd3c0f4fb1a6893471f5480b1b32a74fe1 | setup.py | setup.py | from setuptools import setup
setup(name='fntools',
description='Functional programming tools for data processing',
author=u'Taurus Olson',
author_email=u'taurusolson@gmail.com',
url='https://github.com/TaurusOlson/fntools',
version='1.0.4',
packages=['fntools'],
zip_safe=Fals... | from setuptools import setup
def readme():
with open('README.rst') as f:
return f.read()
setup(name='fntools',
version='1.0.4',
description='Functional programming tools for data processing',
long_description=readme(),
classifiers=[
'Programming Language :: Python :: 2.7'... | Add more metadata for the package on PyPi | Add more metadata for the package on PyPi
| Python | mit | TaurusOlson/fntools | ---
+++
@@ -1,12 +1,25 @@
from setuptools import setup
+def readme():
+ with open('README.rst') as f:
+ return f.read()
+
+
setup(name='fntools',
+ version='1.0.4',
description='Functional programming tools for data processing',
+ long_description=readme(),
+ classifiers=[
+ ... |
ddba8aea13cad32dcb3d33943498dfc746702924 | tests/__init__.py | tests/__init__.py | import logging
import random
import os
from unittest import TestLoader, TestSuite
import unittest.util
from exchangelib.util import PrettyXmlHandler
class RandomTestSuite(TestSuite):
def __iter__(self):
tests = list(super().__iter__())
random.shuffle(tests)
return iter(tests)
# Execute ... | import logging
import random
import os
from unittest import TestLoader, TestSuite
import unittest.util
from exchangelib.util import PrettyXmlHandler
class RandomTestSuite(TestSuite):
def __iter__(self):
tests = list(super().__iter__())
random.shuffle(tests)
return iter(tests)
# Execute ... | Make sure random values are random across processes | Make sure random values are random across processes
| Python | bsd-2-clause | ecederstrand/exchangelib | ---
+++
@@ -18,6 +18,8 @@
TestLoader.suiteClass = RandomTestSuite
# Execute test methods in random order within each test class
TestLoader.sortTestMethodsUsing = lambda _, x, y: random.choice((1, -1))
+# Make sure we're also random in multiprocess test runners
+random.seed()
# Always show full repr() output for... |
6c67d06a691be8a930c0e82fcf404057580645d8 | tests/conftest.py | tests/conftest.py | import os
import sys
from pathlib import Path
import pytest
if sys.version_info < (3, 4):
print("Requires Python 3.4+")
sys.exit(1)
TESTS_ROOT = os.path.abspath(os.path.dirname(__file__))
PROJECT_ROOT = os.path.dirname(TESTS_ROOT)
@pytest.fixture
def resources():
return Path(TESTS_ROOT) / 'resources'... | import os
import sys
from pathlib import Path
import pytest
if sys.version_info < (3, 4):
print("Requires Python 3.4+")
sys.exit(1)
TESTS_ROOT = os.path.abspath(os.path.dirname(__file__))
PROJECT_ROOT = os.path.dirname(TESTS_ROOT)
@pytest.fixture(scope="session")
def resources():
return Path(TESTS_ROO... | Fix warning from hypothesis above scope of resources() fixture | Fix warning from hypothesis above scope of resources() fixture
| Python | mpl-2.0 | pikepdf/pikepdf,pikepdf/pikepdf,pikepdf/pikepdf | ---
+++
@@ -3,7 +3,6 @@
from pathlib import Path
import pytest
-
if sys.version_info < (3, 4):
print("Requires Python 3.4+")
@@ -14,7 +13,7 @@
PROJECT_ROOT = os.path.dirname(TESTS_ROOT)
-@pytest.fixture
+@pytest.fixture(scope="session")
def resources():
return Path(TESTS_ROOT) / 'resources'
|
34977275dc0502896846e937097d18d31103bcb0 | tests/conftest.py | tests/conftest.py | """Global test configuration"""
import os
from pathlib import Path
import betamax
import pytest
from mccurse import curse
# Ensure cassete dir
CASSETE_DIR = 'tests/cassetes/'
if not os.path.exists(CASSETE_DIR):
os.makedirs(CASSETE_DIR)
record_mode = 'none' if os.environ.get('TRAVIS_BUILD') else 'once'
with ... | """Global test configuration"""
import os
from pathlib import Path
import betamax
import pytest
from mccurse import addon, curse
# Ensure cassete dir
CASSETE_DIR = 'tests/cassetes/'
if not os.path.exists(CASSETE_DIR):
os.makedirs(CASSETE_DIR)
record_mode = 'none' if os.environ.get('TRAVIS_BUILD') else 'once'... | Add shared fixtures for Mod and Game | Add shared fixtures for Mod and Game
| Python | agpl-3.0 | khardix/mccurse | ---
+++
@@ -7,7 +7,7 @@
import betamax
import pytest
-from mccurse import curse
+from mccurse import addon, curse
# Ensure cassete dir
@@ -31,3 +31,27 @@
"""Database potentially located in temp dir."""
return curse.Database('test', Path(str(tmpdir)))
+
+
+@pytest.fixture
+def tinkers_construct() ... |
ef695f9bbd24c88fd3b802c8964313c5a182fed5 | accelerator/tests/test_program_cycle.py | accelerator/tests/test_program_cycle.py | # MIT License
# Copyright (c) 2017 MassChallenge, Inc.
from __future__ import unicode_literals
from django.test import TestCase
from accelerator.tests.factories import ProgramCycleFactory
class TestProgramCycle(TestCase):
def test_display_name_no_short_name(self):
cycle = ProgramCycleFactory(short_name... | # MIT License
# Copyright (c) 2017 MassChallenge, Inc.
from __future__ import unicode_literals
from django.test import TestCase
from accelerator.tests.factories import ProgramCycleFactory
class TestProgramCycle(TestCase):
def test_display_name_no_short_name(self):
cycle = ProgramCycleFactory(short_name... | Add tests for the functionality added | [AC-7049] Add tests for the functionality added
| Python | mit | masschallenge/django-accelerator,masschallenge/django-accelerator | ---
+++
@@ -13,18 +13,18 @@
cycle = ProgramCycleFactory(short_name=None)
assert cycle.name in str(cycle)
- # def test_program_cycle_has_default_application_type(self):
- # cycle = ProgramCycleFactory()
- # if (cycle.applications_open and
- # not cycle.default_applic... |
753aba188bcd8afa195c76886f11423e5761cf68 | pollirio/confreader.py | pollirio/confreader.py | from ConfigParser import SafeConfigParser
class ConfReader(object):
def __init__(self, fn):
defaults = {
'nick': 'pollirio',
'channel': '#polloalforno',
'server_addr': 'calvino.freenode.net',
'server_port': 6667
}
self.__slots__ = defaults.key... | from ConfigParser import SafeConfigParser
class ConfReader(object):
def __init__(self, fn):
defaults = {
'nickname': 'pollirio',
'channel': '#polloalforno',
'server_addr': 'calvino.freenode.net',
'server_port': 6667
}
self.__slots__ = defaults... | Fix bug in nick configuration | Fix bug in nick configuration
| Python | mit | dpaleino/pollirio,dpaleino/pollirio | ---
+++
@@ -3,7 +3,7 @@
class ConfReader(object):
def __init__(self, fn):
defaults = {
- 'nick': 'pollirio',
+ 'nickname': 'pollirio',
'channel': '#polloalforno',
'server_addr': 'calvino.freenode.net',
'server_port': 6667 |
ba3d399c8c959dcfbf2d507a8b2767b26625f9ae | app/models/compare.py | app/models/compare.py | # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be usefu... | # This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be usefu... | Add build comparison model keys | Add build comparison model keys
| Python | lgpl-2.1 | kernelci/kernelci-backend,kernelci/kernelci-backend | ---
+++
@@ -30,12 +30,25 @@
]
}
+BUILD_DELTA_VALID_KEYS = {
+ "POST": [
+ models.ARCHITECTURE_KEY,
+ models.COMPARE_TO_KEY,
+ models.DEFCONFIG_FULL_KEY,
+ models.DEFCONFIG_KEY,
+ models.JOB_KEY,
+ models.KERNEL_KEY
+ ]
+}
+
COMPARE_VALID_KEYS = {
+ models.BU... |
8564a355473afe76c307701c5c347d58d0f7ca18 | test_ir.py | test_ir.py | import unittest
import kerneltest
class IRkernelTests(kerneltest.KernelTests):
kernel_name = "ir"
language_name = "R"
code_hello_world = "print('hello, world')"
completion_samples = [
{
'text': 'zi',
'matches': {'zip'},
},
]
if __name__ == '__main__':
... | import unittest
import kerneltest
class IRkernelTests(kerneltest.KernelTests):
kernel_name = "ir"
language_name = "R"
code_hello_world = "print('hello, world')"
completion_samples = [
{
'text': 'zi',
'matches': {'zip'},
},
]
complete_code_samples = ['... | Add tests for is_complete requests | Add tests for is_complete requests
| Python | mit | ibm-et/IRkernel,ibm-et/IRkernel | ---
+++
@@ -15,5 +15,8 @@
},
]
+ complete_code_samples = ['1', "print('hello, world')", "f <- function(x) {\n x*2\n}"]
+ incomplete_code_samples = ["print('hello", "f <- function(x) {\n x*2"]
+
if __name__ == '__main__':
unittest.main() |
f852fb6a8b0a64d6385cba32fd911cb8bad7f300 | src/classifiers/itfidf_classifier.py | src/classifiers/itfidf_classifier.py | # Headers
__author__ = 'Somsubhra Bairi'
__email__ = 'somsubhra.bairi@gmail.com'
# All imports
from extras import Logger
from nltk import PorterStemmer
# Classify according to document frequency
class ITFIDFClassifier:
# Constructor for the ITFIDFClassifier
def __init__(self, dict_file):
dictionary... | # Headers
__author__ = 'Somsubhra Bairi'
__email__ = 'somsubhra.bairi@gmail.com'
# All imports
from extras import Logger
from nltk import PorterStemmer
# Classify according to document frequency
class ITFIDFClassifier:
# Constructor for the ITFIDFClassifier
def __init__(self, dict_file):
dictionary... | Adjust the coefficient of classifiers | Adjust the coefficient of classifiers
| Python | mit | Somsubhra/Enrich,Somsubhra/Enrich,Somsubhra/Enrich | ---
+++
@@ -38,6 +38,6 @@
stemmed_word = PorterStemmer().stem_word(sanitized_word)
if stemmed_word in self.itfidf_dictionary:
- return self.itfidf_dictionary[stemmed_word] > self.avg_itfidf * 1
+ return self.itfidf_dictionary[stemmed_word] > self.avg_itfidf / 16
else... |
05f6eb49cd16b56324606afe525fe4476db4a998 | setup.py | setup.py | #-*- coding: utf-8 -*-
#
# setup.py
# anytop
#
# Created by Lars Yencken on 2011-10-09.
# Copyright 2011 Lars Yencken. All rights reserved.
#
from setuptools import setup
setup(
name='anytop',
version='0.2.1',
description='Streaming frequency distribution viewer.',
long_description=open('README.rs... | #-*- coding: utf-8 -*-
#
# setup.py
# anytop
#
# Created by Lars Yencken on 2011-10-09.
# Copyright 2011 Lars Yencken. All rights reserved.
#
from setuptools import setup
setup(
name='anytop',
version='0.2.1',
description='Streaming frequency distribution viewer.',
long_description=open('README.rs... | Update package url to github. | Update package url to github.
| Python | isc | larsyencken/anytop | ---
+++
@@ -16,9 +16,8 @@
long_description=open('README.rst').read(),
author='Lars Yencken',
author_email='lars@yencken.org',
- url='http://bitbucket.org/larsyencken/anytop',
+ url='http://github.com/larsyencken/anytop',
scripts=['anytop', 'anyhist'],
packages=['anyutil'],
license=... |
f6dca8d01660c77f64ea1ed0e004fb6e14f69115 | 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='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oe... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='windpowerlib',
version='0.1.2dev',
description='Creating time series of wind power plants.',
url='http://github.com/wind-python/windpowerlib',
author='oe... | Add requirements for developers necessary for tests | Add requirements for developers necessary for tests
| Python | mit | wind-python/windpowerlib | ---
+++
@@ -21,4 +21,4 @@
install_requires=['pandas >= 0.19.1',
'requests'],
extras_require={
- 'dev': ['sphinx_rtd_theme', 'pytest']})
+ 'dev': ['pytest', 'jupyter', 'sphinx_rtd_theme', 'nbformat']}) |
c4dd53c2d476a9daaed5c630c95c7e558a347ce3 | 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.1',... | 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'... | Create release fix for fixing readme on Pypi | Create release fix for fixing readme on Pypi
| Python | mit | sveint/flask-swagger-ui,sveint/flask-swagger-ui,sveint/flask-swagger-ui | ---
+++
@@ -10,8 +10,8 @@
setup(
name='flask-swagger-ui',
- version='0.0.1',
- description='SwaggerUI blueprint for Flask',
+ version='0.0.1a',
+ description='Swagger UI blueprint for Flask',
long_description=long_description,
url='https://github.com/sveint/flask-swagger-ui', |
c092a9a836046aa098b8ac10f63bc60f70da9e76 | tests/test_str.py | tests/test_str.py | import pytest
from hypothesis import given
from hypothesis.strategies import integers, text
from datatyping.datatyping import validate
@given(string=text())
def test_simple(string):
assert validate(str, string) is None
@given(not_string=integers())
def test_simple_error(not_string):
with pytest.raises(Type... | import pytest
from hypothesis import given
from hypothesis.strategies import integers, text, lists, iterables, one_of
from datatyping.datatyping import validate
@given(string=text())
def test_simple(string):
assert validate(str, string) is None
@given(not_string=one_of(integers(), lists(integers()), iterables(... | Improve the str tests by adding bad types | Improve the str tests by adding bad types
| Python | mit | Zaab1t/datatyping | ---
+++
@@ -1,6 +1,6 @@
import pytest
from hypothesis import given
-from hypothesis.strategies import integers, text
+from hypothesis.strategies import integers, text, lists, iterables, one_of
from datatyping.datatyping import validate
@@ -10,7 +10,7 @@
assert validate(str, string) is None
-@given(not... |
0c1220aae6e95e6ec8d93f0605819aa4a29959ad | setup.py | setup.py | import os
from setuptools import setup
setup(
name = "prometheus_client",
version = "0.0.18",
author = "Brian Brazil",
author_email = "brian.brazil@robustperception.io",
description = ("Python client for the Prometheus monitoring system."),
long_description = ("See https://github.com/prometheus... | import os
from setuptools import setup
setup(
name = "prometheus_client",
version = "0.0.18",
author = "Brian Brazil",
author_email = "brian.brazil@robustperception.io",
description = ("Python client for the Prometheus monitoring system."),
long_description = ("See https://github.com/prometheus... | Add 'handlers' package to distribution. | Add 'handlers' package to distribution.
| Python | apache-2.0 | prometheus/client_python | ---
+++
@@ -11,7 +11,7 @@
license = "Apache Software License 2.0",
keywords = "prometheus monitoring instrumentation client",
url = "https://github.com/prometheus/client_python",
- packages=['prometheus_client', 'prometheus_client.bridge', 'prometheus_client.twisted'],
+ packages=['prometheus_cli... |
4e8c3e66b6956c88adcf275d771d06fad0c0bb34 | mrbelvedereci/build/utils.py | mrbelvedereci/build/utils.py | from django.core.paginator import EmptyPage
from django.core.paginator import PageNotAnInteger
from django.core.paginator import Paginator
from mrbelvedereci.build.models import Build
def paginate(build_list, request):
page = request.GET.get('page')
per_page = request.GET.get('per_page', '25')
paginator = ... | from django.core.paginator import EmptyPage
from django.core.paginator import PageNotAnInteger
from django.core.paginator import Paginator
from mrbelvedereci.build.models import Build
def paginate(build_list, request):
page = request.GET.get('page')
per_page = request.GET.get('per_page', '25')
paginator = ... | Change build listings to sort by -time_queue instead of -id so that rebuilds show up higher in the listing | Change build listings to sort by -time_queue instead of -id so that
rebuilds show up higher in the listing
| Python | bsd-3-clause | SalesforceFoundation/mrbelvedereci,SalesforceFoundation/mrbelvedereci,SalesforceFoundation/mrbelvedereci,SalesforceFoundation/mrbelvedereci | ---
+++
@@ -28,5 +28,9 @@
if query:
builds = builds.filter(**query)
+ order_by = request.GET.get('order_by', '-time_queue')
+ order_by = order_by.split(',')
+ builds = builds.order_by(*order_by)
+
builds = paginate(builds, request)
return builds |
ae5626eaf36c6be94860d2a9570a777ff7f4e148 | apps/client_config.py | apps/client_config.py |
import superdesk
from flask import current_app as app
from superdesk.utils import ListCursor
class ClientConfigResource(superdesk.Resource):
item_methods = []
public_methods = ['GET']
resource_methods = ['GET']
class ClientConfigService(superdesk.Service):
def get(self, req, lookup):
retu... |
import superdesk
from flask import current_app as app
from superdesk.utils import ListCursor
class ClientConfigResource(superdesk.Resource):
item_methods = []
public_methods = ['GET']
resource_methods = ['GET']
class ClientConfigService(superdesk.Service):
def get(self, req, lookup):
retu... | Add feedback url to served client configuration | [SDESK-2128] Add feedback url to served client configuration
| Python | agpl-3.0 | superdesk/superdesk-core,petrjasek/superdesk-core,mugurrus/superdesk-core,mdhaman/superdesk-core,ioanpocol/superdesk-core,ioanpocol/superdesk-core,mugurrus/superdesk-core,ioanpocol/superdesk-core,superdesk/superdesk-core,mdhaman/superdesk-core,petrjasek/superdesk-core,petrjasek/superdesk-core,hlmnrmr/superdesk-core,mug... | ---
+++
@@ -25,4 +25,5 @@
app.client_config.update({
'schema': app.config.get('SCHEMA'),
'editor': app.config.get('EDITOR'),
+ 'feedback_url': app.config.get('FEEDBACK_URL'),
}) |
ab98637aa949a02618f6b119983f40bcbde80d43 | examples/play_series_montecarlo_vs_random.py | examples/play_series_montecarlo_vs_random.py | from capstone.game import TicTacToe
from capstone.player import MonteCarlo, RandPlayer
from capstone.util import play_series
game = TicTacToe()
players = [MonteCarlo(), RandPlayer()]
n_matches = 10
play_series(game, players, n_matches)
players.reverse()
play_series(game, players, n_matches)
| from capstone.game import TicTacToe
from capstone.player import MonteCarlo, RandPlayer
from capstone.util import play_series
game = TicTacToe()
players = [MonteCarlo(), RandPlayer()]
n_matches = 10
play_series(game, players, n_matches)
print('')
players.reverse()
play_series(game, players, n_matches)
| Add line break to play series monte carlo | Add line break to play series monte carlo
| Python | mit | davidrobles/mlnd-capstone-code | ---
+++
@@ -6,5 +6,6 @@
players = [MonteCarlo(), RandPlayer()]
n_matches = 10
play_series(game, players, n_matches)
+print('')
players.reverse()
play_series(game, players, n_matches) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.