commit
stringlengths 40
40
| subject
stringlengths 1
3.25k
| old_file
stringlengths 4
311
| new_file
stringlengths 4
311
| old_contents
stringlengths 0
26.3k
| lang
stringclasses 3
values | proba
float64 0
1
| diff
stringlengths 0
7.82k
|
|---|---|---|---|---|---|---|---|
50d2b9cf2640c7788cb890ad945a64ac2f5613f3
|
Update version for packaging.
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
with open('README.md') as fhandle:
long_description = fhandle.read()
setup(
name='pyansible',
version='1.0.2',
description='A module for interfacing with Ansible Runner and Inventory.',
long_description=long_description,
url="https://github.com/bdastur/spam",
author="Behzad Dastur",
author_email="bdastur@gmail.com",
license='Apache Software License',
classifier=[
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Developers',
'License :: Apache Software License',
'Topic :: Software Development :: Libraries',
'Topic :: Utilities',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS',
],
keywords='ansible',
packages=find_packages(exclude=['contrib', 'docs', 'tests']),
install_requires=['rexutil',
'MarkupSafe',
'jinja2',
'PyYAML',
'ansible==1.9.4']
)
|
Python
| 0
|
@@ -159,17 +159,17 @@
on='1.0.
-2
+3
',%0A d
|
1f7decd74c8e4bd5e8d2f9ee387e4fcd3f860f58
|
update statistics
|
async_crawler.py
|
async_crawler.py
|
#!/usr/bin/env python3
# python dictionary object to html5 json form generator.
# https://github.com/mehmetkose/python3-async-crawler
# Licensed under the MIT license:
# http://www.opensource.org/licenses/mit-license
# Copyright (c) 2016 Mehmet Kose mehmet@linux.com
import aiohttp
import asyncio
from html.parser import HTMLParser
from urllib.parse import urljoin, urldefrag
root_url = "http://python.org"
crawled_urls = []
will_be_crawl_urls = [root_url, root_url.replace('http:','https:'),
"%s/robots.txt" % (root_url), "%s/sitemap.xml" % (root_url)]
async def get_body(client, url):
async with client.get(url) as response:
return await response.read()
def list_uniqifier(seq):
keys = {}
for e in seq:
if len(e) > 1:
keys[e] = 1
return keys.keys()
def remove_fragment(url):
pure_url, frag = urldefrag(url)
return pure_url
def get_links(html):
new_urls = [link.split('"')[0] for link in str(html).replace("'",'"').split('href="')[1:]]
return [urljoin(root_url, remove_fragment(new_url)) for new_url in new_urls]
if __name__ == '__main__':
loop = asyncio.get_event_loop()
client = aiohttp.ClientSession(loop=loop)
for to_crawl in will_be_crawl_urls:
raw_html = loop.run_until_complete(get_body(client, to_crawl))
for link in get_links(raw_html):
if root_url in link:
will_be_crawl_urls.append(link)
print(len(will_be_crawl_urls))
client.close()
|
Python
| 0.000001
|
@@ -428,84 +428,28 @@
%5B%5D%0A
-will_be_crawl_urls = %5Broot_url, root_url.replace('http:','https:'), %0A
+url_hub = %5Broot_url,
%22%25s
@@ -1160,34 +1160,23 @@
rawl in
-will_be_crawl_urls
+url_hub
:%0A
@@ -1316,39 +1316,124 @@
link
-:%0A will_be_crawl
+ and not link in crawled_urls:%0A url_hub.append(link)%0A url_hub.remove(to_crawl)%0A crawled
_url
@@ -1433,36 +1433,40 @@
led_urls.append(
-link
+to_crawl
)%0A print(
@@ -1469,31 +1469,92 @@
int(
-len(will_be_
+%22url hub: %25s %7C crawled: %25s %7Curl : %25s%22 %25 (len(url_hub), len(
crawl
+ed
_urls)
+, to_crawl)
)%0A
|
7a7dd4ed8285d4963d05612870206db7b07b2452
|
Add jmespath as a dependency
|
setup.py
|
setup.py
|
#!/usr/bin/env python
"""
distutils/setuptools install script.
"""
import os
import sys
import botocore
try:
from setuptools import setup
setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
packages = [
'botocore',
]
requires = ['requests==1.1.0',
'six>=1.1.0',
'python-dateutil>=2.1']
setup(
name='botocore',
version=botocore.__version__,
description='Low-level, data-driven core of boto 3.',
long_description=open('README.md').read(),
author='Mitch Garnaat',
author_email='garnaat@amazon.com',
url='https://github.com/boto/botocore',
scripts=[],
packages=packages,
package_data={'botocore': ['data/*.json', 'data/aws/*.json']},
package_dir={'botocore': 'botocore'},
include_package_data=True,
install_requires=requires,
license=open("LICENSE.txt").read(),
classifiers=(
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
),
)
|
Python
| 0.000001
|
@@ -379,32 +379,63 @@
'six%3E=1.1.0',%0A
+ 'jmespath==0.0.1',%0A
'pyt
|
522c7d13cb491998f8feba99f3657e77310f275b
|
add sparc.testing dependency
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
import os
version = '0.0.3'
setup(name='sparc.common',
version=version,
description="Common utilities used within SPARC platform",
long_description=open("README.md").read() + "\n" +
open("HISTORY.txt").read(),
# Get more strings from
# http://pypi.python.org/pypi?:action=list_classifiers
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.7',
],
keywords=['zca'],
author='David Davis',
author_email='davisd50@gmail.com',
url='https://github.com/davisd50/sparc.common',
download_url = '',
license='MIT',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['sparc'],
include_package_data=True,
package_data = {
'': ['*.zcml']
},
zip_safe=False,
install_requires=[
'setuptools',
'zope.interface',
'zope.component',
'zope.configuration',
'zope.security',
'zope.i18nmessageid'
# -*- Extra requirements: -*-
],
entry_points="""
# -*- Entry points: -*-
""",
)
|
Python
| 0.000001
|
@@ -1320,24 +1320,81 @@
*-%0A %5D,%0A
+ tests_require=%5B%0A 'sparc.testing'%0A %5D,%0A
entry_
|
89aa7258c47856dcb37b81d84143dc2af03321bd
|
Version bump
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from distutils.core import setup
try:
import setuptools
except ImportError:
pass # No 'develop' command, oh well.
version = '1.6'
setup(name='unstdlib',
version=version,
description='Unstandard Python library of useful and highly-reusable functions',
author='Andrey Petrov',
author_email='andrey.petrov@shazow.net',
url='https://github.com/shazow/unstdlib.py',
packages=['unstdlib', 'unstdlib.standard'],
long_description="""
Have you ever written code that you used in more than one project? Me too.
``unstdlib`` is a compilation of highly-reusable code for Python.
""".strip(),
license="MIT",
platforms=["any"],
)
|
Python
| 0.000001
|
@@ -154,16 +154,18 @@
n = '1.6
+.1
'%0A%0Asetup
|
18191319f244ea9f1ab7a874467e944d051724e8
|
Add credentials, description, etc.
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name='boxer',
version='0.1',
py_modules=['boxer'],
include_package_data=True,
url='https://github.com/bradleygolden/boxer',
download_url='https://github.com/bgolden/boxer/archive/0.1.tar.gz.',
keywords=['tox', 'pyenv', 'docker'],
install_requires=[
'Click',
'docker'
],
entry_points='''
[console_scripts]
boxer=boxer.boxer:cli
''',
)
|
Python
| 0
|
@@ -30,16 +30,131 @@
%0Asetup(%0A
+ author='Bradley Golden',%0A author_email='golden.bradley@gmail.com',%0A description='Tox wrapped in docker',%0A
name
|
4bfaf45ed2f27dca0105975243da093cf518ef4b
|
Bump version
|
setup.py
|
setup.py
|
########
# Copyright (c) 2013 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 required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# * See the License for the specific language governing permissions and
# * limitations under the License.
from setuptools import setup
setup(
name='cloudify-rest-client',
version='4.0',
author='cosmo-admin',
author_email='cosmo-admin@gigaspaces.com',
packages=['cloudify_rest_client'],
license='LICENSE',
description='Cloudify REST client',
install_requires=[
'requests>=2.7.0,<3.0.0',
'requests_toolbelt'
]
)
|
Python
| 0
|
@@ -723,16 +723,18 @@
ion='4.0
+.1
',%0A a
|
b9b8a65234ba36c34a10db2b0f9fe0ee526dea70
|
Bump version in setup.py
|
setup.py
|
setup.py
|
'''
Setup File
'''
from setuptools import setup
import multiprocessing
setup(name='cmd_utils',
version='0.3.0',
description='Wrapper for subprocess.Popen and paramiko',
long_description=('Wrapper for subprocess.Popen and paramiko '
'to allow easy running of commands locally and '
'remotely with error handling'),
classifiers=[
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Developers',
'Operating System :: Unix',
'License :: OSI Approved :: MIT License',
],
keywords='cmd shell ssh command run paramiko',
url='https://github.com/graze/pycmd-utils',
author='Mark Egan-Fuller',
author_email='mark.eganfuller@graze.com',
license='MIT',
packages=['cmd_utils'],
zip_safe=False,
install_requires=["paramiko"],
test_suite='nose.collector',
tests_require=['nose']
)
|
Python
| 0
|
@@ -106,17 +106,17 @@
sion='0.
-3
+4
.0',%0A
@@ -431,16 +431,15 @@
::
-3 - Alph
+4 - Bet
a',%0A
|
4a0574329003f5cdbfc66dac948b2f6a6f10ea05
|
long_description should be read from README, not README.md
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import os
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='blah',
version='0.1.2',
description='Thin wrapper around source control systems',
long_description=read("README.md"),
author='Michael Williamson',
url='http://github.com/mwilliamson/blah',
scripts=["scripts/blah"],
packages=['blah'],
)
|
Python
| 0.999815
|
@@ -293,11 +293,8 @@
ADME
-.md
%22),%0A
|
dc6df0448d9a7f921c7dc078eecbb6d65fc29320
|
Bump version to 0.0.6
|
setup.py
|
setup.py
|
from setuptools import setup
version = '0.0.5'
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
long_description = open('README.md').read()
setup(name='falcon-autocrud',
version=version,
description='Makes RESTful CRUD easier',
long_description=long_description,
url='https://bitbucket.org/garymonson/falcon-autocrud',
author='Gary Monson',
author_email='gary.monson@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Topic :: Database :: Front-Ends',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
],
keywords='falcon crud rest database',
packages=['falcon_autocrud'],
install_requires=[
'falcon',
'falconjsonio',
'sqlalchemy',
],
zip_safe=False)
|
Python
| 0.000001
|
@@ -42,9 +42,9 @@
0.0.
-5
+6
'%0A%0At
|
0691678ba97930ab3073c166e4c4fd9c33bc94a4
|
Update requirements
|
setup.py
|
setup.py
|
"""
WTForms-Alchemy
---------------
Generates WTForms forms from SQLAlchemy models.
"""
from setuptools import setup, Command
import subprocess
import sys
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
errno = subprocess.call(['py.test'])
raise SystemExit(errno)
PY3 = sys.version_info[0] == 3
extras_require = {
'test': [
'pytest==2.2.3',
'Pygments>=1.2',
'Jinja2>=2.3',
'docutils>=0.10',
'flexmock>=0.9.7',
'psycopg2>=2.4.6',
'WTForms-Test>=0.1.1'
],
'babel': ['Babel>=1.3'],
'arrow': ['arrow>=0.3.4'],
'phone': [
# The phonenumbers library has a split for 2.x and 3.x support.
'phonenumbers3k==5.6b1' if PY3 else 'phonenumbers<5.6b1'
],
'password': ['passlib >= 1.6, < 2.0'],
'color': ['colour>=0.0.4'],
'i18n': ['SQLAlchemy-i18n >= 0.6.3'],
'ipaddress': ['ipaddr'] if not PY3 else [],
'timezone': ['python-dateutil']
}
# Add all optional dependencies to testing requirements.
for name, requirements in extras_require.items():
if name != 'test':
extras_require['test'] += requirements
setup(
name='WTForms-Alchemy',
version='0.11.0',
url='https://github.com/kvesteri/wtforms-alchemy',
license='BSD',
author='Konsta Vesterinen',
author_email='konsta@fastmonkeys.com',
description='Generates WTForms forms from SQLAlchemy models.',
long_description=__doc__,
packages=['wtforms_alchemy'],
zip_safe=False,
include_package_data=True,
platforms='any',
install_requires=[
'SQLAlchemy>=0.8.0',
'WTForms>=1.0.4',
'WTForms-Components>=0.8.1',
'SQLAlchemy-Utils>=0.19.0',
'six>=1.4.1',
'ordereddict>=1.1'
if sys.version_info[0] == 2 and sys.version_info[1] < 7 else '',
],
extras_require=extras_require,
cmdclass={'test': PyTest},
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
|
Python
| 0
|
@@ -861,24 +861,63 @@
6b1'%0A %5D,%0A
+ 'intervals': %5B'intervals%3E=0.2.0'%5D,%0A
'passwor
@@ -1810,11 +1810,11 @@
%3E=0.
-8.1
+9.0
',%0A
@@ -1845,12 +1845,12 @@
%3E=0.
-19.0
+23.1
',%0A
|
db35f8b1fb5404bd7855ebcaed06d088607a8df3
|
Fix architectures missing target resolution
|
pwndbg/disasm/__init__.py
|
pwndbg/disasm/__init__.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Functionality for disassmebling code at an address, or at an
address +/- a few instructions.
"""
import collections
import gdb
import pwndbg.arch
import pwndbg.disasm.mips
import pwndbg.disasm.arm
import pwndbg.disasm.ppc
import pwndbg.disasm.x86
import pwndbg.disasm.jump
import pwndbg.disasm.sparc
import pwndbg.ida
import pwndbg.memory
import pwndbg.symbol
import pwndbg.memoize
import pwndbg.jump
import capstone
from capstone import *
Instruction = collections.namedtuple('Instruction', ['address', 'length', 'asm', 'target'])
disassembler = None
last_arch = None
CapstoneArch = {
'arm': Cs(CS_ARCH_ARM, CS_MODE_ARM),
'aarch64': Cs(CS_ARCH_ARM64, CS_MODE_ARM),
'i386': Cs(CS_ARCH_X86, CS_MODE_32),
'x86-64': Cs(CS_ARCH_X86, CS_MODE_64),
'powerpc': Cs(CS_ARCH_PPC, CS_MODE_32),
'mips': Cs(CS_ARCH_MIPS, CS_MODE_32),
'sparc': Cs(CS_ARCH_SPARC, 0),
}
for cs in CapstoneArch.values():
cs.detail = True
# For variable-instruction-width architectures
# (x86 and amd64), we keep a cache of instruction
# sizes, and where the end of the instruction falls.
#
# This allows us to consistently disassemble backward.
VariableInstructionSizeMax = {
'i386': 16,
'x86-64': 16,
}
backward_cache = {}
def get_target(instruction):
"""
Make a best effort to determine what value or memory address
is important in a given instruction. For example:
- Any single-operand instruction ==> that value
- push rax ==> evaluate rax
- Jump or call ==> target address
- jmp rax ==> evaluate rax
- jmp 0xdeadbeef ==> deadbeef
- Memory load or store ==> target address
- mov [eax], ebx ==> evaluate eax
- Register move ==> source value
- mov eax, ebx ==> evaluate ebx
- Register manipulation ==> value after execution*
- lea eax, [ebx*4] ==> evaluate ebx*4
Register arguments are only evaluated for the next instruction.
Returns:
A tuple containing the resolved value (or None) and
a boolean indicating whether the value is a constant.
"""
return {
'i386': pwndbg.disasm.x86.resolve,
'x86-64': pwndbg.disasm.x86.resolve
}.get(pwndbg.arch.current, lambda *a: None)(instruction)
def get_disassembler(pc):
arch = pwndbg.arch.current
d = CapstoneArch[arch]
if arch in ('arm', 'aarch64'):
d.mode = {0:CS_MODE_ARM,1:CS_MODE_THUMB}[pc & 1]
else:
d.mode = {4:CS_MODE_32, 8:CS_MODE_64}[pwndbg.arch.ptrsize]
return d
def get_one_instruction(address):
md = get_disassembler(address)
size = VariableInstructionSizeMax.get(pwndbg.arch.current, 4)
data = pwndbg.memory.read(address, size, partial=True)
for ins in md.disasm(bytes(data), address, 1):
ins.target, ins.target_constant = get_target(ins)
return ins
def one(address=None):
if address is None:
address = pwndbg.regs.pc
for insn in get(address, 1):
return insn
def fix(i):
for op in i.operands:
if op.type == CS_OP_IMM and op.va:
i.op_str = i.op_str.replace()
return i
def get(address, instructions=1):
address = int(address)
# Dont disassemble if there's no memory
if not pwndbg.memory.peek(address):
return []
retval = []
for _ in range(instructions):
i = get_one_instruction(address)
if i is None:
break
backward_cache[address+i.size] = address
address += i.size
retval.append(i)
return retval
def near(address, instructions=1):
# # If we have IDA, we can just use it to find out where the various
# # isntructions are.
# if pwndbg.ida.available():
# head = address
# for i in range(instructions):
# head = pwndbg.ida.PrevHead(head)
# retval = []
# for i in range(2*instructions + 1):
# retval.append(get(head))
# head = pwndbg.ida.NextHead(head)
# See if we can satisfy the request based on the instruction
# length cache.
needle = address
insns = []
while len(insns) < instructions and needle in backward_cache:
needle = backward_cache[needle]
insn = one(needle)
if not insn:
return insns
insns.insert(0, insn)
current = one(address)
if not current:
return insns
target = current.target
if not pwndbg.disasm.jump.is_jump_taken(current):
target = current.address + current.size
backward_cache[target] = address
insns.append(current)
insns.extend(get(target, instructions))
return insns
|
Python
| 0.002634
|
@@ -2278,20 +2278,27 @@
bda *a:
+(
None
+,None)
)(instru
|
c19e1c4e0597203283ae7c9d706389a12b1d15cf
|
Generate the long description of the project for pypi.
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import distutils.sysconfig, os
# from distutils.core import Extension
from setuptools import Extension, setup
# Work around the problem with the warning about '-Wstrict-prototypes'.
# https://bugs.python.org/issue1222585
config_vars = distutils.sysconfig.get_config_vars()
opt_to_remove = '-Wstrict-prototypes'
for var in ['OPT']:
if var in config_vars:
opts = config_vars[var].split()
if opt_to_remove in opts:
opts.remove(opt_to_remove)
config_vars[var] = ' '.join(opts)
z80_emulator_module = Extension(
name='z80._z80',
extra_compile_args=['-std=c++11', '-Wall', '-fno-exceptions', '-fno-rtti',
'-O3',
# '-S', '-fverbose-asm', # TODO
],
sources=['z80/_z80module.cpp'],
language='c++')
# TODO: Update the URL once we have a published documentation.
# TODO: Do we have a name for the emulator?
setup(name='z80',
version='0.1a0',
description='Fast and flexible i8080/Z80 Emulator',
# TODO: long_description=...
author='Ivan Kosarev',
author_email='ivan@kosarev.info',
url='https://github.com/kosarev/z80',
license='MIT',
ext_modules=[z80_emulator_module],
packages=['z80'],
install_requires=[],
entry_points={
'console_scripts': [
'z80 = z80:main',
],
},
# TODO: test_suite='test',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: Education',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: C++',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries',
'Topic :: System :: Emulators',
],
)
|
Python
| 0.999988
|
@@ -67,17 +67,38 @@
ysconfig
-,
+%0Aimport inspect%0Aimport
os%0A# fr
@@ -173,16 +173,189 @@
setup%0A%0A
+%0Ahere = os.path.abspath(os.path.dirname(inspect.getsource(lambda: 0)))%0A%0Awith open(os.path.join(here, 'README.md'), encoding='utf-8') as f:%0A long_description = f.read()%0A%0A%0A
# Work a
@@ -987,24 +987,25 @@
+
%5D,%0A sourc
@@ -1264,24 +1264,16 @@
',%0A
- # TODO:
long_de
@@ -1286,11 +1286,25 @@
ion=
-...
+long_description,
%0A
|
ff0f963fc1003406db1ef761698b8eedc576d64e
|
Update entrio link
|
ui/ctx.py
|
ui/ctx.py
|
from random import shuffle
from django.contrib.staticfiles.templatetags.staticfiles import static
from django.urls import reverse
from config.utils import get_active_event
from sponsors.choices import SPONSOR_TYPES
from sponsors.models import Sponsor
from usergroups.models import UserGroup
def navigation(request):
return {
"navigation": [
("Info", "/info/"),
("Venue", "/venue/"),
# ("Talks", reverse('talks_list_talks')),
# ("Schedule", reverse('schedule_list_schedule')),
("News", reverse('blog_list_posts')),
# ("Jobs", reverse('jobs_list_jobs')),
("Code", "/code/"),
("Team", "/team/"),
]
}
def sponsors(request):
active = Sponsor.objects.active()
diamond = active.filter(type=SPONSOR_TYPES.DIAMOND).order_by('id')
track = active.filter(type=SPONSOR_TYPES.TRACK).order_by('id')
foodanddrinks = active.filter(type=SPONSOR_TYPES.FOOD_AND_DRINKS).order_by('id')
standard = active.filter(type=SPONSOR_TYPES.STANDARD).order_by('id')
supporter = active.filter(type=SPONSOR_TYPES.SUPPORTER).order_by('id')
mainmedia = active.filter(type=SPONSOR_TYPES.MAIN_MEDIA).order_by('order')
media = active.filter(type=SPONSOR_TYPES.MEDIA).order_by('order')
return {
"sponsors": {
'diamond': diamond,
'track': track,
'foodanddrinks': foodanddrinks,
'standard': standard,
'supporter': supporter,
'mainmedia': mainmedia,
'media': media
}
}
def usergroups(request):
return {
"usergroups": UserGroup.objects.order_by("name").filter(is_active=True)
}
def event(request):
event = get_active_event()
return {
'event': event,
'cfp': event.get_cfp(),
}
def webcamp(request):
"""Conference-related strings"""
# TODO: move to database?
abs_uri = request.build_absolute_uri
return {
"base_url": abs_uri('/').rstrip('/'),
"links": {
"sponsors_pdf": abs_uri('/media/wczg_2017_sponsors_brochure.pdf'),
"volunteer_application": "http://goo.gl/forms/1LYfr3TEGs",
"entrio": "https://www.entrio.hr/en/event/webcamp-zagreb-2016-3213",
"facebook": "https://www.facebook.com/WebCampZg/",
"twitter": "https://twitter.com/webcampzagreb/",
"youtube": "https://www.youtube.com/user/WebCampZg",
"linkedin": "https://www.linkedin.com/company-beta/6397140/",
"github": "https://github.com/webcampzg",
"google_plus": "https://plus.google.com/+WebcampzgOrgHR",
},
"webcamp": {
"og_image": {
"url": abs_uri(static("images/og-image.png")),
"width": 1200,
"height": 630
}
}
}
def team(request):
team = [
{
"name": "Luka Mužinić",
"image": "images/team/luka.jpg",
"twitter": "lmuzinic",
"job": "Glorious leader"
},
{
"name": "Maja Trepšić",
"image": "images/team/maja.jpg",
"twitter": "",
"job": "Speaker herder",
},
{
"name": "Martina Dumančić",
"image": "images/team/martina.jpg",
"twitter": "",
"job": "Procurement",
},
{
"name": "Nikola Plejić",
"image": "images/team/nikola.jpg",
"twitter": "nikolaplejic",
"job": "Sponsor wrangler",
},
{
"name": "Filip Gjurin",
"image": "images/team/filip.jpg",
"twitter": "FilipGjurin",
"job": "Graphic design",
},
{
"name": "Ivan Habunek",
"image": "images/team/ivan.jpg",
"twitter": "ihabunek",
"job": "Tech support"
},
]
shuffle(team)
return {
"team": team
}
|
Python
| 0
|
@@ -2280,14 +2280,14 @@
-201
-6-3213
+7-4261
%22,%0A
|
2e25125904c94fa7250f6a8a0f4de4e2c463644b
|
Update Chapter04/reverseCipher.py added docstring and wrapped in main() function
|
books/CrackingCodesWithPython/Chapter04/reverseCipher.py
|
books/CrackingCodesWithPython/Chapter04/reverseCipher.py
|
# Reverse Cipher
# https://www.nostarch.com/crackingcodes/ (BSD Licensed)
# Note: pretty much the same, except I use double quotes,
# expand variable names for readability, simplify the while loop,
# and use fancier operators
message = "Three can keep a secret, if two of them are dead."
#message = input("Enter message: ") # Allow users to enter message
translated = ""
index = len(message)
while index:
index -= 1 # equivalent to index = index - 1
translated += message[index]
#print("index is", i, ", message[index] is", message[index], ", translated is", translated) #DEBUG
print(translated)
# Decrypt example
# Was going to make a function out of it so it's easier, but I
# didn't want to change it more than I already did. (^_^;)
#print(translated[::-1]) # a step of -1 reverses the string
|
Python
| 0
|
@@ -1,10 +1,11 @@
-#
+%22%22%22
Reverse
@@ -11,18 +11,17 @@
Cipher%0A
-#
+%0A
https://
@@ -71,17 +71,20 @@
ed)%0A
-#
+%0A
Note:
- p
+%0A P
rett
@@ -128,17 +128,19 @@
quotes,%0A
-#
+
expand
@@ -195,18 +195,16 @@
le loop,
-%0A#
and use
@@ -222,17 +222,38 @@
erators%0A
-%0A
+%22%22%22%0A%0A%0Adef main():%0A
message
@@ -306,16 +306,20 @@
dead.%22%0A
+
#message
@@ -378,16 +378,20 @@
message%0A
+
translat
@@ -399,16 +399,20 @@
d = %22%22%0A%0A
+
index =
@@ -424,16 +424,20 @@
essage)%0A
+
while in
@@ -441,16 +441,20 @@
index:%0A
+
inde
@@ -495,24 +495,28 @@
dex - 1%0A
+
+
translated +
@@ -532,16 +532,20 @@
%5Bindex%5D%0A
+
#pri
@@ -641,16 +641,20 @@
#DEBUG%0A%0A
+
print(tr
@@ -664,16 +664,20 @@
lated)%0A%0A
+
# Decryp
@@ -686,16 +686,20 @@
example%0A
+
# Was go
@@ -753,16 +753,20 @@
, but I%0A
+
# didn't
@@ -816,16 +816,20 @@
(%5E_%5E;)%0A
+
#print(t
@@ -881,8 +881,48 @@
string%0A
+%0A%0Aif __name__ == '__main__':%0A main()%0A
|
c24bab2ac07dcbcaf214fe396db7a154a0d3baec
|
Bump version
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# encoding: utf-8
import os
from setuptools import setup
def read_file(name):
filepath = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
name
)
data = open(filepath)
try:
return data.read()
except IOError:
print "could not read %r" % name
data.close()
PROJECT = 'moodlefuse'
VERSION = '0.2.0'
URL = 'http://github.com/brogand1993/MoodleFUSE'
AUTHOR = 'Darren Brogan'
AUTHOR_EMAIL = 'darren.brogan2@mail.dcu.ie'
DESC = "FUSE filesystem based on moodle implementation"
LONG_DESC = read_file('README.rst')
REQUIRES = [
'requests',
'fusepy',
'mechanize',
'selenium==2.45.0',
'beautifulsoup4',
'alembic',
'sqlalchemy',
'xvfbwrapper'
]
setup(
name=PROJECT,
version=VERSION,
description=DESC,
long_description=LONG_DESC,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=URL,
license='MIT License',
package_data={
'alembic': ['*.mako', 'versions/*']
},
packages=[
'tests',
'alembic',
'moodlefuse',
'tests.data',
'tests.courses',
'tests.resources',
'tests.courses.data',
'tests.resources.data',
'moodlefuse.moodle',
'moodlefuse.models',
'moodlefuse.filesystem',
'moodlefuse.models.users',
'moodlefuse.moodle.courses',
'moodlefuse.moodle.emulator',
'moodlefuse.moodle.resources',
'moodlefuse.filesystem.files',
'moodlefuse.moodle.assignments',
],
include_package_data=True,
zip_safe=False,
install_requires=REQUIRES,
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities',
'Programming Language :: Python :: 2.7',
],
entry_points="""
[console_scripts]
moodlefuse = moodlefuse.__main__:main
moodlefuse-configure = moodlefuse.configure:main
"""
)
|
Python
| 0
|
@@ -382,17 +382,17 @@
= '0.2.
-0
+1
'%0AURL =
|
d699cc1d34436c5bb53f008f7abf1f3325d2efa7
|
Bump flake8-bugbear from 20.11.1 to 21.3.1
|
setup.py
|
setup.py
|
from setuptools import setup
EXTRAS_REQUIRE = {
"tests": ["pytest", "mock"],
"lint": ["flake8==3.8.4", "flake8-bugbear==20.11.1", "pre-commit~=2.7"],
}
EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_REQUIRE["lint"] + ["tox"]
def read(fname):
with open(fname) as fp:
content = fp.read()
return content
setup(
name="marshmallow-oneofschema",
version="2.1.0",
description="marshmallow multiplexing schema",
long_description=read("README.rst"),
author="Maxim Kulkin",
author_email="maxim.kulkin@gmail.com",
maintainer="Steven Loria",
maintainer_email="sloria1@gmail.com",
url="https://github.com/marshmallow-code/marshmallow-oneofschema",
packages=["marshmallow_oneofschema"],
license="MIT",
keywords=[
"serialization",
"deserialization",
"json",
"marshal",
"marshalling",
"schema",
"validation",
"multiplexing",
"demultiplexing",
"polymorphic",
],
python_requires=">=3.6",
install_requires=["marshmallow>=3.0.0,<4.0.0"],
extras_require=EXTRAS_REQUIRE,
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
)
|
Python
| 0.000002
|
@@ -127,12 +127,11 @@
r==2
-0.11
+1.3
.1%22,
|
1b1ad61f2637acefa8b70a926e078f2e567cfd06
|
add a version check here too
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# Setup file for Kiwi
# Code by Async Open Source <http://www.async.com.br>
# setup.py written by Christian Reis <kiko@async.com.br>
# re-written various times by Johan Dahlin <jdahlin@async.com.br>
"""
kiwi offers a set of enhanced widgets for
Python based on PyGTK. It also includes a framework designed to make
creating Python applications using PyGTK and libglade much
simpler.
"""
from distutils.core import setup
from kiwi.dist import listfiles, listpackages, TemplateInstallLib, \
get_site_packages_dir
class InstallLib(TemplateInstallLib):
name = 'kiwi'
global_resources = dict(glade='$datadir/glade',
pixmap='$datadir/pixmaps')
version = ''
execfile("kiwi/__version__.py")
assert version
setup(name="kiwi",
version=".".join(map(str, version)),
description="A framework and a set of enhanced widgets based on PyGTK",
long_description=__doc__,
author="Async Open Source",
author_email="kiko@async.com.br",
url="http://www.async.com.br/projects/",
license="GNU LGPL 2.1 (see COPYING)",
data_files=[('share/kiwi/glade',
listfiles('glade', '*.glade')),
('share/kiwi/pixmaps',
listfiles('pixmaps', '*.png')),
('share/gazpacho/catalogs',
listfiles('gazpacho-plugin', 'kiwiwidgets.xml')),
('share/gazpacho/resources/kiwiwidgets',
listfiles('gazpacho-plugin', 'resources',
'kiwiwidgets', '*.png')),
(get_site_packages_dir('gazpacho', 'widgets'),
listfiles('gazpacho-plugin', 'kiwiwidgets.py')),
('share/doc/kiwi',
('AUTHORS', 'ChangeLog', 'NEWS', 'README')),
],
scripts=['bin/kiwi-i18n',
'bin/kiwi-ui-test'],
packages=listpackages('kiwi'),
cmdclass=dict(install_lib=InstallLib),
)
|
Python
| 0
|
@@ -438,16 +438,134 @@
setup%0A%0A
+try:%0A import gobject%0A import gtk%0Aexcept ImportError:%0A raise SystemExit(%22Kiwi requires PyGTK 2.8 or higher%22)%0A%0A
from kiw
|
2b06bfa93a476aa140539e6ad86fcc10bcd495e3
|
Bump version to 0.9a5
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name='reobject',
version='0.9a5',
description='Python without ifs and buts',
url='https://github.com/onyb/reobject',
author='Anirudha Bose',
author_email='ani07nov@gmail.com',
license='Apache-2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
keywords=['orm', 'python', 'object-oriented-programming', 'django'],
install_requires=[
'attrs>=17.2.0',
],
packages=find_packages(exclude=['tests', 'tests.*']),
)
|
Python
| 0
|
@@ -83,17 +83,17 @@
on='0.9a
-5
+6
',%0A d
|
3cac863dfbd4261a0429f2562bf1d8a1bc854d91
|
Bump version
|
setup.py
|
setup.py
|
# coding=utf-8
import sys
from setuptools import setup, find_packages
NAME = 'django-permission'
VERSION = '0.8.2'
def read(filename):
import os
BASE_DIR = os.path.dirname(__file__)
filename = os.path.join(BASE_DIR, filename)
with open(filename, 'r') as fi:
return fi.read()
def readlist(filename):
rows = read(filename).split("\n")
rows = [x.strip() for x in rows if x.strip()]
return list(rows)
# if we are running on python 3, enable 2to3 and
# let it use the custom fixers from the custom_fixers
# package.
extra = {}
if sys.version_info >= (3, 0):
extra.update(
use_2to3=True,
)
setup(
name=NAME,
version=VERSION,
description=('A enhanced permission system which enable logical permission'
'systems to complex permissions'),
long_description = read('README.rst'),
classifiers = (
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
),
keywords = 'django object logical permission auth authentication',
author = 'Alisue',
author_email = 'lambdalisue@hashnote.net',
url = 'https://github.com/lambdalisue/%s' % NAME,
download_url = 'https://github.com/lambdalisue/%s/tarball/master' % NAME,
license = 'MIT',
packages = find_packages('src'),
package_dir = {'': 'src'},
include_package_data = True,
package_data = {
'': ['README.rst',
'requirements.txt',
'requirements-test.txt',
'requirements-docs.txt'],
},
zip_safe=True,
install_requires=readlist('requirements.txt'),
test_suite='runtests.run_tests',
tests_require=readlist('requirements-test.txt'),
**extra
)
|
Python
| 0
|
@@ -106,17 +106,17 @@
= '0.8.
-2
+3
'%0A%0A%0Adef
|
b384c4e78b4549d99721b9eaf03ce16d8caba0d7
|
Build GPU extensions whenever CUDA_HOME is available (#911)
|
setup.py
|
setup.py
|
from __future__ import print_function
import os
import io
import re
import sys
from setuptools import setup, find_packages
from pkg_resources import get_distribution, DistributionNotFound
import subprocess
import distutils.command.clean
import glob
import shutil
import torch
from torch.utils.cpp_extension import CppExtension, CUDAExtension, CUDA_HOME
def read(*names, **kwargs):
with io.open(
os.path.join(os.path.dirname(__file__), *names),
encoding=kwargs.get("encoding", "utf8")
) as fp:
return fp.read()
def get_dist(pkgname):
try:
return get_distribution(pkgname)
except DistributionNotFound:
return None
version = '0.2.3a0'
sha = 'Unknown'
package_name = os.getenv('TORCHVISION_PACKAGE_NAME', 'torchvision')
cwd = os.path.dirname(os.path.abspath(__file__))
try:
sha = subprocess.check_output(['git', 'rev-parse', 'HEAD'], cwd=cwd).decode('ascii').strip()
except Exception:
pass
if os.getenv('TORCHVISION_BUILD_VERSION'):
assert os.getenv('TORCHVISION_BUILD_NUMBER') is not None
build_number = int(os.getenv('TORCHVISION_BUILD_NUMBER'))
version = os.getenv('TORCHVISION_BUILD_VERSION')
if build_number > 1:
version += '.post' + str(build_number)
elif sha != 'Unknown':
version += '+' + sha[:7]
print("Building wheel {}-{}".format(package_name, version))
def write_version_file():
version_path = os.path.join(cwd, 'torchvision', 'version.py')
with open(version_path, 'w') as f:
f.write("__version__ = '{}'\n".format(version))
f.write("git_version = {}\n".format(repr(sha)))
write_version_file()
readme = open('README.rst').read()
pytorch_package_name = os.getenv('TORCHVISION_PYTORCH_DEPENDENCY_NAME', 'torch')
requirements = [
'numpy',
'six',
pytorch_package_name,
]
pillow_ver = ' >= 4.1.1'
pillow_req = 'pillow-simd' if get_dist('pillow-simd') is not None else 'pillow'
requirements.append(pillow_req + pillow_ver)
def get_extensions():
this_dir = os.path.dirname(os.path.abspath(__file__))
extensions_dir = os.path.join(this_dir, 'torchvision', 'csrc')
main_file = glob.glob(os.path.join(extensions_dir, '*.cpp'))
source_cpu = glob.glob(os.path.join(extensions_dir, 'cpu', '*.cpp'))
source_cuda = glob.glob(os.path.join(extensions_dir, 'cuda', '*.cu'))
sources = main_file + source_cpu
extension = CppExtension
define_macros = []
if torch.cuda.is_available() and CUDA_HOME is not None:
extension = CUDAExtension
sources += source_cuda
define_macros += [('WITH_CUDA', None)]
sources = [os.path.join(extensions_dir, s) for s in sources]
include_dirs = [extensions_dir]
ext_modules = [
extension(
'torchvision._C',
sources,
include_dirs=include_dirs,
define_macros=define_macros,
)
]
return ext_modules
class clean(distutils.command.clean.clean):
def run(self):
with open('.gitignore', 'r') as f:
ignores = f.read()
for wildcard in filter(None, ignores.split('\n')):
for filename in glob.glob(wildcard):
try:
os.remove(filename)
except OSError:
shutil.rmtree(filename, ignore_errors=True)
# It's an old-style class in Python 2.7...
distutils.command.clean.clean.run(self)
setup(
# Metadata
name=package_name,
version=version,
author='PyTorch Core Team',
author_email='soumith@pytorch.org',
url='https://github.com/pytorch/vision',
description='image and video datasets and models for torch deep learning',
long_description=readme,
license='BSD',
# Package info
packages=find_packages(exclude=('test',)),
zip_safe=True,
install_requires=requirements,
extras_require={
"scipy": ["scipy"],
},
ext_modules=get_extensions(),
cmdclass={'build_ext': torch.utils.cpp_extension.BuildExtension, 'clean': clean}
)
|
Python
| 0.000014
|
@@ -2428,38 +2428,8 @@
if
-torch.cuda.is_available() and
CUDA
|
8a080e6d6bd7833fa25bffc520fae5f093b206a8
|
Add the glclient-build script to the scripts installed by setup.py
|
setup.py
|
setup.py
|
#!/usr/bin/env python
#-*- coding: utf-8 -*-
import os
import re
import sys
import shutil
import hashlib
import urllib2
from zipfile import ZipFile
from distutils.core import setup
from globaleaks import __version__
def pip_to_requirements(s):
"""
Change a PIP-style requirements.txt string into one suitable for setup.py
"""
m = re.match('(.*)([>=]=[.0-9]*).*', s)
if m:
return '%s (%s)' % (m.group(1), m.group(2))
return s.strip()
if not sys.version_info[:2] == (2, 7):
print "Error, GlobaLeaks is tested only with python 2.7"
print "https://github.com/globaleaks/GlobaLeaks/wiki/Technical-requirements"
raise AssertionError
glclient_path = 'glclient-v'+__version__
def download_glclient():
glclient_url = "https://globaleaks.org/builds/GLClient/"+glclient_path+".zip"
print "[+] Downloading glclient from %s" % glclient_url
o = open('glclient.zip', 'w+')
f = urllib2.urlopen(glclient_url)
o.write(f.read())
o.close()
print " ...done."
def verify_glclient():
print "[+] Checking GLClient hash..."
glclient_hash = "37220282d62e1ea916935d0d791981ea92310a371d6b2d2413d5c6af"
with open('glclient.zip') as f:
h = hashlib.sha224(f.read()).hexdigest()
if not h == glclient_hash:
raise Exception("%s != %s" % (h, glclient_hash))
print " ...success."
def uncompress_glclient(glclient_path):
print "[+] Uncompressing GLClient..."
zipfile = ZipFile('glclient.zip')
zipfile.extractall()
os.unlink('glclient.zip')
shutil.move(glclient_path, 'glclient')
print " ...done."
# remind ask to evilaliv3: why is here this function ?
def build_glclient():
print "[+] Building GLClient..."
os.chdir(glclient_path)
os.system("npm install -d")
os.system("grunt build")
os.chdir('..')
print " ...done."
def get_requires():
with open('requirements.txt') as f:
requires = map(pip_to_requirements, f.readlines())
return requires
if not os.path.isdir(os.path.abspath(os.path.join(os.path.dirname(__file__), 'glclient'))):
download_glclient()
verify_glclient()
uncompress_glclient(glclient_path)
glclient_path = 'glclient'
data_files = [
('/usr/share/globaleaks/glclient', [
os.path.join(glclient_path, 'index.html'),
os.path.join(glclient_path, 'styles.css'),
os.path.join(glclient_path, 'scripts.js'),
]),
('/usr/share/globaleaks/glclient/images', [
os.path.join(glclient_path, 'images', 'flags.png'),
os.path.join(glclient_path, 'images', 'glyphicons-halflings.png'),
os.path.join(glclient_path, 'images', 'glyphicons-halflings-white.png')
]),
('/usr/share/globaleaks/glbackend', [
'requirements.txt',
'staticdata/favicon.ico',
'staticdata/robots.txt',
'staticdata/globaleaks_logo.png',
'staticdata/default-profile-picture.png'
])
]
setup(
name="globaleaks",
version = __version__,
author="Random GlobaLeaks developers",
author_email = "info@globaleaks.org",
url="https://globaleaks.org/",
package_dir={'globaleaks': 'globaleaks'},
package_data = {'globaleaks': ['db/sqlite.sql', 'db/default_TNT.txt',
'db/default_CNT.txt', 'db/default_FNT.txt']},
packages=['globaleaks', 'globaleaks.db', 'globaleaks.handlers',
'globaleaks.jobs', 'globaleaks.plugins',
'globaleaks.rest', 'globaleaks.third_party', 'globaleaks.third_party.rstr'],
data_files=data_files,
scripts=["bin/globaleaks"],
requires = get_requires(),
)
|
Python
| 0
|
@@ -3529,16 +3529,42 @@
baleaks%22
+, %22scripts/glclient-build%22
%5D,%0A r
|
4f2761011f170cf978fd77b9b25c754d158f88b9
|
bump version
|
setup.py
|
setup.py
|
# Copyright (c) 2009, Rotem Yaari <vmalloc@gmail.com>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# * Neither the name of organization nor the
# names of its contributors may be used to endorse or promote products
# derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY Rotem Yaari ''AS IS'' AND ANY
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL Rotem Yaari BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
from setuptools import setup
setup(name="git-py",
description="Python bindings for the Git source control system",
author="Rotem Yaari",
author_email="vmalloc@gmail.com",
version="1.0.1",
install_requires=["infi.execute>=0.1", "six"],
packages=["gitpy"],
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers = [
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Python Software Foundation License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
],)
|
Python
| 0
|
@@ -1728,17 +1728,17 @@
on=%221.0.
-1
+2
%22,%0A
|
f968629f36516df4134a06d0a439bc57e4457cd6
|
remove platform dependence
|
setup.py
|
setup.py
|
import os
from distutils.util import get_platform
import numpy as np
from Cython.Distutils import build_ext
from setuptools import Extension, find_packages, setup
platform = get_platform()
if platform.startswith("win"):
extra_compile_args = []
extra_link_args = []
else:
extra_compile_args = [
"-fPIC",
"-m64",
"-fopenmp",
"-march=native",
"-O3",
"-ftree-vectorizer-verbose=2",
"-Wl,--no-as-needed",
]
extra_link_args = ["-shared"]
ext_modules = []
for shape in ["cylinder", "slit"]:
pkg = f"pymwm.{shape}.utils.{shape}_utils"
basename = os.path.join("pymwm", shape, "utils", f"{shape}_utils")
ext_modules.append(
Extension(
pkg,
sources=[basename + ".pyx"],
depends=[basename + ".pxd"],
include_dirs=[np.get_include(), "."],
extra_compile_args=extra_compile_args,
extra_link_args=extra_link_args,
libraries=[],
language="c++",
)
)
setup(
name="pymwm",
version="0.1.2",
url="https://github.com/mnishida/PyMWM",
license="MIT",
author="Munehiro Nishida",
author_email="mnishida@hiroshima-u.ac.jp",
description="A metallic waveguide mode solver",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
zip_safe=False,
packages=find_packages(),
setup_requires=["cython", "numpy", "scipy"],
install_requires=[line.strip() for line in open("requirements.txt").readlines()],
python_requires=">=3.7",
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering",
],
keywords="metallic waveguide mode, electromagnetism",
ext_modules=ext_modules,
cmdclass={"build_ext": build_ext},
)
|
Python
| 0
|
@@ -6,48 +6,8 @@
t os
-%0Afrom distutils.util import get_platform
%0A%0Aim
@@ -122,353 +122,8 @@
up%0A%0A
-platform = get_platform()%0Aif platform.startswith(%22win%22):%0A extra_compile_args = %5B%5D%0A extra_link_args = %5B%5D%0Aelse:%0A extra_compile_args = %5B%0A %22-fPIC%22,%0A %22-m64%22,%0A %22-fopenmp%22,%0A %22-march=native%22,%0A %22-O3%22,%0A %22-ftree-vectorizer-verbose=2%22,%0A %22-Wl,--no-as-needed%22,%0A %5D%0A extra_link_args = %5B%22-shared%22%5D%0A
ext_
@@ -426,24 +426,24 @@
+ %22.pxd%22%5D,%0A
+
@@ -484,158 +484,8 @@
%22%5D,%0A
- extra_compile_args=extra_compile_args,%0A extra_link_args=extra_link_args,%0A libraries=%5B%5D,%0A language=%22c++%22,%0A
|
d4ad94d1e78de00bb047359f5056a5a5cf41df49
|
remove analysis package from install script
|
setup.py
|
setup.py
|
__author__ = 'lobocv'
import os
from setuptools import setup
from anonymoususage import __version__
setup(
name='anonymoususage',
packages=['anonymoususage', 'anonymoususage.tables', 'anonymoususage.analysis'], # this must be the same as the name above
version=__version__,
description='Anonymously track user usage patterns and statistics.',
author='Calvin Lobo',
author_email='calvinvlobo@gmail.com',
url='https://github.com/lobocv/anonymoususage',
download_url='https://github.com/lobocv/anonymoususage/tarball/%s' % __version__,
keywords=['logging', 'usage', 'tracking', 'statistics', 'anonymous'],
classifiers=[],
install_requires=[]
)
|
Python
| 0
|
@@ -189,35 +189,8 @@
les'
-, 'anonymoususage.analysis'
%5D,
|
9e7ce48bfb2d9b6f7bfb881b8b587d2ae730f8e2
|
Bump version to 0.4.1
|
setup.py
|
setup.py
|
import sys
import os.path
import setuptools
MISC_DIR = "misc"
REQUIREMENT_DIR = "requirements"
needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv)
pytest_runner = ["pytest-runner"] if needs_pytest else []
with open("README.rst") as fp:
long_description = fp.read()
with open(os.path.join(MISC_DIR, "summary.txt")) as f:
summary = f.read()
with open(os.path.join(REQUIREMENT_DIR, "requirements.txt")) as f:
install_requires = [line.strip() for line in f if line.strip()]
with open(os.path.join(REQUIREMENT_DIR, "test_requirements.txt")) as f:
tests_require = [line.strip() for line in f if line.strip()]
setuptools.setup(
name="pingparsing",
version="0.4.0",
author="Tsuyoshi Hombashi",
author_email="gogogo.vm@gmail.com",
url="https://github.com/thombashi/pingparsing",
keywords=["ping", "parser", "transmitter"],
license="MIT License",
description=summary,
long_description=long_description,
include_package_data=True,
install_requires=install_requires,
packages=setuptools.find_packages(exclude=["test*"]),
setup_requires=pytest_runner,
tests_require=tests_require,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Networking",
],
)
|
Python
| 0.000001
|
@@ -1,13 +1,126 @@
-import sy
+# encoding: utf-8%0A%0A%22%22%22%0A.. codeauthor:: Tsuyoshi Hombashi %3Cgogogo.vm@gmail.com%3E%0A%22%22%22%0A%0Afrom __future__ import unicode_literal
s%0Aim
@@ -132,16 +132,28 @@
os.path%0A
+import sys%0A%0A
import s
@@ -822,17 +822,17 @@
on=%220.4.
-0
+1
%22,%0A a
@@ -1383,24 +1383,79 @@
evelopers%22,%0A
+ %22Intended Audience :: Information Technology%22,%0A
%22Lic
|
5743d23a7d49b121c44e9001772067d0f636e31d
|
Version bump to 0.4.0
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='impermium',
version='0.3.1',
author='David Cramer',
author_email='dcramer@gmail.com',
url='http://github.com/disqus/impermium-python',
description = 'Impermium API bindings for Python',
packages=find_packages(),
zip_safe=False,
install_requires=[
'simplejson',
],
tests_require=[
'mock',
'unittest2',
],
test_suite='unittest2.collector',
include_package_data=True,
classifiers=[
'Framework :: Django',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Topic :: Software Development'
],
)
|
Python
| 0
|
@@ -109,11 +109,11 @@
='0.
-3.1
+4.0
',%0A
|
93c866cc0c815bf7c4f4eabd50274a474bd98ad4
|
Tweak setup.py so that it may run even when fired from different locations, as suggested by Maarten Damen.
|
setup.py
|
setup.py
|
#!/usr/bin/python
from os.path import isfile, join
import glob
import os
import re
from setuptools import setup
if isfile("MANIFEST"):
os.unlink("MANIFEST")
VERSION = re.search('__version__ = "([^"]+)"',
open("dateutil/__init__.py").read()).group(1)
setup(name="python-dateutil",
version = VERSION,
description = "Extensions to the standard python 2.3+ datetime module",
author = "Gustavo Niemeyer",
author_email = "gustavo@niemeyer.net",
url = "http://labix.org/python-dateutil",
license = "PSF License",
long_description =
"""\
The dateutil module provides powerful extensions to the standard
datetime module, available in Python 2.3+.
""",
packages = ["dateutil", "dateutil.zoneinfo"],
package_data={"": ["*.tar.gz"]},
include_package_data=True,
zip_safe=False,
)
|
Python
| 0
|
@@ -159,16 +159,58 @@
EST%22)%0A%0A%0A
+TOPDIR = os.path.dirname(__file__) or %22.%22%0A
VERSION
@@ -273,17 +273,27 @@
open(
-%22
+TOPDIR + %22/
dateutil
|
a9bdeadeefee0e107a6d86fb055d3a4c10f08d2f
|
更新setup.py
|
setup.py
|
setup.py
|
# encoding: UTF-8
'''
vn.py - By Traders, For Traders.
The vn.py project is an open-source quantitative trading framework
that is developed by traders, for traders.
The project is mainly written in Python and uses C++ for low-layer
and performance sensitive infrastructure.
Using the vn.py project, institutional investors and professional
traders, such as hedge funds, prop trading firms and investment banks,
can easily develop complex trading strategies with the Event Engine
Strategy Module, and automatically route their orders to the most
desired destinations, including equity, commodity, forex and many
other financial markets.
'''
import os
from setuptools import setup
import vnpy
def getSubpackages(name):
"""获取该模块下所有的子模块名称"""
splist = []
for dirpath, _dirnames, _filenames in os.walk(name):
if os.path.isfile(os.path.join(dirpath, '__init__.py')):
splist.append(".".join(dirpath.split(os.sep)))
return splist
setup(
name='vnpy',
version=vnpy.__version__,
author=vnpy.__author__,
author_email='vn.py@foxmail.com',
license='MIT',
url='http://www.vnpy.org',
description='A framework for developing quantitative trading programmes',
long_description = __doc__,
keywords='quant quantitative investment trading algotrading',
classifiers=['Development Status :: 4 - Beta',
'Environment :: Quantiative Trading',
'Operating System :: Windows 7',
'Operating System :: Windows 8',
'Operating System :: Windows 10',
'Operating System :: Windows Server 2008',
'Programming Language :: Python :: 2.7',
'License :: OSI Approved :: MIT License'],
packages=getSubpackages('vnpy'),
package_data={'': ['*.json', '*.md', '*.ico',
'*.h', '*.cpp', '*.bash', '*.txt',
'*.dll', '*.lib', '*.so', '*.pyd',
'*.dat', '*.ini', '*.pfx', '*.scc', '*.crt', '*.key']},
)
|
Python
| 0.000001
|
@@ -1189,17 +1189,17 @@
eloping
-q
+Q
uantitat
@@ -1198,25 +1198,25 @@
uantitative
-t
+T
rading progr
@@ -1398,42 +1398,61 @@
'
-Environment :: Quantiative Trading
+Operating System :: Microsoft :: Windows :: Windows 7
',%0A
@@ -1484,33 +1484,57 @@
g System ::
-Windows 7
+Microsoft :: Windows :: Windows 8
',%0A
@@ -1558,33 +1558,58 @@
g System ::
-Windows 8
+Microsoft :: Windows :: Windows 10
',%0A
@@ -1641,78 +1641,237 @@
::
-Windows 10',%0A 'Operating System
+Microsoft :: Windows :: Windows Server 2008',%0A 'Programming Language :: Python :: 2',%0A 'Programming Language :: Python :: 2.7',%0A 'Topic :: Office/Business
::
-Windows Server 2008
+Financial :: Investment
',%0A
@@ -1913,35 +1913,57 @@
ge :: Python ::
-2.7
+Implementation :: CPython
',%0A
|
dd1bb5d8d00c676fef91ce7d3f58cd7af44f854f
|
Bump version to 2.0.0
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read().replace('.. :changelog:', '')
requirements = [
# TODO: put package requirements here
]
test_requirements = [
# TODO: put package test requirements here
]
setup(
name='months',
version='1.1.0',
description="Python library for representing specific months",
long_description=readme + '\n\n' + history,
author="Kyle Stark",
author_email='kstarked@gmail.com',
url='https://github.com/kstark/months',
packages=[
'months',
],
package_dir={'months':
'months'},
include_package_data=True,
install_requires=requirements,
license="MIT",
zip_safe=False,
keywords='months',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
test_suite='tests',
tests_require=test_requirements
)
|
Python
| 0
|
@@ -495,11 +495,11 @@
on='
-1.1
+2.0
.0',
|
a8d1e8daf397f81d5692f9022859576973f48ae7
|
Bump version to 0.1.2
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import os
import platform
import subprocess
import tarfile
import shutil
try:
import sysconfig
except ImportError:
# Python 2.6
from distutils import sysconfig
from setuptools import setup
from distutils.extension import Extension
from distutils.command.build_ext import build_ext
try:
from urllib import urlretrieve
except ImportError:
from urllib.request import urlretrieve
def path_in_dir(relative_path):
return os.path.join(os.path.dirname(__file__), relative_path)
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
tarball_path = path_in_dir("_jq-lib-1.4.tar.gz")
jq_lib_dir = path_in_dir("jq-jq-1.4")
class jq_build_ext(build_ext):
def run(self):
if os.path.exists(tarball_path):
os.unlink(tarball_path)
urlretrieve("https://github.com/stedolan/jq/archive/jq-1.4.tar.gz", tarball_path)
if os.path.exists(jq_lib_dir):
shutil.rmtree(jq_lib_dir)
tarfile.open(tarball_path, "r:gz").extractall(path_in_dir("."))
def command(args):
print("Executing: %s" % ' '.join(args))
subprocess.check_call(args, cwd=jq_lib_dir)
configure_args = ["CFLAGS=-fPIC"]
if os.path.exists('/usr/local/bin/brew') and os.path.exists('/usr/local/Cellar'):
print("Found Homebrew installation")
# Mac OS X with Homebrew
# Mac OS X usually ships with an old bison (yacc)
# E.g.: OS X 10.9 has bison 2.3, but jq requires bison >= 2.5
# Try to use Homebrew version of bison (3.0.3 as of this writing)
try:
yacc = subprocess.check_output("/usr/local/bin/brew ls bison | grep bin/yacc", shell=True).rstrip()
print("Found Homebrew yacc at %s" % yacc)
if yacc:
configure_args.append('YACC=' + yacc)
except subprocess.CalledProcessError:
print("No Homebrew yacc found")
macosx_deployment_target = sysconfig.get_config_var("MACOSX_DEPLOYMENT_TARGET")
if macosx_deployment_target:
os.environ['MACOSX_DEPLOYMENT_TARGET'] = macosx_deployment_target
command(["autoreconf", "-i"])
command(["./configure"] + configure_args)
command(["make"])
build_ext.run(self)
jq_extension = Extension(
"jq",
sources=["jq.c"],
include_dirs=[jq_lib_dir],
extra_objects=[os.path.join(jq_lib_dir, ".libs/libjq.a")],
)
setup(
name='jq',
version='0.1.1',
description='jq is a lightweight and flexible JSON processor.',
long_description=read("README.rst"),
author='Michael Williamson',
url='http://github.com/mwilliamson/jq.py',
license='BSD 2-Clause',
ext_modules = [jq_extension],
cmdclass={"build_ext": jq_build_ext},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
)
|
Python
| 0.000001
|
@@ -2578,17 +2578,17 @@
on='0.1.
-1
+2
',%0A d
|
972a4088a11c03e514ff9f75636166951561fe6d
|
Add copyright header to setup.py
|
setup.py
|
setup.py
|
#!/usr/bin/python
# -*- coding: utf-8 -*-
# vim: ai ts=4 sts=4 et sw=4
"""
Parse D-Bus introspection XML and process it in various ways
"""
from setuptools import setup, find_packages
import os
__version__ = '0.1.0'
README = open('README').read()
NEWS = open('NEWS').read()
setup(
name='dbus-deviation',
version=__version__,
packages=find_packages(exclude=['*.tests']),
include_package_data=True,
exclude_package_data={'': ['.gitignore']},
zip_safe=True,
setup_requires=[
'setuptools_git >= 0.3',
'setuptools_pep8',
],
install_requires=[],
tests_require=[],
entry_points={
'console_scripts': [
'dbus-interface-diff = dbusdeviation.utilities.diff:main',
],
},
author='Philip Withnall',
author_email='philip.withnall@collabora.co.uk',
description=__doc__,
long_description=README + '\n\n' + NEWS,
license='GPLv2+',
url='http://people.collabora.com/~pwith/dbus-deviation/',
test_suite='dbusdeviation.tests',
)
|
Python
| 0
|
@@ -63,16 +63,1113 @@
et sw=4
+%0A#%0A# Copyright %C2%A9 2015 Collabora Ltd.%0A#%0A# Permission is hereby granted, free of charge, to any person%0A# obtaining a copy of this software and associated documentation files%0A# (the %22Software%22), to deal in the Software without restriction,%0A# including without limitation the rights to use, copy, modify, merge,%0A# publish, distribute, sublicense, and/or sell copies of the Software,%0A# and to permit persons to whom the Software is furnished to do so,%0A# subject to the following conditions:%0A#%0A# The above copyright notice and this permission notice shall be%0A# included in all copies or substantial portions of the Software.%0A#%0A# THE SOFTWARE IS PROVIDED %22AS IS%22, WITHOUT WARRANTY OF ANY KIND,%0A# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF%0A# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND%0A# NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS%0A# BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN%0A# ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN%0A# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE%0A# SOFTWARE.
%0A%0A%22%22%22%0APa
|
b2640f0b9f9b36ab06066873bc8179842ae3bc24
|
Prepare openprocurement.api 2.3.36.
|
setup.py
|
setup.py
|
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
requires = [
'barbecue',
'chaussette',
'cornice',
'couchdb-schematics',
'gevent',
'iso8601',
'jsonpatch',
'libnacl',
'pbkdf2',
'pycrypto',
'pyramid_exclog',
'requests',
'rfc6266',
'setuptools',
'tzlocal',
]
test_requires = requires + [
'webtest',
'python-coveralls',
]
docs_requires = requires + [
'sphinxcontrib-httpdomain',
]
entry_points = {
'paste.app_factory': [
'main = openprocurement.api:main'
],
'openprocurement.api.plugins': [
'belowThreshold = openprocurement.api:includeme'
],
'openprocurement.api.migrations': [
'tenders = openprocurement.api.migration:migrate_data'
]
}
setup(name='openprocurement.api',
version='2.3.33',
description='openprocurement.api',
long_description=README,
classifiers=[
"Framework :: Pylons",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application"
],
keywords="web services",
author='Quintagroup, Ltd.',
author_email='info@quintagroup.com',
license='Apache License 2.0',
url='https://github.com/openprocurement/openprocurement.api',
package_dir={'': 'src'},
py_modules=['cgi'],
packages=find_packages('src'),
namespace_packages=['openprocurement'],
include_package_data=True,
zip_safe=False,
install_requires=requires,
tests_require=test_requires,
extras_require={'test': test_requires, 'docs': docs_requires},
test_suite="openprocurement.api.tests.main.suite",
entry_points=entry_points)
|
Python
| 0
|
@@ -933,17 +933,17 @@
n='2.3.3
-3
+6
',%0A
|
fe34a52f7aab7119c2aa8f69b0db914f33902d97
|
bump version before release (no refs)
|
setup.py
|
setup.py
|
from setuptools import find_packages, setup
setup(
name='opentopic-falcon-api',
version='0.3.5',
author='Tomasz Roszko',
author_email='tom@opentopic.com',
description='Base Library for services api endpoints',
url='http://git.opentopic.com/backend/falcon-api',
license='GNU GENERAL PUBLIC LICENSE',
platforms=['OS Independent'],
packages=find_packages(),
include_package_data=True,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.x',
],
install_requires=[
'falcon==1.0.0',
'mongoengine==0.10.6',
'SQLAlchemy==1.0.12',
'sphinx-rtd-theme==0.1.9'
],
)
|
Python
| 0
|
@@ -100,9 +100,9 @@
0.3.
-5
+6
',%0A
|
d3f7fa915d1b140633877c0881b33040bd5f6eb0
|
version bump
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name='volta',
version='0.0.42',
description='yandex package for mobile energy consumption measurements',
longer_description='''
yandex package for mobile energy consumption measurements
''',
maintainer='Alexey Lavrenuke (load testing)',
maintainer_email='direvius@yandex-team.ru',
url='https://github.com/yandex-load/volta',
packages=find_packages(exclude=["tests", "tmp", "docs", "data"]),
install_requires=[
'tornado',
'pandas',
'seaborn',
'numpy',
'matplotlib',
'requests',
'pyserial',
'progressbar2',
'pyqtgraph',
],
setup_requires=[
'pytest-runner',
],
tests_require=[
'pytest',
],
entry_points={
'console_scripts': [
'volta-ui = volta.ui.ui:main',
'volta-sync = volta.analysis.sync:main',
'volta-grab = volta.analysis.grab:run',
'volta-uploader = volta.analysis.uploader:run',
'volta-wizard = volta.analysis.wizard:run',
'volta-wizard-ui = volta.wizard.ui:main',
'volta-realtime = volta.analysis.realtime:main',
],
},
license='MPLv2',
package_data={
'volta.ui': [
'static/*',
'handlers/*',
],
'volta.wizard': [
'static/*',
'*.html',
],
'volta.analysis': [
'*.db',
],
},
data_files=[
('/usr/local/bin', ['volta/reader/serial-reader']),
],
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)',
'Operating System :: POSIX',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Software Development :: Testing',
'Topic :: Software Development :: Testing :: Traffic Generation',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
],
use_2to3=True, )
|
Python
| 0.000001
|
@@ -81,17 +81,17 @@
n='0.0.4
-2
+3
',%0A d
|
6dfaa5c97fe9342a26610f53aea533a39af5d8c5
|
Use setuptools instead of distutils
|
setup.py
|
setup.py
|
import os
import errno
from distutils.core import setup
from distutils.dir_util import remove_tree
from distutils.util import convert_path
from distutils.command.build import build as _build
from distutils.command.install import install as _install
from idiokit import __version__
def rmtree(path):
try:
remove_tree(convert_path(path))
except OSError, err:
if err.errno != errno.ENOENT:
raise
class Build(_build):
def run(self):
clean = self.distribution.reinitialize_command("clean", reinit_subcommands=True)
clean.all = True
self.distribution.run_command("clean")
_build.run(self)
class Install(_install):
def run(self):
build_py = self.distribution.get_command_obj("build_py")
if self.distribution.packages:
for package in self.distribution.packages:
package_dir = build_py.get_package_dir(package)
rmtree(os.path.join(self.install_lib, package_dir))
_install.run(self)
setup(
name="idiokit",
version=__version__,
author="Clarified Networks",
author_email="contact@clarifiednetworks.com",
url="https://github.com/abusesa/idiokit",
packages=[
"idiokit",
"idiokit.xmpp",
"idiokit.dns",
"idiokit.http",
"idiokit.http.handlers"
],
license="MIT",
cmdclass={
"build": Build,
"install": Install
}
)
|
Python
| 0
|
@@ -1,1444 +1,328 @@
-import os%0Aimport errno%0Afrom distutils.core import setup%0Afrom distutils.dir_util import remove_tree%0Afrom distutils.util import convert_path%0Afrom distutils.command.build import build as _build%0Afrom distutils.command.install import install as _install%0A%0Afrom idiokit import __version__%0A%0A%0Adef rmtree(path):%0A try:%0A remove_tree(convert_path(path))%0A except OSError, err:%0A if err.errno != errno.ENOENT:%0A raise%0A%0A%0Aclass Build(_build):%0A def run(self):%0A clean = self.distribution.reinitialize_command(%22clean%22, reinit_subcommands=True)%0A clean.all = True%0A self.distribution.run_command(%22clean%22)%0A _build.run(self)%0A%0A%0Aclass Install(_install):%0A def run(self):%0A build_py = self.distribution.get_command_obj(%22build_py%22)%0A if self.distribution.packages:%0A for package in self.distribution.packages:%0A package_dir = build_py.get_package_dir(package)%0A rmtree(os.path.join(self.install_lib, package_dir))%0A _install.run(self)%0A%0A%0Asetup(%0A name=%22idiokit%22,%0A version=__version__,%0A author=%22Clarified Networks%22,%0A author_email=%22contact@clarifiednetworks.com%22,%0A url=%22https://github.com/abusesa/idiokit%22,%0A packages=%5B%0A %22idiokit%22,%0A %22idiokit.xmpp%22,%0A %22idiokit.dns%22,%0A %22idiokit.http%22,%0A %22idiokit.http.handlers%22%0A %5D,%0A license=%22MIT%22,%0A cmdclass=%7B%0A %22build%22: Build,%0A %22install%22: Install%0A %7D
+from setuptools import setup, find_packages%0A%0Afrom idiokit import __version__%0A%0Asetup(%0A name=%22idiokit%22,%0A version=__version__,%0A author=%22Clarified Networks%22,%0A author_email=%22contact@clarifiednetworks.com%22,%0A url=%22https://github.com/abusesa/idiokit%22,%0A packages=find_packages(exclude=%5B%22*.tests%22%5D),%0A license=%22MIT%22
%0A)%0A
|
f8c049e1b6a6309d494771e4038aa10b40bfbf76
|
Move 'nose' dependency to 'tests_require'
|
setup.py
|
setup.py
|
from setuptools import setup
VERSION = '1.2.2'
setup(
name='pkgconfig',
version=VERSION,
author='Matthias Vogelgesang',
author_email='matthias.vogelgesang@gmail.com',
url='http://github.com/matze/pkgconfig',
license='MIT',
packages=['pkgconfig'],
description="Interface Python with pkg-config",
long_description=open('README.rst').read(),
setup_requires=['nose>=1.0'],
python_requires='>=2.6, !=3.0.*, !=3.1.*, !=3.2.*',
test_suite='test',
)
|
Python
| 0
|
@@ -378,21 +378,21 @@
-setup
+tests
_require
s=%5B'
@@ -387,17 +387,16 @@
_require
-s
=%5B'nose%3E
|
35b6a835bd93bed97e85e216fa81011220851081
|
Bump version
|
setup.py
|
setup.py
|
import setuptools
setuptools.setup(
name="djver",
version="2.0.0",
url="https://github.com/sesh/djver",
author="Brenton Cleeland",
author_email="brenton@brntn.me",
description="Ever wanted to know what version of Django someone else is running?",
packages=setuptools.find_packages(),
install_requires=['requests', 'docopt'],
entry_points={
'console_scripts': [
'djver = djver.djver:djver',
]
},
classifiers=[
# 'Development Status :: 2 - Pre-Alpha',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
],
)
|
Python
| 0
|
@@ -63,17 +63,17 @@
sion=%222.
-0
+1
.0%22,%0A
|
add607e2920148572c9fc421b6cdeaa1f17d9c38
|
Bump version to 0.8.2
|
setup.py
|
setup.py
|
# encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <gogogo.vm@gmail.com>
"""
import io
import os.path
import sys
import setuptools
REQUIREMENT_DIR = "requirements"
needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv)
pytest_runner = ["pytest-runner"] if needs_pytest else []
with io.open("README.rst", encoding="utf8") as fp:
long_description = fp.read()
with io.open(os.path.join(
"docs", "pages", "introduction", "summary.txt"), encoding="utf8") as f:
summary = f.read()
with open(os.path.join(REQUIREMENT_DIR, "requirements.txt")) as f:
install_requires = [line.strip() for line in f if line.strip()]
if sys.version_info.major < 3 or sys.version_info.minor < 4:
install_requires.append("ipaddress")
with open(os.path.join(REQUIREMENT_DIR, "test_requirements.txt")) as f:
tests_require = [line.strip() for line in f if line.strip()]
setuptools.setup(
name="pingparsing",
version="0.8.1",
author="Tsuyoshi Hombashi",
author_email="gogogo.vm@gmail.com",
url="https://github.com/thombashi/pingparsing",
keywords=["ping", "parser", "transmitter"],
license="MIT License",
description=summary,
long_description=long_description,
include_package_data=True,
install_requires=install_requires,
packages=setuptools.find_packages(exclude=["test*"]),
setup_requires=pytest_runner,
tests_require=tests_require,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Networking",
],
)
|
Python
| 0
|
@@ -953,9 +953,9 @@
0.8.
-1
+2
%22,%0A
|
839dbc8a22d505578b17adae41e5ce1f3cae9672
|
update license
|
setup.py
|
setup.py
|
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
import sys
with open("README.rst", 'r') as readme:
README_txt = readme.read()
dependencies = [
'openpyxl',
'pyexcel-io'
]
if sys.version_info[0] == 2 and sys.version_info[1] < 7:
dependencies.append('ordereddict')
setup(
name='pyexcel-xlsx',
author="C. W.",
version='0.0.1',
author_email="wangc_2011@hotmail.com",
url="https://github.com/chfw/pyexcel-xlsx",
description='A wrapper library to read, manipulate and write data in xlsx and xlsm format',
install_requires=dependencies,
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
long_description=README_txt,
zip_safe=False,
tests_require=['nose'],
classifiers=[
'Development Status :: 3 - Alpha',
'Topic :: Office/Business',
'Topic :: Utilities',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: Implementation :: PyPy'
]
)
|
Python
| 0
|
@@ -887,16 +887,65 @@
nose'%5D,%0A
+ license='General Publice License version 3',%0A
clas
|
7530eed51b39d4d02b91a5dd1a382b6a1b43f9cc
|
update metadata
|
setup.py
|
setup.py
|
"""
Flask-Sencha
-------------
This is the description for that library
"""
from setuptools import setup
setup(
name='Flask-Sencha',
version='0.1',
url='http://github.com/rch/flask-extdirect',
license='BSD',
author='Ryan C. Hill',
author_email='@zndx.org',
description='Very short description',
long_description=__doc__,
# py_modules=['flask_extdirect'],
packages=[
'flask_sencha',
'flask_sencha.direct',
'flask_sencha.direct.message',
'flask_sencha.direct.message.action',
'flask_sencha.direct.message.action.data',
'flask_sencha.direct.resource',
'flask_sencha.direct.resource.provider',
],
zip_safe=False,
include_package_data=True,
platforms='any',
install_requires=[
'python-dateutil',
'Flask',
'celery',
],
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
|
Python
| 0.000001
|
@@ -124,22 +124,25 @@
='Flask-
-Sencha
+ExtDirect
',%0A v
@@ -217,19 +217,19 @@
icense='
-BSD
+MIT
',%0A a
@@ -301,30 +301,45 @@
on='
-Very short description
+Sencha Ext.Direct connector for Flask
',%0A
@@ -855,17 +855,17 @@
'
-c
+C
elery',%0A
@@ -1014,11 +1014,11 @@
::
-BSD
+MIT
Lic
@@ -1253,5 +1253,6 @@
%5D%0A
-
)
+%0A
|
66bead3fce8ba5ecfc5c0213ece41c4c16a65dd0
|
Version bump to 0.0.18
|
setup.py
|
setup.py
|
from setuptools import setup
with open('README.md', 'r') as f:
long_description = f.read()
setup(
name='pybotvac',
version='0.0.17',
description='Python package for controlling Neato pybotvac Connected vacuum robot',
long_description=long_description,
long_description_content_type='text/markdown',
author='Stian Askeland',
author_email='stianaske@gmail.com',
url='https://github.com/stianaske/pybotvac',
license='Licensed under the MIT license. See LICENSE file for details',
packages=['pybotvac'],
package_dir={'pybotvac': 'pybotvac'},
package_data={'pybotvac': ['cert/*.crt']},
install_requires=['requests']
)
|
Python
| 0
|
@@ -140,9 +140,9 @@
.0.1
-7
+8
',%0A
|
f80a033223ca2847af476cdb129ffb9327a1dbf7
|
version bump
|
setup.py
|
setup.py
|
# coding=utf-8
import os
from setuptools import find_packages
from setuptools import setup
with open('README.rst') as readme:
long_description = readme.read()
setup(
name = "hawkweed",
version = "0.1.0",
description = "Extending Python builtin types",
long_description = long_description,
author = "Veit Heller",
author_email = "veit@veitheller.de",
license = "MIT License",
url = "https://github.com/hellerve/hawkweed",
download_url = 'https://github.com/hellerve/hawkweed/tarball/0.0.7',
packages = find_packages(),
include_package_data = True,
)
|
Python
| 0.000001
|
@@ -208,17 +208,17 @@
= %220.1.
-0
+1
%22,%0A d
@@ -524,11 +524,11 @@
l/0.
-0.7
+1.1
',%0A
|
6fa473ee554c71812fb102d76973410e059031b2
|
Add long_description field in setup.
|
setup.py
|
setup.py
|
# Copyright (c) 2016, Imperial College London
# Copyright (c) 2016, Ghislain Antony Vaillant
# All rights reserved.
#
# Distributed under the terms of the new BSD license.
# See the accompanying LICENSE file or read the terms at
# https://opensource.org/licenses/BSD-3-Clause.
from setuptools import find_packages, setup
def get_install_requires():
from distutils.version import StrictVersion
from sys import version_info
install_requires = ['cffi>=1.0.0', 'numpy']
py_version = StrictVersion('.'.join(str(n) for n in version_info[:3]))
if py_version < StrictVersion('3.4'):
install_requires.append('enum34')
setup(
name = 'nfft-cffi',
version = '0.1',
description = 'Python interface to the NFFT library',
url = 'https://github.com/ghisvail/nfft-cffi',
author = 'Ghislain Antony Vaillant',
author_email = 'ghisvail@gmail.com',
license = 'BSD',
classifiers = [
'Development Status :: 3 - Alpha'
'Intended Audience :: Science/Research'
'License :: OSI Approved :: BSD License'
'Programming Language :: Python'
'Topic :: Software Development'
],
keywords = 'gridding nfft nufft nusfft',
packages=find_packages(exclude=['builders', 'docs', 'tests']),
setup_requires=['cffi>=1.0.0', 'pkgconfig', 'nose>=1.0'],
install_requires=get_install_requires(),
ext_package='nfft',
cffi_modules=['builders/build_bindings.py:ffi'],
)
|
Python
| 0
|
@@ -635,16 +635,195 @@
m34')%0A%0A%0A
+# Utility function to read the README file for the long_description field.%0Adef read(fname):%0A import os%0A return open(os.path.join(os.path.dirname(__file__), fname)).read()%0A%0A%0A
setup(%0A
@@ -924,16 +924,57 @@
brary',%0A
+ long_description=read('README.rst'),%0A
url
|
e3514b73bcbffbab2597a4eb068d3c03cf8d942b
|
bump 0.5.6
|
setup.py
|
setup.py
|
from setuptools import setup
from setuptools import find_packages
def readme():
with open('README.md', encoding='utf-8') as file:
return file.read()
def license():
with open('LICENSE.txt', encoding='utf-8') as file:
return file.read()
setup(
name='nalaf',
version='0.5.6-SNAPSHOT',
description='Natural Language Framework, for NER and RE',
long_description=readme(),
classifiers=[
'Natural Language :: English',
'Programming Language :: Python :: 3.5',
'Topic :: Text Processing :: Linguistic'
],
keywords='nlp nlu ner re natural langauge crf svm extraction entities relationships framework',
url='https://github.com/Rostlab/nalaf',
author='Aleksandar Bojchevski, Carsten Uhlig, Juan Miguel Cejuela',
author_email='i@juanmi.rocks',
license=license(),
packages=find_packages(exclude=['tests']),
install_requires=[
# ML
'numpy == 1.16.*',
'scipy >= 0.18.1, < 1.3',
'gensim >= 0.13.3, <= 0.13.4.1', # In 1.0.0 they move .vocab: https://github.com/RaRe-Technologies/gensim/blob/master/CHANGELOG.md#100-2017-02-24
'scikit-learn >= 0.18.1, <= 0.20.3',
'spacy == 1.2.0',
'python-crfsuite >= 0.9.3, <= 0.9.6',
'nltk >= 3.2.1',
# Other
'beautifulsoup4 >= 4.5.1',
'requests >= 2.21.0',
'progress >= 1.2',
'hdfs == 2.1.0',
'urllib3 >=1.20, <1.25' # force, due to dependency problems with botocore
],
include_package_data=True,
zip_safe=False,
test_suite='nose.collector',
setup_requires=['nose>=1.0'],
)
|
Python
| 0.000011
|
@@ -305,17 +305,8 @@
.5.6
--SNAPSHOT
',%0A
|
8c3c15aca9bf78051b684ac46b72aff79f6640d3
|
fix README path
|
setup.py
|
setup.py
|
from setuptools import setup
import django_elastipymemcache
setup(
name='django-elastipymemcache',
version=django_elastipymemcache.__version__,
description='Django cache backend for Amazon ElastiCache (memcached)',
long_description=open('README.rst').read(),
author='Danil Gusev',
platforms='any',
author_email='info@uncovertruth.jp',
url='http://github.com/uncovertruth/django-elastipymemcache',
license='MIT',
keywords='elasticache amazon cache pymemcache memcached aws',
packages=['django_elastipymemcache'],
install_requires=['pymemcache', 'Django>=1.7'],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Environment :: Web Environment :: Mozilla',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
Python
| 0.000015
|
@@ -261,11 +261,10 @@
DME.
-rst
+md
').r
|
8b8a3731002d3d0434e20b4231b2554008e90f0f
|
add the supported versions of awscli to extras require
|
setup.py
|
setup.py
|
import os
import re
import sys
from setuptools import setup, find_packages
# aiohttp requirement is pegged as we need to manually ensure that
# https://github.com/aio-libs/aiobotocore/pull/248 will continue working
install_requires = ['botocore>=1.5.71, <=1.5.78', 'aiohttp>=2.0.4, <=2.3.0',
'multidict>=2.1.4', 'wrapt>=1.10.10', 'packaging>=16.8']
PY_VER = sys.version_info
if not PY_VER >= (3, 4, 1):
raise RuntimeError("aiobotocore doesn't support Python earlier than 3.4")
def read(f):
return open(os.path.join(os.path.dirname(__file__), f)).read().strip()
extras_require = {}
def read_version():
regexp = re.compile(r"^__version__\W*=\W*'([\d.abrc]+)'")
init_py = os.path.join(os.path.dirname(__file__),
'aiobotocore', '__init__.py')
with open(init_py) as f:
for line in f:
match = regexp.match(line)
if match is not None:
return match.group(1)
else:
raise RuntimeError('Cannot find version in '
'aiobotocore/__init__.py')
classifiers = [
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Environment :: Web Environment',
'Development Status :: 3 - Alpha',
'Framework :: AsyncIO',
]
setup(name='aiobotocore',
version=read_version(),
description='Async client for aws services using botocore and aiohttp',
long_description='\n\n'.join((read('README.rst'), read('CHANGES.txt'))),
classifiers=classifiers,
author="Nikolay Novik",
author_email="nickolainovik@gmail.com",
url='https://github.com/aio-libs/aiobotocore',
download_url='https://pypi.python.org/pypi/aiobotocore',
license='Apache 2',
packages=find_packages(),
install_requires=install_requires,
extras_require=extras_require,
include_package_data=True)
|
Python
| 0.000251
|
@@ -608,16 +608,58 @@
uire = %7B
+'awscli': %5B'awscli%3E=1.11.108, %3C=1.11.115'%5D
%7D%0A%0A%0Adef
|
5961c5bddf89ea7c048aafc16bbabe9630f632f4
|
Make setup.py executable
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name='typogrify',
version='2.0.0',
packages=find_packages(),
author='Christian Metts',
author_email='xian@mintchaos.com',
license='BSD',
description='Typography related template filters for Django & Jinja2 applications',
url='https://github.com/mintchaos/typogrify',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
'Topic :: Utilities'
],
install_requires=['smartypants>=1.6']
)
|
Python
| 0.000008
|
@@ -1,8 +1,31 @@
+#!/usr/bin/env python%0A%0A
from set
|
4a321b060a0e41d15f872e3f080e446657a98ea2
|
Add pycldf dependency
|
setup.py
|
setup.py
|
#!/usr/bin/env python
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
from beastling import __version__ as version
requires = [
'six',
'newick>=0.6.0',
'appdirs',
'clldutils',
]
setup(
name='beastling',
version=version,
description='Command line tool to help mortal linguists use BEAST',
author='Luke Maurits',
author_email='luke@maurits.id.au',
license="BSD (3 clause)",
classifiers=[
'Programming Language :: Python',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'License :: OSI Approved :: BSD License',
],
packages=['beastling','beastling.clocks','beastling.fileio','beastling.models'],
install_requires=requires,
tests_require=['mock==1.0.0', 'nose'],
entry_points={
'console_scripts': ['beastling=beastling.cli:main'],
},
package_data={'beastling': ['data/*']},
)
|
Python
| 0.000001
|
@@ -236,16 +236,30 @@
utils',%0A
+ 'pycldf',%0A
%5D%0A%0Asetup
|
70be93343a985b4aa81944649c42c4138fece388
|
Use regex for finding version in __init__.py
|
setup.py
|
setup.py
|
from __future__ import print_function
import codecs
import os
from setuptools import setup, find_packages
import piazza_api
def read(filename):
"""Read and return `filename` in root dir of project and return string"""
here = os.path.abspath(os.path.dirname(__file__))
return codecs.open(os.path.join(here, filename), 'r').read()
install_requires = read("requirements.txt").split()
long_description = read('README.md')
setup(
name='piazza-api',
version=piazza_api.__version__,
url='http://github.com/hfaran/piazza-api/',
license='MIT License',
author='Hamza Faran',
install_requires=install_requires,
description="Unofficial Client for Piazza's Internal API",
long_description=long_description,
packages=['piazza_api'],
platforms='any',
classifiers = [
'Programming Language :: Python',
'Development Status :: 3 - Alpha',
'Natural Language :: English',
'Environment :: Web Environment',
'Intended Audience :: Developers',
"License :: OSI Approved :: MIT License",
'Operating System :: OS Independent',
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
Python
| 0.000177
|
@@ -56,16 +56,26 @@
port os%0A
+import re%0A
from set
@@ -98,42 +98,8 @@
etup
-, find_packages%0A%0Aimport piazza_api
%0A%0A%0Ad
@@ -316,16 +316,257 @@
ead()%0A%0A%0A
+# https://github.com/kennethreitz/requests/blob/master/setup.py#L32%0Awith open('piazza_api/__init__.py', 'r') as fd:%0A version = re.search(r'%5E__version__%5Cs*=%5Cs*%5B%5C'%22%5D(%5B%5E%5C'%22%5D*)%5B%5C'%22%5D',%0A fd.read(), re.MULTILINE).group(1)%0A
install_
@@ -694,30 +694,15 @@
ion=
-piazza_api.__
version
-__
,%0A
|
691e9df7cf5434a1296c0643bc9c62edde72b1c6
|
Bump version number.
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_logger',
version='0.2.1',
description='Logging backend for PPP user interfaces.',
url='https://github.com/ProjetPP/PPP-Core',
author='Valentin Lorentz',
author_email='valentin.lorentz+ppp@ens-lyon.org',
license='MIT',
classifiers=[
'Environment :: No Input/Output (Daemon)',
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
'Topic :: Software Development :: Libraries',
],
install_requires=[
'requests',
'sqlalchemy>=0.9',
'ppp_datamodel>=0.5,<0.7',
'ppp_libmodule>=0.7,<0.8',
],
packages=[
'ppp_logger',
],
)
|
Python
| 0
|
@@ -109,17 +109,17 @@
on='0.2.
-1
+2
',%0A d
|
b4bc0dc0c4bd53c8af0cf6f878708a8b22a5f832
|
set version to 1.0.0
|
setup.py
|
setup.py
|
from setuptools import setup
setup(name='linkedlist',
version='0.0.1',
description='General purpose linked list',
url='https://github.com/teroqim/linkedlist',
author='Peter Andersson',
author_email='teroqim@gmail.com',
packages=['linkedlist'],
zip_safe=False)
|
Python
| 0.000318
|
@@ -66,13 +66,13 @@
on='
+1.
0.0
-.1
',%0A
|
4e32c1597891c67daf03d71e35bc499cfba3e596
|
Bump version number.
|
setup.py
|
setup.py
|
from distutils.core import setup, Extension
from Cython.Distutils import build_ext
import numpy
def cext(name):
return Extension('lulu.%s' % name, ['lulu/%s.pyx' % name],
include_dirs=[numpy.get_include()])
setup(name='lulu',
version='0.9.2',
description='Fast and efficient implementation of the 2D '
'discrete pulse transform (LULU-operator)',
author='Stefan van der Walt',
author_email='stefan@sun.ac.za',
license='GPL',
url='http://dip.sun.ac.za/~stefan/code/lulu.git',
# -----
cmdclass={'build_ext': build_ext},
ext_modules=[cext('connected_region'),
cext('connected_region_handler'),
cext('ccomp'),
cext('base')],
package_data={'': ['*.txt', '*.png', '*.jpg']},
packages=['lulu', 'lulu.tests'],
)
|
Python
| 0
|
@@ -265,17 +265,17 @@
on='0.9.
-2
+3
',%0A
|
26daa433b28b886ad6aa68bd5e40736e7d892c3a
|
Update version.
|
setup.py
|
setup.py
|
import os
from setuptools import setup, find_packages
__version__ = "0.1.4"
def file_read(filename):
filepath = os.path.join(os.path.dirname(__file__), filename)
with open(filepath) as flo:
return flo.read()
setup(
name="staticmodel",
version=__version__,
packages=find_packages(exclude=['tests', 'docs']),
install_requires=['six'],
author="Warren A. Smith",
author_email="warren@wandrsmith.net",
description="Static Models.",
long_description=file_read("README.rst"),
license="MIT",
keywords="static constant model enum",
url="https://github.com/wsmith323/staticmodel",
test_suite="tests",
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
# Indicate who your project is intended for
'Intended Audience :: Developers',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
|
Python
| 0
|
@@ -68,17 +68,17 @@
= %220.1.
-4
+5
%22%0A%0A%0Adef
|
1ded6a3f75629695f477f69881d125c2b9221447
|
increment version to 2.0.4
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name = 'pytvmaze',
version = '2.0.3',
description = 'Python interface to the TV Maze API (www.tvmaze.com)',
url = 'https://github.com/srob650/pytvmaze',
author = 'Spencer Roberts',
author_email = 'pytvmaze@gmail.com',
license='MIT',
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5'
],
keywords = 'python tv television tvmaze',
packages=['pytvmaze'],
install_requires=['requests']
)
|
Python
| 0.00121
|
@@ -87,17 +87,17 @@
= '2.0.
-3
+4
',%0A d
|
aa9e7f322882ab2d94c5426aef8c0490601f278c
|
Remove six from list.
|
setup.py
|
setup.py
|
from setuptools import find_packages
from setuptools import setup
setup(
name='skytap',
packages=find_packages(),
version='1.0.2',
description='Skytap REST API access modules',
author='Fulcrum Technologies',
author_email='mknowles@fulcrum.net',
install_requires=['requests', 'six'],
url='https://github.com/FulcrumIT/skytap',
download_url='https://github.com/FulcrumIT/skytap/tarball/v1.0.2',
keywords=['skytap', 'cloud', 'client', 'rest', 'api', 'development'],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Systems Administration",
"Topic :: Internet",
]
)
|
Python
| 0.000024
|
@@ -299,15 +299,8 @@
sts'
-, 'six'
%5D,%0A
|
505446d8c45429242889230ae60df9f4d297304d
|
bump version number
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name='pymediainfo',
version = '1.3.2',
author='Patrick Altman',
author_email='paltman@gmail.com',
url='git@github.com/paltman/pymediainfo.git',
description="""A Python wrapper for the mediainfo command line tool.""",
packages=find_packages(),
namespace_packages = [],
include_package_data = True,
zip_safe=False,
license='MIT',
install_requires=['simplejson',]
)
|
Python
| 0.000004
|
@@ -92,9 +92,9 @@
1.3.
-2
+3
',%0A
|
0d50e39803db371c9352bfc5f1c0c853ce647006
|
fix pypi build
|
setup.py
|
setup.py
|
from setuptools import find_packages
from distutils.core import setup
VERSION = '0.1'
setup(
name='django-herald',
version=VERSION,
author='Worthwhile',
author_email='devs@worthwhile.com',
install_requires=['django>=1.8', 'six'],
packages=find_packages(),
include_package_data=True, # declarations in MANIFEST.in
license='LICENSE',
url='https://github.com/worthwhile/django-herald/',
download_url='https://github.com/worthwhile/django-herald/tarball/'+VERSION,
description="Django library for separating the message content from transmission method",
long_description=open('README.md').read(),
keywords=['django', 'notifications', 'messaging'],
)
|
Python
| 0
|
@@ -33,35 +33,9 @@
ages
-%0Afrom distutils.core import
+,
set
@@ -53,16 +53,18 @@
N = '0.1
+.1
'%0A%0Asetup
@@ -331,15 +331,11 @@
se='
-LICENSE
+MIT
',%0A
@@ -666,10 +666,441 @@
ging'%5D,%0A
+ classifiers=%5B%0A 'Framework :: Django',%0A 'Intended Audience :: Developers',%0A 'Programming Language :: Python',%0A 'Programming Language :: Python :: 2',%0A 'Programming Language :: Python :: 2.7',%0A 'Programming Language :: Python :: 3',%0A 'Programming Language :: Python :: 3.3',%0A 'Programming Language :: Python :: 3.4',%0A 'Programming Language :: Python :: 3.5',%0A %5D,%0A
)%0A
|
d3fec7f0eb48813e4f9895cc5900188cd3a33176
|
Add pytest to tests_require
|
setup.py
|
setup.py
|
from distutils.core import setup
setup(
name = 'cleverbot',
version = '0.2.0',
packages = ['cleverbot'],
install_requires = ['future', 'requests'],
author = 'Rodney Folz',
author_email = 'folz@rodneyfolz.com',
url = 'https://github.com/folz/cleverbot.py',
description = 'An API for Cleverbot in Python',
classifiers = [
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Operating System :: OS Independent'
]
)
|
Python
| 0.000001
|
@@ -154,24 +154,56 @@
requests'%5D,%0A
+ tests_require = %5B'pytest'%5D,%0A
author =
|
2aef7511f63a525cd54f22c132e652760ccb64dc
|
Change version
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
import os
from setuptools import setup
LONG_DESCRIPTION = """
Django confirmaction is a battery for confirm actions via email, sms etc.
"""
def long_description():
try:
return open(
os.path.join(os.path.dirname(__file__), "README.md")
).read()
except IOError:
return LONG_DESCRIPTION
setup(
name = "django-confirmaction",
version = "0.0.2",
author = "Aleksandr Aibulatov",
author_email = "zap.aibulatov@gmail.com",
description = "Django battery for confirm some action via email, sms, etc",
license = "BSD",
keywords = "django, battery, confirm action",
url = "https://github.com/Zapix/django-confirmaction",
packages=[
'confirmaction',
'confirmaction.migrations'
],
long_description=long_description(),
install_requires=[
'django>=1.6',
'south>=0.8.4',
'pycrypto'
],
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Framework :: Django",
"Programming Language :: Python :: 2.7",
"Topic :: Utilities",
"License :: OSI Approved :: BSD License",
],
)
|
Python
| 0
|
@@ -410,17 +410,17 @@
= %220.0.
-2
+3
%22,%0A a
|
f27c0541bcbaffdb1b9189ab18d955c7d10d484b
|
make scrapyd package zip unsafe because the scrapyd command requires the txapp.py unpacked to run. fixes #49
|
setup.py
|
setup.py
|
from os.path import join, dirname
with open(join(dirname(__file__), 'scrapyd/VERSION')) as f:
version = f.read().strip()
setup_args = {
'name': 'scrapyd',
'version': version,
'url': 'https://github.com/scrapy/scrapyd',
'description': 'A service for running Scrapy spiders, with an HTTP API',
'long_description': open('README.rst').read(),
'author': 'Scrapy developers',
'maintainer': 'Scrapy developers',
'maintainer_email': 'info@scrapy.org',
'license': 'BSD',
'packages': ['scrapyd'],
'scripts': ['bin/scrapyd', 'bin/scrapyd-deploy'],
'include_package_data': True,
'classifiers': [
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Environment :: No Input/Output (Daemon)',
'Topic :: Internet :: WWW/HTTP',
],
}
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
else:
setup_args['install_requires'] = ['Twisted>=8.0', 'Scrapy>=0.17']
setup(**setup_args)
|
Python
| 0.000001
|
@@ -614,16 +614,39 @@
: True,%0A
+ 'zip_safe': False,%0A
'cla
|
99d0a21bc0ceca486e8f7f4590a2c75d1df89ec9
|
Update to version 0.6.16
|
setup.py
|
setup.py
|
# -*-coding:utf-8-*-
from setuptools import setup
setup(
name='rocketchat_API',
version='0.6.15',
packages=['rocketchat_API', 'rocketchat_API.APIExceptions'],
url='https://github.com/jadolg/rocketchat_API',
license='MIT',
author='Jorge Alberto Díaz Orozco',
author_email='diazorozcoj@gmail.com',
description='Python API wrapper for Rocket.Chat',
long_description=open("README.md", "r").read(),
long_description_content_type="text/markdown",
install_requires=(
'requests',
)
)
|
Python
| 0
|
@@ -101,9 +101,9 @@
.6.1
-5
+6
',%0A
|
fdcc2365904d988d9a52db51c9a8a0d30cda9538
|
Bump flask-caching from 1.7.0 to 1.7.2
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
from os import path
from setuptools import setup, find_packages
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='ogn-python',
version='0.5.0',
description='A database backend for the Open Glider Network',
long_description=long_description,
url='https://github.com/glidernet/ogn-python',
author='Konstantin Gründger aka Meisterschueler, Fabian P. Schmidt aka kerel, Dominic Spreitz',
author_email='kerel-fs@gmx.de',
license='AGPLv3',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: GIS',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='gliding ogn',
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=[
'Flask==1.0.3',
'flask-sqlalchemy==2.4.0',
'Flask-Migrate==2.5.2',
'flask-bootstrap==3.3.7.1',
'flask-nav==0.6',
'flask-wtf==0.14.2',
'flask-caching==1.7.0',
'geopy==1.20.0',
'celery==4.3.0',
'redis==3.2.1',
'aerofiles==1.0.0',
'geoalchemy2==0.6.2',
'shapely==1.6.4.post2',
'ogn-client==0.9.1',
'psycopg2-binary==2.8.2',
'mgrs==1.3.5',
'xmlunittest==0.5.0',
'tqdm==4.32.1',
'requests==2.21.0',
],
extras_require={
'dev': [
'nose==1.3.7',
'coveralls==1.8.0',
'flake8==3.5.0',
'xmlunittest==0.4.0'
]
},
zip_safe=False
)
|
Python
| 0.00004
|
@@ -1387,17 +1387,17 @@
ng==1.7.
-0
+2
',%0A
|
b484361fc9008e77f94799a138f0625ed7da4647
|
Bump version number in setup.py
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
import io
from setuptools import setup
with io.open('README.rst', encoding='utf-8') as f:
README = f.read()
with io.open('HISTORY.rst', encoding='utf-8') as f:
HISTORY = f.read()
desc='MultiThreaded and MultiServers Redis Extension for Flask Applications'
setup(
name='Flask-Multi-Redis',
version='0.0.1',
url='https://github.com/max-k/flask-multi-redis',
author='Thomas Sarboni',
author_email='max-k@post.com',
maintainer='Thomas Sarboni',
maintainer_email='max-k@post.com',
download_url='https://github.com/max-k/flask-multi-redis/releases',
description=desc,
long_description=README + '\n\n' + HISTORY,
packages=['flask_multi_redis'],
package_data={'': ['LICENSE']},
zip_safe=False,
install_requires=[
'Flask>=0.9',
'redis>=2.6.8',
'more-itertools>=2.1'
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Flask',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero GPL v3 or later (AGPLv3+)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
|
Python
| 0
|
@@ -338,17 +338,17 @@
on='0.0.
-1
+2
',%0A u
|
89b7ea1a756f7e5ae6d128be43b8b5f7f326f491
|
Improve C++ compiler detection
|
setup.py
|
setup.py
|
"""Setup file for primesieve Python bindings."""
import distutils.ccompiler
from distutils.command.build_ext import build_ext # type: ignore
from glob import glob
import os
import platform
import shutil
import subprocess
import sys
import tempfile
from setuptools import Extension, setup
# The primesieve package (https://pypi.python.org/pypi/primesieve)
# distributes the generated C++ rather than the pyx file.
# So Cython isn't needed as a dependency.
if glob("primesieve/*.pyx"):
from Cython.Build import cythonize
module_file_ext = 'pyx'
else:
module_file_ext = 'cpp'
# --------------------- Initialization ------------------------------
extensions = []
extra_compile_args = []
if not sys.platform.startswith('win'):
extra_compile_args.append('-std=c++11')
extra_link_args = []
include_dirs = []
# ------------- Check if compiler supports -pthread -----------------
def use_pthread():
# Simple C++ program which uses std::thread
pthread_test = \
r"""
#include <iostream>
#include <thread>
void task() {
std::cout << "Hello, World!" << std::endl;
}
int main() {
std::thread t(task);
t.join();
return 0;
}
"""
tmpdir = tempfile.mkdtemp()
curdir = os.getcwd()
os.chdir(tmpdir)
filename = r'pthread_test.cpp'
with open(filename, 'w') as file:
file.write(pthread_test)
file.flush()
try:
cxx = os.environ['CXX']
except KeyError:
cxx = 'c++'
has_pthread = False
with open(os.devnull, 'w') as fnull:
exit_code = 1
try:
# 1st compile without -pthread and check if it works
exit_code = subprocess.call(
[cxx, '-std=c++11', filename],
stdout=fnull,
stderr=fnull)
except Exception:
pass
if exit_code != 0:
try:
# 2nd compile with -pthread and check if it works
exit_code = subprocess.call(
[cxx, '-std=c++11 -pthread', filename],
stdout=fnull,
stderr=fnull)
except Exception:
pass
if exit_code == 0:
has_pthread = True
# clean up
os.chdir(curdir)
shutil.rmtree(tmpdir)
return has_pthread
if use_pthread():
print('Use compiler flag: -pthread')
extra_compile_args.append(-pthread)
extra_link_args.append(-pthread)
# ------------------ Check if NumPy is installed --------------------
def is_pypy():
"""Check if running in PyPy."""
try:
if platform.python_implementation() == 'PyPy':
return True
except AttributeError:
pass
return False
def can_import(module_name):
"""Check if module can be imported.
can_import(module_name) -> module or None.
"""
try:
return __import__(module_name)
except ImportError:
return None
def is_numpy_installed():
"""Check if Numpy is installed."""
if is_pypy():
return False
return bool(can_import("numpy"))
# --------------------- primesieve module ---------------------------
extensions.append(Extension(
"primesieve._primesieve",
["primesieve/_primesieve." + module_file_ext] +
glob("lib/primesieve/src/*.cpp") +
glob("lib/primesieve/src/primesieve/*.cpp"),
include_dirs=["lib/primesieve/include"],
extra_compile_args=extra_compile_args,
extra_link_args=extra_link_args,
language="c++",
))
extensions.append(Extension(
"primesieve.array._array",
["primesieve/array/_array." + module_file_ext] +
glob("lib/primesieve/src/*.cpp") +
glob("lib/primesieve/src/primesieve/*.cpp"),
include_dirs=["lib/primesieve/include"],
extra_compile_args=extra_compile_args,
extra_link_args=extra_link_args,
language="c++",
))
include_dirs.append("lib/primesieve/include")
# --------------------- primesieve.numpy module ---------------------
if is_numpy_installed():
import numpy
include_dirs.append(numpy.get_include())
extensions.append(Extension(
"primesieve.numpy._numpy",
["primesieve/numpy/_numpy." + module_file_ext] +
glob("lib/primesieve/src/*.cpp") +
glob("lib/primesieve/src/primesieve/*.cpp"),
include_dirs=["lib/primesieve/include", numpy.get_include()],
extra_compile_args=extra_compile_args,
extra_link_args=extra_link_args,
language="c++",
))
# --------------------- Parallel build -------------------------------
# http://stackoverflow.com/a/13176803/363778
def parallel_cpp_compile(self,
sources,
output_dir=None,
macros=None,
include_dirs=None,
debug=0,
extra_preargs=None,
extra_postargs=None,
depends=None): # noqa
"""Compile cpp files in parallel."""
macros, objects, extra_postargs, pp_opts, build = \
self._setup_compile(output_dir, macros, include_dirs,
sources, depends, extra_postargs)
cc_args = self._get_cc_args(pp_opts, debug, extra_preargs)
import multiprocessing.pool
def _single_compile(obj):
try:
src, ext = build[obj]
except KeyError:
return
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
list(multiprocessing.pool.ThreadPool().imap(_single_compile, objects))
return objects
if not sys.version.startswith('3.6') and not sys.version.startswith('3.7'):
distutils.ccompiler.CCompiler.compile = parallel_cpp_compile # type: ignore
# --------------------- Build ---------------------------------------
if module_file_ext == 'pyx':
ext_modules = cythonize( # type: ignore
extensions, include_path=include_dirs)
else:
ext_modules = extensions
def old_msvc(compiler):
"""Test whether compiler is msvc <= 9.0."""
return compiler.compiler_type == 'msvc' and \
hasattr(compiler, '_MSVCCompiler__version') and \
int(compiler._MSVCCompiler__version) <= 9
class BuildExtSubclass(build_ext):
"""Workaround to add msvc_compat (stdint.h) for old msvc versions."""
def build_extensions(self):
"""Build extensions."""
if old_msvc(self.compiler):
for e in self.extensions:
e.include_dirs.append('lib/primesieve/src/msvc_compat')
build_ext.build_extensions(self) # type: ignore
setup(
name='primesieve',
version='1.5.0',
url='https://github.com/hickford/primesieve-python',
long_description=open('README.md', "rb").read().decode('utf8'),
long_description_content_type='text/markdown',
maintainer='Kim Walisch',
maintainer_email='kim.walisch@gmail.com',
license='MIT',
packages=['primesieve', 'primesieve.array', 'primesieve.numpy'],
ext_modules=ext_modules,
cmdclass={'build_ext': BuildExtSubclass},
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
)
|
Python
| 0.000006
|
@@ -1460,27 +1460,46 @@
lush()%0A%0A
-try
+if %22CXX%22 in os.environ
:%0A cx
@@ -1521,38 +1521,27 @@
'CXX'%5D%0A e
-xcept KeyError
+lse
:%0A cx
|
d1ffbda1eebaaf4a9d91881c1d82cfe214bc1df1
|
update pyjwt dependency
|
setup.py
|
setup.py
|
# Copyright 2014 ARM Limited
#
# Licensed under the Apache License, Version 2.0
# See LICENSE file for details.
import os
from setuptools import setup, find_packages
# Utility function to cat in a file (used for the README)
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
# we need 'ntfsutils' in Windows
if os.name == 'nt':
platform_deps = ['ntfsutils>=0.1.3,<0.2']
else:
platform_deps = []
setup(
name = "yotta",
version = "0.2.1",
author = "James Crosby",
author_email = "James.Crosby@arm.com",
description = ("Re-usable components for embedded software."),
license = "Apache-2.0",
keywords = "embedded package module dependency management",
url = "about:blank",
packages=find_packages(),
package_data={
'yotta': ['lib/schema/*.json', 'lib/templates/*.txt']
},
long_description=read('readme.md'),
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"License :: OSI Approved :: Apache Software License",
"Environment :: Console",
],
entry_points={
"console_scripts": [
"yotta=yotta:main",
"yt=yotta:main",
],
},
test_suite = 'yotta.test',
install_requires=[
'semantic_version>=2.3.1,<3',
'requests>=2.5,<3',
'PyGithub>=1.25,<2',
'colorama>=0.3,<0.4',
'hgapi>=1.7,<2',
'Jinja2>=2.7.0,<3',
'cryptography>=0.8',
'PyJWT>=0.3,<0.4',
'pathlib>=1.0.1,<1.1',
'jsonschema>=2.4.0,<3.0',
'valinor>=0.0.0,<1.0'
] + platform_deps
)
|
Python
| 0
|
@@ -1502,24 +1502,24 @@
'PyJWT%3E=
-0.3,%3C0.4
+1.0,%3C2.0
',%0A
|
0f6115e33bbfd3fb989ae5bec743374ef70ab574
|
Bump support Django versions
|
setup.py
|
setup.py
|
import os
import sys
from shutil import rmtree
from setuptools import setup, find_packages
exclude = ["forms_builder/example_project/dev.db",
"forms_builder/example_project/local_settings.py"]
exclude = dict([(e, None) for e in exclude])
for e in exclude:
if e.endswith(".py"):
try:
os.remove("%sc" % e)
except:
pass
try:
with open(e, "r") as f:
exclude[e] = (f.read(), os.stat(e))
os.remove(e)
except Exception:
pass
if sys.argv[:2] == ["setup.py", "bdist_wheel"]:
# Remove previous build dir when creating a wheel build,
# since if files have been removed from the project,
# they'll still be cached in the build dir and end up
# as part of the build, which is unexpected.
try:
rmtree("build")
except:
pass
try:
setup(
name = "django-forms-builder",
version = __import__("forms_builder").__version__,
author = "Stephen McDonald",
author_email = "stephen.mc@gmail.com",
description = ("A Django reusable app providing the ability for "
"admin users to create their own forms and report "
"on their collected data."),
long_description = open("README.rst").read(),
license = "BSD",
url = "http://github.com/stephenmcd/django-forms-builder",
zip_safe = False,
include_package_data = True,
packages = find_packages(),
install_requires = [
"sphinx-me >= 0.1.2",
"unidecode",
"django-email-extras >= 0.2",
"django >= 1.6.10, < 1.10",
"future <= 0.15.0",
],
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Framework :: Django",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: Site Management",
]
)
finally:
for e in exclude:
if exclude[e] is not None:
data, stat = exclude[e]
try:
with open(e, "w") as f:
f.write(data)
os.chown(e, stat.st_uid, stat.st_gid)
os.chmod(e, stat.st_mode)
except:
pass
|
Python
| 0
|
@@ -1649,20 +1649,17 @@
= 1.
-6.10
+8
, %3C 1.1
-0
+1
%22,%0A
|
44bb2d27aa4d0651e79ed57be733c08a61d195c0
|
Add conflict with newer pyparsing versions
|
setup.py
|
setup.py
|
#!/usr/bin/env python
"""
This script uses Setuptools (http://pythonhosted.org/setuptools/), a
collection of enhancements to the standard Python distutils.
"""
import sys
import os
import shutil
from setuptools import setup, Command, find_packages
from setuptools.command.test import test as TestCommand
# Make sure I have the right Python version.
if sys.version_info[:2] < (3, 2):
print("SymPy requires Python 3.2 or newer. Python %d.%d detected" % sys.version_info[:2])
sys.exit(-1)
class clean(Command):
"""Cleans *.pyc and debian trashs, so you should get the same copy as
is in the VCS.
"""
description = "remove build files"
user_options = [("all", "a", "the same")]
def initialize_options(self):
self.all = None
def finalize_options(self):
pass
def run(self):
dir_setup = os.path.dirname(os.path.realpath(__file__))
curr_dir = os.getcwd()
for root, dirs, files in os.walk(dir_setup):
for file in files:
if file.endswith('.pyc') and os.path.isfile:
os.remove(os.path.join(root, file))
os.chdir(dir_setup)
names = ["python-build-stamp-2.4", "MANIFEST", "build", "dist", "doc/_build", ".coverage", ".cache"]
for f in names:
if os.path.isfile(f):
os.remove(f)
elif os.path.isdir(f):
shutil.rmtree(f)
os.chdir(curr_dir)
class test(TestCommand):
"""Runs all tests."""
description = "run all tests and doctests"
user_options = [('cov', None, "gatter coverage information"),
('mark=', "m", "run tests matching given mark expression")]
def initialize_options(self):
TestCommand.initialize_options(self)
self.cov = None
self.mark = None
def finalize_options(self):
TestCommand.finalize_options(self)
try:
# New setuptools don't need this anymore
self.test_args = []
self.test_suite = True
except AttributeError:
pass
self.pytest_args = []
if self.cov is not None:
self.pytest_args.extend(["--cov", "sympy"])
if self.mark is not None:
self.pytest_args.extend(["-m", self.mark])
def run_tests(self):
import pytest
errno = pytest.main(self.pytest_args)
sys.exit(errno)
exec(open('sympy/release.py').read())
with open('sympy/__init__.py') as f:
long_description = f.read().split('"""')[1]
setup(name='sympy',
version=__version__,
description='Computer algebra system (CAS) in Python',
long_description=long_description,
maintainer='Sergey B Kirpichev',
license='BSD',
keywords="Math CAS",
url='http://diofant.rtfd.io',
packages=find_packages(),
ext_modules=[],
cmdclass={'test': test,
'clean': clean},
classifiers=[
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Scientific/Engineering :: Physics',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.4',
],
tests_require=['pytest>=2.7.0', 'flake8', 'pep8-naming', 'pytest-cov'],
install_requires=['mpmath>=0.19', 'strategies>=0.2.3', 'cachetools'],
setup_requires=['setuptools>=5.5.1,<=19.4', 'pip>=6.0'],
extras_require={
'exports': ["numpy", "scipy", "Theano"],
'gmpy': ["gmpy>=1.16"],
'plot': ["matplotlib"],
'interactive': ["ipython>=2.3.0"],
}
)
|
Python
| 0
|
@@ -3747,16 +3747,36 @@
plot': %5B
+%22pyparsing!=2.1.2%22,
%22matplot
|
c5f297001f12a6bea42c6460d480fdd63285c2bc
|
bump version to 0.18
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name = 'schiene',
packages = ['schiene'],
version = '0.17',
license = 'MIT',
description = 'schiene is a Python library for interacting with Bahn.de',
author = 'Kevin Kennell',
author_email = 'kevin@kennell.de',
install_requires=[
'requests>=2.10.0',
'beautifulsoup4>=4.4.1'
],
url = 'https://github.com/kennell/schiene',
keywords = ['bahn', 'api'],
classifiers = [],
)
|
Python
| 0
|
@@ -95,9 +95,9 @@
'0.1
-7
+8
',%0A
|
c101310d7e8d90c3d9d0ac412964c62617a2aa4e
|
Update test_requires in setup.py
|
setup.py
|
setup.py
|
"""
Flask-Slacker
--------------
Adds Slack support to your Flask application using Slacker.
"""
import ast
import re
from setuptools import setup
def get_version():
_version_re = re.compile(r'__version__\s+=\s+(.*)')
with open('flask_slacker/__init__.py', 'rb') as f:
version = str(ast.literal_eval(_version_re.search(
f.read().decode('utf-8')).group(1)))
return version
install_requires = [
'Flask >= 0.12.2',
'Slacker >= 0.9.60'
]
test_requires = [
'pytest >= 3.2.2',
'pytest-flake8',
'pytest-isort'
]
setup(
name='Flask-Slacker',
version=get_version(),
license='MIT',
url='https://github.com/mdsrosa/flask-slacker',
author='Matheus Rosa',
author_email='matheusdsrosa@gmail.com',
description='Adds support to your Flask application using Slacker.',
long_description=__doc__,
packages=['flask_slacker'],
zip_safe=False,
platforms='any',
include_package_data=True,
install_requires=install_requires,
setup_requires=test_requires,
tests_require=test_requires,
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
]
)
|
Python
| 0
|
@@ -536,14 +536,54 @@
est-
-flake8
+runner %3E= 2.12.1',%0A 'pytest-flake8 %3E= 0.8.1
',%0A
@@ -598,16 +598,25 @@
st-isort
+ %3E= 0.1.0
'%0A%5D%0A%0A%0Ase
|
69994e4b7bac8ba10bbf412060e42ce71832c2cb
|
add py3.5 classifier
|
setup.py
|
setup.py
|
from setuptools import setup
import imp
_version = imp.load_source("pynmea2._version", "pynmea2/_version.py")
setup(
name='pynmea2',
version=_version.__version__,
author='Tom Flanagan',
author_email='tom@zkpq.ca',
license='MIT',
url='https://github.com/Knio/pynmea2',
description='Python library for the NMEA 0183 protcol',
packages=['pynmea2','pynmea2.types','pynmea2.types.proprietary'],
keywords='python nmea gps parse parsing nmea0183 0183',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Scientific/Engineering :: GIS',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
|
Python
| 0.007939
|
@@ -942,24 +942,74 @@
n :: 3.4',%0D%0A
+ 'Programming Language :: Python :: 3.5',%0D%0A
'Pro
|
e1cc4d49f37abbda308968b1bf4f49298a1c904e
|
Change version to prevent unleash from choking.
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# coding=utf8
import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(name='legitfs',
version='0.3dev',
description='A read-only FUSE-based filesystem allowing you to browse '
'git repositories',
long_description=read('README.rst'),
keywords='git,fuse,filesystem,fs,read-only,readonly,legit,legitfs',
author='Marc Brinkmann',
author_email='git@marcbrinkmann.de',
url='http://github.com/mbr/legitfs',
license='MIT',
packages=find_packages(exclude=['tests']),
install_requires=['dulwich', 'fusepy', 'click', 'logbook'],
entry_points={
'console_scripts': [
'legitfs = legitfs.cli:main',
]
}
)
|
Python
| 0
|
@@ -221,11 +221,13 @@
'0.3
+.
dev
+1
',%0A
|
7ccc29455aca3ad453d7d62cd1c1fa874a22dcc2
|
add setup file
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import labyrinth
with open('requirements.txt') as f:
requires = f.read().split('\n')
setup(
name='oc-labyrinth',
version=3.2,
packages=find_packages(),
install_requires=requires,
author='Nico Zhan',
author_email='nicozhan@hyperloop.fr',
description='Help Mc Gyver to leave the maze',
long_description=open('README.md').read(),
# include file from manifest.in
include_package_data=True,
url='https://github.com/Hyperyon/p3-labyrinthe',
classifiers=[
'Programming Language :: Python',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.5',
'Topic :: Game',
],
)
|
Python
| 0.000001
|
@@ -41,18 +41,16 @@
-8 -*-%0A%0A
-%0A%0A
from set
@@ -177,18 +177,16 @@
('%5Cn')%0A%0A
-%0A%0A
setup(%0A%0A
|
387dcda6fff3fac0d8506e047919ffe3c48591af
|
Bump django-entity to version 1.1.2
|
setup.py
|
setup.py
|
# import multiprocessing to avoid this bug (http://bugs.python.org/issue15881#msg170215)
import multiprocessing
assert multiprocessing
import re
from setuptools import setup, find_packages
def get_version():
"""
Extracts the version number from the version.py file.
"""
VERSION_FILE = 'entity_emailer/version.py'
mo = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]', open(VERSION_FILE, 'rt').read(), re.M)
if mo:
return mo.group(1)
else:
raise RuntimeError('Unable to find version string in {0}.'.format(VERSION_FILE))
setup(
name='django-entity-emailer',
version=get_version(),
description='Make emailing users easy and entity-based.',
long_description=open('README.rst').read(),
url='https://github.com/ambitioninc/django-entity-emailer',
author='Erik Swanson',
author_email='opensource@ambition.com',
keywords='',
packages=find_packages(),
classifiers=[
'Programming Language :: Python',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Framework :: Django',
],
license='MIT',
install_requires=[
'django>=1.6',
'django-db-mutex>=0.1.3',
'django-entity>=1.0',
'django-entity-subscription>=0.2.0',
'celery>=3.1',
],
tests_require=[
'django-dynamic-fixture',
'django-nose',
'freezegun',
'mock',
'south',
],
test_suite='run_tests.run_tests',
include_package_data=True,
)
|
Python
| 0
|
@@ -1282,17 +1282,19 @@
tity%3E=1.
-0
+1.2
',%0A
|
77ce7d52840da7ff98ae863f08fd46569325c05b
|
fix stup with description
|
setup.py
|
setup.py
|
import os
from distutils.command.build import build
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
tests_require = [
'freezegun',
'factory_boy',
'coverage',
]
here = os.path.abspath(os.path.dirname(__file__))
class BuildCommand(build):
def run(self):
""" Compile translation when install or build project. gettext should be installed """
super().run()
from django.core.management import call_command
call_command('compilemessages')
with open(os.path.join(here, 'mapentity', 'VERSION')) as version_file:
VERSION = version_file.read().strip()
setup(
name='mapentity',
version=VERSION,
author='Makina Corpus',
author_email='geobi@makina-corpus.com',
url='https://github.com/makinacorpus/django-mapentity',
download_url="https://pypi.python.org/pypi/mapentity/",
description="Generic CRUD with maps",
long_description=(open(os.path.join(here, 'README.rst')).read() + '\n\n' +
open(os.path.join(here, 'CHANGES.md')).read()),
license='BSD, see LICENSE file.',
setup_requires=['django'], # allow compilemessages to work in setup.py
cmdclass={"build": BuildCommand},
install_requires=[
'BeautifulSoup4',
'cairocffi',
'Django',
'django-appypod',
'django-compressor',
'django-crispy-forms',
'django-embed-video',
'django-filter',
'django-geojson',
'django-leaflet>=0.19,<0.20', # leaflet 0.7.x
'django-modeltranslation',
'django-tinymce>=3',
'django-weasyprint',
'djangorestframework',
'djangorestframework-gis',
'djangorestframework-datatables',
'django-modelcluster',
'easy-thumbnails',
'fiona',
'gpxpy',
'netifaces',
'lxml',
'paperclip',
'requests',
'WeasyPrint',
],
tests_require=tests_require,
extras_require={
'dev': tests_require + [
'django-debug-toolbar',
'flake8'
]
},
packages=find_packages(),
include_package_data=True,
zip_safe=False,
python_requires='>=3.6',
classifiers=['Topic :: Utilities',
'Natural Language :: English',
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'Environment :: Web Environment',
'Framework :: Django',
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 3'],
)
|
Python
| 0.000264
|
@@ -999,87 +999,8 @@
ad()
- + '%5Cn%5Cn' +%0A open(os.path.join(here, 'CHANGES.md')).read()
),%0A
|
998ce4a9425f7ab612321e6040bc276594ea8069
|
Bump release number to 0.10
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from distutils.core import setup
setup(name = 'pybis',
version = '0.9',
description = 'Python IBIS parser',
author = 'Russ Dill',
requires = [ 'pyparsing', 'numpy' ],
author_email = 'Russ.Dill@gmail.com',
url = 'https://github.com/russdill/pybis/wiki',
download_url = 'https://github.com/russdill/pybis',
py_modules = [ 'pybis' ],
scripts = [ 'examples/models.py', 'examples/ibs2symdef.py' ],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)'
'Operating System :: OS Independent',
'Programming Language :: Python',
]
)
|
Python
| 0.000031
|
@@ -93,9 +93,10 @@
'0.
-9
+10
',%0A
|
60ff392b985d8efd8d67eff61bac712320a758f9
|
Version bump to 0.0.6 since there was a version mismatch with PyPi.
|
setup.py
|
setup.py
|
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
import setuptools as st
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
st.setup(
name='nara_wpe',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.0.4',
description='Weighted Prediction Error for speech dereverberation',
long_description=long_description,
# The project's main homepage.
url='',
# Author details
author='Lukas Drude',
author_email='drude@nt.upb.de',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3.6',
],
# What does your project relate to?
keywords='speech',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=st.find_packages(exclude=['contrib', 'docs', 'tests*']),
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=[
'pathlib2;python_version<"3.0"',
'numpy',
'tqdm',
'soundfile',
'bottleneck',
'click'
],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
'dev': ['check-manifest'],
'test': ['coverage', 'jupyter', 'matplotlib'],
},
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
# package_data={
# 'nt_feature_extraction': ['package_data.dat'],
# },
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
# data_files=[('my_data', ['data/data_file'])],
# https://stackoverflow.com/questions/2379898/make-distutils-look-for-numpy-header-files-in-the-correct-place
# include_dirs = [np.get_include()],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
# entry_points={
# 'console_scripts': [
# 'nt_feature_extraction=nt_feature_extraction:main',
# ],
# },
)
|
Python
| 0
|
@@ -658,17 +658,17 @@
on='0.0.
-4
+6
',%0A%0A
|
8297fd9f1dfd221cb1dd22187bcf410b5c8475cc
|
add long description to setup.py (#292)
|
setup.py
|
setup.py
|
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.version_info <= (2, 4):
error = 'Requires Python Version 2.5 or above... exiting.'
print >> sys.stderr, error
sys.exit(1)
requirements = [
'requests>=2.20.0,<3.0',
]
setup(name='googlemaps',
version='3.0.2',
description='Python client library for Google Maps API Web Services',
scripts=[],
url='https://github.com/googlemaps/google-maps-services-python',
packages=['googlemaps'],
license='Apache 2.0',
platforms='Posix; MacOS X; Windows',
setup_requires=requirements,
install_requires=requirements,
test_suite='googlemaps.test',
classifiers=['Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet',
]
)
|
Python
| 0
|
@@ -8,87 +8,33 @@
sys%0A
-%0A%0Atry:%0A from setuptools import setup%0Aexcept ImportError:%0A from distutils.core
+import io%0Afrom setuptools
imp
@@ -76,16 +76,18 @@
(2, 4):%0A
+
error
@@ -88,17 +88,17 @@
error =
-'
+%22
Requires
@@ -141,10 +141,12 @@
ing.
-'%0A
+%22%0A
pr
@@ -151,17 +151,16 @@
print %3E%3E
-
sys.stde
@@ -169,16 +169,18 @@
, error%0A
+
sys.ex
@@ -207,14 +207,9 @@
= %5B
-%0A '
+%22
requ
@@ -229,20 +229,139 @@
%3C3.0
-',%0A%5D
+%22%5D%0A%0A# use io.open until python2.7 support is dropped%0Awith io.open(%22README.md%22, encoding=%22utf8%22) as f:%0A readme = f.read()
%0A%0Asetup(
name
@@ -360,14 +360,19 @@
tup(
+%0A
name=
-'
+%22
goog
@@ -381,25 +381,23 @@
maps
-'
+%22
,%0A
-
-
version=
'3.0
@@ -396,23 +396,21 @@
ion=
-'
+%22
3.0.2
-'
+%22
,%0A
-
desc
@@ -417,17 +417,17 @@
ription=
-'
+%22
Python c
@@ -460,29 +460,99 @@
aps
-API Web Services',%0A
+Platform%22,%0A long_description=readme,%0A long_description_content_type=%22text/markdown%22,%0A
@@ -571,15 +571,13 @@
-
url=
-'
+%22
http
@@ -629,21 +629,19 @@
s-python
-'
+%22
,%0A
-
pack
@@ -646,17 +646,17 @@
ckages=%5B
-'
+%22
googlema
@@ -661,26 +661,24 @@
maps
-'
+%22
%5D,%0A
-
-
license=
'Apa
@@ -673,17 +673,17 @@
license=
-'
+%22
Apache 2
@@ -684,21 +684,19 @@
ache 2.0
-'
+%22
,%0A
-
plat
@@ -701,17 +701,17 @@
atforms=
-'
+%22
Posix; M
@@ -725,21 +725,19 @@
Windows
-'
+%22
,%0A
-
setu
@@ -765,18 +765,16 @@
ts,%0A
-
install_
@@ -800,18 +800,16 @@
ts,%0A
-
test_sui
@@ -811,17 +811,17 @@
t_suite=
-'
+%22
googlema
@@ -827,25 +827,23 @@
aps.test
-'
+%22
,%0A
-
-
classifi
@@ -847,17 +847,26 @@
ifiers=%5B
-'
+%0A %22
Developm
@@ -887,17 +887,17 @@
4 - Beta
-'
+%22
,%0A
@@ -898,28 +898,17 @@
- '
+%22
Intended
@@ -930,17 +930,17 @@
velopers
-'
+%22
,%0A
@@ -941,28 +941,17 @@
- '
+%22
License
@@ -992,17 +992,17 @@
License
-'
+%22
,%0A
@@ -1003,28 +1003,17 @@
- '
+%22
Operatin
@@ -1038,17 +1038,17 @@
ependent
-'
+%22
,%0A
@@ -1045,36 +1045,25 @@
t%22,%0A
- '
+%22
Programming
@@ -1087,17 +1087,17 @@
n :: 2.7
-'
+%22
,%0A
@@ -1094,36 +1094,25 @@
7%22,%0A
- '
+%22
Programming
@@ -1139,92 +1139,21 @@
: 3.
-2',%0A 'Programming Language :: Python :: 3.4',%0A '
+5%22,%0A %22
Prog
@@ -1188,10 +1188,10 @@
: 3.
-5'
+6%22
,%0A
@@ -1196,28 +1196,17 @@
-
- '
+%22
Programm
@@ -1237,10 +1237,10 @@
: 3.
-6'
+7%22
,%0A
@@ -1249,20 +1249,9 @@
- '
+%22
Topi
@@ -1267,36 +1267,16 @@
rnet
-'
+%22
,%0A
- %5D%0A
+%5D,%0A
)%0A
|
985dc5fe85b02d597098a1dd0a361871149e8089
|
update to 3.0.1
|
setup.py
|
setup.py
|
from distutils.core import setup
from setuptools import find_packages
version = '3.0.0'
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.17',
'pandas>=0.17',
'scipy>=0.17'],
url='https://github.com/hycis/TensorGraph',
download_url = 'https://github.com/hycis/TensorGraph/tarball/{}'.format(version),
license='Apache 2.0, see LICENCE',
description='A tensorflow library for building all kinds of models',
long_description=open('README.md').read(),
packages=find_packages(),
zip_safe=False,
include_package_data=True
)
|
Python
| 0
|
@@ -585,16 +585,27 @@
tion='A
+high level
tensorfl
@@ -632,21 +632,8 @@
ing
-all kinds of
mode
|
f372f5d577687aea0e5a70b41ebd1475125c1fd7
|
Bump version to 1.4.3
|
setup.py
|
setup.py
|
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='django-gravatar2',
version='1.4.2',
description='Essential Gravatar support for Django. Features helper'
' methods, templatetags and a full test suite!',
long_description=open('README.rst').read(),
keywords='django gravatar avatar',
license='MIT',
author='Tristan Waddington',
author_email='tristan.waddington@gmail.com',
url='https://github.com/twaddington/django-gravatar',
packages=['django_gravatar', 'django_gravatar.templatetags', 'example_project'],
classifiers=[
'Development Status :: 5 - Production/Stable', # 4 Beta, 5 Production/Stable
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Framework :: Django',
]
)
|
Python
| 0
|
@@ -142,17 +142,17 @@
on='1.4.
-2
+3
',%0A d
|
7b16884e0081b8ade9382483acd22b54629d3c6a
|
update version
|
setup.py
|
setup.py
|
from setuptools import setup
with open('LICENSE') as f:
license = f.read()
setup(
name='pymyq',
version='0.0.13',
description='Python package for controlling MyQ-Enabled Garage Door',
author='Chris Campbell',
author_email='chris@arraylabs.com',
url='https://github.com/arraylabs/pymyq',
license=license,
packages=['pymyq'],
package_dir={'pymyq': 'pymyq'}
)
|
Python
| 0
|
@@ -122,9 +122,9 @@
.0.1
-3
+6
',%0A
|
c82e056ec41792b4a8aa2087817eb72637e02cb8
|
Bump to v0.2.2
|
setup.py
|
setup.py
|
import sys
from setuptools import setup, find_packages
if sys.version_info.major < 3:
sys.exit("Error: Please upgrade to Python3")
def get_long_description():
with open("README.rst") as fp:
return fp.read()
setup(name="tsrc",
version="0.2.1",
description="Manage multiple repositories",
long_description=get_long_description(),
url="https://github.com/TankerApp/tsrc",
author="Kontrol SAS",
packages=find_packages(),
include_package_data=True,
install_requires=[
"attrs",
"colored_traceback",
"colorama",
"path.py",
"pyparsing",
"requests",
"ruamel.yaml",
"schema",
"tabulate",
"unidecode",
"xdg",
],
classifiers=[
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
],
entry_points={
"console_scripts": [
"tsrc = tsrc.cli.main:main",
]
}
)
|
Python
| 0.000001
|
@@ -263,9 +263,9 @@
0.2.
-1
+2
%22,%0A
|
5adb1ccfa30021bcac68364a032196bfc57098a2
|
Rewrite show-stack-params-and-outputs.sh in python to get around problems that script has with older jq versions
|
setup.py
|
setup.py
|
# Copyright 2016-2017 Nitor Creations Oy
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import sys
from setuptools import setup
from n_utils import SCRIPTS, CONSOLESCRIPTS
setup(name='nitor_deploy_tools',
version='0.114',
description='Utilities for deploying with Nitor aws-utils',
url='http://github.com/NitorCreations/nitor-deploy-tools',
download_url='https://github.com/NitorCreations/nitor-deploy-tools/tarball/0.114',
author='Pasi Niemi',
author_email='pasi@nitor.com',
license='Apache 2.0',
packages=['n_utils'],
include_package_data=True,
scripts=SCRIPTS,
entry_points={
'console_scripts': CONSOLESCRIPTS,
},
install_requires=[
'pyaml',
'boto3',
'awscli',
'pycrypto',
'requests',
'termcolor',
'ipaddr',
'argcomplete',
'nitor-vault',
'psutil',
'Pygments'
] + ([
'win-unicode-console',
'wmi',
'pypiwin32'
] if sys.platform.startswith('win') else []),
zip_safe=False)
|
Python
| 0
|
@@ -713,25 +713,25 @@
ersion='0.11
-4
+5
',%0A des
@@ -941,9 +941,9 @@
0.11
-4
+5
',%0A
|
4ddde13eae99912559fc2fc6434ff16b9dfcf6a3
|
fix build
|
setup.py
|
setup.py
|
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
setup(name='python-pcl',
description='pcl wrapper',
url='http://github.com/strawlab/python-pcl',
version='0.1',
author='John Stowers',
author_email='john.stowers@gmail.com',
license='BSD',
ext_modules=[Extension(
"pcl",
["pcl.pyx", "minipcl.cpp"],
include_dirs=["/usr/include/pcl-1.5", "/usr/include/eigen3/"],
libraries=["pcl_segmentation", "pcl_io", "OpenNI",
"usb-1.0", "pcl_filters", "pcl_sample_consensus",
"pcl_features", "pcl_surface", "pcl_search", "pcl_kdtree", "pcl_octree",
"flann_cpp", "flann_cpp-gd", "pcl_common"],
language="c++")],
cmdclass={'build_ext': build_ext}
)
|
Python
| 0.000001
|
@@ -822,24 +822,8 @@
pp%22,
- %22flann_cpp-gd%22,
%22pc
|
b1bb13b56f3eb64f33ce39a153a69d4f0edd05a9
|
Update django-gcloud-connectors
|
setup.py
|
setup.py
|
import os
from setuptools import setup, find_packages
NAME = 'djangae'
PACKAGES = find_packages()
DESCRIPTION = 'Django integration with Google App Engine'
URL = "https://github.com/potatolondon/djangae"
LONG_DESCRIPTION = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
AUTHOR = 'Potato London Ltd.'
EXTRAS = {
"test": ["beautifulsoup4"],
}
setup(
name=NAME,
version='2.0.0',
packages=PACKAGES,
# metadata for upload to PyPI
author=AUTHOR,
author_email='mail@p.ota.to',
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
keywords=["django", "Google App Engine", "GAE"],
url=URL,
classifiers=[
'Development Status :: 3 - Alpha',
'Framework :: Django',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
include_package_data=True,
# dependencies
install_requires=[
'django-gcloud-connectors >= 0.1.0',
'google-api-python-client>=1.7.11',
# requests required by cloud storage file backend
'requests>=2.22.0'
],
extras_require=EXTRAS,
tests_require=EXTRAS['test'],
)
|
Python
| 0.000001
|
@@ -1249,11 +1249,11 @@
= 0.
-1.0
+2.1
',%0A
|
cf4caa6abd7756e76ab3e613b183f163fd8d88cc
|
increment version [ci skip]
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup
setup(
name='pysrcds',
version='0.1.5',
description='Python library for interacting with Source engine dedicated'
' servers',
author='Peter Rowlands',
author_email='peter@pmrowla.com',
url='https://github.com/pmrowla/pysrcds',
packages=['srcds', 'srcds/events'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Games/Entertainment :: First Person Shooters',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
install_requires=['future'],
long_description='''
=======
pysrcds
=======
Python library for interacting with Source engine dedicated servers.
pysrcds provides the functionality to communicate with a dedicated server via
RCON and also provides the ability to parse Source engine logs. There are also
some utility classes that may be useful for developing other Source related
functionality.
License
=======
pysrcds is distributed under the MIT license.
''',
)
|
Python
| 0
|
@@ -90,17 +90,21 @@
on='0.1.
-5
+6.dev
',%0A d
|
138865c79782875076c91de4252aaf2dd8567101
|
fix package issue
|
setup.py
|
setup.py
|
from distutils.core import setup
import os
base_dir = os.path.dirname(__file__)
setup(
name='Django-Bootstrap3-Validator',
version='0.3',
author='Xu Yuan',
author_email='ankh2008@gmail.com',
packages=['bootstrap_validator', 'bootstrap_validator.templatetags','bootstrap_validator.migrations'],
url="https://github.com/yuanxu/django-bootstrap3-validator",
license='LICENSE.txt',
description='BootstrapValidator support for Django projects',
include_package_data=True,
long_description=open(os.path.join(base_dir, 'README.md')).read(),
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries',
'Topic :: Utilities',
'Environment :: Web Environment',
'Framework :: Django',
],
)
|
Python
| 0.000001
|
@@ -35,16 +35,53 @@
mport os
+%0Afrom setuptools import find_packages
%0A%0Abase_d
@@ -174,16 +174,18 @@
ion='0.3
+.3
',%0A a
@@ -257,100 +257,23 @@
ges=
-%5B'bootstrap_validator', 'bootstrap_validator.templatetags','bootstrap_validator.migrations'%5D
+find_packages()
,%0A
|
548893b224bf7addbb56dd19455f0df5c24f7b51
|
Fix setup.py
|
setup.py
|
setup.py
|
import os.path
import sys
from autotweet import __version__ as version
try:
from setuptools import find_packages, setup
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import find_packages, setup
def readme():
try:
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
return f.read()
except (IOError, OSError):
return ''
install_reqs = [
'sqlalchemy>=0.9.6',
'tweepy>=2.3.0',
]
extra_reqs = {
'telegram': [
'python-telegram-bot>=5.2.0',
],
}
if sys.version_info < (3, 2):
install_reqs.append('futures')
setup(
name='autotweet',
version=version,
description='learn your tweet and auto tweet it.',
long_description=readme(),
url='https://github.com/Kjwon15/autotweet/',
download_url='https://github.com/Kjwon15/autotweet/releases',
author='Kjwon15',
author_email='kjwonmail' '@' 'gmail.com',
license='MIT',
entry_points={
'console_scripts': [
'autotweet = autotweet.command:main'
]
},
packages=find_packages(exclude=['tests']),
install_requires=install_reqs,
extras_require=extra_reqs,
tests_require=['pytest >= 2.4.0'],
classifiers=[
'Development Status :: 5 - Production/Stable'
'Environment :: Console',
'Environment :: No Input/Output (Daemon)',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Communications :: Chat',
'Topic :: Utilities',
]
)
|
Python
| 0.000001
|
@@ -1317,16 +1317,17 @@
/Stable'
+,
%0A
|
4aa1f797e8c4e94572c6bc12819abd4501b0d1e4
|
remove python-memcached from install_requires
|
setup.py
|
setup.py
|
import os
from setuptools import setup
version = '0.1.0'
# 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, dirnames, filenames in os.walk('requests_monitor'):
# Ignore dirnames that start with '.'
dirnames = [dirname for dirname in dirnames if not dirname.startswith('.')]
if '__init__.py' in filenames:
pkg = dirpath.replace(os.path.sep, '.')
if os.path.altsep:
pkg = pkg.replace(os.path.altsep, '.')
packages.append(pkg)
elif filenames:
prefix = dirpath[17:] # Strip "requests_monitor/" or "requests_monitor\"
for f in filenames:
data_files.append(os.path.join(prefix, f))
setup(
name='django-requests-monitor',
version=version,
description='Shows debug information about requests',
long_description=open('README.rst').read(),
author='Kirill Fomichev',
author_email='fanatid@ya.ru',
url='https://github.com/fanatid/django-requests-monitor',
license='BSD',
package_dir={'requests_monitor': 'requests_monitor'},
packages=packages,
package_data={'requests_monitor': data_files},
include_package_data=True,
zip_safe=False,
install_requires=[
'django-debug-toolbar',
'python-memcached',
],
)
|
Python
| 0.000001
|
@@ -1409,36 +1409,8 @@
r',%0A
- 'python-memcached',%0A
|
8cce0f9789673c9b4033fa2685b6da24d8d53147
|
Bump vers for OE POS taggers
|
setup.py
|
setup.py
|
"""Config for PyPI."""
from setuptools import find_packages
from setuptools import setup
setup(
author='Kyle P. Johnson',
author_email='kyle@kyle-p-johnson.com',
classifiers=[
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: Chinese (Traditional)',
'Natural Language :: English',
'Natural Language :: Greek',
'Natural Language :: Latin',
'Operating System :: POSIX',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Text Processing',
'Topic :: Text Processing :: General',
'Topic :: Text Processing :: Linguistic',
],
description='NLP for the ancient world',
install_requires=['gitpython',
'nltk',
'python-crfsuite',
'pyuca',
'pyyaml',
'regex',
'whoosh'],
keywords=['nlp', 'nltk', 'greek', 'latin', 'chinese', 'sanskrit', 'pali', 'tibetan', 'arabic', "germanic"],
license='MIT',
long_description='The Classical Language Toolkit (CLTK) is a framework for natural language processing for Classical languages.', # pylint: disable=C0301,
name='cltk',
packages=find_packages(),
url='https://github.com/cltk/cltk',
version='0.1.93',
zip_safe=True,
test_suite='cltk.tests.test_cltk',
)
|
Python
| 0
|
@@ -1461,17 +1461,17 @@
n='0.1.9
-3
+4
',%0A z
|
b8fb03a8945f1a895c8f5e55f01a6d4219aa745a
|
Add metadata
|
setup.py
|
setup.py
|
#! /usr/bin/env python
# pylint: disable=invalid-name,missing-docstring
from setuptools import setup
from setuptools.extension import Extension
from Cython.Build import cythonize
extensions = [
Extension(
name='pyglsl_parser.parser',
sources=['pyglsl_parser/parser.pyx',
'glsl-parser/ast.cpp',
'glsl-parser/lexer.cpp',
'glsl-parser/parser.cpp',
'glsl-parser/util.cpp'],
language='c++',
)
]
setup(name='pyglsl_parser',
version='0.5.0',
test_suite='test',
ext_modules=cythonize(extensions))
|
Python
| 0.000044
|
@@ -563,16 +563,156 @@
'test',%0A
+ url='https://github.com/nicholasbishop/pyglsl_parser',%0A author='Nicholas Bishop',%0A author_email='nicholasbishop@gmail.com',%0A
ex
|
14ec7154a7fe10ddd73c4aac49e6ccc1a3d11c17
|
Bump sphinx from 4.0.1 to 4.0.2
|
setup.py
|
setup.py
|
import re
from setuptools import setup, find_packages
FRAMEWORKS = [
"Flask>=0.12.5",
"Django>=2.2.0",
"bottle>=0.12.13",
"tornado>=4.5.2",
"pyramid>=1.9.1",
"falcon>=2.0.0",
"aiohttp>=3.0.8",
]
EXTRAS_REQUIRE = {
"frameworks": FRAMEWORKS,
"tests": [
"pytest",
"webtest==2.0.35",
"webtest-aiohttp==2.0.0",
"pytest-aiohttp>=0.3.0",
]
+ FRAMEWORKS,
"lint": [
"mypy==0.910",
"flake8==3.9.2",
"flake8-bugbear==21.4.3",
"pre-commit~=2.4",
],
"docs": [
"Sphinx==4.0.1",
"sphinx-issues==1.2.0",
"furo==2021.06.18b36",
]
+ FRAMEWORKS,
}
EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_REQUIRE["lint"] + ["tox"]
def find_version(fname):
"""Attempts to find the version number in the file names fname.
Raises RuntimeError if not found.
"""
version = ""
with open(fname) as fp:
reg = re.compile(r'__version__ = [\'"]([^\'"]*)[\'"]')
for line in fp:
m = reg.match(line)
if m:
version = m.group(1)
break
if not version:
raise RuntimeError("Cannot find version information")
return version
def read(fname):
with open(fname) as fp:
content = fp.read()
return content
setup(
name="webargs",
version=find_version("src/webargs/__init__.py"),
description=(
"Declarative parsing and validation of HTTP request objects, "
"with built-in support for popular web frameworks, including "
"Flask, Django, Bottle, Tornado, Pyramid, Falcon, and aiohttp."
),
long_description=read("README.rst"),
author="Steven Loria",
author_email="sloria1@gmail.com",
url="https://github.com/marshmallow-code/webargs",
packages=find_packages("src"),
package_dir={"": "src"},
package_data={"webargs": ["py.typed"]},
install_requires=["marshmallow>=3.0.0"],
extras_require=EXTRAS_REQUIRE,
license="MIT",
zip_safe=False,
keywords=(
"webargs",
"http",
"flask",
"django",
"bottle",
"tornado",
"aiohttp",
"request",
"arguments",
"validation",
"parameters",
"rest",
"api",
"marshmallow",
),
python_requires=">=3.6",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
test_suite="tests",
project_urls={
"Changelog": "https://webargs.readthedocs.io/en/latest/changelog.html",
"Issues": "https://github.com/marshmallow-code/webargs/issues",
"Funding": "https://opencollective.com/marshmallow",
"Tidelift": "https://tidelift.com/subscription/pkg/pypi-webargs?utm_source=pypi-marshmallow&utm_medium=pypi", # noqa
},
)
|
Python
| 0.000037
|
@@ -582,17 +582,17 @@
nx==4.0.
-1
+2
%22,%0A
|
caf4d2184a92c52f4f8a5d1f9cc96058d0f0f1fe
|
Add "plotting" extra to setup.py which requires matplotlib
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
# vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# Copyright (C) 2013-2017 GEM Foundation
#
# OpenQuake is free software: you can redistribute it and/or modify it
# under the terms of the GNU Affero General Public License as published
# by the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# OpenQuake is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with OpenQuake. If not, see <http://www.gnu.org/licenses/>.
import re
import sys
from setuptools import setup, find_packages
def get_version():
version_re = r"^__version__\s+=\s+['\"]([^'\"]*)['\"]"
version = None
package_init = 'openquake/risklib/__init__.py'
for line in open(package_init, 'r'):
version_match = re.search(version_re, line, re.M)
if version_match:
version = version_match.group(1)
break
else:
sys.exit('__version__ variable not found in %s' % package_init)
return version
version = get_version()
url = "https://github.com/gem/oq-engine"
README = """
OpenQuake is an open source application that allows users to
compute seismic hazard and seismic risk of earthquakes on a global scale.
Copyright (C) 2010-2017 GEM Foundation
"""
PY_MODULES = ['openquake.commands.__main__']
install_requires = [
'Cython >=0.20, <0.26',
'mock >=1.0, <1.4',
'h5py >=2.2, <2.7',
'nose >=1.3, <1.4',
'numpy >=1.8, <1.12',
'scipy >=0.13, <0.18',
'psutil >=1.2, <4.5',
'shapely >=1.3, <1.6',
'docutils >=0.11, <0.14',
'decorator >=3.4, <4.1',
'django >=1.6, <1.11',
'requests >=2.2, <2.13',
# pyshp is fragile, we want only versions we have tested
'pyshp >=1.2.3, <1.2.11',
'openquake.hazardlib ==0.22',
]
if sys.version < '3':
install_requires.append(
'futures >=2.1, <3.1'
)
extras_require = {
'rtree': ["Rtree==0.8.2"],
'celery': ["celery >=3.1, <4.0"],
}
setup(
name="openquake.engine",
version=version,
author="GEM Foundation",
author_email="devops@openquake.org",
maintainer='GEM Foundation',
maintainer_email='devops@openquake.org',
description=("Computes hazard, risk and socio-economic impact of "
"earthquakes."),
license="AGPL3",
keywords="earthquake seismic hazard risk",
url=url,
long_description=README,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering',
'Environment :: Console',
'Environment :: Web Environment',
],
packages=find_packages(exclude=["qa_tests", "qa_tests.*",
"tools",
"openquake.engine.bin",
"openquake.engine.bin.*"]),
py_modules=PY_MODULES,
include_package_data=True,
package_data={"openquake.engine": [
"openquake.cfg", "README.md",
"LICENSE", "CONTRIBUTORS.txt"]},
namespace_packages=['openquake'],
install_requires=install_requires,
extras_require=extras_require,
scripts=['bin/oq'],
test_loader='openquake.baselib.runtests:TestLoader',
test_suite='openquake.risklib,openquake.commonlib,openquake.calculators',
zip_safe=False,
)
|
Python
| 0
|
@@ -2213,16 +2213,55 @@
%3C4.0%22%5D,%0A
+ 'plotting': %5B%22matplotlib %3E=1.5%22%5D,%0A
%7D%0A%0Asetup
|
8cbfbdf0591f6f9e08158350f6b937ac2e04ff49
|
update utilities
|
setup.py
|
setup.py
|
#!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
import os
import sys
# Add /usr/local/include to the path for macs, fixes easy_install for several packages (like gevent and pyyaml)
if sys.platform == 'darwin':
os.environ['C_INCLUDE_PATH'] = '/usr/local/include'
version = '0.1.8-dev'
setup( name = 'pyon',
version = version,
description = 'OOI ION Python Capability Container and Core Modules',
url = 'https://github.com/ooici/pyon',
download_url = 'http://sddevrepo.oceanobservatories.org/releases/',
license = 'Apache 2.0',
author = 'Adam R. Smith',
author_email = 'a2smith@ucsd.edu',
keywords = ['ooici','ioncore', 'pyon'],
packages = find_packages(),
entry_points = {
'nose.plugins.0.10': [
'pycc_plugin=pyon.util.pycc_plugin:PYCC',
'timer_plugin=pyon.util.timer_plugin:TestTimer',
'queueblame=pyon.util.queueblame_plugin:QueueBlame',
'capture=pyon.util.capture_plugin:PyccCapture',
'insulate=pyon.util.insulate:Insulate',
'insulateslave=pyon.util.insulate:InsulateSlave',
'gevent_profiler=pyon.util.nose_gevent_profiler:TestGeventProfiler'
],
'console_scripts' : [
'pycc=scripts.pycc:entry',
'control_cc=scripts.control_cc:main',
'generate_interfaces=scripts.generate_interfaces:main',
'store_interfaces=scripts.store_interfaces:main',
'json_report=scripts.json_report:main',
'clear_couch=pyon.datastore.clear_couch_util:main',
]
},
dependency_links = [
'http://sddevrepo.oceanobservatories.org/releases/',
'https://github.com/ooici/gevent-profiler/tarball/master#egg=python-gevent-profiler',
'https://github.com/ooici/utilities/tarball/v2012.9.7#egg=utilities-2012.9.7'
],
test_suite = 'pyon',
package_data = {'': ['*.xml']},
install_requires = [
'utilities==2012.9.7',
'greenlet==0.4.0',
'gevent',
'simplejson==2.1.6',
'msgpack-python==0.1.13',
'setproctitle==1.1.2',
'pika==0.9.5',
'httplib2>=0.7.2',
'pyzmq==2.1.7',
'gevent_zeromq==0.2.0',
'zope.interface',
'couchdb==0.8',
# 'lockfile==0.9.1',
'python-daemon==1.6',
'M2Crypto==0.21.1-pl1',
'coverage',
'nose==1.1.2',
'ipython==0.11',
'readline==6.2.1',
'mock==0.8',
'ndg-xacml==0.5.1',
'h5py==2.0.1', # see: http://www.hdfgroup.org/HDF5/release/obtain5.html
'python-gevent-profiler',
'lxml==2.3.4', # Fails to compile on Linux ??!??
'requests==0.13.5',
# DM related dependencies for 'tables'
# 'numpy==1.6.1',
# 'numexpr==1.4.2',
# 'cython==0.14.1',
# 'tables==2.3',
],
)
|
Python
| 0.000001
|
@@ -2042,17 +2042,17 @@
v2012.9.
-7
+8
#egg=uti
@@ -2065,17 +2065,17 @@
-2012.9.
-7
+8
'%0A
@@ -2208,17 +2208,17 @@
=2012.9.
-7
+8
',%0A
|
a3a51b905ec92b5f11c5dec5d9eed455c992fb86
|
Update version of cluster package pulled in.
|
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 :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
]
setup_kwargs = dict(
name='powershift-cli',
version='1.1.8',
description='Pluggable command line client for OpenShift.',
long_description=long_description,
url='https://github.com/getwarped/powershift-cli',
author='Graham Dumpleton',
author_email='Graham.Dumpleton@gmail.com',
license='BSD',
classifiers=classifiers,
keywords='openshift kubernetes',
packages=['powershift', 'powershift.cli'],
package_dir={'powershift': 'src/powershift'},
package_data={'powershift.cli': ['completion-bash.sh']},
entry_points = {'console_scripts':['powershift = powershift.cli:main']},
install_requires=['click'],
extras_require={'all':['powershift-cluster>=1.1.1'],
'cluster':['powershift-cluster>=1.1.1']},
)
setup(**setup_kwargs)
|
Python
| 0
|
@@ -1214,17 +1214,17 @@
er%3E=1.1.
-1
+5
'%5D,%0A
@@ -1275,17 +1275,17 @@
er%3E=1.1.
-1
+5
'%5D%7D,%0A)%0A%0A
|
f58de97d5cb51ecb6e397f936f5b6dd2b207d8c0
|
Use autopep8 1.5.5
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import glob
import os
from setuptools import setup, find_packages
import sys
import cupy_setup_build
for submodule in ('cupy/core/include/cupy/cub/',
'cupy/core/include/cupy/jitify'):
if len(os.listdir(submodule)) == 0:
msg = '''
The folder %s is a git submodule but is
currently empty. Please use the command
git submodule update --init
to populate the folder before building from source.
''' % submodule
print(msg, file=sys.stderr)
sys.exit(1)
requirements = {
'setup': [
'fastrlock>=0.5',
],
'install': [
'numpy>=1.17',
'fastrlock>=0.5',
],
'all': [
'scipy>=1.4',
'optuna>=2.0',
],
'stylecheck': [
'autopep8==1.4.4',
'flake8==3.8.4',
'pbr==4.0.4',
'pycodestyle==2.6.0',
],
'test': [
# 4.2 <= pytest < 6.2 is slow collecting tests and times out on CI.
'pytest>=6.2',
],
'appveyor': [
'-r test',
],
'jenkins': [
'-r test',
'pytest-timeout',
'pytest-cov',
'coveralls',
'codecov',
'coverage<5', # Otherwise, Python must be built with sqlite
],
}
def reduce_requirements(key):
# Resolve recursive requirements notation (-r)
reqs = requirements[key]
resolved_reqs = []
for req in reqs:
if req.startswith('-r'):
depend_key = req[2:].lstrip()
reduce_requirements(depend_key)
resolved_reqs += requirements[depend_key]
else:
resolved_reqs.append(req)
requirements[key] = resolved_reqs
for k in requirements.keys():
reduce_requirements(k)
extras_require = {k: v for k, v in requirements.items() if k != 'install'}
setup_requires = requirements['setup']
install_requires = requirements['install']
tests_require = requirements['test']
# List of files that needs to be in the distribution (sdist/wheel).
# Notes:
# - Files only needed in sdist should be added to `MANIFEST.in`.
# - The following glob (`**`) ignores items starting with `.`.
cupy_package_data = [
'cupy/cuda/cupy_thrust.cu',
'cupy/cuda/cupy_cub.cu',
'cupy/cuda/cupy_cufftXt.cu', # for cuFFT callback
'cupy/cuda/cupy_cufftXt.h', # for cuFFT callback
'cupy/cuda/cupy_cufft.h', # for cuFFT callback
'cupy/cuda/cufft.pxd', # for cuFFT callback
'cupy/cuda/cufft.pyx', # for cuFFT callback
'cupy/random/cupy_distributions.cu',
'cupy/random/cupy_distributions.cuh',
] + [
x for x in glob.glob('cupy/core/include/cupy/**', recursive=True)
if os.path.isfile(x)
]
package_data = {
'cupy': [
os.path.relpath(x, 'cupy') for x in cupy_package_data
],
}
package_data['cupy'] += cupy_setup_build.prepare_wheel_libs()
package_name = cupy_setup_build.get_package_name()
long_description = cupy_setup_build.get_long_description()
ext_modules = cupy_setup_build.get_ext_modules()
build_ext = cupy_setup_build.custom_build_ext
sdist = cupy_setup_build.sdist_with_cython
here = os.path.abspath(os.path.dirname(__file__))
# Get __version__ variable
with open(os.path.join(here, 'cupy', '_version.py')) as f:
exec(f.read())
CLASSIFIERS = """\
Development Status :: 5 - Production/Stable
Intended Audience :: Science/Research
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3 :: Only
Programming Language :: Cython
Topic :: Software Development
Topic :: Scientific/Engineering
Operating System :: POSIX
Operating System :: Microsoft :: Windows
"""
setup(
name=package_name,
version=__version__, # NOQA
description='CuPy: A NumPy-compatible array library accelerated by CUDA',
long_description=long_description,
author='Seiya Tokui',
author_email='tokui@preferred.jp',
url='https://cupy.dev/',
license='MIT License',
project_urls={
"Bug Tracker": "https://github.com/cupy/cupy/issues",
"Documentation": "https://docs.cupy.dev/",
"Source Code": "https://github.com/cupy/cupy",
},
classifiers=[_f for _f in CLASSIFIERS.split('\n') if _f],
packages=find_packages(exclude=['install', 'tests']),
package_data=package_data,
zip_safe=False,
python_requires='>=3.6.0',
setup_requires=setup_requires,
install_requires=install_requires,
tests_require=tests_require,
extras_require=extras_require,
ext_modules=ext_modules,
cmdclass={'build_ext': build_ext,
'sdist': sdist},
)
|
Python
| 0.000034
|
@@ -808,11 +808,11 @@
==1.
-4.4
+5.5
',%0A
|
27e2b252db2e2372d98996b3768683cfcd5b8bc2
|
bump version number
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
from os import path
here = path.abspath(path.dirname(__file__))
# convert .md to .rst; from here: http://stackoverflow.com/questions/10718767/have-the-same-readme-both-in-markdown-and-restructuredtext
try:
from pypandoc import convert
long_description = convert(path.join(here, 'README.md'), 'rst')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
long_description = ''
with open('requirements/pkg.txt') as f:
required = f.read().splitlines()
setup(
name='wextractor',
url='https://github.com/codeforamerica/w-drive-extractor',
license='MIT',
version='0.1.dev2',
author='Ben Smithgall',
author_email='bsmithgall@codeforamerica.org',
description='Extract flat data and load it as relational data',
long_description=long_description,
packages=find_packages(),
install_requires=required,
classifiers=[
'Development Status :: 3 - Alpha',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
Python
| 0.000004
|
@@ -686,17 +686,17 @@
'0.1.dev
-2
+3
',%0A a
|
5550b2feb24ee4f8f527182c115018b170f0d2cc
|
update version in setup file
|
setup.py
|
setup.py
|
import os
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "jconfigpy",
version = "0.0.4",
author = "fritzprix",
author_email = "innocentevil0914@gmail.com",
description = ("configuration utility which easily integrated into project using gnu make as build system"),
license = "BSD",
keywords = "configuration utility make",
url = "http://github.com/fritzprix/jconfigpy",
download_url = "http://github.com/fritzprix/jconfigpy/archive/0.0.4.tar.gz",
packages=['jconfigpy'],
long_description=read('README.md'),
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"License :: OSI Approved :: BSD License",
],
)
|
Python
| 0
|
@@ -410,17 +410,17 @@
= %220.0.
-4
+5
%22,%0D%0A
@@ -796,17 +796,17 @@
ive/0.0.
-4
+5
.tar.gz%22
|
f8babfd27fdc8c618fe8827d8a2cc4cf3153a1ad
|
support form Flask-WTF bigger then 0.8, aim for python 3
|
setup.py
|
setup.py
|
import os
import sys
from setuptools import setup, find_packages
def fpath(name):
return os.path.join(os.path.dirname(__file__), name)
def read(fname):
return open(fpath(fname)).read()
def desc():
return read('README.rst')
setup(
name='Flask-AppBuilder',
version='0.8.1',
url='https://github.com/dpgaspar/flask-appbuilder/',
license='BSD',
author='Daniel Vaz Gaspar',
author_email='danielvazgaspar@gmail.com',
description='Simple and rapid Application builder, includes detailed security, auto form generation, google charts and much more.',
long_description=desc(),
packages=find_packages(),
package_data={'': ['LICENSE']},
scripts=['bin/hash_db_password.py'],
include_package_data=True,
zip_safe=False,
platforms='any',
install_requires=[
'Flask>=0.10',
'Flask-BabelPkg>=0.9.4',
'Flask-Login>=0.2.0',
'Flask-OpenID>=1.1.0',
'Flask-SQLAlchemy>=0.16',
'Flask-WTF=>0.9.1',
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules'
],
test_suite=''
)
|
Python
| 0
|
@@ -983,10 +983,10 @@
-WTF
-=
%3E
+=
0.9.
|
b0ec026a6f75f03073de6de3fb2f7bfaff7b6d70
|
Update version number to 0.11
|
setup.py
|
setup.py
|
# Copyright 2019 The Empirical Calibration Authors.
#
# 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, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
# ============================================================================
"""Setup for empirical calibration package."""
from setuptools import find_packages
from setuptools import setup
setup(
name='empirical_calibration',
version='0.1',
description='Package for empirical calibration',
author='Google LLC',
author_email='no-reply@google.com',
url='https://github.com/google/empirical_calibration',
license='Apache 2.0',
packages=find_packages(),
install_requires=[
'absl-py',
'numpy >= 1.11.1',
'pandas',
'patsy',
'scipy',
'six',
'sklearn',
],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Topic :: Scientific/Engineering :: Mathematics',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
)
|
Python
| 0.000004
|
@@ -844,16 +844,17 @@
ion='0.1
+1
',%0A d
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.