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
|
|---|---|---|---|---|---|---|---|
8199edb90c9de9a70c1c4acb69b0e51a3b470a33
|
Update __init__.py
|
pokepy/__init__.py
|
pokepy/__init__.py
|
#!/usr/bin/env python
# coding: utf-8
"""
Pokepy
A Python wrapper for PokeAPI (https://pokeapi.co)
Usage:
>>> import pokepy
>>> clientV2 = pokepy.V2Client()
>>> clientV2.get_pokemon('bulbasaur')[0]
<Pokemon - Bulbasaur>
"""
__author__ = 'Paul Hallett'
__email__ = 'hello@phalt.co'
__credits__ = ["Paul Hallett", "Owen Hallett", "Kronopt"]
__version__ = '0.4'
__copyright__ = 'Copyright Paul Hallett 2016'
__license__ = 'BSD'
from .api import V2Client
|
Python
| 0.000072
|
@@ -357,9 +357,11 @@
'0.
-4
+5.0
'%0A__
|
cc70b8b3b263428c9a0cdffe50077ca1828cb82d
|
Remove Gunicorn from requirements
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name="familyconnect-registration",
version="0.1",
url='http://github.com/praekelt/familyconnect-registration',
license='BSD',
author='Praekelt Foundation',
author_email='dev@praekeltfoundation.org',
packages=find_packages(),
include_package_data=True,
install_requires=[
'Django==1.10.2',
'djangorestframework==3.4.7',
'dj-database-url==0.3.0',
'psycopg2==2.7.1',
'raven==5.10.0',
'gunicorn==19.4.5',
'django-filter==0.12.0',
'whitenoise==2.0.6',
'celery==3.1.24',
'django-celery==3.1.17',
'redis==2.10.5',
'pytz==2015.7',
'six==1.10.0',
'django-rest-hooks==1.3.1',
'go-http==0.3.0',
'requests==2.9.1',
'django-filter==0.12.0',
'seed-services-client==0.9.0',
'future==0.15.2',
'pika==0.10.0',
],
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: Django',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
Python
| 0
|
@@ -506,36 +506,8 @@
0',%0A
- 'gunicorn==19.4.5',%0A
|
03a87b9dc6706949f55c635e13ee781ce70092c3
|
Version 0.6.13
|
setup.py
|
setup.py
|
"""
To build distribution: python setup.py sdist bdist_wheel --universal
"""
import os
import setuptools
import openapiart
import requests
import shutil
pkg_name = "snappi"
go_pkg_name = "gosnappi"
version = "0.6.12"
models_version = "0.6.7"
# read long description from readme.md
base_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(base_dir, "readme.md")) as fd:
long_description = fd.read()
# download openapi.yaml
openapi_url = "https://github.com/open-traffic-generator/models/releases/download/v{version}/openapi.yaml".format(
version=models_version
)
response = requests.request("GET", openapi_url, allow_redirects=True)
assert response.status_code == 200
with open(os.path.join("openapi.yaml"), "wb") as fp:
fp.write(response.content)
openapiart.OpenApiArt(
api_files=["openapi.yaml"],
protobuf_name=pkg_name + "pb",
artifact_dir="artifacts",
extension_prefix=pkg_name,
).GeneratePythonSdk(package_name=pkg_name).GenerateGoSdk(
package_dir="github.com/open-traffic-generator/snappi/%s" % go_pkg_name, package_name=go_pkg_name
)
if os.path.exists(pkg_name):
shutil.rmtree(pkg_name, ignore_errors=True)
# remove unwanted files
shutil.copytree(os.path.join("artifacts", pkg_name), pkg_name)
shutil.rmtree("artifacts", ignore_errors=True)
for name in os.listdir(pkg_name):
path = os.path.join(pkg_name, name)
if "pb2" in path:
os.remove(path)
else:
print(path + " will be published")
doc_dir = os.path.join(pkg_name, "docs")
os.mkdir(doc_dir)
shutil.move("openapi.yaml", doc_dir)
with open("models-release", "w") as out:
out.write("v" + models_version)
setuptools.setup(
name=pkg_name,
version=version,
description="The Snappi Open Traffic Generator Python Package",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/open-traffic-generator/snappi",
author="ajbalogh",
author_email="andy.balogh@keysight.com",
license="MIT",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Testing :: Traffic Generation",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
],
keywords="snappi testing open traffic generator automation",
include_package_data=True,
packages=[pkg_name],
python_requires=">=2.7, <4",
install_requires=[
"requests",
"pyyaml",
"jsonpath-ng",
"typing",
"typing-extensions",
],
extras_require={
"ixnetwork": ["snappi_ixnetwork==0.5.4"],
"trex": ["snappi_trex"],
"convergence": ["snappi_convergence==0.2.1"],
"testing": ["pytest", "flask"],
},
)
|
Python
| 0.000002
|
@@ -208,17 +208,17 @@
= %220.6.1
-2
+3
%22%0Amodels
@@ -233,17 +233,17 @@
= %220.6.
-7
+8
%22%0A%0A# rea
|
4199895bacb97cd36257f710266343563cbed1f3
|
bump version to v0.3
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name='freezefrog',
version='0.2',
url='http://github.com/closeio/freezefrog',
license='MIT',
author='Thomas Steinacher',
author_email='engineering@close.io',
maintainer='Thomas Steinacher',
maintainer_email='engineering@close.io',
description='Efficient datetime mocking in tests',
test_suite='tests',
tests_require=['mock'],
platforms='any',
install_requires=[
'mock',
],
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
packages=[
'freezefrog',
],
)
|
Python
| 0
|
@@ -68,17 +68,17 @@
sion='0.
-2
+3
',%0A u
|
39205471e6697ec436c4d374248553ecb5411f98
|
bump version
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name = 'tensorflowonspark',
packages = ['tensorflowonspark'],
version = '1.0.4',
description = 'Deep learning with TensorFlow on Apache Spark clusters',
author = 'Yahoo, Inc.',
url = 'https://github.com/yahoo/TensorFlowOnSpark',
keywords = ['tensorflowonspark', 'tensorflow', 'spark', 'machine learning', 'yahoo'],
install_requires = ['tensorflow'],
license = 'Apache 2.0',
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
]
)
|
Python
| 0
|
@@ -113,17 +113,17 @@
= '1.0.
-4
+5
',%0A des
|
a65f3dfbd94cd40ec28f14b03136e51bf11bbf68
|
version 0.1.0
|
setup.py
|
setup.py
|
"""
Brie - Bayesian regression for isoform estimate
See: http://brie.sourceforge.net
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
import brie
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()
reqs = ['numpy', 'pysam', 'h5py']
setup(
name='brie',
# 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=brie.__version__,
description='BRIE: Bayesian regression for isoform estimate',
long_description=long_description,
# The project's main homepage.
url='http://brie.sourceforge.net',
# Author details
author='Yuanhua Huang',
author_email='Y.Huang@ed.ac.uk',
# Choose your license
license='MIT',
# What does your project relate to?
keywords=['splicing isoform estimate', 'Bayesian regression',
'single cell RNA-seq', 'Markov chain Monte Carlo'],
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(),
entry_points={
'console_scripts': [
'brie = brie.brie:main',
'brie-diff = brie.brie_diff:main',
'brie-factor = brie.brie_factor:main',
'brie-event = brie.events.event_maker:main',
'brie-event-filter = brie.events.event_filter:main',
],
},
# 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=reqs,
py_modules = ['brie']
# buid the distribution: python setup.py sdist
# upload to pypi: twine upload dist/...
)
|
Python
| 0.000003
|
@@ -909,32 +909,36 @@
url='http://brie
+-rna
.sourceforge.net
|
4ee1a6af64bf59bbd5c30fe01966a9ea1e8666d0
|
version bump
|
setup.py
|
setup.py
|
import os
from setuptools import setup
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='hackernews-python',
version='0.1.0',
description='A Python wrapper for the official Hacker News API (v0)',
long_description=(read('README.rst')),
url='https://github.com/abrinsmead/hackernews-python',
license='MIT',
author='Alex Brinsmead',
author_email='alex.brinsmead@dataloft.com',
py_modules=['hackernews'],
install_requires=['requests>=2.4.3'],
include_package_data=True,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Natural Language :: English',
'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.3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
Python
| 0.000001
|
@@ -244,17 +244,17 @@
on='0.1.
-0
+1
',%0A d
|
387060e7cf342972eb5745b468624ae5c4fc1ccb
|
Bump version to 0.11.3
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
__version__ = '0.11.2'
setup(
name="Flask-REST-JSONAPI",
version=__version__,
description='Flask extension to create REST web api according to JSONAPI 1.0 specification with Flask, Marshmallow \
and data provider of your choice (SQLAlchemy, MongoDB, ...)',
url='https://github.com/miLibris/flask-rest-jsonapi',
author='miLibris API Team',
author_email='pf@milibris.net',
license='MIT',
classifiers=[
'Framework :: Flask',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'License :: OSI Approved :: MIT License',
],
keywords='web api rest jsonapi flask sqlalchemy marshmallow',
packages=find_packages(exclude=['tests']),
zip_safe=False,
platforms='any',
install_requires=['six',
'Flask',
'marshmallow==2.13.1',
'marshmallow_jsonapi',
'sqlalchemy'],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
extras_require={'tests': 'pytest', 'docs': 'sphinx'}
)
|
Python
| 0
|
@@ -59,17 +59,17 @@
= '0.11.
-2
+3
'%0A%0A%0Asetu
|
0b990c28d2aad533d6f8605957669ad9e6cae786
|
Fix Issue #4
|
setup.py
|
setup.py
|
#!/usr/bin/python
import glob
import platform
import sys
import os
import ez_setup
ez_setup.use_setuptools()
from setuptools import setup, Extension
system, node, release, version, machine, processor = platform.uname()
setup(
name='falcon',
version='0.02',
maintainer='Russell Power',
maintainer_email='russell.power@gmail.com',
url='http://github.com/rjpower/falcon',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Other Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX',
'Programming Language :: C++',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.0',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
],
description='Faster then a speeding bullet...',
package_dir={'': 'src'},
packages=['falcon'],
ext_modules=[
Extension('_falcon_core',
include_dirs=['./src'],
sources=[
'src/falcon/rexcept.cc',
'src/falcon/reval.cc',
'src/falcon/rcompile.cc',
'src/falcon/rinst.cc',
'src/falcon/oputil.cc',
'src/falcon/util.cc',
'src/falcon/rmodule.i'
],
swig_opts = ['-Isrc', '-modern', '-O', '-c++', '-w312,509'],
extra_compile_args=['-fno-gcse', '-fno-crossjumping', '-ggdb2', '-std=c++0x', '-Isrc/sparsehash-2.0.2/src'],
extra_link_args=['-lrt'],
)
]
)
|
Python
| 0
|
@@ -1621,16 +1621,47 @@
rgs=
+(%5B%5D if system == 'Darwin' else
%5B'-lrt'%5D
,%0A
@@ -1656,16 +1656,17 @@
%5B'-lrt'%5D
+)
,%0A )%0A
|
0069af436db7825f3b1fe4987eed1128350c0545
|
set dev status: beta
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup
def parse_requirements(path):
with open(path, 'r') as infile:
return [l.strip() for l in infile.readlines()]
setup(
name = 'steamweb',
version = '0.3',
description = 'lib to access/use steam web pages (stuff not exposed via API)',
long_description = 'lib to access/use steam web pages (stuff not exposed via API)',
platforms = ['any'],
keywords = 'steam',
author = 'Jayme',
author_email = 'tuxnet@gmail.com',
url = 'https://github.com/jayme-github/steamweb',
packages = ['steamweb'],
license = 'GNU Affero General Public License v3',
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
install_requires = parse_requirements('requirements.txt'),
tests_require = parse_requirements('requirements-test.txt'),
test_suite = 'test',
scripts = ['demo.py'],
)
|
Python
| 0.000007
|
@@ -215,17 +215,17 @@
on = '0.
-3
+4
',%0A d
@@ -692,16 +692,15 @@
::
-3 - Alph
+4 - Bet
a',%0A
|
fad69b39269684570fadce38660b9eb5050179fe
|
Debug setup.py for RTD
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup
from pathlib import Path
with open('README.rst', 'r') as f:
long_description = f.read()
meta = {}
with open(Path(__file__).parent / 'aioinflux' / '__init__.py') as f:
exec('\n'.join(l for l in f if l.startswith('__')), meta)
setup(name='aioinflux',
version=meta['__version__'],
description='Asynchronous Python client for InfluxDB',
long_description=long_description,
author='Gustavo Bezerra',
author_email='gusutabopb@gmail.com',
url='https://github.com/plugaai/aioinflux',
packages=['aioinflux'],
include_package_data=True,
python_requires='>=3.6',
install_requires=['aiohttp>=3.0', 'ciso8601'],
extras_require={'test': ['pytest',
'pytest-asyncio',
'pytest-cov',
'pyyaml',
'pytz',
'flake8',
'sphinx-autodoc-typehints',
],
'pandas': ['pandas>=0.21', 'numpy']},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Database',
])
|
Python
| 0
|
@@ -167,27 +167,8 @@
ath(
-__file__).parent /
'aio
@@ -174,16 +174,17 @@
oinflux'
+)
/ '__in
|
a04fbb25dea14cfded321e80738878ad668cac39
|
fix coding style issues
|
setup.py
|
setup.py
|
"""The netify deployment script."""
# Copyright 2015 Curtis Sand
#
# 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
def required():
with open('requirements.txt', 'r') as reqf:
return reqf.read().splitlines()
def readme():
with open('README.rst', 'r') as readmef:
return readmef.read()
setup(name='netify',
version='0.1',
description='Turn boring things into something for the net.',
long_description=readme(),
url='https://github.com/fretboardfreak/netify',
author='Curtis Sand',
author_email='curtissand@gmail.com',
license='Apache',
package_dir={'': 'src'},
packages=['netify'],
entry_points = {
'console_scripts': ['netify=netify.app:NetifyApp.cli_main']
},
use_2to3=False,
install_requires=required(),
zip_safe=False,
keywords='net netify app webapp html site website generator',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'License :: OSI Approved :: Apache Software License',
'Intended Audience :: Developers',
'Framework :: Flask',
'Environment :: Web Environment',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Internet',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: Site Management',
'Topic :: Software Development :: Libraries',
('Topic :: Software Development :: Libraries :: '
'Application Frameworks'),
],
)
|
Python
| 0.000001
|
@@ -634,16 +634,17 @@
setup%0A%0A
+%0A
def requ
@@ -740,16 +740,17 @@
ines()%0A%0A
+%0A
def read
@@ -831,16 +831,17 @@
read()%0A%0A
+%0A
setup(na
@@ -1204,13 +1204,13 @@
ints
- = %7B%0A
+=%7B%0A
@@ -2228,16 +2228,20 @@
orks'),%0A
+
%5D,
|
0f8fd08735b1194e0cb571fa1f2d31954eca34ce
|
update email address
|
setup.py
|
setup.py
|
import io
from codecs import open as codecs_open
from setuptools import setup, find_packages
# Get the long description from the relevant file
# with codecs_open('README.md', encoding='utf-8') as f:
# long_description = f.read()
with io.open("README.rst") as readme_file:
long_description = readme_file.read()
def test_suite():
import doctest
try:
import unittest2 as unittest
except:
import unittest
suite = unittest.TestLoader().discover("tests")
# suite.addTest(doctest.DocFileSuite("README.rst"))
return suite
setup(name='mapbox-vector-tile',
version='0.0.1',
description=u"Mapbox Vector Tile",
long_description=long_description,
classifiers=[],
keywords='',
author=u"Harish Krishna",
author_email='harish@mapzen.com',
url='https://github.com/mapzen/mapbox-vector-tile',
license='MIT',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
test_suite="setup.test_suite",
install_requires=["setuptools"]
)
|
Python
| 0.000001
|
@@ -801,15 +801,19 @@
rish
-@mapzen
+.krsn@gmail
.com
|
20f153c58b45f270f2f837e62e8ed626cdaac1c0
|
Bump requests requirement to 2.5.x
|
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-2014 by the Sentry Team, see AUTHORS for more details.
:license: BSD, see LICENSE for more details.
"""
from __future__ import absolute_import
import os.path
from distutils import log
from distutils.core import Command
from setuptools.command.develop import develop
from setuptools.command.sdist import sdist
from setuptools import setup, find_packages
from subprocess import check_output
# Hack to prevent stupid "TypeError: 'NoneType' object is not callable" error
# in multiprocessing/util.py _exit_function when running `python
# setup.py test` (see
# http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)
for m in ('multiprocessing', 'billiard'):
try:
__import__(m)
except ImportError:
pass
ROOT = os.path.realpath(os.path.join(os.path.dirname(__file__)))
dev_requires = [
'flake8>=2.0,<2.1',
]
tests_require = [
'blist', # used by cassandra
'casscache',
'cqlsh',
'elasticsearch',
'httpretty',
'pytest-cov>=1.4',
'pytest-timeout',
'python-coveralls',
'responses',
'riak',
]
install_requires = [
'BeautifulSoup>=3.2.1,<3.3.0',
'celery>=3.0.15,<3.1.0',
'cssutils>=0.9.9,<0.10.0',
'Django>=1.6.0,<1.7',
'django-bitfield>=1.7.0,<1.8.0',
'django-celery>=3.0.11,<3.1.0',
'django-crispy-forms>=1.4.0,<1.5.0',
'django-paging>=0.2.5,<0.3.0',
'django-picklefield>=0.3.0,<0.4.0',
'django-recaptcha>=1.0.0,<1.1.0',
'django-social-auth>=0.7.28,<0.8.0',
'django-statsd-mozilla>=0.3.8.0,<0.3.9.0',
'django-sudo>=1.1.3,<1.2.0',
'django-templatetag-sugar>=0.1.0',
'djangorestframework>=2.3.8,<2.4.0',
'email-reply-parser>=0.2.0,<0.3.0',
'enum34>=0.9.18,<0.10.0',
'exam>=0.5.1',
'gunicorn>=0.17.2,<0.18.0',
'ipaddr>=2.1.11,<2.2.0',
'logan>=0.5.8.2,<0.6.0',
'lxml>=3.4.1',
'mock>=0.8.0',
'nydus>=0.10.7,<0.11.0',
'markdown>=2.4.1,<2.5.0',
'progressbar>=2.2,<2.4',
'Pygments>=1.6.0,<1.7.0',
'pytest',
'pytest-django',
'python-dateutil>=1.5.0,<2.0.0',
'python-memcached>=1.53,<2.0.0',
'raven>=5.0.0',
'redis>=2.7.0,<2.11.0',
'requests[security]>=2.4.3,<2.5.0',
'simplejson>=3.1.0,<3.4.0',
'six>=1.6.0,<2.0.0',
'setproctitle>=1.1.7,<1.2.0',
'South==1.0.1',
'toronado>=0.0.4,<0.1.0',
'ua-parser>=0.3.5',
'urllib3>=1.7.1,<1.8.0',
]
postgres_requires = [
'psycopg2>=2.5.0,<2.6.0',
]
postgres_pypy_requires = [
'psycopg2cffi',
]
mysql_requires = [
'MySQL-python>=1.2.0,<1.3.0',
]
class DevelopWithBuildStatic(develop):
def install_for_development(self):
self.run_command('build_static')
return develop.install_for_development(self)
class SdistWithBuildStatic(sdist):
def make_distribution(self):
self.run_command('build_static')
return sdist.make_distribution(self)
class BuildStatic(Command):
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
log.info("running [npm install --quiet]")
check_output(['npm', 'install', '--quiet'], cwd=ROOT)
log.info("running [gulp dist]")
check_output([os.path.join(ROOT, 'node_modules', '.bin', 'gulp'), 'dist'], cwd=ROOT)
setup(
name='sentry',
version='7.3.0.dev0',
author='David Cramer',
author_email='dcramer@gmail.com',
url='https://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,
},
cmdclass={
'build_static': BuildStatic,
'develop': DevelopWithBuildStatic,
'sdist': SdistWithBuildStatic,
},
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
|
@@ -2876,16 +2876,16 @@
%3E=2.
-4.3
+5.1
,%3C2.
-5
+6
.0',
|
28b16a355177ad0f52860d9598cca5198635224f
|
Update version
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
long_description = '''\
image-diet is a Django application for removing unnecessary bytes from image
files. It optimizes images without changing their look or visual quality
("losslessly").
It works on images in JPEG, GIF and PNG formats and will leave others
unchanged. Provides a seemless integration with easy_thumbnails app, but can
work with others too.'''
setup(
author="Marko Samastur",
author_email="markos@gaivo.net",
name='image-diet',
version='0.7',
description='Remove unnecessary bytes from images',
long_description=long_description,
url='https://github.com/samastur/image-diet/',
platforms=['OS Independent'],
license='MIT License',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
'Topic :: Utilities',
],
install_requires=[
'django>=1.3',
],
include_package_data=True,
packages=find_packages(),
zip_safe=False
)
|
Python
| 0
|
@@ -515,16 +515,18 @@
ion='0.7
+.1
',%0A d
|
0edaf3506bd46d57618ef21a2aeba6c8077da7d0
|
add missing comma
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name='RAPIDpy',
version='2.5.2',
description='Python interface for RAPID (rapid-hub.org)',
long_description='RAPIDpy is a python interface for RAPID that assists '
'to prepare inputs, runs the RAPID program, and provides '
'post-processing utilities (http://rapidpy.readthedocs.io). '
'More information about installation and the input '
'parameters for RAPID can be found at http://rapid-hub.org.'
' The source code for RAPID is located at '
'https://github.com/c-h-david/rapid/. \n\n'
'.. image:: https://zenodo.org/badge/19918/erdc-cm/RAPIDpy.svg \n'
' :target: https://zenodo.org/badge/latestdoi/19918/erdc-cm/RAPIDpy',
keywords='RAPID',
author='Alan Dee Snow',
author_email='alan.d.snow@usace.army.mil',
url='https://github.com/erdc-cm/RAPIDpy',
license='BSD 3-Clause',
packages=find_packages(),
package_data={'': ['gis/lsm_grids/*.nc']},
install_requires=[
'future',
'numpy',
'netcdf4',
'pandas',
'pangaea',
'python-dateutil',
'pytz',
'requests',
'rtree',
'shapely',
],
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'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',
],
extras_require={
'tests': [
'pytest',
'pytest-cov',
'coveralls'
'pylint',
'flake8',
],
'docs': [
'mock',
'sphinx',
'sphinx_rtd_theme',
'sphinxcontrib-napoleon',
]
},
)
|
Python
| 0.999956
|
@@ -1784,16 +1784,17 @@
veralls'
+,
%0A
|
696648364a52c2d499ae9bf382c1c66266b9f5c1
|
Add missing comma
|
setup.py
|
setup.py
|
#!/usr/bin/env python
"""Installer for rstcheck."""
import ast
import setuptools
def version():
"""Return version string."""
with open('rstcheck.py') as input_file:
for line in input_file:
if line.startswith('__version__'):
return ast.parse(line).body[0].value.s
with open('README.rst') as readme:
setuptools.setup(
name='rstcheck',
version=version(),
url='http://github.com/myint/rstcheck',
description='Checks code blocks in ReStructuredText.',
long_description=readme.read(),
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3'
'Topic :: Software Development :: Quality Assurance'],
py_modules=['rstcheck'],
entry_points={'console_scripts': ['rstcheck = rstcheck:main']},
install_requires=['docutils']
)
|
Python
| 0.999998
|
@@ -845,16 +845,17 @@
:: 3.3'
+,
%0A
@@ -911,16 +911,26 @@
surance'
+,%0A
%5D,%0A
|
e674e2b9011397c21dcfffab104f7bb64b9efdaa
|
Update version number in setup.py
|
setup.py
|
setup.py
|
"""setup.py
"""
# 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__))
# 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='fb_credentials',
# 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.2.0',
py_modules=['fb_credentials'],
description='Functionality for getting credentials from .hgrc or prompting the user for FogBugz and related interfaces',
long_description=long_description,
# The project's main homepage.
url='https://github.com/portusato/fb_credentials',
# Author details
author='Nicolas Morales',
author_email='portu.github@gmail.com',
# Choose your license
license='BSD 3-Clause',
# 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',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: BSD License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
],
# What does your project relate to?
keywords='fogbugz login credentials username password token',
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
packages=find_packages(),
# 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=['fogbugz'],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
#extras_require={
# 'dev': ['check-manifest'],
# 'test': ['coverage'],
#},
# 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={
# 'sample': ['package_data.dat'],
#},
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
#data_files=[('my_data', ['data/data_file'])],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
#entry_points={
# 'console_scripts': [
# 'sample=sample:main',
# ],
#},
)
|
Python
| 0
|
@@ -628,17 +628,17 @@
on='0.2.
-0
+1
',%0A p
|
c735ca20338e729f6f19ed098332a1aaebbb6c94
|
move version to a variable
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup
setup(
name='upcloud-api',
version='0.4.5',
description='UpCloud API Client',
author='Elias Nygren',
maintainer='Mika Lackman',
maintainer_email='mika.lackman@upcloud.com',
url='https://github.com/UpCloudLtd/upcloud-python-api',
packages=['upcloud_api', 'upcloud_api.cloud_manager'],
download_url='https://github.com/UpCloudLtd/upcloud-python-api/archive/0.4.5.tar.gz',
license='MIT',
install_requires=[
'requests>=2.6.0',
'six>=1.9.0'
]
)
|
Python
| 0.000001
|
@@ -46,16 +46,36 @@
setup%0A%0A
+%0Aversion = '0.4.5'%0A%0A
setup(%0A
@@ -109,23 +109,23 @@
version=
-'0.4.5'
+version
,%0A de
@@ -461,21 +461,18 @@
ive/
-0.4.5
+%25s
.tar.gz'
,%0A
@@ -467,16 +467,26 @@
.tar.gz'
+ %25 version
,%0A li
|
bd53878b7c38f1e58f708a20bb73865613a462c6
|
use “client” instead of “wrapper” in description
|
setup.py
|
setup.py
|
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name="pysolr",
use_scm_version=True,
description="Lightweight python wrapper for Apache Solr.",
author='Daniel Lindsley',
author_email='daniel@toastdriven.com',
long_description=open('README.rst', 'r').read(),
py_modules=[
'pysolr'
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Indexing/Search',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
],
url='https://github.com/django-haystack/pysolr/',
license='BSD',
install_requires=[
'requests>=2.9.1'
],
extras_require={
'solrcloud': [
'kazoo==2.2'
]
},
setup_requires=['setuptools_scm'],
)
|
Python
| 0
|
@@ -175,22 +175,21 @@
ght
-p
+P
ython
-wrapper
+client
for
@@ -200,17 +200,16 @@
che Solr
-.
%22,%0A a
|
be3c656def0d59143a22d66644910d83ab1c1108
|
Bump version to 0.9.3
|
setup.py
|
setup.py
|
import io
from setuptools import setup, find_packages
setup(
name='django-flatblocks',
version='0.9.2',
description='django-flatblocks acts like django.contrib.flatpages but '
'for parts of a page; like an editable help box you want '
'show alongside the main content.',
long_description=io.open('README.rst', encoding='utf-8').read(),
keywords='django apps',
license='New BSD License',
author='Horst Gutmann, Curtis Maloney',
author_email='curtis@tinbrain.net',
url='http://github.com/funkybob/django-flatblocks/',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Plugins',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
packages=find_packages(exclude=['tests']),
package_data={
'flatblocks': [
'templates/flatblocks/*.html',
'locale/*/*/*.mo',
'locale/*/*/*.po',
]
},
zip_safe=False,
requires = [
'Django (>=1.4)',
],
)
|
Python
| 0
|
@@ -104,17 +104,17 @@
on='0.9.
-2
+3
',%0A d
@@ -1687,17 +1687,17 @@
go (%3E=1.
-4
+7
)',%0A
|
b8270f1615ade763d71a8bb7905202e69269929d
|
Update setup.py deps and trove classifier
|
setup.py
|
setup.py
|
from setuptools import find_packages, setup
setup(
name='OAuth-Client-Bridge',
version='1.0.0',
url='https://github.com/adamcik/oauthclientbridge',
license='Apache License, Version 2.0',
author='Thomas Adamcik',
author_email='thomas@adamcik.no',
description='Bridge OAuth2 Authorization Code Grants to Clients Grants.',
long_description=open('README.rst').read(),
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=[
'cryptography',
'Flask',
'requests',
],
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
],
)
|
Python
| 0
|
@@ -532,16 +532,22 @@
'Flask
+%3E=0.11
',%0A
@@ -621,16 +621,29 @@
::
-4 - Beta
+5 - Production/Stable
',%0A
|
1533d8891e1f79274b1b331cb9fa15d69435b508
|
version 0.1.18
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
from distutils.core import setup
setup(name = 'pythreejs',
version = '0.1.17',
description='Interactive 3d graphics for the Jupyter notebook, using Three.js from IPython widgets.',
long_description='A Python/ThreeJS bridge utilizing the IPython widget infrastructure.',
author='PyThreejs Development Team',
author_email='jason@jasongrout.org',
license='BSD',
url='https://github.com/jasongrout/pythreejs',
requires = ['ipython'],
packages=['pythreejs'],
package_data={'pythreejs': [
'nbextension/pythreejs.js',
'nbextension/three.js/*.md',
'nbextension/three.js/LICENSE',
'nbextension/three.js/build/three.js',
'nbextension/three.js/examples/js/*.js',
'nbextension/three.js/examples/js/controls/*.js',
'nbextension/three.js/examples/js/renderers/*.js'
]},
keywords=['ipython', 'jupyter', 'widgets', 'webgl', 'graphics', '3d'],
classifiers=['Development Status :: 4 - Beta',
'Programming Language :: Python']
)
|
Python
| 0.000001
|
@@ -104,9 +104,9 @@
.1.1
-7
+8
',%0A
|
ec45756726aeebc926572a6037e1fe0b43c65575
|
fix logs and increase max log age
|
porcupine/_logs.py
|
porcupine/_logs.py
|
from datetime import datetime, timedelta
import logging
import os
import platform
import shlex
import subprocess
import sys
import threading
import porcupine
from porcupine import dirs
log = logging.getLogger(__name__)
LOG_DIR = os.path.join(dirs.cachedir, 'logs') # used in __main__.py
_FILENAME_FORMAT = '%Y-%m-%dT%H-%M-%S.txt'
def _remove_old_logs():
for filename in os.listdir(LOG_DIR):
try:
log_date = datetime.strptime(_FILENAME_FORMAT, filename)
except ValueError:
log.info("%s contains a file with an unexpected name: %s",
LOG_DIR, filename)
continue
how_old = datetime.now() - log_date
if how_old > timedelta(days=3):
path = os.path.join(LOG_DIR, filename)
log.info("%s is more than 3 days old, removing it", path)
os.remove(path)
def _run_command(command):
try:
output = subprocess.check_output(shlex.split(command),
stderr=subprocess.STDOUT)
log.info("output from '%s':\n%s", command,
output.decode('utf-8', errors='replace'))
except FileNotFoundError as e:
log.info("cannot run '%s': %s", command, e)
except (subprocess.CalledProcessError, OSError):
log.warning("unexpected error when running '%s'", command,
exc_info=True)
def setup(verbose):
os.makedirs(os.path.join(dirs.cachedir, 'logs'), exist_ok=True)
logfile = os.path.join(dirs.cachedir, 'logs',
datetime.now().strftime(_FILENAME_FORMAT))
if sys.stdout is None and sys.stderr is None:
# running in pythonw.exe, make sure to log everything
#
# logging.StreamHandler has a stream attribute which is set to the file
# it opens, but that's undocumented, so need to open the file myself
# and use StreamHandler
sys.stdout = sys.stderr = open(logfile, 'x', errors='replace')
file_handler = logging.StreamHandler(sys.stderr)
file_handler.setLevel(logging.DEBUG)
print_handler = None
else:
file_handler = logging.FileHandler(logfile, 'x')
file_handler.setLevel(logging.DEBUG)
print_handler = logging.StreamHandler(sys.stderr)
print_handler.setLevel(logging.DEBUG if verbose else logging.WARNING)
handlers = [file_handler]
file_handler.setFormatter(logging.Formatter(
'[%(asctime)s] %(name)s %(levelname)s: %(message)s'))
if print_handler is not None:
handlers.append(print_handler)
print_handler.setFormatter(logging.Formatter(
'%(name)s %(levelname)s: %(message)s'))
logging.basicConfig(level=logging.DEBUG, # no idea why this is needed
handlers=handlers,
format="[%(levelname)s] %(name)s: %(message)s")
log.debug("starting Porcupine %s from '%s'", porcupine.__version__,
porcupine.__path__[0])
log.debug("log file: %s", logfile)
log.debug("PID: %d", os.getpid())
log.debug("running on Python %d.%d.%d from '%s'",
*(list(sys.version_info[:3]) + [sys.executable]))
log.debug("platform.system() returned %r", platform.system())
log.debug("platform.platform() returned %r", platform.platform())
if platform.system() != 'Windows':
# lsb_release is a python script on ubuntu so running it takes
# about 0.12 seconds on this system, i really want porcupine to
# start as fast as possible
_run_command('uname -a')
threading.Thread(target=_run_command, args=['lsb_release -a']).start()
# don't fail to run if old logs can't be deleted for some reason
try:
_remove_old_logs()
except OSError:
log.exception("unexpected problem with removing old log files")
|
Python
| 0.000001
|
@@ -328,16 +328,38 @@
%25S.txt'%0A
+LOG_MAX_AGE_DAYS = 30%0A
%0A%0Adef _r
@@ -467,24 +467,34 @@
me.strptime(
+filename,
_FILENAME_FO
@@ -497,26 +497,16 @@
E_FORMAT
-, filename
)%0A
@@ -739,17 +739,32 @@
ta(days=
-3
+LOG_MAX_AGE_DAYS
):%0A
@@ -847,17 +847,18 @@
re than
-3
+%25d
days ol
@@ -872,18 +872,54 @@
ving
- it%22, path
+%22,%0A path, LOG_MAX_AGE_DAYS
)%0A
|
fe6a49479f06540d96438c40efb7c3ed3e54cc3e
|
version 0.1.3
|
setup.py
|
setup.py
|
"""
A command line interface for the cloco API.
"""
from setuptools import find_packages, setup
dependencies = ['click', 'requests', 'configparser']
setup(
name='cloco-cli',
version='0.1.2',
license='BSD',
author='345 Systems',
author_email='info@345.systems',
description='A command line interface for the cloco API.',
url='https://github.com/cloudconfig/cloco-cli',
download_url='https://github.com/cloudconfig/cloco-cli/tarball/0.1.2',
keywords=['cloco', 'cloudconfig', 'configuration', 'configuration-as-a-service', 'devops'],
long_description=__doc__,
packages=find_packages(exclude=['tests']),
include_package_data=True,
zip_safe=False,
platforms='any',
install_requires=dependencies,
entry_points={
'console_scripts': [
'cloco = cloco_cli.cli:main',
],
},
classifiers=[
# As from http://pypi.python.org/pypi?%3Aaction=list_classifiers
# 'Development Status :: 1 - Planning',
# 'Development Status :: 2 - Pre-Alpha',
# 'Development Status :: 3 - Alpha',
'Development Status :: 4 - Beta',
# 'Development Status :: 5 - Production/Stable',
# 'Development Status :: 6 - Mature',
# 'Development Status :: 7 - Inactive',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: POSIX',
'Operating System :: MacOS',
'Operating System :: Unix',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Build Tools',
]
)
|
Python
| 0.000003
|
@@ -186,25 +186,25 @@
ersion='0.1.
-2
+3
',%0A licen
@@ -462,17 +462,17 @@
all/0.1.
-2
+3
',%0A k
|
430979b76add42e66a0418c1cb63635f2439b1b7
|
Reset dreamhost
|
portal/settings.py
|
portal/settings.py
|
# Django settings for my personal webpage
DEBUG = True
DREAMHOST = False
TEMPLATE_DEBUG = DEBUG
SEND_BROKEN_LINK_EMAILS = True
import os
from .dbconfig import DATABASES
# These locations are calculated based on the settings.py location
D = os.path.dirname
BASEDIR = os.path.realpath(D(__file__))
ADMINS = (
('Andre Anjos', 'andre.dos.anjos@gmail.com'),
)
MANAGERS = ADMINS
DEFAULT_FROM_EMAIL = '%s <%s>' % ADMINS[0]
# Local time zone for this installation. All choices can be found here:
# http://www.postgresql.org/docs/current/static/datetime-keywords.html#DATETIME-TIMEZONE-SET-TABLE
TIME_ZONE = 'Europe/Zurich'
# Language code for this installation. All choices can be found here:
# http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes
# http://blogs.law.harvard.edu/tech/stories/storyReader$15
LANGUAGE_CODE = 'en'
# Valid languages for this website
gettext = lambda s: s
LANGUAGES = (
('en', gettext('English')),
('pt-br', gettext('Brazilian Portuguese')),
('fr', gettext('French')),
)
DEFAULT_LANGUAGE = 1
# Where to find MO compilations
LOCALE_PATHS = ( '%s/templates/locale' % BASEDIR,
)
SITE_ID = 1
# STATIC_ROOT: Absolute path to the directory that holds static media.
# Example: "/home/media/media.lawrence.com/"
# STATICFILES_DIRS: Add these extra paths when collecting static stuff
# STATIC_URL: Relative path to the files through the webserver
if DREAMHOST:
STATIC_ROOT = os.path.join(D(D(D(BASEDIR))), 'public') + os.sep
STATIC_URL = '/'
else:
STATIC_ROOT = os.path.join(D(D(BASEDIR)), 'static') + os.sep
STATIC_URL = '/static/'
STATICFILES_DIRS = [
os.path.join(BASEDIR, 'static'),
]
# The default url for logging into the site
LOGIN_URL = '/openid/login/'
LOGIN_REDIRECT_URL = '/'
# Make this unique, and don't share it with anybody.
SECRET_KEY = 'wk&_+uqn)()=fz07y0qdl%@=m^gp^taf$&7ql&@-ffjk9aln_7'
# List of callables that know how to import templates from various sources.
if DEBUG:
TEMPLATE_LOADERS = [
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
]
else:
TEMPLATE_LOADERS = [
('django.template.loaders.cached.Loader',(
'django.template.loaders.filesystem.Loader',
'django.template.loaders.app_directories.Loader',
)),
]
# What we like to have in every page we render, as context
TEMPLATE_CONTEXT_PROCESSORS = (
'django.contrib.auth.context_processors.auth', #for users and permissions
'django.core.context_processors.static', #for STATIC_URL
'django.core.context_processors.i18n', #for LANGUAGES
'django.core.context_processors.request', #for the request on all pages
'portal.context_processors.site', #for site
'portal.context_processors.full_path', #for the full_path
'nav.context_processors.navigation', #for our menus
)
MIDDLEWARE_CLASSES = (
'django.middleware.cache.UpdateCacheMiddleware',
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.doc.XViewMiddleware',
'django.middleware.cache.FetchFromCacheMiddleware',
'maintenancemode.middleware.MaintenanceModeMiddleware',
)
AUTHENTICATION_BACKENDS = (
'django_openid_auth.auth.OpenIDBackend',
'django.contrib.auth.backends.ModelBackend',
)
ROOT_URLCONF = 'portal.urls'
TEMPLATE_DIRS = (
# Put strings here, like "/home/html/django_templates".
# Always use forward slashes, even on Windows.
'%s/templates' % BASEDIR,
'%s/templates/portal' % BASEDIR,
)
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.admin',
'django.contrib.markup',
'django.contrib.staticfiles',
# 'django.contrib.sitemaps',
# External projects reused
'djangoogle',
'nav',
'bitrepo',
'flatties',
'chords',
# Other projects
'robots',
'django_openid_auth',
)
# Controls how many albums per page to see
DJANGOOGLE_ALBUMS_PER_PAGE = 8
# Disables the sitemap functionality for robots
ROBOTS_USE_SITEMAP = False
# Enables filesystem caching
if DEBUG:
cache_backend = 'django.core.cache.backends.dummy.DummyCache'
else:
cache_backend = 'django.core.cache.backends.filebased.FileBasedCache'
CACHES = {
'default': {
'BACKEND': cache_backend,
'LOCATION': os.path.join(D(D(BASEDIR)), 'cache'),
}
}
# Edit this if you want to cache the whole site and use the cache middleware
CACHE_MIDDLEWARE_SECONDS = 600
CACHE_MIDDLEWARE_ANONYMOUS_ONLY = True # only for outsiders
# Which server do we authenticate against
OPENID_SSO_SERVER_URL = 'https://www.google.com/accounts/o8/id'
# Allow admins to login using this system
OPENID_USE_AS_ADMIN_LOGIN = True
# You may need this to establish your connection with Google for a start
# OPENID_CREATE_USERS = True
# For the maintenance mode middleware
#MAINTENANCE_MODE = True
|
Python
| 0.000002
|
@@ -61,20 +61,19 @@
MHOST =
-Fals
+Tru
e%0ATEMPLA
|
325c74ffcf7b5ace8e72c5645934ea2a90bafa4d
|
Revert venusian dep
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name='discord-curious',
version='0.2.1',
packages=['curious', 'curious.core', 'curious.http', 'curious.commands', 'curious.dataclasses', 'curious.voice',
'curious.ext.loapi', 'curious.ext.paginator'],
url='https://github.com/SunDwarf/curious',
license='MIT',
author='Laura Dickinson',
author_email='l@veriny.tf',
description='A curio library for the Discord API',
install_requires=[
"cuiows>=0.1.10",
"curio==0.6.0",
"h11==0.7.0",
"multidict==2.1.4",
"pylru==1.0.9",
"yarl==0.8.1",
"venusian>=1.0,<=1.1"
],
extras_require={
"voice": ["opuslib==1.1.0",
"PyNaCL==1.0.1",]
}
)
|
Python
| 0
|
@@ -614,38 +614,8 @@
1%22,%0A
- %22venusian%3E=1.0,%3C=1.1%22%0A
|
42c0cccacce69174b8482654ab9bf1239dba94d9
|
Update docstring (#11)
|
setup.py
|
setup.py
|
"""
Copyright (c) 2015-2018 Fabian Affolter <fabian@affolter-engineering.ch>
Licensed under MIT. All rights reserved.
"""
import os
import sys
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
if sys.argv[-1] == 'publish':
os.system('python3 setup.py sdist upload')
sys.exit()
setup(
name='python-mystrom',
version='0.4.4',
description='Python API for interacting with myStrom devices',
long_description=long_description,
url='https://github.com/fabaff/python-mystrom',
author='Fabian Affolter',
author_email='fabian@affolter-engineering.ch',
license='MIT',
install_requires=['requests', 'click'],
packages=find_packages(),
zip_safe=True,
include_package_data=True,
entry_points="""
[console_scripts]
mystrom=pymystrom.cli:main
""",
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Utilities',
],
)
|
Python
| 0
|
@@ -1,123 +1,49 @@
%22%22%22
-%0ACopyright (c) 2015-2018 Fabian Affolter %3Cfabian@affolter-engineering.ch%3E%0A%0ALicensed under MIT. All rights reserved.%0A
+Set up the Python API for myStrom devices.
%22%22%22%0A
|
0b544c48e01ac975d04b5853dc1bffe1295c94ea
|
Bump version to 0.0.5
|
postpy/_version.py
|
postpy/_version.py
|
version_info = (0, 0, 4)
__version__ = '.'.join(map(str, version_info))
|
Python
| 0.000001
|
@@ -19,9 +19,9 @@
0,
-4
+5
)%0A%0A_
|
3251c9c1c98aef47571ced6b850c8ccab5ed5ab0
|
Bump version.
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup
try:
import pypandoc
description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
description = open('README.md').read()
setup(
name='djoser',
version='0.0.2',
packages=['djoser'],
license='MIT',
author='SUNSCRAPERS',
description='REST version of Django authentication system.',
author_email='info@sunscrapers.com',
long_description=description,
install_requires=[
'Django>=1.5',
'djangorestframework>=2.4.0',
],
tests_require=[
'djet>=0.0.10'
],
include_package_data=True,
zip_safe=False,
url='https://github.com/sunscrapers/djoser',
classifiers=[
'Development Status :: 3 - Alpha',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
]
)
|
Python
| 0
|
@@ -245,17 +245,17 @@
on='0.0.
-2
+3
',%0A p
|
8e97886c8744c4829f54a1d05167295c0f5453f4
|
Fix typo
|
setup.py
|
setup.py
|
# kept for compability, https://setuptools.pypa.io/en/latest/setuptools.html?highlight=setuptools.setup()#setup-cfg-only-projects
import setuptools
setuptools.setup()
|
Python
| 0.999999
|
@@ -9,16 +9,18 @@
or compa
+ti
bility,
|
5bc082b547bbe00fdaa1cdf7464aa1c46c37d229
|
Update version for release 0.2.10
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name='pluvo',
packages=['pluvo'],
package_data={},
version='0.2.9',
description='Python library to access the Pluvo REST API.',
author='Wend BV',
author_email='info@wend.nl',
license='MIT',
url='https://github.com/wendbv/pluvo-python',
keywords=['REST', 'API', 'Pluvo'],
classifiers=[
'Development Status :: 4 - Beta',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
install_requires=['requests'],
tests_require=['coverage', 'flake8==2.6.2', 'pytest>=2.7', 'pytest-cov',
'pytest-flake8==0.2', 'pytest-mock']
)
|
Python
| 0
|
@@ -115,9 +115,10 @@
0.2.
-9
+10
',%0A
|
8fee28d0285e46a63e70a3a34599ad30935ebcd2
|
version set
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name='django-generate',
version='dev',
description='Django slightly smarter than fixtures content generation app.',
author='Praekelt Consulting',
author_email='dev@praekelt.com',
url='https://github.com/praekelt/django-generate',
packages = find_packages(),
include_package_data=True,
)
|
Python
| 0.000001
|
@@ -86,19 +86,21 @@
ersion='
-dev
+0.0.1
',%0A d
|
8b05b45759efdfe63a0e4a543c8a8e5c33ea8370
|
Use correct package name in setup.py
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import sys
from distutils.core import setup
# TODO: More informative message about Python version support, version reflected
# classifiers argument to setup(). Perhaps setup should fail altogether for
# unsupported Python versions.
if sys.version_info < (2,7) or sys.version_info >= (3,):
print("This package is primarily developed and tested using Python 2.7.*. "
"It may not not work with older or newer Python distributions.")
setup(
name='Distutils',
version='0.1.0',
author='OpenElections',
author_email='openelections@gmail.com',
url='http://openelections.net',
packages=['distutils', 'distutils.command'],
scripts=[],
)
|
Python
| 0
|
@@ -484,17 +484,26 @@
me='
-Distutils
+OpenElections Core
',%0A
@@ -649,38 +649,16 @@
s=%5B'
-distutils', 'distutils.command
+openelex
'%5D,%0A
|
2da25a9a6e3872856f22d60bd0b6a9ba0982ee54
|
build with pybuild
|
setup.py
|
setup.py
|
# coding=utf-8
import os
import subprocess
import sys
import textwrap
from setuptools import Command, Extension, setup
from setuptools.command.test import test as TestCommand
# Import version even when extensions are not yet built
__builtins__.__LIGHTFM_SETUP__ = True
from lightfm import __version__ as version # NOQA
def define_extensions(use_openmp):
compile_args = ['-ffast-math']
# There are problems with illegal ASM instructions
# when using the Anaconda distribution (at least on OSX).
# This could be because Anaconda uses its own assembler?
# To work around this we do not add -march=native if we
# know we're dealing with Anaconda
if 'anaconda' not in sys.version.lower():
compile_args.append('-march=native')
if not use_openmp:
print('Compiling without OpenMP support.')
return [Extension("lightfm._lightfm_fast_no_openmp",
['lightfm/_lightfm_fast_no_openmp.c'],
extra_compile_args=compile_args)]
else:
return [Extension("lightfm._lightfm_fast_openmp",
['lightfm/_lightfm_fast_openmp.c'],
extra_link_args=["-fopenmp"],
extra_compile_args=compile_args + ['-fopenmp'])]
class Cythonize(Command):
"""
Compile the extension .pyx files.
"""
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def generate_pyx(self):
openmp_import = textwrap.dedent("""
from cython.parallel import parallel, prange
cimport openmp
""")
lock_init = textwrap.dedent("""
cdef openmp.omp_lock_t THREAD_LOCK
openmp.omp_init_lock(&THREAD_LOCK)
""")
params = (('no_openmp', dict(openmp_import='',
nogil_block='with nogil:',
range_block='range',
thread_num='0',
lock_init='',
lock_acquire='',
lock_release='')),
('openmp', dict(openmp_import=openmp_import,
nogil_block='with nogil, parallel(num_threads=num_threads):',
range_block='prange',
thread_num='openmp.omp_get_thread_num()',
lock_init=lock_init,
lock_acquire='openmp.omp_set_lock(&THREAD_LOCK)',
lock_release='openmp.omp_unset_lock(&THREAD_LOCK)')))
file_dir = os.path.join(os.path.dirname(__file__),
'lightfm')
with open(os.path.join(file_dir,
'_lightfm_fast.pyx.template'), 'r') as fl:
template = fl.read()
for variant, template_params in params:
with open(os.path.join(file_dir,
'_lightfm_fast_{}.pyx'.format(variant)),
'w') as fl:
fl.write(template.format(**template_params))
def run(self):
from Cython.Build import cythonize
self.generate_pyx()
cythonize([Extension("lightfm._lightfm_fast_no_openmp",
['lightfm/_lightfm_fast_no_openmp.pyx']),
Extension("lightfm._lightfm_fast_openmp",
['lightfm/_lightfm_fast_openmp.pyx'],
extra_link_args=['-fopenmp'])])
class Clean(Command):
"""
Clean build files.
"""
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
pth = os.path.dirname(os.path.abspath(__file__))
subprocess.call(['rm', '-rf', os.path.join(pth, 'build')])
subprocess.call(['rm', '-rf', os.path.join(pth, 'lightfm.egg-info')])
subprocess.call(
['find', pth, '-name', 'lightfm*.pyc', '-type', 'f', '-delete'])
subprocess.call(
['rm', os.path.join(pth, 'lightfm', '_lightfm_fast.so')])
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = ['tests/']
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
# import here, cause outside the eggs aren't loaded
import pytest
errno = pytest.main(self.pytest_args)
sys.exit(errno)
use_openmp = not sys.platform.startswith('darwin') and not sys.platform.startswith('win')
setup(
name='lightfm',
version=version,
description='LightFM recommendation model',
url='https://github.com/lyst/lightfm',
download_url='https://github.com/lyst/lightfm/tarball/{}'.format(version),
packages=['lightfm',
'lightfm.datasets'],
package_data={'': ['*.c']},
install_requires=['numpy', 'scipy>=0.17.0', 'requests'],
tests_require=['pytest', 'requests', 'scikit-learn'],
cmdclass={'test': PyTest, 'cythonize': Cythonize, 'clean': Clean},
author='Lyst Ltd (Maciej Kula)',
author_email='data@ly.st',
license='MIT',
classifiers=['Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Topic :: Scientific/Engineering :: Artificial Intelligence'],
ext_modules=define_extensions(use_openmp)
)
|
Python
| 0.999999
|
@@ -3719,32 +3719,106 @@
user_options = %5B
+%0A ('all', None, '(Compatibility with original clean command)')%0A
%5D%0A%0A def initi
@@ -3838,36 +3838,48 @@
(self):%0A
-pass
+self.all = False
%0A%0A def finali
|
2dbf8746a15449044f777b3c87f5586a0ec9dfc3
|
change version number and add bibtex in setup.py
|
setup.py
|
setup.py
|
from __future__ import print_function
import os
import sys
import shutil
# custom build script
if sys.argv[1] in ["build", "install"]:
import gpkit.build
from distutils.core import setup
long_description = """
GPkit
*****
GPkit is a Python package for defining and manipulating
geometric programming models,
abstracting away the backend solver.
Supported solvers are
`MOSEK <http://mosek.com>`_
and `CVXopt <http://cvxopt.org/>`_.
`Documentation <http://gpkit.readthedocs.org/>`_
`Install instructions <http://gpkit.readthedocs.org/en/latest/installation.html>`_
`Examples <http://gpkit.readthedocs.org/en/latest/examples.html>`_
`Glossary <http://gpkit.readthedocs.org/en/latest/glossary.html>`_
"""
license = """The MIT License (MIT)
Copyright (c) 2015 MIT Convex Optimization Group
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE."""
setup(
name='gpkit',
description='Package for defining and manipulating geometric programming models.',
author='Convex Optimization Group at MIT ACDL',
author_email='convex@mit.edu',
url='https://www.github.com/convexopt/gpkit',
install_requires=['numpy', 'ctypesgen>=0.r125'],
version='0.0.4',
packages=['gpkit', 'gpkit._mosek', 'gpkit.tests', 'gpkit.interactive'],
package_data={'gpkit': ['env/*'],
'gpkit._mosek': ['lib/*']},
license=license,
long_description=long_description,
)
|
Python
| 0
|
@@ -704,16 +704,280 @@
tml%3E%60_%0A%0A
+If you use GPkit, please cite it using the following bibtex::%0A%60%60%60%0A@Misc%7Bgpkit,%0A author = %7BMIT Convex Optimization Group%7D,%0A title = %7BGPkit%7D,%0A howpublished = %7B%5Curl%7Bhttps://github.com/convexopt/gpkit%7D%7D,%0A year = %7B2015%7D,%0A note = %7BRelease 0.1%7D%0A %7D%0A%60%60%60%0A%0A
%22%22%22%0A%0Alic
@@ -2407,11 +2407,11 @@
='0.
-0.4
+1.0
',%0A
|
d177f5dd04721f9f50c628e3e54bea975e022b3a
|
Increase version number to 1.3.12
|
setup.py
|
setup.py
|
import sys
from os import path
import setuptools
if sys.version_info < (3, 6):
sys.exit("Sorry, Python < 3.6 is not supported")
DESCRIPTION = (
"A django survey app, based on and compatible with "
'"django-survey". You will be able to migrate your data from an ancient '
"version of django-survey, but it has been ported to python 3 and you can "
"export results as CSV or PDF using your native language."
)
THIS_DIRECTORY = path.abspath(path.dirname(__file__))
with open(path.join(THIS_DIRECTORY, "readme.md"), encoding="utf-8") as f:
LONG_DESCRIPTION = f.read()
setuptools.setup(
name="django-survey-and-report",
version="1.3.11",
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
author="Pierre SASSOULAS",
author_email="pierre.sassoulas@gmail.com",
license="AGPL",
url="https://github.com/Pierre-Sassoulas/django-survey",
packages=setuptools.find_packages(),
include_package_data=True,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Natural Language :: English",
"Natural Language :: French",
"Natural Language :: Japanese",
"Topic :: Utilities",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU Affero General Public License v3",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Framework :: Django",
],
install_requires=[
"django>=2.1.6",
"django-bootstrap-form>=3.4",
"django-tastypie>=0.14.2", # API
"django-registration>=3.0", # account logic, views and workflows
"pytz>=2018.9",
"ordereddict>=1.1",
"pyyaml>=4.2b1",
"pySankeyBeta>=1.0.5",
],
extras_require={
"dev": [
"django-rosetta",
"coverage",
"python-coveralls",
"mock",
"coveralls",
"colorama",
"pylint",
"flake8",
"pre-commit",
]
},
)
|
Python
| 0.000136
|
@@ -660,17 +660,17 @@
n=%221.3.1
-1
+2
%22,%0A d
|
8b86b5bcbef829adf6770d4a3e7aedfe310e46f7
|
Version bump: 0.6.8.
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
VERSION = (0, 6, 7)
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
version = '.'.join(map(str, VERSION))
if __name__ == '__main__':
setup(
name='mongorm',
version=version,
author='Rahul AG',
author_email='r@hul.ag',
description=('An extremely thin ORM-ish wrapper over pymongo.'),
long_description=read('README.rst'),
license = 'BSD',
keywords = ['mongodb', 'mongo', 'orm', 'odm'],
url = 'https://github.com/rahulg/mongorm',
packages=['mongorm', 'tests'],
classifiers=[
'Development Status :: 3 - Alpha',
'Topic :: Database :: Front-Ends',
'License :: OSI Approved :: BSD License',
'Intended Audience :: Developers',
'Operating System :: OS Independent'
],
test_suite='tests',
install_requires=[
'pymongo',
'inflection',
],
)
|
Python
| 0
|
@@ -101,9 +101,9 @@
6,
-7
+8
)%0A%0A%0A
|
737a76ed5b5b0b0720deca2804fa9dd1d79e0fa1
|
Bump version to 0.6.0
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup, find_packages
tests_require = [
'Django>=1.2',
'unittest2',
]
setup(
name='django-perftools',
version='0.5.1',
author='DISQUS',
author_email='opensource@disqus.com',
url='http://github.com/disqus/django-perftools',
description = '',
packages=find_packages(exclude=["tests"]),
zip_safe=False,
install_requires=[],
license='Apache License 2.0',
tests_require=tests_require,
extras_require={'test': tests_require},
test_suite='unittest2.collector',
include_package_data=True,
classifiers=[
'Framework :: Django',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Topic :: Software Development'
],
)
|
Python
| 0.000001
|
@@ -173,11 +173,11 @@
='0.
-5.1
+6.0
',%0A
|
2e98698ceca209538ef6d51b4a847d26443bae3e
|
Version bump to 0.5.1 (#13)
|
setup.py
|
setup.py
|
from codecs import open
from os import path
from setuptools import setup
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
readme = f.read()
with open(path.join(here, 'requirements', 'install.txt'),
encoding='utf-8') as f:
install_requires = f.read().splitlines()
setup(
name='analyzere',
version='0.5',
description='Python wrapper for the Analyze Re API.',
long_description=readme,
url='https://github.com/analyzere/analyzere-python',
author='Analyze Re',
author_email='support@analyzere.com',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development :: Libraries :: Python Modules',
],
packages=[
'analyzere',
],
install_requires=install_requires
)
|
Python
| 0
|
@@ -383,16 +383,18 @@
ion='0.5
+.1
',%0A d
|
e81d5f85266f937ddc4771534875e9d02d306e84
|
Bump wcxf version to 1.2
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
with open('flavio/_version.py') as f:
exec(f.read())
setup(name='flavio',
version=__version__,
author='David M. Straub',
author_email='david.straub@tum.de',
url='https://flav-io.github.io',
description='A Python package for flavour physics phenomenology in the Standard Model and beyond',
long_description="""``flavio`` is a package to compute observables in flavour physics
both within the Standard Model of particle physics and in the presence of new
physics encoded in Wilson coefficients of local dimension-6 operators.
Observables implemented include rare B meson decays and meson-antimeson
mixing.""",
license='MIT',
packages=find_packages(),
package_data={
'flavio':['data/*.yml',
'data/test/*',
'physics/data/arXiv-0810-4077v3/*',
'physics/data/arXiv-1503-05534v1/*',
'physics/data/arXiv-1503-05534v2/*',
'physics/data/arXiv-1501-00367v2/*',
'physics/data/arXiv-1602-01399v1/*',
'physics/data/pdg/*',
'physics/data/qcdf_interpolate/*',
'physics/data/wcsm/*',
]
},
install_requires=['numpy', 'scipy>=0.14', 'setuptools>=3.3', 'pyyaml', 'mpmath',
'wcxf', 'ckmutil', ],
extras_require={
'testing': ['nose'],
'plotting': ['matplotlib>=1.4'],
'sampling': ['pypmc>=1.1', 'emcee', 'iminuit',],
},
)
|
Python
| 0
|
@@ -1381,16 +1381,21 @@
'wcxf
+%3E=1.2
', 'ckmu
|
26760103ec785b7e76bee85feb43f85a6cc19f38
|
remove setup_requires b/c it was problematic for conda-forge
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import os
import re
import shutil
import sys
try:
from setuptools import setup, Command
from setuptools.extension import Extension
except ImportError:
raise RuntimeError('setuptools is required')
import versioneer
DESCRIPTION = ('A set of functions and classes for simulating the ' +
'performance of photovoltaic energy systems.')
LONG_DESCRIPTION = """
PVLIB Python is a community supported tool that provides a set of
functions and classes for simulating the performance of photovoltaic
energy systems. PVLIB Python was originally ported from the PVLIB MATLAB
toolbox developed at Sandia National Laboratories and it implements many
of the models and methods developed at the Labs. More information on
Sandia Labs PV performance modeling programs can be found at
https://pvpmc.sandia.gov/. We collaborate with the PVLIB MATLAB project,
but operate independently of it.
We need your help to make pvlib-python a great tool!
Documentation: http://pvlib-python.readthedocs.io
Source code: https://github.com/pvlib/pvlib-python
"""
DISTNAME = 'pvlib'
LICENSE = 'BSD 3-Clause'
AUTHOR = 'PVLIB Python Developers'
MAINTAINER_EMAIL = 'holmgren@email.arizona.edu'
URL = 'https://github.com/pvlib/pvlib-python'
INSTALL_REQUIRES = ['numpy >= 1.9.0',
'pandas >= 0.14.0',
'pytz',
'six',
]
SETUP_REQUIRES = ['pytest-runner']
TESTS_REQUIRE = ['pytest', 'nose']
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Intended Audience :: Science/Research',
'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 :: 3.5',
'Topic :: Scientific/Engineering',
]
setuptools_kwargs = {
'zip_safe': False,
'scripts': [],
'include_package_data': True
}
# set up pvlib packages to be installed and extensions to be compiled
PACKAGES = ['pvlib']
extensions = []
spa_sources = ['pvlib/spa_c_files/spa.c', 'pvlib/spa_c_files/spa_py.c']
spa_depends = ['pvlib/spa_c_files/spa.h']
spa_all_file_paths = map(lambda x: os.path.join(os.path.dirname(__file__), x),
spa_sources + spa_depends)
if all(map(os.path.exists, spa_all_file_paths)):
print('all spa_c files found')
PACKAGES.append('pvlib.spa_c_files')
spa_ext = Extension('pvlib.spa_c_files.spa_py',
sources=spa_sources, depends=spa_depends)
extensions.append(spa_ext)
else:
print('WARNING: spa_c files not detected. ' +
'See installation instructions for more information.')
setup(name=DISTNAME,
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
packages=PACKAGES,
install_requires=INSTALL_REQUIRES,
setup_requires=SETUP_REQUIRES,
tests_require=TESTS_REQUIRE,
ext_modules=extensions,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
author=AUTHOR,
maintainer_email=MAINTAINER_EMAIL,
license=LICENSE,
url=URL,
classifiers=CLASSIFIERS,
**setuptools_kwargs)
|
Python
| 0
|
@@ -1414,43 +1414,8 @@
%5D%0A
-SETUP_REQUIRES = %5B'pytest-runner'%5D%0A
TEST
@@ -3005,45 +3005,8 @@
ES,%0A
- setup_requires=SETUP_REQUIRES,%0A
|
f0216d291337bce4241a40bb05c79e6d43d9b9c2
|
Fix indentation.
|
setup.py
|
setup.py
|
#!/usr/bin/env python
#coding: utf-8
import os, sys
from setuptools import setup, find_packages
EXCLUDE_FROM_PACKAGES = ['cms.project_template',
'cms.bin']
setup(
name = "cms",
version = "1.0.4",
url = "https://github.com/onespacemedia/cms",
author = "Daniel Samuels",
author_email = "daniel@onespacemedia.com",
license = "BSD",
packages=find_packages(exclude=EXCLUDE_FROM_PACKAGES),
include_package_data=True,
scripts = ['cms/bin/start_cms_project.py'],
zip_safe=False,
install_requires = ['psycopg2', 'django-suit', 'django-optimizations', 'Pillow', 'django-reversion', 'django-usertools', 'django-historylinks', 'django-watson', 'South'],
)
|
Python
| 0.000007
|
@@ -185,17 +185,20 @@
%0Asetup(%0A
-%09
+
name = %22
@@ -272,25 +272,28 @@
media/cms%22,%0A
-%09
+
author = %22Da
@@ -307,17 +307,20 @@
muels%22,%0A
-%09
+
author_e
@@ -354,17 +354,20 @@
a.com%22,%0A
-%09
+
license
@@ -537,9 +537,12 @@
se,%0A
-%09
+
inst
|
870d8f73ee1b4584220b09c6ac2b87ccd43b78a0
|
Fix style problems in setup.py
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup, find_packages
import hadmin_test
setup(
name = "HAdmin",
version = "0.1",
packages = find_packages(),
author = "Alec Ten Harmsel",
author_email = "alec@alectenharmsel.com",
description = "A Hadoop configuration manager",
url = "http://github.com/trozamon/hadmin",
license = "MIT",
test_suite = "hadmin_test",
setup_requires = ['flake8']
)
|
Python
| 0.000001
|
@@ -63,27 +63,8 @@
ages
-%0Aimport hadmin_test
%0A%0Ase
@@ -76,19 +76,13 @@
-
-
name
- =
+=
%22HAd
@@ -95,33 +95,23 @@
-
-
version
- =
+=
%220.1%22,%0A
-
@@ -118,19 +118,17 @@
packages
- =
+=
find_pac
@@ -136,20 +136,16 @@
ages(),%0A
-
auth
@@ -146,19 +146,17 @@
author
- =
+=
%22Alec Te
@@ -171,20 +171,16 @@
l%22,%0A
-
-
author_e
@@ -183,19 +183,17 @@
or_email
- =
+=
%22alec@al
@@ -215,20 +215,16 @@
m%22,%0A
-
-
descript
@@ -226,19 +226,17 @@
cription
- =
+=
%22A Hadoo
@@ -269,18 +269,12 @@
- url =
+url=
%22htt
@@ -306,20 +306,16 @@
admin%22,%0A
-
lice
@@ -321,27 +321,20 @@
ense
- =
+=
%22MIT%22,%0A
-%0A
-
test
@@ -339,19 +339,17 @@
st_suite
- =
+=
%22hadmin_
@@ -359,17 +359,12 @@
t%22,%0A
-%0A
-
setu
@@ -377,11 +377,9 @@
ires
- =
+=
%5B'fl
|
a9e007f2876c7356311975eb11232f11aba80625
|
Add classifiers, platforms
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name='django-kewl',
version=".".join(map(str, __import__('short_url').__version__)),
packages=['django_kewl'],
url='https://github.com/Alir3z4/django-kewl',
license='BSD',
author='Alireza Savand',
author_email='alireza.savand@gmail.com',
description='Set of Django kewl utilities & helpers & highly used/needed stuff.',
long_description=open('README.rst').read(),
)
|
Python
| 0.000048
|
@@ -430,10 +430,543 @@
read(),%0A
+ platforms='OS Independent',%0A platforms='OS Independent',%0A classifiers=%5B%0A 'Development Status :: 5 - Production/Stable',%0A 'Environment :: Web Environment',%0A 'Intended Audience :: Developers',%0A 'Operating System :: OS Independent',%0A 'Framework :: Django',%0A 'Programming Language :: Python',%0A 'Programming Language :: Python :: 2',%0A 'Programming Language :: Python :: 2.6',%0A 'Programming Language :: Python :: 2.7',%0A 'Topic :: Software Development'%0A %5D,%0A
)%0A
|
54e230abcece4f8536b3b456b901610465fc7363
|
Bump number, I'll release 0.8 soon.
|
setup.py
|
setup.py
|
#!/usr/bin/env python2
__author__ = "Gustavo Sverzut Barbieri"
__author_email__ = "barbieri@gmail.com"
__license__ = "LGPL"
__url__ = "http://www.gustavobarbieri.com.br/eagle/"
__version__ = "0.7"
__revision__ = "$Rev: 20 $"
__description__ = """\
Eagle is an abstraction layer atop Graphical Toolkits focused on making simple applications easy to build while powerful in features.
"""
__long_description__ = """\
Eagle is an abstraction layer atop Graphical Toolkits focused on
making simple applications easy to build while powerful in features.
With Eagle you have many facilities to build application that needs
just some buttons, user input and a canvas to draw.
Canvas is really simple, what makes Eagle a great solution to
Computer Graphics and Image Processing software, the primary focus
of this library.
User input widgets are persistent, you just need to mark them
"persistent" or put them in the preferences area.
Eagle is not meant to be another Graphical Toolkit, you already
have a bunch of them, like Qt, Gtk, wxWidgets (to name just a few).
It's focused on applications that have few windows, with buttons,
simple user input and canvas. Widgets are laid out automatically
in 5 areas: left, right, top, bottom and center.
It provides useful widgets like: Color selector, Font selector,
Quit button, Preferences button and bialog, About dialog and Help
dialog.
"""
import os
import sys
from glob import glob
import ez_setup
ez_setup.use_setuptools()
import setuptools
pjoin = os.path.join
blacklist_start = [ "." ]
blacklist_end = [ "~", ".pyc", ".pyo" ]
def listfiles( *args ):
p = pjoin( *args )
files = glob( p )
r = []
for f in files:
if os.path.isfile( f ):
fname = os.path.basename( f )
for b in blacklist_start:
if fname.startswith( b ):
break
else:
for b in blacklist_end:
if fname.endswith( b ):
break
else:
r.append( f )
return r
def recursive_data_files( *args ):
files = listfiles( *args )
dirname = list( args[ : -1 ] or [ "." ] )
d = pjoin( *dirname )
ret = [ ( d, files ) ]
try:
l = os.listdir( d )
except OSError, e:
return []
for f in l:
if f.startswith( "." ):
continue
fp = pjoin( d, f )
if os.path.isdir( fp ):
a = dirname + [ f, args[ -1 ] ]
ret.extend( recursive_data_files( *a ) )
return ret
def setup( module, install_requires=None, data_files=None ):
data_files = list( data_files or [] )
data_files += [
( "tests", listfiles( "tests", "*" ) ),
( "examples", listfiles( "examples", "*" ) ),
]
data_files += recursive_data_files( module, "share", "*" )
docs = recursive_data_files( "docs", "*" )
for i, ( d, f ) in enumerate( docs ):
docs[ i ] = ( d, f )
data_files += docs
# prefix data_files with share/python2.4-maemo/
pkg = "python%s.%s-eagle" % ( sys.version_info[ 0 ],
sys.version_info[ 1 ] )
prefix = "share/%s" % pkg
doc_prefix = "share/doc/%s" % pkg
tmp = []
doc = "docs"
module_doc = pjoin( module, "share", "docs" )
for ( a, b ) in data_files:
if a.startswith( doc ):
p = pjoin( doc_prefix, a[ len( doc ) + 1 : ] )
elif a.startswith( module_doc ):
p = pjoin( doc_prefix, a[ len( module_doc ) + 1 : ] )
else:
p = pjoin( prefix, a )
if b:
tmp.append( ( p, b ) )
data_files = tmp
return setuptools \
.setup( name=("eagle-%s" % module),
py_modules=[ "eagle" ],
package_dir = { '': module },
include_package_data=True,
data_files=data_files,
install_requires=install_requires,
version=__version__,
description=__description__,
long_description=__long_description__,
url=__url__,
license=__license__,
author=__author__,
author_email=__author_email__,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: X11 Applications",
"Environment :: Win32 (MS Windows)",
"Environment :: MacOS X",
"License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)",
"Operating System :: OS Independent",
"Programming Language :: Python",
]
)
cwd = os.path.basename( os.getcwd() ).split( '-' )
if len( cwd ) > 1:
module = cwd[ 1 ]
else:
module = None
if __name__ == "__main__":
## Enable module based on directory name:
# eagle-MODULE[-version] will build just MODULE
# if MODULE is missing, build everything
if not module or module == "gtk":
setup( "gtk", [] )
if not module or module == "maemo":
setup( "maemo", [] )
|
Python
| 0
|
@@ -192,9 +192,9 @@
%220.
-7
+8
%22%0A__
|
fddab75d614d6d063731c76046969b382c41c430
|
Fix setup.py to use 2to3.
|
setup.py
|
setup.py
|
from distutils.core import setup
import os
# Compile the list of packages available, because distutils doesn't have
# an easy way to do this.
packages, data_files = [], []
root_dir = os.path.dirname(__file__)
if root_dir:
os.chdir(root_dir)
for dirpath, dirnames, filenames in os.walk('registration'):
# Ignore dirnames that start with '.'
for i, dirname in enumerate(dirnames):
if dirname.startswith('.'): del dirnames[i]
if '__init__.py' in filenames:
pkg = dirpath.replace(os.path.sep, '.')
if os.path.altsep:
pkg = pkg.replace(os.path.altsep, '.')
packages.append(pkg)
elif filenames:
prefix = dirpath[13:] # Strip "registration/" or "registration\"
for f in filenames:
data_files.append(os.path.join(prefix, f))
setup(name='django-registration-me',
version='0.7.2',
description='An extensible user-registration application for Django using MongoEngine',
author='Serge Matveenko',
author_email='s@matveenko.ru',
url='https://github.com/lig/django-registration-me',
package_dir={'registration_me': 'registration'},
packages=packages,
package_data={'registration_me': data_files},
classifiers=['Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities'],
)
|
Python
| 0
|
@@ -1,8 +1,154 @@
+try:%0A from distutils.command.build_py import build_py_2to3 as build_py%0Aexcept ImportError:%0A from distutils.command.build_py import build_py%0A
from dis
@@ -958,16 +958,59 @@
%0A%0Asetup(
+%0A cmdclass = %7B'build_py':build_py%7D,%0A
name='dj
@@ -1036,18 +1036,16 @@
e',%0A
-
version=
@@ -1053,18 +1053,16 @@
0.7.2',%0A
-
desc
@@ -1141,26 +1141,24 @@
ngoEngine',%0A
-
author='
@@ -1179,18 +1179,16 @@
o',%0A
-
author_e
@@ -1210,18 +1210,16 @@
ko.ru',%0A
-
url=
@@ -1267,26 +1267,24 @@
on-me',%0A
-
-
package_dir=
@@ -1320,26 +1320,24 @@
tion'%7D,%0A
-
packages=pac
@@ -1343,26 +1343,24 @@
ckages,%0A
-
-
package_data
@@ -1397,18 +1397,16 @@
s%7D,%0A
-
classifi
@@ -1410,16 +1410,25 @@
ifiers=%5B
+%0A
'Develop
@@ -1474,27 +1474,16 @@
-
-
'Environ
@@ -1516,27 +1516,16 @@
-
-
'Framewo
@@ -1547,27 +1547,16 @@
-
-
'Intende
@@ -1590,27 +1590,16 @@
-
-
'License
@@ -1632,27 +1632,16 @@
cense',%0A
-
@@ -1678,27 +1678,16 @@
ndent',%0A
-
@@ -1720,27 +1720,16 @@
ython',%0A
-
@@ -1752,15 +1752,14 @@
ies'
-%5D,
%0A
-
+%5D,%0A
)%0A
|
7ccbf6b68a581f0163f6064a33958801f0cfac40
|
Update version and remove dependency link
|
setup.py
|
setup.py
|
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='sciunit',
version='0.1.5.5',
author='Rick Gerkin',
author_email='rgerkin@asu.edu',
packages=['sciunit',
'sciunit.tests'],
url='http://github.com/scidash/sciunit',
license='MIT',
description='A test-driven framework for formally validating scientific models against data.',
long_description="",
install_requires=['cypy>=0.2',
'quantities',
'pandas>=0.18',
'ipython>=5.1',
'bs4',
'lxml',
'nbconvert',
'ipykernel',
'nbformat',],
dependency_links = ['git+http://github.com/rgerkin/cypy'],
entry_points={
'console_scripts': [
'sciunit = sciunit.__main__:main'
]
}
)
|
Python
| 0
|
@@ -135,17 +135,17 @@
='0.1.5.
-5
+6
',%0A a
@@ -279,34 +279,27 @@
p://
-github.com/scidash/sciunit
+sciunit.scidash.org
',%0A
@@ -780,44 +780,8 @@
= %5B
-'git+http://github.com/rgerkin/cypy'
%5D,%0A
|
a210fde6806070d0c47eaeb34a485e26850dc779
|
make sure all subpackages get installed
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from distutils.core import setup
setup(
name = 'travwave',
description = 'Compute traveling waves',
author='Daulet Moldabayev, Henrik Kalisch, Olivier Verdier',
license = 'MIT',
keywords = ['Math'],
packages=['travwave'],
classifiers = [
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Scientific/Engineering :: Mathematics',
],
zip_safe = False,
)
|
Python
| 0
|
@@ -268,16 +268,79 @@
ravwave'
+, 'travwave.equations', 'travwave.boundary', 'travwave.dynamic'
%5D,%0A%09clas
|
75ebe45f64228e39f196d75a3e3d0cf8a5fcc20f
|
Add unit tests to setup.py
|
setup.py
|
setup.py
|
#!/usr/bin/env python
__author__ = "Keith T. Butler"
__copyright__ = "Copyright Keith T. Butler (2013)"
__version__ = "1.0"
__maintainer__ = "Keith T. Butler"
__email__ = "k.t.butler@bath.ac.uk"
__date__ = "Aug 24 2017"
from setuptools import setup
import os
module_dir = os.path.dirname(os.path.abspath(__file__))
if __name__ == "__main__":
setup(
name='MacroDensity',
version='1.0',
description='Manipulation of electron density',
long_description=open(os.path.join(module_dir, 'README.md')).read(),
url='https://github.com/WMD-group/MacroDensity',
author='Keith T. Butler',
author_email='k.t.butler@bath.ac.uk',
license='GNU General Public License (GPL) v3',
packages=['macrodensity'],
zip_safe=False,
install_requires=['scipy','numpy','spglib','ase'],
classifiers=['Programming Language :: Python',
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering']
)
|
Python
| 0
|
@@ -254,16 +254,32 @@
mport os
+%0Aimport unittest
%0A%0Amodule
@@ -329,16 +329,169 @@
le__))%0A%0A
+def unit_tests():%0A test_loader = unittest.TestLoader()%0A test_suite = test_loader.discover('tests', pattern='unit_tests.py')%0A return test_suite%0A%0A
if __nam
@@ -1314,15 +1314,54 @@
eering'%5D
+,%0A test_suite='setup.unit_tests'
%0A )%0A
|
3bceef110f24e22ca8cc72cf1e33da0c580de767
|
extend classifiers
|
setup.py
|
setup.py
|
from setuptools import setup, Extension
import os, platform
# look for environment variable that specifies path to SCIP Opt lib and headers
scipoptdir = os.environ.get('SCIPOPTDIR', '')
includedir = os.path.abspath(os.path.join(scipoptdir, 'include'))
libdir = os.path.abspath(os.path.join(scipoptdir, 'lib'))
libname = 'libscipopt' if os.name == 'nt' else 'scipopt'
cythonize = True
packagedir = os.path.join('src', 'pyscipopt')
try:
from Cython.Build import cythonize
except ImportError:
if not os.path.exists(os.path.join(packagedir, 'scip.c')):
print('Cython is required')
quit(1)
cythonize = False
if not os.path.exists(os.path.join(packagedir, 'scip.pyx')):
cythonize = False
ext = '.pyx' if cythonize else '.c'
# set runtime libraries
runtime_library_dirs = []
extra_link_args = []
if platform.system() == 'Linux':
runtime_library_dirs.append(libdir)
elif platform.system() == 'Darwin':
extra_link_args.append('-Wl,-rpath,'+libdir)
extensions = [Extension('pyscipopt.scip', [os.path.join(packagedir, 'scip'+ext)],
include_dirs=[includedir],
library_dirs=[libdir],
libraries=[libname],
runtime_library_dirs=runtime_library_dirs,
extra_link_args=extra_link_args
)]
if cythonize:
extensions = cythonize(extensions)
setup(
name = 'PySCIPOpt',
version = '1.1.0',
description = 'Python interface and modeling environment for SCIP',
url = 'https://github.com/SCIP-Interfaces/PySCIPOpt',
author = 'Zuse Institute Berlin',
author_email = 'scip@zib.de',
license = 'MIT',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3'],
ext_modules = extensions,
packages = ['pyscipopt'],
package_dir = {'pyscipopt': packagedir},
package_data = {'pyscipopt': ['scip.pyx', 'scip.pxd', '*.pxi']}
)
|
Python
| 0.000007
|
@@ -1758,16 +1758,98 @@
Beta',%0A
+ 'Intended Audience :: Science/Research',%0A 'Intended Audience :: Education',%0A
'Lic
@@ -1970,16 +1970,108 @@
on :: 3'
+,%0A 'Programming Language :: Cython',%0A 'Topic :: Scientific/Engineering :: Mathematics'
%5D,%0A e
|
d0714dcabc80cc1af98ad3517ddda2dbae0b3e6c
|
add brax to extra_require
|
setup.py
|
setup.py
|
# Copyright 2022 The EvoJAX 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.
from setuptools import find_packages, setup
_dct = {}
with open("evojax/version.py") as f:
exec(f.read(), _dct)
__version__ = _dct["__version__"]
JAX_URL = "https://storage.googleapis.com/jax-releases/jax_releases.html"
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setup(
name="evojax",
version=__version__,
author="Google",
author_email="evojax-dev@google.com",
description="EvoJAX: Hardware-accelerated Neuroevolution.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/google/evojax",
license="Apache 2.0",
packages=[
package for package in find_packages() if package.startswith("evojax")
],
zip_safe=False,
install_requires=[
"flax",
"jax>=0.2.17",
"jaxlib>=0.1.65",
"Pillow",
"cma",
],
extras_require={
"extra": ['evosax', 'torchvision', 'pandas', 'procgen'],
},
dependency_links=[JAX_URL],
python_requires=">=3.6",
classifiers=[
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
)
|
Python
| 0.000001
|
@@ -1561,16 +1561,24 @@
procgen'
+, 'brax'
%5D,%0A %7D
|
46ac25046cb53bf56007d6dc4f4e749a0f0e1da1
|
version 0.9.3
|
setup.py
|
setup.py
|
#
# This file is part of Raviron. Raviron is free software available under
# the terms of the MIT license. See the file "LICENSE" that was provided
# together with this source file for the licensing terms.
#
# Copyright (c) 2015 the Raviron authors. See the file "AUTHORS" for a
# complete list.
import os
from setuptools import setup
version_info = {
'name': 'raviron',
'version': '0.9.2',
'description': 'OpenStack Ironic power control for Ravello Systems',
'author': 'Geert Jansen',
'author_email': 'geertj@gmail.com',
'url': 'https://github.com/geertj/raviron',
'license': 'MIT',
'classifiers': [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4'
]
}
topdir, _ = os.path.split(os.path.abspath(__file__))
def get_requirements():
"""Parse a requirements.txt file and return as a list."""
lines = []
with open(os.path.join(topdir, 'requirements.txt')) as fin:
for line in fin:
lines.append(line.rstrip())
return lines
if __name__ == '__main__':
setup(
packages=['raviron'],
package_dir={'': 'lib'},
install_requires=get_requirements(),
entry_points={'console_scripts': ['raviron = raviron.main:main']},
**version_info)
|
Python
| 0.000004
|
@@ -391,17 +391,17 @@
': '0.9.
-2
+3
',%0A '
|
60aacfe175d4cb704e16088a237f95ad48776d86
|
Version 0.6.0
|
setup.py
|
setup.py
|
"""setup.py file."""
import uuid
from setuptools import setup, find_packages
from pip.req import parse_requirements
__author__ = 'David Barroso <dbarrosop@dravetech.com>'
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
reqs = [str(ir.req) for ir in install_reqs]
setup(
name="napalm-nxos",
version="0.5.3",
packages=find_packages(exclude=["test", "test.*"]),
author="David Barroso",
author_email="dbarrosop@dravetech.com",
description="Network Automation and Programmability Abstraction Layer with Multivendor support",
classifiers=[
'Topic :: Utilities',
'Programming Language :: Python',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS',
],
url="https://github.com/napalm-automation/napalm-nxos",
include_package_data=True,
install_requires=reqs,
)
|
Python
| 0.000001
|
@@ -339,11 +339,11 @@
=%220.
-5.3
+6.0
%22,%0A
|
d25226ad9a8df4ddb4724113b4cce8dd920fc493
|
Add back setup
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import os
import sys
TEST_HELP = """
Note: running tests is no longer done using 'python setup.py test'. Instead
you will need to run:
tox -e test
If you don't already have tox installed, you can install it with:
pip install tox
If you only want to run part of the test suite, you can also use pytest
directly with::
pip install -e .
pytest
For more information, see:
http://docs.astropy.org/en/latest/development/testguide.html#running-tests
"""
if 'test' in sys.argv:
print(TEST_HELP)
sys.exit(1)
DOCS_HELP = """
Note: building the documentation is no longer done using
'python setup.py build_docs'. Instead you will need to run:
tox -e build_docs
If you don't already have tox installed, you can install it with:
pip install tox
For more information, see:
http://docs.astropy.org/en/latest/install.html#builddocs
"""
if 'build_docs' in sys.argv or 'build_sphinx' in sys.argv:
print(DOCS_HELP)
sys.exit(1)
setup(use_scm_version={'write_to': os.path.join('turbustat', 'version.py')})
|
Python
| 0
|
@@ -38,16 +38,46 @@
rt sys%0A%0A
+from setuptools import setup%0A%0A
TEST_HEL
|
21223700ea1f1d0209c967761e5c22635ee721e7
|
Correct PEP8
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
REQUIRES = (
'marshmallow>=2.1.0',
'mongoengine>=0.9.0',
)
def read(fname):
with open(fname) as fp:
content = fp.read()
return content
setup(
name='marshmallow-mongoengine',
version='0.7.7',
description='Mongoengine integration with the marshmallow '
'(de)serialization library',
long_description=read('README.rst'),
author='Emmanuel Leblond',
author_email='emmanuel.leblond@gmail.com',
url='https://github.com/touilleMan/marshmallow-mongoengine',
packages=find_packages(exclude=("test*", )),
package_dir={'marshmallow-mongoengine': 'marshmallow-mongoengine'},
include_package_data=True,
install_requires=REQUIRES,
license='MIT',
zip_safe=False,
keywords='mongoengine marshmallow',
classifiers=[
'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.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
test_suite='tests',
)
|
Python
| 0.000037
|
@@ -225,16 +225,17 @@
ontent%0A%0A
+%0A
setup(%0A
|
36601bc2fc6d1bcdbd700907e2c0173410589f41
|
Bump netort version in reqs
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name='yandextank',
version='1.12.4',
description='a performance measurement tool',
longer_description='''
Yandex.Tank is a performance measurement and load testing automatization tool.
It uses other load generators such as JMeter, ab or phantom inside of it for
load generation and provides a common configuration system for them and
analytic tools for the results they produce.
''',
maintainer='Alexey Lavrenuke (load testing)',
maintainer_email='direvius@yandex-team.ru',
url='http://yandex.github.io/yandex-tank/',
namespace_packages=["yandextank", "yandextank.plugins"],
packages=find_packages(exclude=["tests", "tmp", "docs", "data"]),
install_requires=[
'cryptography>=2.2.1', 'pyopenssl==18.0.0',
'psutil>=1.2.1', 'requests>=2.5.1', 'paramiko>=1.16.0',
'pandas>=0.18.0', 'numpy>=1.12.1', 'future>=0.16.0',
'pip>=8.1.2',
'pyyaml>=4.2b1', 'cerberus==1.2', 'influxdb>=5.0.0', 'netort>=0.6.4',
'retrying>=1.3.3', 'pytest-runner'
],
setup_requires=[
],
tests_require=[
'pytest==4.6.3', 'flake8', 'pytest-benchmark'
],
license='LGPLv2',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)',
'Operating System :: POSIX',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Software Development :: Testing',
'Topic :: Software Development :: Testing :: Traffic Generation',
'Programming Language :: Python :: 2',
],
entry_points={
'console_scripts': [
'yandex-tank = yandextank.core.cli:main',
'yandex-tank-check-ssh = yandextank.common.util:check_ssh_connection',
'tank-postloader = yandextank.plugins.DataUploader.cli:post_loader',
'tank-docs-gen = yandextank.validator.docs_gen:main'
],
},
package_data={
'yandextank.api': ['config/*'],
'yandextank.core': ['config/*'],
'yandextank.aggregator': ['config/*'],
'yandextank.plugins.Android': ['binary/*', 'config/*'],
'yandextank.plugins.Autostop': ['config/*'],
'yandextank.plugins.Bfg': ['config/*'],
'yandextank.plugins.Console': ['config/*'],
'yandextank.plugins.DataUploader': ['config/*'],
'yandextank.plugins.InfluxUploader': ['config/*'],
'yandextank.plugins.JMeter': ['config/*'],
'yandextank.plugins.JsonReport': ['config/*'],
'yandextank.plugins.Pandora': ['config/*'],
'yandextank.plugins.Phantom': ['config/*'],
'yandextank.plugins.RCAssert': ['config/*'],
'yandextank.plugins.ResourceCheck': ['config/*'],
'yandextank.plugins.ShellExec': ['config/*'],
'yandextank.plugins.ShootExec': ['config/*'],
'yandextank.plugins.Telegraf': ['config/*'],
'yandextank.plugins.NeUploader': ['config/*']
},
use_2to3=False, )
|
Python
| 0
|
@@ -1018,17 +1018,17 @@
rt%3E=0.6.
-4
+6
',%0A
|
27b08ae644d76853241b16d0a45e751c15467df5
|
Fix setup module
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import os
import re
from setuptools import setup, find_packages
version = re.compile(r'VERSION\s*=\s*\((.*?)\)')
def get_package_version():
"returns package version without importing it"
base = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(base, "tracker/__init__.py")) as initf:
for line in initf:
m = version.match(line.strip())
if not m:
continue
return ".".join(m.groups()[0].split(", "))
classes = """
Development Status :: 3 - Alpha
Intended Audience :: Developers
License :: OSI Approved :: BSD License
Topic :: System :: Monitoring
Topic :: System :: Distributed Computing
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Programming Language :: Python :: Implementation :: CPython
Operating System :: OS Independent
"""
classifiers = [s.strip() for s in classes.split('\n') if s]
setup(
name='celery-tracker',
version=get_package_version(),
description='Celery Send Stats',
long_description=open('README.rst').read(),
author='Tatsuo Ikeda',
author_email='jp.ne.co.jp at gmail.com',
url='https://github.com/ikeikeikeike/celery-tracker',
license='MIT',
classifiers=classifiers,
packages=find_packages(exclude=['tests', 'tests.*']),
install_requires=[
'celery',
'celerymon',
'simplejson',
'tornado',
'fluent-logger',
'zbxsend'
],
package_data={'tracker': ['templates/*', 'static/**/*']},
entry_points={
"console_scripts": [
"tracker = tracker.bin.tracker:main",
],
"celery.commands": [
"tracker = tracker.bin.tracker:TrackerDelegate",
],
}
)
|
Python
| 0.000001
|
@@ -1134,74 +1134,174 @@
on='
-Celery Send Stats',%0A long_description=open('README.rst').read()
+Receive/Sending event tracking data for the Celery',%0A long_description=open('README.rst').read(),%0A keywords=%5B'django', 'celery', 'tracking', 'agent', 'metrics'%5D
,%0A
|
a292192c64c6c965d817617334a36f84c6b7fb98
|
update setup.py
|
setup.py
|
setup.py
|
from setuptools import find_packages, setup
from kenchi import __version__
with open('README.rst') as f:
readme = f.read()
with open('requirements.txt') as f:
requires = f.read().splitlines()
setup(
name = 'kenchi',
version = __version__,
author = 'Kon',
author_email = 'kon.y.ohr.n@gmail.com',
url = 'http://kenchi.readthedocs.io',
description = 'A set of python modules for anomaly detection',
long_description = readme,
license = 'new BSD',
packages = find_packages(exclude=['tests']),
install_requires = requires,
test_suite = 'kenchi.tests.suite'
)
|
Python
| 0.000001
|
@@ -114,32 +114,36 @@
eadme
+
= f.read()%0A%0Awith
@@ -187,32 +187,36 @@
equires
+
= f.read().split
@@ -248,24 +248,28 @@
+
= 'kenchi',%0A
@@ -289,16 +289,20 @@
+
+
= __vers
@@ -329,16 +329,20 @@
+
= 'Kon',
@@ -359,24 +359,28 @@
r_email
+
= 'kon.y.ohr
@@ -415,16 +415,20 @@
+
+
= 'http:
@@ -474,16 +474,20 @@
on
+
= 'A set
@@ -550,16 +550,20 @@
ription
+
= readme
@@ -585,16 +585,20 @@
+
= 'new B
@@ -623,16 +623,20 @@
+
= find_p
@@ -663,16 +663,49 @@
sts'%5D),%0A
+ include_package_data = True,%0A
inst
@@ -717,16 +717,20 @@
equires
+
= requir
@@ -750,24 +750,28 @@
suite
+
= 'kenchi.te
|
4710ee93e4b9c4a9410d360b480f1fbe49574b9d
|
change version number 1.2.1 -> 1.2.2
|
setup.py
|
setup.py
|
from distutils.core import setup
VERSION = '1.2.1'
AUTHOR_NAME = 'Andy Port'
AUTHOR_EMAIL = 'AndyAPort@gmail.com'
setup(name='svgpathtools',
packages=['svgpathtools'],
version=VERSION,
description=('A collection of tools for manipulating and analyzing SVG '
'Path objects and Bezier curves.'),
# long_description=open('README.rst').read(),
author=AUTHOR_NAME,
author_email=AUTHOR_EMAIL,
url='https://github.com/mathandy/svgpathtools',
download_url = 'http://github.com/mathandy/svgpathtools/tarball/' + VERSION,
license='MIT',
# install_requires=['numpy', 'svgwrite'],
platforms="OS Independent",
# test_suite='tests',
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.000276
|
@@ -42,17 +42,17 @@
= '1.2.
-1
+2
'%0AAUTHOR
|
c9dffda5584837ff82b7bbf146a9fa58f44cb168
|
Add description and remove trailing whitespace
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import sys
import re
try:
from setuptools import setup, find_packages
except ImportError:
print('Spunky Bot needs setuptools in order to build. Install it using'
' your package manager (usually python-setuptools) or via pip (pip'
' install setuptools).')
sys.exit(1)
if sys.version_info < (2, 6):
raise NotImplementedError('Sorry, you need at least Python 2.6.')
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", open('spunky.py').read()))
long_description = """Overview
========
Spunky Bot is a lightweight game server administration bot and RCON tool.
Its purpose is to administer, manage and maintain an Urban Terror server and
to provide real time statistical data for players.
Spunky Bot is a cross-platform package and offers in-game commands without
authentication and automated administration even when no admin is online.
Your gameserver can be enhanced with the ultimate administration power that
Spunky Bot brings! The all-in-one server administration bot for Urban Terror
gives admins the power to easily manage and administrate their server.
It allows players access to statistics and gives powerful options to manage
the flow of a game.
Spunky Bot is free and open source, released under the MIT license.
There are no software requirements, Spunky Bot is running "out of the box".
The installation is just click and go. There is no need to install a heavy
MySQL database, SQLite is used to boost up the performance and to reduce the
memory footprint.
Installation
============
::
pip install spunkybot
"""
setup(name='spunkybot',
version=metadata['version'],
description='An automated game server bot and RCON tool for Urban Terror',
long_description=long_description,
author='Alexander Kress',
author_email='feedback@spunkybot.de',
url='http://spunkybot.de/',
keywords='Urban Terror Game Administration RCON Bot',
download_url='http://github.com/spunkybot/spunkybot/tarball/master',
license='MIT',
install_requires=['setuptools'],
py_modules=['spunky'],
package_dir={'conf': 'conf', 'lib': 'lib'},
packages=find_packages(exclude=['tests*']),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: System :: Logging',
'Topic :: System :: Systems Administration',
'Topic :: Utilities',
],
data_files=[('', ['debian-startscript', 'README.md', 'LICENSE']),
('lib', ['lib/GeoIP.dat'])],
)
|
Python
| 0.000211
|
@@ -346,17 +346,16 @@
(2, 6):
-
%0A rai
@@ -416,17 +416,16 @@
n 2.6.')
-
%0A%0Ametada
@@ -614,17 +614,16 @@
ON tool.
-
%0AIts pur
@@ -668,16 +668,17 @@
tain an
+%60
Urban Te
@@ -681,16 +681,18 @@
n Terror
+%60_
server
@@ -694,17 +694,16 @@
rver and
-
%0Ato prov
@@ -821,17 +821,16 @@
without
-
%0Aauthent
@@ -1049,17 +1049,16 @@
n Terror
-
%0Agives a
@@ -1276,16 +1276,17 @@
the MIT
+_
license
@@ -1538,63 +1538,558 @@
t.%0A%0A
-Installation%0A============%0A::%0A%0A pip install spunkybot
+Features%0A========%0A* Lightweight and fast%0A* Real time game statistics%0A* Different user groups and levels%0A* Supports all RCON commands%0A* Supports temporary and permanent bans of players%0A* Supports rotation messages%0A%0AInstallation%0A============%0A::%0A%0A pip install spunkybot%0A%0A%0ASee the Homepage_ for usage and documentation or visit the Git Repository_%0Afor the source code.%0A%0A.. _Urban Terror: http://www.urbanterror.info/%0A.. _MIT: http://opensource.org/licenses/MIT%0A.. _Homepage: http://spunkybot.de/%0A.. _Repository: https://github.com/spunkybot/spunkybot/
%0A%22%22%22
@@ -3236,30 +3236,115 @@
::
-Systems Administration
+Monitoring',%0A 'Topic :: System :: Systems Administration',%0A 'Topic :: Games/Entertainment
',%0A
|
325b6d209c96a0cb743fd3d32682f77362910cb1
|
Fix build.
|
setup.py
|
setup.py
|
#!/usr/bin/env python
#Copyright (C) 2013 - The MITRE Corporation
#For license information, see the LICENSE.txt file
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.version_info <(2, 6):
raise Exception('libtaxii requires Python 2.6 or higher.')
install_requires = ['lxml>=2.3.2', 'M2Crypto>=0.21.1']
setup(name='libtaxii',
description='TAXII Library.',
author='Mark Davidson',
author_email='mdavidson@mitre.org',
url="http://taxii.mitre.org/",
version='0.1',
py_modules=['libtaxii.taxii_client', 'libtaxii.taxii_message_converter'],
install_requires=install_requires,
data_files=[('xsd', ['xsd/TAXII_XML_10.xsd',
'xsd/xmldsig-core-schema.xsd'])],
long_description=open("README").read(),
keywords="taxii libtaxii",
)
|
Python
| 0
|
@@ -722,11 +722,29 @@
_XML
-_10
+MessageBinding_Schema
.xsd
|
8d6ab010d45d69b2eb101653b720270ffe13570c
|
Enforce an oauth2 version
|
setup.py
|
setup.py
|
#!/usr/bin/env python
try:
from setuptools import setup, find_packages
from setuptools.command.test import test
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from setuptools.command.test import test
class mytest(test):
def run(self, *args, **kwargs):
from runtests import runtests
runtests()
setup(
name='Overseer',
version='0.2.2',
author='DISQUS',
author_email='opensource@disqus.com',
url='http://github.com/disqus/overseer',
description = 'A status board built with Django',
packages=find_packages(),
zip_safe=False,
install_requires=[
'Django>=1.2.4',
'South',
'django-devserver',
'oauth2',
'uuid',
],
test_suite = 'overseer.tests',
include_package_data=True,
cmdclass={"test": mytest},
classifiers=[
'Framework :: Django',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Topic :: Software Development'
],
)
|
Python
| 0.000012
|
@@ -773,16 +773,25 @@
'oauth2
+%3E=1.5.169
',%0A
|
dd222c31d5dbd695f741233134f3f1cd400788e5
|
Fix removing logo from README for PyPi
|
setup.py
|
setup.py
|
import distutils.cmd
import os
import subprocess
from setuptools import find_packages, setup
class BaseCommand(distutils.cmd.Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def create_command(text, commands):
"""Creates a custom setup.py command."""
class CustomCommand(BaseCommand):
description = text
def run(self):
for cmd in commands:
subprocess.check_call(cmd)
return CustomCommand
with open(
os.path.join(os.path.dirname(__file__), "README.md"), encoding="utf-8"
) as readme:
README = readme.read().split("h1>\n\n", 2)[1]
setup(
name="django-postgres-extra",
version="2.0a1",
packages=find_packages(),
include_package_data=True,
license="MIT License",
description="Bringing all of PostgreSQL's awesomeness to Django.",
long_description=README,
long_description_content_type="text/x-rst",
url="https://github.com/SectorLabs/django-postgres-extra",
author="Sector Labs",
author_email="open-source@sectorlabs.ro",
keywords=["django", "postgres", "extra", "hstore", "ltree"],
classifiers=[
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.5",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
],
cmdclass={
"lint": create_command(
"Lints the code",
[
["flake8", "setup.py", "psqlextra", "tests"],
["pycodestyle", "setup.py", "psqlextra", "tests"],
],
),
"lint_fix": create_command(
"Lints the code",
[
[
"autoflake",
"--remove-all-unused-imports",
"-i",
"-r",
"setup.py",
"psqlextra",
"tests",
],
["autopep8", "-i", "-r", "setup.py", "psqlextra", "tests"],
],
),
"format": create_command(
"Formats the code", [["black", "setup.py", "psqlextra", "tests"]]
),
"format_verify": create_command(
"Checks if the code is auto-formatted",
[["black", "--check", "setup.py", "psqlextra", "tests"]],
),
"format_docstrings": create_command(
"Auto-formats doc strings", [["docformatter", "-r", "-i", "."]]
),
"format_docstrings_verify": create_command(
"Verifies that doc strings are properly formatted",
[["docformatter", "-r", "-c", "."]],
),
"sort_imports": create_command(
"Automatically sorts imports",
[
["isort", "setup.py"],
["isort", "-rc", "psqlextra"],
["isort", "-rc", "tests"],
],
),
"sort_imports_verify": create_command(
"Verifies all imports are properly sorted.",
[
["isort", "-c", "setup.py"],
["isort", "-c", "-rc", "psqlextra"],
["isort", "-c", "-rc", "tests"],
],
),
"fix": create_command(
"Automatically format code and fix linting errors",
[
["python", "setup.py", "format"],
["python", "setup.py", "format_docstrings"],
["python", "setup.py", "sort_imports"],
["python", "setup.py", "lint_fix"],
],
),
"verify": create_command(
"Verifies whether the code is auto-formatted and has no linting errors",
[
[
["python", "setup.py", "format_verify"],
["python", "setup.py", "format_docstrings_verify"],
["python", "setup.py", "sort_imports_verify"],
["python", "setup.py", "lint"],
]
],
),
},
)
|
Python
| 0.000001
|
@@ -662,18 +662,16 @@
t(%22h1%3E%5Cn
-%5Cn
%22, 2)%5B1%5D
|
ca929bd291ab93ef1fcbc9ae28f9c5e7def6421d
|
Bump up to v0.4.5
|
setup.py
|
setup.py
|
from os.path import dirname, abspath, join
from setuptools import setup
with open(abspath(join(dirname(__file__), 'README.rst'))) as fileobj:
README = fileobj.read().strip()
setup(
name='hlsclient',
description='Client to download all files from HLS streams',
long_description=README,
author='Globo.com',
url='https://github.com/globocom/hlsclient',
version='0.4.4',
zip_safe=False,
include_package_data=True,
packages=[
'hlsclient',
],
install_requires=[
'futures==2.1.3',
'm3u8>=0.1.1',
'pycrypto>=2.5',
'lockfile>=0.9.1',
],
)
|
Python
| 0.000003
|
@@ -386,17 +386,17 @@
on='0.4.
-4
+5
',%0A z
|
c9be62cfd8d39f263cff494cfdc3c764bed01adc
|
Bump version
|
setup.py
|
setup.py
|
import sys
import os.path
import setuptools
MISC_DIR = "misc"
REQUIREMENT_DIR = "requirements"
with open("README.rst") as fp:
long_description = fp.read()
with open(os.path.join(MISC_DIR, "summary.txt")) as f:
summary = f.read()
with open(os.path.join(REQUIREMENT_DIR, "requirements.txt")) as f:
install_requires = [line.strip() for line in f if line.strip()]
with open(os.path.join(REQUIREMENT_DIR, "test_requirements.txt")) as f:
tests_require = [line.strip() for line in f if line.strip()]
needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv)
pytest_runner = ["pytest-runner"] if needs_pytest else []
author = "Tsuyoshi Hombashi"
email = "gogogo.vm@gmail.com"
project_name = "DataProperty"
setuptools.setup(
name=project_name,
version="0.10.0",
url="https://github.com/thombashi/" + project_name,
bugtrack_url="https://github.com/thombashi/{:s}/issues".format(
project_name),
author=author,
author_email=email,
description=summary,
include_package_data=True,
install_requires=install_requires,
keywords=["data", "property"],
license="MIT License",
long_description=long_description,
maintainer=author,
maintainer_email=email,
packages=setuptools.find_packages(exclude=["test*"]),
setup_requires=[] + pytest_runner,
tests_require=tests_require,
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)
|
Python
| 0
|
@@ -786,17 +786,17 @@
n=%220.10.
-0
+1
%22,%0A u
|
01fdab64a84a0b960850a655ed5a27639e860002
|
Fix mockup egg.
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
version = '0.1'
setup(
name='mockup',
version=version,
description="No sure how should this package be named so please don't "
"judge me just, yet",
long_description=open("README.rst").read(),
classifiers=[
"Framework :: Plone",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords='plone mockup',
author='Rok Garbas',
author_email='rok@garbas.si',
url='https://github.com/plone/mockup',
license='GPL',
packages=find_packages(),
include_package_data=True,
package_dir={'': 'plone'},
zip_safe=False,
install_requires=[],
entry_points={
'z3c.autoinclude.plugin': [
"target = plone"
],
},
)
|
Python
| 0
|
@@ -648,39 +648,8 @@
ue,%0A
- package_dir=%7B'': 'plone'%7D,%0A
|
a3a4cd3416dff2e436c88a586f3ad4eb860daccf
|
fix description in setup.py
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(name='cql-builder',
version='0.0.1',
description="Generic data modeling and validation",
long_description=""" """,
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License'
],
keywords='',
author='Jonathan Jengo',
author_email='jonathan.jengo@gmail.com',
url='',
license='',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=False,
install_requires=[
'cassandra-driver>=2.1.0'
],
entry_points="""
# -*- Entry points: -*-
""",
)
|
Python
| 0.000004
|
@@ -110,44 +110,27 @@
on=%22
-Generic data modeling and validation
+CQL generation tool
%22,%0A
|
60bb4049c40af74c97c7239ae71d0519ae071989
|
Version bump 0.2.0.
|
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.1.1',
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',
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,11 +839,11 @@
='0.
-1.1
+2.0
',%0A
|
9b14273a78e135a5be0127dd36cafe8168d424da
|
Bump to version 0.3.2
|
setup.py
|
setup.py
|
from distutils.core import setup
setup(name='Rivets',
version='0.3',
url='https://github.com/OiNutter/rivets',
download_url='https://github.com/OiNutter/rivets/tarball/master',
description='Python asset packaging system. Based on Sprockets ruby gem',
author='Will McKenzie',
author_email='will@oinutter.co.uk',
packages=['rivets'],
package_dir={'rivets': 'rivets'},
requires=['crawl(>=0.5.4)','lean(>=0.2.3)','cherrypy'],
license='MIT License',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: JavaScript'
]
)
|
Python
| 0
|
@@ -66,16 +66,18 @@
ion='0.3
+.2
',%0D%0A%09 u
|
26ed18b570d74aa19c8800a2a78fd5b7c0a45c4b
|
Add missing description
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
# vim: set et sw=4 sts=4 fileencoding=utf-8:
#
# Copyright 2013 Dave Hughes.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# * Neither the name of the copyright holder nor the
# names of its contributors may be used to endorse or promote products
# derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY 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.
import os
import sys
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
if sys.version_info[0] == 2:
if not sys.version_info >= (2, 7):
raise ValueError('This package requires Python 2.7 or above')
elif sys.version_info[0] == 3:
if not sys.version_info >= (3, 2):
raise ValueError('This package requires Python 3.2 or above')
else:
raise ValueError('What version of Python is this?!')
HERE = os.path.abspath(os.path.dirname(__file__))
__project__ = 'picamera'
__version__ = '0.2'
__author__ = 'Dave Hughes'
__author_email__ = 'dave@waveform.org.uk'
__url__ = 'https://pypi.python.org/pypi/picamera/'
__platforms__ = ['ALL']
__classifiers__ = [
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Topic :: Multimedia :: Graphics :: Capture :: Digital Camera',
]
__keywords__ = [
'raspberrypi',
'camera',
]
__requires__ = [
]
__extra_requires__ = {
'doc': ['sphinx'],
}
if sys.version_info == (3, 2):
__extra_requires__['doc'].extend([
# Particular versions are required for Python 3.2 compatibility. The
# ordering is reversed because that's what easy_install needs...
'Jinja2<2.7',
'MarkupSafe<0.16',
])
__entry_points__ = {
}
# Add a py.test based "test" command
class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = [
'--cov', __project__,
'--cov-report', 'term-missing',
'--cov-report', 'html',
'--cov-config', 'coverage.cfg',
'tests',
]
self.test_suite = True
def run_tests(self):
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
def main():
import io
with io.open(os.path.join(HERE, 'README.rst'), 'r') as readme:
setup(
name = __project__,
version = __version__,
description = __doc__,
long_description = readme.read(),
classifiers = __classifiers__,
author = __author__,
author_email = __author_email__,
url = __url__,
license = [
c.rsplit('::', 1)[1].strip()
for c in __classifiers__
if c.startswith('License ::')
][0],
keywords = ' '.join(__keywords__),
packages = ['picamera'],
package_data = {},
include_package_data = True,
platforms = __platforms__,
install_requires = __requires__,
extras_require = __extra_requires__,
zip_safe = True,
entry_points = __entry_points__,
tests_require = ['pytest-cov', 'pytest', 'mock'],
cmdclass = {'test': PyTest},
)
if __name__ == '__main__':
main()
|
Python
| 0.999999
|
@@ -1605,16 +1605,83 @@
AMAGE.%0A%0A
+%22%22%22A pure Python interface for the Raspberry Pi camera module.%22%22%22%0A%0A
import o
|
a1e934fc42f2c2ca737bebed4208bd9d5f575ce7
|
remove bogus setuptools requirement
|
setup.py
|
setup.py
|
__VERSION__ = "1.2.0"
import os
from setuptools import setup
def read(fname):
'''Utility function to read the README file.'''
return open(os.path.join(os.path.dirname(__file__), fname)).read()
# figure out what the install will need
install_requires = ["setuptools==0.9.8"]
tests_require = ["nose==1.1.2", "nosexcover==1.0.8", "coverage==3.5.2"] + install_requires
setup(
name = "config-enhance",
version = __VERSION__,
author = "Jonathan Ultis",
author_email = "jonathanu@zillow.com",
description = read("README.md"),
zip_safe = True,
license = read("LICENSE"),
keywords = "zillow",
url = "https://stash.zillow.local/projects/LIBS/repos/egg.config-enhance/browse",
packages = ['config_enhance'],
long_description = read('README.md'),
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Topic :: Utilities",
],
install_requires = install_requires,
tests_require = tests_require,
test_suite = "nose.collector"
)
|
Python
| 0
|
@@ -12,17 +12,17 @@
= %221.2.
-0
+1
%22%0A%0Aimpor
@@ -261,27 +261,8 @@
= %5B
-%22setuptools==0.9.8%22
%5D%0Ate
|
5b3ad28978b632b61e5cae37dc6c8aeff7d4e0c0
|
Version change
|
setup.py
|
setup.py
|
import os.path
import sys
try:
from setuptools import find_packages, setup
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import find_packages, setup
from setuptools.command.test import test
def readme():
try:
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
return f.read()
except (IOError, OSError):
return ''
class pytest(test):
def finalize_options(self):
test.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
from pytest import main
errno = main(self.test_args)
raise SystemExit(errno)
setup_requires = [
'libsass >= 0.3.0'
]
install_requires = [
'Flask >= 0.10',
'libearth >= 0.3.1',
'six',
'waitress'
]
if sys.version_info < (2, 7):
install_requires.append('argparse >= 1.1')
install_requires.extend(setup_requires)
setup(
name='EarthReader-Web',
version='0.3.0',
description='Earth Reader for Web',
long_description=readme(),
url='http://earthreader.org/',
author='Earth Reader team',
author_email='earthreader' '@' 'librelist.com',
entry_points={
'console_scripts': [
'earthreader = earthreader.web.command:main'
]
},
app=['earthreader/web/osx.py'],
license='AGPLv3 or later',
packages=find_packages(exclude=['tests']),
package_data={
'earthreader.web': ['templates/*.*', 'templates/*/*.*',
'static/*.*', 'static/*/*.*']
},
sass_manifests={
'earthreader.web': ('static/scss/', 'static/css/')
},
setup_requires=setup_requires,
install_requires=install_requires,
dependency_links=[
'https://github.com/earthreader/libearth/releases'
],
download_url='https://github.com/earthreader/web/releases',
tests_require=['pytest >= 2.5.0'],
cmdclass={'test': pytest},
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Flask',
'Intended Audience :: Developers',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved ::'
' GNU Affero General Public License v3 or later (AGPLv3+)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Programming Language :: Python :: Implementation :: Stackless',
'Topic :: Communications',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary',
'Topic :: Internet :: WWW/HTTP :: Indexing/Search',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
'Topic :: Text Processing :: Markup :: XML'
]
)
|
Python
| 0.000001
|
@@ -1013,17 +1013,17 @@
on='0.3.
-0
+1
',%0A d
|
0b19ddf44da25728557d01ccfa4b596627b0f44b
|
Bump release
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# vim: set fileencoding=utf-8 :
# Andre Anjos <andre.dos.anjos@gmail.com>
# Tue 22 Jan 2013 13:37:39 CET
"""Professional website package management
"""
from setuptools import setup, find_packages
setup(
name="anjos.website",
version="1.0.0",
description="My professional website",
license="FreeBSD",
author='Andre Anjos',
author_email='andre.dos.anjos@gmail.com',
long_description=open('README.rst').read(),
url='https://github.com/anjos/website',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
namespace_packages=[
"anjos",
],
install_requires=[
# pretty generic
'setuptools',
'pillow',
'flup',
'uuid',
'mysql-python',
'python-openid',
# others
'django-robots',
'django-openid-auth',
'django-maintenancemode',
'django-rosetta',
# mine
'djangoogle',
'django-flatties',
'django-nav',
'django-publications',
],
entry_points = {
'console_scripts': [
'remove_app.py = anjos.website.scripts.remove_app:main',
],
},
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python',
],
)
|
Python
| 0
|
@@ -265,17 +265,17 @@
on=%221.0.
-0
+1
%22,%0A d
|
a37f03dc664f1b9ac1e39e6e6b27359a2255ef8c
|
Version bump
|
setup.py
|
setup.py
|
"""setup.py file."""
import uuid
from setuptools import setup, find_packages
from pip.req import parse_requirements
__author__ = 'David Barroso <dbarrosop@dravetech.com>'
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
reqs = [str(ir.req) for ir in install_reqs]
setup(
name="napalm-ios",
version="0.1.4",
packages=find_packages(),
author="David Barroso",
author_email="dbarrosop@dravetech.com",
description="Network Automation and Programmability Abstraction Layer with Multivendor support",
classifiers=[
'Topic :: Utilities',
'Programming Language :: Python',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS',
],
url="https://github.com/napalm-automation/napalm-ios",
include_package_data=True,
install_requires=reqs,
)
|
Python
| 0.000001
|
@@ -340,9 +340,9 @@
0.1.
-4
+5
%22,%0A
|
8e6586f746d6a5ebe40a869d854478b9cd121025
|
fix license
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from __future__ import print_function
from setuptools import setup, find_packages
from os import path
import codecs
import os
import re
import sys
# When creating the sdist, make sure the django.mo file also exists:
if 'sdist' in sys.argv or 'develop' in sys.argv:
try:
os.chdir('fluent_comments')
# from django.core.management.commands.compilemessages import Command
# Command.compile_messages(sys.stderr)
finally:
os.chdir('..')
def read(*parts):
file_path = path.join(path.dirname(__file__), *parts)
return codecs.open(file_path, encoding='utf-8').read()
def find_version(*parts):
version_file = read(*parts)
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", version_file, re.M)
if version_match:
return str(version_match.group(1))
raise RuntimeError("Unable to find version string.")
install_requires=[
'django-crispy-forms>=1.1.1',
]
if sys.version_info[0] >= 3:
# Akismet 0.2 does not support Python 3.
if 'install' in sys.argv or 'develop' in sys.argv:
print("\nwarning: skipped Akismet as dependency because it does not have a Python 3 version.")
else:
install_requires += [
'akismet>=0.2',
'django-contrib-comments>=1.5',
]
setup(
name='django-fluent-comments',
version=find_version('fluent_comments', '__init__.py'),
license='Apache License, Version 2.0',
install_requires=install_requires,
requires=[
'Django (>=1.3)', # Using staticfiles
],
extras_require = {
'threadedcomments': ['django-threadedcomments>=0.9'],
},
description='A modern, ajax-based appearance for django_comments',
long_description=read('README.rst'),
author='Diederik van der Boor',
author_email='opensource@edoburu.nl',
url='https://github.com/edoburu/django-fluent-comments',
download_url='https://github.com/edoburu/django-fluent-comments/zipball/master',
packages=find_packages(exclude=('example*',)),
include_package_data=True,
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Framework :: Django',
'Framework :: Django :: 1.4',
'Framework :: Django :: 1.5',
'Framework :: Django :: 1.6',
'Framework :: Django :: 1.7',
'Framework :: Django :: 1.8',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
|
Python
| 0.000001
|
@@ -1414,25 +1414,8 @@
che
-License, Version
2.0'
|
856efd20e2ce3e9e542b6c76e304885795eaab93
|
Add revrand back to setup.py requirements
|
setup.py
|
setup.py
|
""" Setup utility for the dora package. """
from setuptools import setup, find_packages
# from setuptools.command.test import test as TestCommand
setup(
name='dora',
version='0.1',
description='Active sampling using a non-parametric regression model.',
author="Alistair Reid and Simon O'Callaghan",
author_email='alistair.reid@nicta.com.au',
url='http://github.com/nicta/dora',
packages=find_packages(),
# cmdclass={
# 'test': PyTest
# },
tests_require=['pytest'],
install_requires=[
'scipy >= 0.14.0',
'numpy >= 1.8.2',
# 'six >= 1.9.0',
# NLopt >= 2.4.2
],
dependency_links=[
'git+https://github.com/nicta/revrand.git@v0.6.5#egg=revrand-0.6.5'],
extras_require={
# 'nonlinear': ['NLopt'],
'demos': [
'unipath',
'requests',
# 'bdkd-external'
],
},
license="Apache Software License 2.0",
classifiers=[
"Development Status :: 3 - Alpha",
"Operating System :: POSIX",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3.4",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Scientific/Engineering :: Information Analysis"
]
)
|
Python
| 0
|
@@ -600,24 +600,52 @@
%3E= 1.8.2',%0D%0A
+ 'revrand == 0.6.5'%0D%0A
# 's
|
3f9602df02dacdeea90fee27f6c64f00e6ba9580
|
Version 1.31.4
|
setup.py
|
setup.py
|
"""
The setup package to install SeleniumBase dependencies and plugins
(Uses selenium 3.x and is compatible with Python 2.7+ and Python 3.5+)
"""
from setuptools import setup, find_packages # noqa
from os import path
this_directory = path.abspath(path.dirname(__file__))
long_description = None
try:
with open(path.join(this_directory, 'README.md'), 'rb') as f:
long_description = f.read().decode('utf-8')
except IOError:
long_description = 'Reliable Browser Automation & Testing Framework'
setup(
name='seleniumbase',
version='1.31.3',
description='Fast, Easy, and Reliable Browser Automation & Testing.',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/seleniumbase/SeleniumBase',
platforms=["Windows", "Linux", "Unix", "Mac OS-X"],
author='Michael Mintz',
author_email='mdmintz@gmail.com',
maintainer='Michael Mintz',
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Development Status :: 5 - Production/Stable",
"Topic :: Internet",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
"Topic :: Software Development :: Quality Assurance",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Testing :: Acceptance",
"Topic :: Software Development :: Testing :: Traffic Generation",
"Topic :: Utilities",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
"Operating System :: MacOS",
"Framework :: Pytest",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
install_requires=[
'pip',
'setuptools',
'wheel',
'six',
'nose',
'ipdb',
'idna==2.8', # Must stay in sync with "requests"
'chardet==3.0.4', # Must stay in sync with "requests"
'urllib3==1.25.3', # Must stay in sync with "requests"
'requests>=2.22.0',
'selenium==3.141.0',
'pluggy>=0.12.0',
'pytest>=4.6.5;python_version<"3"', # For Python 2 compatibility
'pytest>=5.1.2;python_version>="3"',
'pytest-cov>=2.7.1',
'pytest-forked>=1.0.2',
'pytest-html==1.22.0', # Keep at 1.22.0 unless tested on Windows
'pytest-metadata>=1.8.0',
'pytest-ordering>=0.6',
'pytest-rerunfailures>=7.0',
'pytest-timeout>=1.3.3',
'pytest-xdist>=1.29.0',
'parameterized>=0.7.0',
'beautifulsoup4>=4.6.0', # Keep at >=4.6.0 while using "bs4"
'pyopenssl>=19.0.0',
'colorama>=0.4.1',
'pymysql>=0.9.3',
'pyotp>=2.3.0',
'boto>=2.49.0',
'flake8>=3.7.8',
'certifi>=2019.6.16',
],
packages=[
'seleniumbase',
'seleniumbase.common',
'seleniumbase.config',
'seleniumbase.console_scripts',
'seleniumbase.core',
'seleniumbase.drivers',
'seleniumbase.extensions',
'seleniumbase.fixtures',
'seleniumbase.masterqa',
'seleniumbase.plugins',
'seleniumbase.utilities',
'seleniumbase.utilities.selenium_grid',
'seleniumbase.utilities.selenium_ide',
'seleniumbase.virtual_display',
],
include_package_data=True,
entry_points={
'console_scripts': [
'seleniumbase = seleniumbase.console_scripts.run:main',
],
'nose.plugins': [
'base_plugin = seleniumbase.plugins.base_plugin:Base',
'selenium = seleniumbase.plugins.selenium_plugin:SeleniumBrowser',
'page_source = seleniumbase.plugins.page_source:PageSource',
'screen_shots = seleniumbase.plugins.screen_shots:ScreenShots',
'test_info = seleniumbase.plugins.basic_test_info:BasicTestInfo',
('db_reporting = '
'seleniumbase.plugins.db_reporting_plugin:DBReporting'),
's3_logging = seleniumbase.plugins.s3_logging_plugin:S3Logging',
],
'pytest11': ['seleniumbase = seleniumbase.plugins.pytest_plugin']
}
)
# print(os.system("cat seleniumbase.egg-info/PKG-INFO"))
print("\n*** SeleniumBase Installation Complete! ***\n")
|
Python
| 0
|
@@ -555,17 +555,17 @@
n='1.31.
-3
+4
',%0A d
|
e92d240967acdce817f634fdb533f3a4212870c5
|
Bump minimal Core version
|
setup.py
|
setup.py
|
#! /usr/bin/env python
# -*- coding: utf-8 -*-
"""Tunisia specific model for OpenFisca -- a versatile microsimulation free software"""
from setuptools import setup, find_packages
classifiers = """\
Development Status :: 2 - Pre-Alpha
License :: OSI Approved :: GNU Affero General Public License v3
Operating System :: POSIX
Programming Language :: Python
Topic :: Scientific/Engineering :: Information Analysis
"""
doc_lines = __doc__.split('\n')
setup(
name = 'OpenFisca-Tunisia',
version = '0.24.0',
author = 'OpenFisca Team',
author_email = 'contact@openfisca.org',
classifiers = [classifier for classifier in classifiers.split('\n') if classifier],
description = doc_lines[0],
keywords = 'benefit microsimulation social tax tunisia',
license = 'http://www.fsf.org/licensing/licenses/agpl-3.0.html',
long_description = '\n'.join(doc_lines[2:]),
url = 'https://github.com/openfisca/openfisca-tunisia',
data_files = [
('share/openfisca/openfisca-tunisia', ['CHANGELOG.md', 'LICENSE.AGPL.txt', 'README.md']),
],
extras_require = dict(
tests = [
'nose >= 1.3.7'
],
notebook = [
'ipykernel >= 4.8',
'jupyter-client >= 5.2',
'matplotlib >= 2.2',
'nbconvert >= 5.3',
'nbformat >= 4.4',
'pandas >= 0.22.0',
],
survey = [
'OpenFisca-Survey-Manager >=0.9.5,<0.19',
]
),
include_package_data = True, # Will read MANIFEST.in
install_requires = [
'OpenFisca-Core >=26,<28',
'PyYAML >= 3.10',
'scipy >= 0.12',
],
message_extractors = {'openfisca_tunisia': [
('**.py', 'python', None),
]},
packages = find_packages(exclude=['tests*', 'old_tests*']),
)
|
Python
| 0
|
@@ -1608,9 +1608,9 @@
%3E=2
-6
+7
,%3C28
|
dc335ff53ffe0004cc53db9d7b6bd515b35223c9
|
Version bump 1.1.0
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
NAME = 'Genesis-GenAPI'
VERSION = '1.0.3'
DESCRIPTION = "Python API for the Genesis platform."
LONG_DESCRIPTION = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
AUTHOR = 'Genialis d.o.o.'
AUTHOR_EMAIL = 'dev-team@genialis.com'
URL = 'https://github.com/genialis/genesis-genapi/'
LICENSE = 'Apache License (2.0)'
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=URL,
license=LICENSE,
packages=find_packages(),
package_data={},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'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.3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development :: Libraries :: Python Modules',
],
include_package_data=True,
zip_safe=False,
install_requires=[r for r in open('requirements.txt').read().split('\n') if r != '' and r[:2] != '-e'],
test_suite='genapi.tests'
)
|
Python
| 0
|
@@ -112,19 +112,18 @@
Genesis-
-Gen
+Py
API'%0AVER
@@ -136,11 +136,11 @@
'1.
-0.3
+1.0
'%0ADE
@@ -385,19 +385,18 @@
genesis-
-gen
+py
api/'%0ALI
@@ -1458,19 +1458,20 @@
ite='gen
-api
+esis
.tests'%0A
|
2c60faee264784539bc5c64ad6642c6b06d63530
|
bump black from 21.7b0 to 21.8b0
|
setup.py
|
setup.py
|
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at: [package root]/LICENSE.txt
# 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
import setuptools
requirements = [
"tqdm==4.62.2",
"pyyaml==5.4.1",
"tabulate==0.8.9",
"colorama==0.4.4",
"termcolor==1.1.0",
"wcwidth==0.2.5",
"ida-settings==2.1.0",
"viv-utils[flirt]==0.6.5",
"halo==0.0.31",
"networkx==2.5.1",
"ruamel.yaml==0.17.13",
"vivisect==1.0.3",
"smda==1.6.2",
"pefile==2021.5.24",
"typing==3.7.4.3",
]
# this sets __version__
# via: http://stackoverflow.com/a/7071358/87207
# and: http://stackoverflow.com/a/2073599/87207
with open(os.path.join("capa", "version.py"), "r") as f:
exec(f.read())
# via: https://packaging.python.org/guides/making-a-pypi-friendly-readme/
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, "README.md"), "r") as f:
long_description = f.read()
setuptools.setup(
name="flare-capa",
version=__version__,
description="The FLARE team's open-source tool to identify capabilities in executable files.",
long_description=long_description,
long_description_content_type="text/markdown",
author="Willi Ballenthin, Moritz Raabe",
author_email="william.ballenthin@mandiant.com, moritz.raabe@mandiant.com",
url="https://www.github.com/fireeye/capa",
project_urls={
"Documentation": "https://github.com/fireeye/capa/tree/master/doc",
"Rules": "https://github.com/fireeye/capa-rules",
"Rules Documentation": "https://github.com/fireeye/capa-rules/tree/master/doc",
},
packages=setuptools.find_packages(exclude=["tests"]),
package_dir={"capa": "capa"},
entry_points={
"console_scripts": [
"capa=capa.main:main",
]
},
include_package_data=True,
install_requires=requirements,
extras_require={
"dev": [
"pytest==6.2.4",
"pytest-sugar==0.9.4",
"pytest-instafail==0.4.2",
"pytest-cov==2.12.1",
"pycodestyle==2.7.0",
"black==21.7b0",
"isort==5.9.3",
"mypy==0.910",
"psutil==5.8.0",
# type stubs for mypy
"types-backports==0.1.3",
"types-colorama==0.4.3",
"types-PyYAML==5.4.6",
"types-tabulate==0.8.2",
"types-termcolor==1.1.1",
"types-psutil==5.8.0",
],
},
zip_safe=False,
keywords="capa malware analysis capability detection FLARE",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Topic :: Security",
],
python_requires=">=3.6",
)
|
Python
| 0.000002
|
@@ -2563,17 +2563,17 @@
ack==21.
-7
+8
b0%22,%0A
|
b47c83f1da853577244dc44bce07978be198727a
|
add test to setup.py
|
setup.py
|
setup.py
|
import os
import distutils.sysconfig
from distutils.core import setup
setup(
name="Comet",
description="VOEvent Broker",
author="John Swinbank",
author_email="swinbank@transientskp.org",
packages=[
'comet',
'comet.config',
'comet.plugins',
'comet.service',
'comet.tcp',
'comet.utility'
],
scripts=['scripts/comet-sendvo'],
package_data={'comet': ['schema/*.xsd']},
data_files=[
(
os.path.join(
distutils.sysconfig.get_python_lib(prefix=''),
'twisted/plugins'
),
[
'twisted/plugins/comet_plugin.py',
]
)
]
)
|
Python
| 0
|
@@ -347,16 +347,46 @@
utility'
+,%0A 'comet.utility.test'
%0A %5D,%0A
|
3145f7759058a805954c6f1a55cbac724cdc3aef
|
Update version
|
setup.py
|
setup.py
|
import os
from setuptools import setup, Extension
V8_PREFIX = os.environ.get('V8_PREFIX')
if not V8_PREFIX:
print 'You should set V8_PREFIX variable in the environment'
exit(1)
V8_LIBRARY_DIR = os.path.join(V8_PREFIX, 'lib64/')
V8_INCLUDE_DIR = os.path.join(V8_PREFIX, 'include/')
setup(
name='PyV8Mono',
description='Python binding for V8 MonoContext library',
version='1.0',
author='Bekbulatov Alexander',
author_email='alexander@bekbulatov.ru',
url='https://github.com/bekbulatov/PyV8Mono',
packages=['PyV8Mono'],
ext_modules=[
Extension('PyV8Mono.monocontext',
include_dirs=[
V8_INCLUDE_DIR,
],
library_dirs=[
V8_LIBRARY_DIR,
],
libraries=[
'v8monoctx',
],
sources=[
'monocontext.cpp',
],
extra_link_args=[])
])
|
Python
| 0
|
@@ -395,9 +395,9 @@
='1.
-0
+1
',%0A
|
87f8fd125eeee617fd695bd0337806f0aa468479
|
Update setup.py - v0.3.1
|
setup.py
|
setup.py
|
"""A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
usage: `pip install -e .`
GenCumulativeSky was conceived, developed and validated by Darren Robinson and Andrew Stone for efficient solar irradiation modelling using RADIANCE
When using GenCumulativeSky they would be pleased if you would ackowledge their work by referring to the following article: "Robinson, D., Stone, A.,
Irradiation modeling made simple – the cumulative sky approach and its applications, Proc. PLEA 2004, Eindhoven 2004."
"""
# 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__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='bifacial_radiance',
# 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.3.0',
description='Tools to interface with Radiance',
long_description=long_description,
# The project's main homepage.
url='https://github.com/NREL/bifacial_radiance',
# Author details
author='Chris Deline',
author_email='chris.deline@nrel.gov',
# Choose your license
license='BSD License (3 clause)',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Science/Research',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: BSD License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
],
# What does your project relate to?
keywords='bifacial radiance photovoltaics pv ray tracing',
# 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']) + ['data'],
packages = ['bifacial_radiance'],
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
#py_modules=["bifacial_radiance"],
# 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=[
'pvlib',
'pytest',
'pytest-cov',
'configparser'
],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
#'dev': ['check-manifest'],
#'test': ['coverage'],
},
# 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={
'bifacial_radiance': ['data/ground.rad','data/gencumulativesky.exe','data/module.json','data/default.ini'],
},
include_package_data=True,
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files # noqa
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
#data_files=[('my_data', ['data/data_file'])],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
#entry_points={
# 'console_scripts': [
# 'sample=sample:main',
# ],
#},
)
|
Python
| 0
|
@@ -1201,17 +1201,17 @@
on='0.3.
-0
+1
',%0A%0A
|
239b0123684fb7bc4e75d67d400091a639d1f190
|
version bump
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
from setuptools.command.test import test
class TestCommand(test):
def run(self):
from tests.runtests import runtests
runtests()
setup(
name='django-stringfield',
version='0.2.0',
description='Better string field for Django.',
long_description=open('README.rst').read(),
author='Mikko Hellsing',
author_email='mikko@aino.se',
license='BSD',
url='https://github.com/aino/django-stringfield',
packages=find_packages(exclude=['tests', 'tests.*']),
zip_safe=False,
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Framework :: Django',
],
cmdclass={"test": TestCommand},
)
|
Python
| 0.000001
|
@@ -244,17 +244,17 @@
on='0.2.
-0
+1
',%0A d
|
57453036b2dc1bc513a0031043d505bff92e14af
|
Update setup.py
|
setup.py
|
setup.py
|
from distutils.core import setup
from setuptools import find_packages
from elsapy.__init__ import version
setup(
name = 'elsapy',
version = version,
description = "A Python module for use with Elsevier's APIs: Scopus, ScienceDirect, others - see https://api.elsevier.com",
long_description = "See https://github.com/ElsevierDev/elsapy for the latest information / background to this project.",
author = 'Elsevier, Inc.',
author_email = 'integrationsupport@elsevier.com',
url = 'https://github.com/ElsevierDev/elsapy',
license = 'License :: OSI Approved :: BSD License',
download_url = 'https://www.github.com/ElsevierDev/elsapy/archive/0.4.6.tar.gz',
keywords = ['elsevier api', 'sciencedirect api', 'scopus api'], # arbitrary keywords
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
],
packages = find_packages(exclude=['contrib', 'docs', 'tests*']),
install_requires = ['requests']
)
|
Python
| 0.000001
|
@@ -104,16 +104,62 @@
sion%0D%0A%0D%0A
+# TODO: use pbr for various packaging tasks.%0D%0A
setup(%0D%0A
|
a6045ae313a501c73ba2b0c23576ba444fbbbaf1
|
add sqlalchemy-migrate dependency
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
from setuptools import setup, find_packages
setup(name='pprof',
version='0.9.8',
packages=find_packages(),
install_requires=["SQLAlchemy==1.0.4", "cloud==2.8.5", "plumbum>=1.5.0",
"regex==2015.5.28", "wheel==0.24.0", "parse==1.6.6",
"virtualenv==13.1.0", "sphinxcontrib-napoleon",
"psycopg2"],
author="Andreas Simbuerger",
author_email="simbuerg@fim.uni-passau.de",
description="This is the experiment driver for the pprof study",
license="MIT",
entry_points={
'console_scripts': ['pprof=pprof.driver:main']
})
|
Python
| 0
|
@@ -100,17 +100,17 @@
on='0.9.
-8
+9
',%0A
@@ -398,16 +398,38 @@
sycopg2%22
+, %22sqlalchemy-migrate%22
%5D,%0A
|
54e9265da13b79f008abafc6853790cdb6b7d46d
|
Update trove classifiers
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name='tangled.auth',
version='0.1a3.dev0',
description='Tangled auth integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=[
'tangled',
'tangled.auth',
'tangled.auth.tests',
],
install_requires=[
'tangled.web>=0.1.dev0',
],
extras_require={
'dev': [
'tangled[dev]',
],
},
entry_points="""
[tangled.scripts]
auth = tangled.auth.command:Command
""",
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
],
)
|
Python
| 0.000001
|
@@ -672,20 +672,17 @@
::
-1 - Planning
+3 - Alpha
',%0A
@@ -817,16 +817,67 @@
hon :: 3
+.3',%0A 'Programming Language :: Python :: 3.4
',%0A %5D
|
547d5e869c72f4852f5e8790bb73f3bcd368346f
|
Version bump
|
setup.py
|
setup.py
|
"""setup.py file."""
import uuid
from setuptools import setup, find_packages
from pip.req import parse_requirements
__author__ = 'David Barroso <dbarrosop@dravetech.com>'
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
reqs = [str(ir.req) for ir in install_reqs]
setup(
name="napalm-base",
version="0.11.0",
packages=find_packages(),
author="David Barroso",
author_email="dbarrosop@dravetech.com",
description="Network Automation and Programmability Abstraction Layer with Multivendor support",
classifiers=[
'Topic :: Utilities',
'Programming Language :: Python',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS',
],
url="https://github.com/napalm-automation/napalm-base",
include_package_data=True,
install_requires=reqs,
entry_points={
'console_scripts': [
'cl_napalm_configure=napalm.clitools.cl_napalm_configure:main',
],
}
)
|
Python
| 0.000001
|
@@ -336,17 +336,17 @@
ion=%220.1
-1
+2
.0%22,%0A
|
2105b2ae0c68a559e1268b3fc2da0b433bfda3dc
|
Update version
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name='Flask-DebugToolbar',
version='0.4.6dev',
url='http://github.com/mvantellingen/flask-debugtoolbar',
license='BSD',
author='Michael van Tellingen',
author_email='michaelvantellingen@gmail.com',
description='A port of the Django debug toolbar to Flask',
long_description=__doc__,
namespace_packages=['flaskext'],
zip_safe=False,
platforms='any',
packages=find_packages(exclude=['ez_setup']),
package_data={'flaskext.debugtoolbar': [
'static/css/*.css', 'static/js/*.js', 'static/img/*',
'templates/*.html', 'templates/panels/*.html'
]},
install_requires=[
'setuptools',
'Flask',
],
classifiers=[
'Development Status :: 3 - Alpha',
'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
|
@@ -96,14 +96,9 @@
='0.
-4.6dev
+5
',%0A
@@ -695,24 +695,46 @@
etuptools',%0A
+ 'simplejson',%0A
'Fla
@@ -798,16 +798,15 @@
::
-3 - Alph
+4 - Bet
a',%0A
|
6d34151817f5c161cfd209d8b3e2f1ed59e28c6b
|
Fix static analysis
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from os import path as op
from setuptools import setup
def _read(fname):
return open(op.join(op.dirname(__file__), fname)).read()
install_requires = [
l for l in _read('requirements.txt').split('\n')
if l and not l.startswith('#')]
setup(
name='sanic-sentry',
version='0.1.7',
license='MIT',
description='Sentry integration to sanic web server',
long_description=_read('README.rst'),
platforms=('Any'),
keywords=['sanic', 'sentry'],
author='Marek Siarkowicz',
url='https://github.com/serathius/sanic-sentry',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Testing',
'Topic :: Utilities',
],
py_modules=['sanic_sentry'],
install_requires=install_requires,
)
|
Python
| 0.003362
|
@@ -184,14 +184,20 @@
l
+ine
for l
+ine
in
@@ -242,16 +242,19 @@
if l
+ine
and not
@@ -255,16 +255,19 @@
nd not l
+ine
.startsw
|
60d29ca3bf958c4753162762209a56e85af0a412
|
update setup for new version 0.0.12
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def readme():
with open('README.rst') as f:
return f.read()
setup(name='python-netbox',
version='0.0.11',
description='Python NetBox Client',
long_description=readme(),
python_requires='>=3',
author='Thomas van der Jagt',
author_email='thomas@tjrb.nl',
url='https://github.com/jagter/python-netbox',
download_url='https://github.com/jagter/python-netbox/releases/tag/0.0.11.tar.gz',
packages=find_packages(),
install_requires=['ipaddress', 'requests'],
classifiers = [
"Programming Language :: Python :: 3",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.6",
],
)
|
Python
| 0
|
@@ -281,17 +281,17 @@
n='0.0.1
-1
+2
',%0A
@@ -593,17 +593,17 @@
ag/0.0.1
-1
+2
.tar.gz'
|
566bf8b10b74e3457d5a81b7699bee19d385c86b
|
Change python3-ldap to ldap3 in setup.py
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup
setup(
name="django-arcutils",
version='0.0.1',
url='https://github.com/PSU-OIT-ARC/django-arcutils',
author='Matt Johnson',
author_email='mdj2@pdx.edu',
description="ARC Utils for Django sites",
packages=['arcutils', 'arcutils.templatetags'],
zip_safe=False,
classifiers=[
'Framework :: Django',
],
include_package_data=True,
extras_require={
'ldap': ['python3-ldap'],
'test': ['python3-ldap', 'model_mommy', 'mock', 'django'],
'logging': ['python-logstash'],
}
)
|
Python
| 0
|
@@ -463,28 +463,21 @@
dap': %5B'
-python3-
ldap
+3
'%5D,%0A
@@ -494,20 +494,13 @@
: %5B'
-python3-
ldap
+3
', '
|
d593c904144427496f69f2acaa9d702de5842c76
|
Bump le version
|
setup.py
|
setup.py
|
import os
from setuptools import setup
from pip.req import parse_requirements
# Utility function to read the README file. Used for the long_description.
# It's nice, because now 1) we have a top level README file and 2) it's easier
# to type in the README file than to put a raw string in below.
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
setup(
name="ceilometer-publisher-vaultaire",
version="0.0.7",
description="A publisher plugin for Ceilometer that outputs to Vaultaire",
author="Barney Desmond",
author_email="engineering@anchor.net.au",
url="https://github.com/anchor/ceilometer-publisher-vaultaire",
zip_safe=False,
packages=[
"ceilometer_publisher_vaultaire", # Does anyone know what this means?
],
package_data={
"ceilometer_publisher_vaultaire" : ["README.md"],
},
long_description=read("README"),
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"License :: OSI Approved :: Apache Software License",
],
entry_points = {
"ceilometer.publisher": [
"vaultaire = ceilometer_publisher_vaultaire:VaultairePublisher",
],
},
install_requires=[str(req.req) for req in parse_requirements("requirements.txt")],
include_package_data=True
)
|
Python
| 0
|
@@ -472,9 +472,9 @@
0.0.
-7
+8
%22,%0A
|
64ba26f57874136569740c13ef7703f900b4ae08
|
Bump back to 1.1.2
|
setup.py
|
setup.py
|
import os
from setuptools import setup
setup(
name='algorithmia',
version='1.1.3',
description='Algorithmia Python Client',
long_description='Algorithmia Python Client is a client library for accessing Algorithmia from python code. This library also gets bundled with any Python algorithms in Algorithmia.',
url='http://github.com/algorithmiaio/algorithmia-python',
license='MIT',
author='Algorithmia',
author_email='support@algorithmia.com',
packages=['Algorithmia'],
install_requires=[
'requests',
'six',
'enum34'
],
include_package_data=True,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
Python
| 0.00005
|
@@ -82,17 +82,17 @@
on='1.1.
-3
+2
',%0A d
|
8a3c9cff23d4a46f48a430de3aa4ea83f8744a65
|
Version bump
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name="tootstream",
version="0.3.0",
python_requires=">=3",
install_requires=[line.strip() for line in open('requirements.txt')],
packages=find_packages('src'),
package_dir={'': 'src'}, include_package_data=True,
package_data={
},
author="Sara Murray",
author_email="saramurray@protonmail.com",
description="A command line interface for interacting with Mastodon instances",
license="MIT",
keywords="mastodon, mastodon.social, toot, tootstream",
url="http://www.github.com/magicalraccoon/tootstream",
entry_points={
'console_scripts':
['tootstream=tootstream.toot:main']
}
)
|
Python
| 0.000001
|
@@ -84,17 +84,17 @@
on=%220.3.
-0
+1
%22,%0A p
|
193baecc6cbae01c0894d4752bd59d30c7e7ac7f
|
Fix Windows build.
|
setup.py
|
setup.py
|
# Copyright (C) 2007-2009 Cournapeau David <cournape@gmail.com>
# 2010 Fabian Pedregosa <fabian.pedregosa@inria.fr>
# 2014 Gael Varoquaux
# 2014-2016 Sergei Lebedev <superbobry@gmail.com>
# 2018- Antony Lee
import setuptools
from setuptools import Extension, find_packages, setup
from setuptools.command.build_ext import build_ext
class build_ext(build_ext):
def finalize_options(self):
# The key point: here, Cython and numpy will have been installed by
# pip.
from Cython.Build import cythonize
import numpy as np
import numpy.distutils
self.distribution.ext_modules[:] = cythonize("**/*.pyx")
# Sadly, this part needs to be done manually.
for ext in self.distribution.ext_modules:
for k, v in np.distutils.misc_util.get_info("npymath").items():
setattr(ext, k, v)
ext.include_dirs = [np.get_include()]
super().finalize_options()
def build_extensions(self):
try:
self.compiler.compiler_so.remove("-Wstrict-prototypes")
except (AttributeError, ValueError):
pass
super().build_extensions()
setup(
name="hmmlearn",
description="Hidden Markov Models in Python with scikit-learn like API",
long_description=open("README.rst", encoding="utf-8").read(),
maintainer="Antony Lee",
url="https://github.com/hmmlearn/hmmlearn",
license="new BSD",
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Software Development",
"Topic :: Scientific/Engineering",
"Programming Language :: Cython",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
],
cmdclass={"build_ext": build_ext},
py_modules=[],
packages=find_packages("lib"),
package_dir={"": "lib"},
ext_modules=[Extension("", [])],
package_data={},
python_requires=">=3.6",
setup_requires=[
"Cython",
"numpy>=1.10",
"setuptools_scm>=3.3", # fallback_version.
],
use_scm_version=lambda: { # xref __init__.py
"version_scheme": "post-release",
"local_scheme": "node-and-date",
"write_to": "lib/hmmlearn/_version.py",
"fallback_version": "0+unknown",
},
install_requires=[
"numpy>=1.10", # np.broadcast_to.
"scikit-learn>=0.16", # sklearn.utils.check_array.
"scipy>=0.19", # scipy.special.logsumexp.
],
extras_require={
"tests": ["pytest"],
"docs": ["Sphinx", "sphinx-gallery", "Pillow", "matplotlib"],
},
entry_points={
"console_scripts": [],
"gui_scripts": [],
},
)
|
Python
| 0
|
@@ -257,16 +257,86 @@
ny Lee%0A%0A
+import os%0Aos.environ.setdefault(%22SETUPTOOLS_USE_DISTUTILS%22, %22stdlib%22)%0A
%0Aimport
|
519059b253490e97456747e299fb366b0aaae4d2
|
Bump version to 2.0a13
|
setup.py
|
setup.py
|
import distutils.cmd
import os
import subprocess
from setuptools import find_packages, setup
class BaseCommand(distutils.cmd.Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def create_command(text, commands):
"""Creates a custom setup.py command."""
class CustomCommand(BaseCommand):
description = text
def run(self):
for cmd in commands:
subprocess.check_call(cmd)
return CustomCommand
with open(
os.path.join(os.path.dirname(__file__), "README.md"), encoding="utf-8"
) as readme:
README = readme.read().split("h1>\n", 2)[1]
setup(
name="django-postgres-extra",
version="2.0a12",
packages=find_packages(),
include_package_data=True,
license="MIT License",
description="Bringing all of PostgreSQL's awesomeness to Django.",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/SectorLabs/django-postgres-extra",
author="Sector Labs",
author_email="open-source@sectorlabs.ro",
keywords=["django", "postgres", "extra", "hstore", "ltree"],
classifiers=[
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.5",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
],
python_requires=">=3.7",
install_requires=[
"Django>=2.0",
"enforce==0.3.4",
"python-dateutil==2.8.0",
"structlog==19.1.0",
"ansimarkup==1.4.0",
],
extras_require={
"docs": ["Sphinx==2.2.0", "sphinx-rtd-theme==0.4.3"],
"test": [
"psycopg2==2.8.4",
"dj-database-url==0.5.0",
"pytest==5.2.2",
"pytest-benchmark==3.2.2",
"pytest-django==3.6.0",
"pytest-cov==2.8.1",
"tox==3.14.0",
"freezegun==0.3.12",
"coveralls==1.8.2",
"snapshottest==0.5",
],
"analysis": [
"black==19.3b0",
"flake8==3.7.7",
"autoflake==1.3",
"autopep8==1.4.4",
"isort==4.3.20",
"sl-docformatter==1.4",
],
},
cmdclass={
"lint": create_command(
"Lints the code", [["flake8", "setup.py", "psqlextra", "tests"]]
),
"lint_fix": create_command(
"Lints the code",
[
[
"autoflake",
"--remove-all-unused-imports",
"-i",
"-r",
"setup.py",
"psqlextra",
"tests",
],
["autopep8", "-i", "-r", "setup.py", "psqlextra", "tests"],
],
),
"format": create_command(
"Formats the code", [["black", "setup.py", "psqlextra", "tests"]]
),
"format_verify": create_command(
"Checks if the code is auto-formatted",
[["black", "--check", "setup.py", "psqlextra", "tests"]],
),
"format_docstrings": create_command(
"Auto-formats doc strings", [["docformatter", "-r", "-i", "."]]
),
"format_docstrings_verify": create_command(
"Verifies that doc strings are properly formatted",
[["docformatter", "-r", "-c", "."]],
),
"sort_imports": create_command(
"Automatically sorts imports",
[
["isort", "setup.py"],
["isort", "-rc", "psqlextra"],
["isort", "-rc", "tests"],
],
),
"sort_imports_verify": create_command(
"Verifies all imports are properly sorted.",
[
["isort", "-c", "setup.py"],
["isort", "-c", "-rc", "psqlextra"],
["isort", "-c", "-rc", "tests"],
],
),
"fix": create_command(
"Automatically format code and fix linting errors",
[
["python", "setup.py", "format"],
["python", "setup.py", "format_docstrings"],
["python", "setup.py", "sort_imports"],
["python", "setup.py", "lint_fix"],
["python", "setup.py", "lint"],
],
),
"verify": create_command(
"Verifies whether the code is auto-formatted and has no linting errors",
[
["python", "setup.py", "format_verify"],
["python", "setup.py", "format_docstrings_verify"],
["python", "setup.py", "sort_imports_verify"],
["python", "setup.py", "lint"],
],
),
"test": create_command(
"Runs all the tests",
[
[
"pytest",
"--cov=psqlextra",
"--cov-report=term",
"--cov-report=xml:reports/xml",
"--cov-report=html:reports/html",
"--junitxml=reports/junit/tests.xml",
"--reuse-db",
]
],
),
},
)
|
Python
| 0
|
@@ -732,17 +732,17 @@
n=%222.0a1
-2
+3
%22,%0A p
|
4f699618930472e4f424a91286f824d6f79c24cf
|
Bump the s2clientprotocol version to support all the new features.
|
setup.py
|
setup.py
|
# Copyright 2017 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS-IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Module setuptools script."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from setuptools import setup
description = """PySC2 - StarCraft II Learning Environment
PySC2 is DeepMind's Python component of the StarCraft II Learning Environment
(SC2LE). It exposes Blizzard Entertainment's StarCraft II Machine Learning API
as a Python RL Environment. This is a collaboration between DeepMind and
Blizzard to develop StarCraft II into a rich environment for RL research. PySC2
provides an interface for RL agents to interact with StarCraft 2, getting
observations and sending actions.
We have published an accompanying blogpost and paper
https://deepmind.com/blog/deepmind-and-blizzard-open-starcraft-ii-ai-research-environment/
which outlines our motivation for using StarCraft II for DeepRL research, and
some initial research results using the environment.
Read the README at https://github.com/deepmind/pysc2 for more information.
"""
setup(
name='PySC2',
version='2.0.2',
description='Starcraft II environment and library for training agents.',
long_description=description,
author='DeepMind',
author_email='pysc2@deepmind.com',
license='Apache License, Version 2.0',
keywords='StarCraft AI',
url='https://github.com/deepmind/pysc2',
packages=[
'pysc2',
'pysc2.agents',
'pysc2.bin',
'pysc2.env',
'pysc2.lib',
'pysc2.maps',
'pysc2.run_configs',
'pysc2.tests',
],
install_requires=[
'absl-py>=0.1.0',
'deepdiff',
'enum34',
'future',
'futures; python_version == "2.7"',
'mock',
'mpyq',
'numpy>=1.10',
'portpicker>=1.2.0',
'protobuf>=2.6',
'pygame',
'requests',
's2clientprotocol>=4.8.6.73620.0',
's2protocol',
'six',
'sk-video',
'websocket-client',
'whichcraft',
],
entry_points={
'console_scripts': [
'pysc2_agent = pysc2.bin.agent:entry_point',
'pysc2_play = pysc2.bin.play:entry_point',
'pysc2_replay_info = pysc2.bin.replay_info:entry_point',
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
],
)
|
Python
| 0.000001
|
@@ -2463,16 +2463,17 @@
%3E=4.
-8.6.7362
+10.1.7580
0.0'
|
62778c3d0e26faeb5c05813387816f9764950af9
|
Cut release 1.0.0 of logging package. (#3278)
|
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 :: 3 - Alpha',
'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',
'Programming Language :: Python :: 3.6',
'Topic :: Internet',
],
}
REQUIREMENTS = [
'google-cloud-core >= 0.24.0, < 0.25dev',
'google-cloud-logging >= 0.24.0, < 0.25dev',
'gapic-google-cloud-error-reporting-v1beta1 >= 0.15.0, < 0.16dev'
]
setup(
name='google-cloud-error-reporting',
version='0.24.0',
description='Python Client for Stackdriver Error Reporting',
long_description=README,
namespace_packages=[
'google',
'google.cloud',
],
packages=find_packages(exclude=('unit_tests*',)),
install_requires=REQUIREMENTS,
**SETUP_BASE
)
|
Python
| 0
|
@@ -1849,38 +1849,36 @@
-logging %3E=
-0.24
+1.0
.0, %3C
-0.25
+2.0
dev',%0A 'g
@@ -2010,17 +2010,17 @@
n='0.24.
-0
+1
',%0A d
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.