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
|
|---|---|---|---|---|---|---|---|
ca1ef6d34d5ba04c6c1364b60d10314d49d00a8b
|
add classifiers to setup.py
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup
setup(
name='easymail',
version='0.1.0',
author='Mathias Fussenegger',
author_email='pip@zignar.net',
url='http://pypi.python.org/pypi/easymail/',
license='LICENSE.txt',
description='abstraction layer on top of the email package to make sending\
emails a little bit easier',
packages=['easymail'],
install_requires=[
]
)
|
Python
| 0.000001
|
@@ -437,11 +437,496 @@
=%5B%0A %5D
+,%0A classifiers=%5B%0A 'Programming Language :: Python',%0A 'Programming Language :: Python :: 2.7',%0A 'Programming Language :: Python :: 3.2',%0A 'Programming Language :: Python :: 3.3',%0A 'Intended Audience :: Developers',%0A 'Intended Audience :: System Administrators',%0A 'License :: OSI Approved :: MIT License',%0A 'Topic :: Internet :: WWW/HTTP',%0A 'Topic :: Software Development',%0A 'Topic :: System :: Networking',%0A %5D,
%0A)%0A
|
ca166c74914f570fa08d95380760fc5a1bea59ba
|
build new fast integration
|
setup.py
|
setup.py
|
# coding: utf-8
from __future__ import division, print_function
__author__ = "adrn <adrn@astro.columbia.edu>"
# Standard library
import os
from distutils.core import setup
from distutils.extension import Extension
# Third-party
import numpy as np
from Cython.Distutils import build_ext
from Cython.Build import cythonize
# Get numpy path
numpy_base_path = os.path.split(np.__file__)[0]
numpy_incl_path = os.path.join(numpy_base_path, "core", "include")
mac_incl_path = "/usr/include/malloc"
extensions = []
potential = Extension("gary.potential.*",
["gary/potential/*.pyx",
"gary/potential/_cbuiltin.c"],
include_dirs=[numpy_incl_path, mac_incl_path])
extensions.append(potential)
integrate = Extension("gary.integrate.*",
["gary/integrate/*.pyx",
"gary/integrate/dopri/dop853.c"],
include_dirs=[numpy_incl_path, mac_incl_path],
extra_compile_args=['-std=c99'])
extensions.append(integrate)
# dynamics = Extension("gary.dynamics.*",
# ["gary/dynamics/*.pyx"],
# include_dirs=[numpy_incl_path])
# extensions.append(dynamics)
setup(
name="gary",
version="0.1",
author="Adrian M. Price-Whelan",
author_email="adrn@astro.columbia.edu",
license="MIT",
cmdclass={'build_ext': build_ext},
ext_modules=cythonize(extensions),
packages=["gary", "gary.coordinates", "gary.io",
"gary.observation", "gary.integrate",
"gary.dynamics", "gary.inference",
"gary.potential"],
scripts=['bin/plotsnap', 'bin/moviesnap', 'bin/snap2gal'],
package_data={'gary.potential': ['*.pxd','*.c'],
'gary.integrate': ['*.pxd','*.c']
},
)
|
Python
| 0
|
@@ -892,19 +892,73 @@
op853.c%22
+,%0A %22gary/integrate/1d/simpson.c%22
%5D,%0A
-
@@ -1103,18 +1103,16 @@
grate)%0A%0A
-#
dynamics
@@ -1143,18 +1143,16 @@
ics.*%22,%0A
-#
@@ -1189,18 +1189,16 @@
.pyx%22%5D,%0A
-#
@@ -1242,18 +1242,16 @@
_path%5D)%0A
-#
extensio
|
2ffa5e8f5c8b3beb0026727d12f8d83cc9f931fe
|
Bump up version
|
setup.py
|
setup.py
|
import os
from setuptools import setup, find_packages
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name='djaccount',
version='0.0.3-alpha2',
description='Django account manager',
author='Yehuda Deutsch',
author_email='yeh@uda.co.il',
license='MIT',
url='https://gitlab.com/uda/djaccount',
keywords='django account',
packages=find_packages(),
long_description=read('README.md'),
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.11',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Systems Administration :: Authentication/Directory',
],
)
|
Python
| 0
|
@@ -195,16 +195,16 @@
0.0.
-3
+4
-alpha
-2
+1
',%0A
|
f7909707a96d82492a5b569cc50939b379c64b5d
|
Bump version to 0.0.30
|
setup.py
|
setup.py
|
from setuptools import setup
setup(name='servicemanager',
version='0.0.29',
description='A python tool to manage developing and testing with lots of microservices',
url='https://github.com/hmrc/service-manager',
author='vaughansharman',
license='Apache Licence 2.0',
packages=['servicemanager', 'servicemanager.actions', 'servicemanager.server', 'servicemanager.service', 'servicemanager.thirdparty'],
install_requires=['requests==2.2.1','pymongo==2.6.3','bottle==0.12.4','pytest==2.5.2','argcomplete==0.8.1'],
scripts=['bin/sm', 'bin/smserver'],
zip_safe=False)
|
Python
| 0
|
@@ -76,10 +76,10 @@
0.0.
-29
+30
',%0A
|
509bf6be9bd139f79a16a32bba45d3198d1da74a
|
Fix for setup.py
|
setup.py
|
setup.py
|
"""Setup script for oct2py package.
"""
DISTNAME = 'oct2py'
DESCRIPTION = 'Python to GNU Octave bridge --> run m-files from python.'
LONG_DESCRIPTION = open('README.rst', 'rb').read().decode('utf-8')
MAINTAINER = 'Steven Silvester'
MAINTAINER_EMAIL = 'steven.silvester@ieee.org'
URL = 'http://github.com/blink1073/oct2py'
LICENSE = 'MIT'
REQUIRES = ["numpy (>= 1.6.0)", "scipy (>= 0.9.0)"]
PACKAGES = [DISTNAME, '%s.tests' % DISTNAME, '%s/ipython' % DISTNAME,
'%s/ipython/tests' % DISTNAME]
PACKAGE_DATA = {DISTNAME: ['tests/*.m']}
CLASSIFIERS = """\
Development Status :: 5 - Production/Stable
Intended Audience :: Developers
Intended Audience :: Science/Research
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3.2
Programming Language :: Python :: 3.3
Topic :: Scientific/Engineering
Topic :: Software Development
"""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('oct2py/__init__.py', 'rb') as fid:
for line in fid:
line = line.decode('utf-8')
if line.startswith('__version__'):
version = line.strip().split()[-1][1:-1]
break
setup(
name=DISTNAME,
version=version,
maintainer=MAINTAINER,
maintainer_email=MAINTAINER_EMAIL,
packages=PACKAGES,
package_data=PACKAGE_DATA,
url=URL,
download_url=URL,
license=LICENSE,
platforms=["Any"],
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
classifiers=filter(None, CLASSIFIERS.split('\n')),
requires=REQUIRES
)
|
Python
| 0
|
@@ -1158,9 +1158,16 @@
d:%0D%0A
-%09
+
line
|
2e63797833612b5d0da4cca51547fd5d2b1466d9
|
Use README as the long description for the package
|
setup.py
|
setup.py
|
#!/usr/bin/env python
######################################################################
# Copyright (C) 2011,2012,2014 Jaakko Luttinen
#
# This file is licensed under Version 3.0 of the GNU General Public
# License. See LICENSE for a text of the license.
######################################################################
######################################################################
# This file is part of BayesPy.
#
# BayesPy is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 3 as
# published by the Free Software Foundation.
#
# BayesPy is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with BayesPy. If not, see <http://www.gnu.org/licenses/>.
######################################################################
LONG_DESCRIPTION = \
"""
Bayesian inference tools for Python.
The package provides tools for building models and performing
posterior inference using variational Bayesian message passing.
"""
NAME = 'bayespy'
DESCRIPTION = 'Bayesian inference tools for Python'
AUTHOR = 'Jaakko Luttinen'
AUTHOR_EMAIL = 'jaakko.luttinen@iki.fi'
URL = 'http://bayespy.org'
LICENSE = 'GPLv3'
VERSION = '0.3.1'
if __name__ == "__main__":
from setuptools import setup, find_packages
# Setup for BayesPy
setup(
install_requires = ['numpy>=1.8.0', # 1.8 implements broadcasting in numpy.linalg
'scipy>=0.13.0', # <0.13 have a bug in special.multigammaln
'matplotlib>=1.2.0',
'h5py'],
packages = find_packages(),
package_data = {NAME: ["tests/baseline_images/test_plot/*.png"]},
name = NAME,
version = VERSION,
author = AUTHOR,
author_email = AUTHOR_EMAIL,
description = DESCRIPTION,
license = LICENSE,
url = URL,
long_description = LONG_DESCRIPTION,
classifiers =
[
'Programming Language :: Python :: 3',
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Information Analysis'
]
)
|
Python
| 0
|
@@ -1062,205 +1062,8 @@
##%0A%0A
-LONG_DESCRIPTION = %5C%0A%22%22%22%0ABayesian inference tools for Python.%0A%0AThe package provides tools for building models and performing%0Aposterior inference using variational Bayesian message passing.%0A%22%22%22%0A%0A
NAME
@@ -1292,16 +1292,16 @@
0.3.1'%0A%0A
-
if __nam
@@ -1320,16 +1320,368 @@
in__%22:%0A%0A
+ import os%0A%0A # Utility function to read the README file.%0A # Used for the long_description. It's nice, because now 1) we have a top level%0A # README file and 2) it's easier to type in the README file than to put a raw%0A # string in below ...%0A def read(fname):%0A return open(os.path.join(os.path.dirname(__file__), fname)).read()%0A%0A
from
@@ -2469,24 +2469,26 @@
n =
-LONG_DESCRIPTION
+read('README.rst')
,%0A
|
f46dec1933f4a4c4f7644ee4545637384c236834
|
version bump
|
setup.py
|
setup.py
|
# Copyright (c) 2014. Mount Sinai School of Medicine
#
# 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 __future__ import print_function
import os
from setuptools import setup
readme_filename = "README.md"
current_directory = os.path.dirname(__file__)
readme_path = os.path.join(current_directory, readme_filename)
readme = ""
try:
with open(readme_path, 'r') as f:
readme = f.read()
except Exception as e:
print(e)
print("Failed to open %s" % readme_path)
try:
import pypandoc
readme = pypandoc.convert(readme, to='rst', format='md')
except Exception as e:
print(e)
print("Failed to convert %s from Markdown to reStructuredText" % readme_filename)
if __name__ == '__main__':
setup(
name='varcode',
packages=['varcode'],
version="0.2.1",
description="Variant annotation in Python",
long_description=readme,
url="https://github.com/hammerlab/varcode",
author="Alex Rubinsteyn",
license="http://www.apache.org/licenses/LICENSE-2.0.html",
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Operating System :: OS Independent',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Topic :: Scientific/Engineering :: Bio-Informatics',
],
install_requires=[
'numpy >=1.7, <2.0',
'pandas>=0.13.1',
'pyensembl >=0.6.5, <0.7.0',
'biopython',
'pyvcf',
'memoized_property',
'pysam >=0.8.2.1',
],
)
|
Python
| 0.000001
|
@@ -1298,17 +1298,17 @@
on=%220.2.
-1
+2
%22,%0A
|
bae8e062948654bca62c4ede915bbf04c28f1eab
|
Version bump
|
setup.py
|
setup.py
|
from distutils.core import setup
with open('requirements.txt') as req:
content = req.readlines()
setup(
name = 'djsw_wrapper',
packages = ['djsw_wrapper'],
version = '0.2.0',
description = 'Allows to build REST API directly from Swagger schema',
author = 'Alex Revin',
author_email = 'lyssdod@gmail.com',
url = 'https://github.com/ErintLabs/django-openapi-gen',
download_url = 'https://github.com/ErintLabs/django-openapi-gen/archive/0.2.0.tar.gz',
install_requires = [x.strip() for x in content],
keywords = ['django', 'swagger', 'schema', 'django-rest-framework'],
classifiers = [],
)
|
Python
| 0.000001
|
@@ -176,17 +176,17 @@
= '0.2.
-0
+1
',%0A des
@@ -453,17 +453,17 @@
ive/0.2.
-0
+1
.tar.gz'
|
d13a161cf93b100154140d025097b98dd65b3c8b
|
Remove Servee dependency
|
setup.py
|
setup.py
|
import os
import sys
from fnmatch import fnmatchcase
from distutils.util import convert_path
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
# Provided as an attribute, so you can append to these instead
# of replicating them:
standard_exclude = ('*.py', '*.pyc', '*$py.class', '*~', '.*', '*.bak')
standard_exclude_directories = ('.*', 'CVS', '_darcs', './build',
'./dist', 'EGG-INFO', '*.egg-info')
# (c) 2005 Ian Bicking and contributors; written for Paste (http://pythonpaste.org)
# Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php
# Note: you may want to copy this into your setup.py file verbatim, as
# you can't import this from another package, when you don't know if
# that package is installed yet.
def find_package_data(
where='.', package='',
exclude=standard_exclude,
exclude_directories=standard_exclude_directories,
only_in_packages=True,
show_ignored=False):
out = {}
stack = [(convert_path(where), '', package, only_in_packages)]
while stack:
where, prefix, package, only_in_packages = stack.pop(0)
for name in os.listdir(where):
fn = os.path.join(where, name)
if os.path.isdir(fn):
bad_name = False
for pattern in exclude_directories:
if (fnmatchcase(name, pattern)
or fn.lower() == pattern.lower()):
bad_name = True
if show_ignored:
print >> sys.stderr, (
"Directory %s ignored by pattern %s"
% (fn, pattern))
break
if bad_name:
continue
if (os.path.isfile(os.path.join(fn, '__init__.py'))
and not prefix):
if not package:
new_package = name
else:
new_package = package + '.' + name
stack.append((fn, '', new_package, False))
else:
stack.append((fn, prefix + name + '/', package, only_in_packages))
elif package or not only_in_packages:
# is a file
bad_name = False
for pattern in exclude:
if (fnmatchcase(name, pattern)
or fn.lower() == pattern.lower()):
bad_name = True
if show_ignored:
print >> sys.stderr, (
"File %s ignored by pattern %s"
% (fn, pattern))
break
if bad_name:
continue
out.setdefault(package, []).append(prefix+name)
return out
README = read('README.rst')
VERSION = __import__("servee_navigation").__version__
setup(
name = "django-servee-navigation",
version = VERSION,
url = 'http://github.com/servee/django-servee-navigation/',
license = 'BSD',
description = "Navigation Plugin for django-servee",
long_description = README,
author = 'Josh Boles',
author_email = 'josh@servee.com',
packages = find_packages(exclude=["example_project*",]),
package_data = find_package_data("servee_navigation", only_in_packages=False),
include_package_data=True,
install_requires = [
'django-servee>0.5.5',
'django-treebeard',
],
classifiers = [
'Development Status :: 3 - Alpha',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
],
zip_safe = False,
)
|
Python
| 0
|
@@ -3556,32 +3556,34 @@
ires = %5B%0A
+ #
'django-servee%3E
@@ -3971,8 +3971,9 @@
False,%0A)
+%0A
|
59249be2ea3a6c8b9d0f16ca91f6e7c83b04d701
|
update myst-parser version
|
setup.py
|
setup.py
|
from os import path
from io import open
import re
from setuptools import setup, find_packages
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
with open(path.join(this_directory, 'jupytext/version.py')) as f:
version_file = f.read()
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", version_file, re.M)
version = version_match.group(1)
setup(
name='jupytext',
version=version,
author='Marc Wouts',
author_email='marc.wouts@gmail.com',
description='Jupyter notebooks as Markdown documents, '
'Julia, Python or R scripts',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/mwouts/jupytext',
packages=find_packages(exclude=['tests']),
package_data={'jupytext': ['nbextension/*.*']},
data_files=[('etc/jupyter/nbconfig/notebook.d', ['jupyter-config/nbconfig/notebook.d/jupytext.json']),
('etc/jupyter/jupyter_notebook_config.d', ['jupyter-config/jupyter_notebook_config.d/jupytext.json']),
('etc/jupyter/jupyter_server_config.d', ['jupyter-config/jupyter_server_config.d/jupytext.json']),
('share/jupyter/nbextensions/jupytext', ['jupytext/nbextension/index.js',
'jupytext/nbextension/README.md',
'jupytext/nbextension/jupytext_menu.png',
'jupytext/nbextension/jupytext_menu_zoom.png',
'jupytext/nbextension/jupytext.yml']),
('share/jupyter/lab/extensions', ['packages/labextension/jupyterlab-jupytext-1.2.1.tgz'])],
entry_points={'console_scripts': ['jupytext = jupytext.cli:jupytext']},
tests_require=['pytest'],
install_requires=['nbformat>=4.0.0', 'pyyaml', 'mock;python_version<"3"'],
extras_require={"myst": ["myst-parser==0.8.0a3; python_version >= '3.6'"]},
license='MIT',
classifiers=['Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Environment :: Console',
'Framework :: Jupyter',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Topic :: Text Processing :: Markup',
'Programming Language :: Python',
'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']
)
|
Python
| 0
|
@@ -2085,17 +2085,13 @@
rser
-=
+~
=0.8
-.0a3
; py
|
db88c98cc1b7ba76a3f8efa417bf241d9eec4532
|
Update to version 0.0.2
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, "README.rst"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="cfn",
version="0.0.1",
description="Small script to manipulate AWS CloudFormation stacks",
long_description=long_description,
url="https://github.com/hagbarddenstore/cfn",
author="Kim Johansson",
author_email="hagbarddenstore@gmail.com",
license="MIT",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2.7"
],
keywords="aws cfn cloudformation",
packages=find_packages(exclude=["contrib", "docs", "tests"]),
install_requires=["boto3", "PyYAML", "jinja2"],
extras_require={},
package_data={},
data_files=[],
entry_points={
"console_scripts": [
"cfn=cfn:main"
]
}
)
|
Python
| 0
|
@@ -260,9 +260,9 @@
0.0.
-1
+2
%22,%0A%09
|
bc828d621dbea3e9510c05c1d40b952b710c6187
|
Update description and link in setup.py
|
setup.py
|
setup.py
|
"""Packaging settings."""
from codecs import open
from os.path import abspath, dirname, join
from setuptools import setup
from formica import __version__
this_dir = abspath(dirname(__file__))
with open(join(this_dir, 'README.md'), encoding='utf-8') as file:
long_description = file.read()
setup(
name='formica',
version=__version__,
description='Simple Cloudformation stack management tooling.',
long_description=long_description,
url='https://github.com/cloudthropology/formica',
author='Florian Motlik',
author_email='florian.motlik@cloudthropology.com',
license='MIT',
classifiers=[
'Intended Audience :: Developers',
'Topic :: Utilities',
'License :: Public Domain',
'Natural Language :: English',
'Operating System :: OS Independent',
'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',
],
keywords='cloudformation, aws, cloud',
packages=['formica'],
install_requires=['troposphere==1.9.1', 'boto3==1.4.4', 'click==6.7', 'texttable==0.8.7'],
entry_points={
'console_scripts': [
'formica=formica.cli:main',
],
},
test_suite="tests"
)
|
Python
| 0
|
@@ -372,14 +372,18 @@
ple
+AWS
Cloud
-f
+F
orma
@@ -482,31 +482,25 @@
hub.com/
-cloudthropology
+flomotlik
/formica
|
05f8743a0047767dd46cdef3788fef2ede8e9ff0
|
add Pillow to requirements
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name='django-vkontakte-postcard',
version=__import__('vkontakte_postcard').__version__,
description='Post photo to vk and add comment to it',
long_description=open('README.md').read(),
author='krupin.dv',
author_email='krupin.dv19@gmail.com',
url='https://github.com/Andertaker/django-vkontakte-postcard',
download_url='http://pypi.python.org/pypi/django-vkontakte-postcard',
license='BSD',
packages=find_packages(),
include_package_data=True,
zip_safe=False, # because we're including media that Django needs
install_requires=[
'django-vkontakte-photos',
'django-vkontakte-comments',
],
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',
],
)
|
Python
| 0
|
@@ -623,24 +623,42 @@
_requires=%5B%0A
+ 'Pillow',%0A
'dja
|
49b85784487bd25c1e0b231c862fd7a758b55aae
|
Clean up left-overs after changing to using publish
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8
# Copyright 2017-2019 The FIAAS 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
#
# 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 os
from setuptools import setup, find_packages
GENERIC_REQ = [
"six==1.12.0",
"requests==2.22.0",
"pyrfc3339==1.1",
"cachetools==3.1.1",
]
CODE_QUALITY_REQ = [
'prospector',
]
TESTS_REQ = [
'tox==3.13.2',
'mock==3.0.5',
"pytest-sugar==0.9.2",
"pytest-html==1.22.0",
"pytest-cov==2.7.1",
"pytest-helpers-namespace==2019.1.8",
'pytest==3.10.1',
'gitdb2==2.0.6',
"GitPython==2.1.14",
]
# These are not direct dependencies, but we need to lock down their versions here
EXTRA_REQ = [
# "pluggy==0.12.0",
# "prospector==1.9.0",
]
def _generate_description():
description = [_read("README.rst")]
changelog_file = os.getenv("CHANGELOG_FILE")
if changelog_file:
description.append(_read(changelog_file))
return "\n".join(description)
def _get_license_name():
with open(os.path.join(os.path.dirname(__file__), "LICENSE")) as f:
for line in f:
if line.strip():
return line.strip()
def _read(filename):
with open(os.path.join(os.path.dirname(__file__), filename)) as f:
return f.read()
def main():
setup(
name="k8s",
author="FiaaS developers",
author_email="fiaas@googlegroups.com",
use_scm_version=True,
packages=find_packages(exclude=("tests",)),
zip_safe=True,
include_package_data=True,
# Requirements
install_requires=GENERIC_REQ,
setup_requires=['pytest-runner', 'wheel', 'setuptools_scm'],
extras_require={
"dev": TESTS_REQ + CODE_QUALITY_REQ + EXTRA_REQ,
"codacy": ["codacy-coverage"],
"release": ["gitpython", "twine"],
"docs": ["Sphinx>=1.6.3"]
},
tests_require=TESTS_REQ,
# Metadata
description="Python client library for the Kubernetes API",
long_description=_generate_description(),
url="https://github.com/fiaas/k8s",
license=_get_license_name(),
keywords="kubernetes fiaas",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software 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.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Clustering",
"Topic :: System :: Distributed Computing",
]
)
if __name__ == "__main__":
main()
|
Python
| 0
|
@@ -1031,54 +1031,8 @@
1',%0A
- 'gitdb2==2.0.6',%0A %22GitPython==2.1.14%22,%0A
%5D%0A%0A#
@@ -1130,59 +1130,8 @@
= %5B%0A
- # %22pluggy==0.12.0%22,%0A # %22prospector==1.9.0%22,%0A
%5D%0A%0A%0A
@@ -2191,55 +2191,8 @@
%22%5D,%0A
- %22release%22: %5B%22gitpython%22, %22twine%22%5D,%0A
|
5aa525ed26f34705c58d62ccf8a8945d0a64bd15
|
add url
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name='django-hibpwned',
version='0.1',
description='Django password validator based on haveibeenpwned.com API',
url='',
author='tombiasz',
author_email='',
license='MIT',
packages=['haveibeenpwned'],
zip_safe=False,
install_requires=[
'Django>=1.9',
'requests>=2'
]
)
|
Python
| 0.000013
|
@@ -163,16 +163,59 @@
url='
+https://github.com/tombiasz/django-hibpwned
',%0A a
|
8f2c6cb5da0c456cefe958db305292a0abda8607
|
Fix license trove classifier, bump to 1.0.1
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
"""setup.py -- setup file for antimarkdown
"""
import os
from setuptools import setup
README = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.rst')
setup(
name = "antimarkdown",
packages = ['antimarkdown'],
install_requires = [
'lxml',
],
package_data = {
'': ['*.txt', '*.html'],
},
zip_safe = False,
version = "1.0.0",
description = "HTML to Markdown converter.",
long_description = open(README).read(),
author = "David Eyk",
author_email = "deyk@crossway.org",
url = "http://github.com/Crossway/antimarkdown/",
license = 'BSD',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries',
'Topic :: Internet :: WWW/HTTP :: Site Management',
'Topic :: Software Development :: Documentation',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing :: Filters',
'Topic :: Text Processing :: Markup :: HTML',
'Topic :: Communications :: Email :: Filters',
],
)
|
Python
| 0.000007
|
@@ -405,17 +405,17 @@
= %221.0.
-0
+1
%22,%0A d
@@ -858,19 +858,19 @@
oved ::
-BSD
+MIT
License
|
f1b3d06093968259a6d92ae61baf2b6a02f397f6
|
Use logging module to display error information in setup.py
|
setup.py
|
setup.py
|
# encoding: utf-8
from setuptools import setup
from setuptools.command.install import install
from subprocess import call
import sys
# check availability of runtime dependencies
def check_any(*packages):
"""Issue a warning if none of the packages is available."""
errors = []
for package in packages:
try:
__import__(package)
return True
except ImportError:
import sys
errors.append(sys.exc_info()[1])
if len(errors) == 1:
print("Missing runtime dependency: %s" % errors[0])
else:
print("Missing runtime dependencies:")
for err in errors:
print("\t%s" % err)
return False
check_any('dbus')
check_any('gobject')
check_any('pynotify', 'notify2')
check_any('gtk')
# read long_description from README.rst
long_description = None
try:
long_description = open('README.rst').read()
long_description += '\n' + open('CHANGES.rst').read()
except IOError:
pass
theme_base = sys.prefix + '/share/icons/hicolor'
icon_resolutions = ['scalable'] + ['{0}x{0}'.format(res) for res in [16]]
icon_names = {'actions': ('mount', 'unmount',
'lock', 'unlock',
'eject', 'detach')}
data_files = [
("%s/%s/%s" % (theme_base, icon_resolution, icon_type), [
'icons/%s/%s/udiskie-%s.%s' %
(icon_resolution, icon_type, icon_name,
'svg' if icon_resolution == 'scalable' else 'png')
for icon_name in icon_names[icon_type]])
for icon_resolution in icon_resolutions
for icon_type in icon_names
]
class custom_install(install):
def run(self):
install.run(self)
try:
# ignore failures since the tray icon is an optional component:
call(['gtk-update-icon-cache', theme_base])
except OSError:
print(sys.exc_info()[1])
setup(
name='udiskie',
version='0.6.1',
description='Removable disk automounter for udisks',
long_description=long_description,
author='Byron Clark',
author_email='byron@theclarkfamily.name',
maintainer='Thomas Gläßle',
maintainer_email='t_glaessle@gmx.de',
url='https://github.com/coldfix/udiskie',
license='MIT',
cmdclass={'install': custom_install},
packages=[
'udiskie',
],
namespace_packages=[
'udiskie',
],
data_files=data_files,
entry_points={
'console_scripts': [
'udiskie = udiskie.cli:daemon',
'udiskie-mount = udiskie.cli:mount',
'udiskie-umount = udiskie.cli:umount',
],
},
extras_require={
'notifications': ['notify2']
},
install_requires=[
# Currently not building out of the box:
# 'PyGObject',
# 'dbus-python',
# 'pygtk>=2.10',
],
tests_require=[
'python-dbusmock>=0.7.2'
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Environment :: X11 Applications',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'License :: OSI Approved :: MIT License',
'Topic :: Desktop Environment',
'Topic :: Software Development',
'Topic :: System :: Filesystems',
'Topic :: System :: Hardware',
'Topic :: Utilities',
],
)
|
Python
| 0
|
@@ -125,16 +125,58 @@
port sys
+%0Aimport logging%0A%0Alog = logging.getLogger()
%0A%0A# chec
@@ -450,31 +450,8 @@
or:%0A
- import sys%0A
@@ -499,113 +499,33 @@
-if len(errors) == 1:%0A print(%22Missing runtime dependency: %25s%22 %25 errors%5B0%5D)%0A else:%0A print(
+log.warning(%22%5Cn%5Ct%22.join(%5B
%22Mis
@@ -551,17 +551,17 @@
encies:%22
-)
+%5D
%0A
@@ -565,57 +565,55 @@
-for err in errors:%0A print(%22%5Ct%25s%22 %25 err
+ + %5Bstr(e) for e in errors%5D)
)%0A
@@ -1799,13 +1799,19 @@
-print
+log.warning
(sys
|
2be470569ebef5ae87bac267babf010d09165acc
|
Bump package version to 1.11.2
|
setup.py
|
setup.py
|
# coding: utf-8
from distutils.version import LooseVersion
from setuptools import find_packages, setup
def check_setuptools():
import pkg_resources
st_version = pkg_resources.get_distribution('setuptools').version
if LooseVersion(st_version) < LooseVersion('20.2.2'):
exit('The Instana sensor requires a newer verion of `setuptools` (>=20.2.2).\n'
'Please run `pip install --upgrade setuptools` to upgrade. \n'
' and then try the install again.\n'
'Also:\n'
' `pip show setuptools` - shows the current version\n'
' To see the setuptool releases: \n'
' https://setuptools.readthedocs.io/en/latest/history.html')
check_setuptools()
setup(name='instana',
version='1.11.1',
url='https://www.instana.com/',
project_urls={
'CI: Travis': 'https://travis-ci.org/instana/python-sensor',
'Documentation': 'https://docs.instana.io/ecosystem/python/',
'GitHub: issues': 'https://github.com/instana/python-sensor/issues',
'GitHub: repo': 'https://github.com/instana/python-sensor',
'Support': 'https://support.instana.com',
},
license='MIT',
author='Instana Inc.',
author_email='peter.lombardo@instana.com',
description='🐍 Python Distributed Tracing & Metrics Sensor for Instana',
packages=find_packages(exclude=['tests', 'examples']),
long_description="The instana package collects and reports Python metrics and distributed \
traces to your Instana dashboard.",
zip_safe=False,
install_requires=['autowrapt>=1.0',
'basictracer>=3.0.0',
'certifi>=2018.4.16',
'fysom>=2.1.2',
'opentracing>=2.0.0',
'requests>=2.8.0',
'urllib3>=1.18.1'],
entry_points={
'instana': ['string = instana:load'],
'flask': ['flask = instana.flaskana:hook'],
'runtime': ['string = instana:load'], # deprecated: use same as 'instana'
'django': ['string = instana:load'], # deprecated: use same as 'instana'
'django19': ['string = instana:load'], # deprecated: use same as 'instana'
},
extras_require={
'test': [
'aiohttp>=3.5.4;python_version>="3.5"',
'asynqp>=0.4;python_version>="3.5"',
'django>=1.11,<2.2',
'nose>=1.0',
'flask>=0.12.2',
'lxml>=3.4',
'mock>=2.0.0',
'MySQL-python>=1.2.5;python_version<="2.7"',
'psycopg2>=2.7.1',
'pyOpenSSL>=16.1.0;python_version<="2.7"',
'pytest>=3.0.1',
'redis<3.0.0',
'requests>=2.17.1',
'sqlalchemy>=1.1.15',
'spyne>=2.9,<=2.12.14',
'suds-jurko>=0.6',
'tornado>=4.5.3,<6.0',
'urllib3[secure]>=1.15'
],
},
test_suite='nose.collector',
keywords=['performance', 'opentracing', 'metrics', 'monitoring', 'tracing', 'distributed-tracing'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Framework :: Flask',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
'Topic :: System :: Monitoring',
'Topic :: System :: Networking :: Monitoring',
'Topic :: Software Development :: Libraries :: Python Modules'])
|
Python
| 0
|
@@ -775,17 +775,17 @@
n='1.11.
-1
+2
',%0A
|
fa8089ff886c2d073d9a566e666802ee10c8af74
|
Revert default ai_timestamp
|
config/config_service.py
|
config/config_service.py
|
from configparser import ConfigParser, ParsingError
from RULEngine.Util.singleton import Singleton
class ConfigService(metaclass=Singleton):
def __init__(self):
self.config_dict = self._load_defaults()
def load_file(self, input_config_file) -> None:
config_parser = ConfigParser(allow_no_value=False)
try:
config_parser.read_file(open(input_config_file))
except FileNotFoundError:
print("Impossible de lire le fichier de configuration.\nLoading default simulation with kalman settings")
config_parser.read_dict(default_dict)
except ParsingError:
print("Le fichier de configuration est mal configuré.\nExiting!")
exit(1)
self.config_dict = {s: dict(config_parser.items(s)) for s in config_parser.sections()}
if "field_port_file" not in self.config_dict["COMMUNICATION"]:
raise RuntimeError("field_port_file must now be specify and point to the port of vision and ref")
if "vision_port" in self.config_dict["COMMUNICATION"]:
raise RuntimeError("The vision_port must be specify in the 'field_port_file' file")
if "ui_cmd_sender_port" in self.config_dict["COMMUNICATION"] or \
"ui_cmd_receiver_port" in self.config_dict["COMMUNICATION"]:
raise RuntimeError("The ui_cmd_sender_port and ui_cmd_receiver_port are hardcoded base on the our team color, removed them from config file")
field_port_file = self.config_dict["COMMUNICATION"]['field_port_file']
try:
config_parser.read_file(open(field_port_file))
except FileNotFoundError:
print("Impossible de lire le fichier de configuration.\nLoading default simulation with kalman settings")
config_parser.read_dict(default_dict)
except ParsingError:
print("Le fichier de configuration est mal configuré.\nExiting!")
exit(1)
field_port = {s: dict(config_parser.items(s)) for s in config_parser.sections()}
self.config_dict["COMMUNICATION"] = field_port["COMMUNICATION"]
if "play_zone" not in self.config_dict["GAME"]:
self.config_dict["GAME"]["play_zone"] = "full"
if self.config_dict["GAME"]["play_zone"] not in ["full", "positive", "negative"]:
raise RuntimeError("play_zone is either full, positive or negative")
# DO NOT TOUCH EVER THEY ARE HARDCODED BOTH IN THE IA AND IN UI-DEBUG
if self.config_dict["GAME"]["our_color"] == "blue":
self.config_dict["COMMUNICATION"]["ui_cmd_sender_port"] = 14444 # DO NOT TOUCH
self.config_dict["COMMUNICATION"]["ui_cmd_receiver_port"] = 15555 # DO NOT TOUCH
else:
self.config_dict["COMMUNICATION"]["ui_cmd_sender_port"] = 16666 # DO NOT TOUCH
self.config_dict["COMMUNICATION"]["ui_cmd_receiver_port"] = 17777 # DO NOT TOUCH
[print(key,":" ,value) for key, value in self.config_dict["COMMUNICATION"].items()]
def _load_defaults(self):
config_parser = ConfigParser(allow_no_value=False)
config_parser.read_dict(default_dict)
return {s: dict(config_parser.items(s)) for s in config_parser.sections()}
default_dict = {"GAME": {"type": "sim",
"our_color": "blue",
"their_color": "yellow",
"our_side": "positive",
"autonomous_play": "false",
"ai_timestamp": "0.01",
"play_zone":"full",
"kalman_matrix_flag": "false"},
"COMMUNICATION": {"type": "sim",
"redirect": "true",
"referee_udp_address": "224.5.23.2",
"referee_port": "10003",
"vision_referee_udp_address": "224.5.23.2",
"vision_port": "10020",
"ui_debug_address": "127.0.0.1",
"ui_cmd_sender_port": "20021",
"ui_cmd_receiver_port": "10021",
"ui_vision_sender_port": "10022"},
"IMAGE": {"kalman": "true",
"number_of_camera": "1",
"frames_to_extrapolate": "20"},
"STRATEGY": {"pathfinder": "path_part"},
"DEBUG": {"using_debug": "true",
"allow_debug": "true"}
}
|
Python
| 0.000001
|
@@ -3521,17 +3521,17 @@
p%22: %220.0
-1
+5
%22,%0A
|
bd3b09b3a0dc7cc450d4a6806802712d521b2d22
|
Remove Python 2
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- test-case-name: twistedchecker -*-
# Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.
from setuptools import find_packages, setup
with open('README.rst') as f:
longDescription = f.read()
setup(
name='twistedchecker',
description='A Twisted coding standard compliance checker.',
version='0.7.2',
author='Twisted Matrix Laboratories',
author_email='twisted-python@twistedmatrix.com',
url='https://github.com/twisted/twistedchecker',
packages=find_packages(),
include_package_data=True, # use MANIFEST.in during install
entry_points={
"console_scripts": [
"twistedchecker = twistedchecker.core.runner:main"
]
},
license='MIT',
classifiers=[
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Topic :: Software Development :: Quality Assurance"
],
keywords=[
"twisted", "checker", "compliance", "pep8"
],
install_requires=[
"pylint == 1.5.6",
"logilab-common == 1.2.1",
"pycodestyle == 2.0.0",
'twisted>=15.0.0',
],
extras_require = {
'dev': [
'pyflakes',
'coverage'
],
},
long_description=longDescription
)
|
Python
| 0.99931
|
@@ -974,104 +974,8 @@
n%22,%0A
- %22Programming Language :: Python :: 2%22,%0A %22Programming Language :: Python :: 2.7%22,%0A
|
8e970d665c874c16d56227e4acebdd0793f70ee2
|
version bump to 1.2.34
|
setup.py
|
setup.py
|
from distutils.core import setup
setup(name='vyked',
version='1.2.33',
author='Kashif Razzaqui, Ankit Chandawala',
author_email='kashif.razzaqui@gmail.com, ankitchandawala@gmail.com',
url='https://github.com/kashifrazzaqui/vyked',
description='A micro-service framework for Python',
packages=['vyked', 'vyked.utils'], requires=['again', 'aiohttp', 'jsonstreamer', 'setproctitle', 'aiopg'])
|
Python
| 0
|
@@ -67,17 +67,17 @@
n='1.2.3
-3
+4
',%0A
|
4e1360a3c340552be1145be6c474765bcfcf0379
|
write out imgfac/Version.py instead of using version.txt
|
setup.py
|
setup.py
|
# Copyright 2011 Red Hat, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, 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 distutils.core import setup
from distutils.command.sdist import sdist as _sdist
import os
import os.path
import subprocess
version_file_name = "version.txt"
try:
if(not os.path.exists(version_file_name)):
subprocess.call('/usr/bin/git describe | tr - _ > %s' % (version_file_name, ), shell=True)
version_file = open(version_file_name, "r")
VERSION = version_file.read()[0:-1]
version_file.close()
except Exception, e:
raise RuntimeError("ERROR: version.txt could not be found. Run 'git describe > version.txt' to get the correct version info.")
datafiles=[('share/man/man1', ['Documentation/man/imagefactory.1']),
('/etc/imagefactory', ['imagefactory.conf']),
('/etc/pki/imagefactory', ['cert-ec2.pem']),
('/etc/sysconfig', ['imagefactory']),
('/etc/logrotate.d', ['imagefactory']),
('/etc/rc.d/init.d', ['scripts/imagefactory'])]
class sdist(_sdist):
""" custom sdist command to prepare imagefactory.spec file """
def run(self):
cmd = (""" sed -e "s/@VERSION@/%s/g" < imagefactory.spec.in """ %
VERSION) + " > imagefactory.spec"
os.system(cmd)
_sdist.run(self)
setup(name='imagefactory',
version=VERSION,
description='Image Factory system image generation tool',
author='Ian McLeod',
author_email='imcleod@redhat.com',
license='Apache License, Version 2.0',
url='http://www.aeolusproject.org/imagefactory.html',
packages=['imgfac', 'imgfac.builders', 'imgfac.rest', 'imagefactory-plugins'],
scripts=['imagefactory'],
data_files = datafiles,
cmdclass = {'sdist': sdist}
)
|
Python
| 0
|
@@ -737,88 +737,92 @@
ile_
-name = %22version.txt%22%0Atry:%0A if(not os.path.exists(version_file_name)):%0A
+path = %22imgfac/Version.py%22%0Aversion_file = open(version_file_path, 'w')%0Apkg_version =
sub
@@ -834,11 +834,19 @@
ss.c
-all
+heck_output
('/u
@@ -877,316 +877,104 @@
- _
- %3E %25s' %25 (version_file_name, ), shell=True)%0A version_file = open(version_file_name, %22r%22)%0A VERSION = version_file.read()%5B0:-1%5D%0A version_file.close()%0Aexcept Exception, e:%0A raise RuntimeError(%22ERROR: version.txt could not be found. Run 'git describe %3E version.txt' to get the correct version info.%22
+', shell=True).rstrip('%5Cn')%0Aversion_file.write('VERSION = %25s' %25 pkg_version)%0Aversion_file.close(
)%0A%0Ad
@@ -1402,17 +1402,16 @@
ile %22%22%22%0A
-%0A
def
@@ -1498,31 +1498,20 @@
%22%22 %25
-%0A VERSION
+ pkg_version
) +
@@ -1556,17 +1556,16 @@
em(cmd)%0A
-%0A
@@ -1623,23 +1623,27 @@
version=
-VERSION
+pkg_version
,%0A
|
e544009bfdded85c6c3e69b34b0d2a74820a3fe7
|
Use pip-requirements.txt to populate install_requires
|
setup.py
|
setup.py
|
#!/usr/bin/python
#
# Surveilr - Log aggregation, analysis and visualisation
#
# Copyright (C) 2011 Linux2Go
#
# This program is free software: you can redistribute it and/or
# modify it under the terms of the GNU Affero General Public License
# as published by the Free Software Foundation, either version 3 of
# the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be 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 this program. If not, see
# <http://www.gnu.org/licenses/>.
#
from setuptools import setup
setup(
name='surveilr',
version='0.1a1',
description='Monitoring System evolved',
author='Soren Hansen',
license='AGPL',
author_email='soren@linux2go.dk',
url='http://surveilr.org/',
packages=['surveilr'],
install_requires=['riakalchemy'],
test_suite='nose.collector',
install_package_data=True,
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Environment :: No Input/Output (Daemon)',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU Affero General Public License v3',
'GNU Library or Lesser General Public License (LGPL)',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Topic :: Internet :: Log Analysis',
'Topic :: System :: Monitoring',
'Topic :: System :: Networking :: Monitoring',
]
)
|
Python
| 0
|
@@ -833,16 +833,423 @@
setup%0A%0A
+def get_install_requires():%0A install_requires = %5B%5D%0A with open('tools/pip-requirements.txt', 'r') as fp:%0A for l in fp:%0A l = l.strip()%0A if l.startswith('#'):%0A continue%0A elif l.startswith('-e'):%0A install_requires.append(l%5Bl.index('#egg=')+5:%5D)%0A else:%0A install_requires.append(l)%0A return install_requires%0A%0A
setup(%0A
@@ -1503,23 +1503,30 @@
res=
-%5B'riakalchemy'%5D
+get_install_requires()
,%0A
|
f4be8bca302a5124aacbe817c35572e7e4923539
|
fix issue 217 by adding contrib to setup.py file
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This module contains setup instructions for pytube."""
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('LICENSE') as readme_file:
license = readme_file.read()
setup(
name='pytube',
version='9.0.5',
author='Nick Ficano',
author_email='nficano@gmail.com',
packages=['pytube'],
url='https://github.com/nficano/pytube',
license=license,
entry_points={
'console_scripts': [
'pytube = pytube.cli:main',
],
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: MacOS',
'Operating System :: Microsoft',
'Operating System :: POSIX',
'Operating System :: Unix',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python',
'Topic :: Internet',
'Topic :: Multimedia :: Video',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Terminals',
'Topic :: Utilities',
],
description=('A pythonic library for downloading YouTube Videos.'),
long_description=readme,
zip_safe=True,
)
|
Python
| 0
|
@@ -470,16 +470,34 @@
'pytube'
+, 'pytube.contrib'
%5D,%0A u
|
0a859239eb82871a2ac576e1efc724cf696c3bf8
|
Extract a function that gets pytest-runner requirement
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
"""
import os.path
import sys
import setuptools
MODULE_NAME = "pytablereader"
REQUIREMENT_DIR = "requirements"
pkg_info = {}
class ReleaseCommand(setuptools.Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
tag = "v{}".format(pkg_info["__version__"])
print("Pushing git tags: {}".format(tag))
os.system("git tag {}".format(tag))
os.system("git push --tags")
with open(os.path.join(MODULE_NAME, "__version__.py")) as f:
exec(f.read(), pkg_info)
with open("README.rst") as fp:
long_description = fp.read()
with open(os.path.join("docs", "pages", "introduction", "summary.txt")) as f:
summary = f.read().strip()
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_requires = [line.strip() for line in f if line.strip()]
with open(os.path.join(REQUIREMENT_DIR, "docs_requirements.txt")) as f:
docs_requires = [line.strip() for line in f if line.strip()]
setuptools_require = ["setuptools>=20.2.2"]
needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv)
pytest_runner_require = ["pytest-runner"] if needs_pytest else []
setuptools.setup(
name=MODULE_NAME,
version=pkg_info["__version__"],
url="https://github.com/thombashi/{}".format(MODULE_NAME),
author=pkg_info["__author__"],
author_email=pkg_info["__email__"],
description=summary,
include_package_data=True,
keywords=[
"table", "reader", "pandas",
"CSV", "Excel", "HTML", "JSON", "LTSV", "Markdown", "MediaWiki", "TSV",
"SQLite",
],
license=pkg_info["__license__"],
long_description=long_description,
packages=setuptools.find_packages(exclude=["test*"]),
install_requires=setuptools_require + install_requires,
setup_requires=setuptools_require + pytest_runner_require,
tests_require=tests_requires,
extras_require={
"build": "wheel",
"test": tests_requires,
"docs": docs_requires,
},
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"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",
"Topic :: Database",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
],
cmdclass={
"release": ReleaseCommand,
})
|
Python
| 0.999986
|
@@ -234,16 +234,102 @@
= %7B%7D%0A%0A%0A
+def need_pytest():%0A return set(%5B%22pytest%22, %22test%22, %22ptr%22%5D).intersection(sys.argv)%0A%0A%0A
class Re
@@ -1412,77 +1412,8 @@
2%22%5D%0A
-needs_pytest = set(%5B%22pytest%22, %22test%22, %22ptr%22%5D).intersection(sys.argv)%0A
pyte
@@ -1461,16 +1461,17 @@
need
-s
_pytest
+()
els
|
9fa2174bd94832c5fdc831143fa119ded6f9dc86
|
Fix installation setup
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
import re
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
# Plugins that will not work with python versions
EXCLUDE_PLUGINS = {
"2.6": ['mfr_ipynb'],
"2.7": [],
"3.3": ['mfr_docx', 'mfr_code_pygments'],
"3.4": ['mfr_docx', 'mfr_code_pygments'],
}
SYS_EXCLUDE = EXCLUDE_PLUGINS[sys.version[0:3]]
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
errcode = pytest.main(self.test_args)
sys.exit(errcode)
def find_version(fname):
'''Attempts to find the version number in the file names fname.
Raises RuntimeError if not found.
'''
version = ''
with open(fname, 'r') 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
__version__ = find_version("mfr/__init__.py")
def read(fname):
with open(fname) as fp:
content = fp.read()
return content
setup(
name='mfr',
version=__version__,
description='HTML file renderer for Python',
long_description=(read("README.rst") + '\n\n' +
read("HISTORY.rst")),
author='Center for Open Science',
author_email='contact@cos.io',
url='https://github.com/CenterForOpenScience/modular-file-renderer',
packages=list(
set(find_packages(exclude=["test*", "player*", "*.tests"])) - set(SYS_EXCLUDE)
),
include_package_data=True,
package_data={
"": ['templates/*', 'static/*/*', '*.txt'],
},
license=read("LICENSE"),
zip_safe=False,
keywords='mfr',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
"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',
],
entry_points={
'console_scripts': ['mfr = mfr.cli:main']
},
test_suite='tests',
tests_require=['pytest'],
cmdclass={'test': PyTest}
)
|
Python
| 0.000001
|
@@ -1849,16 +1849,18 @@
atic/*/*
+/*
', '*.tx
|
4fde19b4b77c80b5d36376a763f644fc3711d1e2
|
Add Missing Requirement
|
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 = [
'clowder'
]
test_requirements = [
'nose',
'mock'
]
setup(
name='send_clowder',
version='0.1.2',
description="Simple command-line tool for sending messages to clowder",
long_description=readme + '\n\n' + history,
author="Eric Scrivner",
author_email='eric.t.scrivner@gmail.com',
url='https://github.com/etscrivner/send_clowder',
packages=[
'send_clowder',
],
package_dir={'send_clowder':
'send_clowder'},
include_package_data=True,
install_requires=requirements,
license="BSD",
zip_safe=False,
keywords='send_clowder',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
"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',
],
test_suite='tests',
tests_require=test_requirements,
entry_points={
'console_scripts': {
'send_clowder = send_clowder.send_clowder:send_clowder_main'
}
}
)
|
Python
| 0
|
@@ -348,16 +348,31 @@
clowder'
+,%0A 'isodate'
%0A%5D%0A%0Atest
|
15694fa2f7cc18f256dc2866e6206686de1ab795
|
remove gevent extras_require
|
setup.py
|
setup.py
|
#!/usr/bin/env python
"""
distutils/setuptools install script. See inline comments for packaging documentation.
"""
import os
import sys
import requests
from requests.compat import is_py3
try:
from setuptools import setup
# hush pyflakes
setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
packages = [
'requests',
'requests.packages',
'requests.packages.urllib3',
'requests.packages.urllib3.packages',
'requests.packages.urllib3.packages.ssl_match_hostname',
'requests.packages.urllib3.packages.mimetools_choose_boundary',
]
# certifi is a Python package containing a CA certificate bundle for SSL verification.
# On certain supported platforms (e.g., Red Hat / Debian / FreeBSD), Requests can
# use the system CA bundle instead; see `requests.utils` for details.
# If your platform is supported, set `requires` to [] instead:
requires = ['certifi>=0.0.7']
# chardet is used to optimally guess the encodings of pages that don't declare one.
# At this time, chardet is not a required dependency. However, it's sufficiently
# important that pip/setuptools should install it when it's unavailable.
if is_py3:
chardet_package = 'chardet2'
else:
chardet_package = 'chardet>=1.0.0'
requires.append('oauthlib>=0.1.0,<0.2.0')
requires.append(chardet_package)
# The async API in requests.async requires the gevent package.
# This is also not a required dependency.
extras_require = {
'async': ['gevent'],
}
setup(
name='requests',
version=requests.__version__,
description='Python HTTP for Humans.',
long_description=open('README.rst').read() + '\n\n' +
open('HISTORY.rst').read(),
author='Kenneth Reitz',
author_email='me@kennethreitz.com',
url='http://python-requests.org',
packages=packages,
package_data={'': ['LICENSE', 'NOTICE']},
include_package_data=True,
install_requires=requires,
extras_require=extras_require,
license=open("LICENSE").read(),
classifiers=(
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: ISC License (ISCL)',
'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',
),
)
|
Python
| 0.000001
|
@@ -1409,164 +1409,8 @@
e)%0A%0A
-# The async API in requests.async requires the gevent package.%0A# This is also not a required dependency.%0Aextras_require = %7B%0A 'async': %5B'gevent'%5D,%0A%7D%0A%0A
setu
@@ -1858,43 +1858,8 @@
es,%0A
- extras_require=extras_require,%0A
|
2de635bbb747b21d04eac8530d1412be2c3cd9c1
|
Bump version
|
setup.py
|
setup.py
|
"""Nanoservice installation script
https://github.com/walkr/nanoservice
"""
#!/usr/bin/env python
import sys
from setuptools import setup
def read_long_description(readme_file):
""" Read package long description from README file """
try:
import pypandoc
except (ImportError, OSError) as exception:
print('No pypandoc or pandoc: %s' % (exception,))
if sys.version_info.major == 3:
handle = open(readme_file, encoding='utf-8')
else:
handle = open(readme_file)
long_description = handle.read()
handle.close()
return long_description
else:
return pypandoc.convert(readme_file, 'rst')
setup(
name='nanoservice',
version='0.5.2',
packages=['nanoservice'],
author='Tony Walker',
author_email='walkr.walkr@gmail.com',
url='https://github.com/walkr/nanoservice',
license='MIT',
description='nanoservice is a small Python library for '
'writing lightweight networked services using nanomsg',
long_description=read_long_description('README.md'),
install_requires=[
'msgpack-python',
'nanomsg',
'nose',
],
dependency_links=[
'git+https://github.com/tonysimpson/nanomsg-python.git@master#egg=nanomsg',
],
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
)
|
Python
| 0
|
@@ -732,17 +732,17 @@
on='0.5.
-2
+3
',%0A p
|
e1200dfc7a882340037448ff64241786e828c8c3
|
Include changelog on pypi page
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name='mittn',
use_scm_version=True,
description='Mittn',
long_description=open('README.rst').read(),
classifiers=[
"Programming Language :: Python :: 2.7"
],
license='Apache License 2.0',
author='F-Secure Corporation',
author_email='opensource@f-secure.com',
url='https://github.com/F-Secure/mittn',
packages=find_packages(exclude=['features']),
install_requires=open('requirements.txt').readlines(),
)
|
Python
| 0
|
@@ -161,16 +161,54 @@
).read()
+ + '%5Cn' + open('CHANGELOG.rst').read()
,%0A cl
|
ed5119485dcaaf0ff5f68a365fd2cfa44cfd0a16
|
exclude test package from setup
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name='django-tex',
# version='0.2',
description='A simple Django app to render Latex templates and compile them into Pdf files.',
url='https://github.com/weinbusch/django-tex',
author='Martin Bierbaum',
license='MIT',
keywords='django latex jinja2',
packages=find_packages(),
use_scm_version=True,
setup_requires=[
'setuptools_scm',
],
install_requires=[
'django>=1.11.4',
'jinja2>=2.9.6',
],
python_requires='>=3.6.2',
package_data={
'': ['*.tex'],
},
)
|
Python
| 0
|
@@ -72,29 +72,8 @@
x',%0A
- # version='0.2',%0A
@@ -329,16 +329,33 @@
ackages(
+exclude=%5B'tests'%5D
),%0A u
|
fe03ecdf9562a9fb08d6a0adab5848d0deeef224
|
add `zvm` script to setup
|
setup.py
|
setup.py
|
# Copyright 2014 Rackspace, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, 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.
"""
ZeroVM Shell
"""
import sys
import zvmlib
requires = []
if sys.version_info < (2, 7):
requires.append('ordereddict')
kwargs = {}
try:
from setuptools import setup
kwargs['install_requires'] = requires
except ImportError:
sys.stderr.write('warning: setuptools not found, you must '
'manually install dependencies!\n')
from distutils.core import setup
ZVM_VERSION = zvmlib.__version__
setup(
name='zerovm-cli',
version=ZVM_VERSION,
maintainer='Rackspace ZeroVM Team',
maintainer_email='zerovm@rackspace.com',
url='https://github.com/zerovm/zerovm-cli',
description='ZeroVM Shell',
long_description=__doc__,
platforms=['any'],
packages=['zvshlib', 'zvmlib'],
license='Apache 2.0',
keywords='zvsh zerovm zvm',
classifiers=(
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: Apache Software License',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Topic :: Software Development :: Build Tools',
),
scripts=['zvsh'],
**kwargs
)
|
Python
| 0
|
@@ -1832,16 +1832,23 @@
=%5B'zvsh'
+, 'zvm'
%5D,%0A *
|
dafb7d1023d77c2b094b0de5296acc54818722f5
|
Bump version to 0.4.1
|
setup.py
|
setup.py
|
# dockerpty.
#
# Copyright 2014 Chris Corbyn <chris@w3style.co.uk>
#
# 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
import os
def fopen(filename):
return open(os.path.join(os.path.dirname(__file__), filename))
def read(filename):
return fopen(filename).read()
setup(
name='dockerpty',
version='0.4.0',
description='Python library to use the pseudo-tty of a docker container',
long_description=read('README.md'),
url='https://github.com/d11wtq/dockerpty',
author='Chris Corbyn',
author_email='chris@w3style.co.uk',
install_requires=['six >= 1.3.0'],
license='Apache 2.0',
keywords='docker, tty, pty, terminal',
packages=['dockerpty'],
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Environment :: Console',
'Intended Audience :: Developers',
'Topic :: Terminals',
'Topic :: Terminals :: Terminal Emulators/X Terminals',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
Python
| 0
|
@@ -839,17 +839,17 @@
on='0.4.
-0
+1
',%0A d
|
b8c8c4a599b2f101c5d375553676950faa965fea
|
bump package versions
|
setup.py
|
setup.py
|
import setuptools
from pathlib import Path
PKG_NAME = "archivebox"
REPO_URL = "https://github.com/pirate/ArchiveBox"
BASE_DIR = Path(__file__).parent.resolve()
SOURCE_DIR = BASE_DIR / PKG_NAME
README = (BASE_DIR / "README.md").read_text()
VERSION = (SOURCE_DIR / "VERSION").read_text().strip()
# To see when setup.py gets called (uncomment for debugging)
# import sys
# print(SOURCE_DIR, f" (v{VERSION})")
# print('>', sys.executable, *sys.argv)
# raise SystemExit(0)
setuptools.setup(
name=PKG_NAME,
version=VERSION,
license="MIT",
author="Nick Sweeting",
author_email="git@nicksweeting.com",
description="The self-hosted internet archive.",
long_description=README,
long_description_content_type="text/markdown",
url=REPO_URL,
project_urls={
"Source": f"{REPO_URL}",
"Documentation": f"{REPO_URL}/wiki",
"Bug Tracker": f"{REPO_URL}/issues",
"Changelog": f"{REPO_URL}/wiki/Changelog",
"Roadmap": f"{REPO_URL}/wiki/Roadmap",
"Community": f"{REPO_URL}/wiki/Web-Archiving-Community",
"Donate": f"{REPO_URL}/wiki/Donations",
},
python_requires=">=3.7",
install_requires=[
"requests",
"atomicwrites",
"dataclasses==0.6",
"mypy-extensions==0.4.3",
"base32-crockford==0.3.0",
"django==3.0.7",
"django-extensions==2.2.9",
"dateparser",
"ipython",
"youtube-dl",
"python-crontab==2.5.1",
"w3lib==1.22.0",
# "croniter",
# Some/all of these will likely be added in the future:
# wpull
# pywb
# pyppeteer
# archivenow
],
extras_require={
'dev': [
"setuptools",
"wheel",
"twine",
"flake8",
"ipdb",
"mypy",
"django-stubs",
"sphinx",
"sphinx-rtd-theme",
"recommonmark",
"pytest",
"bottle",
],
# 'redis': ['redis', 'django-redis'],
# 'pywb': ['pywb', 'redis'],
},
packages=setuptools.find_packages(),
entry_points={
"console_scripts": [
f"{PKG_NAME} = {PKG_NAME}.cli:main",
],
},
include_package_data=True,
classifiers=[
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Topic :: Utilities",
"Topic :: System :: Archiving",
"Topic :: System :: Archiving :: Backup",
"Topic :: System :: Recovery Tools",
"Topic :: Sociology :: History",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
"Topic :: Internet :: WWW/HTTP :: WSGI",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Server",
"Topic :: Software Development :: Libraries :: Python Modules",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Information Technology",
"Intended Audience :: Legal Industry",
"Intended Audience :: System Administrators",
"Environment :: Console",
"Environment :: Web Environment",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Framework :: Django",
"Typing :: Typed",
],
)
|
Python
| 0
|
@@ -1245,16 +1245,24 @@
requests
+==2.24.0
%22,%0A
@@ -1281,36 +1281,15 @@
ites
-%22,%0A %22dataclasses==0.6
+==1.4.0
%22,%0A
@@ -1377,17 +1377,17 @@
go==3.0.
-7
+8
%22,%0A
@@ -1413,13 +1413,13 @@
ns==
-2.2.9
+3.0.3
%22,%0A%0A
@@ -1514,16 +1514,16 @@
2.5.1%22,%0A
+
@@ -1543,30 +1543,8 @@
0%22,%0A
- # %22croniter%22,%0A
|
0e3b8e2e0e8045686edd3fbc9899a55dc8252293
|
remove condoor requirement frm setup file
|
setup.py
|
setup.py
|
# =============================================================================
#
# Copyright (c) 2016, Cisco Systems
# All rights reserved.
#
# # Author: Klaudiusz Staniek
#
# 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.
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "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 THE COPYRIGHT HOLDER OR CONTRIBUTORS 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, find_packages
import re
from uuid import uuid4
install_requires = [
"stevedore",
"pkginfo==1.3.2",
"click",
"condoor>=0.1.5",
"sphinx",
"sphinx_rtd_theme",
]
def version():
pyfile = 'csmpe/__init__.py'
with open(pyfile) as fp:
data = fp.read()
match = re.search("__version__ = '([^']+)'", data)
assert match, 'cannot find version in {}'.format(pyfile)
return match.group(1)
setup(
name='csmpe',
version=version(),
description='CSM Plugin Engine',
author='Klaudiusz Staniek',
author_email='klstanie@cisco.com',
url='https://github.com/csmserver/csmpe',
packages=find_packages(),
include_package_data=True,
entry_points={
'console_scripts': [
'csmpe = csmpe.__main__:cli',
],
'csm.plugin': [
'{} = csmpe.core_plugins.csm_get_inventory.ios_xr.plugin:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_get_inventory.ios_xe.plugin:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_get_inventory.nx_os.plugin:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_get_inventory.exr.plugin:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_get_inventory.ios.plugin:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_config_capture.plugin:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_custom_commands_capture.plugin:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_failed_config_startup_check.ios_xr.plugin:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_check_config_filesystem.ios_xr.plugin:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_node_status_check.ios_xr.plugin:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_node_status_check.exr.plugin:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_node_status_check.ios_xe.plugin:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_redundancy_check.ios_xr.plugin:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_redundancy_check.ios_xe.plugin:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_error_core_check.ios_xr.plugin:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_check_isis_neighbors.ios_xr.plugin:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_filesystem_check.ios_xr.disk_space_check:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_filesystem_check.ios_xr.filesystem_rw_check:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_install_operations.ios_xr.add:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_install_operations.ios_xr.activate:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_install_operations.ios_xr.commit:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_install_operations.ios_xr.deactivate:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_install_operations.ios_xr.remove:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_install_operations.ios_xr.hardware_audit:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_install_operations.ios_xr.pre_migrate:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_install_operations.ios_xr.migrate:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_install_operations.ios_xr.post_migrate:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_install_operations.ios_xr.remove_all:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_install_operations.exr.add:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_install_operations.exr.prepare:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_install_operations.exr.activate:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_install_operations.exr.commit:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_install_operations.exr.deactivate:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_install_operations.exr.remove:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_install_operations.exr.remove_all:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_install_operations.ios_xe.add:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_install_operations.ios_xe.pre_activate:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_install_operations.ios_xe.activate:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_install_operations.ios_xe.remove:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_install_operations.ios.add:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_install_operations.ios.activate:Plugin'.format(uuid4()),
'{} = csmpe.core_plugins.csm_install_operations.ios.remove:Plugin'.format(uuid4()),
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
],
zip_safe=False,
install_requires=install_requires,
tests_require=['flake8'],
package_data={'': ['LICENSE', ], },
)
|
Python
| 0
|
@@ -1671,30 +1671,8 @@
k%22,%0A
- %22condoor%3E=0.1.5%22,%0A
|
c82a7b64e98cabc301f4d420483cb384888bb960
|
prepare for release 1.5
|
setup.py
|
setup.py
|
"""Main setup script."""
from setuptools import setup, find_packages
NAME = "bcubed"
VERSION = "1.4"
DESCRIPTION = "Simple extended BCubed implementation in Python for clustering evaluation"
AUTHOR = "Hugo Hromic"
AUTHOR_EMAIL = "hhromic@gmail.com"
URL = "https://github.com/hhromic/python-bcubed"
DOWNLOAD_URL = URL + "/tarball/" + VERSION
def _read_file(filename):
with open(filename) as reader:
return reader.read()
setup(
name=NAME, version=VERSION, description=DESCRIPTION,
author=AUTHOR, author_email=AUTHOR_EMAIL,
maintainer=AUTHOR, maintainer_email=AUTHOR_EMAIL,
url=URL, download_url=DOWNLOAD_URL,
requires=["numpy"],
install_requires=["numpy"],
provides=["bcubed"],
keywords=["bcubed", "clustering", "evaluation"],
classifiers=[
"Environment :: Console",
"Topic :: System :: Clustering",
"Intended Audience :: Science/Research"
],
license="Apache-2.0",
platforms=["all"],
long_description=_read_file("README.md"),
long_description_content_type="text/markdown",
packages=find_packages()
)
|
Python
| 0
|
@@ -97,9 +97,9 @@
%221.
-4
+5
%22%0ADE
|
9c72d48b007d71ba53119031d1e4c71662d5988a
|
Fix for issue 10: chicken/egg issue on importing version number in setup.py
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
from setuptools import setup
from cartouche import __version__ as version
with open('README.txt', 'r') as readme:
long_description = readme.read()
requires = ['Sphinx>=0.6']
setup(
name='cartouche',
packages=['cartouche'],
version = "{version}".format(version=version),
url='http://code.google.com/p/cartouche/',
download_url="http://code.google.com/p/cartouche/downloads/detail?name=cartouche-{version}.zip".format(version=version),
license='BSD',
author='Robert Smallshire',
author_email='robert@smallshire.org.uk',
description='Sphinx "cartouche" extension',
long_description=long_description,
zip_safe=False,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3"
'Topic :: Documentation',
'Topic :: Utilities',
],
platforms='any',
#packages=find_packages(),
include_package_data=True,
install_requires=requires,
requires=['sphinx'],
)
|
Python
| 0
|
@@ -52,52 +52,23 @@
up%0A%0A
-from cartouche import __version__ as version
+version = '0.9'
%0A%0Awi
|
1ce563c8ae1baa12af486e7449792d8c6847be62
|
Version bump
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages, Command
version = "0.5"
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import sys
import subprocess
errno = subprocess.call([sys.executable, 'runtests.py'])
raise SystemExit(errno)
setup(
name="twitter-dedupe",
version=version,
author="Chris Heisel",
author_email="chris@heisel.org",
description=("Python library to retweet unique links from noisy Twitter accounts."),
long_description=open("README.md").read(),
url="https://github.com/cmheisel/twitter-dedupe",
zip_safe=False,
include_package_data=True,
scripts=['bin/logonly.py', 'bin/retweet.py'],
package_data={
# If any package contains *.txt or *.rst files, include them:
'': ['*.txt', '*.rst', '.html'],
},
packages=find_packages(),
classifiers=[
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
],
install_requires=[
"redis",
"requests",
"tweepy",
],
cmdclass = {'test': PyTest},
)
|
Python
| 0.000001
|
@@ -64,9 +64,9 @@
%220.
-5
+6
%22%0A%0A%0A
|
503e370890c03ac1859b97c64608275eae1f6716
|
Update version number for 1.0.0 release
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages # Always prefer setuptools over distutils
from codecs import open # To use a consistent encoding
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='''ckanext-accessrequests''',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# http://packaging.python.org/en/latest/tutorial.html#version
version='0.0.1',
description='''A CKAN extension for mediated access''',
long_description=long_description,
# The project's main homepage.
url='https://github.com/DataShades/ckanext-accessrequests',
# Author details
author='''Link Web Services''',
author_email='''support@linkdigital.com.au''',
# Choose your license
license='AGPL',
# 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 :: 4 - Beta',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
# 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.6',
'Programming Language :: Python :: 2.7',
],
# What does your project relate to?
keywords='''CKAN access''',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=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/technical.html#install-requires-vs-requirements-files
install_requires=[],
# 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.
include_package_data=True,
package_data={
},
# 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
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
data_files=[],
# 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='''
[ckan.plugins]
accessrequests=ckanext.accessrequests.plugin:AccessRequestsPlugin
[babel.extractors]
ckan = ckan.lib.extract:extract_ckan
''',
# If you are changing from the default layout of your extension, you may
# have to change the message extractors, you can read more about babel
# message extraction at
# http://babel.pocoo.org/docs/messages/#extraction-method-mapping-and-configuration
message_extractors={
'ckanext': [
('**.py', 'python', None),
('**.js', 'javascript', None),
('**/templates/**.html', 'ckan', None),
],
}
)
|
Python
| 0
|
@@ -643,13 +643,13 @@
on='
+1.
0.0
-.1
',%0A%0A
|
a55282f2ee339061eee2ee8e9202fe15ab6a389f
|
fix missing commands directory in install
|
setup.py
|
setup.py
|
from distutils.core import setup
setup(
name = 'piton',
license='LICENSE',
packages = ['piton', 'piton/utils'], # this must be the same as the name above
version = '0.1.0',
description = 'A local python package manager',
url = 'https://github.com/piton-package-manager/piton', # use the URL to the github repo
keywords = ['package', 'manager', 'local'], # arbitrary keywords
classifiers = [
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
entry_points = {
'console_scripts': [
'piton = piton.main:main'
]
}
)
|
Python
| 0.000001
|
@@ -105,16 +105,34 @@
n/utils'
+, 'piton/commands'
%5D, # thi
|
8c5dfce7ccbc7729cc085d44177bcf68b370ba02
|
update numpy dep
|
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.11.2, <= 1.11.3',
'scipy >= 0.18.1, <= 0.19.1', # In newer versions they remove scipy.maxentropy
'scikit-learn >= 0.18.1, <= 0.18.2',
'spacy == 1.2.0',
'nltk >= 3.2.1',
'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
'python-crfsuite >= 0.9.3, <= 0.9.6',
# Other
'beautifulsoup4 >= 4.5.1',
'requests >= 2.21.0',
'progress >= 1.2',
'hdfs == 2.1.0',
'urllib3 <1.25, >=1.20' # 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.000001
|
@@ -957,17 +957,17 @@
, %3C= 1.1
-1
+3
.3',%0A
|
9fc336acb5451f257399c8575fe0e6ca7e4f72ef
|
add install_requires to setup.py
|
setup.py
|
setup.py
|
from distutils.core import setup
setup(name='zencoder',
version='0.3',
description='Integration library for Zencoder',
author='Alex Schworer',
author_email='alex.schworer@gmail.com',
url='http://github.com/schworer/zencoder-py',
license="MIT License",
packages=['zencoder']
)
|
Python
| 0
|
@@ -283,16 +283,53 @@
cense%22,%0A
+ install_requires=%5B'httplib2'%5D,%0A
pa
|
f1b565f4d548e4036bb54dfff0e33a8a9b5db176
|
=3.25
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup
setup(name="i3pystatus",
version="3.24",
description="Like i3status, this generates status line for i3bar / i3wm",
url="http://github.com/enkore/i3pystatus",
license="MIT",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: X11 Applications",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Topic :: Desktop Environment :: Window Managers",
],
packages=[
"i3pystatus",
"i3pystatus.core",
"i3pystatus.core.threading",
"i3pystatus.mail",
"i3pystatus.pulseaudio",
],
entry_points={
"console_scripts": ["i3pystatus = i3pystatus:main"],
},
)
|
Python
| 0.999939
|
@@ -89,17 +89,17 @@
ion=%223.2
-4
+5
%22,%0A
@@ -629,45 +629,8 @@
e%22,%0A
- %22i3pystatus.core.threading%22,%0A
|
5e1141793eb453e542e19eb1d2c271103333727e
|
Fix I202 error in setup.py imports (flake8)
|
setup.py
|
setup.py
|
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
import sys
# To use a consistent encoding
from codecs import open
from os import path
# Always prefer setuptools over distutils
from setuptools import find_packages, setup
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
# Our package dependencies
deps = [
'requests>=2.9.1',
'xmltodict>=0.9.2',
]
if sys.version_info < (3, 0, 0):
# The future package is a compatibility layer between our Py3 code and Py2
deps += ['future>=0.15.2']
setup(
name='pynano',
# 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.1.1',
description='A simple Python library for the NaNoWriMo API',
long_description=long_description,
# The project's main homepage.
url='https://pynano.readthedocs.org/',
# Author details
author='Travis Veazey',
author_email='travisvz@gmail.com',
# Choose your license
license='MIT',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
],
# What does your project relate to?
keywords='nanowrimo wordcount api',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=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=deps,
# 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={
'test': [
# Some of these don't work from tests_require for some reason;
# putting all of them here for consistency.
'coverage>=4.0.3',
'docutils>=0.12',
'flake8>=2.5.1',
'flake8-import-order>=0.6.1',
'pep8-naming>=0.3.3',
'responses>=0.5.0',
]
},
# Integrate `setup.py test` with pytest
setup_requires=[
'pytest-runner',
],
tests_require=[
'pytest',
],
# 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={
},
# 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=[],
# 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={
},
)
|
Python
| 0
|
@@ -146,16 +146,41 @@
ort sys%0A
+from codecs import open
# To use
@@ -203,29 +203,25 @@
coding%0Afrom
-codec
+o
s import ope
@@ -221,80 +221,18 @@
ort
-open
+path
%0Afrom
-os import path%0A# Always prefer setuptools over distutils%0Afrom
setu
@@ -265,16 +265,52 @@
s, setup
+ # Prefer setuptools over distutils
%0A%0Ahere =
|
a0539fc7327eff11e42981244ae6a913b887867f
|
use pathlib for windows / linux compat
|
setup.py
|
setup.py
|
import glob
from setuptools import setup
def get_advanced_templates():
template_base = 'aws/templates/advanced/'
template_names = ['advanced-master', 'advanced-priv-agent', 'advanced-pub-agent', 'infra', 'zen']
return [template_base + name + '.json' for name in template_names]
# These files are expected source files to the dcos-builder docker.
# They need to match the contents of ./pkgpanda/docker/dcos-builder/*
# exactly otherwise the dcos-builder docker will have a different sha1
# checksum calculated during when the ./release script is run.
# That leads to cached packages hashes being different from what
# is cached in S3 and prevents us from building DC/OS locally.
expected_dcos_builder_files = [
'docker/dcos-builder/Dockerfile',
'docker/dcos-builder/README.md',
]
dcos_builder_files = [filename[len('./pkgpanda/'):] for filename in glob.glob('./pkgpanda/docker/**/*')]
if set(expected_dcos_builder_files) != set(dcos_builder_files):
raise Exception('Expected ./pkgpanda/docker/dcos-buillder to contain {} but it had {}'.format(
expected_dcos_builder_files, dcos_builder_files))
setup(
name='dcos_image',
version='0.1',
description='DC/OS cluster configuration, assembly, and maintenance code',
url='https://dcos.io',
author='Mesosphere, Inc.',
author_email='help@dcos.io',
license='apache2',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
],
packages=[
'dcos_installer',
'gen',
'gen.build_deploy',
'pkgpanda',
'pkgpanda.build',
'pkgpanda.http',
'release',
'release.storage',
'ssh'],
install_requires=[
# DCOS-21656 - `botocore`` requires less than 2.7.0 while
# `analytics-python` package installs 2.7.0 version
'python-dateutil>=2.1,<2.7.0',
'aiohttp==0.22.5',
'analytics-python',
'coloredlogs',
'Flask',
'flask-compress',
'urllib3==1.22',
'chardet',
'PyJWT',
# Pins taken from 'azure==2.0.0rc4'
'msrest==0.4.17',
'msrestazure==0.4.15',
'azure-common==1.1.4',
'azure-storage==0.32.0',
'azure-mgmt-network==0.30.0rc4',
'azure-mgmt-resource==0.30.0rc4',
'botocore',
'boto3',
'checksumdir',
'coloredlogs',
'docopt',
'passlib',
'py',
'pytest',
'pyyaml',
'requests==2.18.4',
'retrying',
'schema',
'keyring==9.1', # FIXME: pin keyring to prevent dbus dep
'teamcity-messages'],
entry_points={
'console_scripts': [
'release=release:main',
'pkgpanda=pkgpanda.cli:main',
'mkpanda=pkgpanda.build.cli:main',
'dcos_installer=dcos_installer.cli:main',
],
},
package_data={
'gen': [
'ip-detect/aws.sh',
'ip-detect/aws6.sh',
'ip-detect/aws_public.sh',
'ip-detect/azure.sh',
'ip-detect/azure6.sh',
'ip-detect/vagrant.sh',
'ip-detect/vagrant6.sh',
'fault-domain-detect/cloud.sh',
'fault-domain-detect/aws.sh',
'fault-domain-detect/azure.sh',
'cloud-config.yaml',
'cloud-config-windows.yaml',
'dcos-config.yaml',
'dcos-config-windows.yaml',
'dcos-metadata.yaml',
'dcos-services.yaml',
'dcos-services-windows.yaml',
'aws/dcos-config.yaml',
'aws/templates/aws.html',
'aws/templates/cloudformation.json',
'azure/cloud-config.yaml',
'azure/cloud-config-windows.yaml',
'azure/azuredeploy-parameters.json',
'azure/templates/acs.json',
'azure/templates/azure.html',
'azure/templates/azuredeploy.json',
'build_deploy/bash/dcos_generate_config.sh.in',
'build_deploy/bash/Dockerfile.in',
'build_deploy/bash/installer_internal_wrapper.in',
'build_deploy/bash/dcos-launch.spec',
'coreos-aws/cloud-config.yaml',
'coreos/cloud-config.yaml'
] + get_advanced_templates(),
'pkgpanda': expected_dcos_builder_files,
},
zip_safe=False
)
|
Python
| 0
|
@@ -1,15 +1,28 @@
+from pathlib
import
-glob
+Path
%0A%0Afr
@@ -734,24 +734,29 @@
les = %5B%0A
+Path(
'docker/dcos
@@ -775,22 +775,28 @@
kerfile'
+)
,%0A
+Path(
'docker/
@@ -818,16 +818,17 @@
ADME.md'
+)
,%0A%5D%0Adcos
@@ -850,21 +850,27 @@
= %5Bf
-ilename%5Blen('
+.relative_to(Path(%22
./pk
@@ -879,41 +879,27 @@
anda
-/'):%5D
+%22))
for f
-ilename in glob.glob('
+ in Path(%22
./pk
@@ -900,25 +900,33 @@
(%22./pkgpanda
-/
+%22).glob('
docker/**/*'
@@ -926,16 +926,31 @@
r/**/*')
+ if f.is_file()
%5D%0Aif set
@@ -1064,17 +1064,16 @@
cos-buil
-l
der to c
@@ -4461,16 +4461,33 @@
gpanda':
+ %5Bstr(f) for f in
expecte
@@ -4506,16 +4506,17 @@
er_files
+%5D
,%0A %7D,
|
d1b5fd979973232275c5de88aa500be9a2222149
|
version bump 0.1.4
|
setup.py
|
setup.py
|
import os
from setuptools import setup
from distutils.command.install import INSTALL_SCHEMES
for scheme in INSTALL_SCHEMES.values():
scheme['data'] = scheme['purelib']
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(name='piefuzz',
version='1.0.3',
description="Pie wrapper for junegunn's fuzzyfinder (fzf)",
long_description = read('README.md'),
keywords = 'pyfzf fzf fuzzyfinder fuzz find ctrl-p command-t',
author='timothy c eiechler',
author_email='timeyyy_da_man@hotmail.com',
license='MIT',
url='https://github.com/timeyyy/piefuzz',
install_requires=['plumbum'],
py_modules=['piefuzz'],
packages=['piefuzz'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Terminals',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
]
)
|
Python
| 0.000001
|
@@ -365,17 +365,17 @@
on='1.0.
-3
+4
',%0A
|
c34ce19b3c1a1f7fb867d2977c924d870b12286c
|
Bump version to v1.1.0.
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# Copyright (c) 2013 The MITRE Corporation. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
# are met:
# 1. Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# 2. 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.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``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 THE AUTHOR OR CONTRIBUTORS 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
DESCRIPTION = "Scan data streams with Yara using various algorithms."
LONG_DESCRIPTION = open('README.rst').read()
setup(
name='yaraprocessor',
version='1.0.0',
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
license=open('LICENSE').read(),
author='Stephen DiCato',
author_email='sdicato@mitre.org',
url='https://github.com/MITRECND/yaraprocessor',
# For a single file, use 'py_modules' instead of 'packages'
py_modules=['yaraprocessor'],
zip_safe=False,
classifiers=(
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Security',
'Topic :: System :: Monitoring'))
|
Python
| 0
|
@@ -1543,17 +1543,17 @@
sion='1.
-0
+1
.0',%0A
|
bb1afe0a8571e22d590b64b6003ae1f4bb1ab31f
|
Revert version to 1.5.0
|
setup.py
|
setup.py
|
# MIT License
# Copyright (c) 2017 MassChallenge, Inc.
import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
DJANGO_SPEC = ">=1.8,<2.0"
if "DJANGO_VERSION" in os.environ:
DJANGO_SPEC = "=={}".format(os.environ["DJANGO_VERSION"])
INSTALL_REQUIRES = [
"django{}".format(DJANGO_SPEC),
"django-mptt==0.10.0",
"sorl-thumbnail",
"django-embed-video",
"pillow",
"pytz",
"swapper",
"django-ordered-model==3.3.0",
"django-paypal==1.0.0",
"django-fluent-pages==2.0.6",
"django-polymorphic",
"django-sitetree==1.12.0"
]
setup(
name='django-accelerator',
version='0.2.2',
packages=find_packages(),
include_package_data=True,
license='MIT License', # example license
description='A Django app to provide MassChallenge Accelerator models.',
long_description=README,
url='http://masschallenge.org/',
author='MassChallenge, Inc.',
author_email='engineering@masschallenge.org',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.8',
'Framework :: Django :: 1.10',
'Framework :: Django :: 1.11',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
install_requires=INSTALL_REQUIRES,
)
|
Python
| 0
|
@@ -658,11 +658,11 @@
el==
-3.3
+1.5
.0%22,
|
2a6a14ad0d066ef422c64687e174742c599aba69
|
Version bump 1.0.4
|
setup.py
|
setup.py
|
# -*- encoding: utf-8 -*-
from setuptools import setup
from setuptools import find_packages
install_requires = [
'django>=1.4,<1.9',
'six',
]
setup(
name="django-compat",
version="1.0.3",
author_email="admin@arteria.ch",
packages=find_packages(),
include_package_data=True,
description="For- and backwards compatibility layer for Django 1.4 to 1.8",
license='MIT',
install_requires=install_requires,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
],
)
|
Python
| 0
|
@@ -196,17 +196,17 @@
on=%221.0.
-3
+4
%22,%0A a
|
926598b3af76c9c4d8c43b0a4d0c4a001e173653
|
Upgrade version to v0.3.2
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name='py_expression_eval',
version='0.3.1',
description='Python Mathematical Expression Evaluator',
url='https://github.com/AxiaCore/py-expression-eval/',
author='vero4ka',
author_email='vero4ka.ru@gmail.com',
license='MIT',
packages=['py_expression_eval'],
zip_safe=False,
test_suite='py_expression_eval.tests',
)
|
Python
| 0.000001
|
@@ -82,9 +82,9 @@
0.3.
-1
+2
',%0A
|
d68bd4d65d44ac45b689b34e040a44addf327a1e
|
Bump version.
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='Flask-GoogleAuth',
version='0.4',
url='https://github.com/sashka/flask-googleauth',
license='BSD',
author='Alexander Saltanov',
author_email='asd@mokote.com',
description='Super simple OpenID and Google Federated Auth for Flask apps.',
long_description=open('README.rst', 'r').read(),
py_modules=['flask_googleauth'],
zip_safe=False,
include_package_data=True,
platforms='any',
install_requires=['Flask', 'requests', 'blinker'],
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
|
@@ -100,16 +100,22 @@
ion='0.4
+.lft.1
',%0A u
|
941700efab69ed52de840d76662922921e08983f
|
bump launcher dependency
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# coding: utf-8
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
from __future__ import print_function
# the name of the project
name = 'jupyterlab'
#-----------------------------------------------------------------------------
# Minimal Python version sanity check
#-----------------------------------------------------------------------------
import sys
v = sys.version_info
if v[:2] < (2,7) or (v[0] >= 3 and v[:2] < (3,3)):
error = "ERROR: %s requires Python version 2.7 or 3.3 or above." % name
print(error, file=sys.stderr)
sys.exit(1)
PY3 = (sys.version_info[0] >= 3)
#-----------------------------------------------------------------------------
# get on with it
#-----------------------------------------------------------------------------
from distutils import log
import io
import json
import os
from glob import glob
from distutils.command.build_ext import build_ext
from setuptools.command.sdist import sdist
from setuptools import setup
from setuptools.command.bdist_egg import bdist_egg
# Our own imports
from setupbase import (
bdist_egg_disabled,
find_packages,
find_package_data,
js_prerelease,
CheckAssets
)
# BEFORE importing distutils, remove MANIFEST. distutils doesn't properly
# update it when the contents of directories change.
if os.path.exists('MANIFEST'): os.remove('MANIFEST')
here = os.path.dirname(os.path.abspath(__file__))
pjoin = os.path.join
DESCRIPTION = 'An alpha preview of the JupyterLab notebook server extension.'
LONG_DESCRIPTION = 'This is an alpha preview of JupyterLab. It is not ready for general usage yet. Development happens on https://github.com/jupyter/jupyterlab, with chat on https://gitter.im/jupyter/jupyterlab.'
version_ns = {}
with io.open(pjoin(here, name, '_version.py'), encoding="utf8") as f:
exec(f.read(), {}, version_ns)
setup_args = dict(
name = name,
description = DESCRIPTION,
long_description = LONG_DESCRIPTION,
version = version_ns['__version__'],
scripts = glob(pjoin('scripts', '*')),
packages = find_packages(),
package_data = find_package_data(),
author = 'Jupyter Development Team',
author_email = 'jupyter@googlegroups.com',
url = 'http://jupyter.org',
license = 'BSD',
platforms = "Linux, Mac OS X, Windows",
keywords = ['ipython', 'jupyter', 'Web'],
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
cmdclass = dict(
build_ext = build_ext,
sdist = js_prerelease(sdist, strict=True),
bdist_egg = bdist_egg if 'bdist_egg' in sys.argv else bdist_egg_disabled,
jsdeps = CheckAssets
)
try:
from wheel.bdist_wheel import bdist_wheel
cmdclass['bdist_wheel'] = js_prerelease(bdist_wheel, strict=True)
except ImportError:
pass
setup_args['cmdclass'] = cmdclass
setuptools_args = {}
install_requires = setuptools_args['install_requires'] = [
'notebook>=4.2.0',
'jupyterlab_launcher>=0.2'
]
extras_require = setuptools_args['extras_require'] = {
'test:python_version == "2.7"': ['mock'],
'test': ['pytest'],
'docs': [
'sphinx',
'recommonmark',
'sphinx_rtd_theme'
],
}
if 'setuptools' in sys.modules:
setup_args.update(setuptools_args)
# force entrypoints with setuptools (needed for Windows, unconditional because of wheels)
setup_args['entry_points'] = {
'console_scripts': [
'jupyter-lab = jupyterlab.labapp:main',
'jupyter-labextension = jupyterlab.labextensions:main',
]
}
setup_args.pop('scripts', None)
setup_args.update(setuptools_args)
if __name__ == '__main__':
setup(**setup_args)
|
Python
| 0.000001
|
@@ -3580,16 +3580,18 @@
her%3E=0.2
+.3
'%0A%5D%0A%0Aext
|
04a6ba1729befd63cd9a4507d633c1497817c40b
|
Update classifiers
|
setup.py
|
setup.py
|
from setuptools import setup
def get_version():
import re
with open('lastpass/__init__.py', 'r') as f:
for line in f:
m = re.match(r'__version__ = [\'"]([^\'"]*)[\'"]', line)
if m:
return m.group(1)
raise RuntimeError('Cannot find version information')
setup(
name='lastpass-python',
version=get_version(),
description='Read only access to the online LastPass vault (unofficial)',
long_description=open('README.rst').read(),
license='MIT',
author='konomae',
author_email='konomae@users.noreply.github.com',
url='https://github.com/konomae/lastpass-python',
packages=['lastpass'],
install_requires=[
"requests>=1.2.1,<=3.0.0",
"pycrypto>=2.6.1",
],
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'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 :: CPython',
],
)
|
Python
| 0.000002
|
@@ -1149,17 +1149,66 @@
on :: 3.
-3
+4',%0A 'Programming Language :: Python :: 3.5
',%0A
@@ -1239,33 +1239,33 @@
:: Python :: 3.
-4
+6
',%0A 'Prog
|
c1fb843497f85eb4e1fb8d26fb7c168d936fc968
|
Bump version 1.1.1 -> 1.1.2
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from os import path
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
readme_file = path.join(path.dirname(path.abspath(__file__)), 'README.rst')
with open(readme_file) as readme_file:
readme = readme_file.read()
install_requires = []
if sys.version_info < (3, 6):
install_requires.append('typing')
setup(
name='xfail',
version='1.1.1',
description='Skip expected failures',
long_description=readme,
author='Hiroyuki Takagi',
author_email='miyako.dev@gmail.com',
url='https://github.com/miyakogi/xfail.py',
py_modules=['xfail'],
include_package_data=True,
license="MIT",
zip_safe=False,
keywords='xfail',
classifiers=[
'Development Status :: 5 - Production/Stable',
'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',
],
test_suite='test_xfail',
install_requires=install_requires,
)
|
Python
| 0.000001
|
@@ -449,17 +449,17 @@
on='1.1.
-1
+2
',%0A d
|
11c740a346132d5af53ac3804d646b296593e4f0
|
Version lock kafka-python
|
setup.py
|
setup.py
|
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
setup(
name='ztag',
version='1.0.0',
description='utility for transforming and annotating JSON scan data with additional metdata',
license="Apache License, Version 2.0",
long_description=open(os.path.join(here, 'README.md')).read(),
classifiers=[
"Programming Language :: Python",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English"
],
author='ZMap Team',
author_email='zmap-team@umich.edu',
url='https://github.com/zmap/ztag',
keywords='zmap censys ztag internet-wide scanning',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires = [
"redis",
"protobuf==3.0.0a3",
"python-dateutil",
"zsearch_definitions",
"kafka-python",
"lz4tools",
"xxhash"
],
package_data={"ztag":["devices/*",]},
entry_points = {
'console_scripts': [
'ztag = ztag.__main__:main',
]
}
)
|
Python
| 0.000001
|
@@ -844,24 +844,31 @@
kafka-python
+==1.3.1
%22,%0A %22lz4t
|
344901baf5d11649fbc5e0c1fc3caa69175e2482
|
Set core version compatible specifier to packages.
|
setup.py
|
setup.py
|
# Copyright 2016 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, 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 os
from setuptools import find_packages
from setuptools import setup
PACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(PACKAGE_ROOT, 'README.rst')) as file_obj:
README = file_obj.read()
# NOTE: This is duplicated throughout and we should try to
# consolidate.
SETUP_BASE = {
'author': 'Google Cloud Platform',
'author_email': 'jjg+google-cloud-python@google.com',
'scripts': [],
'url': 'https://github.com/GoogleCloudPlatform/google-cloud-python',
'license': 'Apache 2.0',
'platforms': 'Posix; MacOS X; Windows',
'include_package_data': True,
'zip_safe': False,
'classifiers': [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Internet',
],
}
REQUIREMENTS = [
'google-cloud-core >= 0.21.0',
]
setup(
name='google-cloud-resource-manager',
version='0.21.0',
description='Python Client for Google Cloud Resource Manager',
long_description=README,
namespace_packages=[
'google',
'google.cloud',
],
packages=find_packages(),
install_requires=REQUIREMENTS,
**SETUP_BASE
)
|
Python
| 0
|
@@ -1760,16 +1760,27 @@
= 0.21.0
+, %3C 0.22dev
',%0A%5D%0A%0Ase
|
09003c9e9ac1d389c04e851c5700662d3006baec
|
fix package name & add maintainers
|
setup.py
|
setup.py
|
from distutils.core import setup
setup(
name = "dialogos",
version = "0.6",
author = "Eldarion",
author_email = "development@eldarion.com",
description = "a flaggable comments app",
long_description = open("README.rst").read(),
license = "BSD",
url = "https://github.com/GeoNode/geonode-dialogos",
packages = [
"dialogos",
"dialogos.templatetags",
],
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Framework :: Django",
]
)
|
Python
| 0
|
@@ -47,16 +47,24 @@
name = %22
+geonode-
dialogos
@@ -159,16 +159,110 @@
n.com%22,%0A
+ maintaner = %22Geonode Developers%22,%0A maintainer_email = %22geonode-devel@lists.osgeo.org%22,%0A
desc
|
cca33a507b1d6ac0060f205b287784b286bcfae7
|
Bump version
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from setuptools.extension import Extension
from Cython.Build import cythonize
import numpy as np
import io
PACKAGE_NAME = 'pysaliency'
VERSION = '0.2.10'
DESCRIPTION = 'A Python Framework for Saliency Modeling and Evaluation'
AUTHOR = 'Matthias Kümmerer'
EMAIL = 'matthias.kuemmerer@bethgelab.org'
URL = "https://github.com/matthiask/pysaliency"
from os import path
try:
this_directory = path.abspath(path.dirname(__file__))
with io.open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
except IOError:
long_description = ''
extensions = [
Extension("pysaliency.roc", ['pysaliency/*.pyx'],
include_dirs = [np.get_include()],
extra_compile_args = ['-fopenmp', '-O3'],
extra_link_args=["-fopenmp"]),
]
setup(
name = PACKAGE_NAME,
version = VERSION,
description = 'python library to develop, evaluate and benchmark saliency models',
long_description = long_description,
long_description_content_type='text/markdown',
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Scientific/Engineering",
],
packages = find_packages(),
author = AUTHOR,
author_email = EMAIL,
url = URL,
license = 'MIT',
install_requires=[
'boltons',
'imageio',
'natsort',
'numba',
'numpy',
'requests',
'scipy',
'setuptools',
'tqdm',
],
include_package_data = True,
package_data={'pysaliency': ['scripts/*.m',
'scripts/models/*.m',
'scripts/models/*/*.m',
'scripts/models/*/*/*',
'scripts/models/BMS/patches/*',
'scripts/models/GBVS/patches/*',
'scripts/models/Judd/patches/*',
]},
ext_modules = cythonize(extensions),
)
|
Python
| 0
|
@@ -215,17 +215,17 @@
= '0.2.1
-0
+1
'%0ADESCRI
|
33e4f077c43a8102291aba301d9c33d5255badf8
|
drop distutils dependency
|
setup.py
|
setup.py
|
from setuptools import setup
from distutils.extension import Extension
from pkg_resources import resource_string
from Cython.Distutils import build_ext
class build_ext_subclass(build_ext):
"""
This class is an ugly hack to a problem that arises when one must force
a compiler to use specific flags by adding to the environment somethiing
like the following:
CXX="clang --some_flagA --some_flagB -I/usr/bin/include/mylibC"
(as opposed to setting CXXFLAGS). Distutils in that case will complain
that it cannot run the entire command as given because it is not
found as an executable (specific error message is: "unable to execute...
... no such file or directory").
This subclass of ``build_ext`` will extract the compiler name from the
command line and insert any remaining arguments right after it.
"""
def build_extensions(self):
ccm = self.compiler.compiler
if ' ' in ccm[0]:
self.compiler.compiler = ccm[0].split(' ') + ccm[1:]
cxx = self.compiler.compiler_cxx
if ' ' in cxx[0]:
self.compiler.compiler_cxx = cxx[0].split(' ') + cxx[1:]
build_ext.build_extensions(self)
CXXFLAGS = u"""
-O3
-msse4.2
-Wno-unused-value
-Wno-unused-function
""".split()
VERSION = '0.0.5'
URL = "https://github.com/escherba/python-metrohash"
setup(
version=VERSION,
description="Python bindings for MetroHash, a fast non-cryptographic hash algorithm",
author="Eugene Scherba",
author_email="escherba+metrohash@gmail.com",
url=URL,
download_url=URL + "/tarball/master/" + VERSION,
name='metrohash',
license='MIT',
cmdclass={'build_ext': build_ext_subclass},
zip_safe=False,
ext_modules=[Extension("metrohash",
[
"src/metrohash64.cc",
"src/metrohash128.cc",
"src/metrohash.pyx"
],
depends=[
"include/metro.h",
"include/metrohash.h",
"include/metrohash128.h",
"include/metrohash128crc.h",
"include/metrohash64.h",
"include/platform.h"
],
language="c++",
extra_compile_args=CXXFLAGS,
include_dirs=['include'])],
keywords=['hash', 'hashing'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: C++',
'Programming Language :: Cython',
'Programming Language :: Python :: 2.7',
'Topic :: Internet',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities'
],
long_description=resource_string(__name__, 'README.rst'),
)
|
Python
| 0
|
@@ -25,40 +25,9 @@
etup
-%0Afrom distutils.extension import
+,
Ext
|
c62d63fee453390f5d421dbd8d6b1654fb121b3e
|
Add pytest as a dependency to setup.py
|
setup.py
|
setup.py
|
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# 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 script."""
from setuptools import find_packages
from setuptools import setup
from time import time
long_description = open("README.md").read()
version = "2.0.1r%s" % int(time())
setup(
name="scaaml",
version=version,
description="Side Channel Attack Assisted with Machine Learning",
long_description=long_description,
author="Elie Bursztein",
author_email="scaaml@google.com",
url="https://github.com/google/scaaml",
license="Apache License 2.0",
install_requires=[
"colorama",
"termcolor",
"tqdm",
"pandas",
"numpy",
"tabulate",
"matplotlib",
"Pillow",
"tensorflow>=2.2.0",
"future-fstrings",
"pygments",
"chipwhisperer",
"scipy",
"semver",
],
package_data={"": ["*.pickle"]},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Framework :: Jupyter",
"License :: OSI Approved :: Apache Software License",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Topic :: Security :: Cryptography",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
packages=find_packages(),
)
|
Python
| 0.000001
|
@@ -1118,24 +1118,38 @@
%22pandas%22,%0A
+ %22pytest%22,%0A
%22numpy%22,
|
a99209821a285c78dc487cac34a3e5b9f449d65b
|
Update version to 1.0.3
|
setup.py
|
setup.py
|
import os
from setuptools import setup, find_packages
with open('requirements.txt') as file_requirements:
requirements = file_requirements.read().splitlines()
setup(
name='aws_eis',
version='1.0.2',
author='John Paul P. Doria',
author_email='jp@lazyadm.in',
description=('Register snapshot directory and take and restore ' +
'snapshots of Elasticsearch Service indices.'),
license='MIT',
keywords='aws elasticsearch index snapshot',
url='https://github.com/jpdoria/aws_eis',
packages=find_packages(),
entry_points={
'console_scripts': [
'aws_eis = aws_eis.aws_eis:main'
]
},
install_requires=requirements,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3.6',
'Topic :: System :: Systems Administration',
'Topic :: Utilities'
],
)
|
Python
| 0
|
@@ -206,9 +206,9 @@
1.0.
-2
+3
',%0A
|
5f48ee965e17aa1cebf4c6dfb14c08dd934dc0f8
|
Bump requests library to 2.7.0
|
setup.py
|
setup.py
|
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
packages = [
'vero'
]
requires = ['requests==1.2.3']
tests_require = ['mock==1.0.1']
setup(
name='vero',
description='Python wrapper for Vero API',
long_description=open('README.rst').read(),
version='1.1.3',
author=open('AUTHORS.rst').read(),
author_email='opensource@waveaccounting.com',
url='https://github.com/waveaccounting/vero-python',
packages=packages,
package_data={'': ['LICENSE.rst', 'AUTHORS.rst', 'README.rst']},
include_package_data=True,
zip_safe=True,
install_requires=requires,
tests_require=tests_require,
test_suite='vero.tests.client_test',
license=open('LICENSE.rst').read(),
classifiers=(
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
),
)
|
Python
| 0
|
@@ -142,13 +142,13 @@
ts==
-1.2.3
+2.7.0
'%5D%0At
|
6dc41940388a3bb9ae000c0760514f3a1455e9f1
|
Use setuptools find_packages
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import os
from fnmatch import fnmatch
from setuptools import setup
import versioneer
def find_packages(path):
for root, _, _ in filter(lambda x: '__init__.py' in x[2], os.walk(path)):
yield os.path.relpath(root).replace(os.sep, '.')
def find_data_files(where, exts):
exts = tuple(exts)
for root, dirs, files in os.walk(where):
for f in files:
if any(fnmatch(f, pat) for pat in exts):
yield os.path.join(root, f)
exts = ('*.h5', '*.csv', '*.xls', '*.xlsx', '*.db', '*.json', '*.gz', '*.hdf5',
'*.sas7bdat')
package_data = [x.replace('odo' + os.sep, '') for x in
find_data_files('odo', exts)]
def read(filename):
with open(filename, 'r') as f:
return f.read()
packages = list(find_packages(os.path.abspath('odo')))
setup(name='odo',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='Data migration utilities',
url='https://github.com/blaze/odo',
author='Blaze development team',
author_email='blaze-dev@continuum.io',
license='BSD',
keywords='odo data conversion hdf5 sql blaze',
packages=packages,
install_requires=read('requirements.txt').strip().split('\n'),
long_description=read('README.rst'),
package_data={'odo': package_data},
zip_safe=False,
scripts=[os.path.join('bin', 'odo')])
|
Python
| 0.000001
|
@@ -82,17 +82,32 @@
rt setup
+, find_packages
%0A
-
%0Aimport
@@ -123,170 +123,8 @@
r%0A%0A%0A
-def find_packages(path):%0A for root, _, _ in filter(lambda x: '__init__.py' in x%5B2%5D, os.walk(path)):%0A yield os.path.relpath(root).replace(os.sep, '.')%0A%0A%0A
def
@@ -634,65 +634,8 @@
)%0A%0A%0A
-packages = list(find_packages(os.path.abspath('odo')))%0A%0A%0A
setu
@@ -991,24 +991,29 @@
ackages=
+find_
packages
,%0A
@@ -1004,16 +1004,18 @@
packages
+()
,%0A
|
d04bc63fe078e7147112690a997ec35c69b2ad95
|
Fix the topic.
|
setup.py
|
setup.py
|
# -*- coding: utf-8
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='zoosync',
version='0.0.9',
description='Zookeeper service discovery',
long_description=long_description,
url='https://github.com/valtri/zoosync',
author='František Dvořák',
author_email='valtri@civ.zcu.cz',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Information Technology',
'Topic :: Software Development :: Topic :: System :: Distributed Computing',
'License :: OSI Approved :: MIT License',
'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',
],
keywords='service-discovery zookeeper cloud',
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
install_requires=['kazoo'],
entry_points={
'console_scripts': [
'zoosync=zoosync.zoosync:main',
],
},
)
|
Python
| 0.99999
|
@@ -735,41 +735,8 @@
c ::
- Software Development :: Topic ::
Sys
|
652eed09221c080138c8b260b22c2ca1adcc512e
|
Revert "Remove unused setup.py hack"
|
setup.py
|
setup.py
|
#!/usr/bin/env python
"""
Sentry
======
Sentry is a realtime event logging and aggregation platform. It specializes
in monitoring errors and extracting all the information needed to do a proper
post-mortem without any of the hassle of the standard user feedback loop.
Sentry is a Server
------------------
The Sentry package, at its core, is just a simple server and web UI. It will
handle authentication clients (such as `Raven <https://github.com/getsentry/raven-python>`_)
and all of the logic behind storage and aggregation.
That said, Sentry is not limited to Python. The primary implementation is in
Python, but it contains a full API for sending events from any language, in
any application.
:copyright: (c) 2011-2012 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
from setuptools import setup, find_packages
dev_requires = [
'flake8>=1.7.0,<2.0',
]
tests_require = [
'exam>=0.5.1',
'eventlet',
'pytest',
'pytest-cov>=1.4',
'pytest-django',
'pytest-timeout',
'python-coveralls',
'nydus',
'mock>=0.8.0',
'mock-django>=0.6.4',
'redis',
'unittest2',
]
install_requires = [
'cssutils>=0.9.9,<0.9.10',
'BeautifulSoup>=3.2.1,<3.3.0',
'django-celery>=3.0.11,<3.1.0',
'celery>=3.0.15,<3.1.0',
'django-crispy-forms>=1.2.3,<1.3.0',
'Django>=1.5.1,<1.6',
'django-paging>=0.2.5,<0.3.0',
'django-picklefield>=0.3.0,<0.4.0',
'django-static-compiler>=0.3.0,<0.4.0',
'django-templatetag-sugar>=0.1.0,<0.2.0',
'gunicorn>=0.17.2,<0.18.0',
'logan>=0.5.6,<0.6.0',
'nydus>=0.10.0,<0.11.0',
'Pygments>=1.6.0,<1.7.0',
'pynliner>=0.4.0,<0.5.0',
'python-dateutil>=1.5.0,<2.0.0',
'raven>=3.1.17',
'redis>2.7.0,<2.8.0',
'simplejson>=3.1.0,<3.2.0',
'South>=0.7.6,<0.8.0',
'httpagentparser>=1.2.1,<1.3.0',
'django-social-auth>=0.7.23,<0.8.0',
'django-social-auth-trello>=1.0.3,<1.1.0',
'setproctitle>=1.1.7,<1.2.0',
]
postgres_requires = [
'psycopg2>=2.4.0,<2.5.0',
]
postgres_pypy_requires = [
'psycopg2cffi',
]
mysql_requires = [
'MySQL-python>=1.2.0,<1.3.0',
]
setup(
name='sentry',
version='5.5.0-DEV',
author='David Cramer',
author_email='dcramer@gmail.com',
url='http://www.getsentry.com',
description='A realtime logging and aggregation server.',
long_description=open('README.rst').read(),
package_dir={'': 'src'},
packages=find_packages('src'),
zip_safe=False,
install_requires=install_requires,
extras_require={
'tests': tests_require,
'dev': dev_requires,
'postgres': install_requires + postgres_requires,
'postgres_pypy': install_requires + postgres_pypy_requires,
'mysql': install_requires + mysql_requires,
},
test_suite='runtests.runtests',
license='BSD',
include_package_data=True,
entry_points={
'console_scripts': [
'sentry = sentry.utils.runner:main',
],
},
classifiers=[
'Framework :: Django',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Topic :: Software Development'
],
)
|
Python
| 0
|
@@ -868,16 +868,356 @@
ckages%0A%0A
+# Hack to prevent stupid %22TypeError: 'NoneType' object is not callable%22 error%0A# in multiprocessing/util.py _exit_function when running %60python%0A# setup.py test%60 (see%0A# http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)%0Afor m in ('multiprocessing', 'billiard'):%0A try:%0A __import__(m)%0A except ImportError:%0A pass%0A%0A
dev_requ
|
24154ca41a5a7d596b8dc9f05c016c272ee130be
|
Bump version number.
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_cas',
version='0.3.2',
description='CAS plugin for PPP',
url='https://github.com/ProjetPP',
author='Projet Pensées Profondes',
author_email='marc.chevalier@ens-lyon.org',
license='MIT',
classifiers=[
'Environment :: No Input/Output (Daemon)',
'Development Status :: 1 - Planning',
'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=[
'ppp_datamodel>=0.5.12',
'ppp_libmodule>=0.7,<0.8',
'ply',
],
packages=[
'ppp_cas',
],
)
|
Python
| 0
|
@@ -104,19 +104,17 @@
sion='0.
-3.2
+4
',%0A d
|
46aebb8479007f03b3a468920ecba2f57ad05241
|
add URL
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name='tornado_shell',
version='0.0.1',
packages=['tornadoshell'],
url='',
license='LICENSE.txt',
author='Vukasin Toroman',
author_email='vtoroman@attensity.com',
description='', requires=['tornado']
)
|
Python
| 0.000001
|
@@ -117,16 +117,56 @@
url='
+https://github.com/vukasin/tornado-shell
',%0A l
@@ -303,8 +303,10 @@
ado'%5D%0A)%0A
+%0A%0A
|
0c6b2922a91bf8476fbe792848414e6e36e0cec5
|
Version 0.3.1
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(name='knxip',
version='0.3.0',
description='A native Python KNX/IPNet implementation',
url='http://github.com/usul27/pknx',
author='Daniel Matuschek',
author_email='daniel@matuschek.net',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: System :: Hardware :: Hardware Drivers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5'
],
packages=find_packages(),
keywords = 'knx ip automation',
zip_safe=False)
|
Python
| 0.000001
|
@@ -77,17 +77,17 @@
on='0.3.
-0
+1
',%0A
@@ -311,16 +311,18 @@
+
'Develop
@@ -348,16 +348,18 @@
Alpha',%0A
+
@@ -401,16 +401,18 @@
+
'Topic :
@@ -450,24 +450,26 @@
e Drivers',%0A
+
'Lic
@@ -506,32 +506,34 @@
cense',%0A
+
'Programming Lan
@@ -555,16 +555,18 @@
:: 3',%0A
+
@@ -606,32 +606,34 @@
: 3.4',%0A
+
'Programming Lan
@@ -656,18 +656,16 @@
:: 3.5'%0A
-
%5D,
@@ -715,11 +715,9 @@
ords
- =
+=
'knx
|
15437c33fd25a1f10c3203037be3bfef17716fbb
|
Add trove classifiers for Python versions
|
setup.py
|
setup.py
|
import os
from setuptools import setup, find_packages
LONG_DESCRIPTION = """Django-Prometheus
This library contains code to expose some monitoring metrics relevant
to Django internals so they can be monitored by Prometheus.io.
See https://github.com/korfuri/django-prometheus for usage
instructions.
"""
setup(
name="django-prometheus",
version="1.0.8",
author="Uriel Corfa",
author_email="uriel@corfa.fr",
description=(
"Django middlewares to monitor your application with Prometheus.io."),
license="Apache",
keywords="django monitoring prometheus",
url="http://github.com/korfuri/django-prometheus",
packages=find_packages(),
test_suite="django_prometheus.tests",
long_description=LONG_DESCRIPTION,
install_requires=[
"prometheus_client>=0.0.13",
],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Framework :: Django",
"Topic :: System :: Monitoring",
"License :: OSI Approved :: Apache Software License",
],
)
|
Python
| 0
|
@@ -1038,24 +1038,314 @@
istrators%22,%0A
+ %22Programming Language :: Python :: 2%22,%0A %22Programming Language :: Python :: 2.7%22,%0A %22Programming Language :: Python :: 3%22,%0A %22Programming Language :: Python :: 3.3%22,%0A %22Programming Language :: Python :: 3.4%22,%0A %22Programming Language :: Python :: 3.5%22,%0A
%22Fra
|
94fbc9de5e540e9fc14ac0bd777b259df7e8f5d6
|
Bump requirements
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
import os
from os.path import dirname, exists, join
import sys, subprocess
from setuptools import setup, find_packages
setup_dir = dirname(__file__)
git_dir = join(setup_dir, '.git')
base_package = 'robotpy_ext'
version_file = join(setup_dir, base_package, 'version.py')
# Automatically generate a version.py based on the git version
if exists(git_dir):
p = subprocess.Popen(["git", "describe", "--tags", "--long", "--dirty=-dirty"],
stdout=subprocess.PIPE,
stderr=subprocess.PIPE)
out, err = p.communicate()
# Make sure the git version has at least one tag
if err:
print("Error: You need to create a tag for this repo to use the builder")
sys.exit(1)
# Convert git version to PEP440 compliant version
# - Older versions of pip choke on local identifiers, so we can't include the git commit
v, commits, local = out.decode('utf-8').rstrip().split('-', 2)
if commits != '0' or '-dirty' in local:
v = '%s.post0.dev%s' % (v, commits)
# Create the version.py file
with open(version_file, 'w') as fp:
fp.write("# Autogenerated by setup.py\n__version__ = '{0}'".format(v))
if exists(version_file):
with open(join(setup_dir, base_package, 'version.py'), 'r') as fp:
exec(fp.read(), globals())
else:
__version__ = 'master'
with open(join(setup_dir, 'README.rst'), 'r') as readme_file:
long_description = readme_file.read()
install_requires = ['wpilib>=2017.1.0,<2018.0.0', 'pynetworktables>=2017.0.1']
setup(
name='robotpy-wpilib-utilities',
version=__version__,
description='Useful utility functions/objects for RobotPy',
long_description=long_description,
author='RobotPy Development Team',
author_email='robotpy@googlegroups.com',
url='https://github.com/robotpy/robotpy-wpilib-utilities',
keywords='frc first robotics',
install_requires=install_requires if not os.environ.get('ROBOTPY_NO_DEPS') else None,
packages=find_packages(),
license='BSD',
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Scientific/Engineering",
],
)
|
Python
| 0.000001
|
@@ -1516,19 +1516,19 @@
=201
-7.1
+8.0
.0,%3C201
-8
+9
.0.0
@@ -1555,13 +1555,13 @@
=201
-7.0.1
+8.0.0
'%5D%0A%0A
|
0f97e1427cf86cab4d53f613eb440c1cf4426e6d
|
Change download url for release 0.3.6
|
setup.py
|
setup.py
|
from distutils.core import setup
setup(
name = 'django-test-addons',
packages = ['test_addons'],
version = '0.3.5',
description = 'Library to provide support for testing multiple database system like Mongo, Redis, Neo4j along with django.',
author = 'Hakampreet Singh Pandher',
author_email = 'hspandher@outlook.com',
url = 'https://github.com/hspandher/django-test-utils',
download_url = 'https://github.com/hspandher/django-test-utils/tarball/0.1',
keywords = ['testing', 'django', 'mongo', 'redis', 'neo4j', 'TDD', 'python', 'memcache', 'django rest framework'],
license = 'MIT',
install_requires = [
'django>1.6'
],
extras_require = {
'mongo_testing': ['mongoengine>=0.8.7'],
'redis_testing': ['django-redis>=3.8.2'],
'neo4j_testing': ['py2neo>=2.0.6'],
'rest_framework_testing': ['djangorestframework>=3.0.5'],
},
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Testing',
'Topic :: Database',
],
)
|
Python
| 0
|
@@ -109,17 +109,17 @@
= '0.3.
-5
+6
',%0A%09desc
@@ -449,17 +449,19 @@
rball/0.
-1
+3.6
',%0A%09keyw
|
9d8c769b9d0a3c1fa2da62c2a2a221e9a5764571
|
bump version for release
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
import os
kws = {}
if not int(os.getenv( 'DISABLE_INSTALL_REQUIRES','0' )):
kws['install_requires'] = ['numpy>=1.0.4',
'motmot.imops>=0.5.2.dev',
'pyglet>=1.0',
'wxPython>=2.8',
'pygarrayimage>=0.0.2',
]
setup(name='motmot.wxglvideo',
description='wx/OpenGL viewer of image sequences',
long_description = \
"""Allows for rapid display and resizing/rotation of images by
offloading the image operations to OpenGL.
This is a subpackage of the motmot family of digital image utilities.
""",
version='0.6.1',
author='Andrew Straw',
author_email='strawman@astraw.com',
url='http://code.astraw.com/projects/motmot',
license='BSD',
zip_safe=True,
packages = find_packages(),
namespace_packages = ['motmot'],
package_data = {'motmot.wxglvideo':['demo.xrc']},
entry_points = {'gui_scripts': ['wxglvideo_demo=motmot.wxglvideo.demo:main',
'wxglvideo_demo_overlay=motmot.wxglvideo.demo_overlay:main',
]},
**kws)
|
Python
| 0
|
@@ -718,17 +718,17 @@
on='0.6.
-1
+2
',%0A
|
d112981794ddd7756be11618517495c36b6da6ba
|
make MP build optional
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Boost Python Bullet
=======
This is the setup file for the boost python thin wrapper for the
Bullet Physics SDK (see: http://bulletphysics.org/)
"""
import os
from setuptools import find_packages
from distutils.core import setup, Extension
def parallelCCompile(self, sources, output_dir=None, macros=None,
include_dirs=None, debug=0, extra_preargs=None,
extra_postargs=None, depends=None):
'''Hack for parallel compilation in distutils'''
# those lines are copied from distutils.ccompiler.CCompiler directly
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)
# parallel code
N = 8 # number of parallel compilations
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)
# convert to list, imap is evaluated on-demand
list(multiprocessing.pool.ThreadPool(N).imap(_single_compile, objects))
return objects
import distutils.ccompiler
distutils.ccompiler.CCompiler.compile = parallelCCompile
requires = []
def list_cpp(d, skips=[]):
p = os.path.abspath(d)
for root, _, files in os.walk(d):
for f in [_f for _f in files if _f.endswith('.cpp')]:
yield '%s/%s' % (root, f)
def find_sources(dirs):
for d in dirs:
for f in list_cpp(d):
yield f
src_dirs = (
'bullet/src/boost',
'bullet/src/LinearMath',
)
macros = [
('BT_USE_DOUBLE_PRECISION', '1'),
]
modules = [
Extension(str('bullet'), # hack for distutils string param in Extension
sources=[s for s in find_sources(src_dirs)],
define_macros=macros,
libraries=['boost_python'],
include_dirs=['bullet/src'])
]
setup(
name='boost_python_bullet',
version='0.1.0',
packages=find_packages(),
author="Högni Gylfason",
author_email="klumhru@gmail.com",
install_requires=requires,
description=__doc__,
include_package_data=True,
classifiers=[
"Development Status :: 5 - Alpha",
"Intended Audience :: Developers",
"Licence :: MIT",
"Operating System :: OS Independent",
"Programming Language :: Python",
],
zip_safe=True,
ext_modules=modules,
)
|
Python
| 0
|
@@ -202,16 +202,27 @@
port os%0A
+import sys%0A
from set
@@ -1320,16 +1320,67 @@
ompiler%0A
+if '-j' in sys.argv:%0A sys.argv.remove('-j')%0A
distutil
@@ -1428,16 +1428,16 @@
Compile%0A
-
%0Arequire
@@ -1750,32 +1750,8 @@
= (%0A
- 'bullet/src/boost',%0A
@@ -1775,16 +1775,147 @@
rMath',%0A
+ 'bullet/src/BulletDynamics',%0A 'bullet/src/BulletCollision',%0A 'bullet/src/btBoost',%0A)%0A%0Ainclude_dirs = (%0A 'bullet/src',%0A
)%0A%0Amacro
@@ -2188,16 +2188,57 @@
thon'%5D,%0A
+ extra_compile_args=%5B'-w'%5D,%0A
@@ -2260,22 +2260,20 @@
irs=
-%5B'bullet/src'%5D
+include_dirs
)%0A%5D%0A
@@ -2570,9 +2570,9 @@
::
-5
+1
- A
|
a5587dadbc152ba2a4cf1baa076f544018cac40e
|
Update setup.py Update Version Number.
|
setup.py
|
setup.py
|
# coding: utf-8
"""
Trakerr API
Get your application events and errors to Trakerr via the *Trakerr API*.
OpenAPI spec version: 1.0.0
Generated by: https://github.com/swagger-api/swagger-codegen.git
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, find_packages
NAME = "Trakerr"
VERSION = "2.1.2"
# To install the library, run the following
#
# python setup.py install
#
# prerequisite: setuptools
# http://pypi.python.org/pypi/setuptools
REQUIRES = ["urllib3 >= 1.15", "six >= 1.10", "certifi", "python-dateutil"]
setup(
name=NAME,
version=VERSION,
description="Trakerr API",
author_email="",
url="https://trakerr.io",
keywords=["Swagger", "Trakerr API"],
install_requires=REQUIRES,
packages=find_packages(),
include_package_data=True,
long_description="""\
Get your application events and errors to Trakerr via the *Trakerr API*.
"""
)
|
Python
| 0
|
@@ -857,17 +857,17 @@
= %222.1.
-2
+3
%22%0A%0A# To
|
b8fcd65e0fb4b3d35c09068d6972778918d1d2aa
|
Bump version to 0.7.0
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
"""
django-cache-url
~~~~~~~~~~~~~~~~
This simple Django utility allows you to utilize the
`12factor <http://www.12factor.net/backing-services>`_ inspired
``CACHE_URL`` environment variable to configure your Django application.
Usage
-----
Configure your cache in ``settings.py``::
CACHES={'default': django_cache_url.config()}
Nice and simple.
"""
from setuptools import setup
setup(
name='django-cache-url',
version='0.6.0',
url='http://github.com/ghickman/django-cache-url',
license='MIT',
author='George Hickman',
author_email='george@ghickman.co.uk',
description='Use Cache URLs in your Django application.',
long_description=__doc__,
py_modules=('django_cache_url',),
)
|
Python
| 0
|
@@ -462,9 +462,9 @@
='0.
-6
+7
.0',
|
8f4b1fee00a70b1e22e27b4f5e9a256ff2964cf4
|
update setup.py download_url to point to wheel
|
setup.py
|
setup.py
|
from setuptools import setup
import codecs
import os
VERSION = '1.4.2'
AUTHOR_NAME = 'Andy Port'
AUTHOR_EMAIL = 'AndyAPort@gmail.com'
GITHUB = 'https://github.com/mathandy/svgpathtools'
def read(*parts):
"""
Build an absolute path from *parts* and and return the contents of the
resulting file. Assume UTF-8 encoding.
"""
HERE = os.path.abspath(os.path.dirname(__file__))
with codecs.open(os.path.join(HERE, *parts), "rb", "utf-8") as f:
return f.read()
setup(name='svgpathtools',
packages=['svgpathtools'],
version=VERSION,
description=('A collection of tools for manipulating and analyzing SVG '
'Path objects and Bezier curves.'),
long_description=read("README.md"),
long_description_content_type='text/markdown',
author=AUTHOR_NAME,
author_email=AUTHOR_EMAIL,
url=GITHUB,
download_url='{}/raw/1.4.1/dist/svgpathtools-{}.tar.gz'.format(GITHUB, VERSION),
license='MIT',
install_requires=['numpy', 'svgwrite'],
platforms="OS Independent",
requires=['numpy', 'svgwrite'],
keywords=['svg', 'svg path', 'svg.path', 'bezier', 'parse svg path', 'display svg'],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Topic :: Multimedia :: Graphics :: Editors :: Vector-Based",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Image Recognition",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)
|
Python
| 0
|
@@ -903,44 +903,86 @@
%7B%7D/r
-aw/1.4.1/dist/svgpathtools-%7B%7D.tar.gz
+eleases/download/%7B%7D/svgpathtools-%7B%7D-py2.py3-none-any.whl'%0A '
'.fo
@@ -993,16 +993,25 @@
(GITHUB,
+ VERSION,
VERSION
|
709ef820ddc49651b9ec496db366a4af48554efc
|
Revise time complexity & comments from London
|
lc0085_maximal_rectangle.py
|
lc0085_maximal_rectangle.py
|
"""Leetcode 85. Maximal Rectangle
Hard
URL: https://leetcode.com/problems/maximal-rectangle/
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle
containing only 1's and return its area.
Example:
Input:
[
["1","0","1","0","0"],
["1","0","1","1","1"],
["1","1","1","1","1"],
["1","0","0","1","0"]
]
Output: 6
"""
class SolutionEachRowHeightRectangleHistogram(object):
def maximalRectangle(self, matrix):
"""
View each row as ground with buildings of consecutive 1s on it.
Then apply solution for "Largest Rectangle in Histogram":
- Build each row's heights with consecutive 1s above, with boundary handling.
- Use stack to collect idx of increasing heights.
- When visit smaller height than top of stack, pop heights from stack
until fulfill increasing heights.
:type matrix: List[List[str]]
:rtype: int
Time complexity: O(n), where n is the number of columns.
Space complexity: O(n).
"""
# Edge cases.
if not matrix or not matrix[0]:
return 0
n_cols = len(matrix[0])
# Height's boundary case handled by height = 0.
heights = [0] * (n_cols + 1)
max_area = 0
for row in matrix:
# First build each row's heights with consecutive 1s above.
for i in range(n_cols):
if row[i] == '1':
heights[i] += 1
else:
# Start over heights if there is a disconnection.
heights[i] = 0
# Use stack to collect idx of increasing heights with boundary idx -1.
idx_stack = [-1]
for i in range(n_cols + 1):
# Before appending a new building, pop buildings taller than it.
while heights[i] < heights[idx_stack[-1]]:
# The building popped out represents the height.
h = heights[idx_stack.pop()]
# Last stack top & new buildings are the left & right boundaries.
w = i - idx_stack[-1] - 1
max_area = max(max_area, h * w)
idx_stack.append(i)
return max_area
def main():
# Output: 6
matrix = [
["1","0","1","0","0"],
["1","0","1","1","1"],
["1","1","1","1","1"],
["1","0","0","1","0"]
]
print SolutionEachRowHeightRectangleHistogram().maximalRectangle(matrix)
if __name__ == '__main__':
main()
|
Python
| 0
|
@@ -940,16 +940,18 @@
xity: O(
+m*
n), wher
@@ -955,17 +955,53 @@
here
- n is the
+%0A - m: number of rows%0A - n:
num
@@ -2093,16 +2093,18 @@
ding
+'
s
-are th
+left ar
e le
|
989b110bf0a0681db45036cd1a130634b278d971
|
Update setup.py
|
setup.py
|
setup.py
|
import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-oidc-provider',
version='0.0.3',
packages=[
'oidc_provider', 'oidc_provider/lib', 'oidc_provider/lib/endpoints',
'oidc_provider/lib/utils', 'oidc_provider/tests',
],
include_package_data=True,
license='MIT License',
description='OpenID Connect Provider implementation for Django.',
long_description=README,
url='http://github.com/juanifioren/django-oidc-provider',
author='Juan Ignacio Fiorentino',
author_email='juanifioren@gmail.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
install_requires=[
'pyjwt==0.3.1',
],
)
|
Python
| 0
|
@@ -1294,13 +1294,13 @@
wt==
-0.3.1
+1.1.0
',%0A
|
050febe2b9d5c5c38e7e5287b9e6c57d66d48ccb
|
version updated
|
setup.py
|
setup.py
|
from setuptools import setup
setup(name='djauto',
version='0.1',
description='Django project generator',
url='https://github.com/vikas-parashar/django-project-automator',
author='Vikas Parashar',
author_email='svnitvikas@gmai.com',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
],
packages=['djauto'],
entry_points = {
'console_scripts': ['djauto=djauto.auto:main'],
},
zip_safe=False)
|
Python
| 0
|
@@ -62,16 +62,18 @@
ion='0.1
+.1
',%0A
|
40afc357e0850c71153f8779583fc03f643b2271
|
Reorder and group metadata and options together
|
setup.py
|
setup.py
|
from setuptools import find_packages, setup
setup(name='satnogsclient',
packages=find_packages(),
version='0.2.5',
author='SatNOGS team',
author_email='client-dev@satnogs.org',
url='https://github.com/satnogs/satnogs-client/',
description='SatNOGS Client',
include_package_data=True,
zip_safe=False,
install_requires=[
'APScheduler',
'SQLAlchemy',
'requests',
'validators',
'python-dateutil',
'ephem',
'pytz',
'flask',
'pyopenssl',
'pyserial',
'flask-socketio',
'redis'
],
extras_require={
'develop': 'flake8'
},
scripts=['satnogsclient/bin/satnogs-poller'])
|
Python
| 0
|
@@ -45,16 +45,21 @@
%0A%0Asetup(
+%0A
name='sa
@@ -80,61 +80,79 @@
- packages=find_packages(),%0A version='0.2.5',%0A
+version='0.2.5',%0A url='https://github.com/satnogs/satnogs-client/',%0A
@@ -170,26 +170,24 @@
NOGS team',%0A
-
author_e
@@ -225,131 +225,38 @@
- url='https://github.com/satnogs/satnogs-client/',%0A description='SatNOGS Client',%0A include_package_data=True,%0A
+description='SatNOGS Client',%0A
@@ -275,18 +275,16 @@
se,%0A
-
-
install_
@@ -302,18 +302,16 @@
-
'APSched
@@ -317,18 +317,16 @@
duler',%0A
-
@@ -347,18 +347,16 @@
-
'request
@@ -355,26 +355,24 @@
'requests',%0A
-
'val
@@ -385,26 +385,24 @@
s',%0A
-
'python-date
@@ -416,18 +416,16 @@
-
'ephem',
@@ -437,18 +437,16 @@
-
-
'pytz',%0A
@@ -441,18 +441,16 @@
'pytz',%0A
-
@@ -466,18 +466,16 @@
-
-
'pyopens
@@ -487,18 +487,16 @@
-
'pyseria
@@ -503,26 +503,24 @@
l',%0A
-
-
'flask-socke
@@ -533,18 +533,16 @@
-
'redis'%0A
@@ -549,15 +549,11 @@
-
-
%5D,%0A
-
@@ -569,18 +569,16 @@
quire=%7B%0A
-
@@ -605,15 +605,11 @@
-
%7D,%0A
-
@@ -652,10 +652,72 @@
poller'%5D
+,%0A include_package_data=True,%0A packages=find_packages()%0A
)%0A
|
c5543678437a75e73c3987e750eee7fa67df296b
|
Remove s3 redirect
|
learnwithpeople/settings.py
|
learnwithpeople/settings.py
|
"""
Django settings for learnwithpeople project.
For more information on this file, see
https://docs.djangoproject.com/en/1.7/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.7/ref/settings/
"""
from __future__ import absolute_import
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
import os
BASE_DIR = os.path.dirname(os.path.dirname(__file__))
path = lambda *a: os.path.join(BASE_DIR, *a)
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.7/howto/deployment/checklist/
ADMINS = (
('Admin', os.environ.get('ADMIN_EMAIL', 'admin@localhost') ),
)
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = os.environ.get('SECRET_KEY', 'youshouldchangethis')
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
TEMPLATE_DEBUG = DEBUG
# Application definition
INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django.contrib.humanize',
# 3rd party apps
'crispy_forms',
'localflavor',
's3direct',
# own
'studygroups',
'interest',
'backup',
)
MIDDLEWARE_CLASSES = (
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
)
ROOT_URLCONF = 'learnwithpeople.urls'
WSGI_APPLICATION = 'learnwithpeople.wsgi.application'
# Database
# https://docs.djangoproject.com/en/1.7/ref/settings/#databases
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}
# Internationalization
# https://docs.djangoproject.com/en/1.7/topics/i18n/
LANGUAGE_CODE = 'en'
TIME_ZONE = 'US/Central'
USE_I18N = True
USE_L10N = True
USE_TZ = True
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.7/howto/static-files/
STATIC_URL = '/static/'
STATIC_ROOT = path('static_serve')
STATICFILES_DIRS = (
path('static'),
)
STATICFILES_FINDERS = (
'django.contrib.staticfiles.finders.FileSystemFinder',
'django.contrib.staticfiles.finders.AppDirectoriesFinder',
# other finders..
)
MEDIA_URL = '/media/'
MEDIA_ROOT = path('upload')
TEMPLATE_DIRS = (
path('templates'),
)
CRISPY_TEMPLATE_PACK = 'bootstrap3'
EMAIL_HOST = os.environ.get('EMAIL_HOST')
EMAIL_HOST_USER = os.environ.get('EMAIL_HOST_USER')
EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_HOST_PASSWORD')
DEFAULT_FROM_EMAIL = os.environ.get('DEFAULT_FROM_EMAIL', 'webmaster@localhost')
SERVER_EMAIL = "sysadmin@p2up.org"
##### Heroku config
import dj_database_url
DATABASES['default'] = dj_database_url.config(default='sqlite:///{0}'.format(path('db.sqlite3')))
# Honor the 'X-Forwarded-Proto' header for request.is_secure()
SECURE_PROXY_SSL_HEADER = ('HTTP_X_FORWARDED_PROTO', 'https')
# Allow all host headers
ALLOWED_HOSTS = ['*']
##### AWS upload config
AWS_ACCESS_KEY_ID = os.environ.get('AWS_ACCESS_KEY_ID')
AWS_SECRET_ACCESS_KEY = os.environ.get('AWS_SECRET_ACCESS_KEY')
AWS_STORAGE_BUCKET_NAME = os.environ.get('AWS_STORAGE_BUCKET_NAME')
S3DIRECT_REGION = 'us-east-1'
S3DIRECT_DESTINATIONS = {
# Allow anybody to upload jpeg's and png's.
'imgs': ('uploads/imgs', lambda u: True, ['image/jpeg', 'image/png'],),
}
##### Twilio config
TWILIO_ACCOUNT_SID = os.environ.get('TWILIO_ACCOUNT_SID')
TWILIO_AUTH_TOKEN = os.environ.get('TWILIO_AUTH_TOKEN')
TWILIO_NUMBER = os.environ.get('TWILIO_NUMBER')
LOGIN_REDIRECT_URL = '/login_redirect/'
DOMAIN = os.environ.get('DOMAIN', 'example.net')
####### Celery config #######
BROKER_URL = os.environ.get('BROKER_URL', 'amqp://guest:guest@localhost//')
from celery.schedules import crontab
CELERYBEAT_SCHEDULE = {
# Executes every Monday morning at 7:30 A.M
'gen_reminders': {
'task': 'studygroups.tasks.gen_reminders',
'schedule': crontab(minute='*/10'),
},
'send_reminders': {
'task': 'studygroups.tasks.send_reminders',
'schedule': crontab(minute='*/10'),
},
'weekly_update': {
'task': 'studygroups.tasks.weekly_update',
'schedule': crontab(hour=10, minute=0, day_of_week='monday'),
},
'daily_backup': {
'task': 'backup.tasks.make_backup',
'schedule': crontab(hour=1, minute=0),
},
}
LOGGING = {
'version': 1,
'dissable_existing_loggers': False,
'handlers': {
'mail_admins': {
'level': 'ERROR',
'class': 'django.utils.log.AdminEmailHandler',
'include_html': True,
},
},
'loggers': {
'': {
'handlers': ['mail_admins'],
'level': 'DEBUG',
'propagate': False,
},
'django': {
'handlers': ['mail_admins'],
'level': 'DEBUG',
'propagate': False,
},
},
}
#### Backup config ####
BACKUP_DIR = os.environ.get('BACKUP_DIR', '/tmp') # Directory where backups will be stored locally
BACKUP_AWS_ACCESS_KEY_ID = os.environ.get('BACKUP_AWS_ACCESS_KEY_ID') # AWS key with access to backup bucket
BACKUP_AWS_SECRET_ACCESS_KEY = os.environ.get('BACKUP_AWS_SECRET_ACCESS_KEY') # AWS secret for above key
BACKUP_AWS_STORAGE_BUCKET_NAME = os.environ.get('BACKUP_AWS_STORAGE_BUCKET_NAME') # Name of the bucket where backups should be stored
BACKUP_AWS_KEY_PREFIX = os.environ.get('BACKUP_AWS_KEY_PREFIX') # Prefix for generated key on AWS s3
##### Support for settings_local.py
try:
from .settings_local import *
except ImportError:
pass
|
Python
| 0.000001
|
@@ -1252,16 +1252,46 @@
'
-s3direct
+django_extensions',%0A 'debug_toolbar
',%0A
@@ -3433,405 +3433,8 @@
'%5D%0A%0A
-##### AWS upload config%0A%0AAWS_ACCESS_KEY_ID = os.environ.get('AWS_ACCESS_KEY_ID')%0AAWS_SECRET_ACCESS_KEY = os.environ.get('AWS_SECRET_ACCESS_KEY')%0AAWS_STORAGE_BUCKET_NAME = os.environ.get('AWS_STORAGE_BUCKET_NAME')%0A%0AS3DIRECT_REGION = 'us-east-1'%0AS3DIRECT_DESTINATIONS = %7B%0A # Allow anybody to upload jpeg's and png's.%0A 'imgs': ('uploads/imgs', lambda u: True, %5B'image/jpeg', 'image/png'%5D,),%0A%7D%0A%0A
####
|
55b1315aca711869df34dc2d427a1b08053e3ed0
|
Bump version to v0.1.1
|
setup.py
|
setup.py
|
from setuptools import setup
from codecs import open
from os import path, system
import sys
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
version = '0.1.0'
if sys.argv[-1] == 'publish':
try:
import wheel
except ImportError:
raise ImportError("Fix: pip install wheel")
system('python setup.py sdist bdist_wheel upload')
print("You probably want to also tag the version now:")
print(" git tag -a {0!s} -m 'version {1!s}'".format(version, version))
print(" git push --tags")
sys.exit()
setup(
name='python-anticaptcha',
version=version,
description='Client library for solve captchas with Anticaptcha.com support.',
long_description=long_description,
url='https://github.com/ad-m/python-anticaptcha',
author='Adam Dobrawy',
author_email='anticaptcha@jawnosc.tk',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT 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',
],
use_2to3=True,
keywords='recaptcha captcha development',
packages=['python_anticaptcha'],
install_requires=['requests', 'six'],
)
|
Python
| 0
|
@@ -291,17 +291,17 @@
= '0.1.
-0
+1
'%0A%0Aif sy
|
ec2b867a9203bbcf21f239c9b3d7d6c90b4b6642
|
bump to version 0.1.7
|
setup.py
|
setup.py
|
from setuptools import setup
with open('README.rst') as README:
long_description = README.read()
long_description = long_description[long_description.index('Description'):]
setup(name='wos',
version='0.1.6',
description='Web of Science client using API v3.',
long_description=long_description,
extras_require={
':python_version <= "2.7"': ['suds'],
':python_version >= "3.0"': ['suds-py3'],
},
url='http://github.com/enricobacis/wos',
author='Enrico Bacis',
author_email='enrico.bacis@gmail.com',
license='MIT',
packages=['wos'],
scripts=['scripts/wos'],
keywords='wos isi web of science knowledge api client'
)
|
Python
| 0
|
@@ -217,9 +217,9 @@
0.1.
-6
+7
',%0A
|
f1af14959468ca4f8d18ce3c2e03557036ffb32e
|
Bump version
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import sys
from distutils.core import setup
from distutils.extension import Extension
if sys.platform == 'darwin':
monoclock_libraries = []
else:
monoclock_libraries = ['rt']
setup(
name='Monoclock',
version='14.4.16',
description="Monotonic clock access for Python",
url="https://github.com/ludios/Monoclock",
author="Ivan Kozik",
author_email="ivan@ludios.org",
classifiers=[
'Development Status :: 5 - Production/Stable',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
],
ext_modules=[
Extension("monoclock", ["monoclock.c"], libraries=monoclock_libraries),
],
)
|
Python
| 0
|
@@ -241,9 +241,9 @@
.4.1
-6
+8
',%0A%09
|
4eb298af6131c6747c8053b3ed7ddf9058fc23a6
|
Allow setup.py to work when cython is not available
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
from Cython.Build import cythonize
setup(
name='python-wallpaper',
version='0.2.2',
url='https://github.com/ondergetekende/python-wallpaper',
description=(
'python-wallpaper generates pseudorandom abstract wallpapers'
),
author='Koert van der Veer',
author_email='koert@ondergetekende.nl',
packages=find_packages(),
ext_modules=cythonize("wallpaper/*.pyx"),
install_requires=["cython"],
classifiers=[
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
entry_points={
'console_scripts': [
'generate-wallpaper = wallpapers:cmdline'
]
},
)
|
Python
| 0
|
@@ -37,16 +37,25 @@
ackages%0A
+try:%0A
from Cyt
@@ -81,16 +81,105 @@
thonize%0A
+ ext_modules = cythonize(%22wallpaper/*.pyx%22)%0Aexcept ImportError:%0A ext_modules = %5B%5D%0A%0A
%0Asetup(%0A
@@ -224,17 +224,17 @@
on='0.2.
-2
+3
',%0A u
@@ -512,36 +512,19 @@
les=
-cythonize(%22wallpaper/*.pyx%22)
+ext_modules
,%0A
|
b65b0ed8d09d4a22164f16ed60f7c5b71d6f54db
|
Move download_url and bump version
|
setup.py
|
setup.py
|
import setuptools
from gitvendor.version import Version
from setuptools import find_packages
CLASSIFIERS = [
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Environment :: Console',
'Topic :: Software Development'
]
setuptools.setup(name='git-vendor',
version=Version('0.0.1').number,
description='Vendor tagged releases from git to $VCS',
long_description=open('README.md').read().strip(),
author='Charles Butler',
author_email='charles.butler@ubuntu.com',
url='http://github.com/chuckbutler/git-vendor',
py_modules=[],
packages=find_packages(),
entry_points={
'console_scripts': [
'git-vendor = gitvendor.cli:main'
],
},
install_requires=['gitpython', 'jinja2', 'pyyaml', 'path.py',
'dirsync', 'six'],
package_data={
'template': ['template/vendor-rc'],
},
include_package_data=True,
license='MIT License',
zip_safe=False,
keywords='git, vendor',
classifiers=CLASSIFIERS)
|
Python
| 0
|
@@ -335,9 +335,9 @@
0.0.
-1
+3
').n
@@ -641,32 +641,117 @@
er/git-vendor',%0A
+ download_url='https://github.com/chuckbutler/git-vendor/releases/',%0A
|
23aea43bd9bda180c2d00c971d02df49a703dfdf
|
make urllib3 an explicit dependency
|
setup.py
|
setup.py
|
from setuptools import setup
def get_advanced_templates():
template_base = 'aws/templates/advanced/'
template_names = ['advanced-master', 'advanced-priv-agent', 'advanced-pub-agent', 'infra', 'zen']
return [template_base + name + '.json' for name in template_names]
setup(
name='dcos_image',
version='0.1',
description='DC/OS cluster configuration, assembly, and maintenance code',
url='https://dcos.io',
author='Mesosphere, Inc.',
author_email='help@dcos.io',
license='apache2',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
],
packages=[
'dcos_installer',
'gen',
'gen.build_deploy',
'pkgpanda',
'pkgpanda.build',
'pkgpanda.http',
'release',
'release.storage',
'ssh'],
install_requires=[
'aiohttp==0.22.5',
'analytics-python',
'coloredlogs',
'Flask',
'flask-compress',
# Pins taken from 'azure==2.0.0rc4'
'msrest==0.4.17',
'msrestazure==0.4.15',
'azure-common==1.1.4',
'azure-storage==0.32.0',
'azure-mgmt-network==0.30.0rc4',
'azure-mgmt-resource==0.30.0rc4',
'boto3',
'botocore',
'checksumdir',
'coloredlogs',
'docopt',
'passlib',
'py',
'pytest',
'pyyaml',
'requests==2.18.4',
'retrying',
'schema',
'keyring==9.1', # FIXME: pin keyring to prevent dbus dep
'teamcity-messages'],
entry_points={
'console_scripts': [
'release=release:main',
'pkgpanda=pkgpanda.cli:main',
'mkpanda=pkgpanda.build.cli:main',
'dcos_installer=dcos_installer.cli:main',
],
},
package_data={
'gen': [
'ip-detect/aws.sh',
'ip-detect/aws_public.sh',
'ip-detect/azure.sh',
'ip-detect/vagrant.sh',
'fault-domain-detect/aws.sh',
'fault-domain-detect/azure.sh',
'cloud-config.yaml',
'dcos-config.yaml',
'dcos-metadata.yaml',
'dcos-services.yaml',
'aws/dcos-config.yaml',
'aws/templates/aws.html',
'aws/templates/cloudformation.json',
'azure/cloud-config.yaml',
'azure/azuredeploy-parameters.json',
'azure/templates/acs.json',
'azure/templates/azure.html',
'azure/templates/azuredeploy.json',
'build_deploy/bash/dcos_generate_config.sh.in',
'build_deploy/bash/Dockerfile.in',
'build_deploy/bash/installer_internal_wrapper.in',
'build_deploy/bash/dcos-launch.spec',
'coreos-aws/cloud-config.yaml',
'coreos/cloud-config.yaml'
] + get_advanced_templates(),
'pkgpanda': [
'docker/dcos-builder/Dockerfile'
]
},
zip_safe=False
)
|
Python
| 0.000002
|
@@ -1101,24 +1101,43 @@
-compress',%0A
+ 'urllib3',%0A
# Pi
|
af60e81e3c557ace943aab35c1364d3d03d5a3bf
|
Add more relevant classifiers
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# coding: utf-8
from __future__ import print_function
import os.path
import warnings
import sys
try:
from setuptools import setup, Command
setuptools_available = True
except ImportError:
from distutils.core import setup, Command
setuptools_available = False
from distutils.spawn import spawn
try:
# This will create an exe that needs Microsoft Visual C++ 2008
# Redistributable Package
import py2exe
except ImportError:
if len(sys.argv) >= 2 and sys.argv[1] == 'py2exe':
print('Cannot import py2exe', file=sys.stderr)
exit(1)
py2exe_options = {
'bundle_files': 1,
'compressed': 1,
'optimize': 2,
'dist_dir': '.',
'dll_excludes': ['w9xpopen.exe', 'crypt32.dll'],
}
# Get the version from youtube_dl/version.py without importing the package
exec(compile(open('youtube_dl/version.py').read(),
'youtube_dl/version.py', 'exec'))
DESCRIPTION = 'YouTube video downloader'
LONG_DESCRIPTION = 'Command-line program to download videos from YouTube.com and other video sites'
py2exe_console = [{
'script': './youtube_dl/__main__.py',
'dest_base': 'youtube-dl',
'version': __version__,
'description': DESCRIPTION,
'comments': LONG_DESCRIPTION,
'product_name': 'youtube-dl',
'product_version': __version__,
}]
py2exe_params = {
'console': py2exe_console,
'options': {'py2exe': py2exe_options},
'zipfile': None
}
if len(sys.argv) >= 2 and sys.argv[1] == 'py2exe':
params = py2exe_params
else:
files_spec = [
('etc/bash_completion.d', ['youtube-dl.bash-completion']),
('etc/fish/completions', ['youtube-dl.fish']),
('share/doc/youtube_dl', ['README.txt']),
('share/man/man1', ['youtube-dl.1'])
]
root = os.path.dirname(os.path.abspath(__file__))
data_files = []
for dirname, files in files_spec:
resfiles = []
for fn in files:
if not os.path.exists(fn):
warnings.warn('Skipping file %s since it is not present. Type make to build all automatically generated files.' % fn)
else:
resfiles.append(fn)
data_files.append((dirname, resfiles))
params = {
'data_files': data_files,
}
if setuptools_available:
params['entry_points'] = {'console_scripts': ['youtube-dl = youtube_dl:main']}
else:
params['scripts'] = ['bin/youtube-dl']
class build_lazy_extractors(Command):
description = 'Build the extractor lazy loading module'
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
spawn(
[sys.executable, 'devscripts/make_lazy_extractors.py', 'youtube_dl/extractor/lazy_extractors.py'],
dry_run=self.dry_run,
)
setup(
name='youtube_dl',
version=__version__,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
url='https://github.com/rg3/youtube-dl',
author='Ricardo Garcia',
author_email='ytdl@yt-dl.org',
maintainer='Sergey M.',
maintainer_email='dstftw@gmail.com',
license='Unlicense',
packages=[
'youtube_dl',
'youtube_dl.extractor', 'youtube_dl.downloader',
'youtube_dl.postprocessor'],
# Provokes warning on most systems (why?!)
# test_suite = 'nose.collector',
# test_requires = ['nosetest'],
classifiers=[
'Topic :: Multimedia :: Video',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'License :: Public Domain',
'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',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
cmdclass={'build_lazy_extractors': build_lazy_extractors},
**params
)
|
Python
| 0.000002
|
@@ -3603,16 +3603,105 @@
omain',%0A
+ 'Programming Language :: Python',%0A 'Programming Language :: Python :: 2',%0A
@@ -4078,24 +4078,416 @@
on :: 3.6',%0A
+ 'Programming Language :: Python :: 3.7',%0A 'Programming Language :: Python :: Implementation',%0A 'Programming Language :: Python :: Implementation :: CPython',%0A 'Programming Language :: Python :: Implementation :: IronPython',%0A 'Programming Language :: Python :: Implementation :: Jython',%0A 'Programming Language :: Python :: Implementation :: PyPy',%0A
%5D,%0A%0A
|
8f30f96ce48f347bc940f3da6f96254dc988817a
|
Update setup.py to include gl modules.
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from distutils.core import setup
import sys
# get pygly's version but don't import it
# or we'll need our dependencies already installed
# https://github.com/todddeluca/happybase/commit/63573cdaefe3a2b98ece87e19d9ceb18f00bc0d9
execfile('pygly/version.py')
os_x_requires = ['pyglet(>=1.2)', 'pyobjc(==2.2)']
other_requires = ['pyglet']
setup(
name = 'pygly',
version = __version__,
description = 'Pyglet based 3D Framework',
long_description = """An OpenGL framework designed for flexbility
and power. PyGLy provides a number of tools to let you
do what you want, how you want.""",
license = 'BSD',
author = 'Adam Griffiths',
author_email = 'adam.lw.griffiths@gmail.com',
url = 'https://github.com/adamlwgriffiths/PyGLy',
requires = [
'numpy',
'cython',
'pil',
'pyrr',
]
+ (
os_x_requires if 'darwin' in sys.platform else other_requires
),
platforms = [ 'any' ],
test_suite = "pygly.test",
packages = [
'pygly',
'pygly.cocos2d',
'pygly.input',
'pygly.mesh',
'pygly.uv_generators',
],
classifiers = [
'Natural Language :: English',
'Intended Audience :: Developers',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python',
'Topic :: Multimedia :: Graphics',
'Topic :: Multimedia :: Graphics :: 3D Rendering',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
|
Python
| 0
|
@@ -1141,12 +1141,21 @@
gly.
-mesh
+uv_generators
',%0A
@@ -1164,37 +1164,78 @@
'pygly.
-uv_generators
+gl',%0A 'pygly.gl.legacy',%0A 'pygly.gl.core
',%0A %5D
|
ee22c23462b93c532e7b419bc9665916196a86e8
|
Add C language classifier
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup, Extension
import numpy
import re
readme = open('README.rst').read()
text = open('tifffile/__init__.py').read()
version = re.search("__version__ = '(.*?)'", text).groups()[0]
setup(
name='tifffile',
version=version,
description='Read and write image data from and to TIFF files.',
long_description=readme,
author='Steven Silvester',
author_email='steven.silvester@ieee.org',
url='https://github.com/blink1073/tifffile',
packages=['tifffile'],
package_dir={'tifffile': 'tifffile'},
include_package_data=True,
ext_modules=[Extension('tifffile/_tifffile',
['tifffile/tifffile.c'],
include_dirs=[numpy.get_include()])],
requires=['numpy (>=1.8.2)'],
license="BSD",
zip_safe=False,
keywords='tifffile',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
],
)
|
Python
| 0.998555
|
@@ -1089,16 +1089,53 @@
ndent',%0A
+ %22Programming Language :: C%22,%0A
|
dfd5885e5a8209ef18757de959a90a3de8dd19ca
|
allow us to build a package non-interactively
|
setup.py
|
setup.py
|
from __future__ import print_function
import warnings
from setuptools import setup, find_packages, Extension
from setuptools.command.install import install
import numpy
from theano.compat.six.moves import input
# Because many people neglected to run the pylearn2/utils/setup.py script
# separately, we compile the necessary Cython extensions here but because
# Cython is not a strict dependency, we issue a warning when it is not
# available.
try:
from Cython.Distutils import build_ext
cython_available = True
except ImportError:
warnings.warn("Cython was not found and hence pylearn2.utils._window_flip "
"and pylearn2.utils._video and classes that depend on them "
"(e.g. pylearn2.train_extensions.window_flip) will not be "
"available")
cython_available = False
if cython_available:
cmdclass = {'build_ext': build_ext}
ext_modules = [Extension("pylearn2.utils._window_flip",
["pylearn2/utils/_window_flip.pyx"],
include_dirs=[numpy.get_include()]),
Extension("pylearn2.utils._video",
["pylearn2/utils/_video.pyx"],
include_dirs=[numpy.get_include()])]
else:
cmdclass = {}
ext_modules = []
# Inform user of setup.py develop preference
class pylearn2_install(install):
def run(self):
print("Because Pylearn2 is under heavy development, we generally do "
"not advice using the `setup.py install` command. Please "
"consider using the `setup.py develop` command instead for the "
"following reasons:\n\n1. Using `setup.py install` creates a "
"copy of the Pylearn2 source code in your Python installation "
"path. In order to update Pylearn2 afterwards you will need to "
"rerun `setup.py install` (!). Simply using `git pull` to "
"update your local copy of Pylearn2 code will not suffice. \n\n"
"2. When using `sudo` to install Pylearn2, all files, "
"including the tutorials, will be copied to a directory owned "
"by root. Not only is running tutorials as root unsafe, it "
"also means that all Pylearn2-related environment variables "
"which were defined for the user will be unavailable.\n\n"
"Pressing enter will continue the installation of Pylearn2 in "
"`develop` mode instead. Note that this means that you need to "
"keep this folder with the Pylearn2 code in its current "
"location. If you know what you are doing, and are very sure "
"that you want to install Pylearn2 using the `install` "
"command instead, please type `install`.\n")
mode = None
while mode not in ['', 'install', 'develop', 'cancel']:
if mode is not None:
print("Please try again")
mode = input("Installation mode: [develop]/install/cancel: ")
if mode in ['', 'develop']:
self.distribution.run_command('develop')
if mode == 'install':
return install.run(self)
cmdclass.update({'install': pylearn2_install})
setup(
cmdclass=cmdclass,
ext_modules=ext_modules,
name='pylearn2',
version='0.1dev',
packages=find_packages(),
description='A machine learning library built on top of Theano.',
license='BSD 3-clause license',
long_description=open('README.rst', 'rb').read().decode('utf8'),
dependency_links=['git+http://github.com/Theano/Theano.git#egg=Theano'],
install_requires=['numpy>=1.5', 'pyyaml', 'argparse', "Theano"],
scripts=['bin/pylearn2-plot-monitor', 'bin/pylearn2-print-monitor',
'bin/pylearn2-show-examples', 'bin/pylearn2-show-weights',
'bin/pylearn2-train'],
package_data={
'': ['*.cu', '*.cuh', '*.h'],
},
)
|
Python
| 0.000001
|
@@ -2850,20 +2850,25 @@
mode =
-None
+'install'
%0A
@@ -2868,16 +2868,17 @@
+#
while mo
@@ -2929,32 +2929,33 @@
'%5D:%0A
+#
if mode is not N
@@ -2971,24 +2971,25 @@
+#
print(%22Pleas
@@ -3010,24 +3010,25 @@
+#
mode = input
|
33ed7983faec74c389902cd6ec6f6586d81e3168
|
Fix setup.py on 2.x
|
setup.py
|
setup.py
|
import os
import io
from setuptools import setup
setup(
name='azureblur',
version='0.1',
url='https://github.com/SimonSapin/azureblur',
license='MPL2',
maintainer='Simon Sapin',
maintainer_email='simon.sapin@exyr.org',
description='The triple box blur implementation from Firefox’s moz2d/Azure, with Python bindings.',
long_description=io.open(
os.path.join(os.path.dirname(__file__), 'README.rst'),
encoding='utf-8',
).read(),
install_requires=['cffi'],
packages=['azureblur'],
package_data={'azureblur': ['src/*', 'moz2d/*.*', 'moz2d/*/*']},
)
|
Python
| 0
|
@@ -1,12 +1,27 @@
+# coding: utf8%0A
import os%0Aim
|
051c02e4511d1ef2cc1627c125e0f3a35310e6f8
|
bump version
|
setup.py
|
setup.py
|
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='hopsutil',
version='0.4.8',
author='Robin Andersson',
author_email='robin2@kth.se',
description='A helper library for Hops that facilitates development by hiding the complexity of discovering services and setting up security.',
license='Apache License 2.0',
keywords='HOPS, Hadoop',
url='https://github.com/hopshadoop/hops-util-python',
download_url = 'https://github.com/hopshadoop/hops-util-python/archive/0.4.8.tar.gz',
packages=['hopsutil'],
long_description=read('README.rst'),
classifiers=[
'Development Status :: 3 - Alpha',
'Topic :: Utilities',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
install_requires=[]
)
|
Python
| 0
|
@@ -168,17 +168,17 @@
on='0.4.
-8
+9
',%0A a
@@ -588,9 +588,9 @@
0.4.
-8
+9
.tar
|
2bd52cd615f2b8e244b0b5db3e21b983456b07f4
|
Change version to 0.54
|
setup.py
|
setup.py
|
from setuptools import setup
import sys
if not sys.version_info[0] == 3 and sys.version_info[1] < 5:
sys.exit('Python < 3.5 is not supported')
version = '0.53'
setup(
name='steampy',
packages=['steampy', 'test', 'examples', ],
version=version,
description='A Steam lib for trade automation',
author='Michał Bukowski',
author_email='gigibukson@gmail.com',
license='MIT',
url='https://github.com/bukson/steampy',
download_url='https://github.com/bukson/steampy/tarball/' + version,
keywords=['steam', 'trade', ],
classifiers=[],
install_requires=[
"requests",
"beautifulsoup4",
"rsa"
],
)
|
Python
| 0.000007
|
@@ -156,17 +156,17 @@
n = '0.5
-3
+4
'%0A%0Asetup
|
44a68e01b6051ce8f1c30997187e725402c048a4
|
Add long_description to setup.py
|
setup.py
|
setup.py
|
"""
Py-Tree-sitter
"""
import platform
from setuptools import setup, Extension
setup(
name = "tree_sitter",
version = "0.0.8",
maintainer = "Max Brunsfeld",
maintainer_email = "maxbrunsfeld@gmail.com",
author = "Max Brunsfeld",
author_email = "maxbrunsfeld@gmail.com",
url = "https://github.com/tree-sitter/py-tree-sitter",
license = "MIT",
platforms = ["any"],
python_requires = ">=3.3",
description = "Python bindings to the Tree-sitter parsing library",
classifiers = [
"License :: OSI Approved :: MIT License",
"Topic :: Software Development :: Compilers",
"Topic :: Text Processing :: Linguistic",
],
packages = ['tree_sitter'],
ext_modules = [
Extension(
"tree_sitter_binding",
[
"tree_sitter/core/lib/src/lib.c",
"tree_sitter/binding.c",
],
include_dirs = [
"tree_sitter/core/lib/include",
"tree_sitter/core/lib/utf8proc",
],
extra_compile_args = (
['-std=c99'] if platform.system() != 'Windows' else None
)
)
],
project_urls = {
'Source': 'https://github.com/tree-sitter/py-tree-sitter',
'Documentation': 'http://initd.org/psycopg/docs/',
}
)
|
Python
| 0
|
@@ -17,16 +17,25 @@
er%0A%22%22%22%0A%0A
+import os
%0Aimport
@@ -84,16 +84,139 @@
ension%0A%0A
+base_dir = os.path.dirname(__file__)%0A%0Awith open(os.path.join(base_dir, 'README.md')) as f:%0A long_description = f.read()%0A
%0Asetup(%0A
@@ -630,16 +630,110 @@
brary%22,%0A
+ long_description = long_description,%0A long_description_content_type = %22text/markdown%22,%0A
clas
|
e1411e0dfe5bea90dc52605eb08d4fb98e21edab
|
Bump version to 0.8.1
|
setup.py
|
setup.py
|
# coding: utf-8
from setuptools import setup
with open('README.rst', 'r') as f:
long_description = f.read()
setup(
name='cs',
version='0.8.0',
url='https://github.com/exoscale/cs',
license='BSD',
author=u'Bruno Renié',
description=('A simple yet powerful CloudStack API client for '
'Python and the command-line.'),
long_description=long_description,
py_modules=('cs',),
zip_safe=False,
include_package_data=True,
platforms='any',
classifiers=(
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
),
install_requires=(
'requests',
),
extras_require={
'highlight': ['pygments'],
},
test_suite='tests',
entry_points={
'console_scripts': [
'cs = cs:main',
],
},
)
|
Python
| 0
|
@@ -146,17 +146,17 @@
on='0.8.
-0
+1
',%0A u
|
589c2f6422a3d27d47e1e7f80d9cb5a48f8e5d26
|
Bump version instructed by bamboo
|
setup.py
|
setup.py
|
import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
dependency_links = [
'http://github.com/pbs/django-cms/tarball/support/2.3.x#egg=django-cms-2.3.5pbs',
'http://github.com/pbs/django-filer/tarball/master_pbs#egg=django-filer-0.9pbs',
]
setup(
name = "cmsplugin-filer",
version = "0.9.4pbs8",
url = 'http://github.com/stefanfoulis/cmsplugin-filer',
license = 'BSD',
description = "django-cms plugins for django-filer",
long_description = read('README.rst'),
author = 'Stefan Foulis',
author_email = 'stefan.foulis@gmail.com',
packages = find_packages(),
#package_dir = {'':'src'},
dependency_links=dependency_links,
classifiers = [
'Development Status :: 4 - Beta',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
],
install_requires=[
"django-cms>=2.3.5pbs, <2.3.6",
"django-sekizai >= 0.4.2",
"easy_thumbnails >= 1.0",
"django-filer >= 0.9pbs, <0.9.1"
],
include_package_data=True,
zip_safe = False,
setup_requires=['s3sourceuploader', ],
)
|
Python
| 0
|
@@ -396,9 +396,9 @@
4pbs
-8
+9
%22,%0A
|
9cbc694535b81ba9d9d268d1efc5f0862daa93c8
|
Switch package URL back.
|
setup.py
|
setup.py
|
import os
import os.path
import sys
from setuptools import find_packages, setup
requirements = ['parse>=1.3.3']
major, minor = sys.version_info[:2]
if major == 2 and minor < 7:
requirements.append('argparse')
if major == 2 and minor < 6:
requirements.append('simplejson')
description = ''.join(open('README.rst').readlines()[6:])
setup(
name='behave',
version='1.2.1',
description='behave is behaviour-driven development, Python style',
long_description=description,
author='Benno Rice and Richard Jones',
author_email='behave-users@googlegroups.com',
url='http://github.com/Katherinesun/behave',
packages=find_packages(),
scripts=['bin/behave'],
install_requires=requirements,
use_2to3=True,
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: Jython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Testing",
"License :: OSI Approved :: BSD License",
],
)
|
Python
| 0
|
@@ -612,20 +612,16 @@
com/
-Katherinesun
+jeamland
/beh
|
918c5d1649d9b1581a3dc7bd9fe889c4e59d4b9a
|
Upgrade core
|
setup.py
|
setup.py
|
#! /usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name='OpenFisca-Country-Template',
version='1.3.1',
author='OpenFisca Team',
author_email='contact@openfisca.fr',
description=u'OpenFisca tax and benefit system for Country-Template',
keywords='benefit microsimulation social tax',
license='http://www.fsf.org/licensing/licenses/agpl-3.0.html',
url='https://github.com/openfisca/openfisca-country-template',
include_package_data = True, # Will read MANIFEST.in
install_requires=[
'OpenFisca-Core >= 17.1.0, < 19.0',
],
extras_require = {
'api': [
'OpenFisca-Web-API >= 4.0.0, < 7.0',
],
'test': [
'flake8',
'flake8-print',
'nose',
]
},
packages=find_packages(),
test_suite='nose.collector',
)
|
Python
| 0.000001
|
@@ -597,19 +597,19 @@
%3E= 1
-7.1
+9.0
.0, %3C
-19
+20
.0',
|
bfda5f0c6fecdc3558db106e0562364bb0406759
|
Bump 0.2
|
setup.py
|
setup.py
|
import re
import setuptools
def load_dependencies(filename):
install_requires = []
dependency_links = []
for line in open(filename):
line = line.strip()
m = re.match(r'http.+#egg=(?P<pkgname>.+)', line)
if m:
dependency_links.append(line)
install_requires.append(m.groupdict()['pkgname'])
else:
install_requires.append(line)
return install_requires, dependency_links
install_requires, dependency_links = load_dependencies('requirements.txt')
setuptools.setup(
name='Pymem',
version='0.1',
description='pymem: python memory access made easy',
author='Fabien Reboia',
author_email='srounet@gmail.com',
maintainer='Fabien Reboia',
maintainer_email='srounet@gmail.com',
url='http://pymem.readthedocs.org/en/latest/',
long_description="A python library for windows, providing the needed functions to start working on your own with memory editing",
license="postcard license",
packages = setuptools.find_packages(),
platforms=["windows"],
keywords='memory win32 windows process',
classifiers=[
'Programming Language :: Python :: 3.4',
'Programming Language :: Assembly',
'Environment :: Win32 (MS Windows)',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
],
install_requires=install_requires,
dependency_links=dependency_links,
)
|
Python
| 0.000154
|
@@ -579,9 +579,9 @@
='0.
-1
+2
',%0A
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.