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 |
|---|---|---|---|---|---|---|---|---|
0f0473f66150328f0fcd3413161335a1b3fde471 | Bump to v0.0.8 | nocarryr/python-dispatch | setup.py | setup.py | import sys
from setuptools import setup, find_packages
def convert_readme():
try:
import pypandoc
except ImportError:
return read_rst()
rst = pypandoc.convert_file('README.md', 'rst')
with open('README.rst', 'w') as f:
f.write(rst)
return rst
def read_rst():
try:
... | import sys
from setuptools import setup, find_packages
def convert_readme():
try:
import pypandoc
except ImportError:
return read_rst()
rst = pypandoc.convert_file('README.md', 'rst')
with open('README.rst', 'w') as f:
f.write(rst)
return rst
def read_rst():
try:
... | mit | Python |
e29be78b3ba4e847e19ed1d8b941ecdf49689e26 | Add PyPy to setup.py | reubano/pkutils,reubano/pkutils | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import (
absolute_import, division, print_function, with_statement,
unicode_literals)
import sys
import pkutils
from builtins import *
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
sys.dont_write_... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import (
absolute_import, division, print_function, with_statement,
unicode_literals)
import sys
import pkutils
from builtins import *
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
sys.dont_write_... | mit | Python |
25c2c36eca073c490c282d65bbd8d204a3cdc2ce | Bump mypy from 0.760 to 0.761 | sloria/ped,sloria/ped | setup.py | setup.py | import re
from setuptools import setup
EXTRAS_REQUIRE = {
"tests": ["pytest", "mock", "pytest-mock", "scripttest==1.3"],
"lint": [
"flake8==3.7.9",
"flake8-bugbear==19.8.0",
"mypy==0.761",
"pre-commit==1.20.0",
],
}
EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_RE... | import re
from setuptools import setup
EXTRAS_REQUIRE = {
"tests": ["pytest", "mock", "pytest-mock", "scripttest==1.3"],
"lint": [
"flake8==3.7.9",
"flake8-bugbear==19.8.0",
"mypy==0.760",
"pre-commit==1.20.0",
],
}
EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_RE... | mit | Python |
ee75302ffa9f2a668943239009768b91b2310974 | include required files in package | 42cc/pytracremote,42cc/pytracremote | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='pytracremote',
version='0.0.3',
description="Manager for multiple remote trac instances",
classifiers=[
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords='trac, s... | from setuptools import setup, find_packages
setup(
name='pytracremote',
version='0.0.2',
description="Manager for multiple remote trac instances",
classifiers=[
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords='trac, s... | bsd-2-clause | Python |
c60678ca5dc6d666ee775e6c29f86e12fc599385 | Bump to version 0.1.1 | alexmojaki/cheap_repr,alexmojaki/cheap_repr | setup.py | setup.py | from sys import version_info
from setuptools import setup
install_requires = ['qualname',
'future']
tests_require = []
if version_info[0] == 2:
tests_require += ['chainmap']
if version_info[:2] == (2, 6):
install_requires += ['importlib']
tests_require += ['ordereddict',
... | from sys import version_info
from setuptools import setup
install_requires = ['qualname',
'future']
tests_require = []
if version_info[0] == 2:
tests_require += ['chainmap']
if version_info[:2] == (2, 6):
install_requires += ['importlib']
tests_require += ['ordereddict',
... | mit | Python |
b6930b87a6007edab275b5c0f504f8248ca0775b | Put nose back into setup.py for now. | ijt/cmakelists_parsing | setup.py | setup.py | from setuptools import setup, find_packages
# Prevent "TypeError: 'NoneType' object is not callable" error
# when running python setup.py test
# (see http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)
try:
import multiprocessing
except ImportError:
pass
setup(
name='cmakelists_parsing',
ve... | from setuptools import setup, find_packages
# Prevent "TypeError: 'NoneType' object is not callable" error
# when running python setup.py test
# (see http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)
try:
import multiprocessing
except ImportError:
pass
setup(
name='cmakelists_parsing',
ve... | mit | Python |
b70549fe21ae9aa244b111a470a93e7707a0580d | Update setup.py | pmorissette/klink,pmorissette/klink,dfroger/klink,dfroger/klink | setup.py | setup.py | from setuptools import setup
from klink import __version__
setup(
name='klink',
version=__version__,
url='https://github.com/pmorissette/klink',
description='Klink is a simple and clean theme for creating Sphinx docs, inspired by jrnl',
license='MIT',
author='Philippe Morissette',
author_em... | from setuptools import setup
from klink import __version__
setup(
name='klink',
version=__version__,
url='https://github.com/pmorissette/klink',
license='MIT',
author='Philippe Morissette',
author_email='morissette.philippe@gmail.com',
packages=['klink']
)
| mit | Python |
74fbb125852486e76f625695e114691280b4cf35 | update setup | emCOMP/twinkle | setup.py | setup.py | # Largely borrowed from Jeff Knupp's excellent article
# http://www.jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/
#
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import io
import os
import sys
import twinkle
here = os.path.abspath(os... | # Largely borrowed from Jeff Knupp's excellent article
# http://www.jeffknupp.com/blog/2013/08/16/open-sourcing-a-python-project-the-right-way/
#
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import io
import os
import sys
import twinkle
here = os.path.abspath(os... | mit | Python |
5d325db39abecad165f86077af02b60b9eff9a23 | Change Cython to cython in setup.py | hnakamur/cygroonga | setup.py | setup.py | from distutils.core import setup
from distutils.extension import Extension
from Cython.Build import cythonize
setup(
name='cygroonga',
version='0.1.0',
ext_modules=cythonize([
Extension("cygroonga", ["cygroonga.pyx"],
libraries=["groonga"])
]),
install_requires=[
'cython... | from distutils.core import setup
from distutils.extension import Extension
from Cython.Build import cythonize
setup(
name='cygroonga',
version='0.1.0',
ext_modules=cythonize([
Extension("cygroonga", ["cygroonga.pyx"],
libraries=["groonga"])
]),
install_requires=[
'Cython... | apache-2.0 | Python |
a17bb33018b5f2c3b72e3bc9676c0288e2be8c1e | Rename package to kafka-dev-tools | evvers/kafka-dev-tools | setup.py | setup.py | import codecs
import os
from setuptools import setup, find_packages
HERE = os.path.abspath(os.path.dirname(__file__))
def read(*parts):
# intentionally *not* adding an encoding option to open, See:
# https://github.com/pypa/virtualenv/issues/201#issuecomment-3145690
return codecs.open(os.path.join(HER... | import codecs
import os
from setuptools import setup, find_packages
HERE = os.path.abspath(os.path.dirname(__file__))
def read(*parts):
# intentionally *not* adding an encoding option to open, See:
# https://github.com/pypa/virtualenv/issues/201#issuecomment-3145690
return codecs.open(os.path.join(HER... | apache-2.0 | Python |
5839828e2954c365d56b3d6a5536131c9ff6613b | make typing requirement less strict | ariebovenberg/snug,ariebovenberg/omgorm | setup.py | setup.py | import sys
import os.path
from setuptools import setup, find_packages
def read_local_file(fname):
path = os.path.join(os.path.dirname(__file__), fname)
with open(path, 'r') as rfile:
return rfile.read()
metadata = {}
exec(read_local_file('snug/__about__.py'), metadata)
readme = read_local_file('READ... | import sys
import os.path
from setuptools import setup, find_packages
def read_local_file(fname):
path = os.path.join(os.path.dirname(__file__), fname)
with open(path, 'r') as rfile:
return rfile.read()
metadata = {}
exec(read_local_file('snug/__about__.py'), metadata)
readme = read_local_file('READ... | mit | Python |
3878ad1733d70e1befb7b3ffa7785f09b7c70ad9 | add lxml to setup.py | radarsat1/cxxviz,radarsat1/cxxviz | 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.absp... | """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.absp... | apache-2.0 | Python |
a986e2e14090955c98bb0556c625fc2ec9498be1 | build executable eggs (for demos) | enthought/uchicago-pyanno | setup.py | setup.py | """pyanno package setup definition"""
from setuptools import setup, find_packages
setup(name = "pyanno",
version = "2.0dev",
packages = find_packages(),
package_data = {
'': ['*.txt', '*.rst', 'data/*'],
},
include_package_data = True,
install_requires ... | """pyanno package setup definition"""
from setuptools import setup, find_packages
setup(name = "pyanno",
version = "2.0dev",
packages = find_packages(),
package_data = {
'': ['*.txt', '*.rst', 'data/*'],
},
include_package_data = True,
install_requires ... | bsd-2-clause | Python |
fe5b499a54eff0ad588d96e08a414e99cda5d67c | Fix classifier is tuple rather than list | amatellanes/fixerio | setup.py | setup.py | import re
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('fixerio/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
if not version:
raise RuntimeError('Ca... | import re
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('fixerio/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
if not version:
raise RuntimeError('Ca... | mit | Python |
0661a298f53c0ed6f0de02bfe11d0d24aa0b0cb5 | Fix indentation | rackerlabs/txkazoo | setup.py | setup.py | from os.path import dirname, join
from setuptools import find_packages, setup
from setuptools.command.test import test as TestCommand
from sys import exit
package_name = "txkazoo"
def read(path):
with open(join(dirname(__file__), path)) as f:
return f.read()
import re
version_line = read("{0}/_version.py... | from os.path import dirname, join
from setuptools import find_packages, setup
from setuptools.command.test import test as TestCommand
from sys import exit
package_name = "txkazoo"
def read(path):
with open(join(dirname(__file__), path)) as f:
return f.read()
import re
version_line = read("{0}/_version.py... | apache-2.0 | Python |
38c62049be58ac330c52a679d4fdbeb2b4ee404a | Update dependency | globality-corp/microcosm-logging,globality-corp/microcosm-logging | setup.py | setup.py | #!/usr/bin/env python
from setuptools import find_packages, setup
project = "microcosm-logging"
version = "0.13.0"
setup(
name=project,
version=version,
description="Opinionated logging configuration",
author="Globality Engineering",
author_email="engineering@globality.com",
url="https://githu... | #!/usr/bin/env python
from setuptools import find_packages, setup
project = "microcosm-logging"
version = "0.13.0"
setup(
name=project,
version=version,
description="Opinionated logging configuration",
author="Globality Engineering",
author_email="engineering@globality.com",
url="https://githu... | apache-2.0 | Python |
6c9d0f04861e39b0a0a3a29d21130d9f059858e0 | Bump faker from 4.1.6 to 4.4.0 | marshmallow-code/marshmallow-jsonapi | setup.py | setup.py | import re
from setuptools import setup, find_packages
INSTALL_REQUIRES = ("marshmallow>=2.15.2",)
EXTRAS_REQUIRE = {
"tests": ["pytest", "mock", "faker==4.4.0", "Flask==1.1.2"],
"lint": ["flake8==3.8.3", "flake8-bugbear==20.1.4", "pre-commit~=2.0"],
}
EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_RE... | import re
from setuptools import setup, find_packages
INSTALL_REQUIRES = ("marshmallow>=2.15.2",)
EXTRAS_REQUIRE = {
"tests": ["pytest", "mock", "faker==4.1.6", "Flask==1.1.2"],
"lint": ["flake8==3.8.3", "flake8-bugbear==20.1.4", "pre-commit~=2.0"],
}
EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_RE... | mit | Python |
4a218d817077b085683e304798728a898236da0e | revert preventing normalization (#279) | googleapis/python-dialogflow,googleapis/python-dialogflow | setup.py | setup.py | # Copyright 2019 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | # Copyright 2019 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
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | apache-2.0 | Python |
dffec83d0d364caac91f83f31e8f0f87d1b7aca8 | Update setup config | gmr/rejected,gmr/rejected | setup.py | setup.py | from setuptools import setup
from rejected import __version__
import sys
classifiers = ['Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programm... | from setuptools import setup
from rejected import __version__
import sys
long_description = """\
Rejected is a RabbitMQ consumer framework and controller daemon that allows you
to focus on the development of the code that handles the messages and not the
code that facilitates the communication with RabbitMQ."""
class... | bsd-3-clause | Python |
b2a8c52011af119a92ebaca21b3a1e6d6a821734 | Bump version number | googlefonts/fontdiffenator,googlefonts/fontdiffenator | setup.py | setup.py | import sys
from setuptools import setup, find_packages, Command
from distutils import log
setup(
name='fontdiffenator',
version='0.9.13',
author="Google Fonts Project Authors",
description="Font regression tester for Google Fonts",
url="https://github.com/googlefonts/fontdiffenator",
license="A... | import sys
from setuptools import setup, find_packages, Command
from distutils import log
setup(
name='fontdiffenator',
version='0.9.12',
author="Google Fonts Project Authors",
description="Font regression tester for Google Fonts",
url="https://github.com/googlefonts/fontdiffenator",
license="A... | apache-2.0 | Python |
3f1ce6965829b579f3df807f53123f3e44cf74d8 | downgrade dependency to pybarcode 0.8b1 | gisce/bankbarcode | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='bankbarcode',
version='0.1.0',
packages=find_packages(),
url='https://github.com/gisce/bankbarcode',
license='GNU Affero General Public License v3',
author='GISCE-TI, S.L.',
author_email='devel@gisce.net',
... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='bankbarcode',
version='0.1.0',
packages=find_packages(),
url='https://github.com/gisce/bankbarcode',
license='GNU Affero General Public License v3',
author='GISCE-TI, S.L.',
author_email='devel@gisce.net',
... | agpl-3.0 | Python |
8d195056e49246472d1e7b807d455fc80ca9bb23 | Bump version | lambdalisue/maidenhair | setup.py | setup.py | # coding=utf-8
import sys
from setuptools import setup, find_packages
NAME = 'maidenhair'
VERSION = '0.2.2'
def read(filename):
import os
BASE_DIR = os.path.dirname(__file__)
filename = os.path.join(BASE_DIR, filename)
fi = open(filename, 'r')
return fi.read()
def readlist(filename):
rows = r... | # coding=utf-8
import sys
from setuptools import setup, find_packages
NAME = 'maidenhair'
VERSION = '0.2.1'
def read(filename):
import os
BASE_DIR = os.path.dirname(__file__)
filename = os.path.join(BASE_DIR, filename)
fi = open(filename, 'r')
return fi.read()
def readlist(filename):
rows = r... | mit | Python |
430082df55c0e3c1ec20d0a9724966824c42cc48 | Fix admin tests | brianjgeiger/osf.io,Johnetordoff/osf.io,brianjgeiger/osf.io,brianjgeiger/osf.io,adlius/osf.io,Johnetordoff/osf.io,adlius/osf.io,saradbowman/osf.io,baylee-d/osf.io,felliott/osf.io,mfraezz/osf.io,caseyrollins/osf.io,HalcyonChimera/osf.io,CenterForOpenScience/osf.io,adlius/osf.io,HalcyonChimera/osf.io,baylee-d/osf.io,fell... | admin_tests/spam/test_extras.py | admin_tests/spam/test_extras.py | import pytest
from nose import tools as nt
from admin.spam.templatetags import spam_extras
@pytest.mark.django_db
class TestReverseTags:
@pytest.fixture(autouse=True)
def override_urlconf(self, settings):
settings.ROOT_URLCONF = 'admin.base.urls'
def test_reverse_spam_detail(self):
res ... | from nose import tools as nt
from django.test import SimpleTestCase
from django.test.utils import override_settings
from admin.spam.templatetags import spam_extras
@override_settings(ROOT_URLCONF='admin.base.urls')
class TestReverseTags(SimpleTestCase):
def test_reverse_spam_detail(self):
res = spam_extr... | apache-2.0 | Python |
7b2adc66b409cdbaf1caa536e822dba452ffad52 | fix typo | VerstandInvictus/PatternsEmerge,VerstandInvictus/PatternsEmerge,VerstandInvictus/PatternsEmerge,VerstandInvictus/PatternsEmerge | backend/mdcore.py | backend/mdcore.py | import codecs
import config
import unidecode
from pyvirtualdisplay import Display
from time import sleep
from selenium import webdriver
user_agent = 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36' \
' (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36'
class mdLogger:
def __init__(self,... | import codecs
import config
import unidecode
from pyvirtualdisplay import Display
from time import sleep
from selenium import webdriver
user_agent = 'Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36' \
' (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36'
class mdLogger:
def __init__(self,... | mit | Python |
f319f8bb32d84661e875839933678ea9d106b97d | Increment version | mouadino/Shapely,jdmcbr/Shapely,abali96/Shapely,mouadino/Shapely,mindw/shapely,abali96/Shapely,jdmcbr/Shapely,mindw/shapely | setup.py | setup.py | from setuptools import setup, Extension
from sys import version_info
# Require ctypes egg only for Python < 2.5
install_requires = ['setuptools']
#if version_info[:2] < (2,5):
# install_requires.append('ctypes')
# Get text from README.txt
readme_text = file('README.txt', 'rb').read()
setup(name = 'Shapel... | from setuptools import setup, Extension
from sys import version_info
# Require ctypes egg only for Python < 2.5
install_requires = ['setuptools']
#if version_info[:2] < (2,5):
# install_requires.append('ctypes')
# Get text from README.txt
readme_text = file('README.txt', 'rb').read()
setup(name = 'Shapel... | bsd-3-clause | Python |
dedd16a01bb194dd3f6302117443ab3d98f63300 | fix links in setup.py | trac-hacks/tracdocs,trac-hacks/tracdocs,trac-hacks/tracdocs,mrjbq7/tracdocs,mrjbq7/tracdocs | setup.py | setup.py | #!/usr/bin/env python
import os.path
from setuptools import setup, find_packages
# Utility function to read the README file.
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = 'TracDocs',
version = '0.3',
description="A Trac plugin for RCS-backed documen... | #!/usr/bin/env python
import os.path
from setuptools import setup, find_packages
# Utility function to read the README file.
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = 'TracDocs',
version = '0.3',
description="A Trac plugin for RCS-backed documen... | bsd-2-clause | Python |
0ca7af6137fb3aa0fbee9d53e88578efad2a9dda | Annotate zilencer tests. | punchagan/zulip,christi3k/zulip,Galexrt/zulip,paxapy/zulip,peguin40/zulip,mohsenSy/zulip,KingxBanana/zulip,mohsenSy/zulip,Juanvulcano/zulip,sonali0901/zulip,zulip/zulip,niftynei/zulip,vaidap/zulip,krtkmj/zulip,andersk/zulip,Juanvulcano/zulip,Diptanshu8/zulip,dawran6/zulip,paxapy/zulip,vikas-parashar/zulip,dhcrzf/zulip,... | zilencer/tests.py | zilencer/tests.py | # -*- coding: utf-8 -*-
from __future__ import absolute_import
import ujson
from django.test import TestCase
class EndpointDiscoveryTest(TestCase):
def test_staging_user(self):
# type: () -> None
response = self.client.get("/api/v1/deployments/endpoints", {"email": "lfaraone@zulip.com"})
... | # -*- coding: utf-8 -*-
from __future__ import absolute_import
import ujson
from django.test import TestCase
class EndpointDiscoveryTest(TestCase):
def test_staging_user(self):
response = self.client.get("/api/v1/deployments/endpoints", {"email": "lfaraone@zulip.com"})
data = ujson.loads(response... | apache-2.0 | Python |
26d2e78ab9066378cc0416ad9e20e4195c015262 | Bump version! | 3DHubs/Ranch | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except ImportError:
long_description = 'Ranch does addressing in Python'
setup(
name='Ranch',
version='0.2.5',
description='Ranch does addressing in Python',
long... | #!/usr/bin/env python
from setuptools import setup
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except ImportError:
long_description = 'Ranch does addressing in Python'
setup(
name='Ranch',
version='0.2.4',
description='Ranch does addressing in Python',
long... | apache-2.0 | Python |
559237346226b344ab77ddccb3c5ff27b3046c1e | Update affineHacker: fixed some PEP8 warnings | JoseALermaIII/python-tutorials,JoseALermaIII/python-tutorials | books/CrackingCodesWithPython/Chapter15/affineHacker.py | books/CrackingCodesWithPython/Chapter15/affineHacker.py | # Affine Cipher Hacker
# https://www.nostarch.com/crackingcodes/ (BSD Licensed)
from books.CrackingCodesWithPython.pyperclip import copy
from books.CrackingCodesWithPython.Chapter14.affineCipher import decryptMessage, SYMBOLS, getKeyParts
from books.CrackingCodesWithPython.Chapter13.cryptomath import gcd
from books.Cr... | # Affine Cipher Hacker
# https://www.nostarch.com/crackingcodes/ (BSD Licensed)
from books.CrackingCodesWithPython.pyperclip import copy
from books.CrackingCodesWithPython.Chapter14.affineCipher import decryptMessage, SYMBOLS, getKeyParts
from books.CrackingCodesWithPython.Chapter13.cryptomath import gcd
from books.Cr... | mit | Python |
75cf51b1ec97b59140894c85070a6b9aa505e485 | Bump app version to 2017.11 | kernelci/kernelci-backend,kernelci/kernelci-backend | app/handlers/__init__.py | app/handlers/__init__.py | __version__ = "2017.11"
__versionfull__ = __version__
| __version__ = "2017.7.2"
__versionfull__ = __version__
| lgpl-2.1 | Python |
776bb3c48ebe0a649504b5efc42cc104e38ddace | add aiohttp_security aiohttp_session yarl to the setup.py | jettify/aiohttp_admin,jettify/aiohttp_admin,aio-libs/aiohttp_admin,jettify/aiohttp_admin,jettify/aiohttp_admin,aio-libs/aiohttp_admin,aio-libs/aiohttp_admin | setup.py | setup.py | import os
import re
import sys
from setuptools import setup, find_packages
PY_VER = sys.version_info
if not PY_VER >= (3, 5):
raise RuntimeError("aiohttp_admin doesn't support Python earlier than 3.5")
def read(f):
return open(os.path.join(os.path.dirname(__file__), f)).read().strip()
install_requires = ... | import os
import re
import sys
from setuptools import setup, find_packages
PY_VER = sys.version_info
if not PY_VER >= (3, 5):
raise RuntimeError("aiohttp_admin doesn't support Python earlier than 3.5")
def read(f):
return open(os.path.join(os.path.dirname(__file__), f)).read().strip()
install_requires = ... | apache-2.0 | Python |
953910dc440655c9c7b4d6691e66d0ef5285823a | bump release number in setup.py to reflect changes | grundleborg/nre-darwin-py,robert-b-clarke/nre-darwin-py | setup.py | setup.py | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='nre-darwin-py',
version='0.1.1',
... | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='nre-darwin-py',
version='0.1.0',
... | bsd-3-clause | Python |
a682afa453a592609bf39464abc3f4b91f599822 | Improve setup.py. | benspaulding/django-basic-extras | setup.py | setup.py | # -*- coding: utf-8 -*-
import os
from distutils.core import setup
here = os.path.dirname(__file__)
def get_long_desc():
return open(os.path.join(here, 'README.rst')).read()
# Function borrowed from carljm.
def get_version():
fh = open(os.path.join(here, 'basic_extras', '__init__.py'))
try:
... | # -*- coding: utf-8 -*-
from distutils.core import setup
version = __import__('basic_extras').__version__
setup(
name='django-basic-extras',
version=version,
description='A small collection of some oft-used Django bits.',
url='https://github.com/benspaulding/django-basic-extras/',
author='Ben Sp... | bsd-3-clause | Python |
531e13afcef1c80f36dcb18b08edb12c2b784e42 | Add flake8 to the dev setup. | nens/colormaps | setup.py | setup.py | from setuptools import setup
version = '1.8.3.dev0'
long_description = '\n\n'.join([
open('README.rst').read(),
open('CREDITS.rst').read(),
open('CHANGES.rst').read(),
])
install_requires = [
'numpy',
],
tests_require = [
'flake8',
'pytest',
'pytest-cov',
]
setup(name='color... | from setuptools import setup
version = '1.8.3.dev0'
long_description = '\n\n'.join([
open('README.rst').read(),
open('CREDITS.rst').read(),
open('CHANGES.rst').read(),
])
install_requires = [
'numpy',
],
tests_require = [
'pytest',
'pytest-cov',
]
setup(name='colormaps',
v... | mit | Python |
9c7aedc3b29d823d79409c5246290362a3c7ffdc | Add some instructions for downloading the requirements | amueller/word_cloud | examples/arabic.py | examples/arabic.py | #!/usr/bin/env python
"""
Create wordcloud with Arabic
===============
Generating a wordcloud from Arabic text
Dependencies:
- bidi.algorithm
- arabic_reshaper
Dependencies installation:
pip install python-bidi arabic_reshape
"""
from os import path
import codecs
from wordcloud import WordCloud
import arabic_reshape... | #!/usr/bin/env python
"""
Create wordcloud with Arabic
===============
Generating a wordcloud from Arabic text
Other dependencies: bidi.algorithm, arabic_reshaper
"""
from os import path
import codecs
from wordcloud import WordCloud
import arabic_reshaper
from bidi.algorithm import get_display
d = path.dirname(__file... | mit | Python |
cca6d26c7eaa512ec70d9128826eb72b3679d786 | Use with. | regebro/tzlocal | setup.py | setup.py | from setuptools import setup, find_packages
from io import open
version = '2.0.0.dev0'
with open("README.rst", 'rt', encoding='UTF-8') as file:
long_description = file.read() + '\n\n'
with open("CHANGES.txt", 'rt', encoding='UTF-8') as file:
long_description += file.read()
setup(name='tzlocal',
versi... | from setuptools import setup, find_packages
version = '2.0.0.dev0'
long_description = open('README.rst', 'rt').read() + '\n\n' + open('CHANGES.txt', 'rt').read()
setup(name='tzlocal',
version=version,
description="tzinfo object for the local timezone",
long_description=long_description,
clas... | mit | Python |
1087151dee96d4b5dce8ca65ebcd1ea4abd8206c | Update nixio minimum version | rgerkin/python-neo,samuelgarcia/python-neo,apdavison/python-neo,JuliaSprenger/python-neo,INM-6/python-neo,NeuralEnsemble/python-neo | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import os
long_description = open("README.rst").read()
install_requires = ['numpy>=1.7.1',
'quantities>=0.9.0']
extras_require = {
'hdf5io': ['h5py'],
'igorproio': ['igor'],
'kwikio': ['scipy', 'klusta'],
'n... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import os
long_description = open("README.rst").read()
install_requires = ['numpy>=1.7.1',
'quantities>=0.9.0']
extras_require = {
'hdf5io': ['h5py'],
'igorproio': ['igor'],
'kwikio': ['scipy', 'klusta'],
'n... | bsd-3-clause | Python |
a3f376531b9fcf2ad6bf6c58907b61718378a944 | Update my email address. | jameswhite/1pass,armooo/1pass,jameswhite/1pass,armooo/1pass,jaxzin/1pass,RazerM/1pass,georgebrock/1pass,jaxzin/1pass,georgebrock/1pass,jemmyw/1pass,RazerM/1pass | setup.py | setup.py | import os
from setuptools import setup
VERSION = "0.1.8"
def readme():
""" Load the contents of the README file """
readme_path = os.path.join(os.path.dirname(__file__), "README.txt")
with open(readme_path, "r") as f:
return f.read()
setup(
name="1pass",
version=VERSION,
author="Geo... | import os
from setuptools import setup
VERSION = "0.1.8"
def readme():
""" Load the contents of the README file """
readme_path = os.path.join(os.path.dirname(__file__), "README.txt")
with open(readme_path, "r") as f:
return f.read()
setup(
name="1pass",
version=VERSION,
author="Geo... | mit | Python |
400edd52dd0ec45cc20d03c67cc8619342d51990 | bump version | miRTop/mirtop,miRTop/mirtop | setup.py | setup.py | """small RNA-seq annotation"""
import os
from setuptools import setup, find_packages
version = '0.4.24'
url = 'http://github.com/mirtop/mirtop'
def readme():
with open('README.md') as f:
return f.read()
def write_version_py():
version_py = os.path.join(os.path.dirname(__file__), 'mirtop',
... | """small RNA-seq annotation"""
import os
from setuptools import setup, find_packages
version = '0.4.24dev'
url = 'http://github.com/mirtop/mirtop'
def readme():
with open('README.md') as f:
return f.read()
def write_version_py():
version_py = os.path.join(os.path.dirname(__file__), 'mirtop',
... | mit | Python |
a1d81b96a4f26c27bd428c4988124b8a88c3c4cd | Add hwclock.py to setup script, clean up setup script | dmand/rpi-ds1302,dmand/rpi-ds1302,dmand/rpi-ds1302 | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup, Extension
c_nviro = Extension('ds1302',
sources = ['python.c'],
libraries = ['wiringPi', 'm'],
extra_compile_args = ['-std=c99'],
)
setup(name='rpi_rtc',
version="0.1",
description='Python library for handling DS1302 RTC with Raspberry P... | #!/usr/bin/env python
import os
from distutils.core import setup, Extension
gcc_bin = os.environ.get('CC', 'gcc')
includes = os.environ.get('INCLUDE', '/usr/include')
libgccfilename = os.popen(gcc_bin + " -print-libgcc-file-name").read().strip()
c_nviro = Extension('ds1302',
sources = ['python.c'],
extra_li... | mit | Python |
385c276e4bf50c9a9816b8cf9a8abc9b86dab329 | install servo tools to chroot | coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec,coreboot/chrome-ec | setup.py | setup.py | # Copyright 2015 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from setuptools import setup
setup(
name="ec3po",
version="1.0.0rc1",
author="Aseda Aboagye",
author_email="aaboagye@chromium.org",
u... | # Copyright 2015 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from setuptools import setup
setup(
name="ec3po",
version="1.0.0rc1",
author="Aseda Aboagye",
author_email="aaboagye@chromium.org",
u... | bsd-3-clause | Python |
204d276730e26eaebbe7befa19b31b45c51c4f48 | Bump Python package version to 1.1rc1 | InsightSoftwareConsortium/ITKMinimalPathExtraction,thewtex/ITKMinimalPathExtraction,InsightSoftwareConsortium/ITKMinimalPathExtraction,InsightSoftwareConsortium/ITKMinimalPathExtraction,thewtex/ITKMinimalPathExtraction,thewtex/ITKMinimalPathExtraction | setup.py | setup.py | # -*- coding: utf-8 -*-
from __future__ import print_function
from os import sys
try:
from skbuild import setup
except ImportError:
print('scikit-build is required to build from source.', file=sys.stderr)
print('Please run:', file=sys.stderr)
print('', file=sys.stderr)
print(' python -m pip instal... | # -*- coding: utf-8 -*-
from __future__ import print_function
from os import sys
try:
from skbuild import setup
except ImportError:
print('scikit-build is required to build from source.', file=sys.stderr)
print('Please run:', file=sys.stderr)
print('', file=sys.stderr)
print(' python -m pip instal... | apache-2.0 | Python |
f79c3730a395a33096ea19ebd23612383f0c07dc | Add install_requires to setup.py | ids1024/wikicurses | setup.py | setup.py | #!/usr/bin/env python3
from distutils.core import setup
setup(name='Wikicurses',
version='1.1',
description='A simple curses interface for accessing Wikipedia.',
author='Ian D. Scott',
author_email='ian@perebruin.com',
license = "MIT",
url='http://github.com/ids1024/wikicurses/',
... | #!/usr/bin/env python3
from distutils.core import setup
setup(name='Wikicurses',
version='1.1',
description='A simple curses interface for accessing Wikipedia.',
author='Ian D. Scott',
author_email='ian@perebruin.com',
license = "MIT",
url='http://github.com/ids1024/wikicurses/',
... | mit | Python |
f26d63ac4e3de68706b05c1657935c6c2d5760e7 | update doc | jvanasco/formencode,systemctl/formencode,systemctl/formencode,systemctl/formencode,genixpro/formencode,formencode/formencode,formencode/formencode,genixpro/formencode,genixpro/formencode,jvanasco/formencode,formencode/formencode,jvanasco/formencode | setup.py | setup.py | import sys
from setuptools import setup
version = '1.2.4'
if not '2.3' <= sys.version < '3.0':
raise ImportError('Python version not supported')
tests_require = ['nose', 'pycountry', 'pyDNS']
if sys.version < '2.5':
tests_require.append('elementtree')
setup(name="FormEncode",
version=version,
#r... | import sys
from setuptools import setup
version = '1.2.4'
if not '2.3' <= sys.version < '3.0':
raise ImportError('Python version not supported')
tests_require = ['nose', 'pycountry', 'pyDNS']
if sys.version < '2.5':
tests_require.append('elementtree')
setup(name="FormEncode",
version=version,
#r... | mit | Python |
13e4f7b71398bd8e318a22d5d31086e773c99162 | revert version bump | caravancoop/configstore | setup.py | setup.py | from setuptools import setup
setup(
name='configstore',
version='0.1',
description='Retrieve config from different backends',
url='https://github.com/caravancoop/configstore',
author='Antoine Reversat',
author_email='antoine@caravan.coop',
packages=[
'configstore', 'configstore.back... | from setuptools import setup
setup(
name='configstore',
version='0.2',
description='Retrieve config from different backends',
url='https://github.com/caravancoop/configstore',
author='Antoine Reversat',
author_email='antoine@caravan.coop',
packages=[
'configstore', 'configstore.back... | mit | Python |
c5f68c023f53fd8637ebe549b5089301993b33de | bump version | Bogdanp/markii,Bogdanp/markii,Bogdanp/markii | setup.py | setup.py | from setuptools import setup
with open("README.md") as f:
long_description = f.read()
setup(
name="markii",
version="0.2.6",
description="MarkII is an improved development-mode error handler for Python web applications.",
long_description=long_description,
packages=["markii", "markii.framework... | from setuptools import setup
with open("README.md") as f:
long_description = f.read()
setup(
name="markii",
version="0.2.5",
description="MarkII is an improved development-mode error handler for Python web applications.",
long_description=long_description,
packages=["markii", "markii.framework... | mit | Python |
b8b2932cc8a945820b5f968a95ee93007047fb6e | remove uvloop as default requirement | Kilerd/nougat | setup.py | setup.py | from setuptools import setup
from os import path
from nougat import __version__
here = path.abspath(path.dirname(__file__))
setup_kwargs = {
'name': 'nougat',
'version': __version__,
'description': 'Async API framework with human friendly params definition and automatic document',
'url': 'https://git... | from setuptools import setup
from os import path
from nougat import __version__
here = path.abspath(path.dirname(__file__))
setup_kwargs = {
'name': 'nougat',
'version': __version__,
'description': 'Async API framework with human friendly params definition and automatic document',
'url': 'https://git... | mit | Python |
83a801718b265476f6e42291a80f27b09ea61392 | add pep8 cmdclass to setup.py | racker/python-twisted-keystone-agent | setup.py | setup.py | from setuptools import setup
class Pep8Command(Command):
description = "run pep8 script"
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
try:
import pep8
pep8
except ImportError:
... | from setuptools import setup
setup(
name='txKeystone',
version='0.1',
description='A Twisted Agent implementation which authenticates to Keystone and uses the keystone auth credentials to authenticate against requested urls.',
classifiers=[
'Development Status :: 4 - Beta',
'License :: ... | apache-2.0 | Python |
94cfcc008332472881570bfad046ad5e476ae6ee | Add PyPy support | tyrannosaurus/beretta | setup.py | setup.py | import sys
from distutils.core import setup
from distutils.extension import Extension
base = {
'name': 'beretta',
'url': 'https://github.com/tyrannosaurus/beretta',
'author': 'beretta contributors',
'author_email': 'github@require.pm',
'version': '0.2.5',
'description': 'BERT (de)serializer for your Python... | from distutils.core import setup
from distutils.extension import Extension
setup(
name = 'beretta',
author = 'beretta contributors',
author_email = 'github@require.pm',
url = 'https://github.com/dieselpoweredkitten/beretta',
version = '0.2.4',
description = 'BERT (de)serializer for your Pythons',
licens... | mit | Python |
aaf7ae13b2f6ab2fe809d3725e85b190dd0c0424 | Change requirements versions OF-France | openfisca/openfisca-france-data,openfisca/openfisca-france-data,openfisca/openfisca-france-data | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
with open('README.md') as file:
long_description = file.read()
setup(
name = "OpenFisca-France-Data",
version = "0.15.0",
description = "OpenFisca-France-Data module to work with French survey data",
long_description = long_desc... | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
with open('README.md') as file:
long_description = file.read()
setup(
name = "OpenFisca-France-Data",
version = "0.15.0",
description = "OpenFisca-France-Data module to work with French survey data",
long_description = long_desc... | agpl-3.0 | Python |
b9c0f5c6fe907bafec6cd909e3d13d5a0020e60b | add download_url to setup.py | th0th/metu-cafeteria-menu | setup.py | setup.py | # -*- encoding: utf-8 -*-
from setuptools import setup
setup(
name='metu-cafeteria-menu',
version='0.0.1',
description="A utility for fetching Middle East Technical University's cafeteria menu.",
keywords=['metu', 'cafeteria', 'menu'],
url='https://github.com/th0th/metu-cafeteria-menu',
downloa... | # -*- encoding: utf-8 -*-
from setuptools import setup
setup(
name='metu-cafeteria-menu',
version='0.0.1',
description="A utility for fetching Middle East Technical University's cafeteria menu.",
keywords=['metu', 'cafeteria', 'menu'],
url='https://github.com/th0th/metu-cafeteria-menu',
author=... | mit | Python |
7439a237b689fd42a758f8bf9a0774c77857b7f0 | update version number in setup.py | chovanecm/sacredboard,chovanecm/sacredboard,chovanecm/sacredboard | setup.py | setup.py | from setuptools import setup, find_packages
with open('description.txt') as f:
long_description = ''.join(f.readlines())
def get_requirements():
with open("requirements.txt") as f:
return f.readlines()
setup(
author="Martin Chovanec",
author_email="chovamar@fit.cvut.cz",
classifiers=[
... | from setuptools import setup, find_packages
with open('description.txt') as f:
long_description = ''.join(f.readlines())
def get_requirements():
with open("requirements.txt") as f:
return f.readlines()
setup(
author="Martin Chovanec",
author_email="chovamar@fit.cvut.cz",
classifiers=[
... | mit | Python |
635c08365ef8bb24718df5b771110e91758f1032 | update url | tilda/lolbot,tilda/lolbot,tilda/lolbot | setup.py | setup.py | from setuptools import setup
setup(name='lolbot', version='2', description='A fun bot',
url='https://lolbot.lmao.tf', author='S Stewart',
python_requires='>=3.6')
| from setuptools import setup
setup(name='lolbot', version='2', description='A fun bot',
url='https://lolbot.banne.club', author='S Stewart',
python_requires='>=3.6')
| mit | Python |
1fbec2f312773c52ddaffcb54a22d6d76efae07a | add comment & more suitable fallback code | aliyun/aliyun-cli,aliyun/aliyun-cli | aliyuncli/aliyunCliConfiugre.py | aliyuncli/aliyunCliConfiugre.py | '''
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use... | '''
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use... | apache-2.0 | Python |
b775e34fdff8a3ed95bb7283ee0029beda4cfaff | set devstatus to production and add Python 3.7 | grandich/puppetboard,johnzimm/puppetboard,johnzimm/xx-puppetboard,puppet-community/puppetboard,grandich/puppetboard,puppet-community/puppetboard,johnzimm/puppetboard,voxpupuli/puppetboard,voxpupuli/puppetboard,johnzimm/xx-puppetboard,johnzimm/xx-puppetboard,grandich/puppetboard,grandich/puppetboard,puppet-community/pup... | setup.py | setup.py | import sys
import codecs
from setuptools.command.test import test as TestCommand
from setuptools import setup, find_packages
from puppetboard.version import __version__
with codecs.open('README.md', encoding='utf-8') as f:
README = f.read()
with codecs.open('CHANGELOG.md', encoding='utf-8') as f:
CHANGELOG =... | import sys
import codecs
from setuptools.command.test import test as TestCommand
from setuptools import setup, find_packages
from puppetboard.version import __version__
with codecs.open('README.md', encoding='utf-8') as f:
README = f.read()
with codecs.open('CHANGELOG.md', encoding='utf-8') as f:
CHANGELOG =... | apache-2.0 | Python |
601a4f27a022c01159725bc6e74a367a2cacfa0a | Bump to corrected pinax-invitations | pinax/pinax-teams,pinax/pinax-teams,jacobwegner/pinax-teams | setup.py | setup.py | import codecs
from os import path
from setuptools import find_packages, setup
def read(*parts):
filename = path.join(path.dirname(__file__), *parts)
with codecs.open(filename, encoding="utf-8") as fp:
return fp.read()
setup(
author="",
author_email="",
description="An app for Django sit... | import codecs
from os import path
from setuptools import find_packages, setup
def read(*parts):
filename = path.join(path.dirname(__file__), *parts)
with codecs.open(filename, encoding="utf-8") as fp:
return fp.read()
setup(
author="",
author_email="",
description="An app for Django sit... | mit | Python |
22fff2482e6e747e3b3cfe6d7416b37e13067693 | Update version | obsrvbl/flowlogs-reader | setup.py | setup.py | # Copyright 2015 Observable Networks
#
# 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 ... | # Copyright 2015 Observable Networks
#
# 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 ... | apache-2.0 | Python |
3775c40662b55d922f72bfbf639acaae02e100e8 | install requires requests | baliame/http-hmac-python | setup.py | setup.py | #from setuptools import setup, find_packages
from setuptools import *
description='An implementation of the Acquia HTTP HMAC Spec (https://github.com/acquia/http-hmac-spec) in Python.'
setup(
name='http-hmac-python',
version='2.0.1',
description=description,
long_description=description,
url='http... | #from setuptools import setup, find_packages
from setuptools import *
description='An implementation of the Acquia HTTP HMAC Spec (https://github.com/acquia/http-hmac-spec) in Python.'
setup(
name='http-hmac-python',
version='2.0.0',
description=description,
long_description=description,
url='http... | mit | Python |
dd1ea91f94c839ad96aed69bd65dddfccb756433 | Fix line too long in setup.py | Pawamoy/dependenpy,Pawamoy/dependenpy | setup.py | setup.py | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
from __future__ import absolute_import, print_function
import io
import re
from glob import glob
from os.path import basename, dirname, join, splitext
from setuptools import find_packages, setup
def read(*names, **kwargs):
return io.open(
join(dirname(__fi... | #!/usr/bin/env python
# -*- encoding: utf-8 -*-
from __future__ import absolute_import, print_function
import io
import re
from glob import glob
from os.path import basename, dirname, join, splitext
from setuptools import find_packages, setup
def read(*names, **kwargs):
return io.open(
join(dirname(__fi... | isc | Python |
53def8fc2d119adf85ca971cb4fbc1c3e615d3ae | Bump to 0.2 | rtfd/sphinx-autoapi,rtfd/sphinx-autoapi,rtfd/sphinx-autoapi,rtfd/sphinx-autoapi | setup.py | setup.py | import codecs
try:
from setuptools import setup, find_packages
extra_setup = dict(
install_requires=[
'PyYAML',
'epyparse',
'epydoc',
'sphinx',
'sphinxcontrib-golangdomain',
'sphinxcontrib-dotnetdomain',
'unidecode',
... | import codecs
try:
from setuptools import setup, find_packages
extra_setup = dict(
install_requires=[
'PyYAML',
'epyparse',
'epydoc',
'sphinx',
'sphinxcontrib-golangdomain',
'sphinxcontrib-dotnetdomain',
'unidecode',
... | mit | Python |
6fdddedb7895bff257727b2cbce4dd89b8115228 | Update version | HIIT/hybra-core,HIIT/hybra-core,HIIT/hybra-core,HIIT/hybra-core,HIIT/hybra-core | setup.py | setup.py | #!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = 'hybra-core',
version = '0.1.2a',
description = 'Toolkit for data management and analysis.',
keywords = ['data management', 'data analysis'],
url = 'https://github.com/HIIT/hybra-core',
author = 'Matti Neli... | #!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = 'hybra-core',
version = '0.1.1a5',
description = 'Toolkit for data management and analysis.',
keywords = ['data management', 'data analysis'],
url = 'https://github.com/HIIT/hybra-core',
author = 'Matti Nel... | mit | Python |
c5d1d1cfad5b0d4d52badfd8023cd3059501a10b | fix long_description issue | wattlebird/ranking | setup.py | setup.py | from setuptools import setup, find_packages
import os
if os.path.exists('MANIFEST'):
os.remove('MANIFEST')
with open('requirements.txt') as f:
required = f.read().splitlines()
setup(name="rankit",
version="0.3.1",
packages=find_packages(exclude=['example']),
install_requires=required,
... | from setuptools import setup, find_packages
import os
if os.path.exists('MANIFEST'):
os.remove('MANIFEST')
with open('requirements.txt') as f:
required = f.read().splitlines()
setup(name="rankit",
version="0.3.1",
packages=find_packages(exclude=['example']),
install_requires=required,
... | mit | Python |
7bbb9c2e1af149c7bf3175bb3d14b98e8c92ce43 | bump to a doc version | armstrong/armstrong.core.arm_wells,texastribune/armstrong.core.arm_wells,texastribune/armstrong.core.arm_wells,armstrong/armstrong.core.arm_wells,armstrong/armstrong.core.arm_wells,dmclain/armstrong.core.arm_wells,dmclain/armstrong.core.arm_wells | setup.py | setup.py | from distutils.core import setup
import os
PACKAGE_NAME = "armstrong.core.arm_wells"
VERSION = ("0", "1", "0", "1")
NAMESPACE_PACKAGES = []
# TODO: simplify this process
def generate_namespaces(package):
new_package = ".".join(package.split(".")[0:-1])
if new_package.count(".") > 0:
generate_namespace... | from distutils.core import setup
import os
PACKAGE_NAME = "armstrong.core.arm_wells"
VERSION = ("0", "1", "0")
NAMESPACE_PACKAGES = []
# TODO: simplify this process
def generate_namespaces(package):
new_package = ".".join(package.split(".")[0:-1])
if new_package.count(".") > 0:
generate_namespaces(new... | apache-2.0 | Python |
8d8fc6461d62c33fd00f5e4ee4cba8dcede6780f | Fix trove classifiers | sjkingo/django-runas,sjkingo/django-runas | setup.py | setup.py | from setuptools import find_packages, setup
setup(
name='django-runas',
version='0.1.2',
license='BSD',
author='Sam Kingston',
author_email='sam@sjkwi.com.au',
description='Impersonate a user using the Django admin',
url='https://github.com/sjkingo/django-runas',
packages=find_packages(... | from setuptools import find_packages, setup
setup(
name='django-runas',
version='0.1.2',
license='BSD',
author='Sam Kingston',
author_email='sam@sjkwi.com.au',
description='Impersonate a user using the Django admin',
url='https://github.com/sjkingo/django-runas',
packages=find_packages(... | bsd-2-clause | Python |
17c75edd533dd7a643b585b8d3a596828464649b | Update setup.py for Pypi | gooddata/smoker,pbenas/smoker,pbenas/smoker,gooddata/smoker | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2007-2012, GoodData(R) Corporation. All rights reserved
import sys
from setuptools import setup
# Parameters for build
params = {
# This package is named gdc-smoker on Pypi, use it on register or upload actions
'name' : 'gdc-smoker' if len(sys.argv... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2007-2012, GoodData(R) Corporation. All rights reserved
from setuptools import setup
# Parameters for build
params = {
'name' : 'gdc-smoker',
'version' : '1.0',
'packages' : [
'smoker',
'smoker.server',
'smoker.server.pl... | bsd-3-clause | Python |
3d50b1a9898d91c1a3bf796af0e849020d564480 | Fix some issues in Spanish examples | explosion/spaCy,explosion/spaCy,explosion/spaCy,explosion/spaCy,explosion/spaCy,explosion/spaCy | spacy/lang/es/examples.py | spacy/lang/es/examples.py | """
Example sentences to test spaCy and its language models.
>>> from spacy.lang.es.examples import sentences
>>> docs = nlp.pipe(sentences)
"""
sentences = [
"Apple está buscando comprar una startup del Reino Unido por mil millones de dólares.",
"Los coches autónomos delegan la responsabilidad del seguro en... | """
Example sentences to test spaCy and its language models.
>>> from spacy.lang.es.examples import sentences
>>> docs = nlp.pipe(sentences)
"""
sentences = [
"Apple está buscando comprar una startup del Reino Unido por mil millones de dólares.",
"Los coches autónomos delegan la responsabilidad del seguro en... | mit | Python |
76db06055428fb0184174d4af0f94d6a82980f73 | Update tests.py | jtokaz/checkio-mission-currency-style,oduvan/checkio-mission-currency-style,jtokaz/checkio-mission-compare-functions,oduvan/checkio-mission-currency-style,jtokaz/checkio-mission-currency-style,oduvan/checkio-mission-currency-style,jtokaz/checkio-mission-currency-style,jtokaz/checkio-mission-compare-functions,jtokaz/che... | verification/tests.py | verification/tests.py | """
TESTS is a dict with all you tests.
Keys for this will be categories' names.
Each test is dict with
"input" -- input data for user function
"answer" -- your right answer
"explanation" -- not necessary key, it's using for additional info in animation.
"""
TESTS = {
"Basics": [
{
... | """
TESTS is a dict with all you tests.
Keys for this will be categories' names.
Each test is dict with
"input" -- input data for user function
"answer" -- your right answer
"explanation" -- not necessary key, it's using for additional info in animation.
"""
TESTS = {
"Basics": [
{
... | mit | Python |
c65348179eb9d773773e63c6cdbebc74889a49a2 | Add README.md for PyPI | mpkato/mobileclick,mpkato/mobileclick | setup.py | setup.py | # -*- coding:utf-8 -*-
from setuptools import setup
with open('README.md') as description_file:
long_description = description_file.read()
setup(
name = "mobileclick",
description = "mobileclick provides baseline methods and utility scripts for the NTCIR-12 MobileClick-2 task",
long_description... | # -*- coding:utf-8 -*-
from setuptools import setup
setup(
name = "mobileclick",
description = "mobileclick provides baseline methods and utility scripts for the NTCIR-12 MobileClick-2 task",
author = "Makoto P. Kato",
author_email = "kato@dl.kuis.kyoto-u.ac.jp",
license = "MIT Lice... | mit | Python |
7a725079fe924c9a9a90c9ac3d904060e880a356 | Bump version to 3.3m2 | cloudify-cosmo/cloudify-amqp-influxdb,cloudify-cosmo/cloudify-amqp-influxdb,geokala/cloudify-amqp-influxdb,geokala/cloudify-amqp-influxdb | setup.py | setup.py | ########
# Copyright (c) 2014 GigaSpaces Technologies Ltd. All rights reserved
#
# 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... | ########
# Copyright (c) 2014 GigaSpaces Technologies Ltd. All rights reserved
#
# 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... | apache-2.0 | Python |
8569c701cac818afb3ce20ee397164a02b55b622 | Update name | kolanos/onlinenic | 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='onlinenic',
version='0.1.0',
url='http://github.com/kolanos/onlinenic',
license='MIT',
author='Michael Lavers',
author_email='kolanos@gmail.com',
d... | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='OnlineNIC',
version='0.1.0',
url='http://github.com/kolanos/onlinenic',
license='MIT',
author='Michael Lavers',
author_email='kolanos@gmail.com',
d... | mit | Python |
9d2d51a4a18974556284d4d5ffe9c2ed05bc0feb | update the version to 1.1.2 | michiya/django-pyodbc-azure,javrasya/django-pyodbc-azure | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
CLASSIFIERS=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Framework :: Django',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming L... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
CLASSIFIERS=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Framework :: Django',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming L... | bsd-3-clause | Python |
62b7b4947ddc9d27a33a8838b210999b191caf66 | Bump version to 1.1. | dgladkov/django-nose,franciscoruiz/django-nose,millerdev/django-nose,Deepomatic/django-nose,aristiden7o/django-nose,daineX/django-nose,Deepomatic/django-nose,360youlun/django-nose,alexhayes/django-nose,sociateru/django-nose,franciscoruiz/django-nose,harukaeru/django-nose,alexhayes/django-nose,krinart/django-nose,aristi... | setup.py | setup.py | import os
from setuptools import setup, find_packages
ROOT = os.path.abspath(os.path.dirname(__file__))
setup(
name='django-nose',
version='1.1',
description='Django test runner that uses nose',
long_description=open(os.path.join(ROOT, 'README.rst')).read(),
author='Jeff Balogh',
author_email... | import os
from setuptools import setup, find_packages
ROOT = os.path.abspath(os.path.dirname(__file__))
setup(
name='django-nose',
version='1.0.1',
description='Django test runner that uses nose',
long_description=open(os.path.join(ROOT, 'README.rst')).read(),
author='Jeff Balogh',
author_ema... | bsd-3-clause | Python |
89abf161e670fda99497ecc60aac0df239af5a01 | Move log description to a docstring. | benhamill/cetacean-python,nanorepublica/cetacean-python | setup.py | setup.py | # encoding: utf-8
"""
The HAL client that does almost nothing for you.
Cetacean is tightly coupled to Requests, but doesn't actually call it. You set
up your own Requests client and use it to make requests. You feed Cetacean
Requests response objects and it helps you figure out if they're HAL documents
and pull useful... | # encoding: utf-8
from setuptools import setup
setup(
name="Cetacean",
version="0.0.1",
author="Ben Hamill",
author_email="ben@benhamill.com",
url="http://github.com/benhamill/cetacean-python#readme",
licens="MIT",
description="The HAL client that does almost nothing for you.",
long_de... | mit | Python |
acc621af7ec544f0647599207c54a952241677a5 | Update setup.py | poldracklab/pydeface | setup.py | setup.py | #!/usr/bin/env python
#
# Copyright (C) 2013-2015 Russell Poldrack <poldrack@stanford.edu>
#
# Some portions were borrowed from:
# https://github.com/mwaskom/lyman/blob/master/setup.py
# and:
# https://chriswarrick.com/blog/2014/09/15/python-apps-the-right-way-entry_points-and-scripts/
import os
from setuptools import... | #!/usr/bin/env python
#
# Copyright (C) 2013-2015 Russell Poldrack <poldrack@stanford.edu>
#
# Some portions were borrowed from:
# https://github.com/mwaskom/lyman/blob/master/setup.py
# and:
# https://chriswarrick.com/blog/2014/09/15/python-apps-the-right-way-entry_points-and-scripts/
import os
from setuptools import... | mit | Python |
7b641af9d2dee1791927bc72e237e6ed76881f98 | Bump version to 0.1.4 | cloud4rpi/cloud4rpi | setup.py | setup.py | from setuptools import setup
description = ''
try:
import pypandoc # pylint: disable=F0401
description = pypandoc.convert('README.md', 'rst')
except Exception:
pass
setup(name='cloud4rpi',
version='0.1.4',
description='Cloud4RPi client library',
long_description=description,
url... | from setuptools import setup
description = ''
try:
import pypandoc # pylint: disable=F0401
description = pypandoc.convert('README.md', 'rst')
except Exception:
pass
setup(name='cloud4rpi',
version='0.1.3',
description='Cloud4RPi client library',
long_description=description,
url... | mit | Python |
eb82a2e22e607719335448ca1ce4d27cef9568c1 | bump version | exoscale/cs | setup.py | setup.py | # coding: utf-8
"""
A simple yet powerful CloudStack API client for Python and the command-line.
"""
from __future__ import unicode_literals
import sys
from codecs import open
from setuptools import find_packages, setup
with open('README.rst', 'r', encoding='utf-8') as f:
long_description = f.read()
install_req... | # coding: utf-8
"""
A simple yet powerful CloudStack API client for Python and the command-line.
"""
from __future__ import unicode_literals
import sys
from codecs import open
from setuptools import find_packages, setup
with open('README.rst', 'r', encoding='utf-8') as f:
long_description = f.read()
install_req... | bsd-3-clause | Python |
0389545acfeac9ff42228986265619c92c92c110 | Add example usage of 'raises_on_failure' option in examples/canvas.py | botify-labs/simpleflow,botify-labs/simpleflow | examples/canvas.py | examples/canvas.py | from __future__ import print_function
import time
from simpleflow import (
activity,
futures,
Workflow,
)
from simpleflow.canvas import Group, Chain
from simpleflow.task import ActivityTask
@activity.with_attributes(task_list='example', version='example')
def increment_slowly(x):
time.sleep(1)
re... | from __future__ import print_function
import time
from simpleflow import (
activity,
futures,
Workflow,
)
from simpleflow.canvas import Group, Chain
from simpleflow.task import ActivityTask
@activity.with_attributes(task_list='example', version='example')
def increment_slowly(x):
time.sleep(1)
re... | mit | Python |
6594fef1df431041260b02033dcf9da15a67b1e3 | Bump version | bashu/django-easy-maps,duixteam/django-easy-maps,bashu/django-easy-maps,Gonzasestopal/django-easy-maps,kmike/django-easy-maps,Gonzasestopal/django-easy-maps,kmike/django-easy-maps | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
version='0.6'
setup(
name = 'django-easy-maps',
version = version,
author = 'Mikhail Korobov',
author_email = 'kmike84@gmail.com',
url = 'http://bitbucket.org/kmike/django-easy-maps/',
download_url = 'http://bitbucket.org/kmike/django-easy-... | #!/usr/bin/env python
from distutils.core import setup
version='0.5.4'
setup(
name = 'django-easy-maps',
version = version,
author = 'Mikhail Korobov',
author_email = 'kmike84@gmail.com',
url = 'http://bitbucket.org/kmike/django-easy-maps/',
download_url = 'http://bitbucket.org/kmike/django-eas... | mit | Python |
85f0e37bde7a968e8b6d635f2d628a08ed76d38d | update extras and long description | trichter/rf | setup.py | setup.py | #!/usr/bin/env python
import os.path
import re
from setuptools import find_packages, setup
def find_version(*paths):
fname = os.path.join(os.path.dirname(__file__), *paths)
with open(fname) as fp:
code = fp.read()
match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", code, re.M)
if match:
... | #!/usr/bin/env python
import os.path
import re
from setuptools import find_packages, setup
def find_version(*paths):
fname = os.path.join(os.path.dirname(__file__), *paths)
with open(fname) as fp:
code = fp.read()
match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", code, re.M)
if match:
... | mit | Python |
78ff944545b54011ff08d569e22d3c6f8b39afd6 | Bump version | brcolow/python-client,timeyyy/python-client,starcraftman/python-client,traverseda/python-client,bfredl/python-client,0x90sled/python-client,neovim/python-client,meitham/python-client,zchee/python-client,traverseda/python-client,Shougo/python-client,brcolow/python-client,starcraftman/python-client,zchee/python-client,me... | setup.py | setup.py | import platform
import sys
from setuptools import setup
install_requires = [
'cffi',
'click>=3.0',
'msgpack-python>=0.4.0',
]
if sys.version_info < (3, 4):
# trollius is just a backport of 3.4 asyncio module
install_requires.append('trollius')
has_cython = False
if not platform.python_implementa... | import platform
import sys
from setuptools import setup
install_requires = [
'cffi',
'click>=3.0',
'msgpack-python>=0.4.0',
]
if sys.version_info < (3, 4):
# trollius is just a backport of 3.4 asyncio module
install_requires.append('trollius')
has_cython = False
if not platform.python_implementa... | apache-2.0 | Python |
d966d5dc7be347f34f26d60fb464eab274d6be4a | set version 0.2.4 | RSEmail/provoke,RSEmail/provoke | setup.py | setup.py |
import sys
from setuptools import setup, find_packages
if sys.version_info[0] == 2:
mysql = 'MySQL-python'
else:
mysql = 'PyMySQL'
setup(name='provoke',
version='0.2.4',
author='Ian Good',
author_email='ian.good@rackspace.com',
description='Lightweight, asynchronous function execut... |
import sys
from setuptools import setup, find_packages
if sys.version_info[0] == 2:
mysql = 'MySQL-python'
else:
mysql = 'PyMySQL'
setup(name='provoke',
version='0.2.3',
author='Ian Good',
author_email='ian.good@rackspace.com',
description='Lightweight, asynchronous function execut... | mit | Python |
47ec8b220e5174c0d9749ea76e74d9f2297afb5c | make description shorter | MarcoVogt/basil,SiLab-Bonn/basil,SiLab-Bonn/basil | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
from setuptools import find_packages
f = open('VERSION', 'r')
basil_version = f.readline().strip()
f.close()
author = 'Tomasz Hemperek, Jens Janssen, David-Leon Pohl'
author_email = 'hemperek@uni-bonn.de, janssen@physik.uni-bonn.de, pohl@physik.uni-bonn.de'
set... | #!/usr/bin/env python
from distutils.core import setup
from setuptools import find_packages
f = open('VERSION', 'r')
basil_version = f.readline().strip()
f.close()
author = 'Tomasz Hemperek, Jens Janssen, David-Leon Pohl'
author_email = 'hemperek@uni-bonn.de, janssen@physik.uni-bonn.de, pohl@physik.uni-bonn.de'
set... | bsd-3-clause | Python |
d16267549323c583df7aaf82768b7efef17df564 | Fix dependency on mock for testing. | HXLStandard/hxl-proxy,HXLStandard/hxl-proxy,HXLStandard/hxl-proxy,HXLStandard/hxl-proxy | setup.py | setup.py | #!/usr/bin/python
from setuptools import setup
dependency_links=[
'git+https://github.com/Toblerity/Shapely.git@maint#egg=Shapely',
]
setup(
name = 'hxl-proxy',
packages = ['hxl_proxy'],
version = '0.0.1',
description = 'Flask-based web proxy for HXL',
author='David Megginson',
author_emai... | #!/usr/bin/python
from setuptools import setup
dependency_links=[
'git+https://github.com/Toblerity/Shapely.git@maint#egg=Shapely',
]
setup(
name = 'hxl-proxy',
packages = ['hxl_proxy'],
version = '0.0.1',
description = 'Flask-based web proxy for HXL',
author='David Megginson',
author_emai... | unlicense | Python |
5bc277a425e9b3b8e7ed7a784c6617511b875137 | Bump version for PyPI release | josiahcarlson/parse-crontab | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
try:
with open('README') as f:
long_description = f.read()
except:
long_description = ''
setup(
name='crontab',
version='0.20.3',
description='Parse and use crontab schedules in Python',
author='Josiah Carlson',
author_email='... | #!/usr/bin/env python
from distutils.core import setup
try:
with open('README') as f:
long_description = f.read()
except:
long_description = ''
setup(
name='crontab',
version='0.20.2',
description='Parse and use crontab schedules in Python',
author='Josiah Carlson',
author_email='... | lgpl-2.1 | Python |
29cb3889afed8a28d116125e9fc0ca9b21d2f8df | Bump to 1.0.4 | lindycoder/memorised,1stvamp/memorised | setup.py | setup.py | """Installer for memorised
"""
import os
cwd = os.path.dirname(__file__)
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='memorised',
version='1.0.4',
... | """Installer for memorised
"""
import os
cwd = os.path.dirname(__file__)
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(
name='memorised',
version='1.0.3',
... | bsd-3-clause | Python |
1c1e6483b81187b86250f508a29f0a29bb51874b | Update version to 0.6 | Synss/python-mbedtls,Synss/python-mbedtls | setup.py | setup.py | import os
from setuptools import setup, Extension
version = "0.6"
download_url = "https://github.com/Synss/python-mbedtls/tarball/%s" % version
extensions = []
for dirpath, dirnames, filenames in os.walk("mbedtls"):
for fn in filenames:
root, ext = os.path.splitext(fn)
if ext != ".c":
... | import os
from setuptools import setup, Extension
version = "0.5"
download_url = "https://github.com/Synss/python-mbedtls/tarball/%s" % version
extensions = []
for dirpath, dirnames, filenames in os.walk("mbedtls"):
for fn in filenames:
root, ext = os.path.splitext(fn)
if ext != ".c":
... | mit | Python |
6c57fdc6a5f7555a4ba7f2f6c6617916f2949971 | Bump tensorflow from 2.3.0 to 2.3.1 | google/tensorflow-recorder | setup.py | setup.py | # Lint as: python3
# Copyright 2020 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | # Lint as: python3
# Copyright 2020 Google LLC.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or a... | apache-2.0 | Python |
54d7d0f8e8aea56861268213de3d4c7b58c4177c | Fix package_dir in setup.py | wintoncode/winton-kafka-streams | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
with open('README.md') as readme_file:
readme = readme_file.read()
requirements = [
'confluent-kafka',
'javaproperties'
]
test_requirements = [
'pytest'
]
setup(
name='Winton Kafka Streams',
version='0.1.0',
desc... | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
with open('README.md') as readme_file:
readme = readme_file.read()
requirements = [
'confluent-kafka',
'javaproperties'
]
test_requirements = [
'pytest'
]
setup(
name='Winton Kafka Streams',
version='0.1.0',
desc... | apache-2.0 | Python |
eb2bec83e742c3fb3dbaefd8b6bee664c3c93661 | Allow for alpha and beta version of Avocado in tests | chop-dbhi/serrano,rv816/serrano_night,rv816/serrano_night,chop-dbhi/serrano | setup.py | setup.py | import sys
from setuptools import setup, find_packages
install_requires = [
'avocado>=2.1a,<2.2',
'restlib2>=0.3.7,<0.4',
'django-preserialize>=1.0.4,<1.1',
]
if sys.version_info < (2, 7):
install_requires.append('ordereddict>=1.1')
kwargs = {
# Packages
'packages': find_packages(exclude=['te... | import sys
from setuptools import setup, find_packages
install_requires = [
'avocado>=2.1a,<2.2',
'restlib2>=0.3.7,<0.4',
'django-preserialize>=1.0.4,<1.1',
]
if sys.version_info < (2, 7):
install_requires.append('ordereddict>=1.1')
kwargs = {
# Packages
'packages': find_packages(exclude=['te... | bsd-2-clause | Python |
96a76afb41f0381347981d4b3d771af39e2e795c | Bump version number to 0.2. | ProjetPP/PPP-Core,ProjetPP/PPP-libmodule-Python,ProjetPP/PPP-Core,ProjetPP/PPP-libmodule-Python | setup.py | setup.py | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_core',
version='0.2',
description='Core/router of the PPP framework. Also contains a library ' \
'usable by module developpers to handle the query API.',
url='https://github.com/ProjetPP/PPP-Core',
... | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_core',
version='0.1.1',
description='Core/router of the PPP framework. Also contains a library ' \
'usable by module developpers to handle the query API.',
url='https://github.com/ProjetPP/PPP-Core',
... | mit | Python |
ac73d93b5a29f4f0929551c51da837b45227f3b3 | Increase version due to change in streamed apps management | TurboGears/backlash,TurboGears/backlash | setup.py | setup.py | from setuptools import setup, find_packages
import sys, os
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
version = "0.0.3"
setup(name='backlash',
version=version,
description="Standalone WebOb port of the ... | from setuptools import setup, find_packages
import sys, os
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
version = "0.0.2"
setup(name='backlash',
version=version,
description="Standalone WebOb port of the ... | mit | Python |
4fbc7427e0329c560ee56105192809e482022930 | Use long description from README.rst | migonzalvar/dj-email-url | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup
with open('README.rst') as f:
long_description = f.read()
setup(
name='dj-email-url',
version='0.0.1',
url='https://github.com/migonzalvar/dj-email-url',
license='BSD',
author='Miguel Gonzalez',
author_email='migonzalvar@gmail.com',
... | # -*- coding: utf-8 -*-
"""
dj-email-url
~~~~~~~~~~~~
This utiliy is based on dj-database-url by Kenneth Reitz.
It allows to utilize the
`12factor <http://www.12factor.net/backing-services>`_ inspired
environments variable to configure the email backend in a Django application.
Usage
-----
Configure your email conf... | bsd-2-clause | Python |
465bc9f4e43a61619dfd048bdc457406b5e0c701 | Bump version to 0.5.16 | craigahobbs/chisel | setup.py | setup.py | #
# Copyright (C) 2012-2013 Craig Hobbs
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, ... | #
# Copyright (C) 2012-2013 Craig Hobbs
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, ... | mit | Python |
ad633c7d02f066fd1c3052dbcc8421f01b27414a | Add pp prefix to scripts | Proj-P/project-p-api,Proj-P/project-p-api | setup.py | setup.py | #! /usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright 2016 Steven Oud. All rights reserved.
# Use of this source code is governed by a MIT-style license that can be found
# in the LICENSE file.
import re
import ast
from setuptools import setup, find_packages
with open('README.md', 'r') as f:
long_descriptio... | #! /usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright 2016 Steven Oud. All rights reserved.
# Use of this source code is governed by a MIT-style license that can be found
# in the LICENSE file.
import re
import ast
from setuptools import setup, find_packages
with open('README.md', 'r') as f:
long_descriptio... | mit | Python |
cd8a9da8ff1f402a03abc125fb0cbb6e4a6d1f31 | update the version to 0.1.3 | michiya/azure-storage-logging | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
CLASSIFIERS=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Pyth... | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
CLASSIFIERS=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Pyth... | apache-2.0 | Python |
8178d8b6be7f4398985e21823c4b59497f89f142 | set version to 0.3.0 | imjoey/pyhaproxy | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='pyhaproxy',
version='0.3.0',
keywords=('haproxy', 'parse'),
description='A Python library to parse haproxy configuration file',
license='MIT License',
install_requires=[],
include_package_data=True,
package_data={
'pyhapr... | from setuptools import setup, find_packages
setup(
name='pyhaproxy',
version='0.2.4',
keywords=('haproxy', 'parse'),
description='A Python library to parse haproxy configuration file',
license='MIT License',
install_requires=[],
include_package_data=True,
package_data={
'pyhapr... | mit | Python |
434ee28b889c02ba829069c7777b24154214938a | add python3.8 to setup.py | 20c/vaping,20c/vaping | setup.py | setup.py |
from setuptools import find_packages, setup
def read_file(name):
with open(name) as fobj:
return fobj.read().strip()
long_description = read_file("README.md")
version = read_file("Ctl/VERSION")
requirements = read_file("Ctl/requirements.txt").split('\n')
test_requirements = read_file("Ctl/requirements-... |
from setuptools import find_packages, setup
def read_file(name):
with open(name) as fobj:
return fobj.read().strip()
long_description = read_file("README.md")
version = read_file("Ctl/VERSION")
requirements = read_file("Ctl/requirements.txt").split('\n')
test_requirements = read_file("Ctl/requirements-... | apache-2.0 | Python |
94fc878ea4253688f7488e04c53d376f168542bd | Bump version | appknox/vendor,appknox/vendor,appknox/vendor | setup.py | setup.py | #! /usr/bin/env python
# -*- coding: utf-8 -*-
#
# vim: fenc=utf-8
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4
#
#
"""
File name: setup.py
Version: 0.1
Author: dhilipsiva <dhilipsiva@gmail.com>
Date created: 2015-11-24
"""
from setuptools import setup, find_packages
setup(
name='ak-vendor',
version... | #! /usr/bin/env python
# -*- coding: utf-8 -*-
#
# vim: fenc=utf-8
# vim: tabstop=4 expandtab shiftwidth=4 softtabstop=4
#
#
"""
File name: setup.py
Version: 0.1
Author: dhilipsiva <dhilipsiva@gmail.com>
Date created: 2015-11-24
"""
from setuptools import setup, find_packages
setup(
name='ak-vendor',
version... | mit | Python |
76607b6f15ed3c545f41d345b6974b76de825818 | Update version number | adam494m/mezzanine-slideshows,philipsouthwell/mezzanine-slideshows,philipsouthwell/mezzanine-slideshows,adam494m/mezzanine-slideshows,adam494m/mezzanine-slideshows,philipsouthwell/mezzanine-slideshows | setup.py | setup.py | import os
from setuptools import 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='mezzanine-slideshows',
version='0.2... | import os
from setuptools import 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='mezzanine-slideshows',
version='0.2... | bsd-2-clause | Python |
2639c6ce1647ff807e8dd30dfe15a2c9dfa7eeda | remove unnecesary extra code in wuclient | weapp/miner | publishers/wubytes_publisher.py | publishers/wubytes_publisher.py | from base_publisher import BasePublisher
from pprint import pprint as pp
from wu_client import WuClient
from shared.path import Path
class WubytesPublisher(BasePublisher):
def __init__(self, conf):
BasePublisher.__init__(self, conf)
self.wc = WuClient(conf["client_id"], conf["client_secret"], con... | from base_publisher import BasePublisher
from pprint import pprint as pp
from wu_client import WuClient
from shared.path import Path
def get_password(conf):
password = conf.get("pass", None) or conf.get("password", None)
if not password:
print "Password for wubytes:",
password = raw_input().str... | mit | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.