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
bfb434cff2bbf07c14479c3a31941d98a9431068
change version to 0.4.5-git.
quantopian/ta-lib,quantopian/ta-lib
setup.py
setup.py
from distutils.core import setup from distutils.extension import Extension from Cython.Distutils import build_ext import numpy import os import sys if sys.platform == "darwin": if os.path.exists("/opt/local/include/ta-lib"): include_talib_dir = "/opt/local/include" lib_talib_dir = "/opt/local/lib" else: include_talib_dir = "/usr/local/include/" lib_talib_dir = "/usr/local/lib/" elif "linux" in sys.platform or "freebsd" in sys.platform: include_talib_dir = "/usr/local/include/" lib_talib_dir = "/usr/local/lib/" elif sys.platform == "win32": include_talib_dir = r"c:\ta-lib\c\include" lib_talib_dir = r"c:\ta-lib\c\lib" else: raise NotImplementedError(sys.platform) lib_talib_name = 'ta_lib' if not sys.platform == 'win32' else 'ta_libc_cdr' common_ext = Extension('talib.common', ['talib/common.pyx'], include_dirs=[numpy.get_include(), include_talib_dir], library_dirs=[lib_talib_dir], libraries=[lib_talib_name] ) func_ext = Extension("talib.func", ["talib/func.pyx"], include_dirs=[numpy.get_include(), include_talib_dir], library_dirs=[lib_talib_dir], libraries=[lib_talib_name] ) abstract_ext = Extension('talib.abstract', ['talib/abstract.pyx'], include_dirs=[numpy.get_include(), include_talib_dir], library_dirs=[lib_talib_dir], libraries=[lib_talib_name] ) setup( name = 'TA-Lib', version = '0.4.5-git', description = 'Python wrapper for TA-Lib', author = 'John Benediktsson', author_email = 'mrjbq7@gmail.com', url = 'http://github.com/mrjbq7/ta-lib', download_url = 'https://github.com/mrjbq7/ta-lib/archive/TA_Lib-0.4.4.zip', classifiers = [ "License :: OSI Approved :: BSD License", "Development Status :: 4 - Beta", "Operating System :: Unix", "Operating System :: POSIX", "Operating System :: MacOS :: MacOS X", "Programming Language :: Python", "Programming Language :: Cython", "Topic :: Scientific/Engineering :: Mathematics", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "Intended Audience :: Financial and Insurance Industry", ], packages=['talib'], ext_modules=[common_ext, func_ext, abstract_ext], cmdclass = {'build_ext': build_ext} )
from distutils.core import setup from distutils.extension import Extension from Cython.Distutils import build_ext import numpy import os import sys if sys.platform == "darwin": if os.path.exists("/opt/local/include/ta-lib"): include_talib_dir = "/opt/local/include" lib_talib_dir = "/opt/local/lib" else: include_talib_dir = "/usr/local/include/" lib_talib_dir = "/usr/local/lib/" elif sys.platform == "linux2" or "freebsd" in sys.platform: include_talib_dir = "/usr/local/include/" lib_talib_dir = "/usr/local/lib/" elif sys.platform == "win32": include_talib_dir = r"c:\ta-lib\c\include" lib_talib_dir = r"c:\ta-lib\c\lib" else: raise NotImplementedError(sys.platform) lib_talib_name = 'ta_lib' if not sys.platform == 'win32' else 'ta_libc_cdr' common_ext = Extension('talib.common', ['talib/common.pyx'], include_dirs=[numpy.get_include(), include_talib_dir], library_dirs=[lib_talib_dir], libraries=[lib_talib_name] ) func_ext = Extension("talib.func", ["talib/func.pyx"], include_dirs=[numpy.get_include(), include_talib_dir], library_dirs=[lib_talib_dir], libraries=[lib_talib_name] ) abstract_ext = Extension('talib.abstract', ['talib/abstract.pyx'], include_dirs=[numpy.get_include(), include_talib_dir], library_dirs=[lib_talib_dir], libraries=[lib_talib_name] ) setup( name = 'TA-Lib', version = '0.4.4', description = 'Python wrapper for TA-Lib', author = 'John Benediktsson', author_email = 'mrjbq7@gmail.com', url = 'http://github.com/mrjbq7/ta-lib', download_url = 'https://github.com/mrjbq7/ta-lib/archive/TA_Lib-0.4.4.zip', classifiers = [ "License :: OSI Approved :: BSD License", "Development Status :: 4 - Beta", "Operating System :: Unix", "Operating System :: POSIX", "Operating System :: MacOS :: MacOS X", "Programming Language :: Python", "Programming Language :: Cython", "Topic :: Scientific/Engineering :: Mathematics", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "Intended Audience :: Financial and Insurance Industry", ], packages=['talib'], ext_modules=[common_ext, func_ext, abstract_ext], cmdclass = {'build_ext': build_ext} )
bsd-2-clause
Python
79a1190ed24d3263063f869afe4c92f84395e755
Update setup.py
HewlettPackard/python-ilorest-library,HewlettPackard/python-ilorest-library
setup.py
setup.py
from setuptools import setup, find_packages extras = {'socks': ['pysocks']} setup(name='python-ilorest-library', version='3.1.1', description='iLO Restful Python Library', author = 'Hewlett Packard Enterprise', author_email = 'rajeevalochana.kallur@hpe.com', extras_require = extras, classifiers=[ 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Topic :: Communications' ], keywords='Hewlett Packard Enterprise iLORest', url='https://github.com/HewlettPackard/python-ilorest-library', packages=find_packages('src'), package_dir={'': 'src'}, install_requires=[ 'jsonpatch', 'jsonpath_rw', 'jsonpointer', 'urllib3', 'six' ])
from setuptools import setup, find_packages extras = {'socks': ['pysocks']} setup(name='python-ilorest-library', version='3.1.0', description='iLO Restful Python Library', author = 'Hewlett Packard Enterprise', author_email = 'rajeevalochana.kallur@hpe.com', extras_require = extras, classifiers=[ 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Topic :: Communications' ], keywords='Hewlett Packard Enterprise iLORest', url='https://github.com/HewlettPackard/python-ilorest-library', packages=find_packages('src'), package_dir={'': 'src'}, install_requires=[ 'jsonpatch', 'jsonpath_rw', 'jsonpointer', 'urllib3', 'six' ])
apache-2.0
Python
fec10deb7670abb2b0daf72c80ebdcc6346e0545
Add README.rst contents to PyPI page
datasciencebr/serenata-toolbox
setup.py
setup.py
from setuptools import setup REPO_URL = 'http://github.com/okfn-brasil/serenata-toolbox' with open('README.rst') as fobj: long_description = fobj.read() setup( author='Serenata de Amor', author_email='contato@serenata.ai', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3.6', 'Topic :: Utilities', ], description='Toolbox for Serenata de Amor project', zip_safe=False, install_requires=[ 'aiofiles', 'aiohttp', 'beautifulsoup4>=4.4', 'lxml>=3.6', 'pandas>=0.18', 'python-decouple>=3.1', 'tqdm' ], keywords='serenata de amor, data science, brazil, corruption', license='MIT', long_description=long_description, name='serenata-toolbox', packages=[ 'serenata_toolbox', 'serenata_toolbox.federal_senate', 'serenata_toolbox.chamber_of_deputies', 'serenata_toolbox.datasets' ], url=REPO_URL, python_requires='>=3.6', version='15.0.3', )
from setuptools import setup REPO_URL = 'http://github.com/okfn-brasil/serenata-toolbox' setup( author='Serenata de Amor', author_email='contato@serenata.ai', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3.6', 'Topic :: Utilities', ], description='Toolbox for Serenata de Amor project', zip_safe=False, install_requires=[ 'aiofiles', 'aiohttp', 'beautifulsoup4>=4.4', 'lxml>=3.6', 'pandas>=0.18', 'python-decouple>=3.1', 'tqdm' ], keywords='serenata de amor, data science, brazil, corruption', license='MIT', long_description='Check `Serenata Toolbox at GitHub <{}>`_.'.format(REPO_URL), name='serenata-toolbox', packages=[ 'serenata_toolbox', 'serenata_toolbox.federal_senate', 'serenata_toolbox.chamber_of_deputies', 'serenata_toolbox.datasets' ], url=REPO_URL, python_requires='>=3.6', version='15.0.2', )
mit
Python
a8f676b5595cb9497b843d2807668e2215764255
change the cabmember structure.
bukun/TorCMS,bukun/TorCMS,bukun/TorCMS,bukun/TorCMS,bukun/TorCMS
setup.py
setup.py
#!/usr/bin/env python2 # -*- coding:utf-8 -*- from setuptools import setup, find_packages setup( name='torcms', version='0.4.8', keywords=('torcms', 'tornado', 'cms',), description='''CMS based on Python 3 and Tornado. Flexible, extensible web CMS framework built on Tornado and Peewee, compatible with Python 3.4 and 3.5.''', long_description=''.join(open('README.rst').readlines()), license='MIT License', url='https://github.com/bukun/TorCMS', # download_url = 'https://github.com/peterldowns/mypackage/tarball/0.1', # author='bukun', author_email='bukun@osgeo.cn', # packages=find_packages(exclude=["maplet.*", "maplet"]), packages=find_packages(exclude=["tester"]), platforms='any', zip_safe=True, install_requires=['beautifulsoup4', 'jieba', 'markdown', 'peewee', 'Pillow', 'tornado', 'Whoosh', 'WTForms', 'wtforms-tornado','psycopg2'], classifiers=[ # How mature is this project? Common values are # 3 - Alpha # 4 - Beta # 5 - Production/Stable 'Development Status :: 3 - Alpha', # Indicate who your project is intended for 'Intended Audience :: Developers', 'Topic :: Software Development :: Libraries :: Python Modules', # Pick your license as you wish (should match "license" above) 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5' ], )
#!/usr/bin/env python2 # -*- coding:utf-8 -*- from setuptools import setup, find_packages setup( name='torcms', version='0.4.7', keywords=('torcms', 'tornado', 'cms',), description='''CMS based on Python 3 and Tornado. Flexible, extensible web CMS framework built on Tornado and Peewee, compatible with Python 3.4 and 3.5.''', long_description=''.join(open('README.rst').readlines()), license='MIT License', url='https://github.com/bukun/TorCMS', # download_url = 'https://github.com/peterldowns/mypackage/tarball/0.1', # author='bukun', author_email='bukun@osgeo.cn', # packages=find_packages(exclude=["maplet.*", "maplet"]), packages=find_packages(exclude=["tester"]), platforms='any', zip_safe=True, install_requires=['beautifulsoup4', 'jieba', 'markdown', 'peewee', 'Pillow', 'tornado', 'Whoosh', 'WTForms', 'wtforms-tornado','psycopg2'], classifiers=[ # How mature is this project? Common values are # 3 - Alpha # 4 - Beta # 5 - Production/Stable 'Development Status :: 3 - Alpha', # Indicate who your project is intended for 'Intended Audience :: Developers', 'Topic :: Software Development :: Libraries :: Python Modules', # Pick your license as you wish (should match "license" above) 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5' ], )
mit
Python
447365a79b9ca804fef2e43ff6e7231f19d1090d
Add explicit 2.7 to list of supported Python versions
wylee/django-local-settings
setup.py
setup.py
import sys from setuptools import find_packages, setup py_version = sys.version_info[:2] py_version_dotted = '{0.major}.{0.minor}'.format(sys.version_info) supported_py_versions = ('2.7', '3.3', '3.4', '3.5', '3.6') if py_version_dotted not in supported_py_versions: sys.stderr.write('WARNING: django-local-settings does not officially support Python ') sys.stderr.write(py_version_dotted) sys.stderr.write('\n') with open('VERSION') as version_fp: VERSION = version_fp.read().strip() with open('README.md') as readme_fp: long_description = readme_fp.read() install_requires = [ 'six', ] if py_version < (3, 0): install_requires.append('configparser') # NOTE: Keep this Django version up to date with the latest Django # release that works for the versions of Python we support. # This is used to get up and running quickly; tox is used to test # all supported Python/Django version combos. if py_version == (2, 7): django_spec = 'django>=1.10,<1.11', if py_version == (3, 3): django_spec = 'django>=1.8,<1.9', else: django_spec = 'django>=2.0,<2.1', setup( name='django-local-settings', version=VERSION, author='Wyatt Baldwin', author_email='self@wyattbaldwin.com', url='https://github.com/wylee/django-local-settings', description='A system for dealing with local settings in Django projects', long_description=long_description, packages=find_packages(), install_requires=install_requires, extras_require={ 'dev': [ 'coverage>=4', django_spec, 'flake8', 'tox>=2.6.0', ], }, classifiers=[ 'Development Status :: 4 - Beta', 'Framework :: Django', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', ] + [ 'Programming Language :: Python :: {v}'.format(v=v)for v in supported_py_versions ], entry_points=""" [console_scripts] make-local-settings = local_settings:make_local_settings """, )
import sys from setuptools import find_packages, setup py_version = sys.version_info[:2] py_version_dotted = '{0.major}.{0.minor}'.format(sys.version_info) supported_py_versions = ('2.7', '3.3', '3.4', '3.5', '3.6') if py_version_dotted not in supported_py_versions: sys.stderr.write('WARNING: django-local-settings does not officially support Python ') sys.stderr.write(py_version_dotted) sys.stderr.write('\n') with open('VERSION') as version_fp: VERSION = version_fp.read().strip() with open('README.md') as readme_fp: long_description = readme_fp.read() install_requires = [ 'six', ] if py_version < (3, 0): install_requires.append('configparser') # NOTE: Keep this Django version up to date with the latest Django # release that works for the versions of Python we support. # This is used to get up and running quickly; tox is used to test # all supported Python/Django version combos. if py_version == (2, 7): django_spec = 'django>=1.10,<1.11', if py_version == (3, 3): django_spec = 'django>=1.8,<1.9', else: django_spec = 'django>=2.0,<2.1', setup( name='django-local-settings', version=VERSION, author='Wyatt Baldwin', author_email='self@wyattbaldwin.com', url='https://github.com/wylee/django-local-settings', description='A system for dealing with local settings in Django projects', long_description=long_description, packages=find_packages(), install_requires=install_requires, extras_require={ 'dev': [ 'coverage>=4', django_spec, 'flake8', 'tox>=2.6.0', ], }, classifiers=[ 'Development Status :: 4 - Beta', 'Framework :: Django', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', ] + [ 'Programming Language :: Python :: {v}'.format(v=v)for v in supported_py_versions ], entry_points=""" [console_scripts] make-local-settings = local_settings:make_local_settings """, )
mit
Python
612293dfb89b506f0f6879f26bf843c021da3fc1
bump version to 0.2.1
basnijholt/fileup
setup.py
setup.py
from setuptools import setup setup(name='fileup', version='0.2.1', description='Easily upload files to an FTP-server and get back the url.', url='https://github.com/basnijholt/fileup', author='Bas Nijholt', license='BSD 3-clause', py_modules=["fileup"], entry_points={'console_scripts': ['fu=fileup:main']} )
from setuptools import setup setup(name='fileup', version='0.2.0', description='Easily upload files to an FTP-server and get back the url.', url='https://github.com/basnijholt/fileup', author='Bas Nijholt', license='BSD 3-clause', py_modules=["fileup"], entry_points={'console_scripts': ['fu=fileup:main']} )
bsd-3-clause
Python
7b6e7e255e0e6b50ec037f9992c040e4fa74ab80
Update requirement --> Django==1.6.10
Parisson/TimeSide,Parisson/TimeSide,Parisson/TimeSide,Parisson/TimeSide,Parisson/TimeSide
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys from setuptools import setup from setuptools.command.test import test as TestCommand # Pytest class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_args = ['tests', '--ignore', 'tests/sandbox', '--verbose'] self.test_suite = True def run_tests(self): #import here, cause outside the eggs aren't loaded import pytest errno = pytest.main(self.test_args) sys.exit(errno) CLASSIFIERS = [ 'Intended Audience :: Science/Research', 'Intended Audience :: Developers', 'Intended Audience :: Information Technology', 'Programming Language :: Python', 'Programming Language :: JavaScript', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Multimedia :: Sound/Audio', 'Topic :: Multimedia :: Sound/Audio :: Analysis', 'Topic :: Multimedia :: Sound/Audio :: Players', 'Topic :: Multimedia :: Sound/Audio :: Conversion', 'Topic :: Scientific/Engineering :: Information Analysis', 'Topic :: Software Development :: Libraries :: Python Modules', ] KEYWORDS = 'audio analysis features extraction MIR transcoding graph visualize plot HTML5 interactive metadata player' setup( name='TimeSide', url='https://github.com/Parisson/TimeSide/', description="open web audio processing framework", long_description=open('README.rst').read(), author="Guillaume Pellerin, Paul Brossier, Thomas Fillon, Riccardo Zaccarelli, Olivier Guilyardi", author_email="yomguy@parisson.com, piem@piem.org, thomas@parisson.com, riccardo.zaccarelli@gmail.com, olivier@samalyse.com", version='0.7', install_requires=[ 'numpy', 'mutagen', 'pillow', 'h5py', 'tables', 'pyyaml', 'simplejson', 'scipy', 'matplotlib', 'django==1.6.10', 'django-extensions', 'djangorestframework', 'south', 'traits', 'networkx', ], platforms=['OS Independent'], license='Gnu Public License V2', classifiers=CLASSIFIERS, keywords=KEYWORDS, packages=['timeside'], include_package_data=True, zip_safe=False, scripts=['scripts/timeside-waveforms', 'scripts/timeside-launch'], tests_require=['pytest'], cmdclass={'test': PyTest}, )
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys from setuptools import setup from setuptools.command.test import test as TestCommand # Pytest class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_args = ['tests', '--ignore', 'tests/sandbox', '--verbose'] self.test_suite = True def run_tests(self): #import here, cause outside the eggs aren't loaded import pytest errno = pytest.main(self.test_args) sys.exit(errno) CLASSIFIERS = [ 'Intended Audience :: Science/Research', 'Intended Audience :: Developers', 'Intended Audience :: Information Technology', 'Programming Language :: Python', 'Programming Language :: JavaScript', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Multimedia :: Sound/Audio', 'Topic :: Multimedia :: Sound/Audio :: Analysis', 'Topic :: Multimedia :: Sound/Audio :: Players', 'Topic :: Multimedia :: Sound/Audio :: Conversion', 'Topic :: Scientific/Engineering :: Information Analysis', 'Topic :: Software Development :: Libraries :: Python Modules', ] KEYWORDS = 'audio analysis features extraction MIR transcoding graph visualize plot HTML5 interactive metadata player' setup( name='TimeSide', url='https://github.com/Parisson/TimeSide/', description="open web audio processing framework", long_description=open('README.rst').read(), author="Guillaume Pellerin, Paul Brossier, Thomas Fillon, Riccardo Zaccarelli, Olivier Guilyardi", author_email="yomguy@parisson.com, piem@piem.org, thomas@parisson.com, riccardo.zaccarelli@gmail.com, olivier@samalyse.com", version='0.7', install_requires=[ 'numpy', 'mutagen', 'pillow', 'h5py', 'tables', 'pyyaml', 'simplejson', 'scipy', 'matplotlib', 'django==1.6.8', 'django-extensions', 'djangorestframework', 'south', 'traits', 'networkx', ], platforms=['OS Independent'], license='Gnu Public License V2', classifiers=CLASSIFIERS, keywords=KEYWORDS, packages=['timeside'], include_package_data=True, zip_safe=False, scripts=['scripts/timeside-waveforms', 'scripts/timeside-launch'], tests_require=['pytest'], cmdclass={'test': PyTest}, )
agpl-3.0
Python
721e6979bc03875cb467f8a25b9983b7ca2ed8d5
Bump version
thombashi/pytablereader,thombashi/pytablereader,thombashi/pytablereader
setup.py
setup.py
import os.path import setuptools import sys REQUIREMENT_DIR = "requirements" needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv) pytest_runner = ["pytest-runner"] if needs_pytest else [] with open("README.rst") as fp: long_description = fp.read() with open(os.path.join("docs", "pages", "introduction", "summary.txt")) as f: summary = f.read() 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="pytablereader", version="0.4.2", url="https://github.com/thombashi/pytablereader", bugtrack_url="https://github.com/thombashi/pytablereader/issues", author="Tsuyoshi Hombashi", author_email="gogogo.vm@gmail.com", description=summary, include_package_data=True, install_requires=install_requires, keywords=[ "table", "reader", "CSV", "Excel", "HTML", "JSON", "Markdown", "MediaWiki", ], long_description=long_description, license="MIT License", packages=setuptools.find_packages(exclude=["test*"]), setup_requires=pytest_runner, tests_require=tests_require, classifiers=[ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Database", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", ], )
import os.path import setuptools import sys REQUIREMENT_DIR = "requirements" needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv) pytest_runner = ["pytest-runner"] if needs_pytest else [] with open("README.rst") as fp: long_description = fp.read() with open(os.path.join("docs", "pages", "introduction", "summary.txt")) as f: summary = f.read() 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="pytablereader", version="0.4.1", url="https://github.com/thombashi/pytablereader", bugtrack_url="https://github.com/thombashi/pytablereader/issues", author="Tsuyoshi Hombashi", author_email="gogogo.vm@gmail.com", description=summary, include_package_data=True, install_requires=install_requires, keywords=[ "table", "reader", "CSV", "Excel", "HTML", "JSON", "Markdown", "MediaWiki", ], long_description=long_description, license="MIT License", packages=setuptools.find_packages(exclude=["test*"]), setup_requires=pytest_runner, tests_require=tests_require, classifiers=[ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Database", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", ], )
mit
Python
7e31b8245c1cf9c7ae557fbd4d0c6e62631e9c84
bump version
nborrmann/jodel_api
setup.py
setup.py
from setuptools import setup, find_packages import os with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f: long_description = f.read() setup(name='jodel_api', version='1.2.5', description='Unoffical Python Interface to the Jodel API', long_description=long_description, url='https://github.com/nborrmann/jodel_api', author='Nils Borrmann', author_email='n.borrmann@googlemail.com', license='MIT', classifiers=[ 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: MIT License', 'Intended Audience :: Developers', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Message Boards', 'Topic :: Software Development :: Libraries :: Python Modules', ], keywords='jodel', package_dir={'': 'src'}, install_requires=['requests', 'future', 'mock', 'varint', 'protobuf'], packages=find_packages('src'), setup_requires=['pytest-runner', ], tests_require=['pytest', 'flaky'], zip_safe=False)
from setuptools import setup, find_packages import os with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f: long_description = f.read() setup(name='jodel_api', version='1.2.4', description='Unoffical Python Interface to the Jodel API', long_description=long_description, url='https://github.com/nborrmann/jodel_api', author='Nils Borrmann', author_email='n.borrmann@googlemail.com', license='MIT', classifiers=[ 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: MIT License', 'Intended Audience :: Developers', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Message Boards', 'Topic :: Software Development :: Libraries :: Python Modules', ], keywords='jodel', package_dir={'': 'src'}, install_requires=['requests', 'future', 'mock', 'varint', 'protobuf'], packages=find_packages('src'), setup_requires=['pytest-runner', ], tests_require=['pytest', 'flaky'], zip_safe=False)
mit
Python
d5285d8ce52a3d413a994656f788a5ab73cb01e3
update version to 1.0.0
openbaton/openbaton-cli,openbaton/openbaton-cli
setup.py
setup.py
import os from setuptools import setup, find_packages def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name="openbaton-cli", version="1.0.0", author="Open Baton", author_email="dev@openbaton.org", description="The Open Baton CLI", license="Apache 2", keywords="python vnfm nfvo open baton openbaton sdk cli rest", url="http://openbaton.github.io/", packages=find_packages(), scripts=["openbaton"], install_requires=['requests', 'texttable', 'tabulate'], long_description=read('README.rst'), classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", 'Topic :: Software Development :: Build Tools', "Topic :: Utilities", "License :: OSI Approved :: Apache Software License", ], entry_points={ 'console_scripts': [ 'openbaton = org.openbaton.cli.openbaton:start', ] } )
import os from setuptools import setup, find_packages def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() setup( name="openbaton-cli", version="2.2.1-beta8", author="Open Baton", author_email="dev@openbaton.org", description="The Open Baton CLI", license="Apache 2", keywords="python vnfm nfvo open baton openbaton sdk cli rest", url="http://openbaton.github.io/", packages=find_packages(), scripts=["openbaton"], install_requires=['requests', 'texttable', 'tabulate'], long_description=read('README.rst'), classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", 'Topic :: Software Development :: Build Tools', "Topic :: Utilities", "License :: OSI Approved :: Apache Software License", ], entry_points={ 'console_scripts': [ 'openbaton = org.openbaton.cli.openbaton:start', ] } )
apache-2.0
Python
a32b653210b408cc5ba90af464b9163b6e0dfd50
Add encoding
thombashi/sqliteschema
setup.py
setup.py
#!/usr/bin/env python # encoding: utf-8 """ .. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com> """ from __future__ import unicode_literals import io import os.path import sys import setuptools REQUIREMENT_DIR = "requirements" ENCODING = "utf8" with io.open("README.rst", encoding=ENCODING) as fp: long_description = fp.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_requires = [line.strip() for line in f if line.strip()] needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv) pytest_runner = ["pytest-runner"] if needs_pytest else [] setuptools.setup( name="sqliteschema", version="0.9.5", url="https://github.com/thombashi/sqliteschema", author="Tsuyoshi Hombashi", author_email="tsuyoshi.hombashi@gmail.com", description=""" A Python library to dump table schema of a SQLite database file. """, include_package_data=True, keywords=["SQLite", "library", "schema"], license="MIT License", long_description=long_description, packages=setuptools.find_packages(exclude=["test*"]), install_requires=install_requires, setup_requires=pytest_runner, tests_require=tests_requires, extras_require={ "test": tests_requires, }, classifiers=[ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Database", ])
#!/usr/bin/env python # encoding: utf-8 """ .. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com> """ from __future__ import unicode_literals import os.path import sys import setuptools REQUIREMENT_DIR = "requirements" with open("README.rst") as fp: long_description = fp.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_requires = [line.strip() for line in f if line.strip()] needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv) pytest_runner = ["pytest-runner"] if needs_pytest else [] setuptools.setup( name="sqliteschema", version="0.9.5", url="https://github.com/thombashi/sqliteschema", author="Tsuyoshi Hombashi", author_email="tsuyoshi.hombashi@gmail.com", description=""" A Python library to dump table schema of a SQLite database file. """, include_package_data=True, keywords=["SQLite", "library", "schema"], license="MIT License", long_description=long_description, packages=setuptools.find_packages(exclude=["test*"]), install_requires=install_requires, setup_requires=pytest_runner, tests_require=tests_requires, extras_require={ "test": tests_requires, }, classifiers=[ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Database", ])
mit
Python
c82911c53be76872af15961ab6c5269922da87f5
increment version
Parsely/probably
setup.py
setup.py
#!/usr/bin/env python from os.path import join import numpy as np from Cython.Build import cythonize from setuptools import Extension, setup VERSION = "1.1.3" extensions = [ Extension( "probably.maintenance", [join("probably", "maintenance.pyx")], include_dirs=[np.get_include()], ), ] setup( name="probably", version=VERSION, setup_requires=["oldest-supported-numpy", "cython"], ext_modules=cythonize(extensions), )
#!/usr/bin/env python from os.path import join import numpy as np from Cython.Build import cythonize from setuptools import Extension, setup VERSION = "1.1.2" extensions = [ Extension( "probably.maintenance", [join("probably", "maintenance.pyx")], include_dirs=[np.get_include()], ), ] setup( name="probably", version=VERSION, setup_requires=["oldest-supported-numpy", "cython"], ext_modules=cythonize(extensions), )
mit
Python
0b9da5fc6ae0ff75f524d1b7b6c1393fd6bc0823
add shapely as requirement
michaelaye/planet4,michaelaye/planet4,michaelaye/planet4,michaelaye/planet4
setup.py
setup.py
# To use a consistent encoding from codecs import open from os import path from setuptools import setup, find_packages DISTNAME = 'planet4' DESCRIPTION = "Software for the reduction and analysis of PlanetFour data." AUTHOR = "K.-Michael Aye" AUTHOR_EMAIL = "michael.aye@lasp.colorado.edu" MAINTAINER_EMAIL = AUTHOR_EMAIL URL = "https://github.com/michaelaye/planet4" LICENSE = "ISC" KEYWORDS = ['Mars', 'science', 'MRO', 'imaging'] DOWNLOAD_URL = "https://github.com/michaelaye/planet4" here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() setup( name=DISTNAME, version='0.11.0', packages=find_packages(), install_requires=['pandas', 'numpy', 'matplotlib', 'pyaml', 'shapely'], tests_require=['pytest'], setup_requires=['pytest-runner'], package_data={ 'planet4': ['data/*'] }, entry_points={ "console_scripts": [ 'p4reduction = planet4.reduction:main', 'plot_p4_imageid = planet4.markings:main', 'create_season2and3 = planet4.reduction:create_season2_and_3_database', 'p4catalog_production = planet4.catalog_production:main', 'hdf2csv = planet4.hdf2csv:main', 'cluster_image_id = planet4.dbscan:main' ] }, # metadata author=AUTHOR, author_email=AUTHOR_EMAIL, maintainer_email=AUTHOR_EMAIL, description=DESCRIPTION, long_description=LONG_DESCRIPTION, license=LICENSE, keywords=KEYWORDS, url=URL, download_url=DOWNLOAD_URL, classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: Science/Research', 'Intended Audience :: Developers' 'License :: OSI Approved :: ISC License (ISCL)', 'Programming Language :: Python :: 3.6', 'Topic :: Scientific/Engineering :: Astronomy', 'Topic :: Scientific/Engineering :: Information Analysis', ] )
# To use a consistent encoding from codecs import open from os import path from setuptools import setup, find_packages DISTNAME = 'planet4' DESCRIPTION = "Software for the reduction and analysis of PlanetFour data." AUTHOR = "K.-Michael Aye" AUTHOR_EMAIL = "michael.aye@lasp.colorado.edu" MAINTAINER_EMAIL = AUTHOR_EMAIL URL = "https://github.com/michaelaye/planet4" LICENSE = "ISC" KEYWORDS = ['Mars', 'science', 'MRO', 'imaging'] DOWNLOAD_URL = "https://github.com/michaelaye/planet4" here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.md'), encoding='utf-8') as f: LONG_DESCRIPTION = f.read() setup( name=DISTNAME, version='0.11.0', packages=find_packages(), install_requires=['pandas', 'numpy', 'matplotlib', 'pyaml'], tests_require=['pytest'], setup_requires=['pytest-runner'], package_data={ 'planet4': ['data/*'] }, entry_points={ "console_scripts": [ 'p4reduction = planet4.reduction:main', 'plot_p4_imageid = planet4.markings:main', 'create_season2and3 = planet4.reduction:create_season2_and_3_database', 'p4catalog_production = planet4.catalog_production:main', 'hdf2csv = planet4.hdf2csv:main', 'cluster_image_id = planet4.dbscan:main' ] }, # metadata author=AUTHOR, author_email=AUTHOR_EMAIL, maintainer_email=AUTHOR_EMAIL, description=DESCRIPTION, long_description=LONG_DESCRIPTION, license=LICENSE, keywords=KEYWORDS, url=URL, download_url=DOWNLOAD_URL, classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Intended Audience :: Science/Research', 'Intended Audience :: Developers' 'License :: OSI Approved :: ISC License (ISCL)', 'Programming Language :: Python :: 3.6', 'Topic :: Scientific/Engineering :: Astronomy', 'Topic :: Scientific/Engineering :: Information Analysis', ] )
isc
Python
b3542a8865b8b218cec6791d3a427a57b4f63318
Bump version
mjg59/python-broadlink
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages version = '0.16.0' setup( name='broadlink', version=version, author='Matthew Garrett', author_email='mjg59@srcf.ucam.org', url='http://github.com/mjg59/python-broadlink', packages=find_packages(), scripts=[], install_requires=['cryptography>=2.1.1'], description='Python API for controlling Broadlink IR controllers', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', ], include_package_data=True, zip_safe=False, )
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages version = '0.15.0' setup( name='broadlink', version=version, author='Matthew Garrett', author_email='mjg59@srcf.ucam.org', url='http://github.com/mjg59/python-broadlink', packages=find_packages(), scripts=[], install_requires=['cryptography>=2.1.1'], description='Python API for controlling Broadlink IR controllers', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', ], include_package_data=True, zip_safe=False, )
mit
Python
d21a2eacc463bdb46c56accec13e2266d69668fe
Remove Python 2.6 trove classifier
nodish/pexpect,nodish/pexpect,nodish/pexpect
setup.py
setup.py
# encoding: utf-8 from distutils.core import setup import os import re with open(os.path.join(os.path.dirname(__file__), 'pexpect', '__init__.py'), 'r') as f: for line in f: version_match = re.search(r"__version__ = ['\"]([^'\"]*)['\"]", line) if version_match: version = version_match.group(1) break else: raise Exception("couldn't find version number") long_description = """ Pexpect is a pure Python module for spawning child applications; controlling them; and responding to expected patterns in their output. Pexpect works like Don Libes' Expect. Pexpect allows your script to spawn a child application and control it as if a human were typing commands. Pexpect can be used for automating interactive applications such as ssh, ftp, passwd, telnet, etc. It can be used to a automate setup scripts for duplicating software package installations on different servers. It can be used for automated software testing. Pexpect is in the spirit of Don Libes' Expect, but Pexpect is pure Python. The main features of Pexpect require the pty module in the Python standard library, which is only available on Unix-like systems. Some features—waiting for patterns from file descriptors or subprocesses—are also available on Windows. """ setup (name='pexpect', version=version, packages=['pexpect'], description='Pexpect allows easy control of interactive console applications.', long_description=long_description, author='Noah Spurrier; Thomas Kluyver; Jeff Quast', author_email='noah@noah.org; thomas@kluyver.me.uk; contact@jeffquast.com', url='http://pexpect.readthedocs.org/', license='ISC license', platforms='UNIX', classifiers = [ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: ISC License (ISCL)', 'Operating System :: POSIX', 'Operating System :: MacOS :: MacOS X', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Topic :: Software Development', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Software Development :: Quality Assurance', 'Topic :: Software Development :: Testing', 'Topic :: System', 'Topic :: System :: Archiving :: Packaging', 'Topic :: System :: Installation/Setup', 'Topic :: System :: Shells', 'Topic :: System :: Software Distribution', 'Topic :: Terminals', ], install_requires=['ptyprocess>=0.5'], )
# encoding: utf-8 from distutils.core import setup import os import re with open(os.path.join(os.path.dirname(__file__), 'pexpect', '__init__.py'), 'r') as f: for line in f: version_match = re.search(r"__version__ = ['\"]([^'\"]*)['\"]", line) if version_match: version = version_match.group(1) break else: raise Exception("couldn't find version number") long_description = """ Pexpect is a pure Python module for spawning child applications; controlling them; and responding to expected patterns in their output. Pexpect works like Don Libes' Expect. Pexpect allows your script to spawn a child application and control it as if a human were typing commands. Pexpect can be used for automating interactive applications such as ssh, ftp, passwd, telnet, etc. It can be used to a automate setup scripts for duplicating software package installations on different servers. It can be used for automated software testing. Pexpect is in the spirit of Don Libes' Expect, but Pexpect is pure Python. The main features of Pexpect require the pty module in the Python standard library, which is only available on Unix-like systems. Some features—waiting for patterns from file descriptors or subprocesses—are also available on Windows. """ setup (name='pexpect', version=version, packages=['pexpect'], description='Pexpect allows easy control of interactive console applications.', long_description=long_description, author='Noah Spurrier; Thomas Kluyver; Jeff Quast', author_email='noah@noah.org; thomas@kluyver.me.uk; contact@jeffquast.com', url='http://pexpect.readthedocs.org/', license='ISC license', platforms='UNIX', classifiers = [ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: ISC License (ISCL)', 'Operating System :: POSIX', 'Operating System :: MacOS :: MacOS X', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Topic :: Software Development', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Software Development :: Quality Assurance', 'Topic :: Software Development :: Testing', 'Topic :: System', 'Topic :: System :: Archiving :: Packaging', 'Topic :: System :: Installation/Setup', 'Topic :: System :: Shells', 'Topic :: System :: Software Distribution', 'Topic :: Terminals', ], install_requires=['ptyprocess>=0.5'], )
isc
Python
b00c8f40415ef14a674d76e71143c7d77d38cb4f
Bump version
mirumee/django-offsite-storage
setup.py
setup.py
#! /usr/bin/env python from setuptools import setup, find_packages setup( name='django-offsite-storage', author='Mirumee Software', author_email='hello@mirumee.com', description="Cloud static and media file storage suitable for app containers", license='MIT', version='0.0.4', url='https://github.com/mirumee/django-offsite-storage', packages=find_packages(), include_package_data=True, install_requires=[ 'boto>=2.36.0', 'Django>=1.7', ], classifiers=[ 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Software Development :: Libraries :: Application Frameworks', 'Topic :: Software Development :: Libraries :: Python Modules' ], zip_safe=False )
#! /usr/bin/env python from setuptools import setup, find_packages setup( name='django-offsite-storage', author='Mirumee Software', author_email='hello@mirumee.com', description="Cloud static and media file storage suitable for app containers", license='MIT', version='0.0.3', url='https://github.com/mirumee/django-offsite-storage', packages=find_packages(), include_package_data=True, install_requires=[ 'boto>=2.36.0', 'Django>=1.7', ], classifiers=[ 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Software Development :: Libraries :: Application Frameworks', 'Topic :: Software Development :: Libraries :: Python Modules' ], zip_safe=False )
bsd-3-clause
Python
0e4abdd8ab8ced760dbd2eb2c39afd8e88e4e87f
Add requests as a dependency
xapple/plumbing
setup.py
setup.py
from setuptools import setup, find_packages setup( name = 'plumbing', version = '2.9.9', description = 'Helps with plumbing-type programing in python.', license = 'MIT', url = 'http://github.com/xapple/plumbing/', author = 'Lucas Sinclair', author_email = 'lucas.sinclair@me.com', packages = find_packages(), install_requires = ['autopaths>=1.4.2', 'six', 'pandas', 'numpy', 'matplotlib', 'retry', 'tzlocal', 'packaging', 'requests'], long_description = open('README.md').read(), long_description_content_type = 'text/markdown', include_package_data = True, )
from setuptools import setup, find_packages setup( name = 'plumbing', version = '2.9.9', description = 'Helps with plumbing-type programing in python.', license = 'MIT', url = 'http://github.com/xapple/plumbing/', author = 'Lucas Sinclair', author_email = 'lucas.sinclair@me.com', packages = find_packages(), install_requires = ['autopaths>=1.4.2', 'six', 'pandas', 'numpy', 'matplotlib', 'retry', 'tzlocal', 'packaging'], long_description = open('README.md').read(), long_description_content_type = 'text/markdown', include_package_data = True, )
mit
Python
d3bb3f9d3e1b45eddccdb5406399f2ee8fb763e7
Bump to next dev version
texastribune/tt_dailyemailblast,texastribune/tt_dailyemailblast
setup.py
setup.py
from distutils.core import setup import os # Stolen from django-registration # Compile the list of packages available, because distutils doesn't have # an easy way to do this. packages, data_files = [], [] root_dir = os.path.dirname(__file__) if root_dir: os.chdir(root_dir) for dirpath, dirnames, filenames in os.walk('tt_dailyemailblast'): # Ignore dirnames that start with '.' for i, dirname in enumerate(dirnames): if dirname.startswith('.'): del dirnames[i] if '__init__.py' in filenames: pkg = dirpath.replace(os.path.sep, '.') if os.path.altsep: pkg = pkg.replace(os.path.altsep, '.') packages.append(pkg) elif filenames: prefix = dirpath[len('tt_dailyemailblast/'):] for f in filenames: data_files.append(os.path.join(prefix, f)) setup( name='tt_dailyemailblast', version='0.4.0', description='Texas Tribune: tt_dailyemailblast', author='Tribune Tech', author_email='tech@texastribune.org', url='http://github.com/texastribune/tt_dailyemailblast/', packages=packages, package_data={'tt_dailyemailblast': data_files}, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Utilities', ], )
from distutils.core import setup import os # Stolen from django-registration # Compile the list of packages available, because distutils doesn't have # an easy way to do this. packages, data_files = [], [] root_dir = os.path.dirname(__file__) if root_dir: os.chdir(root_dir) for dirpath, dirnames, filenames in os.walk('tt_dailyemailblast'): # Ignore dirnames that start with '.' for i, dirname in enumerate(dirnames): if dirname.startswith('.'): del dirnames[i] if '__init__.py' in filenames: pkg = dirpath.replace(os.path.sep, '.') if os.path.altsep: pkg = pkg.replace(os.path.altsep, '.') packages.append(pkg) elif filenames: prefix = dirpath[len('tt_dailyemailblast/'):] for f in filenames: data_files.append(os.path.join(prefix, f)) setup( name='tt_dailyemailblast', version='0.3.0', description='Texas Tribune: tt_dailyemailblast', author='Tribune Tech', author_email='tech@texastribune.org', url='http://github.com/texastribune/tt_dailyemailblast/', packages=packages, package_data={'tt_dailyemailblast': data_files}, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Utilities', ], )
apache-2.0
Python
8cc696765322fbce278f6ca0442acff2922722da
Allow `python setup.py test`.
funkybob/django-classy-settings,tysonclugg/django-classy-settings,pombredanne/django-classy-settings
setup.py
setup.py
from setuptools import setup setup( name='django-classy-settings', version='1.1.5', description='Simple class-based settings for Django', author='Curtis Maloney', author_email='curtis@tinbrain.net', packages=[ 'cbs', 'cbs.base', ], classifiers=[ 'Development Status :: 5 - Production/Stable', 'Framework :: Django', 'Intended Audience :: Developers', ], install_requires=[ 'Django>=1.6', ], test_suite='tests', )
from setuptools import setup setup( name='django-classy-settings', version='1.1.5', description='Simple class-based settings for Django', author='Curtis Maloney', author_email='curtis@tinbrain.net', packages=[ 'cbs', 'cbs.base', ], classifiers=[ 'Development Status :: 5 - Production/Stable', 'Framework :: Django', 'Intended Audience :: Developers', ], install_requires=[ 'Django>=1.6', ], )
bsd-2-clause
Python
8496f081546d759a57f917d016d2fe25fdc7afc2
Add a framework classifier (#61)
zheller/flake8-quotes,zheller/flake8-quotes
setup.py
setup.py
import io import os from setuptools import setup __dir__ = os.path.dirname(__file__) def read(*filenames, **kwargs): encoding = kwargs.get('encoding', 'utf-8') sep = kwargs.get('sep', '\n') buf = [] for filename in filenames: with io.open(filename, encoding=encoding) as f: buf.append(f.read()) return sep.join(buf) LONG_DESCRIPTION = read(os.path.join(__dir__, 'README.rst')) about = {} with open(os.path.join(__dir__, 'flake8_quotes', '__about__.py')) as file: exec(file.read(), about) setup( name='flake8-quotes', author='Zachary Wright Heller', author_email='zheller@gmail.com', version=about['__version__'], install_requires=[ 'flake8', ], url='http://github.com/zheller/flake8-quotes/', long_description=LONG_DESCRIPTION, description='Flake8 lint for quotes.', packages=['flake8_quotes'], test_suite='test', include_package_data=True, entry_points={ 'flake8.extension': [ 'Q0 = flake8_quotes:QuoteChecker', ], }, license='MIT', zip_safe=True, keywords='flake8 lint quotes', classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Framework :: Flake8', 'Intended Audience :: Developers', 'Operating System :: OS Independent', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Software Development :: Quality Assurance', ] )
import io import os from setuptools import setup __dir__ = os.path.dirname(__file__) def read(*filenames, **kwargs): encoding = kwargs.get('encoding', 'utf-8') sep = kwargs.get('sep', '\n') buf = [] for filename in filenames: with io.open(filename, encoding=encoding) as f: buf.append(f.read()) return sep.join(buf) LONG_DESCRIPTION = read(os.path.join(__dir__, 'README.rst')) about = {} with open(os.path.join(__dir__, 'flake8_quotes', '__about__.py')) as file: exec(file.read(), about) setup( name='flake8-quotes', author='Zachary Wright Heller', author_email='zheller@gmail.com', version=about['__version__'], install_requires=[ 'flake8', ], url='http://github.com/zheller/flake8-quotes/', long_description=LONG_DESCRIPTION, description='Flake8 lint for quotes.', packages=['flake8_quotes'], test_suite='test', include_package_data=True, entry_points={ 'flake8.extension': [ 'Q0 = flake8_quotes:QuoteChecker', ], }, license='MIT', zip_safe=True, keywords='flake8 lint quotes', classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: Developers', 'Operating System :: OS Independent', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Software Development :: Quality Assurance', ] )
mit
Python
de7feeb739e07ae08eee21dd8c017c9f5f0f8924
修改setup.py中的包名问题
reorx/torext,reorx/torext
setup.py
setup.py
#!/usr/bin/python # -*- coding: utf-8 -*- __version__ = '0.1' from setuptools import setup setup( name='torext', version=__version__, author='Nodemix', author_email='novoreorx@gmail.com', url='http://nodemix.com', description='torext is an instrumental package which aim at easy implementation of tornado based project', packages=[ 'torext', 'torext.db', 'torext.web', 'torext.utils', 'torext.scripts', 'torext.third' ], package_data = { 'torext': ['fixtures/base_options.yaml', 'fixtures/custom_options_template.yaml'] }, scripts=['bin/torext_syntax'], install_requires=[ 'tornado==2.1.1', 'pyyaml', 'pymongo>=2.1', 'mongokit>=0.7.2', 'redis>=2.4', 'pika>=0.9.5', 'requests>=0.9', 'pyflakes>=0.5.0', 'jsonrpclib>=0.1.3' ] )
#!/usr/bin/python # -*- coding: utf-8 -*- __version__ = '0.1' from setuptools import setup setup( name='torext', version=__version__, author='Nodemix', author_email='novoreorx@gmail.com', url='http://nodemix.com', description='torext is an instrumental package which aim at easy implementation of tornado based project', packages=[ 'torext', 'torext.handler', 'torext.utils', 'torext.scripts', 'torext.third' ], package_data = { 'torext': ['fixtures/base_options.yaml', 'fixtures/custom_options_template.yaml'] }, scripts=['bin/torext_syntax'], install_requires=[ 'tornado==2.1.1', 'pyyaml', 'pymongo>=2.1', 'mongokit>=0.7.2', 'redis>=2.4', 'pika>=0.9.5', 'requests>=0.9', 'pyflakes>=0.5.0', 'jsonrpclib>=0.1.3' ] )
mit
Python
36dcf720f57a6cecd1ecd078e003b2e448c6d78b
Update trove classifiers; setup.py test uses pytest, not tox
ktalik/tornado-json,Tarsbot/Tornado-JSON,hfaran/Tornado-JSON
setup.py
setup.py
import os import sys __DIR__ = os.path.abspath(os.path.dirname(__file__)) import codecs from setuptools import setup from setuptools.command.test import test as TestCommand import tornado_json def read(filename): """Read and return `filename` in root dir of project and return string""" return codecs.open(os.path.join(__DIR__, filename), 'r').read() install_requires = read("requirements.txt").split() long_description = read('README.md') class Pytest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_args = ['--verbose'] self.test_suite = True def run_tests(self): # Using pytest rather than tox because Travis-CI has issues with tox # Import here, cause outside the eggs aren't loaded import pytest errcode = pytest.main(self.test_args) sys.exit(errcode) setup( name="Tornado-JSON", version=tornado_json.__version__, url='https://github.com/hfaran/Tornado-JSON', license='MIT License', author='Hamza Faran', description=('A simple JSON API framework based on Tornado'), long_description=long_description, packages=['tornado_json'], install_requires = install_requires, tests_require=['pytest'], cmdclass = {'test': Pytest}, data_files=[ # Populate this with any files config files etc. ], classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Libraries :: Application Frameworks", ] )
import os import sys __DIR__ = os.path.abspath(os.path.dirname(__file__)) import codecs from setuptools import setup from setuptools.command.test import test as TestCommand import tornado_json def read(filename): """Read and return `filename` in root dir of project and return string""" return codecs.open(os.path.join(__DIR__, filename), 'r').read() install_requires = read("requirements.txt").split() long_description = read('README.md') class Tox(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) # self.test_args = [] self.test_args = ['--verbose'] self.test_suite = True def run_tests(self): # import here, cause outside the eggs aren't loaded # import tox # errcode = tox.cmdline(self.test_args) # Using pytest rather than tox because Travis-CI has issues with tox import pytest errcode = pytest.main(self.test_args) sys.exit(errcode) setup( name="Tornado-JSON", version=tornado_json.__version__, url='https://github.com/hfaran/Tornado-JSON', license='MIT License', author='Hamza Faran', description=('A simple JSON API framework based on Tornado'), long_description=long_description, packages=['tornado_json'], install_requires = install_requires, tests_require=['tox'], cmdclass = {'test': Tox}, data_files=[ # Populate this with any files config files etc. ], classifiers=[ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Topic :: Software Development :: Libraries :: Application Frameworks", ] )
mit
Python
3d600fba92030885bbe3ef6a7724478efcf5bc82
fix tuple->list for classifier
kivy/plyer,KeyWeeUsr/plyer,kivy/plyer,kivy/plyer,KeyWeeUsr/plyer,kived/plyer,kived/plyer,KeyWeeUsr/plyer
setup.py
setup.py
#!/usr/bin/env python from os.path import dirname, join import plyer try: from setuptools import setup except ImportError: from distutils.core import setup curdir = dirname(__file__) packages = [ 'plyer', 'plyer.facades', 'plyer.platforms', 'plyer.platforms.linux', 'plyer.platforms.android', 'plyer.platforms.win', 'plyer.platforms.win.libs', 'plyer.platforms.ios', 'plyer.platforms.macosx', 'plyer.platforms.macosx.libs', ] with open(join(curdir, "README.rst")) as fd: readme = fd.read() with open(join(curdir, "CHANGELOG.md")) as fd: changelog = fd.read() setup( name='plyer', version=plyer.__version__, description='Platform-independent wrapper for platform-dependent APIs', long_description=readme + "\n\n" + changelog, author='Kivy team', author_email='mat@kivy.org', url='https://plyer.readthedocs.org/en/latest/', packages=packages, package_data={'': ['LICENSE', 'README.rst']}, package_dir={'plyer': 'plyer'}, include_package_data=True, license=open(join(curdir, 'LICENSE')).read(), zip_safe=False, classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Natural Language :: English', 'License :: OSI Approved :: MIT License', '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 :: 3.5', ], )
#!/usr/bin/env python from os.path import dirname, join import plyer try: from setuptools import setup except ImportError: from distutils.core import setup curdir = dirname(__file__) packages = [ 'plyer', 'plyer.facades', 'plyer.platforms', 'plyer.platforms.linux', 'plyer.platforms.android', 'plyer.platforms.win', 'plyer.platforms.win.libs', 'plyer.platforms.ios', 'plyer.platforms.macosx', 'plyer.platforms.macosx.libs', ] with open(join(curdir, "README.rst")) as fd: readme = fd.read() with open(join(curdir, "CHANGELOG.md")) as fd: changelog = fd.read() setup( name='plyer', version=plyer.__version__, description='Platform-independent wrapper for platform-dependent APIs', long_description=readme + "\n\n" + changelog, author='Kivy team', author_email='mat@kivy.org', url='https://plyer.readthedocs.org/en/latest/', packages=packages, package_data={'': ['LICENSE', 'README.rst']}, package_dir={'plyer': 'plyer'}, include_package_data=True, license=open(join(curdir, 'LICENSE')).read(), zip_safe=False, classifiers=( 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Natural Language :: English', 'License :: OSI Approved :: MIT License', '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 :: 3.5', ), )
mit
Python
3f145033028ca7ca8dca5394af9f278c9cd87fbf
Copy bias PWM file to correct location during installation.
lweasel/piquant,lweasel/piquant
setup.py
setup.py
from setuptools import setup import piquant setup( name='piquant', version=piquant.__version__, url='https://github.com/lweasel/piquant', license='MIT License', author='Owen Dando', author_email='owen.dando@ed.ac.uk', packages=['piquant'], install_requires=[ 'Cython==0.20.1', 'Jinja2==2.7.2', 'MarkupSafe==0.23', 'Pygments==1.6', 'Sphinx==1.2.2', 'argparse==1.2.1', 'docopt==0.6.1', 'docutils==0.11', 'matplotlib==1.4.1', 'numpy==1.9.0', 'pandas==0.13.0', 'py==1.4.20', 'pyparsing==2.0.2', 'pytest==2.5.2', 'python-dateutil==2.2', 'pytz==2014.2', 'schema==0.3.1', 'scipy==0.13.3', 'seaborn==0.3.1', 'six==1.6.1', ], scripts=[ 'bin/analyse_quantification_run', 'bin/assemble_quantification_data', 'bin/calculate_reads_for_depth', 'bin/calculate_unique_transcript_sequence', 'bin/count_transcripts_for_genes', 'bin/fix_antisense_reads', 'bin/piquant', 'bin/randomise_read_strands', 'bin/simulate_read_bias' ], package_data={ 'piquant': ['bias_motif.pwm'], }, )
from setuptools import setup import piquant setup( name='piquant', version=piquant.__version__, url='https://github.com/lweasel/piquant', license='MIT License', author='Owen Dando', author_email='owen.dando@ed.ac.uk', packages=['piquant'], install_requires=[ 'Cython==0.20.1', 'Jinja2==2.7.2', 'MarkupSafe==0.23', 'Pygments==1.6', 'Sphinx==1.2.2', 'argparse==1.2.1', 'docopt==0.6.1', 'docutils==0.11', 'matplotlib==1.4.1', 'numpy==1.9.0', 'pandas==0.13.0', 'py==1.4.20', 'pyparsing==2.0.2', 'pytest==2.5.2', 'python-dateutil==2.2', 'pytz==2014.2', 'schema==0.3.1', 'scipy==0.13.3', 'seaborn==0.3.1', 'six==1.6.1', ], scripts=[ 'bin/analyse_quantification_run', 'bin/assemble_quantification_data', 'bin/calculate_reads_for_depth', 'bin/calculate_unique_transcript_sequence', 'bin/count_transcripts_for_genes', 'bin/fix_antisense_reads', 'bin/piquant', 'bin/randomise_read_strands', 'bin/simulate_read_bias' ] )
mit
Python
6b8b694456122431f623822c6c0663146d81badb
Bump version.
escherba/phraser,knighton/phraser,escherba/phraser,knighton/phraser,knighton/phraser,escherba/phraser,escherba/phraser,knighton/phraser
setup.py
setup.py
from distutils.core import setup, Extension from setuptools import find_packages import os SRC_ROOT = 'phraser/' # 1. Base flags. # 2. Max out warnings. # 3. Disable some warnings. # 4. Disable more warnings for LAPOS. COMPILE_FLAGS = (""" -std=c++11 -fcolor-diagnostics -O3 -ferror-limit=5 -I%s -Wpedantic -Wall -Weverything -Wextra -Werror -Wno-c++98-compat-pedantic -Wno-covered-switch-default -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-weak-vtables -Wno-shorten-64-to-32 -Wno-sign-conversion -Wno-old-style-cast -Wno-sign-compare -Wno-float-equal -Wno-unused-variable -Wno-unused-parameter -Wno-unused-function """ % SRC_ROOT).split() # C++ source naming convention: # * Main files end with .cpp # * Everything else ends with .cc def find_cc_files(root_dir): ff = [] for root, dirs, files in os.walk(root_dir): for name in files: if name.endswith('.cc'): f = os.path.join(root, name) ff.append(f) return ff # Use clang. os.environ['CC'] = 'clang' os.environ['CXX'] = 'clang++' phraser = Extension( name='phraser/ext/phraser', sources=find_cc_files(SRC_ROOT) + ['phraser/cc/pyext/phraser.cpp'], extra_compile_args=COMPILE_FLAGS, include_dirs=[SRC_ROOT], libraries=['boost_regex'], library_dirs=['/usr/local/lib/'], ) setup( name='phraser', version='0.0.2', author='James Knighton', author_email='iamknighton@gmail.com', description='Detects phrases in English text', license='MIT', packages=find_packages(), ext_modules=[phraser], )
from distutils.core import setup, Extension from setuptools import find_packages import os SRC_ROOT = 'phraser/' # 1. Base flags. # 2. Max out warnings. # 3. Disable some warnings. # 4. Disable more warnings for LAPOS. COMPILE_FLAGS = (""" -std=c++11 -fcolor-diagnostics -O3 -ferror-limit=5 -I%s -Wpedantic -Wall -Weverything -Wextra -Werror -Wno-c++98-compat-pedantic -Wno-covered-switch-default -Wno-exit-time-destructors -Wno-global-constructors -Wno-padded -Wno-weak-vtables -Wno-shorten-64-to-32 -Wno-sign-conversion -Wno-old-style-cast -Wno-sign-compare -Wno-float-equal -Wno-unused-variable -Wno-unused-parameter -Wno-unused-function """ % SRC_ROOT).split() # C++ source naming convention: # * Main files end with .cpp # * Everything else ends with .cc def find_cc_files(root_dir): ff = [] for root, dirs, files in os.walk(root_dir): for name in files: if name.endswith('.cc'): f = os.path.join(root, name) ff.append(f) return ff # Use clang. os.environ['CC'] = 'clang' os.environ['CXX'] = 'clang++' phraser = Extension( name='phraser/ext/phraser', sources=find_cc_files(SRC_ROOT) + ['phraser/cc/pyext/phraser.cpp'], extra_compile_args=COMPILE_FLAGS, include_dirs=[SRC_ROOT], libraries=['boost_regex'], library_dirs=['/usr/local/lib/'], ) setup( name='phraser', version='0.0.1', author='James Knighton', author_email='iamknighton@gmail.com', description='Detects phrases in English text', license='MIT', packages=find_packages(), ext_modules=[phraser], )
mit
Python
6457c155022aac6e7acc77ddb92a1845da984751
prepare publishing on pypi
sergeyglazyrindev/asceticcmdrunner
setup.py
setup.py
import sys from setuptools import setup # dirty hack, always use wheel sys.argv.append('bdist_wheel') def readme(): with open('README.rst') as f: return f.read() setup( name='acmdrunner', version='0.3', description='Ascetic command runner. The most ease way' ' to power your python app with custom management commands', long_description=readme(), classifiers=[ 'Development Status :: 4 - Beta', 'Topic :: Software Development :: Libraries :: Application Frameworks', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Utilities', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.1', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Intended Audience :: Developers' ], url='https://github.com/sergeyglazyrindev/asceticcmdrunner', author='Sergey Glazyrin', author_email='sergey.glazyrin.dev@gmail.com', license='MIT', packages=['acmdrunner', ], include_package_data=True, zip_safe=False, extras_require={ 'testing': ['nose', 'mock'], }, test_suite='tests', keywords=['command', 'dispatch'], download_url='https://github.com/sergeyglazyrindev/' 'asceticcmdrunner/tarball/0.3' )
import sys from setuptools import setup # dirty hack, always use wheel sys.argv.append('bdist_wheel') def readme(): with open('README.rst') as f: return f.read() setup( name='acmdrunner', version='0.2', description='Ascetic command runner. The most ease way' ' to power your python app with custom management commands', long_description=readme(), classifiers=[ 'Development Status :: 0.1 - Alpha', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Topic :: Misc', ], url='https://github.com/sergeyglazyrindev/asceticcmdrunner', author='Sergey Glazyrin', author_email='sergey.glazyrin.dev@gmail.com', license='MIT', packages=['acmdrunner', ], include_package_data=True, zip_safe=False, extras_require={ 'testing': ['nose', 'mock'], }, test_suite='tests', keywords=['command', 'dispatch'], download_url='https://github.com/sergeyglazyrindev/' 'asceticcmdrunner/tarball/0.2' )
mit
Python
cc8b371a7b62c7a48cdb8eab4231457787a19de0
Update contact email
pennlabs/penn-sdk-python,pennlabs/penn-sdk-python
setup.py
setup.py
from setuptools import setup setup( name='PennSDK', description='Python tools for building Penn-related applications', url='https://github.com/pennlabs/penn-sdk-python', author='Penn Labs', author_email='admin@pennlabs.org', version='1.3.1', packages=['penn'], license='MIT', package_data={ # If any package contains *.txt or *.rst files, include them: '': ['*.txt', '*.rst'], }, long_description=open('./README.rst').read(), install_requires=[ 'nameparser==0.4.0' 'requests==2.4.3', 'beautifulsoup4==4.3.2', 'html5lib==0.999' ] )
from setuptools import setup setup( name='PennSDK', description='Python tools for building Penn-related applications', url='https://github.com/pennlabs/penn-sdk-python', author='Penn Labs', author_email='pennappslabs@gmail.com', version='1.3.1', packages=['penn'], license='MIT', package_data={ # If any package contains *.txt or *.rst files, include them: '': ['*.txt', '*.rst'], }, long_description=open('./README.rst').read(), install_requires=[ 'nameparser==0.4.0' 'requests==2.4.3', 'beautifulsoup4==4.3.2', 'html5lib==0.999' ] )
mit
Python
d111f89dbf3ee2cd9b37a9bb1b5ee194bf0b8878
Add wheel requirement
mbarkhau/tinypng
setup.py
setup.py
from setuptools import setup from os.path import join, dirname from tinypng import __version__ def read(fname): with open(join(dirname(__file__), fname), 'r') as f: return f.read() setup( name='tinypng', version=__version__, description='Access api.tinypng.org from the shell and python scripts', long_description=read('README.rst'), author='Manuel Barkhau', author_email='mbarkhau@gmail.com', url='https://github.com/mbarkhau/tinypng/', license="BSD License", packages=['tinypng'], install_requires=['docopt>=0.6', 'requests>=2.0'], extras_require={'dev': ["wheel"]}, entry_points=""" [console_scripts] tinypng=tinypng:main """, keywords="png image compression tinypng shrink jpeg jpg", classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: POSIX', "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", 'Topic :: Utilities', ], )
from setuptools import setup from os.path import join, dirname from tinypng import __version__ def read(fname): with open(join(dirname(__file__), fname), 'r') as f: return f.read() setup( name='tinypng', version=__version__, description='Access api.tinypng.org from the shell and python scripts', long_description=read('README.rst'), author='Manuel Barkhau', author_email='mbarkhau@gmail.com', url='https://github.com/mbarkhau/tinypng/', license="BSD License", packages=['tinypng'], install_requires=['docopt>=0.6', 'requests>=2.0'], entry_points=""" [console_scripts] tinypng=tinypng:main """, keywords="png image compression tinypng shrink jpeg jpg", classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Console', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: POSIX', "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", 'Topic :: Utilities', ], )
bsd-2-clause
Python
4ce849d4b9dca558035766c806c1873291eb7dbd
Change version requirement for astropy
mwcraig/msumastro
setup.py
setup.py
from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand import sys class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [] self.test_suite = True def run_tests(self): import pytest errcode = pytest.main(self.test_args) sys.exit(errcode) setup( name='msumastro', version='0.1.3.1', description='Process FITS files', url='http://github.com/mwcraig/msumastro', long_description=(open('README.rst').read()), license='BSD 3-clause', author='Matt Craig', author_email='mcraig@mnstate.edu', packages=find_packages(exclude=['tests*']), include_package_data=True, install_requires=['astropysics>=0.0.dev0', 'astropy>=0.3', 'numpy'], extras_require={ 'testing': ['pytest>1.4', 'pytest-capturelog'], 'docs': ['numpydoc', 'sphinx-argparse'] }, cmdclass={'test': PyTest}, entry_points={ 'console_scripts': [ ('quick_add_keys_to_file.py = ' 'msumastro.scripts.quick_add_keys_to_file:main'), ('run_patch.py = ' 'msumastro.scripts.run_patch:main'), ('run_astrometry.py = ' 'msumastro.scripts.run_astrometry:main'), ('run_triage.py = ' 'msumastro.scripts.run_triage:main'), ('run_standard_header_process.py = ' 'msumastro.scripts.run_standard_header_process:main') ] }, classifiers=['Development Status :: 4 - Beta', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 2 :: Only', 'Intended Audience :: Science/Research', 'Topic :: Scientific/Engineering :: Astronomy'], )
from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand import sys class PyTest(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_args = [] self.test_suite = True def run_tests(self): import pytest errcode = pytest.main(self.test_args) sys.exit(errcode) setup( name='msumastro', version='0.1.3.1', description='Process FITS files', url='http://github.com/mwcraig/msumastro', long_description=(open('README.rst').read()), license='BSD 3-clause', author='Matt Craig', author_email='mcraig@mnstate.edu', packages=find_packages(exclude=['tests*']), include_package_data=True, install_requires=['astropysics>=0.0.dev0', 'astropy', 'numpy'], extras_require={ 'testing': ['pytest>1.4', 'pytest-capturelog'], 'docs': ['numpydoc', 'sphinx-argparse'] }, cmdclass={'test': PyTest}, entry_points={ 'console_scripts': [ ('quick_add_keys_to_file.py = ' 'msumastro.scripts.quick_add_keys_to_file:main'), ('run_patch.py = ' 'msumastro.scripts.run_patch:main'), ('run_astrometry.py = ' 'msumastro.scripts.run_astrometry:main'), ('run_triage.py = ' 'msumastro.scripts.run_triage:main'), ('run_standard_header_process.py = ' 'msumastro.scripts.run_standard_header_process:main') ] }, classifiers=['Development Status :: 4 - Beta', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 2 :: Only', 'Intended Audience :: Science/Research', 'Topic :: Scientific/Engineering :: Astronomy'], )
bsd-3-clause
Python
f5d70f4a23fe271d3f78b8eccb8d296b63936e4e
Bump minimum sqlalchemy version after an alembic issue.
d0ugal-archive/home,d0ugal-archive/home,d0ugal-archive/home,d0ugal-archive/home
setup.py
setup.py
import ast import codecs import os from setuptools import setup, find_packages class VersionFinder(ast.NodeVisitor): def __init__(self): self.version = None def visit_Assign(self, node): if getattr(node.targets[0], 'id', None) == '__version__': self.version = node.value.s def read(*parts): filename = os.path.join(os.path.dirname(__file__), *parts) with codecs.open(filename, encoding='utf-8') as fp: return fp.read() def find_version(*parts): finder = VersionFinder() finder.visit(ast.parse(read(*parts))) return finder.version setup( name="home", version=find_version("home", "__init__.py"), url='https://github.com/d0ugal/home', license='BSD', description="Home automation by @d0ugal.", long_description=read('README.rst'), author='Dougal Matthews', author_email='dougal@dougalmatthews.com', packages=find_packages(exclude=["tests*"]), install_requires=[ 'alembic>=0.6.4', 'Flask-Admin>=1.0.7', 'Flask-Login>=0.2.10', 'Flask-Migrate>=1.2.0', 'Flask-SQLAlchemy>=1.0', 'Flask>=0.10.1', 'psycopg2>=2.5.2', 'rfxcom>=0.1.0', 'simplejson>=3.3.3', 'SQLAlchemy>=0.9.4', ], include_package_data=True, platforms='any', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', ], entry_points={ 'console_scripts': [ 'home = home.__main__:main' ] }, zip_safe=False, )
import ast import codecs import os from setuptools import setup, find_packages class VersionFinder(ast.NodeVisitor): def __init__(self): self.version = None def visit_Assign(self, node): if getattr(node.targets[0], 'id', None) == '__version__': self.version = node.value.s def read(*parts): filename = os.path.join(os.path.dirname(__file__), *parts) with codecs.open(filename, encoding='utf-8') as fp: return fp.read() def find_version(*parts): finder = VersionFinder() finder.visit(ast.parse(read(*parts))) return finder.version setup( name="home", version=find_version("home", "__init__.py"), url='https://github.com/d0ugal/home', license='BSD', description="Home automation by @d0ugal.", long_description=read('README.rst'), author='Dougal Matthews', author_email='dougal@dougalmatthews.com', packages=find_packages(exclude=["tests*"]), install_requires=[ 'alembic>=0.6.4', 'Flask-Admin>=1.0.7', 'Flask-Login>=0.2.10', 'Flask-Migrate>=1.2.0', 'Flask-SQLAlchemy>=1.0', 'Flask>=0.10.1', 'psycopg2>=2.5.2', 'rfxcom>=0.1.0', 'simplejson>=3.3.3', 'SQLAlchemy>=0.9.3', ], include_package_data=True, platforms='any', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', ], entry_points={ 'console_scripts': [ 'home = home.__main__:main' ] }, zip_safe=False, )
bsd-3-clause
Python
02feaae7a1d049893a0e91ab65013d8d46ca5d59
Prepare openprocurement.auctions.dgf 1.1.2.
openprocurement/openprocurement.auctions.dgf
setup.py
setup.py
from setuptools import setup, find_packages import os version = '1.1.2' entry_points = { 'openprocurement.auctions.core.plugins': [ 'auctions.dgf = openprocurement.auctions.dgf:includeme' ], 'openprocurement.api.migrations': [ 'auctions = openprocurement.auctions.dgf.migration:migrate_data' ] } requires = [ 'setuptools', 'openprocurement.api', 'openprocurement.auctions.core', 'openprocurement.auctions.flash', ] docs_requires = requires + [ 'sphinxcontrib-httpdomain', ] setup(name='openprocurement.auctions.dgf', version=version, description="", long_description=open("README.rst").read() + "\n" + open(os.path.join("docs", "HISTORY.txt")).read(), # Get more strings from # http://pypi.python.org/pypi?:action=list_classifiers classifiers=[ "Programming Language :: Python", ], keywords='', author='Quintagroup, Ltd.', author_email='info@quintagroup.com', license='Apache License 2.0', url='https://github.com/openprocurement/openprocurement.auctions.dgf', packages=find_packages(exclude=['ez_setup']), namespace_packages=['openprocurement', 'openprocurement.auctions'], include_package_data=True, zip_safe=False, extras_require={'docs': docs_requires}, install_requires=requires, entry_points=entry_points, )
from setuptools import setup, find_packages import os version = '1.1.1' entry_points = { 'openprocurement.auctions.core.plugins': [ 'auctions.dgf = openprocurement.auctions.dgf:includeme' ], 'openprocurement.api.migrations': [ 'auctions = openprocurement.auctions.dgf.migration:migrate_data' ] } requires = [ 'setuptools', 'openprocurement.api', 'openprocurement.auctions.core', 'openprocurement.auctions.flash', ] docs_requires = requires + [ 'sphinxcontrib-httpdomain', ] setup(name='openprocurement.auctions.dgf', version=version, description="", long_description=open("README.rst").read() + "\n" + open(os.path.join("docs", "HISTORY.txt")).read(), # Get more strings from # http://pypi.python.org/pypi?:action=list_classifiers classifiers=[ "Programming Language :: Python", ], keywords='', author='Quintagroup, Ltd.', author_email='info@quintagroup.com', license='Apache License 2.0', url='https://github.com/openprocurement/openprocurement.auctions.dgf', packages=find_packages(exclude=['ez_setup']), namespace_packages=['openprocurement', 'openprocurement.auctions'], include_package_data=True, zip_safe=False, extras_require={'docs': docs_requires}, install_requires=requires, entry_points=entry_points, )
apache-2.0
Python
dd3ea5cc908ba7a15782c96c7d3bfa787ff871b1
Use python-fido2 from git (for now).
Yubico/yubikey-manager,Yubico/yubikey-manager
setup.py
setup.py
# Copyright (c) 2015 Yubico AB # All rights reserved. # # Redistribution and use in source and binary forms, with or # without modification, are permitted provided that the following # conditions are met: # # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above # copyright notice, this list of conditions and the following # disclaimer in the documentation and/or other materials provided # with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. import sys import os from setuptools import setup, find_packages install_requires = [ "pyscard", "click", "cryptography", "pyopenssl", "dataclasses;python_version<'3.7'", # TODO: Replace below with "fido2 >=0.9, <1.0", "fido2 @ https://api.github.com/repos/Yubico/python-fido2/tarball/master", ] if sys.platform == "win32": install_requires.append("pypiwin32") with open(os.path.join(os.path.dirname(__file__), "ykman/VERSION")) as version_file: version = version_file.read().strip() setup( name="yubikey-manager", version=version, author="Dain Nilsson", author_email="dain@yubico.com", maintainer="Yubico Open Source Maintainers", maintainer_email="ossmaint@yubico.com", url="https://github.com/Yubico/yubikey-manager", description="Tool for managing your YubiKey configuration.", license="BSD 2 clause", entry_points={"console_scripts": ["ykman=ykman.cli.__main__:main"]}, packages=find_packages(exclude=["test", "test.*"]), install_requires=install_requires, package_data={"ykman": ["VERSION"]}, include_package_data=True, classifiers=[ "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Development Status :: 5 - Production/Stable", "Intended Audience :: End Users/Desktop", "Topic :: Security :: Cryptography", "Topic :: Utilities", ], )
# Copyright (c) 2015 Yubico AB # All rights reserved. # # Redistribution and use in source and binary forms, with or # without modification, are permitted provided that the following # conditions are met: # # 1. Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # 2. Redistributions in binary form must reproduce the above # copyright notice, this list of conditions and the following # disclaimer in the documentation and/or other materials provided # with the distribution. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN # ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE # POSSIBILITY OF SUCH DAMAGE. import sys import os from setuptools import setup, find_packages install_requires = [ "pyscard", "click", "cryptography", "pyopenssl", "fido2 >= 0.9", "dataclasses;python_version<'3.7'", ] if sys.platform == "win32": install_requires.append("pypiwin32") with open(os.path.join(os.path.dirname(__file__), "ykman/VERSION")) as version_file: version = version_file.read().strip() setup( name="yubikey-manager", version=version, author="Dain Nilsson", author_email="dain@yubico.com", maintainer="Yubico Open Source Maintainers", maintainer_email="ossmaint@yubico.com", url="https://github.com/Yubico/yubikey-manager", description="Tool for managing your YubiKey configuration.", license="BSD 2 clause", entry_points={"console_scripts": ["ykman=ykman.cli.__main__:main"]}, packages=find_packages(exclude=["test", "test.*"]), install_requires=install_requires, package_data={"ykman": ["VERSION"]}, include_package_data=True, classifiers=[ "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Development Status :: 5 - Production/Stable", "Intended Audience :: End Users/Desktop", "Topic :: Security :: Cryptography", "Topic :: Utilities", ], )
bsd-2-clause
Python
3d67e8209f8e9e308b945b721fbbcbfd2b23d5d9
Update setup.py info
l04m33/filehub,l04m33/filehub
setup.py
setup.py
import os import ast from setuptools import setup PACKAGE_NAME = 'filehub' def load_description(fname): here = os.path.dirname(os.path.abspath(__file__)) with open(os.path.join(here, fname)) as f: return f.read().strip() def get_version(fname): with open(fname) as f: source = f.read() module = ast.parse(source) for e in module.body: if isinstance(e, ast.Assign) and \ len(e.targets) == 1 and \ e.targets[0].id == '__version__' and \ isinstance(e.value, ast.Str): return e.value.s raise RuntimeError('__version__ not found') setup( name=PACKAGE_NAME, packages=[PACKAGE_NAME], version=get_version('{}.py'.format(PACKAGE_NAME)), description='A relay server for sharing files via HTTP', long_description=load_description('README.rst'), classifiers=[ 'License :: OSI Approved :: MIT License', ], author='Kay Zheng', author_email='l04m33@gmail.com', url='https://github.com/l04m33/filehub', license='http://l04m33.mit-license.org/', zip_safe=False, install_requires=['pyxserver'], entry_points=""" [console_scripts] {0} = {0}:main """.format(PACKAGE_NAME), )
import os import ast from setuptools import setup PACKAGE_NAME = 'filehub' def load_description(fname): here = os.path.dirname(os.path.abspath(__file__)) with open(os.path.join(here, fname)) as f: return f.read().strip() def get_version(fname): with open(fname) as f: source = f.read() module = ast.parse(source) for e in module.body: if isinstance(e, ast.Assign) and \ len(e.targets) == 1 and \ e.targets[0].id == '__version__' and \ isinstance(e.value, ast.Str): return e.value.s raise RuntimeError('__version__ not found') setup( name=PACKAGE_NAME, version=get_version('{}.py'.format(PACKAGE_NAME)), description='A relay server for sharing files via HTTP', long_description=load_description('readme.rst'), classifiers=[ 'License :: OSI Approved :: MIT License', ], keywords='http web server', author='Kay Zheng', author_email='l04m33@gmail.com', license='MIT', zip_safe=False, install_requires=['pyxserver'], entry_points=""" [console_scripts] {0} = {0}:main """.format(PACKAGE_NAME), )
mit
Python
dbc3abb5320e6800af05e6bb62ae7ace45011c2a
increment version number
meyersj/geotweet,meyersj/geotweet,meyersj/geotweet
setup.py
setup.py
try: from setuptools import setup except ImportError: from distutils.core import setup setup( name='geotweet', version='0.1.2', description='Fetch geographic tweets from Twitter Streaming API', author='Jeffrey Alan Meyers', author_email='jeffrey.alan.meyers@gmail.com', url='https://github.com/meyersj/geotweet', packages=['geotweet'], scripts=['bin/geotweet'], install_requires=[ 'argparse', 'boto3', 'python-twitter', 'pyinotify', ] )
try: from setuptools import setup except ImportError: from distutils.core import setup setup( name='geotweet', version='0.1.1', description='Fetch geographic tweets from Twitter Streaming API', author='Jeffrey Alan Meyers', author_email='jeffrey.alan.meyers@gmail.com', url='https://github.com/meyersj/geotweet', packages=['geotweet'], scripts=['bin/geotweet'], install_requires=[ 'argparse', 'boto3', 'python-twitter', 'pyinotify', ] )
mit
Python
6a590bb0d6fbd7367fda3edd0f48d12456efb3c4
Add pytest to tests_require in setup.py
whiskerlabs/mmringbuffer
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages setup( name = "mmringbuffer", version = "0.0.1.dev0", description = "A memory-mapped ring buffer implementation in Python.", url = "https://github.com/whiskerlabs/mmringbuffer", author = "Evan Meagher", author_email = "evan@whiskerlabs.com", license = "MIT", packages = find_packages(), tests_require = ["pytest>=2.7.1"], # See https://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers = [ # How mature is this project? Common values are # 3 - Alpha # 4 - Beta # 5 - Production/Stable "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python" ], keywords = "mmap memory mapped ring circular buffer", )
#!/usr/bin/env python from setuptools import setup, find_packages setup( name = "mmringbuffer", version = "0.0.1.dev0", description = "A memory-mapped ring buffer implementation in Python.", url = "https://github.com/whiskerlabs/mmringbuffer", author = "Evan Meagher", author_email = "evan@whiskerlabs.com", license = "MIT", packages = find_packages(), # See https://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers = [ # How mature is this project? Common values are # 3 - Alpha # 4 - Beta # 5 - Production/Stable "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python" ], keywords = "mmap memory mapped ring circular buffer", )
mit
Python
93d4973725d2eb0ff955765b4ba5f433d39564d4
Update setup.py
twneale/rexlex,twneale/rexlex
setup.py
setup.py
#!/usr/bin/env python from setuptools import find_packages, setup long_description = """Basic regular expression lexer implementation. """ appname = "rexlex" version = "0.00" setup(**{ "name": appname, "version": version, "packages": [ 'tater', ], "author": "Thom Neale", "packages": find_packages(exclude=['tests*']), "package_data": { 'rexlex.lexer': ['*.py'], 'rexlex.scanner': ['*.py'], }, "author_email": "twneale@gmail.com", "long_description": long_description, "description": 'Basic regular expression lexer implementation.', "license": "MIT", "url": "http://twneale.github.com/rexlex/", "platforms": ['any'], "scripts": [ ] })
#!/usr/bin/env python from setuptools import find_packages, setup long_description = """Tokenizer and basic smart-objects AST-builder implementation. """ appname = "tater" version = "0.04" setup(**{ "name": appname, "version": version, "packages": [ 'tater', ], "author": "Thom Neale", "packages": find_packages(exclude=['tests*']), "package_data": { 'tater.base': ['*.py'], 'tater.core': ['*.py'], 'tater.ext': ['*.py'], 'tater.utils': ['*.py'], }, "author_email": "twneale@gmail.com", "long_description": long_description, "description": 'Basic tokenizer and smart-objects implentation.', "license": "MIT", "url": "http://twneale.github.com/tater/", "platforms": ['any'], "scripts": [ ] })
bsd-3-clause
Python
6a07e4b3b0c67c442f0501f19c0253b4c99637cd
Add more requirements that are needed for this module
benkonrath/transip-api,benkonrath/transip-api
setup.py
setup.py
from setuptools import setup import transip setup( name = transip.__name__, version = transip.__version__, author = transip.__author__, author_email = transip.__email__, license = transip.__license__, description = transip.__doc__.splitlines()[0], long_description = open('README.rst').read(), url = 'http://github.com/goabout/transip-backup', download_url = 'http://github.com/goabout/transip-backup/archives/master', packages = ['transip', 'transip.service'], include_package_data = True, zip_safe = False, platforms = ['all'], test_suite = 'tests', entry_points = { 'console_scripts': [ 'transip-api = transip.transip_cli:main', ], }, install_requires = [ 'requests', 'rsa', 'suds', ], )
from setuptools import setup import transip setup( name = transip.__name__, version = transip.__version__, author = transip.__author__, author_email = transip.__email__, license = transip.__license__, description = transip.__doc__.splitlines()[0], long_description = open('README.rst').read(), url = 'http://github.com/goabout/transip-backup', download_url = 'http://github.com/goabout/transip-backup/archives/master', packages = ['transip', 'transip.service'], include_package_data = True, zip_safe = False, platforms = ['all'], test_suite = 'tests', entry_points = { 'console_scripts': [ 'transip-api = transip.transip_cli:main', ], }, install_requires = [ 'requests', ], )
mit
Python
6b35679fafe70a691fc17c29fd50c459f910c105
Bump requests from 2.7.0 to 2.20.0 (#10)
kokosing/docker-release,kokosing/docker-release
setup.py
setup.py
from setuptools import setup, find_packages requirements = [ 'GitPython == 1.0.1', 'docker-py >= 1.7.0', 'requests ==2.20.0' ] setup_requirements = [ 'flake8' ] description = """ Tool for releasing docker images. It is useful when your docker image files are under continuous development and you want to have a convenient way to release (publish) them. This utility supports: - tagging git repository when a docker image gets released - tagging docker image with a git hash commit - incrementing docker image version (tag) - updating 'latest' tag in the docker hub """ setup( name='docker-release', version='0.9-SNAPSHOT', description=description, author='Grzegorz Kokosinski', author_email='g.kokosinski a) gmail.com', keywords='docker image release', url='https://github.com/kokosing/docker-release', packages=find_packages(), package_dir={'docker_release': 'docker_release'}, install_requires=requirements, setup_requires=setup_requirements, entry_points={'console_scripts': ['docker-release = docker_release.main:main']} )
from setuptools import setup, find_packages requirements = [ 'GitPython == 1.0.1', 'docker-py >= 1.7.0', 'requests ==2.7.0' ] setup_requirements = [ 'flake8' ] description = """ Tool for releasing docker images. It is useful when your docker image files are under continuous development and you want to have a convenient way to release (publish) them. This utility supports: - tagging git repository when a docker image gets released - tagging docker image with a git hash commit - incrementing docker image version (tag) - updating 'latest' tag in the docker hub """ setup( name='docker-release', version='0.9-SNAPSHOT', description=description, author='Grzegorz Kokosinski', author_email='g.kokosinski a) gmail.com', keywords='docker image release', url='https://github.com/kokosing/docker-release', packages=find_packages(), package_dir={'docker_release': 'docker_release'}, install_requires=requirements, setup_requires=setup_requirements, entry_points={'console_scripts': ['docker-release = docker_release.main:main']} )
apache-2.0
Python
1c3cd15b03323bef5430d05754be27911115579f
Fix graphitesend dependency verison.
amorphic/braubuddy,amorphic/braubuddy,amorphic/braubuddy
setup.py
setup.py
from setuptools import setup, find_packages setup( name='braubuddy', version='0.3.0', author='James Stewart', author_email='jstewart101@gmail.com', description='An extensile thermostat framework', long_description=open('README.rst').read(), license='LICENSE.txt', packages=find_packages(), url='http://braubuddy.org/', include_package_data=True, entry_points={ 'console_scripts': [ 'braubuddy = braubuddy.runserver:main', ] }, install_requires=[ 'pyserial>=2.0', 'tosr0x>=0.2.0', 'temperusb>=1.2.0', 'ds18b20>=0.01.03', 'cherrypy>=3.2.2', 'pyxdg>=0.25', 'jinja2>=2.7.0', 'mock>=1.0,<2.0', 'alabaster>=0.6.0', 'graphitesend>=0.3.4,<0.4', ], classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: BSD License', 'Operating System :: POSIX :: Linux', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', ], )
from setuptools import setup, find_packages setup( name='braubuddy', version='0.3.0', author='James Stewart', author_email='jstewart101@gmail.com', description='An extensile thermostat framework', long_description=open('README.rst').read(), license='LICENSE.txt', packages=find_packages(), url='http://braubuddy.org/', include_package_data=True, entry_points={ 'console_scripts': [ 'braubuddy = braubuddy.runserver:main', ] }, install_requires=[ 'pyserial>=2.0', 'tosr0x>=0.2.0', 'temperusb>=1.2.0', 'ds18b20>=0.01.03', 'cherrypy>=3.2.2', 'pyxdg>=0.25', 'jinja2>=2.7.0', 'mock>=1.0,<2.0', 'alabaster>=0.6.0', 'graphitesend>0.3.4,<0.4', ], classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Intended Audience :: End Users/Desktop', 'License :: OSI Approved :: BSD License', 'Operating System :: POSIX :: Linux', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', ], )
bsd-3-clause
Python
eb2e5e9404e1db525b5e641800d1a8ba1ce591fc
Fix package name
mvantellingen/django-healthchecks
setup.py
setup.py
from setuptools import find_packages, setup with open('README.rst', 'r') as fh: description = '\n'.join(fh.readlines()) tests_require = [ 'pytest>=2.6.0', 'pytest-cov>=1.7.0', 'pytest-django>=2.8.0', ] setup( name='django-healthchecks', version='0.1.0', description=description, url='https://github.com/mvantellingen/django-healthchecks', author="Michael van Tellingen", author_email="michaelvantellingen@gmail.com", install_requires=[ 'Django>=1.7', ], tests_require=tests_require, extras_require={'test': tests_require}, entry_points={ }, package_dir={'': 'src'}, packages=find_packages('src'), include_package_data=True, license='MIT', classifiers=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: MIT License', ], zip_safe=False, )
from setuptools import find_packages, setup with open('README.rst', 'r') as fh: description = '\n'.join(fh.readlines()) tests_require = [ 'pytest>=2.6.0', 'pytest-cov>=1.7.0', 'pytest-django>=2.8.0', ] setup( name='django_healthchecks', version='0.1.0', description=description, url='https://github.com/mvantellingen/django-healthchecks', author="Michael van Tellingen", author_email="michaelvantellingen@gmail.com", install_requires=[ 'Django>=1.7', ], tests_require=tests_require, extras_require={'test': tests_require}, entry_points={ }, package_dir={'': 'src'}, packages=find_packages('src'), include_package_data=True, license='MIT', classifiers=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: MIT License', ], zip_safe=False, )
mit
Python
221dd82048f0521e302cd17b2e0c91fcd75bfa59
Use setuptools, with fallback to distutils
cmcqueen/cobs-python,cmcqueen/cobs-python
setup.py
setup.py
#!/usr/bin/env python import sys try: from setuptools import setup, Extension except ImportError: from distutils.core import setup from distutils.extension import Extension import _version if sys.version_info[0] == 2: base_dir = 'python2' elif sys.version_info[0] == 3: base_dir = 'python3' setup( name='cobs', version=_version.__version__, description='Consistent Overhead Byte Stuffing (COBS)', author='Craig McQueen', author_email='python@craig.mcqueen.id.au', url='http://bitbucket.org/cmcqueen1975/cobs-python/', packages=[ 'cobs', 'cobs.cobs', 'cobs.cobsr', 'cobs._version', ], package_dir={ 'cobs' : base_dir + '/cobs', 'cobs._version' : '_version', }, ext_modules=[ Extension('cobs.cobs._cobs_ext', [ base_dir + '/src/_cobs_ext.c', ]), Extension('cobs.cobsr._cobsr_ext', [ base_dir + '/src/_cobsr_ext.c', ]), ], long_description=open('README.txt').read(), license="MIT", classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.4', 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.1', 'Programming Language :: Python :: 3.2', 'Topic :: Communications', ], )
#!/usr/bin/env python import sys from distutils.core import setup from distutils.extension import Extension import _version if sys.version_info[0] == 2: base_dir = 'python2' elif sys.version_info[0] == 3: base_dir = 'python3' setup( name='cobs', version=_version.__version__, description='Consistent Overhead Byte Stuffing (COBS)', author='Craig McQueen', author_email='python@craig.mcqueen.id.au', url='http://bitbucket.org/cmcqueen1975/cobs-python/', packages=[ 'cobs', 'cobs.cobs', 'cobs.cobsr', 'cobs._version', ], package_dir={ 'cobs' : base_dir + '/cobs', 'cobs._version' : '_version', }, ext_modules=[ Extension('cobs.cobs._cobs_ext', [ base_dir + '/src/_cobs_ext.c', ]), Extension('cobs.cobsr._cobsr_ext', [ base_dir + '/src/_cobsr_ext.c', ]), ], long_description=open('README.txt').read(), license="MIT", classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.4', 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.1', 'Programming Language :: Python :: 3.2', 'Topic :: Communications', ], )
mit
Python
a74c01c4d4504efbaf6bbaa215466b8b69acd92f
Update setup.py
qema/nanosite,qema/nanosite
setup.py
setup.py
from setuptools import setup setup( name = "nanosite", author = "Andrew Wang", author_email = "azw7@cornell.edu", url = "https://github.com/qema/nanosite", description="Speedy static site generator in Python.", version = "0.1.4", packages = ["nanosite"], install_requires = ["markdown"], entry_points = { "console_scripts": [ "nanosite = nanosite:main" ] } )
from setuptools import setup setup( name = "nanosite", author = "Andrew Wang", author_email = "azw7@cornell.edu", url = "https://github.com/qema/nanosite", version = "0.1.4", packages = ["nanosite"], install_requires = ["markdown"], entry_points = { "console_scripts": [ "nanosite = nanosite:main" ] } )
mit
Python
24a50d2179d25b6dd02f3bcfe4f59baae458434c
Update url in setup.py
pypingou/pygolib
setup.py
setup.py
#!/usr/bin/python """ Setup script """ from distutils.core import setup from src import __version__ setup( name='pygolib', description='Tools to manipulate GO term and graphs.', author='Pierre-Yves Chibon', author_email='pingou@pingoured.fr', version=__version__, license='BSD', url='https://github.com/pypingou/pygolib/', package_dir={'pygolib': 'src'}, packages=['pygolib'], scripts=["goutil"], )
#!/usr/bin/python """ Setup script """ from distutils.core import setup from src import __version__ setup( name='pygolib', description='Tools to manipulate GO term and graphs.', author='Pierre-Yves Chibon', author_email='pingou@pingoured.fr', version=__version__, license='BSD', url='https://github.com/PBR/pygolib/', package_dir={'pygolib': 'src'}, packages=['pygolib'], scripts=["goutil"], )
bsd-3-clause
Python
abc6f0d6a09e47e29e588055aef92689b3730651
update version
MrLucasCardoso/pycards
setup.py
setup.py
import os from setuptools import setup, find_packages with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='Pycards', version='1.1', url='https://github.com/mrlucascardoso/pycards', license='MIT License', author='Lucas Cardoso', author_email='mr.lucascardoso@gmail.com', keywords='creditcard', description='Set of classes for validating, identifying and formatting do credit cards and debit cards.', packages=find_packages(), install_requires=[], test_suite='tests', setup_requires=['pytest-runner', ], tests_require=['pytest', ], include_package_data=True, long_description=README, classifiers=[ 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5' ], )
import os from setuptools import setup, find_packages with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: README = readme.read() # allow setup.py to be run from any path os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) setup( name='Pycards', version='1.0.0', url='https://github.com/mrlucascardoso/pycards', license='MIT License', author='Lucas Cardoso', author_email='mr.lucascardoso@gmail.com', keywords='creditcard', description='Set of classes for validating, identifying and formatting do credit cards and debit cards.', packages=find_packages(), install_requires=[], test_suite='tests', setup_requires=['pytest-runner', ], tests_require=['pytest', ], include_package_data=True, long_description=README, classifiers=[ 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5' ], )
mit
Python
bc0705fb603d1d33cc55c229b2945c78c26feddd
fix platform and operating system
blubber/gaclient
setup.py
setup.py
from distutils.core import setup import gaclient setup(name='gaclient', version=gaclient.__version__, description='A easy to use interface to Google Analytics.', long_description='''This package provides an easy to use interface to Google Analytics.''', author='Tiemo Kieft', author_email='t.kieft@gmail.com', url='https://github.com/blubber/gaclient', license="Apache 2.0", classifiers = [ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: Apache Software License', 'Intended Audience :: Developers', 'Topic :: Internet :: WWW/HTTP', 'Operating System :: POSIX' ], keywords = ('google analytics'), packages=['gaclient'], requires=['apiclient (>=1.0)'])
from distutils.core import setup import gaclient setup(name='gaclient', version=gaclient.__version__, description='A easy to use interface to Google Analytics.', long_description='''This package provides an easy to use interface to Google Analytics.''', author='Tiemo Kieft', author_email='t.kieft@gmail.com', url='https://github.com/blubber/gaclient', license="Apache 2.0", classifiers = [ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: Apache Software License', 'Intended Audience :: Developers', 'Topic :: Internet :: WWW/HTTP', ], platform=('Any',), keywords = ('google analytics'), packages=['gaclient'], requires=['apiclient (>=1.0)'])
apache-2.0
Python
98e43994f669a03d36cbffdc5ef64b242ef0acaa
add package data in setup.py
PyThaiNLP/pythainlp
setup.py
setup.py
# -*- coding: utf-8 -*- from setuptools import setup,find_packages import codecs with codecs.open('README.rst','r',encoding='utf-8') as readme_file: readme = readme_file.read() readme_file.close() requirements = [ 'nltk>=3.2.2', 'future>=0.16.0', 'six', 'marisa_trie', 'requests', 'dill', 'pytz', 'conllu' ] test_requirements = [ # TODO: put package test requirements here ] setup( name='pythainlp', version='1.6.0.4', description="Thai natural language processing in Python package.", long_description=readme, author='PyThaiNLP', author_email='wannaphong@kkumail.com', url='https://github.com/PyThaiNLP/pythainlp', packages=find_packages(), test_suite='pythainlp.test', package_data={'pythainlp.corpus':['stopwords-th.txt','thaipos.json','thaiword.txt','corpus_license.md','tha-wn.db','new-thaidict.txt','negation.txt','provinces.csv','pt_tagger_1.dill','ud_thai-pud_pt_tagger.dill','ud_thai-pud_unigram_tagger.dill','unigram_tagger.dill'],'pythainlp.sentiment':['vocabulary.data','sentiment.data']}, include_package_data=True, install_requires=requirements, license='Apache Software License 2.0', zip_safe=False, keywords='pythainlp', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Natural Language :: Thai', 'Topic :: Text Processing :: Linguistic', 'Programming Language :: Python :: Implementation'] )
# -*- coding: utf-8 -*- from setuptools import setup,find_packages import codecs with codecs.open('README.rst','r',encoding='utf-8') as readme_file: readme = readme_file.read() readme_file.close() requirements = [ 'nltk>=3.2.2', 'future>=0.16.0', 'six', 'marisa_trie', 'requests', 'dill', 'pytz', 'conllu' ] test_requirements = [ # TODO: put package test requirements here ] setup( name='pythainlp', version='1.6.0.4', description="Thai natural language processing in Python package.", long_description=readme, author='PyThaiNLP', author_email='wannaphong@kkumail.com', url='https://github.com/PyThaiNLP/pythainlp', packages=find_packages(), test_suite='pythainlp.test', package_data={'pythainlp.corpus':['stopwords-th.txt','thaipos.json','thaiword.txt','corpus_license.md','tha-wn.db','new-thaidict.txt','negation.txt','provinces.csv'],'pythainlp.sentiment':['vocabulary.data','sentiment.data']}, include_package_data=True, install_requires=requirements, license='Apache Software License 2.0', zip_safe=False, keywords='pythainlp', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Natural Language :: Thai', 'Topic :: Text Processing :: Linguistic', 'Programming Language :: Python :: Implementation'] )
apache-2.0
Python
0adf3e54454d499045d2bfd8f6bcfece4e8fe6ed
Revert accidental bumping of angluar_sdk dep
rzr/synapse,matrix-org/synapse,howethomas/synapse,illicitonion/synapse,TribeMedia/synapse,rzr/synapse,matrix-org/synapse,rzr/synapse,TribeMedia/synapse,matrix-org/synapse,rzr/synapse,TribeMedia/synapse,illicitonion/synapse,illicitonion/synapse,TribeMedia/synapse,iot-factory/synapse,iot-factory/synapse,howethomas/synapse,iot-factory/synapse,iot-factory/synapse,rzr/synapse,matrix-org/synapse,howethomas/synapse,iot-factory/synapse,TribeMedia/synapse,illicitonion/synapse,matrix-org/synapse,howethomas/synapse,illicitonion/synapse,matrix-org/synapse,howethomas/synapse
setup.py
setup.py
#!/usr/bin/env python # Copyright 2014 OpenMarket Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import os from setuptools import setup, find_packages # 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="matrix-synapse", version=read("VERSION").strip(), packages=find_packages(exclude=["tests", "tests.*"]), description="Reference Synapse Home Server", install_requires=[ "syutil==0.0.2", "matrix_angular_sdk==0.6.0", "Twisted>=14.0.0", "service_identity>=1.0.0", "pyopenssl>=0.14", "pyyaml", "pyasn1", "pynacl", "daemonize", "py-bcrypt", "frozendict>=0.4", "pillow", ], dependency_links=[ "https://github.com/matrix-org/syutil/tarball/v0.0.2#egg=syutil-0.0.2", "https://github.com/pyca/pynacl/tarball/d4d3175589b892f6ea7c22f466e0e223853516fa#egg=pynacl-0.3.0", "https://github.com/matrix-org/matrix-angular-sdk/tarball/v0.6.0/#egg=matrix_angular_sdk-0.6.0", ], setup_requires=[ "setuptools_trial", "setuptools>=1.0.0", # Needs setuptools that supports git+ssh. # TODO: Do we need this now? we don't use git+ssh. "mock" ], include_package_data=True, zip_safe=False, long_description=read("README.rst"), entry_points=""" [console_scripts] synctl=synapse.app.synctl:main synapse-homeserver=synapse.app.homeserver:main """ )
#!/usr/bin/env python # Copyright 2014 OpenMarket Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import os from setuptools import setup, find_packages # 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="matrix-synapse", version=read("VERSION").strip(), packages=find_packages(exclude=["tests", "tests.*"]), description="Reference Synapse Home Server", install_requires=[ "syutil==0.0.2", "matrix_angular_sdk==0.6.1", "Twisted>=14.0.0", "service_identity>=1.0.0", "pyopenssl>=0.14", "pyyaml", "pyasn1", "pynacl", "daemonize", "py-bcrypt", "frozendict>=0.4", "pillow", ], dependency_links=[ "https://github.com/matrix-org/syutil/tarball/v0.0.2#egg=syutil-0.0.2", "https://github.com/pyca/pynacl/tarball/d4d3175589b892f6ea7c22f466e0e223853516fa#egg=pynacl-0.3.0", "https://github.com/matrix-org/matrix-angular-sdk/tarball/v0.6.0/#egg=matrix_angular_sdk-0.6.1", ], setup_requires=[ "setuptools_trial", "setuptools>=1.0.0", # Needs setuptools that supports git+ssh. # TODO: Do we need this now? we don't use git+ssh. "mock" ], include_package_data=True, zip_safe=False, long_description=read("README.rst"), entry_points=""" [console_scripts] synctl=synapse.app.synctl:main synapse-homeserver=synapse.app.homeserver:main """ )
apache-2.0
Python
87c897209880e6038e06d5fe5660eefa75429528
fix version indication for black
murrayo/yape,murrayo/yape,murrayo/yape
setup.py
setup.py
from setuptools import setup setup( name="yape", description="Yet another pbuttons tool", url="https://github.com/murrayo/yape", author="Fabian,Murray", author_email="fabian@fabianhaupt.de", license="MIT", packages=["yape"], entry_points={ "console_scripts": [ "yape=yape.command_line:main", "yape-profile=yape.command_line:main_profile", ] }, test_suite="nose.collector", tests_require=["nose"], install_requires=[ "pytz==2018.5", "matplotlib==2.2.3", "numpy==1.15.1", "pandas==0.23.4", "setuptools_scm==3.1.0", "gitchangelog>=3.0.4", "pre-commit>=1.14.4", "black>=18.9b0", "pystache>=0.5.4", ], version="2.2.0", setup_requires=["setuptools_scm"], zip_safe=False, )
from setuptools import setup setup( name="yape", description="Yet another pbuttons tool", url="https://github.com/murrayo/yape", author="Fabian,Murray", author_email="fabian@fabianhaupt.de", license="MIT", packages=["yape"], entry_points={ "console_scripts": [ "yape=yape.command_line:main", "yape-profile=yape.command_line:main_profile", ] }, test_suite="nose.collector", tests_require=["nose"], install_requires=[ "pytz==2018.5", "matplotlib==2.2.3", "numpy==1.15.1", "pandas==0.23.4", "setuptools_scm==3.1.0", "gitchangelog>=3.0.4", "pre-commit>=1.14.4", "black>=18", "pystache>=0.5.4", ], version="2.2.0", setup_requires=["setuptools_scm"], zip_safe=False, )
mit
Python
1aa9baa51b30a47879355a97ddde140bafe570c4
Fix setup.py
aioworkers/aioworkers-redis
setup.py
setup.py
#!/usr/bin/env python import pathlib from setuptools import find_packages, setup version = __import__('aioworkers_redis').__version__ requirements = [ 'aioworkers>=0.13', 'aioredis==1.1.0', ] test_requirements = [ 'pytest', ] readme = pathlib.Path('README.rst').read_text() setup( name='aioworkers-redis', version=version, description="Module for working with redis", long_description=readme, author="Alexander Malev", author_email='yttrium@somedev.ru', url='https://github.com/aioworkers/aioworkers-redis', packages=find_packages( include=['aioworkers_redis'] ), include_package_data=True, install_requires=requirements, python_requires='>=3.5.3', license="Apache Software License 2.0", keywords='aioworkers redis', classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', ], test_suite='tests', tests_require=test_requirements, )
#!/usr/bin/env python import pathlib from setuptools import find_packages, setup version = __import__('aioworkers_redis').__version__ requirements = [ 'aioworkers>=0.13', 'aioredis==1.1.0', ] test_requirements = [ 'pytest', ] readme = pathlib.Path('README.rst').read_text() setup( name='aioworkers-redis', version=version, description="Module for working with redis", long_description=readme, author="Alexander Malev", author_email='yttrium@somedev.ru', url='https://github.com/aioworkers/aioworkers-redis', packages=find_packages(include='aioworkers_redis'), include_package_data=True, install_requires=requirements, python_requires='>=3.5.3', license="Apache Software License 2.0", keywords='aioworkers redis', classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', ], test_suite='tests', tests_require=test_requirements, )
apache-2.0
Python
c03ec1eb5ddde0c4ea80c0dbd4442e383d09d713
update trove classifiers
edoburu/django-fluent-dashboard,edoburu/django-fluent-dashboard
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages from os.path import dirname, join import sys, os # When creating the sdist, make sure the django.mo file also exists: if 'sdist' in sys.argv: try: os.chdir('fluent_dashboard') from django.core.management.commands.compilemessages import compile_messages compile_messages(sys.stderr) finally: os.chdir('..') setup( name='django-fluent-dashboard', version='0.3.2', license='Apache License, Version 2.0', install_requires=[ 'django-admin-tools>=0.4.1', # 0.4.1 is the first release with Django 1.3 support. ], extras_require = { 'cachestatus': ['dashboardmods>=0.2.2'], }, description='An improved django-admin-tools dashboard for Django projects', long_description=open(join(dirname(__file__), 'README.rst')).read(), author='Diederik van der Boor', author_email='opensource@edoburu.nl', url='https://github.com/edoburu/django-fluent-dashboard', download_url='https://github.com/edoburu/django-fluent-dashboard/zipball/master', packages=find_packages(), include_package_data=True, zip_safe=False, classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Software Development :: Libraries :: Application Frameworks', 'Topic :: Software Development :: Libraries :: Python Modules', ] )
#!/usr/bin/env python from setuptools import setup, find_packages from os.path import dirname, join import sys, os # When creating the sdist, make sure the django.mo file also exists: if 'sdist' in sys.argv: try: os.chdir('fluent_dashboard') from django.core.management.commands.compilemessages import compile_messages compile_messages(sys.stderr) finally: os.chdir('..') setup( name='django-fluent-dashboard', version='0.3.2', license='Apache License, Version 2.0', install_requires=[ 'django-admin-tools>=0.4.1', # 0.4.1 is the first release with Django 1.3 support. ], extras_require = { 'cachestatus': ['dashboardmods>=0.2.2'], }, description='An improved django-admin-tools dashboard for Django projects', long_description=open(join(dirname(__file__), 'README.rst')).read(), author='Diederik van der Boor', author_email='opensource@edoburu.nl', url='https://github.com/edoburu/django-fluent-dashboard', download_url='https://github.com/edoburu/django-fluent-dashboard/zipball/master', packages=find_packages(), include_package_data=True, zip_safe=False, classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Framework :: Django', ] )
apache-2.0
Python
3a55c046fc7ada3bb610450a282a243bc1410300
Put dependencies into separate lines in setup.py.
renatahodovan/fuzzinator,akosthekiss/fuzzinator,renatahodovan/fuzzinator,akosthekiss/fuzzinator,akosthekiss/fuzzinator,renatahodovan/fuzzinator,akosthekiss/fuzzinator,renatahodovan/fuzzinator
setup.py
setup.py
# Copyright (c) 2016-2018 Renata Hodovan, Akos Kiss. # # Licensed under the BSD 3-Clause License # <LICENSE.rst or https://opensource.org/licenses/BSD-3-Clause>. # This file may not be copied, modified, or distributed except # according to those terms. import json from os.path import dirname, join from setuptools import setup, find_packages with open(join(dirname(__file__), 'fuzzinator', 'PKGDATA.json'), 'r') as f: data = json.load(f) setup( name=data['name'], version=data['version'], packages=find_packages(), url=data['url'], license='BSD', author=data['author'], author_email=data['author_email'], description='Fuzzinator Random Testing Framework', long_description=open('README.rst').read(), zip_safe=False, include_package_data=True, install_requires=[ 'chardet', 'keyring', 'keyrings.alt', 'pexpect', 'picire==18.1', 'picireny==18.2', 'psutil', 'PyGithub', 'pymongo', 'pyperclip', 'python-bugzilla', 'google-api-python-client', 'oauth2client', 'rainbow_logging_handler', 'sphinx', 'sphinx_rtd_theme', 'tornado', 'urwid', ], entry_points={ 'console_scripts': ['fuzzinator = fuzzinator.executor:execute'] } )
# Copyright (c) 2016-2018 Renata Hodovan, Akos Kiss. # # Licensed under the BSD 3-Clause License # <LICENSE.rst or https://opensource.org/licenses/BSD-3-Clause>. # This file may not be copied, modified, or distributed except # according to those terms. import json from os.path import dirname, join from setuptools import setup, find_packages with open(join(dirname(__file__), 'fuzzinator', 'PKGDATA.json'), 'r') as f: data = json.load(f) setup( name=data['name'], version=data['version'], packages=find_packages(), url=data['url'], license='BSD', author=data['author'], author_email=data['author_email'], description='Fuzzinator Random Testing Framework', long_description=open('README.rst').read(), zip_safe=False, include_package_data=True, install_requires=['chardet', 'keyring', 'keyrings.alt', 'pexpect', 'picire==18.1', 'picireny==18.2', 'psutil', 'PyGithub', 'pymongo', 'pyperclip', 'python-bugzilla', 'google-api-python-client', 'oauth2client', 'rainbow_logging_handler', 'sphinx', 'sphinx_rtd_theme', 'tornado', 'urwid'], entry_points={ 'console_scripts': ['fuzzinator = fuzzinator.executor:execute'] } )
bsd-3-clause
Python
ba6047a56b0596861abc6a23b5b0e55c30202f55
Update for v0.5.22 release.
houglum/apitools,google/apitools,craigcitro/apitools,kevinli7/apitools
setup.py
setup.py
#!/usr/bin/env python # # Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Setup configuration.""" import platform try: import setuptools except ImportError: from ez_setup import use_setuptools use_setuptools() import setuptools # Configure the required packages and scripts to install, depending on # Python version and OS. REQUIRED_PACKAGES = [ 'httplib2>=0.8', 'fasteners>=0.14', 'oauth2client>=1.4.12', 'six>=1.9.0', ] CLI_PACKAGES = [ 'google-apputils>=0.4.0', 'python-gflags==3.0.6', # Starting version 3.0.7 py26 is not supported. ] TESTING_PACKAGES = [ 'google-apputils>=0.4.0', 'unittest2>=0.5.1', 'mock>=1.0.1', ] CONSOLE_SCRIPTS = [ 'gen_client = apitools.gen.gen_client:main', ] py_version = platform.python_version() if py_version < '2.7': REQUIRED_PACKAGES.append('argparse>=1.2.1') _APITOOLS_VERSION = '0.5.22' with open('README.rst') as fileobj: README = fileobj.read() setuptools.setup( name='google-apitools', version=_APITOOLS_VERSION, description='client libraries for humans', long_description=README, url='http://github.com/google/apitools', author='Craig Citro', author_email='craigcitro@google.com', # Contained modules and scripts. packages=setuptools.find_packages(), entry_points={'console_scripts': CONSOLE_SCRIPTS}, install_requires=REQUIRED_PACKAGES, tests_require=REQUIRED_PACKAGES + CLI_PACKAGES + TESTING_PACKAGES, extras_require={ 'cli': CLI_PACKAGES, 'testing': TESTING_PACKAGES, }, # Add in any packaged data. include_package_data=True, package_data={ 'apitools.data': ['*'], }, # PyPI package information. classifiers=[ 'License :: OSI Approved :: Apache Software License', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules', ], license='Apache 2.0', keywords='apitools', )
#!/usr/bin/env python # # Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. """Setup configuration.""" import platform try: import setuptools except ImportError: from ez_setup import use_setuptools use_setuptools() import setuptools # Configure the required packages and scripts to install, depending on # Python version and OS. REQUIRED_PACKAGES = [ 'httplib2>=0.8', 'fasteners>=0.14', 'oauth2client>=1.4.12', 'six>=1.9.0', ] CLI_PACKAGES = [ 'google-apputils>=0.4.0', 'python-gflags==3.0.6', # Starting version 3.0.7 py26 is not supported. ] TESTING_PACKAGES = [ 'google-apputils>=0.4.0', 'unittest2>=0.5.1', 'mock>=1.0.1', ] CONSOLE_SCRIPTS = [ 'gen_client = apitools.gen.gen_client:main', ] py_version = platform.python_version() if py_version < '2.7': REQUIRED_PACKAGES.append('argparse>=1.2.1') _APITOOLS_VERSION = '0.5.21' with open('README.rst') as fileobj: README = fileobj.read() setuptools.setup( name='google-apitools', version=_APITOOLS_VERSION, description='client libraries for humans', long_description=README, url='http://github.com/google/apitools', author='Craig Citro', author_email='craigcitro@google.com', # Contained modules and scripts. packages=setuptools.find_packages(), entry_points={'console_scripts': CONSOLE_SCRIPTS}, install_requires=REQUIRED_PACKAGES, tests_require=REQUIRED_PACKAGES + CLI_PACKAGES + TESTING_PACKAGES, extras_require={ 'cli': CLI_PACKAGES, 'testing': TESTING_PACKAGES, }, # Add in any packaged data. include_package_data=True, package_data={ 'apitools.data': ['*'], }, # PyPI package information. classifiers=[ 'License :: OSI Approved :: Apache Software License', 'Topic :: Software Development :: Libraries', 'Topic :: Software Development :: Libraries :: Python Modules', ], license='Apache 2.0', keywords='apitools', )
apache-2.0
Python
17ab10dd5cddd00a845ce8ebeb072cc83d5cd8fc
Update description in setup.py.
uwbmrb/PyNMRSTAR,uwbmrb/PyNMRSTAR,uwbmrb/PyNMRSTAR
setup.py
setup.py
from distutils.core import setup, Extension cnmrstar = Extension('cnmrstar', sources = ['c/cnmrstarmodule.c'], extra_compile_args = ["-funroll-loops", "-O3"], optional = True) setup(name='pynmrstar', version = '2.2.1', packages = ['pynmrstar'], ext_modules = [cnmrstar], author = 'Jon Wedell', author_email = 'wedell@bmrb.wisc.edu', description = 'PyNMR-STAR provides tools for reading, writing, modifying, and interacting with NMR-STAR files. Maintained by the BMRB.', long_description=open('README').read(), keywords = ['bmrb','parser','nmr', 'nmrstar', 'biomagresbank', 'biological magnetic resonance bank'], url = 'https://github.com/uwbmrb/PyNMRSTAR', license = 'GPL', package_data = {'pynmrstar': ['reference_files/schema', 'reference_files/comments']} )
from distutils.core import setup, Extension cnmrstar = Extension('cnmrstar', sources = ['c/cnmrstarmodule.c'], extra_compile_args = ["-funroll-loops", "-O3"], optional = True) setup(name='pynmrstar', version = '2.2.1', packages = ['pynmrstar'], ext_modules = [cnmrstar], author = 'Jon Wedell', author_email = 'wedell@bmrb.wisc.edu', description = 'PyNMR-STAR provides tools for reading, writing, modifying, and interacting with NMR-STAR files.', long_description=open('README').read(), keywords = ['bmrb','parser','nmr', 'nmrstar', 'biomagresbank', 'biological magnetic resonance bank'], url = 'https://github.com/uwbmrb/PyNMRSTAR', license = 'GPL', package_data = {'pynmrstar': ['reference_files/schema', 'reference_files/comments']} )
mit
Python
c06e73b0b89818e55e5329cc17f2122f72b2e206
Update setup.py
alexforencich/python-hpgl
setup.py
setup.py
from __future__ import with_statement # http://docs.python.org/distutils/ # http://packages.python.org/distribute/ try: from setuptools import setup except: from distutils.core import setup import os.path version_py = os.path.join(os.path.dirname(__file__), 'hpgl', 'version.py') with open(version_py, 'r') as f: d = dict() exec(f.read(), d) version = d['__version__'] setup( name = 'python-hpgl', description = 'HPGL parsing library', version = version, long_description = '''This Python package supports parsing HP graphics language for emulating HP printers and plotters.''', author = 'Alex Forencich', author_email = 'alex@alexforencich.com', url = 'http://alexforencich.com/wiki/en/python-hpgl/start', download_url = 'http://github.com/alexforencich/python-hpgl/tarball/master', keywords = 'HPGL', license = 'MIT License', classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Console', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Operating System :: OS Independent', 'Intended Audience :: Science/Research', 'Topic :: Multimedia :: Graphics :: Graphics Conversion', 'Topic :: Printing', 'Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator', 'Topic :: Software Development :: Libraries :: Python Modules', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3' ], packages = ['hpgl'], entry_points = { 'console_scripts': [ 'hpgl2svg = hpgl.cli:hpgl2svg', 'hprtl2bmp = hpgl.cli:hprtl2bmp', ], }, )
from __future__ import with_statement # http://docs.python.org/distutils/ # http://packages.python.org/distribute/ try: from setuptools import setup except: from distutils.core import setup import os.path version_py = os.path.join(os.path.dirname(__file__), 'hpgl', 'version.py') with open(version_py, 'r') as f: d = dict() exec(f.read(), d) version = d['__version__'] setup( name = 'python-hpgl', description = 'HPGL parsing library', version = version, long_description = '''This Python package supports parsing HP graphics language for emulating HP printers and plotters.''', author = 'Alex Forencich', author_email = 'alex@alexforencich.com', url = 'http://alexforencich.com/wiki/en/python-hpgl/start', download_url = 'http://github.com/alexforencich/python-hpgl/tarball/master', keywords = 'HPGL', license = 'MIT License', classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Console', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Operating System :: OS Independent', 'Intended Audience :: Science/Research', 'Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator', 'Topic :: Software Development :: Libraries :: Python Modules', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3' ], packages = ['hpgl'], entry_points = { 'console_scripts': [ 'hpgl2svg = hpgl.cli:hpgl2svg', 'hprtl2bmp = hpgl.cli:hprtl2bmp', ], }, )
mit
Python
28b72fc577af2a0349c691bdfc0461fc59de94dd
Correct dependecies
AP-e/mutube
setup.py
setup.py
from setuptools import setup, find_packages setup(name='mutube', version='0.1', description='Scrape YouTube links from 4chan threads.', url='https://github.com/AP-e/mutube', license='unlicense', classifiers=['Development Status :: 2 - Pre-Alpha', 'Programming Language :: Python'], keywords='4chan youtube', packages=find_packages(), install_requires=['bs4', 'google-api-python-client' ,'oauth2client'])
from setuptools import setup, find_packages setup(name='mutube', version='0.1', description='Scrape YouTube links from 4chan threads.', url='https://github.com/AP-e/mutube', license='unlicense', classifiers=['Development Status :: 2 - Pre-Alpha', 'Programming Language :: Python'], keywords='4chan youtube', packages=find_packages(), install_requires=['bs4', 'apiclient', 'oauth2client'])
unlicense
Python
722d9b3517b8d2674b0a52ed66586540377ad590
Bump version.
HXLStandard/libhxl-python,HXLStandard/libhxl-python
setup.py
setup.py
#!/usr/bin/python from setuptools import setup dependency_links=[ 'git+https://github.com/Toblerity/Shapely.git@maint#egg=Shapely', ] setup(name='libhxl', version='1.11', description='Python support for the Humanitarian Exchange Language (HXL).', author='David Megginson', author_email='contact@megginson.com', url='http://hxlproject.org', install_requires=['shapely', 'python-dateutil', 'xlrd'], dependency_links=dependency_links, packages=['hxl', 'hxl.filters'], package_data={'': ['*.csv']}, include_package_data=True, test_suite='tests', scripts=[ 'scripts/hxl2geojson', 'scripts/hxladd', 'scripts/hxlbounds', 'scripts/hxlclean', 'scripts/hxlcount', 'scripts/hxlcut', 'scripts/hxlmerge', 'scripts/hxlrename', 'scripts/hxlselect', 'scripts/hxlsort', 'scripts/hxltag', 'scripts/hxlvalidate' ] )
#!/usr/bin/python from setuptools import setup dependency_links=[ 'git+https://github.com/Toblerity/Shapely.git@maint#egg=Shapely', ] setup(name='libhxl', version='1.1', description='Python support for the Humanitarian Exchange Language (HXL).', author='David Megginson', author_email='contact@megginson.com', url='http://hxlproject.org', install_requires=['shapely', 'python-dateutil', 'xlrd'], dependency_links=dependency_links, packages=['hxl', 'hxl.filters'], package_data={'': ['*.csv']}, include_package_data=True, test_suite='tests', scripts=[ 'scripts/hxl2geojson', 'scripts/hxladd', 'scripts/hxlbounds', 'scripts/hxlclean', 'scripts/hxlcount', 'scripts/hxlcut', 'scripts/hxlmerge', 'scripts/hxlrename', 'scripts/hxlselect', 'scripts/hxlsort', 'scripts/hxltag', 'scripts/hxlvalidate' ] )
unlicense
Python
06dab661c2d3cc0e34b527654691659a054f3a5d
Upgrade to Flask 0.12.3 to fix CVE-2018-1000656
Antojitos/frijoles
setup.py
setup.py
from setuptools import setup, find_packages with open('README.rst') as file: long_description = file.read() setup( name="frijoles", version="0.1.0", author="Pablo SEMINARIO", author_email="pablo@seminar.io", description="Simple notifications powered by jumping beans", long_description=long_description, license="GNU Affero General Public License v3", url="http://frijoles.antojitos.io/", download_url="https://github.com/Antojitos/frijoles/archive/0.1.0.tar.gz", keywords=["frijoles", "notifications", "api"], classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Web Environment', 'Framework :: Flask', 'License :: OSI Approved :: GNU Affero General Public License v3', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Topic :: Internet :: WWW/HTTP', ], package_dir={'': 'src'}, packages=find_packages('src'), install_requires=[ 'Flask==0.12.3', 'Flask-PyMongo==0.4.0' ], )
from setuptools import setup, find_packages with open('README.rst') as file: long_description = file.read() setup( name="frijoles", version="0.1.0", author="Pablo SEMINARIO", author_email="pablo@seminar.io", description="Simple notifications powered by jumping beans", long_description=long_description, license="GNU Affero General Public License v3", url="http://frijoles.antojitos.io/", download_url="https://github.com/Antojitos/frijoles/archive/0.1.0.tar.gz", keywords=["frijoles", "notifications", "api"], classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Web Environment', 'Framework :: Flask', 'License :: OSI Approved :: GNU Affero General Public License v3', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Topic :: Internet :: WWW/HTTP', ], package_dir={'': 'src'}, packages=find_packages('src'), install_requires=[ 'Flask==0.10.1', 'Flask-PyMongo==0.4.0' ], )
agpl-3.0
Python
a2b24e3b9689c410dc5d06391585a03b9c6806ca
Update setup.py (#11)
swilly22/redisgraph-py
setup.py
setup.py
from setuptools import setup, find_packages setup( name='redisgraph', version='1.5', description='RedisGraph Python Client', url='https://github.com/redislabs/redisgraph-py', packages=find_packages(), install_requires=['redis', 'PTable'], classifiers=[ 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python :: 2.7', 'Topic :: Database' ] )
from setuptools import setup, find_packages setup( name='redisgraph', version='1.5', description='RedisGraph Python Client', url='https://github.com/swilly22/redisgraph-py', packages=find_packages(), install_requires=['redis', 'PTable'], classifiers=[ 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python :: 2.7', 'Topic :: Database' ] )
bsd-2-clause
Python
6c5306410e0e8a30dc6d1a356d9649d0a2424947
update to v0.329
josesho/bootstrap_contrast
setup.py
setup.py
from setuptools import setup, find_packages import os # Taken from setup.py in seaborn. # temporarily redirect config directory to prevent matplotlib importing # testing that for writeable directory which results in sandbox error in # certain easy_install versions os.environ["MPLCONFIGDIR"]="." # Modified from from setup.py in seaborn. try: from setuptools import setup _has_setuptools=True except ImportError: from distutils.core import setup def check_dependencies(): to_install=[] try: import numpy except ImportError: to_install.append('numpy>=1.13.1') try: import scipy except ImportError: to_install.append('scipy>=0.19.1') try: import matplotlib except ImportError: to_install.append('matplotlib>=2.0.2') try: import pandas if int(pandas.__version__.split('.')[1])<20: to_install.append('pandas>=0.20.1') except ImportError: to_install.append('pandas>=0.20.1') try: import seaborn except ImportError: to_install.append('seaborn>0.8') return to_install if __name__=="__main__": installs=check_dependencies() setup(name='bootstrap_contrast', author='Joses Ho', author_email='joseshowh@gmail.com', version='0.329', description='Calculation and Visualization of Confidence Intervals and Effect Sizes for Python.', packages=find_packages(), install_requires=installs, url='http://github.com/josesho/bootstrap_contrast', license='MIT' )
from setuptools import setup, find_packages import os # Taken from setup.py in seaborn. # temporarily redirect config directory to prevent matplotlib importing # testing that for writeable directory which results in sandbox error in # certain easy_install versions os.environ["MPLCONFIGDIR"]="." # Modified from from setup.py in seaborn. try: from setuptools import setup _has_setuptools=True except ImportError: from distutils.core import setup def check_dependencies(): to_install=[] try: import numpy except ImportError: to_install.append('numpy>=1.13.1') try: import scipy except ImportError: to_install.append('scipy>=0.19.1') try: import matplotlib except ImportError: to_install.append('matplotlib>=2.0.2') try: import pandas if int(pandas.__version__.split('.')[1])<20: to_install.append('pandas>=0.20.1') except ImportError: to_install.append('pandas>=0.20.1') try: import seaborn except ImportError: to_install.append('seaborn>0.8') return to_install if __name__=="__main__": installs=check_dependencies() setup(name='bootstrap_contrast', author='Joses Ho', author_email='joseshowh@gmail.com', version='0.328', description='Calculation and Visualization of Confidence Intervals and Effect Sizes for Python.', packages=find_packages(), install_requires=installs, url='http://github.com/josesho/bootstrap_contrast', license='MIT' )
mit
Python
e02e578c7df7931197a1c7ea812d783ceb19a773
Include package-dir
codelv/enaml-native,codelv/enaml-native,codelv/enaml-native,codelv/enaml-native
setup.py
setup.py
''' Copyright (c) 2017, Jairus Martin. Distributed under the terms of the MIT License. The full license is in the file COPYING.txt, distributed with this software. Created on July 10, 2017 @author: jrm ''' import sys from setuptools import setup, find_packages, Extension setup( name="enaml-native", version="2.1", author="frmdstryr", author_email="frmdstryr@gmail.com", license='MIT', url='https://github.com/frmdstryr/enaml-native/archive/master.zip', description="Build native mobile apps in python", long_description=open("README.md").read(), packages=find_packages('src/'), package_dir={'': 'src'}, install_requires=['enaml', 'msgpack-python'], )
''' Copyright (c) 2017, Jairus Martin. Distributed under the terms of the MIT License. The full license is in the file COPYING.txt, distributed with this software. Created on July 10, 2017 @author: jrm ''' import sys from setuptools import setup, find_packages, Extension setup( name="enaml-native", version="2.1", author="frmdstryr", author_email="frmdstryr@gmail.com", license='MIT', url='https://github.com/frmdstryr/enaml-native/archive/master.zip', description="Build native mobile apps in python", long_description=open("README.md").read(), packages=find_packages('src/'), install_requires=['enaml', 'msgpack-python'], )
mit
Python
a66b1611bf7114aeddaa0cf9d0e68e5e7d3d3cbb
Fix unicode
LeResKP/colorterm
setup.py
setup.py
from setuptools import setup, find_packages import sys, os version = '0.0' setup(name='colorterm/', version=version, description="", long_description="""\ """, classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers keywords='', author='Aur\xc3\xa9lien Matouillot', author_email='a.matouillot@gmail.com', url='', license='', packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), include_package_data=True, zip_safe=False, install_requires=[ # -*- Extra requirements: -*- ], entry_points=""" # -*- Entry points: -*- """, )
from setuptools import setup, find_packages import sys, os version = '0.0' setup(name='colorterm/', version=version, description="", long_description="""\ """, classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers keywords='', author='Aurélien Matouillot', author_email='a.matouillot@gmail.com', url='', license='', packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), include_package_data=True, zip_safe=False, install_requires=[ # -*- Extra requirements: -*- ], entry_points=""" # -*- Entry points: -*- """, )
mit
Python
5c7b23c7c06e5e399fa8c088bca5a40f9410737f
Remove topic 'logging' from setup.py
sbuss/pypercube
setup.py
setup.py
from distutils.core import setup from pypercube import __version__ setup( name='pypercube', version=__version__, description='A Cube API client in python.', long_description="An easy way to use Cube's API in python", author='Steven Buss', author_email='steven.buss@gmail.com', url='https://github.com/sbuss/pypercube', download_url='https://github.com/sbuss/pypercube/'\ 'tarball/v%s' % __version__, classifiers=[ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", ], packages=[ 'pypercube', ], )
from distutils.core import setup from pypercube import __version__ setup( name='pypercube', version=__version__, description='A Cube API client in python.', long_description="An easy way to use Cube's API in python", author='Steven Buss', author_email='steven.buss@gmail.com', url='https://github.com/sbuss/pypercube', download_url='https://github.com/sbuss/pypercube/'\ 'tarball/v%s' % __version__, classifiers=[ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Topic :: System :: Logging", ], packages=[ 'pypercube', ], )
bsd-3-clause
Python
b0be54ebaad7aa762f28876be8a28bb8b27ace69
Update classifiers
asottile/pyterminalsize,asottile/pyterminalsize
setup.py
setup.py
import os import re import sys from setuptools import Extension from setuptools import setup if sys.platform == 'win32': versions = [ var for var in os.environ if var.startswith('VS') and var.endswith('COMNTOOLS') ] vs = sorted(versions, key=lambda s: int(re.search('\d+', s).group()))[-1] os.environ['VS90COMNTOOLS'] = os.environ[vs] # py2 os.environ['VS100COMNTOOLS'] = os.environ[vs] # py3 setup( name='pyterminalsize', description='Determines terminal size in a cross-platform way.', url='https://github.com/asottile/pyterminalsize', version='0.1.0', author='Anthony Sottile', author_email='asottile@umich.edu', classifiers=[ 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', ], py_modules=['pyterminalsize'], ext_modules=[Extension('_pyterminalsize', ['_pyterminalsize.c'])], install_requires=[], )
import os import re import sys from setuptools import Extension from setuptools import setup if sys.platform == 'win32': versions = [ var for var in os.environ if var.startswith('VS') and var.endswith('COMNTOOLS') ] vs = sorted(versions, key=lambda s: int(re.search('\d+', s).group()))[-1] os.environ['VS90COMNTOOLS'] = os.environ[vs] # py2 os.environ['VS100COMNTOOLS'] = os.environ[vs] # py3 setup( name='pyterminalsize', description='Determines terminal size in a cross-platform way.', url='https://github.com/asottile/pyterminalsize', version='0.1.0', author='Anthony Sottile', author_email='asottile@umich.edu', classifiers=[ 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: Implementation :: CPython', 'Programming Language :: Python :: Implementation :: PyPy', ], py_modules=['pyterminalsize'], ext_modules=[Extension('_pyterminalsize', ['_pyterminalsize.c'])], install_requires=[], )
mit
Python
11932b630f56c15654f4aae652b46b94f3b5bb1f
Drop Python 3.6 support
deepmind/dm_fast_mapping
setup.py
setup.py
# Copyright 2019 DeepMind Technologies Limited. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================ """Install script for setuptools.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import imp from setuptools import find_packages from setuptools import setup setup( name='dm-fast-mapping', version=imp.load_source('_version', 'dm_fast_mapping/_version.py').__version__, description=('DeepMind Fast Language Learning Tasks, a set of Unity-based' 'machine-learning research tasks.'), author='DeepMind', license='Apache License, Version 2.0', keywords='reinforcement-learning python machine learning language', packages=find_packages(exclude=['examples']), install_requires=[ 'absl-py', 'dm-env', 'dm-env-rpc', 'docker', 'grpcio', 'numpy', 'portpicker', ], tests_require=['nose'], python_requires='>=3.7', extras_require={'examples': ['pygame']}, test_suite='nose.collector', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: Apache Software License', 'Operating System :: POSIX :: Linux', 'Operating System :: Microsoft :: Windows', 'Operating System :: MacOS :: MacOS X', 'Programming Language :: Python :: 3.7', 'Topic :: Scientific/Engineering :: Artificial Intelligence', ], )
# Copyright 2019 DeepMind Technologies Limited. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================ """Install script for setuptools.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import imp from setuptools import find_packages from setuptools import setup setup( name='dm-fast-mapping', version=imp.load_source('_version', 'dm_fast_mapping/_version.py').__version__, description=('DeepMind Fast Language Learning Tasks, a set of Unity-based' 'machine-learning research tasks.'), author='DeepMind', license='Apache License, Version 2.0', keywords='reinforcement-learning python machine learning language', packages=find_packages(exclude=['examples']), install_requires=[ 'absl-py', 'dm-env', 'dm-env-rpc', 'docker', 'grpcio', 'numpy', 'portpicker', ], tests_require=['nose'], python_requires='>=3.6.1', extras_require={'examples': ['pygame']}, test_suite='nose.collector', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: Apache Software License', 'Operating System :: POSIX :: Linux', 'Operating System :: Microsoft :: Windows', 'Operating System :: MacOS :: MacOS X', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Topic :: Scientific/Engineering :: Artificial Intelligence', ], )
apache-2.0
Python
b8c1d0350dc6bf62eaa1f1ac2c078d2c80025403
remove lxml dependency
ariebovenberg/omgorm,ariebovenberg/snug
setup.py
setup.py
from pathlib import Path from setuptools import setup, find_packages local_path = Path(__file__).parent.joinpath metadata = {} exec(local_path('snug/__about__.py').read_text(), metadata) readme = local_path('README.rst').read_text() history = local_path('HISTORY.rst').read_text() setup( name='snug', version=metadata['__version__'], description='Wrap REST APIs to fit nicely into your python code', license='MIT', long_description=readme + '\n\n' + history, url='https://github.com/ariebovenberg/snug', author=metadata['__author__'], author_email='a.c.bovenberg@gmail.com', classifiers=[ 'Development Status :: 4 - Beta' 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.6', ], keywords=['api', 'wrapper', 'rest'], install_requires=[ 'requests>=2.13.0,<3', 'dataclasses>=0.1,<0.2', 'toolz>=0.8.2,<0.9', 'python-dateutil>=2.6.1,<2.7', ], python_requires='>=3.6', packages=find_packages(exclude=('tests', 'docs', 'examples')) )
from pathlib import Path from setuptools import setup, find_packages local_path = Path(__file__).parent.joinpath metadata = {} exec(local_path('snug/__about__.py').read_text(), metadata) readme = local_path('README.rst').read_text() history = local_path('HISTORY.rst').read_text() setup( name='snug', version=metadata['__version__'], description='Wrap REST APIs to fit nicely into your python code', license='MIT', long_description=readme + '\n\n' + history, url='https://github.com/ariebovenberg/snug', author=metadata['__author__'], author_email='a.c.bovenberg@gmail.com', classifiers=[ 'Development Status :: 4 - Beta' 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.6', ], keywords=['api', 'wrapper', 'rest'], install_requires=[ 'requests>=2.13.0,<3', 'lxml>=3.8.0,<4', 'dataclasses>=0.1,<0.2', 'toolz>=0.8.2,<0.9', 'python-dateutil>=2.6.1,<2.7', ], python_requires='>=3.6', packages=find_packages(exclude=('tests', 'docs', 'examples')) )
mit
Python
f06941fec4ef6bcb0c2456927a0cf258fa4f899b
Bump version from 0.1 to 0.2
goconnectome/geordi,HurricaneLabs/geordi
setup.py
setup.py
#!/usr/bin/env python """Installs geordi""" import os import sys from distutils.core import setup def long_description(): """Get the long description from the README""" return open(os.path.join(sys.path[0], 'README.txt')).read() setup( author='Brodie Rao', author_email='brodie@sf.io', classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', ('License :: OSI Approved :: ' 'GNU Lesser General Public License v2 (LGPLv2)'), 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: JavaScript', 'Topic :: Software Development', 'Topic :: Utilities', ], description='A Django middleware for interactive profiling', dependency_links=[ 'https://bitbucket.org/brodie/gprof2dot/get/3d61cf0a321e06edc252d45e135ffea2bd16c1cc.tar.gz#egg=gprof2dot-dev' ], download_url='https://bitbucket.org/brodie/geordi/get/0.2.tar.gz', install_requires=['gprof2dot==dev'], keywords='django graph profiler', license='GNU Lesser GPL', long_description=long_description(), name='geordi', packages=['geordi'], url='https://bitbucket.org/brodie/geordi', version='0.2', )
#!/usr/bin/env python """Installs geordi""" import os import sys from distutils.core import setup def long_description(): """Get the long description from the README""" return open(os.path.join(sys.path[0], 'README.txt')).read() setup( author='Brodie Rao', author_email='brodie@sf.io', classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', ('License :: OSI Approved :: ' 'GNU Lesser General Public License v2 (LGPLv2)'), 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: JavaScript', 'Topic :: Software Development', 'Topic :: Utilities', ], description='A Django middleware for interactive profiling', dependency_links=[ 'https://bitbucket.org/brodie/gprof2dot/get/3d61cf0a321e06edc252d45e135ffea2bd16c1cc.tar.gz#egg=gprof2dot-dev' ], download_url='https://bitbucket.org/brodie/geordi/get/0.1.tar.gz', install_requires=['gprof2dot==dev'], keywords='django graph profiler', license='GNU Lesser GPL', long_description=long_description(), name='geordi', packages=['geordi'], url='https://bitbucket.org/brodie/geordi', version='0.1', )
lgpl-2.1
Python
d09fe2060ccbbd52c77fc8ed47557bc01acdca46
Fix up setup.py to properly include all required packages
swtp1v07/Savu,swtp1v07/Savu,mjn19172/Savu,swtp1v07/Savu,mjn19172/Savu,mjn19172/Savu,mjn19172/Savu,mjn19172/Savu,swtp1v07/Savu
setup.py
setup.py
from setuptools import setup def readme(): with open('README.rst') as f: return f.read() setup(name='savu', version='0.1', description='Savu Python Tomography Pipeline', long_description=readme(), classifiers=[ 'Development Status :: 1 - Planning', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: Apache Software License', 'Natural Language :: English', 'Programming Language :: Python :: 2.7', 'Topic :: Scientific/Engineering' ], author='Mark Basham', author_email='scientificsoftware@diamond.ac.uk', license='Apache License, Version 2.0', packages=['savu', 'savu.core', 'savu.data', 'savu.mpi_test', 'savu.mpi_test.dls', 'savu.plugins', 'savu.test'], include_package_data=True, zip_safe=False)
from setuptools import setup def readme(): with open('README.rst') as f: return f.read() setup(name='savu', version='0.1', description='Savu Python Tomography Pipeline', long_description=readme(), classifiers=[ 'Development Status :: 1 - Planning', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: Apache Software License', 'Natural Language :: English', 'Programming Language :: Python :: 2.7', 'Topic :: Scientific/Engineering' ], author='Mark Basham', author_email='scientificsoftware@diamond.ac.uk', license='Apache License, Version 2.0', packages=['savu'], include_package_data=True, zip_safe=False)
apache-2.0
Python
7d564f05c445379ffd58ce507d680e8145b92b9e
include numpy headers when building ufuncs
treverhines/RBF,treverhines/RBF,treverhines/RBF
setup.py
setup.py
#!/usr/bin/env python if __name__ == '__main__': from setuptools import setup from setuptools.extension import Extension from Cython.Build import cythonize import subprocess as sp import numpy as np import json # this should create the file rbf/_version.py sp.call(['python', 'make_version.py']) version_info = {} with open('rbf/_version.py', 'r') as fb: exec(fb.read(), version_info) cy_ext = [] cy_ext += [Extension(name='rbf.poly', sources=['rbf/poly.pyx'])] cy_ext += [Extension(name='rbf.sputils', sources=['rbf/sputils.pyx'])] cy_ext += [Extension(name='rbf.pde.halton', sources=['rbf/pde/halton.pyx'])] cy_ext += [Extension(name='rbf.pde.geometry', sources=['rbf/pde/geometry.pyx'])] cy_ext += [Extension(name='rbf.pde.sampling', sources=['rbf/pde/sampling.pyx'])] ext = cythonize(cy_ext) with open('rbf/_rbf_ufuncs/metadata.json', 'r') as f: rbf_ufunc_metadata = json.load(f) for itm in rbf_ufunc_metadata: ext += [Extension(name=itm['module'], sources=itm['sources'], include_dirs=[np.get_include()])] setup( name='RBF', version=version_info['__version__'], description='Package containing the tools necessary for radial basis ' 'function (RBF) applications', author='Trever Hines', author_email='treverhines@gmail.com', url='www.github.com/treverhines/RBF', packages=['rbf', 'rbf.pde'], ext_modules=ext, include_package_data=True, license='MIT' )
#!/usr/bin/env python if __name__ == '__main__': from setuptools import setup from setuptools.extension import Extension from Cython.Build import cythonize import subprocess as sp import json # this should create the file rbf/_version.py sp.call(['python', 'make_version.py']) version_info = {} with open('rbf/_version.py', 'r') as fb: exec(fb.read(), version_info) cy_ext = [] cy_ext += [Extension(name='rbf.poly', sources=['rbf/poly.pyx'])] cy_ext += [Extension(name='rbf.sputils', sources=['rbf/sputils.pyx'])] cy_ext += [Extension(name='rbf.pde.halton', sources=['rbf/pde/halton.pyx'])] cy_ext += [Extension(name='rbf.pde.geometry', sources=['rbf/pde/geometry.pyx'])] cy_ext += [Extension(name='rbf.pde.sampling', sources=['rbf/pde/sampling.pyx'])] ext = cythonize(cy_ext) with open('rbf/_rbf_ufuncs/metadata.json', 'r') as f: rbf_ufunc_metadata = json.load(f) for itm in rbf_ufunc_metadata: ext += [Extension(name=itm['module'], sources=itm['sources'])] setup( name='RBF', version=version_info['__version__'], description='Package containing the tools necessary for radial basis ' 'function (RBF) applications', author='Trever Hines', author_email='treverhines@gmail.com', url='www.github.com/treverhines/RBF', packages=['rbf', 'rbf.pde'], ext_modules=ext, include_package_data=True, license='MIT' )
mit
Python
b2b11d73ba8110dc162f4c7e7f417a603b7a80bf
Corrige parte das dependências
odoo-brazil/PySPED
setup.py
setup.py
from setuptools import setup test_requirements = ['pyflakes>=0.6.1'] setup( name = "PySPED", version = "1.2.0", author = "Aristides Caldeira", author_email = 'aristides.caldeira@tauga.com.br', test_suite='tests', keywords = ['nfe', 'nfse', 'cte', 'sped', 'edf', 'ecd'], classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Plugins', 'Intended Audience :: Developers', 'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development :: Libraries :: Python Modules', ], packages = [ 'pysped', 'pysped.nfe', 'pysped.nfe.leiaute', 'pysped.nfe.danfe', 'pysped.nfe.manual_300', 'pysped.nfe.manual_401', 'pysped.cte', 'pysped.cte.leiaute', 'pysped.cte.dacte', 'pysped.efd', # 'pysped.nfse', 'pysped.xml_sped', 'pysped.ecd', 'pysped.nf_paulista', 'pysped.relato_sped', 'pysped.exemplos', ], package_data = { 'pysped.nfe.danfe': ['fonts/*', '*.odt'], 'pysped.relato_sped': ['fonts/*'], 'pysped.nfe.leiaute': ['schema/*/*'], 'pysped.cte.leiaute': ['schema/*/*'], 'pysped.xml_sped': ['cadeia-certificadora/*/*'] }, url = 'https://github.com/aricaldeira/PySPED', license = 'LGPL-v2.1+', description = 'PySPED is a library to implement all requirements of the Brazilian Public System of Digital Bookkeeping', long_description = open('README.rst').read(), install_requires=[ 'lxml >= 3.8.0', 'qrcode >=5.3', 'sh >=1.12.14', 'signxml==2.5.2', 'cryptography==2.2.2', 'pyOpenSSL==17.5.0', 'pytz==2017.2', 'py3o.template==0.9.13', 'Geraldo==0.4.17', ], tests_require=test_requirements, )
from setuptools import setup test_requirements = ['pyflakes>=0.6.1'] setup( name = "PySPED", version = "1.2.0", author = "Aristides Caldeira", author_email = 'aristides.caldeira@tauga.com.br', test_suite='tests', keywords = ['nfe', 'nfse', 'cte', 'sped', 'edf', 'ecd'], classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Plugins', 'Intended Audience :: Developers', 'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development :: Libraries :: Python Modules', ], packages = [ 'pysped', 'pysped.nfe', 'pysped.nfe.leiaute', 'pysped.nfe.danfe', 'pysped.nfe.manual_300', 'pysped.nfe.manual_401', 'pysped.cte', 'pysped.cte.leiaute', 'pysped.cte.dacte', 'pysped.efd', # 'pysped.nfse', 'pysped.xml_sped', 'pysped.ecd', 'pysped.nf_paulista', 'pysped.relato_sped', 'pysped.exemplos', ], package_data = { 'pysped.nfe.danfe': ['fonts/*', '*.odt'], 'pysped.relato_sped': ['fonts/*'], 'pysped.nfe.leiaute': ['schema/*/*'], 'pysped.cte.leiaute': ['schema/*/*'], 'pysped.xml_sped': ['cadeia-certificadora/*/*'] }, url = 'https://github.com/aricaldeira/PySPED', license = 'LGPL-v2.1+', description = 'PySPED is a library to implement all requirements of the Brazilian Public System of Digital Bookkeeping', long_description = open('README.rst').read(), requires=[ 'lxml(>=3.7.3)', 'xmlsec(>=1.0.7)', 'Geraldo(>=0.4.16)', 'qrcode(>=5.3)', 'py3o.template(>=0.9.11)', 'sh(>=1.12.9)' ], tests_require=test_requirements, )
lgpl-2.1
Python
b119e3c9f322f314723ef160ee368d130b934a11
Add httpx as an extra dependecy
sam-washington/requests-aws4auth
setup.py
setup.py
import os import io import codecs import re from setuptools import setup def read(*names): with io.open( os.path.join(os.path.dirname(__file__), *names), encoding='utf-8' ) as f: return f.read() def find_version(*file_paths): version_file = read(*file_paths) version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", version_file, re.M) if version_match: return version_match.group(1) raise RuntimeError('Unable to find version string.') with codecs.open('README.md', 'r', 'utf-8') as f: readme = f.read() with codecs.open('HISTORY.md', 'r', 'utf-8') as f: history = f.read() version = find_version('requests_aws4auth', '__init__.py') setup( name='requests-aws4auth', version=version, description='AWS4 authentication for Requests', long_description=readme + '\n\n' + history, long_description_content_type='text/markdown', author='Ted Timmons', author_email='ted@tedder.dev', url='https://github.com/tedder/requests-aws4auth', download_url=('https://github.com/tedder/requests-aws4auth/tarball/' + version), license='MIT License', keywords='requests authentication amazon web services aws s3 REST', install_requires=['requests', 'six'], extras_require={ 'httpx': ['httpx',] }, packages=['requests_aws4auth'], package_data={'requests_aws4auth': ['test/requests_aws4auth_test.py']}, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'Natural Language :: English', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.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', 'Programming Language :: Python :: 3.9', 'Topic :: Internet :: WWW/HTTP'])
import os import io import codecs import re from setuptools import setup def read(*names): with io.open( os.path.join(os.path.dirname(__file__), *names), encoding='utf-8' ) as f: return f.read() def find_version(*file_paths): version_file = read(*file_paths) version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", version_file, re.M) if version_match: return version_match.group(1) raise RuntimeError('Unable to find version string.') with codecs.open('README.md', 'r', 'utf-8') as f: readme = f.read() with codecs.open('HISTORY.md', 'r', 'utf-8') as f: history = f.read() version = find_version('requests_aws4auth', '__init__.py') setup( name='requests-aws4auth', version=version, description='AWS4 authentication for Requests', long_description=readme + '\n\n' + history, long_description_content_type='text/markdown', author='Ted Timmons', author_email='ted@tedder.dev', url='https://github.com/tedder/requests-aws4auth', download_url=('https://github.com/tedder/requests-aws4auth/tarball/' + version), license='MIT License', keywords='requests authentication amazon web services aws s3 REST', install_requires=['requests', 'six'], packages=['requests_aws4auth'], package_data={'requests_aws4auth': ['test/requests_aws4auth_test.py']}, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'Natural Language :: English', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.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', 'Programming Language :: Python :: 3.9', 'Topic :: Internet :: WWW/HTTP'])
mit
Python
8c82e56dff3f69634bd5bbc39483e77070a5927f
Add wrapt as a dependency.
deepmind/trfl
setup.py
setup.py
# Copyright 2018 The trfl Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================ """Setup for pip package.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import unittest from setuptools import find_packages from setuptools import setup from setuptools.dist import Distribution REQUIRED_PACKAGES = ['six', 'absl-py', 'numpy', 'dm-sonnet', 'wrapt'] EXTRA_PACKAGES = { 'tensorflow': ['tensorflow>=1.8.0', 'tensorflow-probability>=0.4.0'], 'tensorflow with gpu': ['tensorflow-gpu>=1.8.0', 'tensorflow-probability-gpu>=0.4.0'], } def trfl_test_suite(): test_loader = unittest.TestLoader() test_suite = test_loader.discover('trfl', pattern='*_test.py') return test_suite class BinaryDistribution(Distribution): """This class is needed in order to create OS specific wheels.""" def has_ext_modules(self): return True setup( name='trfl', version='1.0', description=('trfl is a library of building blocks for ' 'reinforcement learning algorithms.'), long_description='', url='http://www.github.com/deepmind/trfl/', author='DeepMind', author_email='trfl-steering@google.com', # Contained modules and scripts. packages=find_packages(), install_requires=REQUIRED_PACKAGES, extras_require=EXTRA_PACKAGES, # Add in any packaged data. include_package_data=True, zip_safe=False, distclass=BinaryDistribution, # PyPI package information. classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Intended Audience :: Education', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: Apache Software License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: POSIX', 'Operating System :: Unix', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Topic :: Scientific/Engineering :: Artificial Intelligence', 'Topic :: Software Development :: Libraries', ], license='Apache 2.0', keywords='trfl truffle tensorflow tensor machine reinforcement learning', test_suite='setup.trfl_test_suite', )
# Copyright 2018 The trfl Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ============================================================================ """Setup for pip package.""" from __future__ import absolute_import from __future__ import division from __future__ import print_function import unittest from setuptools import find_packages from setuptools import setup from setuptools.dist import Distribution REQUIRED_PACKAGES = ['six', 'absl-py', 'numpy', 'dm-sonnet'] EXTRA_PACKAGES = { 'tensorflow': ['tensorflow>=1.8.0', 'tensorflow-probability>=0.4.0'], 'tensorflow with gpu': ['tensorflow-gpu>=1.8.0', 'tensorflow-probability-gpu>=0.4.0'], } def trfl_test_suite(): test_loader = unittest.TestLoader() test_suite = test_loader.discover('trfl', pattern='*_test.py') return test_suite class BinaryDistribution(Distribution): """This class is needed in order to create OS specific wheels.""" def has_ext_modules(self): return True setup( name='trfl', version='1.0', description=('trfl is a library of building blocks for ' 'reinforcement learning algorithms.'), long_description='', url='http://www.github.com/deepmind/trfl/', author='DeepMind', author_email='trfl-steering@google.com', # Contained modules and scripts. packages=find_packages(), install_requires=REQUIRED_PACKAGES, extras_require=EXTRA_PACKAGES, # Add in any packaged data. include_package_data=True, zip_safe=False, distclass=BinaryDistribution, # PyPI package information. classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Intended Audience :: Education', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: Apache Software License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: POSIX', 'Operating System :: Unix', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Topic :: Scientific/Engineering :: Artificial Intelligence', 'Topic :: Software Development :: Libraries', ], license='Apache 2.0', keywords='trfl truffle tensorflow tensor machine reinforcement learning', test_suite='setup.trfl_test_suite', )
apache-2.0
Python
fabf3a640547b7b9c394febdf7977a1a6c7ee85a
Fix project URL in setup.py
crypto101/arthur
setup.py
setup.py
import sys from setuptools import setup from setuptools.command.test import test as TestCommand packageName = "arthur" import re versionLine = open("{0}/_version.py".format(packageName), "rt").read() match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", versionLine, re.M) versionString = match.group(1) class Tox(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_suite = True def run_tests(self): #import here, cause outside the eggs aren't loaded import tox sys.exit(tox.cmdline([])) setup(name=packageName, version=versionString, description='Software for the exercises in Crypto 101, the introductory ' 'book on cryptography.', long_description='The game client for an online, hacker-themed text ' 'adventure revolving around breaking cryptosystems. ' 'Built using Twisted and Urwid.', url='https://github.com/crypto101/' + packageName, author='Laurens Van Houtven', author_email='_@lvh.io', packages=["arthur", "arthur.test"], test_suite="arthur.test", setup_requires=['tox'], cmdclass={'test': Tox}, zip_safe=True, license='ISC', keywords="crypto urwid twisted", classifiers=[ "Development Status :: 3 - Alpha", "Environment :: Console", "Framework :: Twisted", "Intended Audience :: Education", "License :: OSI Approved :: ISC License (ISCL)", "Programming Language :: Python :: 2 :: Only", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Education", "Topic :: Games/Entertainment", "Topic :: Security :: Cryptography", ] )
import sys from setuptools import setup from setuptools.command.test import test as TestCommand packageName = "arthur" import re versionLine = open("{0}/_version.py".format(packageName), "rt").read() match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]", versionLine, re.M) versionString = match.group(1) class Tox(TestCommand): def finalize_options(self): TestCommand.finalize_options(self) self.test_suite = True def run_tests(self): #import here, cause outside the eggs aren't loaded import tox sys.exit(tox.cmdline([])) setup(name=packageName, version=versionString, description='Software for the exercises in Crypto 101, the introductory ' 'book on cryptography.', long_description='The game client for an online, hacker-themed text ' 'adventure revolving around breaking cryptosystems. ' 'Built using Twisted and Urwid.', url='https://github.com/lvh/arthur', author='Laurens Van Houtven', author_email='_@lvh.io', packages=["arthur", "arthur.test"], test_suite="arthur.test", setup_requires=['tox'], cmdclass={'test': Tox}, zip_safe=True, license='ISC', keywords="crypto urwid twisted", classifiers=[ "Development Status :: 3 - Alpha", "Environment :: Console", "Framework :: Twisted", "Intended Audience :: Education", "License :: OSI Approved :: ISC License (ISCL)", "Programming Language :: Python :: 2 :: Only", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Education", "Topic :: Games/Entertainment", "Topic :: Security :: Cryptography", ] )
isc
Python
a20108f5d72b090e8aa94c34ea090a9d2524fb81
include LICENSE file in package
mysz/versionner,msztolcman/versionner
setup.py
setup.py
from versionner import utils utils.validate_python_version() from codecs import open from os import path from setuptools import setup, find_packages BASE_DIR = path.abspath(path.dirname(__file__)) with open(path.join(BASE_DIR, 'README.rst'), encoding='utf-8') as f: long_description = f.read() setup( name='versionner', version='1.3.0', description='versionner helps manipulating version of the project.', long_description=long_description, url='http://msztolcman.github.io/versionner/', author='Marcin Sztolcman', author_email='marcin@urzenia.net', license='MIT', # See https://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Topic :: Utilities', 'Topic :: Software Development', 'Topic :: Software Development :: Documentation', 'Topic :: Software Development :: Version Control', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', ], install_requires=['argparse', 'semver'], packages=find_packages(), package_data={'': ['LICENSE']}, include_package_data=True, keywords='version management', entry_points={ 'console_scripts': [ 'ver=versionner.cli:main', 'versionner=versionner.cli:main', ], }, )
from versionner import utils utils.validate_python_version() from codecs import open from os import path from setuptools import setup, find_packages BASE_DIR = path.abspath(path.dirname(__file__)) with open(path.join(BASE_DIR, 'README.rst'), encoding='utf-8') as f: long_description = f.read() setup( name='versionner', version='1.3.0', description='versionner helps manipulating version of the project.', long_description=long_description, url='http://msztolcman.github.io/versionner/', author='Marcin Sztolcman', author_email='marcin@urzenia.net', license='MIT', # See https://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Console', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Topic :: Utilities', 'Topic :: Software Development', 'Topic :: Software Development :: Documentation', 'Topic :: Software Development :: Version Control', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', ], install_requires=['argparse', 'semver'], packages=find_packages(), keywords='version management', entry_points={ 'console_scripts': [ 'ver=versionner.cli:main', 'versionner=versionner.cli:main', ], }, )
mit
Python
833aecaa4ba9f9e9dbe6a800899d6c5aad59fa15
Bump Pyramid version specifier in setup.py
tilgovi/pyramid-oauthlib
setup.py
setup.py
import os from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand import sys class PyTest(TestCommand): user_options = [ ('cov', None, "measure coverage") ] def initialize_options(self): TestCommand.initialize_options(self) self.cov = None def finalize_options(self): TestCommand.finalize_options(self) self.test_args = ['pyramid_oauthlib'] if self.cov: self.test_args += ['--cov', 'pyramid_oauthlib'] self.test_suite = True def run_tests(self): import pytest errno = pytest.main(self.test_args) sys.exit(errno) here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.rst')) as f: README = f.read() with open(os.path.join(here, 'CHANGES.txt')) as f: CHANGES = f.read() setup( name='pyramid_oauthlib', version='0.3.0', description='Pyramid OAuthLib integration', long_description=README + '\n\n' + CHANGES, classifiers=[ "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Framework :: Pyramid", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware", ], author='Randall Leeds', author_email='tilgovi@hypothes.is', url='https://github.com/tilgovi/pyramid_oauthlib', keywords='web pyramid pylons oauth authentication', cmdclass={'test': PyTest}, exclude_package_data={'': ['.gitignore']}, include_package_data=True, install_requires=['pyramid>=1.4.0', 'oauthlib'], packages=find_packages(), setup_requires=['setuptools_git'], tests_require=['mock', 'pytest', 'pytest-cov'], zip_safe=False, )
import os from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand import sys class PyTest(TestCommand): user_options = [ ('cov', None, "measure coverage") ] def initialize_options(self): TestCommand.initialize_options(self) self.cov = None def finalize_options(self): TestCommand.finalize_options(self) self.test_args = ['pyramid_oauthlib'] if self.cov: self.test_args += ['--cov', 'pyramid_oauthlib'] self.test_suite = True def run_tests(self): import pytest errno = pytest.main(self.test_args) sys.exit(errno) here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.rst')) as f: README = f.read() with open(os.path.join(here, 'CHANGES.txt')) as f: CHANGES = f.read() setup( name='pyramid_oauthlib', version='0.3.0', description='Pyramid OAuthLib integration', long_description=README + '\n\n' + CHANGES, classifiers=[ "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Framework :: Pyramid", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware", ], author='Randall Leeds', author_email='tilgovi@hypothes.is', url='https://github.com/tilgovi/pyramid_oauthlib', keywords='web pyramid pylons oauth authentication', cmdclass={'test': PyTest}, exclude_package_data={'': ['.gitignore']}, include_package_data=True, install_requires=['pyramid', 'oauthlib'], packages=find_packages(), setup_requires=['setuptools_git'], tests_require=['mock', 'pytest', 'pytest-cov'], zip_safe=False, )
bsd-2-clause
Python
0cd5edf2aa9915372982fefc8cd6ed8ac70d13ef
fix incorrect package requirements and entry point script
infinitewarp/trekipsum,infinitewarp/trekipsum
setup.py
setup.py
#!/usr/bin/env python """ Setup module for trekipsum. """ from datetime import datetime from setuptools import find_packages, setup build_time = datetime.utcnow().strftime('%Y%m%d%H%M%S') setup( name='trekipsum', version='1.0.0.dev1+{}'.format(build_time), long_description='Generates pseudo-random strings of text, like lorem ipsum, ' 'based on dialog from Star Trek.', url='https://github.com/infinitewarp/trekipsum', author='Brad Smith', license='MIT', packages=find_packages(exclude=['tests']), install_requires=[ 'beautifulsoup4', 'requests', 'six', 'tqdm', 'urllib3', ], dependency_links=[], zip_safe=True, entry_points={ 'console_scripts': [ 'trekipsum = trekipsum.cli:main_cli', ], } )
#!/usr/bin/env python """ Setup module for trekipsum. """ from datetime import datetime from setuptools import find_packages, setup build_time = datetime.utcnow().strftime('%Y%m%d%H%M%S') setup( name='trekipsum', version='1.0.0.dev1+{}'.format(build_time), long_description='Generates pseudo-random strings of text, like lorem ipsum, ' 'based on dialog from Star Trek.', url='https://github.com/infinitewarp/trekipsum', author='Brad Smith', license='MIT', packages=find_packages(exclude=['tests']), package_data={ 'trekipsum': ['assets/*.pickle'], }, install_requires=['six'], dependency_links=[], zip_safe=True, entry_points={ 'console_scripts': [ 'trekipsum = trekipsum:main_cli', ], } )
mit
Python
dc7f8815fcaff588a12f267d0935191d8ec693fc
Bump version to 0.1.2
thusoy/poff,thusoy/poff,thusoy/poff
setup.py
setup.py
#!/usr/bin/env python # -*- encoding: utf-8 -*- from setuptools import setup, find_packages import sys install_requires = [ 'flask', 'flask-sqlalchemy', 'flask-wtf', 'pyyaml', 'wtforms-alchemy', ] if sys.version_info < (2, 7, 0): install_requires.append('argparse') setup( name='poff', version='0.1.2', author='Tarjei Husøy', author_email='tarjei@roms.no', url='https://github.com/thusoy/poff', description="A quite small pdns frontend", packages=find_packages(), install_requires=install_requires, extras_require={ 'test': ['nose', 'coverage', 'tox'], 'postgres': ['psycopg2'], }, entry_points={ 'console_scripts': [ 'poff = poff.cli:cli_entry', ] }, package_data={ '': [ 'templates/*.html', ], }, classifiers=[ # 'Development Status :: 1 - Planning', # 'Development Status :: 2 - Pre-Alpha', 'Development Status :: 3 - Alpha', # 'Development Status :: 4 - Beta', # 'Development Status :: 5 - Production/Stable', # 'Development Status :: 6 - Mature', # 'Development Status :: 7 - Inactive', 'Environment :: Web Environment', 'Intended Audience :: System Administrators', '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 :: WSGI :: Application', ], )
#!/usr/bin/env python # -*- encoding: utf-8 -*- from setuptools import setup, find_packages import sys install_requires = [ 'flask', 'flask-sqlalchemy', 'flask-wtf', 'pyyaml', 'wtforms-alchemy', ] if sys.version_info < (2, 7, 0): install_requires.append('argparse') setup( name='poff', version='0.1.1', author='Tarjei Husøy', author_email='tarjei@roms.no', url='https://github.com/thusoy/poff', description="A quite small pdns frontend", packages=find_packages(), install_requires=install_requires, extras_require={ 'test': ['nose', 'coverage', 'tox'], 'postgres': ['psycopg2'], }, entry_points={ 'console_scripts': [ 'poff = poff.cli:cli_entry', ] }, package_data={ '': [ 'templates/*.html', ], }, classifiers=[ # 'Development Status :: 1 - Planning', # 'Development Status :: 2 - Pre-Alpha', 'Development Status :: 3 - Alpha', # 'Development Status :: 4 - Beta', # 'Development Status :: 5 - Production/Stable', # 'Development Status :: 6 - Mature', # 'Development Status :: 7 - Inactive', 'Environment :: Web Environment', 'Intended Audience :: System Administrators', '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 :: WSGI :: Application', ], )
mit
Python
e60a98f6774dc5f7ee7c0ec1d3b44516eabc6127
add idna package for idna 2008 support
jvanasco/tldextract,john-kurkowski/tldextract
setup.py
setup.py
"""`tldextract` accurately separates the gTLD or ccTLD (generic or country code top-level domain) from the registered domain and subdomains of a URL. >>> import tldextract >>> tldextract.extract('http://forums.news.cnn.com/') ExtractResult(subdomain='forums.news', domain='cnn', suffix='com') >>> tldextract.extract('http://forums.bbc.co.uk/') # United Kingdom ExtractResult(subdomain='forums', domain='bbc', suffix='co.uk') >>> tldextract.extract('http://www.worldbank.org.kg/') # Kyrgyzstan ExtractResult(subdomain='www', domain='worldbank', suffix='org.kg') `ExtractResult` is a namedtuple, so it's simple to access the parts you want. >>> ext = tldextract.extract('http://forums.bbc.co.uk') >>> (ext.subdomain, ext.domain, ext.suffix) ('forums', 'bbc', 'co.uk') >>> # rejoin subdomain and domain >>> '.'.join(ext[:2]) 'forums.bbc' >>> # a common alias >>> ext.registered_domain 'bbc.co.uk' """ import re import sys from setuptools import setup # I don't want to learn reStructuredText right now, so strip Markdown links # that make pip barf. LONG_DESCRIPTION_MD = __doc__ LONG_DESCRIPTION = re.sub(r'(?s)\[(.*?)\]\((http.*?)\)', r'\1', LONG_DESCRIPTION_MD) INSTALL_REQUIRES = ["setuptools", "idna"] if (2, 7) > sys.version_info: INSTALL_REQUIRES.append("argparse>=1.2.1") setup( name="tldextract", version="1.7.2", author="John Kurkowski", author_email="john.kurkowski@gmail.com", description=("Accurately separate the TLD from the registered domain and" "subdomains of a URL, using the Public Suffix List."), license="BSD License", keywords="tld domain subdomain url parse extract urlparse urlsplit public suffix list", url="https://github.com/john-kurkowski/tldextract", packages=['tldextract'], include_package_data=True, long_description=LONG_DESCRIPTION, classifiers=[ "Development Status :: 5 - Production/Stable", "Topic :: Utilities", "License :: OSI Approved :: BSD License", "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", ], entry_points={ 'console_scripts': [ 'tldextract = tldextract.tldextract:main', ] }, install_requires=INSTALL_REQUIRES, )
"""`tldextract` accurately separates the gTLD or ccTLD (generic or country code top-level domain) from the registered domain and subdomains of a URL. >>> import tldextract >>> tldextract.extract('http://forums.news.cnn.com/') ExtractResult(subdomain='forums.news', domain='cnn', suffix='com') >>> tldextract.extract('http://forums.bbc.co.uk/') # United Kingdom ExtractResult(subdomain='forums', domain='bbc', suffix='co.uk') >>> tldextract.extract('http://www.worldbank.org.kg/') # Kyrgyzstan ExtractResult(subdomain='www', domain='worldbank', suffix='org.kg') `ExtractResult` is a namedtuple, so it's simple to access the parts you want. >>> ext = tldextract.extract('http://forums.bbc.co.uk') >>> (ext.subdomain, ext.domain, ext.suffix) ('forums', 'bbc', 'co.uk') >>> # rejoin subdomain and domain >>> '.'.join(ext[:2]) 'forums.bbc' >>> # a common alias >>> ext.registered_domain 'bbc.co.uk' """ import re import sys from setuptools import setup # I don't want to learn reStructuredText right now, so strip Markdown links # that make pip barf. LONG_DESCRIPTION_MD = __doc__ LONG_DESCRIPTION = re.sub(r'(?s)\[(.*?)\]\((http.*?)\)', r'\1', LONG_DESCRIPTION_MD) INSTALL_REQUIRES = ["setuptools"] if (2, 7) > sys.version_info: INSTALL_REQUIRES.append("argparse>=1.2.1") setup( name="tldextract", version="1.7.2", author="John Kurkowski", author_email="john.kurkowski@gmail.com", description=("Accurately separate the TLD from the registered domain and" "subdomains of a URL, using the Public Suffix List."), license="BSD License", keywords="tld domain subdomain url parse extract urlparse urlsplit public suffix list", url="https://github.com/john-kurkowski/tldextract", packages=['tldextract'], include_package_data=True, long_description=LONG_DESCRIPTION, classifiers=[ "Development Status :: 5 - Production/Stable", "Topic :: Utilities", "License :: OSI Approved :: BSD License", "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", ], entry_points={ 'console_scripts': [ 'tldextract = tldextract.tldextract:main', ] }, install_requires=INSTALL_REQUIRES, )
bsd-3-clause
Python
c48303b7f8c151ada019e9b053cd15db52fa2e46
rework setup.py file
trezor/python-mnemonic
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup setup( name='mnemonic', version='0.8', author='Bitcoin TREZOR', author_email='info@bitcointrezor.com', description='Implementation of Bitcoin BIP-0039', url='https://github.com/trezor/python-mnemonic', packages=['mnemonic',], package_data={'mnemonic': ['wordlist/*.txt']}, zip_safe=False, install_requires=['pbkdf2'], classifiers=[ 'License :: OSI Approved :: MIT License', 'Operating System :: POSIX :: Linux', 'Operating System :: Microsoft :: Windows', 'Operating System :: MacOS :: MacOS X', ], )
#!/usr/bin/env python from setuptools import setup #python setup.py sdist upload setup(name='mnemonic', version='0.8', description='Implementation of Bitcoin BIP-0039', author='Bitcoin TREZOR', author_email='info@bitcointrezor.com', url='https://github.com/trezor/python-mnemonic', packages=['mnemonic',], package_data={'mnemonic': ['wordlist/*.txt']}, zip_safe=False, install_requires=['pbkdf2'], )
mit
Python
f55479fcb033b317696dcd98a8c061e234ffcae7
Update dependencies
LetThereBe/lettherebe
setup.py
setup.py
from setuptools import setup from lettherebe import __version__ entry_points = """ [console_scripts] lettherebe = lettherebe.main:main """ setup( version=__version__, url="https://github.com/LetThereBe/lettherebe", name="lettherebe", description='LetThereBe Python library and command-line scripts', packages=['lettherebe'], install_requires=['requests', 'pygithub', 'click', 'colorama', 'cookiecuttter'], license='BSD', author="Mayeul d'Avezac, Ilektra Christidi, Alice Harpole, David Perez Suarez, Thomas Robitaille, Sinan Shi", author_email="thomas.robitaille@gmail.com", classifiers=[ 'Development Status :: 1 - Planning', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', 'Operating System :: OS Independent', 'License :: OSI Approved :: BSD License', ], entry_points=entry_points )
from setuptools import setup from lettherebe import __version__ entry_points = """ [console_scripts] lettherebe = lettherebe.main:main """ setup( version=__version__, url="https://github.com/LetThereBe/lettherebe", name="lettherebe", description='LetThereBe Python library and command-line scripts', packages=['lettherebe'], install_requires=['requests', 'pygithub', 'click', 'colorama'], license='BSD', author="Mayeul d'Avezac, Ilektra Christidi, Alice Harpole, David Perez Suarez, Thomas Robitaille, Sinan Shi", author_email="thomas.robitaille@gmail.com", classifiers=[ 'Development Status :: 1 - Planning', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', 'Operating System :: OS Independent', 'License :: OSI Approved :: BSD License', ], entry_points=entry_points )
bsd-3-clause
Python
53f20651ab27b24ad6f711727448cac27683e31f
Bump reobject version to 0.9a0
onyb/reobject,onyb/reobject
setup.py
setup.py
from setuptools import setup, find_packages setup( name='reobject', version='0.9a1', description='Python without ifs and buts', url='https://github.com/onyb/reobject', author='Anirudha Bose', author_email='ani07nov@gmail.com', license='Apache-2.0', classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'Topic :: Software Development :: Libraries', 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ], keywords=['orm', 'python', 'object-oriented-programming', 'django'], install_requires=[ 'attrs>=17.2.0', ], packages=find_packages(exclude=['tests', 'tests.*']), )
from setuptools import setup, find_packages setup( name='reobject', version='0.8a1', description='Python without ifs and buts', url='https://github.com/onyb/reobject', author='Anirudha Bose', author_email='ani07nov@gmail.com', license='Apache-2.0', classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'Topic :: Software Development :: Libraries', 'License :: OSI Approved :: Apache Software License', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ], keywords=['orm', 'python', 'object-oriented-programming', 'django'], install_requires=[ 'attrs>=17.2.0', ], packages=find_packages(exclude=['tests', 'tests.*']), )
apache-2.0
Python
75c5a8e5df96c44a89688f3c2b944076f2f570ac
solve the wrong spell error
markshao/pagrant
setup.py
setup.py
from __future__ import with_statement import os from setuptools import setup, find_packages README = os.path.join(os.path.dirname(__file__), 'README.md') REQUIREMENT = os.path.join(os.path.dirname(__file__), 'requirements.txt') def dependency(): with open(REQUIREMENT) as f: filter(lambda x: x != '', f.read().split("\n")) setup( name='pagrant', version='1.1', url='https://github.com/markshao/pagrant', license='MIT', author='markshao,yilan', author_email='mark.shao@emc.com', description='a distributed test framework', scripts=['bin/pagrant'], classifiers=[ "Programming Language :: Python", "Topic :: Software Developement :: Libraries :: Python Modules", ], platforms='any', keywords='framework nose testing', packages=find_packages(exclude=['test']), namespace_packages=['pagrant'], install_requires=('Fabric==1.8.0', 'colorama==0.2.7', 'ecdsa==0.10', 'nose==1.3.0', 'paramiko==1.12.0', 'pycrypto==2.6.1', 'wsgiref==0.1.2'), )
from __future__ import with_statement import os from setuptools import setup, find_packages README = os.path.join(os.path.dirname(__file__), 'README.md') REQUIREMENT = os.path.join(os.path.dirname(__file__), 'requirements.txt') def dependency(): with open(REQUIREMENT) as f: filter(lambda x: x != '', f.read().split("\n")) setup( name='pagrant', version='1.1', url='https://github.com/markshao/pagrant', license='MIT', author='markshao,yilan', author_email='mark.shao@emc.com', description='a distributed test framework', scripts=['bin/script'], classifiers=[ "Programming Language :: Python", "Topic :: Software Developement :: Libraries :: Python Modules", ], platforms='any', keywords='framework nose testing', packages=find_packages(exclude=['test']), namespace_packages=['pagrant'], install_requires=('Fabric==1.8.0', 'colorama==0.2.7', 'ecdsa==0.10', 'nose==1.3.0', 'paramiko==1.12.0', 'pycrypto==2.6.1', 'wsgiref==0.1.2'), )
mit
Python
dfe305cfd56d0ea6352012b944e19c011f7548b4
Update version
miguelgrinberg/Flask-PageDown,miguelgrinberg/Flask-PageDown
setup.py
setup.py
""" Flask-PageDown -------------- Implementation of StackOverflow's "PageDown" markdown editor for Flask-WTF. """ from setuptools import setup setup( name='Flask-PageDown', version='0.1.5', url='http://github.com/miguelgrinberg/flask-pagedown/', license='MIT', author='Miguel Grinberg', author_email='miguelgrinberg50@gmail.com', description='Implementation of StackOverflow\'s "PageDown" markdown editor for Flask-WTF.', long_description=__doc__, packages=['flask_pagedown'], zip_safe=False, include_package_data=True, platforms='any', install_requires=[ 'Flask', 'WTForms' ], 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' ] )
""" Flask-PageDown -------------- Implementation of StackOverflow's "PageDown" markdown editor for Flask-WTF. """ from setuptools import setup setup( name='Flask-PageDown', version='0.1.3', url='http://github.com/miguelgrinberg/flask-pagedown/', license='MIT', author='Miguel Grinberg', author_email='miguelgrinberg50@gmail.com', description='Implementation of StackOverflow\'s "PageDown" markdown editor for Flask-WTF.', long_description=__doc__, packages=['flask_pagedown'], zip_safe=False, include_package_data=True, platforms='any', install_requires=[ 'Flask', 'WTForms' ], 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
9159bd74fe9400bbb602fb5b669c46f149b295d4
revert "support setup.py install with git archive tarballs" commit
Tesi-Luca-Davide/ryu,mikhaelharswanto/ryu,lsqtongxin/ryu,TakeshiTseng/ryu,jazzmes/ryu,jkoelker/ryu,sivaramakrishnansr/ryu,alyosha1879/ryu,zangree/ryu,takahashiminoru/ryu,hisaharu/ryu,yamt/ryu,haniehrajabi/ryu,lsqtongxin/ryu,StephenKing/summerschool-2015-ryu,takahashiminoru/ryu,iwaseyusuke/ryu,diogommartins/ryu,pichuang/ryu,lagopus/ryu-lagopus-ext,pichuang/ryu,fujita/ryu,muzixing/ryu,Tesi-Luca-Davide/ryu,fujita/ryu,alanquillin/ryu,Tejas-Subramanya/RYU_MEC,osrg/ryu,openvapour/ryu,openvapour/ryu,muzixing/ryu,openvapour/ryu,muzixing/ryu,Zouyiran/ryu,alanquillin/ryu,fkakuma/ryu,shinpeimuraoka/ryu,fkakuma/ryu,darjus-amzn/ryu,elahejalalpour/ELRyu,jazzmes/ryu,lsqtongxin/ryu,Tejas-Subramanya/RYU_MEC,osrg/ryu,yamt/ryu,habibiefaried/ryu,zyq001/ryu,umkcdcrg01/ryu_openflow,StephenKing/ryu,fujita/ryu,StephenKing/summerschool-2015-ryu,OpenState-SDN/ryu,umkcdcrg01/ryu_openflow,Zouyiran/ryu,habibiefaried/ryu,shinpeimuraoka/ryu,iwaseyusuke/ryu,gopchandani/ryu,muzixing/ryu,TakeshiTseng/ryu,zyq001/ryu,ntts-clo/mld-ryu,ynkjm/ryu,darjus-amzn/ryu,sivaramakrishnansr/ryu,yamt/ryu,darjus-amzn/ryu,OpenState-SDN/ryu,lsqtongxin/ryu,ntts-clo/ryu,zangree/ryu,pichuang/ryu,haniehrajabi/ryu,shinpeimuraoka/ryu,alanquillin/ryu,jkoelker/ryu,takahashiminoru/ryu,alyosha1879/ryu,ysywh/ryu,yamt/ryu,mikhaelharswanto/ryu,lagopus/ryu-lagopus-ext,ynkjm/ryu,lzppp/mylearning,shinpeimuraoka/ryu,gopchandani/ryu,jkoelker/ryu,Zouyiran/ryu,StephenKing/summerschool-2015-ryu,osrg/ryu,iwaseyusuke/ryu,takahashiminoru/ryu,alanquillin/ryu,castroflavio/ryu,alyosha1879/ryu,jalilm/ryu,alyosha1879/ryu,habibiefaried/ryu,haniehrajabi/ryu,ysywh/ryu,jalilm/ryu,takahashiminoru/ryu,gareging/SDN_Framework,jalilm/ryu,osrg/ryu,castroflavio/ryu,habibiefaried/ryu,hisaharu/ryu,openvapour/ryu,sivaramakrishnansr/ryu,fujita/ryu,OpenState-SDN/ryu,StephenKing/summerschool-2015-ryu,sivaramakrishnansr/ryu,zangree/ryu,ynkjm/ryu,yamada-h/ryu,torufuru/oolhackathon,gopchandani/ryu,gareging/SDN_Framework,pichuang/ryu,Tesi-Luca-Davide/ryu,lzppp/mylearning,umkcdcrg01/ryu_openflow,muzixing/ryu,iwaseyusuke/ryu,Tejas-Subramanya/RYU_MEC,gareging/SDN_Framework,torufuru/OFPatchPanel,yamada-h/ryu,elahejalalpour/ELRyu,evanscottgray/ryu,Tejas-Subramanya/RYU_MEC,John-Lin/ryu,Tesi-Luca-Davide/ryu,ntts-clo/mld-ryu,castroflavio/ryu,elahejalalpour/ELRyu,umkcdcrg01/ryu_openflow,StephenKing/ryu,ysywh/ryu,zangree/ryu,ynkjm/ryu,lagopus/ryu-lagopus-ext,diogommartins/ryu,OpenState-SDN/ryu,hisaharu/ryu,unifycore/ryu,unifycore/ryu,lagopus/ryu-lagopus-ext,haniehrajabi/ryu,darjus-amzn/ryu,TakeshiTseng/ryu,hisaharu/ryu,John-Lin/ryu,ttsubo/ryu,o3project/ryu-oe,umkcdcrg01/ryu_openflow,haniehrajabi/ryu,zyq001/ryu,torufuru/OFPatchPanel,gopchandani/ryu,ttsubo/ryu,zyq001/ryu,diogommartins/ryu,gopchandani/ryu,StephenKing/ryu,o3project/ryu-oe,elahejalalpour/ELRyu,zyq001/ryu,evanscottgray/ryu,fkakuma/ryu,StephenKing/ryu,hisaharu/ryu,elahejalalpour/ELRyu,Tesi-Luca-Davide/ryu,ntts-clo/ryu,yamt/ryu,alanquillin/ryu,John-Lin/ryu,lagopus/ryu-lagopus-ext,ysywh/ryu,ttsubo/ryu,shinpeimuraoka/ryu,ttsubo/ryu,Tejas-Subramanya/RYU_MEC,TakeshiTseng/ryu,iwaseyusuke/ryu,lsqtongxin/ryu,ysywh/ryu,lzppp/mylearning,darjus-amzn/ryu,lzppp/mylearning,openvapour/ryu,torufuru/oolhackathon,diogommartins/ryu,evanscottgray/ryu,gareging/SDN_Framework,StephenKing/ryu,jalilm/ryu,fujita/ryu,StephenKing/summerschool-2015-ryu,Zouyiran/ryu,ttsubo/ryu,osrg/ryu,jalilm/ryu,habibiefaried/ryu,torufuru/oolhackathon,lzppp/mylearning,fkakuma/ryu,TakeshiTseng/ryu,zangree/ryu,ynkjm/ryu,pichuang/ryu,jazzmes/ryu,John-Lin/ryu,Zouyiran/ryu,John-Lin/ryu,OpenState-SDN/ryu,fkakuma/ryu,sivaramakrishnansr/ryu,gareging/SDN_Framework,diogommartins/ryu
setup.py
setup.py
# Copyright (C) 2011, 2012 Nippon Telegraph and Telephone Corporation. # Copyright (C) 2011 Isaku Yamahata <yamahata at valinux co jp> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or # implied. # See the License for the specific language governing permissions and # limitations under the License. # a bug workaround. http://bugs.python.org/issue15881 try: import multiprocessing except ImportError: pass import setuptools setuptools.setup(name='ryu', setup_requires=['pbr'], pbr=True)
# Copyright (C) 2011, 2012 Nippon Telegraph and Telephone Corporation. # Copyright (C) 2011 Isaku Yamahata <yamahata at valinux co jp> # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or # implied. # See the License for the specific language governing permissions and # limitations under the License. # a bug workaround. http://bugs.python.org/issue15881 try: import multiprocessing except ImportError: pass import setuptools import os from ryu import version os.environ["PBR_VERSION"] = str(version) setuptools.setup(name='ryu', setup_requires=['pbr'], pbr=True)
apache-2.0
Python
a3b33bc0022b0f24e3481f5a50dd2c550d135937
Remove affine property of raster
ricardog/raster-project,ricardog/raster-project,ricardog/raster-project,ricardog/raster-project,ricardog/raster-project
projections/rasterset/raster.py
projections/rasterset/raster.py
import numpy as np import numpy.ma as ma import rasterio import rasterio.errors import threading def window_inset(win1, win2): if win2: return ((win1[0][0] + win2[0][0], min(win1[0][0] + win2[0][1], win1[0][1])), (win1[1][0] + win2[1][0], min(win1[1][0] + win2[1][1], win1[1][1]))) return win1 class Raster(object): def __init__(self, name, fname, band=1): self._name = name self._fname = fname self._threadlocal = threading.local() self._band = band self._window = None self._mask = None @property def name(self): return self._name @property def syms(self): return [] @property def reader(self): if getattr(self._threadlocal, 'reader', None) is None: try: self._threadlocal.reader = rasterio.open(self._fname) except (SystemError, rasterio.errors.RasterioIOError) as e: print("Error: opening raster '%s' for %s" % (self._fname, self.name)) raise SystemError("Error: opening raster '%s' for %s" % (self._fname, self.name)) return self._threadlocal.reader @property def window(self): return self._window @window.setter def window(self, window): self._window = window @property def mask(self): return self._mask @mask.setter def mask(self, mask): self._mask = mask @property def block_shape(self): return self.reader.block_shapes[self._band - 1] @property def dtype(self): return self.reader.dtypes[self._band - 1] def eval(self, df, window=None): assert self.window win = window_inset(self.window, window) try: data = self.reader.read(self._band, window=win, masked=True) except IndexError as e: print("Error: reading band %d from %s" % (self._band, self._fname)) raise IndexError("Error: reading band %d from %s" % (self._band, self._fname)) ## HPD raster sometimes has NODATA values that leak. data = ma.where(data < -1e20, np.nan, data) if self.mask is not None: if window: data.mask = data.mask | self.mask[window[0][0]:window[0][1], window[1][0]:window[1][1]] else: data.mask = data.mask | self.mask return data
import numpy as np import numpy.ma as ma import rasterio import rasterio.errors import threading def window_inset(win1, win2): if win2: return ((win1[0][0] + win2[0][0], min(win1[0][0] + win2[0][1], win1[0][1])), (win1[1][0] + win2[1][0], min(win1[1][0] + win2[1][1], win1[1][1]))) return win1 class Raster(object): def __init__(self, name, fname, band=1): self._name = name self._fname = fname self._threadlocal = threading.local() self._band = band self._window = None self._affine = None self._mask = None @property def name(self): return self._name @property def syms(self): return [] @property def reader(self): if getattr(self._threadlocal, 'reader', None) is None: try: self._threadlocal.reader = rasterio.open(self._fname) except (SystemError, rasterio.errors.RasterioIOError) as e: print("Error: opening raster '%s' for %s" % (self._fname, self.name)) raise SystemError("Error: opening raster '%s' for %s" % (self._fname, self.name)) return self._threadlocal.reader @property def window(self): return self._window @window.setter def window(self, window): self._window = window @property def affine(self): return self._affine @affine.setter def affine(self, affine): self._affine = affine @property def mask(self): return self._mask @mask.setter def mask(self, mask): self._mask = mask @property def block_shape(self): return self.reader.block_shapes[self._band - 1] @property def dtype(self): return self.reader.dtypes[self._band - 1] def eval(self, df, window=None): assert self.window win = window_inset(self.window, window) try: data = self.reader.read(self._band, window=win, masked=True) except IndexError as e: print("Error: reading band %d from %s" % (self._band, self._fname)) raise IndexError("Error: reading band %d from %s" % (self._band, self._fname)) ## HPD raster sometimes has NODATA values that leak. data = ma.where(data < -1e20, np.nan, data) if self.mask is not None: if window: data.mask = data.mask | self.mask[window[0][0]:window[0][1], window[1][0]:window[1][1]] else: data.mask = data.mask | self.mask return data
apache-2.0
Python
5b33180f674534cdeb6746eb0754d2489b76d5ad
Add missing dependency
itkach/mwscrape
setup.py
setup.py
from distutils.core import setup setup(name='mwscrape', version='1.0', description='Download', author='Igor Tkach', author_email='itkach@gmail.com', url='http://github.com/itkach/mwscrape', license='MPL 2.0', packages=['mwscrape'], #mwclient appears to need six, but doesn't declare it as dependency install_requires=['futures', 'CouchDB >= 0.10', 'mwclient >= 0.7', 'six', 'pylru'], entry_points={'console_scripts': [ 'mwscrape=mwscrape.scrape:main', 'mwresolvec=mwscrape.resolveconflicts:main', ]})
from distutils.core import setup setup(name='mwscrape', version='1.0', description='Download', author='Igor Tkach', author_email='itkach@gmail.com', url='http://github.com/itkach/mwscrape', license='MPL 2.0', packages=['mwscrape'], #mwclient appears to need six, but doesn't declare it as dependency install_requires=['CouchDB >= 0.10', 'mwclient >= 0.7', 'six', 'pylru'], entry_points={'console_scripts': [ 'mwscrape=mwscrape.scrape:main', 'mwresolvec=mwscrape.resolveconflicts:main', ]})
mpl-2.0
Python
ff51bc4ccdc27578c7321a63801df186d828e391
Use setuptools if available. setuptools is pretty standard now.
paulc/dnslib,paulc/dnslib
setup.py
setup.py
#!/usr/bin/env python try: from setuptools import Command, setup except ImportError: from distutils.core import Command, setup # noqa import dnslib long_description = dnslib.__doc__.rstrip() + "\n" version = dnslib.version class GenerateReadme(Command): description = "Generates README file from long_description" user_options = [] def initialize_options(self): pass def finalize_options(self): pass def run(self): open("README","w").write(long_description) setup(name='dnslib', version = version, description = 'Simple library to encode/decode DNS wire-format packets', long_description = long_description, author = 'Paul Chakravarti', author_email = 'paul.chakravarti@gmail.com', url = 'http://bitbucket.org/paulc/dnslib/', cmdclass = {'readme' : GenerateReadme}, packages = ['dnslib'], package_dir = {'dnslib' : 'dnslib'}, license = 'BSD', classifiers = [ "Topic :: Internet :: Name Service (DNS)", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", ], )
#!/usr/bin/env python #try: # from setuptools import setup, Command #except ImportError: # from distutils.core import Command,setup from distutils.core import Command,setup import dnslib long_description = dnslib.__doc__.rstrip() + "\n" version = dnslib.version class GenerateReadme(Command): description = "Generates README file from long_description" user_options = [] def initialize_options(self): pass def finalize_options(self): pass def run(self): open("README","w").write(long_description) setup(name='dnslib', version = version, description = 'Simple library to encode/decode DNS wire-format packets', long_description = long_description, author = 'Paul Chakravarti', author_email = 'paul.chakravarti@gmail.com', url = 'http://bitbucket.org/paulc/dnslib/', cmdclass = {'readme' : GenerateReadme}, packages = ['dnslib'], package_dir = {'dnslib' : 'dnslib'}, license = 'BSD', classifiers = [ "Topic :: Internet :: Name Service (DNS)", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", ], )
bsd-2-clause
Python
8223304457ad3e3698aa24584a896bf3ee26fda4
Bump to 0.0.5
jwass/mplleaflet,ocefpaf/mplleaflet,ocefpaf/mplleaflet,jwass/mplleaflet
setup.py
setup.py
try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup, find_packages with open('AUTHORS.md') as f: authors = f.read() description = "Convert Matplotlib plots into Leaflet web maps" long_description = description + "\n\n" + authors NAME = "mplleaflet" AUTHOR = "Jacob Wasserman" AUTHOR_EMAIL = "jwasserman@gmail.com" MAINTAINER = "Jacob Wasserman" MAINTAINER_EMAIL = "jwasserman@gmail.com" DOWNLOAD_URL = 'http://github.com/jwass/mplleaflet' LICENSE = 'BSD 3-clause' VERSION = '0.0.5' setup( name=NAME, version=VERSION, description=description, long_description=long_description, author=AUTHOR, author_email=AUTHOR_EMAIL, maintainer=MAINTAINER, maintainer_email=MAINTAINER_EMAIL, url=DOWNLOAD_URL, download_url=DOWNLOAD_URL, license=LICENSE, packages=find_packages(), package_data={'': ['*.html']}, # Include the templates install_requires=[ "jinja2", "six", ], )
try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup, find_packages with open('AUTHORS.md') as f: authors = f.read() description = "Convert Matplotlib plots into Leaflet web maps" long_description = description + "\n\n" + authors NAME = "mplleaflet" AUTHOR = "Jacob Wasserman" AUTHOR_EMAIL = "jwasserman@gmail.com" MAINTAINER = "Jacob Wasserman" MAINTAINER_EMAIL = "jwasserman@gmail.com" DOWNLOAD_URL = 'http://github.com/jwass/mplleaflet' LICENSE = 'BSD 3-clause' VERSION = '0.0.4' setup( name=NAME, version=VERSION, description=description, long_description=long_description, author=AUTHOR, author_email=AUTHOR_EMAIL, maintainer=MAINTAINER, maintainer_email=MAINTAINER_EMAIL, url=DOWNLOAD_URL, download_url=DOWNLOAD_URL, license=LICENSE, packages=find_packages(), package_data={'': ['*.html']}, # Include the templates install_requires=[ "jinja2", "six", ], )
bsd-3-clause
Python
12fa63ae42508e0e9223e2a31c5c6acd7bcf85d6
Use setuptools rather than distutils
patricklaw/clortho
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- # # # Copyright 2012 ShopWiki # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # from setuptools import setup VERSION = '0.0.0' DESCRIPTION = 'Web Authentication with SQLAlchemy' setup( name='Zuul', version=VERSION, description=DESCRIPTION, author='Patrick Lawson', license='Apache 2', author_email='plawson@shopwiki.com', url='http://github.com/shopwiki/zuul', packages=['zuul'], install_requires=['sqlalchemy', 'py-bcrypt'], classifiers = [ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Database', 'Topic :: Software Development :: Libraries :: Python Modules', ] )
#!/usr/bin/env python # -*- coding: utf-8 -*- # # # Copyright 2012 ShopWiki # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # from distutils.core import setup VERSION = '0.0.0' DESCRIPTION = 'Web Authentication with SQLAlchemy' setup( name='Zuul', version=VERSION, description=DESCRIPTION, author='Patrick Lawson', license='Apache 2', author_email='plawson@shopwiki.com', url='http://github.com/shopwiki/zuul', packages=['zuul'], install_requires=['sqlalchemy', 'py-bcrypt'], classifiers = [ 'Development Status :: 2 - Pre-Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Database', 'Topic :: Software Development :: Libraries :: Python Modules', ] )
apache-2.0
Python
a48fb4b0f92f9282ea54b142fe529a82b594fee7
fix 3 only trove classifier case
jayclassless/setoptconf
setup.py
setup.py
import os.path import re import sys from setuptools import setup, find_packages DEPENDENCIES = [] def get_version(): init = os.path.join(os.path.dirname(__file__), 'setoptconf/__init__.py') source = open(init, 'r').read() version = re.search( r"__version__ = '(?P<version>[^']+)'", source, ).group('version') return version def get_description(): readme = os.path.join(os.path.dirname(__file__), 'README.rst') return open(readme, 'r').read() setup( name='setoptconf', version=get_version(), author='Jason Simeone', author_email='jay@classless.net', license='MIT', keywords=['settings', 'options', 'configuration', 'config', 'arguments'], description='A module for retrieving program settings from various' ' sources in a consistant method.', long_description=get_description(), url='https://github.com/jayclassless/setoptconf', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3.1', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Topic :: Software Development :: Libraries :: Python Modules' ], packages=find_packages(exclude=['test.*', 'test']), install_requires=DEPENDENCIES, extras_require={ 'YAML': ['pyyaml'], }, python_requires=">=3.0", )
import os.path import re import sys from setuptools import setup, find_packages DEPENDENCIES = [] def get_version(): init = os.path.join(os.path.dirname(__file__), 'setoptconf/__init__.py') source = open(init, 'r').read() version = re.search( r"__version__ = '(?P<version>[^']+)'", source, ).group('version') return version def get_description(): readme = os.path.join(os.path.dirname(__file__), 'README.rst') return open(readme, 'r').read() setup( name='setoptconf', version=get_version(), author='Jason Simeone', author_email='jay@classless.net', license='MIT', keywords=['settings', 'options', 'configuration', 'config', 'arguments'], description='A module for retrieving program settings from various' ' sources in a consistant method.', long_description=get_description(), url='https://github.com/jayclassless/setoptconf', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3 :: only', 'Programming Language :: Python :: 3.1', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Topic :: Software Development :: Libraries :: Python Modules' ], packages=find_packages(exclude=['test.*', 'test']), install_requires=DEPENDENCIES, extras_require={ 'YAML': ['pyyaml'], }, python_requires=">=3.0", )
mit
Python
0816af2c578e3fc1398655d315288da2aba6c1ea
disable use of setuptools 2to3
jayclassless/setoptconf
setup.py
setup.py
import os.path import re import sys from setuptools import setup, find_packages DEPENDENCIES = [] def get_version(): init = os.path.join(os.path.dirname(__file__), 'setoptconf/__init__.py') source = open(init, 'r').read() version = re.search( r"__version__ = '(?P<version>[^']+)'", source, ).group('version') return version def get_description(): readme = os.path.join(os.path.dirname(__file__), 'README.rst') return open(readme, 'r').read() setup( name='setoptconf', version=get_version(), author='Jason Simeone', author_email='jay@classless.net', license='MIT', keywords=['settings', 'options', 'configuration', 'config', 'arguments'], description='A module for retrieving program settings from various' ' sources in a consistant method.', long_description=get_description(), url='https://github.com/jayclassless/setoptconf', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3 :: only', 'Programming Language :: Python :: 3.1', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Topic :: Software Development :: Libraries :: Python Modules' ], packages=find_packages(exclude=['test.*', 'test']), install_requires=DEPENDENCIES, extras_require={ 'YAML': ['pyyaml'], }, python_requires=">=3.0", )
import os.path import re import sys from setuptools import setup, find_packages PYVER = sys.version_info SETUP_KWARGS = {} DEPENDENCIES = [] # Do we need to install argparse? if PYVER < (2, 7): DEPENDENCIES.append('argparse') elif PYVER >= (3, 0) and PYVER < (3, 2): DEPENDENCIES.append('argparse') # Are we on Py3K? if PYVER >= (3, 0): SETUP_KWARGS['use_2to3'] = True def get_version(): init = os.path.join(os.path.dirname(__file__), 'setoptconf/__init__.py') source = open(init, 'r').read() version = re.search( r"__version__ = '(?P<version>[^']+)'", source, ).group('version') return version def get_description(): readme = os.path.join(os.path.dirname(__file__), 'README.rst') return open(readme, 'r').read() setup( name='setoptconf', version=get_version(), author='Jason Simeone', author_email='jay@classless.net', license='MIT', keywords=['settings', 'options', 'configuration', 'config', 'arguments'], description='A module for retrieving program settings from various' ' sources in a consistant method.', long_description=get_description(), url='https://github.com/jayclassless/setoptconf', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.1', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Topic :: Software Development :: Libraries :: Python Modules' ], packages=find_packages(exclude=['test.*', 'test']), install_requires=DEPENDENCIES, extras_require={ 'YAML': ['pyyaml'], }, **SETUP_KWARGS )
mit
Python
813f66d08b43eefc3727725f12041d375057cb38
update zeit.cms dependency
ZeitOnline/zeit.content.cp,ZeitOnline/zeit.content.cp
setup.py
setup.py
# Copyright (c) 2009 gocept gmbh & co. kg # See also LICENSE.txt from setuptools import setup, find_packages setup( name='zeit.content.cp', version='0.4dev', author='gocept', author_email='mail@gocept.com', url='https://intra.gocept.com/projects/projects/zeit-cms', description="""\ """, packages=find_packages('src'), package_dir = {'': 'src'}, include_package_data = True, zip_safe=False, license='gocept proprietary', namespace_packages = ['zeit', 'zeit.content'], install_requires=[ 'gocept.lxml', 'gocept.mochikit>=1.4.2.2', 'lxml', 'python-cjson', 'setuptools', 'stabledict', 'zc.sourcefactory', 'zeit.cms>1.19.1', 'zeit.find', 'zope.app.pagetemplate', 'zope.component', 'zope.container>=3.8.1', 'zope.event', 'zope.formlib', 'zope.i18n', 'zope.interface', 'zope.lifecycleevent', 'zope.viewlet', ] )
# Copyright (c) 2009 gocept gmbh & co. kg # See also LICENSE.txt from setuptools import setup, find_packages setup( name='zeit.content.cp', version='0.4dev', author='gocept', author_email='mail@gocept.com', url='https://intra.gocept.com/projects/projects/zeit-cms', description="""\ """, packages=find_packages('src'), package_dir = {'': 'src'}, include_package_data = True, zip_safe=False, license='gocept proprietary', namespace_packages = ['zeit', 'zeit.content'], install_requires=[ 'gocept.lxml', 'gocept.mochikit>=1.4.2.2', 'lxml', 'python-cjson', 'setuptools', 'stabledict', 'zc.sourcefactory', 'zeit.cms>=1.17.1', 'zeit.find', 'zope.app.pagetemplate', 'zope.component', 'zope.container>=3.8.1', 'zope.event', 'zope.formlib', 'zope.i18n', 'zope.interface', 'zope.lifecycleevent', 'zope.viewlet', ] )
bsd-3-clause
Python
29cb760030021f97906d5eaec1c0b885e8bb2930
Add what the example should output.
caseywstark/dimensionful
example/gravity.py
example/gravity.py
""" Compute the force of gravity between the Earth and Sun. Copyright 2012, Casey W. Stark. See LICENSE.txt for more information. """ # Import the gravitational constant and the Quantity class from dimensionful import G, Quantity # Supply the mass of Earth, mass of Sun, and the distance between. mass_earth = Quantity(5.9742e27, "g") mass_sun = Quantity(1.0, "Msun") distance = Quantity(1.0, "AU") # Calculate it force_gravity = G * mass_earth * mass_sun / distance**2 force_gravity.convert_to_cgs() # Report print "" print "The force of gravity between the Earth and Sun is %s" % force_gravity print "" # prints "The force of gravity between the Earth and Sun is 3.54296304519e+27 cm*g/s**2"
""" Compute the force of gravity between the Earth and Sun. Copyright 2012, Casey W. Stark. See LICENSE.txt for more information. """ # Import the gravitational constant and the Quantity class from dimensionful import G, Quantity # Supply the mass of Earth, mass of Sun, and the distance between. mass_earth = Quantity(5.9742e27, "g") mass_sun = Quantity(1.0, "Msun") distance = Quantity(1.0, "AU") # Calculate it force_gravity = G * mass_earth * mass_sun / distance**2 force_gravity.convert_to_cgs() # Report print "" print "The force of gravity between the Earth and Sun is %s" % force_gravity print ""
bsd-2-clause
Python
76127c6c7e0ae1271dfecd2a10efd2ccd6148f97
Add plec json to package data
oddt/oddt,oddt/oddt,mkukielka/oddt,mkukielka/oddt
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages from oddt import __version__ as VERSION setup(name='oddt', version=VERSION, description='Open Drug Discovery Toolkit', author='Maciej Wojcikowski', author_email='mwojcikowski@ibb.waw.pl', url='https://github.com/oddt/oddt', license='BSD', packages=find_packages(), package_data={'oddt.scoring.functions': ['NNScore/*.csv', 'RFScore/*.csv', 'PLECscore/*.json', ]}, setup_requires=['numpy'], install_requires=open('requirements.txt', 'r').readlines(), download_url='https://github.com/oddt/oddt/tarball/%s' % VERSION, keywords=['cheminformatics', 'qsar', 'virtual screening', 'docking', 'pipeline'], scripts=['bin/oddt_cli'], )
#!/usr/bin/env python from setuptools import setup, find_packages from oddt import __version__ as VERSION setup(name='oddt', version=VERSION, description='Open Drug Discovery Toolkit', author='Maciej Wojcikowski', author_email='mwojcikowski@ibb.waw.pl', url='https://github.com/oddt/oddt', license='BSD', packages=find_packages(), package_data={'oddt.scoring.functions': ['NNScore/*.csv', 'RFScore/*.csv']}, setup_requires=['numpy'], install_requires=open('requirements.txt', 'r').readlines(), download_url='https://github.com/oddt/oddt/tarball/%s' % VERSION, keywords=['cheminformatics', 'qsar', 'virtual screening', 'docking', 'pipeline'], scripts=['bin/oddt_cli'], )
bsd-3-clause
Python
f6dccf2b8f4cab09e300b0e4b1fa770bc2e4c0a6
bump version
podio/conssert
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages setup( name="conssert", version="0.2.5", description="Content assertion library for Python", url="https://github.com/podio/conssert", download_url="https://github.com/podio/conssert/tarball/0.2.5", author="Juan Alvarez", author_email="juan.afernandez@ymail.com", platforms=["any"], packages=find_packages(exclude="tests"), keywords=["validation", "test", "unit test", "content assertion"], classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules", "License :: OSI Approved :: MIT License", ], )
#!/usr/bin/env python from setuptools import setup, find_packages setup( name="conssert", version="0.2.4", description="Content assertion library for Python", url="https://github.com/podio/conssert", download_url="https://github.com/podio/conssert/tarball/0.2.4", author="Juan Alvarez", author_email="juan.afernandez@ymail.com", platforms=["any"], packages=find_packages(exclude="tests"), keywords=["validation", "test", "unit test", "content assertion"], classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules", "License :: OSI Approved :: MIT License", ], )
mit
Python
003f40c5fbd6a3559d7cfc62dc163c37140f1ffc
Fix dependency issue
mneagul/scape-cloud-toolkit,mneagul/scape-cloud-toolkit,mneagul/scape-cloud-toolkit
setup.py
setup.py
# -*- coding: utf-8 -*- """ Copyright 2014 Universitatea de Vest din Timișoara Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. @author: Marian Neagul <marian@info.uvt.ro> @contact: marian@info.uvt.ro @copyright: 2014 Universitatea de Vest din Timișoara """ import os from setuptools import setup def read(fname): if os.path.exists(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() srcdir = 'src' setup( name="sct", version="0.0.2", author="Marian Neagul", author_email="marian@info.uvt.ro", description="SCT is a SCAPE tool for cloud deployment", license="APL", keywords="jsonrpc2 rpc", url="http://www.scape-project.eu/", package_dir={'': srcdir}, package_data={'': ['data/*.yaml']}, packages=["sct", ], long_description=read('README.rst'), classifiers=[ "Intended Audience :: Developers", "Development Status :: 3 - Alpha", "Topic :: Software Development :: Libraries :: Python Modules", "License :: OSI Approved :: Apache Software License", ], entry_points={ 'console_scripts': [ 'sct-cli = sct.cli:main', ] }, install_requires=["pyyaml>=3.0", "apache-libcloud==0.14.0", "lockfile>=0.8", "CherryPy>=3", "mjsrpc2>=0.0.7"], )
# -*- coding: utf-8 -*- """ Copyright 2014 Universitatea de Vest din Timișoara Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. @author: Marian Neagul <marian@info.uvt.ro> @contact: marian@info.uvt.ro @copyright: 2014 Universitatea de Vest din Timișoara """ import os from setuptools import setup def read(fname): if os.path.exists(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() srcdir = 'src' setup( name="sct", version="0.0.2", author="Marian Neagul", author_email="marian@info.uvt.ro", description="SCT is a SCAPE tool for cloud deployment", license="APL", keywords="jsonrpc2 rpc", url="http://www.scape-project.eu/", package_dir={'': srcdir}, package_data={'': ['data/*.yaml']}, packages=["sct", ], long_description=read('README.rst'), classifiers=[ "Intended Audience :: Developers", "Development Status :: 3 - Alpha", "Topic :: Software Development :: Libraries :: Python Modules", "License :: OSI Approved :: Apache Software License", ], entry_points={ 'console_scripts': [ 'sct-cli = sct.cli:main', ] }, install_requires=["pyyaml>=3.0", "apache-libcloud", "lockfile>=0.8", "CherryPy>=3", "mjsrpc2>=0.0.7"], )
apache-2.0
Python
136638af9d69652989a2aea3e1903520dc8cdccc
Change Development Status to Beta
mishbahr/djangocms-gmaps,mishbahr/djangocms-gmaps,mishbahr/djangocms-gmaps
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys import djangocms_gmaps try: from setuptools import setup except ImportError: from distutils.core import setup version = djangocms_gmaps.__version__ if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') print("You probably want to also tag the version now:") print(" git tag -a %s -m 'version %s'" % (version, version)) print(" git push --tags") sys.exit() readme = open('README.rst').read() setup( name='djangocms-gmaps', version=version, description="""The easiest way to embed Google Maps for your django-cms powered site. This is a great way to display the location of your business or event.""", long_description=readme, author='Mishbah Razzaque', author_email='mishbahx@gmail.com', url='https://github.com/mishbahr/djangocms-gmaps', packages=[ 'djangocms_gmaps', ], include_package_data=True, install_requires=[ 'django-appconf', 'jsonfield', 'django-cms>=3.0', 'django-filer>=0.9', 'easy-thumbnails>=1.0', 'django-sekizai>=0.7', ], license="BSD", zip_safe=False, keywords='djangocms-gmaps, django-cms, djangocms-googlemap, google maps, django', classifiers=[ 'Development Status :: 4 - Beta', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Natural Language :: English', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', ], )
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys import djangocms_gmaps try: from setuptools import setup except ImportError: from distutils.core import setup version = djangocms_gmaps.__version__ if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') print("You probably want to also tag the version now:") print(" git tag -a %s -m 'version %s'" % (version, version)) print(" git push --tags") sys.exit() readme = open('README.rst').read() history = open('HISTORY.rst').read().replace('.. :changelog:', '') setup( name='djangocms-gmaps', version=version, description="""The easiest way to embed Google Maps for your django-cms powered site. This is a great way to display the location of your business or event.""", long_description=readme + '\n\n' + history, author='Mishbah Razzaque', author_email='mishbahx@gmail.com', url='https://github.com/mishbahr/djangocms-gmaps', packages=[ 'djangocms_gmaps', ], include_package_data=True, install_requires=[ 'django-appconf', 'jsonfield', 'django-cms>=3.0', 'django-filer>=0.9', 'easy-thumbnails>=1.0', 'django-sekizai>=0.7', ], license="BSD", zip_safe=False, keywords='djangocms-gmaps, django-cms, djangocms-googlemap, google maps, django', classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Natural Language :: English', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', ], )
bsd-3-clause
Python
4df8379b8a41ef87cab7555e83e938d004cde97a
use semantic versioning
varlink/python-varlink,varlink/python-varlink
setup.py
setup.py
from setuptools import setup setup( name = "varlink", packages = ["varlink"], version = "26.0.1", description = "Varlink", long_description = "Python implementation of the varlink protocol http://varlink.org", author = "Lars Karlitski<lars@karlitski.net>, Harald Hoyer<harald@redhat.com>", author_email = "harald@redhat.com", url = "https://github.com/varlink/python", license = "ASL 2.0", keywords = "ipc varlink rpc", python_requires='>=2.7', package_data = { "varlink": [ "*.varlink" ] }, classifiers = [ "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 2.7", "Programming Language :: Python", "Topic :: System :: Networking" ] )
from setuptools import setup setup( name = "varlink", packages = ["varlink"], version = "26", description = "Varlink", long_description = "Python implementation of the varlink protocol http://varlink.org", author = "Lars Karlitski<lars@karlitski.net>, Harald Hoyer<harald@redhat.com>", author_email = "harald@redhat.com", url = "https://github.com/varlink/python", license = "ASL 2.0", keywords = "ipc varlink rpc", python_requires='>=2.7', package_data = { "varlink": [ "*.varlink" ] }, classifiers = [ "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 2.7", "Programming Language :: Python", "Topic :: System :: Networking" ] )
apache-2.0
Python
cf4a3240c797c1544542596933f93efc56cdb690
Remove indirect dependencies.
gorakhargosh/pyoauth,gorakhargosh/pyoauth
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Python module that implements the OAuth protocol for clients and servers. More information at http://github.com/gorakhargosh/pyoauth """ from setuptools import setup setup( name="pyoauth", version="0.0.1", license="Apache Software License", url="http://github.com/gorakhargosh/pyoauth", description="Python OAuth implementation for clients and servers", long_description=__doc__, author="Yesudeep Mangalapilly", author_email="yesudeep@gmail.com", zip_safe=True, platforms="any", packages=["pyoauth"], include_package_data=True, install_requires=[ "mom >=0.0.1", ], keywords=' '.join([ "python", "oauth", "oauth1", "oauth2", "client", "server", "rfc5849", ]), classifiers=[ "Development Status :: 2 - Pre-Alpha Development Status", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules", ] )
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Python module that implements the OAuth protocol for clients and servers. More information at http://github.com/gorakhargosh/pyoauth """ from setuptools import setup setup( name="pyoauth", version="0.0.1", license="Apache Software License", url="http://github.com/gorakhargosh/pyoauth", description="Python OAuth implementation for clients and servers", long_description=__doc__, author="Yesudeep Mangalapilly", author_email="yesudeep@gmail.com", zip_safe=True, platforms="any", packages=["pyoauth"], include_package_data=True, install_requires=[ "PyCrypto >=2.3", "pyasn1 >=0.0.13b", "mom >=0.0.1", ], keywords=' '.join([ "python", "oauth", "oauth1", "oauth2", "client", "server", "rfc5849", ]), classifiers=[ "Development Status :: 2 - Pre-Alpha Development Status", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules", ] )
apache-2.0
Python
148f2c2ab8be31cf3108849b72efe1f770f93327
Upgrade to version 0.0.2
edasi/kool
setup.py
setup.py
# coding=utf-8 from setuptools import setup, find_packages from codecs import open import os def read(fname): path = os.path.join(os.path.dirname(__file__), fname) return open(path, encoding='utf-8').read() setup( name="Kool", version="0.0.2", packages=find_packages(), # development metadata zip_safe=False, # metadata for upload to PyPI author="Antony Orenge", author_email="orenge@ut.ee", description="Kool is an open source platform for online classroom management. ", license="MIT", keywords="education learning database nosql", url="https://github.com/edasi/kool", python_requires='>=3', classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Topic :: Education", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: PyPy", "Operating System :: OS Independent" ], long_description=read('README.rst'), )
# coding=utf-8 from setuptools import setup, find_packages from codecs import open import os def read(fname): path = os.path.join(os.path.dirname(__file__), fname) return open(path, encoding='utf-8').read() setup( name="Kool", version="0.0.1", packages=find_packages(), # development metadata zip_safe=False, # metadata for upload to PyPI author="Antony Orenge", author_email="orenge@ut.ee", description="Kool is an open source platform for online classroom management. ", license="MIT", keywords="education learning database nosql", url="https://github.com/edasi/kool", python_requires='>=3', classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Topic :: Education", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: PyPy", "Operating System :: OS Independent" ], long_description=read('README.rst'), )
mit
Python
0781bff16b80aa09f03bc3ba8d342bea662569e8
Incrementa a versão.
scieloorg/xylose
setup.py
setup.py
#!/usr/bin/env python try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup, find_packages requires = [ "legendarium>=1.2.0" ] setup( name="xylose", version='1.32.0', description="A SciELO library to abstract a JSON data structure that is a product of the ISIS2JSON conversion using the ISIS2JSON type 3 data model.", author="SciELO", author_email="scielo-dev@googlegroups.com", license="BSD 2-clause", url="http://docs.scielo.org", packages=find_packages(), include_package_data=True, classifiers=[ "Development Status :: 1 - Planning", "Intended Audience :: Customer Service", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Operating System :: POSIX :: Linux", "Topic :: System", "Topic :: Utilities", ], dependency_links=[], setup_requires=["nose>=1.0", "coverage"], tests_require=["mocker"], install_requires=requires, test_suite="nose.collector", )
#!/usr/bin/env python try: from setuptools import setup, find_packages except ImportError: from distutils.core import setup, find_packages requires = [ "legendarium>=1.2.0" ] setup( name="xylose", version='1.31.0', description="A SciELO library to abstract a JSON data structure that is a product of the ISIS2JSON conversion using the ISIS2JSON type 3 data model.", author="SciELO", author_email="scielo-dev@googlegroups.com", license="BSD 2-clause", url="http://docs.scielo.org", packages=find_packages(), include_package_data=True, classifiers=[ "Development Status :: 1 - Planning", "Intended Audience :: Customer Service", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Operating System :: POSIX :: Linux", "Topic :: System", "Topic :: Utilities", ], dependency_links=[], setup_requires=["nose>=1.0", "coverage"], tests_require=["mocker"], install_requires=requires, test_suite="nose.collector", )
bsd-2-clause
Python