commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
404b9a8e721f0918fb00f43cd377656cff9403d0 | Add license key in __openerp__.py | Endika/manufacture,raycarnes/manufacture,Eficent/manufacture,credativUK/manufacture | __unported__/mrp_bom_product_details/__openerp__.py | __unported__/mrp_bom_product_details/__openerp__.py | # -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2013 Solutions Libergia inc. (<http://www.libergia.com>).
#
# This program is free software: you can redistribute it and/or modify
# it under t... | # -*- coding: utf-8 -*-
##############################################################################
#
# OpenERP, Open Source Management Solution
# Copyright (C) 2013 Solutions Libergia inc. (<http://www.libergia.com>).
#
# This program is free software: you can redistribute it and/or modify
# it under t... | agpl-3.0 | Python |
4249b01c47f729c45a5aa7986ae2eaccf70df0d6 | Bump binaryornot requirement to 0.2.0. Edit PyPI keywords. | pjbull/cookiecutter,nhomar/cookiecutter,audreyr/cookiecutter,atlassian/cookiecutter,ionelmc/cookiecutter,drgarcia1986/cookiecutter,venumech/cookiecutter,utek/cookiecutter,0k/cookiecutter,Vauxoo/cookiecutter,lgp171188/cookiecutter,Springerle/cookiecutter,0k/cookiecutter,tylerdave/cookiecutter,benthomasson/cookiecutter,t... | setup.py | setup.py | #!/usr/bin/env python
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
readme = open('README.rst').read()
history = open('HISTORY.rst').read().replace('.. :ch... | #!/usr/bin/env python
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
readme = open('README.rst').read()
history = open('HISTORY.rst').read().replace('.. :ch... | bsd-3-clause | Python |
02858e3f797f3051ec3835c65e1d6d9e7ba93140 | Fix typo in setup.py classifiers | saqura/xmppwb | setup.py | setup.py | from setuptools import setup, find_packages
# To use a consistent encoding
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.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
... | from setuptools import setup, find_packages
# To use a consistent encoding
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.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
... | mit | Python |
5c140cea756354958f3f6da5322df19872cfdafc | Increment minor version | zain/pyr | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
name='pyr',
version='0.3',
description='A nicer REPL for Python.',
author='Zain Memon',
author_email='zain@inzain.net',
url='https://github.com/zain/pyr',
packages=['pyr'],
install_requires=['pygments'],
scripts=['bin/pyr'],... | #!/usr/bin/env python
from setuptools import setup
setup(
name='pyr',
version='0.2.1',
description='A nicer REPL for Python.',
author='Zain Memon',
author_email='zain@inzain.net',
url='https://github.com/zain/pyr',
packages=['pyr'],
install_requires=['pygments'],
scripts=['bin/pyr'... | mit | Python |
73cf8c188cc237d57f841df61d250d7e1eb5dc13 | Bump version to 0.0.1 | msabramo/jprops2bash | setup.py | setup.py | from setuptools import setup
setup(
name='jprops2bash',
description='Convert Java properties file to bash env var script',
setup_requires=['setuptools-markdown'],
long_description_markdown_filename='README.md',
keywords='java properties',
version='0.0.1',
author='Marc Abramowitz',
auth... | from setuptools import setup
setup(
name='jprops2bash',
description='Convert Java properties file to bash env var script',
setup_requires=['setuptools-markdown'],
long_description_markdown_filename='README.md',
keywords='java properties',
version='0.0.0',
author='Marc Abramowitz',
auth... | mit | Python |
5b1dfe79f580ce8048246fab7f5260a8cdaac6bc | Change reducer version | mwcraig/reducer,astrofrog/reducer,astrofrog/reducer,StuartLittlefair/reducer,StuartLittlefair/reducer | setup.py | setup.py | from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import sys
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytes... | from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import sys
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytes... | bsd-3-clause | Python |
f327e87081c3df190a688c474dc9b025e35f8de9 | Document supported Python versions with trove categories | dag/flask-genshi,dag/flask-genshi,dag/flask-genshi | setup.py | setup.py | #!/usr/bin/env python
"""
Flask-Genshi
------------
`Flask-Genshi`_ is an extension to `Flask`_ that allows you to easily
use `Genshi`_ for templating. Easily switch between HTML5 and XHTML
and have the mimetype set automatically for you.
::
from flask import Flask
from flaskext.genshi import Genshi, render_... | #!/usr/bin/env python
"""
Flask-Genshi
------------
`Flask-Genshi`_ is an extension to `Flask`_ that allows you to easily
use `Genshi`_ for templating. Easily switch between HTML5 and XHTML
and have the mimetype set automatically for you.
::
from flask import Flask
from flaskext.genshi import Genshi, render_... | bsd-3-clause | Python |
322c6ac726990d01c72ef082c73006bdb3ca8c5d | Fix setup py | Scandie/openprocurement.tender.esco,openprocurement/openprocurement.tender.esco | setup.py | setup.py | from setuptools import setup, find_packages
import os
version = '1.0'
requires = [
'setuptools',
'openprocurement.api>=2.3',
'openprocurement.tender.openeu',
]
test_requires = requires + [
'webtest',
'python-coveralls',
]
docs_requires = requires + [
'sphinxcontrib-httpdomain',
]
entry_poin... | from setuptools import setup, find_packages
import os
version = '1.0'
requires = [
'setuptools',
'openprocurement.api>=2.3',
'openprocurement.tender.core',
'openprocurement.tender.openua',
'openprocurement.tender.openeu',
'openprocurement.tender.belowthreshold',
]
test_requires = requires + [... | apache-2.0 | Python |
0db9b203dddefa6576bbcf357453587f05403180 | Change initial version to 0.9 | caleb531/alfred-workflow-packager | setup.py | setup.py | #!/usr/bin/env python
# coding=utf-8
from setuptools import setup
setup(
name='alfred-workflow-packager',
version='0.9',
description='A CLI utility for packaging and exporting Alfred workflows',
url='https://github.com/caleb531/alfred-workflow-packager',
author='Caleb Evans',
author_email='cal... | #!/usr/bin/env python
# coding=utf-8
from setuptools import setup
setup(
name='alfred-workflow-packager',
version='0.8b',
description='A CLI utility for packaging and exporting Alfred workflows',
url='https://github.com/caleb531/alfred-workflow-packager',
author='Caleb Evans',
author_email='ca... | mit | Python |
30d7327569b1aa4dbbe5c41967f6965fd7a41232 | Add an initial version to setup file | mailin-api/mailin-api-python | setup.py | setup.py | from setuptools import setup
with open("requirements.txt") as f:
install_requires = [line.strip() for line in f]
setup(
name="mailin",
version="0.0.1",
py_modules=["mailin"],
install_requires=install_requires
)
| from setuptools import setup
with open("requirements.txt") as f:
install_requires = [line.strip() for line in f]
setup(
name="mailin",
py_modules=["mailin"],
install_requires=install_requires
)
| mit | Python |
3c2d3ff4bdc7bfe116dfd02152dadd26f92f74b5 | Bump version | jroyal/pyIDS | setup.py | setup.py | from distutils.core import setup
setup(
name='pyIDS',
packages=['pyIDS'],
version='0.2.2',
description='Python wrapper for the IDS(IBM Bluemix Devops Services) API',
author='James Royal',
author_email='jhr.atx@gmail.com',
url='https://github.com/jroyal/pyIDS',
download_url='https://githu... | from distutils.core import setup
setup(
name='pyIDS',
packages=['pyIDS'],
version='0.2.1',
description='Python wrapper for the IDS(IBM Bluemix Devops Services) API',
author='James Royal',
author_email='jhr.atx@gmail.com',
url='https://github.com/jroyal/pyIDS',
download_url='https://githu... | apache-2.0 | Python |
3b0be7ff18495db2bc6ed5cb8b5a904e5f50f411 | Bump version. | skorokithakis/shortuuid,stochastic-technologies/shortuuid | 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 = [
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
... | #!/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",
... | bsd-3-clause | Python |
e9785118ac9cf832386c5d7ddf817be55b1c8d34 | Add `long_description` to setup.py | Stranger6667/pytest-click | setup.py | setup.py | #!/usr/bin/env python
# coding: utf-8
import sys
from os import path
from setuptools import find_packages, setup
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, "README.rst"), encoding="utf-8") as fd:
long_description = fd.read()
requirements = [
"click>=6.0",
"p... | #!/usr/bin/env python
# coding: utf-8
import sys
from setuptools import find_packages, setup
requirements = [
"click>=6.0",
"pytest>=3.6.0",
]
test_requirements = []
if sys.version_info < (3, 3):
test_requirements.append("mock==1.0.1")
setup(
name="pytest_click",
version="0.3.1",
url="https... | mit | Python |
42ce7df0a2bd6e887786a009a62d5394fbb5ba41 | Drop heading by default | kura/kura.io,kura/kura.io,kura/kura.io,kura/kura.io,kura/kura.io,kura/kura.io | plugins/extract_toc/extract_toc.py | plugins/extract_toc/extract_toc.py | """
Extract Table of Content
========================
This plugin allows you to extract table of contents (ToC) from article.content
and place it in its own article.toc variable.
"""
from os import path
from bs4 import BeautifulSoup
from pelican import signals, readers, contents
def extract_toc(content):
if isi... | """
Extract Table of Content
========================
This plugin allows you to extract table of contents (ToC) from article.content
and place it in its own article.toc variable.
"""
from os import path
from bs4 import BeautifulSoup
from pelican import signals, readers, contents
def extract_toc(content):
if isi... | mit | Python |
c2e8bb7eac7ac26611dca96e4a15f70cc8f14a1d | bump version: 0.2.0 | singer-io/singer-python | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
import subprocess
setup(name="stitchstream-python",
version="0.2.0",
description="Write the stitchstream format from Python",
author="Stitch",
classifiers=['Programming Language :: Python :: 3 :: Only'],
url="https://githu... | #!/usr/bin/env python
from setuptools import setup, find_packages
import subprocess
setup(name="stitchstream-python",
version="0.1.0",
description="Write to the stitchstream format from Python",
author="Stitch",
url="https://github.com/stitchdata/stitchstream-python",
packages=find_packa... | apache-2.0 | Python |
d16352395cde771c0de60828f5e20aa10b4ceddd | increment version | WIPACrepo/iceprod,WIPACrepo/iceprod,WIPACrepo/iceprod,WIPACrepo/iceprod | iceprod/__init__.py | iceprod/__init__.py | """The IceProd Grid Middleware and tools."""
from __future__ import absolute_import, division, print_function
# version is a human-readable version number.
# version_info is a four-tuple for programmatic comparison. The first
# three numbers are the components of the version number. The fourth
# is zero for an offic... | """The IceProd Grid Middleware and tools."""
from __future__ import absolute_import, division, print_function
# version is a human-readable version number.
# version_info is a four-tuple for programmatic comparison. The first
# three numbers are the components of the version number. The fourth
# is zero for an offic... | mit | Python |
62c56c86b5ddacd878c70689479191d5055b652d | Fix bad trove classifier | googleapis/python-oslogin,googleapis/python-oslogin | setup.py | setup.py | # Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, s... | # Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, s... | apache-2.0 | Python |
05f670b08c30b32bebffc6855869a1638373a802 | Add python 3.7 to classifiers | emre/kaptan | setup.py | setup.py | """
kaptan
======
:copyright: (c) 2013- authors and contributors (See AUTHORS file).
:license: BSD, see LICENSE for more details.
"""
import sys
from setuptools import find_packages, setup
from setuptools.command.test import test as TestCommand
about = {}
with open("kaptan/__about__.py") as fp:
exec(fp.read(), ... | """
kaptan
======
:copyright: (c) 2013- authors and contributors (See AUTHORS file).
:license: BSD, see LICENSE for more details.
"""
import sys
from setuptools import find_packages, setup
from setuptools.command.test import test as TestCommand
about = {}
with open("kaptan/__about__.py") as fp:
exec(fp.read(), ... | bsd-3-clause | Python |
bdf9f4c6e66f34f547ef75ffd24ce49fc266c3a6 | Allow use of distribute/setuptools for "develop" mode | SeanOC/sharpy,smartfile/sharpy | setup.py | setup.py | #!/usr/bin/env python
try:
from setuptools import setup
except ImportError, err:
from distutils.core import setup
from sharpy import VERSION
setup(
name='Sharpy',
version=".".join(map(str, VERSION)),
description='Python client for the Cheddar Getter API (http://cheddargetter.com).',
author="S... | #!/usr/bin/env python
from distutils.core import setup
from sharpy import VERSION
setup(
name='Sharpy',
version=".".join(map(str, VERSION)),
description='Python client for the Cheddar Getter API (http://cheddargetter.com).',
author="Sean O'Connor",
author_email="sean@saaspire.com",
url="https... | bsd-3-clause | Python |
379e8826a372bb90ce29e9137fd89b6dc58d8f2b | update 3.0.5 | hycis/TensorGraph,hycis/TensorGraph | setup.py | setup.py | from distutils.core import setup
from setuptools import find_packages
version = '3.0.5'
setup(
name='tensorgraph',
version=version,
author='Wu Zhen Zhou',
author_email='hyciswu@gmail.com',
install_requires=['numpy>=1.7.1',
'six>=1.9.0',
'scikit-learn>=0.1... | from distutils.core import setup
from setuptools import find_packages
version = '3.0.4'
setup(
name='tensorgraph',
version=version,
author='Wu Zhen Zhou',
author_email='hyciswu@gmail.com',
install_requires=['numpy>=1.7.1',
'six>=1.9.0',
'scikit-learn>=0.1... | apache-2.0 | Python |
d1d82f9084ead73abb7c04e2a326547ec5b17496 | Remove database dependency from setup.py. | petemoore/build-funsize,petemoore/build-funsize | setup.py | setup.py | from setuptools import setup
PACKAGE_NAME = 'funsize'
PACKAGE_VERSION = '0.1'
setup(name=PACKAGE_NAME,
version=PACKAGE_VERSION,
description='partial mar webservice prototype',
long_description='https://wiki.mozilla.org/User:Ffledgling/Senbonzakura',
classifiers=[],
author='Anhad Jai Sing... | from setuptools import setup
PACKAGE_NAME = 'funsize'
PACKAGE_VERSION = '0.1'
setup(name=PACKAGE_NAME,
version=PACKAGE_VERSION,
description='partial mar webservice prototype',
long_description='https://wiki.mozilla.org/User:Ffledgling/Senbonzakura',
classifiers=[],
author='Anhad Jai Sing... | mpl-2.0 | Python |
f555b55a4c19e794b13c7f75c0d171a09e38ae50 | add back zc.zk dependency | mwhooker/jones,mwhooker/jones,mwhooker/jones,mwhooker/jones | setup.py | setup.py | """
Copyright 2012 DISQUS
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distrib... | """
Copyright 2012 DISQUS
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distrib... | apache-2.0 | Python |
95e3d265e65f0ddf583a5def07eff3f49075c92c | Increment version to 1.0.20. | getwarped/powershift-cluster,getwarped/powershift-cluster | setup.py | setup.py | import sys
import os
from setuptools import setup
long_description = open('README.rst').read()
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Pytho... | import sys
import os
from setuptools import setup
long_description = open('README.rst').read()
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Pytho... | bsd-2-clause | Python |
4b776e800d2374a82c2679bcf95ed5bb99e66d8f | Use docker-py main branch | emptybay/cosmo-docker-plugin | setup.py | setup.py | __author__ = 'kobyn'
import setuptools
DOCKER_BRANCH = 'master'
DOCKER = "https://github.com/dotcloud/docker-py/tree/{0}".format(DOCKER_BRANCH)
COSMO_CELERY_VERSION = '0.3'
COSMO_CELERY_BRANCH = 'develop'
COSMO_CELERY = "https://github.com/CloudifySource/cosmo-celery-common/tarball/{0}".format(COSMO_CEL... | __author__ = 'kobyn'
import setuptools
COSMO_CELERY_VERSION = '0.3'
COSMO_CELERY_BRANCH = 'develop'
COSMO_CELERY = "https://github.com/CloudifySource/cosmo-celery-common/tarball/{0}".format(COSMO_CELERY_BRANCH)
setuptools.setup(
zip_safe=True,
name='cosmo-plugin-docker-provisioner',
version='0... | apache-2.0 | Python |
6278d553adb8e50a3cd392dca19493c454c9abe6 | Bump the version number to a release number. | jasonfharris/sysexecute | setup.py | setup.py | from distutils.core import setup
setup(
name = 'sysexecute',
packages = ['sysexecute'], # this must be the same as the name above
version = '1.0.0',
description = 'A library for simplified executing of system commands',
author = 'Jason Harris',
author_email = 'jason@unifiedthought.com',
url = 'https://git... | from distutils.core import setup
setup(
name = 'sysexecute',
packages = ['sysexecute'], # this must be the same as the name above
version = '0.1',
description = 'A library for simplified executing of system commands',
author = 'Jason Harris',
author_email = 'jason@unifiedthought.com',
url = 'https://githu... | bsd-3-clause | Python |
ba6461477a64fb9a0e02d6360f436ad5ab12d77e | Fix setup comment. | pyohei/cronquot,pyohei/cronquot | setup.py | setup.py | """Set up script"""
import codecs
from setuptools import setup
import pypandoc
def _create_log_desc():
"""Create long description and README formatted with rst."""
_long_desc = ''
with codecs.open('README.rst', 'w', 'utf-8') as rf:
try:
_long_desc = pypandoc.convert('README.md', 'rst')... | import codecs
from setuptools import setup
import pypandoc
def _create_log_desc():
_long_desc = ''
with codecs.open('README.rst', 'w', 'utf-8') as rf:
try:
_long_desc = pypandoc.convert('README.md', 'rst')
except OSError as e:
import os
if not 'TRAVIS' in os... | mit | Python |
ca212a2ff20ff91167d0654d8251b45935fa50fc | Add cffi-related changes to setup.py | flacjacket/pywayland | setup.py | setup.py | # Copyright 2015 Sean Vig
#
# 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, sof... | # Copyright 2015 Sean Vig
#
# 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, sof... | apache-2.0 | Python |
9261790865ce8e0a09ebc6fd5b08b9837029ac26 | Update version in setup.py, per RELEASING | dr-leo/pandaSDMX | setup.py | setup.py | from setuptools import find_packages, setup
INSTALL_REQUIRES = [
'lxml>=3.6',
'pandas>=0.20',
'pydantic>=1.1',
'requests>=2.7',
'setuptools>19',
]
TESTS_REQUIRE = [
'pytest>=3.3',
'pytest-remotedata>=0.3.1',
'requests-mock>=1.4',
]
EXTRAS_REQUIRE = {
'cache': ['requests_cache'],
... | from setuptools import find_packages, setup
INSTALL_REQUIRES = [
'lxml>=3.6',
'pandas>=0.20',
'pydantic>=1.1',
'requests>=2.7',
'setuptools>19',
]
TESTS_REQUIRE = [
'pytest>=3.3',
'pytest-remotedata>=0.3.1',
'requests-mock>=1.4',
]
EXTRAS_REQUIRE = {
'cache': ['requests_cache'],
... | apache-2.0 | Python |
8e640a0abf8f614b8393fdc2ceb8ce2b4c57c421 | Add psd-tools2 version dependency | kyamagu/psd2svg | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
import os
import sys
def get_version():
curdir = os.path.dirname(__file__)
filename = os.path.join(curdir, 'src', 'psd2svg', 'version.py')
with open(filename, 'rb') as fp:
return fp.read().decode('utf8').split('=')[1].strip(" \n'")
def readme():... | #!/usr/bin/env python
from setuptools import setup
import os
import sys
def get_version():
curdir = os.path.dirname(__file__)
filename = os.path.join(curdir, 'src', 'psd2svg', 'version.py')
with open(filename, 'rb') as fp:
return fp.read().decode('utf8').split('=')[1].strip(" \n'")
def readme():... | mit | Python |
f1107206770fd0c91ccca39ba1df447d76417b64 | Update project version | City-of-Helsinki/smbackend,City-of-Helsinki/smbackend | setup.py | setup.py | from setuptools import find_packages, setup
setup(
name="smbackend",
version="210617",
license="AGPLv3",
packages=find_packages(),
include_package_data=True,
install_requires=[
p
for p in open("requirements.txt", "rt").readlines()
if p and not p.startswith("#")
],
... | from setuptools import find_packages, setup
setup(
name="smbackend",
version="210602",
license="AGPLv3",
packages=find_packages(),
include_package_data=True,
install_requires=[
p
for p in open("requirements.txt", "rt").readlines()
if p and not p.startswith("#")
],
... | agpl-3.0 | Python |
a5f7322e4defb996c768fcb11266f58c398c4b6b | remove useless import | YunoHost/moulinette | setup.py | setup.py | #!/usr/bin/env python
import os
import sys
from distutils.core import setup
from distutils.sysconfig import PREFIX
# Define package directories
datadir = os.path.join(PREFIX, 'share/moulinette')
libdir = os.path.join(PREFIX, 'lib/moulinette')
localedir = os.path.join(datadir, 'locale')
cachedir = '/var/cache/moulinet... | #!/usr/bin/env python
import os
import sys
from distutils.core import setup
from distutils.dir_util import mkpath
from distutils.sysconfig import PREFIX
# Define package directories
datadir = os.path.join(PREFIX, 'share/moulinette')
libdir = os.path.join(PREFIX, 'lib/moulinette')
localedir = os.path.join(datadir, 'lo... | agpl-3.0 | Python |
3c17e65510000d74602c7ba90ecdf1c48297f03f | Remove redis from setup.py. | kurtraschke/cadors-parse,kurtraschke/cadors-parse | setup.py | setup.py | from setuptools import setup, find_packages
import os
name = "cadorsfeed"
version = "0.1"
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
setup(
name=name,
version=version,
description="Produce an Atom feed from the CADORS National Report",
long_descripti... | from setuptools import setup, find_packages
import os
name = "cadorsfeed"
version = "0.1"
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
setup(
name=name,
version=version,
description="Produce an Atom feed from the CADORS National Report",
long_descripti... | mit | Python |
3c1d0784c9f70d7b2e3be3ff960ae6d21f6be25c | update version number | cbrichford/async-mock | setup.py | setup.py | from distutils.core import setup
setup(
name = 'async-mock',
version = '1.0.4',
description = 'asyncio mocker builder library',
author = 'Christopher Brichford',
author_email = 'chrisb@farmersbusinessnetwork.com',
keywords = ['testing'], # arbitrary keywords
classifiers = ['License :: OSI Approved :: BSD ... | from distutils.core import setup
setup(
name = 'async-mock',
version = '1.0.3',
description = 'asyncio mocker builder library',
author = 'Christopher Brichford',
author_email = 'chrisb@farmersbusinessnetwork.com',
keywords = ['testing'], # arbitrary keywords
classifiers = ['License :: OSI Approved :: BSD ... | bsd-3-clause | Python |
8069f1f02966dc9e15b966cff5ed905a6b997627 | Bump version number | fire-uta/ir-simulation,fire-uta/ir-simulation | setup.py | setup.py | # -*- coding: latin-1 -*-
from distutils.core import setup
setup(name='irsim',
version='0.1.2',
py_modules=['irsim', 'callbackLoader', 'stats', 'figures'],
packages=['qsdl', 'qsdl.parser', 'qsdl.simulator', 'qsdl.simulator.errors'],
data_files=[ ( 'example-config',
[
... | # -*- coding: latin-1 -*-
from distutils.core import setup
setup(name='irsim',
version='0.1',
py_modules=['irsim', 'callbackLoader', 'stats', 'figures'],
packages=['qsdl', 'qsdl.parser', 'qsdl.simulator', 'qsdl.simulator.errors'],
data_files=[ ( 'example-config',
[
... | mit | Python |
f7e351f47179b8f21743d02a0552ff62b9d369e6 | Update setuptools config. | mayfield/shellish | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
README = 'README.md'
def long_desc():
try:
import pypandoc
except ImportError:
with open(README) as f:
return f.read()
else:
return pypandoc.convert(README, 'rst')
setup(
name='shellish',
versio... | #!/usr/bin/env python
from setuptools import setup, find_packages
README = 'README.md'
def long_desc():
try:
import pypandoc
except ImportError:
with open(README) as f:
return f.read()
else:
return pypandoc.convert(README, 'rst')
setup(
name='shellish',
versio... | mit | Python |
d2610599ec91ea527e9f81f504bb9ca2e3e9860b | Bump version to 1.0.1 | bertrandvidal/parse_this | setup.py | setup.py | #!/usr/bin/env python
import os
from setuptools import setup
readme_file = os.path.join(os.path.dirname(__file__), 'README.rst')
with open(readme_file, "r") as readme_file:
readme = readme_file.read()
setup(
name="parse_this",
version="1.0.1",
description=("Makes it easy to create a command line inter... | #!/usr/bin/env python
import os
from setuptools import setup
readme_file = os.path.join(os.path.dirname(__file__), 'README.rst')
with open(readme_file, "r") as readme_file:
readme = readme_file.read()
setup(
name="parse_this",
version="1.0.0",
description=("Makes it easy to create a command line inter... | mit | Python |
6bfb0d4ef03fb25820655ea518d24c178c895025 | bump version to 1.2.0 | cenkalti/darbe,cenk/darbe | setup.py | setup.py | # coding=utf8
from setuptools import setup
setup(
name='Darbe',
version='1.2.0',
author=u'Cenk Altı',
author_email='cenkalti@gmail.com',
keywords='mysql rds migration database replication slave',
url='https://github.com/cenk/darbe',
py_modules=['darbe'],
install_requires=[
'bot... | # coding=utf8
from setuptools import setup
setup(
name='Darbe',
version='1.1.5',
author=u'Cenk Altı',
author_email='cenkalti@gmail.com',
keywords='mysql rds migration database replication slave',
url='https://github.com/cenk/darbe',
py_modules=['darbe'],
install_requires=[
'bot... | mit | Python |
41de24fa992939d8cf3daf762bd7c3235faeb5d0 | Make sure file is closed properly. | EmilStenstrom/conllu | setup.py | setup.py | import os
from setuptools import setup # type: ignore
VERSION = '4.5'
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as f:
description = f.read()
setup(
name='conllu',
packages=["conllu"],
python_requires=">=3.6",
package_data={
"": ["py.typed"]
},
version=VERSI... | import os
from setuptools import setup # type: ignore
VERSION = '4.5'
setup(
name='conllu',
packages=["conllu"],
python_requires=">=3.6",
package_data={
"": ["py.typed"]
},
version=VERSION,
license='MIT License',
description='CoNLL-U Parser parses a CoNLL-U formatted string i... | mit | Python |
8fbc0efa4a12825f155a805656c2d0d780785b11 | Bump to 0.0.20 | njoyard/django-representatives,political-memory/django-representatives | setup.py | setup.py | from setuptools import find_packages, setup
setup(
name='django-representatives',
version='0.0.20',
description='Base app for government representative',
author='Laurent Peuch, Olivier Le Thanh Duong, Yohan Boniface, Arnaud Fabre, James Pic, Nicolas Joyard',
author_email='webmaster@memopol.org',
... | from setuptools import find_packages, setup
setup(
name='django-representatives',
version='0.0.19',
description='Base app for government representative',
author='Laurent Peuch, Olivier Le Thanh Duong, Yohan Boniface, Arnaud Fabre, James Pic, Nicolas Joyard',
author_email='webmaster@memopol.org',
... | agpl-3.0 | Python |
8e9c37ba773cf71b91274f249cb0f559ca98dbda | increment version | meraki-analytics/cassiopeia | setup.py | setup.py | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
install_requires = [
"datapipelines>=1.0.7",
"merakicommons>=1.0.7",
"Pillow",
"arrow<1.0.0",
"requests"
]
# Require python 3.6
if sys.version_info.major != 3 and sys.version_info.minor != 6:
sys.exit("Cassiopeia r... | #!/usr/bin/env python
import sys
from setuptools import setup, find_packages
install_requires = [
"datapipelines>=1.0.7",
"merakicommons>=1.0.7",
"Pillow",
"arrow<1.0.0",
"requests"
]
# Require python 3.6
if sys.version_info.major != 3 and sys.version_info.minor != 6:
sys.exit("Cassiopeia r... | mit | Python |
f92867833a7b5b2f68bc502e0baa35131bd8cf36 | Use find_packages in setup.py | pirateandy/xbox,joealcorn/xbox | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='python-xbox',
version='0.0.1',
url='https://github.com/buttscicles/xbox/',
author='Joe Alcorn',
author_email='joealcorn123@gmail.com',
description=(
"A wrapper around Microsoft's undocumented Xbox one APIs"
),
packages=fin... | from setuptools import setup
setup(
name='python-xbox',
version='0.0.1',
url='https://github.com/buttscicles/xbox/',
author='Joe Alcorn',
author_email='joealcorn123@gmail.com',
description=(
"A wrapper around Microsoft's undocumented Xbox one APIs"
),
packages=['xbox', 'xbox.ven... | mit | Python |
e8c6d3d79b8910487b9f6adcbf845dd1ee3770e5 | add correct package info | discogs/python-livingdocs,discogs/python-livingdocs | setup.py | setup.py | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
from __future__ import absolute_import
from __future__ import print_function
import io
import re
from glob import glob
from os.path import basename
from os.path import dirname
from os.path import join
from os.path import splitext
from setuptools import find_packages
fro... | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
from __future__ import absolute_import
from __future__ import print_function
import io
import re
from glob import glob
from os.path import basename
from os.path import dirname
from os.path import join
from os.path import splitext
from setuptools import find_packages
fro... | bsd-2-clause | Python |
a85f9b9649aaefd755321baf3cd831b526e7157d | bump version | udemy/py-moneyed | setup.py | setup.py | from setuptools import setup, find_packages
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):
#import here, cau... | from setuptools import setup, find_packages
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):
#import here, cau... | bsd-3-clause | Python |
66295d07643bb5a52aaf346e616e8ff91a10bd2f | Clean up setup.py, add license name, classifiers | massover/piprot,sesh/piprot,tysonclugg/piprot | setup.py | setup.py | from setuptools import setup
"""
Use pandoc to convert README.md to README.rst before uploading
pandoc README.md -o README.rst
"""
setup(
name='piprot',
version='0.7.2',
author='Brenton Cleeland, Mark Hellewell, Dan Peade',
author_email='brenton@brntn.me',
packages=['piprot',],
url='http://... | from setuptools import setup
"""
Use pandoc to convert README.md to README.rst before uploading
pandoc README.md -o README.rst
"""
setup(
name='piprot',
version='0.7.2',
author='Brenton Cleeland, Mark Hellewell, Dan Peade',
author_email='brenton@brntn.me',
packages=['piprot',],
url='http://... | mit | Python |
5cb4bd63015020d39dcb0766bb7ffd13a4bd3664 | increment version | fillest/sapyens,fillest/sapyens,fillest/sapyens | setup.py | setup.py | import setuptools
requires = [
]
setuptools.setup(
name = 'sapyens',
version = '0.1.8',
description = 'SQLAlchemy & Pyramid enhancements',
long_description = 'SQLAlchemy & Pyramid enhancements',
author = 'Philipp Saveliev',
author_email = 'fsfeel@gmail.com',
url = 'https://github.com/fillest/sapyens',
packa... | import setuptools
requires = [
]
setuptools.setup(
name = 'sapyens',
version = '0.1.7',
description = 'SQLAlchemy & Pyramid enhancements',
long_description = 'SQLAlchemy & Pyramid enhancements',
author = 'Philipp Saveliev',
author_email = 'fsfeel@gmail.com',
url = 'https://github.com/fillest/sapyens',
packa... | apache-2.0 | Python |
cd189fcf818fad7a6f32887b40f7f13c6870adb1 | Implement special case "-" for reading from stdin and writing to stdout | executablebooks/mdformat | mdformat/_cli.py | mdformat/_cli.py | import argparse
import os
import sys
from typing import Sequence
from markdown_it import MarkdownIt
from mdformat._renderer import RendererCmark
from mdformat._util import is_md_equal
def run(cli_args: Sequence[str]) -> int:
parser = argparse.ArgumentParser(
description="CommonMark compliant Markdown fo... | import argparse
from pathlib import Path
import sys
from typing import Sequence
from markdown_it import MarkdownIt
from mdformat._renderer import RendererCmark
from mdformat._util import is_md_equal
def run(cli_args: Sequence[str]) -> int:
parser = argparse.ArgumentParser(
description="CommonMark compli... | mit | Python |
7a6cb8fdea59492edc8a0256d3309ede38d4cde7 | Change version. | alexsilva/django-ldap-sync,alexsilva/django-ldap-sync | ldap_sync/__init__.py | ldap_sync/__init__.py | default_app_config = 'ldap_sync.apps.LdapSyncConfig'
__version_info__ = (2, 0, 0)
__version__ = '.'.join([str(v) for v in __version_info__])
| default_app_config = 'ldap_sync.apps.LdapSyncConfig'
__version_info__ = (1, 3, 1)
__version__ = '.'.join([str(v) for v in __version_info__])
| bsd-3-clause | Python |
1e0268031cb2f3fff178325a9bc9761f478357b5 | Tag 0.7.0 | ajhoddinott/vobject | setup.py | setup.py | """VObject: module for reading vCard and vCalendar files
Description
-----------
Parses iCalendar and vCard files into Python data structures, decoding the relevant encodings. Also serializes vobject data structures to iCalendar, vCard, or (expirementally) hCalendar unicode strings.
Requirements
------------... | """VObject: module for reading vCard and vCalendar files
Description
-----------
Parses iCalendar and vCard files into Python data structures, decoding the relevant encodings. Also serializes vobject data structures to iCalendar, vCard, or (expirementally) hCalendar unicode strings.
Requirements
------------... | apache-2.0 | Python |
86523c6e0a965eb8e96497c3ab499fde0e98f1d6 | put css back | timothydmorton/qa_explorer,timothydmorton/qa_explorer | apps/qa-browser/main.py | apps/qa-browser/main.py | import numpy as np
import holoviews as hv
from bokeh.application.handlers import FunctionHandler
from bokeh.application import Application
from bokeh.io import show, curdoc
from bokeh.layouts import layout
from bokeh.models import Slider, Button, TextInput
import holoviews as hv
from explorer.static import filter_la... | import numpy as np
import holoviews as hv
from bokeh.application.handlers import FunctionHandler
from bokeh.application import Application
from bokeh.io import show, curdoc
from bokeh.layouts import layout
from bokeh.models import Slider, Button, TextInput
import holoviews as hv
from explorer.static import filter_la... | mit | Python |
29e804cdceb806285a5e6e2efe8144a6c174ebe1 | fix syntax error in setup.py | disqus/porkchop | setup.py | setup.py | #!/usr/bin/env python
import glob
from setuptools import setup, find_packages
version = '0.4'
setup(name='porkchop',
version=version,
description='Porkchop is a simple HTTP-based dictionary server',
long_description='Porkchop is a simple HTTP-based dictionary server',
classifiers=[],
keywords='',
author=... | #!/usr/bin/env python
import glob
from setuptools import setup, find_packages
version = '0.3'
setup(name='porkchop',
version=version,
description='Porkchop is a simple HTTP-based dictionary server',
long_description='Porkchop is a simple HTTP-based dictionary server',
classifiers=[],
keywords='',
author=... | apache-2.0 | Python |
857133125fe5a633f209887b1b739f6f82c80f43 | Update mininum story version required. | sophilabs/learnregex | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read()
setup(
name='learnregex',
version='0.4.2',
description='A pyschool story for lear... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read()
setup(
name='learnregex',
version='0.4.2',
description='A pyschool story for lear... | mit | Python |
092dacab7fc07afdc458146d7da03637b286e2e2 | Fix build tests, Compare sets instead of lists | chaudum/Cactus,chaudum/Cactus,Bluetide/Cactus,eudicots/Cactus,eudicots/Cactus,fjxhkj/Cactus,danielmorosan/Cactus,chaudum/Cactus,andyzsf/Cactus-,juvham/Cactus,dreadatour/Cactus,page-io/Cactus,gone/Cactus,danielmorosan/Cactus,koobs/Cactus,juvham/Cactus,koobs/Cactus,dreadatour/Cactus,PegasusWang/Cactus,PegasusWang/Cactus,... | tests/test_basic.py | tests/test_basic.py | import os
import shutil
import codecs
import unittest
from cactus import Site
from cactus.utils import fileList
TEST_PATH = '/tmp/www.testcactus.com'
def readFile(path):
f = codecs.open(path, 'r', 'utf8')
d = f.read()
f.close()
return d
def writeFile(path, data):
f = codecs.open(path, 'w', 'utf8')
f.write(da... | import os
import shutil
import codecs
import unittest
from cactus import Site
from cactus.utils import fileList
TEST_PATH = '/tmp/www.testcactus.com'
def readFile(path):
f = codecs.open(path, 'r', 'utf8')
d = f.read()
f.close()
return d
def writeFile(path, data):
f = codecs.open(path, 'w', 'utf8')
f.write(da... | bsd-3-clause | Python |
d35bcb2f868da9ef26041b39a273ac740501d963 | Fix setup.py description [skip ci] | nborrmann/jodel_api | setup.py | setup.py | from setuptools import setup, find_packages
import os
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
long_description = f.read()
setup(name='jodel_api',
version='1.1.2',
description='Unoffical Python Interface to the Jodel API',
long_description=long_description,
ur... | from setuptools import setup, find_packages
import os
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
long_description = f.read()
setup(name='jodel_api',
version='1.1.2',
description='Unoffical Python Interface to the Jodel API Edit',
long_description=long_description,
... | mit | Python |
922e5b17a6085e4f290db2f48f2716744a76c577 | bump version | kmike/russian-tagsets | setup.py | setup.py | #! /usr/bin/env python
from distutils.core import setup
__version__ = '0.3'
setup(
name="russian-tagsets",
version=__version__,
description="Russian tagset converters library",
long_description = open('README.rst').read(),
license = 'MIT license',
author='Mikhail Korobov',
author_email='km... | #! /usr/bin/env python
from distutils.core import setup
__version__ = '0.2'
setup(
name="russian-tagsets",
version=__version__,
description="Russian tagset converters library",
long_description = open('README.rst').read(),
license = 'MIT license',
author='Mikhail Korobov',
author_email='km... | mit | Python |
886254938707035bbf404206cf62eabd29f54bb4 | Add trove classifiers for additional Python support | uiri/toml,uiri/toml | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import toml
with open("README.rst") as readme_file:
readme_string = readme_file.read()
setup(
name="toml",
version=toml.__version__,
description="Python Library for Tom's Obvious, Minimal Language",
aut... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import toml
with open("README.rst") as readme_file:
readme_string = readme_file.read()
setup(
name="toml",
version=toml.__version__,
description="Python Library for Tom's Obvious, Minimal Language",
aut... | mit | Python |
c756ca624471cd1cdf67d1d1fe7168141d1e295a | Reorder import | cfournie/important | tests/test_check.py | tests/test_check.py | from important.parse import parse_requirements
from important.check import check_unused_requirements, \
frequency_count_imports, check_import_frequencies
from pip._vendor.packaging.specifiers import SpecifierSet
def test_unused_requirements(python_file_imports,
requirements_file_one_u... | from pip._vendor.packaging.specifiers import SpecifierSet
from important.parse import parse_requirements
from important.check import check_unused_requirements, \
frequency_count_imports, check_import_frequencies
def test_unused_requirements(python_file_imports,
requirements_file_one_u... | mit | Python |
b01d5c5371e22ec0906d8197e6cfb29e0cc8e543 | Increment rev for release. | chevah/pocket-lint,chevah/pocket-lint | setup.py | setup.py | #!/usr/bin/python
import subprocess
from distutils.core import setup
from distutils.command.sdist import sdist
class SignedSDistCommand(sdist):
"""Sign the source archive with a detached signature."""
description = "Sign the source archive after it is generated."
def run(self):
sdist.run(self)... | #!/usr/bin/python
import subprocess
from distutils.core import setup
from distutils.command.sdist import sdist
class SignedSDistCommand(sdist):
"""Sign the source archive with a detached signature."""
description = "Sign the source archive after it is generated."
def run(self):
sdist.run(self)... | mit | Python |
e5e2b270d7bdf1b8225405619908389319686146 | Test by verifying all demos | Dallinger/Dallinger,Dallinger/Dallinger,Dallinger/Dallinger,Dallinger/Dallinger,jcpeterson/Dallinger,jcpeterson/Dallinger,Dallinger/Dallinger,jcpeterson/Dallinger,jcpeterson/Dallinger,jcpeterson/Dallinger | tests/test_demos.py | tests/test_demos.py | import os
import subprocess
from dallinger import db
class TestDemos(object):
"""Verify all the built-in demos."""
def test_verify_all_demos(self):
demo_paths = os.listdir("demos")
for demo_path in demo_paths:
if os.path.isdir(demo_path):
os.chdir(demo_path)
... | import os
from dallinger import db
class TestBartlett1932(object):
"""Tests for the Bartlett1932 demo class"""
def _make_one(self):
from demos.bartlett1932.experiment import Bartlett1932
return Bartlett1932(self._db)
def setup(self):
self._db = db.init_db(drop_all=True)
#... | mit | Python |
c455ba3841058813ce7ea4348a579612a3d286f6 | Update version. | texastribune/the-dp,texastribune/the-dp,texastribune/the-dp,texastribune/the-dp | setup.py | setup.py | from setuptools import setup
setup(
name='tx_highered',
version='0.3.8.dev8',
description='Django app for Texas higher education data',
author='Texas Tribune',
author_email='tech@texastribune.org',
url='http://github.com/texastribune/tx_highered/',
license='Apache Software License',
ins... | from setuptools import setup
setup(
name='tx_highered',
version='0.3.8.dev7',
description='Django app for Texas higher education data',
author='Texas Tribune',
author_email='tech@texastribune.org',
url='http://github.com/texastribune/tx_highered/',
license='Apache Software License',
ins... | apache-2.0 | Python |
64b26ba9cab7d432d3e4185a8edb12f9257ab473 | Use README.rst as long description. | loicseguin/grades | setup.py | setup.py | # -*- coding: utf-8 -*-
from distutils.core import setup
setup(
name = 'grades',
packages = ['grades'],
scripts = ['bin/grades'],
version = '0.1',
description = 'Minimalist grades management for teachers.',
author = 'Loïc Séguin-C.',
author_email = 'loicseguin@gmail.com',
url = 'https:... | # -*- coding: utf-8 -*-
from distutils.core import setup
setup(
name = 'grades',
packages = ['grades'],
scripts = ['bin/grades'],
version = '0.1',
description = 'Minimalist grades management for teachers.',
author = 'Loïc Séguin-C.',
author_email = 'loicseguin@gmail.com',
url = 'https:... | bsd-3-clause | Python |
3437c967294ed374494491136ff6671d98a465c0 | enhance oyroma | buildout/wheel,buildout/wheel,leorochael/buildout.wheel,buildout/buildout.wheel,buildout/buildout.wheel,leorochael/buildout.wheel | setup.py | setup.py | name = 'buildout.wheel'
version = '0'
install_requires = [
'zc.buildout >=2.8', 'setuptools', 'wheel', 'humpty', 'six']
extras_require = dict(test=[])
entry_points = """
[zc.buildout.extension]
wheel = buildout.wheel:load
"""
from setuptools import setup
long_description = open('README.rst').read() + '\n' + ope... | name = 'buildout.wheel'
version = '0'
install_requires = [
'zc.buildout >=2.8', 'setuptools', 'wheel', 'humpty', 'six']
extras_require = dict(test=[])
entry_points = """
[zc.buildout.extension]
wheel = buildout.wheel:load
"""
from setuptools import setup
long_description = open('README.rst').read() + '\n' + ope... | mit | Python |
1d7048a4fa6c643ff1ae51b39eea8119033005ff | exclude tests | bkeroack/elita,bkeroack/elita,bkeroack/elita | setup.py | setup.py | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
requires = [
'pyramid',
'gunicorn',
'gevent',
'unittest2',
'pymongo',
'celery... | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
requires = [
'pyramid',
'gunicorn',
'gevent',
'unittest2',
'pymongo',
'celery... | apache-2.0 | Python |
398a6e50ffd713858a6606b5a7adec624a34b92e | bump version for pypi | hips/autograd,hips/autograd,HIPS/autograd,HIPS/autograd | setup.py | setup.py | from setuptools import setup
setup(
name='autograd',
version='1.1.9',
description='Efficiently computes derivatives of numpy code.',
author='Dougal Maclaurin and David Duvenaud and Matthew Johnson',
author_email="maclaurin@physics.harvard.edu, duvenaud@cs.toronto.edu, mattjj@csail.mit.edu",
pac... | from setuptools import setup
setup(
name='autograd',
version='1.1.8',
description='Efficiently computes derivatives of numpy code.',
author='Dougal Maclaurin and David Duvenaud and Matthew Johnson',
author_email="maclaurin@physics.harvard.edu, duvenaud@cs.toronto.edu, mattjj@csail.mit.edu",
pac... | mit | Python |
86ab59ac28b72ad8b87362bb33e9d044633598f2 | fix pre-init-hook for pos_account_wallet_coupon | acsone/acsone-addons,acsone/acsone-addons,acsone/acsone-addons | pos_account_wallet_coupon/hooks.py | pos_account_wallet_coupon/hooks.py | # Copyright 2021 ACSONE SA/NV (<http://acsone.eu>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openupgradelib import openupgrade
from odoo import api, SUPERUSER_ID
def _migrate_columns(env):
"""
This is intended solely if former module was installed.
"""
query = """
... | # Copyright 2021 ACSONE SA/NV (<http://acsone.eu>)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from openupgradelib import openupgrade
from odoo import api, SUPERUSER_ID
def _migrate_columns(env):
"""
This is intended solely if former module was installed.
"""
query = """
... | agpl-3.0 | Python |
e5ed110d654813699fc68c2dbb9693686f36f799 | fix latex test | weihautin/anki,go38/anki,hssm/anki,abeyer/anki,jakesyl/ruby-card,jkitching/anki,jakesyl/ruby-card,xuewenfei/anki,subfusc/anki,florianjacob/anki,Arthaey/anki,weihautin/anki,hssm/anki,Stvad/anki,eduOS/anki,holycrepe/anki,LucasCabello/anki,socialpercon/anki-1,kenjhim/anki,ospalh/libanki3,sunclx/anki | tests/test_latex.py | tests/test_latex.py | # coding: utf-8
import os
from tests.shared import getEmptyDeck
from anki.utils import stripHTML
def test_latex():
d = getEmptyDeck()
# change latex cmd to simulate broken build
import anki.latex
anki.latex.latexCmds[0][0] = "nolatex"
# add a note with latex
f = d.newNote()
f['Front'] = u... | # coding: utf-8
import os
from tests.shared import getEmptyDeck
from anki.utils import stripHTML
def test_latex():
d = getEmptyDeck()
# change latex cmd to simulate broken build
import anki.latex
anki.latex.latexCmd[0] = "nolatex"
# add a note with latex
f = d.newNote()
f['Front'] = u"[la... | agpl-3.0 | Python |
871eabd71686d098c5bef90404f0d68db9b5fe39 | comment depends on pos_restaurant_base | houssine78/addons,houssine78/addons,houssine78/addons | pos_printer_network/__openerp__.py | pos_printer_network/__openerp__.py | # -*- coding: utf-8 -*-
{
"name": """POS Network Printer""",
"summary": """The time has come. Print POS orders and receipts by using network printers""",
"category": "Point of Sale",
"images": ['images/pos_printer_network_main.png'],
"version": "2.0.0",
"application": False,
"author": "IT-P... | # -*- coding: utf-8 -*-
{
"name": """POS Network Printer""",
"summary": """The time has come. Print POS orders and receipts by using network printers""",
"category": "Point of Sale",
"images": ['images/pos_printer_network_main.png'],
"version": "2.0.0",
"application": False,
"author": "IT-P... | agpl-3.0 | Python |
3a2b8778726801f7aa12bdafe06a45647f52a313 | fix sort by max find last page | Duke-GCB/TF-DNA-PredictionsDB,Duke-GCB/iMADS,Duke-GCB/TF-DNA-PredictionsDB,Duke-GCB/TF-DNA-PredictionsDB,Duke-GCB/iMADS,Duke-GCB/iMADS,Duke-GCB/iMADS,Duke-GCB/TF-DNA-PredictionsDB | pred/queries/maxpredictionquery.py | pred/queries/maxpredictionquery.py | from pred.queries.querybuilder import QueryBuilder
from pred.queries.predictionqueryparts import *
class MaxPredictionQuery(object):
def __init__(self, schema, gene_list, model_name, upstream, downstream, guess="", limit="", offset="", count=False):
self.schema = schema
self.gene_list = gene_list
... | from pred.queries.querybuilder import QueryBuilder
from pred.queries.predictionqueryparts import *
class MaxPredictionQuery(object):
def __init__(self, schema, gene_list, model_name, upstream, downstream, guess="", limit="", offset="", count=False):
self.schema = schema
self.gene_list = gene_list
... | mit | Python |
1143608e8d372bd8bece2525d5b1b3ff0936cfa9 | Fix parsetab installation. | serge-sans-paille/pythran,pbrunet/pythran,hainm/pythran,pombredanne/pythran,hainm/pythran,pbrunet/pythran,artas360/pythran,hainm/pythran,pbrunet/pythran,serge-sans-paille/pythran,pombredanne/pythran,artas360/pythran,pombredanne/pythran,artas360/pythran | setup.py | setup.py | from distutils.core import setup, Command
from distutils.command.build import build
from unittest import TextTestRunner, TestLoader
import os
class build_with_ply(build):
'''Use ply to generate parsetab before building module.'''
def run(self, *args, **kwargs):
if not self.dry_run:
from ... | from distutils.core import setup, Command
from distutils.command.build import build
from unittest import TextTestRunner, TestLoader
import os
class build_with_ply(build):
'''Use ply to generate parsetab before building module.'''
def run(self, *args, **kwargs):
if not self.dry_run:
from ... | bsd-3-clause | Python |
c1a198ffc310a3b63cfd96e52169f7f2fead135b | fix setup.py | PyThaiNLP/pythainlp | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import find_packages
import codecs
import sys
from distutils.core import setup
if sys.version_info < (3,):
package_dir = {'': 'src2'}
else:
package_dir = {'': 'src3'}
with codecs.open('README.rst','r',encoding='utf-8') as readme_file:
readme = readme_file.read(... | # -*- coding: utf-8 -*-
from setuptools import setup
from setuptools import find_packages
import sys
import codecs
with codecs.open('README.rst','r',encoding='utf-8') as readme_file:
readme = readme_file.read()
requirements = [
'pyicu>=1.9.3',
'nltk>=3.2.2',
'future>=0.16.0',
'nine',
'six',
... | apache-2.0 | Python |
ddfba6bab27b489a888009c3d0c26b0fe5bb8430 | Remove PyYAML from requirements. | foliant-docs/foliant | setup.py | setup.py | from setuptools import setup, find_packages
import foliant
def readme():
try:
with open("README.rst", encoding="utf8") as f:
return f.read()
except IOError:
pass
setup(
name="foliant",
version=foliant.__version__,
url="https://github.com/foliant-docs/foliant",
dow... | from setuptools import setup, find_packages
import foliant
def readme():
try:
with open("README.rst", encoding="utf8") as f:
return f.read()
except IOError:
pass
setup(
name="foliant",
version=foliant.__version__,
url="https://github.com/foliant-docs/foliant",
dow... | mit | Python |
632e0c4fdc8a2ea11e6bb4bb39a148061c26aaa1 | fix rawes version | qedsoftware/commcare-hq,qedsoftware/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,qedsoftware/commcare-hq,qedsoftware/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,qedsoftware/commcare-hq | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='pillowtop',
version='0.1.0',
description='A couchdbkit changes listener for doing backend processing',
author='Dimagi',
author_email='dev@dimagi.com',
url='http://www.dimagi.com/',
packages = find_packages(exclu... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='pillowtop',
version='0.1.0',
description='A couchdbkit changes listener for doing backend processing',
author='Dimagi',
author_email='dev@dimagi.com',
url='http://www.dimagi.com/',
packages = find_packages(exclu... | bsd-3-clause | Python |
37e26675a0f39848aa019a8ad288cc80dfac07a7 | fix typo bug in setup.py | emencia/dr-dump | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='dr-dump',
version=__import__('drdump').__version__,
description=__import__('drdump').__doc__,
long_description=open('README.rst').read()+ "\n" +
open("CHANGELOG.rst").read(),
author='David Thenon',
author_email='dthen... | from setuptools import setup, find_packages
setup(
name='dr-dump',
version=__import__('drdump').__version__,
description=__import__('drdump').__doc__,
long_description=open('README.rst').read()+ "\n" +
open("CHANGELOG.rst").read()
author='David Thenon',
author_email='dtheno... | mit | Python |
b3bbd326bdbcab04f7eec04dae20e74c1713942b | Add some links | mattupstate/flask-stache | setup.py | setup.py | """
Flask-Stache
------------
Simple mustache templating for Flask applications
Links
`````
* `documentation <http://packages.python.org/Flask-Stache/>`_
* `source <https://github.com/mattupstate/flask-stache>`_
* `development version
<https://github.com/mattupstate/flask-stache/raw/develop#egg=Flask-Stache-dev>`_... | """
Flask-Stache
------------
Simple mustache templating for Flask applications
Links
`````
* `development version
<https://github.com/mattupstate/flask-stache/raw/develop#egg=Flask-Stache-dev>`_
"""
from setuptools import setup
setup(
name='Flask-Stache',
version='0.1.1',
url='https://github.com/ma... | mit | Python |
6b909080ac5a61cc3bca2029717dde5e37e8e993 | Change version number. | mayfield/syndicate | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='syndicate',
version='0.99.0',
description='A wrapper for REST APIs',
author='Justin Mayfield',
author_email='tooker@gmail.com',
license='LICENSE',
long_description=open('README.md').read(),
packages=find_pac... | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='syndicate',
version='0.991',
description='A wrapper for REST APIs',
author='Justin Mayfield',
author_email='tooker@gmail.com',
license='LICENSE',
long_description=open('README.md').read(),
packages=find_pack... | mit | Python |
c37bde09114653a60b5d76c7812582fa9b516d58 | Bump up the version for setup.py | f00f-nyc/cityhall-python | setup.py | setup.py | from distutils.core import setup
setup(
name = 'cityhall',
packages = ['cityhall'], # this must be the same as the name above
version = '0.0.5',
description = 'A library for accessing City Hall Setting Server',
author = 'Alex Popa',
author_email = 'alexpopa@digitalborderlands.com',
url = 'https://github.c... | from distutils.core import setup
setup(
name = 'cityhall',
packages = ['cityhall'], # this must be the same as the name above
version = '0.0.3',
description = 'A library for accessing City Hall Setting Server',
author = 'Alex Popa',
author_email = 'alexpopa@digitalborderlands.com',
url = 'https://github.c... | agpl-3.0 | Python |
7a31cebb2fd2024be376b3c89395d69957ac4799 | complete renaming of encode to embed. | bird-house/birdy | tests/test_utils.py | tests/test_utils.py | from birdy import utils
from .common import resource_file
import six
from pathlib import Path
def test_is_url():
assert utils.is_url("http://localhost:5000/wps")
assert utils.is_url("file:///path/to/my/file.txt")
assert not utils.is_url("myfile.txt")
def test_sanitize():
assert utils.sanitize('outpu... | from birdy import utils
from .common import resource_file
import six
from pathlib import Path
def test_is_url():
assert utils.is_url("http://localhost:5000/wps")
assert utils.is_url("file:///path/to/my/file.txt")
assert not utils.is_url("myfile.txt")
def test_sanitize():
assert utils.sanitize('outpu... | apache-2.0 | Python |
878e8873658fd4b3fd85ea038bd63f96a2894fe3 | bump version to 0.2.4 | twosigma/beakerx,twosigma/beaker-notebook,twosigma/beakerx,jpallas/beakerx,jpallas/beakerx,twosigma/beaker-notebook,twosigma/beakerx,twosigma/beakerx,jpallas/beakerx,jpallas/beakerx,twosigma/beaker-notebook,twosigma/beakerx,jpallas/beakerx,twosigma/beakerx,twosigma/beaker-notebook,twosigma/beaker-notebook,jpallas/beake... | beakerx/beakerx/_version.py | beakerx/beakerx/_version.py | version_info = (0, 2, 4, 'dev')
__version__ = '.'.join(map(str, version_info))
| version_info = (0, 2, 3, 'dev')
__version__ = '.'.join(map(str, version_info))
| apache-2.0 | Python |
01cbc20fab4f96edd05504c16f404f89f1895b56 | Bump revision | F-Secure/see | setup.py | setup.py | # Copyright 2015-2017 F-Secure
# 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-2017 F-Secure
# 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, ... | apache-2.0 | Python |
1b749f3c7464d5c976dd55ac1ac592a8aba6d8ff | update psqlgraph dependency [2999] | NCI-GDC/gdcdatamodel,NCI-GDC/gdcdatamodel | setup.py | setup.py | ]from setuptools import setup, find_packages
setup(
name='gdcdatamodel',
packages=find_packages(),
install_requires=[
'avro==1.7.7',
'graphviz==0.4.2',
'addict==0.2.7',
'psqlgraph',
],
package_data={
"gdcdatamodel": [
"*.avsc",
"avro/s... | ]from setuptools import setup, find_packages
setup(
name='gdcdatamodel',
packages=find_packages(),
install_requires=[
'avro==1.7.7',
'graphviz==0.4.2',
'addict==0.2.7',
'psqlgraph',
],
package_data={
"gdcdatamodel": [
"*.avsc",
"avro/s... | apache-2.0 | Python |
770abf970b6861dc95a18abaeb96e775a9deb843 | Copy carray.cuh on installation | jnishi/chainer,ktnyt/chainer,sinhrks/chainer,kashif/chainer,ysekky/chainer,hvy/chainer,benob/chainer,kikusu/chainer,muupan/chainer,umitanuki/chainer,ytoyama/yans_chainer_hackathon,cupy/cupy,cupy/cupy,ktnyt/chainer,cemoody/chainer,keisuke-umezawa/chainer,jnishi/chainer,minhpqn/chainer,delta2323/chainer,AlpacaDB/chainer,... | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
name='chainer',
version='1.1.1',
description='A flexible framework of neural networks',
author='Seiya Tokui',
author_email='tokui@preferred.jp',
url='http://chainer.org/',
packages=['chainer',
'chainer.cudnn',
... | #!/usr/bin/env python
from setuptools import setup
setup(
name='chainer',
version='1.1.1',
description='A flexible framework of neural networks',
author='Seiya Tokui',
author_email='tokui@preferred.jp',
url='http://chainer.org/',
packages=['chainer',
'chainer.cudnn',
... | mit | Python |
2e1b861fcdedc6e77e80c5d53fe19ccd0a180e29 | Update __init__.py | mfem/PyMFEM,mfem/PyMFEM,mfem/PyMFEM | mfem/__init__.py | mfem/__init__.py | import os
path = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
mfem_mode = None
pymfem_debug = -1
def debug_print(message):
if pymfem_debug < 0: # debug < 0
return
elif pymfem_debug == 0: # debug = 0
pass
elif pymfem_debug > 0: # debug = 1
pass
elif pymfem... | import os
path = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
mfem_mode = None
pymfem_debug = -1
def debug_print(message):
if pymfem_debug < 0: # debug < 0
return
elif pymfem_debug == 0: # debug = 0
pass
elif pymfem_debug > 0: # debug = 1
pass
elif pymfem... | bsd-3-clause | Python |
0922c8d06264f02f9b8de59e3546e499c8599326 | Change id_lvrs_internt to string. Test if there's only one created | gems-uff/labsys,gems-uff/labsys,gems-uff/labsys | tests/test_views.py | tests/test_views.py | import unittest
from flask import current_app, url_for, get_flashed_messages
from app import create_app, db
from app.models import *
class TestCreateAdmissionView(unittest.TestCase):
def setUp(self):
self.app = create_app('testing')
self.app_context = self.app.app_context()
self.app_contex... | import unittest
from flask import current_app, url_for, get_flashed_messages
from app import create_app, db
from app.models import *
class TestCreateAdmissionView(unittest.TestCase):
def setUp(self):
self.app = create_app('testing')
self.app_context = self.app.app_context()
self.app_contex... | mit | Python |
075ee0281d6575932b3f9909db84569bfb147939 | update setup.py with the licence field | NoodleEducation/django-datetime-widget,asaglimbeni/django-datetime-widget,NoodleEducation/django-datetime-widget,asaglimbeni/django-datetime-widget,NoodleEducation/django-datetime-widget,asaglimbeni/django-datetime-widget | setup.py | setup.py | __author__ = 'Alfredo Saglimbeni'
from distutils.core import setup
from setuptools import setup, find_packages
setup(name = "django-datetime-widget",
version = "0.9.1",
description = "Django-datetime-widget is a simple and clean widget for DateField, Timefiled and DateTimeField in Django framework. It is bas... | __author__ = 'Alfredo Saglimbeni'
from distutils.core import setup
from setuptools import setup, find_packages
setup(name = "django-datetime-widget",
version = "0.9.1",
description = "Django-datetime-widget is a simple and clean widget for DateField, Timefiled and DateTimeField in Django framework. It is bas... | bsd-3-clause | Python |
fa5525d0ae4a536f91314ee521f8f7079ea938b2 | Rename add_font invalid tests | sacherjj/simple_zpl2 | tests/test_zpl_a.py | tests/test_zpl_a.py | import pytest
from simple_zpl2 import ZPLDocument
@pytest.mark.parametrize("value", ("A", "Y", "3"))
def test_add_font(value):
zdoc = ZPLDocument()
zdoc.add_font(value)
assert zdoc.zpl_bytes == b"^XA\n^A" + value.encode("utf-8") + b"\n^XZ"
@pytest.mark.parametrize("value", ("a", "", None, 73))
def test_... | import pytest
from simple_zpl2 import ZPLDocument
@pytest.mark.parametrize("value", ("A", "Y", "3"))
def test_add_font(value):
zdoc = ZPLDocument()
zdoc.add_font(value)
assert zdoc.zpl_bytes == b"^XA\n^A" + value.encode("utf-8") + b"\n^XZ"
@pytest.mark.parametrize("value", ("a", "", None, 73))
def test_... | mit | Python |
2f8d9926f004d63c7a5f919595f5bbf367582799 | increase number | gojefferson/hubbypy | setup.py | setup.py | import os.path
import setuptools
root_dir = os.path.abspath(os.path.dirname(__file__))
description = "A Python wrapper for the HubSpot contacts and contact properties API"
with open(os.path.join(root_dir, 'README.md')) as f:
long_description = f.read()
setuptools.setup(
name='hubbypy',
version='0.1.8',... | import os.path
import setuptools
root_dir = os.path.abspath(os.path.dirname(__file__))
description = "A Python wrapper for the HubSpot contacts and contact properties API"
with open(os.path.join(root_dir, 'README.md')) as f:
long_description = f.read()
setuptools.setup(
name='hubbypy',
version='0.1.7',... | bsd-3-clause | Python |
04534c096900ab09dda4caab5a4d5d6f00a340cb | Exclude any future tests sub-packages from build. | open-contracting/ocds-merge | setup.py | setup.py | from setuptools import setup, find_packages
with open('README.rst') as f:
long_description = f.read()
setup(
name='ocdsmerge',
version='0.5.6',
author='Open Contracting Partnership',
author_email='data@open-contracting.org',
url='https://github.com/open-contracting/ocds-merge',
description... | from setuptools import setup, find_packages
with open('README.rst') as f:
long_description = f.read()
setup(
name='ocdsmerge',
version='0.5.6',
author='Open Contracting Partnership',
author_email='data@open-contracting.org',
url='https://github.com/open-contracting/ocds-merge',
description... | bsd-3-clause | Python |
218248401a5bd74d3e5fcf94388e34b508d4fc01 | Improve docstring | dchabot/bluesky,klauer/bluesky,sameera2004/bluesky,ericdill/bluesky,ericdill/bluesky,dchabot/bluesky,klauer/bluesky,sameera2004/bluesky | bluesky/callbacks.py | bluesky/callbacks.py | """
Useful callbacks for the Run Engine
"""
from itertools import count
class CallbackCounter:
"As simple as it sounds: count how many times a callback is called."
# Wrap itertools.count in something we can use as a callback.
def __init__(self):
self.counter = count()
self(None) # Start c... | """
Useful callbacks for the Run Engine
"""
from itertools import count
class CallbackCounter:
"As simple as it sounds: count how many times a callback is called."
# Wrap itertools.count in something we can use as a callback.
def __init__(self):
self.counter = count()
self(None) # Start c... | bsd-3-clause | Python |
c15dc677f7942e2c1b4c6bd589c2eed9d67a9927 | add namespace for MUC owner to ns.py | Ziemin/telepathy-gabble,Ziemin/telepathy-gabble,community-ssu/telepathy-gabble,community-ssu/telepathy-gabble,jku/telepathy-gabble,jku/telepathy-gabble,mlundblad/telepathy-gabble,community-ssu/telepathy-gabble,mlundblad/telepathy-gabble,mlundblad/telepathy-gabble,Ziemin/telepathy-gabble,jku/telepathy-gabble,Ziemin/tele... | tests/twisted/ns.py | tests/twisted/ns.py | AMP = "http://jabber.org/protocol/amp"
DISCO_INFO = "http://jabber.org/protocol/disco#info"
DISCO_ITEMS = "http://jabber.org/protocol/disco#items"
MUC = 'http://jabber.org/protocol/muc'
MUC_OWNER = '%s#owner' % MUC
MUC_USER = '%s#user' % MUC
OLPC_ACTIVITIES = "http://laptop.org/xmpp/activities"
OLPC_ACTIVITIES_NOTIFY =... | AMP = "http://jabber.org/protocol/amp"
DISCO_INFO = "http://jabber.org/protocol/disco#info"
DISCO_ITEMS = "http://jabber.org/protocol/disco#items"
MUC = 'http://jabber.org/protocol/muc'
MUC_USER = '%s#user' % MUC
OLPC_ACTIVITIES = "http://laptop.org/xmpp/activities"
OLPC_ACTIVITIES_NOTIFY = "%s+notify" % OLPC_ACTIVITIE... | lgpl-2.1 | Python |
d9f934c46558607ad0e5be94db9a46890053d300 | Fix up setup.py for a release | flintwork/mccabe | setup.py | setup.py | # -*- coding: utf-8 -*-
from __future__ import with_statement
from setuptools import setup
def get_version(fname='mccabe.py'):
with open(fname) as f:
for line in f:
if line.startswith('__version__'):
return eval(line.split('=')[-1])
def get_long_description():
descr = []... | # -*- coding: utf-8 -*-
from __future__ import with_statement
from setuptools import setup
def get_version(fname='mccabe.py'):
with open(fname) as f:
for line in f:
if line.startswith('__version__'):
return eval(line.split('=')[-1])
def get_long_description():
descr = []... | mit | Python |
d7bfbf459210e5b92eb7108aea6bfd43239c9b3f | Fix base controller execution | rudineirk/faculdade_boiler,rudineirk/faculdade_boiler | boiler/controller.py | boiler/controller.py | __all__ = [
'WaterColumnController',
'WaterTempController',
]
KC_LEVEL = 1200.0
HREF = 1.5
WATER_CAPACITANCE = 50000000.0
KC_TEMP = 0.15 * WATER_CAPACITANCE
TREF = 50.0
class BaseController(object):
def __init__(self, conn, queue, kc, ref):
self.conn = conn
self._queue = queue
s... | __all__ = [
'WaterColumnController',
'WaterTempController',
]
KC_LEVEL = 1200.0
HREF = 1.5
WATER_CAPACITANCE = 50000000.0
KC_TEMP = 0.15 * WATER_CAPACITANCE
TREF = 50.0
class BaseController(object):
def __init__(self, conn, queue, kc, ref):
self.conn = conn
self._queue = queue
s... | mit | Python |
d281558192aff408f0593cf802ca570eaafbf007 | update setup.y | apdavison/hbp-validation-client,apdavison/hbp-validation-client,apdavison/hbp-validation-client,apdavison/hbp-validation-client | setup.py | setup.py | import os
from setuptools import setup
def package_files(base_dir, directory):
pwd = os.getcwd()
os.chdir(base_dir)
paths = []
for (path, directories, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join(path, filename))
os.chdir(pwd)
return... | import os
from setuptools import setup
def package_files(base_dir, directory):
pwd = os.getcwd()
os.chdir(base_dir)
paths = []
for (path, directories, filenames) in os.walk(directory):
for filename in filenames:
paths.append(os.path.join(path, filename))
os.chdir(pwd)
return... | bsd-3-clause | Python |
ac757759f50f7b3b6df792f66647f9fb9f67a7a4 | bump version to 0.1.28 | joliveros/bitmex-websocket,joliveros/bitmex-websocket | setup.py | setup.py | from setuptools import setup
from bitmex_websocket.version import Version
from pip.req import parse_requirements
from pip.download import PipSession
from os.path import realpath
def get_reqs_from_file(file):
file_path = realpath(file)
# parse_requirements() returns generator of pip.req.InstallRequirement obj... | from setuptools import setup
from bitmex_websocket.version import Version
from pip.req import parse_requirements
from pip.download import PipSession
from os.path import realpath
def get_reqs_from_file(file):
file_path = realpath(file)
# parse_requirements() returns generator of pip.req.InstallRequirement obj... | mit | Python |
f8a867aef5af28f02351f51ca5e345dd754aae83 | Remove broken download URL | onedox/tap-awin | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(name='tap-awin',
version='0.0.1',
description='Singer.io tap for extracting data from the Affiliate Window API',
author='Onedox',
url='https://github.com/onedox/tap-awin',
classifiers=['Programming Language :: Python :: 3 :: Only']... | #!/usr/bin/env python
from setuptools import setup
setup(name='tap-awin',
version='0.0.1',
description='Singer.io tap for extracting data from the Affiliate Window API',
author='Onedox',
url='https://github.com/onedox/tap-awin',
download_url = 'https://github.com/onedox/tap-awin/archive/... | apache-2.0 | Python |
1be989fe4e48916020f159a57cb34f6a6aba5f6a | 修复同意key和删除key时,读取数据库失败 | yueyongyue/saltshaker,yueyongyue/saltshaker,yueyongyue/saltshaker | minions/views.py | minions/views.py | from django.shortcuts import render
from django.contrib.auth.decorators import login_required
from shaker.shaker_core import *
from shaker.nodegroups import *
from minions.models import Minions_status
from returner.models import Salt_grains
@login_required(login_url="/account/login/")
def minions_status(request):
... | from django.shortcuts import render
from django.contrib.auth.decorators import login_required
from shaker.shaker_core import *
from shaker.nodegroups import *
from minions.models import Minions_status
from returner.models import Salt_grains
@login_required(login_url="/account/login/")
def minions_status(request):
... | apache-2.0 | Python |
6752007377e57850f21553e1aa2b85ca64c6e769 | Make auth optional for allow any routes to work | pesabot/pesabot-py | pesabot/client.py | pesabot/client.py | import requests
from requests.auth import HTTPBasicAuth
BASE_URL = 'https://pesabot.com/api/v1/'
class Client(object):
def __init__(self, email, password):
self.auth = None
if email and password:
self.auth = HTTPBasicAuth(email, password)
def call(self, path, method='GET', payload... | import requests
from requests.auth import HTTPBasicAuth
BASE_URL = 'https://pesabot.com/api/v1/'
class Client(object):
def __init__(self, email, password):
self.auth = HTTPBasicAuth(email, password)
def call(self, path, method='GET', payload={}):
if method == 'POST':
res = request... | mit | Python |
7a0e2886701d20c786f1264b12878332f48224a6 | Mark the project stable | dmtucker/ogre | setup.py | setup.py | #!/usr/bin/env python3
# coding: utf-8
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
from setuptools import setup, find_packages
with open('README.rst') as readme_file:
README = readme_file.read()
setup(
name="OGR... | #!/usr/bin/env python3
# coding: utf-8
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
from setuptools import setup, find_packages
with open('README.rst') as readme_file:
README = readme_file.read()
setup(
name="OGR... | lgpl-2.1 | Python |
a429dffc14b1134599a77d82fbd45779d142573f | trim deps | plotly/dash,plotly/dash,plotly/dash,plotly/dash,plotly/dash | setup.py | setup.py | from setuptools import setup
exec (open('dash_renderer/version.py').read())
setup(
name='dash_renderer',
version=__version__,
author='Chris Parmer',
author_email='chris@plot.ly',
packages=['dash_renderer'],
include_package_data=True,
license='MIT',
description='Front-end component rend... | from setuptools import setup
exec (open('dash_renderer/version.py').read())
setup(
name='dash_renderer',
version=__version__,
author='Chris Parmer',
author_email='chris@plot.ly',
packages=['dash_renderer'],
include_package_data=True,
license='MIT',
description='Front-end component rend... | mit | Python |
461498409d8af4732cc09cbb1bb2aa54225d0965 | fix Python plugin example | hexhex/core,hexhex/core,hexhex/core,hexhex/core | testsuite/plugin.py | testsuite/plugin.py | import dlvhex
def multiply(a, b):
dlvhex.output((a.intValue() * b.intValue(), ));
def test(a, b, c):
dlvhex.output((a, a))
def fibonacci(val):
dlvhex.output((fibonacci_comp(val.intValue()), ))
def fibonacci_comp(val):
if val <= 2:
return val
else:
return fibonacci_comp(val - 1) + fibonacci_comp(val - 2)
... | import dlvhex
def multiply(a, b):
dlvhex.output((a.intValue() * b.intValue(), ));
def test(a, b, c):
dlvhex.output((a, a))
def fibonacci(val):
dlvhex.output((fibonacci_comp(val.intValue()), ))
def fibonacci_comp(val):
if val <= 2:
return val
else:
return fibonacci_comp(val - 1) + fibonacci_comp(val - 2)
... | lgpl-2.1 | Python |
d638b86ac54eee29191e72104ae2e5b6e2acf31f | Clean up | nkuttler/django-webmaster-verification,nkuttler/django-webmaster-verification | webmaster_verification/tests.py | webmaster_verification/tests.py | from django.core.urlresolvers import reverse
from django.test import TestCase
from django.test.client import Client
class WebmasterVerificationTest(TestCase):
def setUp(self):
self.client = Client()
def test_google_file_access(self):
url = '/googleffffffffffffffff.html'
r = self.client... | from django.core.urlresolvers import reverse
from django.test import TestCase
from django.test.client import Client
class WebmasterVerificationTest(TestCase):
def setUp(self):
self.client = Client()
def test_google_file_access(self):
url = '/googleffffffffffffffff.html'
r = self.client... | bsd-3-clause | Python |
dd8083ae4e7f116237e9224a253733b2e098630d | Fix installer setup.py to include package data | bolster/backbone-tastypie,PaulUithol/backbone-tastypie,PaulUithol/backbone-tastypie,bolster/backbone-tastypie,bolster/backbone-tastypie | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
import os
# taken from django-registration
# Compile the list of packages available, because distutils doesn't have
# an easy way to do this.
packages, data_files = [], []
root_dir = os.path.dirname(__file__)
if root_dir:
os.chdir(root_dir)
for dirpath, dirn... | #!/usr/bin/env python
from distutils.core import setup
setup(
name='Backbone-tastypie',
version='1.0',
description='A small conversion layer to make backbone.js and '
'django-tastypie work together happily.',
author='Paul Uithol',
author_email='paul.uithol@gmail.com',
url='https://githu... | mit | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.