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
0b990c28d2aad533d6f8605957669ad9e6cae786
Fix Issue #4
rjpower/falcon,rjpower/falcon,rjpower/falcon,rjpower/falcon
setup.py
setup.py
#!/usr/bin/python import glob import platform import sys import os import ez_setup ez_setup.use_setuptools() from setuptools import setup, Extension system, node, release, version, machine, processor = platform.uname() setup( name='falcon', version='0.02', maintainer='Russell Power', maintainer_email='[email protected]', url='http://github.com/rjpower/falcon', classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Other Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: POSIX', 'Programming Language :: C++', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.0', 'Programming Language :: Python :: 3.1', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', ], description='Faster then a speeding bullet...', package_dir={'': 'src'}, packages=['falcon'], ext_modules=[ Extension('_falcon_core', include_dirs=['./src'], sources=[ 'src/falcon/rexcept.cc', 'src/falcon/reval.cc', 'src/falcon/rcompile.cc', 'src/falcon/rinst.cc', 'src/falcon/oputil.cc', 'src/falcon/util.cc', 'src/falcon/rmodule.i' ], swig_opts = ['-Isrc', '-modern', '-O', '-c++', '-w312,509'], extra_compile_args=['-fno-gcse', '-fno-crossjumping', '-ggdb2', '-std=c++0x', '-Isrc/sparsehash-2.0.2/src'], extra_link_args=([] if system == 'Darwin' else ['-lrt']), ) ] )
#!/usr/bin/python import glob import platform import sys import os import ez_setup ez_setup.use_setuptools() from setuptools import setup, Extension system, node, release, version, machine, processor = platform.uname() setup( name='falcon', version='0.02', maintainer='Russell Power', maintainer_email='[email protected]', url='http://github.com/rjpower/falcon', classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Other Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: POSIX', 'Programming Language :: C++', 'Programming Language :: Python', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.0', 'Programming Language :: Python :: 3.1', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', ], description='Faster then a speeding bullet...', package_dir={'': 'src'}, packages=['falcon'], ext_modules=[ Extension('_falcon_core', include_dirs=['./src'], sources=[ 'src/falcon/rexcept.cc', 'src/falcon/reval.cc', 'src/falcon/rcompile.cc', 'src/falcon/rinst.cc', 'src/falcon/oputil.cc', 'src/falcon/util.cc', 'src/falcon/rmodule.i' ], swig_opts = ['-Isrc', '-modern', '-O', '-c++', '-w312,509'], extra_compile_args=['-fno-gcse', '-fno-crossjumping', '-ggdb2', '-std=c++0x', '-Isrc/sparsehash-2.0.2/src'], extra_link_args=['-lrt'], ) ] )
apache-2.0
Python
0069af436db7825f3b1fe4987eed1128350c0545
set dev status: beta
jayme-github/steamweb,jbzdarkid/steamweb
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup def parse_requirements(path): with open(path, 'r') as infile: return [l.strip() for l in infile.readlines()] setup( name = 'steamweb', version = '0.4', description = 'lib to access/use steam web pages (stuff not exposed via API)', long_description = 'lib to access/use steam web pages (stuff not exposed via API)', platforms = ['any'], keywords = 'steam', author = 'Jayme', author_email = '[email protected]', url = 'https://github.com/jayme-github/steamweb', packages = ['steamweb'], license = 'GNU Affero General Public License v3', classifiers = [ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: GNU Affero General Public License v3', 'Operating System :: OS Independent', 'Programming Language :: Python', ], install_requires = parse_requirements('requirements.txt'), tests_require = parse_requirements('requirements-test.txt'), test_suite = 'test', scripts = ['demo.py'], )
#!/usr/bin/env python from setuptools import setup def parse_requirements(path): with open(path, 'r') as infile: return [l.strip() for l in infile.readlines()] setup( name = 'steamweb', version = '0.3', description = 'lib to access/use steam web pages (stuff not exposed via API)', long_description = 'lib to access/use steam web pages (stuff not exposed via API)', platforms = ['any'], keywords = 'steam', author = 'Jayme', author_email = '[email protected]', url = 'https://github.com/jayme-github/steamweb', packages = ['steamweb'], license = 'GNU Affero General Public License v3', classifiers = [ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: GNU Affero General Public License v3', 'Operating System :: OS Independent', 'Programming Language :: Python', ], install_requires = parse_requirements('requirements.txt'), tests_require = parse_requirements('requirements-test.txt'), test_suite = 'test', scripts = ['demo.py'], )
agpl-3.0
Python
fad69b39269684570fadce38660b9eb5050179fe
Debug setup.py for RTD
plugaai/aioinflux
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup from pathlib import Path with open('README.rst', 'r') as f: long_description = f.read() meta = {} with open(Path('aioinflux') / '__init__.py') as f: exec('\n'.join(l for l in f if l.startswith('__')), meta) setup(name='aioinflux', version=meta['__version__'], description='Asynchronous Python client for InfluxDB', long_description=long_description, author='Gustavo Bezerra', author_email='[email protected]', url='https://github.com/plugaai/aioinflux', packages=['aioinflux'], include_package_data=True, python_requires='>=3.6', install_requires=['aiohttp>=3.0', 'ciso8601'], extras_require={'test': ['pytest', 'pytest-asyncio', 'pytest-cov', 'pyyaml', 'pytz', 'flake8', 'sphinx-autodoc-typehints', ], 'pandas': ['pandas>=0.21', 'numpy']}, classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Topic :: Database', ])
#!/usr/bin/env python from setuptools import setup from pathlib import Path with open('README.rst', 'r') as f: long_description = f.read() meta = {} with open(Path(__file__).parent / 'aioinflux' / '__init__.py') as f: exec('\n'.join(l for l in f if l.startswith('__')), meta) setup(name='aioinflux', version=meta['__version__'], description='Asynchronous Python client for InfluxDB', long_description=long_description, author='Gustavo Bezerra', author_email='[email protected]', url='https://github.com/plugaai/aioinflux', packages=['aioinflux'], include_package_data=True, python_requires='>=3.6', install_requires=['aiohttp>=3.0', 'ciso8601'], extras_require={'test': ['pytest', 'pytest-asyncio', 'pytest-cov', 'pyyaml', 'pytz', 'flake8', 'sphinx-autodoc-typehints', ], 'pandas': ['pandas>=0.21', 'numpy']}, classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Topic :: Database', ])
mit
Python
a04fbb25dea14cfded321e80738878ad668cac39
fix coding style issues
fretboardfreak/netify
setup.py
setup.py
"""The netify deployment script.""" # Copyright 2015 Curtis Sand # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. from setuptools import setup def required(): with open('requirements.txt', 'r') as reqf: return reqf.read().splitlines() def readme(): with open('README.rst', 'r') as readmef: return readmef.read() setup(name='netify', version='0.1', description='Turn boring things into something for the net.', long_description=readme(), url='https://github.com/fretboardfreak/netify', author='Curtis Sand', author_email='[email protected]', license='Apache', package_dir={'': 'src'}, packages=['netify'], entry_points={ 'console_scripts': ['netify=netify.app:NetifyApp.cli_main'] }, use_2to3=False, install_requires=required(), zip_safe=False, keywords='net netify app webapp html site website generator', classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'License :: OSI Approved :: Apache Software License', 'Intended Audience :: Developers', 'Framework :: Flask', 'Environment :: Web Environment', 'Operating System :: POSIX :: Linux', 'Operating System :: MacOS', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3 :: Only', 'Topic :: Internet', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Internet :: WWW/HTTP :: Site Management', 'Topic :: Software Development :: Libraries', ('Topic :: Software Development :: Libraries :: ' 'Application Frameworks'), ], )
"""The netify deployment script.""" # Copyright 2015 Curtis Sand # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. from setuptools import setup def required(): with open('requirements.txt', 'r') as reqf: return reqf.read().splitlines() def readme(): with open('README.rst', 'r') as readmef: return readmef.read() setup(name='netify', version='0.1', description='Turn boring things into something for the net.', long_description=readme(), url='https://github.com/fretboardfreak/netify', author='Curtis Sand', author_email='[email protected]', license='Apache', package_dir={'': 'src'}, packages=['netify'], entry_points = { 'console_scripts': ['netify=netify.app:NetifyApp.cli_main'] }, use_2to3=False, install_requires=required(), zip_safe=False, keywords='net netify app webapp html site website generator', classifiers=[ 'Development Status :: 2 - Pre-Alpha', 'License :: OSI Approved :: Apache Software License', 'Intended Audience :: Developers', 'Framework :: Flask', 'Environment :: Web Environment', 'Operating System :: POSIX :: Linux', 'Operating System :: MacOS', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3 :: Only', 'Topic :: Internet', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Internet :: WWW/HTTP :: Site Management', 'Topic :: Software Development :: Libraries', ('Topic :: Software Development :: Libraries :: ' 'Application Frameworks'), ], )
apache-2.0
Python
0f8fd08735b1194e0cb571fa1f2d31954eca34ce
update email address
yohanboniface/mapbox-vector-tile,mapzen/mapbox-vector-tile
setup.py
setup.py
import io from codecs import open as codecs_open from setuptools import setup, find_packages # Get the long description from the relevant file # with codecs_open('README.md', encoding='utf-8') as f: # long_description = f.read() with io.open("README.rst") as readme_file: long_description = readme_file.read() def test_suite(): import doctest try: import unittest2 as unittest except: import unittest suite = unittest.TestLoader().discover("tests") # suite.addTest(doctest.DocFileSuite("README.rst")) return suite setup(name='mapbox-vector-tile', version='0.0.1', description=u"Mapbox Vector Tile", long_description=long_description, classifiers=[], keywords='', author=u"Harish Krishna", author_email='[email protected]', url='https://github.com/mapzen/mapbox-vector-tile', license='MIT', packages=find_packages(), include_package_data=True, zip_safe=False, test_suite="setup.test_suite", install_requires=["setuptools"] )
import io from codecs import open as codecs_open from setuptools import setup, find_packages # Get the long description from the relevant file # with codecs_open('README.md', encoding='utf-8') as f: # long_description = f.read() with io.open("README.rst") as readme_file: long_description = readme_file.read() def test_suite(): import doctest try: import unittest2 as unittest except: import unittest suite = unittest.TestLoader().discover("tests") # suite.addTest(doctest.DocFileSuite("README.rst")) return suite setup(name='mapbox-vector-tile', version='0.0.1', description=u"Mapbox Vector Tile", long_description=long_description, classifiers=[], keywords='', author=u"Harish Krishna", author_email='[email protected]', url='https://github.com/mapzen/mapbox-vector-tile', license='MIT', packages=find_packages(), include_package_data=True, zip_safe=False, test_suite="setup.test_suite", install_requires=["setuptools"] )
mit
Python
28b16a355177ad0f52860d9598cca5198635224f
Update version
samastur/image-diet,ArabellaTech/django-image-diet
setup.py
setup.py
from setuptools import setup, find_packages long_description = '''\ image-diet is a Django application for removing unnecessary bytes from image files. It optimizes images without changing their look or visual quality ("losslessly"). It works on images in JPEG, GIF and PNG formats and will leave others unchanged. Provides a seemless integration with easy_thumbnails app, but can work with others too.''' setup( author="Marko Samastur", author_email="[email protected]", name='image-diet', version='0.7.1', description='Remove unnecessary bytes from images', long_description=long_description, url='https://github.com/samastur/image-diet/', platforms=['OS Independent'], license='MIT License', classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Framework :: Django', 'Topic :: Utilities', ], install_requires=[ 'django>=1.3', ], include_package_data=True, packages=find_packages(), zip_safe=False )
from setuptools import setup, find_packages long_description = '''\ image-diet is a Django application for removing unnecessary bytes from image files. It optimizes images without changing their look or visual quality ("losslessly"). It works on images in JPEG, GIF and PNG formats and will leave others unchanged. Provides a seemless integration with easy_thumbnails app, but can work with others too.''' setup( author="Marko Samastur", author_email="[email protected]", name='image-diet', version='0.7', description='Remove unnecessary bytes from images', long_description=long_description, url='https://github.com/samastur/image-diet/', platforms=['OS Independent'], license='MIT License', classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Framework :: Django', 'Topic :: Utilities', ], install_requires=[ 'django>=1.3', ], include_package_data=True, packages=find_packages(), zip_safe=False )
mit
Python
0edaf3506bd46d57618ef21a2aeba6c8077da7d0
add missing comma
erdc-cm/RAPIDpy
setup.py
setup.py
from setuptools import setup, find_packages setup( name='RAPIDpy', version='2.5.2', description='Python interface for RAPID (rapid-hub.org)', long_description='RAPIDpy is a python interface for RAPID that assists ' 'to prepare inputs, runs the RAPID program, and provides ' 'post-processing utilities (http://rapidpy.readthedocs.io). ' 'More information about installation and the input ' 'parameters for RAPID can be found at http://rapid-hub.org.' ' The source code for RAPID is located at ' 'https://github.com/c-h-david/rapid/. \n\n' '.. image:: https://zenodo.org/badge/19918/erdc-cm/RAPIDpy.svg \n' ' :target: https://zenodo.org/badge/latestdoi/19918/erdc-cm/RAPIDpy', keywords='RAPID', author='Alan Dee Snow', author_email='[email protected]', url='https://github.com/erdc-cm/RAPIDpy', license='BSD 3-Clause', packages=find_packages(), package_data={'': ['gis/lsm_grids/*.nc']}, install_requires=[ 'future', 'numpy', 'netcdf4', 'pandas', 'pangaea', 'python-dateutil', 'pytz', 'requests', 'rtree', 'shapely', ], classifiers=[ 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ], extras_require={ 'tests': [ 'pytest', 'pytest-cov', 'coveralls', 'pylint', 'flake8', ], 'docs': [ 'mock', 'sphinx', 'sphinx_rtd_theme', 'sphinxcontrib-napoleon', ] }, )
from setuptools import setup, find_packages setup( name='RAPIDpy', version='2.5.2', description='Python interface for RAPID (rapid-hub.org)', long_description='RAPIDpy is a python interface for RAPID that assists ' 'to prepare inputs, runs the RAPID program, and provides ' 'post-processing utilities (http://rapidpy.readthedocs.io). ' 'More information about installation and the input ' 'parameters for RAPID can be found at http://rapid-hub.org.' ' The source code for RAPID is located at ' 'https://github.com/c-h-david/rapid/. \n\n' '.. image:: https://zenodo.org/badge/19918/erdc-cm/RAPIDpy.svg \n' ' :target: https://zenodo.org/badge/latestdoi/19918/erdc-cm/RAPIDpy', keywords='RAPID', author='Alan Dee Snow', author_email='[email protected]', url='https://github.com/erdc-cm/RAPIDpy', license='BSD 3-Clause', packages=find_packages(), package_data={'': ['gis/lsm_grids/*.nc']}, install_requires=[ 'future', 'numpy', 'netcdf4', 'pandas', 'pangaea', 'python-dateutil', 'pytz', 'requests', 'rtree', 'shapely', ], classifiers=[ 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ], extras_require={ 'tests': [ 'pytest', 'pytest-cov', 'coveralls' 'pylint', 'flake8', ], 'docs': [ 'mock', 'sphinx', 'sphinx_rtd_theme', 'sphinxcontrib-napoleon', ] }, )
bsd-3-clause
Python
696648364a52c2d499ae9bf382c1c66266b9f5c1
Add missing comma
sameersingh7/rstcheck,sameersingh7/rstcheck,myint/rstcheck,myint/rstcheck
setup.py
setup.py
#!/usr/bin/env python """Installer for rstcheck.""" import ast import setuptools def version(): """Return version string.""" with open('rstcheck.py') as input_file: for line in input_file: if line.startswith('__version__'): return ast.parse(line).body[0].value.s with open('README.rst') as readme: setuptools.setup( name='rstcheck', version=version(), url='http://github.com/myint/rstcheck', description='Checks code blocks in ReStructuredText.', long_description=readme.read(), classifiers=[ 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Topic :: Software Development :: Quality Assurance', ], py_modules=['rstcheck'], entry_points={'console_scripts': ['rstcheck = rstcheck:main']}, install_requires=['docutils'] )
#!/usr/bin/env python """Installer for rstcheck.""" import ast import setuptools def version(): """Return version string.""" with open('rstcheck.py') as input_file: for line in input_file: if line.startswith('__version__'): return ast.parse(line).body[0].value.s with open('README.rst') as readme: setuptools.setup( name='rstcheck', version=version(), url='http://github.com/myint/rstcheck', description='Checks code blocks in ReStructuredText.', long_description=readme.read(), classifiers=[ 'License :: OSI Approved :: MIT License', 'Programming Language :: Python', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3' 'Topic :: Software Development :: Quality Assurance'], py_modules=['rstcheck'], entry_points={'console_scripts': ['rstcheck = rstcheck:main']}, install_requires=['docutils'] )
mit
Python
c735ca20338e729f6f19ed098332a1aaebbb6c94
move version to a variable
UpCloudLtd/upcloud-python-api
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup version = '0.4.5' setup( name='upcloud-api', version=version, description='UpCloud API Client', author='Elias Nygren', maintainer='Mika Lackman', maintainer_email='[email protected]', url='https://github.com/UpCloudLtd/upcloud-python-api', packages=['upcloud_api', 'upcloud_api.cloud_manager'], download_url='https://github.com/UpCloudLtd/upcloud-python-api/archive/%s.tar.gz' % version, license='MIT', install_requires=[ 'requests>=2.6.0', 'six>=1.9.0' ] )
#!/usr/bin/env python from setuptools import setup setup( name='upcloud-api', version='0.4.5', description='UpCloud API Client', author='Elias Nygren', maintainer='Mika Lackman', maintainer_email='[email protected]', url='https://github.com/UpCloudLtd/upcloud-python-api', packages=['upcloud_api', 'upcloud_api.cloud_manager'], download_url='https://github.com/UpCloudLtd/upcloud-python-api/archive/0.4.5.tar.gz', license='MIT', install_requires=[ 'requests>=2.6.0', 'six>=1.9.0' ] )
mit
Python
bd53878b7c38f1e58f708a20bb73865613a462c6
use “client” instead of “wrapper” in description
django-haystack/pysolr,toastdriven/pysolr,toastdriven/pysolr,django-haystack/pysolr
setup.py
setup.py
try: from setuptools import setup except ImportError: from distutils.core import setup setup( name="pysolr", use_scm_version=True, description="Lightweight Python client for Apache Solr", author='Daniel Lindsley', author_email='[email protected]', long_description=open('README.rst', 'r').read(), py_modules=[ 'pysolr' ], classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Internet :: WWW/HTTP :: Indexing/Search', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', ], url='https://github.com/django-haystack/pysolr/', license='BSD', install_requires=[ 'requests>=2.9.1' ], extras_require={ 'solrcloud': [ 'kazoo==2.2' ] }, setup_requires=['setuptools_scm'], )
try: from setuptools import setup except ImportError: from distutils.core import setup setup( name="pysolr", use_scm_version=True, description="Lightweight python wrapper for Apache Solr.", author='Daniel Lindsley', author_email='[email protected]', long_description=open('README.rst', 'r').read(), py_modules=[ 'pysolr' ], classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Internet :: WWW/HTTP :: Indexing/Search', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', ], url='https://github.com/django-haystack/pysolr/', license='BSD', install_requires=[ 'requests>=2.9.1' ], extras_require={ 'solrcloud': [ 'kazoo==2.2' ] }, setup_requires=['setuptools_scm'], )
bsd-3-clause
Python
be3c656def0d59143a22d66644910d83ab1c1108
Bump version to 0.9.3
funkybob/django-flatblocks,funkybob/django-flatblocks
setup.py
setup.py
import io from setuptools import setup, find_packages setup( name='django-flatblocks', version='0.9.3', description='django-flatblocks acts like django.contrib.flatpages but ' 'for parts of a page; like an editable help box you want ' 'show alongside the main content.', long_description=io.open('README.rst', encoding='utf-8').read(), keywords='django apps', license='New BSD License', author='Horst Gutmann, Curtis Maloney', author_email='[email protected]', url='http://github.com/funkybob/django-flatblocks/', classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Plugins', 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ], packages=find_packages(exclude=['tests']), package_data={ 'flatblocks': [ 'templates/flatblocks/*.html', 'locale/*/*/*.mo', 'locale/*/*/*.po', ] }, zip_safe=False, requires = [ 'Django (>=1.7)', ], )
import io from setuptools import setup, find_packages setup( name='django-flatblocks', version='0.9.2', description='django-flatblocks acts like django.contrib.flatpages but ' 'for parts of a page; like an editable help box you want ' 'show alongside the main content.', long_description=io.open('README.rst', encoding='utf-8').read(), keywords='django apps', license='New BSD License', author='Horst Gutmann, Curtis Maloney', author_email='[email protected]', url='http://github.com/funkybob/django-flatblocks/', classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Plugins', 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: Implementation :: PyPy', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', ], packages=find_packages(exclude=['tests']), package_data={ 'flatblocks': [ 'templates/flatblocks/*.html', 'locale/*/*/*.mo', 'locale/*/*/*.po', ] }, zip_safe=False, requires = [ 'Django (>=1.4)', ], )
bsd-3-clause
Python
b8270f1615ade763d71a8bb7905202e69269929d
Update setup.py deps and trove classifier
adamcik/oauthclientbridge
setup.py
setup.py
from setuptools import find_packages, setup setup( name='OAuth-Client-Bridge', version='1.0.0', url='https://github.com/adamcik/oauthclientbridge', license='Apache License, Version 2.0', author='Thomas Adamcik', author_email='[email protected]', description='Bridge OAuth2 Authorization Code Grants to Clients Grants.', long_description=open('README.rst').read(), packages=find_packages(), include_package_data=True, zip_safe=False, install_requires=[ 'cryptography', 'Flask>=0.11', 'requests', ], classifiers=[ 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', ], )
from setuptools import find_packages, setup setup( name='OAuth-Client-Bridge', version='1.0.0', url='https://github.com/adamcik/oauthclientbridge', license='Apache License, Version 2.0', author='Thomas Adamcik', author_email='[email protected]', description='Bridge OAuth2 Authorization Code Grants to Clients Grants.', long_description=open('README.rst').read(), packages=find_packages(), include_package_data=True, zip_safe=False, install_requires=[ 'cryptography', 'Flask', 'requests', ], classifiers=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', ], )
apache-2.0
Python
325c74ffcf7b5ace8e72c5645934ea2a90bafa4d
Revert venusian dep
SunDwarf/curious
setup.py
setup.py
from setuptools import setup setup( name='discord-curious', version='0.2.1', packages=['curious', 'curious.core', 'curious.http', 'curious.commands', 'curious.dataclasses', 'curious.voice', 'curious.ext.loapi', 'curious.ext.paginator'], url='https://github.com/SunDwarf/curious', license='MIT', author='Laura Dickinson', author_email='[email protected]', description='A curio library for the Discord API', install_requires=[ "cuiows>=0.1.10", "curio==0.6.0", "h11==0.7.0", "multidict==2.1.4", "pylru==1.0.9", "yarl==0.8.1", ], extras_require={ "voice": ["opuslib==1.1.0", "PyNaCL==1.0.1",] } )
from setuptools import setup setup( name='discord-curious', version='0.2.1', packages=['curious', 'curious.core', 'curious.http', 'curious.commands', 'curious.dataclasses', 'curious.voice', 'curious.ext.loapi', 'curious.ext.paginator'], url='https://github.com/SunDwarf/curious', license='MIT', author='Laura Dickinson', author_email='[email protected]', description='A curio library for the Discord API', install_requires=[ "cuiows>=0.1.10", "curio==0.6.0", "h11==0.7.0", "multidict==2.1.4", "pylru==1.0.9", "yarl==0.8.1", "venusian>=1.0,<=1.1" ], extras_require={ "voice": ["opuslib==1.1.0", "PyNaCL==1.0.1",] } )
mit
Python
42c0cccacce69174b8482654ab9bf1239dba94d9
Update docstring (#11)
fabaff/python-mystrom
setup.py
setup.py
"""Set up the Python API for myStrom devices.""" import os import sys from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() if sys.argv[-1] == 'publish': os.system('python3 setup.py sdist upload') sys.exit() setup( name='python-mystrom', version='0.4.4', description='Python API for interacting with myStrom devices', long_description=long_description, url='https://github.com/fabaff/python-mystrom', author='Fabian Affolter', author_email='[email protected]', license='MIT', install_requires=['requests', 'click'], packages=find_packages(), zip_safe=True, include_package_data=True, entry_points=""" [console_scripts] mystrom=pymystrom.cli:main """, classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Topic :: Utilities', ], )
""" Copyright (c) 2015-2018 Fabian Affolter <[email protected]> Licensed under MIT. All rights reserved. """ import os import sys from setuptools import setup, find_packages here = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() if sys.argv[-1] == 'publish': os.system('python3 setup.py sdist upload') sys.exit() setup( name='python-mystrom', version='0.4.4', description='Python API for interacting with myStrom devices', long_description=long_description, url='https://github.com/fabaff/python-mystrom', author='Fabian Affolter', author_email='[email protected]', license='MIT', install_requires=['requests', 'click'], packages=find_packages(), zip_safe=True, include_package_data=True, entry_points=""" [console_scripts] mystrom=pymystrom.cli:main """, classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: MacOS :: MacOS X', 'Operating System :: Microsoft :: Windows', 'Operating System :: POSIX', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Topic :: Utilities', ], )
mit
Python
0b544c48e01ac975d04b5853dc1bffe1295c94ea
Bump version to 0.0.5
portfoliome/postpy
postpy/_version.py
postpy/_version.py
version_info = (0, 0, 5) __version__ = '.'.join(map(str, version_info))
version_info = (0, 0, 4) __version__ = '.'.join(map(str, version_info))
mit
Python
3251c9c1c98aef47571ced6b850c8ccab5ed5ab0
Bump version.
PingaxAnalytics/koob_auth,carlosfunk/djoser,unacast/djoser,liyocee/djoser,akalipetis/djoser,avances123/djoser,sunscrapers/djoser,sunscrapers/djoser,vandoornik/djoser,mjuopperi/djoser,fladi/djoser,apokinsocha/djoser,dokenzy/djoser,akalipetis/djoser,barseghyanartur/djoser,johnwalker/djoser,yiyocx/djoser,sunscrapers/djoser
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup try: import pypandoc description = pypandoc.convert('README.md', 'rst') except (IOError, ImportError): description = open('README.md').read() setup( name='djoser', version='0.0.3', packages=['djoser'], license='MIT', author='SUNSCRAPERS', description='REST version of Django authentication system.', author_email='[email protected]', long_description=description, install_requires=[ 'Django>=1.5', 'djangorestframework>=2.4.0', ], tests_require=[ 'djet>=0.0.10' ], include_package_data=True, zip_safe=False, url='https://github.com/sunscrapers/djoser', classifiers=[ 'Development Status :: 3 - Alpha', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', ] )
#!/usr/bin/env python from setuptools import setup try: import pypandoc description = pypandoc.convert('README.md', 'rst') except (IOError, ImportError): description = open('README.md').read() setup( name='djoser', version='0.0.2', packages=['djoser'], license='MIT', author='SUNSCRAPERS', description='REST version of Django authentication system.', author_email='[email protected]', long_description=description, install_requires=[ 'Django>=1.5', 'djangorestframework>=2.4.0', ], tests_require=[ 'djet>=0.0.10' ], include_package_data=True, zip_safe=False, url='https://github.com/sunscrapers/djoser', classifiers=[ 'Development Status :: 3 - Alpha', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3', ] )
mit
Python
8e97886c8744c4829f54a1d05167295c0f5453f4
Fix typo
locustio/locust,locustio/locust,locustio/locust,locustio/locust
setup.py
setup.py
# kept for compatibility, https://setuptools.pypa.io/en/latest/setuptools.html?highlight=setuptools.setup()#setup-cfg-only-projects import setuptools setuptools.setup()
# kept for compability, https://setuptools.pypa.io/en/latest/setuptools.html?highlight=setuptools.setup()#setup-cfg-only-projects import setuptools setuptools.setup()
mit
Python
5bc082b547bbe00fdaa1cdf7464aa1c46c37d229
Update version for release 0.2.10
wendbv/pluvo-python,wendbv/pluvo-python
setup.py
setup.py
from setuptools import setup setup( name='pluvo', packages=['pluvo'], package_data={}, version='0.2.10', description='Python library to access the Pluvo REST API.', author='Wend BV', author_email='[email protected]', license='MIT', url='https://github.com/wendbv/pluvo-python', keywords=['REST', 'API', 'Pluvo'], classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ], install_requires=['requests'], tests_require=['coverage', 'flake8==2.6.2', 'pytest>=2.7', 'pytest-cov', 'pytest-flake8==0.2', 'pytest-mock'] )
from setuptools import setup setup( name='pluvo', packages=['pluvo'], package_data={}, version='0.2.9', description='Python library to access the Pluvo REST API.', author='Wend BV', author_email='[email protected]', license='MIT', url='https://github.com/wendbv/pluvo-python', keywords=['REST', 'API', 'Pluvo'], classifiers=[ 'Development Status :: 4 - Beta', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', ], install_requires=['requests'], tests_require=['coverage', 'flake8==2.6.2', 'pytest>=2.7', 'pytest-cov', 'pytest-flake8==0.2', 'pytest-mock'] )
mit
Python
8b05b45759efdfe63a0e4a543c8a8e5c33ea8370
Use correct package name in setup.py
cathydeng/openelections-core,datamade/openelections-core,cathydeng/openelections-core,openelections/openelections-core,datamade/openelections-core,openelections/openelections-core
setup.py
setup.py
#!/usr/bin/env python import sys from distutils.core import setup # TODO: More informative message about Python version support, version reflected # classifiers argument to setup(). Perhaps setup should fail altogether for # unsupported Python versions. if sys.version_info < (2,7) or sys.version_info >= (3,): print("This package is primarily developed and tested using Python 2.7.*. " "It may not not work with older or newer Python distributions.") setup( name='OpenElections Core', version='0.1.0', author='OpenElections', author_email='[email protected]', url='http://openelections.net', packages=['openelex'], scripts=[], )
#!/usr/bin/env python import sys from distutils.core import setup # TODO: More informative message about Python version support, version reflected # classifiers argument to setup(). Perhaps setup should fail altogether for # unsupported Python versions. if sys.version_info < (2,7) or sys.version_info >= (3,): print("This package is primarily developed and tested using Python 2.7.*. " "It may not not work with older or newer Python distributions.") setup( name='Distutils', version='0.1.0', author='OpenElections', author_email='[email protected]', url='http://openelections.net', packages=['distutils', 'distutils.command'], scripts=[], )
mit
Python
2dbf8746a15449044f777b3c87f5586a0ec9dfc3
change version number and add bibtex in setup.py
galbramc/gpkit,hoburg/gpkit,convexopt/gpkit,galbramc/gpkit,hoburg/gpkit,convexopt/gpkit
setup.py
setup.py
from __future__ import print_function import os import sys import shutil # custom build script if sys.argv[1] in ["build", "install"]: import gpkit.build from distutils.core import setup long_description = """ GPkit ***** GPkit is a Python package for defining and manipulating geometric programming models, abstracting away the backend solver. Supported solvers are `MOSEK <http://mosek.com>`_ and `CVXopt <http://cvxopt.org/>`_. `Documentation <http://gpkit.readthedocs.org/>`_ `Install instructions <http://gpkit.readthedocs.org/en/latest/installation.html>`_ `Examples <http://gpkit.readthedocs.org/en/latest/examples.html>`_ `Glossary <http://gpkit.readthedocs.org/en/latest/glossary.html>`_ If you use GPkit, please cite it using the following bibtex:: ``` @Misc{gpkit, author = {MIT Convex Optimization Group}, title = {GPkit}, howpublished = {\url{https://github.com/convexopt/gpkit}}, year = {2015}, note = {Release 0.1} } ``` """ license = """The MIT License (MIT) Copyright (c) 2015 MIT Convex Optimization Group Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.""" setup( name='gpkit', description='Package for defining and manipulating geometric programming models.', author='Convex Optimization Group at MIT ACDL', author_email='[email protected]', url='https://www.github.com/convexopt/gpkit', install_requires=['numpy', 'ctypesgen>=0.r125'], version='0.1.0', packages=['gpkit', 'gpkit._mosek', 'gpkit.tests', 'gpkit.interactive'], package_data={'gpkit': ['env/*'], 'gpkit._mosek': ['lib/*']}, license=license, long_description=long_description, )
from __future__ import print_function import os import sys import shutil # custom build script if sys.argv[1] in ["build", "install"]: import gpkit.build from distutils.core import setup long_description = """ GPkit ***** GPkit is a Python package for defining and manipulating geometric programming models, abstracting away the backend solver. Supported solvers are `MOSEK <http://mosek.com>`_ and `CVXopt <http://cvxopt.org/>`_. `Documentation <http://gpkit.readthedocs.org/>`_ `Install instructions <http://gpkit.readthedocs.org/en/latest/installation.html>`_ `Examples <http://gpkit.readthedocs.org/en/latest/examples.html>`_ `Glossary <http://gpkit.readthedocs.org/en/latest/glossary.html>`_ """ license = """The MIT License (MIT) Copyright (c) 2015 MIT Convex Optimization Group Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.""" setup( name='gpkit', description='Package for defining and manipulating geometric programming models.', author='Convex Optimization Group at MIT ACDL', author_email='[email protected]', url='https://www.github.com/convexopt/gpkit', install_requires=['numpy', 'ctypesgen>=0.r125'], version='0.0.4', packages=['gpkit', 'gpkit._mosek', 'gpkit.tests', 'gpkit.interactive'], package_data={'gpkit': ['env/*'], 'gpkit._mosek': ['lib/*']}, license=license, long_description=long_description, )
mit
Python
d177f5dd04721f9f50c628e3e54bea975e022b3a
Increase version number to 1.3.12
Pierre-Sassoulas/django-survey,Pierre-Sassoulas/django-survey,Pierre-Sassoulas/django-survey
setup.py
setup.py
import sys from os import path import setuptools if sys.version_info < (3, 6): sys.exit("Sorry, Python < 3.6 is not supported") DESCRIPTION = ( "A django survey app, based on and compatible with " '"django-survey". You will be able to migrate your data from an ancient ' "version of django-survey, but it has been ported to python 3 and you can " "export results as CSV or PDF using your native language." ) THIS_DIRECTORY = path.abspath(path.dirname(__file__)) with open(path.join(THIS_DIRECTORY, "readme.md"), encoding="utf-8") as f: LONG_DESCRIPTION = f.read() setuptools.setup( name="django-survey-and-report", version="1.3.12", description=DESCRIPTION, long_description=LONG_DESCRIPTION, long_description_content_type="text/markdown", author="Pierre SASSOULAS", author_email="[email protected]", license="AGPL", url="https://github.com/Pierre-Sassoulas/django-survey", packages=setuptools.find_packages(), include_package_data=True, classifiers=[ "Development Status :: 5 - Production/Stable", "Natural Language :: English", "Natural Language :: French", "Natural Language :: Japanese", "Topic :: Utilities", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Affero General Public License v3", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Framework :: Django", ], install_requires=[ "django>=2.1.6", "django-bootstrap-form>=3.4", "django-tastypie>=0.14.2", # API "django-registration>=3.0", # account logic, views and workflows "pytz>=2018.9", "ordereddict>=1.1", "pyyaml>=4.2b1", "pySankeyBeta>=1.0.5", ], extras_require={ "dev": [ "django-rosetta", "coverage", "python-coveralls", "mock", "coveralls", "colorama", "pylint", "flake8", "pre-commit", ] }, )
import sys from os import path import setuptools if sys.version_info < (3, 6): sys.exit("Sorry, Python < 3.6 is not supported") DESCRIPTION = ( "A django survey app, based on and compatible with " '"django-survey". You will be able to migrate your data from an ancient ' "version of django-survey, but it has been ported to python 3 and you can " "export results as CSV or PDF using your native language." ) THIS_DIRECTORY = path.abspath(path.dirname(__file__)) with open(path.join(THIS_DIRECTORY, "readme.md"), encoding="utf-8") as f: LONG_DESCRIPTION = f.read() setuptools.setup( name="django-survey-and-report", version="1.3.11", description=DESCRIPTION, long_description=LONG_DESCRIPTION, long_description_content_type="text/markdown", author="Pierre SASSOULAS", author_email="[email protected]", license="AGPL", url="https://github.com/Pierre-Sassoulas/django-survey", packages=setuptools.find_packages(), include_package_data=True, classifiers=[ "Development Status :: 5 - Production/Stable", "Natural Language :: English", "Natural Language :: French", "Natural Language :: Japanese", "Topic :: Utilities", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Affero General Public License v3", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Framework :: Django", ], install_requires=[ "django>=2.1.6", "django-bootstrap-form>=3.4", "django-tastypie>=0.14.2", # API "django-registration>=3.0", # account logic, views and workflows "pytz>=2018.9", "ordereddict>=1.1", "pyyaml>=4.2b1", "pySankeyBeta>=1.0.5", ], extras_require={ "dev": [ "django-rosetta", "coverage", "python-coveralls", "mock", "coveralls", "colorama", "pylint", "flake8", "pre-commit", ] }, )
agpl-3.0
Python
737a76ed5b5b0b0720deca2804fa9dd1d79e0fa1
Bump version to 0.6.0
disqus/django-perftools
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages tests_require = [ 'Django>=1.2', 'unittest2', ] setup( name='django-perftools', version='0.6.0', author='DISQUS', author_email='[email protected]', url='http://github.com/disqus/django-perftools', description = '', packages=find_packages(exclude=["tests"]), zip_safe=False, install_requires=[], license='Apache License 2.0', tests_require=tests_require, extras_require={'test': tests_require}, test_suite='unittest2.collector', include_package_data=True, classifiers=[ 'Framework :: Django', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'Operating System :: OS Independent', 'Topic :: Software Development' ], )
#!/usr/bin/env python from setuptools import setup, find_packages tests_require = [ 'Django>=1.2', 'unittest2', ] setup( name='django-perftools', version='0.5.1', author='DISQUS', author_email='[email protected]', url='http://github.com/disqus/django-perftools', description = '', packages=find_packages(exclude=["tests"]), zip_safe=False, install_requires=[], license='Apache License 2.0', tests_require=tests_require, extras_require={'test': tests_require}, test_suite='unittest2.collector', include_package_data=True, classifiers=[ 'Framework :: Django', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'Operating System :: OS Independent', 'Topic :: Software Development' ], )
apache-2.0
Python
e81d5f85266f937ddc4771534875e9d02d306e84
Bump wcxf version to 1.2
flav-io/flavio,flav-io/flavio
setup.py
setup.py
from setuptools import setup, find_packages with open('flavio/_version.py') as f: exec(f.read()) setup(name='flavio', version=__version__, author='David M. Straub', author_email='[email protected]', url='https://flav-io.github.io', description='A Python package for flavour physics phenomenology in the Standard Model and beyond', long_description="""``flavio`` is a package to compute observables in flavour physics both within the Standard Model of particle physics and in the presence of new physics encoded in Wilson coefficients of local dimension-6 operators. Observables implemented include rare B meson decays and meson-antimeson mixing.""", license='MIT', packages=find_packages(), package_data={ 'flavio':['data/*.yml', 'data/test/*', 'physics/data/arXiv-0810-4077v3/*', 'physics/data/arXiv-1503-05534v1/*', 'physics/data/arXiv-1503-05534v2/*', 'physics/data/arXiv-1501-00367v2/*', 'physics/data/arXiv-1602-01399v1/*', 'physics/data/pdg/*', 'physics/data/qcdf_interpolate/*', 'physics/data/wcsm/*', ] }, install_requires=['numpy', 'scipy>=0.14', 'setuptools>=3.3', 'pyyaml', 'mpmath', 'wcxf>=1.2', 'ckmutil', ], extras_require={ 'testing': ['nose'], 'plotting': ['matplotlib>=1.4'], 'sampling': ['pypmc>=1.1', 'emcee', 'iminuit',], }, )
from setuptools import setup, find_packages with open('flavio/_version.py') as f: exec(f.read()) setup(name='flavio', version=__version__, author='David M. Straub', author_email='[email protected]', url='https://flav-io.github.io', description='A Python package for flavour physics phenomenology in the Standard Model and beyond', long_description="""``flavio`` is a package to compute observables in flavour physics both within the Standard Model of particle physics and in the presence of new physics encoded in Wilson coefficients of local dimension-6 operators. Observables implemented include rare B meson decays and meson-antimeson mixing.""", license='MIT', packages=find_packages(), package_data={ 'flavio':['data/*.yml', 'data/test/*', 'physics/data/arXiv-0810-4077v3/*', 'physics/data/arXiv-1503-05534v1/*', 'physics/data/arXiv-1503-05534v2/*', 'physics/data/arXiv-1501-00367v2/*', 'physics/data/arXiv-1602-01399v1/*', 'physics/data/pdg/*', 'physics/data/qcdf_interpolate/*', 'physics/data/wcsm/*', ] }, install_requires=['numpy', 'scipy>=0.14', 'setuptools>=3.3', 'pyyaml', 'mpmath', 'wcxf', 'ckmutil', ], extras_require={ 'testing': ['nose'], 'plotting': ['matplotlib>=1.4'], 'sampling': ['pypmc>=1.1', 'emcee', 'iminuit',], }, )
mit
Python
f0216d291337bce4241a40bb05c79e6d43d9b9c2
Fix indentation.
danielsamuels/cms,danielsamuels/cms,dan-gamble/cms,danielsamuels/cms,jamesfoley/cms,jamesfoley/cms,jamesfoley/cms,jamesfoley/cms,lewiscollard/cms,dan-gamble/cms,lewiscollard/cms,lewiscollard/cms,dan-gamble/cms
setup.py
setup.py
#!/usr/bin/env python #coding: utf-8 import os, sys from setuptools import setup, find_packages EXCLUDE_FROM_PACKAGES = ['cms.project_template', 'cms.bin'] setup( name = "cms", version = "1.0.4", url = "https://github.com/onespacemedia/cms", author = "Daniel Samuels", author_email = "[email protected]", license = "BSD", packages=find_packages(exclude=EXCLUDE_FROM_PACKAGES), include_package_data=True, scripts = ['cms/bin/start_cms_project.py'], zip_safe=False, install_requires = ['psycopg2', 'django-suit', 'django-optimizations', 'Pillow', 'django-reversion', 'django-usertools', 'django-historylinks', 'django-watson', 'South'], )
#!/usr/bin/env python #coding: utf-8 import os, sys from setuptools import setup, find_packages EXCLUDE_FROM_PACKAGES = ['cms.project_template', 'cms.bin'] setup( name = "cms", version = "1.0.4", url = "https://github.com/onespacemedia/cms", author = "Daniel Samuels", author_email = "[email protected]", license = "BSD", packages=find_packages(exclude=EXCLUDE_FROM_PACKAGES), include_package_data=True, scripts = ['cms/bin/start_cms_project.py'], zip_safe=False, install_requires = ['psycopg2', 'django-suit', 'django-optimizations', 'Pillow', 'django-reversion', 'django-usertools', 'django-historylinks', 'django-watson', 'South'], )
bsd-3-clause
Python
870d8f73ee1b4584220b09c6ac2b87ccd43b78a0
Fix style problems in setup.py
trozamon/hadmin
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup, find_packages setup( name="HAdmin", version="0.1", packages=find_packages(), author="Alec Ten Harmsel", author_email="[email protected]", description="A Hadoop configuration manager", url="http://github.com/trozamon/hadmin", license="MIT", test_suite="hadmin_test", setup_requires=['flake8'] )
#!/usr/bin/env python from setuptools import setup, find_packages import hadmin_test setup( name = "HAdmin", version = "0.1", packages = find_packages(), author = "Alec Ten Harmsel", author_email = "[email protected]", description = "A Hadoop configuration manager", url = "http://github.com/trozamon/hadmin", license = "MIT", test_suite = "hadmin_test", setup_requires = ['flake8'] )
mit
Python
a9e007f2876c7356311975eb11232f11aba80625
Add classifiers, platforms
Alir3z4/django-kewl
setup.py
setup.py
from setuptools import setup setup( name='django-kewl', version=".".join(map(str, __import__('short_url').__version__)), packages=['django_kewl'], url='https://github.com/Alir3z4/django-kewl', license='BSD', author='Alireza Savand', author_email='[email protected]', description='Set of Django kewl utilities & helpers & highly used/needed stuff.', long_description=open('README.rst').read(), platforms='OS Independent', platforms='OS Independent', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'Operating System :: OS Independent', 'Framework :: Django', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Topic :: Software Development' ], )
from setuptools import setup setup( name='django-kewl', version=".".join(map(str, __import__('short_url').__version__)), packages=['django_kewl'], url='https://github.com/Alir3z4/django-kewl', license='BSD', author='Alireza Savand', author_email='[email protected]', description='Set of Django kewl utilities & helpers & highly used/needed stuff.', long_description=open('README.rst').read(), )
bsd-3-clause
Python
fddab75d614d6d063731c76046969b382c41c430
Fix setup.py to use 2to3.
lig/django-registration-me
setup.py
setup.py
try: from distutils.command.build_py import build_py_2to3 as build_py except ImportError: from distutils.command.build_py import build_py from distutils.core import setup import os # Compile the list of packages available, because distutils doesn't have # an easy way to do this. packages, data_files = [], [] root_dir = os.path.dirname(__file__) if root_dir: os.chdir(root_dir) for dirpath, dirnames, filenames in os.walk('registration'): # Ignore dirnames that start with '.' for i, dirname in enumerate(dirnames): if dirname.startswith('.'): del dirnames[i] if '__init__.py' in filenames: pkg = dirpath.replace(os.path.sep, '.') if os.path.altsep: pkg = pkg.replace(os.path.altsep, '.') packages.append(pkg) elif filenames: prefix = dirpath[13:] # Strip "registration/" or "registration\" for f in filenames: data_files.append(os.path.join(prefix, f)) setup( cmdclass = {'build_py':build_py}, name='django-registration-me', version='0.7.2', description='An extensible user-registration application for Django using MongoEngine', author='Serge Matveenko', author_email='[email protected]', url='https://github.com/lig/django-registration-me', package_dir={'registration_me': 'registration'}, packages=packages, package_data={'registration_me': data_files}, classifiers=[ 'Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Utilities' ], )
from distutils.core import setup import os # Compile the list of packages available, because distutils doesn't have # an easy way to do this. packages, data_files = [], [] root_dir = os.path.dirname(__file__) if root_dir: os.chdir(root_dir) for dirpath, dirnames, filenames in os.walk('registration'): # Ignore dirnames that start with '.' for i, dirname in enumerate(dirnames): if dirname.startswith('.'): del dirnames[i] if '__init__.py' in filenames: pkg = dirpath.replace(os.path.sep, '.') if os.path.altsep: pkg = pkg.replace(os.path.altsep, '.') packages.append(pkg) elif filenames: prefix = dirpath[13:] # Strip "registration/" or "registration\" for f in filenames: data_files.append(os.path.join(prefix, f)) setup(name='django-registration-me', version='0.7.2', description='An extensible user-registration application for Django using MongoEngine', author='Serge Matveenko', author_email='[email protected]', url='https://github.com/lig/django-registration-me', package_dir={'registration_me': 'registration'}, packages=packages, package_data={'registration_me': data_files}, classifiers=['Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Utilities'], )
bsd-3-clause
Python
7ccbf6b68a581f0163f6064a33958801f0cfac40
Update version and remove dependency link
scidash/sciunit,scidash/sciunit
setup.py
setup.py
try: from setuptools import setup except ImportError: from distutils.core import setup setup( name='sciunit', version='0.1.5.6', author='Rick Gerkin', author_email='[email protected]', packages=['sciunit', 'sciunit.tests'], url='http://sciunit.scidash.org', license='MIT', description='A test-driven framework for formally validating scientific models against data.', long_description="", install_requires=['cypy>=0.2', 'quantities', 'pandas>=0.18', 'ipython>=5.1', 'bs4', 'lxml', 'nbconvert', 'ipykernel', 'nbformat',], dependency_links = [], entry_points={ 'console_scripts': [ 'sciunit = sciunit.__main__:main' ] } )
try: from setuptools import setup except ImportError: from distutils.core import setup setup( name='sciunit', version='0.1.5.5', author='Rick Gerkin', author_email='[email protected]', packages=['sciunit', 'sciunit.tests'], url='http://github.com/scidash/sciunit', license='MIT', description='A test-driven framework for formally validating scientific models against data.', long_description="", install_requires=['cypy>=0.2', 'quantities', 'pandas>=0.18', 'ipython>=5.1', 'bs4', 'lxml', 'nbconvert', 'ipykernel', 'nbformat',], dependency_links = ['git+http://github.com/rgerkin/cypy'], entry_points={ 'console_scripts': [ 'sciunit = sciunit.__main__:main' ] } )
mit
Python
a210fde6806070d0c47eaeb34a485e26850dc779
make sure all subpackages get installed
olivierverdier/SpecTraVVave
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- from distutils.core import setup setup( name = 'travwave', description = 'Compute traveling waves', author='Daulet Moldabayev, Henrik Kalisch, Olivier Verdier', license = 'MIT', keywords = ['Math'], packages=['travwave', 'travwave.equations', 'travwave.boundary', 'travwave.dynamic'], classifiers = [ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Scientific/Engineering :: Mathematics', ], zip_safe = False, )
#!/usr/bin/env python # -*- coding: utf-8 -*- from distutils.core import setup setup( name = 'travwave', description = 'Compute traveling waves', author='Daulet Moldabayev, Henrik Kalisch, Olivier Verdier', license = 'MIT', keywords = ['Math'], packages=['travwave'], classifiers = [ 'Development Status :: 3 - Alpha', 'Environment :: Console', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Scientific/Engineering :: Mathematics', ], zip_safe = False, )
bsd-3-clause
Python
75ebe45f64228e39f196d75a3e3d0cf8a5fcc20f
Add unit tests to setup.py
WMD-group/MacroDensity
setup.py
setup.py
#!/usr/bin/env python __author__ = "Keith T. Butler" __copyright__ = "Copyright Keith T. Butler (2013)" __version__ = "1.0" __maintainer__ = "Keith T. Butler" __email__ = "[email protected]" __date__ = "Aug 24 2017" from setuptools import setup import os import unittest module_dir = os.path.dirname(os.path.abspath(__file__)) def unit_tests(): test_loader = unittest.TestLoader() test_suite = test_loader.discover('tests', pattern='unit_tests.py') return test_suite if __name__ == "__main__": setup( name='MacroDensity', version='1.0', description='Manipulation of electron density', long_description=open(os.path.join(module_dir, 'README.md')).read(), url='https://github.com/WMD-group/MacroDensity', author='Keith T. Butler', author_email='[email protected]', license='GNU General Public License (GPL) v3', packages=['macrodensity'], zip_safe=False, install_requires=['scipy','numpy','spglib','ase'], classifiers=['Programming Language :: Python', 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Science/Research', 'Operating System :: OS Independent', 'Topic :: Scientific/Engineering'], test_suite='setup.unit_tests' )
#!/usr/bin/env python __author__ = "Keith T. Butler" __copyright__ = "Copyright Keith T. Butler (2013)" __version__ = "1.0" __maintainer__ = "Keith T. Butler" __email__ = "[email protected]" __date__ = "Aug 24 2017" from setuptools import setup import os module_dir = os.path.dirname(os.path.abspath(__file__)) if __name__ == "__main__": setup( name='MacroDensity', version='1.0', description='Manipulation of electron density', long_description=open(os.path.join(module_dir, 'README.md')).read(), url='https://github.com/WMD-group/MacroDensity', author='Keith T. Butler', author_email='[email protected]', license='GNU General Public License (GPL) v3', packages=['macrodensity'], zip_safe=False, install_requires=['scipy','numpy','spglib','ase'], classifiers=['Programming Language :: Python', 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Science/Research', 'Operating System :: OS Independent', 'Topic :: Scientific/Engineering'] )
mit
Python
3bceef110f24e22ca8cc72cf1e33da0c580de767
extend classifiers
mattmilten/PySCIPOpt,mattmilten/PySCIPOpt,SCIP-Interfaces/PySCIPOpt,SCIP-Interfaces/PySCIPOpt
setup.py
setup.py
from setuptools import setup, Extension import os, platform # look for environment variable that specifies path to SCIP Opt lib and headers scipoptdir = os.environ.get('SCIPOPTDIR', '') includedir = os.path.abspath(os.path.join(scipoptdir, 'include')) libdir = os.path.abspath(os.path.join(scipoptdir, 'lib')) libname = 'libscipopt' if os.name == 'nt' else 'scipopt' cythonize = True packagedir = os.path.join('src', 'pyscipopt') try: from Cython.Build import cythonize except ImportError: if not os.path.exists(os.path.join(packagedir, 'scip.c')): print('Cython is required') quit(1) cythonize = False if not os.path.exists(os.path.join(packagedir, 'scip.pyx')): cythonize = False ext = '.pyx' if cythonize else '.c' # set runtime libraries runtime_library_dirs = [] extra_link_args = [] if platform.system() == 'Linux': runtime_library_dirs.append(libdir) elif platform.system() == 'Darwin': extra_link_args.append('-Wl,-rpath,'+libdir) extensions = [Extension('pyscipopt.scip', [os.path.join(packagedir, 'scip'+ext)], include_dirs=[includedir], library_dirs=[libdir], libraries=[libname], runtime_library_dirs=runtime_library_dirs, extra_link_args=extra_link_args )] if cythonize: extensions = cythonize(extensions) setup( name = 'PySCIPOpt', version = '1.1.0', description = 'Python interface and modeling environment for SCIP', url = 'https://github.com/SCIP-Interfaces/PySCIPOpt', author = 'Zuse Institute Berlin', author_email = '[email protected]', license = 'MIT', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Science/Research', 'Intended Audience :: Education', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3', 'Programming Language :: Cython', 'Topic :: Scientific/Engineering :: Mathematics'], ext_modules = extensions, packages = ['pyscipopt'], package_dir = {'pyscipopt': packagedir}, package_data = {'pyscipopt': ['scip.pyx', 'scip.pxd', '*.pxi']} )
from setuptools import setup, Extension import os, platform # look for environment variable that specifies path to SCIP Opt lib and headers scipoptdir = os.environ.get('SCIPOPTDIR', '') includedir = os.path.abspath(os.path.join(scipoptdir, 'include')) libdir = os.path.abspath(os.path.join(scipoptdir, 'lib')) libname = 'libscipopt' if os.name == 'nt' else 'scipopt' cythonize = True packagedir = os.path.join('src', 'pyscipopt') try: from Cython.Build import cythonize except ImportError: if not os.path.exists(os.path.join(packagedir, 'scip.c')): print('Cython is required') quit(1) cythonize = False if not os.path.exists(os.path.join(packagedir, 'scip.pyx')): cythonize = False ext = '.pyx' if cythonize else '.c' # set runtime libraries runtime_library_dirs = [] extra_link_args = [] if platform.system() == 'Linux': runtime_library_dirs.append(libdir) elif platform.system() == 'Darwin': extra_link_args.append('-Wl,-rpath,'+libdir) extensions = [Extension('pyscipopt.scip', [os.path.join(packagedir, 'scip'+ext)], include_dirs=[includedir], library_dirs=[libdir], libraries=[libname], runtime_library_dirs=runtime_library_dirs, extra_link_args=extra_link_args )] if cythonize: extensions = cythonize(extensions) setup( name = 'PySCIPOpt', version = '1.1.0', description = 'Python interface and modeling environment for SCIP', url = 'https://github.com/SCIP-Interfaces/PySCIPOpt', author = 'Zuse Institute Berlin', author_email = '[email protected]', license = 'MIT', classifiers=[ 'Development Status :: 4 - Beta', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 3'], ext_modules = extensions, packages = ['pyscipopt'], package_dir = {'pyscipopt': packagedir}, package_data = {'pyscipopt': ['scip.pyx', 'scip.pxd', '*.pxi']} )
mit
Python
d0714dcabc80cc1af98ad3517ddda2dbae0b3e6c
add brax to extra_require
google/evojax
setup.py
setup.py
# Copyright 2022 The EvoJAX Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. from setuptools import find_packages, setup _dct = {} with open("evojax/version.py") as f: exec(f.read(), _dct) __version__ = _dct["__version__"] JAX_URL = "https://storage.googleapis.com/jax-releases/jax_releases.html" with open("README.md", "r", encoding="utf-8") as fh: long_description = fh.read() setup( name="evojax", version=__version__, author="Google", author_email="[email protected]", description="EvoJAX: Hardware-accelerated Neuroevolution.", long_description=long_description, long_description_content_type="text/markdown", url="https://github.com/google/evojax", license="Apache 2.0", packages=[ package for package in find_packages() if package.startswith("evojax") ], zip_safe=False, install_requires=[ "flax", "jax>=0.2.17", "jaxlib>=0.1.65", "Pillow", "cma", ], extras_require={ "extra": ['evosax', 'torchvision', 'pandas', 'procgen', 'brax'], }, dependency_links=[JAX_URL], python_requires=">=3.6", classifiers=[ "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: Apache Software License", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", ], )
# Copyright 2022 The EvoJAX Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. from setuptools import find_packages, setup _dct = {} with open("evojax/version.py") as f: exec(f.read(), _dct) __version__ = _dct["__version__"] JAX_URL = "https://storage.googleapis.com/jax-releases/jax_releases.html" with open("README.md", "r", encoding="utf-8") as fh: long_description = fh.read() setup( name="evojax", version=__version__, author="Google", author_email="[email protected]", description="EvoJAX: Hardware-accelerated Neuroevolution.", long_description=long_description, long_description_content_type="text/markdown", url="https://github.com/google/evojax", license="Apache 2.0", packages=[ package for package in find_packages() if package.startswith("evojax") ], zip_safe=False, install_requires=[ "flax", "jax>=0.2.17", "jaxlib>=0.1.65", "Pillow", "cma", ], extras_require={ "extra": ['evosax', 'torchvision', 'pandas', 'procgen'], }, dependency_links=[JAX_URL], python_requires=">=3.6", classifiers=[ "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: Apache Software License", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", ], )
apache-2.0
Python
d25226ad9a8df4ddb4724113b4cce8dd920fc493
Add back setup
e-koch/TurbuStat,Astroua/TurbuStat
setup.py
setup.py
#!/usr/bin/env python import os import sys from setuptools import setup TEST_HELP = """ Note: running tests is no longer done using 'python setup.py test'. Instead you will need to run: tox -e test If you don't already have tox installed, you can install it with: pip install tox If you only want to run part of the test suite, you can also use pytest directly with:: pip install -e . pytest For more information, see: http://docs.astropy.org/en/latest/development/testguide.html#running-tests """ if 'test' in sys.argv: print(TEST_HELP) sys.exit(1) DOCS_HELP = """ Note: building the documentation is no longer done using 'python setup.py build_docs'. Instead you will need to run: tox -e build_docs If you don't already have tox installed, you can install it with: pip install tox For more information, see: http://docs.astropy.org/en/latest/install.html#builddocs """ if 'build_docs' in sys.argv or 'build_sphinx' in sys.argv: print(DOCS_HELP) sys.exit(1) setup(use_scm_version={'write_to': os.path.join('turbustat', 'version.py')})
#!/usr/bin/env python import os import sys TEST_HELP = """ Note: running tests is no longer done using 'python setup.py test'. Instead you will need to run: tox -e test If you don't already have tox installed, you can install it with: pip install tox If you only want to run part of the test suite, you can also use pytest directly with:: pip install -e . pytest For more information, see: http://docs.astropy.org/en/latest/development/testguide.html#running-tests """ if 'test' in sys.argv: print(TEST_HELP) sys.exit(1) DOCS_HELP = """ Note: building the documentation is no longer done using 'python setup.py build_docs'. Instead you will need to run: tox -e build_docs If you don't already have tox installed, you can install it with: pip install tox For more information, see: http://docs.astropy.org/en/latest/install.html#builddocs """ if 'build_docs' in sys.argv or 'build_sphinx' in sys.argv: print(DOCS_HELP) sys.exit(1) setup(use_scm_version={'write_to': os.path.join('turbustat', 'version.py')})
mit
Python
21223700ea1f1d0209c967761e5c22635ee721e7
Correct PEP8
touilleMan/marshmallow-mongoengine
setup.py
setup.py
# -*- coding: utf-8 -*- from setuptools import setup, find_packages REQUIRES = ( 'marshmallow>=2.1.0', 'mongoengine>=0.9.0', ) def read(fname): with open(fname) as fp: content = fp.read() return content setup( name='marshmallow-mongoengine', version='0.7.7', description='Mongoengine integration with the marshmallow ' '(de)serialization library', long_description=read('README.rst'), author='Emmanuel Leblond', author_email='[email protected]', url='https://github.com/touilleMan/marshmallow-mongoengine', packages=find_packages(exclude=("test*", )), package_dir={'marshmallow-mongoengine': 'marshmallow-mongoengine'}, include_package_data=True, install_requires=REQUIRES, license='MIT', zip_safe=False, keywords='mongoengine marshmallow', classifiers=[ 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', "Programming Language :: Python :: 2", 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], test_suite='tests', )
# -*- coding: utf-8 -*- from setuptools import setup, find_packages REQUIRES = ( 'marshmallow>=2.1.0', 'mongoengine>=0.9.0', ) def read(fname): with open(fname) as fp: content = fp.read() return content setup( name='marshmallow-mongoengine', version='0.7.7', description='Mongoengine integration with the marshmallow ' '(de)serialization library', long_description=read('README.rst'), author='Emmanuel Leblond', author_email='[email protected]', url='https://github.com/touilleMan/marshmallow-mongoengine', packages=find_packages(exclude=("test*", )), package_dir={'marshmallow-mongoengine': 'marshmallow-mongoengine'}, include_package_data=True, install_requires=REQUIRES, license='MIT', zip_safe=False, keywords='mongoengine marshmallow', classifiers=[ 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', "Programming Language :: Python :: 2", 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], test_suite='tests', )
mit
Python
27b08ae644d76853241b16d0a45e751c15467df5
Fix setup module
ikeikeikeike/celery-tracker
setup.py
setup.py
#!/usr/bin/env python import os import re from setuptools import setup, find_packages version = re.compile(r'VERSION\s*=\s*\((.*?)\)') def get_package_version(): "returns package version without importing it" base = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(base, "tracker/__init__.py")) as initf: for line in initf: m = version.match(line.strip()) if not m: continue return ".".join(m.groups()[0].split(", ")) classes = """ Development Status :: 3 - Alpha Intended Audience :: Developers License :: OSI Approved :: BSD License Topic :: System :: Monitoring Topic :: System :: Distributed Computing Programming Language :: Python Programming Language :: Python :: 2 Programming Language :: Python :: 2.6 Programming Language :: Python :: 2.7 Programming Language :: Python :: Implementation :: CPython Operating System :: OS Independent """ classifiers = [s.strip() for s in classes.split('\n') if s] setup( name='celery-tracker', version=get_package_version(), description='Receive/Sending event tracking data for the Celery', long_description=open('README.rst').read(), keywords=['django', 'celery', 'tracking', 'agent', 'metrics'], author='Tatsuo Ikeda', author_email='jp.ne.co.jp at gmail.com', url='https://github.com/ikeikeikeike/celery-tracker', license='MIT', classifiers=classifiers, packages=find_packages(exclude=['tests', 'tests.*']), install_requires=[ 'celery', 'celerymon', 'simplejson', 'tornado', 'fluent-logger', 'zbxsend' ], package_data={'tracker': ['templates/*', 'static/**/*']}, entry_points={ "console_scripts": [ "tracker = tracker.bin.tracker:main", ], "celery.commands": [ "tracker = tracker.bin.tracker:TrackerDelegate", ], } )
#!/usr/bin/env python import os import re from setuptools import setup, find_packages version = re.compile(r'VERSION\s*=\s*\((.*?)\)') def get_package_version(): "returns package version without importing it" base = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(base, "tracker/__init__.py")) as initf: for line in initf: m = version.match(line.strip()) if not m: continue return ".".join(m.groups()[0].split(", ")) classes = """ Development Status :: 3 - Alpha Intended Audience :: Developers License :: OSI Approved :: BSD License Topic :: System :: Monitoring Topic :: System :: Distributed Computing Programming Language :: Python Programming Language :: Python :: 2 Programming Language :: Python :: 2.6 Programming Language :: Python :: 2.7 Programming Language :: Python :: Implementation :: CPython Operating System :: OS Independent """ classifiers = [s.strip() for s in classes.split('\n') if s] setup( name='celery-tracker', version=get_package_version(), description='Celery Send Stats', long_description=open('README.rst').read(), author='Tatsuo Ikeda', author_email='jp.ne.co.jp at gmail.com', url='https://github.com/ikeikeikeike/celery-tracker', license='MIT', classifiers=classifiers, packages=find_packages(exclude=['tests', 'tests.*']), install_requires=[ 'celery', 'celerymon', 'simplejson', 'tornado', 'fluent-logger', 'zbxsend' ], package_data={'tracker': ['templates/*', 'static/**/*']}, entry_points={ "console_scripts": [ "tracker = tracker.bin.tracker:main", ], "celery.commands": [ "tracker = tracker.bin.tracker:TrackerDelegate", ], } )
mit
Python
a292192c64c6c965d817617334a36f84c6b7fb98
update setup.py
Y-oHr-N/kenchi,Y-oHr-N/kenchi
setup.py
setup.py
from setuptools import find_packages, setup from kenchi import __version__ with open('README.rst') as f: readme = f.read() with open('requirements.txt') as f: requires = f.read().splitlines() setup( name = 'kenchi', version = __version__, author = 'Kon', author_email = '[email protected]', url = 'http://kenchi.readthedocs.io', description = 'A set of python modules for anomaly detection', long_description = readme, license = 'new BSD', packages = find_packages(exclude=['tests']), include_package_data = True, install_requires = requires, test_suite = 'kenchi.tests.suite' )
from setuptools import find_packages, setup from kenchi import __version__ with open('README.rst') as f: readme = f.read() with open('requirements.txt') as f: requires = f.read().splitlines() setup( name = 'kenchi', version = __version__, author = 'Kon', author_email = '[email protected]', url = 'http://kenchi.readthedocs.io', description = 'A set of python modules for anomaly detection', long_description = readme, license = 'new BSD', packages = find_packages(exclude=['tests']), install_requires = requires, test_suite = 'kenchi.tests.suite' )
bsd-3-clause
Python
4710ee93e4b9c4a9410d360b480f1fbe49574b9d
change version number 1.2.1 -> 1.2.2
mathandy/svgpathtools,jpcofr/svgpathtools
setup.py
setup.py
from distutils.core import setup VERSION = '1.2.2' AUTHOR_NAME = 'Andy Port' AUTHOR_EMAIL = '[email protected]' setup(name='svgpathtools', packages=['svgpathtools'], version=VERSION, description=('A collection of tools for manipulating and analyzing SVG ' 'Path objects and Bezier curves.'), # long_description=open('README.rst').read(), author=AUTHOR_NAME, author_email=AUTHOR_EMAIL, url='https://github.com/mathandy/svgpathtools', download_url = 'http://github.com/mathandy/svgpathtools/tarball/' + VERSION, license='MIT', # install_requires=['numpy', 'svgwrite'], platforms="OS Independent", # test_suite='tests', requires=['numpy', 'svgwrite'], keywords=['svg', 'svg path', 'svg.path', 'bezier', 'parse svg path', 'display svg'], classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Multimedia :: Graphics :: Editors :: Vector-Based", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Image Recognition", "Topic :: Scientific/Engineering :: Information Analysis", "Topic :: Scientific/Engineering :: Mathematics", "Topic :: Scientific/Engineering :: Visualization", "Topic :: Software Development :: Libraries :: Python Modules", ], )
from distutils.core import setup VERSION = '1.2.1' AUTHOR_NAME = 'Andy Port' AUTHOR_EMAIL = '[email protected]' setup(name='svgpathtools', packages=['svgpathtools'], version=VERSION, description=('A collection of tools for manipulating and analyzing SVG ' 'Path objects and Bezier curves.'), # long_description=open('README.rst').read(), author=AUTHOR_NAME, author_email=AUTHOR_EMAIL, url='https://github.com/mathandy/svgpathtools', download_url = 'http://github.com/mathandy/svgpathtools/tarball/' + VERSION, license='MIT', # install_requires=['numpy', 'svgwrite'], platforms="OS Independent", # test_suite='tests', requires=['numpy', 'svgwrite'], keywords=['svg', 'svg path', 'svg.path', 'bezier', 'parse svg path', 'display svg'], classifiers = [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Multimedia :: Graphics :: Editors :: Vector-Based", "Topic :: Scientific/Engineering", "Topic :: Scientific/Engineering :: Image Recognition", "Topic :: Scientific/Engineering :: Information Analysis", "Topic :: Scientific/Engineering :: Mathematics", "Topic :: Scientific/Engineering :: Visualization", "Topic :: Software Development :: Libraries :: Python Modules", ], )
mit
Python
325b6d209c96a0cb743fd3d32682f77362910cb1
Fix build.
Intelworks/libtaxii,TAXIIProject/libtaxii,stkyle/libtaxii
setup.py
setup.py
#!/usr/bin/env python #Copyright (C) 2013 - The MITRE Corporation #For license information, see the LICENSE.txt file import sys try: from setuptools import setup except ImportError: from distutils.core import setup if sys.version_info <(2, 6): raise Exception('libtaxii requires Python 2.6 or higher.') install_requires = ['lxml>=2.3.2', 'M2Crypto>=0.21.1'] setup(name='libtaxii', description='TAXII Library.', author='Mark Davidson', author_email='[email protected]', url="http://taxii.mitre.org/", version='0.1', py_modules=['libtaxii.taxii_client', 'libtaxii.taxii_message_converter'], install_requires=install_requires, data_files=[('xsd', ['xsd/TAXII_XMLMessageBinding_Schema.xsd', 'xsd/xmldsig-core-schema.xsd'])], long_description=open("README").read(), keywords="taxii libtaxii", )
#!/usr/bin/env python #Copyright (C) 2013 - The MITRE Corporation #For license information, see the LICENSE.txt file import sys try: from setuptools import setup except ImportError: from distutils.core import setup if sys.version_info <(2, 6): raise Exception('libtaxii requires Python 2.6 or higher.') install_requires = ['lxml>=2.3.2', 'M2Crypto>=0.21.1'] setup(name='libtaxii', description='TAXII Library.', author='Mark Davidson', author_email='[email protected]', url="http://taxii.mitre.org/", version='0.1', py_modules=['libtaxii.taxii_client', 'libtaxii.taxii_message_converter'], install_requires=install_requires, data_files=[('xsd', ['xsd/TAXII_XML_10.xsd', 'xsd/xmldsig-core-schema.xsd'])], long_description=open("README").read(), keywords="taxii libtaxii", )
bsd-3-clause
Python
8d6ab010d45d69b2eb101653b720270ffe13570c
Enforce an oauth2 version
disqus/overseer
setup.py
setup.py
#!/usr/bin/env python try: from setuptools import setup, find_packages from setuptools.command.test import test except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages from setuptools.command.test import test class mytest(test): def run(self, *args, **kwargs): from runtests import runtests runtests() setup( name='Overseer', version='0.2.2', author='DISQUS', author_email='[email protected]', url='http://github.com/disqus/overseer', description = 'A status board built with Django', packages=find_packages(), zip_safe=False, install_requires=[ 'Django>=1.2.4', 'South', 'django-devserver', 'oauth2>=1.5.169', 'uuid', ], test_suite = 'overseer.tests', include_package_data=True, cmdclass={"test": mytest}, classifiers=[ 'Framework :: Django', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'Operating System :: OS Independent', 'Topic :: Software Development' ], )
#!/usr/bin/env python try: from setuptools import setup, find_packages from setuptools.command.test import test except ImportError: from ez_setup import use_setuptools use_setuptools() from setuptools import setup, find_packages from setuptools.command.test import test class mytest(test): def run(self, *args, **kwargs): from runtests import runtests runtests() setup( name='Overseer', version='0.2.2', author='DISQUS', author_email='[email protected]', url='http://github.com/disqus/overseer', description = 'A status board built with Django', packages=find_packages(), zip_safe=False, install_requires=[ 'Django>=1.2.4', 'South', 'django-devserver', 'oauth2', 'uuid', ], test_suite = 'overseer.tests', include_package_data=True, cmdclass={"test": mytest}, classifiers=[ 'Framework :: Django', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'Operating System :: OS Independent', 'Topic :: Software Development' ], )
apache-2.0
Python
ca929bd291ab93ef1fcbc9ae28f9c5e7def6421d
Bump up to v0.4.5
globocom/hlsclient,globocom/hlsclient,globocom/hlsclient
setup.py
setup.py
from os.path import dirname, abspath, join from setuptools import setup with open(abspath(join(dirname(__file__), 'README.rst'))) as fileobj: README = fileobj.read().strip() setup( name='hlsclient', description='Client to download all files from HLS streams', long_description=README, author='Globo.com', url='https://github.com/globocom/hlsclient', version='0.4.5', zip_safe=False, include_package_data=True, packages=[ 'hlsclient', ], install_requires=[ 'futures==2.1.3', 'm3u8>=0.1.1', 'pycrypto>=2.5', 'lockfile>=0.9.1', ], )
from os.path import dirname, abspath, join from setuptools import setup with open(abspath(join(dirname(__file__), 'README.rst'))) as fileobj: README = fileobj.read().strip() setup( name='hlsclient', description='Client to download all files from HLS streams', long_description=README, author='Globo.com', url='https://github.com/globocom/hlsclient', version='0.4.4', zip_safe=False, include_package_data=True, packages=[ 'hlsclient', ], install_requires=[ 'futures==2.1.3', 'm3u8>=0.1.1', 'pycrypto>=2.5', 'lockfile>=0.9.1', ], )
mit
Python
c9be62cfd8d39f263cff494cfdc3c764bed01adc
Bump version
thombashi/DataProperty
setup.py
setup.py
import sys import os.path import setuptools MISC_DIR = "misc" REQUIREMENT_DIR = "requirements" with open("README.rst") as fp: long_description = fp.read() with open(os.path.join(MISC_DIR, "summary.txt")) as f: summary = f.read() with open(os.path.join(REQUIREMENT_DIR, "requirements.txt")) as f: install_requires = [line.strip() for line in f if line.strip()] with open(os.path.join(REQUIREMENT_DIR, "test_requirements.txt")) as f: tests_require = [line.strip() for line in f if line.strip()] needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv) pytest_runner = ["pytest-runner"] if needs_pytest else [] author = "Tsuyoshi Hombashi" email = "[email protected]" project_name = "DataProperty" setuptools.setup( name=project_name, version="0.10.1", url="https://github.com/thombashi/" + project_name, bugtrack_url="https://github.com/thombashi/{:s}/issues".format( project_name), author=author, author_email=email, description=summary, include_package_data=True, install_requires=install_requires, keywords=["data", "property"], license="MIT License", long_description=long_description, maintainer=author, maintainer_email=email, packages=setuptools.find_packages(exclude=["test*"]), setup_requires=[] + pytest_runner, tests_require=tests_require, classifiers=[ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", ], )
import sys import os.path import setuptools MISC_DIR = "misc" REQUIREMENT_DIR = "requirements" with open("README.rst") as fp: long_description = fp.read() with open(os.path.join(MISC_DIR, "summary.txt")) as f: summary = f.read() with open(os.path.join(REQUIREMENT_DIR, "requirements.txt")) as f: install_requires = [line.strip() for line in f if line.strip()] with open(os.path.join(REQUIREMENT_DIR, "test_requirements.txt")) as f: tests_require = [line.strip() for line in f if line.strip()] needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv) pytest_runner = ["pytest-runner"] if needs_pytest else [] author = "Tsuyoshi Hombashi" email = "[email protected]" project_name = "DataProperty" setuptools.setup( name=project_name, version="0.10.0", url="https://github.com/thombashi/" + project_name, bugtrack_url="https://github.com/thombashi/{:s}/issues".format( project_name), author=author, author_email=email, description=summary, include_package_data=True, install_requires=install_requires, keywords=["data", "property"], license="MIT License", long_description=long_description, maintainer=author, maintainer_email=email, packages=setuptools.find_packages(exclude=["test*"]), setup_requires=[] + pytest_runner, tests_require=tests_require, classifiers=[ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", ], )
mit
Python
01fdab64a84a0b960850a655ed5a27639e860002
Fix mockup egg.
termitnjak/mockup,termitnjak/mockup,plone/mockup,derFreitag/mockup,derFreitag/mockup,domruf/mockup,domruf/mockup,derFreitag/mockup,termitnjak/mockup,domruf/mockup,derFreitag/mockup,plone/mockup,plone/mockup,termitnjak/mockup,domruf/mockup
setup.py
setup.py
from setuptools import setup, find_packages version = '0.1' setup( name='mockup', version=version, description="No sure how should this package be named so please don't " "judge me just, yet", long_description=open("README.rst").read(), classifiers=[ "Framework :: Plone", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules", ], keywords='plone mockup', author='Rok Garbas', author_email='[email protected]', url='https://github.com/plone/mockup', license='GPL', packages=find_packages(), include_package_data=True, zip_safe=False, install_requires=[], entry_points={ 'z3c.autoinclude.plugin': [ "target = plone" ], }, )
from setuptools import setup, find_packages version = '0.1' setup( name='mockup', version=version, description="No sure how should this package be named so please don't " "judge me just, yet", long_description=open("README.rst").read(), classifiers=[ "Framework :: Plone", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules", ], keywords='plone mockup', author='Rok Garbas', author_email='[email protected]', url='https://github.com/plone/mockup', license='GPL', packages=find_packages(), include_package_data=True, package_dir={'': 'plone'}, zip_safe=False, install_requires=[], entry_points={ 'z3c.autoinclude.plugin': [ "target = plone" ], }, )
bsd-3-clause
Python
a3a4cd3416dff2e436c88a586f3ad4eb860daccf
fix description in setup.py
jjengo/cql-builder
setup.py
setup.py
from setuptools import setup, find_packages setup(name='cql-builder', version='0.0.1', description="CQL generation tool", long_description=""" """, classifiers=[ 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License' ], keywords='', author='Jonathan Jengo', author_email='[email protected]', url='', license='', packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), include_package_data=True, zip_safe=False, install_requires=[ 'cassandra-driver>=2.1.0' ], entry_points=""" # -*- Entry points: -*- """, )
from setuptools import setup, find_packages setup(name='cql-builder', version='0.0.1', description="Generic data modeling and validation", long_description=""" """, classifiers=[ 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License' ], keywords='', author='Jonathan Jengo', author_email='[email protected]', url='', license='', packages=find_packages(exclude=['ez_setup', 'examples', 'tests']), include_package_data=True, zip_safe=False, install_requires=[ 'cassandra-driver>=2.1.0' ], entry_points=""" # -*- Entry points: -*- """, )
mit
Python
9b14273a78e135a5be0127dd36cafe8168d424da
Bump to version 0.3.2
OiNutter/rivets,OiNutter/rivets
setup.py
setup.py
from distutils.core import setup setup(name='Rivets', version='0.3.2', url='https://github.com/OiNutter/rivets', download_url='https://github.com/OiNutter/rivets/tarball/master', description='Python asset packaging system. Based on Sprockets ruby gem', author='Will McKenzie', author_email='[email protected]', packages=['rivets'], package_dir={'rivets': 'rivets'}, requires=['crawl(>=0.5.4)','lean(>=0.2.3)','cherrypy'], license='MIT License', classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: JavaScript' ] )
from distutils.core import setup setup(name='Rivets', version='0.3', url='https://github.com/OiNutter/rivets', download_url='https://github.com/OiNutter/rivets/tarball/master', description='Python asset packaging system. Based on Sprockets ruby gem', author='Will McKenzie', author_email='[email protected]', packages=['rivets'], package_dir={'rivets': 'rivets'}, requires=['crawl(>=0.5.4)','lean(>=0.2.3)','cherrypy'], license='MIT License', classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: JavaScript' ] )
mit
Python
a1e934fc42f2c2ca737bebed4208bd9d5f575ce7
remove bogus setuptools requirement
zillow/config-enhance
setup.py
setup.py
__VERSION__ = "1.2.1" import os from setuptools import setup def read(fname): '''Utility function to read the README file.''' return open(os.path.join(os.path.dirname(__file__), fname)).read() # figure out what the install will need install_requires = [] tests_require = ["nose==1.1.2", "nosexcover==1.0.8", "coverage==3.5.2"] + install_requires setup( name = "config-enhance", version = __VERSION__, author = "Jonathan Ultis", author_email = "[email protected]", description = read("README.md"), zip_safe = True, license = read("LICENSE"), keywords = "zillow", url = "https://stash.zillow.local/projects/LIBS/repos/egg.config-enhance/browse", packages = ['config_enhance'], long_description = read('README.md'), classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Topic :: Utilities", ], install_requires = install_requires, tests_require = tests_require, test_suite = "nose.collector" )
__VERSION__ = "1.2.0" import os from setuptools import setup def read(fname): '''Utility function to read the README file.''' return open(os.path.join(os.path.dirname(__file__), fname)).read() # figure out what the install will need install_requires = ["setuptools==0.9.8"] tests_require = ["nose==1.1.2", "nosexcover==1.0.8", "coverage==3.5.2"] + install_requires setup( name = "config-enhance", version = __VERSION__, author = "Jonathan Ultis", author_email = "[email protected]", description = read("README.md"), zip_safe = True, license = read("LICENSE"), keywords = "zillow", url = "https://stash.zillow.local/projects/LIBS/repos/egg.config-enhance/browse", packages = ['config_enhance'], long_description = read('README.md'), classifiers=[ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: MIT License", "Topic :: Utilities", ], install_requires = install_requires, tests_require = tests_require, test_suite = "nose.collector" )
mit
Python
0b19ddf44da25728557d01ccfa4b596627b0f44b
Bump release
anjos/website,anjos/website
setup.py
setup.py
#!/usr/bin/env python # vim: set fileencoding=utf-8 : # Andre Anjos <[email protected]> # Tue 22 Jan 2013 13:37:39 CET """Professional website package management """ from setuptools import setup, find_packages setup( name="anjos.website", version="1.0.1", description="My professional website", license="FreeBSD", author='Andre Anjos', author_email='[email protected]', long_description=open('README.rst').read(), url='https://github.com/anjos/website', packages=find_packages(), include_package_data=True, zip_safe=False, namespace_packages=[ "anjos", ], install_requires=[ # pretty generic 'setuptools', 'pillow', 'flup', 'uuid', 'mysql-python', 'python-openid', # others 'django-robots', 'django-openid-auth', 'django-maintenancemode', 'django-rosetta', # mine 'djangoogle', 'django-flatties', 'django-nav', 'django-publications', ], entry_points = { 'console_scripts': [ 'remove_app.py = anjos.website.scripts.remove_app:main', ], }, classifiers = [ 'Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Natural Language :: English', 'Programming Language :: Python', ], )
#!/usr/bin/env python # vim: set fileencoding=utf-8 : # Andre Anjos <[email protected]> # Tue 22 Jan 2013 13:37:39 CET """Professional website package management """ from setuptools import setup, find_packages setup( name="anjos.website", version="1.0.0", description="My professional website", license="FreeBSD", author='Andre Anjos', author_email='[email protected]', long_description=open('README.rst').read(), url='https://github.com/anjos/website', packages=find_packages(), include_package_data=True, zip_safe=False, namespace_packages=[ "anjos", ], install_requires=[ # pretty generic 'setuptools', 'pillow', 'flup', 'uuid', 'mysql-python', 'python-openid', # others 'django-robots', 'django-openid-auth', 'django-maintenancemode', 'django-rosetta', # mine 'djangoogle', 'django-flatties', 'django-nav', 'django-publications', ], entry_points = { 'console_scripts': [ 'remove_app.py = anjos.website.scripts.remove_app:main', ], }, classifiers = [ 'Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Natural Language :: English', 'Programming Language :: Python', ], )
bsd-2-clause
Python
856efd20e2ce3e9e542b6c76e304885795eaab93
Add revrand back to setup.py requirements
NICTA/dora
setup.py
setup.py
""" Setup utility for the dora package. """ from setuptools import setup, find_packages # from setuptools.command.test import test as TestCommand setup( name='dora', version='0.1', description='Active sampling using a non-parametric regression model.', author="Alistair Reid and Simon O'Callaghan", author_email='[email protected]', url='http://github.com/nicta/dora', packages=find_packages(), # cmdclass={ # 'test': PyTest # }, tests_require=['pytest'], install_requires=[ 'scipy >= 0.14.0', 'numpy >= 1.8.2', 'revrand == 0.6.5' # 'six >= 1.9.0', # NLopt >= 2.4.2 ], dependency_links=[ 'git+https://github.com/nicta/[email protected]#egg=revrand-0.6.5'], extras_require={ # 'nonlinear': ['NLopt'], 'demos': [ 'unipath', 'requests', # 'bdkd-external' ], }, license="Apache Software License 2.0", classifiers=[ "Development Status :: 3 - Alpha", "Operating System :: POSIX", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 3.4", "Intended Audience :: Science/Research", "Intended Audience :: Developers", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Scientific/Engineering :: Information Analysis" ] )
""" Setup utility for the dora package. """ from setuptools import setup, find_packages # from setuptools.command.test import test as TestCommand setup( name='dora', version='0.1', description='Active sampling using a non-parametric regression model.', author="Alistair Reid and Simon O'Callaghan", author_email='[email protected]', url='http://github.com/nicta/dora', packages=find_packages(), # cmdclass={ # 'test': PyTest # }, tests_require=['pytest'], install_requires=[ 'scipy >= 0.14.0', 'numpy >= 1.8.2', # 'six >= 1.9.0', # NLopt >= 2.4.2 ], dependency_links=[ 'git+https://github.com/nicta/[email protected]#egg=revrand-0.6.5'], extras_require={ # 'nonlinear': ['NLopt'], 'demos': [ 'unipath', 'requests', # 'bdkd-external' ], }, license="Apache Software License 2.0", classifiers=[ "Development Status :: 3 - Alpha", "Operating System :: POSIX", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 3.4", "Intended Audience :: Science/Research", "Intended Audience :: Developers", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Topic :: Scientific/Engineering :: Information Analysis" ] )
apache-2.0
Python
e92d240967acdce817f634fdb533f3a4212870c5
Bump minimal Core version
openfisca/openfisca-tunisia,openfisca/openfisca-tunisia
setup.py
setup.py
#! /usr/bin/env python # -*- coding: utf-8 -*- """Tunisia specific model for OpenFisca -- a versatile microsimulation free software""" from setuptools import setup, find_packages classifiers = """\ Development Status :: 2 - Pre-Alpha License :: OSI Approved :: GNU Affero General Public License v3 Operating System :: POSIX Programming Language :: Python Topic :: Scientific/Engineering :: Information Analysis """ doc_lines = __doc__.split('\n') setup( name = 'OpenFisca-Tunisia', version = '0.24.0', author = 'OpenFisca Team', author_email = '[email protected]', classifiers = [classifier for classifier in classifiers.split('\n') if classifier], description = doc_lines[0], keywords = 'benefit microsimulation social tax tunisia', license = 'http://www.fsf.org/licensing/licenses/agpl-3.0.html', long_description = '\n'.join(doc_lines[2:]), url = 'https://github.com/openfisca/openfisca-tunisia', data_files = [ ('share/openfisca/openfisca-tunisia', ['CHANGELOG.md', 'LICENSE.AGPL.txt', 'README.md']), ], extras_require = dict( tests = [ 'nose >= 1.3.7' ], notebook = [ 'ipykernel >= 4.8', 'jupyter-client >= 5.2', 'matplotlib >= 2.2', 'nbconvert >= 5.3', 'nbformat >= 4.4', 'pandas >= 0.22.0', ], survey = [ 'OpenFisca-Survey-Manager >=0.9.5,<0.19', ] ), include_package_data = True, # Will read MANIFEST.in install_requires = [ 'OpenFisca-Core >=27,<28', 'PyYAML >= 3.10', 'scipy >= 0.12', ], message_extractors = {'openfisca_tunisia': [ ('**.py', 'python', None), ]}, packages = find_packages(exclude=['tests*', 'old_tests*']), )
#! /usr/bin/env python # -*- coding: utf-8 -*- """Tunisia specific model for OpenFisca -- a versatile microsimulation free software""" from setuptools import setup, find_packages classifiers = """\ Development Status :: 2 - Pre-Alpha License :: OSI Approved :: GNU Affero General Public License v3 Operating System :: POSIX Programming Language :: Python Topic :: Scientific/Engineering :: Information Analysis """ doc_lines = __doc__.split('\n') setup( name = 'OpenFisca-Tunisia', version = '0.24.0', author = 'OpenFisca Team', author_email = '[email protected]', classifiers = [classifier for classifier in classifiers.split('\n') if classifier], description = doc_lines[0], keywords = 'benefit microsimulation social tax tunisia', license = 'http://www.fsf.org/licensing/licenses/agpl-3.0.html', long_description = '\n'.join(doc_lines[2:]), url = 'https://github.com/openfisca/openfisca-tunisia', data_files = [ ('share/openfisca/openfisca-tunisia', ['CHANGELOG.md', 'LICENSE.AGPL.txt', 'README.md']), ], extras_require = dict( tests = [ 'nose >= 1.3.7' ], notebook = [ 'ipykernel >= 4.8', 'jupyter-client >= 5.2', 'matplotlib >= 2.2', 'nbconvert >= 5.3', 'nbformat >= 4.4', 'pandas >= 0.22.0', ], survey = [ 'OpenFisca-Survey-Manager >=0.9.5,<0.19', ] ), include_package_data = True, # Will read MANIFEST.in install_requires = [ 'OpenFisca-Core >=26,<28', 'PyYAML >= 3.10', 'scipy >= 0.12', ], message_extractors = {'openfisca_tunisia': [ ('**.py', 'python', None), ]}, packages = find_packages(exclude=['tests*', 'old_tests*']), )
agpl-3.0
Python
b47c83f1da853577244dc44bce07978be198727a
add test to setup.py
jdswinbank/Comet,jdswinbank/Comet
setup.py
setup.py
import os import distutils.sysconfig from distutils.core import setup setup( name="Comet", description="VOEvent Broker", author="John Swinbank", author_email="[email protected]", packages=[ 'comet', 'comet.config', 'comet.plugins', 'comet.service', 'comet.tcp', 'comet.utility', 'comet.utility.test' ], scripts=['scripts/comet-sendvo'], package_data={'comet': ['schema/*.xsd']}, data_files=[ ( os.path.join( distutils.sysconfig.get_python_lib(prefix=''), 'twisted/plugins' ), [ 'twisted/plugins/comet_plugin.py', ] ) ] )
import os import distutils.sysconfig from distutils.core import setup setup( name="Comet", description="VOEvent Broker", author="John Swinbank", author_email="[email protected]", packages=[ 'comet', 'comet.config', 'comet.plugins', 'comet.service', 'comet.tcp', 'comet.utility' ], scripts=['scripts/comet-sendvo'], package_data={'comet': ['schema/*.xsd']}, data_files=[ ( os.path.join( distutils.sysconfig.get_python_lib(prefix=''), 'twisted/plugins' ), [ 'twisted/plugins/comet_plugin.py', ] ) ] )
bsd-2-clause
Python
3145f7759058a805954c6f1a55cbac724cdc3aef
Update version
bekbulatov/PyV8Mono,bekbulatov/PyV8Mono,bekbulatov/PyV8Mono
setup.py
setup.py
import os from setuptools import setup, Extension V8_PREFIX = os.environ.get('V8_PREFIX') if not V8_PREFIX: print 'You should set V8_PREFIX variable in the environment' exit(1) V8_LIBRARY_DIR = os.path.join(V8_PREFIX, 'lib64/') V8_INCLUDE_DIR = os.path.join(V8_PREFIX, 'include/') setup( name='PyV8Mono', description='Python binding for V8 MonoContext library', version='1.1', author='Bekbulatov Alexander', author_email='[email protected]', url='https://github.com/bekbulatov/PyV8Mono', packages=['PyV8Mono'], ext_modules=[ Extension('PyV8Mono.monocontext', include_dirs=[ V8_INCLUDE_DIR, ], library_dirs=[ V8_LIBRARY_DIR, ], libraries=[ 'v8monoctx', ], sources=[ 'monocontext.cpp', ], extra_link_args=[]) ])
import os from setuptools import setup, Extension V8_PREFIX = os.environ.get('V8_PREFIX') if not V8_PREFIX: print 'You should set V8_PREFIX variable in the environment' exit(1) V8_LIBRARY_DIR = os.path.join(V8_PREFIX, 'lib64/') V8_INCLUDE_DIR = os.path.join(V8_PREFIX, 'include/') setup( name='PyV8Mono', description='Python binding for V8 MonoContext library', version='1.0', author='Bekbulatov Alexander', author_email='[email protected]', url='https://github.com/bekbulatov/PyV8Mono', packages=['PyV8Mono'], ext_modules=[ Extension('PyV8Mono.monocontext', include_dirs=[ V8_INCLUDE_DIR, ], library_dirs=[ V8_LIBRARY_DIR, ], libraries=[ 'v8monoctx', ], sources=[ 'monocontext.cpp', ], extra_link_args=[]) ])
bsd-2-clause
Python
57453036b2dc1bc513a0031043d505bff92e14af
Update setup.py
ElsevierDev/elsapy
setup.py
setup.py
from distutils.core import setup from setuptools import find_packages from elsapy.__init__ import version # TODO: use pbr for various packaging tasks. setup( name = 'elsapy', version = version, description = "A Python module for use with Elsevier's APIs: Scopus, ScienceDirect, others - see https://api.elsevier.com", long_description = "See https://github.com/ElsevierDev/elsapy for the latest information / background to this project.", author = 'Elsevier, Inc.', author_email = '[email protected]', url = 'https://github.com/ElsevierDev/elsapy', license = 'License :: OSI Approved :: BSD License', download_url = 'https://www.github.com/ElsevierDev/elsapy/archive/0.4.6.tar.gz', keywords = ['elsevier api', 'sciencedirect api', 'scopus api'], # arbitrary keywords classifiers = [ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python :: 3', ], packages = find_packages(exclude=['contrib', 'docs', 'tests*']), install_requires = ['requests'] )
from distutils.core import setup from setuptools import find_packages from elsapy.__init__ import version setup( name = 'elsapy', version = version, description = "A Python module for use with Elsevier's APIs: Scopus, ScienceDirect, others - see https://api.elsevier.com", long_description = "See https://github.com/ElsevierDev/elsapy for the latest information / background to this project.", author = 'Elsevier, Inc.', author_email = '[email protected]', url = 'https://github.com/ElsevierDev/elsapy', license = 'License :: OSI Approved :: BSD License', download_url = 'https://www.github.com/ElsevierDev/elsapy/archive/0.4.6.tar.gz', keywords = ['elsevier api', 'sciencedirect api', 'scopus api'], # arbitrary keywords classifiers = [ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: BSD License', 'Programming Language :: Python :: 3', ], packages = find_packages(exclude=['contrib', 'docs', 'tests*']), install_requires = ['requests'] )
bsd-3-clause
Python
a6045ae313a501c73ba2b0c23576ba444fbbbaf1
add sqlalchemy-migrate dependency
simbuerg/benchbuild,simbuerg/benchbuild
setup.py
setup.py
#!/usr/bin/env python3 from setuptools import setup, find_packages setup(name='pprof', version='0.9.9', packages=find_packages(), install_requires=["SQLAlchemy==1.0.4", "cloud==2.8.5", "plumbum>=1.5.0", "regex==2015.5.28", "wheel==0.24.0", "parse==1.6.6", "virtualenv==13.1.0", "sphinxcontrib-napoleon", "psycopg2", "sqlalchemy-migrate"], author="Andreas Simbuerger", author_email="[email protected]", description="This is the experiment driver for the pprof study", license="MIT", entry_points={ 'console_scripts': ['pprof=pprof.driver:main'] })
#!/usr/bin/env python3 from setuptools import setup, find_packages setup(name='pprof', version='0.9.8', packages=find_packages(), install_requires=["SQLAlchemy==1.0.4", "cloud==2.8.5", "plumbum>=1.5.0", "regex==2015.5.28", "wheel==0.24.0", "parse==1.6.6", "virtualenv==13.1.0", "sphinxcontrib-napoleon", "psycopg2"], author="Andreas Simbuerger", author_email="[email protected]", description="This is the experiment driver for the pprof study", license="MIT", entry_points={ 'console_scripts': ['pprof=pprof.driver:main'] })
mit
Python
54e9265da13b79f008abafc6853790cdb6b7d46d
Update trove classifiers
TangledWeb/tangled.auth
setup.py
setup.py
from setuptools import setup setup( name='tangled.auth', version='0.1a3.dev0', description='Tangled auth integration', long_description=open('README.rst').read(), url='http://tangledframework.org/', author='Wyatt Baldwin', author_email='[email protected]', packages=[ 'tangled', 'tangled.auth', 'tangled.auth.tests', ], install_requires=[ 'tangled.web>=0.1.dev0', ], extras_require={ 'dev': [ 'tangled[dev]', ], }, entry_points=""" [tangled.scripts] auth = tangled.auth.command:Command """, classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', ], )
from setuptools import setup setup( name='tangled.auth', version='0.1a3.dev0', description='Tangled auth integration', long_description=open('README.rst').read(), url='http://tangledframework.org/', author='Wyatt Baldwin', author_email='[email protected]', packages=[ 'tangled', 'tangled.auth', 'tangled.auth.tests', ], install_requires=[ 'tangled.web>=0.1.dev0', ], extras_require={ 'dev': [ 'tangled[dev]', ], }, entry_points=""" [tangled.scripts] auth = tangled.auth.command:Command """, classifiers=[ 'Development Status :: 1 - Planning', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 3', ], )
mit
Python
2105b2ae0c68a559e1268b3fc2da0b433bfda3dc
Update version
dianchang/flask-debugtoolbar,dianchang/flask-debugtoolbar,lepture/flask-debugtoolbar,lepture/flask-debugtoolbar,dianchang/flask-debugtoolbar
setup.py
setup.py
from setuptools import setup, find_packages setup( name='Flask-DebugToolbar', version='0.5', url='http://github.com/mvantellingen/flask-debugtoolbar', license='BSD', author='Michael van Tellingen', author_email='[email protected]', description='A port of the Django debug toolbar to Flask', long_description=__doc__, namespace_packages=['flaskext'], zip_safe=False, platforms='any', packages=find_packages(exclude=['ez_setup']), package_data={'flaskext.debugtoolbar': [ 'static/css/*.css', 'static/js/*.js', 'static/img/*', 'templates/*.html', 'templates/panels/*.html' ]}, install_requires=[ 'setuptools', 'simplejson', 'Flask', ], classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Software Development :: Libraries :: Python Modules' ] )
from setuptools import setup, find_packages setup( name='Flask-DebugToolbar', version='0.4.6dev', url='http://github.com/mvantellingen/flask-debugtoolbar', license='BSD', author='Michael van Tellingen', author_email='[email protected]', description='A port of the Django debug toolbar to Flask', long_description=__doc__, namespace_packages=['flaskext'], zip_safe=False, platforms='any', packages=find_packages(exclude=['ez_setup']), package_data={'flaskext.debugtoolbar': [ 'static/css/*.css', 'static/js/*.js', 'static/img/*', 'templates/*.html', 'templates/panels/*.html' ]}, install_requires=[ 'setuptools', 'Flask', ], classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Web Environment', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Internet :: WWW/HTTP :: Dynamic Content', 'Topic :: Software Development :: Libraries :: Python Modules' ] )
bsd-3-clause
Python
6d34151817f5c161cfd209d8b3e2f1ed59e28c6b
Fix static analysis
serathius/sanic-sentry
setup.py
setup.py
#!/usr/bin/env python from os import path as op from setuptools import setup def _read(fname): return open(op.join(op.dirname(__file__), fname)).read() install_requires = [ line for line in _read('requirements.txt').split('\n') if line and not line.startswith('#')] setup( name='sanic-sentry', version='0.1.7', license='MIT', description='Sentry integration to sanic web server', long_description=_read('README.rst'), platforms=('Any'), keywords=['sanic', 'sentry'], author='Marek Siarkowicz', url='https://github.com/serathius/sanic-sentry', classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3 :: Only', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Software Development :: Testing', 'Topic :: Utilities', ], py_modules=['sanic_sentry'], install_requires=install_requires, )
#!/usr/bin/env python from os import path as op from setuptools import setup def _read(fname): return open(op.join(op.dirname(__file__), fname)).read() install_requires = [ l for l in _read('requirements.txt').split('\n') if l and not l.startswith('#')] setup( name='sanic-sentry', version='0.1.7', license='MIT', description='Sentry integration to sanic web server', long_description=_read('README.rst'), platforms=('Any'), keywords=['sanic', 'sentry'], author='Marek Siarkowicz', url='https://github.com/serathius/sanic-sentry', classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3 :: Only', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Software Development :: Testing', 'Topic :: Utilities', ], py_modules=['sanic_sentry'], install_requires=install_requires, )
mit
Python
60d29ca3bf958c4753162762209a56e85af0a412
update setup for new version 0.0.12
jagter/python-netbox
setup.py
setup.py
#!/usr/bin/env python import os from setuptools import setup, find_packages def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() def readme(): with open('README.rst') as f: return f.read() setup(name='python-netbox', version='0.0.12', description='Python NetBox Client', long_description=readme(), python_requires='>=3', author='Thomas van der Jagt', author_email='[email protected]', url='https://github.com/jagter/python-netbox', download_url='https://github.com/jagter/python-netbox/releases/tag/0.0.12.tar.gz', packages=find_packages(), install_requires=['ipaddress', 'requests'], classifiers = [ "Programming Language :: Python :: 3", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3.6", ], )
#!/usr/bin/env python import os from setuptools import setup, find_packages def read(fname): return open(os.path.join(os.path.dirname(__file__), fname)).read() def readme(): with open('README.rst') as f: return f.read() setup(name='python-netbox', version='0.0.11', description='Python NetBox Client', long_description=readme(), python_requires='>=3', author='Thomas van der Jagt', author_email='[email protected]', url='https://github.com/jagter/python-netbox', download_url='https://github.com/jagter/python-netbox/releases/tag/0.0.11.tar.gz', packages=find_packages(), install_requires=['ipaddress', 'requests'], classifiers = [ "Programming Language :: Python :: 3", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3.6", ], )
apache-2.0
Python
566bf8b10b74e3457d5a81b7699bee19d385c86b
Change python3-ldap to ldap3 in setup.py
mdj2/django-arcutils,PSU-OIT-ARC/django-arcutils,wylee/django-arcutils,wylee/django-arcutils,mdj2/django-arcutils,PSU-OIT-ARC/django-arcutils
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup setup( name="django-arcutils", version='0.0.1', url='https://github.com/PSU-OIT-ARC/django-arcutils', author='Matt Johnson', author_email='[email protected]', description="ARC Utils for Django sites", packages=['arcutils', 'arcutils.templatetags'], zip_safe=False, classifiers=[ 'Framework :: Django', ], include_package_data=True, extras_require={ 'ldap': ['ldap3'], 'test': ['ldap3', 'model_mommy', 'mock', 'django'], 'logging': ['python-logstash'], } )
#!/usr/bin/env python from setuptools import setup setup( name="django-arcutils", version='0.0.1', url='https://github.com/PSU-OIT-ARC/django-arcutils', author='Matt Johnson', author_email='[email protected]', description="ARC Utils for Django sites", packages=['arcutils', 'arcutils.templatetags'], zip_safe=False, classifiers=[ 'Framework :: Django', ], include_package_data=True, extras_require={ 'ldap': ['python3-ldap'], 'test': ['python3-ldap', 'model_mommy', 'mock', 'django'], 'logging': ['python-logstash'], } )
mit
Python
d593c904144427496f69f2acaa9d702de5842c76
Bump le version
anchor/ceilometer-publisher-vaultaire
setup.py
setup.py
import os from setuptools import setup from pip.req import parse_requirements # Utility function to read the README file. Used for the long_description. # It's nice, because now 1) we have a top level README file and 2) it's easier # to type in the README file than to put a raw string in below. def read(fname): with open(os.path.join(os.path.dirname(__file__), fname)) as f: return f.read() setup( name="ceilometer-publisher-vaultaire", version="0.0.8", description="A publisher plugin for Ceilometer that outputs to Vaultaire", author="Barney Desmond", author_email="[email protected]", url="https://github.com/anchor/ceilometer-publisher-vaultaire", zip_safe=False, packages=[ "ceilometer_publisher_vaultaire", # Does anyone know what this means? ], package_data={ "ceilometer_publisher_vaultaire" : ["README.md"], }, long_description=read("README"), classifiers=[ "Development Status :: 3 - Alpha", "Topic :: Utilities", "License :: OSI Approved :: Apache Software License", ], entry_points = { "ceilometer.publisher": [ "vaultaire = ceilometer_publisher_vaultaire:VaultairePublisher", ], }, install_requires=[str(req.req) for req in parse_requirements("requirements.txt")], include_package_data=True )
import os from setuptools import setup from pip.req import parse_requirements # Utility function to read the README file. Used for the long_description. # It's nice, because now 1) we have a top level README file and 2) it's easier # to type in the README file than to put a raw string in below. def read(fname): with open(os.path.join(os.path.dirname(__file__), fname)) as f: return f.read() setup( name="ceilometer-publisher-vaultaire", version="0.0.7", description="A publisher plugin for Ceilometer that outputs to Vaultaire", author="Barney Desmond", author_email="[email protected]", url="https://github.com/anchor/ceilometer-publisher-vaultaire", zip_safe=False, packages=[ "ceilometer_publisher_vaultaire", # Does anyone know what this means? ], package_data={ "ceilometer_publisher_vaultaire" : ["README.md"], }, long_description=read("README"), classifiers=[ "Development Status :: 3 - Alpha", "Topic :: Utilities", "License :: OSI Approved :: Apache Software License", ], entry_points = { "ceilometer.publisher": [ "vaultaire = ceilometer_publisher_vaultaire:VaultairePublisher", ], }, install_requires=[str(req.req) for req in parse_requirements("requirements.txt")], include_package_data=True )
apache-2.0
Python
64ba26f57874136569740c13ef7703f900b4ae08
Bump back to 1.1.2
algorithmiaio/algorithmia-python
setup.py
setup.py
import os from setuptools import setup setup( name='algorithmia', version='1.1.2', description='Algorithmia Python Client', long_description='Algorithmia Python Client is a client library for accessing Algorithmia from python code. This library also gets bundled with any Python algorithms in Algorithmia.', url='http://github.com/algorithmiaio/algorithmia-python', license='MIT', author='Algorithmia', author_email='[email protected]', packages=['Algorithmia'], install_requires=[ 'requests', 'six', 'enum34' ], include_package_data=True, classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Natural Language :: English', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Topic :: Software Development :: Libraries :: Python Modules', ], )
import os from setuptools import setup setup( name='algorithmia', version='1.1.3', description='Algorithmia Python Client', long_description='Algorithmia Python Client is a client library for accessing Algorithmia from python code. This library also gets bundled with any Python algorithms in Algorithmia.', url='http://github.com/algorithmiaio/algorithmia-python', license='MIT', author='Algorithmia', author_email='[email protected]', packages=['Algorithmia'], install_requires=[ 'requests', 'six', 'enum34' ], include_package_data=True, classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Natural Language :: English', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Topic :: Software Development :: Libraries :: Python Modules', ], )
mit
Python
62778c3d0e26faeb5c05813387816f9764950af9
Cut release 1.0.0 of logging package. (#3278)
googleapis/python-error-reporting,googleapis/python-error-reporting
setup.py
setup.py
# Copyright 2016 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import os from setuptools import find_packages from setuptools import setup PACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(PACKAGE_ROOT, 'README.rst')) as file_obj: README = file_obj.read() # NOTE: This is duplicated throughout and we should try to # consolidate. SETUP_BASE = { 'author': 'Google Cloud Platform', 'author_email': '[email protected]', 'scripts': [], 'url': 'https://github.com/GoogleCloudPlatform/google-cloud-python', 'license': 'Apache 2.0', 'platforms': 'Posix; MacOS X; Windows', 'include_package_data': True, 'zip_safe': False, 'classifiers': [ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Topic :: Internet', ], } REQUIREMENTS = [ 'google-cloud-core >= 0.24.0, < 0.25dev', 'google-cloud-logging >= 1.0.0, < 2.0dev', 'gapic-google-cloud-error-reporting-v1beta1 >= 0.15.0, < 0.16dev' ] setup( name='google-cloud-error-reporting', version='0.24.1', description='Python Client for Stackdriver Error Reporting', long_description=README, namespace_packages=[ 'google', 'google.cloud', ], packages=find_packages(exclude=('unit_tests*',)), install_requires=REQUIREMENTS, **SETUP_BASE )
# Copyright 2016 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. import os from setuptools import find_packages from setuptools import setup PACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__)) with open(os.path.join(PACKAGE_ROOT, 'README.rst')) as file_obj: README = file_obj.read() # NOTE: This is duplicated throughout and we should try to # consolidate. SETUP_BASE = { 'author': 'Google Cloud Platform', 'author_email': '[email protected]', 'scripts': [], 'url': 'https://github.com/GoogleCloudPlatform/google-cloud-python', 'license': 'Apache 2.0', 'platforms': 'Posix; MacOS X; Windows', 'include_package_data': True, 'zip_safe': False, 'classifiers': [ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'License :: OSI Approved :: Apache Software License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Topic :: Internet', ], } REQUIREMENTS = [ 'google-cloud-core >= 0.24.0, < 0.25dev', 'google-cloud-logging >= 0.24.0, < 0.25dev', 'gapic-google-cloud-error-reporting-v1beta1 >= 0.15.0, < 0.16dev' ] setup( name='google-cloud-error-reporting', version='0.24.0', description='Python Client for Stackdriver Error Reporting', long_description=README, namespace_packages=[ 'google', 'google.cloud', ], packages=find_packages(exclude=('unit_tests*',)), install_requires=REQUIREMENTS, **SETUP_BASE )
apache-2.0
Python
2e43eb089dee46e4fab229a49429d231b23396ed
update the metadata
damoti/python-v8,pombredanne/python-v8,pombredanne/python-v8,damoti/python-v8,pombredanne/python-v8,pombredanne/python-v8,damoti/python-v8,damoti/python-v8
setup.py
setup.py
#!/usr/bin/env python import os, os.path from distutils.core import setup, Extension import distutils.msvccompiler source_files = ["Engine.cpp", "Wrapper.cpp", "PyV8.cpp"] macros = [("BOOST_PYTHON_STATIC_LIB", None)] third_party_libraries = ["python", "boost", "v8"] include_dirs = os.environ["INCLUDE"].split(';') + [os.path.join("lib", lib, "inc") for lib in third_party_libraries] library_dirs = os.environ["LIB"].split(';') + [os.path.join("lib", lib, "lib") for lib in third_party_libraries] libraries = ["winmm"] pyv8 = Extension(name = "_PyV8", sources = [os.path.join("src", file) for file in source_files], define_macros = macros, include_dirs = include_dirs, library_dirs = library_dirs, libraries = libraries, extra_compile_args = ["/O2", "/GL", "/MT", "/EHsc", "/Gy", "/Zi"], extra_link_args = ["/DLL", "/OPT:REF", "/OPT:ICF", "/MACHINE:X86"], ) setup(name='PyV8', version='0.1', description='Python Wrapper for Google V8 Engine', long_description="PyV8? is a python wrapper for Google V8 engine, it act as a bridge between the Python and JavaScript? objects, and support to hosting Google's v8 engine in a python script.", platforms="x86", author='Flier Lu', author_email='[email protected]', url='http://code.google.com/p/pyv8/', download_url='http://code.google.com/p/pyv8/downloads/list', license="Apache Software License", py_modules=['PyV8'], ext_modules=[pyv8], classifiers=[ 'Development Status :: 4 - Beta', 'Environment :: Win32 (MS Windows)', 'Intended Audience :: Developers', 'Intended Audience :: System Administrators', 'License :: OSI Approved :: Apache Software License', 'Natural Language :: English', 'Operating System :: Microsoft :: Windows', 'Programming Language :: C++', 'Programming Language :: Python', 'Topic :: Internet', 'Topic :: Internet :: WWW/HTTP', 'Topic :: Software Development', 'Topic :: Software Development :: Libraries :: Python Modules', 'Topic :: Utilities', ] )
#!/usr/bin/env python import os, os.path from distutils.core import setup, Extension import distutils.msvccompiler source_files = ["Engine.cpp", "Wrapper.cpp", "PyV8.cpp"] macros = [("BOOST_PYTHON_STATIC_LIB", None)] third_party_libraries = ["python", "boost", "v8"] include_dirs = os.environ["INCLUDE"].split(';') + [os.path.join("lib", lib, "inc") for lib in third_party_libraries] library_dirs = os.environ["LIB"].split(';') + [os.path.join("lib", lib, "lib") for lib in third_party_libraries] libraries = ["winmm"] pyv8 = Extension(name = "_PyV8", sources = [os.path.join("src", file) for file in source_files], define_macros = macros, include_dirs = include_dirs, library_dirs = library_dirs, libraries = libraries, extra_compile_args = ["/O2", "/GL", "/MT", "/EHsc", "/Gy", "/Zi"], extra_link_args = ["/DLL", "/OPT:REF", "/OPT:ICF", "/MACHINE:X86"], ) setup(name='PyV8', version='0.1', description='Python Wrapper for Google V8 Engine', author='Flier Lu', author_email='[email protected]', url='http://code.google.com/p/pyv8/', license="Apache 2.0", py_modules=['PyV8'], ext_modules=[pyv8] )
apache-2.0
Python
e6fa2ba2c7298cf2d3482961d76119c928fb2ed0
add example
joequant/algobroker,joequant/algobroker,joequant/algobroker,joequant/algobroker
setup.py
setup.py
# Copyright (C) 2015 Bitquant Research Laboratories (Asia) Limited # Released under the Simplified BSD License from setuptools import ( setup, find_packages, ) setup( name="algobroker", version = "0.0.1", author="Joseph C Wang", author_email='[email protected]', url="https://github.com/joequant/algobroker", description="Algorithmic trading broker", long_description="""Algobroker is an interface to trading and events""", license="BSD", packages=find_packages(), package_data = {'algobroker': ['algobroker/keys/*.example']}, setup_requires = ['pyzmq', 'msgpack-python', 'plivo'], use_2to3 = True )
# Copyright (C) 2015 Bitquant Research Laboratories (Asia) Limited # Released under the Simplified BSD License from setuptools import ( setup, find_packages, ) setup( name="algobroker", version = "0.0.1", author="Joseph C Wang", author_email='[email protected]', url="https://github.com/joequant/algobroker", description="Algorithmic trading broker", long_description="""Algobroker is an interface to trading and events""", license="BSD", packages=find_packages(), setup_requires = ['pyzmq', 'msgpack-python', 'plivo', 'twilio'], use_2to3 = True )
bsd-2-clause
Python
78674a31aca536309dea38aeb6ac1271910248bb
Bump up version number
barumrho/apush
setup.py
setup.py
# -*- coding: utf-8 -*- from setuptools import setup, find_packages with open('README.md') as f: readme = f.read() with open('LICENSE') as f: license = f.read() setup( name='apush', version='0.2.1', description='A simple Apple push notification service provider', long_description=readme, author='Barum Rho', author_email='[email protected]', url='https://github.com/barumrho/apush', license=license, keywords='apple push notification', packages=find_packages() )
# -*- coding: utf-8 -*- from setuptools import setup, find_packages with open('README.md') as f: readme = f.read() with open('LICENSE') as f: license = f.read() setup( name='apush', version='0.1.0', description='A simple Apple push notification service provider', long_description=readme, author='Barum Rho', author_email='[email protected]', url='https://github.com/barumrho/apush', license=license, keywords='apple push notification', packages=find_packages() )
mit
Python
8cd82d462132e0a5ac74bd540c6f1f092af73056
Bump version
thombashi/DataProperty
setup.py
setup.py
# encoding: utf-8 """ .. codeauthor:: Tsuyoshi Hombashi <[email protected]> """ from __future__ import unicode_literals import io import os.path import setuptools import sys MISC_DIR = "misc" REQUIREMENT_DIR = "requirements" with io.open("README.rst", encoding="utf8") as f: long_description = f.read() with io.open(os.path.join(MISC_DIR, "summary.txt"), encoding="utf8") as f: summary = f.read() with open(os.path.join(REQUIREMENT_DIR, "requirements.txt")) as f: install_requires = [line.strip() for line in f if line.strip()] with open(os.path.join(REQUIREMENT_DIR, "test_requirements.txt")) as f: tests_require = [line.strip() for line in f if line.strip()] needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv) pytest_runner = ["pytest-runner"] if needs_pytest else [] author = "Tsuyoshi Hombashi" email = "[email protected]" project_name = "DataProperty" setuptools.setup( name=project_name, version="0.16.0", url="https://github.com/thombashi/" + project_name, bugtrack_url="https://github.com/thombashi/{:s}/issues".format( project_name), author=author, author_email=email, description=summary, include_package_data=True, install_requires=install_requires, keywords=["data", "property"], license="MIT License", long_description=long_description, maintainer=author, maintainer_email=email, packages=setuptools.find_packages(exclude=["test*"]), setup_requires=[] + pytest_runner, tests_require=tests_require, classifiers=[ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", ], )
# encoding: utf-8 """ .. codeauthor:: Tsuyoshi Hombashi <[email protected]> """ from __future__ import unicode_literals import io import os.path import setuptools import sys MISC_DIR = "misc" REQUIREMENT_DIR = "requirements" with io.open("README.rst", encoding="utf8") as f: long_description = f.read() with io.open(os.path.join(MISC_DIR, "summary.txt"), encoding="utf8") as f: summary = f.read() with open(os.path.join(REQUIREMENT_DIR, "requirements.txt")) as f: install_requires = [line.strip() for line in f if line.strip()] with open(os.path.join(REQUIREMENT_DIR, "test_requirements.txt")) as f: tests_require = [line.strip() for line in f if line.strip()] needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv) pytest_runner = ["pytest-runner"] if needs_pytest else [] author = "Tsuyoshi Hombashi" email = "[email protected]" project_name = "DataProperty" setuptools.setup( name=project_name, version="0.15.2", url="https://github.com/thombashi/" + project_name, bugtrack_url="https://github.com/thombashi/{:s}/issues".format( project_name), author=author, author_email=email, description=summary, include_package_data=True, install_requires=install_requires, keywords=["data", "property"], license="MIT License", long_description=long_description, maintainer=author, maintainer_email=email, packages=setuptools.find_packages(exclude=["test*"]), setup_requires=[] + pytest_runner, tests_require=tests_require, classifiers=[ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules", ], )
mit
Python
7f7e4a73c9b0dfe395ed71fb19f6fa76186146da
Use system default python interpreter in setup.py
cle1109/scot,mbillingr/SCoT,scot-dev/scot,cle1109/scot,mbillingr/SCoT,scot-dev/scot,cbrnr/scot,cbrnr/scot
setup.py
setup.py
#!/usr/bin/env python from distutils.core import setup versionfile = open('VERSION', 'r') ver = versionfile.read().strip() versionfile.close() setup(name='SCoT', version=ver, description='Source Connectivity Toolbox', author='Martin Billinger', author_email='[email protected]', url='https://github.com/SCoT-dev/SCoT', packages=['scot', 'scot.backend', 'scot.builtin', 'eegtopo', 'eegtopo.geometry'], install_requires=['numpy >=1.7', 'scipy >=0.12'] )
#!/usr/bin/env python2 from distutils.core import setup versionfile = open('VERSION', 'r') ver = versionfile.read().strip() versionfile.close() setup(name='SCoT', version=ver, description='Source Connectivity Toolbox', author='Martin Billinger', author_email='[email protected]', url='https://github.com/SCoT-dev/SCoT', packages=['scot', 'scot.backend', 'scot.builtin', 'eegtopo', 'eegtopo.geometry'], install_requires=['numpy >=1.7', 'scipy >=0.12'] )
mit
Python
3edb02b36a85712e896e785c9205f53258a48428
Update setup.py
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.2.0", url="https://github.com/thombashi/pytablereader", bugtrack_url="https://github.com/thombashi/pytablereader/issues", author="Tsuyoshi Hombashi", author_email="[email protected]", description=summary, include_package_data=True, install_requires=install_requires, keywords=[ "table", "reader", "CSV", "Excel", "HTML", "Markdown", "MediaWiki", "JSON", ], 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.1.1", url="https://github.com/thombashi/pytablereader", bugtrack_url="https://github.com/thombashi/pytablereader/issues", author="Tsuyoshi Hombashi", author_email="[email protected]", description=summary, include_package_data=True, install_requires=install_requires, keywords=[ "table", "reader", "CSV", "Excel", "HTML", "MediaWiki", "JSON", ], 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
bffebebd86d09f5924461959401ef3698b4e47d5
Create version 0.3.23
Duke-GCB/DukeDSClient,Duke-GCB/DukeDSClient
setup.py
setup.py
from setuptools import setup setup(name='DukeDSClient', version='0.3.23', description='Command line tool(ddsclient) to upload/manage projects on the duke-data-service.', url='https://github.com/Duke-GCB/DukeDSClient', keywords='duke dds dukedataservice', author='John Bradley', license='MIT', packages=['ddsc','ddsc.core'], install_requires=[ 'requests', 'PyYAML', 'pytz', 'future', 'six', ], test_suite='nose.collector', tests_require=['nose', 'mock'], entry_points={ 'console_scripts': [ 'ddsclient = ddsc.__main__:main' ] }, classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'Topic :: Utilities', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], )
from setuptools import setup setup(name='DukeDSClient', version='0.3.22', description='Command line tool(ddsclient) to upload/manage projects on the duke-data-service.', url='https://github.com/Duke-GCB/DukeDSClient', keywords='duke dds dukedataservice', author='John Bradley', license='MIT', packages=['ddsc','ddsc.core'], install_requires=[ 'requests', 'PyYAML', 'pytz', 'future', 'six', ], test_suite='nose.collector', tests_require=['nose', 'mock'], entry_points={ 'console_scripts': [ 'ddsclient = ddsc.__main__:main' ] }, classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'Topic :: Utilities', 'License :: OSI Approved :: MIT License', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', ], )
mit
Python
85950c20a13f34bb4a52ac7fa19ffaac8a1c7453
Drop 2 support.
groklearning/simple-packages
setup.py
setup.py
# vim: set et nosi ai ts=4 sts=4 sw=4: # -*- coding: utf-8 -*- import os from setuptools import setup def read_local_file(filename): with open(os.path.join(os.path.dirname(__file__), filename)) as f: return f.read().strip() README = read_local_file('README.md') VERSION = __import__('simple').__version__ setup( name='simple-packages', version=VERSION, description='Simple, consistent APIs for popular Python packages.', long_description=README, author='Grok Learning', author_email='[email protected]', maintainer='Tim Dawborn', maintainer_email='[email protected]', url='https://github.com/groklearning/simple-packages', license='MIT', package_dir={ 'simple': 'simple', 'simple.PIL': 'simple/PIL', }, packages=[ 'simple', 'simple.PIL', ], install_requires=[ 'pillow >= 3.2.0', ], test_suite='nose.collector', tests_require=[ 'nose', ], classifiers=[ 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', ], )
# vim: set et nosi ai ts=4 sts=4 sw=4: # -*- coding: utf-8 -*- import os from setuptools import setup def read_local_file(filename): with open(os.path.join(os.path.dirname(__file__), filename)) as f: return f.read().strip() README = read_local_file('README.md') VERSION = __import__('simple').__version__ setup( name='simple-packages', version=VERSION, description='Simple, consistent APIs for popular Python packages.', long_description=README, author='Grok Learning', author_email='[email protected]', maintainer='Tim Dawborn', maintainer_email='[email protected]', url='https://github.com/groklearning/simple-packages', license='MIT', package_dir={ 'simple': 'simple', 'simple.PIL': 'simple/PIL', }, packages=[ 'simple', 'simple.PIL', ], install_requires=[ 'six', 'pillow >= 3.2.0', ], test_suite='nose.collector', tests_require=[ 'nose', ], classifiers=[ 'Development Status :: 5 - Production/Stable', 'License :: OSI Approved :: MIT License', 'Natural Language :: English', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', ], )
mit
Python
250970a54bc04cde46685692ec71d164ed17a484
Update to buildbot 2.4.0
madisongh/autobuilder
setup.py
setup.py
from setuptools import setup, find_packages setup( name='autobuilder', version='2.2.0', packages=find_packages(), license='MIT', author='Matt Madison', author_email='[email protected]', entry_points={ 'console_scripts': [ 'store-artifacts = autobuilder.scripts.store_artifacts:main', ] }, include_package_data=True, package_data={ 'autobuilder': ['templates/*.txt'] }, install_requires=['buildbot[tls]>=2.4.0', 'buildbot-worker>=2.4.0', 'buildbot-www>=2.4.0', 'buildbot-console-view>=2.4.0', 'buildbot-grid-view>=2.4.0', 'buildbot-waterfall-view>=2.4.0' 'buildbot-badges>=2.4.0', 'boto3', 'botocore', 'treq', 'twisted', 'python-dateutil', 'jinja2'] )
from setuptools import setup, find_packages setup( name='autobuilder', version='2.1.0', packages=find_packages(), license='MIT', author='Matt Madison', author_email='[email protected]', entry_points={ 'console_scripts': [ 'store-artifacts = autobuilder.scripts.store_artifacts:main', ] }, include_package_data=True, package_data={ 'autobuilder': ['templates/*.txt'] }, install_requires=['buildbot[tls]>=2.2.0', 'buildbot-worker>=2.2.0', 'buildbot-www>=2.2.0', 'buildbot-console-view>=2.2.0', 'buildbot-grid-view>=2.2.0', 'buildbot-waterfall-view>=2.2.0' 'buildbot-badges>=2.2.0', 'boto3', 'botocore', 'treq', 'twisted', 'python-dateutil', 'jinja2'] )
mit
Python
ec1afb1d57ea4c674475c9510de1e1964372043b
Add pripnglsch to setup.py
drj11/pypng,drj11/pypng
setup.py
setup.py
# PyPNG setup.py # This is the setup.py script used by distutils. # You can install the png module into your Python distribution with: # python setup.py install # You can also do other standard distutil type things, but you can refer # to the distutil documentation for that. # This script is also imported as a module by the Sphinx conf.py script # in the man directory, so that this file forms a single source for # metadata. # http://docs.python.org/release/2.4.4/dist/setup-script.html from distutils.core import setup def get_version(): from os.path import dirname, join for line in open(join(dirname(__file__), "code", "png.py")): if '__version__' in line: version = line.split('"')[1] break return version conf = dict( name='pypng', version=get_version(), description='Pure Python PNG image encoder/decoder', long_description=""" PyPNG allows PNG image files to be read and written using pure Python. It's available from github.com https://github.com/drj11/pypng """, author='David Jones', author_email='[email protected]', url='https://github.com/drj11/pypng', package_dir={'': 'code'}, py_modules=['png', 'test_png', 'pngsuite'], scripts=[ "code/prichunkpng", "code/priforgepng", "code/pripalpng", "code/pripamtopng", "code/pripnglsch", "code/pripngtopam", "code/priweavepng" ], classifiers=[ 'Topic :: Multimedia :: Graphics', 'Topic :: Software Development :: Libraries :: Python Modules', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', ], ) conf['download_url'] = \ 'https://github.com/drj11/pypng/archive/%(name)s-%(version)s.tar.gz' % conf if __name__ == '__main__': setup(**conf)
# PyPNG setup.py # This is the setup.py script used by distutils. # You can install the png module into your Python distribution with: # python setup.py install # You can also do other standard distutil type things, but you can refer # to the distutil documentation for that. # This script is also imported as a module by the Sphinx conf.py script # in the man directory, so that this file forms a single source for # metadata. # http://docs.python.org/release/2.4.4/dist/setup-script.html from distutils.core import setup def get_version(): from os.path import dirname, join for line in open(join(dirname(__file__), "code", "png.py")): if '__version__' in line: version = line.split('"')[1] break return version conf = dict( name='pypng', version=get_version(), description='Pure Python PNG image encoder/decoder', long_description=""" PyPNG allows PNG image files to be read and written using pure Python. It's available from github.com https://github.com/drj11/pypng """, author='David Jones', author_email='[email protected]', url='https://github.com/drj11/pypng', package_dir={'': 'code'}, py_modules=['png', 'test_png', 'pngsuite'], scripts=[ "code/prichunkpng", "code/priforgepng", "code/pripalpng", "code/pripamtopng", "code/pripngtopam", "code/priweavepng" ], classifiers=[ 'Topic :: Multimedia :: Graphics', 'Topic :: Software Development :: Libraries :: Python Modules', 'Programming Language :: Python', 'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', ], ) conf['download_url'] = \ 'https://github.com/drj11/pypng/archive/%(name)s-%(version)s.tar.gz' % conf if __name__ == '__main__': setup(**conf)
mit
Python
61c42e177f1a6ca9a74bdda2da9ae0dcac06e74b
fix doc build broken by Sphinx 5
xflr6/graphviz
setup.py
setup.py
import pathlib from setuptools import setup, find_packages setup( name='graphviz', version='0.20.1.dev0', author='Sebastian Bank', author_email='[email protected]', description='Simple Python interface for Graphviz', keywords='graph visualization dot render', license='MIT', url='https://github.com/xflr6/graphviz', project_urls={ 'Documentation': 'https://graphviz.readthedocs.io', 'Changelog': 'https://graphviz.readthedocs.io/en/latest/changelog.html', 'Issue Tracker': 'https://github.com/xflr6/graphviz/issues', 'CI': 'https://github.com/xflr6/graphviz/actions', 'Coverage': 'https://codecov.io/gh/xflr6/graphviz', }, packages=find_packages(), platforms='any', python_requires='>=3.7', extras_require={ 'dev': ['tox>=3', 'flake8', 'pep8-naming', 'wheel', 'twine'], 'test': ['pytest>=7', 'pytest-mock>=3', 'mock>=4', 'pytest-cov', 'coverage'], 'docs': ['sphinx>=4,<5', 'sphinx-autodoc-typehints', 'sphinx-rtd-theme'], }, long_description=pathlib.Path('README.rst').read_text(encoding='utf-8'), classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Topic :: Scientific/Engineering :: Visualization', ], )
import pathlib from setuptools import setup, find_packages setup( name='graphviz', version='0.20.1.dev0', author='Sebastian Bank', author_email='[email protected]', description='Simple Python interface for Graphviz', keywords='graph visualization dot render', license='MIT', url='https://github.com/xflr6/graphviz', project_urls={ 'Documentation': 'https://graphviz.readthedocs.io', 'Changelog': 'https://graphviz.readthedocs.io/en/latest/changelog.html', 'Issue Tracker': 'https://github.com/xflr6/graphviz/issues', 'CI': 'https://github.com/xflr6/graphviz/actions', 'Coverage': 'https://codecov.io/gh/xflr6/graphviz', }, packages=find_packages(), platforms='any', python_requires='>=3.7', extras_require={ 'dev': ['tox>=3', 'flake8', 'pep8-naming', 'wheel', 'twine'], 'test': ['pytest>=7', 'pytest-mock>=3', 'mock>=4', 'pytest-cov', 'coverage'], 'docs': ['sphinx>=4', 'sphinx-autodoc-typehints', 'sphinx-rtd-theme'], }, long_description=pathlib.Path('README.rst').read_text(encoding='utf-8'), classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Intended Audience :: Science/Research', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Topic :: Scientific/Engineering :: Visualization', ], )
mit
Python
bb3d855d7335a456b0a15323e49aa0b40b04c38c
Bump the version number.
roberto-reale/pyTrivialCache
setup.py
setup.py
from setuptools import setup setup( name = 'pyTrivialCache', version = '0.3.0', description = "The poor man's API for manipulating a file system cache.", packages = [ 'pyTrivialCache' ], author = 'Roberto Reale', author_email = '[email protected]', url = 'https://github.com/robertoreale/pyTrivialCache', keywords = [ 'filesystem', 'cache' ], install_requires = [ ], test_suite = 'nose.collector', tests_require = ['nose'], entry_points={ 'console_scripts': [ 'pyTrivialCache = pyTrivialCache.__main__:main' ] }, ) # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
from setuptools import setup setup( name = 'pyTrivialCache', version = '0.2.0', description = "The poor man's API for manipulating a file system cache.", packages = [ 'pyTrivialCache' ], author = 'Roberto Reale', author_email = '[email protected]', url = 'https://github.com/robertoreale/pyTrivialCache', keywords = [ 'filesystem', 'cache' ], install_requires = [ ], test_suite = 'nose.collector', tests_require = ['nose'], entry_points={ 'console_scripts': [ 'pyTrivialCache = pyTrivialCache.__main__:main' ] }, ) # vim: tabstop=8 expandtab shiftwidth=4 softtabstop=4
mit
Python
8d14ced65919fa6f94b041c79ae60439db4e243f
Add joblib to install_requires
lmcinnes/pynndescent
setup.py
setup.py
from setuptools import setup def readme(): with open("README.rst") as readme_file: return readme_file.read() configuration = { "name": "pynndescent", "version": "0.3.0", "description": "Nearest Neighbor Descent", "long_description": readme(), "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Science/Research", "Intended Audience :: Developers", "License :: OSI Approved", "Programming Language :: C", "Programming Language :: Python", "Topic :: Software Development", "Topic :: Scientific/Engineering", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: Unix", "Operating System :: MacOS", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", ], "keywords": "nearest neighbor, knn, ANN", "url": "http://github.com/lmcinnes/pynndescent", "author": "Leland McInnes", "author_email": "[email protected]", "maintainer": "Leland McInnes", "maintainer_email": "[email protected]", "license": "BSD", "packages": ["pynndescent"], "install_requires": ["scikit-learn >= 0.18", "scipy >= 1.0", "numba >= 0.39", "joblib >= 0.11"], "ext_modules": [], "cmdclass": {}, "test_suite": "nose.collector", "tests_require": ["nose"], "data_files": (), "zip_safe": True, } setup(**configuration)
from setuptools import setup def readme(): with open("README.rst") as readme_file: return readme_file.read() configuration = { "name": "pynndescent", "version": "0.3.0", "description": "Nearest Neighbor Descent", "long_description": readme(), "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Science/Research", "Intended Audience :: Developers", "License :: OSI Approved", "Programming Language :: C", "Programming Language :: Python", "Topic :: Software Development", "Topic :: Scientific/Engineering", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX", "Operating System :: Unix", "Operating System :: MacOS", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", ], "keywords": "nearest neighbor, knn, ANN", "url": "http://github.com/lmcinnes/pynndescent", "author": "Leland McInnes", "author_email": "[email protected]", "maintainer": "Leland McInnes", "maintainer_email": "[email protected]", "license": "BSD", "packages": ["pynndescent"], "install_requires": ["scikit-learn >= 0.18", "scipy >= 1.0", "numba >= 0.39"], "ext_modules": [], "cmdclass": {}, "test_suite": "nose.collector", "tests_require": ["nose"], "data_files": (), "zip_safe": True, } setup(**configuration)
bsd-2-clause
Python
047215a3e07e7cebf78e409602dd57a2709f8923
Update broken link in PyPi (Homepage)
datafolklabs/cement,datafolklabs/cement,datafolklabs/cement
setup.py
setup.py
import sys from setuptools import setup, find_packages from cement.utils import version VERSION = version.get_version() f = open('README.md', 'r') LONG = f.read() f.close() setup(name='cement', version=VERSION, description='CLI Framework for Python', long_description=LONG, long_description_content_type='text/markdown', classifiers=[], install_requires=[], keywords='cli framework', author='Data Folk Labs, LLC', author_email='[email protected]', url='https://builtoncement.com', license='BSD', packages=find_packages(exclude=['ez_setup', 'tests*']), package_data={'cement': ['cement/cli/templates/generate/*']}, include_package_data=True, zip_safe=False, test_suite='nose.collector', entry_points=""" [console_scripts] cement = cement.cli.main:main """, )
import sys from setuptools import setup, find_packages from cement.utils import version VERSION = version.get_version() f = open('README.md', 'r') LONG = f.read() f.close() setup(name='cement', version=VERSION, description='CLI Framework for Python', long_description=LONG, long_description_content_type='text/markdown', classifiers=[], install_requires=[], keywords='cli framework', author='Data Folk Labs, LLC', author_email='[email protected]', url='http://builtoncement.org', license='BSD', packages=find_packages(exclude=['ez_setup', 'tests*']), package_data={'cement': ['cement/cli/templates/generate/*']}, include_package_data=True, zip_safe=False, test_suite='nose.collector', entry_points=""" [console_scripts] cement = cement.cli.main:main """, )
bsd-3-clause
Python
ae279376122772dc189d744caa799c3a0916b38b
Fix setup.py
sinnwerkstatt/django-bettertemplates,sinnwerkstatt/django-bettertemplates
setup.py
setup.py
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys try: from setuptools import setup except ImportError: from distutils.core import setup if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') sys.exit() readme = open('README.md').read() history = open('HISTORY.rst').read().replace('.. :changelog:', '') setup( name='django-bettertemplates', version='0.0.1', description='Django Better Templates', long_description=readme + '\n\n' + history, author='Sinnwerkstatt Medienagentur GmbH', author_email='[email protected]', url='https://github.com/sinnwerkstatt/django-bettertemplates', packages=[ 'bettertemplates', ], package_dir={'bettertemplates': 'bettertemplates'}, include_package_data=True, install_requires=['six'], license="BSD", zip_safe=False, keywords='Django Templates', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Natural Language :: English', "Programming Language :: Python :: 2", '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 try: from setuptools import setup except ImportError: from distutils.core import setup if sys.argv[-1] == 'publish': os.system('python setup.py sdist upload') sys.exit() readme = open('README.rst').read() history = open('HISTORY.rst').read().replace('.. :changelog:', '') setup( name='django-bettertemplates', version='0.0.1', description='Django Better Templates', long_description=readme + '\n\n' + history, author='Sinnwerkstatt Medienagentur GmbH', author_email='[email protected]', url='https://github.com/sinnwerkstatt/django-bettertemplates', packages=[ 'bettertemplates', ], package_dir={'bettertemplates': 'bettertemplates'}, include_package_data=True, install_requires=['six'], license="BSD", zip_safe=False, keywords='Django Templates', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Natural Language :: English', "Programming Language :: Python :: 2", 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.3', ], )
bsd-3-clause
Python
761c6d6331b8031b957d772d203dcba2575eb908
Fix readthedocs URLs in the long description.
mdickinson/refcycle
setup.py
setup.py
# Copyright 2013 Mark Dickinson # # 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.path from setuptools import setup, find_packages PROJECT_URL = "https://github.com/mdickinson/refcycle" def get_version_info(): """Extract version information as a dictionary from version.py.""" version_info = {} with open(os.path.join("refcycle", "version.py"), 'r') as f: version_code = compile(f.read(), "version.py", 'exec') exec(version_code, version_info) return version_info def long_description(release): with open('README.rst') as f: contents = f.read() # For a released version, we want the description to link to the # corresponding docs rather than the docs for master. tag = 'v{}'.format(release) contents = contents.replace( 'refcycle.readthedocs.org/en/latest', 'refcycle.readthedocs.io/en/{}'.format(tag), ) return contents version_info = get_version_info() setup( name="refcycle", version=version_info['release'], author="Mark Dickinson", author_email="[email protected]", url=PROJECT_URL, license="Apache license", description="Find and visualise reference cycles between Python objects.", long_description=long_description(version_info['release']), install_requires=["six"], packages=find_packages(), classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Debuggers", ], data_files=[ ("", ["README.rst"]), ], )
# Copyright 2013 Mark Dickinson # # 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.path from setuptools import setup, find_packages PROJECT_URL = "https://github.com/mdickinson/refcycle" def get_version_info(): """Extract version information as a dictionary from version.py.""" version_info = {} with open(os.path.join("refcycle", "version.py"), 'r') as f: version_code = compile(f.read(), "version.py", 'exec') exec(version_code, version_info) return version_info def long_description(version): with open('README.rst') as f: contents = f.read() # For a released version, we want the description to link to the # corresponding docs rather than the docs for master. contents = contents.replace( 'refcycle.readthedocs.org/en/latest', 'refcycle.readthedocs.org/en/maintenance-v{}'.format(version), ) return contents version_info = get_version_info() setup( name="refcycle", version=version_info['release'], author="Mark Dickinson", author_email="[email protected]", url=PROJECT_URL, license="Apache license", description="Find and visualise reference cycles between Python objects.", long_description=long_description(version_info['version']), install_requires=["six"], packages=find_packages(), classifiers=[ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Debuggers", ], data_files=[ ("", ["README.rst"]), ], )
apache-2.0
Python
36bb5f553f0488b8eba7c0b70c7a35ffccb47dbb
Add Easy-Deploy / Easy-Publish
TensorPy/TensorPy,TensorPy/TensorPy
setup.py
setup.py
""" The setup package to install TensorPy dependencies. *> This does NOT include TensorFlow installation. *> To install TensorFlow, use "./install.sh" """ from setuptools import setup, find_packages # noqa import os import sys this_directory = os.path.abspath(os.path.dirname(__file__)) long_description = None try: with open(os.path.join(this_directory, 'README.md'), 'rb') as f: long_description = f.read().decode('utf-8') except IOError: long_description = 'Easy Image Classification with TensorFlow!' if sys.argv[-1] == 'publish': reply = None input_method = input if not sys.version_info[0] >= 3: input_method = raw_input # noqa reply = str(input_method( '>>> Confirm release PUBLISH to PyPI? (yes/no): ')).lower().strip() if reply == 'yes': print("\n*** Checking code health with flake8:\n") flake8_status = os.system("flake8 --exclude=temp") if flake8_status != 0: print("\nWARNING! Fix flake8 issues before publishing to PyPI!\n") sys.exit() else: print("*** No flake8 issues detected. Continuing...") print("\n*** Rebuilding distribution packages: ***\n") os.system('rm -f dist/*.egg; rm -f dist/*.tar.gz; rm -f dist/*.whl') os.system('python setup.py sdist bdist_wheel') # Create new tar/wheel print("\n*** Installing twine: *** (Required for PyPI uploads)\n") os.system("python -m pip install --upgrade 'twine>=1.15.0'") print("\n*** Installing tqdm: *** (Required for PyPI uploads)\n") os.system("python -m pip install --upgrade 'tqdm>=4.49.0'") print("\n*** Publishing The Release to PyPI: ***\n") os.system('python -m twine upload dist/*') # Requires ~/.pypirc Keys print("\n*** The Release was PUBLISHED SUCCESSFULLY to PyPI! :) ***\n") else: print("\n>>> The Release was NOT PUBLISHED to PyPI! <<<\n") sys.exit() setup( name='tensorpy', version='1.4.2', description='Easy Image Classification with TensorFlow!', long_description=long_description, long_description_content_type='text/markdown', url='https://github.com/TensorPy/TensorPy', platforms=["Linux", "Unix", "Mac OS-X"], author='Michael Mintz', author_email='[email protected]', maintainer='Michael Mintz', license="MIT", classifiers=[ "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", ], python_requires='>=3.5, <3.8', install_requires=[ 'tensorflow==1.15.4', 'six>=1.11.0', 'requests>=2.18.4', 'Pillow==5.4.1', 'BeautifulSoup4>=4.6.0', ], packages=['tensorpy'], entry_points={ 'console_scripts': [ 'classify = tensorpy.classify:main', ], }, )
""" The setup package to install TensorPy dependencies. *> This does NOT include TensorFlow installation. *> To install TensorFlow, use "./install.sh" """ from setuptools import setup, find_packages # noqa from os import path this_directory = path.abspath(path.dirname(__file__)) long_description = None try: with open(path.join(this_directory, 'README.md'), 'rb') as f: long_description = f.read().decode('utf-8') except IOError: long_description = 'Easy Image Classification with TensorFlow!' setup( name='tensorpy', version='1.4.2', description='Easy Image Classification with TensorFlow!', long_description=long_description, long_description_content_type='text/markdown', url='https://github.com/TensorPy/TensorPy', platforms=["Linux", "Unix", "Mac OS-X"], author='Michael Mintz', author_email='[email protected]', maintainer='Michael Mintz', license="MIT", classifiers=[ "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", ], python_requires='>=3.5, <3.8', install_requires=[ 'tensorflow==1.15.4', 'six>=1.11.0', 'requests>=2.18.4', 'Pillow==5.4.1', 'BeautifulSoup4>=4.6.0', ], packages=['tensorpy'], entry_points={ 'console_scripts': [ 'classify = tensorpy.classify:main', ], }, )
mit
Python
41f1fa3e04929cfda9df52f6f80eba5fed2150bb
Fix metadata
necaris/python3-openid,misli/python3-openid,moreati/python3-openid,moreati/python3-openid,moreati/python3-openid,misli/python3-openid,isagalaev/sm-openid,misli/python3-openid,necaris/python3-openid
setup.py
setup.py
import sys import os try: from setuptools import setup except ImportError: from distutils.core import setup if 'sdist' in sys.argv: os.system('./admin/makedoc') version = '3.0.0-alpha' setup( name='python-openid', version=version, description='OpenID support for servers and consumers.', long_description='''This is a set of Python packages to support use of the OpenID decentralized identity system in your application. Want to enable single sign-on for your web site? Use the openid.consumer package. Want to run your own OpenID server? Check out openid.server. Includes example code and support for a variety of storage back-ends.''', url='http://github.com/necaris/python3-openid', packages=['openid', 'openid.consumer', 'openid.server', 'openid.store', 'openid.yadis', 'openid.extensions', 'openid.extensions.draft', ], # license specified by classifier. # license=getLicense(), author='Rami Chowdhury', author_email='[email protected]', download_url='http://github.com/necaris/python3-openid/tarball/%s' % (version,), classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Systems Administration :: Authentication/Directory", ] )
import sys import os try: from setuptools import setup except ImportError: from distutils.core import setup if 'sdist' in sys.argv: os.system('./admin/makedoc') version = '3.0.0-alpha' setup( name='python-openid', version=version, description='OpenID support for servers and consumers.', long_description='''This is a set of Python packages to support use of the OpenID decentralized identity system in your application. Want to enable single sign-on for your web site? Use the openid.consumer package. Want to run your own OpenID server? Check out openid.server. Includes example code and support for a variety of storage back-ends.''', url='http://github.com/openid/python-openid', packages=['openid', 'openid.consumer', 'openid.server', 'openid.store', 'openid.yadis', 'openid.extensions', 'openid.extensions.draft', ], # license specified by classifier. # license=getLicense(), author='Rami Chowdhury', author_email='[email protected]', download_url='http://github.com/necaris/python3-openid/tarball/%s' % (version,), classifiers=[ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: System :: Systems Administration :: Authentication/Directory", ] )
apache-2.0
Python
52ee1ff44b51c7f6a10697354031a326a825abcc
fix for dependencies that were not specified in the module setup
GGOutfitters/conjure
setup.py
setup.py
from setuptools import setup, find_packages DESCRIPTION = "A MongoDB object mapper inspired by Django models and SQLAlchemy's pythonic DSL." with open('README') as f: LONG_DESCRIPTION = f.read() VERSION = '0.1.2' CLASSIFIERS = [ 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development :: Libraries :: Python Modules', ] setup( name='conjure', version=VERSION, packages=find_packages(), author='Stanislav Vishnevskiy', author_email='[email protected]', url='https://github.com/vishnevskiy/conjure', license='MIT', include_package_data=True, description=DESCRIPTION, long_description=LONG_DESCRIPTION, install_requires=[ 'pymongo<3.7', 'pyes', 'python-dateutil' ], platforms=['any'], classifiers=CLASSIFIERS, test_suite='tests', )
from setuptools import setup, find_packages DESCRIPTION = "A MongoDB object mapper inspired by Django models and SQLAlchemy's pythonic DSL." with open('README') as f: LONG_DESCRIPTION = f.read() VERSION = '0.1.2' CLASSIFIERS = [ 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development :: Libraries :: Python Modules', ] setup( name='conjure', version=VERSION, packages=find_packages(), author='Stanislav Vishnevskiy', author_email='[email protected]', url='https://github.com/vishnevskiy/conjure', license='MIT', include_package_data=True, description=DESCRIPTION, long_description=LONG_DESCRIPTION, install_requires=[ 'pymongo<3.7', ], platforms=['any'], classifiers=CLASSIFIERS, test_suite='tests', )
mit
Python
606ed4f5f984c4e099442ae3db017c54b330bfd8
update videos.html
ddboline/roku_app,ddboline/roku_app,ddboline/roku_app
setup.py
setup.py
#!/usr/bin/python # -*- coding: utf-8 -*- """ Created on Sun May 17 07:14:20 2015 @author: ddboline """ from __future__ import (absolute_import, division, print_function) from setuptools import setup setup( name='roku_app', version='0.0.3.7', author='Daniel Boline', author_email='[email protected]', description='roku_app', long_description='Roku Recording App', license='MIT', install_requires=['numpy'], packages=['roku_app'], package_dir={'roku_app': 'roku_app'}, package_data={'roku_app': ['roku_app/templates/*.html', ]}, entry_points={'console_scripts': ['run-recording = roku_app.record_roku:main', 'run-remcom-test = roku_app.remcom:remcom_test_main']} )
#!/usr/bin/python # -*- coding: utf-8 -*- """ Created on Sun May 17 07:14:20 2015 @author: ddboline """ from __future__ import (absolute_import, division, print_function) from setuptools import setup setup( name='roku_app', version='0.0.3.6', author='Daniel Boline', author_email='[email protected]', description='roku_app', long_description='Roku Recording App', license='MIT', install_requires=['numpy'], packages=['roku_app'], package_dir={'roku_app': 'roku_app'}, package_data={'roku_app': ['roku_app/templates/*.html', ]}, entry_points={'console_scripts': ['run-recording = roku_app.record_roku:main', 'run-remcom-test = roku_app.remcom:remcom_test_main']} )
mit
Python
ca7df2103a2e53f0b401c7004a2a5e942bd3e7e1
Remove PIL and docutils from requirements, easy_thumbnails requires it anyway
winzard/django-image-cropping,henriquechehad/django-image-cropping,henriquechehad/django-image-cropping,winzard/django-image-cropping,henriquechehad/django-image-cropping,winzard/django-image-cropping
setup.py
setup.py
from distutils.core import setup from setuptools import setup, find_packages setup(name = "django-image-cropping", version = "0.3.0", description = "A reusable app for cropping images easily and non-destructively in Django", long_description=open('README.rst').read(), author = "jonasvp", author_email = "[email protected]", url = "http://github.com/jonasundderwolf/django-image-cropping", #Name the folder where your packages live: #(If you have other packages (dirs) or modules (py files) then #put them into the package directory - they will be found #recursively.) packages = find_packages(), include_package_data=True, install_requires = [ 'easy_thumbnails', ], classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development :: Libraries :: Python Modules', ], )
from distutils.core import setup from setuptools import setup, find_packages setup(name = "django-image-cropping", version = "0.3.0", description = "A reusable app for cropping images easily and non-destructively in Django", long_description=open('README.rst').read(), author = "jonasvp", author_email = "[email protected]", url = "http://github.com/jonasundderwolf/django-image-cropping", #Name the folder where your packages live: #(If you have other packages (dirs) or modules (py files) then #put them into the package directory - they will be found #recursively.) packages = find_packages(), include_package_data=True, install_requires = [ 'docutils', 'PIL', 'easy_thumbnails', ], classifiers = [ 'Development Status :: 4 - Beta', 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development :: Libraries :: Python Modules', ], )
bsd-3-clause
Python
d497942fedb3096b291f887b70ca231c203e6b85
Bump version.
christabor/flask_jsondash,christabor/flask_jsondash,christabor/flask_jsondash
setup.py
setup.py
"""Setup for Flask Jsondash.""" from glob import glob import os from setuptools import setup, find_packages SRCDIR = '.' folder = os.path.abspath(os.path.dirname(__file__)) template_start = '{}/flask_jsondash/templates'.format(folder) static_start = '{}/flask_jsondash/static'.format(folder) def get_all_files(pattern, start_dir=None): """Get all subdirectory files specified by `pattern`.""" paths = [] if start_dir is None: start_dir = os.getcwd() for root, dirs, files in os.walk(start_dir): globbed = glob(os.path.join(root, pattern)) paths.extend(globbed) return paths def readme(): """Grab the long README file.""" try: with open('README.md', 'r') as fobj: return fobj.read() except IOError: try: with open('README.rst', 'r') as fobj: return fobj.read() except IOError: return 'No README specified.' def get_requires(): """Extract the requirements from a standard requirements.txt file.""" path = '{}/requirements.txt'.format(folder) with open(path) as reqs: return [req for req in reqs.readlines() if req] # Recursively retrieve all package data (static files) # Make sure static data exists, except uncompiled source (sass, etc) js_files = get_all_files('*.js', start_dir='{}/js'.format(static_start)) css_files = get_all_files('*.css', start_dir='{}/css'.format(static_start)) html_files = get_all_files('*.html', start_dir=template_start) staticfiles = js_files + css_files + html_files setup( name='flask_jsondash', version='3.4.1', description=('Easily configurable, chart dashboards from any ' 'arbitrary API endpoint. JSON config only. Ready to go.'), long_description=readme(), author='Chris Tabor', author_email='[email protected]', url='https://github.com/christabor/flask_jsondash', license='MIT', classifiers=[ 'Topic :: Software Development', 'Programming Language :: Python :: 2.7', ], package_dir={'': SRCDIR}, packages=find_packages(SRCDIR, exclude=['ez_setup', 'examples', 'tests']), package_data=dict(flask_jsondash=staticfiles), zip_safe=False, include_package_data=True, )
"""Setup for Flask Jsondash.""" from glob import glob import os from setuptools import setup, find_packages SRCDIR = '.' folder = os.path.abspath(os.path.dirname(__file__)) template_start = '{}/flask_jsondash/templates'.format(folder) static_start = '{}/flask_jsondash/static'.format(folder) def get_all_files(pattern, start_dir=None): """Get all subdirectory files specified by `pattern`.""" paths = [] if start_dir is None: start_dir = os.getcwd() for root, dirs, files in os.walk(start_dir): globbed = glob(os.path.join(root, pattern)) paths.extend(globbed) return paths def readme(): """Grab the long README file.""" try: with open('README.md', 'r') as fobj: return fobj.read() except IOError: try: with open('README.rst', 'r') as fobj: return fobj.read() except IOError: return 'No README specified.' def get_requires(): """Extract the requirements from a standard requirements.txt file.""" path = '{}/requirements.txt'.format(folder) with open(path) as reqs: return [req for req in reqs.readlines() if req] # Recursively retrieve all package data (static files) # Make sure static data exists, except uncompiled source (sass, etc) js_files = get_all_files('*.js', start_dir='{}/js'.format(static_start)) css_files = get_all_files('*.css', start_dir='{}/css'.format(static_start)) html_files = get_all_files('*.html', start_dir=template_start) staticfiles = js_files + css_files + html_files setup( name='flask_jsondash', version='3.3.1', description=('Easily configurable, chart dashboards from any ' 'arbitrary API endpoint. JSON config only. Ready to go.'), long_description=readme(), author='Chris Tabor', author_email='[email protected]', url='https://github.com/christabor/flask_jsondash', license='MIT', classifiers=[ 'Topic :: Software Development', 'Programming Language :: Python :: 2.7', ], package_dir={'': SRCDIR}, packages=find_packages(SRCDIR, exclude=['ez_setup', 'examples', 'tests']), package_data=dict(flask_jsondash=staticfiles), zip_safe=False, include_package_data=True, )
mit
Python
5c1397fd563f30741f71f07433722dfe3f5a322d
Update pypi.python.org URL to pypi.org (#21)
JoshData/python-email-validator,JoshData/python-email-validator
setup.py
setup.py
# -*- coding: utf-8 -*- import sys from setuptools import setup, find_packages from codecs import open setup( name='email_validator', version='1.0.3', description='A robust email syntax and deliverability validation library for Python 2.x/3.x.', long_description=open("README.rst", encoding='utf-8').read(), url='https://github.com/JoshData/python-email-validator', author=u'Joshua Tauberer', author_email=u'[email protected]', license='CC0 (copyright waived)', # See https://pypi.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 5 - Production/Stable', 'License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication', 'Intended Audience :: Developers', 'Topic :: Software Development :: Libraries :: Python Modules', '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', ], keywords="email address validator", packages=find_packages(), install_requires=[ "idna>=2.0.0", "dnspython>=1.15.0"], entry_points={ 'console_scripts': [ 'email_validator=email_validator:main', ], }, )
# -*- coding: utf-8 -*- import sys from setuptools import setup, find_packages from codecs import open setup( name='email_validator', version='1.0.3', description='A robust email syntax and deliverability validation library for Python 2.x/3.x.', long_description=open("README.rst", encoding='utf-8').read(), url='https://github.com/JoshData/python-email-validator', author=u'Joshua Tauberer', author_email=u'[email protected]', license='CC0 (copyright waived)', # See https://pypi.python.org/pypi?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 5 - Production/Stable', 'License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication', 'Intended Audience :: Developers', 'Topic :: Software Development :: Libraries :: Python Modules', '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', ], keywords="email address validator", packages=find_packages(), install_requires=[ "idna>=2.0.0", "dnspython>=1.15.0"], entry_points={ 'console_scripts': [ 'email_validator=email_validator:main', ], }, )
cc0-1.0
Python
acdeb233acd9d3f5e1b5e7e5c9df6030fdb0cd85
Fix bugs in setup.py.
isnotajoke/django-analyze-sessions
setup.py
setup.py
from distutils.core import setup setup( name='django-analyze-sessions', version='0.1', author='Kevan Carstensen', author_email='[email protected]', packages=['analyze_sessions', 'analyze_sessions.management', 'analyze_sessions.management.commands'], url='http://isnotajoke.com', license='LICENSE.txt', description='Tools to analyze Django DB sessions', long_description=open('README.md').read(), install_requires=[ "Django >= 1.3.0", ], )
from distutils.core import setup setup( name='django-analyze-sesions', version='0.1', author='Kevan Carstensen', author_email='[email protected]', packages=['analyze_sessions'], url='http://isnotajoke.com', license='LICENSE.txt', description='Tools to analyze Django DB sessions', long_description=open('README.md').read(), install_requires=[ "Django >= 1.3.0", ], )
mit
Python
29023d781b817db58686e23ff47e134f63b1a86e
Add python version dependency in setup
epsy/sigtools,epsy/sigtools
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup with open("README.rst") as fh: long_description = fh.read() setup( name='sigtools', version='2.0.2', description="Utilities for working with inspect.Signature objects.", long_description=long_description, long_description_content_type='text/x-rst', license='MIT', author='Yann Kaiser', author_email='[email protected]', url='https://sigtools.readthedocs.io/', packages=['sigtools', 'sigtools.tests'], tests_require=[ 'repeated_test', 'sphinx', 'mock', 'coverage', 'unittest2' ], install_requires=['six'], python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*', extras_require={ ':python_version in "2.6 2.7 3.2"': ['funcsigs>=0.4'], ':python_version in "2.6"': ['ordereddict'], }, test_suite='unittest2.collector', keywords='introspection signature', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', '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', 'Programming Language :: Python :: 3.7', 'Topic :: Software Development :: Libraries :: Python Modules', ], )
#!/usr/bin/env python from setuptools import setup with open("README.rst") as fh: long_description = fh.read() setup( name='sigtools', version='2.0.2', description="Utilities for working with inspect.Signature objects.", long_description=long_description, long_description_content_type='text/x-rst', license='MIT', author='Yann Kaiser', author_email='[email protected]', url='https://sigtools.readthedocs.io/', packages=['sigtools', 'sigtools.tests'], tests_require=[ 'repeated_test', 'sphinx', 'mock', 'coverage', 'unittest2' ], install_requires=['six'], extras_require={ ':python_version in "2.6 2.7 3.2"': ['funcsigs>=0.4'], ':python_version in "2.6"': ['ordereddict'], }, test_suite='unittest2.collector', keywords='introspection signature', classifiers=[ 'Development Status :: 5 - Production/Stable', 'Intended Audience :: Developers', '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', 'Programming Language :: Python :: 3.7', 'Topic :: Software Development :: Libraries :: Python Modules', ], )
mit
Python
86954efce4f93f4614137a262d94b6acffa8521f
Remove the upper bound
bruth/django-tracking2,bruth/django-tracking2
setup.py
setup.py
from setuptools import setup, find_packages kwargs = { 'packages': find_packages( exclude=['tests', '*.tests', '*.tests.*', 'tests.*']), 'include_package_data': True, 'install_requires': [ 'django>=1.4', ], 'name': 'django-tracking2', 'version': __import__('tracking').get_version(), 'author': 'Byron Ruth', 'author_email': '[email protected]', 'description': ('django-tracking2 tracks the length of time visitors ' 'and registered users spend on your site'), 'license': 'BSD', 'keywords': 'visitor tracking time analytics', 'url': 'https://github.com/bruth/django-tracking2', 'classifiers': [ 'Development Status :: 4 - Beta', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Topic :: Internet :: WWW/HTTP', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', ], } setup(**kwargs)
from setuptools import setup, find_packages kwargs = { 'packages': find_packages( exclude=['tests', '*.tests', '*.tests.*', 'tests.*']), 'include_package_data': True, 'install_requires': [ 'django>=1.4,<1.8', ], 'name': 'django-tracking2', 'version': __import__('tracking').get_version(), 'author': 'Byron Ruth', 'author_email': '[email protected]', 'description': ('django-tracking2 tracks the length of time visitors ' 'and registered users spend on your site'), 'license': 'BSD', 'keywords': 'visitor tracking time analytics', 'url': 'https://github.com/bruth/django-tracking2', 'classifiers': [ 'Development Status :: 4 - Beta', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Topic :: Internet :: WWW/HTTP', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', ], } setup(**kwargs)
bsd-2-clause
Python
29fb5c36e7f2dd647c18d30ad026b1de6ff03821
Update dev status
pastas/pasta,gwtsa/gwtsa,pastas/pastas
setup.py
setup.py
from setuptools import setup # from setuptools import find_packages # from os import path # from codecs import open # To use a consistent encoding # here = path.abspath(path.dirname(__file__)) # # Get the long description from the relevant file # with open(path.join(here, 'README'), encoding='utf-8') as f: # long_description = f.read() l_d = '' try: import pypandoc l_d = pypandoc.convert('README.md', 'rst') except: pass # Set the version. Possibly this can be converted to another method such as Numpy # is using in the future. https://github.com/numpy/numpy/blob/master/setup.py # DO NOT USE from gwtsa import __version__ as it causes problems with Travis. MAJOR = 0 MINOR = 0 MICRO = 1 ISRELEASED = False VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO) setup( name='gwtsa', # Versions should comply with PEP440. For a discussion on single-sourcing # the version across setup.py and the project code, see # http://packaging.python.org/en/latest/tutorial.html#version version=VERSION, description='Open Source Time Series Analysis', long_description=l_d, # The project's main homepage. url='https://github.com/gwtsa/gwtsa', # Author details author='Mark Bakker', author_email='[email protected]', # Choose your license license='MIT', # See https://PyPI.python.org/PyPI?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 3 - Alpha', # Indicate who your project is intended for # 'Intended Audience :: Groundwater Modelers', # Pick yor license as you wish (should match "license" above) 'License :: OSI Approved :: MIT License', # Specify the Python versions you support here. In particular, ensure # that you indicate whether you support Python 2, Python 3 or both. 'Programming Language :: Python :: 2.7' ], platforms='Windows, Mac OS-X', install_requires=['numpy>=1.9', 'matplotlib>=1.4', 'lmfit>=0.9', 'pandas>=0.15', 'scipy>=0.15', 'statsmodels>=0.5', 'tabulate', 'requests', 'pyproj'], packages=['gwtsa'], include_package_data=True, )
from setuptools import setup # from setuptools import find_packages # from os import path # from codecs import open # To use a consistent encoding # here = path.abspath(path.dirname(__file__)) # # Get the long description from the relevant file # with open(path.join(here, 'README'), encoding='utf-8') as f: # long_description = f.read() l_d = '' try: import pypandoc l_d = pypandoc.convert('README.md', 'rst') except: pass # Set the version. Possibly this can be converted to another method such as Numpy # is using in the future. https://github.com/numpy/numpy/blob/master/setup.py # DO NOT USE from gwtsa import __version__ as it causes problems with Travis. MAJOR = 0 MINOR = 0 MICRO = 1 ISRELEASED = False VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO) setup( name='gwtsa', # Versions should comply with PEP440. For a discussion on single-sourcing # the version across setup.py and the project code, see # http://packaging.python.org/en/latest/tutorial.html#version version=VERSION, description='Open Source Time Series Analysis', long_description=l_d, # The project's main homepage. url='https://github.com/gwtsa/gwtsa', # Author details author='Mark Bakker', author_email='[email protected]', # Choose your license license='MIT', # See https://PyPI.python.org/PyPI?%3Aaction=list_classifiers classifiers=[ 'Development Status :: 1 - Planning', # Indicate who your project is intended for # 'Intended Audience :: Groundwater Modelers', # Pick yor license as you wish (should match "license" above) 'License :: OSI Approved :: MIT License', # Specify the Python versions you support here. In particular, ensure # that you indicate whether you support Python 2, Python 3 or both. 'Programming Language :: Python :: 2.7' ], platforms='Windows, Mac OS-X', install_requires=['numpy>=1.9', 'matplotlib>=1.4', 'lmfit>=0.9', 'pandas>=0.15', 'scipy>=0.15', 'statsmodels>=0.5', 'tabulate', 'requests', 'pyproj'], packages=['gwtsa'], include_package_data=True, )
mit
Python
80d50feb7353067f2477c4e21be833e1d37d3999
Bump pypi version
imbolc/aiohttp-login,imbolc/aiohttp-login
setup.py
setup.py
#!/usr/bin/env python import os import sys from setuptools import setup try: import pandoc except ImportError: pandoc = None if sys.argv[-1] == 'publish': assert pandoc, 'You have to do: pip install pyandoc' os.system('python setup.py sdist upload') sys.exit(0) def read(fname): with open(fname) as f: return f.read() def get_description(): with open('README.md') as f: desc = f.read() short = desc.split('===\n')[1].strip().split('\n')[0] if pandoc: doc = pandoc.Document() doc.markdown = desc.encode('utf-8') desc = doc.rst.decode('utf-8') return short, desc install_requires = [ l for l in read('requirements.txt').splitlines() if l and not l.startswith('#')] short, desc = get_description() setup( version='1.0.1', name='aiohttp-login', url='https://github.com/imbolc/aiohttp-login', description=short, long_description=desc, packages=['aiohttp_login'], author='Imbolc', author_email='[email protected]', license='ISC', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: ISC License (ISCL)', 'Programming Language :: Python', 'Programming Language :: Python :: 3', ], install_requires=install_requires, include_package_data=True )
#!/usr/bin/env python import os import sys from setuptools import setup try: import pandoc except ImportError: pandoc = None if sys.argv[-1] == 'publish': assert pandoc, 'You have to do: pip install pyandoc' os.system('python setup.py sdist upload') sys.exit(0) def read(fname): with open(fname) as f: return f.read() def get_description(): with open('README.md') as f: desc = f.read() short = desc.split('===\n')[1].strip().split('\n')[0] if pandoc: doc = pandoc.Document() doc.markdown = desc.encode('utf-8') desc = doc.rst.decode('utf-8') return short, desc install_requires = [ l for l in read('requirements.txt').splitlines() if l and not l.startswith('#')] short, desc = get_description() setup( version='1.0.0', name='aiohttp-login', url='https://github.com/imbolc/aiohttp-login', description=short, long_description=desc, packages=['aiohttp_login'], author='Imbolc', author_email='[email protected]', license='ISC', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'License :: OSI Approved :: ISC License (ISCL)', 'Programming Language :: Python', 'Programming Language :: Python :: 3', ], install_requires=install_requires, include_package_data=True )
isc
Python
e78044306dd1a7c7484e5bd83bc0cda7d6bc2c75
bump version
lincolnloop/django-salmonella,lincolnloop/django-salmonella,Gustavosdo/django-salmonella,lincolnloop/django-salmonella,lincolnloop/django-salmonella,Gustavosdo/django-salmonella,Gustavosdo/django-salmonella
setup.py
setup.py
from setuptools import setup, find_packages setup( name="django-salmonella", version="0.2.1", author='Lincoln Loop', author_email='[email protected]', description=("raw_id_fields widget replacement that handles display of an object's " "string value on change and can be overridden via a template."), packages=find_packages(), url="http://github.com/lincolnloop/django-salmonella/", install_requires=['setuptools'], classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development :: Libraries :: Python Modules' ] )
from setuptools import setup, find_packages setup( name="django-salmonella", version="0.2.0", author='Lincoln Loop', author_email='[email protected]', description=("raw_id_fields widget replacement that handles display of an object's " "string value on change and can be overridden via a template."), packages=find_packages(), url="http://github.com/lincolnloop/django-salmonella/", install_requires=['setuptools'], classifiers=[ 'Development Status :: 3 - Alpha', 'Environment :: Web Environment', 'Framework :: Django', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Topic :: Software Development :: Libraries :: Python Modules' ] )
mit
Python
dc6d19fa8f967741ea209be529946e0232e3be28
Set version to 1.0.1.
appressoas/vitalstyles,appressoas/vitalstyles
setup.py
setup.py
from setuptools import setup, find_packages setup( name = 'vitalstyles', description = 'Generate CSS/SASS/LESS documentation with previews using Markdown in comments.', version = '1.0.1', license = 'BSD', author = 'Espen Angell Kristiansen', author_email = '[email protected]', url = 'https://github.com/appressoas/vitalstyles', packages=find_packages(exclude=['manage']), install_requires = [ 'setuptools', 'Markdown', 'Jinja2', 'pygments', ], classifiers = [ 'Intended Audience :: Developers', 'License :: OSI Approved', 'Programming Language :: Python' ], include_package_data=True, zip_safe=True, entry_points = { 'console_scripts': [ 'vitalstyles-cli = vitalstyles.cli:cli', ], }, )
from setuptools import setup, find_packages setup( name = 'vitalstyles', description = 'Generate CSS/SASS/LESS documentation with previews using Markdown in comments.', version = '1.0', license = 'BSD', author = 'Espen Angell Kristiansen', author_email = '[email protected]', url = 'https://github.com/appressoas/vitalstyles', packages=find_packages(exclude=['manage']), install_requires = [ 'setuptools', 'Markdown', 'Jinja2', 'pygments', ], classifiers = [ 'Intended Audience :: Developers', 'License :: OSI Approved', 'Programming Language :: Python' ], include_package_data=True, zip_safe=True, entry_points = { 'console_scripts': [ 'vitalstyles-cli = vitalstyles.cli:cli', ], }, )
bsd-3-clause
Python
4117539f0e2c377ebaf50120a4a3205b5cfa952e
Bump dependency versions
kislyuk/aegea,kislyuk/aegea,kislyuk/aegea
setup.py
setup.py
#!/usr/bin/env python import os, sys, glob, subprocess, textwrap, setuptools try: # Git version extraction logic designed to be compatible with both semver and PEP 440 version = subprocess.check_output(["git", "describe", "--tags", "--match", "v*.*.*"]).decode() version = version.strip("v\n").replace("-", "+", 1).replace("-", ".") except Exception: version = "0.0.0" setuptools.setup( name="aegea", version=version, url="https://github.com/kislyuk/aegea", license=open("LICENSE.md").readline().strip(), author="Andrey Kislyuk", author_email="[email protected]", description="Amazon Web Services Operator Interface", long_description=open("README.rst").read(), install_requires=[ "boto3 >= 1.16.43, < 2", "argcomplete >= 1.9.5, < 2", "paramiko >= 2.4.2, < 3", "requests >= 2.18.4, < 3", "tweak >= 1.0.3, < 2", "keymaker >= 1.1.0, < 2", "pyyaml >= 3.12, < 6", "python-dateutil >= 2.6.1, < 3", "babel >= 2.4.0, < 3", "ipwhois >= 1.1.0, < 2", "uritemplate >= 3.0.0, < 4", "awscli >= 1.18.203, < 2", "chalice >= 1.21.7, < 2" ], extras_require={ ':python_version == "2.7"': [ "enum34 >= 1.1.6, < 2", "ipaddress >= 1.0.19, < 2", "subprocess32 >= 3.2.7, < 4" ] }, tests_require=[ "coverage", "flake8", "mypy" ], packages=setuptools.find_packages(exclude=["test"]), scripts=glob.glob("scripts/*"), platforms=["MacOS X", "Posix"], test_suite="test", include_package_data=True )
#!/usr/bin/env python import os, sys, glob, subprocess, textwrap, setuptools try: # Git version extraction logic designed to be compatible with both semver and PEP 440 version = subprocess.check_output(["git", "describe", "--tags", "--match", "v*.*.*"]).decode() version = version.strip("v\n").replace("-", "+", 1).replace("-", ".") except Exception: version = "0.0.0" setuptools.setup( name="aegea", version=version, url="https://github.com/kislyuk/aegea", license=open("LICENSE.md").readline().strip(), author="Andrey Kislyuk", author_email="[email protected]", description="Amazon Web Services Operator Interface", long_description=open("README.rst").read(), install_requires=[ "boto3 >= 1.14.20, < 2", "argcomplete >= 1.9.5, < 2", "paramiko >= 2.4.2, < 3", "requests >= 2.18.4, < 3", "tweak >= 1.0.3, < 2", "keymaker >= 1.1.0, < 2", "pyyaml >= 3.12, < 6", "python-dateutil >= 2.6.1, < 3", "babel >= 2.4.0, < 3", "ipwhois >= 1.1.0, < 2", "uritemplate >= 3.0.0, < 4", "awscli >= 1.17.14, < 2", "chalice >= 1.15.1, < 2" ], extras_require={ ':python_version == "2.7"': [ "enum34 >= 1.1.6, < 2", "ipaddress >= 1.0.19, < 2", "subprocess32 >= 3.2.7, < 4" ] }, tests_require=[ "coverage", "flake8", "mypy" ], packages=setuptools.find_packages(exclude=["test"]), scripts=glob.glob("scripts/*"), platforms=["MacOS X", "Posix"], test_suite="test", include_package_data=True )
apache-2.0
Python
c46da7419dee72f543ea289eb6b6531dfa31a280
Update version
growdaisy/pysend
setup.py
setup.py
"""PySend """ from setuptools import setup, find_packages from codecs import open from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() setup( name='pysend', version='0.0.2', description='Unified interface for sending email', long_description=long_description, url='https://github.com/growdaisy/pysend', author='Pokey Rule', author_email='[email protected]', license='MIT', classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'Topic :: Communications :: Email', '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.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', ], keywords='email smtp sendgrid', packages=find_packages(exclude=['contrib', 'docs', 'tests*']), install_requires=['requests'], )
"""PySend """ from setuptools import setup, find_packages from codecs import open from os import path here = path.abspath(path.dirname(__file__)) # Get the long description from the README file with open(path.join(here, 'README.rst'), encoding='utf-8') as f: long_description = f.read() setup( name='pysend', version='0.0.1', description='Unified interface for sending email', long_description=long_description, url='https://github.com/growdaisy/pysend', author='Pokey Rule', author_email='[email protected]', license='MIT', classifiers=[ 'Development Status :: 3 - Alpha', 'Intended Audience :: Developers', 'Topic :: Communications :: Email', '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.2', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', ], keywords='email smtp sendgrid', packages=find_packages(exclude=['contrib', 'docs', 'tests*']), install_requires=['requests'], )
mit
Python
4b3dc61e5cb46774cf647f8c640b280aae1e4e90
Handle symlinks in path to home directory
TobiX/dotfiles,TobiX/dotfiles
setup.py
setup.py
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # © 2017-2021 qsuscs, TobiX # Should still run with Python 2.7... from __future__ import print_function, unicode_literals import os import sys from glob import glob os.chdir(os.path.dirname(os.path.abspath(__file__))) home = os.path.realpath(os.path.expanduser('~')) exit = 0 for f in glob('dot.*'): dst_home = f[3:].replace("--", "\ufffd").replace("-", "/").replace("\ufffd", "-") dst = home + '/' + dst_home src = os.path.join(os.getcwd(), f) src_rel = os.path.relpath(src, os.path.dirname(dst)) try: os.makedirs(os.path.dirname(dst)) except OSError: pass try: os.symlink(src_rel, dst) except OSError: # Broken symbolic links do not "exist" if not os.path.exists(dst): print('"{}" is a broken link pointing to "{}", replacing.'.format( dst_home, os.readlink(dst))) os.remove(dst) os.symlink(src_rel, dst) elif not os.path.samefile(src, dst): print('"{}" exists and does not link to "{}".'.format(dst_home, f)) exit = 1 sys.exit(exit)
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # © 2017-2019 qsuscs, TobiX # Should still run with Python 2.7... from __future__ import print_function, unicode_literals import os import sys from glob import glob os.chdir(os.path.dirname(os.path.abspath(__file__))) exit = 0 for f in glob('dot.*'): dst_home = '~/' + f[3:].replace("--", "\ufffd").replace("-", "/").replace("\ufffd", "-") dst = os.path.expanduser(dst_home) src = os.path.join(os.getcwd(), f) src_rel = os.path.relpath(src, os.path.dirname(dst)) try: os.makedirs(os.path.dirname(dst)) except OSError: pass try: os.symlink(src_rel, dst) except OSError: # Broken symbolic links do not "exist" if not os.path.exists(dst): print('"{}" is a broken link pointing to "{}", replacing.'.format( dst_home, os.readlink(dst))) os.remove(dst) os.symlink(src_rel, dst) elif not os.path.samefile(src, dst): print('"{}" exists and does not link to "{}".'.format(dst_home, f)) exit = 1 sys.exit(exit)
isc
Python
32fe723d195d03f68714d3b97d77f2ce34e02e13
Bump version and Python version.
ppb/ppb-vector,ppb/ppb-vector
setup.py
setup.py
from setuptools import setup setup( name='ppb-vector', version='0.3', packages=['ppb_vector'], url='http://github.com/pathunstrom/ppb-vector', license='', author='Piper Thunstrom', author_email='[email protected]', description='A basic game development Vector2 class.', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Topic :: Software Development', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.6' ] )
from setuptools import setup setup( name='ppb-vector', version='0.2', packages=['ppb_vector'], url='http://github.com/pathunstrom/ppb-vector', license='', author='Piper Thunstrom', author_email='[email protected]', description='A basic game development Vector2 class.', classifiers=[ 'Development Status :: 4 - Beta', 'Intended Audience :: Developers', 'Topic :: Software Development', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3.5' ] )
artistic-2.0
Python
7cd6bdb80649f6ef903cd8356b5c417fbb84cad4
Add twistedcaldav.directory to packages.
trevor/calendarserver,trevor/calendarserver,trevor/calendarserver
setup.py
setup.py
#!/usr/bin/env python ## # Copyright (c) 2006 Apple Computer, 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. # # DRI: Wilfredo Sanchez, [email protected] ## import sys import os # # Compute the version number. # svnversion = os.popen("svnversion -n %r trunk" % (os.path.dirname(__file__),)) svn_revision = svnversion.read() svnversion.close() if "S" in svn_revision: # FIXME: Get release version from svn URL. print "Working copy (%s) is not trunk. Unable to determine version number." % (svn_revision,) sys.exit(1) elif svn_revision == "exported": # Weird Apple thing: Get the B&I version number from the path segments = __file__.split(os.path.sep)[:-1] segments.reverse() for segment in segments: try: version = segment[segment.rindex("-")+1:] break except ValueError: continue else: version = "unknown" else: version = "dev." + svn_revision # # Options # description = "CalDAV protocol extensions to twisted.web2.dav", long_description = """ Extends twisted.web2.dav to implement CalDAV-aware resources and methods. """ classifiers = None # # Write version file # version_file = file(os.path.join("twistedcaldav", "version.py"), "w") version_file.write('version = "%s"\n' % (version,)) version_file.close() # # Run setup # from distutils.core import setup setup( name = "twistedcaldav", version = version, description = description, long_description = long_description, url = None, classifiers = classifiers, author = "Apple Computer, Inc.", author_email = None, license = None, platforms = [ "all" ], packages = [ "twistedcaldav", "twistedcaldav.directory", "twistedcaldav.method", "twistedcaldav.query" ], scripts = [ "bin/caldavd" ], data_files = [("caldavd", ["conf/repository.xml", "conf/caldavd.plist"]),], )
#!/usr/bin/env python ## # Copyright (c) 2006 Apple Computer, 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. # # DRI: Wilfredo Sanchez, [email protected] ## import sys import os # # Compute the version number. # svnversion = os.popen("svnversion -n %r trunk" % (os.path.dirname(__file__),)) svn_revision = svnversion.read() svnversion.close() if "S" in svn_revision: # FIXME: Get release version from svn URL. print "Working copy (%s) is not trunk. Unable to determine version number." % (svn_revision,) sys.exit(1) elif svn_revision == "exported": # Weird Apple thing: Get the B&I version number from the path segments = __file__.split(os.path.sep)[:-1] segments.reverse() for segment in segments: try: version = segment[segment.rindex("-")+1:] break except ValueError: continue else: version = "unknown" else: version = "dev." + svn_revision # # Options # description = "CalDAV protocol extensions to twisted.web2.dav", long_description = """ Extends twisted.web2.dav to implement CalDAV-aware resources and methods. """ classifiers = None # # Write version file # version_file = file(os.path.join("twistedcaldav", "version.py"), "w") version_file.write('version = "%s"\n' % (version,)) version_file.close() # # Run setup # from distutils.core import setup setup( name = "twistedcaldav", version = version, description = description, long_description = long_description, url = None, classifiers = classifiers, author = "Apple Computer, Inc.", author_email = None, license = None, platforms = [ "all" ], packages = [ "twistedcaldav", "twistedcaldav.method", "twistedcaldav.query" ], scripts = [ "bin/caldavd" ], data_files = [("caldavd", ["conf/repository.xml", "conf/caldavd.plist"]),], )
apache-2.0
Python
5ef63a4400669a67ab09d9a822ace4f7e6c5acf5
Add sphinx and spelling packages to setup.py
jongiddy/jute,jongiddy/jute
setup.py
setup.py
from distutils.core import setup GITHUB_URL = 'https://github.com/jongiddy/jute' VERSION = '0.1.8' def contents_of(filename): with open(filename, encoding='utf-8') as f: return f.read() setup( name='jute', packages=['jute'], package_dir={'jute': 'python3/jute'}, version=VERSION, description='Interface module that verifies both providers and callers', long_description=contents_of('README.rst'), keywords=['interface', 'polymorphism'], author='Jonathan Patrick Giddy', author_email='[email protected]', url=GITHUB_URL, download_url='{}/tarball/v{}'.format(GITHUB_URL, VERSION), classifiers=[ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Natural Language :: English", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Libraries :: Python Modules", ], extras_require={ 'doc': [ "pyenchant", # pre-requisite for sphinxcontrib-spelling "sphinx", "sphinxcontrib-spelling", ], }, )
from distutils.core import setup GITHUB_URL = 'https://github.com/jongiddy/jute' VERSION = '0.1.8' def contents_of(filename): with open(filename, encoding='utf-8') as f: return f.read() setup( name='jute', packages=['jute'], package_dir={'jute': 'python3/jute'}, version=VERSION, description='Interface module that verifies both providers and callers', long_description=contents_of('README.rst'), keywords=['interface', 'polymorphism'], author='Jonathan Patrick Giddy', author_email='[email protected]', url=GITHUB_URL, download_url='{}/tarball/v{}'.format(GITHUB_URL, VERSION), classifiers=[ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Natural Language :: English", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3 :: Only", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Libraries :: Python Modules", ], )
mit
Python
6e2f22d4e710e90100387f62715282c58612e102
Add install_requires.
paultag/loofah
setup.py
setup.py
#!/usr/bin/env python from setuptools import setup long_description = open('README.md', 'r').read() with open('requirements.txt') as f: install_requires = [l for l in f.read().splitlines() if not l.startswith('#')] setup( name="loofah", version="0.1", packages=[ "loofah" ], author="Paul Tagliamonte", author_email="[email protected]", long_description=long_description, description='does some stuff with things & stuff', install_requires=install_requires, license="Expat", url="", platforms=['any'] )
#!/usr/bin/env python from setuptools import setup long_description = open('README.md', 'r').read() setup( name="loofah", version="0.1", packages=[ "loofah" ], author="Paul Tagliamonte", author_email="[email protected]", long_description=long_description, description='does some stuff with things & stuff', license="Expat", url="", platforms=['any'] )
mit
Python
e4b441a38e8a68d8b1e697a6e5e0cb818ea2eb64
bump other packages too
erik/lastcast
setup.py
setup.py
import sys from setuptools import setup # Be verbose about Python < 3.6 being deprecated. if sys.version_info < (3, 6): print('\n' * 3 + '*' * 64) print('lastcast requires Python 3.6+, and might be broken if run with\n' 'this version of Python.') print('*' * 64 + '\n' * 3) setup( name='lastcast', version='2.0.1', description='Scrobble music to last.fm from Chromecast.', author='Erik Price', url='https://github.com/erik/lastcast', packages=['lastcast'], entry_points={ 'console_scripts': [ 'lastcast = lastcast.__main__:main', ], }, license='MIT', classifiers=[ "Programming Language :: Python", "Programming Language :: Python :: 3", "Operating System :: OS Independent", ], install_requires=[ 'PyChromecast==12.1.4', 'click==8.1.3', 'pylast==5.0.0', 'toml==0.10.2', ] )
import sys from setuptools import setup # Be verbose about Python < 3.6 being deprecated. if sys.version_info < (3, 6): print('\n' * 3 + '*' * 64) print('lastcast requires Python 3.6+, and might be broken if run with\n' 'this version of Python.') print('*' * 64 + '\n' * 3) setup( name='lastcast', version='2.0.1', description='Scrobble music to last.fm from Chromecast.', author='Erik Price', url='https://github.com/erik/lastcast', packages=['lastcast'], entry_points={ 'console_scripts': [ 'lastcast = lastcast.__main__:main', ], }, license='MIT', classifiers=[ "Programming Language :: Python", "Programming Language :: Python :: 3", "Operating System :: OS Independent", ], install_requires=[ 'PyChromecast==12.1.4', 'click==6.7', 'pylast==1.7.0', 'toml==0.9.4', ] )
mit
Python
1680cc753010ca267cdcc12ae414e6083baeb686
bump version
harmslab/pytc-gui,harmslab/pytc-gui
setup.py
setup.py
import sys if sys.version_info[0] < 3: sys.exit('Sorry, Python < 3.x is not supported') # Try using setuptools first, if it's installed from setuptools import setup, find_packages packages = ["pytc_gui", "pytc_gui/dialogs", "pytc_gui/widgets", "pytc_gui/widgets/experiment_box", "pytc_gui/widgets/experiment_box/experiment_dialog"] # Need to add all dependencies to setup as we go! setup(name='pytc-gui', packages=packages, version='1.2.3', description="PyQt5 GUI for pytc API", long_description=open("README.rst").read(), author='Hiranmayi Duvvuri', author_email='[email protected]', url='https://github.com/harmslab/pytc-gui', download_url='https://github.com/harmslab/pytc-gui/tarball/1.2.2', zip_safe=False, install_requires=["pytc-fitter>=1.1.5","seaborn","pyqt5"], package_data={"pytc_gui":["*.png","widgets/experiment_box/icons/*.png"]}, classifiers=['Programming Language :: Python'], entry_points = { 'gui_scripts': [ 'pytc-gui = pytc_gui.main_window:main' ] })
import sys if sys.version_info[0] < 3: sys.exit('Sorry, Python < 3.x is not supported') # Try using setuptools first, if it's installed from setuptools import setup, find_packages packages = ["pytc_gui", "pytc_gui/dialogs", "pytc_gui/widgets", "pytc_gui/widgets/experiment_box", "pytc_gui/widgets/experiment_box/experiment_dialog"] # Need to add all dependencies to setup as we go! setup(name='pytc-gui', packages=packages, version='1.2.2', description="PyQt5 GUI for pytc API", long_description=open("README.rst").read(), author='Hiranmayi Duvvuri', author_email='[email protected]', url='https://github.com/harmslab/pytc-gui', download_url='https://github.com/harmslab/pytc-gui/tarball/1.2.2', zip_safe=False, install_requires=["pytc-fitter>=1.1.5","seaborn","pyqt5"], package_data={"pytc_gui":["*.png","widgets/experiment_box/icons/*.png"]}, classifiers=['Programming Language :: Python'], entry_points = { 'gui_scripts': [ 'pytc-gui = pytc_gui.main_window:main' ] })
unlicense
Python
02ac38532cea722ef71717cbe70f9639a4373d07
Tweak description and long_description
Nexmo/nexmo-python
setup.py
setup.py
import re from setuptools import setup with open('nexmo/__init__.py', 'r') as fd: version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) setup(name='nexmo', version=version, description='Nexmo Client Library for Python', long_description='This is the Python client library for Nexmo\'s API. To use it you\'ll need a Nexmo account. Sign up `for free at nexmo.com <http://nexmo.com?src=python-client-library>`_.', url='http://github.com/Nexmo/nexmo-python', author='Tim Craft', author_email='[email protected]', license='MIT', packages=['nexmo'], platforms=['any'], install_requires=['requests'])
import re from setuptools import setup with open('nexmo/__init__.py', 'r') as fd: version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1) setup(name='nexmo', version=version, description='Python client for the Nexmo API', long_description='Python client for the Nexmo API', url='http://github.com/Nexmo/nexmo-python', author='Tim Craft', author_email='[email protected]', license='MIT', packages=['nexmo'], platforms=['any'], install_requires=['requests'])
mit
Python