commit
stringlengths
40
40
subject
stringlengths
4
1.73k
repos
stringlengths
5
127k
old_file
stringlengths
2
751
new_file
stringlengths
2
751
new_contents
stringlengths
1
8.98k
old_contents
stringlengths
0
6.59k
license
stringclasses
13 values
lang
stringclasses
23 values
62c10c9435a9de5e70d5c87df333f108e5274346
fix PyPI to handle readme as markdown
tuvistavie/python-i18n
setup.py
setup.py
from setuptools import setup setup( name='python-i18n', version='0.3.6', description='Translation library for Python', long_description=open('README.md').read(), long_description_content_type='text/markdown', author='Daniel Perez', author_email='tuvistavie@gmail.com', url='https://githu...
from setuptools import setup setup( name='python-i18n', version='0.3.6', description='Translation library for Python', long_description=open('README.md').read(), author='Daniel Perez', author_email='tuvistavie@gmail.com', url='https://github.com/tuvistavie/python-i18n', download_url='ht...
mit
Python
09c175ac4fd4346aaa1519661442944605ea9aed
Change version number
martinmcbride/pysound
setup.py
setup.py
from setuptools import setup, find_packages with open("README.md", "r") as fh: long_description = fh.read() setup(name='pysound', version='0.2', url='https://github.com/martinmcbride/pysound', license='MIT', author='Martin McBride', author_email='mcbride.martin@gmail.com', des...
from setuptools import setup, find_packages with open("README.md", "r") as fh: long_description = fh.read() setup(name='pysound', version='0.1', url='https://github.com/martinmcbride/pysound', license='MIT', author='Martin McBride', author_email='mcbride.martin@gmail.com', des...
mit
Python
bb1d543681a0a6971a285d422c2b5fe1dda8c4e4
Update test_requirements to check if working in Travis CI.
mansenfranzen/tssim
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() requirements = [ 'pandas', 'numpy', 'bokeh' ] test_requirements = [ 'pytest'...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup with open('README.rst') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() requirements = [ 'pandas', 'numpy', 'bokeh' ] test_requirements = [ 'pytest'...
mit
Python
a1a4a5934b3b70ba44a05dcc2dfc2e15d420cd24
Update version number
kz26/PyExcelerate
setup.py
setup.py
#!/usr/bin/python from setuptools import setup setup( name="PyExcelerate", version='0.6.4', author="Kevin Wang and Kevin Zhang", author_email="kevin@kevinzhang.me", maintainer="Kevin Zhang", maintainer_email="kevin@kevinzhang.me", url="https://github.com/kz26/PyExcelerate", description="Accelerated Excel XLSX...
#!/usr/bin/python from setuptools import setup setup( name="PyExcelerate", version='0.6.3', author="Kevin Wang and Kevin Zhang", author_email="kevin@kevinzhang.me", maintainer="Kevin Zhang", maintainer_email="kevin@kevinzhang.me", url="https://github.com/kz26/PyExcelerate", description="Accelerated Excel XLSX...
bsd-2-clause
Python
c735bfb52bb475fff3691c8cd59646ba289cbdf5
Update dev dependency due lack of python support 3.8 and 3.9
onelogin/python3-saml,onelogin/python3-saml
setup.py
setup.py
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010-2021 OneLogin, Inc. # MIT License from setuptools import setup setup( name='python3-saml', version='1.10.1', description='Onelogin Python Toolkit. Add SAML support to your Python software using this library', classifiers=[ '...
#! /usr/bin/env python # -*- coding: utf-8 -*- # Copyright (c) 2010-2021 OneLogin, Inc. # MIT License from setuptools import setup setup( name='python3-saml', version='1.10.1', description='Onelogin Python Toolkit. Add SAML support to your Python software using this library', classifiers=[ '...
mit
Python
0cb7a0e3abae269d4d1a6fac5ab567d6fa6c7460
Add a __main__ guard.
Uname-a/knife_scraper,Uname-a/knife_scraper,Uname-a/knife_scraper
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup from willie import __version__ import tempfile import os import shutil def do_setup(): try: tmp_dir = tempfile.mkdtemp() tmp_main_script = os.path.join(tmp_dir, 'willie') shutil.copy('willie.py', tmp_main_script) setup(name='...
#!/usr/bin/env python from distutils.core import setup from willie import __version__ import tempfile import os import shutil try: tmp_dir = tempfile.mkdtemp() tmp_main_script = os.path.join(tmp_dir, 'willie') shutil.copy('willie.py', tmp_main_script) setup(name='willie', version=__version_...
mit
Python
5f3800eb3c4edde4682479265c89cf1aa7e3d219
Change development status classifier from alpha to beta in setup()
PSU-OIT-ARC/django-arcutils,wylee/django-arcutils,wylee/django-arcutils,PSU-OIT-ARC/django-arcutils
setup.py
setup.py
import sys from setuptools import find_packages, setup with open('VERSION') as version_fp: VERSION = version_fp.read().strip() # Base dependencies install_requires = [ 'certifi>=2017.1.23', 'django-local-settings>=1.0b5', 'pytz>=2016.10', 'raven>=6.0.0', 'stashward', ] if sys.version_info[...
import sys from setuptools import find_packages, setup with open('VERSION') as version_fp: VERSION = version_fp.read().strip() # Base dependencies install_requires = [ 'certifi>=2017.1.23', 'django-local-settings>=1.0b5', 'pytz>=2016.10', 'raven>=6.0.0', 'stashward', ] if sys.version_info[...
mit
Python
44895ba9af9462d611f153f47cbd524ced12d345
bump version to 0.5
the-gigi/conman
setup.py
setup.py
from setuptools import setup, find_packages setup(name='conman', version='0.5', url='https://github.com/the-gigi/conman', license='MIT', author='Gigi Sayfan', author_email='the.gigi@gmail.com', description='Manage configuration files', classifiers=[ 'Development Stat...
from setuptools import setup, find_packages setup(name='conman', version='0.4', url='https://github.com/the-gigi/conman', license='MIT', author='Gigi Sayfan', author_email='the.gigi@gmail.com', description='Manage configuration files', classifiers=[ 'Development Stat...
mit
Python
dde5eab153121a2b4dc4957e9951b01b1a1ec1fb
increment version
stitchfix/splits
setup.py
setup.py
from distutils.core import setup setup( name='splits', version='0.0.7', author='Thomas Millar, Jeff Magnusson', author_email='millar.thomas@gmail.com, magnussj@gmail.com', license='MIT', description='A library for dealing with splittable files', packages = ['splits'], long_description='...
from distutils.core import setup setup( name='splits', version='0.0.6', author='Thomas Millar, Jeff Magnusson', author_email='millar.thomas@gmail.com, magnussj@gmail.com', license='MIT', description='A library for dealing with splittable files', packages = ['splits'], long_description='...
mit
Python
7f66d4a9df239590dcdf876958aa82018ccf6cca
upgrade clld
clld/nts,clld/nts
setup.py
setup.py
from setuptools import setup, find_packages setup( name='nts', version='0.0', description='nts', long_description='', classifiers=[ "Programming Language :: Python", "Framework :: Pyramid", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: WSGI :: A...
from setuptools import setup, find_packages setup( name='nts', version='0.0', description='nts', long_description='', classifiers=[ "Programming Language :: Python", "Framework :: Pyramid", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: WSGI :: A...
apache-2.0
Python
ac116f54416d1a3ac97f4b9d93bffb42b827ec8b
Add basic setup script
jmaupetit/md2pdf
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ md2pdf - Installation script """ from setuptools import setup, find_packages VERSION = '0.1' setup( name = "md2pdf", version = VERSION, packages = find_packages(), scripts = ['md2pdf.py',], install_requires = open('requirements.txt').readlines(),...
mit
Python
1eaeb0e564d92b642e001f305e7cb16e15b83241
Add Python 2 and 3 classifiers to setup.py
agriffis/urlobject,vartagg/urlblocks,zacharyvoase/urlobject
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='URLObject', version='2.4.0', description='A utility class for manipulating URLs.', author='Zachary Voase', author_email='z@zacharyvoase.com', url='http://github.com/zacharyvoase/urlobject', ...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='URLObject', version='2.4.0', description='A utility class for manipulating URLs.', author='Zachary Voase', author_email='z@zacharyvoase.com', url='http://github.com/zacharyvoase/urlobject', ...
unlicense
Python
d092318eaa4dd40d454df41d6f913d6f5ec658e2
Fix package
wcooley/neomodel,fpieper/neomodel,cristigociu/neomodel_dh,bleib1dj/neomodel,robinedwards/neomodel,bleib1dj/neomodel,pombredanne/neomodel,robinedwards/neomodel,andrefsp/neomodel
setup.py
setup.py
from setuptools import setup, find_packages setup( name='neomodel', version='1.0.2', description='An object mapper for the neo4j graph database.', long_description=open('README.rst').read(), author='Robin Edwards', author_email='robin.ge@gmail.com', zip_safe=True, url='http://github.com...
from setuptools import setup, find_packages setup( name=__package__, version='1.0.2', description='An object mapper for the neo4j graph database.', long_description=open('README.rst').read(), author='Robin Edwards', author_email='robin.ge@gmail.com', zip_safe=True, url='http://github.co...
mit
Python
496cf4a40caba99b5c77ac4954183df6e3081522
update setup.py
scottprahl/miepython
setup.py
setup.py
""" Copyright 2017 Scott Prahl 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, sublic...
""" Copyright 2017 Scott Prahl 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, sublic...
mit
Python
3b271ddd2bd57bd23545d52e59f0903ea182b81c
Prepare for release
olofk/ipyxact,csquaredphd/ipyxact,csquaredphd/ipyxact,csquaredphd/ipyxact,olofk/ipyxact
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 = "ipyxact", version = "0.2", author = "Olof Kindgren", author_email = "olof.kindgren@gmail.com", description = "Python IP-Xact handling library", license ...
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name = "ipyxact", version = "0.1.1", author = "Olof Kindgren", author_email = "olof.kindgren@gmail.com", description = "Python IP-Xact handling library", licens...
mit
Python
562a8cc7ce3de7591dcfa620f485747dc9525aad
fix qoute
Farama-Foundation/Gymnasium,Farama-Foundation/Gymnasium
setup.py
setup.py
from setuptools import setup, find_packages import sys, os.path # Don't import gym module here, since deps may not be installed sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'gym')) from version import VERSION # Environment-specific dependencies. extras = { 'atari': ['atari_py~=0.2.0', 'opencv-python>=...
from setuptools import setup, find_packages import sys, os.path # Don't import gym module here, since deps may not be installed sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'gym')) from version import VERSION # Environment-specific dependencies. extras = { 'atari': ['atari_py~=0.2.0', 'opencv-python>=...
mit
Python
d167ec16fb4edef5ee257f6048aedc12babcbae8
bump pandas requirement to .15 for pd.Timedelta
pvlib/pvlib-python,alorenzo175/pvlib-python,jforbess/pvlib-python,MoonRaker/pvlib-python,cwhanse/pvlib-python,dacoex/pvlib-python,wholmgren/pvlib-python,rubennj/pvlib-python,uvchik/pvlib-python,anomam/pvlib-python,mikofski/pvlib-python,ianctse/pvlib-python
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') DESCRIPTION = 'Pythonic port of the python port of the PVLIB package' LONG_DESCRIPTION ...
#!/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') DESCRIPTION = 'Pythonic port of the python port of the PVLIB package' LONG_DESCRIPTION ...
bsd-3-clause
Python
edbf580fbbdceae970b84dfe6bd457a995b125f4
Set version to pre-release
chmp/ipytest
setup.py
setup.py
#!/usr/bin/env python import pathlib from setuptools import setup setup( name="ipytest", version="0.8.2b0", description="Unit tests in IPython notebooks.", long_description=pathlib.Path("Readme.md").read_text(), long_description_content_type="text/markdown", author="Christopher Prohm", url...
#!/usr/bin/env python import pathlib from setuptools import setup setup( name="ipytest", version="0.8.1", description="Unit tests in IPython notebooks.", long_description=pathlib.Path("Readme.md").read_text(), long_description_content_type="text/markdown", author="Christopher Prohm", url="...
mit
Python
6fe201e071f847725fdf1c0890bcd52dc7516722
add missing metadata
ecreall/dace
setup.py
setup.py
import os from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, 'README.rst')).read() CHANGES = open(os.path.join(here, 'CHANGES.rst')).read() requires = [ 'BTrees', 'pyramid', 'pyramid_tm', 'pyzmq', 'rwproperty', 'subst...
import os from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) README = open(os.path.join(here, 'README.rst')).read() CHANGES = open(os.path.join(here, 'CHANGES.rst')).read() requires = [ 'BTrees', 'pyramid', 'pyramid_tm', 'pyzmq', 'rwproperty', 'subst...
agpl-3.0
Python
2014144e59ae5fdac5e7adf320fca4f1a0be39d0
update description
nikitanovosibirsk/vedro
setup.py
setup.py
from setuptools import find_packages, setup def find_required(): with open("requirements.txt") as f: return f.read().splitlines() def find_dev_required(): with open("requirements-dev.txt") as f: return f.read().splitlines() setup( name="vedro", version="1.5.0", description="Pra...
from setuptools import find_packages, setup def find_required(): with open("requirements.txt") as f: return f.read().splitlines() def find_dev_required(): with open("requirements-dev.txt") as f: return f.read().splitlines() setup( name="vedro", version="1.5.0", description="BDD...
apache-2.0
Python
752d889c3ca95793f9191cbabd5c632b61c17cc9
Bump release: 0.1.1.
soasme/flask-personal-access-token,soasme/flask-personal-access-token,soasme/flask-personal-access-token
setup.py
setup.py
""" Flask Personal Access Token Managerment Extension. """ from setuptools import setup setup( name='Flask-Personal-Access-Token', version='0.1.1', url='https://github.com/soasme/flask-personal-access-token', license='MIT', author='Ju Lin', author_email='soasme@gmail.com', description='Fl...
""" A permission flask extension inspired by Django. """ from setuptools import setup setup( name='Flask-Personal-Access-Token', version='0.1.0', url='https://github.com/soasme/flask-personal-access-token', license='MIT', author='Ju Lin', author_email='soasme@gmail.com', description='Flas...
mit
Python
c84c93bdb83e50a9944281858362540a472110f7
Fix sort order
adamtheturtle/vws-python,adamtheturtle/vws-python
setup.py
setup.py
"""Setup script for VWS Python, a wrapper for Vuforia's Web Services APIs.""" from pathlib import Path from typing import List from setuptools import setup import versioneer def _get_dependencies(requirements_file: Path) -> List[str]: """ Return requirements from a requirements file. This expects a re...
"""Setup script for VWS Python, a wrapper for Vuforia's Web Services APIs.""" from pathlib import Path from setuptools import setup from typing import List import versioneer def _get_dependencies(requirements_file: Path) -> List[str]: """ Return requirements from a requirements file. This expects a req...
mit
Python
8edd973c91f93fc4dd47f6dae08bbbed966203e7
update to new version of Reaction dependency
mjpan/pypatterns
setup.py
setup.py
from setuptools import setup, find_packages setup( name='pypatterns', version='0.1.2', packages=find_packages( 'src',exclude=["*.test", "*.test.*", "test.*", "test"]), package_dir={'':'src'}, test_suite="test", install_requires = [ 'currypy>=0.1.0', 'Reaction>=0.2.2', ...
from setuptools import setup, find_packages setup( name='pypatterns', version='0.1.1', packages=find_packages( 'src',exclude=["*.test", "*.test.*", "test.*", "test"]), package_dir={'':'src'}, test_suite="test", install_requires = [ 'currypy>=0.1.0', 'Reaction>=0.2', ...
bsd-3-clause
Python
1219f36cfae691d0e5d04ab31776f4edf57f407b
increment version to 1.2.0 due to larger change of class iteration
srob650/pytvmaze
setup.py
setup.py
from setuptools import setup, find_packages setup( name = 'pytvmaze', version = '1.2.0', description = 'Python interface to the TV Maze API (www.tvmaze.com)', url = 'https://github.com/srob650/pytvmaze', author = 'Spencer Roberts', license='MIT', classifiers = [ 'Development Status...
from setuptools import setup, find_packages setup( name = 'pytvmaze', version = '1.1.6', description = 'Python interface to the TV Maze API (www.tvmaze.com)', url = 'https://github.com/srob650/pytvmaze', author = 'Spencer Roberts', license='MIT', classifiers = [ 'Development Status...
mit
Python
241785b352ca1160ef17cd73532db8b1b2dd78a1
Bump version.
EmilStenstrom/conllu
setup.py
setup.py
# -*- coding: utf-8 -*- import os from setuptools import setup VERSION = '3.1.1' setup( name='conllu', packages=["conllu"], version=VERSION, description='CoNLL-U Parser parses a CoNLL-U formatted string into a nested python dictionary', long_description=open(os.path.join(os.path.dirname(__file__)...
# -*- coding: utf-8 -*- import os from setuptools import setup VERSION = '3.1' setup( name='conllu', packages=["conllu"], version=VERSION, description='CoNLL-U Parser parses a CoNLL-U formatted string into a nested python dictionary', long_description=open(os.path.join(os.path.dirname(__file__), ...
mit
Python
3591500ebc355628f5b18b94629799b7b822f0c5
Clean up how we generate hash script names
wfscheper/hasher,wfscheper/hasher
setup.py
setup.py
import os import sys from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand from hasher.version import __version__ class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [] self.test_suite = ...
import os import sys from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand from hasher.version import __version__ class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [] self.test_suite = ...
apache-2.0
Python
4e1e95fb8c0f309b235070167d0b544f2267a5f2
update supported Python versions
joesecurity/joesandboxcloudapi
setup.py
setup.py
import re import os from setuptools import setup def get_version(): """ Extract the version number from the code. """ here = os.path.abspath(os.path.dirname(__file__)) jbxapi_file = os.path.join(here, "jbxapi.py") with open(jbxapi_file) as f: content = f.read() match = re.search(r"^_...
import re import os from setuptools import setup def get_version(): """ Extract the version number from the code. """ here = os.path.abspath(os.path.dirname(__file__)) jbxapi_file = os.path.join(here, "jbxapi.py") with open(jbxapi_file) as f: content = f.read() match = re.search(r"^_...
mit
Python
9a6d390dde1afd3571c38df6f7ae3c76ce826e0e
fix setup.py
fiuba08/robotframework,waldenner/robotframework,waldenner/robotframework,fiuba08/robotframework,fiuba08/robotframework,fiuba08/robotframework,ldtri0209/robotframework,waldenner/robotframework,ldtri0209/robotframework,ldtri0209/robotframework,fiuba08/robotframework,waldenner/robotframework,ldtri0209/robotframework,ldtri...
setup.py
setup.py
#!/usr/bin/env python import sys import os from os.path import join, dirname from distutils.core import setup execfile(join(dirname(__file__), 'src', 'robot', 'version.py')) # Maximum width in Windows installer seems to be 70 characters -------| DESCRIPTION = """ Robot Framework is a generic test automation framewor...
#!/usr/bin/env python import sys import os from os.path import join, dirname from distutils.core import setup execfile(join(dirname(__file__), 'src', 'robot', 'version.py')) # Maximum width in Windows installer seems to be 70 characters -------| DESCRIPTION = """ Robot Framework is a generic test automation framewor...
apache-2.0
Python
562eb1d9cbe616bdd0d89aabbfc91dad7d4c9b51
Bump version to 1.1.1
raimon49/pypro2-guestbook-webapp,raimon49/pypro2-guestbook-webapp
setup.py
setup.py
import os from setuptools import setup, find_packages def read_file(filename): basepath = os.path.dirname(os.path.dirname(__file__)) filepath = os.path.join(basepath, filename) if os.path.exists(filepath): return open(filepath).read() else: return '' setup( name='raimon49.guestbo...
import os from setuptools import setup, find_packages def read_file(filename): basepath = os.path.dirname(os.path.dirname(__file__)) filepath = os.path.join(basepath, filename) if os.path.exists(filepath): return open(filepath).read() else: return '' setup( name='raimon49.guestbo...
bsd-3-clause
Python
457a598d2ea61fdcf45935321e6e298c14d4ad44
Fix README.md in setup.py
udger/udger-python
setup.py
setup.py
from os.path import dirname, join from setuptools import setup, find_packages from udger import __version__ with open(join(dirname(__file__), 'README.md')) as readme_file: long_description = readme_file.read() setup( name='udger', version=__version__, license='BSD', author='The Udger Team', ...
from os.path import dirname, join from setuptools import setup, find_packages from udger import __version__ with open(join(dirname(__file__), 'README.rst')) as readme_file: long_description = readme_file.read() setup( name='udger', version=__version__, license='BSD', author='The Udger Team', ...
mit
Python
ac49e0f2fd19fb1ffb8d85c08c1e2f65b825afac
fix encoding problem in setup.py
hzruandd/ezcf,laike9m/ezcf,laike9m/ezcf,hzruandd/ezcf
setup.py
setup.py
# coding: utf-8 import os import codecs from setuptools import setup, find_packages def read(): """Build a file path from *paths* and return the contents.""" with codecs.open(os.path.join('README.rst'), 'r', "utf-8") as f: return f.read() setup( name='ezcf', version='0.0.1post1', descript...
import os from setuptools import setup, find_packages def read(): """Build a file path from *paths* and return the contents.""" with open(os.path.join('README.rst'), 'r') as f: return f.read() setup( name='ezcf', version='0.0.1post1', description='Import JSON/YAML like importing .py files...
mit
Python
896fc31ea7e1c60bb757421e8713cb64c2517f85
use pubfile to translate README from markdown to ReST
llimllib/pub
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # Thanks to Kenneth Reitz, I stole the template for this import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup required = ['path.py>=2.2', 'envoy>=0.0.2', 'networkx>=1.6'] packages = ['pub', 'pub.shortcuts'] ...
#!/usr/bin/env python # -*- coding: utf-8 -*- # Thanks to Kenneth Reitz, I stole the template for this import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup required = ['path.py>=2.2', 'envoy>=0.0.2', 'networkx>=1.6'] packages = ['pub', 'pub.shortcuts'] ...
mit
Python
126927795ef3821a3c82a65fafb149974d10e130
fix setup.py
kontron/robotframework-snmplibrary
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup import sys sys.path.insert(0, 'src') def main(): setup(name = 'robotframework-snmplibrary', version = '0.1', description = 'SNMP Library for Robot Framework', author_email = 'michael.walle@kontron.com', package_dir ...
#!/usr/bin/env python from setuptools import setup import sys sys.path.insert(0, 'src') def main(): setup(name = 'robotframework-snmplibrary', version = '0.1', description = 'SNMP Library for Robot Framework', author_email = 'michael.walle@kontron.com', package_dir ...
apache-2.0
Python
adf3ae32d7ffa127f74182a94c50b8fa5f72a2fd
Add version
MaxBondar/Corezoid
setup.py
setup.py
from distutils.core import setup setup( name = 'Corezoid', packages = ['Corezoid'], version = '0.1.2', description = 'A library for sending and modifying task to Corezoid.', author = 'Max Bondar', author_email = 'max.bondr@gmail.com', url = 'https://github.com/MaxBondar/Corezoid', license='MIT', downl...
from distutils.core import setup setup( name = 'Corezoid', packages = ['Corezoid'], version = '0.1.2', description = 'A library for sending and modifying task to Corezoid.', author = 'Max Bondar', author_email = 'max.bondr@gmail.com', url = 'https://github.com/MaxBondar/Corezoid', license='MIT', downl...
mit
Python
9f7664c9bc92686d3fd83e44d75d8e503aca6cc9
Update dependencies
Josef-Friedrich/audiorename
setup.py
setup.py
import versioneer import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='audiorename', version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), author='Josef Friedrich', author_email='josef@friedric...
import versioneer import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='audiorename', version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), author='Josef Friedrich', author_email='josef@friedric...
mit
Python
02db49e8ce48bc869c1aef9abf5bba450000bbf1
set version to 1.2.1 for support for python 3
parrt/lolviz
setup.py
setup.py
from setuptools import setup setup( name='lolviz', version='1.2.1', url='https://github.com/parrt/lolviz', license='BSD', py_modules=['lolviz'], author='Terence Parr', author_email='parrt@antlr.org', install_requires=['graphviz'], description='A simple Python data-structure visualiz...
from setuptools import setup setup( name='lolviz', version='1.3', url='https://github.com/parrt/lolviz', license='BSD', py_modules=['lolviz'], author='Terence Parr', author_email='parrt@antlr.org', install_requires=['graphviz'], description='A simple Python data-structure visualizat...
bsd-3-clause
Python
204cccfa87af28756725e2234159176ea9f734eb
Change to correct version of the package
vartagg/konf
setup.py
setup.py
import os from setuptools import setup, find_packages import pkg_resources version = "1.1.3" description = ( 'Konf is a Python package which designed to simplify the use of variables in configuration files. ' 'json and yaml supported out of the box. ' ) def read(fname): return open(os.path.join(os.path....
import os from setuptools import setup, find_packages import pkg_resources version = "1.1.2-a" description = ( 'Konf is a Python package which designed to simplify the use of variables in configuration files. ' 'json and yaml supported out of the box. ' ) def read(fname): return open(os.path.join(os.pat...
bsd-2-clause
Python
8f267555ac4c84ce5525f270c544e91ba03b3d78
Modify setup.py
ForeverWintr/metafunctions
setup.py
setup.py
import os import sys import contextlib import pathlib import shutil from setuptools import setup, find_packages, Command import metafunctions here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'requirements.txt')) as f: requirements = f.readlines() class UploadCommand(Command): ...
import os import contextlib import pathlib import shutil from setuptools import setup, find_packages import metafunctions with open('requirements.txt') as f: requirements = f.readlines() setup( name=metafunctions.__name__, version=metafunctions.__version__, description='Metafunctions is a function co...
mit
Python
1d17c86fe075e7d781787c7c5250a39cdb6682b9
bump version to 0.10
cesarmarinhorj/cubes,jell0720/cubes,she11c0de/cubes,she11c0de/cubes,zejn/cubes,ubreddy/cubes,she11c0de/cubes,zejn/cubes,noyeitan/cubes,pombredanne/cubes,jell0720/cubes,jell0720/cubes,noyeitan/cubes,pombredanne/cubes,ubreddy/cubes,zejn/cubes,cesarmarinhorj/cubes,cesarmarinhorj/cubes,pombredanne/cubes,noyeitan/cubes,ubre...
setup.py
setup.py
import sys from setuptools import setup, find_packages requirements = [] if sys.version_info < (2,7): requirements += ['ordereddict'] setup( name = "cubes", version = '0.10', # Project uses reStructuredText, so ensure that the docutils get # installed or upgraded on the target machine install...
import sys from setuptools import setup, find_packages requirements = [] if sys.version_info < (2,7): requirements += ['ordereddict'] setup( name = "cubes", version = '0.9.1', # Project uses reStructuredText, so ensure that the docutils get # installed or upgraded on the target machine instal...
mit
Python
e2fc50f54fb7f380e132e5e7cd26e35eb86330c3
Update setup.py file
Soundphy/diapason
setup.py
setup.py
""" Setup module. """ import re from os.path import join as pjoin from setuptools import setup with open(pjoin('diapason', '__init__.py')) as f: line = next(l for l in f if l.startswith('__version__')) version = re.match('__version__ = [\'"]([^\'"]+)[\'"]', line).group(1) setup( name='diapason', vers...
""" Setup module. """ import re from os.path import join as pjoin from setuptools import setup with open(pjoin('diapason', '__init__.py')) as f: line = next(l for l in f if l.startswith('__version__')) version = re.match('__version__ = [\'"]([^\'"]+)[\'"]', line).group(1) setup( name='diapason', vers...
bsd-3-clause
Python
cea29bf1f1bf18b428797b1789418ee60795bcd2
Update URL and classifier
ericdill/bluesky,ericdill/bluesky
setup.py
setup.py
import sys import setuptools import versioneer # NOTE: This file must remain Python 2 compatible for the foreseeable future, # to ensure that we error out properly for people with outdated setuptools # and/or pip. min_version = (3, 6) if sys.version_info < min_version: error = """ bluesky does not support Python...
import sys import setuptools import versioneer # NOTE: This file must remain Python 2 compatible for the foreseeable future, # to ensure that we error out properly for people with outdated setuptools # and/or pip. min_version = (3, 6) if sys.version_info < min_version: error = """ bluesky does not support Python...
bsd-3-clause
Python
e80b3654041d3f70460447238e5e9800135b1981
add test requirements to setup.py
Chris7/django-referral,byteweaver/django-referral
setup.py
setup.py
import os from setuptools import setup, find_packages import referral def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='django-referral', version=referral.__version__, description='A small django application for marketing using referral links', long...
import os from setuptools import setup, find_packages import referral def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name='django-referral', version=referral.__version__, description='A small django application for marketing using referral links', long...
mit
Python
592d04455571c204acdfab0cacee93e9d5d48b2e
Remove setuptools.call import
jackfirth/pyramda
setup.py
setup.py
from setuptools import setup setup( name='pyramda', version='0.1', description='A Python package for curried functional programming', url='http://github.com/jackfirth/pyramda', author='Jack Firth', author_email='jackhfirth@gmail.com', packages=[ 'pyramda', 'pyramda.dictionar...
from setuptools import setup from subprocess import call setup( name='pyramda', version='0.1', description='A Python package for curried functional programming', url='http://github.com/jackfirth/pyramda', author='Jack Firth', author_email='jackhfirth@gmail.com', packages=[ 'pyramda'...
mit
Python
aea654942705eef0139f1fd0128da918f4c2ae5a
Update package data.
fanstatic/js.ngupload,fanstatic/js.ngupload
setup.py
setup.py
# -*- coding: utf-8 -*- import os from setuptools import find_packages from setuptools import setup version = '0.1' def read(*rnames): return open(os.path.join(os.path.dirname(__file__), *rnames)).read() long_description = read('README.txt') + '\n' + read('js', 'ngupload', 'test_ngupload.txt') + '\n'...
# -*- coding: utf-8 -*- import os from setuptools import find_packages from setuptools import setup version = '0.1' def read(*rnames): return open(os.path.join(os.path.dirname(__file__), *rnames)).read() long_description = read('README.txt') + '\n' + read('js', 'ngupload', 'test_ngupload.txt') + '\n'...
bsd-3-clause
Python
a902c894877de075e537277e08a575bf3eda3481
tag it
cloudify-cosmo/cloudify-cloudstack-provider
setup.py
setup.py
######## # Copyright (c) 2013 GigaSpaces Technologies Ltd. All rights reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
######## # Copyright (c) 2013 GigaSpaces Technologies Ltd. All rights reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless...
apache-2.0
Python
f44d97e87958014175ac99a13ab897c131b25708
add python 3.3 to setup.py
BrianHicks/emit,BrianHicks/emit,BrianHicks/emit
setup.py
setup.py
from setuptools import setup import os from subprocess import Popen, PIPE import sys import emit # add a few commands for measurement def cc(): proc = Popen(['radon', 'cc'] + sys.argv[1:], stdout=PIPE) stdout, _ = proc.communicate() sys.stdout.write(stdout.decode('utf-8')) return 1 if stdout else 0 ...
from setuptools import setup import os from subprocess import Popen, PIPE import sys import emit # add a few commands for measurement def cc(): proc = Popen(['radon', 'cc'] + sys.argv[1:], stdout=PIPE) stdout, _ = proc.communicate() sys.stdout.write(stdout.decode('utf-8')) return 1 if stdout else 0 ...
mit
Python
ae428f51f5bb5c3116e71330c7fbecb0e0ea7e6e
Update setup.py
LettError/fontMath,typesupply/fontMath,moyogo/fontMath,anthrotype/fontMath
setup.py
setup.py
#!/usr/bin/env python from __future__ import print_function from distutils.core import setup try: import robofab except ImportError: print("*** Warning: fontMath requires RoboFab, see:") print(" robofab.com") setup(name="fontMath", version="0.2", description="A set of objects for performing ma...
#!/usr/bin/env python from __future__ import print_function from distutils.core import setup try: import robofab except ImportError: print("*** Warning: fontMath requires RoboFab, see:") print(" robofab.com") setup(name="fontMath", version="0.2", description="A set of objects for performing ma...
mit
Python
1e62e019bdcb2c40afef22b6750c06b98f3117b6
Bump version number
trilan/lemon-publications,trilan/lemon-publications
setup.py
setup.py
import codecs import os from setuptools import setup, find_packages def read(filename): filepath = os.path.join(os.path.dirname(__file__), filename) return codecs.open(filepath, encoding='utf-8').read() setup( name='lemon-publications', version='0.1.1', license='ISC', description='Utils to c...
import codecs import os from setuptools import setup, find_packages def read(filename): filepath = os.path.join(os.path.dirname(__file__), filename) return codecs.open(filepath, encoding='utf-8').read() setup( name='lemon-publications', version='0.1', license='ISC', description='Utils to cre...
isc
Python
3e6fd13dc23f7ff773b0be4d970c4fcd7ba37648
update version to 2017.02.16
enzienaudio/hv-uploader
setup.py
setup.py
from setuptools import setup def readme(): with open("README.md") as f: return f.read() setup(name="hv-uploader", version="2017.02.16", description="Uploads content to the Heavy Cloud Service (https://enzienaudio.com).", long_description=readme(), classifiers=[ "License :: ...
from setuptools import setup def readme(): with open("README.md") as f: return f.read() setup(name="hv-uploader", version="2017.02.15", description="Uploads content to the Heavy Cloud Service (https://enzienaudio.com).", long_description=readme(), classifiers=[ "License :: ...
mit
Python
508d35dbd5d4d22735e85543dd93f96871737b95
Update setup.py
sheltonpaul89/web-mocker
setup.py
setup.py
from distutils.core import setup from setuptools import setup, find_packages setup( name = 'webmocker', packages=find_packages(), # this must be the same as the name above version = '0.6.1', description = 'A test lib for stubbing http response', author = 'Shelton Paul', install_requires=['pretend_extended'...
from distutils.core import setup from setuptools import setup, find_packages setup( name = 'webmocker', packages=find_packages(), # this must be the same as the name above version = '0.6', description = 'A test lib for stubbing http response', author = 'Shelton Paul', install_requires=['pretend_extended'],...
bsd-2-clause
Python
70724edf2aaa4f7f89dc50a68ea0fe6d4488a4f6
Bump status to stable.
tomstuart/pygments,spencerlyon2/pygments,erickt/pygments,erickt/pygments,tomstuart/pygments,erickt/pygments,tomstuart/pygments,tomstuart/pygments,tomstuart/pygments,spencerlyon2/pygments,erickt/pygments,tomstuart/pygments,tomstuart/pygments,spencerlyon2/pygments,spencerlyon2/pygments,spencerlyon2/pygments,spencerlyon2/...
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import ez_setup ez_setup.use_setuptools() from setuptools import setup, find_packages import pygments # PY24: use .rsplit index = pygments.__author__.rindex(' ') author, email = pygments.__author__[:index], pygments.__author__[index+1:] email = email[1:-1] setup( nam...
#!/usr/bin/env python # -*- coding: utf-8 -*- import ez_setup ez_setup.use_setuptools() from setuptools import setup, find_packages import pygments # PY24: use .rsplit index = pygments.__author__.rindex(' ') author, email = pygments.__author__[:index], pygments.__author__[index+1:] email = email[1:-1] setup( nam...
bsd-2-clause
Python
13faf82e6dacd86f47cdc22f32fd44a9aeb8511f
Bump Raven to 1.4.5
mvaled/sentry,llonchj/sentry,zenefits/sentry,alexm92/sentry,JTCunning/sentry,NickPresta/sentry,alex/sentry,korealerts1/sentry,gg7/sentry,alexm92/sentry,Natim/sentry,Natim/sentry,boneyao/sentry,gencer/sentry,felixbuenemann/sentry,ngonzalvez/sentry,daevaorn/sentry,looker/sentry,fotinakis/sentry,felixbuenemann/sentry,hong...
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 ...
#!/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 ...
bsd-3-clause
Python
a0cdd35deae56efbb4f052c8ad2c18723c649c60
change version again
frankbe/ttime
setup.py
setup.py
#from distutils.core import setup from setuptools import setup setup( name='ttime', version='0.2-SNAPSHOT', description='a text filed base Time Tracking tool', author='Berthold Frank', author_email='frankbe@web.de', url='https://github.com/frankbe/ttime', py_modules=['ttime'], install_r...
#from distutils.core import setup from setuptools import setup setup( name='ttime', version='0.2', description='a text filed base Time Tracking tool', author='Berthold Frank', author_email='frankbe@web.de', url='https://github.com/frankbe/ttime', py_modules=['ttime'], install_requires=[...
mit
Python
440ab36614840029bd8b265bc707a58fbb3ce906
Fix setup.py and add tqdm as an extra require
pablormier/yabox
setup.py
setup.py
from setuptools import setup setup( name='yabox', version='1.0.1', description='Yet another black-box optimization library for Python', author='Pablo Rodriguez-Mier', author_email="pablo.rodriguez.mier@gmail.com", packages=['yabox', 'yabox.algorithms', 'yabox.problems'], install_requires=['...
from setuptools import setup setup( name='yabox', version='1.0.1', description='Yet another black-box optimization library for Python', author='Pablo Rodriguez-Mier', author_email="pablo.rodriguez.mier@gmail.com", packages=['yabox'], install_requires=['numpy>=1.7'], extras_require={ ...
apache-2.0
Python
8aca2046ccafa877b26fb630f176ae81a63d2686
fix typo
psolin/cleanco
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup setup(name='cleanco', description='Python library to process company names', version='1.1', license="MIT", classifiers = [ "Topic :: Office/Business", "Development Status :: 4 - Beta", "Intended Audience :: Develo...
#!/usr/bin/env python from distutils.core import setup setup(name='cleanco', description='Python library to process company names', version='1.1', license="MIT", classifiers = [ "Topic :: Office/Business", "Development Status :: 4 - Beta", "Intended Audience :: Develo...
mit
Python
f85baa501c0cb39094a831300519dcc9bf4ed331
Add client utility app to setup.py as an entry point
farzadghanei/statsd-metrics
setup.py
setup.py
#!/usr/bin/env python """ statsdmetrics -------------- Data metrics for Statsd. """ from __future__ import print_function import os try: import setuptools from setuptools import setup except ImportError: setuptools = None from distutils.core import setup try: import distutilazy.test import...
#!/usr/bin/env python """ statsdmetrics -------------- Data metrics for Statsd. """ from __future__ import print_function import os try: import setuptools from setuptools import setup except ImportError: setuptools = None from distutils.core import setup try: import distutilazy.test import...
mit
Python
730167a4ee662b48dfbeb07e036a73391d0257e7
improve setup
ramusus/django-authopenid,psi29a/django-authopenid,psi29a/django-authopenid,ramusus/django-authopenid,ramusus/django-authopenid
setup.py
setup.py
# -*- coding: utf-8 -*- # Copyright 2007, 2008,2009 by Benoît Chesneau <benoitc@e-engura.org> # # 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...
# -*- coding: utf-8 -*- # Copyright 2007, 2008,2009 by Benoît Chesneau <benoitc@e-engura.org> # # 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...
apache-2.0
Python
bf469696fc54428ec02e86eb60efab281ab28d2b
add sea celery cmd
shanbay/sea,yandy/sea,yandy/sea
setup.py
setup.py
from setuptools import setup, find_packages import os import re import ast _version_re = re.compile(r'__version__\s+=\s+(.*)') with open('sea/__init__.py') as f: version = str(ast.literal_eval(_version_re.search( f.read()).group(1))) with open('README.md') as f: readme = f.read() def find_package_d...
from setuptools import setup, find_packages import os import re import ast _version_re = re.compile(r'__version__\s+=\s+(.*)') with open('sea/__init__.py') as f: version = str(ast.literal_eval(_version_re.search( f.read()).group(1))) with open('README.md') as f: readme = f.read() def find_package_d...
mit
Python
71226782fbe849278af9e4a5f79ae35583489b51
fix broken ref in setup.py
zebrafishlabs/fastly-python,getlantern/fastly-python
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 = "fastly-python", version = "1.0.4", author = "Chris Zacharias", author_email = "chris@imgix.com", description = ("A Python client libary for the Fastly API."), license = "...
import os from setuptools import setup def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name = "fastly-python", version = "1.0.4", author = "Chris Zacharias", author_email = "chris@imgix.com", description = ("A Python client libary for the Fastly API."), license = "...
bsd-2-clause
Python
5472deba2cdf22e9f8b7459caaf7a18ab38f365f
bump patch for setlasterror type fix
srounet/Pymem
setup.py
setup.py
import pathlib import setuptools ROOT = str(pathlib.Path(__file__).parent) extras = { 'speed': ['regex'] } with open(ROOT + '/requirements-doc.txt', encoding='utf-8') as fp: extras['doc'] = fp.read().splitlines() with open(ROOT + '/requirements-test.txt', encoding='utf-8') as fp: extras['test'] = fp...
import pathlib import setuptools ROOT = str(pathlib.Path(__file__).parent) extras = { 'speed': ['regex'] } with open(ROOT + '/requirements-doc.txt', encoding='utf-8') as fp: extras['doc'] = fp.read().splitlines() with open(ROOT + '/requirements-test.txt', encoding='utf-8') as fp: extras['test'] = fp...
mit
Python
c5a71b5e97657358f41fc7f96b1b674ceb37dfb1
Remove plain 'django-admin-sortable' from requirements
czpython/aldryn-faq,czpython/aldryn-faq,czpython/aldryn-faq,czpython/aldryn-faq
setup.py
setup.py
# -*- coding: utf-8 -*- from setuptools import setup, find_packages from aldryn_faq import __version__ REQUIREMENTS = [ 'aldryn-apphooks-config', 'aldryn-reversion', 'aldryn-search', # 'django-admin-sortable', 'django-admin-sortable2>=0.5.0', 'django-parler', 'django-sortedm2m', ] CLASSIFI...
# -*- coding: utf-8 -*- from setuptools import setup, find_packages from aldryn_faq import __version__ REQUIREMENTS = [ 'aldryn-apphooks-config', 'aldryn-reversion', 'aldryn-search', 'django-admin-sortable', 'django-admin-sortable2>=0.5.0', 'django-parler', 'django-sortedm2m', ] CLASSIFIER...
bsd-3-clause
Python
c29710b99170ff84fe9aaf8ef2003fd17b2534b1
Bump version.
JshWright/django-annoying
setup.py
setup.py
from setuptools import setup, find_packages setup( name="django-annoying", version="0.7.8", packages=find_packages(), author="Anderson", author_email="stavros@korokithakis.net", description="This is a django application that tries to eliminate annoying things in the Django framework.", long_...
from setuptools import setup, find_packages setup( name="django-annoying", version="0.7.7", packages=find_packages(), author="Anderson", author_email="stavros@korokithakis.net", description="This is a django application that tries to eliminate annoying things in the Django framework.", long_...
bsd-3-clause
Python
8f461f1893d8c9a2e104eb29c482c2e1b0a8e6d9
Improve test integration
orlnub123/cleverbot.py
setup.py
setup.py
import os import re import sys try: from setuptools import setup except ImportError: from distutils.core import setup os.chdir(os.path.dirname(os.path.abspath(__file__))) with open('cleverbot/__init__.py') as f: version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', f.rea...
import os import re import sys try: from setuptools import setup except ImportError: from distutils.core import setup if sys.version_info < (3, 4, 2): os.environ['PYTEST_ADDOPTS'] = '-p no:asyncio' else: import importlib if importlib.util.find_spec('aiohttp') is None: os.environ['PYTEST_A...
mit
Python
14874168bf98e703a219954914e139b366d50de3
build with setuptools
motmot/imops,motmot/imops
setup.py
setup.py
import sys, os from setuptools import setup, Extension, find_packages from Cython.Build import cythonize import numpy setup(name="motmot.imops", description="image format conversion (e.g. between MONO8, YUV422, and RGB)", long_description = """ This is a subpackage of the motmot family of digital image ut...
import sys, os from distutils.core import setup from distutils.extension import Extension from Cython.Build import cythonize import numpy setup(name="motmot.imops", description="image format conversion (e.g. between MONO8, YUV422, and RGB)", long_description = """ This is a subpackage of the motmot family...
bsd-3-clause
Python
2dcc499468743c58664ceaaffe07205ab7016baa
Make setup.py use requirements.txt
microsoft/dowhy
setup.py
setup.py
"""A setuptools based setup module for dowhy. Adapted from: https://packaging.python.org/en/latest/distributing.html https://github.com/pypa/sampleproject """ from setuptools import setup, find_packages from codecs import open from os import path here = path.abspath(path.dirname(__file__)) # Get the long descriptio...
"""A setuptools based setup module for dowhy. Adapted from: https://packaging.python.org/en/latest/distributing.html https://github.com/pypa/sampleproject """ from setuptools import setup, find_packages from codecs import open from os import path here = path.abspath(path.dirname(__file__)) # Get the long descriptio...
mit
Python
62006aa38c9a653b8e95c0502576580aa0d09cf3
Update project URL
Ombitron/flask-influxdb,Ombitron/flask-influxdb
setup.py
setup.py
""" Flask-InfluxDB """ from setuptools import setup setup( name='Flask-InfluxDB', version='0.2', url='http://github.com/btashton/flask-influxdb', license='BSD', author='Brennan Ashton', author_email='brennan@ombitron.com', description='Flask bindings for the InfluxDB time series database', ...
""" Flask-InfluxDB """ from setuptools import setup setup( name='Flask-InfluxDB', version='0.2', url='http://github.com/ombitron/flask-influxdb', license='BSD', author='Brennan Ashton', author_email='brennan@ombitron.com', description='Flask bindings for the InfluxDB time series database', ...
bsd-3-clause
Python
968ac488c91b960e0461d041f7e7efc7e24d8eb4
Bump version number
gears/gears-handlebars,gears/gears-handlebars
setup.py
setup.py
import os from setuptools import setup, find_packages def read(filename): return open(os.path.join(os.path.dirname(__file__), filename)).read() setup( name='gears-handlebars', version='0.1.6', url='https://github.com/gears/gears-handlebars', license='ISC', author='Mike Yumatov', author_e...
import os from setuptools import setup, find_packages def read(filename): return open(os.path.join(os.path.dirname(__file__), filename)).read() setup( name='gears-handlebars', version='0.1.5', url='https://github.com/gears/gears-handlebars', license='ISC', author='Mike Yumatov', author_e...
isc
Python
9d970bebc7d7410811ced1daf5511b605bfc8298
fix deps
infrae/mobi.devices
setup.py
setup.py
#!/usr/bin/env python import os from setuptools import setup, find_packages setup(name='playmobile.devices', version='0.1dev', description='Mobile Device management', author='Infrae', author_email='info@infrae.com', url='infrae.com', package_dir={'': 'src'}, packages=find_pac...
#!/usr/bin/env python import os from setuptools import setup, find_packages setup(name='playmobile.devices', version='0.1dev', description='Mobile Device management', author='Infrae', author_email='info@infrae.com', url='infrae.com', package_dir={'': 'src'}, packages=find_pac...
bsd-3-clause
Python
5267e31ba4e4da81f1bb9ccb964e963e2e4f0424
Use last version.
PyBossa/pbs,PyBossa/pbs,PyBossa/pbs
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup try: from pypandoc import convert long_description = convert('README.md', 'rst') except IOError: print("warning: README.md not found") long_description = "" except ImportError: print("warning: pypandoc module not found, cou...
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup try: from pypandoc import convert long_description = convert('README.md', 'rst') except IOError: print("warning: README.md not found") long_description = "" except ImportError: print("warning: pypandoc module not found, cou...
agpl-3.0
Python
6a0121eb14987c83d311fe724aff4be98110b17e
raise if <3.5 - fixes #9
loads/molotov,loads/ailoads
setup.py
setup.py
import sys from setuptools import setup, find_packages PY = sys.version_info if not (PY[0] == 3 and PY[1] >= 5): raise ValueError("Requires Python 3.5 or superior") from molotov import __version__ # NOQA install_requires = ['aiohttp', 'aiomeasures'] description = '' for file_ in ('README', 'CHANGELOG'): ...
from setuptools import setup, find_packages from molotov import __version__ install_requires = ['aiohttp', 'aiomeasures'] description = '' for file_ in ('README', 'CHANGELOG'): with open('%s.rst' % file_) as f: description += f.read() + '\n\n' classifiers = ["Programming Language :: Python", ...
apache-2.0
Python
0978e6207d84fae82845daec580db49ac47b57c2
Modify setup.py to to install the right requirements. (#11)
GoogleCloudPlatform/django-cloud-deploy,GoogleCloudPlatform/django-cloud-deploy
setup.py
setup.py
# Copyright 2018 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 2018 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
apache-2.0
Python
99558ca761d8807630d4972b38411c2650259edb
Fix long_description in setup.py
TangledWeb/tangled.web
setup.py
setup.py
from setuptools import setup, find_packages setup( name='tangled.web', version='0.1.dev0', description='RESTful Web Framework', long_description=open('README.rst').read(), packages=find_packages(), install_requires=( 'tangled>=0.1.dev0', 'venusian>=1.0a8', 'WebOb>=1.3.1...
from setuptools import setup, find_packages setup( name='tangled.web', version='0.1.dev0', description='RESTful Web Framework', long_description=open('README').read(), packages=find_packages(), install_requires=( 'tangled>=0.1.dev0', 'venusian>=1.0a8', 'WebOb>=1.3.1', ...
mit
Python
3328b7b251c36fba00986a58a9520850ace6c818
Update setup.py
scieloorg/articles_meta
setup.py
setup.py
#!/usr/bin/env python import os from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.md')) as f: README = f.read() with open(os.path.join(here, 'CHANGES.txt')) as f: CHANGES = f.read() requires = [ 'pymongo>=3.5.1', 'lxml>=...
#!/usr/bin/env python import os from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.md')) as f: README = f.read() with open(os.path.join(here, 'CHANGES.txt')) as f: CHANGES = f.read() requires = [ 'pymongo>=3.5.1', 'lxml>=...
bsd-2-clause
Python
77b629dc1b80d015ef59cad68aac0cb0271cd138
put yml files in package
EclecticIQ/OpenTAXII,Intelworks/OpenTAXII,EclecticIQ/OpenTAXII,Intelworks/OpenTAXII
setup.py
setup.py
from setuptools import setup, find_packages setup( name = "taxii_server", version = "0.0.1", packages = find_packages(), include_package_data = True, package_data = { 'taxii_server' : ['*.ini', '*.yml'] }, install_requires = [ 'libtaxii', 'Flask', 'sqlalch...
from setuptools import setup, find_packages setup( name = "taxii_server", version = "0.0.1", packages = find_packages(), include_package_data = True, package_data = { 'taxii_server' : ['*.ini'] }, install_requires = [ 'libtaxii', 'Flask', 'sqlalchemy', ...
bsd-3-clause
Python
3aa93f227e4321f506c851de4c73157f8336e9e3
change version
hmenager/pyacd
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import glob from setuptools import setup readme = open('README.md').read() setup( name='pyacd', version='0.2.0', description='python API to EMBOSS ACD files', long_description=readme, author='Hervé Ménager', author_email='hmenager@pasteur.fr', ...
#!/usr/bin/env python # -*- coding: utf-8 -*- import glob from setuptools import setup readme = open('README.md').read() setup( name='pyacd', version='0.1.2', description='python API to EMBOSS ACD files', long_description=readme, author='Hervé Ménager', author_email='hmenager@pasteur.fr', ...
mit
Python
ad4ec5d289fbdf72ec5945c4178fc975a0730f35
Update version number to 0.15.0.
edx/edx-proctoring,edx/edx-proctoring,edx/edx-proctoring
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages def is_requirement(line): """ Return True if the requirement line is a package requirement; that is, it is not blank, a comment, or editable. """ # Remove whitespace at the start/end of the line line = line.strip() # Skip b...
#!/usr/bin/env python from setuptools import setup, find_packages def is_requirement(line): """ Return True if the requirement line is a package requirement; that is, it is not blank, a comment, or editable. """ # Remove whitespace at the start/end of the line line = line.strip() # Skip b...
agpl-3.0
Python
c95063781fbfa2c7efde0e76d91c243b562542ca
bump version
ldo/dbussy
setup.py
setup.py
#+ # Distutils script to install DBussy. Invoke from the command line # in this directory as follows: # # python3 setup.py build # sudo python3 setup.py install # # Written by Lawrence D'Oliveiro <ldo@geek-central.gen.nz>. #- import distutils.core distutils.core.setup \ ( name = "DBussy", version = ...
#+ # Distutils script to install DBussy. Invoke from the command line # in this directory as follows: # # python3 setup.py build # sudo python3 setup.py install # # Written by Lawrence D'Oliveiro <ldo@geek-central.gen.nz>. #- import distutils.core distutils.core.setup \ ( name = "DBussy", version = ...
lgpl-2.1
Python
b2ca7e0ef370c8d54e35d314c50cba32170dc6a8
update pkgs
orvice/mu-py-sdk,orvice/mu-py-sdk
setup.py
setup.py
from setuptools import setup install_requires = [ "requests >= 2.5.0", "requests-toolbelt >= 0.5.1", "setuptools >= 0.7.0", ] packages = [ 'musdk', ] setup( name="musdk", version="0.0.5", license='MIT', description="ss-panel mu api sdk for python", author='orvice', author_e...
from setuptools import setup install_requires = [ "requests >= 2.5.0", "requests-toolbelt >= 0.5.1", "setuptools >= 0.7.0", ] setup( name="musdk", version="0.0.4", license='MIT', description="ss-panel mu api sdk for python", author='orvice', author_email='orvice@orx.me', url=...
mit
Python
0ef211cc1de95b0fbec2641c34fe189431007658
bump version to 0.1.1
aidan-/httpie-aws-authv4
setup.py
setup.py
from setuptools import setup try: import multiprocessing except ImportError: pass try: import pypandoc long_description = pypandoc.convert('README.md', 'rst') except ImportError: long_description = open('README.md').read() setup( name='httpie-aws-authv4', description='AWS auth v4 plugin fo...
from setuptools import setup try: import multiprocessing except ImportError: pass try: import pypandoc long_description = pypandoc.convert('README.md', 'rst') except ImportError: long_description = open('README.md').read() setup( name='httpie-aws-authv4', description='AWS auth v4 plugin fo...
mit
Python
05d937c388d761a49d30939c3452b8009736b048
Update tarball link.
alexsanduk/django-cprofile-middleware,omarish/django-cprofile-middleware
setup.py
setup.py
from distutils.core import setup setup( name = 'django-cprofile-middleware', packages = ['django_cprofile_middleware'], license = 'MIT', version = '0.2', description = 'Easily add cProfile profiling to django views.', author = 'Omar Bohsali', author_email = 'omar.bohsali@gmail.com', url...
from distutils.core import setup setup( name = 'django-cprofile-middleware', packages = ['django_cprofile_middleware'], license = 'MIT', version = '0.2', description = 'Easily add cProfile profiling to django views.', author = 'Omar Bohsali', author_email = 'omar.bohsali@gmail.com', url...
mit
Python
d8a6885ee65a5fdf437ec126995b9705c897bc96
bump version to 1.1.0
singer-io/tap-mysql
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup setup(name='tap-mysql', version='1.1.0', description='Singer.io tap for extracting data from MySQL', author='Stitch', url='https://singer.io', classifiers=['Programming Language :: Python :: 3 :: Only'], py_modules=['tap_mysql'], ...
#!/usr/bin/env python from setuptools import setup setup(name='tap-mysql', version='1.0.0', description='Singer.io tap for extracting data from MySQL', author='Stitch', url='https://singer.io', classifiers=['Programming Language :: Python :: 3 :: Only'], py_modules=['tap_mysql'], ...
agpl-3.0
Python
61dfb230207892e259f346ae84d0cc3db266c13c
Bump content-io version
5monkeys/djedi-cms,5monkeys/djedi-cms,5monkeys/djedi-cms
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages from sys import version_info install_requires = [ 'six', 'content-io >= 1.2.5', 'simplejson >= 3.2.0' ] tests_require = [ 'coverage', 'Markdown <= 2.4.1', 'Pillow <= 3.4.2', ] if version_info < (3,): tests_require += ['uni...
#!/usr/bin/env python from setuptools import setup, find_packages from sys import version_info install_requires = [ 'six', 'content-io >= 1.2.4', 'simplejson >= 3.2.0' ] tests_require = [ 'coverage', 'Markdown <= 2.4.1', 'Pillow <= 3.4.2', ] if version_info < (3,): tests_require += ['uni...
bsd-3-clause
Python
6d4644ed9cd25f44975b1a354da338a12907f2d0
Update yamllint requirement from <1.21,>=1.11.1 to >=1.11.1,<1.25
openfisca/senegal
setup.py
setup.py
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Senegal', version='0.10.1', author='OpenFisca Team', author_email='contact@openfisca.fr', description='Senegalese tax and benefit system for OpenFisca', keywords='benefit microsi...
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name='OpenFisca-Senegal', version='0.10.1', author='OpenFisca Team', author_email='contact@openfisca.fr', description='Senegalese tax and benefit system for OpenFisca', keywords='benefit microsi...
agpl-3.0
Python
be67c07cc5ee872f15df23d5eb76d9a3dcfab69f
Downgrade f5-sdk requirement to 0.1.7
F5Networks/f5-openstack-agent,F5Networks/f5-openstack-agent,richbrowne/f5-openstack-agent,richbrowne/f5-openstack-agent,richbrowne/f5-openstack-agent,F5Networks/f5-openstack-agent
setup.py
setup.py
# Copyright 2016 F5 Networks 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 writ...
# Copyright 2016 F5 Networks 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 writ...
apache-2.0
Python
052aeb0e2dc171e21acd21ceae5d559a06b8eee6
Use shell specified by $SHELL environment variable.
shaurz/devo
shell.py
shell.py
import sys, os, subprocess def run_shell_command(cmdline, pipe_output=True, **kwargs): if sys.platform == "win32": args = cmdline else: args = [os.environ.get("SHELL", "/bin/sh")] process = subprocess.Popen(args, stdin = subprocess.PIPE if sys.platform != "win32" else None, ...
import sys, subprocess def run_shell_command(cmdline, pipe_output=True, **kwargs): args = ["bash"] if sys.platform != "win32" else cmdline process = subprocess.Popen(args, stdin = subprocess.PIPE if sys.platform != "win32" else None, stdout = subprocess.PIPE if pipe_output else None, s...
mit
Python
971a66afa5a1fe6afaf9893616970bd077d1ea67
Read last content of the file into tail buffer.
ateska/ramona,ateska/ramona,ateska/ramona,zhangchunsheng/ramona,zhangchunsheng/ramona,zhangchunsheng/ramona
ramona/server/logmed.py
ramona/server/logmed.py
import collections, io, os ### class log_mediator(object): ''' This object serves as mediator between program and its log files. It provides following functionality: - log rotation (TODO) - tail buffer (TODO) - seek for patterns in log stream and eventually trigger error mail ''' maxtailbuflen = 64*1024 ...
import collections ### class log_mediator(object): ''' This object serves as mediator between program and its log files. It provides following functionality: - log rotation (TODO) - tail buffer (TODO) - seek for patterns in log stream and eventually trigger error mail ''' maxtailbuflen = 64*1024 # 64Kb i...
bsd-2-clause
Python
8aa9a46332c37253493d9097b292569a9610250d
Update tests/webapi/test_start.py
CCI-Tools/cate-core,CCI-Tools/cate-core
tests/webapi/test_start.py
tests/webapi/test_start.py
import json import os import unittest from tornado.testing import AsyncHTTPTestCase from cate.webapi.start import create_application NETCDF_TEST_FILE = os.path.join(os.path.dirname(__file__), '..', 'data', 'precip_and_temp.nc') # For usage of the tornado.testing.AsyncHTTPTestCase see http://www.tornadoweb.org/en/st...
import json import os import unittest from tornado.testing import AsyncHTTPTestCase from cate.webapi.start import create_application NETCDF_TEST_FILE = os.path.join(os.path.dirname(__file__), '..', 'data', 'precip_and_temp.nc') # For usage of the tornado.testing.AsyncHTTPTestCase see http://www.tornadoweb.org/en/st...
mit
Python
1791996a15d52585a6d543592dfa2c5a55b011e1
fix bug: don't send ProjectRequest too often
fsharp/fsharpbinding,fsharp/fsharpbinding,Ming-Tang/fsharpbinding,Ming-Tang/fsharpbinding,fsharp/fsharpbinding,fsharp/xamarin-monodevelop-fsharp-addin,nosami/xamarin-monodevelop-fsharp-addin,fsharp/xamarin-monodevelop-fsharp-addin,Ming-Tang/fsharpbinding,nosami/xamarin-monodevelop-fsharp-addin
sublimetext/FSharp/lib/editor.py
sublimetext/FSharp/lib/editor.py
# Copyright (c) 2014, Guillermo López-Anglada. Please see the AUTHORS file for details. # All rights reserved. Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file.) import sublime from FSharp.fsac import server from FSharp.fsac.client import FsacClient from FSharp.fsac.r...
# Copyright (c) 2014, Guillermo López-Anglada. Please see the AUTHORS file for details. # All rights reserved. Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file.) import sublime from FSharp.fsac import server from FSharp.fsac.client import FsacClient from FSharp.fsac.r...
apache-2.0
Python
347f63984cd44674b586156df0a23ef1c53da576
Fix accidental commit of changed config in the fixing of other accidental commits (y).
Eyra-is/Eyra,Eyra-is/Eyra,Eyra-is/Eyra,Eyra-is/Eyra,Eyra-is/Eyra,Eyra-is/Eyra
Backend/server-interface/qc/celery_config.py
Backend/server-interface/qc/celery_config.py
# Copyright 2016 The Eyra Authors. 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 la...
# Copyright 2016 The Eyra Authors. 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 la...
apache-2.0
Python
6efd6b73a04cde4fa404480960ca85f8496ef740
Update majority-element-ii.py
yiwen-luo/LeetCode,jaredkoontz/leetcode,kamyu104/LeetCode,tudennis/LeetCode---kamyu104-11-24-2015,githubutilities/LeetCode,kamyu104/LeetCode,yiwen-luo/LeetCode,githubutilities/LeetCode,yiwen-luo/LeetCode,jaredkoontz/leetcode,tudennis/LeetCode---kamyu104-11-24-2015,kamyu104/LeetCode,tudennis/LeetCode---kamyu104-11-24-20...
Python/majority-element-ii.py
Python/majority-element-ii.py
# Time: O(n) # Space: O(1) # Given an integer array of size n, # find all elements that appear more than [n/3] times. # The algorithm should run in linear time and in O(1) space. class Solution(object): def majorityElement(self, nums): """ :type nums: List[int] :rtype: List[int] ...
# Time: O(n) # Space: O(1) # Given an integer array of size n, # find all elements that appear more than [n/3] times. # The algorithm should run in linear time and in O(1) space. class Solution(object): def majorityElement(self, nums): """ :type nums: List[int] :rtype: List[int] ...
mit
Python
eb707f90e7d685eedb69571f449b7b1623d493fd
Update majority-element-ii.py
yiwen-luo/LeetCode,yiwen-luo/LeetCode,yiwen-luo/LeetCode,jaredkoontz/leetcode,githubutilities/LeetCode,kamyu104/LeetCode,jaredkoontz/leetcode,githubutilities/LeetCode,tudennis/LeetCode---kamyu104-11-24-2015,tudennis/LeetCode---kamyu104-11-24-2015,kamyu104/LeetCode,kamyu104/LeetCode,tudennis/LeetCode---kamyu104-11-24-20...
Python/majority-element-ii.py
Python/majority-element-ii.py
# Time: O(n) # Space: O(1) # # Given an integer array of size n, # find all elements that appear more than ⌊ n/3 ⌋ times. # The algorithm should run in linear time and in O(1) space. # class Solution: # @param {integer[]} nums # @return {integer[]} def majorityElement(self, nums): k, n, hash = 3...
# Time: O(n) # Space: O(1) # # Given an integer array of size n, # find all elements that appear more than ⌊ n/3 ⌋ times. # The algorithm should run in linear time and in O(1) space. # class Solution: # @param {integer[]} nums # @return {integer[]} def majorityElement(self, nums): k, n, hash = 3...
mit
Python
c27fac933b9ab1edae51dbe5035983276ff32453
handle worker errors
hoover/snoop,hoover/snoop
maldini/management/commands/digestworker.py
maldini/management/commands/digestworker.py
import simplejson as json from django.core.management.base import BaseCommand from django.db import transaction from maldini import models from maldini import queue from maldini.digest import digest class Command(BaseCommand): help = "Run the `digest` worker" def handle(self, verbosity, **options): d...
import simplejson as json from django.core.management.base import BaseCommand from django.db import transaction from maldini import models from maldini import queue from maldini.digest import digest class Command(BaseCommand): help = "Run the `digest` worker" def handle(self, verbosity, **options): d...
mit
Python
ae2d9a77bea2e275450f96715a3e64f9a6225caa
fix indentation problem in MacOS memory handling routine
Evfro/polara
polara/tools/systools.py
polara/tools/systools.py
from __future__ import division import os import sys import ctypes # Getting memory info, based on # http://stackoverflow.com/a/2017659/6621667 and # https://doeidoei.wordpress.com/2009/03/22/python-tip-3-checking-available-ram-with-python/ class MemoryStatus(ctypes.Structure): _fields_ = [ ("dwLength", c...
from __future__ import division import os import sys import ctypes # Getting memory info, based on # http://stackoverflow.com/a/2017659/6621667 and # https://doeidoei.wordpress.com/2009/03/22/python-tip-3-checking-available-ram-with-python/ class MemoryStatus(ctypes.Structure): _fields_ = [ ("dwLength", c...
mit
Python
4d4be9b060cad9e472cff3f059d61cd12b88c434
update WebRisk synth config (#1802)
googleapis/google-cloud-php-web-risk,googleapis/google-cloud-php-web-risk
synth.py
synth.py
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
# Copyright 2019 Google LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, s...
apache-2.0
Python
f1e2dd22cfb36153949213dc42792363990659d8
replace distutils with setuptools for cosmical
TESScience/SPyFFI,TESScience/SPyFFI,TESScience/SPyFFI
cosmical_realistic/setup.py
cosmical_realistic/setup.py
from setuptools import setup, Extension import numpy.distutils.misc_util setup(install_requires=['numpy'], ext_modules=[Extension("_cosmical", ["_cosmical.c", "cosmical.c", "twister.c", "seed_tw_ran.c"], include_dirs=numpy.distutils.misc_util.get_numpy_include_dirs())], )
from distutils.core import setup, Extension import numpy.distutils.misc_util setup(install_requires=['numpy'], ext_modules=[Extension("_cosmical", ["_cosmical.c", "cosmical.c", "twister.c", "seed_tw_ran.c"], include_dirs=numpy.distutils.misc_util.get_numpy_include_dirs())], )
mit
Python
dd0adc7dc23f604d4cda97f107b2599b92328d34
Fix test for discover to use bytes
SoCo/SoCo,dajobe/SoCo,meska/SoCo,dajobe/SoCo,fgend31/SoCo,bwhaley/SoCo,dsully/SoCo,TrondKjeldas/SoCo,simonalpha/SoCo,intfrr/SoCo,xxdede/SoCo,petteraas/SoCo,fgend31/SoCo,lawrenceakka/SoCo,bwhaley/SoCo,petteraas/SoCo,KennethNielsen/SoCo,intfrr/SoCo,xxdede/SoCo,KennethNielsen/SoCo,DPH/SoCo,fxstein/SoCo,TrondKjeldas/SoCo,x...
unittest/test_discovery.py
unittest/test_discovery.py
# -*- coding: utf-8 -*- from __future__ import unicode_literals from mock import patch, Mock from soco import discover from soco import config IP_ADDR = '192.168.1.101' TIMEOUT = 5 @patch('socket.socket', spec=True) @patch('select.select', spec=True) @patch('soco.config.SOCO_CLASS') class TestDiscover: def test...
# -*- coding: utf-8 -*- from __future__ import unicode_literals from mock import patch, Mock from soco import discover from soco import config IP_ADDR = '192.168.1.101' TIMEOUT = 5 @patch('socket.socket', spec=True) @patch('select.select', spec=True) @patch('soco.config.SOCO_CLASS') class TestDiscover: def test...
mit
Python
13178485b35353677bfdda896d8738023c5d73c2
drop indent in raw JSON response (it is really slow for big JSON objects)
adaptive-learning/proso-apps,adaptive-learning/proso-apps,adaptive-learning/proso-apps
proso/django/response.py
proso/django/response.py
# -*- coding: utf-8 -*- from django.shortcuts import render as original_render, redirect from django.http import HttpResponse import json as simplejson from django.conf import settings import markdown import logging from time import time LOGGER = logging.getLogger('django.request') def redirect_pass_get(request, vi...
# -*- coding: utf-8 -*- from django.shortcuts import render as original_render, redirect from django.http import HttpResponse import json as simplejson from django.conf import settings import markdown import logging from time import time LOGGER = logging.getLogger('django.request') def redirect_pass_get(request, vi...
mit
Python
70a642c0597fb2f929fc83d821c8b1f095ed1328
Allow mutiple hooks for packets
alama/PSO2Proxy,alama/PSO2Proxy,flyergo/PSO2Proxy,alama/PSO2Proxy,cyberkitsune/PSO2Proxy,cyberkitsune/PSO2Proxy,flyergo/PSO2Proxy,cyberkitsune/PSO2Proxy
proxy/plugins/plugins.py
proxy/plugins/plugins.py
packetFunctions = {} commands = {} onStart = [] onConnection = [] onConnectionLoss = [] class packetHook(object): def __init__(self, pktType, pktSubtype): self.pktType = pktType self.pktSubtype = pktSubtype def __call__(self, f): global packetFunctions if (self.pktType, self.pktSubtype) not in packetFunctio...
packetFunctions = {} commands = {} onStart = [] onConnection = [] onConnectionLoss = [] class packetHook(object): def __init__(self, pktType, pktSubtype): self.pktType = pktType self.pktSubtype = pktSubtype def __call__(self, f): global packetFunctions packetFunctions[(self.pktType, self.pktSubtype)] = f c...
agpl-3.0
Python
44e31e2153f4eec2863f9d712ab60f0ef00d1779
Update for compatibility with python 3
10gen-labs/mongo-connector,ShaneHarvey/mongo-connector,mongodb-labs/mongo-connector,10gen-labs/mongo-connector,mongodb-labs/mongo-connector,ShaneHarvey/mongo-connector
mongo_connector/get_last_oplog_timestamp.py
mongo_connector/get_last_oplog_timestamp.py
#!/usr/bin/python import pymongo import bson import time import sys from mongo_connector import util mongo_url = 'mongodb://localhost:27017' if len(sys.argv) == 1: print "First argument is mongodb connection string, i.e. localhost:27017. Assuming localhost:27017..." if len(sys.argv) >= 2: mongo_url = sys.argv[1] ...
#!/usr/bin/python import pymongo import bson import time import sys from mongo_connector import util mongo_url = 'mongodb://localhost:27017' if len(sys.argv) == 1: print "First argument is mongodb connection string, i.e. localhost:27017. Assuming localhost:27017..." if len(sys.argv) >= 2: mongo_url = sys.argv[1] ...
apache-2.0
Python
8b6d567a3467fe42cc1b23e2ce129c1e65cad3ab
Destroy update
zouzias/digitalocean-devops,zouzias/digitalocean-devops,zouzias/digitalocean-devops
actions/destroyAllDroplets.py
actions/destroyAllDroplets.py
#!/usr/local/bin/python import digitalocean with open ("token-api.txt", "r") as file: token = file.read().replace('\n', '') print "Using API token: " + token manager = digitalocean.Manager(token=token) my_droplets = manager.get_all_droplets() print str(len(my_droplets)) + " droplets found..." ...
import digitalocean manager = digitalocean.Manager(token="XXXX") my_droplets = manager.get_all_droplets() for droplet in my_droplets: droplet.destroy()
apache-2.0
Python