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
ab0f6c38ab79cb6c11606fd110b36ec545177e26
Add lxml as dependancy and add keywords to package
titusz/onixcheck
setup.py
setup.py
#!/usr/bin/env python # -*- encoding: utf-8 -*- from __future__ import absolute_import, print_function import io import os import re from glob import glob from os.path import basename from os.path import dirname from os.path import join from os.path import relpath from os.path import splitext from setuptools import find_packages from setuptools import setup def read(*names, **kwargs): return io.open( join(dirname(__file__), *names), encoding=kwargs.get('encoding', 'utf8') ).read() setup( name='onixcheck', version='0.1.0', license='BSD', description='ONIX validation library and commandline tool', long_description='%s\n%s' % (read('README.rst'), re.sub(':[a-z]+:`~?(.*?)`', r'``\1``', read('CHANGELOG.rst'))), author='Titusz Pan', author_email='tp@py7.de', url='https://github.com/titusz/onixcheck', packages=find_packages('src'), package_dir={'': 'src'}, py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')], include_package_data=True, zip_safe=False, classifiers=[ # complete classifier list: http://pypi.python.org/pypi?%3Aaction=list_classifiers 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: Unix', 'Operating System :: POSIX', 'Operating System :: Microsoft :: Windows', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Utilities', ], keywords=[ 'ONIX', 'validation', 'EDItEUR', 'XML', 'RelaxNG', 'XMLSchema' ], install_requires=[ 'click', 'lxml', ], extras_require={ # eg: # 'rst': ['docutils>=0.11'], # ':python_version=="2.6"': ['argparse'], }, entry_points={ 'console_scripts': [ 'onixcheck = onixcheck.__main__:main', ] }, )
#!/usr/bin/env python # -*- encoding: utf-8 -*- from __future__ import absolute_import, print_function import io import os import re from glob import glob from os.path import basename from os.path import dirname from os.path import join from os.path import relpath from os.path import splitext from setuptools import find_packages from setuptools import setup def read(*names, **kwargs): return io.open( join(dirname(__file__), *names), encoding=kwargs.get('encoding', 'utf8') ).read() setup( name='onixcheck', version='0.1.0', license='BSD', description='ONIX validation library and commandline tool', long_description='%s\n%s' % (read('README.rst'), re.sub(':[a-z]+:`~?(.*?)`', r'``\1``', read('CHANGELOG.rst'))), author='Titusz Pan', author_email='tp@py7.de', url='https://github.com/titusz/onixcheck', packages=find_packages('src'), package_dir={'': 'src'}, py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')], include_package_data=True, zip_safe=False, classifiers=[ # complete classifier list: http://pypi.python.org/pypi?%3Aaction=list_classifiers 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: Unix', 'Operating System :: POSIX', 'Operating System :: Microsoft :: Windows', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Utilities', ], keywords=[ # eg: 'keyword1', 'keyword2', 'keyword3', ], install_requires=[ 'click', ], extras_require={ # eg: # 'rst': ['docutils>=0.11'], # ':python_version=="2.6"': ['argparse'], }, entry_points={ 'console_scripts': [ 'onixcheck = onixcheck.__main__:main', ] }, )
bsd-2-clause
Python
1e1ab475e05ad76056b7e0068cbd04e699926ca2
Make `python setup.py test` run the tests via nose2, and have it install the test dependencies beforehand.
Emantor/syslog2irc,homeworkprod/syslog2irc
setup.py
setup.py
# -*- coding: utf-8 -*- import codecs import sys from setuptools import setup with codecs.open('README.rst', encoding='utf-8') as f: long_description = f.read() # Require the 'enum34' package on Python versions before 3.4. version_dependent_install_requires = [] if sys.version_info[:2] < (3, 4): version_dependent_install_requires.append('enum34') setup( name='syslog2IRC', version='0.8', description='A proxy to forward syslog messages to IRC', long_description=long_description, url='http://homework.nwsnet.de/releases/c474/#syslog2irc', author='Jochen Kupperschmidt', author_email='homework@nwsnet.de', license='MIT', classifiers=[ 'Environment :: Console', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Topic :: Communications :: Chat :: Internet Relay Chat', 'Topic :: Internet', 'Topic :: System :: Logging', 'Topic :: System :: Monitoring', 'Topic :: System :: Networking :: Monitoring', 'Topic :: System :: Systems Administration', ], install_requires=[ 'blinker >= 1.3', 'irc >= 8.9.1', 'syslogmp >= 0.1.1', ] + version_dependent_install_requires, tests_require=['nose2'], test_suite='nose2.collector.collector', )
# -*- coding: utf-8 -*- import codecs from setuptools import setup with codecs.open('README.rst', encoding='utf-8') as f: long_description = f.read() setup( name='syslog2IRC', version='0.8', description='A proxy to forward syslog messages to IRC', long_description=long_description, url='http://homework.nwsnet.de/releases/c474/#syslog2irc', author='Jochen Kupperschmidt', author_email='homework@nwsnet.de', license='MIT', classifiers=[ 'Environment :: Console', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Topic :: Communications :: Chat :: Internet Relay Chat', 'Topic :: Internet', 'Topic :: System :: Logging', 'Topic :: System :: Monitoring', 'Topic :: System :: Networking :: Monitoring', 'Topic :: System :: Systems Administration', ], )
mit
Python
d1af809109dc8c9746bba7faabf0be4eaf51d9d5
update version
TimeWz667/Kamanian
setup.py
setup.py
from setuptools import setup, find_packages setup(name='Kamanian', version='1.41', packages=find_packages(), install_requires=['pandas', 'numpy', 'scipy', 'matplotlib', 'networkx'], dependency_links=['git+git://github.com/TimeWz667/PyFire.git',] )
from setuptools import setup, find_packages setup(name='Kamanian', version='1.4', packages=find_packages(), install_requires=['pandas', 'numpy', 'scipy', 'matplotlib', 'networkx'], dependency_links=['git+git://github.com/TimeWz667/PyFire.git',] )
mit
Python
49d60b9213fb20518f2de74322a43abebf36a2b8
Fix install_requires
fabaff/python-mystrom
setup.py
setup.py
""" Copyright (c) 2015-2018 Fabian Affolter <fabian@affolter-engineering.ch> Licensed under MIT. All rights reserved. """ import os import sys from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() if sys.argv[-1] == 'publish': os.system('python3 setup.py sdist upload') sys.exit() setup( name='python-mystrom', version='0.4.4', description='Python API for interacting with myStrom devices', long_description=long_description, url='https://github.com/fabaff/python-mystrom', author='Fabian Affolter', author_email='fabian@affolter-engineering.ch', license='MIT', install_requires=['requests', 'click'], packages=find_packages(), zip_safe=True, include_package_data=True, entry_points=""" [console_scripts] mystrom=pymystrom.cli:main """, classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Topic :: Utilities', ], )
""" Copyright (c) 2015-2018 Fabian Affolter <fabian@affolter-engineering.ch> Licensed under MIT. All rights reserved. """ import os import sys from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() if sys.argv[-1] == 'publish': os.system('python3 setup.py sdist upload') sys.exit() setup( name='python-mystrom', version='0.4.3', description='Python API for interacting with myStrom devices', long_description=long_description, url='https://github.com/fabaff/python-mystrom', author='Fabian Affolter', author_email='fabian@affolter-engineering.ch', license='MIT', install_requires=['aiohttp', 'async_timeout', 'click'], packages=find_packages(), zip_safe=True, include_package_data=True, entry_points=""" [console_scripts] mystrom=pymystrom.cli:main """, classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Topic :: Utilities', ], )
mit
Python
9122becffcc69d3b6f5b6f54d193ac0e6bd94939
revert last commit
trichter/qopen
setup.py
setup.py
# Copyright 2015-2017 Tom Eulenfeld, MIT license import os import re from setuptools import find_packages, setup def find_version(*paths): fname = os.path.join(os.path.dirname(__file__), *paths) with open(fname) as fp: code = fp.read() match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", code, re.M) if match: return match.group(1) raise RuntimeError("Unable to find version string.") version = find_version('qopen', '__init__.py') DESCRIPTION = 'Separation of intrinsic and scattering Q by envelope inversion' LONG_DESCRIPTION = 'Please look at the project site for more information.' ENTRY_POINTS = { 'console_scripts': ['qopen-runtests = qopen.tests:run', 'qopen = qopen.core:run_cmdline', 'qopen-rt = qopen.rt:main']} DEPS = ['matplotlib>=1.3', 'numpy>=1.8', 'scipy>=0.14', 'setuptools', 'obspy>=1.0', 'statsmodels'] CLASSIFIERS = [ 'Environment :: Console', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Topic :: Scientific/Engineering :: Physics' ] setup(name='qopen', version=version, description=DESCRIPTION, long_description=LONG_DESCRIPTION, url='https://github.com/trichter/qopen', author='Tom Eulenfeld', author_email='tom.eulenfeld@gmail.com', license='MIT', packages=find_packages(), install_requires=DEPS, entry_points=ENTRY_POINTS, include_package_data=True, zip_safe=False, classifiers=CLASSIFIERS )
# Copyright 2015-2017 Tom Eulenfeld, MIT license import os import re from setuptools import find_packages, setup def find_version(*paths): fname = os.path.join(os.path.dirname(__file__), *paths) with open(fname) as fp: code = fp.read() match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", code, re.M) if match: return match.group(1) raise RuntimeError("Unable to find version string.") version = find_version('qopen', '__init__.py') DESCRIPTION = 'Separation of intrinsic and scattering Q by envelope inversion' LONG_DESCRIPTION = 'Please look at the project site for more information.' ENTRY_POINTS = { 'console_scripts': ['qopen-runtests = qopen.tests:run', 'qopen = qopen.core:run_cmdline', 'qopen-rt = qopen.rt:main']} DEPS = ['matplotlib>=1.3', 'numpy>=1.8', 'scipy>=0.14', 'setuptools', 'obspy>=1.0', 'statsmodels'] CLASSIFIERS = [ 'Environment :: Console', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Topic :: Scientific/Engineering :: Physics' ] setup(name='qopen', version=version, description=DESCRIPTION, long_description=LONG_DESCRIPTION, url='https://github.com/trichter/qopen', author='Tom Eulenfeld', author_email='tom.eulenfeld@gmail.com', license='MIT', packages=['qopen'], install_requires=DEPS, entry_points=ENTRY_POINTS, include_package_data=True, zip_safe=False, classifiers=CLASSIFIERS )
mit
Python
bb4a81918ab27ad43e7615177eeca054372dc662
Remove requires from setup.py
jwineinger/django-graphiter
setup.py
setup.py
import os from setuptools import setup README=open(os.path.join(os.path.dirname(__file__), 'README.md')).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-graphiter', version='1.0', packages=['graphiter'], package_data={'graphiter': ['templates/graphiter/*html'] }, license='BSD License', description='Django app to store graphite chart URLs, combine them into pages, and adjust time frames via GET param.', long_description=README, url='https://github.com/jwineinger/django-graphiter', author='Jay Wineinger', author_email='jay.wineinger@gmail.com', classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ], )
import os from setuptools import setup README=open(os.path.join(os.path.dirname(__file__), 'README.md')).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-graphiter', version='1.0', requires=["Django<1.6", "pytz", "requests==2.0.1"], packages=['graphiter'], package_data={'graphiter': ['templates/graphiter/*html'] }, license='BSD License', description='Django app to store graphite chart URLs, combine them into pages, and adjust time frames via GET param.', long_description=README, url='https://github.com/jwineinger/django-graphiter', author='Jay Wineinger', author_email='jay.wineinger@gmail.com', classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ], )
bsd-2-clause
Python
392204f5cba85ea12d73dd66c95b99be8a3d0bbe
Add probability prediction
KirovVerst/techson_server
random_forest/views.py
random_forest/views.py
from rest_framework.decorators import api_view from techson_server.settings import BASE_DIR from rest_framework.response import Response import pickle, json # Create your views here. @api_view(['POST']) def run(request): path = BASE_DIR + "/random_forest/classifier.pkl" with open(path, 'rb') as f: classifier = pickle.load(f) data = request.data['image'].split(",") predict = classifier.predict_proba(data)[0] keys = list(range(10)) result = dict(zip(keys, predict)) return Response(result)
from django.http.response import JsonResponse from rest_framework.decorators import api_view from techson_server.settings import BASE_DIR import pickle # Create your views here. @api_view(['POST']) def run(request): path = BASE_DIR + "/random_forest/classifier.pkl" with open(path, 'rb') as f: classifier = pickle.load(f) data = request.data['image'].split(",") predict = classifier.predict(data)[0] return JsonResponse(str(predict), safe=False)
mit
Python
20a8809d35650c3c328bd1b5c2fb45983bb591bf
Add verbose/non-verbose options for echo bridge
kfdm/gntp-regrowl
regrowl/bridge/echo.py
regrowl/bridge/echo.py
""" Echo a growl notification to the terminal This is just a simple regrowler to show the basic structure and provide a simple debug output Config Example: [regrowl.bridge.echo] verbose = True """ from __future__ import absolute_import import logging from regrowl.regrowler import ReGrowler logger = logging.getLogger(__name__) __all__ = ['EchoNotifier'] SPACER = '=' * 80 class EchoNotifier(ReGrowler): key = __name__ valid = ['REGISTER', 'NOTIFY'] def instance(self, packet): return None def register(self, packet): logger.info('Register') print 'Registration Packet:' if self.config.getboolean(self.key, 'verbose', False): print SPACER print packet print SPACER else: print packet.headers['Application-Name'] def notify(self, packet): logger.info('Notify') print 'Notification Packet:' if self.config.getboolean(self.key, 'verbose', False): print SPACER print packet print SPACER else: print packet.headers['Notification-Title'], print packet.headers['Notification-Text']
""" Echo a growl notification to the terminal This is just a simple regrowler to show the basic structure and provide a simple debug output """ from __future__ import absolute_import import logging from regrowl.regrowler import ReGrowler logger = logging.getLogger(__name__) __all__ = ['EchoNotifier'] SPACER = '=' * 80 class EchoNotifier(ReGrowler): key = __name__ valid = ['REGISTER', 'NOTIFY'] def instance(self, packet): return None def register(self, packet): logger.info('Register') print 'Registration Packet:' print SPACER print packet print SPACER def notify(self, packet): logger.info('Notify') print 'Notification Packet:' print SPACER print packet print SPACER
mit
Python
824ef0e8b691dc221c8cf0aad0127e57bb81ea0e
Fix missing execute flag on naclsdk script after unpacking with pythin zipfile
waywardmonkeys/oryol,code-disaster/oryol,ejkoy/oryol,aonorin/oryol,waywardmonkeys/oryol,floooh/oryol,tempbottle/oryol,xfxdev/oryol,code-disaster/oryol,floooh/oryol,mgerhardy/oryol,wangscript/oryol,aonorin/oryol,tempbottle/oryol,bradparks/oryol,zhakui/oryol,wangscript/oryol,waywardmonkeys/oryol,zhakui/oryol,floooh/oryol,waywardmonkeys/oryol,bradparks/oryol,ejkoy/oryol,bradparks/oryol,bradparks/oryol,code-disaster/oryol,mgerhardy/oryol,tempbottle/oryol,wangscript/oryol,floooh/oryol,ejkoy/oryol,mgerhardy/oryol,waywardmonkeys/oryol,mgerhardy/oryol,ejkoy/oryol,tempbottle/oryol,zhakui/oryol,aonorin/oryol,wangscript/oryol,ejkoy/oryol,waywardmonkeys/oryol,aonorin/oryol,aonorin/oryol,ejkoy/oryol,ejkoy/oryol,bradparks/oryol,zhakui/oryol,mgerhardy/oryol,waywardmonkeys/oryol,code-disaster/oryol,mgerhardy/oryol,aonorin/oryol,bradparks/oryol,tempbottle/oryol,xfxdev/oryol,xfxdev/oryol,code-disaster/oryol,code-disaster/oryol,zhakui/oryol,aonorin/oryol,floooh/oryol,floooh/oryol,xfxdev/oryol,zhakui/oryol,xfxdev/oryol,wangscript/oryol,xfxdev/oryol,code-disaster/oryol,zhakui/oryol,tempbottle/oryol,tempbottle/oryol,xfxdev/oryol,wangscript/oryol,bradparks/oryol,mgerhardy/oryol,wangscript/oryol
tools/sdksetup_nacl.py
tools/sdksetup_nacl.py
''' Helper functions for setting up the NaCl SDK. This is called from the main oryol script. ''' import sys import os import platform import subprocess import urllib import zipfile ProjectDirectory = os.path.dirname(os.path.abspath(__file__)) + '/..' #------------------------------------------------------------------------------- def urlDownloadHook(count, blockSize, totalSize) : percent = int(count * blockSize * 100 / totalSize) sys.stdout.write('\r{}%'.format(percent)) #------------------------------------------------------------------------------- def error(msg) : print "ERROR: {}".format(msg) sys.exit(10) #------------------------------------------------------------------------------- def getSdkDir() : if platform.system() == 'Darwin' : return ProjectDirectory + '/sdks/osx' elif platform.system() == 'Windows' : return ProjectDirectory + '/sdks/windows' else : return ProjectDirectory + '/sdks/linux' #------------------------------------------------------------------------------- def ensureSdkDirectory() : if not os.path.exists(getSdkDir()) : os.makedirs(getSdkDir()) #------------------------------------------------------------------------------- def getNaclSdkPath() : return getSdkDir() + '/nacl_sdk' #------------------------------------------------------------------------------- def getNaclSdkUrl() : return 'http://storage.googleapis.com/nativeclient-mirror/nacl/nacl_sdk/nacl_sdk.zip' #------------------------------------------------------------------------------- def getNaclSdkArchivePath() : return getSdkDir() + '/nacl_sdk.zip' #------------------------------------------------------------------------------- def uncompress(path) : with zipfile.ZipFile(path, 'r') as archive: archive.extractall(getSdkDir()) #------------------------------------------------------------------------------- def updateNaclSdk() : naclsdk = '{}/naclsdk'.format(getNaclSdkPath()) os.chmod(naclsdk, 0744) cmd = [naclsdk, 'install', '--force', 'pepper_canary'] print cmd subprocess.call(args=cmd, cwd=ProjectDirectory) #------------------------------------------------------------------------------- def setupNacl() : ''' Setup everything needed for Oryol Nacl development ''' if platform.system() == 'Windows' : error('Not yet supported on Windows') ensureSdkDirectory() # get Nacl SDK, uncompress and update sdkUrl = getNaclSdkUrl() print '\n=> downloading NaCl SDK: {}...'.format(sdkUrl) urllib.urlretrieve(sdkUrl, getNaclSdkArchivePath(), urlDownloadHook) print '\n => unpacking SDK...' uncompress(getNaclSdkArchivePath()) print '\n => downloading additional SDK files...' updateNaclSdk()
''' Helper functions for setting up the NaCl SDK. This is called from the main oryol script. ''' import sys import os import platform import subprocess import urllib import zipfile ProjectDirectory = os.path.dirname(os.path.abspath(__file__)) + '/..' #------------------------------------------------------------------------------- def urlDownloadHook(count, blockSize, totalSize) : percent = int(count * blockSize * 100 / totalSize) sys.stdout.write('\r{}%'.format(percent)) #------------------------------------------------------------------------------- def error(msg) : print "ERROR: {}".format(msg) sys.exit(10) #------------------------------------------------------------------------------- def getSdkDir() : if platform.system() == 'Darwin' : return ProjectDirectory + '/sdks/osx' elif platform.system() == 'Windows' : return ProjectDirectory + '/sdks/windows' else : return ProjectDirectory + '/sdks/linux' #------------------------------------------------------------------------------- def ensureSdkDirectory() : if not os.path.exists(getSdkDir()) : os.makedirs(getSdkDir()) #------------------------------------------------------------------------------- def getNaclSdkPath() : return getSdkDir() + '/nacl_sdk' #------------------------------------------------------------------------------- def getNaclSdkUrl() : return 'http://storage.googleapis.com/nativeclient-mirror/nacl/nacl_sdk/nacl_sdk.zip' #------------------------------------------------------------------------------- def getNaclSdkArchivePath() : return getSdkDir() + '/nacl_sdk.zip' #------------------------------------------------------------------------------- def uncompress(path) : with zipfile.ZipFile(path, 'r') as archive: archive.extractall(getSdkDir()) #------------------------------------------------------------------------------- def updateNaclSdk() : cmd = ['sh', '{}/naclsdk'.format(getNaclSdkPath()), 'install', '--force', 'pepper_canary'] print cmd subprocess.call(args=cmd, cwd=ProjectDirectory) #------------------------------------------------------------------------------- def setupNacl() : ''' Setup everything needed for Oryol Nacl development ''' if platform.system() == 'Windows' : error('Not yet supported on Windows') ensureSdkDirectory() # get Nacl SDK, uncompress and update sdkUrl = getNaclSdkUrl() print '\n=> downloading NaCl SDK: {}...'.format(sdkUrl) urllib.urlretrieve(sdkUrl, getNaclSdkArchivePath(), urlDownloadHook) print '\n => unpacking SDK...' uncompress(getNaclSdkArchivePath()) print '\n => downloading additional SDK files...' updateNaclSdk()
mit
Python
a90d18e04e1b12fef85ac23efccdab17aa161072
Declare Python 3 support.
musically-ut/python-glob2
setup.py
setup.py
#!/usr/bin/env python import os from setuptools import setup, find_packages # Figure out the version import re here = os.path.dirname(os.path.abspath(__file__)) version_re = re.compile( r'__version__ = (\(.*?\))') fp = open(os.path.join(here, 'src/glob2', '__init__.py')) version = None for line in fp: match = version_re.search(line) if match: version = eval(match.group(1)) break else: raise Exception("Cannot find version in __init__.py") fp.close() setup( name = 'glob2', version = ".".join(map(str, version)), description = 'Version of the glob module that can capture patterns '+ 'and supports recursive wildcards', author = 'Michael Elsdoerfer', author_email = 'michael@elsdoerfer.com', url = 'http://github.com/miracle2k/python-glob2/', classifiers = [ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Topic :: Software Development :: Libraries', ], packages = find_packages('src'), package_dir = {'': 'src'}, )
#!/usr/bin/env python import os from setuptools import setup, find_packages # Figure out the version import re here = os.path.dirname(os.path.abspath(__file__)) version_re = re.compile( r'__version__ = (\(.*?\))') fp = open(os.path.join(here, 'src/glob2', '__init__.py')) version = None for line in fp: match = version_re.search(line) if match: version = eval(match.group(1)) break else: raise Exception("Cannot find version in __init__.py") fp.close() setup( name = 'glob2', version = ".".join(map(str, version)), description = 'Version of the glob module that can capture patterns '+ 'and supports recursive wildcards', author = 'Michael Elsdoerfer', author_email = 'michael@elsdoerfer.com', url = 'http://github.com/miracle2k/python-glob2/', classifiers = [ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development :: Libraries', ], packages = find_packages('src'), package_dir = {'': 'src'}, )
bsd-2-clause
Python
ea0a4d6716303bca8031443e5a2432dcd12c0e2e
Fix hanging tests
fastmonkeys/pontus
setup.py
setup.py
""" Pontus ------ Flask utility for signing Amazon S3 POST requests and validating Amazon S3 files. """ import os import re import subprocess from setuptools import Command, setup def get_version(): filename = os.path.join( os.path.dirname(os.path.abspath(__file__)), 'pontus', '__init__.py' ) contents = open(filename).read() pattern = r"^__version__ = '(.*?)'$" return re.search(pattern, contents, re.MULTILINE).group(1) class PyTest(Command): user_options = [] def initialize_options(self): pass def finalize_options(self): pass def run(self): errno = subprocess.call(['py.test']) raise SystemExit(errno) extras_require = { 'test': [ 'flexmock>=0.9.7', 'freezegun>=0.1.18', 'py>=1.4.20', 'pytest>=2.5.2', 'moto>=0.3.9', 'httpretty==0.8.6' ] } setup( name='Pontus', version=get_version(), url='https://github.com/fastmonkeys/pontus', author='Vesa Uimonen', author_email='vesa@fastmonkeys.com', description='Flask utility for Amazon S3.', license='MIT', packages=['pontus'], zip_safe=False, include_package_data=True, platforms='any', install_requires=[ 'Flask>=0.10.1', 'python-magic>=0.4.6', 'boto>=2.34.0' ], extras_require=extras_require, cmdclass={'test': PyTest}, classifiers=[ 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Software Development :: Libraries :: Python Modules' ] )
""" Pontus ------ Flask utility for signing Amazon S3 POST requests and validating Amazon S3 files. """ import os import re import subprocess from setuptools import Command, setup def get_version(): filename = os.path.join( os.path.dirname(os.path.abspath(__file__)), 'pontus', '__init__.py' ) contents = open(filename).read() pattern = r"^__version__ = '(.*?)'$" return re.search(pattern, contents, re.MULTILINE).group(1) class PyTest(Command): user_options = [] def initialize_options(self): pass def finalize_options(self): pass def run(self): errno = subprocess.call(['py.test']) raise SystemExit(errno) extras_require = { 'test': [ 'flexmock>=0.9.7', 'freezegun>=0.1.18', 'py>=1.4.20', 'pytest>=2.5.2', 'moto>=0.3.9' ] } setup( name='Pontus', version=get_version(), url='https://github.com/fastmonkeys/pontus', author='Vesa Uimonen', author_email='vesa@fastmonkeys.com', description='Flask utility for Amazon S3.', license='MIT', packages=['pontus'], zip_safe=False, include_package_data=True, platforms='any', install_requires=[ 'Flask>=0.10.1', 'python-magic>=0.4.6', 'boto>=2.34.0' ], extras_require=extras_require, cmdclass={'test': PyTest}, classifiers=[ 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Software Development :: Libraries :: Python Modules' ] )
mit
Python
6c7fe7701814972b8cb63be662c4af884ab3bec7
Fix installation
manrajgrover/py-spinners
setup.py
setup.py
from setuptools import setup, find_packages # pylint: disable=no-name-in-module,import-error def readme(): with open('README.md') as f: return f.read() def dependencies(file): with open(file) as f: return f.read().splitlines() setup( name='spinners', packages=find_packages(exclude=('tests', 'examples')) + ['cli-spinners'], version='0.0.14', license='MIT', description='Spinners for terminals', long_description=readme(), author='Manraj Singh', author_email='manrajsinghgrover@gmail.com', url='https://github.com/ManrajGrover/py-spinners', keywords=[ 'cli', 'spinner', 'spinners', 'terminal', 'term', 'console', 'ascii', 'unicode', 'loading', 'indicator', 'progress', 'busy', 'wait', 'idle', 'json' ], install_requires=dependencies('requirements.txt'), tests_require=dependencies('requirements-dev.txt'), include_package_data=True )
from distutils.core import setup # pylint: disable=no-name-in-module,import-error setup( name='spinners', packages=['spinners'], version='0.0.2', description='Spinners for terminals', author='Manraj Singh', author_email='manrajsinghgrover@gmail.com', url='https://github.com/ManrajGrover/py-spinners', keywords=[ 'cli', 'spinner', 'spinners', 'terminal', 'term', 'console', 'ascii', 'unicode', 'loading', 'indicator', 'progress', 'busy', 'wait', 'idle', 'json' ] )
mit
Python
a53ea0ce2341973b5b86eaddc6f863611fbde1ba
Bump version for release
andrewgross/pyrelic
setup.py
setup.py
# #!/usr/bin/env python # -*- coding: utf-8 -*- import re import os from setuptools import setup, find_packages def parse_requirements(): """ Rudimentary parser for the `requirements.txt` file We just want to separate regular packages from links to pass them to the `install_requires` and `dependency_links` params of the `setup()` function properly. """ try: requirements = \ map(str.strip, local_file('requirements.txt')) except IOError: raise RuntimeError("Couldn't find the `requirements.txt' file :(") links = [] pkgs = [] for req in requirements: if not req: continue if 'http:' in req or 'https:' in req: links.append(req) name, version = re.findall("\#egg=([^\-]+)-(.+$)", req)[0] pkgs.append('{0}=={1}'.format(name, version)) else: pkgs.append(req) return pkgs, links local_file = lambda f: \ open(os.path.join(os.path.dirname(__file__), f)).readlines() #install_requires, dependency_links = parse_requirements() if __name__ == '__main__': packages = find_packages(exclude=['*tests*']) setup( name="pyrelic", license="GPL", version='0.7.1', description=u'Python API Wrapper for NewRelic API', author=u'Andrew Gross', author_email=u'andrew.w.gross@gmail.com', include_package_data=True, url='https://github.com/andrewgross/pyrelic', packages=packages, classifiers=( 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)', 'Natural Language :: English', 'Operating System :: Microsoft', 'Operating System :: POSIX', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', ) )
# #!/usr/bin/env python # -*- coding: utf-8 -*- import re import os from setuptools import setup, find_packages def parse_requirements(): """ Rudimentary parser for the `requirements.txt` file We just want to separate regular packages from links to pass them to the `install_requires` and `dependency_links` params of the `setup()` function properly. """ try: requirements = \ map(str.strip, local_file('requirements.txt')) except IOError: raise RuntimeError("Couldn't find the `requirements.txt' file :(") links = [] pkgs = [] for req in requirements: if not req: continue if 'http:' in req or 'https:' in req: links.append(req) name, version = re.findall("\#egg=([^\-]+)-(.+$)", req)[0] pkgs.append('{0}=={1}'.format(name, version)) else: pkgs.append(req) return pkgs, links local_file = lambda f: \ open(os.path.join(os.path.dirname(__file__), f)).readlines() #install_requires, dependency_links = parse_requirements() if __name__ == '__main__': packages = find_packages(exclude=['*tests*']) setup( name="pyrelic", license="GPL", version='0.7.0', description=u'Python API Wrapper for NewRelic API', author=u'Andrew Gross', author_email=u'andrew.w.gross@gmail.com', include_package_data=True, url='https://github.com/andrewgross/pyrelic', packages=packages, classifiers=( 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)', 'Natural Language :: English', 'Operating System :: Microsoft', 'Operating System :: POSIX', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', ) )
mit
Python
1f03e566e1b6da72724ceda35a909b42cb2cdb3e
Add dependencies to setup.py
fusionbox/django-widgy-facebook
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-widgy-facebook', version='0.1', packages=['widgy_facebook'], include_package_data=True, license='BSD 2-Clause', description='A widget for integrating facebook posts in Widgy.', long_description=README, url='https://github.com/fusionbox/django-widgy-facebook', author='Fusionbox, Inc.', author_email='programmers@fusionbox.com', classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Framework :: Django :: 1.8', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ], install_requires=[ 'Django>=1.8', 'django-widgy[all]' ] )
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-widgy-facebook', version='0.1', packages=['widgy_facebook'], include_package_data=True, license='BSD 2-Clause', description='A widget for integrating facebook posts in Widgy.', long_description=README, url='https://github.com/fusionbox/django-widgy-facebook', author='Fusionbox, Inc.', author_email='programmers@fusionbox.com', classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Framework :: Django :: 1.8', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ], )
bsd-2-clause
Python
b61b06152a4cfd9972a4e132fe627a4858bf02bd
update `setup.py` to compile `fd.pyx`
scott-maddox/obpds
setup.py
setup.py
# # Copyright (c) 2015, Scott J Maddox # # This file is part of Open Band Parameters Device Simulator (OBPDS). # # OBPDS is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published # by the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # OBPDS is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with OBPDS. If not, see <http://www.gnu.org/licenses/>. # ############################################################################# from setuptools import setup, find_packages from Cython.Build import cythonize import numpy # read in __version__ exec(open('src/obpds/version.py').read()) setup( name='obpds', version=__version__, # read from version.py description='free, open-source technology computer aided design software' ' for simulating semiconductor structures and devices', long_description=open('README.rst').read(), url='http://scott-maddox.github.io/obpds', author='Scott J. Maddox', author_email='smaddox@utexas.edu', license='AGPLv3', packages=['obpds', 'obpds.tests', 'obpds.examples'], package_dir={'obpds': 'src/obpds'}, test_suite='obpds.tests', install_requires=['numpy', 'scipy', 'matplotlib', 'pint', 'openbandparams >= 0.9'], zip_safe=True, use_2to3=True, # Cython ext_modules=cythonize("src/obpds/*.pyx"), include_dirs=[numpy.get_include()], )
# # Copyright (c) 2015, Scott J Maddox # # This file is part of Open Band Parameters Device Simulator (OBPDS). # # OBPDS is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published # by the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # OBPDS is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with OBPDS. If not, see <http://www.gnu.org/licenses/>. # ############################################################################# from setuptools import setup, find_packages # read in __version__ exec(open('src/obpds/version.py').read()) setup( name='obpds', version=__version__, # read from version.py description='free, open-source technology computer aided design software' ' for simulating semiconductor structures and devices', long_description=open('README.rst').read(), url='http://scott-maddox.github.io/obpds', author='Scott J. Maddox', author_email='smaddox@utexas.edu', license='AGPLv3', packages=['obpds', 'obpds.tests', 'obpds.examples'], package_dir={'obpds': 'src/obpds'}, test_suite='obpds.tests', install_requires=['numpy', 'scipy', 'matplotlib', 'pint', 'openbandparams >= 0.9', 'fdint'], zip_safe=True, use_2to3=True, )
agpl-3.0
Python
ac2b3c8a2e0ced939bed157418b7abd308d703a3
Bump version
openmicroscopy/weberror,openmicroscopy/weberror
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2016 University of Dundee. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # # Author: Aleksandra Tarkowska <A(dot)Tarkowska(at)dundee(dot)ac(dot)uk>, # # Version: 1.0 import os from setuptools import setup, find_packages # Utility function to read the README file. # Used for the long_description. It's nice, because now 1) we have a top level # README file and 2) it's easier to type in the README file than to put a raw # string in below ... def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() VERSION = '0.3.0' setup(name="omero-weberror", packages=find_packages(exclude=['ez_setup']), version=VERSION, description="A Python plugin for OMERO.web", long_description=read('README.rst'), classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: GNU Affero General Public License v3.0', 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: JavaScript', 'Programming Language :: Python :: 2', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Internet :: WWW/HTTP :: WSGI', 'Topic :: Software Development :: Libraries :: ' 'Application Frameworks', 'Topic :: Software Development :: Testing', 'Topic :: Text Processing :: Markup :: HTML' ], # Get strings from # http://pypi.python.org/pypi?%3Aaction=list_classifiers author='The Open Microscopy Team', author_email='ome-devel@lists.openmicroscopy.org.uk', license='AGPL-3.0', url="https://github.com/openmicroscopy/omero-weberror", download_url='https://github.com/openmicroscopy/omero-weberror/tarball/%s' % VERSION, # NOQA keywords=['OMERO.web', 'plugin'], include_package_data=True, zip_safe=False, )
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2016 University of Dundee. # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as # published by the Free Software Foundation, either version 3 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # # Author: Aleksandra Tarkowska <A(dot)Tarkowska(at)dundee(dot)ac(dot)uk>, # # Version: 1.0 import os from setuptools import setup, find_packages # Utility function to read the README file. # Used for the long_description. It's nice, because now 1) we have a top level # README file and 2) it's easier to type in the README file than to put a raw # string in below ... def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() VERSION = '0.2.1' setup(name="omero-weberror", packages=find_packages(exclude=['ez_setup']), version=VERSION, description="A Python plugin for OMERO.web", long_description=read('README.rst'), classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: GNU Affero General Public License v3.0', 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: JavaScript', 'Programming Language :: Python :: 2', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Internet :: WWW/HTTP :: WSGI', 'Topic :: Software Development :: Libraries :: ' 'Application Frameworks', 'Topic :: Software Development :: Testing', 'Topic :: Text Processing :: Markup :: HTML' ], # Get strings from # http://pypi.python.org/pypi?%3Aaction=list_classifiers author='The Open Microscopy Team', author_email='ome-devel@lists.openmicroscopy.org.uk', license='AGPL-3.0', url="https://github.com/openmicroscopy/omero-weberror", download_url='https://github.com/openmicroscopy/omero-weberror/tarball/%s' % VERSION, # NOQA keywords=['OMERO.web', 'plugin'], include_package_data=True, zip_safe=False, )
agpl-3.0
Python
d10eb86abea0387797b91c591135e8085277d228
Update packaging
alexprengere/neobase,alexprengere/neobase
setup.py
setup.py
#!/usr/bin/python # -*- coding: utf-8 -*- from __future__ import with_statement from setuptools import setup, find_packages with open('VERSION') as f: VERSION = f.read().rstrip() with open('README.md') as fl: LONG_DESCRIPTION = fl.read() setup( name='NeoBase', version=VERSION, author='Alex Prengère', author_email='alex.prengere@gmail.com', url='https://github.com/alexprengere/neobase', description='Optd Python API.', long_description=LONG_DESCRIPTION, packages=find_packages(), include_package_data=True, zip_safe=False, install_requires=[ 'argparse', ], entry_points={ 'console_scripts' : [ 'NeoBase=neobase.neobase:main' ] }, )
#!/usr/bin/python # -*- coding: utf-8 -*- from __future__ import with_statement from setuptools import setup, find_packages with open('VERSION') as f: VERSION = f.read().rstrip() with open('README.md') as fl: LONG_DESCRIPTION = fl.read() setup( name='NeoBase', version=VERSION, author='Alex Prengère', author_email='alex.prengere@gmail.com', url='https://github.com/alexprengere/neobase', description='Optd Python API.', long_description=LONG_DESCRIPTION, packages=find_packages(), include_package_data=True, install_requires=[ 'argparse', ], entry_points={ 'console_scripts' : [ 'NeoBase=neobase.neobase:main' ] }, )
apache-2.0
Python
ca80cadadbe473ebe9d9e5e58cbf4fd6fc7480b3
Bump DUA dependency
pinax/pinax-invitations,eldarion/kaleo,jacobwegner/pinax-invitations,rizumu/pinax-invitations
setup.py
setup.py
import codecs from os import path from setuptools import find_packages, setup def read(*parts): filename = path.join(path.dirname(__file__), *parts) with codecs.open(filename, encoding="utf-8") as fp: return fp.read() setup( author="Pinax Team", author_email="team@pinaxproject.com", description="a user to user join invitations app", name="pinax-invitations", long_description=read("README.rst"), version="2.1.0.dev1", url="http://github.com/pinax/pinax-invitations/", license="MIT", packages=find_packages(), package_data={ "invitations": [] }, test_suite="runtests.runtests", install_requires=[ "django-appconf>=1.0.1", "django-user-accounts>=1.2" ], tests_require=[ ], classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules", ], zip_safe=False )
import codecs from os import path from setuptools import find_packages, setup def read(*parts): filename = path.join(path.dirname(__file__), *parts) with codecs.open(filename, encoding="utf-8") as fp: return fp.read() setup( author="Pinax Team", author_email="team@pinaxproject.com", description="a user to user join invitations app", name="pinax-invitations", long_description=read("README.rst"), version="2.1.0.dev1", url="http://github.com/pinax/pinax-invitations/", license="MIT", packages=find_packages(), package_data={ "invitations": [] }, test_suite="runtests.runtests", install_requires=[ "django-appconf>=1.0.1", "django-user-accounts>=1.1" ], tests_require=[ ], classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Software Development :: Libraries :: Python Modules", ], zip_safe=False )
unknown
Python
41c9c23360e5de2d3c3dde338d20ccb35eb0b84e
Allow to run test via setup.py
vadmium/python-quilt,bjoernricks/python-quilt
setup.py
setup.py
#!/usr/bin/env python # vim: fileencoding=utf-8 et sw=4 ts=4 tw=80: # python-quilt - A Python implementation of the quilt patch system # # Copyright (C) 2012 - 2017 Björn Ricks <bjoern.ricks@gmail.com> # # See LICENSE comming with the source of python-quilt for details. from setuptools import setup from codecs import open import os import quilt here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.rst'), 'r', encoding="utf-8") as f: README = f.read() setup( name="python-quilt", version=quilt.__version__, description="A quilt patchsystem implementation in Python", author="Björn Ricks", author_email="bjoern.ricks@gmail.com", install_requires=["six"], url="http://github.com/bjoernricks/python-quilt", scripts=["pquilt"], license="LGPLv2.1+", packages=["quilt", "quilt.cli"], classifiers=[ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Build Tools", "Topic :: System :: Software Distribution", "Topic :: Utilities", ], long_description=README, keywords="patch quilt python cli", test_suite="tests.pquilt_test_suite", )
#!/usr/bin/env python # vim: fileencoding=utf-8 et sw=4 ts=4 tw=80: # python-quilt - A Python implementation of the quilt patch system # # Copyright (C) 2012 - 2017 Björn Ricks <bjoern.ricks@gmail.com> # # See LICENSE comming with the source of python-quilt for details. from setuptools import setup from codecs import open import os import quilt here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.rst'), 'r', encoding="utf-8") as f: README = f.read() setup( name="python-quilt", version=quilt.__version__, description="A quilt patchsystem implementation in Python", author="Björn Ricks", author_email="bjoern.ricks@gmail.com", install_requires=["six"], url="http://github.com/bjoernricks/python-quilt", scripts=["pquilt"], license="LGPLv2.1+", packages=["quilt", "quilt.cli"], classifiers=[ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Build Tools", "Topic :: System :: Software Distribution", "Topic :: Utilities", ], long_description=README, keywords="patch quilt python cli", )
mit
Python
c6a60b74cc11a0bbf879f691067a21223ceb6ce1
Bump version to 0.18.0
thombashi/pytablewriter
setup.py
setup.py
# encoding: utf-8 """ .. codeauthor:: Tsuyoshi Hombashi <gogogo.vm@gmail.com> """ from __future__ import unicode_literals import io import os.path import sys import setuptools REQUIREMENT_DIR = "requirements" ENCODING = "utf8" needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv) pytest_runner = ["pytest-runner"] if needs_pytest else [] with io.open("README.rst", encoding=ENCODING) as f: long_description = f.read() with io.open( os.path.join("docs", "pages", "introduction", "summary.txt"), encoding=ENCODING) as f: summary = f.read() with open(os.path.join(REQUIREMENT_DIR, "requirements.txt")) as f: install_requires = [line.strip() for line in f if line.strip()] with open(os.path.join(REQUIREMENT_DIR, "test_requirements.txt")) as f: tests_require = [line.strip() for line in f if line.strip()] setuptools.setup( name="pytablewriter", version="0.18.0", author="Tsuyoshi Hombashi", author_email="gogogo.vm@gmail.com", url="https://github.com/thombashi/pytablewriter", license="MIT License", description=summary, include_package_data=True, install_requires=install_requires, keywords=[ "table", "CSV", "Excel", "JavaScript", "JSON", "LTSV", "Markdown", "MediaWiki", "HTML", "pandas", "reStructuredText", "TSV", "TOML", ], long_description=long_description, packages=setuptools.find_packages(exclude=["test*"]), setup_requires=pytest_runner, tests_require=tests_require, classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", ], )
# encoding: utf-8 """ .. codeauthor:: Tsuyoshi Hombashi <gogogo.vm@gmail.com> """ from __future__ import unicode_literals import io import os.path import sys import setuptools REQUIREMENT_DIR = "requirements" ENCODING = "utf8" needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv) pytest_runner = ["pytest-runner"] if needs_pytest else [] with io.open("README.rst", encoding=ENCODING) as f: long_description = f.read() with io.open( os.path.join("docs", "pages", "introduction", "summary.txt"), encoding=ENCODING) as f: summary = f.read() with open(os.path.join(REQUIREMENT_DIR, "requirements.txt")) as f: install_requires = [line.strip() for line in f if line.strip()] with open(os.path.join(REQUIREMENT_DIR, "test_requirements.txt")) as f: tests_require = [line.strip() for line in f if line.strip()] setuptools.setup( name="pytablewriter", version="0.17.2", author="Tsuyoshi Hombashi", author_email="gogogo.vm@gmail.com", url="https://github.com/thombashi/pytablewriter", license="MIT License", description=summary, include_package_data=True, install_requires=install_requires, keywords=[ "table", "CSV", "Excel", "JavaScript", "JSON", "LTSV", "Markdown", "MediaWiki", "HTML", "pandas", "reStructuredText", "TSV", "TOML", ], long_description=long_description, packages=setuptools.find_packages(exclude=["test*"]), setup_requires=pytest_runner, tests_require=tests_require, classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", ], )
mit
Python
05587f46d9989c8cd64284732f3d87b822c40077
add opencv dependency for atari to fix tests
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.1.4', 'Pillow', 'PyOpenGL', 'opencv-python'], 'box2d': ['box2d-py>=2.3.5'], 'classic_control': ['PyOpenGL'], 'mujoco': ['mujoco_py>=1.50, <2.1', 'imageio'], 'robotics': ['mujoco_py>=1.50, <2.1', 'imageio'], } # Meta dependency groups. all_deps = [] for group_name in extras: all_deps += extras[group_name] extras['all'] = all_deps setup(name='gym', version=VERSION, description='The OpenAI Gym: A toolkit for developing and comparing your reinforcement learning agents.', url='https://github.com/openai/gym', author='OpenAI', author_email='gym@openai.com', license='', packages=[package for package in find_packages() if package.startswith('gym')], zip_safe=False, install_requires=[ 'scipy', 'numpy>=1.10.4', 'six', 'pyglet>=1.2.0', ], extras_require=extras, package_data={'gym': [ 'envs/mujoco/assets/*.xml', 'envs/classic_control/assets/*.png', 'envs/robotics/assets/LICENSE.md', 'envs/robotics/assets/fetch/*.xml', 'envs/robotics/assets/hand/*.xml', 'envs/robotics/assets/stls/fetch/*.stl', 'envs/robotics/assets/stls/hand/*.stl', 'envs/robotics/assets/textures/*.png'] }, tests_require=['pytest', 'mock'], python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*', classifiers=[ 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', ], )
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.1.4', 'Pillow', 'PyOpenGL'], 'box2d': ['box2d-py>=2.3.5'], 'classic_control': ['PyOpenGL'], 'mujoco': ['mujoco_py>=1.50, <2.1', 'imageio'], 'robotics': ['mujoco_py>=1.50, <2.1', 'imageio'], } # Meta dependency groups. all_deps = [] for group_name in extras: all_deps += extras[group_name] extras['all'] = all_deps setup(name='gym', version=VERSION, description='The OpenAI Gym: A toolkit for developing and comparing your reinforcement learning agents.', url='https://github.com/openai/gym', author='OpenAI', author_email='gym@openai.com', license='', packages=[package for package in find_packages() if package.startswith('gym')], zip_safe=False, install_requires=[ 'scipy', 'numpy>=1.10.4', 'six', 'pyglet>=1.2.0', ], extras_require=extras, package_data={'gym': [ 'envs/mujoco/assets/*.xml', 'envs/classic_control/assets/*.png', 'envs/robotics/assets/LICENSE.md', 'envs/robotics/assets/fetch/*.xml', 'envs/robotics/assets/hand/*.xml', 'envs/robotics/assets/stls/fetch/*.stl', 'envs/robotics/assets/stls/hand/*.stl', 'envs/robotics/assets/textures/*.png'] }, tests_require=['pytest', 'mock'], python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*', classifiers=[ 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', ], )
mit
Python
2f547ffe8365ea390dce303f3002bd3c1a5fb2ce
Change version
muupan/chainer,jnishi/chainer,ronekko/chainer,kikusu/chainer,hvy/chainer,niboshi/chainer,chainer/chainer,ktnyt/chainer,AlpacaDB/chainer,aonotas/chainer,keisuke-umezawa/chainer,keisuke-umezawa/chainer,benob/chainer,sinhrks/chainer,hvy/chainer,delta2323/chainer,chainer/chainer,cupy/cupy,hvy/chainer,keisuke-umezawa/chainer,rezoo/chainer,cupy/cupy,okuta/chainer,wkentaro/chainer,ktnyt/chainer,sinhrks/chainer,kashif/chainer,cupy/cupy,chainer/chainer,truongdq/chainer,cupy/cupy,muupan/chainer,okuta/chainer,tkerola/chainer,t-abe/chainer,anaruse/chainer,AlpacaDB/chainer,benob/chainer,okuta/chainer,chainer/chainer,wkentaro/chainer,wkentaro/chainer,truongdq/chainer,niboshi/chainer,ktnyt/chainer,jnishi/chainer,cemoody/chainer,kiyukuta/chainer,hvy/chainer,pfnet/chainer,kikusu/chainer,wkentaro/chainer,niboshi/chainer,keisuke-umezawa/chainer,ktnyt/chainer,ysekky/chainer,jnishi/chainer,jnishi/chainer,okuta/chainer,t-abe/chainer,niboshi/chainer
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup setup( name='chainer', version='1.4.1', description='A flexible framework of neural networks', author='Seiya Tokui', author_email='tokui@preferred.jp', url='http://chainer.org/', packages=['chainer', 'chainer.functions', 'chainer.functions.activation', 'chainer.functions.array', 'chainer.functions.caffe', 'chainer.functions.connection', 'chainer.functions.evaluation', 'chainer.functions.loss', 'chainer.functions.math', 'chainer.functions.noise', 'chainer.functions.normalization', 'chainer.functions.pooling', 'chainer.optimizers', 'chainer.testing', 'chainer.utils', 'cupy', 'cupy.binary', 'cupy.creation', 'cupy.cuda', 'cupy.indexing', 'cupy.io', 'cupy.linalg', 'cupy.logic', 'cupy.manipulation', 'cupy.math', 'cupy.padding', 'cupy.random', 'cupy.sorting', 'cupy.statistics', 'cupy.testing'], package_data={ 'cupy': ['carray.cuh'], }, install_requires=['filelock', 'nose', 'numpy>=1.9.0', 'protobuf', 'six>=1.9.0'], tests_require=['mock', 'nose'], )
#!/usr/bin/env python from setuptools import setup setup( name='chainer', version='1.4.0', description='A flexible framework of neural networks', author='Seiya Tokui', author_email='tokui@preferred.jp', url='http://chainer.org/', packages=['chainer', 'chainer.functions', 'chainer.functions.activation', 'chainer.functions.array', 'chainer.functions.caffe', 'chainer.functions.connection', 'chainer.functions.evaluation', 'chainer.functions.loss', 'chainer.functions.math', 'chainer.functions.noise', 'chainer.functions.normalization', 'chainer.functions.pooling', 'chainer.optimizers', 'chainer.testing', 'chainer.utils', 'cupy', 'cupy.binary', 'cupy.creation', 'cupy.cuda', 'cupy.indexing', 'cupy.io', 'cupy.linalg', 'cupy.logic', 'cupy.manipulation', 'cupy.math', 'cupy.padding', 'cupy.random', 'cupy.sorting', 'cupy.statistics', 'cupy.testing'], package_data={ 'cupy': ['carray.cuh'], }, install_requires=['filelock', 'nose', 'numpy>=1.9.0', 'protobuf', 'six>=1.9.0'], tests_require=['mock', 'nose'], )
mit
Python
2ffaeca1d56f16d54d6c5723218cc66fb23b429d
Add license to setup.py
Thezomg/mcw
setup.py
setup.py
import os from setuptools import setup # Utility function to read the README file. # Used for the long_description. It's nice, because now 1) we have a top level # README file and 2) it's easier to type in the README file than to put a raw # string in below ... def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name = "an_example_pypi_project", version = "0.1", author = "Deaygo, Ed Kellett, Tom Powell", author_email = "mcw@thezomg.com", description = ("A minecraft server wrapper."), license = "MIT", keywords = "minecraft server wrapper", url = "https://github.com/Thezomg/mcw", packages=['mcw', 'tests'], long_description=read('README.md'), )
import os from setuptools import setup # Utility function to read the README file. # Used for the long_description. It's nice, because now 1) we have a top level # README file and 2) it's easier to type in the README file than to put a raw # string in below ... def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name = "an_example_pypi_project", version = "0.1", author = "Deaygo, Ed Kellett, Tom Powell", author_email = "mcw@thezomg.com", description = ("A minecraft server wrapper."), license = "", keywords = "minecraft server wrapper", url = "https://github.com/Thezomg/mcw", packages=['mcw', 'tests'], long_description=read('README.md'), )
mit
Python
5c5e49797358e7020d409adf74209c0647050465
Add classifiers for python versions
jayhetee/fuzzywuzzy,salilnavgire/fuzzywuzzy,beni55/fuzzywuzzy,beni55/fuzzywuzzy,blakejennings/fuzzywuzzy,shalecraig/fuzzywuzzy,pombredanne/fuzzywuzzy,salilnavgire/fuzzywuzzy,pombredanne/fuzzywuzzy,aeeilllmrx/fuzzywuzzy,medecau/fuzzywuzzy,zhahaoyu/fuzzywuzzy,zhahaoyu/fuzzywuzzy,jayhetee/fuzzywuzzy,shalecraig/fuzzywuzzy,aeeilllmrx/fuzzywuzzy,blakejennings/fuzzywuzzy
setup.py
setup.py
from distutils.core import setup setup(name='fuzzywuzzy', version='0.2', description='Fuzzy string matching in python', author='Adam Cohen', author_email='adam@seatgeek.com', url='https://github.com/seatgeek/fuzzywuzzy/', packages=['fuzzywuzzy'], classifiers=( 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3' ) )
from distutils.core import setup setup(name='fuzzywuzzy', version='0.2', description='Fuzzy string matching in python', author='Adam Cohen', author_email='adam@seatgeek.com', url='https://github.com/seatgeek/fuzzywuzzy/', packages=['fuzzywuzzy'])
mit
Python
672cfcae1223a7510b098b497ab7f7f9b90d0dce
test 1 edge
MichSchli/QuestionAnsweringGCN,MichSchli/QuestionAnsweringGCN
track_edges_to_gold.py
track_edges_to_gold.py
from SPARQLWrapper import SPARQLWrapper, JSON import argparse from preprocessing.read_conll_files import ConllReader parser = argparse.ArgumentParser(description='Yields pairs of prediction from a strategy and gold to stdout.') parser.add_argument('--file', type=str, help='The location of the .conll-file to be parsed') args = parser.parse_args() sparql = SPARQLWrapper("http://localhost:8890/sparql") gold_reader = ConllReader(output="gold") sentence_reader = ConllReader(output="entities", entity_prefix="ns:") def generate_1_query(centroids, golds, forward_edges=True): centroid_symbol = "s" if forward_edges else "o" gold_symbol = "o" if forward_edges else "s" query = "PREFIX ns: <http://rdf.freebase.com/ns/>" query += "\n\nselect * where {" query += "\n\t?s ?r ?o ." query += "\n\tvalues ?" + centroid_symbol + " { " + " ".join(centroids) + " }" query += "\n\tvalues ?" + gold_symbol + " { " + " ".join(golds) + " }" query += "\n}" return query for gold, sentence in zip(gold_reader.parse_file(args.file), sentence_reader.parse_file(args.file)): query = generate_1_query(sentence, gold) print(query) sparql.setQuery(query) sparql.setReturnFormat(JSON) results = sparql.query().convert() print(results) exit()
from SPARQLWrapper import SPARQLWrapper, JSON import argparse from preprocessing.read_conll_files import ConllReader parser = argparse.ArgumentParser(description='Yields pairs of prediction from a strategy and gold to stdout.') parser.add_argument('--file', type=str, help='The location of the .conll-file to be parsed') args = parser.parse_args() sparql = SPARQLWrapper("http://localhost:8890/sparql") gold_reader = ConllReader(output="gold") sentence_reader = ConllReader(output="entities", entity_prefix="ns:") def generate_1_query(centroids, golds): query = "PREFIX ns: <http://rdf.freebase.com/ns/>" query += "\n\nselect * where {" query += "\n\t?s ?r ?o ." query += "\n\tvalues ?o { " + " ".join(centroids) + " }" query += "\n}" return query for gold, sentence in zip(gold_reader.parse_file(args.file), sentence_reader.parse_file(args.file)): query = generate_1_query(sentence, gold) print(query) sparql.setQuery(query) sparql.setReturnFormat(JSON) results = sparql.query().convert() print(results) exit()
mit
Python
7fcc097d1659d7ea11e648d4b21728b94d487b59
Upgrade dependencies
openfisca/openfisca-core,openfisca/openfisca-core
setup.py
setup.py
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = 'OpenFisca-Core', version = '14.0.0', author = 'OpenFisca Team', author_email = 'contact@openfisca.fr', classifiers = [ "Development Status :: 2 - Pre-Alpha", "License :: OSI Approved :: GNU Affero General Public License v3", "Operating System :: POSIX", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Information Analysis", ], description = u'A versatile microsimulation free software', keywords = 'benefit microsimulation social tax', license = 'https://www.fsf.org/licensing/licenses/agpl-3.0.html', url = 'https://github.com/openfisca/openfisca-core', data_files = [ ('share/openfisca/openfisca-core', ['CHANGELOG.md', 'LICENSE.AGPL.txt', 'README.md']), ], entry_points = { 'console_scripts': ['openfisca-run-test=openfisca_core.scripts.run_test:main'], }, extras_require = { 'parsers': [ 'OpenFisca-Parsers >= 1.0.2, < 2.0', ], 'test': [ 'nose', 'flake8', 'openfisca-country-template >= 1.2.0rc0, <= 1.2.0', 'openfisca-extension-template == 1.1.0', ], }, include_package_data = True, # Will read MANIFEST.in install_requires = [ 'Biryani[datetimeconv] >= 0.10.4', 'numpy >= 1.11, < 1.13', 'PyYAML >= 3.10', 'flask == 0.12', 'flask-cors == 3.0.2', 'gunicorn >= 19.7.1', 'lxml >= 3.7', ], message_extractors = { 'openfisca_core': [ ('**.py', 'python', None), ], }, packages = find_packages(exclude=['tests*']), test_suite = 'nose.collector', )
#! /usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = 'OpenFisca-Core', version = '14.0.0', author = 'OpenFisca Team', author_email = 'contact@openfisca.fr', classifiers = [ "Development Status :: 2 - Pre-Alpha", "License :: OSI Approved :: GNU Affero General Public License v3", "Operating System :: POSIX", "Programming Language :: Python", "Topic :: Scientific/Engineering :: Information Analysis", ], description = u'A versatile microsimulation free software', keywords = 'benefit microsimulation social tax', license = 'https://www.fsf.org/licensing/licenses/agpl-3.0.html', url = 'https://github.com/openfisca/openfisca-core', data_files = [ ('share/openfisca/openfisca-core', ['CHANGELOG.md', 'LICENSE.AGPL.txt', 'README.md']), ], entry_points = { 'console_scripts': ['openfisca-run-test=openfisca_core.scripts.run_test:main'], }, extras_require = { 'parsers': [ 'OpenFisca-Parsers >= 1.0.2, < 2.0', ], 'test': [ 'nose', 'flake8', 'openfisca-country-template == 1.0.0', 'openfisca-extension-template == 1.0.0', ], }, include_package_data = True, # Will read MANIFEST.in install_requires = [ 'Biryani[datetimeconv] >= 0.10.4', 'numpy >= 1.11, < 1.13', 'PyYAML >= 3.10', 'flask == 0.12', 'flask-cors == 3.0.2', 'gunicorn >= 19.7.1', 'lxml >= 3.7', ], message_extractors = { 'openfisca_core': [ ('**.py', 'python', None), ], }, packages = find_packages(exclude=['tests*']), test_suite = 'nose.collector', )
agpl-3.0
Python
80265dcecc0e6d7c30224326850c3870d7d80f72
Bump version to 1.6
SectorLabs/django-postgres-extra
setup.py
setup.py
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() setup( name='django-postgres-extra', version='1.6', packages=find_packages(), include_package_data=True, license='MIT License', description='Bringing all of PostgreSQL\'s awesomeness to Django.', long_description=README, url='https://github.com/SectorLabs/django-postgres-extra', author='Sector Labs', author_email='open-source@sectorlabs.ro', keywords=['django', 'postgres', 'extra', 'hstore', 'ltree'], classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3.5', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ] )
import os from setuptools import find_packages, setup with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme: README = readme.read() setup( name='django-postgres-extra', version='1.5', packages=find_packages(), include_package_data=True, license='MIT License', description='Bringing all of PostgreSQL\'s awesomeness to Django.', long_description=README, url='https://github.com/SectorLabs/django-postgres-extra', author='Sector Labs', author_email='open-source@sectorlabs.ro', keywords=['django', 'postgres', 'extra', 'hstore', 'ltree'], classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3.5', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ] )
mit
Python
6a8687b8b9d63cbd38e683fc603f2c6c989d6f9b
bump version
veltzer/pytsv,veltzer/pytsv
setup.py
setup.py
import setuptools setuptools.setup( name='pytsv', version='0.1.9', description='pytsv is a module to help with all things TSV', long_description='pytsv is a module to help with all things TSV', url='https://github.com/veltzer/pytsv', download_url='https://github.com/veltzer/pytsv', author='Mark Veltzer', author_email='mark.veltzer@gmail.com', maintainer='Mark Veltzer', maintainer_email='mark.veltzer@gmail.com', license='MIT', platforms=['python'], classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'Programming Language :: Python :: 3', ], keywords='python TSV format csv', packages=setuptools.find_packages(), install_requires=[ 'click', # for command line parsing 'tqdm', # for progress report 'pyanyzip', # for opening zipped files 'numpy', # for the histogram feature 'futures', # for python2.7 backport of concurrent.futures ], entry_points={ # order here is by order of files in the scripts folder 'console_scripts': [ 'pytsv_aggregate=pytsv.scripts.aggregate:main', 'pytsv_check=pytsv.scripts.check:main', 'pytsv_csv_to_tsv=pytsv.scripts.csv_to_tsv:main', 'pytsv_cut=pytsv.scripts.cut:main', 'pytsv_drop_duplicates_by_columns=pytsv.scripts.drop_duplicates_by_columns:main', 'pytsv_fix_columns=pytsv.scripts.fix_columns:main', 'pytsv_histogram_by_column=pytsv.scripts.histogram_by_column:main', 'pytsv_join=pytsv.scripts.join:main', 'pytsv_lc=pytsv.scripts.lc:main', 'pytsv_sample_by_column=pytsv.scripts.sample_by_column:main', 'pytsv_split_by_columns=pytsv.scripts.split_by_columns:main', 'pytsv_tsv_to_csv=pytsv.scripts.tsv_to_csv:main', ], }, )
import setuptools setuptools.setup( name='pytsv', version='0.1.8', description='pytsv is a module to help with all things TSV', long_description='pytsv is a module to help with all things TSV', url='https://github.com/veltzer/pytsv', download_url='https://github.com/veltzer/pytsv', author='Mark Veltzer', author_email='mark.veltzer@gmail.com', maintainer='Mark Veltzer', maintainer_email='mark.veltzer@gmail.com', license='MIT', platforms=['python'], classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'Programming Language :: Python :: 3', ], keywords='python TSV format csv', packages=setuptools.find_packages(), install_requires=[ 'click', # for command line parsing 'tqdm', # for progress report 'pyanyzip', # for opening zipped files 'numpy', # for the histogram feature 'futures', # for python2.7 backport of concurrent.futures ], entry_points={ # order here is by order of files in the scripts folder 'console_scripts': [ 'pytsv_aggregate=pytsv.scripts.aggregate:main', 'pytsv_check=pytsv.scripts.check:main', 'pytsv_csv_to_tsv=pytsv.scripts.csv_to_tsv:main', 'pytsv_cut=pytsv.scripts.cut:main', 'pytsv_drop_duplicates_by_columns=pytsv.scripts.drop_duplicates_by_columns:main', 'pytsv_fix_columns=pytsv.scripts.fix_columns:main', 'pytsv_histogram_by_column=pytsv.scripts.histogram_by_column:main', 'pytsv_join=pytsv.scripts.join:main', 'pytsv_lc=pytsv.scripts.lc:main', 'pytsv_sample_by_column=pytsv.scripts.sample_by_column:main', 'pytsv_split_by_columns=pytsv.scripts.split_by_columns:main', 'pytsv_tsv_to_csv=pytsv.scripts.tsv_to_csv:main', ], }, )
mit
Python
d2aa09413411f346620a76f703573b2cecf2d17d
bump pgspecial req. (#981)
dbcli/pgcli,dbcli/pgcli
setup.py
setup.py
import re import ast import platform from setuptools import setup, find_packages _version_re = re.compile(r'__version__\s+=\s+(.*)') with open('pgcli/__init__.py', 'rb') as f: version = str(ast.literal_eval(_version_re.search( f.read().decode('utf-8')).group(1))) description = 'CLI for Postgres Database. With auto-completion and syntax highlighting.' install_requirements = [ 'pgspecial>=1.11.5', 'click >= 4.1', 'Pygments >= 2.0', # Pygments has to be Capitalcased. WTF? 'prompt_toolkit>=2.0.6,<2.1.0', 'psycopg2 >= 2.7.4,<2.8', 'sqlparse >=0.2.2,<0.3.0', 'configobj >= 5.0.6', 'humanize >= 0.5.1', 'cli_helpers[styles] >= 1.0.1', ] # setproctitle is used to mask the password when running `ps` in command line. # But this is not necessary in Windows since the password is never shown in the # task manager. Also setproctitle is a hard dependency to install in Windows, # so we'll only install it if we're not in Windows. if platform.system() != 'Windows' and not platform.system().startswith("CYGWIN"): install_requirements.append('setproctitle >= 1.1.9') setup( name='pgcli', author='Pgcli Core Team', author_email='pgcli-dev@googlegroups.com', version=version, license='BSD', url='http://pgcli.com', packages=find_packages(), package_data={'pgcli': ['pgclirc', 'packages/pgliterals/pgliterals.json']}, description=description, long_description=open('README.rst').read(), install_requires=install_requirements, extras_require={ 'keyring': ['keyring >= 12.2.0'], }, entry_points=''' [console_scripts] pgcli=pgcli.main:cli ''', classifiers=[ 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: Unix', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: SQL', 'Topic :: Database', 'Topic :: Database :: Front-Ends', 'Topic :: Software Development', 'Topic :: Software Development :: Libraries :: Python Modules', ], )
import re import ast import platform from setuptools import setup, find_packages _version_re = re.compile(r'__version__\s+=\s+(.*)') with open('pgcli/__init__.py', 'rb') as f: version = str(ast.literal_eval(_version_re.search( f.read().decode('utf-8')).group(1))) description = 'CLI for Postgres Database. With auto-completion and syntax highlighting.' install_requirements = [ 'pgspecial>=1.11.2', 'click >= 4.1', 'Pygments >= 2.0', # Pygments has to be Capitalcased. WTF? 'prompt_toolkit>=2.0.6,<2.1.0', 'psycopg2 >= 2.7.4,<2.8', 'sqlparse >=0.2.2,<0.3.0', 'configobj >= 5.0.6', 'humanize >= 0.5.1', 'cli_helpers[styles] >= 1.0.1', ] # setproctitle is used to mask the password when running `ps` in command line. # But this is not necessary in Windows since the password is never shown in the # task manager. Also setproctitle is a hard dependency to install in Windows, # so we'll only install it if we're not in Windows. if platform.system() != 'Windows' and not platform.system().startswith("CYGWIN"): install_requirements.append('setproctitle >= 1.1.9') setup( name='pgcli', author='Pgcli Core Team', author_email='pgcli-dev@googlegroups.com', version=version, license='BSD', url='http://pgcli.com', packages=find_packages(), package_data={'pgcli': ['pgclirc', 'packages/pgliterals/pgliterals.json']}, description=description, long_description=open('README.rst').read(), install_requires=install_requirements, extras_require={ 'keyring': ['keyring >= 12.2.0'], }, entry_points=''' [console_scripts] pgcli=pgcli.main:cli ''', classifiers=[ 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: Unix', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: SQL', 'Topic :: Database', 'Topic :: Database :: Front-Ends', 'Topic :: Software Development', 'Topic :: Software Development :: Libraries :: Python Modules', ], )
bsd-3-clause
Python
e5fe2994b05ffbb5abca5641ae75114da315e888
Use twine to upload package
jieter/python-lora
setup.py
setup.py
#!/usr/bin/env python import os import sys from setuptools import setup from lora import VERSION package_name = 'python-lora' if sys.argv[-1] == 'publish': os.system('python setup.py sdist') os.system('twine upload -r pypi dist/%s-%s.tar.gz' % (package_name, VERSION)) sys.exit() if sys.argv[-1] == 'tag': os.system("git tag -a v{} -m 'tagging v{}'".format(VERSION, VERSION)) os.system('git push && git push --tags') sys.exit() setup( name='python-lora', version=VERSION, description='Decrypt LoRa payloads', url='https://github.com/jieter/python-lora', author='Jan Pieter Waagmeester', author_email='jieter@jieter.nl', license='MIT', classifiers=[ 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], keywords='LoRa decrypt', packages=['lora'], install_requires=[ 'cryptography==1.5.2' ], )
#!/usr/bin/env python import os import sys from setuptools import setup from lora import VERSION if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') sys.exit() if sys.argv[-1] == 'tag': os.system("git tag -a v{} -m 'tagging v{}'".format(VERSION, VERSION)) os.system('git push && git push --tags') sys.exit() setup( name='python-lora', version=VERSION, description='Decrypt LoRa payloads', url='https://github.com/jieter/python-lora', author='Jan Pieter Waagmeester', author_email='jieter@jieter.nl', license='MIT', classifiers=[ 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], keywords='LoRa decrypt', packages=['lora'], install_requires=[ 'cryptography==1.5.2' ], )
mit
Python
3518f5ae323f5a390f8894557db8285eb1ec7e34
Bump patch version
gristlabs/asttokens
setup.py
setup.py
"""A setuptools based setup module. See: https://packaging.python.org/en/latest/distributing.html https://github.com/pypa/sampleproject """ import io from os import path from setuptools import setup here = path.dirname(__file__) # Get the long description from the README file with io.open(path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() setup( name='asttokens', version='1.1.10', description='Annotate AST trees with source code positions', long_description=long_description, url='https://github.com/gristlabs/asttokens', # Author details author='Dmitry Sagalovskiy, Grist Labs', author_email='dmitry@getgrist.com', # Choose your license license='Apache 2.0', # See https://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ # How mature is this project? Common values are # 3 - Alpha # 4 - Beta # 5 - Production/Stable 'Development Status :: 4 - Beta', # Indicate who your project is intended for 'Intended Audience :: Developers', 'Topic :: Software Development :: Libraries :: Python Modules ', 'Topic :: Software Development :: Code Generators', 'Topic :: Software Development :: Compilers', 'Topic :: Software Development :: Interpreters', 'Topic :: Software Development :: Pre-processors', 'Environment :: Console', 'Operating System :: OS Independent', # Specify the Python versions you support here. In particular, ensure # that you indicate whether you support Python 2, Python 3 or both. 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: Implementation :: CPython', ], # What does your project relate to? keywords='code ast parse tokenize refactor', # You can just specify the packages manually here if your project is # simple. Or you can use find_packages(). packages=['asttokens'], # List run-time dependencies here. These will be installed by pip when # your project is installed. For an analysis of "install_requires" vs pip's # requirements files see: # https://packaging.python.org/en/latest/requirements.html install_requires=['six'], # List additional groups of dependencies here (e.g. development # dependencies). You can install these using the following syntax, # for example: # $ pip install -e .[dev,test] extras_require={ 'test': ['astroid', 'nose', 'coverage'], }, test_suite="nose.collector", )
"""A setuptools based setup module. See: https://packaging.python.org/en/latest/distributing.html https://github.com/pypa/sampleproject """ import io from os import path from setuptools import setup here = path.dirname(__file__) # Get the long description from the README file with io.open(path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() setup( name='asttokens', version='1.1.9', description='Annotate AST trees with source code positions', long_description=long_description, url='https://github.com/gristlabs/asttokens', # Author details author='Dmitry Sagalovskiy, Grist Labs', author_email='dmitry@getgrist.com', # Choose your license license='Apache 2.0', # See https://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ # How mature is this project? Common values are # 3 - Alpha # 4 - Beta # 5 - Production/Stable 'Development Status :: 4 - Beta', # Indicate who your project is intended for 'Intended Audience :: Developers', 'Topic :: Software Development :: Libraries :: Python Modules ', 'Topic :: Software Development :: Code Generators', 'Topic :: Software Development :: Compilers', 'Topic :: Software Development :: Interpreters', 'Topic :: Software Development :: Pre-processors', 'Environment :: Console', 'Operating System :: OS Independent', # Specify the Python versions you support here. In particular, ensure # that you indicate whether you support Python 2, Python 3 or both. 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: Implementation :: CPython', ], # What does your project relate to? keywords='code ast parse tokenize refactor', # You can just specify the packages manually here if your project is # simple. Or you can use find_packages(). packages=['asttokens'], # List run-time dependencies here. These will be installed by pip when # your project is installed. For an analysis of "install_requires" vs pip's # requirements files see: # https://packaging.python.org/en/latest/requirements.html install_requires=['six'], # List additional groups of dependencies here (e.g. development # dependencies). You can install these using the following syntax, # for example: # $ pip install -e .[dev,test] extras_require={ 'test': ['astroid', 'nose', 'coverage'], }, test_suite="nose.collector", )
apache-2.0
Python
f95567cde5a3abc3022f338a552ccf6319ff35ec
Bump version
nocarryr/python-dispatch
setup.py
setup.py
from setuptools import setup, find_packages setup( name = "python-dispatch", version = "v0.0.4", author = "Matthew Reid", author_email = "matt@nomadic-recording.com", description = "Lightweight Event Handling", url='https://github.com/nocarryr/python-dispatch', license='MIT', packages=find_packages(exclude=['tests*']), include_package_data=True, setup_requires=['setuptools-markdown'], long_description_markdown_filename='README.md', keywords='event properties dispatch', platforms=['any'], classifiers = [ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], )
from setuptools import setup, find_packages setup( name = "python-dispatch", version = "v0.0.3", author = "Matthew Reid", author_email = "matt@nomadic-recording.com", description = "Lightweight Event Handling", url='https://github.com/nocarryr/python-dispatch', license='MIT', packages=find_packages(exclude=['tests*']), include_package_data=True, setup_requires=['setuptools-markdown'], long_description_markdown_filename='README.md', keywords='event properties dispatch', platforms=['any'], classifiers = [ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], )
mit
Python
b74dd7c08bbd8aa02709d35d447194ae933f80b1
Fix the setup.py
developerhannan/django-registration,jitendrakk/django-registration,salmanwahed/django-registration,google-code-export/django-registration
setup.py
setup.py
from distutils.core import setup setup(name='registration', version='0.1', description='User-registration application for Django', author='James Bennett', author_email='james@b-list.org', url='http://code.google.com/p/django-registration/', packages=['registration'], package_dir={ 'registration': 'registration' }, package_data={ 'registration': ['templates/registration/*.*'] }, classifiers=['Development Status :: 4 - Beta', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Utilities'], )
from distutils.core import setup setup(name='registration', version='0.1', description='User-registration application for Django', author='James Bennett', author_email='james@b-list.org', url='http://code.google.com/p/django-registration/', packages=['registration'], classifiers=['Development Status :: 4 - Beta', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Utilities'], )
bsd-3-clause
Python
e23fac64fdc22baae8d28933e6cc06238c1d1b5d
Update version to 2.3.0
emitter-io/python
setup.py
setup.py
import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="emitter-io", version="2.3.0", author="Florimond Husquinet", author_email="florimond@emitter.io", description="A Python library to interact with the Emitter API.", long_description=long_description, long_description_content_type="text/markdown", url="https://emitter.io", packages=["emitter"], classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Topic :: Communications", "Topic :: Internet :: WWW/HTTP", "License :: OSI Approved :: Eclipse Public License 1.0 (EPL-1.0)", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], keywords="emitter mqtt realtime cloud service", install_requires=["paho-mqtt"] )
import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="emitter-io", version="2.2.0", author="Florimond Husquinet", author_email="florimond@emitter.io", description="A Python library to interact with the Emitter API.", long_description=long_description, long_description_content_type="text/markdown", url="https://emitter.io", packages=["emitter"], classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Topic :: Communications", "Topic :: Internet :: WWW/HTTP", "License :: OSI Approved :: Eclipse Public License 1.0 (EPL-1.0)", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3" ], keywords="emitter mqtt realtime cloud service", install_requires=["paho-mqtt"] )
epl-1.0
Python
e5a154e4d15e1795a6ff4b1ec40429cccf6887e5
Update setup.py
genkosta/django-editor-ymaps,genkosta/django-editor-ymaps,genkosta/django-editor-ymaps
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2014 genkosta # # django-editor-ymaps is free software under terms of the MIT License. # from setuptools import find_packages, setup def get_readme(file_path): with open(file_path) as readme_file: result = readme_file.read() return result setup( name='django-editor-ymaps', version='1.0', packages=find_packages(), include_package_data=True, requires=['python (>= 3.5)', 'django (>= 2.0)'], description='Creating and editing Yandex maps.', long_description=get_readme('README.rst'), long_description_content_type='text/x-rst', author='genkosta', author_email='genkosta43@gmail.com', url='https://github.com/genkosta/django-editor-ymaps', download_url='https://github.com/genkosta/django-editor-ymaps/tarball/master', license='MIT License', keywords='django yandex map maps djeym', classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Web Environment', 'Framework :: Django', 'Framework :: Django :: 2.0', 'Framework :: Django :: 2.1', 'Framework :: Django :: 2.2', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', ], install_requires=[ 'Django', 'Pillow', 'django-imagekit', 'python-slugify', 'django-ckeditor', 'lxml', 'django-smart-selects==1.5.3', 'django-ipware' ], )
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright (c) 2014 genkosta # # django-editor-ymaps is free software under terms of the MIT License. # from setuptools import find_packages, setup def get_readme(file_path): with open(file_path) as readme_file: result = readme_file.read() return result setup( name='django-editor-ymaps', version='1.0', packages=find_packages(), include_package_data=True, requires=['python (>= 3.5)', 'django (>= 2.0)'], description='Creating and editing Yandex maps.', long_description=get_readme('README.rst'), long_description_content_type='text/x-rst', author='genkosta', author_email='genkosta43@gmail.com', url='https://github.com/genkosta/django-editor-ymaps', download_url='https://github.com/genkosta/django-editor-ymaps/tarball/master', license='MIT License', keywords='django yandex map maps djeym', classifiers=[ 'Environment :: Web Environment', 'Framework :: Django', 'Framework :: Django :: 2.0', 'Framework :: Django :: 2.1', 'Framework :: Django :: 2.2', 'Intended Audience :: Developers', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', ], install_requires=[ 'Django', 'Pillow', 'django-imagekit', 'python-slugify', 'django-ckeditor', 'lxml', 'django-smart-selects==1.5.3', 'django-ipware' ], )
mit
Python
af76a27a1907450db0cf906dc605d1f539d1ebd6
Add wellpathpy to install_requires
agile-geoscience/welly,agile-geoscience/welly
setup.py
setup.py
""" Python installation file for welly project. :copyright: 2021 Agile Scientific :license: Apache 2.0 """ from setuptools import setup import re verstr = 'unknown' VERSIONFILE = "welly/_version.py" with open(VERSIONFILE, "r") as f: verstrline = f.read().strip() pattern = re.compile(r"__version__ = ['\"](.*)['\"]") mo = pattern.search(verstrline) if mo: verstr = mo.group(1) print("Version "+verstr) else: raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,)) REQUIREMENTS = ['numpy', 'scipy', 'matplotlib', 'lasio', 'striplog', 'tqdm', 'wellpathpy' ] TEST_REQUIREMENTS = ['pytest', 'coveralls', 'pytest-cov', 'pytest-mpl', ] # Test command is: # python run_tests.py CLASSIFIERS = ['Development Status :: 4 - Beta', 'Intended Audience :: Science/Research', 'Natural Language :: English', 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', ] setup(name='welly', version=verstr, description='Tools for making and managing well data.', url='http://github.com/agile-geoscience/welly', author='Agile Scientific', author_email='hello@agilescientific.com', license='Apache 2', packages=['welly'], tests_require=TEST_REQUIREMENTS, test_suite='run_tests', install_requires=REQUIREMENTS, classifiers=CLASSIFIERS, zip_safe=False, )
""" Python installation file for welly project. :copyright: 2021 Agile Scientific :license: Apache 2.0 """ from setuptools import setup import re verstr = 'unknown' VERSIONFILE = "welly/_version.py" with open(VERSIONFILE, "r") as f: verstrline = f.read().strip() pattern = re.compile(r"__version__ = ['\"](.*)['\"]") mo = pattern.search(verstrline) if mo: verstr = mo.group(1) print("Version "+verstr) else: raise RuntimeError("Unable to find version string in %s." % (VERSIONFILE,)) REQUIREMENTS = ['numpy', 'scipy', 'matplotlib', 'lasio', 'striplog', 'tqdm', ] TEST_REQUIREMENTS = ['pytest', 'coveralls', 'pytest-cov', 'pytest-mpl', ] # Test command is: # python run_tests.py CLASSIFIERS = ['Development Status :: 4 - Beta', 'Intended Audience :: Science/Research', 'Natural Language :: English', 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', ] setup(name='welly', version=verstr, description='Tools for making and managing well data.', url='http://github.com/agile-geoscience/welly', author='Agile Scientific', author_email='hello@agilescientific.com', license='Apache 2', packages=['welly'], tests_require=TEST_REQUIREMENTS, test_suite='run_tests', install_requires=REQUIREMENTS, classifiers=CLASSIFIERS, zip_safe=False, )
apache-2.0
Python
2c1caf83f99161ef2f1d17c50a1d3006d9834ecd
Drop explicit archlist for now.
fedora-infra/the-new-hotness,fedora-infra/the-new-hotness
hotness/repository.py
hotness/repository.py
import logging import subprocess from hotness.cache import cache log = logging.getLogger('fedmsg') def get_version(package_name, yumconfig): nvr_dict = build_nvr_dict(yumconfig) return nvr_dict[package_name] @cache.cache_on_arguments() def build_nvr_dict(yumconfig): cmdline = ["/usr/bin/repoquery", "--config", yumconfig, "--quiet", #"--archlist=src", "--all", "--qf", "%{name}\t%{version}\t%{release}"] log.info("Running %r" % ' '.join(cmdline)) repoquery = subprocess.Popen(cmdline, stdout=subprocess.PIPE) (stdout, stderr) = repoquery.communicate() log.debug("Done with repoquery.") if stderr: log.warn(stderr) new_nvr_dict = {} for line in stdout.split("\n"): line = line.strip() if line: name, version, release = line.split("\t") new_nvr_dict[name] = (version, release) return new_nvr_dict
import logging import subprocess from hotness.cache import cache log = logging.getLogger('fedmsg') def get_version(package_name, yumconfig): nvr_dict = build_nvr_dict(yumconfig) return nvr_dict[package_name] @cache.cache_on_arguments() def build_nvr_dict(yumconfig): cmdline = ["/usr/bin/repoquery", "--config", yumconfig, "--quiet", "--archlist=src", "--all", "--qf", "%{name}\t%{version}\t%{release}"] log.info("Running %r" % ' '.join(cmdline)) repoquery = subprocess.Popen(cmdline, stdout=subprocess.PIPE) (stdout, stderr) = repoquery.communicate() log.debug("Done with repoquery.") if stderr: log.warn(stderr) new_nvr_dict = {} for line in stdout.split("\n"): line = line.strip() if line: name, version, release = line.split("\t") new_nvr_dict[name] = (version, release) return new_nvr_dict
lgpl-2.1
Python
1c8ad7256b7e1ed211ff4caa07bf516934fa398a
fix to more python standard manner
yosuke/SEATSAT,yosuke/SEATSAT
setup.py
setup.py
#!/usr/bin/env python '''setup script for SEAT and SAT Copyright (C) 2009-2010 Yosuke Matsusaka and Isao Hara Intelligent Systems Research Institute, National Institute of Advanced Industrial Science and Technology (AIST), Japan All rights reserved. Licensed under the Eclipse Public License -v 1.0 (EPL) http://www.opensource.org/licenses/eclipse-1.0.txt ''' from setuptools import setup, find_packages import sys, os from seatsat.XableRTC import * version = '1.02' try: import py2exe except ImportError: pass if sys.platform == "win32": # py2exe options extra = { "console": [ "seatsat/SEAT.py", "seatsat/validateseatml.py", "seatsat/seatmltographviz.py", "seatsat/seatmltosrgs.py", "seatsat/SoarRTC.py" ], "options": { "py2exe": { "includes": "xml.etree.ElementTree, lxml._elementpath, OpenRTM_aist, RTC, gzip, seatsat.XableRTC", "dll_excludes": ["MSVCP90.dll", "ierutil.dll", "powrprof.dll", "msimg32.dll", "mpr.dll", "urlmon.dll", "dnsapi.dll"], } } } else: extra = {} setup(name='seatsat', version=version, description="Simple dialogue manager component for OpenRTM (part of OpenHRI softwares)", long_description="""Simple dialogue manager component for OpenRTM (part of OpenHRI softwares).""", classifiers=[], keywords='', author='Yosuke Matsusaka', author_email='yosuke.matsusaka@aist.go.jp', url='http://openhri.net/', license='EPL', packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), include_package_data=True, package_data={'seatsat': ['*.xsd']}, zip_safe=False, install_requires=[ # -*- Extra requirements: -*- ], entry_points=""" [console_scripts] seat = seatsat.SEAT:main validateseatml = seatsat.validateseatml:main seatmltographviz = seatsat.seatmltographviz:main seatmltosrgs = seatsat.seatmltosrgs:main soarrtc = seatsat.SoarRTC:main """, **extra )
#!/usr/bin/env python '''setup script for SEAT and SAT Copyright (C) 2009-2010 Yosuke Matsusaka and Isao Hara Intelligent Systems Research Institute, National Institute of Advanced Industrial Science and Technology (AIST), Japan All rights reserved. Licensed under the Eclipse Public License -v 1.0 (EPL) http://www.opensource.org/licenses/eclipse-1.0.txt ''' from setuptools import setup, find_packages import sys, os from seatsat.XableRTC import * version = '1.02' try: import py2exe except ImportError: pass if sys.platform == "win32": # py2exe options extra = { "console": [ "seatsat/SEAT.py", "seatsat/validateseatml.py", "seatsat/seatmltographviz.py", "seatsat/seatmltosrgs.py", "seatsat/SoarRTC.py" ], "options": { "py2exe": { "includes": "xml.etree.ElementTree, lxml._elementpath, OpenRTM_aist, RTC, gzip, seatsat.XableRTC", "dll_excludes": ["MSVCP90.dll", "ierutil.dll", "powrprof.dll", "msimg32.dll", "mpr.dll", "urlmon.dll", "dnsapi.dll"], } } } else: extra = {} setup(name='seatsat', version=version, description="Simple dialogue manager component for OpenRTM (part of OpenHRI softwares)", long_description="""Simple dialogue manager component for OpenRTM (part of OpenHRI softwares).""", classifiers=[], keywords='', author='Yosuke Matsusaka', author_email='yosuke.matsusaka@aist.go.jp', url='http://openhri.net/', license='EPL', packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), include_package_data=True, data_files=[('seatsat', ['seatsat/seatml.xsd']),], zip_safe=False, install_requires=[ # -*- Extra requirements: -*- ], entry_points=""" [console_scripts] seat = seatsat.SEAT:main validateseatml = seatsat.validateseatml:main seatmltographviz = seatsat.seatmltographviz:main seatmltosrgs = seatsat.seatmltosrgs:main soarrtc = seatsat.SoarRTC:main """, **extra )
epl-1.0
Python
ea908afaed746e1c3405828617ba7a16d3472e4a
Update setup.py with new beta version of next release
caleb531/alfred-workflow-packager
setup.py
setup.py
#!/usr/bin/env python3 # coding=utf-8 from setuptools import setup # Get long description (used on PyPI project page) def get_long_description(): with open('README.md', 'r') as readme_file: return readme_file.read() setup( name='alfred-workflow-packager', version='2.0.0b1', description='A CLI utility for packaging and exporting Alfred workflows', long_description=get_long_description(), long_description_content_type='text/markdown', url='https://github.com/caleb531/alfred-workflow-packager', author='Caleb Evans', author_email='caleb@calebevans.me', license='MIT', keywords='alfred workflow package export', packages=['awp'], package_data={ 'awp': ['data/config-schema.json'] }, install_requires=[ 'jsonschema >= 4, < 5' ], entry_points={ 'console_scripts': [ 'awp=awp.main:main' ] } )
#!/usr/bin/env python3 # coding=utf-8 from setuptools import setup # Get long description (used on PyPI project page) def get_long_description(): with open('README.md', 'r') as readme_file: return readme_file.read() setup( name='alfred-workflow-packager', version='1.2.1', description='A CLI utility for packaging and exporting Alfred workflows', long_description=get_long_description(), long_description_content_type='text/markdown', url='https://github.com/caleb531/alfred-workflow-packager', author='Caleb Evans', author_email='caleb@calebevans.me', license='MIT', keywords='alfred workflow package export', packages=['awp'], package_data={ 'awp': ['data/config-schema.json'] }, install_requires=[ 'jsonschema >= 4, < 5' ], entry_points={ 'console_scripts': [ 'awp=awp.main:main' ] } )
mit
Python
4e464600aa867a409fb7a3a7d34838cfc717d660
Update classifiers.
DOV-Vlaanderen/pydov
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- """The setup script.""" from setuptools import setup, find_packages with open('README.md') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() with open('requirements.txt') as f: requirements = f.read().splitlines() with open('requirements_dev.txt') as f: requirements_dev = f.read().splitlines()[1:] # ignore the general requirements with open('requirements_doc.txt') as f: requirements_doc = f.read().splitlines() setup( name='pydov', version='0.3.0', description="A Python package to download data from Databank Ondergrond Vlaanderen (DOV).", long_description=readme, long_description_content_type='text/markdown', author="DOV-Vlaanderen", author_email='dov@vlaanderen.be', url='https://github.com/DOV-Vlaanderen/pydov', packages=find_packages(include=['pydov']), # entry_points={ # 'console_scripts': [ # 'pydov=pydov.cli:main' # ] # }, include_package_data=True, install_requires=requirements, license="MIT license", zip_safe=False, keywords='pydov', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Natural Language :: Dutch', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Topic :: Scientific/Engineering', ], test_suite='tests', tests_require=requirements_dev, extras_require={ 'docs': requirements_doc, 'devs': requirements_dev } )
#!/usr/bin/env python # -*- coding: utf-8 -*- """The setup script.""" from setuptools import setup, find_packages with open('README.md') as readme_file: readme = readme_file.read() with open('HISTORY.rst') as history_file: history = history_file.read() with open('requirements.txt') as f: requirements = f.read().splitlines() with open('requirements_dev.txt') as f: requirements_dev = f.read().splitlines()[1:] # ignore the general requirements with open('requirements_doc.txt') as f: requirements_doc = f.read().splitlines() setup( name='pydov', version='0.3.0', description="A Python package to download data from Databank Ondergrond Vlaanderen (DOV).", long_description=readme, long_description_content_type='text/markdown', author="DOV-Vlaanderen", author_email='dov@vlaanderen.be', url='https://github.com/DOV-Vlaanderen/pydov', packages=find_packages(include=['pydov']), # entry_points={ # 'console_scripts': [ # 'pydov=pydov.cli:main' # ] # }, include_package_data=True, install_requires=requirements, license="MIT license", zip_safe=False, keywords='pydov', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', "Programming Language :: Python :: 2", 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', ], test_suite='tests', tests_require=requirements_dev, extras_require={ 'docs': requirements_doc, 'devs': requirements_dev } )
mit
Python
be3f4f9e13c9e71dbbcdf6abe5a13a06160304b7
Remove entry-points from setup.py
choderalab/perses,choderalab/perses
setup.py
setup.py
# -*- coding: utf-8 -*- """Perses: Tools for expanded-ensemble simulations with OpenMM """ from __future__ import print_function, absolute_import DOCLINES = __doc__.split("\n") import os import sys import glob import traceback import numpy as np from os.path import join as pjoin from os.path import relpath from setuptools import setup, Extension, find_packages try: sys.dont_write_bytecode = True sys.path.insert(0, '.') from basesetup import write_version_py, CompilerDetection, check_dependencies finally: sys.dont_write_bytecode = False if '--debug' in sys.argv: sys.argv.remove('--debug') DEBUG = True else: DEBUG = False #Useful function def find_package_data(data_root, package_root): files = [] for root, dirnames, filenames in os.walk(data_root): for fn in filenames: files.append(relpath(pjoin(root, fn), package_root)) return files # ######################### VERSION = '0.1' ISRELEASED = False __version__ = VERSION # ######################### CLASSIFIERS = """\ Intended Audience :: Science/Research Intended Audience :: Developers License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+) Programming Language :: C++ Programming Language :: Python Development Status :: 4 - Beta Topic :: Software Development Topic :: Scientific/Engineering Operating System :: POSIX Operating System :: Unix Operating System :: MacOS Programming Language :: Python :: 2 Programming Language :: Python :: 2.6 Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 Programming Language :: Python :: 3.3 Programming Language :: Python :: 3.4 """ extensions = [] setup(name='perses', author='Patrick Grinaway', author_email='patrick.grinaway@choderalab.org', description=DOCLINES[0], long_description="\n".join(DOCLINES[2:]), version=__version__, url='https://github.com/choderalab/perses', platforms=['Linux', 'Mac OS-X', 'Unix'], classifiers=CLASSIFIERS.splitlines(), packages=['perses', 'perses.rjmc', 'perses.annihilation', 'perses.bias', 'perses.dualtopology','perses.multitopology',], package_data={'perses' : find_package_data('perses','examples')}, zip_safe=False, ext_modules=extensions, install_requires=[ 'openmm >=6.3', 'numpy', 'scipy', 'openmoltools', 'sklearn', 'lxml', ], )
# -*- coding: utf-8 -*- """Perses: Tools for expanded-ensemble simulations with OpenMM """ from __future__ import print_function, absolute_import DOCLINES = __doc__.split("\n") import os import sys import glob import traceback import numpy as np from os.path import join as pjoin from os.path import relpath from setuptools import setup, Extension, find_packages try: sys.dont_write_bytecode = True sys.path.insert(0, '.') from basesetup import write_version_py, CompilerDetection, check_dependencies finally: sys.dont_write_bytecode = False if '--debug' in sys.argv: sys.argv.remove('--debug') DEBUG = True else: DEBUG = False #Useful function def find_package_data(data_root, package_root): files = [] for root, dirnames, filenames in os.walk(data_root): for fn in filenames: files.append(relpath(pjoin(root, fn), package_root)) return files # ######################### VERSION = '0.1' ISRELEASED = False __version__ = VERSION # ######################### CLASSIFIERS = """\ Intended Audience :: Science/Research Intended Audience :: Developers License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+) Programming Language :: C++ Programming Language :: Python Development Status :: 4 - Beta Topic :: Software Development Topic :: Scientific/Engineering Operating System :: POSIX Operating System :: Unix Operating System :: MacOS Programming Language :: Python :: 2 Programming Language :: Python :: 2.6 Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 Programming Language :: Python :: 3.3 Programming Language :: Python :: 3.4 """ extensions = [] setup(name='perses', author='Patrick Grinaway', author_email='patrick.grinaway@choderalab.org', description=DOCLINES[0], long_description="\n".join(DOCLINES[2:]), version=__version__, url='https://github.com/choderalab/perses', platforms=['Linux', 'Mac OS-X', 'Unix'], classifiers=CLASSIFIERS.splitlines(), packages=['perses', 'perses.rjmc', 'perses.annihilation', 'perses.bias', 'perses.dualtopology','perses.multitopology',], package_data={'perses' : find_package_data('perses','examples')}, zip_safe=False, ext_modules=extensions, install_requires=[ 'openmm >=6.3', 'numpy', 'scipy', 'openmoltools', 'sklearn', 'lxml', ], entry_points={'console_scripts': [ 'thermoml-update-mirror = thermopyl.scripts.update_archive:main', 'thermoml-build-pandas = thermopyl.scripts.parse_xml:main', ]})
mit
Python
11fa79921451e087b5e3e307bb646c83ee929296
make NetworkConvertors a new style object
fedora-conary/conary,fedora-conary/conary,fedora-conary/conary,fedora-conary/conary,fedora-conary/conary
repository/xmlshims.py
repository/xmlshims.py
# # Copyright (c) 2004 Specifix, Inc. # # This program is distributed under the terms of the Common Public License, # version 1.0. A copy of this license should have been distributed with this # source file in a file called LICENSE. If it is not present, the license # is always available at http://www.opensource.org/licenses/cpl.php. # # This program is distributed in the hope that it will be useful, but # without any waranty; without even the implied warranty of merchantability # or fitness for a particular purpose. See the Common Public License for # full details. # import deps.deps import versions import files import base64 class NetworkConvertors(object): def freezeVersion(self, v): return v.freeze() def thawVersion(self, v): return versions.ThawVersion(v) def fromVersion(self, v): return v.asString() def toVersion(self, v): return versions.VersionFromString(v) def fromBranch(self, b): return b.asString() def toBranch(self, b): return versions.VersionFromString(b) def toFlavor(self, f): if f == 0 or f == "none" or f is None: return None return deps.deps.ThawDependencySet(f) def fromFlavor(self, f): if f is None: return 0 return f.freeze() def toFile(self, f): fileId = f[:40] return files.ThawFile(base64.decodestring(f[40:]), fileId) def fromFile(self, f): s = base64.encodestring(f.freeze()) return f.id() + s def fromLabel(self, l): return l.asString() def toLabel(self, l): return versions.BranchName(l)
# # Copyright (c) 2004 Specifix, Inc. # # This program is distributed under the terms of the Common Public License, # version 1.0. A copy of this license should have been distributed with this # source file in a file called LICENSE. If it is not present, the license # is always available at http://www.opensource.org/licenses/cpl.php. # # This program is distributed in the hope that it will be useful, but # without any waranty; without even the implied warranty of merchantability # or fitness for a particular purpose. See the Common Public License for # full details. # import deps.deps import versions import files import base64 class NetworkConvertors: def freezeVersion(self, v): return v.freeze() def thawVersion(self, v): return versions.ThawVersion(v) def fromVersion(self, v): return v.asString() def toVersion(self, v): return versions.VersionFromString(v) def fromBranch(self, b): return b.asString() def toBranch(self, b): return versions.VersionFromString(b) def toFlavor(self, f): if f == 0 or f == "none" or f is None: return None return deps.deps.ThawDependencySet(f) def fromFlavor(self, f): if f is None: return 0 return f.freeze() def toFile(self, f): fileId = f[:40] return files.ThawFile(base64.decodestring(f[40:]), fileId) def fromFile(self, f): s = base64.encodestring(f.freeze()) return f.id() + s def fromLabel(self, l): return l.asString() def toLabel(self, l): return versions.BranchName(l)
apache-2.0
Python
1118191ebb51e5ffe2ce3a1be91ae79808f2fdcb
Support comma separators when printing numbers.
alexhanson/rdio-export
rdioexport/__init__.py
rdioexport/__init__.py
from ._client import get_rdio_client from ._exporter import get_exporter from itertools import chain, imap, islice # Thanks to Roberto Bonvallet # http://stackoverflow.com/a/1915307 def _split(iterable, batch_size): iterator = iter(iterable) batch = tuple(islice(iterator, batch_size)) while batch: yield batch batch = tuple(islice(iterator, batch_size)) def archive_collection( rdio, exporter, album_batch_size=50, track_batch_size=200): albums = rdio.get_collection_by_album() album_count = 0 track_count = 0 for album_batch in _split(albums, album_batch_size): album_keys = imap(lambda a: a['key'], album_batch) track_keys_by_album = imap(lambda a: a['trackKeys'], album_batch) track_keys = chain.from_iterable(track_keys_by_album) album_details = rdio.get_album_data(album_keys).values() exporter.write_albums(album_details) album_count += len(album_details) for track_keys_batch in _split(track_keys, track_batch_size): track_details = rdio.get_track_data(track_keys_batch).values() exporter.write_tracks(track_details) track_count += len(track_details) print u"Wrote {:,} albums and {:,} tracks so far. Still going...".format( album_count, track_count) print u"Wrote {:,} albums and {:,} tracks. Done!".format( album_count, track_count)
from ._client import get_rdio_client from ._exporter import get_exporter from itertools import chain, imap, islice # Thanks to Roberto Bonvallet # http://stackoverflow.com/a/1915307 def _split(iterable, batch_size): iterator = iter(iterable) batch = tuple(islice(iterator, batch_size)) while batch: yield batch batch = tuple(islice(iterator, batch_size)) def archive_collection( rdio, exporter, album_batch_size=50, track_batch_size=200): albums = rdio.get_collection_by_album() album_count = 0 track_count = 0 for album_batch in _split(albums, album_batch_size): album_keys = imap(lambda a: a['key'], album_batch) track_keys_by_album = imap(lambda a: a['trackKeys'], album_batch) track_keys = chain.from_iterable(track_keys_by_album) album_details = rdio.get_album_data(album_keys).values() exporter.write_albums(album_details) album_count += len(album_details) for track_keys_batch in _split(track_keys, track_batch_size): track_details = rdio.get_track_data(track_keys_batch).values() exporter.write_tracks(track_details) track_count += len(track_details) print u"Wrote {} albums and {} tracks so far. Still going...".format( album_count, track_count) print u"Wrote {} albums and {} tracks. Done!".format( album_count, track_count)
isc
Python
a34ce610a6f961158e15769f02926aeed6321e58
Bump version to 0.1.post1 to re-release on PyPi correctly packaged
gsnedders/Template-Python,gsnedders/Template-Python
setup.py
setup.py
#!/usr/bin/env python # # The Template-Python distribution is Copyright (C) Sean McAfee 2007-2008, # derived from the Perl Template Toolkit Copyright (C) 1996-2007 Andy # Wardley. All Rights Reserved. # # The file "LICENSE" at the top level of this source distribution describes # the terms under which this file may be distributed. # from distutils.core import setup setup(name = 'Template-Python', version = '0.1.post1', description = 'Python port of the Template Toolkit', author = 'Sean McAfee', author_email = 'eefacm@gmail.com', url = 'http://template-toolkit.org/python/', packages = ['template', 'template.plugin', 'template.namespace'], package_dir = { 'template.plugin': 'template/plugin', 'template.namespace': 'template/namespace' }, )
#!/usr/bin/env python # # The Template-Python distribution is Copyright (C) Sean McAfee 2007-2008, # derived from the Perl Template Toolkit Copyright (C) 1996-2007 Andy # Wardley. All Rights Reserved. # # The file "LICENSE" at the top level of this source distribution describes # the terms under which this file may be distributed. # from distutils.core import setup setup(name = 'Template-Python', version = '0.1', description = 'Python port of the Template Toolkit', author = 'Sean McAfee', author_email = 'eefacm@gmail.com', url = 'http://template-toolkit.org/python/', packages = ['template', 'template.plugin', 'template.namespace'], package_dir = { 'template.plugin': 'template/plugin', 'template.namespace': 'template/namespace' }, )
artistic-2.0
Python
8581cf8d2e2d38dcc5ca0bcb8821d9f5c60b00ac
Change version back to 0.1
CxAalto/gtfspy,CxAalto/gtfspy
setup.py
setup.py
from distutils.core import setup from Cython.Build import cythonize setup( name="gfspy", packages=["gtfspy"], version="0.1", description="Python package for analyzing public transport timetables", author="Rainer Kujala", author_email="Rainer.Kujala@gmail.com", url="https://github.com/CxAalto/gtfspy", download_url="https://github.com/CxAalto/gtfspy/archive/0.2.tar.gz", ext_modules=cythonize("gtfspy/routing/*.pyx"), keywords = ['transit', 'routing' 'gtfs', 'public transport', 'analysis', 'visualization'], # arbitrary keywords )
from distutils.core import setup from Cython.Build import cythonize setup( name="gfspy", packages=["gtfspy"], version="0.1", description="Python package for analyzing public transport timetables", author="Rainer Kujala", author_email="Rainer.Kujala@gmail.com", url="https://github.com/CxAalto/gtfspy", download_url="https://github.com/CxAalto/gtfspy/archive/0.1.tar.gz", ext_modules=cythonize("gtfspy/routing/*.pyx"), keywords = ['transit', 'routing' 'gtfs', 'public transport', 'analysis', 'visualization'], # arbitrary keywords )
mit
Python
430d27997bf914ef7bb9af753c4a9a49a5854ced
fix imports order
cogniteev/yamlious
setup.py
setup.py
from setuptools import find_packages, setup module_name = 'yamlious' description = "Build voluptuous schema from yaml files" root_url = 'https://github.com/cogniteev/' + module_name # Extract version from module __init__.py init_file = '{}/__init__.py'.format(module_name.replace('-', '_').lower()) __version__ = None with open(init_file) as istr: for l in istr: if l.startswith('__version__ = '): exec(l) break version = '.'.join(map(str, __version__)) setup( name=module_name, version=version, description=description, author='Cogniteev', author_email='tech@cogniteev.com', url=root_url, download_url=root_url + '/tarball/v' + version, license='Apache license version 2.0', keywords='yaml voluptuous schema validation', classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Topic :: Software Development :: Libraries', 'Topic :: Internet :: WWW/HTTP :: Indexing/Search', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Operating System :: OS Independent', 'Natural Language :: English', ], packages=find_packages(exclude=['*.tests']), zip_safe=True, install_requires=[ 'PyYAML>=3.11', 'voluptuous==0.8.8', ] )
from setuptools import setup, find_packages module_name = 'yamlious' description = "Build voluptuous schema from yaml files" root_url = 'https://github.com/cogniteev/' + module_name # Extract version from module __init__.py init_file = '{}/__init__.py'.format(module_name.replace('-', '_').lower()) __version__ = None with open(init_file) as istr: for l in istr: if l.startswith('__version__ = '): exec(l) break version = '.'.join(map(str, __version__)) setup( name=module_name, version=version, description=description, author='Cogniteev', author_email='tech@cogniteev.com', url=root_url, download_url=root_url + '/tarball/v' + version, license='Apache license version 2.0', keywords='yaml voluptuous schema validation', classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Topic :: Software Development :: Libraries', 'Topic :: Internet :: WWW/HTTP :: Indexing/Search', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Operating System :: OS Independent', 'Natural Language :: English', ], packages=find_packages(exclude=['*.tests']), zip_safe=True, install_requires=[ 'PyYAML>=3.11', 'voluptuous==0.8.8', ] )
apache-2.0
Python
fba783e42696d86670432930ecdc3414fd4b08f9
add the license information to setup.py
dbaxa/python-junit-xml-output
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages import os def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='junit_xml_output', author='David Black', author_email='dblack@atlassian.com', url='https://bitbucket.org/db_atlass/python-junit-xml-output-module', packages=find_packages(), description=read('README.md'), long_description=read('README.md'), license = "MIT", version = "0.0.1" )
#!/usr/bin/env python from setuptools import setup, find_packages import os def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup(name='junit_xml_output', author='David Black', author_email='dblack@atlassian.com', url='https://bitbucket.org/db_atlass/python-junit-xml-output-module', packages=find_packages(), description=read('README.md'), long_description=read('README.md'), version = "0.0.1" )
mit
Python
0c3106c17651fd56e25833c348442544a078c433
Bump to 0.3
ahal/b2g-commands
setup.py
setup.py
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. from setuptools import setup, find_packages PACKAGE_VERSION = '0.3' deps = [] setup(name='b2g-commands', version=PACKAGE_VERSION, description='A set of mach commands to make working with the B2G repo easier.', long_description='See https://github.com/ahal/b2g-commands', classifiers=['Environment :: Console', 'Intended Audience :: Developers', 'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)', 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development :: Libraries :: Python Modules', ], keywords='mozilla', author='Andrew Halberstadt', author_email='ahalberstadt@mozilla.com', url='https://github.com/ahal/b2g-commands', license='MPL 2.0', packages=['b2gcommands'], include_package_data=True, zip_safe=False, install_requires=deps, entry_points=""" [mach.b2g.providers] list_b2g_providers=b2gcommands:list_providers """)
# This Source Code Form is subject to the terms of the Mozilla Public # License, v. 2.0. If a copy of the MPL was not distributed with this file, # You can obtain one at http://mozilla.org/MPL/2.0/. from setuptools import setup, find_packages PACKAGE_VERSION = '0.2' deps = [] setup(name='b2g-commands', version=PACKAGE_VERSION, description='A set of mach commands to make working with the B2G repo easier.', long_description='See https://github.com/ahal/b2g-commands', classifiers=['Environment :: Console', 'Intended Audience :: Developers', 'License :: OSI Approved :: Mozilla Public License 2.0 (MPL 2.0)', 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development :: Libraries :: Python Modules', ], keywords='mozilla', author='Andrew Halberstadt', author_email='ahalberstadt@mozilla.com', url='https://github.com/ahal/b2g-commands', license='MPL 2.0', packages=['b2gcommands'], include_package_data=True, zip_safe=False, install_requires=deps, entry_points=""" [mach.b2g.providers] list_b2g_providers=b2gcommands:list_providers """)
mpl-2.0
Python
a6c89d5c169c81cb41b56d79f153e1e9dfe5e50b
fix setup.py
rtqichen/torchdiffeq
setup.py
setup.py
import setuptools setuptools.setup( name="torchdiffeq", version="0.0.1", author="Ricky Tian Qi Chen", author_email="rtqichen@cs.toronto.edu", description="ODE solvers and adjoint sensitivity analysis in PyTorch.", url="https://github.com/rtqichen/torchdiffeq", packages=setuptools.find_packages(), install_requires=['torch>=0.4.1'], classifiers=[ "Programming Language :: Python :: 3", "License :: OSI Approved :: MIT License", ], )
import setuptools setuptools.setup( name="torchdiffeq", version="0.0.1", author="Ricky Tian Qi Chen", author_email="rtqichen@cs.toronto.edu", description="ODE solvers and adjoint sensitivity analysis in PyTorch.", url="https://github.com/rtqichen/torchdiffeq", packages=['torchdiffeq', 'torchdiffeq._impl'], install_requires=['torch>=0.4.1'], classifiers=( "Programming Language :: Python :: 3"),)
mit
Python
9590a881bdfae21a1c332c859459f709871e0d59
Add check if configuration section merge needed
beezz/pg_bawler,beezz/pg_bawler
pg_bawler/bawlerd/conf.py
pg_bawler/bawlerd/conf.py
import collections import itertools import os import yaml #: Default name for bawlerd configuration file DEFAULT_CONFIG_FILENAME = 'pg_bawler.yml' #: List of location where bawlerd searches for configuration #: Order matters. Configuration in current working directory takes precedence #: over configuration from users directory, which takes precedence over system #: wide configuration. DEFAULT_CONFIG_LOCATIONS = ( '/etc/pg_bawler', '~', os.getcwd(), ) def build_config_location_list( locations=DEFAULT_CONFIG_LOCATIONS, filename=DEFAULT_CONFIG_FILENAME ): ''' Builds list of absolute paths to configuration files defined by list of ``locations`` and ``filename``. You may use `~` for root of user directory. ''' return [ os.path.abspath(os.path.join(os.path.expanduser(location), filename)) for location in locations ] def _load_file(_file, ft='yaml', default_loader=yaml.load): ''' Parse file into a python object (mapping). TODO: Only yaml for now, maybe more formats later. ''' return {'yaml': yaml.load}.get(ft, default_loader)(_file) def _merge_configs(base, precede): ''' Nested merge of configurations. ''' result = {} for key in set(itertools.chain(base.keys(), precede.keys())): if key in precede and key in base: value = precede[key] if isinstance(value, collections.Mapping): value = _merge_configs(base[key], precede[key]) else: value = precede[key] if key in precede else base[key] result[key] = value return result def read_config_files(config_locations): ''' Reads config files at ``locations`` and merge values. ''' config = {} for config_location in config_locations: with open(config_location, 'r', encoding='utf-8') as config_file: config = _merge_configs(config, _load_file(config_file)) return config
import collections import itertools import os import yaml #: Default name for bawlerd configuration file DEFAULT_CONFIG_FILENAME = 'pg_bawler.yml' #: List of location where bawlerd searches for configuration #: Order matters. Configuration in current working directory takes precedence #: over configuration from users directory, which takes precedence over system #: wide configuration. DEFAULT_CONFIG_LOCATIONS = ( '/etc/pg_bawler', '~', os.getcwd(), ) def build_config_location_list( locations=DEFAULT_CONFIG_LOCATIONS, filename=DEFAULT_CONFIG_FILENAME ): ''' Builds list of absolute paths to configuration files defined by list of ``locations`` and ``filename``. You may use `~` for root of user directory. ''' return [ os.path.abspath(os.path.join(os.path.expanduser(location), filename)) for location in locations ] def _load_file(_file, ft='yaml', default_loader=yaml.load): ''' Parse file into a python object (mapping). TODO: Only yaml for now, maybe more formats later. ''' return {'yaml': yaml.load}.get(ft, default_loader)(_file) def _merge_configs(base, precede): ''' Nested merge of configurations. ''' result = {} for key in set(itertools.chain(base.keys(), precede.keys())): value = precede[key] if key in precede else base[key] if isinstance(value, collections.Mapping): value = _merge_configs(base.get(key, {}), value) result[key] = value return result def read_config_files(config_locations): ''' Reads config files at ``locations`` and merge values. ''' config = {} for config_location in config_locations: with open(config_location, 'r', encoding='utf-8') as config_file: config = _merge_configs(config, _load_file(config_file)) return config
bsd-3-clause
Python
9d92a6d2b93cfba258e5f0fda4484dccfad8ada8
Remove "Open-Dynamics-Engine" dep.
EmbodiedCognition/pagoda,EmbodiedCognition/pagoda
setup.py
setup.py
import os import setuptools setuptools.setup( name='pagoda', version='0.0.2', packages=setuptools.find_packages(), author='Leif Johnson', author_email='leif@cs.utexas.edu', description='yet another OpenGL-with-physics simulation framework', long_description=open(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'README.md')).read(), license='MIT', url='http://github.com/EmbodiedCognition/py-sim/', keywords=('simulation ' 'physics ' 'ode ' 'visualization ' ), install_requires=['climate', 'numpy', 'pyglet'], classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering :: Physics', 'Topic :: Scientific/Engineering :: Visualization', ], )
import os import setuptools setuptools.setup( name='pagoda', version='0.0.2', packages=setuptools.find_packages(), author='Leif Johnson', author_email='leif@cs.utexas.edu', description='yet another OpenGL-with-physics simulation framework', long_description=open(os.path.join(os.path.dirname(os.path.abspath(__file__)), 'README.md')).read(), license='MIT', url='http://github.com/EmbodiedCognition/py-sim/', keywords=('simulation ' 'physics ' 'ode ' 'visualization ' ), install_requires=['climate', 'numpy', 'pyglet', 'Open-Dynamics-Engine'], classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering :: Artificial Intelligence', 'Topic :: Scientific/Engineering :: Physics', 'Topic :: Scientific/Engineering :: Visualization', ], )
mit
Python
930656c062e6d0424dd0292f5cb09865fec3e1aa
Fix dependency issue
OMS-NetZero/FAIR
setup.py
setup.py
from setuptools import setup from setuptools import find_packages import versioneer # README # def readme(): with open('README.rst') as f: return f.read() setup(name='fair', version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), description='Python package to perform calculations with the FaIR simple climate model', long_description=readme(), keywords='simple climate model temperature response carbon cycle emissions forcing', url='https://github.com/OMS-NetZero/FAIR', author='OMS-NetZero, Chris Smith, Richard Millar, Zebedee Nicholls, Myles Allen', author_email='c.j.smith1@leeds.ac.uk', license='Apache 2.0', packages=find_packages(exclude=['tests*','docs*']), package_data={'': ['*.csv']}, include_package_data=True, install_requires=[ 'matplotlib', 'numpy>=1.14.5', 'scipy>=0.19.0', 'pandas' ], zip_safe=False, extras_require={'docs': ['sphinx>=1.4', 'nbsphinx'], 'dev' : ['notebook', 'wheel', 'twine'], 'test': ['pytest>=4.0', 'nbval', 'pytest-cov', 'codecov']} )
from setuptools import setup from setuptools import find_packages import versioneer # README # def readme(): with open('README.rst') as f: return f.read() setup(name='fair', version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), description='Python package to perform calculations with the FaIR simple climate model', long_description=readme(), keywords='simple climate model temperature response carbon cycle emissions forcing', url='https://github.com/OMS-NetZero/FAIR', author='OMS-NetZero, Chris Smith, Richard Millar, Zebedee Nicholls, Myles Allen', author_email='c.j.smith1@leeds.ac.uk', license='Apache 2.0', packages=find_packages(exclude=['tests*','docs*']), package_data={'': ['*.csv']}, include_package_data=True, install_requires=[ 'matplotlib', 'numpy>=1.11.3', 'scipy>=0.19.0', 'pandas' ], zip_safe=False, extras_require={'docs': ['sphinx>=1.4', 'nbsphinx'], 'dev' : ['notebook', 'wheel', 'twine'], 'test': ['pytest>=4.0', 'nbval', 'pytest-cov', 'codecov']} )
apache-2.0
Python
f1a4f76641683aa0f1919e8d3a1442bcd1b6f920
Tidy up route import
pimterry/pipeline-notifier
pipeline_notifier/main.py
pipeline_notifier/main.py
import os import cherrypy from pipeline_notifier.routes import setup_routes from flask import Flask app = Flask("Pipeline Notifier") setup_routes(app, []) def run_server(): cherrypy.tree.graft(app, '/') cherrypy.config.update({ 'engine.autoreload_on': True, 'log.screen': True, 'server.socket_port': int(os.environ.get('PORT', '8080')), 'server.socket_host': '0.0.0.0' }) cherrypy.engine.start() cherrypy.engine.block() if __name__ == '__main__': run_server()
import os import cherrypy from .routes import setup_routes from flask import Flask app = Flask("Pipeline Notifier") setup_routes(app, []) def run_server(): cherrypy.tree.graft(app, '/') cherrypy.config.update({ 'engine.autoreload_on': True, 'log.screen': True, 'server.socket_port': int(os.environ.get('PORT', '8080')), 'server.socket_host': '0.0.0.0' }) cherrypy.engine.start() cherrypy.engine.block() if __name__ == '__main__': run_server()
mit
Python
6316302b58e448d62e4fd99b2c5509eb4c504409
Bring functions up to package level
gogoair/foremast,gogoair/foremast
pipes/configs/__init__.py
pipes/configs/__init__.py
from .outputs import * from .prepare_configs import * from .utils import *
from .prepare_configs import *
apache-2.0
Python
ccf44cd62c72c4a5f0eb578bf78f2c82f9241c07
Update setup script
UPOLSearch/UPOL-Search-Engine,UPOLSearch/UPOL-Search-Engine,UPOLSearch/UPOL-Search-Engine,UPOLSearch/UPOL-Search-Engine
setup.py
setup.py
#!/usr/bin/env python from setuptools import find_packages, setup setup(name='UPOL-Search-Engine', version='0.6-dev', description='UPOL Search engine is search engine for upol.cz domain, \ topic of Master thesis on Department of Computer Science UPOL', author='Tomas Mikula', author_email='mail@tomasmikula.cz', license='MIT', url='https://github.com/UPOLSearch/UPOL-Search-Engine', packages=find_packages(), package_data={ 'upol_search_engine': ['config-default.ini', 'upol_search_engine/templates/search/*', 'upol_search_engine/templates/info/*', 'upol_search_engine/static/css/*', 'upol_search_engine/static/js/*', 'upol_search_engine/static/fonts/*', 'upol_search_engine/static/images/*.png'], }, install_requires=[ 'beautifulsoup4', 'celery', 'lxml', 'pymongo', 'pytest', 'reppy', 'requests', 'w3lib', 'langdetect', 'networkx', 'psycopg2', 'flask', 'html5lib' ], entry_points={ 'console_scripts': [ 'upol_search_engine = upol_search_engine.__main__:main' ] } )
#!/usr/bin/env python from setuptools import find_packages, setup setup(name='UPOL-Search-Engine', version='0.6-dev', description='UPOL Search engine is search engine for upol.cz domain, \ topic of Master thesis on Department of Computer Science UPOL', author='Tomas Mikula', author_email='mail@tomasmikula.cz', license='MIT', url='https://github.com/UPOLSearch/UPOL-Search-Engine', packages=find_packages(), package_data={ 'upol_search_engine': ['config-default.ini', 'upol_search_engine/templates/*', 'upol_search_engine/static/css/*', 'upol_search_engine/static/js/*', 'upol_search_engine/static/fonts/*', 'upol_search_engine/static/images/*.png'], }, install_requires=[ 'beautifulsoup4', 'celery', 'lxml', 'pymongo', 'pytest', 'reppy', 'requests', 'w3lib', 'langdetect', 'networkx', 'psycopg2', 'flask', 'html5lib' ], entry_points={ 'console_scripts': [ 'upol_search_engine = upol_search_engine.__main__:main' ] } )
mit
Python
be300b38339f28eaa9c79c0a0f7a9baa0cf91465
bump in setup too
fsspec/filesystem_spec,intake/filesystem_spec,fsspec/filesystem_spec
setup.py
setup.py
#!/usr/bin/env python import os from setuptools import setup import versioneer here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, "README.md"), encoding="utf-8") as f: long_description = f.read() setup( name="fsspec", version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", ], description="File-system specification", long_description=long_description, long_description_content_type="text/markdown", url="http://github.com/intake/filesystem_spec", maintainer="Martin Durant", maintainer_email="mdurant@anaconda.com", license="BSD", keywords="file", packages=["fsspec", "fsspec.implementations"], python_requires=">=3.6", install_requires=open("requirements.txt").read().strip().split("\n"), extras_require={ ":python_version < '3.8'": ["importlib_metadata"], "abfs": ["adlfs"], "adl": ["adlfs"], "dask": ["dask", "distributed"], "dropbox": ["dropboxdrivefs", "requests", "dropbox"], "gcs": ["gcsfs"], "git": ["pygit2"], "github": ["requests"], "gs": ["gcsfs"], "hdfs": ["pyarrow >= 1"], "http": ["requests", "aiohttp"], "sftp": ["paramiko"], "s3": ["s3fs"], "smb": ["smbprotocol"], "ssh": ["paramiko"], }, zip_safe=False, )
#!/usr/bin/env python import os from setuptools import setup import versioneer here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, "README.md"), encoding="utf-8") as f: long_description = f.read() setup( name="fsspec", version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", ], description="File-system specification", long_description=long_description, long_description_content_type="text/markdown", url="http://github.com/intake/filesystem_spec", maintainer="Martin Durant", maintainer_email="mdurant@anaconda.com", license="BSD", keywords="file", packages=["fsspec", "fsspec.implementations"], python_requires=">=3.6", install_requires=open("requirements.txt").read().strip().split("\n"), extras_require={ ":python_version < '3.8'": ["importlib_metadata"], "abfs": ["adlfs"], "adl": ["adlfs"], "dask": ["dask", "distributed"], "dropbox": ["dropboxdrivefs", "requests", "dropbox"], "gcs": ["gcsfs"], "git": ["pygit2"], "github": ["requests"], "gs": ["gcsfs"], "hdfs": ["pyarrow"], "http": ["requests", "aiohttp"], "sftp": ["paramiko"], "s3": ["s3fs"], "smb": ["smbprotocol"], "ssh": ["paramiko"], }, zip_safe=False, )
bsd-3-clause
Python
dc73d33108c013272d3f776ccd0d1c649aee0b3e
Use list instead of set for install_requires
jni/skan
setup.py
setup.py
from setuptools import setup descr = """skan: skeleton analysis in Python. Inspired by the "Analyze skeletons" Fiji plugin, by Ignacio Arganda-Carreras. """ DISTNAME = 'skan' DESCRIPTION = 'Analysis of object skeletons' LONG_DESCRIPTION = descr MAINTAINER = 'Juan Nunez-Iglesias' MAINTAINER_EMAIL = 'juan.n@unimelb.edu.au' URL = 'https://github.com/jni/skan' LICENSE = 'BSD 3-clause' DOWNLOAD_URL = 'https://github.com/jni/skan' VERSION = '0.7.0-dev' PYTHON_VERSION = (3, 6) INST_DEPENDENCIES = [] if __name__ == '__main__': setup(name=DISTNAME, version=VERSION, url=URL, description=DESCRIPTION, long_description=LONG_DESCRIPTION, author=MAINTAINER, author_email=MAINTAINER_EMAIL, license=LICENSE, classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.6', 'Topic :: Scientific/Engineering', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Operating System :: Unix', 'Operating System :: MacOS', ], packages=['skan', 'skan.vendored'], package_data={}, install_requires=INST_DEPENDENCIES, entry_points = { 'console_scripts': ['skan-gui=skan.gui:launch'] } )
from setuptools import setup descr = """skan: skeleton analysis in Python. Inspired by the "Analyze skeletons" Fiji plugin, by Ignacio Arganda-Carreras. """ DISTNAME = 'skan' DESCRIPTION = 'Analysis of object skeletons' LONG_DESCRIPTION = descr MAINTAINER = 'Juan Nunez-Iglesias' MAINTAINER_EMAIL = 'juan.n@unimelb.edu.au' URL = 'https://github.com/jni/skan' LICENSE = 'BSD 3-clause' DOWNLOAD_URL = 'https://github.com/jni/skan' VERSION = '0.7.0-dev' PYTHON_VERSION = (3, 6) INST_DEPENDENCIES = {} if __name__ == '__main__': setup(name=DISTNAME, version=VERSION, url=URL, description=DESCRIPTION, long_description=LONG_DESCRIPTION, author=MAINTAINER, author_email=MAINTAINER_EMAIL, license=LICENSE, classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.6', 'Topic :: Scientific/Engineering', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Operating System :: Unix', 'Operating System :: MacOS', ], packages=['skan', 'skan.vendored'], package_data={}, install_requires=INST_DEPENDENCIES, entry_points = { 'console_scripts': ['skan-gui=skan.gui:launch'] } )
bsd-3-clause
Python
6d69373a442f6afc7ebf1a861eab90c84244adc5
Bump version.
francisleunggie/openface,cmusatyalab/openface,xinfang/face-recognize,Alexx-G/openface,francisleunggie/openface,nmabhi/Webface,nmabhi/Webface,nmabhi/Webface,nhzandi/openface,xinfang/face-recognize,Alexx-G/openface,xinfang/face-recognize,Alexx-G/openface,cmusatyalab/openface,nmabhi/Webface,nhzandi/openface,nhzandi/openface,Alexx-G/openface,cmusatyalab/openface,francisleunggie/openface
setup.py
setup.py
from distutils.core import setup setup( name='openface', version='0.2.0', description="Face recognition with Google's FaceNet deep neural network.", url='https://github.com/cmusatyalab/openface', packages=['openface'], package_data={'openface': ['*.lua']}, )
from distutils.core import setup setup( name='openface', version='0.1.1', description="Face recognition with Google's FaceNet deep neural network.", url='https://github.com/cmusatyalab/openface', packages=['openface'], package_data={'openface': ['*.lua']}, )
apache-2.0
Python
7c95e01bdbdbe95a6c42005b278473d05f82e2ef
Update setup.py
poldracklab/pydeface
setup.py
setup.py
#!/usr/bin/env python # # Copyright (C) 2013-2015 Russell Poldrack <poldrack@stanford.edu> # # Some portions were borrowed from: # https://github.com/mwaskom/lyman/blob/master/setup.py # and: # https://chriswarrick.com/blog/2014/09/15/python-apps-the-right-way-entry_points-and-scripts/ import os from setuptools import setup DISTNAME = "pydeface" DESCRIPTION = "pydeface: a script to remove facial structure from MRI images." MAINTAINER = 'Russ Poldrack' MAINTAINER_EMAIL = 'poldrack@stanford.edu' LICENSE = 'MIT' URL = 'http://poldracklab.org' DOWNLOAD_URL = 'https://github.com/poldracklab/pydeface/' VERSION = '2.0.0' if os.path.exists('MANIFEST'): os.remove('MANIFEST') datafiles = {'pydeface': ['data/facemask.nii.gz', 'data/mean_reg2mean.nii.gz']} setup(name=DISTNAME, maintainer=MAINTAINER, maintainer_email=MAINTAINER_EMAIL, description=DESCRIPTION, license=LICENSE, version=VERSION, url=URL, download_url=DOWNLOAD_URL, packages=['pydeface'], package_data=datafiles, classifiers=['Intended Audience :: Science/Research', 'Programming Language :: Python :: 3.7', 'License :: OSI Approved :: MIT License', 'Operating System :: POSIX', 'Operating System :: Unix', 'Operating System :: MacOS'], install_requires=['numpy', 'nibabel', 'nipype'], entry_points={ 'console_scripts': [ 'pydeface = pydeface.__main__:main' ]}, )
#!/usr/bin/env python # # Copyright (C) 2013-2015 Russell Poldrack <poldrack@stanford.edu> # # Some portions were borrowed from: # https://github.com/mwaskom/lyman/blob/master/setup.py # and: # https://chriswarrick.com/blog/2014/09/15/python-apps-the-right-way-entry_points-and-scripts/ import os from setuptools import setup DISTNAME = "pydeface" DESCRIPTION = "pydeface: a script to remove facial structure from MRI images." MAINTAINER = 'Russ Poldrack' MAINTAINER_EMAIL = 'poldrack@stanford.edu' LICENSE = 'MIT' URL = 'http://poldracklab.org' DOWNLOAD_URL = 'https://github.com/poldracklab/pydeface/' VERSION = '2.0' if os.path.exists('MANIFEST'): os.remove('MANIFEST') datafiles = {'pydeface': ['data/facemask.nii.gz', 'data/mean_reg2mean.nii.gz']} setup(name=DISTNAME, maintainer=MAINTAINER, maintainer_email=MAINTAINER_EMAIL, description=DESCRIPTION, license=LICENSE, version=VERSION, url=URL, download_url=DOWNLOAD_URL, packages=['pydeface'], package_data=datafiles, classifiers=['Intended Audience :: Science/Research', 'Programming Language :: Python :: 2.7', 'License :: OSI Approved :: BSD License', 'Operating System :: POSIX', 'Operating System :: Unix', 'Operating System :: MacOS'], install_requires=['numpy', 'nibabel', 'nipype'], entry_points={ 'console_scripts': [ 'pydeface = pydeface.__main__:main' ]}, )
mit
Python
58458a98735304b77c8f3665b87b220d2401b47b
Bump to 0.1.3
ulule/django-badgify,ulule/django-badgify
setup.py
setup.py
# -*- coding: utf-8 -*- import os from setuptools import setup, find_packages # Vagrant / tox workaround (http://bugs.python.org/issue8876#msg208792) if os.environ.get('USER', '') == 'vagrant': del os.link root = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(root, 'README.rst')) as f: README = f.read() setup( name='django-badgify', version='0.1.3', description='Badges app for Django', long_description=README, author='Gilles Fabio', author_email='gilles.fabio@gmail.com', url='http://github.com/ulule/django-badgify', packages=find_packages(), zip_safe=False, include_package_data=True, install_requires=[ 'Pillow==2.4.0', 'pytz', ], tests_require=['coverage', 'RandomWords'], classifiers=[ 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Utilities', ] )
# -*- coding: utf-8 -*- import os from setuptools import setup, find_packages # Vagrant / tox workaround (http://bugs.python.org/issue8876#msg208792) if os.environ.get('USER', '') == 'vagrant': del os.link root = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(root, 'README.rst')) as f: README = f.read() setup( name='django-badgify', version='0.1.2', description='Badges app for Django', long_description=README, author='Gilles Fabio', author_email='gilles.fabio@gmail.com', url='http://github.com/ulule/django-badgify', packages=find_packages(), zip_safe=False, include_package_data=True, install_requires=[ 'Pillow==2.4.0', 'pytz', ], tests_require=['coverage', 'RandomWords'], classifiers=[ 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Utilities', ] )
mit
Python
efed896d21ad90075a5c7bff2b2ef1300a237ea4
Add quick-fix
daGrevis/mdx_linkify
setup.py
setup.py
import os.path as path from setuptools import setup def get_readme(filename): if not path.exists(filename): return "" with open(path.join(path.dirname(__file__), filename)) as readme: content = readme.read() return content setup(name="mdx_linkify", version="0.4", author="Raitis (daGrevis) Stengrevics", author_email="dagrevis@gmail.com", description="Link recognition for Python Markdown", license="MIT", keywords="markdown links", url="https://github.com/daGrevis/mdx_linkify", packages=["mdx_linkify"], long_description=get_readme("README.md"), classifiers=[ "Topic :: Text Processing :: Markup", "Topic :: Utilities", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: Implementation :: PyPy", "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", ], install_requires=["Markdown>=2.4", "bleach>=1.4"], test_suite="mdx_linkify.tests")
import os.path as path from setuptools import setup def get_readme(filename): with open(path.join(path.dirname(__file__), filename)) as readme: content = readme.read() return content setup(name="mdx_linkify", version="0.4", author="Raitis (daGrevis) Stengrevics", author_email="dagrevis@gmail.com", description="Link recognition for Python Markdown", license="MIT", keywords="markdown links", url="https://github.com/daGrevis/mdx_linkify", packages=["mdx_linkify"], long_description=get_readme("README.md"), classifiers=[ "Topic :: Text Processing :: Markup", "Topic :: Utilities", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: Implementation :: PyPy", "Development Status :: 4 - Beta", "License :: OSI Approved :: MIT License", ], install_requires=["Markdown>=2.4", "bleach>=1.4"], test_suite="mdx_linkify.tests")
mit
Python
93b96f2e50ad917a61078ce6420eb025d9d5b862
fix setup.py
cemerick/nrepl-python-client
setup.py
setup.py
''' nrepl-python-client ------------------- A Python client for the nREPL Clojure networked-REPL server. Links ````` * `documentation <http://packages.python.org/nrepl-python-client>`_ * `development version <https://github.com/cemerick/nrepl-python-client>`_ ''' from setuptools import setup, find_packages description = "A Python client for the nREPL Clojure networked-REPL server." classifiers = ['Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development :: Interpreters', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Utilities'] setup(name="nrepl-python-client", version="0.0.1", packages=find_packages(), # metadata for upload to PyPI author="Chas Emerick", author_email="chas@cemerick.com", description=description, long_description=__doc__, license="BSD 3-clause", keywords="clojure repl nrepl", url="https://github.com/cemerick/nrepl-python-client", zip_safe=True, classifiers=classifiers)
''' nrepl-python-client ------------------- A Python client for the nREPL Clojure networked-REPL server. Links ````` * `documentation <http://packages.python.org/nrepl-python-client>`_ * `development version <https://github.com/cemerick/nrepl-python-client>`_ ''' from setuptools import setup, find_packages description = "A Python client for the nREPL Clojure networked-REPL server." classifiers = ['Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License' 'Natural Language :: English' 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development :: Interpreters', 'Topic :: Software Development :: Libraries :: Python Modules' 'Topic :: Utilities'] setup(name="nrepl-python-client", version="0.0.1", packages=find_packages(), # metadata for upload to PyPI author="Chas Emerick", author_email="chas@cemerick.com", description=description, long_description=__doc__, license="BSD 3-clause", keywords="clojure repl nrepl", url="https://github.com/cemerick/nrepl-python-client", zip_safe=True, classifiers=classifiers)
mit
Python
a3296cf5bf2201bd216e3a5b263a7c31beee4d1d
add Pylons as a dependency, r=fredj (closes #97)
mapfish/mapfish,mapfish/mapfish,mapfish/mapfish
setup.py
setup.py
# # Copyright (C) 2007-2008 Camptocamp # # This file is part of MapFish # # MapFish is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # MapFish is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with MapFish. If not, see <http://www.gnu.org/licenses/>. # try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages setup(name = 'MapFish', version = '0.1', license = 'LGPLv3', install_requires = ['SQLAlchemy == 0.4.0', 'Pylons >= 0.9.6.1', 'Shapely >= 1.0a7', 'GeoJSON >= 1.0a3'], zip_safe = False, include_package_data = True, packages = find_packages(), classifiers = [ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Scientific/Engineering :: GIS', ], entry_points = """ [paste.paster_create_template] mapfish = mapfish.util:MapFishTemplate [paste.paster_command] mf-controller = mapfish.commands:MapFishControllerCommand mf-model = mapfish.commands:MapFishModelCommand mf-layer = mapfish.commands:MapFishLayerCommand """ )
# # Copyright (C) 2007-2008 Camptocamp # # This file is part of MapFish # # MapFish is free software: you can redistribute it and/or modify # it under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # MapFish is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Lesser General Public License for more details. # # You should have received a copy of the GNU Lesser General Public License # along with MapFish. If not, see <http://www.gnu.org/licenses/>. # try: from setuptools import setup, find_packages except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages setup(name = 'MapFish', version = '0.1', license = 'LGPLv3', install_requires = ['SQLAlchemy == 0.4.0', 'Shapely >= 1.0a7', 'GeoJSON >= 1.0a3'], zip_safe = False, include_package_data = True, packages = find_packages(), classifiers = [ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Scientific/Engineering :: GIS', ], entry_points = """ [paste.paster_create_template] mapfish = mapfish.util:MapFishTemplate [paste.paster_command] mf-controller = mapfish.commands:MapFishControllerCommand mf-model = mapfish.commands:MapFishModelCommand mf-layer = mapfish.commands:MapFishLayerCommand """ )
bsd-3-clause
Python
8494b08bf0db08cbe4162a97f9bef4f108747cb9
bump minor version: fixed .perform and added tests.
thruflo/pyramid_torque_engine,opendesk/pyramid_torque_engine
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = 'pyramid_torque_engine', version = '0.2.6', description = 'Pyramid and nTorque based dual queue work engine system.', author = 'James Arthur', author_email = 'username: thruflo, domain: gmail.com', url = 'http://github.com/thruflo/pyramid_torque_engine', classifiers = [ 'Development Status :: 3 - Alpha', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: Public Domain', 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', 'Framework :: Pylons', 'Topic :: Internet :: WWW/HTTP :: WSGI', ], packages = find_packages('src'), package_dir = {'': 'src'}, include_package_data = True, zip_safe = False, install_requires=[ 'fysom', # 'ntorque', 'pyramid_basemodel', 'pyramid_simpleauth', 'transaction', 'zope.interface' ], tests_require = [ 'coverage', 'nose', 'mock' ] )
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup( name = 'pyramid_torque_engine', version = '0.2.5', description = 'Pyramid and nTorque based dual queue work engine system.', author = 'James Arthur', author_email = 'username: thruflo, domain: gmail.com', url = 'http://github.com/thruflo/pyramid_torque_engine', classifiers = [ 'Development Status :: 3 - Alpha', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: Public Domain', 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', 'Framework :: Pylons', 'Topic :: Internet :: WWW/HTTP :: WSGI', ], packages = find_packages('src'), package_dir = {'': 'src'}, include_package_data = True, zip_safe = False, install_requires=[ 'fysom', # 'ntorque', 'pyramid_basemodel', 'pyramid_simpleauth', 'transaction', 'zope.interface' ], tests_require = [ 'coverage', 'nose', 'mock' ] )
unlicense
Python
9d2df9cbeebaee7ff87957b49e72e5d762550aee
Add keywords and classifiers to setup.py
aldur/RedditWallpaperChooser
setup.py
setup.py
#!/usr/bin/env python # encoding: utf-8 """ Python setup file. """ import setuptools import os.path from RedditWallpaperChooser import __version__ __author__ = 'aldur' _readme = "README.md" _requirements = "requirements.txt" _requirements_extra = "requirements_extra.txt" def readme(): """Open and return the _readme contents.""" if not os.path.isfile(_readme): return "" with open(_readme) as f: return f.read() def requirements(): """Open and return the _requirements contents.""" if not os.path.isfile(_requirements): return [] with open(_requirements) as f: return [line.rstrip() for line in f] def requirements_extras(): """Open and return the other requirement files content.""" extra = dict() if not os.path.isfile(_requirements_extra): return extra with open(_requirements_extra) as f: extra.update({ 'extras': [line.rstrip() for line in f] }) return extra setuptools.setup( name='RedditWallpaperChooser', description='Automatically download trending wallpapers from subreddits of your choice.', long_description=readme(), version=__version__, url='https://github.com/aldur/RedditWallpaperChooser', license='MIT', author='aldur', author_email='adrianodl@hotmail.it', packages=[ "RedditWallpaperChooser", ], install_requires=requirements(), extras_require=requirements_extras(), scripts=[ "bin/RedditWallpaperChooser" ], zip_safe=False, include_package_data=True, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Intended Audience :: End Users/Desktop', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3.5', 'Topic :: Desktop Environment', 'Topic :: Multimedia', 'Topic :: Utilities', ], keywords="Reddit subreddit wallpaper desktop" )
#!/usr/bin/env python # encoding: utf-8 """ Python setup file. """ import setuptools import os.path from RedditWallpaperChooser import __version__ __author__ = 'aldur' _readme = "README.md" _requirements = "requirements.txt" _requirements_extra = "requirements_extra.txt" def readme(): """Open and return the _readme contents.""" if not os.path.isfile(_readme): return "" with open(_readme) as f: return f.read() def requirements(): """Open and return the _requirements contents.""" if not os.path.isfile(_requirements): return [] with open(_requirements) as f: return [line.rstrip() for line in f] def requirements_extras(): """Open and return the other requirement files content.""" extra = dict() if not os.path.isfile(_requirements_extra): return extra with open(_requirements_extra) as f: extra.update({ 'extras': [line.rstrip() for line in f] }) return extra setuptools.setup( name='RedditWallpaperChooser', description='Automatically download the most trending wallpapers from subreddits of your choice.', long_description=readme(), version=__version__, url='https://github.com/aldur/RedditWallpaperChooser', license='MIT', author='aldur', author_email='adrianodl@hotmail.it', packages=[ "RedditWallpaperChooser", ], install_requires=requirements(), extras_require=requirements_extras(), scripts=[ "bin/RedditWallpaperChooser" ], zip_safe=False, include_package_data=True, # TODO: include classifiers and keywords. )
mit
Python
f2282fa651fbf4df3a96315bd03e2241c0e4319b
Add package classifiers
thusoy/pwm,thusoy/pwm
setup.py
setup.py
#!/usr/bin/env python """ pwm ~~~~~~~~~~~~~~ pwm is a simple, secure password manager that can't disclose your passwords - since it's doesn't know them. """ import sys from setuptools import setup, find_packages install_requires = [ 'sqlalchemy', 'requests', ] if sys.version_info < (2, 7, 0): install_requires.append('argparse') setup( name='pwm', version='0.1.0', author='Tarjei Husøy', author_email='tarjei@roms.no', url='https://github.com/thusoy/pwm', description="A superlight password manager", packages=find_packages(), install_requires=install_requires, extras_require={ 'test': ['mock', 'nose', 'coverage'], }, entry_points={ 'console_scripts': [ 'pwm = pwm:main', ] }, classifiers=[ # 'Development Status :: 1 - Planning', 'Development Status :: 2 - Pre-Alpha', # 'Development Status :: 3 - Alpha', # 'Development Status :: 4 - Beta', # 'Development Status :: 5 - Production/Stable', # 'Development Status :: 6 - Mature', # 'Development Status :: 7 - Inactive', # 'Intended Audience :: Customer Service', 'Intended Audience :: Developers', # 'Intended Audience :: Education', 'Intended Audience :: End Users/Desktop', # 'Intended Audience :: Financial and Insurance Industry', # 'Intended Audience :: Healthcare Industry', # 'Intended Audience :: Information Technology', # 'Intended Audience :: Legal Industry', # 'Intended Audience :: Manufacturing', # 'Intended Audience :: Other Audience', # 'Intended Audience :: Religion', # 'Intended Audience :: Science/Research', # 'Intended Audience :: System Administrators', # 'Intended Audience :: Telecommunications Industry', 'License :: OSI Approved :: MIT License', # 'Programming Language :: Python :: 2.6', # 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.3', # 'Programming Language :: Python :: 3.4', # 'Topic :: Internet :: WWW/HTTP :: HTTP Servers', # 'Topic :: Internet :: WWW/HTTP :: WSGI :: Application', # 'Topic :: Security', ], )
#!/usr/bin/env python """ pwm ~~~~~~~~~~~~~~ pwm is a simple, secure password manager that can't disclose your passwords - since it's doesn't know them. """ import sys from setuptools import setup, find_packages install_requires = [ 'sqlalchemy', 'requests', ] if sys.version_info < (2, 7, 0): install_requires.append('argparse') setup( name='pwm', version='0.1.0', author='Tarjei Husøy', author_email='tarjei@roms.no', url='https://github.com/thusoy/pwm', description="A superlight password manager", packages=find_packages(), install_requires=install_requires, extras_require={ 'test': ['mock', 'nose', 'coverage'], }, entry_points={ 'console_scripts': [ 'pwm = pwm:main', ] }, )
mit
Python
92b2524f977ef1b5f14496fbfc9e00363ca42099
fix imports
django-py/django-doberman,dobermanapp/django-doberman,dobermanapp/django-doberman,django-py/django-doberman
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages requirements = ['Django>=1.7.0', ] try: from unittest import mock except ImportError: requirements.append('mock') setup( name="django-doberman", version="0.5.3", author="Nicolas Mendoza", author_email="niccolasmendoza@gmail.com", maintainer='Nicolas Mendoza', maintainer_email='niccolasmendoza@gmail.com', description="Django app that locks out users after too many failed login attempts.", long_description=open('README.rst').read(), license="MIT License", keywords="django locks users account login attempts banned ip doberman authentication", url="https://github.com/nicchub/django-doberman", packages=[ 'doberman' ], include_package_data=True, tests_require=['python-coveralls'], install_requires=requirements, classifiers=[ "Development Status :: 1 - Planning", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Framework :: Django", "Framework :: Django :: 1.7", "Framework :: Django :: 1.8", "Topic :: Software Development", "Topic :: Software Development :: Libraries" ] )
#!/usr/bin/env python from setuptools import setup, find_packages requirements = ['Django>=1.7.0', ] try: from unittest import mock except ImportError: requirements.append('mock') setup( name="django-doberman", version="0.5.2", author="Nicolas Mendoza", author_email="niccolasmendoza@gmail.com", maintainer='Nicolas Mendoza', maintainer_email='niccolasmendoza@gmail.com', description="Django app that locks out users after too many failed login attempts.", long_description=open('README.rst').read(), license="MIT License", keywords="django locks users account login attempts banned ip doberman authentication", url="https://github.com/nicchub/django-doberman", packages=[ 'doberman' ], include_package_data=True, tests_require=['python-coveralls'], install_requires=requirements, classifiers=[ "Development Status :: 1 - Planning", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.2", "Framework :: Django", "Framework :: Django :: 1.7", "Framework :: Django :: 1.8", "Topic :: Software Development", "Topic :: Software Development :: Libraries" ] )
mit
Python
b4d51f0e5bc5be63d818171cf21e989de1398038
add a test command
gazpachoking/jsonref
setup.py
setup.py
from distutils.core import setup, Command from jsonref import __version__ class PyTest(Command): user_options = [] def initialize_options(self): pass def finalize_options(self): pass def run(self): import sys,subprocess errno = subprocess.call(['py.test', 'tests.py']) raise SystemExit(errno) with open("README.rst") as readme: long_description = readme.read() classifiers = [ "Development Status :: 1 - Planning", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] setup( name="jsonref", version=__version__, py_modules=["jsonref", "proxytypes"], author="Chase Sterling", author_email="chase.sterling@gmail.com", classifiers=classifiers, description="An implementation of JSON Reference for Python", license="MIT", long_description=long_description, url="https://github.com/gazpachoking/jsonref", cmdclass={ 'test': PyTest, }, )
from distutils.core import setup from jsonref import __version__ with open("README.rst") as readme: long_description = readme.read() classifiers = [ "Development Status :: 1 - Planning", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] setup( name="jsonref", version=__version__, py_modules=["jsonref", "proxytypes"], author="Chase Sterling", author_email="chase.sterling@gmail.com", classifiers=classifiers, description="An implementation of JSON Reference for Python", license="MIT", long_description=long_description, url="https://github.com/gazpachoking/jsonref", )
mit
Python
c607cf3331fa055e183a3d88be1cc808ac9c4063
fix threading locking textinput
flower-pot/xf-indicator
travis_xf/indicator.py
travis_xf/indicator.py
#!/usr/bin/env python import requests import sys import threading from repository import Repository from repository_list import RepositoryList from preferences_window import PreferencesWindow from build_status import BuildStatus from gi.repository import AppIndicator3 from gi.repository import GObject, Gtk, GLib REFRESH_INTERVAL = 3 class Indicator: def __init__(self): self.indicator = AppIndicator3.Indicator.new("travis-xf", "ubuntuone-client-idle", AppIndicator3.IndicatorCategory.APPLICATION_STATUS) self.indicator.set_status(AppIndicator3.IndicatorStatus.ACTIVE) self.repositories = RepositoryList() self.repositories.load() BuildStatus.active.set_indicator_icon(self.indicator) self.indicator.set_menu(self.build_menu()) self.refresh_thread = None self.editing_preferences = False self.setup_refresh_timer() def on_preferences_activate(self, widget): self.preferences_window = PreferencesWindow(self.repositories, self.return_from_preferences_callback) self.editing_preferences = True def return_from_preferences_callback(self, new_repositories): # set new repositories and reset connected components BuildStatus.active.set_indicator_icon(self.indicator) self.repositories = new_repositories self.indicator.set_menu(self.build_menu()) self.editing_preferences = False def build_menu(self): menu = Gtk.Menu() self.repositories.create_menu_items(menu) self.add_menu_item(menu, "Preferences", self.on_preferences_activate) self.add_menu_item(menu, "Quit", self.quit) return menu def add_menu_item(self, menu, title, activate_handler): item = Gtk.MenuItem(title) item.connect("activate", activate_handler) item.show() menu.append(item) def setup_refresh_timer(self): GLib.timeout_add_seconds(REFRESH_INTERVAL, self.check_all_build_statuses) def check_all_build_statuses(self): if not self.editing_preferences: self.repositories.set_indicator_icon(self.indicator) return True def quit(self, widget): self.repositories.save() Gtk.main_quit()
#!/usr/bin/env python import requests import sys import threading from repository import Repository from repository_list import RepositoryList from preferences_window import PreferencesWindow from build_status import BuildStatus from gi.repository import AppIndicator3 from gi.repository import GObject, Gtk, GLib REFRESH_INTERVAL = 10 class Indicator: def __init__(self): self.indicator = AppIndicator3.Indicator.new("travis-xf", "ubuntuone-client-idle", AppIndicator3.IndicatorCategory.APPLICATION_STATUS) self.indicator.set_status(AppIndicator3.IndicatorStatus.ACTIVE) self.repositories = RepositoryList() self.repositories.load() BuildStatus.active.set_indicator_icon(self.indicator) self.indicator.set_menu(self.build_menu()) self.refresh_thread = None self.setup_refresh_timer() def on_preferences_activate(self, widget): self.preferences_window = PreferencesWindow(self.repositories, self.return_from_preferences_callback) def return_from_preferences_callback(self, new_repositories): # set new repositories and reset connected components BuildStatus.active.set_indicator_icon(self.indicator) self.repositories = new_repositories self.indicator.set_menu(self.build_menu()) def build_menu(self): menu = Gtk.Menu() self.repositories.create_menu_items(menu) self.add_menu_item(menu, "Preferences", self.on_preferences_activate) self.add_menu_item(menu, "Quit", self.quit) return menu def add_menu_item(self, menu, title, activate_handler): item = Gtk.MenuItem(title) item.connect("activate", activate_handler) item.show() menu.append(item) def setup_refresh_timer(self): GLib.timeout_add_seconds(REFRESH_INTERVAL, self.check_all_build_statuses) def check_all_build_statuses(self): self.repositories.set_indicator_icon(self.indicator) return True def quit(self, widget): self.repositories.save() Gtk.main_quit()
mit
Python
d0d50f5a0a7dd325f35401745d9e6d8ed983a0f4
bump version to 1.8.0
brennerm/check-mk-web-api
setup.py
setup.py
from setuptools import setup setup( name='check_mk_web_api', packages=['check_mk_web_api'], version='1.8.0', description='Library to talk to Check_Mk Web API', author='Max Brenner', author_email='xamrennerb@gmail.com', url='https://github.com/brennerm/check-mk-web-api', download_url='https://github.com/brennerm/check-mk-web-api/archive/1.8.0.tar.gz', install_requires=['enum34;python_version<"3.4"', 'six'], setup_requires=['pytest-runner'], tests_require=['pytest'], keywords=['check_mk', 'api', 'monitoring'] )
from setuptools import setup setup( name='check_mk_web_api', packages=['check_mk_web_api'], version='1.7.1', description='Library to talk to Check_Mk Web API', author='Max Brenner', author_email='xamrennerb@gmail.com', url='https://github.com/brennerm/check-mk-web-api', download_url='https://github.com/brennerm/check-mk-web-api/archive/1.6.tar.gz', install_requires=['enum34;python_version<"3.4"', 'six'], setup_requires=['pytest-runner'], tests_require=['pytest'], keywords=['check_mk', 'api', 'monitoring'] )
mit
Python
01a7ee9f45b85d42cf97ed59b3aa74f799c16ed2
Set long_description_content_type
wbinglee/awscli-plugin-endpoint
setup.py
setup.py
#!/usr/bin/env python import sys from setuptools import setup requires = ['awscli>=1.11.0'] setup( name='awscli-plugin-endpoint', packages=['awscli_plugin_endpoint'], version='0.3', description='Endpoint plugin for AWS CLI', long_description=open('README.md').read(), long_description_content_type='text/markdown', author='Wenbing Li', author_email='wbingli@gmail.com', url='https://github.com/wbingli/awscli-plugin-endpoint', download_url='https://github.com/wbingli/awscli-plugin-endpoint/tarball/0.3', keywords=['awscli', 'plugin', 'endpoint'], install_requires=requires, classifiers = [] )
#!/usr/bin/env python import sys from setuptools import setup requires = ['awscli>=1.11.0'] setup( name='awscli-plugin-endpoint', packages=['awscli_plugin_endpoint'], version='0.3', description='Endpoint plugin for AWS CLI', long_description=open('README.md').read(), author='Wenbing Li', author_email='wbingli@gmail.com', url='https://github.com/wbingli/awscli-plugin-endpoint', download_url='https://github.com/wbingli/awscli-plugin-endpoint/tarball/0.3', keywords=['awscli', 'plugin', 'endpoint'], install_requires=requires, classifiers = [] )
apache-2.0
Python
7b906b954b29b78709c8270d6920196f0b53ddf2
remove long description so there's a README.
buchuki/opterator
setup.py
setup.py
from setuptools import setup import opterator setup( name="opterator", version=opterator.__version__, py_modules=['opterator', 'test_opterator'], author="Dusty Phillips", author_email="dusty@buchuki.com", license="MIT", keywords="opterator option parse parser options", url="http://github.com/buchuki/opterator/", description="Easy option parsing introspected from function signature.", download_url="https://github.com/buchuki/opterator/archive/0.3.tar.gz", classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.3', ] )
from setuptools import setup import opterator setup( name="opterator", version=opterator.__version__, py_modules=['opterator', 'test_opterator'], author="Dusty Phillips", author_email="dusty@buchuki.com", license="MIT", keywords="opterator option parse parser options", url="http://github.com/buchuki/opterator/", description="Easy option parsing introspected from function signature.", long_description="""A decorator for a script's main entry point that uses a function signature and docstring to pseudo-automatically create an option parser. When invoked, the option parser automatically maps command-line arguments to function parameters.""", download_url="https://github.com/buchuki/opterator/archive/0.3.tar.gz", classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.3', ] )
mit
Python
ecdd0aeaeae9abafde149b8231fb54053384581f
Bump version
gizmag/django-generic-follow,gizmag/django-generic-follow
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='django-generic-follow', version='0.5.2', description='Generic follow system for Django', long_description=open('README.rst').read(), author='Gizmag', author_email='tech@gizmag.com', url='https://github.com/gizmag/django-generic-follow', packages=find_packages(exclude=['tests']), install_requires=['django >= 1.8'], test_suite='runtests.runtests', tests_require=['django', 'django_nose'] )
#!/usr/bin/env python from setuptools import setup, find_packages setup( name='django-generic-follow', version='0.5.1', description='Generic follow system for Django', long_description=open('README.rst').read(), author='Gizmag', author_email='tech@gizmag.com', url='https://github.com/gizmag/django-generic-follow', packages=find_packages(exclude=['tests']), install_requires=['django >= 1.8'], test_suite='runtests.runtests', tests_require=['django', 'django_nose'] )
mit
Python
a4bf060b62524f6fc4258b736ffe6b0a041c5d49
Add requires metadata for django and python-openid.
redsolution/django-openid-auth
setup.py
setup.py
#!/usr/bin/env python # django-openid-auth - OpenID integration for django.contrib.auth # # Copyright (C) 2009 Canonical Ltd. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # # * Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. """OpenID integration for django.contrib.auth A library that can be used to add OpenID support to Django applications. The library integrates with Django's built in authentication system, so most applications require minimal changes to support OpenID llogin. The library also includes the following features: * Basic user details are transferred from the OpenID server via the simple Registration extension. * can be configured to use a fixed OpenID server URL, for use in SSO. * supports the launchpad.net teams extension to get team membership info. """ from distutils.core import setup description, long_description = __doc__.split('\n\n', 1) setup( name='django-openid-auth', version='0.1', author='Canonical Ltd', description=description, long_description=long_description, license='BSD', platforms=['any'], url='https://launchpad.net/django-openid-auth', download_url='https://launchpad.net/django-openid-auth/+download', classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development :: Libraries :: Python Modules' ], packages=[ 'django_openid_auth', 'django_openid_auth.management', 'django_openid_auth.management.commands', 'django_openid_auth.tests', ], package_data={ 'django_openid_auth': ['templates/openid/*.html'], }, provides=['django_openid_auth'], requires=['django (>=1.0)', 'openid (>=2.2.0)'], )
#!/usr/bin/env python # django-openid-auth - OpenID integration for django.contrib.auth # # Copyright (C) 2009 Canonical Ltd. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # # * Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the # documentation and/or other materials provided with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. """OpenID integration for django.contrib.auth A library that can be used to add OpenID support to Django applications. The library integrates with Django's built in authentication system, so most applications require minimal changes to support OpenID llogin. The library also includes the following features: * Basic user details are transferred from the OpenID server via the simple Registration extension. * can be configured to use a fixed OpenID server URL, for use in SSO. * supports the launchpad.net teams extension to get team membership info. """ from distutils.core import setup description, long_description = __doc__.split('\n\n', 1) setup( name='django-openid-auth', version='0.1', author='Canonical Ltd', description=description, long_description=long_description, license='BSD', platforms=['any'], url='https://launchpad.net/django-openid-auth', download_url='https://launchpad.net/django-openid-auth/+download', classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development :: Libraries :: Python Modules' ], packages=[ 'django_openid_auth', 'django_openid_auth.management', 'django_openid_auth.management.commands', 'django_openid_auth.tests', ], package_data={ 'django_openid_auth': ['templates/openid/*.html'], }, )
bsd-2-clause
Python
ef30ed4a6a7b856aaefa658f05e01c58b79d38b9
fix dev status
shadowfax-chc/pycsync
setup.py
setup.py
#!/bin/env python # vim: set et ts=4 sw=4 fileencoding=utf-8: ''' Setup script for pycsync ''' import os from setuptools import setup # Ensure we are in pycsync source dir SETUP_DIRNAME = os.path.dirname(__file__) if SETUP_DIRNAME != '': os.chdir(SETUP_DIRNAME) PYCSYNC_VERSION = os.path.join(os.path.abspath(SETUP_DIRNAME), 'pycsync', 'version.py') PYCSYNC_REQS = os.path.join(os.path.abspath(SETUP_DIRNAME), 'requirements.txt') # pylint: disable=W0122 exec(compile(open(PYCSYNC_VERSION).read(), PYCSYNC_VERSION, 'exec')) # pylint: enable=W0122 VER = __version__ # pylint: disable=E0602 REQUIREMENTS = [] with open(PYCSYNC_REQS) as rfh: for line in rfh.readlines(): if not line or line.startswith('#'): continue REQUIREMENTS.append(line.strip()) SETUP_KWARGS = { 'name': 'pycsync', 'version': VER, 'url': 'https://github.com/shadowfax-chc/pycsync', 'license': 'ISC', 'description': 'Sync local photos with Flickr', 'author': 'Timothy F Messier', 'author_email': 'tim.messier@gmail.com', 'classifiers': [ 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Intended Audience :: End Users/Desktop', 'Environment :: Console', ('License :: OSI Approved ::' ' ISC License (ISCL)'), 'Operating System :: POSIX :: Linux', ], 'packages': ['pycsync'], 'package_data': {}, 'data_files': [], 'scripts': ['scripts/pycsync'], 'install_requires': REQUIREMENTS, 'zip_safe': False, } if __name__ == '__main__': setup(**SETUP_KWARGS) # pylint: disable=W0142
#!/bin/env python # vim: set et ts=4 sw=4 fileencoding=utf-8: ''' Setup script for pycsync ''' import os from setuptools import setup # Ensure we are in pycsync source dir SETUP_DIRNAME = os.path.dirname(__file__) if SETUP_DIRNAME != '': os.chdir(SETUP_DIRNAME) PYCSYNC_VERSION = os.path.join(os.path.abspath(SETUP_DIRNAME), 'pycsync', 'version.py') PYCSYNC_REQS = os.path.join(os.path.abspath(SETUP_DIRNAME), 'requirements.txt') # pylint: disable=W0122 exec(compile(open(PYCSYNC_VERSION).read(), PYCSYNC_VERSION, 'exec')) # pylint: enable=W0122 VER = __version__ # pylint: disable=E0602 REQUIREMENTS = [] with open(PYCSYNC_REQS) as rfh: for line in rfh.readlines(): if not line or line.startswith('#'): continue REQUIREMENTS.append(line.strip()) SETUP_KWARGS = { 'name': 'pycsync', 'version': VER, 'url': 'https://github.com/shadowfax-chc/pycsync', 'license': 'ISC', 'description': 'Sync local photos with Flickr', 'author': 'Timothy F Messier', 'author_email': 'tim.messier@gmail.com', 'classifiers': [ 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', 'Development Status :: 3 - Beta', 'Intended Audience :: Developers', 'Intended Audience :: End Users/Desktop', 'Environment :: Console', ('License :: OSI Approved ::' ' ISC License (ISCL)'), 'Operating System :: POSIX :: Linux', ], 'packages': ['pycsync'], 'package_data': {}, 'data_files': [], 'scripts': ['scripts/pycsync'], 'install_requires': REQUIREMENTS, 'zip_safe': False, } if __name__ == '__main__': setup(**SETUP_KWARGS) # pylint: disable=W0142
isc
Python
ef72edebc38c88d7c9fbd49b36ce55408867b3b9
Update inversetoon init.
tody411/InverseToon
setup.py
setup.py
# -*- coding: utf-8 -*- ## @package setup # # setup utility package. # @author tody # @date 2015/07/29 from setuptools import setup, find_packages from inversetoon import __author__, __version__, __license__ setup( name = 'inversetoon', version = __version__, description = 'Sample implementation of Inverse Toon Shading [Xu et al. 2015]', license = __license__, author = __author__, url = 'https://github.com/tody411/InverseToon.git', packages = find_packages(), install_requires = ['docopt'], )
# -*- coding: utf-8 -*- ## @package setup # # setup utility package. # @author tody # @date 2015/07/29 from setuptools import setup, find_packages from npr_sfs import __author__, __version__, __license__ setup( name = 'inversetoon', version = __version__, description = 'Sample implementation of Inverse Toon Shading [Xu et al. 2015]', license = __license__, author = __author__, url = 'https://github.com/tody411/InverseToon.git', packages = find_packages(), install_requires = ['docopt'], )
mit
Python
d3025e05ba0dba3ca19996438666c6dc277814a6
Bump version
relip/django-model-repr
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup setup(name='django-model-repr', version='0.0.2', description='A django library for Model\'s __repr__ to be more informative', author='Larry Kim', author_email='pypi@relip.org', packages=['django_model_repr'], )
#!/usr/bin/env python from distutils.core import setup setup(name='django-model-repr', version='0.0.1', description='A django library for Model\'s __repr__ to be more informative', author='Larry Kim', author_email='pypi@relip.org', packages=['django_model_repr'], )
mit
Python
dab2112a8db676d47c8068c559fdf89ee9857516
Bump version number
thegreatnew/python-ideal
setup.py
setup.py
from distutils.core import setup setup(name='python-ideal', version='0.2', py_modules=['ideal'], )
from distutils.core import setup setup(name='python-ideal', version='0.1', py_modules=['ideal'], )
mit
Python
e31e6bd602ce797de879e50ff396eb535abda17b
Update project status
rolobio/pgpydict,rolobio/DictORM
setup.py
setup.py
from setuptools import setup from dictorm.dictorm import __version__, __doc__ as ddoc config = { 'name':'dictorm', 'version':str(__version__), 'author':'rolobio', 'author_email':'rolobio+dictorm@rolobio.com', 'description':ddoc, 'license':'Apache2', 'keywords':'psycopg2 dictionary python dict', 'url':'https://github.com/rolobio/DictORM', 'packages':[ 'dictorm', ], 'long_description':ddoc, 'classifiers':[ "Development Status :: 5 - Production/Stable", "Topic :: Utilities", ], 'test_suite':'dictorm.test_dictorm', } setup(**config)
from setuptools import setup from dictorm.dictorm import __version__, __doc__ as ddoc config = { 'name':'dictorm', 'version':str(__version__), 'author':'rolobio', 'author_email':'rolobio+dictorm@rolobio.com', 'description':ddoc, 'license':'Apache2', 'keywords':'psycopg2 dictionary python dict', 'url':'https://github.com/rolobio/DictORM', 'packages':[ 'dictorm', ], 'long_description':ddoc, 'classifiers':[ "Development Status :: 4 - Beta", "Topic :: Utilities", ], 'test_suite':'dictorm.test_dictorm', } setup(**config)
apache-2.0
Python
70c2f479b320d0d7ea8b05fb48e135150632a969
bump version
ldgabbay/foostache-python
setup.py
setup.py
# -*- coding: utf-8 -*- import os from setuptools import setup, find_packages def read(*paths): with open(os.path.join(*paths), 'r') as f: return f.read() setup( name='foostache', version='1.2.dev0', description='Implementation of foostache template language', long_description=read('description.rst'), url='https://github.com/ldgabbay/foostache-python/', author='Lynn Gabbay', author_email='gabbay@gmail.com', license='MIT', classifiers = [ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2 :: Only', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Text Processing', ], packages=find_packages(), scripts=['bin/foostache'], keywords='foostache mustache', install_requires=[ "antlr4-python2-runtime~=4.5.1", "ujson==1.35" ] )
# -*- coding: utf-8 -*- import os from setuptools import setup, find_packages def read(*paths): with open(os.path.join(*paths), 'r') as f: return f.read() setup( name='foostache', version='1.1.2', description='Implementation of foostache template language', long_description=read('description.rst'), url='https://github.com/ldgabbay/foostache-python/', author='Lynn Gabbay', author_email='gabbay@gmail.com', license='MIT', classifiers = [ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2 :: Only', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Text Processing', ], packages=find_packages(), scripts=['bin/foostache'], keywords='foostache mustache', install_requires=[ "antlr4-python2-runtime~=4.5.1", "ujson==1.35" ] )
mit
Python
eb193700f884379705f2f23624eb907868eca0af
Fix setup.py so it installs actual modules
jstasiak/python-cg,jstasiak/python-cg
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import platform from distutils.core import setup from distutils.extension import Extension from os import environ from Cython.Distutils import build_ext if platform.system() == 'Darwin': environ['LDFLAGS']='-framework Cg' libraries=[] else: libraries=['Cg', 'CgGL', 'GL'] extensions = [ Extension( "cg.bridge", ["src/bridge.pyx"], libraries=libraries, include_dirs=['src'], ) ] setup( name='python-cg', version='0.1', description='Python wrapper for NVidia Cg Toolkit', author='Jakub Stasiak', author_email='jakub@stasiak.at', package_dir=dict(cg='src'), packages=['cg'], cmdclass={'build_ext': build_ext}, ext_modules=extensions, requires=[ 'cython', 'nose', ], )
#!/usr/bin/env python # -*- coding: utf-8 -*- import platform from distutils.core import setup from distutils.extension import Extension from os import environ from Cython.Distutils import build_ext if platform.system() == 'Darwin': environ['LDFLAGS']='-framework Cg' libraries=[] else: libraries=['Cg', 'CgGL', 'GL'] extensions = [ Extension( "cg.bridge", ["src/bridge.pyx"], libraries=libraries, include_dirs=['src'], ) ] setup( name='python-cg', version='0.1', description='Python wrapper for NVidia Cg Toolkit', author='Jakub Stasiak', author_email='jakub@stasiak.at', package_dir=dict(cg='src'), cmdclass={'build_ext': build_ext}, ext_modules=extensions, requires=[ 'cython', 'nose', ], )
mit
Python
800812fabd27c939761a7c435d5ecd2250cefeb2
apply cosmetic changes
pyannote/pyannote-audio,pyannote/pyannote-audio,pyannote/pyannote-audio
setup.py
setup.py
#!/usr/bin/env python # encoding: utf-8 # The MIT License (MIT) # Copyright (c) 2016-2019 CNRS # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. # AUTHORS # Hervé BREDIN - http://herve.niderb.fr import versioneer from setuptools import setup, find_packages with open('README.md') as f: long_description = f.read() with open('requirements.txt') as f: requirements = f.read().splitlines() setup( name='pyannote.audio', namespace_packages=['pyannote'], packages=find_packages(), install_requires=requirements, entry_points = { 'console_scripts': [ 'pyannote-speech-feature=pyannote.audio.applications.feature_extraction:main', 'pyannote-speech-detection=pyannote.audio.applications.speech_detection:main', 'pyannote-change-detection=pyannote.audio.applications.change_detection:main', 'pyannote-overlap-detection=pyannote.audio.applications.overlap_detection:main', 'pyannote-segmentation=pyannote.audio.applications.segmentation:main', 'pyannote-speaker-embedding=pyannote.audio.applications.speaker_embedding:main'] }, version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), description='Neural building blocks for speaker diarization', long_description=long_description, long_description_content_type='text/markdown', author='Hervé Bredin', author_email='bredin@limsi.fr', url='https://github.com/pyannote/pyannote-audio', classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Scientific/Engineering" ], )
#!/usr/bin/env python # encoding: utf-8 # The MIT License (MIT) # Copyright (c) 2016-2019 CNRS # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. # AUTHORS # Hervé BREDIN - http://herve.niderb.fr import versioneer from setuptools import setup, find_packages with open('README.md') as f: long_description = f.read() with open('requirements.txt') as f: requirements = f.read().splitlines() setup( # package namespace_packages=['pyannote'], packages=find_packages(), install_requires=requirements, entry_points = { 'console_scripts': [ 'pyannote-speech-feature=pyannote.audio.applications.feature_extraction:main', 'pyannote-speech-detection=pyannote.audio.applications.speech_detection:main', 'pyannote-change-detection=pyannote.audio.applications.change_detection:main', 'pyannote-overlap-detection=pyannote.audio.applications.overlap_detection:main', 'pyannote-segmentation=pyannote.audio.applications.segmentation:main', 'pyannote-speaker-embedding=pyannote.audio.applications.speaker_embedding:main'] }, # versioneer version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), # PyPI name='pyannote.audio', description='Neural building blocks for speaker diarization', long_description=long_description, long_description_content_type='text/markdown', author='Hervé Bredin', author_email='bredin@limsi.fr', url='https://github.com/pyannote/pyannote-audio', classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Scientific/Engineering" ], )
mit
Python
fd7e51c3290b8932b367d0d9318b1802a930e899
Bump version
netbek/chrys,netbek/chrys,netbek/chrys
setup.py
setup.py
import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="chrys", version="3.0.5", author="Hein Bekker", author_email="hein@netbek.co.za", description="A collection of color palettes for mapping and visualisation", long_description=long_description, long_description_content_type="text/markdown", license='BSD-3-Clause', url="https://github.com/netbek/chrys", install_requires=[ 'matplotlib >= 2.2.4', 'numpy >= 1.7.1', ], packages=setuptools.find_packages(), classifiers=[ "Programming Language :: Python :: 2.7", "License :: OSI Approved :: BSD License", "Operating System :: POSIX :: Linux", ], )
import setuptools with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( name="chrys", version="3.0.4", author="Hein Bekker", author_email="hein@netbek.co.za", description="A collection of color palettes for mapping and visualisation", long_description=long_description, long_description_content_type="text/markdown", license='BSD-3-Clause', url="https://github.com/netbek/chrys", install_requires=[ 'matplotlib >= 2.2.4', 'numpy >= 1.7.1', ], packages=setuptools.find_packages(), classifiers=[ "Programming Language :: Python :: 2.7", "License :: OSI Approved :: BSD License", "Operating System :: POSIX :: Linux", ], )
bsd-3-clause
Python
b5f5332713e321cae056499dc12165b0fc91d884
Bump version to 1.0.1
freyley/sql-layer-adapter-django
setup.py
setup.py
# FoundationDB SQL Layer Adapter for Django # Copyright (c) 2013-2014 FoundationDB, LLC # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. from distutils.core import setup setup( name = 'django-fdbsql', version = '1.0.1', author = 'FoundationDB', author_email = 'distribution@foundationdb.com', description = 'FoundationDB SQL Layer database backend for Django.', url = 'https://github.com/FoundationDB/sql-layer-adapter-django', packages = ['django_fdbsql'], scripts = [], license = 'MIT', long_description= open('README.rst').read(), install_requires = [], classifiers = [ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Topic :: Database' ] )
# FoundationDB SQL Layer Adapter for Django # Copyright (c) 2013-2014 FoundationDB, LLC # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. from distutils.core import setup setup( name = 'django-fdbsql', version = '1.0.0', author = 'FoundationDB', author_email = 'distribution@foundationdb.com', description = 'FoundationDB SQL Layer database backend for Django.', url = 'https://github.com/FoundationDB/sql-layer-adapter-django', packages = ['django_fdbsql'], scripts = [], license = 'LICENSE', long_description= open('README.rst').read(), install_requires = [], classifiers = [ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Topic :: Database' ] )
mit
Python
eb08a3fa792e3ead859358d4038cedbd6b08d8c4
Resolve import error introduced in last commit.
koordinates/python-client,koordinates/python-client
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- try: from setuptools import setup except ImportError: from distutils.core import setup import re import os from codecs import open version = '' with open('koordinates/__init__.py', 'r') as fd: version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) with open('README.rst', 'r', 'utf-8') as f: readme = f.read() with open('HISTORY.rst', 'r', 'utf-8') as f: history = f.read() setup( name='koordinates', packages=['koordinates',], version=version, description='koordinates is a Python client library for a number of Koordinates web APIs', long_description=readme + '\n\n' + history, author='Richard Shea', author_email='rshea@thecubagroup.com', url='https://github.com/koordinates/python-client', download_url = 'https://github.com/koordinates/python-client/tarball/0.1', keywords='koordinates api', license = 'BSD', classifiers=[], test_suite='tests', )
#!/usr/bin/env python # -*- coding: utf-8 -*- try: from setuptools import setup except ImportError: from distutils.core import setup version = '' with open('koordinates/__init__.py', 'r') as fd: version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) with open('README.rst', 'r', 'utf-8') as f: readme = f.read() with open('HISTORY.rst', 'r', 'utf-8') as f: history = f.read() setup( name='koordinates', packages=['koordinates',], version=version description='koordinates is a Python client library for a number of Koordinates web APIs', long_description=readme + '\n\n' + history author='Richard Shea', author_email='rshea@thecubagroup.com', url='https://github.com/koordinates/python-client', download_url = 'https://github.com/koordinates/python-client/tarball/0.1', keywords='koordinates api', license = 'BSD', classifiers=[], test_suite='tests', )
bsd-3-clause
Python
549779cf95a5a70b5bd1e3d80ce6245e28d6d77d
Adjust 2.1 to 2.1.0
gwu-libraries/sfm-utils,gwu-libraries/sfm-utils
setup.py
setup.py
from setuptools import setup setup( name='sfmutils', version='2.1.0', url='https://github.com/gwu-libraries/sfm-utils', author='Social Feed Manager', author_email='sfm@gwu.edu', packages=['sfmutils'], description="Utilities to support Social Feed Manager.", platforms=['POSIX'], test_suite='tests', scripts=['sfmutils/stream_consumer.py', 'sfmutils/find_warcs.py'], install_requires=['pytz==2018.7', 'requests==2.21.0', 'kombu==4.0.2', 'librabbitmq==2.0.0', 'warcio==1.5.3', 'iso8601==0.1.12', 'petl==1.2.0', 'xlsxwriter==1.1.2', 'idna==2.7'], tests_require=['mock==2.0.0', 'vcrpy==2.0.1', 'python-dateutil==2.7.5'], classifiers=[ 'Intended Audience :: Developers', 'Topic :: Software Development :: Libraries :: Python Modules', 'Programming Language :: Python :: 3', 'Development Status :: 4 - Beta', ], )
from setuptools import setup setup( name='sfmutils', version='2.1', url='https://github.com/gwu-libraries/sfm-utils', author='Social Feed Manager', author_email='sfm@gwu.edu', packages=['sfmutils'], description="Utilities to support Social Feed Manager.", platforms=['POSIX'], test_suite='tests', scripts=['sfmutils/stream_consumer.py', 'sfmutils/find_warcs.py'], install_requires=['pytz==2018.7', 'requests==2.21.0', 'kombu==4.0.2', 'librabbitmq==2.0.0', 'warcio==1.5.3', 'iso8601==0.1.12', 'petl==1.2.0', 'xlsxwriter==1.1.2', 'idna==2.7'], tests_require=['mock==2.0.0', 'vcrpy==2.0.1', 'python-dateutil==2.7.5'], classifiers=[ 'Intended Audience :: Developers', 'Topic :: Software Development :: Libraries :: Python Modules', 'Programming Language :: Python :: 3', 'Development Status :: 4 - Beta', ], )
mit
Python
04ca16e0d3ca599678ceeec26a2f12d860b20556
Bump major version: backward-incompatible changes
plish/Trolly
setup.py
setup.py
''' Created on 15 Feb 2013 @author: plish ''' from distutils.core import setup setup( name = 'Trolly', version = '1.0.0', author = 'plish', author_email = 'plish.development@gmail.com', url = 'https://github.com/plish/Trolly', packages = ['trolly'], license = 'LICENCE.txt', install_requires = ['httplib2', 'singledispatch'], description = 'Trello API Wrapper', long_description = 'For more detail please see the github page' )
''' Created on 15 Feb 2013 @author: plish ''' from distutils.core import setup setup( name = 'Trolly', version = '1.2.2', author = 'plish', author_email = 'plish.development@gmail.com', url = 'https://github.com/plish/Trolly', packages = ['trolly'], license = 'LICENCE.txt', install_requires = ['httplib2', 'singledispatch'], description = 'Trello API Wrapper', long_description = 'For more detail please see the github page' )
mit
Python
e9ea79213f3abfde29d91abdfa9381fe4c56edf5
Update version for PyPi to 0.2.2
thecynic/pylutron
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages setup( name = 'pylutron', version = '0.2.2', license = 'MIT', description = 'Python library for Lutron RadioRA 2', author = 'Dima Zavin', author_email = 'thecynic@gmail.com', url = 'http://github.com/thecynic/pylutron', packages=find_packages(), classifiers = [ 'Development Status :: 3 - Alpha', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3.4', 'Topic :: Home Automation', 'Topic :: Software Development :: Libraries :: Python Modules', ], install_requires=[], zip_safe=True, )
#!/usr/bin/env python from setuptools import setup, find_packages setup( name = 'pylutron', version = '0.2.1', license = 'MIT', description = 'Python library for Lutron RadioRA 2', author = 'Dima Zavin', author_email = 'thecynic@gmail.com', url = 'http://github.com/thecynic/pylutron', packages=find_packages(), classifiers = [ 'Development Status :: 3 - Alpha', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3.4', 'Topic :: Home Automation', 'Topic :: Software Development :: Libraries :: Python Modules', ], install_requires=[], zip_safe=True, )
mit
Python
a494cd4a456d9ac1ad60b37830d04454fd28ef0b
prepare 0.4.9
banga/powerline-shell,milkbikis/powerline-shell,banga/powerline-shell,b-ryan/powerline-shell,b-ryan/powerline-shell
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages setup( name="powerline-shell", version="0.4.9", description="A pretty prompt for your shell", author="Buck Ryan", url="https://github.com/banga/powerline-shell", classifiers=[], packages=[ "powerline_shell", "powerline_shell.segments", "powerline_shell.themes", ], install_requires=[ "argparse", ], entry_points=""" [console_scripts] powerline-shell=powerline_shell:main """, )
#!/usr/bin/env python from setuptools import setup, find_packages setup( name="powerline-shell", version="0.4.8", description="A pretty prompt for your shell", author="Buck Ryan", url="https://github.com/banga/powerline-shell", classifiers=[], packages=[ "powerline_shell", "powerline_shell.segments", "powerline_shell.themes", ], install_requires=[ "argparse", ], entry_points=""" [console_scripts] powerline-shell=powerline_shell:main """, )
mit
Python
fe5a1b42e23ffac76dd3bc48cee12c14da470ece
Add package dodo_commands.framework.system_commands
mnieber/dodo_commands
setup.py
setup.py
from setuptools import setup setup(name='dodo_commands', version='0.7.1', description='Project-aware development environments, inspired by django-manage', url='https://github.com/mnieber/dodo_commands', download_url='https://github.com/mnieber/dodo_commands/tarball/0.7.1', author='Maarten Nieber', author_email='hallomaarten@yahoo.com', license='MIT', packages=[ 'dodo_commands', 'dodo_commands.framework', 'dodo_commands.framework.system_commands', ], package_data={ 'dodo_commands': [ 'extra/__init__.py', 'extra/git_commands/*.py', 'extra/git_commands/*.meta', 'extra/standard_commands/*.py', 'extra/standard_commands/*.meta', 'extra/standard_commands/decorators/*.py', 'extra/webdev_commands/*.py', 'extra/webdev_commands/*.meta', ] }, entry_points={ 'console_scripts': [ 'dodo=dodo_commands.dodo:main', ] }, install_requires=[ 'argcomplete', 'plumbum', 'PyYaml', 'six', ], zip_safe=False)
from setuptools import setup setup(name='dodo_commands', version='0.7.1', description='Project-aware development environments, inspired by django-manage', url='https://github.com/mnieber/dodo_commands', download_url='https://github.com/mnieber/dodo_commands/tarball/0.7.1', author='Maarten Nieber', author_email='hallomaarten@yahoo.com', license='MIT', packages=[ 'dodo_commands', 'dodo_commands.framework', ], package_data={ 'dodo_commands': [ 'extra/__init__.py', 'extra/git_commands/*.py', 'extra/git_commands/*.meta', 'extra/standard_commands/*.py', 'extra/standard_commands/*.meta', 'extra/standard_commands/decorators/*.py', 'extra/webdev_commands/*.py', 'extra/webdev_commands/*.meta', ] }, entry_points={ 'console_scripts': [ 'dodo=dodo_commands.dodo:main', ] }, install_requires=[ 'argcomplete', 'plumbum', 'PyYaml', 'six', ], zip_safe=False)
mit
Python
3c102b52f058c87ff14602f34756db212d065bd8
Bump status to "alpha".
dave-shawley/glinda
setup.py
setup.py
#!/usr/bin/env python import codecs import setuptools import sys from glinda import __version__ def read_requirements_file(name): reqs = [] try: with open(name) as req_file: for line in req_file: if '#' in line: line = line[0:line.index('#')] line = line.strip() if line: reqs.append(line) except IOError: pass return reqs install_requirements = read_requirements_file('requirements.txt') test_requirements = read_requirements_file('test-requirements.txt') if sys.version_info < (2, 7): test_requirements.append('unittest2') if sys.version_info < (3, ): test_requirements.append('mock>1.0,<2') with codecs.open('README.rst', 'rb', encoding='utf-8') as file_obj: long_description = '\n' + file_obj.read() setuptools.setup( name='glinda', version=__version__, author='Dave Shawley', author_email='daveshawley@gmail.com', url='http://github.com/dave-shawley/glinda', description='Helping your through the Tornado.', long_description=long_description, packages=setuptools.find_packages(exclude=['tests', 'tests.*']), zip_safe=True, platforms='any', install_requires=install_requirements, test_suite='nose.collector', tests_require=test_requirements, classifiers=[ 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Development Status :: 3 - Alpha', ], )
#!/usr/bin/env python import codecs import setuptools import sys from glinda import __version__ def read_requirements_file(name): reqs = [] try: with open(name) as req_file: for line in req_file: if '#' in line: line = line[0:line.index('#')] line = line.strip() if line: reqs.append(line) except IOError: pass return reqs install_requirements = read_requirements_file('requirements.txt') test_requirements = read_requirements_file('test-requirements.txt') if sys.version_info < (2, 7): test_requirements.append('unittest2') if sys.version_info < (3, ): test_requirements.append('mock>1.0,<2') with codecs.open('README.rst', 'rb', encoding='utf-8') as file_obj: long_description = '\n' + file_obj.read() setuptools.setup( name='glinda', version=__version__, author='Dave Shawley', author_email='daveshawley@gmail.com', url='http://github.com/dave-shawley/glinda', description='Helping your through the Tornado.', long_description=long_description, packages=setuptools.find_packages(exclude=['tests', 'tests.*']), zip_safe=True, platforms='any', install_requires=install_requirements, test_suite='nose.collector', tests_require=test_requirements, classifiers=[ 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', 'Development Status :: 1 - Planning', ], )
bsd-3-clause
Python
4a316ea725efae3fec5e070e04e9592770479f54
Update to version
robinandeer/cosmid
setup.py
setup.py
try: from setuptools import setup except ImportError: from distutils.core import setup config = { 'description': 'An automatic genomics database updater.', 'author': 'Robin Andeer', 'url': 'https://github.com/robinandeer/Genie.', 'download_url': 'https://github.com/robinandeer/Genie/archive/master.zip', 'author_email': 'robin.andeer@scilifelab.se', 'version': '0.3.1', 'install_requires': ['nose'], 'packages': ['genie'], 'scripts': ['bin/update_databases.py'], 'name': 'Genie' } setup(**config)
try: from setuptools import setup except ImportError: from distutils.core import setup config = { 'description': 'An automatic genomics database updater.', 'author': 'Robin Andeer', 'url': 'https://github.com/robinandeer/Genie.', 'download_url': 'https://github.com/robinandeer/Genie/archive/master.zip', 'author_email': 'robin.andeer@scilifelab.se', 'version': '0.3', 'install_requires': ['nose'], 'packages': ['genie'], 'scripts': ['bin/update_databases.py'], 'name': 'Genie' } setup(**config)
mit
Python
ed90a04bdb981e7e7c5c7419e2727a822f5efc01
Update template version to 3.0.9
luzfcb/cookiecutter-django,luzfcb/cookiecutter-django,trungdong/cookiecutter-django,pydanny/cookiecutter-django,ryankanno/cookiecutter-django,trungdong/cookiecutter-django,trungdong/cookiecutter-django,luzfcb/cookiecutter-django,ryankanno/cookiecutter-django,luzfcb/cookiecutter-django,pydanny/cookiecutter-django,ryankanno/cookiecutter-django,pydanny/cookiecutter-django,pydanny/cookiecutter-django,trungdong/cookiecutter-django,ryankanno/cookiecutter-django
setup.py
setup.py
#!/usr/bin/env python import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup # Our version ALWAYS matches the version of Django we support # If Django has a new release, we branch, tag, then update this setting after the tag. version = "3.0.9" if sys.argv[-1] == "tag": os.system(f'git tag -a {version} -m "version {version}"') os.system("git push --tags") sys.exit() with open("README.rst") as readme_file: long_description = readme_file.read() setup( name="cookiecutter-django", version=version, description="A Cookiecutter template for creating production-ready Django projects quickly.", long_description=long_description, author="Daniel Roy Greenfeld", author_email="pydanny@gmail.com", url="https://github.com/pydanny/cookiecutter-django", packages=[], license="BSD", zip_safe=False, classifiers=[ "Development Status :: 4 - Beta", "Environment :: Console", "Framework :: Django :: 3.0", "Intended Audience :: Developers", "Natural Language :: English", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development", ], keywords=( "cookiecutter, Python, projects, project templates, django, " "skeleton, scaffolding, project directory, setup.py" ), )
#!/usr/bin/env python import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup # Our version ALWAYS matches the version of Django we support # If Django has a new release, we branch, tag, then update this setting after the tag. version = "3.0.8-01" if sys.argv[-1] == "tag": os.system(f'git tag -a {version} -m "version {version}"') os.system("git push --tags") sys.exit() with open("README.rst") as readme_file: long_description = readme_file.read() setup( name="cookiecutter-django", version=version, description="A Cookiecutter template for creating production-ready Django projects quickly.", long_description=long_description, author="Daniel Roy Greenfeld", author_email="pydanny@gmail.com", url="https://github.com/pydanny/cookiecutter-django", packages=[], license="BSD", zip_safe=False, classifiers=[ "Development Status :: 4 - Beta", "Environment :: Console", "Framework :: Django :: 3.0", "Intended Audience :: Developers", "Natural Language :: English", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development", ], keywords=( "cookiecutter, Python, projects, project templates, django, " "skeleton, scaffolding, project directory, setup.py" ), )
bsd-3-clause
Python
09a455bdb9022936db8b441d468339e1f3a91309
Use coverage v4.4.2
macbre/index-digest,macbre/index-digest
setup.py
setup.py
from setuptools import setup, find_packages from indexdigest import VERSION # @see https://github.com/pypa/sampleproject/blob/master/setup.py setup( name='indexdigest', version=VERSION, author='Maciej Brencz', author_email='maciej.brencz@gmail.com', license='MIT', description='Analyses your database queries and schema and suggests indices improvements', url='https://github.com/macbre/index-digest', packages=find_packages(), install_requires=[ 'docopt==0.6.2', 'coverage==4.4.2', 'pylint==1.8.1', 'pytest==3.2.3', 'mysqlclient==1.3.12', 'sqlparse==0.2.4', 'termcolor==1.1.0', ], entry_points={ 'console_scripts': [ 'index_digest=indexdigest.cli.script:main', ], } )
from setuptools import setup, find_packages from indexdigest import VERSION # @see https://github.com/pypa/sampleproject/blob/master/setup.py setup( name='indexdigest', version=VERSION, author='Maciej Brencz', author_email='maciej.brencz@gmail.com', license='MIT', description='Analyses your database queries and schema and suggests indices improvements', url='https://github.com/macbre/index-digest', packages=find_packages(), install_requires=[ 'docopt==0.6.2', 'coverage==4.4.1', 'pylint==1.8.1', 'pytest==3.2.3', 'mysqlclient==1.3.12', 'sqlparse==0.2.4', 'termcolor==1.1.0', ], entry_points={ 'console_scripts': [ 'index_digest=indexdigest.cli.script:main', ], } )
mit
Python
4f5e5c373a90e7af5fbc0248652965a01ac795d6
bump version
perrygeo/simanneal,perrygeo/simanneal
setup.py
setup.py
#!/usr/bin/env/python import sys import os import warnings try: from setuptools import setup except ImportError: from distutils.core import setup LONG_DESCRIPTION = """`simanneal` is a python implementation of the [simulated annealing optimization](http://en.wikipedia.org/wiki/Simulated_annealing) technique. Simulated annealing is used to find a close-to-optimal solution among an extremely large (but finite) set of potential solutions. It is particularly useful for [combinatorial optimization](http://en.wikipedia.org/wiki/Combinatorial_optimization) problems defined by complex objective functions that rely on external data. """ setup(name='simanneal', version='0.1.2', description='Simulated Annealing in Python', license='BSD', author='Matthew Perry', author_email='perrygeo@gmail.com', url='https://github.com/perrygeo/simanneal', long_description=LONG_DESCRIPTION, packages=['simanneal'], install_requires=[], )
#!/usr/bin/env/python import sys import os import warnings try: from setuptools import setup except ImportError: from distutils.core import setup LONG_DESCRIPTION = """`simanneal` is a python implementation of the [simulated annealing optimization](http://en.wikipedia.org/wiki/Simulated_annealing) technique. Simulated annealing is used to find a close-to-optimal solution among an extremely large (but finite) set of potential solutions. It is particularly useful for [combinatorial optimization](http://en.wikipedia.org/wiki/Combinatorial_optimization) problems defined by complex objective functions that rely on external data. """ setup(name='simanneal', version='0.1.1', description='Simulated Annealing in Python', license='BSD', author='Matthew Perry', author_email='perrygeo@gmail.com', url='https://github.com/perrygeo/simanneal', long_description=LONG_DESCRIPTION, packages=['simanneal'], install_requires=[], )
isc
Python
ad67e13572f227035693b69872ea20cd15b929c3
update version of package
nuagenetworks/bambou
setup.py
setup.py
from setuptools import setup setup( name='bambou', version='1.0-a1', url='http://www.nuagenetworks.net/', author='Christophe Serafin', author_email='christophe.serafin@alcatel-lucent.com', packages=['bambou', 'bambou.utils'], description='REST Library for Nuage Networks', long_description=open('README.md').read(), install_requires=[line for line in open('requirements.txt')], )
from setuptools import setup setup( name='bambou', version='0.0.2', url='http://www.nuagenetworks.net/', author='Christophe Serafin', author_email='christophe.serafin@alcatel-lucent.com', packages=['bambou', 'bambou.utils'], description='REST Library for Nuage Networks', long_description=open('README.md').read(), install_requires=[line for line in open('requirements.txt')], )
bsd-3-clause
Python
f61d2368998a45dfda99d65d097fed5fb43ad061
Remove Python 2.5 support, add support for Python 3.2
gears/gears-uglifyjs,gears/gears-uglifyjs
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-uglifyjs', version='0.1', url='https://github.com/gears/gears-uglifyjs', license='ISC', author='Mike Yumatov', author_email='mike@yumatov.org', description='UglifyJS compressor for Gears', long_description=read('README.rst'), packages=find_packages(), include_package_data=True, classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: ISC License (ISCL)', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.2', ], )
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-uglifyjs', version='0.1', url='https://github.com/gears/gears-uglifyjs', license='ISC', author='Mike Yumatov', author_email='mike@yumatov.org', description='UglifyJS compressor for Gears', long_description=read('README.rst'), packages=find_packages(), include_package_data=True, classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: ISC License (ISCL)', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', ], )
isc
Python
9cda4c670bf8a7c929a2794e040bed955b4a6aa5
Add s3fs to requirements (#1316)
ContinuumIO/dask,gameduell/dask,blaze/dask,mraspaud/dask,jcrist/dask,jakirkham/dask,mrocklin/dask,cpcloud/dask,jcrist/dask,mrocklin/dask,dask/dask,ContinuumIO/dask,dask/dask,cowlicks/dask,blaze/dask,jakirkham/dask,chrisbarber/dask,mraspaud/dask
setup.py
setup.py
#!/usr/bin/env python from os.path import exists from setuptools import setup import dask extras_require = { 'array': ['numpy', 'toolz >= 0.7.2'], 'bag': ['cloudpickle >= 0.2.1', 'toolz >= 0.7.2', 'partd >= 0.3.3'], 'dataframe': ['numpy', 'pandas >= 0.18.0', 'toolz >= 0.7.2', 'partd >= 0.3.3', 'cloudpickle >= 0.2.1'], 'distributed': ['distributed >= 1.10', 's3fs'], 'imperative': ['toolz >= 0.7.2'], } extras_require['complete'] = sorted(set(sum(extras_require.values(), []))) packages = ['dask', 'dask.array', 'dask.bag', 'dask.store', 'dask.bytes', 'dask.dataframe', 'dask.dataframe.tseries', 'dask.diagnostics'] tests = [p + '.tests' for p in packages] setup(name='dask', version=dask.__version__, description='Minimal task scheduling abstraction', url='http://github.com/dask/dask/', maintainer='Matthew Rocklin', maintainer_email='mrocklin@gmail.com', license='BSD', keywords='task-scheduling parallelism', packages=packages + tests, long_description=(open('README.rst').read() if exists('README.rst') else ''), extras_require=extras_require, zip_safe=False)
#!/usr/bin/env python from os.path import exists from setuptools import setup import dask extras_require = { 'array': ['numpy', 'toolz >= 0.7.2'], 'bag': ['cloudpickle >= 0.2.1', 'toolz >= 0.7.2', 'partd >= 0.3.3'], 'dataframe': ['numpy', 'pandas >= 0.18.0', 'toolz >= 0.7.2', 'partd >= 0.3.3', 'cloudpickle >= 0.2.1'], 'distributed': ['distributed >= 1.10'], 'imperative': ['toolz >= 0.7.2'], } extras_require['complete'] = sorted(set(sum(extras_require.values(), []))) packages = ['dask', 'dask.array', 'dask.bag', 'dask.store', 'dask.bytes', 'dask.dataframe', 'dask.dataframe.tseries', 'dask.diagnostics'] tests = [p + '.tests' for p in packages] setup(name='dask', version=dask.__version__, description='Minimal task scheduling abstraction', url='http://github.com/dask/dask/', maintainer='Matthew Rocklin', maintainer_email='mrocklin@gmail.com', license='BSD', keywords='task-scheduling parallelism', packages=packages + tests, long_description=(open('README.rst').read() if exists('README.rst') else ''), extras_require=extras_require, zip_safe=False)
bsd-3-clause
Python
7a68cffe45fb7ba1fbe603804365954f055c1c45
Declare supported Python versions, closes #174. (#175)
EricFromCanada/sphinx-bootstrap-theme,EricFromCanada/sphinx-bootstrap-theme,wildintellect/sphinx-bootstrap-theme,ryan-roemer/sphinx-bootstrap-theme,wildintellect/sphinx-bootstrap-theme,EricFromCanada/sphinx-bootstrap-theme,wildintellect/sphinx-bootstrap-theme,ryan-roemer/sphinx-bootstrap-theme,ryan-roemer/sphinx-bootstrap-theme
setup.py
setup.py
"""Sphinx Bootstrap Theme package.""" import os from setuptools import setup, find_packages from sphinx_bootstrap_theme import __version__ ############################################################################### # Environment and Packages. ############################################################################### # Don't copy Mac OS X resource forks on tar/gzip. os.environ['COPYFILE_DISABLE'] = "true" # Packages. MOD_NAME = "sphinx_bootstrap_theme" PKGS = [x for x in find_packages() if x.split('.')[0] == MOD_NAME] ############################################################################### # Helpers. ############################################################################### def read_file(name): """Read file name (without extension) to string.""" cur_path = os.path.dirname(__file__) exts = ('txt', 'rst') for ext in exts: path = os.path.join(cur_path, '.'.join((name, ext))) if os.path.exists(path): with open(path, 'rt') as file_obj: return file_obj.read() return '' ############################################################################### # Setup. ############################################################################### setup( name="sphinx-bootstrap-theme", version=__version__, use_2to3=True, description="Sphinx Bootstrap Theme.", long_description=read_file("README"), url="http://ryan-roemer.github.com/sphinx-bootstrap-theme/README.html", author="Ryan Roemer", author_email="ryan@loose-bits.com", classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Internet", "Topic :: Software Development :: Documentation", ], install_requires=[ "setuptools", ], entry_points = { 'sphinx.html_themes': [ 'bootstrap = sphinx_bootstrap_theme', ] }, packages=PKGS, include_package_data=True, )
"""Sphinx Bootstrap Theme package.""" import os from setuptools import setup, find_packages from sphinx_bootstrap_theme import __version__ ############################################################################### # Environment and Packages. ############################################################################### # Don't copy Mac OS X resource forks on tar/gzip. os.environ['COPYFILE_DISABLE'] = "true" # Packages. MOD_NAME = "sphinx_bootstrap_theme" PKGS = [x for x in find_packages() if x.split('.')[0] == MOD_NAME] ############################################################################### # Helpers. ############################################################################### def read_file(name): """Read file name (without extension) to string.""" cur_path = os.path.dirname(__file__) exts = ('txt', 'rst') for ext in exts: path = os.path.join(cur_path, '.'.join((name, ext))) if os.path.exists(path): with open(path, 'rt') as file_obj: return file_obj.read() return '' ############################################################################### # Setup. ############################################################################### setup( name="sphinx-bootstrap-theme", version=__version__, use_2to3=True, description="Sphinx Bootstrap Theme.", long_description=read_file("README"), url="http://ryan-roemer.github.com/sphinx-bootstrap-theme/README.html", author="Ryan Roemer", author_email="ryan@loose-bits.com", classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet", "Topic :: Software Development :: Documentation", ], install_requires=[ "setuptools", ], entry_points = { 'sphinx.html_themes': [ 'bootstrap = sphinx_bootstrap_theme', ] }, packages=PKGS, include_package_data=True, )
mit
Python
10698e232939b7aec11cb6c13ae3209e0f5dadec
add bottle mongo on requires
avelino/bottle-auth
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup import bottle_auth description = "Bootle authentication, for Personal, Google, Twitter and "\ "facebook." setup( name='bottle-auth', version=bottle_auth.__version__, description=description, author=bottle_auth.__author__, author_email=bottle_auth.__email__, url='https://github.com/avelino/bottle-auth', package_dir={'bottle_auth': 'bottle_auth'}, install_requires=['webob', 'bottle-mongo'], )
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup import bottle_auth description = "Bootle authentication, for Personal, Google, Twitter and "\ "facebook." setup( name='bottle-auth', version=bottle_auth.__version__, description=description, author=bottle_auth.__author__, author_email=bottle_auth.__email__, url='https://github.com/avelino/bottle-auth', package_dir={'bottle_auth': 'bottle_auth'}, install_requires=['webob'], )
mit
Python