commit
stringlengths
40
40
subject
stringlengths
1
1.49k
old_file
stringlengths
4
311
new_file
stringlengths
4
311
new_contents
stringlengths
1
29.8k
old_contents
stringlengths
0
9.9k
lang
stringclasses
3 values
proba
float64
0
1
2e63797833612b5d0da4cca51547fd5d2b1466d9
Use README as the long description for the package
setup.py
setup.py
#!/usr/bin/env python ###################################################################### # Copyright (C) 2011,2012,2014 Jaakko Luttinen # # This file is licensed under Version 3.0 of the GNU General Public # License. See LICENSE for a text of the license. ###########################################################...
#!/usr/bin/env python ###################################################################### # Copyright (C) 2011,2012,2014 Jaakko Luttinen # # This file is licensed under Version 3.0 of the GNU General Public # License. See LICENSE for a text of the license. ###########################################################...
Python
0
d13a161cf93b100154140d025097b98dd65b3c8b
Remove Servee dependency
setup.py
setup.py
import os import sys from fnmatch import fnmatchcase from distutils.util import convert_path from setuptools import setup, find_packages def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() # Provided as an attribute, so you can append to these instead # of replicating them: standar...
import os import sys from fnmatch import fnmatchcase from distutils.util import convert_path from setuptools import setup, find_packages def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() # Provided as an attribute, so you can append to these instead # of replicating them: standar...
Python
0
59249be2ea3a6c8b9d0f16ca91f6e7c83b04d701
update myst-parser version
setup.py
setup.py
from os import path from io import open import re from setuptools import setup, find_packages this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read() with open(path.join(this_directory, 'jupytext/version.py')) as f...
from os import path from io import open import re from setuptools import setup, find_packages this_directory = path.abspath(path.dirname(__file__)) with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f: long_description = f.read() with open(path.join(this_directory, 'jupytext/version.py')) as f...
Python
0
db88c98cc1b7ba76a3f8efa417bf241d9eec4532
Update to version 0.0.2
setup.py
setup.py
from setuptools import setup, find_packages from codecs import open from os import path here = path.abspath(path.dirname(__file__)) with open(path.join(here, "README.rst"), encoding="utf-8") as f: long_description = f.read() setup( name="cfn", version="0.0.2", description="Small script to manipulate AWS CloudFor...
from setuptools import setup, find_packages from codecs import open from os import path here = path.abspath(path.dirname(__file__)) with open(path.join(here, "README.rst"), encoding="utf-8") as f: long_description = f.read() setup( name="cfn", version="0.0.1", description="Small script to manipulate AWS CloudFor...
Python
0
bc828d621dbea3e9510c05c1d40b952b710c6187
Update description and link in setup.py
setup.py
setup.py
"""Packaging settings.""" from codecs import open from os.path import abspath, dirname, join from setuptools import setup from formica import __version__ this_dir = abspath(dirname(__file__)) with open(join(this_dir, 'README.md'), encoding='utf-8') as file: long_description = file.read() setup( name='form...
"""Packaging settings.""" from codecs import open from os.path import abspath, dirname, join from setuptools import setup from formica import __version__ this_dir = abspath(dirname(__file__)) with open(join(this_dir, 'README.md'), encoding='utf-8') as file: long_description = file.read() setup( name='form...
Python
0
05f8743a0047767dd46cdef3788fef2ede8e9ff0
add Pillow to requirements
setup.py
setup.py
from setuptools import setup, find_packages setup( name='django-vkontakte-postcard', version=__import__('vkontakte_postcard').__version__, description='Post photo to vk and add comment to it', long_description=open('README.md').read(), author='krupin.dv', author_email='krupin.dv19@gmail.com', ...
from setuptools import setup, find_packages setup( name='django-vkontakte-postcard', version=__import__('vkontakte_postcard').__version__, description='Post photo to vk and add comment to it', long_description=open('README.md').read(), author='krupin.dv', author_email='krupin.dv19@gmail.com', ...
Python
0
49b85784487bd25c1e0b231c862fd7a758b55aae
Clean up left-overs after changing to using publish
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 # Copyright 2017-2019 The FIAAS Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unle...
#!/usr/bin/env python # -*- coding: utf-8 # Copyright 2017-2019 The FIAAS Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unle...
Python
0
5aa525ed26f34705c58d62ccf8a8945d0a64bd15
add url
setup.py
setup.py
from setuptools import setup setup( name='django-hibpwned', version='0.1', description='Django password validator based on haveibeenpwned.com API', url='https://github.com/tombiasz/django-hibpwned', author='tombiasz', author_email='', license='MIT', packages=['haveibeenpwned'], zip_...
from setuptools import setup setup( name='django-hibpwned', version='0.1', description='Django password validator based on haveibeenpwned.com API', url='', author='tombiasz', author_email='', license='MIT', packages=['haveibeenpwned'], zip_safe=False, install_requires=[ ...
Python
0.000013
8f2c6cb5da0c456cefe958db305292a0abda8607
Fix license trove classifier, bump to 1.0.1
setup.py
setup.py
# -*- coding: utf-8 -*- """setup.py -- setup file for antimarkdown """ import os from setuptools import setup README = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.rst') setup( name = "antimarkdown", packages = ['antimarkdown'], install_requires = [ 'lxml', ], package...
# -*- coding: utf-8 -*- """setup.py -- setup file for antimarkdown """ import os from setuptools import setup README = os.path.join(os.path.abspath(os.path.dirname(__file__)), 'README.rst') setup( name = "antimarkdown", packages = ['antimarkdown'], install_requires = [ 'lxml', ], package...
Python
0.000007
f1b3d06093968259a6d92ae61baf2b6a02f397f6
Use logging module to display error information in setup.py
setup.py
setup.py
# encoding: utf-8 from setuptools import setup from setuptools.command.install import install from subprocess import call import sys import logging log = logging.getLogger() # check availability of runtime dependencies def check_any(*packages): """Issue a warning if none of the packages is available.""" error...
# encoding: utf-8 from setuptools import setup from setuptools.command.install import install from subprocess import call import sys # check availability of runtime dependencies def check_any(*packages): """Issue a warning if none of the packages is available.""" errors = [] for package in packages: ...
Python
0
bd3b09b3a0dc7cc450d4a6806802712d521b2d22
Remove Python 2
setup.py
setup.py
#!/usr/bin/env python # -*- test-case-name: twistedchecker -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. from setuptools import find_packages, setup with open('README.rst') as f: longDescription = f.read() setup( name='twistedchecker', description='A Twisted coding standard ...
#!/usr/bin/env python # -*- test-case-name: twistedchecker -*- # Copyright (c) Twisted Matrix Laboratories. # See LICENSE for details. from setuptools import find_packages, setup with open('README.rst') as f: longDescription = f.read() setup( name='twistedchecker', description='A Twisted coding standard ...
Python
0.99931
4e1360a3c340552be1145be6c474765bcfcf0379
write out imgfac/Version.py instead of using version.txt
setup.py
setup.py
# Copyright 2011 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
# Copyright 2011 Red Hat, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
Python
0
e544009bfdded85c6c3e69b34b0d2a74820a3fe7
Use pip-requirements.txt to populate install_requires
setup.py
setup.py
#!/usr/bin/python # # Surveilr - Log aggregation, analysis and visualisation # # Copyright (C) 2011 Linux2Go # # This program is free software: you can redistribute it and/or # modify it under the terms of the GNU Affero General Public License # as published by the Free Software Foundation, either versi...
#!/usr/bin/python # # Surveilr - Log aggregation, analysis and visualisation # # Copyright (C) 2011 Linux2Go # # This program is free software: you can redistribute it and/or # modify it under the terms of the GNU Affero General Public License # as published by the Free Software Foundation, either versi...
Python
0
f4be8bca302a5124aacbe817c35572e7e4923539
fix issue 217 by adding contrib to setup.py file
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- """This module contains setup instructions for pytube.""" try: from setuptools import setup except ImportError: from distutils.core import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('LICENSE') as readme_file: licens...
#!/usr/bin/env python # -*- coding: utf-8 -*- """This module contains setup instructions for pytube.""" try: from setuptools import setup except ImportError: from distutils.core import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('LICENSE') as readme_file: licens...
Python
0
0a859239eb82871a2ac576e1efc724cf696c3bf8
Extract a function that gets pytest-runner requirement
setup.py
setup.py
#!/usr/bin/env python # encoding: utf-8 """ .. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com> """ import os.path import sys import setuptools MODULE_NAME = "pytablereader" REQUIREMENT_DIR = "requirements" pkg_info = {} def need_pytest(): return set(["pytest", "test", "ptr"]).intersection(sys.a...
#!/usr/bin/env python # encoding: utf-8 """ .. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com> """ import os.path import sys import setuptools MODULE_NAME = "pytablereader" REQUIREMENT_DIR = "requirements" pkg_info = {} class ReleaseCommand(setuptools.Command): user_options = [] def initia...
Python
0.999986
9fa2174bd94832c5fdc831143fa119ded6f9dc86
Fix installation setup
setup.py
setup.py
# -*- coding: utf-8 -*- import re import sys from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand # Plugins that will not work with python versions EXCLUDE_PLUGINS = { "2.6": ['mfr_ipynb'], "2.7": [], "3.3": ['mfr_docx', 'mfr_code_pygments'], "3.4": ['mfr...
# -*- coding: utf-8 -*- import re import sys from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand # Plugins that will not work with python versions EXCLUDE_PLUGINS = { "2.6": ['mfr_ipynb'], "2.7": [], "3.3": ['mfr_docx', 'mfr_code_pygments'], "3.4": ['mfr...
Python
0.000001
4fde19b4b77c80b5d36376a763f644fc3711d1e2
Add Missing Requirement
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- try: from setuptools import setup except ImportError: from distutils.core import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read().replace('.. :changelog:', ...
#!/usr/bin/env python # -*- coding: utf-8 -*- try: from setuptools import setup except ImportError: from distutils.core import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read().replace('.. :changelog:', ...
Python
0
15694fa2f7cc18f256dc2866e6206686de1ab795
remove gevent extras_require
setup.py
setup.py
#!/usr/bin/env python """ distutils/setuptools install script. See inline comments for packaging documentation. """ import os import sys import requests from requests.compat import is_py3 try: from setuptools import setup # hush pyflakes setup except ImportError: from distutils.core import setup if...
#!/usr/bin/env python """ distutils/setuptools install script. See inline comments for packaging documentation. """ import os import sys import requests from requests.compat import is_py3 try: from setuptools import setup # hush pyflakes setup except ImportError: from distutils.core import setup if...
Python
0.000001
2de635bbb747b21d04eac8530d1412be2c3cd9c1
Bump version
setup.py
setup.py
"""Nanoservice installation script https://github.com/walkr/nanoservice """ #!/usr/bin/env python import sys from setuptools import setup def read_long_description(readme_file): """ Read package long description from README file """ try: import pypandoc except (ImportError, OSError) as excepti...
"""Nanoservice installation script https://github.com/walkr/nanoservice """ #!/usr/bin/env python import sys from setuptools import setup def read_long_description(readme_file): """ Read package long description from README file """ try: import pypandoc except (ImportError, OSError) as excepti...
Python
0
e1200dfc7a882340037448ff64241786e828c8c3
Include changelog on pypi page
setup.py
setup.py
from setuptools import setup, find_packages setup( name='mittn', use_scm_version=True, description='Mittn', long_description=open('README.rst').read() + '\n' + open('CHANGELOG.rst').read(), classifiers=[ "Programming Language :: Python :: 2.7" ], license='Apache License 2.0', ...
from setuptools import setup, find_packages setup( name='mittn', use_scm_version=True, description='Mittn', long_description=open('README.rst').read(), classifiers=[ "Programming Language :: Python :: 2.7" ], license='Apache License 2.0', author='F-Secure Corporation', au...
Python
0
ed5119485dcaaf0ff5f68a365fd2cfa44cfd0a16
exclude test package from setup
setup.py
setup.py
from setuptools import setup, find_packages setup( name='django-tex', description='A simple Django app to render Latex templates and compile them into Pdf files.', url='https://github.com/weinbusch/django-tex', author='Martin Bierbaum', license='MIT', keywords='django latex jinja2', package...
from setuptools import setup, find_packages setup( name='django-tex', # version='0.2', description='A simple Django app to render Latex templates and compile them into Pdf files.', url='https://github.com/weinbusch/django-tex', author='Martin Bierbaum', license='MIT', keywords='django latex...
Python
0
fe03ecdf9562a9fb08d6a0adab5848d0deeef224
add `zvm` script to setup
setup.py
setup.py
# Copyright 2014 Rackspace, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
# Copyright 2014 Rackspace, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
Python
0
dafb7d1023d77c2b094b0de5296acc54818722f5
Bump version to 0.4.1
setup.py
setup.py
# dockerpty. # # Copyright 2014 Chris Corbyn <chris@w3style.co.uk> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ap...
# 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 ap...
Python
0
b8c8c4a599b2f101c5d375553676950faa965fea
bump package versions
setup.py
setup.py
import setuptools from pathlib import Path PKG_NAME = "archivebox" REPO_URL = "https://github.com/pirate/ArchiveBox" BASE_DIR = Path(__file__).parent.resolve() SOURCE_DIR = BASE_DIR / PKG_NAME README = (BASE_DIR / "README.md").read_text() VERSION = (SOURCE_DIR / "VERSION").read_text().strip() # To see when setup.py g...
import setuptools from pathlib import Path PKG_NAME = "archivebox" REPO_URL = "https://github.com/pirate/ArchiveBox" BASE_DIR = Path(__file__).parent.resolve() SOURCE_DIR = BASE_DIR / PKG_NAME README = (BASE_DIR / "README.md").read_text() VERSION = (SOURCE_DIR / "VERSION").read_text().strip() # To see when setup.py g...
Python
0
c82a7b64e98cabc301f4d420483cb384888bb960
prepare for release 1.5
setup.py
setup.py
"""Main setup script.""" from setuptools import setup, find_packages NAME = "bcubed" VERSION = "1.5" DESCRIPTION = "Simple extended BCubed implementation in Python for clustering evaluation" AUTHOR = "Hugo Hromic" AUTHOR_EMAIL = "hhromic@gmail.com" URL = "https://github.com/hhromic/python-bcubed" DOWNLOAD_URL = URL +...
"""Main setup script.""" from setuptools import setup, find_packages NAME = "bcubed" VERSION = "1.4" DESCRIPTION = "Simple extended BCubed implementation in Python for clustering evaluation" AUTHOR = "Hugo Hromic" AUTHOR_EMAIL = "hhromic@gmail.com" URL = "https://github.com/hhromic/python-bcubed" DOWNLOAD_URL = URL +...
Python
0
9c72d48b007d71ba53119031d1e4c71662d5988a
Fix for issue 10: chicken/egg issue on importing version number in setup.py
setup.py
setup.py
# -*- coding: utf-8 -*- from setuptools import setup version = '0.9' with open('README.txt', 'r') as readme: long_description = readme.read() requires = ['Sphinx>=0.6'] setup( name='cartouche', packages=['cartouche'], version = "{version}".format(version=version), url='http://code.google.com/p/...
# -*- coding: utf-8 -*- from setuptools import setup from cartouche import __version__ as version with open('README.txt', 'r') as readme: long_description = readme.read() requires = ['Sphinx>=0.6'] setup( name='cartouche', packages=['cartouche'], version = "{version}".format(version=version), u...
Python
0
503e370890c03ac1859b97c64608275eae1f6716
Update version number for 1.0.0 release
setup.py
setup.py
# -*- coding: utf-8 -*- from setuptools import setup, find_packages # Always prefer setuptools over distutils from codecs import open # To use a consistent encoding from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the relevant file with open(path.join(here, 'README.rst...
# -*- coding: utf-8 -*- from setuptools import setup, find_packages # Always prefer setuptools over distutils from codecs import open # To use a consistent encoding from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the relevant file with open(path.join(here, 'README.rst...
Python
0
a55282f2ee339061eee2ee8e9202fe15ab6a389f
fix missing commands directory in install
setup.py
setup.py
from distutils.core import setup setup( name = 'piton', license='LICENSE', packages = ['piton', 'piton/utils', 'piton/commands'], # this must be the same as the name above version = '0.1.0', description = 'A local python package manager', url = 'https://github.com/piton-package-manager/piton', # use the URL to th...
from distutils.core import setup setup( name = 'piton', license='LICENSE', packages = ['piton', 'piton/utils'], # this must be the same as the name above version = '0.1.0', description = 'A local python package manager', url = 'https://github.com/piton-package-manager/piton', # use the URL to the github repo key...
Python
0.000001
8c5dfce7ccbc7729cc085d44177bcf68b370ba02
update numpy dep
setup.py
setup.py
from setuptools import setup from setuptools import find_packages def readme(): with open('README.md', encoding='utf-8') as file: return file.read() def license(): with open('LICENSE.txt', encoding='utf-8') as file: return file.read() setup( name='nalaf', version='0.5.6-SNAPSHOT', ...
from setuptools import setup from setuptools import find_packages def readme(): with open('README.md', encoding='utf-8') as file: return file.read() def license(): with open('LICENSE.txt', encoding='utf-8') as file: return file.read() setup( name='nalaf', version='0.5.6-SNAPSHOT', ...
Python
0.000001
9fc336acb5451f257399c8575fe0e6ca7e4f72ef
add install_requires to setup.py
setup.py
setup.py
from distutils.core import setup setup(name='zencoder', version='0.3', description='Integration library for Zencoder', author='Alex Schworer', author_email='alex.schworer@gmail.com', url='http://github.com/schworer/zencoder-py', license="MIT License", install_requires=['httpl...
from distutils.core import setup setup(name='zencoder', version='0.3', description='Integration library for Zencoder', author='Alex Schworer', author_email='alex.schworer@gmail.com', url='http://github.com/schworer/zencoder-py', license="MIT License", packages=['zencoder'] ...
Python
0
f1b565f4d548e4036bb54dfff0e33a8a9b5db176
=3.25
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup setup(name="i3pystatus", version="3.25", description="Like i3status, this generates status line for i3bar / i3wm", url="http://github.com/enkore/i3pystatus", license="MIT", classifiers=[ "Development Status :: 4 - Beta", ...
#!/usr/bin/env python from setuptools import setup setup(name="i3pystatus", version="3.24", description="Like i3status, this generates status line for i3bar / i3wm", url="http://github.com/enkore/i3pystatus", license="MIT", classifiers=[ "Development Status :: 4 - Beta", ...
Python
0.999939
c34ce19b3c1a1f7fb867d2977c924d870b12286c
Bump version to v1.1.0.
setup.py
setup.py
#!/usr/bin/env python # Copyright (c) 2013 The MITRE Corporation. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, ...
#!/usr/bin/env python # Copyright (c) 2013 The MITRE Corporation. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # 1. Redistributions of source code must retain the above copyright # notice, ...
Python
0
bb1afe0a8571e22d590b64b6003ae1f4bb1ab31f
Revert version to 1.5.0
setup.py
setup.py
# MIT License # Copyright (c) 2017 MassChallenge, Inc. import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__)...
# MIT License # Copyright (c) 2017 MassChallenge, Inc. import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__)...
Python
0
926598b3af76c9c4d8c43b0a4d0c4a001e173653
Upgrade version to v0.3.2
setup.py
setup.py
from setuptools import setup setup( name='py_expression_eval', version='0.3.2', description='Python Mathematical Expression Evaluator', url='https://github.com/AxiaCore/py-expression-eval/', author='vero4ka', author_email='vero4ka.ru@gmail.com', license='MIT', packages=['py_expression_e...
from setuptools import setup setup( name='py_expression_eval', version='0.3.1', description='Python Mathematical Expression Evaluator', url='https://github.com/AxiaCore/py-expression-eval/', author='vero4ka', author_email='vero4ka.ru@gmail.com', license='MIT', packages=['py_expression_e...
Python
0.000001
d68bd4d65d44ac45b689b34e040a44addf327a1e
Bump version.
setup.py
setup.py
# -*- coding: utf-8 -*- from setuptools import setup setup( name='Flask-GoogleAuth', version='0.4.lft.1', url='https://github.com/sashka/flask-googleauth', license='BSD', author='Alexander Saltanov', author_email='asd@mokote.com', description='Super simple OpenID and Google Federated Auth ...
# -*- coding: utf-8 -*- from setuptools import setup setup( name='Flask-GoogleAuth', version='0.4', url='https://github.com/sashka/flask-googleauth', license='BSD', author='Alexander Saltanov', author_email='asd@mokote.com', description='Super simple OpenID and Google Federated Auth for Fl...
Python
0
04a6ba1729befd63cd9a4507d633c1497817c40b
Update classifiers
setup.py
setup.py
from setuptools import setup def get_version(): import re with open('lastpass/__init__.py', 'r') as f: for line in f: m = re.match(r'__version__ = [\'"]([^\'"]*)[\'"]', line) if m: return m.group(1) raise RuntimeError('Cannot find version information') set...
from setuptools import setup def get_version(): import re with open('lastpass/__init__.py', 'r') as f: for line in f: m = re.match(r'__version__ = [\'"]([^\'"]*)[\'"]', line) if m: return m.group(1) raise RuntimeError('Cannot find version information') set...
Python
0.000002
c1fb843497f85eb4e1fb8d26fb7c168d936fc968
Bump version 1.1.1 -> 1.1.2
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys from os import path try: from setuptools import setup except ImportError: from distutils.core import setup readme_file = path.join(path.dirname(path.abspath(__file__)), 'README.rst') with open(readme_file) as readme_file: readme = readme_file.read(...
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys from os import path try: from setuptools import setup except ImportError: from distutils.core import setup readme_file = path.join(path.dirname(path.abspath(__file__)), 'README.rst') with open(readme_file) as readme_file: readme = readme_file.read(...
Python
0.000001
344901baf5d11649fbc5e0c1fc3caa69175e2482
Set core version compatible specifier to packages.
setup.py
setup.py
# Copyright 2016 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
# 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, ...
Python
0
09003c9e9ac1d389c04e851c5700662d3006baec
fix package name & add maintainers
setup.py
setup.py
from distutils.core import setup setup( name = "geonode-dialogos", version = "0.6", author = "Eldarion", author_email = "development@eldarion.com", maintaner = "Geonode Developers", maintainer_email = "geonode-devel@lists.osgeo.org", description = "a flaggable comments app", long_descr...
from distutils.core import setup setup( name = "dialogos", version = "0.6", author = "Eldarion", author_email = "development@eldarion.com", description = "a flaggable comments app", long_description = open("README.rst").read(), license = "BSD", url = "https://github.com/GeoNode/geonode...
Python
0
cca33a507b1d6ac0060f205b287784b286bcfae7
Bump version
setup.py
setup.py
# -*- coding: utf-8 -*- from setuptools import setup, find_packages from setuptools.extension import Extension from Cython.Build import cythonize import numpy as np import io PACKAGE_NAME = 'pysaliency' VERSION = '0.2.11' DESCRIPTION = 'A Python Framework for Saliency Modeling and Evaluation' AUTHOR = 'Matthias Kümm...
# -*- coding: utf-8 -*- from setuptools import setup, find_packages from setuptools.extension import Extension from Cython.Build import cythonize import numpy as np import io PACKAGE_NAME = 'pysaliency' VERSION = '0.2.10' DESCRIPTION = 'A Python Framework for Saliency Modeling and Evaluation' AUTHOR = 'Matthias Kümm...
Python
0
33e4f077c43a8102291aba301d9c33d5255badf8
drop distutils dependency
setup.py
setup.py
from setuptools import setup, Extension from pkg_resources import resource_string from Cython.Distutils import build_ext class build_ext_subclass(build_ext): """ This class is an ugly hack to a problem that arises when one must force a compiler to use specific flags by adding to the environment somethiing...
from setuptools import setup from distutils.extension import Extension from pkg_resources import resource_string from Cython.Distutils import build_ext class build_ext_subclass(build_ext): """ This class is an ugly hack to a problem that arises when one must force a compiler to use specific flags by addin...
Python
0
c62d63fee453390f5d421dbd8d6b1654fb121b3e
Add pytest as a dependency to setup.py
setup.py
setup.py
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
# Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
Python
0.000001
a99209821a285c78dc487cac34a3e5b9f449d65b
Update version to 1.0.3
setup.py
setup.py
import os from setuptools import setup, find_packages with open('requirements.txt') as file_requirements: requirements = file_requirements.read().splitlines() setup( name='aws_eis', version='1.0.3', author='John Paul P. Doria', author_email='jp@lazyadm.in', description=('Register snapshot dire...
import os from setuptools import setup, find_packages with open('requirements.txt') as file_requirements: requirements = file_requirements.read().splitlines() setup( name='aws_eis', version='1.0.2', author='John Paul P. Doria', author_email='jp@lazyadm.in', description=('Register snapshot dire...
Python
0
5f48ee965e17aa1cebf4c6dfb14c08dd934dc0f8
Bump requests library to 2.7.0
setup.py
setup.py
try: from setuptools import setup except ImportError: from distutils.core import setup packages = [ 'vero' ] requires = ['requests==2.7.0'] tests_require = ['mock==1.0.1'] setup( name='vero', description='Python wrapper for Vero API', long_description=open('README.rst').read(), version='1....
try: from setuptools import setup except ImportError: from distutils.core import setup packages = [ 'vero' ] requires = ['requests==1.2.3'] tests_require = ['mock==1.0.1'] setup( name='vero', description='Python wrapper for Vero API', long_description=open('README.rst').read(), version='1....
Python
0
6dc41940388a3bb9ae000c0760514f3a1455e9f1
Use setuptools find_packages
setup.py
setup.py
#!/usr/bin/env python import os from fnmatch import fnmatch from setuptools import setup, find_packages import versioneer def find_data_files(where, exts): exts = tuple(exts) for root, dirs, files in os.walk(where): for f in files: if any(fnmatch(f, pat) for pat in exts): ...
#!/usr/bin/env python import os from fnmatch import fnmatch from setuptools import setup import versioneer def find_packages(path): for root, _, _ in filter(lambda x: '__init__.py' in x[2], os.walk(path)): yield os.path.relpath(root).replace(os.sep, '.') def find_data_files(where, exts): exts = tu...
Python
0.000001
d04bc63fe078e7147112690a997ec35c69b2ad95
Fix the topic.
setup.py
setup.py
# -*- coding: utf-8 # Always prefer setuptools over distutils from setuptools import setup, find_packages # To use a consistent encoding from codecs import open from os import path here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f: long_description =...
# -*- coding: utf-8 # Always prefer setuptools over distutils from setuptools import setup, find_packages # To use a consistent encoding from codecs import open from os import path here = path.abspath(path.dirname(__file__)) with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f: long_description =...
Python
0.99999
24154ca41a5a7d596b8dc9f05c016c272ee130be
Bump version number.
setup.py
setup.py
#!/usr/bin/env python3 from setuptools import setup, find_packages setup( name='ppp_cas', version='0.4', description='CAS plugin for PPP', url='https://github.com/ProjetPP', author='Projet Pensées Profondes', author_email='marc.chevalier@ens-lyon.org', license='MIT', classifiers=[ ...
#!/usr/bin/env python3 from setuptools import setup, find_packages setup( name='ppp_cas', version='0.3.2', description='CAS plugin for PPP', url='https://github.com/ProjetPP', author='Projet Pensées Profondes', author_email='marc.chevalier@ens-lyon.org', license='MIT', classifiers=[ ...
Python
0
46aebb8479007f03b3a468920ecba2f57ad05241
add URL
setup.py
setup.py
from setuptools import setup setup( name='tornado_shell', version='0.0.1', packages=['tornadoshell'], url='https://github.com/vukasin/tornado-shell', license='LICENSE.txt', author='Vukasin Toroman', author_email='vtoroman@attensity.com', description='', requires=['tornado'] )
from setuptools import setup setup( name='tornado_shell', version='0.0.1', packages=['tornadoshell'], url='', license='LICENSE.txt', author='Vukasin Toroman', author_email='vtoroman@attensity.com', description='', requires=['tornado'] )
Python
0.000001
15437c33fd25a1f10c3203037be3bfef17716fbb
Add trove classifiers for Python versions
setup.py
setup.py
import os from setuptools import setup, find_packages LONG_DESCRIPTION = """Django-Prometheus This library contains code to expose some monitoring metrics relevant to Django internals so they can be monitored by Prometheus.io. See https://github.com/korfuri/django-prometheus for usage instructions. """ setup( n...
import os from setuptools import setup, find_packages LONG_DESCRIPTION = """Django-Prometheus This library contains code to expose some monitoring metrics relevant to Django internals so they can be monitored by Prometheus.io. See https://github.com/korfuri/django-prometheus for usage instructions. """ setup( n...
Python
0
94fbc9de5e540e9fc14ac0bd777b259df7e8f5d6
Bump requirements
setup.py
setup.py
#!/usr/bin/env python3 import os from os.path import dirname, exists, join import sys, subprocess from setuptools import setup, find_packages setup_dir = dirname(__file__) git_dir = join(setup_dir, '.git') base_package = 'robotpy_ext' version_file = join(setup_dir, base_package, 'version.py') # Automatically generat...
#!/usr/bin/env python3 import os from os.path import dirname, exists, join import sys, subprocess from setuptools import setup, find_packages setup_dir = dirname(__file__) git_dir = join(setup_dir, '.git') base_package = 'robotpy_ext' version_file = join(setup_dir, base_package, 'version.py') # Automatically generat...
Python
0.000001
0f97e1427cf86cab4d53f613eb440c1cf4426e6d
Change download url for release 0.3.6
setup.py
setup.py
from distutils.core import setup setup( name = 'django-test-addons', packages = ['test_addons'], version = '0.3.6', description = 'Library to provide support for testing multiple database system like Mongo, Redis, Neo4j along with django.', author = 'Hakampreet Singh Pandher', author_email = 'hspandher@outlook.c...
from distutils.core import setup setup( name = 'django-test-addons', packages = ['test_addons'], version = '0.3.5', description = 'Library to provide support for testing multiple database system like Mongo, Redis, Neo4j along with django.', author = 'Hakampreet Singh Pandher', author_email = 'hspandher@outlook.c...
Python
0
9d8c769b9d0a3c1fa2da62c2a2a221e9a5764571
bump version for release
setup.py
setup.py
from setuptools import setup, find_packages import os kws = {} if not int(os.getenv( 'DISABLE_INSTALL_REQUIRES','0' )): kws['install_requires'] = ['numpy>=1.0.4', 'motmot.imops>=0.5.2.dev', 'pyglet>=1.0', 'wxPython>=2.8', ...
from setuptools import setup, find_packages import os kws = {} if not int(os.getenv( 'DISABLE_INSTALL_REQUIRES','0' )): kws['install_requires'] = ['numpy>=1.0.4', 'motmot.imops>=0.5.2.dev', 'pyglet>=1.0', 'wxPython>=2.8', ...
Python
0
d112981794ddd7756be11618517495c36b6da6ba
make MP build optional
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Boost Python Bullet ======= This is the setup file for the boost python thin wrapper for the Bullet Physics SDK (see: http://bulletphysics.org/) """ import os import sys from setuptools import find_packages from distutils.core import setup, Extension def parallelCComp...
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Boost Python Bullet ======= This is the setup file for the boost python thin wrapper for the Bullet Physics SDK (see: http://bulletphysics.org/) """ import os from setuptools import find_packages from distutils.core import setup, Extension def parallelCCompile(self, s...
Python
0
a5587dadbc152ba2a4cf1baa076f544018cac40e
Update setup.py Update Version Number.
setup.py
setup.py
# coding: utf-8 """ Trakerr API Get your application events and errors to Trakerr via the *Trakerr API*. OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file...
# coding: utf-8 """ Trakerr API Get your application events and errors to Trakerr via the *Trakerr API*. OpenAPI spec version: 1.0.0 Generated by: https://github.com/swagger-api/swagger-codegen.git Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file...
Python
0
b8fcd65e0fb4b3d35c09068d6972778918d1d2aa
Bump version to 0.7.0
setup.py
setup.py
# -*- coding: utf-8 -*- """ django-cache-url ~~~~~~~~~~~~~~~~ This simple Django utility allows you to utilize the `12factor <http://www.12factor.net/backing-services>`_ inspired ``CACHE_URL`` environment variable to configure your Django application. Usage ----- Configure your cache in ``settings.py``:: CACHE...
# -*- coding: utf-8 -*- """ django-cache-url ~~~~~~~~~~~~~~~~ This simple Django utility allows you to utilize the `12factor <http://www.12factor.net/backing-services>`_ inspired ``CACHE_URL`` environment variable to configure your Django application. Usage ----- Configure your cache in ``settings.py``:: CACHE...
Python
0
8f4b1fee00a70b1e22e27b4f5e9a256ff2964cf4
update setup.py download_url to point to wheel
setup.py
setup.py
from setuptools import setup import codecs import os VERSION = '1.4.2' AUTHOR_NAME = 'Andy Port' AUTHOR_EMAIL = 'AndyAPort@gmail.com' GITHUB = 'https://github.com/mathandy/svgpathtools' def read(*parts): """ Build an absolute path from *parts* and and return the contents of the resulting file. Assume U...
from setuptools import setup import codecs import os VERSION = '1.4.2' AUTHOR_NAME = 'Andy Port' AUTHOR_EMAIL = 'AndyAPort@gmail.com' GITHUB = 'https://github.com/mathandy/svgpathtools' def read(*parts): """ Build an absolute path from *parts* and and return the contents of the resulting file. Assume U...
Python
0
709ef820ddc49651b9ec496db366a4af48554efc
Revise time complexity & comments from London
lc0085_maximal_rectangle.py
lc0085_maximal_rectangle.py
"""Leetcode 85. Maximal Rectangle Hard URL: https://leetcode.com/problems/maximal-rectangle/ Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing only 1's and return its area. Example: Input: [ ["1","0","1","0","0"], ["1","0","1","1","1"], ["1","1","1","1","1"], ["1","0","0...
"""Leetcode 85. Maximal Rectangle Hard URL: https://leetcode.com/problems/maximal-rectangle/ Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing only 1's and return its area. Example: Input: [ ["1","0","1","0","0"], ["1","0","1","1","1"], ["1","1","1","1","1"], ["1","0","0...
Python
0
989b110bf0a0681db45036cd1a130634b278d971
Update setup.py
setup.py
setup.py
import os from setuptools import setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-oidc-provider', version='0....
import os from setuptools import setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='django-oidc-provider', version='0....
Python
0
40afc357e0850c71153f8779583fc03f643b2271
Reorder and group metadata and options together
setup.py
setup.py
from setuptools import find_packages, setup setup( name='satnogsclient', version='0.2.5', url='https://github.com/satnogs/satnogs-client/', author='SatNOGS team', author_email='client-dev@satnogs.org', description='SatNOGS Client', zip_safe=False, install_requires=[ 'APSchedule...
from setuptools import find_packages, setup setup(name='satnogsclient', packages=find_packages(), version='0.2.5', author='SatNOGS team', author_email='client-dev@satnogs.org', url='https://github.com/satnogs/satnogs-client/', description='SatNOGS Client', include_package_dat...
Python
0
55b1315aca711869df34dc2d427a1b08053e3ed0
Bump version to v0.1.1
setup.py
setup.py
from setuptools import setup from codecs import open from os import path, system import sys here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() version = '0.1.1' if sys.argv[-1] ==...
from setuptools import setup from codecs import open from os import path, system import sys here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() version = '0.1.0' if sys.argv[-1] ==...
Python
0
ec2b867a9203bbcf21f239c9b3d7d6c90b4b6642
bump to version 0.1.7
setup.py
setup.py
from setuptools import setup with open('README.rst') as README: long_description = README.read() long_description = long_description[long_description.index('Description'):] setup(name='wos', version='0.1.7', description='Web of Science client using API v3.', long_description=long_description...
from setuptools import setup with open('README.rst') as README: long_description = README.read() long_description = long_description[long_description.index('Description'):] setup(name='wos', version='0.1.6', description='Web of Science client using API v3.', long_description=long_description...
Python
0
f1af14959468ca4f8d18ce3c2e03557036ffb32e
Bump version
setup.py
setup.py
#!/usr/bin/env python import sys from distutils.core import setup from distutils.extension import Extension if sys.platform == 'darwin': monoclock_libraries = [] else: monoclock_libraries = ['rt'] setup( name='Monoclock', version='14.4.18', description="Monotonic clock access for Python", url="https://github.c...
#!/usr/bin/env python import sys from distutils.core import setup from distutils.extension import Extension if sys.platform == 'darwin': monoclock_libraries = [] else: monoclock_libraries = ['rt'] setup( name='Monoclock', version='14.4.16', description="Monotonic clock access for Python", url="https://github.c...
Python
0
4eb298af6131c6747c8053b3ed7ddf9058fc23a6
Allow setup.py to work when cython is not available
setup.py
setup.py
from setuptools import setup, find_packages try: from Cython.Build import cythonize ext_modules = cythonize("wallpaper/*.pyx") except ImportError: ext_modules = [] setup( name='python-wallpaper', version='0.2.3', url='https://github.com/ondergetekende/python-wallpaper', description=( ...
from setuptools import setup, find_packages from Cython.Build import cythonize setup( name='python-wallpaper', version='0.2.2', url='https://github.com/ondergetekende/python-wallpaper', description=( 'python-wallpaper generates pseudorandom abstract wallpapers' ), author='Koert van der ...
Python
0
b65b0ed8d09d4a22164f16ed60f7c5b71d6f54db
Move download_url and bump version
setup.py
setup.py
import setuptools from gitvendor.version import Version from setuptools import find_packages CLASSIFIERS = [ 'Development Status :: 3 - Alpha', 'License :: OSI Approved :: MIT License', 'Environment :: Console', 'Topic :: Software Development' ] setuptools.setup(name='git-vendor', ver...
import setuptools from gitvendor.version import Version from setuptools import find_packages CLASSIFIERS = [ 'Development Status :: 3 - Alpha', 'License :: OSI Approved :: MIT License', 'Environment :: Console', 'Topic :: Software Development' ] setuptools.setup(name='git-vendor', ver...
Python
0
23aea43bd9bda180c2d00c971d02df49a703dfdf
make urllib3 an explicit dependency
setup.py
setup.py
from setuptools import setup def get_advanced_templates(): template_base = 'aws/templates/advanced/' template_names = ['advanced-master', 'advanced-priv-agent', 'advanced-pub-agent', 'infra', 'zen'] return [template_base + name + '.json' for name in template_names] setup( name='dcos_image', ver...
from setuptools import setup def get_advanced_templates(): template_base = 'aws/templates/advanced/' template_names = ['advanced-master', 'advanced-priv-agent', 'advanced-pub-agent', 'infra', 'zen'] return [template_base + name + '.json' for name in template_names] setup( name='dcos_image', ver...
Python
0.000002
8f30f96ce48f347bc940f3da6f96254dc988817a
Update setup.py to include gl modules.
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup import sys # get pygly's version but don't import it # or we'll need our dependencies already installed # https://github.com/todddeluca/happybase/commit/63573cdaefe3a2b98ece87e19d9ceb18f00bc0d9 execfile('pygly/version.py') os_x_requires = ['pyglet(>=1.2)', 'pyob...
#!/usr/bin/env python from distutils.core import setup import sys # get pygly's version but don't import it # or we'll need our dependencies already installed # https://github.com/todddeluca/happybase/commit/63573cdaefe3a2b98ece87e19d9ceb18f00bc0d9 execfile('pygly/version.py') os_x_requires = ['pyglet(>=1.2)', 'pyob...
Python
0
ee22c23462b93c532e7b419bc9665916196a86e8
Add C language classifier
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from distutils.core import setup, Extension import numpy import re readme = open('README.rst').read() text = open('tifffile/__init__.py').read() version = re.search("__version__ = '(.*?)'", text).groups()[0] setup( name='tifffile', version=version, descrip...
#!/usr/bin/env python # -*- coding: utf-8 -*- from distutils.core import setup, Extension import numpy import re readme = open('README.rst').read() text = open('tifffile/__init__.py').read() version = re.search("__version__ = '(.*?)'", text).groups()[0] setup( name='tifffile', version=version, descrip...
Python
0.998555
dfd5885e5a8209ef18757de959a90a3de8dd19ca
allow us to build a package non-interactively
setup.py
setup.py
from __future__ import print_function import warnings from setuptools import setup, find_packages, Extension from setuptools.command.install import install import numpy from theano.compat.six.moves import input # Because many people neglected to run the pylearn2/utils/setup.py script # separately, we compile the nec...
from __future__ import print_function import warnings from setuptools import setup, find_packages, Extension from setuptools.command.install import install import numpy from theano.compat.six.moves import input # Because many people neglected to run the pylearn2/utils/setup.py script # separately, we compile the nec...
Python
0.000001
33ed7983faec74c389902cd6ec6f6586d81e3168
Fix setup.py on 2.x
setup.py
setup.py
# coding: utf8 import os import io from setuptools import setup setup( name='azureblur', version='0.1', url='https://github.com/SimonSapin/azureblur', license='MPL2', maintainer='Simon Sapin', maintainer_email='simon.sapin@exyr.org', description='The triple box blur implementation from Fire...
import os import io from setuptools import setup setup( name='azureblur', version='0.1', url='https://github.com/SimonSapin/azureblur', license='MPL2', maintainer='Simon Sapin', maintainer_email='simon.sapin@exyr.org', description='The triple box blur implementation from Firefox’s moz2d/Azu...
Python
0
051c02e4511d1ef2cc1627c125e0f3a35310e6f8
bump version
setup.py
setup.py
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='hopsutil', version='0.4.9', author='Robin Andersson', author_email='robin2@kth.se', description='A helper library for Hops that facilitates development by hi...
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='hopsutil', version='0.4.8', author='Robin Andersson', author_email='robin2@kth.se', description='A helper library for Hops that facilitates development by hi...
Python
0
2bd52cd615f2b8e244b0b5db3e21b983456b07f4
Change version to 0.54
setup.py
setup.py
from setuptools import setup import sys if not sys.version_info[0] == 3 and sys.version_info[1] < 5: sys.exit('Python < 3.5 is not supported') version = '0.54' setup( name='steampy', packages=['steampy', 'test', 'examples', ], version=version, description='A Steam lib for trade automation', a...
from setuptools import setup import sys if not sys.version_info[0] == 3 and sys.version_info[1] < 5: sys.exit('Python < 3.5 is not supported') version = '0.53' setup( name='steampy', packages=['steampy', 'test', 'examples', ], version=version, description='A Steam lib for trade automation', a...
Python
0.000007
44a68e01b6051ce8f1c30997187e725402c048a4
Add long_description to setup.py
setup.py
setup.py
""" Py-Tree-sitter """ import os import platform from setuptools import setup, Extension base_dir = os.path.dirname(__file__) with open(os.path.join(base_dir, 'README.md')) as f: long_description = f.read() setup( name = "tree_sitter", version = "0.0.8", maintainer = "Max Brunsfeld", maintainer_...
""" Py-Tree-sitter """ import platform from setuptools import setup, Extension setup( name = "tree_sitter", version = "0.0.8", maintainer = "Max Brunsfeld", maintainer_email = "maxbrunsfeld@gmail.com", author = "Max Brunsfeld", author_email = "maxbrunsfeld@gmail.com", url = "https://gith...
Python
0
e1411e0dfe5bea90dc52605eb08d4fb98e21edab
Bump version to 0.8.1
setup.py
setup.py
# coding: utf-8 from setuptools import setup with open('README.rst', 'r') as f: long_description = f.read() setup( name='cs', version='0.8.1', url='https://github.com/exoscale/cs', license='BSD', author=u'Bruno Renié', description=('A simple yet powerful CloudStack API client for ' ...
# coding: utf-8 from setuptools import setup with open('README.rst', 'r') as f: long_description = f.read() setup( name='cs', version='0.8.0', url='https://github.com/exoscale/cs', license='BSD', author=u'Bruno Renié', description=('A simple yet powerful CloudStack API client for ' ...
Python
0
589c2f6422a3d27d47e1e7f80d9cb5a48f8e5d26
Bump version instructed by bamboo
setup.py
setup.py
import os from setuptools import setup, find_packages def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() dependency_links = [ 'http://github.com/pbs/django-cms/tarball/support/2.3.x#egg=django-cms-2.3.5pbs', 'http://github.com/pbs/django-filer/tarball/master_pbs#egg=django...
import os from setuptools import setup, find_packages def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() dependency_links = [ 'http://github.com/pbs/django-cms/tarball/support/2.3.x#egg=django-cms-2.3.5pbs', 'http://github.com/pbs/django-filer/tarball/master_pbs#egg=django...
Python
0
9cbc694535b81ba9d9d268d1efc5f0862daa93c8
Switch package URL back.
setup.py
setup.py
import os import os.path import sys from setuptools import find_packages, setup requirements = ['parse>=1.3.3'] major, minor = sys.version_info[:2] if major == 2 and minor < 7: requirements.append('argparse') if major == 2 and minor < 6: requirements.append('simplejson') description = ''.join(open('README.rs...
import os import os.path import sys from setuptools import find_packages, setup requirements = ['parse>=1.3.3'] major, minor = sys.version_info[:2] if major == 2 and minor < 7: requirements.append('argparse') if major == 2 and minor < 6: requirements.append('simplejson') description = ''.join(open('README.rs...
Python
0
918c5d1649d9b1581a3dc7bd9fe889c4e59d4b9a
Upgrade core
setup.py
setup.py
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Country-Template', version='1.3.1', author='OpenFisca Team', author_email='contact@openfisca.fr', description=u'OpenFisca tax and benefit system for Country-Template', keywords='...
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Country-Template', version='1.3.1', author='OpenFisca Team', author_email='contact@openfisca.fr', description=u'OpenFisca tax and benefit system for Country-Template', keywords='...
Python
0.000001
bfda5f0c6fecdc3558db106e0562364bb0406759
Bump 0.2
setup.py
setup.py
import re import setuptools def load_dependencies(filename): install_requires = [] dependency_links = [] for line in open(filename): line = line.strip() m = re.match(r'http.+#egg=(?P<pkgname>.+)', line) if m: dependency_links.append(line) install_requires.ap...
import re import setuptools def load_dependencies(filename): install_requires = [] dependency_links = [] for line in open(filename): line = line.strip() m = re.match(r'http.+#egg=(?P<pkgname>.+)', line) if m: dependency_links.append(line) install_requires.ap...
Python
0.000154
8cedb458180f80304d073a27ed1f9a1560761f3d
Read file using proper encoding
setup.py
setup.py
# coding=utf8 import codecs try: from setuptools import setup, Extension except ImportError: from distutils.core import setup, Extension from setup_libuv import libuv_build_ext, libuv_sdist __version__ = "0.11.2" setup(name = "pyuv", version = __version__, author ...
# coding=utf8 try: from setuptools import setup, Extension except ImportError: from distutils.core import setup, Extension from setup_libuv import libuv_build_ext, libuv_sdist __version__ = "0.11.2" setup(name = "pyuv", version = __version__, author = "Saúl Ibarra ...
Python
0
284e4268211d868d2940c504b46e421cac31dec4
Bump version
setup.py
setup.py
from setuptools import setup, find_packages setup( name = "django-waitinglist", version = "1.0b4", author = "Brian Rosner", author_email = "brosner@gmail.com", description = "a Django waiting list app for running a private beta with cohorts support", long_description = open("README.rst").read(...
from setuptools import setup, find_packages setup( name = "django-waitinglist", version = "1.0b3", author = "Brian Rosner", author_email = "brosner@gmail.com", description = "a Django waiting list app for running a private beta with cohorts support", long_description = open("README.rst").read(...
Python
0
5ea4bc2f30477266ab73d2ef625b650dd048f87c
patch from Diane Trout, ref https://github.com/python-caldav/caldav/issues/33, move nose dependency to test_requires
setup.py
setup.py
#!/usr/bin/python2 # -*- encoding: utf-8 -*- from setuptools import setup, find_packages version = '0.5.0' if __name__ == '__main__': setup( name='caldav', version=version, description="CalDAV (RFC4791) client library", classifiers=["Development Status :: 4 - Beta", ...
#!/usr/bin/python2 # -*- encoding: utf-8 -*- from setuptools import setup, find_packages version = '0.5.0' if __name__ == '__main__': setup( name='caldav', version=version, description="CalDAV (RFC4791) client library", classifiers=["Development Status :: 4 - Beta", ...
Python
0
654c93a3aa38c9344624f94922a4c1a928f201d7
Fix merge conflict with package_data.
setup.py
setup.py
#!/usr/bin/env python import re import ast from setuptools import setup, find_packages requires = [ 'awscli>=1.8.9,<2.0.0', 'prompt-toolkit==0.52', 'boto3>=1.2.1', 'configobj>=5.0.6', ] with open('awsshell/__init__.py', 'r') as f: version = str( ast.literal_eval( re.search( ...
#!/usr/bin/env python import re import ast from setuptools import setup, find_packages requires = [ 'awscli>=1.8.9,<2.0.0', 'prompt-toolkit==0.52', 'boto3>=1.2.1', 'configobj>=5.0.6', ] with open('awsshell/__init__.py', 'r') as f: version = str( ast.literal_eval( re.search( ...
Python
0
573f1edc394e92209cd4b8c17aad2766e05f2fc1
bump pylib required
setup.py
setup.py
import os, sys if sys.version_info >= (3,0): from distribute_setup import use_setuptools use_setuptools() from setuptools import setup long_description = """ cross-project testing tool for Python. Platforms: Linux, Win32, OSX Interpreters: Python versions 2.4 through to 3.2, Jython 2.5.1 and PyPy Bugs and i...
import os, sys if sys.version_info >= (3,0): from distribute_setup import use_setuptools use_setuptools() from setuptools import setup long_description = """ cross-project testing tool for Python. Platforms: Linux, Win32, OSX Interpreters: Python versions 2.4 through to 3.2, Jython 2.5.1 and PyPy Bugs and i...
Python
0
f813467253be80ee9f3ac9d1d61bf39124932537
Add long_description
setup.py
setup.py
from setuptools import setup setup( name='msoffcrypto-tool', version='4.0.0', description='A Python tool and library for decrypting MS Office files with passwords or other secrets', long_description=open("README.md", "r").read(), long_description_content_type='text/markdown', url='https://githu...
from setuptools import setup setup( name='msoffcrypto-tool', version='4.0.0', description='A Python tool and library for decrypting MS Office files with passwords or other secrets', url='https://github.com/nolze/msoffcrypto-tool', author='nolze', author_email='nolze@archlinux.us', license='...
Python
0.001235
aaaf1657694f8aab0f5c58a74c72a340de08c1f6
change package specification
setup.py
setup.py
from setuptools import setup setup( name='python-tail', description='Python implementation of UNIX tail command', version='0.1', packages=['tail'], install_requires=[ 'Click', ], )
from setuptools import setup setup( name='python-tail', description='Python implementation of UNIX tail command', version='0.1', packages=find_packages(), install_requires=[ 'Click', ], )
Python
0
bcf8ffbf0119d9c2e3522895a6af6d47760dc6e9
Remove utilities as a direct dep
setup.py
setup.py
#!/usr/bin/env python try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup import os import sys # Add /usr/local/include to the path for macs, fixes easy_install for several packages (like gevent and pyyaml) if sys.platform == 'darwin': os.environ['C_INCLU...
#!/usr/bin/env python try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup import os import sys # Add /usr/local/include to the path for macs, fixes easy_install for several packages (like gevent and pyyaml) if sys.platform == 'darwin': os.environ['C_INCLU...
Python
0.000001
d18abfddd3bec084af70467c54ed37633c774aed
Add missing deps
setup.py
setup.py
#!/usr/bin/env python3 from codecs import open from tickets import __version__ from setuptools import setup, find_packages def read(f): return open(f, encoding='utf-8').read() setup( name='tickets', version=__version__, description='Train tickets query via command line.', long_description=read(...
#!/usr/bin/env python3 from codecs import open from tickets import __version__ from setuptools import setup, find_packages def read(f): return open(f, encoding='utf-8').read() setup( name='tickets', version=__version__, description='Train tickets query via command line.', long_description=read(...
Python
0.00056
901b608e9ea9e03ab3755fb746bfcd4b2bebf399
increment version
setup.py
setup.py
#from distutils.core import setup from setuptools import setup, Extension from os.path import exists from subprocess import call sa = Extension('dsts.sa', include_dirs=['dsts/external/dstc/SAIS-SK/src/'], sources=['dsts/samodule.cpp', 'dsts/external/dstsc/SAIS-SK/src/mmap.cpp', '...
#from distutils.core import setup from setuptools import setup, Extension from os.path import exists from subprocess import call sa = Extension('dsts.sa', include_dirs=['dsts/external/dstc/SAIS-SK/src/'], sources=['dsts/samodule.cpp', 'dsts/external/dstsc/SAIS-SK/src/mmap.cpp', '...
Python
0.000004
3ff6e9d30d53b32da0fe97e36c33a95e5fd2d034
Fix setup
setup.py
setup.py
# Copyright (c) 2016-2021 Renata Hodovan, Akos Kiss. # # Licensed under the BSD 3-Clause License # <LICENSE.rst or https://opensource.org/licenses/BSD-3-Clause>. # This file may not be copied, modified, or distributed except # according to those terms. from setuptools import setup, find_packages def fuzzinator_versi...
# Copyright (c) 2016-2020 Renata Hodovan, Akos Kiss. # # Licensed under the BSD 3-Clause License # <LICENSE.rst or https://opensource.org/licenses/BSD-3-Clause>. # This file may not be copied, modified, or distributed except # according to those terms. from setuptools import setup, find_packages def fuzzinator_versi...
Python
0
ab99c1a57a7b87c2a920b33348bac228dbd632bd
update version
setup.py
setup.py
import setuptools with open("README.md", "r") as fh: long_description = fh.read() with open('requirements.txt', 'r') as f: install_requires = list() for line in f: re = line.strip() if re: install_requires.append(re) setuptools.setup( name="etk", version="2.2.6", a...
import setuptools with open("README.md", "r") as fh: long_description = fh.read() with open('requirements.txt', 'r') as f: install_requires = list() for line in f: re = line.strip() if re: install_requires.append(re) setuptools.setup( name="etk", version="2.2.5", a...
Python
0
b141e55b4b302348a599a3ea568e6409dcc27f5a
Improve setup.py
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup setup( name="django-ldapdb", version="0.1.0", description=u"An LDAP database backend for Django", long_description=open('README.md').read(), #license = ldapdb.__license__, url="https://github.com/jlaine/django-ldapdb", author="Jeremy Laine...
#!/usr/bin/env python from distutils.core import setup setup( name = "django-ldapdb", version = "0.1.0", #license = ldapdb.__license__, url = "http://opensource.bolloretelecom.eu/projects/django-ldapdb/", author = "Jeremy Laine", author_email = "jeremy.laine@bolloretelecom.eu", packages = ...
Python
0.000002
a8d94e131bcc2ebcbf7d9a92f84c81de7e59d784
switch to setuptools
setup.py
setup.py
#!/usr/bin/env python # The contents of this file are subject to the MonetDB Public License # Version 1.1 (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.monetdb.org/Legal/MonetDBLicense # # Software distributed under the License ...
#!/usr/bin/env python # The contents of this file are subject to the MonetDB Public License # Version 1.1 (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.monetdb.org/Legal/MonetDBLicense # # Software distributed under the License ...
Python
0.000001
79421c1c0b1480da70c426f782585fa66416eed0
add setuptools_scm to setup_requires
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='rauc-hawkbit', description='hawkBit client for RAUC', author='Bastian Stender and Enrico Joerns', author_email='entwicklung@pengutronix.de', license='LGPL-2.1', use_scm_version=Tr...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='rauc-hawkbit', description='hawkBit client for RAUC', author='Bastian Stender and Enrico Joerns', author_email='entwicklung@pengutronix.de', license='LGPL-2.1', use_scm_version=Tr...
Python
0
684603543f1e056693acf0288b71232395b3a8f5
Bump package version to 0.4.9
setup.py
setup.py
"""Set up for XBlock""" from setuptools import setup setup( name='XBlock', version='0.4.9', description='XBlock Core Library', packages=[ 'xblock', 'xblock.django', 'xblock.reference', 'xblock.test', 'xblock.test.django', ], install_requires=[ 'lx...
"""Set up for XBlock""" from setuptools import setup setup( name='XBlock', version='0.4.8', description='XBlock Core Library', packages=[ 'xblock', 'xblock.django', 'xblock.reference', 'xblock.test', 'xblock.test.django', ], install_requires=[ 'lx...
Python
0
17adf1d0e0947637511f5babbed704ed77bec1cd
remove unneded dependency link
setup.py
setup.py
from setuptools import setup, find_packages setup( name='madmin', version='0.0.1', install_requires=['rueckenwind==0.2.0', 'motor==0.1.1', 'PyMongo==2.5.0'], packages=find_packages(), include_package_data=True, )
from setuptools import setup, find_packages setup( name='madmin', version='0.0.1', install_requires=['rueckenwind==0.2.0', 'motor==0.1.1', 'PyMongo==2.5.0'], packages=find_packages(), include_package_data=True, dependency_links=['git+ssh://git@git.dev.rook/lib/rueckenwind.git@master#egg=ruecken...
Python
0
f9fa797ddf5d5539402d3aa07340c39e7bccc152
Create a pypi library
setup.py
setup.py
from distutils.core import setup __author__ = "Arthur Fortes" setup( name='CaseRecommender', packages=['framework'], version='0.0.3', description='A recommender systems framework for python', author='Arthur Fortes da Costa', author_email='fortes.arthur@gmail.com', url='https://github.com/A...
from distutils.core import setup __author__ = "Arthur Fortes" setup( name='CaseRecommender', packages=['CaseRecommender'], version='0.0.3', description='A recommender systems framework for python', author='Arthur Fortes da Costa', author_email='fortes.arthur@gmail.com', url='https://github...
Python
0.000001
44694af0d60a1daee6bc1dea95b75ffe4be1d7f5
Bump version to 0.1.14
setup.py
setup.py
#!/usr/bin/env python import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='stickytape', version='0.1.14', description='Convert Python packages into a single script', long_description=read("README.rst"), author=...
#!/usr/bin/env python import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='stickytape', version='0.1.13', description='Convert Python packages into a single script', long_description=read("README.rst"), author=...
Python
0
bb1c07877249f4d0ccaeb06b96e7e1ae3e622473
Fix URL
setup.py
setup.py
import sys from setuptools import setup if sys.argv[-1] in ('sdist', 'bdist_wheel'): setup_requires = ['setuptools-markdown'] else: setup_requires = [] setup( name='tldr', version="0.1.3.1", author='Felix Yan', author_email='felixonmars@gmail.com', url='https://github.com/tldr-pages/tldr-p...
import sys from setuptools import setup if sys.argv[-1] in ('sdist', 'bdist_wheel'): setup_requires = ['setuptools-markdown'] else: setup_requires = [] setup( name='tldr', version="0.1.3.1", author='Felix Yan', author_email='felixonmars@gmail.com', url='https://github.com/felixonmars/tldr-...
Python
0.00075
12aa50fd8b85c32e6f7935eb2d3bcf51a5c85449
Update classifiers
setup.py
setup.py
""" .. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com> """ import io import os.path import sys import setuptools MODULE_NAME = "pathvalidate" REPOSITORY_URL = "https://github.com/thombashi/{:s}".format(MODULE_NAME) REQUIREMENT_DIR = "requirements" ENCODING = "utf8" pkg_info = {} def need_pytest(): ...
""" .. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com> """ import io import os.path import sys import setuptools MODULE_NAME = "pathvalidate" REPOSITORY_URL = "https://github.com/thombashi/{:s}".format(MODULE_NAME) REQUIREMENT_DIR = "requirements" ENCODING = "utf8" pkg_info = {} def need_pytest(): ...
Python
0.000002
b2099049484f66f4348ddd4448c676feecb0b46e
exclude docs and tests from package (#481)
setup.py
setup.py
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
# -*- coding: utf-8 -*- # Copyright 2020 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
Python
0
d3537cf1ab18cf813c5bfd957e51ca6699e3e0a3
Update eth-utils version requirement
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import ( setup, find_packages, ) extras_require = { 'test': [ "pytest==3.3.2", "pytest-xdist", "tox>=2.9.1,<3", ], 'lint': [ "flake8==3.4.1", "isort>=4.2.15,<5", ], 'doc': [ "Sphinx...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import ( setup, find_packages, ) extras_require = { 'test': [ "pytest==3.3.2", "pytest-xdist", "tox>=2.9.1,<3", ], 'lint': [ "flake8==3.4.1", "isort>=4.2.15,<5", ], 'doc': [ "Sphinx...
Python
0