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 |
|---|---|---|---|---|---|---|---|---|
7463e1073143e0d22a17c499ddb8701307f45a68 | Declare dependency | ZeitOnline/zeit.intrafind | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='zeit.intrafind',
version='2.3.1.dev0',
author='gocept, Zeit Online',
author_email='zon-backend@zeit.de',
url='http://www.zeit.de/',
description="vivi intrafind integration",
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
license='BSD',
namespace_packages=['zeit'],
install_requires=[
'gocept.lxml',
'mock',
'setuptools',
'zeit.cms>=2.89.0.dev0',
'zope.interface',
'zope.schema',
]
)
| from setuptools import setup, find_packages
setup(
name='zeit.intrafind',
version='2.3.1.dev0',
author='gocept, Zeit Online',
author_email='zon-backend@zeit.de',
url='http://www.zeit.de/',
description="vivi intrafind integration",
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
license='BSD',
namespace_packages=['zeit'],
install_requires=[
'gocept.lxml',
'mock',
'setuptools',
'zeit.cms >= 2.81.0.dev0',
'zope.interface',
'zope.schema',
]
)
| bsd-3-clause | Python |
e5c693f185e430c671baceecba8c528d0376142f | Add nicer header. | bigbrozer/monitoring.nagios,bigbrozer/monitoring.nagios | setup.py | setup.py | #!/usr/bin/env python2.7
# -*- coding: utf-8 -*-
# Copyright (C) Faurecia <http://www.faurecia.com/>
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the "Software"),
# to deal in the Software without restriction, including without limitation
# the rights to use, copy, modify, merge, publish, distribute, sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included
# in all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
# OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
# DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE
# OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
from setuptools import setup, find_packages
# Package dependencies
dependencies = [
'pysnmp==4.2.4',
'ssh==1.8.0',
'pymssql==2.0.1',
]
# Way to obtain the project version if project is already installed somewhere
# in the Python path.
project_namespace = {}
with open("monitoring/nagios/__init__.py") as version_file:
exec(version_file.read(), project_namespace)
# Init distribution
setup(
name='monitoring.nagios',
version=project_namespace["__version__"],
description='Nagios plugin creation framework',
author='Vincent BESANCON',
author_email='besancon.vincent@gmail.com',
license='MIT',
namespace_packages=['monitoring'],
packages=find_packages(),
install_requires=dependencies
)
| #!/usr/bin/env python2.7
# -*- coding: utf-8 -*-
#==============================================================================
# Module : setup
# Author : Vincent BESANCON <besancon.vincent@gmail.com>
# Description : Setuptools install script.
#------------------------------------------------------------------------------
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#==============================================================================
import os
from setuptools import setup, find_packages
# Package dependencies
dependencies = [
'pysnmp==4.2.4',
'ssh==1.8.0',
'pymssql==2.0.1',
]
# Way to obtain the project version if project is already installed somewhere
# in the Python path.
project_namespace = {}
with open("monitoring/nagios/__init__.py") as version_file:
exec(version_file.read(), project_namespace)
# Init distribution
setup(
name='monitoring.nagios',
version=project_namespace["__version__"],
description='Nagios plugin creation framework',
author='Vincent BESANCON',
author_email='besancon.vincent@gmail.com',
license='MIT',
namespace_packages=['monitoring'],
packages=find_packages(),
install_requires=dependencies
)
| mit | Python |
06a63dd59d1253875a703cd9b44b45caa59be4fc | add missing PyYAML requirement | pyannote/pyannote-audio,pyannote/pyannote-audio,pyannote/pyannote-audio | setup.py | setup.py | #!/usr/bin/env python
# encoding: utf-8
# The MIT License (MIT)
# Copyright (c) 2016 CNRS
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# AUTHORS
# Hervé BREDIN - http://herve.niderb.fr
import versioneer
from setuptools import setup, find_packages
setup(
# package
namespace_packages=['pyannote'],
packages=find_packages(),
install_requires=[
'pyannote.core >= 0.8',
'pyannote.metrics >= 0.10.2',
'pyannote.generators >= 0.4.1',
'pyannote.database >= 0.5',
'pysndfile >= 0.2.11',
'keras >= 1.1.0',
'theano >= 0.8.2',
'scikit-optimize >= 0.2',
'pyYAML >= 3.12'
],
# versioneer
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
# PyPI
name='pyannote.audio',
description=('Audio processing'),
author='Hervé Bredin',
author_email='bredin@limsi.fr',
url='http://herve.niderb.fr/',
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"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.4",
"Programming Language :: Python :: 3.5",
"Topic :: Scientific/Engineering"
],
)
| #!/usr/bin/env python
# encoding: utf-8
# The MIT License (MIT)
# Copyright (c) 2016 CNRS
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# AUTHORS
# Hervé BREDIN - http://herve.niderb.fr
import versioneer
from setuptools import setup, find_packages
setup(
# package
namespace_packages=['pyannote'],
packages=find_packages(),
install_requires=[
'pyannote.core >= 0.8',
'pyannote.metrics >= 0.10.2',
'pyannote.generators >= 0.4.1',
'pyannote.database >= 0.5',
'pysndfile >= 0.2.11',
'keras >= 1.1.0',
'theano >= 0.8.2',
'scikit-optimize >= 0.2',
],
# versioneer
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
# PyPI
name='pyannote.audio',
description=('Audio processing'),
author='Hervé Bredin',
author_email='bredin@limsi.fr',
url='http://herve.niderb.fr/',
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"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.4",
"Programming Language :: Python :: 3.5",
"Topic :: Scientific/Engineering"
],
)
| mit | Python |
1937f86eb5088e18fe2f5c23116355dc305a6347 | Add requirements to setup.py. | monetizeio/python-bitcoin | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright © 2012-2013 by its contributors. See AUTHORS for details.
#
# Distributed under the MIT/X11 software license, see the accompanying
# file LICENSE or http://www.opensource.org/licenses/mit-license.php.
#
import os
from distutils.core import setup
from bitcoin import get_version
# 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('bitcoin'):
# Ignore dirnames that start with '.'
for i, dirname in enumerate(dirnames):
if dirname.startswith('.'): del dirnames[i]
if '__init__.py' in filenames:
pkg = dirpath.replace(os.path.sep, '.')
if os.path.altsep:
pkg = pkg.replace(os.path.altsep, '.')
packages.append(pkg)
elif filenames:
prefix = dirpath[len('bitcoin')+1:] # Strip "bitcoin/" or "bitcoin\"
for f in filenames:
data_files.append(os.path.join(prefix, f))
version = get_version().replace(' ', '-')
setup(name='python-bitcoin',
version=version,
description=
u"A collection of serialization and utility methods needed to "
u"implement the bitcoin protocol.",
author='RokuSigma Inc.',
author_email='python-bitcoin@monetize.io',
url='http://www.github.com/monetizeio/python-bitcoin/',
download_url='http://pypi.python.org/packages/source/p/python-bitcoin/python-bitcoin-%s.tar.gz' % version,
package_dir={'bitcoin': 'bitcoin'},
packages=packages,
package_data={'bitcoin': data_files},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Office/Business :: Financial',
'Topic :: Software Development :: Libraries :: Python Modules',
],
install_requires=[
'bigfloat>=0.3.0a2',
'blist>=1.3.4',
'cdecimal>=2.3',
'ecdsa>=0.8',
'gmpy2>=2.0.0',
'isodate>=0.4.8',
'recordtype>=1.1',
'requests>=0.14.0',
'simplejson>=2.6.2',
'six>=1.3.0',
],
)
#
# End of File
#
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright © 2012-2013 by its contributors. See AUTHORS for details.
#
# Distributed under the MIT/X11 software license, see the accompanying
# file LICENSE or http://www.opensource.org/licenses/mit-license.php.
#
import os
from distutils.core import setup
from bitcoin import get_version
# 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('bitcoin'):
# Ignore dirnames that start with '.'
for i, dirname in enumerate(dirnames):
if dirname.startswith('.'): del dirnames[i]
if '__init__.py' in filenames:
pkg = dirpath.replace(os.path.sep, '.')
if os.path.altsep:
pkg = pkg.replace(os.path.altsep, '.')
packages.append(pkg)
elif filenames:
prefix = dirpath[len('bitcoin')+1:] # Strip "bitcoin/" or "bitcoin\"
for f in filenames:
data_files.append(os.path.join(prefix, f))
version = get_version().replace(' ', '-')
setup(name='python-bitcoin',
version=version,
description=
u"A collection of serialization and utility methods needed to "
u"implement the bitcoin protocol.",
author='RokuSigma Inc.',
author_email='python-bitcoin@monetize.io',
url='http://www.github.com/monetizeio/python-bitcoin/',
download_url='http://pypi.python.org/packages/source/p/python-bitcoin/python-bitcoin-%s.tar.gz' % version,
package_dir={'bitcoin': 'bitcoin'},
packages=packages,
package_data={'bitcoin': data_files},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Office/Business :: Financial',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
#
# End of File
#
| mit | Python |
1d3ee6c7477fbece473ad642a57e2069336863a2 | Bump version to 1.1.8a. | lbeltrame/bcbio-nextgen,chapmanb/bcbio-nextgen,chapmanb/bcbio-nextgen,lbeltrame/bcbio-nextgen,a113n/bcbio-nextgen,vladsaveliev/bcbio-nextgen,chapmanb/bcbio-nextgen,a113n/bcbio-nextgen,lbeltrame/bcbio-nextgen,a113n/bcbio-nextgen,vladsaveliev/bcbio-nextgen,vladsaveliev/bcbio-nextgen | setup.py | setup.py | #!/usr/bin/env python
"""Setup file and install script for NextGen sequencing analysis scripts.
"""
import os
from setuptools import setup, find_packages
version = "1.1.8a"
def write_version_py():
version_py = os.path.join(os.path.dirname(__file__), 'bcbio', 'pipeline',
'version.py')
try:
import subprocess
p = subprocess.Popen(["git", "rev-parse", "--short", "HEAD"],
stdout=subprocess.PIPE)
githash = p.stdout.read().strip()
except:
githash = ""
with open(version_py, "w") as out_handle:
out_handle.write("\n".join(['__version__ = "%s"' % version,
'__git_revision__ = "%s"' % githash]))
install_requires = [] # install dependencies via conda
zip_safe = False
scripts = ['scripts/bcbio_nextgen.py', 'scripts/bcbio_setup_genome.py', 'scripts/bcbio_prepare_samples.py',
'scripts/bcbio_fastq_umi_prep.py', 'scripts/cwltool2wdl.py']
write_version_py()
setup(name="bcbio-nextgen",
version=version,
author="bcbio community",
author_email="biovalidation@googlegroups.com",
description="Best-practice pipelines for fully automated high throughput sequencing analysis",
long_description=(open('README.rst').read()),
license="MIT",
url="https://github.com/bcbio/bcbio-nextgen",
packages=find_packages(exclude=["tests"]),
zip_safe=zip_safe,
scripts=scripts,
install_requires=install_requires,
include_package_data=True)
| #!/usr/bin/env python
"""Setup file and install script for NextGen sequencing analysis scripts.
"""
import os
from setuptools import setup, find_packages
version = "1.1.7"
def write_version_py():
version_py = os.path.join(os.path.dirname(__file__), 'bcbio', 'pipeline',
'version.py')
try:
import subprocess
p = subprocess.Popen(["git", "rev-parse", "--short", "HEAD"],
stdout=subprocess.PIPE)
githash = p.stdout.read().strip()
except:
githash = ""
with open(version_py, "w") as out_handle:
out_handle.write("\n".join(['__version__ = "%s"' % version,
'__git_revision__ = "%s"' % githash]))
install_requires = [] # install dependencies via conda
zip_safe = False
scripts = ['scripts/bcbio_nextgen.py', 'scripts/bcbio_setup_genome.py', 'scripts/bcbio_prepare_samples.py',
'scripts/bcbio_fastq_umi_prep.py', 'scripts/cwltool2wdl.py']
write_version_py()
setup(name="bcbio-nextgen",
version=version,
author="bcbio community",
author_email="biovalidation@googlegroups.com",
description="Best-practice pipelines for fully automated high throughput sequencing analysis",
long_description=(open('README.rst').read()),
license="MIT",
url="https://github.com/bcbio/bcbio-nextgen",
packages=find_packages(exclude=["tests"]),
zip_safe=zip_safe,
scripts=scripts,
install_requires=install_requires,
include_package_data=True)
| mit | Python |
2f01fe5d96869cfca1d7564c0a5032c4088e3d5f | fix install | Alarik/django-templatesadmin,dkopitsa/django-templatesadmin,Alarik/django-templatesadmin,dkopitsa/django-templatesadmin,dkopitsa/django-templatesadmin,Alarik/django-templatesadmin,dkopitsa/django-templatesadmin,Alarik/django-templatesadmin | setup.py | setup.py | import os
from distutils.core import setup
from distutils.command.install import INSTALL_SCHEMES
app_name = 'templatesadmin'
version = __import__(app_name).__version__
# Tell distutils to put the data_files in platform-specific installation
# locations. See here for an explanation:
# http://groups.google.com/group/comp.lang.python/browse_thread/thread/35ec7b2fed36eaec/2105ee4d9e8042cb
for scheme in INSTALL_SCHEMES.values():
scheme['data'] = scheme['purelib']
# 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(app_name):
# Ignore dirnames that start with '.'
for i, dirname in enumerate(dirnames):
if dirname.startswith('.'): del dirnames[i]
if '__init__.py' in filenames:
pkg = dirpath.replace(os.path.sep, '.')
if os.path.altsep:
pkg = pkg.replace(os.path.altsep, '.')
packages.append(pkg)
elif filenames:
prefix = dirpath[len(app_name)+1:] # Strip "app_name/" or "app_name\"
for f in filenames:
data_files.append(os.path.join(prefix, f))
setup(name='django-'+app_name,
version=version,
description='A Django app to make minor changes to your templates on the fly.',
long_description=open('README.md').read(),
author='Pahaz Blinov',
author_email='pahaz@urfuclub.ru',
url='https://github.com/pahaz/django-templatesadmin/',
package_dir={app_name: app_name},
packages=packages,
package_data={app_name: data_files},
classifiers=['Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities'],
)
| import os
from distutils.core import setup
from distutils.command.install import INSTALL_SCHEMES
app_name = 'templatesadmin'
version = __import__(app_name).__version__
# Tell distutils to put the data_files in platform-specific installation
# locations. See here for an explanation:
# http://groups.google.com/group/comp.lang.python/browse_thread/thread/35ec7b2fed36eaec/2105ee4d9e8042cb
for scheme in INSTALL_SCHEMES.values():
scheme['data'] = scheme['purelib']
# 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(app_name):
# Ignore dirnames that start with '.'
for i, dirname in enumerate(dirnames):
if dirname.startswith('.'): del dirnames[i]
if '__init__.py' in filenames:
pkg = dirpath.replace(os.path.sep, '.')
if os.path.altsep:
pkg = pkg.replace(os.path.altsep, '.')
packages.append(pkg)
elif filenames:
prefix = dirpath[len(app_name)+1:] # Strip "app_name/" or "app_name\"
for f in filenames:
data_files.append(os.path.join(prefix, f))
setup(name='django-'+app_name,
version=version,
description='A Django app to make minor changes to your templates on the fly.',
long_description=open('README').read(),
author='Pahaz Blinov',
author_email='pahaz@urfuclub.ru',
url='https://github.com/pahaz/django-templatesadmin/',
package_dir={app_name: app_name},
packages=packages,
package_data={app_name: data_files},
classifiers=['Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities'],
)
| bsd-3-clause | Python |
4bfd742034f975f0b52858e8f3d85a93396dd5a6 | Bump version to 0.7 | reberhardt7/sofa | setup.py | setup.py | from setuptools import setup
requires = [
'pyramid',
'SQLAlchemy',
'transaction',
'validate_email',
'pyDNS',
'passlib',
'pycrypto',
'requests',
'python-slugify',
'uritemplate',
'pyyaml',
]
setup(name='sofa',
version='0.7',
description='A lightweight REST API framework',
author='Ryan Eberhardt',
author_email='ryan@reberhardt.com',
url='https://github.com/reberhardt/sofa',
download_url='https://github.com/reberhardt/sofa/tarball/0.7',
keywords=['rest', 'api'],
packages=['sofa', 'sofa.scripts'],
install_requires=requires,
entry_points="""\
[paste.app_factory]
main = sofa:main
[console_scripts]
sofa = sofa.scripts.js:main
"""
)
| from setuptools import setup
requires = [
'pyramid',
'SQLAlchemy',
'transaction',
'validate_email',
'pyDNS',
'passlib',
'pycrypto',
'requests',
'python-slugify',
'uritemplate',
'pyyaml',
]
setup(name='sofa',
version='0.6',
description='A lightweight REST API framework',
author='Ryan Eberhardt',
author_email='ryan@reberhardt.com',
url='https://github.com/reberhardt/sofa',
download_url='https://github.com/reberhardt/sofa/tarball/0.6',
keywords=['rest', 'api'],
packages=['sofa', 'sofa.scripts'],
install_requires=requires,
entry_points="""\
[paste.app_factory]
main = sofa:main
[console_scripts]
sofa = sofa.scripts.js:main
"""
)
| mit | Python |
2f998d901cef22615fbe8e6eb1a07f1a67f2681f | Bump version to 0.1.2 | ulikoehler/UliEngineering | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf8 -*-
import sys
from setuptools import setup, find_packages
if sys.version_info < (3, 0):
print('ERROR: UliEngineering currently requires at least Python 3.0 to run.')
sys.exit(1)
setup(name='UliEngineering',
version='0.1.2',
description='Computational tools for electronics engineering',
author='Uli Köhler',
author_email='ukoehler@techoverflow.net',
url='https://techoverflow.net/',
license='Apache License v2.0',
packages=find_packages(exclude=['tests*']),
include_package_data=True,
install_requires=['numpy (>= 1.5)', 'toolz (>= 0.5)'],
extras_require= {
'SciPy functionality': ['scipy (>= 0.5)']
},
test_suite='nose.collector',
tests_require=['nose', 'coverage', 'mock', 'rednose', 'parameterized'],
setup_requires=['nose>=1.0'],
platforms="any",
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Intended Audience :: Education',
'Intended Audience :: Information Technology',
'License :: DFSG approved',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Physics',
'Topic :: Scientific/Engineering :: Information Analysis'
]
)
| #!/usr/bin/env python
# -*- coding: utf8 -*-
import sys
from setuptools import setup, find_packages
if sys.version_info < (3, 0):
print('ERROR: UliEngineering currently requires at least Python 3.0 to run.')
sys.exit(1)
setup(name='UliEngineering',
version='0.1.1',
description='Computational tools for electronics engineering',
author='Uli Köhler',
author_email='ukoehler@techoverflow.net',
url='https://techoverflow.net/',
license='Apache License v2.0',
packages=find_packages(exclude=['tests*']),
include_package_data=True,
install_requires=['numpy (>= 1.5)', 'toolz (>= 0.5)'],
extras_require= {
'SciPy functionality': ['scipy (>= 0.5)']
},
test_suite='nose.collector',
tests_require=['nose', 'coverage', 'mock', 'rednose', 'parameterized'],
setup_requires=['nose>=1.0'],
platforms="any",
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Intended Audience :: Education',
'Intended Audience :: Information Technology',
'License :: DFSG approved',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Physics',
'Topic :: Scientific/Engineering :: Information Analysis'
]
)
| apache-2.0 | Python |
b9f14322be5c13a05c2571117d261c441a19866d | Bump version to 4.6a2 | SectorLabs/django-localized-fields,SectorLabs/django-localized-fields,SectorLabs/django-localized-fields | setup.py | setup.py | import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8') as readme:
README = readme.read()
setup(
name='django-localized-fields',
version='4.6a2',
packages=find_packages(exclude=['tests']),
include_package_data=True,
license='MIT License',
description='Implementation of localized model fields using PostgreSQL HStore fields.',
long_description=README,
url='https://github.com/SectorLabs/django-localized-fields',
author='Sector Labs',
author_email='open-source@sectorlabs.ro',
keywords=['django', 'localized', 'language', 'models', 'fields'],
install_requires=[
'django-postgres-extra>=1.11',
'Django>=1.11'
],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
]
)
| import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8') as readme:
README = readme.read()
setup(
name='django-localized-fields',
version='4.6a1',
packages=find_packages(exclude=['tests']),
include_package_data=True,
license='MIT License',
description='Implementation of localized model fields using PostgreSQL HStore fields.',
long_description=README,
url='https://github.com/SectorLabs/django-localized-fields',
author='Sector Labs',
author_email='open-source@sectorlabs.ro',
keywords=['django', 'localized', 'language', 'models', 'fields'],
install_requires=[
'django-postgres-extra>=1.11',
'Django>=1.11'
],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
]
)
| mit | Python |
aa9f43bb5b11abf3ff8c15d36c3343b1685f896b | fix syntax error in setup.py | lwcolton/falcon-cors,lwcolton/falcon-cors | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name = "falcon-cors",
version = "1.0.0",
description = "Falcon CORS middlware",
package_dir = {"":"src"},
packages = find_packages("src"),
install_requires=["falcon"],
author = 'Colton Leekley-Winslow',
author_email = 'lwcolton@gmail.com',
url = 'https://github.com/lwcolton/falcon-cors',
download_url = 'https://github.com/lwcolton/falcon-cors/archive/master.zip',
keywords = ['falcon', 'cors', 'http'],
classifiers = []
)
| from setuptools import setup, find_packages
setup(
name = "falcon-cors",
version = "1.0.0",
description = "Falcon CORS middlware",
package_dir = {"":"src"},
packages = find_packages("src"),
install_requires=["falcon"]
author = 'Colton Leekley-Winslow',
author_email = 'lwcolton@gmail.com',
url = 'https://github.com/lwcolton/falcon-cors',
download_url = 'https://github.com/lwcolton/falcon-cors/archive/master.zip',
keywords = ['falcon', 'cors', 'http'],
classifiers = []
)
| apache-2.0 | Python |
27c7a95e747d4b334c57bf894c5dda926ef7c28b | Bump version | timeyyy/python-client,traverseda/python-client,bfredl/python-client,timeyyy/python-client,Shougo/python-client,fwalch/python-client,Shougo/python-client,fwalch/python-client,0x90sled/python-client,brcolow/python-client,brcolow/python-client,justinmk/python-client,starcraftman/python-client,starcraftman/python-client,neovim/python-client,neovim/python-client,zchee/python-client,meitham/python-client,justinmk/python-client,meitham/python-client,zchee/python-client,traverseda/python-client,bfredl/python-client,0x90sled/python-client | setup.py | setup.py | from setuptools import setup
setup(name='neovim',
version='0.0.13',
description='Python client to neovim',
url='http://github.com/neovim/python-client',
download_url='https://github.com/neovim/python-client/archive/0.0.13.tar.gz',
author='Thiago de Arruda',
author_email='tpadilha84@gmail.com',
license='MIT',
packages=['neovim'],
install_requires=[
'greenlet',
'msgpack-python',
'pyuv',
],
zip_safe=False)
| from setuptools import setup
setup(name='neovim',
version='0.0.12',
description='Python client to neovim',
url='http://github.com/neovim/python-client',
download_url='https://github.com/neovim/python-client/archive/0.0.12.tar.gz',
author='Thiago de Arruda',
author_email='tpadilha84@gmail.com',
license='MIT',
packages=['neovim'],
install_requires=[
'greenlet',
'msgpack-python',
'pyuv',
],
zip_safe=False)
| apache-2.0 | Python |
ee20485bf055ef498e0eb20f0361013dcec094d0 | upgrade libcloud to 0.19.0 | mardix/flask-cloudstorage,mardix/flask-cloudstorage,mardix/flask-cloudy,mardix/flask-cloudy,mardix/flask-cloudy,mardix/flask-cloudstorage | setup.py | setup.py | """
Flask-Cloudy
A wrapper around Apache-Libcloud to upload and save files on cloud storage
providers such as: AWS S3, Google Storage, Microsoft Azure, Rackspace Cloudfiles,
and even on local storage through a Flask application.
(It can be used as standalone)
Supported storage:
- AWS S3
- Google Storage
- Microsoft Azure
- Rackspace CloudFiles
- Local
"""
from setuptools import setup, find_packages
__NAME__ = "Flask-Cloudy"
__version__ = "0.12.0"
__author__ = "Mardix"
__license__ = "MIT"
__copyright__ = "2015"
setup(
name=__NAME__,
version=__version__,
license=__license__,
author=__author__,
author_email='mardix@github.com',
description="Flask-Cloudy is a simple flask extension and standalone library to upload and save files on S3, Google storage or other Cloud Storages",
long_description=__doc__,
url='https://github.com/mardix/flask-cloudy/',
download_url='http://github.com/mardix/flask-cloudy/tarball/master',
py_modules=['flask_cloudy'],
include_package_data=True,
packages=find_packages(),
install_requires=[
"Flask==0.10.1",
"apache-libcloud==0.19.0",
"lockfile==0.10.2",
"shortuuid==0.1",
"six==1.9.0",
'python-slugify==0.1.0'
],
keywords=["flask", "s3", "aws", "cloudfiles", "storage", "azure", "google", "cloudy"],
platforms='any',
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
],
zip_safe=False
)
| """
Flask-Cloudy
A wrapper around Apache-Libcloud to upload and save files on cloud storage
providers such as: AWS S3, Google Storage, Microsoft Azure, Rackspace Cloudfiles,
and even on local storage through a Flask application.
(It can be used as standalone)
Supported storage:
- AWS S3
- Google Storage
- Microsoft Azure
- Rackspace CloudFiles
- Local
"""
from setuptools import setup, find_packages
__NAME__ = "Flask-Cloudy"
__version__ = "0.12.0"
__author__ = "Mardix"
__license__ = "MIT"
__copyright__ = "2015"
setup(
name=__NAME__,
version=__version__,
license=__license__,
author=__author__,
author_email='mardix@github.com',
description="Flask-Cloudy is a simple flask extension and standalone library to upload and save files on S3, Google storage or other Cloud Storages",
long_description=__doc__,
url='https://github.com/mardix/flask-cloudy/',
download_url='http://github.com/mardix/flask-cloudy/tarball/master',
py_modules=['flask_cloudy'],
include_package_data=True,
packages=find_packages(),
install_requires=[
"Flask==0.10.1",
"apache-libcloud==0.18.0",
"lockfile==0.10.2",
"shortuuid==0.1",
"six==1.9.0",
'python-slugify==0.1.0'
],
keywords=["flask", "s3", "aws", "cloudfiles", "storage", "azure", "google", "cloudy"],
platforms='any',
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
],
zip_safe=False
)
| mit | Python |
783826de7818aefcf85e21d66a9408e8b52cd885 | Bump version | cloudify-cosmo/cloudify-dsl-parser | setup.py | setup.py | ########
# Copyright (c) 2013 GigaSpaces Technologies Ltd. All rights reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless 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
install_requires = [
'PyYAML==3.10',
'networkx==1.8.1',
'requests==2.7.0',
'retrying==1.3.3'
]
try:
from collections import OrderedDict # NOQA
except ImportError, e:
install_requires.append('ordereddict==1.1')
try:
import importlib # NOQA
except ImportError:
install_requires.append('importlib')
setup(
name='cloudify-dsl-parser',
version='3.4a4',
author='Gigaspaces',
author_email='cosmo-admin@gigaspaces.com',
packages=['dsl_parser',
'dsl_parser.interfaces',
'dsl_parser.framework',
'dsl_parser.elements',
'dsl_parser.import_resolver'],
license='LICENSE',
description='Cloudify DSL parser',
zip_safe=False,
install_requires=install_requires
)
| ########
# Copyright (c) 2013 GigaSpaces Technologies Ltd. All rights reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless 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
install_requires = [
'PyYAML==3.10',
'networkx==1.8.1',
'requests==2.7.0',
'retrying==1.3.3'
]
try:
from collections import OrderedDict # NOQA
except ImportError, e:
install_requires.append('ordereddict==1.1')
try:
import importlib # NOQA
except ImportError:
install_requires.append('importlib')
setup(
name='cloudify-dsl-parser',
version='3.4a3',
author='Gigaspaces',
author_email='cosmo-admin@gigaspaces.com',
packages=['dsl_parser',
'dsl_parser.interfaces',
'dsl_parser.framework',
'dsl_parser.elements',
'dsl_parser.import_resolver'],
license='LICENSE',
description='Cloudify DSL parser',
zip_safe=False,
install_requires=install_requires
)
| apache-2.0 | Python |
35aec757da014c7fa6267ecd16a1111d931e80e9 | Fix setup.py. | hybridcluster/nomenclature,hybridcluster/nomenclature,hybridcluster/nomenclature | setup.py | setup.py | from setuptools import setup
import versioneer
versioneer.versionfile_source = 'nomenclature/_version.py'
versioneer.versionfile_build = 'nomenclature/_version.py'
versioneer.tag_prefix = 'v'
versioneer.parentdir_prefix = 'nomenclature-'
def read(path):
"""
Read the contents of a file.
"""
with open(path) as f:
return f.read()
try:
from nomenclature import _lib
except ImportError:
# installing - there is no cffi yet
ext_modules = []
else:
# building bdist - cffi is here!
ext_modules = [_lib.ffi.verifier.get_extension()]
setup(
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Development Status :: 2 - Pre-Alpha',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
name='nomenclature',
version=versioneer.get_version(),
description="Linux Namespace Manipulation",
install_requires=["cffi"],
license="APL2",
packages=["nomenclature"],
url="https://github.com/hybridcluster/nomenclautre/",
maintainer='Tom Prince',
maintainer_email='tom.prince@hybridcluster.com',
long_description=read('README.rst'),
cmdclass=versioneer.get_cmdclass(),
package_data={
'nomenclature': ['c/*.h'],
},
ext_package="nomenclature",
ext_modules=ext_modules,
)
| from setuptools import setup
import versioneer
versioneer.versionfile_source = 'nomenclature/_version.py'
versioneer.versionfile_build = 'nomenclature/_version.py'
versioneer.tag_prefix = 'v'
versioneer.parentdir_prefix = 'nomenclature-'
def read(path):
"""
Read the contents of a file.
"""
with open(path) as f:
return f.read()
from nomenclature import _lib
setup(
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Development Status :: 2 - Pre-Alpha',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
name='nomenclature',
version=versioneer.get_version(),
description="Linux Namespace Manipulation",
install_requires=["cffi"],
license="APL2",
packages=["nomenclature"],
url="https://github.com/hybridcluster/nomenclautre/",
maintainer='Tom Prince',
maintainer_email='tom.prince@hybridcluster.com',
long_description=read('README.rst'),
cmdclass=versioneer.get_cmdclass(),
package_data={
'nomenclature': ['c/*.h'],
},
ext_package="nomenclature",
ext_modules=[_lib.ffi.verifier.get_extension()],
)
| apache-2.0 | Python |
d36717c31c23afc0d1dc97d58249801157228dc1 | Bump version | evvers/git-pre-commit-hook | setup.py | setup.py | import codecs
import os
from setuptools import setup, find_packages
HERE = os.path.abspath(os.path.dirname(__file__))
def read(*parts):
# intentionally *not* adding an encoding option to open, See:
# https://github.com/pypa/virtualenv/issues/201#issuecomment-3145690
return codecs.open(os.path.join(HERE, *parts), 'r').read()
setup(
name='git-pre-commit-hook',
description='pre-commit hook for Git',
long_description=read('README.rst'),
version='0.0.2',
license='MIT',
author='Evgeny Vereshchagin',
author_email='evvers@ya.ru',
url='https://github.com/evvers/git-pre-commit-hook',
packages=find_packages(),
install_requires=[
'git-pre-commit-hook-utils',
'flake8',
'restructuredtext_lint',
],
entry_points={
'console_scripts': [
'git-pre-commit-hook=git_pre_commit_hook:main',
],
'git_pre_commit_hook.extensions': [
'file_size=git_pre_commit_hook.builtin_plugins.file_size_check',
'json=git_pre_commit_hook.builtin_plugins.json_check',
'flake8=git_pre_commit_hook.builtin_plugins.flake8_check',
'rst=git_pre_commit_hook.builtin_plugins.rst_check',
],
}
)
| import codecs
import os
from setuptools import setup, find_packages
HERE = os.path.abspath(os.path.dirname(__file__))
def read(*parts):
# intentionally *not* adding an encoding option to open, See:
# https://github.com/pypa/virtualenv/issues/201#issuecomment-3145690
return codecs.open(os.path.join(HERE, *parts), 'r').read()
setup(
name='git-pre-commit-hook',
description='pre-commit hook for Git',
long_description=read('README.rst'),
version='0.0.1',
license='MIT',
author='Evgeny Vereshchagin',
author_email='evvers@ya.ru',
url='https://github.com/evvers/git-pre-commit-hook',
packages=find_packages(),
install_requires=[
'git-pre-commit-hook-utils',
'flake8',
'restructuredtext_lint',
],
entry_points={
'console_scripts': [
'git-pre-commit-hook=git_pre_commit_hook:main',
],
'git_pre_commit_hook.extensions': [
'file_size=git_pre_commit_hook.builtin_plugins.file_size_check',
'json=git_pre_commit_hook.builtin_plugins.json_check',
'flake8=git_pre_commit_hook.builtin_plugins.flake8_check',
'rst=git_pre_commit_hook.builtin_plugins.rst_check',
],
}
)
| mit | Python |
a06e8612f94f69a324ae5968fbe4d5516f01310a | fix urls; add -colors | cooperhewitt/py-cooperhewitt-roboteyes | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
name='cooperhewitt.roboteyes',
version='0.11',
description='Meta package to install all the Cooper Hewitt computer vision libraries',
author='Cooper Hewitt Smithsonian Design Museum',
url='https://github.com/cooperhewitt/py-cooperhewitt-roboteyes',
install_requires=[
'cooperhewitt.roboteyes.atkinson',
'cooperhewitt.roboteyes.colors',
'cooperhewitt.roboteyes.opencv',
'cooperhewitt.roboteyes.shannon',
],
dependency_links=[
'https://github.com/cooperhewitt/py-cooperhewitt-roboteyes-atkinson/tarball/master#egg=cooperhewitt.roboteyes.atkinson-0.1',
'https://github.com/cooperhewitt/py-cooperhewitt-roboteyes-colors/tarball/master#egg=cooperhewitt.roboteyes.colors-0.1',
'https://github.com/cooperhewitt/py-cooperhewitt-roboteyes-opencv/tarball/master#egg=cooperhewitt.roboteyes.opencv-0.21',
'https://github.com/cooperhewitt/py-cooperhewitt-roboteyes-shannon/tarball/master#egg=cooperhewitt.roboteyes.shannon-0.1',
],
packages=[]
scripts=[],
download_url='https://github.com/cooperhewitt/py-cooperhewitt-roboteyes/releases/tag/v0.11',
license='BSD')
| #!/usr/bin/env python
from setuptools import setup
setup(
name='cooperhewitt.roboteyes',
version='0.1',
description='Meta package to install all the Cooper Hewitt computer vision libraries',
author='Cooper Hewitt Smithsonian Design Museum',
url='https://github.com/cooperhewitt/py-cooperhewitt-roboteyes',
install_requires=[
'cooperhewitt.roboteyes.atkinson'
'cooperhewitt.roboteyes.shannon',
'cooperhewitt.roboteyes.opencv'
],
dependency_links=[
'https://github.com/cooperhewitt/py-cooperhewitt-roboteyes-atkinson/archive/v0.1.tar.gz#egg=cooperhewitt.roboteyes.atkinson-0.1',
'https://github.com/cooperhewitt/py-cooperhewitt-roboteyes-shannon/archive/v0.1.tar.gz#egg=cooperhewitt.roboteyes.shannon-0.1',
'https://github.com/cooperhewitt/py-cooperhewitt-roboteyes-opencv/archive/v0.1.tar.gz#egg=cooperhewitt.roboteyes.opencv-0.21',
],
packages=[]
scripts=[],
download_url='https://github.com/cooperhewitt/py-cooperhewitt-roboteyes/releases/tag/v0.1',
license='BSD')
| bsd-3-clause | Python |
5240d4f00e1615b479c8b04e960d2e570b0f6763 | Bump pypi version. | GooeeIOT/python-evrythng | setup.py | setup.py | # -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup
project_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(project_dir, 'README.rst'), 'r') as f:
long_description = f.read()
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
name='python-evrythng',
version='0.2.5',
packages=['evrythng', 'evrythng.entities'],
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
url='https://github.com/GooeeIOT/python-evrythng',
license='MIT',
author='Gooee LLC',
author_email='lyle@gooee.com',
description='A Python wrapper around the Evrythng REST API.',
long_description=long_description,
install_requires=['requests>=2.8.1'],
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 :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Utilities',
'Topic :: Software Development :: Libraries'
],
keywords=['wrapper', 'iot', 'rest', 'api', 'evrythng'],
)
| # -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup
project_dir = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(project_dir, 'README.rst'), 'r') as f:
long_description = f.read()
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
setup(
name='python-evrythng',
version='0.2.4',
packages=['evrythng', 'evrythng.entities'],
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
url='https://github.com/GooeeIOT/python-evrythng',
license='MIT',
author='Gooee LLC',
author_email='lyle@gooee.com',
description='A Python wrapper around the Evrythng REST API.',
long_description=long_description,
install_requires=['requests>=2.8.1'],
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 :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Utilities',
'Topic :: Software Development :: Libraries'
],
keywords=['wrapper', 'iot', 'rest', 'api', 'evrythng'],
)
| mit | Python |
e18a577a96ce6e1ba02d1a403acfd490d55d4210 | Bump version | honza/mutt-notmuch-py | setup.py | setup.py | from setuptools import setup
description = 'Python version of the mutt-notmuch script'
long_desc = open('README.md').read()
setup(
name='mutt-notmuch',
version='1.2.0',
url='https://github.com/honza/mutt-notmuch-py',
install_requires=[],
description=description,
long_description=long_desc,
author='Honza Pokorny',
author_email='me@honza.ca',
maintainer='Honza Pokorny',
maintainer_email='me@honza.ca',
packages=[],
include_package_data=True,
scripts=['mutt-notmuch-py'],
)
| from setuptools import setup
description = 'Python version of the mutt-notmuch script'
long_desc = open('README.md').read()
setup(
name='mutt-notmuch',
version='1.1.0',
url='https://github.com/honza/mutt-notmuch-py',
install_requires=[],
description=description,
long_description=long_desc,
author='Honza Pokorny',
author_email='me@honza.ca',
maintainer='Honza Pokorny',
maintainer_email='me@honza.ca',
packages=[],
include_package_data=True,
scripts=['mutt-notmuch-py'],
)
| bsd-2-clause | Python |
86103cbdc457c699f3a76eba914a8708c65bbbbc | Set classifier for Python 3.2 | ctismer/caniusepython3,dhamaniasad/caniusepython3,nett55/caniusepypy,brettcannon/caniusepython3,svisser/caniusepython3,public/caniusepypy | setup.py | setup.py | from setuptools import setup
with open('README.md') as file:
# Try my best to have at least the intro in Markdown/reST.
long_description = file.read().partition('<!-- END long_description -->')[0]
setup(name='caniusepython3',
version='1.0',
description='Determine what projects are blocking you from porting to Python 3',
long_description=long_description,
author='Brett Cannon',
author_email='brett@python.org',
url='https://github.com/brettcannon/caniusepython3',
py_modules=['caniusepython3'],
setup_requires=['setuptools'],
install_requires=['distlib', 'pip'],
tests_require=['mock'],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
],
entry_points={
'console_scripts': [
'caniusepython3=caniusepython3:main',
]
},
zip_safe=True,
)
| from setuptools import setup
with open('README.md') as file:
# Try my best to have at least the intro in Markdown/reST.
long_description = file.read().partition('<!-- END long_description -->')[0]
setup(name='caniusepython3',
version='1.0',
description='Determine what projects are blocking you from porting to Python 3',
long_description=long_description,
author='Brett Cannon',
author_email='brett@python.org',
url='https://github.com/brettcannon/caniusepython3',
py_modules=['caniusepython3'],
setup_requires=['setuptools'],
install_requires=['distlib', 'pip'],
tests_require=['mock'],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
],
entry_points={
'console_scripts': [
'caniusepython3=caniusepython3:main',
]
},
zip_safe=True,
)
| apache-2.0 | Python |
793151162770d8a4538627af6638253af7d95e98 | Bump version to 3.0.7 | ryankanno/cookiecutter-django,pydanny/cookiecutter-django,pydanny/cookiecutter-django,luzfcb/cookiecutter-django,ryankanno/cookiecutter-django,pydanny/cookiecutter-django,pydanny/cookiecutter-django,luzfcb/cookiecutter-django,ryankanno/cookiecutter-django,luzfcb/cookiecutter-django,trungdong/cookiecutter-django,ryankanno/cookiecutter-django,trungdong/cookiecutter-django,trungdong/cookiecutter-django,trungdong/cookiecutter-django,luzfcb/cookiecutter-django | setup.py | setup.py | #!/usr/bin/env python
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Our version ALWAYS matches the version of Django we support
# If Django has a new release, we branch, tag, then update this setting after the tag.
version = "3.0.7"
if sys.argv[-1] == "tag":
os.system(f'git tag -a {version} -m "version {version}"')
os.system("git push --tags")
sys.exit()
with open("README.rst") as readme_file:
long_description = readme_file.read()
setup(
name="cookiecutter-django",
version=version,
description="A Cookiecutter template for creating production-ready Django projects quickly.",
long_description=long_description,
author="Daniel Roy Greenfeld",
author_email="pydanny@gmail.com",
url="https://github.com/pydanny/cookiecutter-django",
packages=[],
license="BSD",
zip_safe=False,
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Framework :: Django :: 3.0",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development",
],
keywords=(
"cookiecutter, Python, projects, project templates, django, "
"skeleton, scaffolding, project directory, setup.py"
),
)
| #!/usr/bin/env python
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Our version ALWAYS matches the version of Django we support
# If Django has a new release, we branch, tag, then update this setting after the tag.
version = "3.0.5-01"
if sys.argv[-1] == "tag":
os.system(f'git tag -a {version} -m "version {version}"')
os.system("git push --tags")
sys.exit()
with open("README.rst") as readme_file:
long_description = readme_file.read()
setup(
name="cookiecutter-django",
version=version,
description="A Cookiecutter template for creating production-ready Django projects quickly.",
long_description=long_description,
author="Daniel Roy Greenfeld",
author_email="pydanny@gmail.com",
url="https://github.com/pydanny/cookiecutter-django",
packages=[],
license="BSD",
zip_safe=False,
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Framework :: Django :: 3.0",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development",
],
keywords=(
"cookiecutter, Python, projects, project templates, django, "
"skeleton, scaffolding, project directory, setup.py"
),
)
| bsd-3-clause | Python |
91a56f66337efa7770bc94e81c2f7c5f64041bb6 | Add postgresql_audit to pymodules | kvesteri/postgresql-audit | setup.py | setup.py | """
PostgreSQL-Audit
----------------
Versioning and auditing extension for PostgreSQL and SQLAlchemy.
"""
import os
import re
from setuptools import setup
HERE = os.path.dirname(os.path.abspath(__file__))
def get_version():
filename = os.path.join(HERE, 'postgresql_audit.py')
with open(filename) as f:
contents = f.read()
pattern = r"^__version__ = '(.*?)'$"
return re.search(pattern, contents, re.MULTILINE).group(1)
extras_require = {
'test': [
'flexmock==0.9.7',
'pytest>=2.3.5',
'psycopg2>=2.4.6',
],
}
# Add all optional dependencies to testing requirements.
for name, requirements in extras_require.items():
if name != 'test':
extras_require['test'] += requirements
setup(
name='PostgreSQL-Audit',
version=get_version(),
url='https://github.com/kvesteri/postgresql-audit',
license='BSD',
author='Konsta Vesterinen',
author_email='konsta@fastmonkeys.com',
description=(
'Versioning and auditing extension for PostgreSQL and SQLAlchemy.'
),
py_modules=['postgresql_audit'],
long_description=__doc__,
zip_safe=False,
include_package_data=True,
platforms='any',
install_requires=['SQLAlchemy>=0.9.4'],
extras_require=extras_require,
classifiers=[
'Environment :: Web Environment',
'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',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
| """
PostgreSQL-Audit
----------------
Versioning and auditing extension for PostgreSQL and SQLAlchemy.
"""
import os
import re
from setuptools import setup
HERE = os.path.dirname(os.path.abspath(__file__))
def get_version():
filename = os.path.join(HERE, 'postgresql_audit.py')
with open(filename) as f:
contents = f.read()
pattern = r"^__version__ = '(.*?)'$"
return re.search(pattern, contents, re.MULTILINE).group(1)
extras_require = {
'test': [
'flexmock==0.9.7',
'pytest>=2.3.5',
'psycopg2>=2.4.6',
],
}
# Add all optional dependencies to testing requirements.
for name, requirements in extras_require.items():
if name != 'test':
extras_require['test'] += requirements
setup(
name='PostgreSQL-Audit',
version=get_version(),
url='https://github.com/kvesteri/postgresql-audit',
license='BSD',
author='Konsta Vesterinen',
author_email='konsta@fastmonkeys.com',
description=(
'Versioning and auditing extension for PostgreSQL and SQLAlchemy.'
),
long_description=__doc__,
zip_safe=False,
include_package_data=True,
platforms='any',
install_requires=['SQLAlchemy>=0.9.4'],
extras_require=extras_require,
classifiers=[
'Environment :: Web Environment',
'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',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
| bsd-2-clause | Python |
29ec29c8e6bc0ab1e5b299042e307d4bce42a346 | Update pytest-cov requirement from <2.6,>=2.5 to >=2.5,<2.9 | django-oscar/django-oscar-accounts,django-oscar/django-oscar-accounts | setup.py | setup.py | #!/usr/bin/env python
from setuptools import find_packages, setup
install_requires = [
'django>=1.11,<2.3',
'django-oscar>=2.0',
'python-dateutil>=2.6,<3.0',
]
tests_require = [
'django-webtest==1.9.7',
'pytest-cov>=2.5,<2.9',
'pytest-django>=3.5,<3.6',
]
setup(
name='django-oscar-accounts',
author="David Winterbottom",
author_email="david.winterbottom@tangentlabs.co.uk",
description="Managed accounts for django-oscar",
long_description=open('README.rst').read(),
license='BSD',
package_dir={'': 'src'},
packages=find_packages('src'),
include_package_data=True,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: Unix',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
install_requires=install_requires,
tests_require=tests_require,
setup_requires=['setuptools_scm'],
extras_require={
'test': tests_require,
},
use_scm_version=True,
)
| #!/usr/bin/env python
from setuptools import find_packages, setup
install_requires = [
'django>=1.11,<2.3',
'django-oscar>=2.0',
'python-dateutil>=2.6,<3.0',
]
tests_require = [
'django-webtest==1.9.7',
'pytest-cov>=2.5,<2.6',
'pytest-django>=3.5,<3.6',
]
setup(
name='django-oscar-accounts',
author="David Winterbottom",
author_email="david.winterbottom@tangentlabs.co.uk",
description="Managed accounts for django-oscar",
long_description=open('README.rst').read(),
license='BSD',
package_dir={'': 'src'},
packages=find_packages('src'),
include_package_data=True,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: Unix',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
install_requires=install_requires,
tests_require=tests_require,
setup_requires=['setuptools_scm'],
extras_require={
'test': tests_require,
},
use_scm_version=True,
)
| bsd-3-clause | Python |
e79acc387527b8a0f65049ae05e8c4ebcc2fcee9 | bump version to mark release with fixed requirement in setup.py | zonca/pytest-ipynb | setup.py | setup.py | from setuptools import setup
import os.path
with open("README.rst") as f:
long_description = f.read()
setup(
name="pytest-ipynb",
version="1.0.2",
packages = ['pytest_ipynb'],
# the following makes a plugin available to pytest
entry_points = {
'pytest11': [
'ipynb = pytest_ipynb.plugin',
]
},
install_requires = ["pytest", "runipy"],
# metadata for upload to PyPI
author="Andrea Zonca",
author_email="code@andreazonca.com",
description="Use pytest's runner to discover and execute tests as cells of IPython notebooks",
long_description=long_description,
license="MIT",
keywords="pytest test unittest ipython notebook",
url="http://github.com/zonca/pytest-ipynb",
classifiers=[
'Development Status :: 3 - Alpha',
'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 :: C++',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Software Development :: Testing',
],
)
| from setuptools import setup
import os.path
with open("README.rst") as f:
long_description = f.read()
setup(
name="pytest-ipynb",
version="1.0.1",
packages = ['pytest_ipynb'],
# the following makes a plugin available to pytest
entry_points = {
'pytest11': [
'ipynb = pytest_ipynb.plugin',
]
},
install_requires = ["pytest", "runipy"],
# metadata for upload to PyPI
author="Andrea Zonca",
author_email="code@andreazonca.com",
description="Use pytest's runner to discover and execute tests as cells of IPython notebooks",
long_description=long_description,
license="MIT",
keywords="pytest test unittest ipython notebook",
url="http://github.com/zonca/pytest-ipynb",
classifiers=[
'Development Status :: 3 - Alpha',
'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 :: C++',
'Topic :: Software Development :: Quality Assurance',
'Topic :: Software Development :: Testing',
],
)
| bsd-3-clause | Python |
a4c4030ef011ee0b0682d42e1533a17feab8b97c | Increment version number [skip ci] | geo-fluid-dynamics/phaseflow-fenics | setup.py | setup.py | # -*- coding: utf-8 -*-
import setuptools
with open("README.md") as f:
readme = f.read()
with open("LICENSE.txt") as f:
license = f.read()
setuptools.setup(
name = "phaseflow",
version = "0.6.1-alpha",
description = "Simulate convection-coupled melting and solidification of phase-change materials",
long_description = readme,
author= "Alexander G. Zimmerman",
author_email = "zimmerman@aices.rwth-aachen.de",
url = "https://github.com/geo-fluid-dynamics/phaseflow-fenics",
license = license,
packages = ["phaseflow"],
classifiers=[
"Programming Language :: Python :: 3.5",
],
)
| # -*- coding: utf-8 -*-
import setuptools
with open("README.md") as f:
readme = f.read()
with open("LICENSE.txt") as f:
license = f.read()
setuptools.setup(
name = "phaseflow",
version = "0.6.0-alpha",
description = "Simulate convection-coupled melting and solidification of phase-change materials",
long_description = readme,
author= "Alexander G. Zimmerman",
author_email = "zimmerman@aices.rwth-aachen.de",
url = "https://github.com/geo-fluid-dynamics/phaseflow-fenics",
license = license,
packages = ["phaseflow"],
classifiers=[
"Programming Language :: Python :: 3.5",
],
)
| mit | Python |
dd77a811d8197ac19ec926f7c08d8ee71593a35b | Bump version | andreroggeri/pynubank | setup.py | setup.py | import os
from setuptools import setup, find_packages
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
setup(
name='pynubank',
version='2.11.0',
url='https://github.com/andreroggeri/pynubank',
author='André Roggeri Campos',
author_email='a.roggeri.c@gmail.com',
license='MIT',
packages=find_packages(),
package_data={'pynubank': ['queries/*.gql', 'utils/mocked_responses/*.json']},
install_requires=['requests', 'qrcode', 'pyOpenSSL', 'colorama', 'requests-pkcs12'],
long_description=read("README.md"),
long_description_content_type="text/markdown",
entry_points={
'console_scripts': [
'pynubank = pynubank.cli:main'
]
},
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
]
)
| import os
from setuptools import setup, find_packages
def read(fname):
with open(os.path.join(os.path.dirname(__file__), fname)) as f:
return f.read()
setup(
name='pynubank',
version='2.10.0',
url='https://github.com/andreroggeri/pynubank',
author='André Roggeri Campos',
author_email='a.roggeri.c@gmail.com',
license='MIT',
packages=find_packages(),
package_data={'pynubank': ['queries/*.gql', 'utils/mocked_responses/*.json']},
install_requires=['requests', 'qrcode', 'pyOpenSSL', 'colorama', 'requests-pkcs12'],
long_description=read("README.md"),
long_description_content_type="text/markdown",
entry_points={
'console_scripts': [
'pynubank = pynubank.cli:main'
]
},
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
]
)
| mit | Python |
d1d08da90872472a966c6a41531d5539c5f81bfd | bump cdiserrors | uc-cdis/cdis-python-utils | setup.py | setup.py | from subprocess import check_output
from setuptools import setup, find_packages
def get_version():
# https://github.com/uc-cdis/dictionaryutils/pull/37#discussion_r257898408
try:
tag = check_output(
["git", "describe", "--tags", "--abbrev=0", "--match=[0-9]*"]
)
return tag.decode("utf-8").strip("\n")
except Exception:
raise RuntimeError(
"The version number cannot be extracted from git tag in this source "
"distribution; please either download the source from PyPI, or check out "
"from GitHub and make sure that the git CLI is available."
)
setup(
name="cdispyutils",
version=get_version(),
description="General utilities for Gen3 development",
license="Apache",
install_requires=[
"cryptography==2.8",
"PyJWT~=1.5",
"requests~=2.5",
"cdiserrors~=1.0.0",
"Flask",
],
extras_require=dict(profiling=["Werkzeug~=0.9", "matplotlib~=2.2", "numpy~=1.15"]),
packages=find_packages(),
)
| from subprocess import check_output
from setuptools import setup, find_packages
def get_version():
# https://github.com/uc-cdis/dictionaryutils/pull/37#discussion_r257898408
try:
tag = check_output(
["git", "describe", "--tags", "--abbrev=0", "--match=[0-9]*"]
)
return tag.decode("utf-8").strip("\n")
except Exception:
raise RuntimeError(
"The version number cannot be extracted from git tag in this source "
"distribution; please either download the source from PyPI, or check out "
"from GitHub and make sure that the git CLI is available."
)
setup(
name="cdispyutils",
version=get_version(),
description="General utilities for Gen3 development",
license="Apache",
install_requires=[
"cryptography==2.8",
"PyJWT~=1.5",
"requests~=2.5",
"cdiserrors~=0.1",
"Flask",
],
extras_require=dict(profiling=["Werkzeug~=0.9", "matplotlib~=2.2", "numpy~=1.15"]),
packages=find_packages(),
)
| apache-2.0 | Python |
a2db35e5c67a271482f2b166a84142be94a16194 | Bump to version 0.2.0 | biofloat/biofloat,MBARIMike/biofloat,MBARIMike/biofloat,biofloat/biofloat | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name = "biofloat",
version = "0.2.0",
packages = find_packages(),
requires = ['Python (>=2.7)'],
install_requires = [
'beautifulsoup4>=4.4',
'coverage>=4',
'jupyter>=1.0.0',
'matplotlib',
'numpy>=1.10',
'pandas>=0.17',
'Pydap',
'requests>=2.8',
'seawater>=3.3',
'simpletable>=0.2',
'xray>=0.6'
],
scripts = ['scripts/load_biofloat_cache.py'],
# metadata for upload to PyPI
author = "Mike McCann",
author_email = "mccann@mbari.org",
description = "Software for working with data from Bio-Argo floats",
license = "MIT",
keywords = "Oceanography Argo Bio-Argo drifting buoys floats",
url = "https://github.com/biofloat/biofloat",
)
| from setuptools import setup, find_packages
setup(
name = "biofloat",
version = "0.1.19",
packages = find_packages(),
requires = ['Python (>=2.7)'],
install_requires = [
'beautifulsoup4>=4.4',
'coverage>=4',
'jupyter>=1.0.0',
'matplotlib',
'numpy>=1.10',
'pandas>=0.17',
'Pydap',
'requests>=2.8',
'seawater>=3.3',
'simpletable>=0.2',
'xray>=0.6'
],
scripts = ['scripts/load_biofloat_cache.py'],
# metadata for upload to PyPI
author = "Mike McCann",
author_email = "mccann@mbari.org",
description = "Software for working with data from Bio-Argo floats",
license = "MIT",
keywords = "Oceanography Argo Bio-Argo drifting buoys floats",
url = "https://github.com/biofloat/biofloat",
)
| mit | Python |
338af378c6512339bdd6e0eaab002eaf886f5ed8 | Make this work on python3 | doismellburning/doc8,openstack/doc8,tschuy/doc8,stackforge/doc8 | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (C) 2014 Yahoo! 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.
import os
from setuptools import setup
def _path(fn):
return os.path.join(os.path.dirname(__file__), fn)
def _readme():
with open(_path("README.rst"), "r") as handle:
return handle.read()
setup(name='doc8',
version='0.1.1',
description='style checker for sphinx (or other) rst documentation.',
url='https://github.com/harlowja/doc8',
scripts=[
_path(os.path.join('scripts', 'doc8')),
],
license="ASL 2.0",
install_requires=[
'six',
],
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
],
keywords="rst docs style checking",
long_description=_readme(),
) | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (C) 2014 Yahoo! 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.
import os
from setuptools import setup
def _path(fn):
return os.path.join(os.path.dirname(__file__), fn)
def _readme():
with open(_path("README.rst"), "rb") as handle:
return handle.read()
setup(name='doc8',
version='0.1.1',
description='style checker for sphinx (or other) rst documentation.',
url='https://github.com/harlowja/doc8',
scripts=[
_path(os.path.join('scripts', 'doc8')),
],
license="ASL 2.0",
install_requires=[
'six',
],
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"License :: OSI Approved :: Apache Software License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python",
],
keywords="rst docs style checking",
long_description=_readme(),
) | apache-2.0 | Python |
ed284364a05c6d58b9a79f5521d70a4fb0c3d9d5 | Set Pika to less than 2 | steveYeah/amqpeek | setup.py | setup.py | #!/usr/bin/env python
from codecs import open
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst'), 'r', 'utf-8') as handle:
readme = handle.read()
setup(
name='amqpeek',
description='RMQ CLI Monitor',
packages=find_packages(exclude=['test', 'test.*']),
version='0.0.5',
long_description=readme,
license="MIT",
author='Steve Hutchins',
author_email='hutchinsteve@gmail.com',
url='https://github.com/steveYeah/AmqPeek',
download_url='https://github.com/steveYeah/amqpeek/archive/v0.0.5.tar.gz',
keywords=(
'amqp',
'monitor',
'rabbitmq',
'rabbit',
'notifier',
'notifications'
),
install_requires=[
'click>=6.6',
'PyYAML>=5.1',
'pika<2.0.0',
'slacker>=0.9.24',
],
extras_require={
'dev': [
"pytest",
"pep8",
"mock==2.0.0",
],
},
entry_points={
'console_scripts': [
'amqpeek=amqpeek.cli:main',
],
},
package_dir={'amqpeek': 'amqpeek'},
package_data={
'amqpeek': ['../config/*.yaml']
},
classifiers=[
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"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 :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Topic :: System :: Systems Administration',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
| #!/usr/bin/env python
from codecs import open
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst'), 'r', 'utf-8') as handle:
readme = handle.read()
setup(
name='amqpeek',
description='RMQ CLI Monitor',
packages=find_packages(exclude=['test', 'test.*']),
version='0.0.5',
long_description=readme,
license="MIT",
author='Steve Hutchins',
author_email='hutchinsteve@gmail.com',
url='https://github.com/steveYeah/AmqPeek',
download_url='https://github.com/steveYeah/amqpeek/archive/v0.0.5.tar.gz',
keywords=(
'amqp',
'monitor',
'rabbitmq',
'rabbit',
'notifier',
'notifications'
),
install_requires=[
'click>=6.6',
'PyYAML>=5.1',
'pika<=2.0.0',
'slacker>=0.9.24',
],
extras_require={
'dev': [
"pytest",
"pep8",
"mock==2.0.0",
],
},
entry_points={
'console_scripts': [
'amqpeek=amqpeek.cli:main',
],
},
package_dir={'amqpeek': 'amqpeek'},
package_data={
'amqpeek': ['../config/*.yaml']
},
classifiers=[
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"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 :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Topic :: System :: Systems Administration',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
| mit | Python |
63ab4f517698875cb8e86c32842130f3b9556380 | introduce the run_separately flag | dcosson/parallel-ci-runner | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
name='parallel-ci-runner',
version='0.1.7',
description='A framework for defining and running parallel CI tests, '
'with support for docker-compose.',
author='Danny Cosson',
author_email='dcosson@gmail.com',
url='https://github.com/dcosson/parallel-ci-runner',
license='MIT',
packages=['parallel_ci_runner'],
)
| #!/usr/bin/env python
from setuptools import setup
setup(
name='parallel-ci-runner',
version='0.1.6',
description='A framework for defining and running parallel CI tests, '
'with support for docker-compose.',
author='Danny Cosson',
author_email='dcosson@gmail.com',
url='https://github.com/dcosson/parallel-ci-runner',
license='MIT',
packages=['parallel_ci_runner'],
)
| mit | Python |
e68c6faea24816909523d9432d42367e5f4a2852 | update copyright information in setup.py | Debian/debsources,Debian/debsources,Debian/debsources,Debian/debsources,Debian/debsources | setup.py | setup.py | # Copyright (C) 2014 Matthieu Caneill <matthieu.caneill@gmail.com>
#
# This file is part of Debsources.
#
# Debsources is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
import glob
from setuptools import setup, find_packages
with open('requirements.txt') as f:
install_requires = [l for l in f.read().splitlines()
if not l.startswith('#')]
description = 'Browse, query and make stats on Debian packages source code.'
long_description = ( # NOQA
'This tool allows you to set up a Debsources instance, and synchronize\n'
'the packages sources you want, in order to browse them via a web\n'
'application, produce statistics through plugins, and play with source code.')
setup(
name='debsources',
version='0.1',
packages=find_packages(),
install_requires=install_requires,
scripts=glob.glob('bin/debsources-*'),
include_package_data=True,
author="The Debsources developers",
author_email="qa-debsources@lists.alioth.debian.org",
long_description=long_description,
description=description,
license="AGPL3+",
url="https://anonscm.debian.org/gitweb/?p=qa/debsources.git",
platforms=['any'],
)
| # Copyright (C) 2014 Matthieu Caneill <matthieu.caneill@gmail.com>
#
# This file is part of Debsources.
#
# Debsources is free software: you can redistribute it and/or modify it under
# the terms of the GNU Affero General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option) any
# later version.
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
# FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
# details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
import glob
from setuptools import setup, find_packages
with open('requirements.txt') as f:
install_requires = [l for l in f.read().splitlines()
if not l.startswith('#')]
description = 'Browse, query and make stats on Debian packages source code.'
long_description = ( # NOQA
'This tool allows you to set up a Debsources instance, and synchronize\n'
'the packages sources you want, in order to browse them via a web\n'
'application, produce statistics through plugins, and play with source code.')
setup(
name='debsources',
version='0.1',
packages=find_packages(),
install_requires=install_requires,
scripts=glob.glob('bin/debsources-*'),
include_package_data=True,
author="Stefano Zacchiroli, Matthieu Caneill",
author_email="info@sources.debian.net",
long_description=long_description,
description=description,
license="AGPL3+",
url="https://anonscm.debian.org/gitweb/?p=qa/debsources.git",
platforms=['any'],
)
| agpl-3.0 | Python |
06c42fd7d9a75729eab283258c0c80f185c33efc | bump version | autosportlabs/podium-api | setup.py | setup.py | from distutils.core import setup
setup(
name = 'podium_api',
packages = ['podium_api','podium_api.types'],
version = '0.0.7',
description = 'API for Podium Motorsports Platform http://podium.live',
author = 'Autosport Labs',
author_email = 'sales@autosportlabs.com',
url = 'https://github.com/autosportlabs/podium-api',
download_url = 'https://github.com/autosportlabs/podium-api/archive/0.0.7.tar.gz',
keywords = ['motorsports', 'telemetry', 'live streaming'],
classifiers = [],
)
| from distutils.core import setup
setup(
name = 'podium_api',
packages = ['podium_api','podium_api.types'],
version = '0.0.6',
description = 'API for Podium Motorsports Platform http://podium.live',
author = 'Autosport Labs',
author_email = 'sales@autosportlabs.com',
url = 'https://github.com/autosportlabs/podium-api',
download_url = 'https://github.com/autosportlabs/podium-api/archive/0.0.6.tar.gz',
keywords = ['motorsports', 'telemetry', 'live streaming'],
classifiers = [],
)
| mit | Python |
b984060f9e3455df56953580dd3ee4e0717f916b | Add "Python 2" classifier since it works (according to Travis CI). | MarkusH/rinse,simudream/rinse,simudream/rinse,funkybob/rinse,tysonclugg/rinse,thedrow/rinse,tysonclugg/rinse,MarkusH/rinse | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
name='rinse',
version='0.1.2',
description='Python3 SOAP client built with lxml and requests.',
long_description=open('README.rst').read(),
author='Tyson Clugg',
author_email='tyson@clugg.net',
url='http://github.com/tysonclugg/rinse',
license='MIT',
packages=['rinse'],
test_suite='rinse.tests',
install_requires=[
'defusedxml',
'lxml',
'requests',
],
classifiers=[
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
],
)
| #!/usr/bin/env python
from setuptools import setup
setup(
name='rinse',
version='0.1.2',
description='Python3 SOAP client built with lxml and requests.',
long_description=open('README.rst').read(),
author='Tyson Clugg',
author_email='tyson@clugg.net',
url='http://github.com/tysonclugg/rinse',
license='MIT',
packages=['rinse'],
test_suite='rinse.tests',
install_requires=[
'defusedxml',
'lxml',
'requests',
],
classifiers=[
"Programming Language :: Python :: 3",
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
],
)
| mit | Python |
c304c05aa7090a08d871c7a6023c2a62de2825d8 | bump version | instagrambot/instabot,ohld/instabot,instagrambot/instabot | setup.py | setup.py | from setuptools import setup
setup(
name='instabot',
packages=['instabot', 'instabot.bot', 'instabot.api'],
version='0.5.0',
description='Cool Instagram bot scripts and API python wrapper.',
author='Daniil Okhlopkov, Evgeny Kemerov',
author_email='ohld@icloud.com, eskemerov@gmail.com',
url='https://github.com/instagrambot/instabot',
download_url='https://github.com/instagrambot/instabot/tarball/0.5.0',
keywords=['instagram', 'bot', 'api', 'wrapper'],
classifiers=[],
install_requires=['tqdm', 'requests-toolbelt', 'requests', 'schedule', 'future', 'six', 'huepy'],
)
| from setuptools import setup
setup(
name='instabot',
packages=['instabot', 'instabot.bot', 'instabot.api'],
version='0.4.5',
description='Cool Instagram bot scripts and API python wrapper.',
author='Daniil Okhlopkov, Evgeny Kemerov',
author_email='ohld@icloud.com, eskemerov@gmail.com',
url='https://github.com/instagrambot/instabot',
download_url='https://github.com/instagrambot/instabot/tarball/0.4.5',
keywords=['instagram', 'bot', 'api', 'wrapper'],
classifiers=[],
install_requires=['tqdm', 'requests-toolbelt', 'requests', 'schedule', 'future', 'six', 'huepy'],
)
| apache-2.0 | Python |
8988373522907d72c0ee5896c2ffbb573a8500d9 | Bump version. | iloob/python-periods | setup.py | setup.py | # coding=utf-8
from setuptools import setup
import os
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="python-periods",
version="0.2.0",
description="Some convenient classes and methods for working with time periods",
author="Johanna Eriksson",
author_email="johanna.eriksson@booli.se",
maintainer="Olof Sjöbergh",
maintainer_email="olofsj@gmail.com",
url="https://github.com/iloob/python-periods",
license="MIT",
packages=[
"periods",
],
long_description=read("README.md"),
install_requires=read("requirements.txt"),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
],
test_suite="unittests",
)
| # coding=utf-8
from setuptools import setup
import os
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="python-periods",
version="0.1.5",
description="Some convenient classes and methods for working with time periods",
author="Johanna Eriksson",
author_email="johanna.eriksson@booli.se",
maintainer="Olof Sjöbergh",
maintainer_email="olofsj@gmail.com",
url="https://github.com/iloob/python-periods",
license="MIT",
packages=[
"periods",
],
long_description=read("README.md"),
install_requires=read("requirements.txt"),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
],
test_suite="unittests",
)
| mit | Python |
1448d8fd33f1f9c36ba0db56c3ae3c2913166634 | add python 3.4 to setup.py classifiers | ImaginaryLandscape/djangocms-blog,jedie/djangocms-blog,DjangoBeer/djangocms-blog,sephii/djangocms-blog,kriwil/djangocms-blog,nephila/djangocms-blog,marty3d/djangocms-blog,skirsdeda/djangocms-blog,ImaginaryLandscape/djangocms-blog,DjangoBeer/djangocms-blog,motleytech/djangocms-blog,britny/djangocms-blog,kriwil/djangocms-blog,motleytech/djangocms-blog,skirsdeda/djangocms-blog,dapeng0802/djangocms-blog,vnavascues/djangocms-blog,mistalaba/djangocms-blog,marty3d/djangocms-blog,nephila/djangocms-blog,creimers/djangocms-blog,vnavascues/djangocms-blog,EnglishConnection/djangocms-blog,nephila/djangocms-blog,sephii/djangocms-blog,britny/djangocms-blog,dapeng0802/djangocms-blog,creimers/djangocms-blog,mistalaba/djangocms-blog,EnglishConnection/djangocms-blog,jedie/djangocms-blog,DjangoBeer/djangocms-blog,skirsdeda/djangocms-blog | setup.py | setup.py | # -*- coding: utf-8 -*-
#!/usr/bin/env python
import os
import sys
import djangocms_blog
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
version = djangocms_blog.__version__
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
print("You probably want to also tag the version now:")
print(" git tag -a %s -m 'version %s'" % (version, version))
print(" git push --tags")
sys.exit()
readme = open('README.rst').read()
history = open('HISTORY.rst').read().replace('.. :changelog:', '')
setup(
name='djangocms-blog',
version=version,
description='A djangoCMS 3 blog application',
long_description=readme + '\n\n' + history,
author='Iacopo Spalletti',
author_email='i.spalletti@nephila.it',
url='https://github.com/nephila/djangocms-blog',
packages=[
'djangocms_blog',
],
include_package_data=True,
install_requires=[
'django-parler>=1.2',
'django-cms>=3.0',
'django-taggit',
'django-filer',
'django-select2' if sys.version_info[0]==2 else 'django-select2-py3',
'pytz',
'django-taggit-templatetags',
'django-taggit-autosuggest',
'django-admin-enhancer',
'djangocms-text-ckeditor',
'cmsplugin-filer',
'django-meta>=0.2',
'django-meta-mixin>=0.1.1',
'south>=1.0.1',
],
license="BSD",
zip_safe=False,
keywords='djangocms-blog, blog, django, wordpress, multilingual',
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
)
| # -*- coding: utf-8 -*-
#!/usr/bin/env python
import os
import sys
import djangocms_blog
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
version = djangocms_blog.__version__
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
print("You probably want to also tag the version now:")
print(" git tag -a %s -m 'version %s'" % (version, version))
print(" git push --tags")
sys.exit()
readme = open('README.rst').read()
history = open('HISTORY.rst').read().replace('.. :changelog:', '')
setup(
name='djangocms-blog',
version=version,
description='A djangoCMS 3 blog application',
long_description=readme + '\n\n' + history,
author='Iacopo Spalletti',
author_email='i.spalletti@nephila.it',
url='https://github.com/nephila/djangocms-blog',
packages=[
'djangocms_blog',
],
include_package_data=True,
install_requires=[
'django-parler>=1.2',
'django-cms>=3.0',
'django-taggit',
'django-filer',
'django-select2' if sys.version_info[0]==2 else 'django-select2-py3',
'pytz',
'django-taggit-templatetags',
'django-taggit-autosuggest',
'django-admin-enhancer',
'djangocms-text-ckeditor',
'cmsplugin-filer',
'django-meta>=0.2',
'django-meta-mixin>=0.1.1',
'south>=1.0.1',
],
license="BSD",
zip_safe=False,
keywords='djangocms-blog, blog, django, wordpress, multilingual',
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
],
)
| bsd-3-clause | Python |
57f74b5c0c9c25a47e4a3f6309d3e2ab11415b9f | Add pypi keywords | wbond/csrbuilder | setup.py | setup.py | import os
import shutil
from setuptools import setup, find_packages, Command
import csrbuilder
class CleanCommand(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
folder = os.path.dirname(os.path.abspath(__file__))
for sub_folder in ['build', 'dist', 'csrbuilder.egg-info']:
full_path = os.path.join(folder, sub_folder)
if os.path.exists(full_path):
shutil.rmtree(full_path)
setup(
name='csrbuilder',
version=csrbuilder.__version__,
description='Creates and signs X.509 certificate signing requests (CSRs)',
long_description='Docs for this project are maintained at https://github.com/wbond/csrbuilder#readme.',
url='https://github.com/wbond/csrbuilder',
author='wbond',
author_email='will@wbond.net',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'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',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Security :: Cryptography',
],
keywords='crypto pki x509 certificate csr',
install_requires=[
'asn1crypto>=0.13',
'oscrypto>=0.12'
],
packages=find_packages(exclude=['tests*', 'dev*']),
cmdclass={
'clean': CleanCommand,
}
)
| import os
import shutil
from setuptools import setup, find_packages, Command
import csrbuilder
class CleanCommand(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
folder = os.path.dirname(os.path.abspath(__file__))
for sub_folder in ['build', 'dist', 'csrbuilder.egg-info']:
full_path = os.path.join(folder, sub_folder)
if os.path.exists(full_path):
shutil.rmtree(full_path)
setup(
name='csrbuilder',
version=csrbuilder.__version__,
description='Creates and signs X.509 certificate signing requests (CSRs)',
long_description='Docs for this project are maintained at https://github.com/wbond/csrbuilder#readme.',
url='https://github.com/wbond/csrbuilder',
author='wbond',
author_email='will@wbond.net',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'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',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Security :: Cryptography',
],
keywords='crypto pki',
install_requires=[
'asn1crypto>=0.13',
'oscrypto>=0.12'
],
packages=find_packages(exclude=['tests*', 'dev*']),
cmdclass={
'clean': CleanCommand,
}
)
| mit | Python |
a178a8b533f3f0e4da96cfa7de0ce0ea374bc6ce | Fix django classifier version number | LabD/wagtail-personalisation,LabD/wagtail-personalisation,LabD/wagtail-personalisation | setup.py | setup.py | import re
from setuptools import find_packages, setup
install_requires = [
'wagtail>=2.0',
'user-agents>=1.1.0',
'wagtailfontawesome>=1.1.3',
'pycountry',
]
tests_require = [
'factory_boy==2.8.1',
'flake8-blind-except',
'flake8-debugger',
'flake8-imports',
'flake8',
'freezegun==0.3.8',
'pytest-cov==2.5.1',
'pytest-django==3.1.2',
'pytest-pythonpath==0.7.2',
'pytest-sugar==0.9.1',
'pytest==3.4.2',
'wagtail_factories==1.0.0',
'pytest-mock==1.6.3',
]
docs_require = [
'sphinx>=1.7.6',
'sphinx_rtd_theme>=0.4.0',
]
with open('README.rst') as fh:
long_description = re.sub(
'^.. start-no-pypi.*^.. end-no-pypi', '', fh.read(), flags=re.M | re.S)
setup(
name='wagtail-personalisation',
version='0.12.0',
description='A Wagtail add-on for showing personalized content',
author='Lab Digital BV and others',
author_email='opensource@labdigital.nl',
url='https://labdigital.nl/',
install_requires=install_requires,
tests_require=tests_require,
extras_require={
'docs': docs_require,
'test': tests_require,
},
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
license='MIT',
long_description=long_description,
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Framework :: Django',
'Framework :: Django :: 2.0',
'Topic :: Internet :: WWW/HTTP :: Site Management',
],
)
| import re
from setuptools import find_packages, setup
install_requires = [
'wagtail>=2.0',
'user-agents>=1.1.0',
'wagtailfontawesome>=1.1.3',
'pycountry',
]
tests_require = [
'factory_boy==2.8.1',
'flake8-blind-except',
'flake8-debugger',
'flake8-imports',
'flake8',
'freezegun==0.3.8',
'pytest-cov==2.5.1',
'pytest-django==3.1.2',
'pytest-pythonpath==0.7.2',
'pytest-sugar==0.9.1',
'pytest==3.4.2',
'wagtail_factories==1.0.0',
'pytest-mock==1.6.3',
]
docs_require = [
'sphinx>=1.7.6',
'sphinx_rtd_theme>=0.4.0',
]
with open('README.rst') as fh:
long_description = re.sub(
'^.. start-no-pypi.*^.. end-no-pypi', '', fh.read(), flags=re.M | re.S)
setup(
name='wagtail-personalisation',
version='0.12.0',
description='A Wagtail add-on for showing personalized content',
author='Lab Digital BV and others',
author_email='opensource@labdigital.nl',
url='https://labdigital.nl/',
install_requires=install_requires,
tests_require=tests_require,
extras_require={
'docs': docs_require,
'test': tests_require,
},
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
license='MIT',
long_description=long_description,
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Framework :: Django',
'Framework :: Django :: 2',
'Topic :: Internet :: WWW/HTTP :: Site Management',
],
)
| mit | Python |
ee8355e8c3d06c6add56ce6962d5ccb9432c98c5 | Add missing package name and bump version | housecanary/hc-api-python | setup.py | setup.py | from setuptools import setup
def readme():
with open('README.rst') as f:
return f.read()
setup(name='housecanary',
version='0.5.1',
description='Client Wrapper for the HouseCanary API',
long_description=readme(),
url='http://github.com/housecanary/hc-api-python',
author='HouseCanary',
author_email='techops@housecanary.com',
license='MIT',
packages=['housecanary', 'housecanary.excel'],
install_requires=['requests','docopt', 'openpyxl'],
zip_safe=False,
test_suite='nose.collector',
tests_require=['nose', 'mock'],
scripts=['bin/hc_api_export']) | from setuptools import setup
def readme():
with open('README.rst') as f:
return f.read()
setup(name='housecanary',
version='0.5',
description='Client Wrapper for the HouseCanary API',
long_description=readme(),
url='http://github.com/housecanary/hc-api-python',
author='HouseCanary',
author_email='techops@housecanary.com',
license='MIT',
packages=['housecanary'],
install_requires=['requests','docopt', 'openpyxl'],
zip_safe=False,
test_suite='nose.collector',
tests_require=['nose', 'mock'],
scripts=['bin/hc_api_export']) | mit | Python |
9d3071ec8c1b9dd5e30fbcb090284130f1be4769 | simplify setup.py | yann2192/pyelliptic,thethythy/pyelliptic | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name="pyelliptic",
version='1.0',
url='https://github.com/yann2192/pyelliptic',
license='GPL',
description="Python OpenSSL wrapper. For modern cryptography with ECC, AES, HMAC, Blowfish, ...",
author='Yann GUIBET',
author_email='yannguibet@gmail.com',
packages=find_packages(),
classifiers=[
'Operating System :: Unix',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Security :: Cryptography',
],
)
| import os
import re
import codecs
from setuptools import setup, find_packages
def read(*parts):
return codecs.open(os.path.join(os.path.dirname(__file__), *parts)).read()
def find_version(*file_paths):
version_file = read(*file_paths)
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",
version_file, re.M)
if version_match:
return version_match.group(1)
raise RuntimeError("Unable to find version string.")
setup(
name="pyelliptic",
version=find_version("pyelliptic", "__init__.py"),
url='https://github.com/yann2192/pyelliptic',
license='GPL',
description="Python OpenSSL wrapper. For modern cryptography with ECC, AES, HMAC, Blowfish, ...",
long_description=read('README'),
author='Yann GUIBET',
author_email='yannguibet@gmail.com',
packages=find_packages(),
classifiers=[
'Operating System :: Unix',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Security :: Cryptography',
],
)
| bsd-2-clause | Python |
aa997a27dd29a5349cf73adce84b5eef8d4abcc7 | modify setup file | kjohnsson/modality,kjohnsson/modality | setup.py | setup.py | import sys
from modality import __version__
from distutils.core import setup
modality_data = ['data/gammaval.pkl']
if 'install' in sys.argv:
try:
from src import write_qDiptab
write_qDiptab.main()
modality_data += ['data/qDiptab.csv']
except Exception as e:
print("Tabulated p-values for Hartigan's diptest not loaded due to "
"error:\n\t {}.\n This means that p-values for Hartigan's "
"(uncalibrated) diptest cannot be computed. Loading tabulated "
"p-values requires the R package 'diptest' as well as the "
"python module rpy2.".format(e))
setup(name='modality',
version=__version__,
description='Non-parametric tests for unimodality',
author='Kerstin Johnsson',
author_email='kerstin.johnsson@hotmail.com',
url='https://github.com/kjohnsson/modality',
license='MIT',
packages=['modality', 'modality.calibration', 'modality.util'],
package_data={'modality': modality_data,
'modality.calibration': ['data/*.pkl']})
| import sys
import src
from distutils.core import setup
modality_data = ['data/gammaval.pkl']
if 'install' in sys.argv:
try:
from src import write_qDiptab
write_qDiptab.main()
modality_data += ['data/qDiptab.csv']
except Exception as e:
print """
Tabulated p-values for Hartigan's diptest not loaded due to
error:\n\t {}.\n
This means that p-values for Hartigan's (uncalibrated) diptest
cannot be computed. Loading tabulated p-values requires the
R package 'diptest' as well as the python module rpy2.
""".format(e)
setup(name='modality',
version=src.__version__,
description='Non-parametric tests for unimodality',
author='Kerstin Johnsson',
author_email='kerstin.johnsson@hotmail.com',
url='https://github.com/kjohnsson/modality',
license='MIT',
packages=['modality', 'modality.calibration', 'modality.util'],
package_dir={'modality': 'src'},
package_data={'modality': modality_data, 'modality.calibration': ['data/*.pkl']},
)
| mit | Python |
274b68528a0805f800b491e470ae267e295705c0 | remove numpy version cap | glennhickey/toil-vg,glennhickey/toil-vg,vgteam/toil-vg,vgteam/toil-vg | setup.py | setup.py | import sys
import os
# We can't import version.py because only one "version" module can ever be
# loaded in a Python process, and multiple setup.py scripts may have to run in
# the same process.
execfile(os.path.join(os.path.dirname(os.path.realpath(__file__)), "version.py"))
from setuptools import find_packages, setup
from setuptools.command.test import test as TestCommand
kwargs = dict(
name='toil-vg',
version=version,
description="UC Santa Cruz Computational Genomics Lab's Toil-based VG pipeline",
author='UCSC Computational Genomics Lab',
author_email='cgl-toil@googlegroups.com',
url="https://github.com/BD2KGenomics/toil-vg",
install_requires=[x + y for x, y in required_versions.iteritems()],
dependency_links=[],
# The tests need the optional numpy and scipy dependencies in addition to the actual dependencies
tests_require=['pytest==2.8.3', 'numpy>=1.9.1', 'scipy>=0.14.0,<=1.0.0'],
package_dir={'': 'src'},
packages=find_packages('src'),
entry_points={
'console_scripts': ['toil-vg = toil_vg.vg_toil:main']}
)
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = []
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
# Sanitize command line arguments to avoid confusing Toil code attempting to parse them
sys.argv[1:] = []
errno = pytest.main(self.pytest_args)
sys.exit(errno)
kwargs['cmdclass'] = {'test': PyTest}
setup(**kwargs)
print("\n\n"
"Thank you for installing the UC Santa Cruz Computuational Genomics Lab VG DNA-seq pipeline! "
"If you want to run this Toil-based pipeline on a cluster in a cloud, please install Toil "
"with the appropriate extras. For example, To install AWS/EC2 support for example, run "
"\n\n"
"pip install \'toil[aws,mesos]>=3.6.0\'"
"\n\n"
"on every EC2 instance. Refer to Toil's documentation at http://toil.readthedocs.io/en/latest/installation.html "
"for more information.")
| import sys
import os
# We can't import version.py because only one "version" module can ever be
# loaded in a Python process, and multiple setup.py scripts may have to run in
# the same process.
execfile(os.path.join(os.path.dirname(os.path.realpath(__file__)), "version.py"))
from setuptools import find_packages, setup
from setuptools.command.test import test as TestCommand
kwargs = dict(
name='toil-vg',
version=version,
description="UC Santa Cruz Computational Genomics Lab's Toil-based VG pipeline",
author='UCSC Computational Genomics Lab',
author_email='cgl-toil@googlegroups.com',
url="https://github.com/BD2KGenomics/toil-vg",
install_requires=[x + y for x, y in required_versions.iteritems()],
dependency_links=[],
# The tests need the optional numpy and scipy dependencies in addition to the actual dependencies
tests_require=['pytest==2.8.3', 'numpy>=1.9.1,<=1.14.2', 'scipy>=0.14.0,<=1.0.0'],
package_dir={'': 'src'},
packages=find_packages('src'),
entry_points={
'console_scripts': ['toil-vg = toil_vg.vg_toil:main']}
)
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = []
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import pytest
# Sanitize command line arguments to avoid confusing Toil code attempting to parse them
sys.argv[1:] = []
errno = pytest.main(self.pytest_args)
sys.exit(errno)
kwargs['cmdclass'] = {'test': PyTest}
setup(**kwargs)
print("\n\n"
"Thank you for installing the UC Santa Cruz Computuational Genomics Lab VG DNA-seq pipeline! "
"If you want to run this Toil-based pipeline on a cluster in a cloud, please install Toil "
"with the appropriate extras. For example, To install AWS/EC2 support for example, run "
"\n\n"
"pip install \'toil[aws,mesos]>=3.6.0\'"
"\n\n"
"on every EC2 instance. Refer to Toil's documentation at http://toil.readthedocs.io/en/latest/installation.html "
"for more information.")
| apache-2.0 | Python |
1817c8ee4434ce2d6680c1e062a04e23c5f9ac9c | update deps in setup.py | Geosyntec/pygridtools,phobson/pygridtools | setup.py | setup.py | import os
from setuptools import setup, find_packages
def getDataFiles(submodule, folder):
datadir = os.path.join('pygridtools', submodule, folder)
files = [d for d in map(
lambda x: os.path.join(datadir, x),
os.listdir(datadir)
)]
return files
DESCRIPTION = "utilities to facilitate grid generation"
LONG_DESCRIPTION = DESCRIPTION
NAME = "pygridtools"
VERSION = "0.1"
AUTHOR = "Paul Hobson (Geosyntec Consultants)"
AUTHOR_EMAIL = "phobson@geosyntec.com"
URL = "https://github.com/Geosyntec/pygridtools"
DOWNLOAD_URL = "https://github.com/Geosyntec/pygridtools/archive/master.zip"
LICENSE = "BSD 3-clause"
PACKAGES = find_packages()
PLATFORMS = "Python 2.7, 3.3 and later."
CLASSIFIERS = [
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Intended Audience :: Science/Research",
"Topic :: Formats and Protocols :: Data Formats",
"Topic :: Scientific/Engineering :: Earth Sciences",
"Topic :: Software Development :: Libraries :: Python Modules",
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
]
INSTALL_REQUIRES = ['numpy', 'matplotlib', 'fiona', 'pandas']
PACKAGE_DATA = {}
DATA_FILES = []
if __name__ == "__main__":
setup(
name=NAME,
version=VERSION,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=URL,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
download_url=DOWNLOAD_URL,
license=LICENSE,
packages=PACKAGES,
package_data=PACKAGE_DATA,
data_files=DATA_FILES,
platforms=PLATFORMS,
classifiers=CLASSIFIERS,
install_requires=INSTALL_REQUIRES,
)
| import os
from setuptools import setup, find_packages
def getDataFiles(submodule, folder):
datadir = os.path.join('pygridtools', submodule, folder)
files = [d for d in map(
lambda x: os.path.join(datadir, x),
os.listdir(datadir)
)]
return files
DESCRIPTION = "utilities to facilitate grid generation"
LONG_DESCRIPTION = DESCRIPTION
NAME = "pygridtools"
VERSION = "0.1"
AUTHOR = "Paul Hobson (Geosyntec Consultants)"
AUTHOR_EMAIL = "phobson@geosyntec.com"
URL = "https://github.com/Geosyntec/pygridtools"
DOWNLOAD_URL = "https://github.com/Geosyntec/pygridtools/archive/master.zip"
LICENSE = "BSD 3-clause"
PACKAGES = find_packages()
PLATFORMS = "Python 2.7, 3.3 and later."
CLASSIFIERS = [
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Intended Audience :: Science/Research",
"Topic :: Formats and Protocols :: Data Formats",
"Topic :: Scientific/Engineering :: Earth Sciences",
"Topic :: Software Development :: Libraries :: Python Modules",
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
]
INSTALL_REQUIRES = ['seaborn']
PACKAGE_DATA = {}
DATA_FILES = []
if __name__ == "__main__":
setup(
name=NAME,
version=VERSION,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
url=URL,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
download_url=DOWNLOAD_URL,
license=LICENSE,
packages=PACKAGES,
package_data=PACKAGE_DATA,
data_files=DATA_FILES,
platforms=PLATFORMS,
classifiers=CLASSIFIERS,
install_requires=INSTALL_REQUIRES,
)
| bsd-3-clause | Python |
c219105639921f6d78e56ca0b68dd01a8bd082d4 | replace double quotes with quotes | mylokin/migrate3 | setup.py | setup.py | '''
Language agnostic database migration tool
migrate
=======
A simple language agnostic database migration tool
install
-------
::
$ pip install migrate
usage
-----
::
usage: migrate [options] <command>
See Readme_
.. _Readme: https://github.com/kofrasa/migrate/blob/master/README.md
'''
import migrate
from setuptools import setup
setup(
name='migrate',
version=migrate.__version__,
license='MIT',
author='Francis Asante',
author_email='kofrasa@gmail.com',
url='https://github.com/kofrasa/migrate',
description='A simple language agnostic database migration tool',
long_description=__doc__,
py_modules=['migrate'],
include_package_data=True,
zip_safe=False,
classifiers=[
'Environment :: Console',
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries',
'Topic :: Database',
'Topic :: Utilities'
],
entry_points={
'console_scripts': ['migrate=migrate:main']
}
)
| """
Language agnostic database migration tool
migrate
=======
A simple language agnostic database migration tool
install
-------
::
$ pip install migrate
usage
-----
::
usage: migrate [options] <command>
See Readme_
.. _Readme: https://github.com/kofrasa/migrate/blob/master/README.md
"""
import migrate
from setuptools import setup
setup(
name='migrate',
version=migrate.__version__,
license='MIT',
author='Francis Asante',
author_email='kofrasa@gmail.com',
url='https://github.com/kofrasa/migrate',
description="A simple language agnostic database migration tool",
long_description=__doc__,
py_modules=['migrate'],
include_package_data=True,
zip_safe=False,
classifiers=[
'Environment :: Console',
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries',
'Topic :: Database',
'Topic :: Utilities'
],
entry_points={
'console_scripts': ['migrate=migrate:main']
}
) | mit | Python |
dbeb6c5a9a211961e2eab71a857b1d6765bea7d9 | remove linger reference the Sheath project | splaice/py-bootstrap,splaice/py-bootstrap | setup.py | setup.py | from distutils.core import setup
setup(
name='bootstrap',
version='0.0.1',
packages=['bootstrap',],
license='GPLv2',
long_description=open('README.txt').read(),
test_suite = "bootstrap.test.test_all"
)
| from distutils.core import setup
setup(
name='Sheath',
version='0.0.1',
packages=['bootstrap',],
license='GPLv2',
long_description=open('README.txt').read(),
test_suite = "bootstrap.test.test_all"
)
| isc | Python |
98c80428b35e2a79b4481c5eb9180613266e9698 | Update `djangorestframework` from 2.4.3 to 2.4.4 | incuna/django-user-management,incuna/django-user-management | setup.py | setup.py | from setuptools import find_packages, setup
version = '6.0.0'
install_requires = (
'djangorestframework>=2.4.4,<3',
'incuna_mail>=2.0.0,<3',
)
extras_require = {
'avatar': [
'django-imagekit>=3.2',
],
'utils': [
'raven>=5.1.1',
],
}
setup(
name='django-user-management',
packages=find_packages(),
include_package_data=True,
version=version,
description='User management model mixins and api views.',
long_description='',
keywords='django rest framework user management api',
author='Incuna',
author_email='admin@incuna.com',
url='https://github.com/incuna/django-user-management/',
install_requires=install_requires,
extras_require=extras_require,
zip_safe=False,
license='BSD',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development',
'Topic :: Utilities',
],
)
| from setuptools import find_packages, setup
version = '6.0.0'
install_requires = (
'djangorestframework>=2.4.3,<3',
'incuna_mail>=2.0.0,<3',
)
extras_require = {
'avatar': [
'django-imagekit>=3.2',
],
'utils': [
'raven>=5.1.1',
],
}
setup(
name='django-user-management',
packages=find_packages(),
include_package_data=True,
version=version,
description='User management model mixins and api views.',
long_description='',
keywords='django rest framework user management api',
author='Incuna',
author_email='admin@incuna.com',
url='https://github.com/incuna/django-user-management/',
install_requires=install_requires,
extras_require=extras_require,
zip_safe=False,
license='BSD',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development',
'Topic :: Utilities',
],
)
| bsd-2-clause | Python |
16452ef534cb5fb965baff30c0ce726fb7180549 | Update jogovelha.py | kauaramirez/devops-aula05 | Src/jogovelha.py | Src/jogovelha.py | def, inicializar()
tab = [ ]
for i i,n range(3)
linha = [ ]
for j in range(3):
linha,append("X")
tab.append(linha),
return tab
def main( ):
jogo = inicializar ( )
print (jogo)
if_name_=="_main_":
main( )
| def, inicializar(),
tab = [ ]
for,i in range(3),
linha = [ ],
for j in range(3):
linha,append("X")
tab.append(linha,)
return tab
def main( ):
jogo = inicializar ( )
print (jogo)
if_name_=="_main_":
main( )
| apache-2.0 | Python |
a2ce41adb0f614b9a04a1cdccc3b0b913fd13dea | include only highlevel requirements in package | leprikon-cz/leprikon,leprikon-cz/leprikon,leprikon-cz/leprikon,leprikon-cz/leprikon | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
from leprikon import __version__
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
long_description = readme.read()
with open(os.path.join(os.path.dirname(__file__), 'requirements.in')) as requirements:
install_requires = [
line.strip() if not line.startswith('-e ') else line.strip().split('egg=')[1]
for line in requirements.readlines()
if not line.startswith('#')
]
setup(
name='leprikon',
version=__version__,
description='Django CMS based IS for leisure centre',
long_description=long_description,
author='Jakub Dorňák',
author_email='jakub.dornak@misli.cz',
license='BSD',
url='https://github.com/leprikon-cz/leprikon',
packages=find_packages(),
include_package_data=True,
install_requires=install_requires,
scripts=['bin/leprikon'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.11',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Natural Language :: Czech',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
],
)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
from leprikon import __version__
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
long_description = readme.read()
with open(os.path.join(os.path.dirname(__file__), 'requirements.txt')) as requirements:
install_requires = [
line.strip() if not line.startswith('-e ') else line.strip().split('egg=')[1]
for line in requirements.readlines()
if not line.startswith('#')
]
setup(
name='leprikon',
version=__version__,
description='Django CMS based IS for leisure centre',
long_description=long_description,
author='Jakub Dorňák',
author_email='jakub.dornak@misli.cz',
license='BSD',
url='https://github.com/leprikon-cz/leprikon',
packages=find_packages(),
include_package_data=True,
install_requires=install_requires,
scripts=['bin/leprikon'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.11',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Natural Language :: Czech',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.6',
],
)
| bsd-3-clause | Python |
350f3bb3431d451f6bf6f2fac2e696b9122d65a6 | Add missing 'boltons' package & clean up | wcooley/python-gryaml | setup.py | setup.py | #!/usr/bin/env python
"""Setuptools setup."""
from setuptools import setup
readme = open('README.rst').read()
doclink = """
Documentation
-------------
The full documentation is at http://gryaml.rtfd.org."""
history = open('HISTORY.rst').read().replace('.. :changelog:', '')
setup(
name='gryaml',
use_scm_version=True,
description='Represent Neo4j graph data as YAML.',
long_description=readme + '\n\n' + doclink + '\n\n' + history,
author='Wil Cooley',
author_email='wcooley@nakedape.cc',
url='https://github.com/wcooley/python-gryaml',
packages=[
'gryaml',
],
package_dir={'gryaml': 'gryaml'},
include_package_data=True,
install_requires=[
'boltons',
'py2neo>=2.0,<3',
'pyyaml',
],
setup_requires=['setuptools_scm'],
license='MIT',
zip_safe=False,
keywords='gryaml',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: Implementation :: PyPy',
],
)
| #!/usr/bin/env python
import os
import sys
from setuptools import setup
readme = open('README.rst').read()
doclink = """
Documentation
-------------
The full documentation is at http://gryaml.rtfd.org."""
history = open('HISTORY.rst').read().replace('.. :changelog:', '')
setup(
name='gryaml',
use_scm_version=True,
description='Represent Neo4j graph data as YAML.',
long_description=readme + '\n\n' + doclink + '\n\n' + history,
author='Wil Cooley',
author_email='wcooley@nakedape.cc',
url='https://github.com/wcooley/python-gryaml',
packages=[
'gryaml',
],
package_dir={'gryaml': 'gryaml'},
include_package_data=True,
install_requires=[
'py2neo>=2.0,<3',
'pyyaml',
],
setup_requires=['setuptools_scm'],
license='MIT',
zip_safe=False,
keywords='gryaml',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: Implementation :: PyPy',
],
)
| mit | Python |
f20ad981e8065f99e385c3196b48a7d1cf0179c3 | Add new files to setup.py. | pyos/dg | setup.py | setup.py | #!/usr/bin/env python3
from distutils.core import setup
setup(
name='dg',
version='HEAD',
description='A programming language for the CPython VM',
author='pyos',
author_email='pyos100500@gmail.com',
url='https://github.com/pyos/dg.git',
packages=['dg'],
package_dir={'dg': '.'},
package_data={'dg': ['*.dg', 'addon/*.dg', 'addon/*/*.dg', 'core/*.dg', 'bundle/*.dgbundle']}
)
| #!/usr/bin/env python3
from distutils.core import setup
setup(
name='dg',
version='HEAD',
description='A programming language for the CPython VM',
author='pyos',
author_email='pyos100500@gmail.com',
url='https://github.com/pyos/dg.git',
packages=['dg'],
package_dir={'dg': '.'},
package_data={'dg': ['*.dg', 'addon/*', 'core/*', 'bundle/*']}
)
| mit | Python |
b9a1681f018a73b53e99bd58e707f279a3c668d0 | allow disabling of install_requires by environment variables | motmot/wxglvideo,motmot/wxglvideo,motmot/wxglvideo | setup.py | setup.py | from setuptools import setup, find_packages
import os
kws = {}
if not int(os.getenv( 'DISABLE_INSTALL_REQUIRES','0' )):
kws['install_requires'] = ['numpy>=1.0.4',
'motmot.imops>=0.5.2.dev',
'pyglet>=1.0',
'wxPython>=2.8',
'pygarrayimage>=0.0.2',
],
setup(name='motmot.wxglvideo',
description='wx/OpenGL viewer of image sequences',
long_description = \
"""Allows for rapid display and resizing/rotation of images by
offloading the image operations to OpenGL.
This is a subpackage of the motmot family of digital image utilities.
""",
version='0.6.1',
author='Andrew Straw',
author_email='strawman@astraw.com',
url='http://code.astraw.com/projects/motmot',
license='BSD',
zip_safe=True,
packages = find_packages(),
namespace_packages = ['motmot'],
package_data = {'motmot.wxglvideo':['demo.xrc']},
entry_points = {'gui_scripts': ['wxglvideo_demo=motmot.wxglvideo.demo:main',
]},
**kws)
| from setuptools import setup, find_packages
setup(name='motmot.wxglvideo',
description='wx/OpenGL viewer of image sequences',
long_description = \
"""Allows for rapid display and resizing/rotation of images by
offloading the image operations to OpenGL.
This is a subpackage of the motmot family of digital image utilities.
""",
version='0.6.1',
author='Andrew Straw',
author_email='strawman@astraw.com',
install_requires = ['numpy>=1.0.4',
'motmot.imops>=0.5.2.dev',
'pyglet>=1.0',
'wxPython>=2.8',
'pygarrayimage>=0.0.2',
],
url='http://code.astraw.com/projects/motmot',
license='BSD',
zip_safe=True,
packages = find_packages(),
namespace_packages = ['motmot'],
package_data = {'motmot.wxglvideo':['demo.xrc']},
entry_points = {'gui_scripts': ['wxglvideo_demo=motmot.wxglvideo.demo:main',
]}
)
| bsd-3-clause | Python |
16251e5191ce396342a9d0f1870426dff63dd06c | update setup.py for v0.8.4 tag. | soylentme/shipwire-python | setup.py | setup.py | from distutils.core import setup
setup(
name = 'shipwire',
packages = ['shipwire'], # this must be the same as the name above
version = '0.8.3',
description = 'A Python abstraction layer around the Shipwire API.',
author = 'Neil Durbin, John Coogan',
author_email = 'neildurbin@gmail.com',
url = 'https://github.com/soylentme/shipwire-python', # use the URL to the github repo
download_url = 'https://github.com/soylentme/shipwire-python/tarball/v0.8.4', # I'll explain this in a second
keywords = ['shipwire', 'api', 'wrapper', 'soylent'], # arbitrary keywords
classifiers = [],
install_requires = ['requests >= 2.4.3'],
)
| from distutils.core import setup
setup(
name = 'shipwire',
packages = ['shipwire'], # this must be the same as the name above
version = '0.8.3',
description = 'A Python abstraction layer around the Shipwire API.',
author = 'Neil Durbin',
author_email = 'neildurbin@gmail.com',
url = 'https://github.com/soylentme/shipwire-python', # use the URL to the github repo
download_url = 'https://github.com/soylentme/shipwire-python/tarball/v0.8.2', # I'll explain this in a second
keywords = ['shipwire', 'api', 'wrapper', 'soylent'], # arbitrary keywords
classifiers = [],
install_requires = ['requests >= 2.4.3'],
)
| mit | Python |
5e6a09829530c8af6f681621f57929a9343f4973 | Add maintainer to `setup.py` | limist/py-moneyed | setup.py | setup.py | #!/usr/bin/env python
import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
class Tox(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
# import here, cause outside the eggs aren't loaded
import tox
errno = tox.cmdline(self.test_args)
sys.exit(errno)
setup(
name='py-moneyed',
packages=['moneyed'],
version='1.1',
description='Provides Currency and Money classes for use in your Python code.',
author='Kai',
author_email='k@limist.com',
maintainer="Dmitry Dygalo",
maintainer_email="dadygalo@gmail.com",
url='http://github.com/py-moneyed/py-moneyed',
download_url='',
keywords="money currency class abstraction",
license='BSD',
install_requires=[
'babel>=2.8.0',
],
classifiers=[
'Programming Language :: Python',
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Development Status :: 6 - Mature',
'Environment :: Other Environment',
'Intended Audience :: Developers',
'Topic :: Office/Business :: Financial',
'Topic :: Software Development :: Libraries :: Python Modules'],
long_description=open('README.rst', 'r').read(),
long_description_content_type="text/x-rst",
extras_require={
'tests': [
'pytest>=2.3.0',
'tox>=1.6.0'
]},
tests_require=['tox>=1.6.0', 'pytest>=2.3.0'],
cmdclass={'test': Tox},
include_package_data=True,
)
| #!/usr/bin/env python
import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
class Tox(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
# import here, cause outside the eggs aren't loaded
import tox
errno = tox.cmdline(self.test_args)
sys.exit(errno)
setup(
name='py-moneyed',
packages=['moneyed'],
version='1.1',
description='Provides Currency and Money classes for use in your Python code.',
author='Kai',
author_email='k@limist.com',
url='http://github.com/py-moneyed/py-moneyed',
download_url='',
keywords="money currency class abstraction",
license='BSD',
install_requires=[
'babel>=2.8.0',
],
classifiers=[
'Programming Language :: Python',
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Development Status :: 6 - Mature',
'Environment :: Other Environment',
'Intended Audience :: Developers',
'Topic :: Office/Business :: Financial',
'Topic :: Software Development :: Libraries :: Python Modules'],
long_description=open('README.rst', 'r').read(),
long_description_content_type="text/x-rst",
extras_require={
'tests': [
'pytest>=2.3.0',
'tox>=1.6.0'
]},
tests_require=['tox>=1.6.0', 'pytest>=2.3.0'],
cmdclass={'test': Tox},
include_package_data=True,
)
| bsd-3-clause | Python |
66b1fdb9106de330112a32b59da6dc891c76717a | Use .partition and variable names rather than indexes into a list. | jaraco/irc | irc/message.py | irc/message.py | from __future__ import print_function
class Tag(object):
"""
An IRC message tag ircv3.net/specs/core/message-tags-3.2.html
"""
@staticmethod
def parse(item):
r"""
>>> Tag.parse('x') == {'key': 'x', 'value': None}
True
>>> Tag.parse('x=yes') == {'key': 'x', 'value': 'yes'}
True
>>> Tag.parse('x=3')['value']
'3'
>>> Tag.parse('x=red fox\\:green eggs')['value']
'red fox;green eggs'
>>> Tag.parse('x=red fox:green eggs')['value']
'red fox:green eggs'
>>> print(Tag.parse('x=a\\nb\\nc')['value'])
a
b
c
"""
key, sep, value = item.partition('=')
value = value.replace('\\:', ';')
value = value.replace('\\s', ' ')
value = value.replace('\\n', '\n')
value = value.replace('\\r', '\r')
value = value.replace('\\\\', '\\')
value = value or None
return {
'key': key,
'value': value,
}
@classmethod
def from_group(cls, group):
"""
Construct tags from the regex group
"""
if not group:
return
tag_items = group.split(";")
return list(map(cls.parse, tag_items))
class Arguments(list):
@staticmethod
def from_group(group):
"""
Construct arguments from the regex group
>>> Arguments.from_group('foo')
['foo']
>>> Arguments.from_group(None)
[]
>>> Arguments.from_group('')
[]
>>> Arguments.from_group('foo bar')
['foo', 'bar']
>>> Arguments.from_group('foo bar :baz')
['foo', 'bar', 'baz']
>>> Arguments.from_group('foo bar :baz bing')
['foo', 'bar', 'baz bing']
"""
if not group:
return []
main, sep, ext = group.partition(" :")
arguments = main.split()
if sep:
arguments.append(ext)
return arguments
| from __future__ import print_function
class Tag(object):
"""
An IRC message tag ircv3.net/specs/core/message-tags-3.2.html
"""
@staticmethod
def parse(item):
r"""
>>> Tag.parse('x') == {'key': 'x', 'value': None}
True
>>> Tag.parse('x=yes') == {'key': 'x', 'value': 'yes'}
True
>>> Tag.parse('x=3')['value']
'3'
>>> Tag.parse('x=red fox\\:green eggs')['value']
'red fox;green eggs'
>>> Tag.parse('x=red fox:green eggs')['value']
'red fox:green eggs'
>>> print(Tag.parse('x=a\\nb\\nc')['value'])
a
b
c
"""
key, sep, value = item.partition('=')
value = value.replace('\\:', ';')
value = value.replace('\\s', ' ')
value = value.replace('\\n', '\n')
value = value.replace('\\r', '\r')
value = value.replace('\\\\', '\\')
value = value or None
return {
'key': key,
'value': value,
}
@classmethod
def from_group(cls, group):
"""
Construct tags from the regex group
"""
if not group:
return
tag_items = group.split(";")
return list(map(cls.parse, tag_items))
class Arguments(list):
@staticmethod
def from_group(group):
"""
Construct arguments from the regex group
>>> Arguments.from_group('foo')
['foo']
>>> Arguments.from_group(None)
[]
>>> Arguments.from_group('')
[]
>>> Arguments.from_group('foo bar')
['foo', 'bar']
>>> Arguments.from_group('foo bar :baz')
['foo', 'bar', 'baz']
>>> Arguments.from_group('foo bar :baz bing')
['foo', 'bar', 'baz bing']
"""
if not group:
return []
a = group.split(" :", 1)
arguments = a[0].split()
if len(a) == 2:
arguments.append(a[1])
return arguments
| mit | Python |
59dba35483c651f2708a6724c2730381f25fdb14 | fix setup.py | PyThaiNLP/pythainlp | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup
from setuptools import find_packages
import sys
import codecs
with codecs.open('README.rst','r',encoding='utf-8') as readme_file:
readme = readme_file.read()
requirements = [
'pyicu>=1.9.3',
'nltk>=3.2.2',
'future>=0.16.0',
'nine',
'six',
# TODO: put package requirements here
]
test_requirements = [
# TODO: put package test requirements here
]
if sys.version_info > (3,3):
setup(
name='pythainlp',
version='1.0.0',
description="Thai NLP in python package.",
long_description=readme,
author='Wannaphong Phatthiyaphaibun',
author_email='wannaphong@yahoo.com',
url='https://github.com/wannaphongcom/pythainlp',
packages=find_packages(),
test_suite='test',
package_data={'pythainlp.corpus':['thaipos.json','thaiword.txt']},
include_package_data=True,
install_requires=requirements,
license='Apache Software License 2.0',
zip_safe=False,
keywords='pythainlp',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: Thai',
'Topic :: Text Processing :: Linguistic',
'Programming Language :: Python :: Implementation',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
)
else:
setup(
name='pythainlp',
version='1.0.0',
description="Thai NLP in python package.",
long_description=readme,
author='Wannaphong Phatthiyaphaibun',
author_email='wannaphong@yahoo.com',
url='https://github.com/wannaphongcom/pythainlp',
packages=find_packages(),
test_suite='test',
package_data={'pythainlp.corpus':['thaipos.json','thaiword.txt']},
include_package_data=True,
install_requires=requirements,
license='Apache Software License 2.0',
zip_safe=False,
keywords='pythainlp',
)
| # -*- coding: utf-8 -*-
from setuptools import setup
from setuptools import find_packages
import codecs
with codecs.open('README.rst','r',encoding='utf-8') as readme_file:
readme = readme_file.read()
requirements = [
'pyicu>=1.9.3',
'nltk>=3.2.2',
'future>=0.16.0',
'nine',
'six',
# TODO: put package requirements here
]
test_requirements = [
# TODO: put package test requirements here
]
setup(
name='pythainlp',
version='1.0.0',
description="Thai NLP in python package.",
long_description=readme,
author='Wannaphong Phatthiyaphaibun',
author_email='wannaphong@yahoo.com',
url='https://github.com/wannaphongcom/pythainlp',
packages=find_packages(),
test_suite='test',
package_data={'pythainlp.corpus':['thaipos.json','thaiword.txt']},
include_package_data=True,
install_requires=requirements,
license='Apache Software License 2.0',
zip_safe=False,
keywords='pythainlp',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: Thai',
'Topic :: Text Processing :: Linguistic',
'Programming Language :: Python :: Implementation',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
)
| apache-2.0 | Python |
439f2009e38d5c31795c9e947e158a2c7553c59b | Bump minimum version of six to 1.13.0 | prkumar/uplink | setup.py | setup.py | # Standard library imports
import os
from setuptools import setup, find_packages
def read(filename):
with open(filename) as stream:
return stream.read()
# Read package metadata from __about__.py, to avoid importing the whole
# package prior to installation.
about = dict()
with open(os.path.join("uplink", "__about__.py")) as fp:
exec(fp.read(), about)
about = dict((k.strip("_"), about[k]) for k in about)
install_requires = ["requests>=2.18.0", "six>=1.13.0", "uritemplate>=3.0.0"]
extras_require = {
"marshmallow": ["marshmallow>=2.15.0"],
"pydantic:python_version >= '3.6'": ["pydantic>=1.6.1"],
"aiohttp:python_version <= '3.4'": [],
"aiohttp:python_version >= '3.4'": "aiohttp>=2.3.0",
"twisted:python_version != '3.3' and python_version != '3.4'": "twisted>=17.1.0",
# Twisted 18.4.0 dropped py3.3 support
"twisted:python_version == '3.3'": "twisted<=17.9.0",
# Twisted 19.7.0 dropped py3.4 support
"twisted:python_version == '3.4'": "twisted<=19.2.1",
"typing": ["typing>=3.6.4"],
"tests": ["pytest", "pytest-mock", "pytest-cov", "pytest-twisted"],
}
metadata = {
"author": "P. Raj Kumar",
"author_email": "raj.pritvi.kumar@gmail.com",
"url": "https://uplink.readthedocs.io/",
"license": "MIT",
"description": "A Declarative HTTP Client for Python.",
"long_description": read("README.rst"),
"classifiers": [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
"keywords": "http api rest client retrofit",
"packages": find_packages(exclude=("tests", "tests.*")),
"install_requires": install_requires,
"extras_require": extras_require,
}
metadata = dict(metadata, **about)
if __name__ == "__main__":
setup(name="uplink", **metadata)
| # Standard library imports
import os
from setuptools import setup, find_packages
def read(filename):
with open(filename) as stream:
return stream.read()
# Read package metadata from __about__.py, to avoid importing the whole
# package prior to installation.
about = dict()
with open(os.path.join("uplink", "__about__.py")) as fp:
exec(fp.read(), about)
about = dict((k.strip("_"), about[k]) for k in about)
install_requires = ["requests>=2.18.0", "six>=1.12.0", "uritemplate>=3.0.0"]
extras_require = {
"marshmallow": ["marshmallow>=2.15.0"],
"pydantic:python_version >= '3.6'": ["pydantic>=1.6.1"],
"aiohttp:python_version <= '3.4'": [],
"aiohttp:python_version >= '3.4'": "aiohttp>=2.3.0",
"twisted:python_version != '3.3' and python_version != '3.4'": "twisted>=17.1.0",
# Twisted 18.4.0 dropped py3.3 support
"twisted:python_version == '3.3'": "twisted<=17.9.0",
# Twisted 19.7.0 dropped py3.4 support
"twisted:python_version == '3.4'": "twisted<=19.2.1",
"typing": ["typing>=3.6.4"],
"tests": ["pytest", "pytest-mock", "pytest-cov", "pytest-twisted"],
}
metadata = {
"author": "P. Raj Kumar",
"author_email": "raj.pritvi.kumar@gmail.com",
"url": "https://uplink.readthedocs.io/",
"license": "MIT",
"description": "A Declarative HTTP Client for Python.",
"long_description": read("README.rst"),
"classifiers": [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"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",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
"keywords": "http api rest client retrofit",
"packages": find_packages(exclude=("tests", "tests.*")),
"install_requires": install_requires,
"extras_require": extras_require,
}
metadata = dict(metadata, **about)
if __name__ == "__main__":
setup(name="uplink", **metadata)
| mit | Python |
5bd3d11c1e79f1bcbf40d4838543fed56dddad1f | Bump version to 0.1.2 | osuosl/formsender,osuosl/formsender | setup.py | setup.py | from distutils.core import setup
from setuptools import find_packages
dependencies = [
'flake8==2.4.1',
'Jinja2==2.7.3',
'MarkupSafe==0.23',
'mock==1.0.1',
'pydns==2.3.6',
'redis==2.10.3',
'validate-email==1.3',
'Werkzeug==0.10.4',
'wheel==0.24.0'
]
setup(
name='formsender',
version='0.1.2',
install_requires=dependencies,
author=u'OSU Open Source Lab',
author_email='support@osuosl.org',
packages=find_packages(),
url='https://github.com/osuosl/formsender',
license='Apache Version 2.0',
zip_safe=False,
description="Formsender application",
long_description=open('README.md').read()
)
| from distutils.core import setup
from setuptools import find_packages
dependencies = [
'flake8==2.4.1',
'Jinja2==2.7.3',
'MarkupSafe==0.23',
'mock==1.0.1',
'pydns==2.3.6',
'redis==2.10.3',
'validate-email==1.3',
'Werkzeug==0.10.4',
'wheel==0.24.0'
]
setup(
name='formsender',
version='0.1.1',
install_requires=dependencies,
author=u'OSU Open Source Lab',
author_email='support@osuosl.org',
packages=find_packages(),
url='https://github.com/osuosl/formsender',
license='Apache Version 2.0',
zip_safe=False,
description="Formsender application",
long_description=open('README.md').read()
)
| apache-2.0 | Python |
edef7290f802cacf3d729d80a9462e6a175b9269 | Bump version number | trilan/lemon-publications,trilan/lemon-publications | setup.py | setup.py | import codecs
import os
from setuptools import setup, find_packages
def read(filename):
filepath = os.path.join(os.path.dirname(__file__), filename)
return codecs.open(filepath, encoding='utf-8').read()
setup(
name='lemon-publications',
version='0.1',
license='ISC',
description='Utils to create publications-like Django apps faster.',
long_description=read('README.rst'),
url='https://github.com/trilan/lemon-publications',
author='Mike Yumatov',
author_email='mike@yumatov.org',
packages=find_packages(exclude=['tests', 'tests.*']),
include_package_data=True,
classifiers=[
'Development Status :: 3 - Alpha',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: ISC License (ISCL)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP',
],
)
| import codecs
import os
from setuptools import setup, find_packages
def read(filename):
filepath = os.path.join(os.path.dirname(__file__), filename)
return codecs.open(filepath, encoding='utf-8').read()
setup(
name='lemon-publications',
version='0.1.dev',
license='ISC',
description='Utils to create publications-like Django apps faster.',
long_description=read('README.rst'),
url='https://github.com/trilan/lemon-publications',
author='Mike Yumatov',
author_email='mike@yumatov.org',
packages=find_packages(exclude=['tests', 'tests.*']),
include_package_data=True,
classifiers=[
'Development Status :: 3 - Alpha',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: ISC License (ISCL)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP',
],
)
| isc | Python |
72ed0accdf752539c2b0b48ffe01d2a843827831 | bump version to 1.1.0 | lead-ratings/django-bulk-update,torchingloom/django-bulk-update,aykut/django-bulk-update,HowGood/django-bulk-update | setup.py | setup.py | import os
from setuptools import setup, find_packages
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-bulk-update',
version='1.1.0',
packages=find_packages(),
include_package_data=True,
description='Bulk update using one query over Django ORM.',
long_description=README,
url='https://github.com/aykut/django-bulk-update',
author='Aykut Ozat',
author_email='aykutozat@gmail.com',
install_requires=[
'django>=1.2',
],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
| import os
from setuptools import setup, find_packages
README = open(os.path.join(os.path.dirname(__file__), 'README.md')).read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-bulk-update',
version='1.0.5',
packages=find_packages(),
include_package_data=True,
description='Bulk update using one query over Django ORM.',
long_description=README,
url='https://github.com/aykut/django-bulk-update',
author='Aykut Ozat',
author_email='aykutozat@gmail.com',
install_requires=[
'django>=1.2',
],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
| mit | Python |
6a214634545cfe5721550dfa90bb617a2ba95f00 | revert preventing normalization (#69) | googleapis/python-access-approval,googleapis/python-access-approval | setup.py | setup.py | # -*- coding: utf-8 -*-
#
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://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 io
import os
import setuptools
name = "google-cloud-access-approval"
description = "Access Approval API client library"
version = "1.1.1"
release_status = "Development Status :: 5 - Production/Stable"
dependencies = [
"google-api-core[grpc] >= 1.22.2, < 2.0.0dev",
"proto-plus >= 1.4.0",
]
extras = {"libcst": "libcst >= 0.2.5"}
package_root = os.path.abspath(os.path.dirname(__file__))
readme_filename = os.path.join(package_root, "README.rst")
with io.open(readme_filename, encoding="utf-8") as readme_file:
readme = readme_file.read()
packages = [
package
for package in setuptools.PEP420PackageFinder.find()
if package.startswith("google")
]
namespaces = ["google"]
if "google.cloud" in packages:
namespaces.append("google.cloud")
setuptools.setup(
name=name,
version=version,
description=description,
long_description=readme,
author="Google LLC",
author_email="googleapis-packages@google.com",
license="Apache 2.0",
url="https://github.com/googleapis/python-access-approval",
classifiers=[
release_status,
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Operating System :: OS Independent",
"Topic :: Internet",
],
platforms="Posix; MacOS X; Windows",
packages=packages,
python_requires=">=3.6",
scripts=["scripts/fixup_accessapproval_v1_keywords.py"],
namespace_packages=namespaces,
install_requires=dependencies,
extras_requires=extras,
include_package_data=True,
zip_safe=False,
)
| # -*- coding: utf-8 -*-
#
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://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 io
import os
import setuptools
# Disable version normalization performed by setuptools.setup()
try:
# Try the approach of using sic(), added in setuptools 46.1.0
from setuptools import sic
except ImportError:
# Try the approach of replacing packaging.version.Version
sic = lambda v: v
try:
# setuptools >=39.0.0 uses packaging from setuptools.extern
from setuptools.extern import packaging
except ImportError:
# setuptools <39.0.0 uses packaging from pkg_resources.extern
from pkg_resources.extern import packaging
packaging.version.Version = packaging.version.LegacyVersion
name = "google-cloud-access-approval"
description = "Access Approval API client library"
version = "1.1.1"
release_status = "Development Status :: 5 - Production/Stable"
dependencies = [
"google-api-core[grpc] >= 1.22.2, < 2.0.0dev",
"proto-plus >= 1.4.0",
]
extras = {"libcst": "libcst >= 0.2.5"}
package_root = os.path.abspath(os.path.dirname(__file__))
readme_filename = os.path.join(package_root, "README.rst")
with io.open(readme_filename, encoding="utf-8") as readme_file:
readme = readme_file.read()
packages = [
package
for package in setuptools.PEP420PackageFinder.find()
if package.startswith("google")
]
namespaces = ["google"]
if "google.cloud" in packages:
namespaces.append("google.cloud")
setuptools.setup(
name=name,
version=sic(version),
description=description,
long_description=readme,
author="Google LLC",
author_email="googleapis-packages@google.com",
license="Apache 2.0",
url="https://github.com/googleapis/python-access-approval",
classifiers=[
release_status,
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Operating System :: OS Independent",
"Topic :: Internet",
],
platforms="Posix; MacOS X; Windows",
packages=packages,
python_requires=">=3.6",
scripts=["scripts/fixup_accessapproval_v1_keywords.py"],
namespace_packages=namespaces,
install_requires=dependencies,
extras_requires=extras,
include_package_data=True,
zip_safe=False,
)
| apache-2.0 | Python |
48118cd46624017ca2510d81e7e54e463acbb367 | Use find_packages | laughingman7743/BigQuery-DatasetManager | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function
import codecs
from setuptools import setup, find_packages
import bqdm
with codecs.open('README.rst', 'rb', 'utf-8') as readme:
long_description = readme.read()
setup(
name='BigQuery-DatasetManager',
version=bqdm.__version__,
description='BigQuery-DatasetManager is a simple file-based CLI management tool '
'for BigQuery Datasets.',
long_description=long_description,
url='https://github.com/laughingman7743/BigQuery-DatasetManager/',
author='laughingman7743',
author_email='laughingman7743@gmail.com',
license='MIT License',
packages=find_packages(),
package_data={
'': ['*.rst'],
},
install_requires=[
'future',
'pytz',
'click>=6.0',
'PyYAML>=3.12',
'google-cloud-bigquery==1.1.0',
'enum34;python_version<="3.3"',
'python-dateutil>=2.7.0',
],
tests_require=[
'pytest>=3.5',
'pytest-cov',
'pytest-flake8>=1.0.1',
],
entry_points={
'console_scripts': [
'bqdm = bqdm.cli:cli',
],
},
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Database',
'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',
],
)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import print_function
import codecs
from setuptools import setup
import bqdm
with codecs.open('README.rst', 'rb', 'utf-8') as readme:
long_description = readme.read()
setup(
name='BigQuery-DatasetManager',
version=bqdm.__version__,
description='BigQuery-DatasetManager is a simple file-based CLI management tool '
'for BigQuery Datasets.',
long_description=long_description,
url='https://github.com/laughingman7743/BigQuery-DatasetManager/',
author='laughingman7743',
author_email='laughingman7743@gmail.com',
license='MIT License',
packages=['bqdm'],
package_data={
'': ['*.rst'],
},
install_requires=[
'future',
'pytz',
'click>=6.0',
'PyYAML>=3.12',
'google-cloud-bigquery==1.1.0',
'enum34;python_version<="3.3"',
'python-dateutil>=2.7.0',
],
tests_require=[
'pytest>=3.5',
'pytest-cov',
'pytest-flake8>=1.0.1',
],
entry_points={
'console_scripts': [
'bqdm = bqdm.cli:cli',
],
},
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Database',
'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',
],
)
| mit | Python |
8f07d6b9287f889cc301be560dc6d40e011462da | add requires libs | leeyingmu/melee | setup.py | setup.py | # -*- coding: utf-8 -*-
import sys
from setuptools import setup, find_packages
__version__ = '1.0.0.gm'
install_requires = [
'Flask',
'pycrypto',
'pyyaml',
'simplejson',
'gevent',
'requests',
'iso8601',
'blinker',
'SQLAlchemy',
'mysql-python',
'redis'
]
if sys.version_info < (2, 7):
install_requires += ['argparse']
setup(
name = "melee",
version = __version__,
packages = find_packages(exclude=["tests.*", "tests"]),
install_requires = install_requires,
license='BSD',
author='yingmulee',
author_email='yingmulee@163.com',
maintainer='yingmulee',
maintainer_email='yingmulee@163.com',
description='common web server framework based on Flask',
long_description=__doc__,
url='https://github.com/leeyingmu/melee',
entry_points = {
'console_scripts': [
'meleeok = demo:meleeok'
]
}
)
| # -*- coding: utf-8 -*-
import sys
from setuptools import setup, find_packages
__version__ = '1.0.0.gm'
install_requires = [
'Flask',
'pycrypto',
'pyyaml',
'simplejson',
'gevent',
'requests',
'iso8601',
'blinker',
'SQLAlchemy',
'mysql-python'
]
if sys.version_info < (2, 7):
install_requires += ['argparse']
setup(
name = "melee",
version = __version__,
packages = find_packages(exclude=["tests.*", "tests"]),
install_requires = install_requires,
license='BSD',
author='yingmulee',
author_email='yingmulee@163.com',
maintainer='yingmulee',
maintainer_email='yingmulee@163.com',
description='common web server framework based on Flask',
long_description=__doc__,
url='https://github.com/leeyingmu/melee',
entry_points = {
'console_scripts': [
'meleeok = demo:meleeok'
]
}
)
| bsd-3-clause | Python |
2273f7b358ee1af873a07284a0dccd5e7d003ff0 | Bump version to 0.1.0 | Glamping-Hub/django-painless-seo,Glamping-Hub/django-painless-seo | setup.py | setup.py | # Copyright (C) 2014 Glamping Hub (https://glampinghub.com)
# License: BSD 3-Clause
import fnmatch
import os
from setuptools import setup, find_packages
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
def recursive_include(directory, patterns):
result = []
for root, dirs, files in os.walk(directory):
child_root = root.replace(directory, '').lstrip('/')
for pattern in patterns:
result.extend([os.path.join(child_root, name)
for name in fnmatch.filter(files, pattern)])
return result
setup(
name='django-painless-seo',
version='0.1.0',
author='Glamping Hub',
author_email='it@glampinghub.com',
packages=find_packages('.'),
include_package_data=True,
package_data={
'': recursive_include('painlessseo', [
'*.html', '*.css', '*.js', '*.txt', '*.png', '*.ico', '*.wsgi',
'*.xml', '*.gif', '*.jpg', '*.otf', '*.svg', '*.example', '*.woff',
'*.md',
])
},
url='https://github.com/Glamping-Hub/django-painless-seo',
license='BSD',
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 :: 2 :: Only',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Internet'
],
description='Painless SEO app for Django framework',
keywords='seo django',
long_description=open('README.md').read(),
requires=[
'Django (>=1.5.0)',
],
)
| # Copyright (C) 2014 Glamping Hub (https://glampinghub.com)
# License: BSD 3-Clause
import fnmatch
import os
from setuptools import setup, find_packages
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
def recursive_include(directory, patterns):
result = []
for root, dirs, files in os.walk(directory):
child_root = root.replace(directory, '').lstrip('/')
for pattern in patterns:
result.extend([os.path.join(child_root, name)
for name in fnmatch.filter(files, pattern)])
return result
setup(
name='django-painless-seo',
version='0.0.9',
author='Glamping Hub',
author_email='it@glampinghub.com',
packages=find_packages('.'),
include_package_data=True,
package_data={
'': recursive_include('painlessseo', [
'*.html', '*.css', '*.js', '*.txt', '*.png', '*.ico', '*.wsgi',
'*.xml', '*.gif', '*.jpg', '*.otf', '*.svg', '*.example', '*.woff',
'*.md',
])
},
url='https://github.com/Glamping-Hub/django-painless-seo',
license='BSD',
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 :: 2 :: Only',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Internet'
],
description='Painless SEO app for Django framework',
keywords='seo django',
long_description=open('README.md').read(),
requires=[
'Django (>=1.5.0)',
],
)
| bsd-3-clause | Python |
c04f6069616d8470e922a9b8af5a12e6257acceb | clean up setup | lcdb/lcdblib,lcdb/lcdblib | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read()
requirements = [
# TODO: put package requirements here
]
test_requirements = [
# TODO: put package test requirements here
]
requirements = [i.strip() for i in open('requirements.txt').readlines()]
setup(
name='lcdblib',
version='0.0.1',
description="A set of helper functions for bioinformatics analysis with snakemake.",
long_description=readme + '\n\n' + history,
author="Ryan Dale",
author_email='dalerr@niddk.nih.gov',
url='https://github.com/lcdb/lcdblib',
packages=find_packages(),
install_requires=requirements,
license="MIT license",
zip_safe=False,
keywords='lcdblib',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read()
requirements = [
# TODO: put package requirements here
]
test_requirements = [
# TODO: put package test requirements here
]
requirements = open('requirements.txt').readlines()
setup(
name='lcdblib',
version='0.0.1',
description="A set of helper functions for bioinformatics analysis with snakemake.",
long_description=readme + '\n\n' + history,
author="Ryan Dale",
author_email='dalerr@niddk.nih.gov',
url='https://github.com/lcdb/lcdblib',
packages=find_packages(),
include_package_data=True,
install_requires=requirements,
license="MIT license",
zip_safe=False,
keywords='lcdblib',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
test_suite='tests',
tests_require=test_requirements
)
| mit | Python |
10c12e21d1a1b7e0382ef9e6f5298b1bb4372791 | Fix package dependencies | Rayman/ros-get,Rayman/ros-get | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='ros_get',
package_dir={'': 'src'}, # tell distutils packages are under src
packages=find_packages('src'), # include all packages under src
install_requires=[
'argcomplete',
'catkin_pkg',
'catkin_tools',
'colorlog',
'mock',
'rosdep',
'rosdistro',
'rosinstall_generator',
'trollius', # remove when catkin>0.4.4 is released
'vcstool',
'xdg',
],
entry_points={'console_scripts': ['ros-get=ros_get.__main__:main']}, )
| #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='ros_get',
package_dir={'': 'src'}, # tell distutils packages are under src
packages=find_packages('src'), # include all packages under src
install_requires=[
'argcomplete',
'catkin_tools',
'colorlog',
'mock',
'rosdistro',
'rosinstall_generator',
'vcstool',
'xdg',
],
entry_points={'console_scripts': ['ros-get=ros_get.__main__:main']}, )
| mit | Python |
98c8f10b2e7778c8aa9e9164bfd3e5b18679c7b4 | Bump version: 0.0.3 → 0.0.4 | gdvalle/trafficserver_exporter | setup.py | setup.py | """
trafficserver_exporter
----------------------
An Apache Traffic Server metrics exporter for Prometheus. Uses the
stats_over_http plugin to translate JSON data into Prometheus format.
"""
from setuptools import setup
setup(
name='trafficserver_exporter',
version='0.0.4',
author='Greg Dallavalle',
description='Traffic Server metrics exporter for Prometheus',
long_description=__doc__,
license='Apache Software License 2.0',
keywords='prometheus monitoring trafficserver',
test_suite='tests',
packages=['trafficserver_exporter'],
entry_points={
'console_scripts': [
'trafficserver_exporter=trafficserver_exporter.__main__:main'
],
},
install_requires=[
'prometheus_client>=0.0.11',
'requests>=2.0.0'
],
classifiers=[
'Development Status :: 3 - Alpha',
'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',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'Topic :: System :: Monitoring',
'Topic :: System :: Networking :: Monitoring',
'License :: OSI Approved :: Apache Software License',
],
)
| """
trafficserver_exporter
----------------------
An Apache Traffic Server metrics exporter for Prometheus. Uses the
stats_over_http plugin to translate JSON data into Prometheus format.
"""
from setuptools import setup
setup(
name='trafficserver_exporter',
version='0.0.3',
author='Greg Dallavalle',
description='Traffic Server metrics exporter for Prometheus',
long_description=__doc__,
license='Apache Software License 2.0',
keywords='prometheus monitoring trafficserver',
test_suite='tests',
packages=['trafficserver_exporter'],
entry_points={
'console_scripts': [
'trafficserver_exporter=trafficserver_exporter.__main__:main'
],
},
install_requires=[
'prometheus_client>=0.0.11',
'requests>=2.0.0'
],
classifiers=[
'Development Status :: 3 - Alpha',
'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',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'Topic :: System :: Monitoring',
'Topic :: System :: Networking :: Monitoring',
'License :: OSI Approved :: Apache Software License',
],
)
| apache-2.0 | Python |
ef313e770c4aa4201f6478c150e6236a127d7a57 | Reformat setup.py | JIC-CSB/dtoolcore | setup.py | setup.py | from setuptools import setup
version = "2.0.0"
url = "https://github.com/JIC-CSB/dtoolcore"
readme = open('README.rst').read()
setup(
name="dtoolcore",
packages=["dtoolcore"],
version=version,
description="Core API for managing (scientific) data",
long_description=readme,
include_package_data=True,
author="Tjelvar Olsson",
author_email="tjelvar.olsson@jic.ac.uk",
url=url,
download_url="{}/tarball/{}".format(url, version),
install_requires=[],
license="MIT"
)
| from setuptools import setup
version = "2.0.0"
url = "https://github.com/JIC-CSB/dtoolcore"
readme = open('README.rst').read()
setup(name="dtoolcore",
packages=["dtoolcore"],
version=version,
description="Core API for managing (scientific) data",
long_description=readme,
include_package_data=True,
author="Tjelvar Olsson",
author_email="tjelvar.olsson@jic.ac.uk",
url=url,
download_url="{}/tarball/{}".format(url, version),
install_requires=[],
license="MIT")
| mit | Python |
7381c29741cd3a4adf46d2ad03299acaf3777f94 | Bump Python package version to 3.3.2 | InsightSoftwareConsortium/ITKTextureFeatures,InsightSoftwareConsortium/ITKTextureFeatures | setup.py | setup.py | from __future__ import print_function
from os import sys, path
try:
from skbuild import setup
except ImportError:
print('scikit-build is required to build from source.', file=sys.stderr)
print('Please run:', file=sys.stderr)
print('', file=sys.stderr)
print(' python -m pip install scikit-build')
sys.exit(1)
setup(
name='itk-texturefeatures',
version='3.3.2',
author='Insight Software Consortium',
author_email='community@itk.org',
packages=['itk'],
package_dir={'itk': 'itk'},
download_url=r'https://github.com/InsightSoftwareConsortium/ITKTextureFeatures',
description=r'An ITK module to compute N-dimension grayscale texture feature images',
long_description='ITK is an open-source, cross-platform library that '
'provides developers with an extensive suite of software '
'tools for image analysis. Developed through extreme '
'programming methodologies, ITK employs leading-edge '
'algorithms for registering and segmenting '
'multidimensional scientific images.',
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: C++",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Healthcare Industry",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: Libraries",
"Operating System :: Android",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS"
],
license='Apache',
keywords='ITK InsightToolkit glcm texture features image imaging',
url=r'https://itk.org/',
install_requires=[
r'itk>=5.1.1'
]
)
| from __future__ import print_function
from os import sys, path
try:
from skbuild import setup
except ImportError:
print('scikit-build is required to build from source.', file=sys.stderr)
print('Please run:', file=sys.stderr)
print('', file=sys.stderr)
print(' python -m pip install scikit-build')
sys.exit(1)
setup(
name='itk-texturefeatures',
version='3.3.1',
author='Insight Software Consortium',
author_email='community@itk.org',
packages=['itk'],
package_dir={'itk': 'itk'},
download_url=r'https://github.com/InsightSoftwareConsortium/ITKTextureFeatures',
description=r'An ITK module to compute N-dimension grayscale texture feature images',
long_description='ITK is an open-source, cross-platform library that '
'provides developers with an extensive suite of software '
'tools for image analysis. Developed through extreme '
'programming methodologies, ITK employs leading-edge '
'algorithms for registering and segmenting '
'multidimensional scientific images.',
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: C++",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Healthcare Industry",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Medical Science Apps.",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Software Development :: Libraries",
"Operating System :: Android",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: Unix",
"Operating System :: MacOS"
],
license='Apache',
keywords='ITK InsightToolkit glcm texture features image imaging',
url=r'https://itk.org/',
install_requires=[
r'itk>=5.1.1'
]
)
| apache-2.0 | Python |
4a85ac67d88b7e7830b40efa30c43e82d69848c0 | Fix setup.py test_suite | r3code/py-jsonrpc-lite | setup.py | setup.py | #!/usr/bin/env python
import os
from setuptools import setup, find_packages
from pyjsonrpclite import version
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except IOError:
return ""
setup(
name="py-jsonrpc-lite",
version=version,
packages=find_packages(),
test_suite="unittest",
# metadata for upload to PyPI
author="Dmitriy S. Sinyavskiy",
author_email="contact@r3code.ru",
url="https://github.com/r3code/py-jsonrpc-lite",
description="Parse and Serialize JSON-RPC 2.0 messages in Python",
long_description=read('README.rst'),
# Full list:
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
],
license="MIT",
)
| #!/usr/bin/env python
import os
from setuptools import setup, find_packages
from pyjsonrpclite import version
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except IOError:
return ""
setup(
name="py-jsonrpc-lite",
version=version,
packages=find_packages(),
test_suite="nose.collector",
tests_require=["nose", "mock"],
# metadata for upload to PyPI
author="Dmitriy S. Sinyavskiy",
author_email="contact@r3code.ru",
url="https://github.com/r3code/py-jsonrpc-lite",
description="Parse and Serialize JSON-RPC 2.0 messages in Python",
long_description=read('README.rst'),
# Full list:
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
],
license="MIT",
)
| mit | Python |
672d6cb517198bc37c4126c997ba984901a14b55 | Use io.open with encoding='utf-8' and flake8 compliance | morepath/more.jinja2 | setup.py | setup.py | import io
from setuptools import setup, find_packages
long_description = '\n'.join((
io.open('README.rst', encoding='utf-8').read(),
io.open('CHANGES.txt', encoding='utf-8').read()
))
setup(name='more.jinja2',
version='0.3.dev0',
description="Jinja2 template integration for Morepath",
long_description=long_description,
author="Martijn Faassen",
author_email="faassen@startifact.com",
keywords='morepath jinja2',
license="BSD",
url="http://pypi.python.org/pypi/more.jinja2",
namespace_packages=['more'],
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
'morepath >= 0.10',
'Jinja2 >= 2.7.3'
],
extras_require=dict(
test=['pytest >= 2.6.0',
'pytest-cov',
'WebTest'],
),
)
| import os, io
from setuptools import setup, find_packages
long_description = (
io.open('README.rst', encoding='utf-8').read()
+ '\n' +
io.open('CHANGES.txt', encoding='utf-8').read())
setup(name='more.jinja2',
version='0.3.dev0',
description="Jinja2 template integration for Morepath",
long_description=long_description,
author="Martijn Faassen",
author_email="faassen@startifact.com",
keywords='morepath jinja2',
license="BSD",
url="http://pypi.python.org/pypi/more.jinja2",
namespace_packages=['more'],
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
'morepath >= 0.10',
'Jinja2 >= 2.7.3'
],
extras_require = dict(
test=['pytest >= 2.6.0',
'pytest-cov',
'WebTest'],
),
)
| bsd-3-clause | Python |
e83791b2c8ac2da770aa726f070b016f6c0e0b46 | Bump version to account for protobuf file change | bmhatfield/bernhard,ClodoCorp/bernhard,banjiewen/bernhard,cranti/bernhard | setup.py | setup.py | # -*- coding: utf-8 -
import os
import sys
from setuptools import setup
setup(
name = 'bernhard',
version = '0.0.4',
description = 'Python client for Riemann',
long_description = file(
os.path.join(
os.path.dirname(__file__),
'README.md'
)
).read(),
author = 'Benjamin Anderspn',
author_email = 'b@banjiewen.net',
license = 'ASF2.0',
url = 'http://github.com/banjiewen/bernhard.git',
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Other Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Operating System :: Unix',
'Programming Language :: Python',
'Topic :: Internet :: Log Analysis',
'Topic :: Utilities',
'Topic :: System :: Networking :: Monitoring'
],
zip_safe = False,
packages = ['bernhard'],
include_package_data = True,
install_requires=['protobuf >= 2.4']
)
| # -*- coding: utf-8 -
import os
import sys
from setuptools import setup
setup(
name = 'bernhard',
version = '0.0.3',
description = 'Python client for Riemann',
long_description = file(
os.path.join(
os.path.dirname(__file__),
'README.md'
)
).read(),
author = 'Benjamin Anderspn',
author_email = 'b@banjiewen.net',
license = 'ASF2.0',
url = 'http://github.com/banjiewen/bernhard.git',
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Other Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Operating System :: Unix',
'Programming Language :: Python',
'Topic :: Internet :: Log Analysis',
'Topic :: Utilities',
'Topic :: System :: Networking :: Monitoring'
],
zip_safe = False,
packages = ['bernhard'],
include_package_data = True,
install_requires=['protobuf >= 2.4']
)
| apache-2.0 | Python |
21a38c6ef5e498c69a295f992e817ecc8ec317e6 | Update noise.py | zsdonghao/tensorlayer,zsdonghao/tensorlayer | tensorlayer/layers/noise.py | tensorlayer/layers/noise.py | #! /usr/bin/python
# -*- coding: utf-8 -*-
import tensorflow as tf
import tensorlayer as tl
from tensorlayer import logging
from tensorlayer.decorators import deprecated_alias
from tensorlayer.layers.core import Layer
__all__ = [
'GaussianNoise',
]
class GaussianNoise(Layer):
"""
The :class:`GaussianNoise` class is noise layer that adding noise with
gaussian distribution to the activation.
Parameters
------------
mean : float
The mean. Default is 0.0.
stddev : float
The standard deviation. Default is 1.0.
is_always : boolean
Is True, add noise for train and eval mode. If False, skip this layer in eval mode.
seed : int or None
The seed for random noise.
name : str
A unique layer name.
Examples
--------
With TensorLayer
>>> net = tl.layers.Input([64, 200], name='input')
>>> net = tl.layers.Dense(n_units=100, act=tf.nn.relu, name='dense')(net)
>>> gaussianlayer = tl.layers.GaussianNoise(name='gaussian')(net)
>>> print(gaussianlayer)
>>> output shape : (64, 100)
"""
def __init__(
self,
mean=0.0,
stddev=1.0,
is_always=True,
seed=None,
name=None, # 'gaussian_noise',
):
super().__init__(name)
self.mean = mean
self.stddev = stddev
self.seed = seed
self.is_always = is_always
self.build()
self._built = True
logging.info("GaussianNoise %s: mean: %f stddev: %f" % (self.name, self.mean, self.stddev))
def __repr__(self):
s = '{classname}(mean={mean}, stddev={stddev}'
if self.name is not None:
s += ', name=\'{name}\''
s += ')'
return s.format(classname=self.__class__.__name__, **self.__dict__)
def build(self, inputs=None):
pass
def forward(self, inputs):
if (self.is_train or self.is_always) is False:
return inputs
else:
# noise = np.random.normal(0.0 , sigma , tf.to_int64(self.inputs).get_shape())
noise = tf.random.normal(shape=inputs.get_shape(), mean=self.mean, stddev=self.stddev, seed=self.seed)
outputs = inputs + noise
return outputs
| #! /usr/bin/python
# -*- coding: utf-8 -*-
import tensorflow as tf
import tensorlayer as tl
from tensorlayer import logging
from tensorlayer.decorators import deprecated_alias
from tensorlayer.layers.core import Layer
__all__ = [
'GaussianNoise',
]
class GaussianNoise(Layer):
"""
The :class:`GaussianNoise` class is noise layer that adding noise with
gaussian distribution to the activation.
Parameters
------------
mean : float
The mean. Default is 0.0.
stddev : float
The standard deviation. Default is 1.0.
is_always : boolean
Is True, add noise for train and eval mode. If False, skip this layer in eval mode.
seed : int or None
The seed for random noise.
name : str
A unique layer name.
Examples
--------
With TensorLayer
>>> net = tl.layers.Input([64, 200], name='input')
>>> net = tl.layers.Dense(n_units=100, act=tf.nn.relu, name='dense')(net)
>>> gaussianlayer = tl.layers.GaussianNoise(name='gaussian')(net)
>>> print(gaussianlayer)
>>> output shape : (64, 100)
"""
def __init__(
self,
mean=0.0,
stddev=1.0,
is_always=True,
seed=None,
name=None, # 'gaussian_noise',
):
super().__init__(name)
self.mean = mean
self.stddev = stddev
self.seed = seed
self.is_always = is_always
self.build()
self._built = True
logging.info("GaussianNoise %s: mean: %f stddev: %f" % (self.name, self.mean, self.stddev))
def __repr__(self):
s = '{classname}(mean={mean}, stddev={stddev}'
if self.name is not None:
s += ', name=\'{name}\''
s += ')'
return s.format(classname=self.__class__.__name__, **self.__dict__)
def build(self, inputs=None):
pass
def forward(self, inputs):
if (self.is_train and self.is_always) is False:
return inputs
else:
# noise = np.random.normal(0.0 , sigma , tf.to_int64(self.inputs).get_shape())
noise = tf.random.normal(shape=inputs.get_shape(), mean=self.mean, stddev=self.stddev, seed=self.seed)
outputs = inputs + noise
return outputs
| apache-2.0 | Python |
2d2d24ce2246f0c305182adf7e2df3553ee35e97 | include shell scripts in sdist | objectified/vdist,objectified/vdist | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='vdist',
version='0.1',
description='Create OS packages from Python projects using Docker containers',
long_description='Create OS packages from Python projects using Docker containers',
author='L. Brouwer',
author_email='objectified@gmail.com',
url='https://github.com/objectified/vdist',
packages=find_packages(),
install_requires=['jinja2==2.7.3', 'docker-py==0.7.1'],
package_data={'': ['internal_profiles.json', '*.sh']},
tests_require=['pytest'],
classifiers=[
'Development Status :: 1 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators'
],
)
| from setuptools import setup, find_packages
setup(
name='vdist',
version='0.1',
description='Create OS packages from Python projects using Docker containers',
long_description='Create OS packages from Python projects using Docker containers',
author='L. Brouwer',
author_email='objectified@gmail.com',
url='https://github.com/objectified/vdist',
packages=find_packages(),
install_requires=['jinja2==2.7.3', 'docker-py==0.7.1'],
package_data={'': ['internal_profiles.json']},
tests_require=['pytest'],
classifiers=[
'Development Status :: 1 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators'
],
)
| mit | Python |
39bdcfdfc0fc6fb9d44aca914d8febcb1ca8fe60 | Fix dependencies on pypy. (#137) | Ecpy/ecpy,Ecpy/ecpy | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import os.path
import sys
sys.path.insert(0, os.path.abspath('.'))
from exopy.version import __version__
def long_description():
"""Read the project description from the README file.
"""
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
return f.read()
setup(
name='exopy',
description='Experiment control application',
version=__version__,
long_description=long_description(),
author='Exopy Developers (see AUTHORS)',
author_email='m.dartiailh@gmail.com',
url='http://github.com/exopy/exopy',
download_url='http://github.com/exopy/exopy/tarball/master',
keywords='experiment automation GUI',
license='BSD',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering :: Physics',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
zip_safe=False,
packages=find_packages(exclude=['tests', 'tests.*']),
package_data={'': ['*.enaml', '*.txt']},
python_requires='>=3.5',
setup_requires=['setuptools'],
install_requires=['atom>=0.4.1', 'enaml>=0.10.2',
'kiwisolver>=1.0.0', 'configobj',
'watchdog', 'qtawesome', 'numpy',
'pyqt5'],
entry_points={'gui_scripts': 'exopy = exopy.__main__:main'},
)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import os.path
import sys
sys.path.insert(0, os.path.abspath('.'))
from exopy.version import __version__
def long_description():
"""Read the project description from the README file.
"""
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
return f.read()
setup(
name='exopy',
description='Experiment control application',
version=__version__,
long_description=long_description(),
author='Exopy Developers (see AUTHORS)',
author_email='m.dartiailh@gmail.com',
url='http://github.com/exopy/exopy',
download_url='http://github.com/exopy/exopy/tarball/master',
keywords='experiment automation GUI',
license='BSD',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering :: Physics',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
zip_safe=False,
packages=find_packages(exclude=['tests', 'tests.*']),
package_data={'': ['*.enaml', '*.txt']},
requires=['pyqt5', 'atom', 'enaml', 'kiwisolver',
'configobj', 'watchdog', 'setuptools', 'qtawesome',
'numpy'],
setup_requires=['setuptools'],
install_requires=['atom>=0.4.1', 'enaml>=0.10.2',
'kiwisolver>=1.0.0', 'configobj',
'watchdog', 'qtawesome', 'numpy'],
entry_points={'gui_scripts': 'exopy = exopy.__main__:main'},
)
| bsd-3-clause | Python |
3c6de297b06f5ceebf760644810689e8dab910ed | bump version to 2.0.0 to avoid environment modules default bug | rjeschmi/vsc-base,rjeschmi/vsc-base | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: latin-1 -*-
#
# Copyright 2009-2014 Ghent University
#
# This file is part of vsc-base,
# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),
# with support of Ghent University (http://ugent.be/hpc),
# the Flemish Supercomputer Centre (VSC) (https://vscentrum.be/nl/en),
# the Hercules foundation (http://www.herculesstichting.be/in_English)
# and the Department of Economy, Science and Innovation (EWI) (http://www.ewi-vlaanderen.be/en).
#
# http://github.com/hpcugent/vsc-base
#
# vsc-base is free software: you can redistribute it and/or modify
# it under the terms of the GNU Library General Public License as
# published by the Free Software Foundation, either version 2 of
# the License, or (at your option) any later version.
#
# vsc-base is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public License
# along with vsc-base. If not, see <http://www.gnu.org/licenses/>.
#
"""
vsc-base base distribution setup.py
@author: Stijn De Weirdt (Ghent University)
@author: Andy Georges (Ghent University)
"""
import os
import sys
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), "lib"))
import vsc.install.shared_setup as shared_setup
from vsc.install.shared_setup import ag, jt, sdw
def remove_bdist_rpm_source_file():
"""List of files to remove from the (source) RPM."""
return []
shared_setup.remove_extra_bdist_rpm_files = remove_bdist_rpm_source_file
shared_setup.SHARED_TARGET.update({
'url': 'https://github.com/hpcugent/vsc-base',
'download_url': 'https://github.com/hpcugent/vsc-base'
})
PACKAGE = {
'name': 'vsc-base',
'version': '2.0.0',
'author': [sdw, jt, ag],
'maintainer': [sdw, jt, ag],
'packages': ['vsc', 'vsc.utils', 'vsc.install'],
'scripts': ['bin/logdaemon.py', 'bin/startlogdaemon.sh', 'bin/bdist_rpm.sh', 'bin/optcomplete.bash'],
'install_requires' : ['setuptools'],
}
if __name__ == '__main__':
shared_setup.action_target(PACKAGE)
| #!/usr/bin/env python
# -*- coding: latin-1 -*-
#
# Copyright 2009-2014 Ghent University
#
# This file is part of vsc-base,
# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),
# with support of Ghent University (http://ugent.be/hpc),
# the Flemish Supercomputer Centre (VSC) (https://vscentrum.be/nl/en),
# the Hercules foundation (http://www.herculesstichting.be/in_English)
# and the Department of Economy, Science and Innovation (EWI) (http://www.ewi-vlaanderen.be/en).
#
# http://github.com/hpcugent/vsc-base
#
# vsc-base is free software: you can redistribute it and/or modify
# it under the terms of the GNU Library General Public License as
# published by the Free Software Foundation, either version 2 of
# the License, or (at your option) any later version.
#
# vsc-base is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Library General Public License for more details.
#
# You should have received a copy of the GNU Library General Public License
# along with vsc-base. If not, see <http://www.gnu.org/licenses/>.
#
"""
vsc-base base distribution setup.py
@author: Stijn De Weirdt (Ghent University)
@author: Andy Georges (Ghent University)
"""
import os
import sys
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), "lib"))
import vsc.install.shared_setup as shared_setup
from vsc.install.shared_setup import ag, jt, sdw
def remove_bdist_rpm_source_file():
"""List of files to remove from the (source) RPM."""
return []
shared_setup.remove_extra_bdist_rpm_files = remove_bdist_rpm_source_file
shared_setup.SHARED_TARGET.update({
'url': 'https://github.com/hpcugent/vsc-base',
'download_url': 'https://github.com/hpcugent/vsc-base'
})
PACKAGE = {
'name': 'vsc-base',
'version': '1.9.9',
'author': [sdw, jt, ag],
'maintainer': [sdw, jt, ag],
'packages': ['vsc', 'vsc.utils', 'vsc.install'],
'scripts': ['bin/logdaemon.py', 'bin/startlogdaemon.sh', 'bin/bdist_rpm.sh', 'bin/optcomplete.bash'],
'install_requires' : ['setuptools'],
}
if __name__ == '__main__':
shared_setup.action_target(PACKAGE)
| lgpl-2.1 | Python |
e6b9e9dbd3a04374ce80334a1ac09d14931f009b | bump version | hopshadoop/hops-util-py,hopshadoop/hops-util-py | setup.py | setup.py | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='hops',
version='1.3.6',
author='Robin Andersson',
author_email='robin.eric.andersson@gmail.com',
description='A helper library for Hops that facilitates development by hiding the complexity of discovering services and setting up security.',
license='Apache License 2.0',
keywords='HOPS, Hadoop, TensorFlow, Spark',
url='https://github.com/hopshadoop/hops-util-py',
download_url = 'https://github.com/hopshadoop/hops-util-py/archive/1.3.6.tar.gz',
packages=['hops'],
long_description=read('README.rst'),
classifiers=[
'Development Status :: 3 - Alpha',
'Topic :: Utilities',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
install_requires=[]
)
| import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='hops',
version='1.3.5',
author='Robin Andersson',
author_email='robin.eric.andersson@gmail.com',
description='A helper library for Hops that facilitates development by hiding the complexity of discovering services and setting up security.',
license='Apache License 2.0',
keywords='HOPS, Hadoop, TensorFlow, Spark',
url='https://github.com/hopshadoop/hops-util-py',
download_url = 'https://github.com/hopshadoop/hops-util-py/archive/1.3.5.tar.gz',
packages=['hops'],
long_description=read('README.rst'),
classifiers=[
'Development Status :: 3 - Alpha',
'Topic :: Utilities',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
install_requires=[]
)
| apache-2.0 | Python |
d794f5bc74dd59f7cd6c009a1479102b64b57646 | Add pycodestyle to setup.py | pwnbus/scoring_engine,pwnbus/scoring_engine,pwnbus/scoring_engine,pwnbus/scoring_engine | setup.py | setup.py | try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'Scoring Engine for Red/White/Blue Team Competitions',
'author': ['Brandon Myers', 'Rusty Bower'],
'url': 'https://github.com/pwnbus/scoring_engine',
'download_url': 'https://github.com/pwnbus/scoring_engine/archive/master.zip',
'author_email': ['pwnbus@mozilla.com', 'rusty@rustybower.com'],
'version': '0.0.1',
'install_requires': ['bcrypt',
'codeclimate-test-reporter',
'configparser',
'Flask',
'Flask-Login',
'Flask-SQLAlchemy',
'Flask-WTF',
'pynsive',
'pytest',
'pytest-cov',
'redis',
'sqlalchemy',
'pycodestyle',
], # dependencies
'packages': ['scoring_engine'],
'scripts': [],
'name': 'scoring_engine'
}
setup(**config)
| try:
from setuptools import setup
except ImportError:
from distutils.core import setup
config = {
'description': 'Scoring Engine for Red/White/Blue Team Competitions',
'author': ['Brandon Myers', 'Rusty Bower'],
'url': 'https://github.com/pwnbus/scoring_engine',
'download_url': 'https://github.com/pwnbus/scoring_engine/archive/master.zip',
'author_email': ['pwnbus@mozilla.com', 'rusty@rustybower.com'],
'version': '0.0.1',
'install_requires': ['bcrypt',
'codeclimate-test-reporter',
'configparser',
'Flask',
'Flask-Login',
'Flask-SQLAlchemy',
'Flask-WTF',
'pynsive',
'pytest',
'pytest-cov',
'redis',
'sqlalchemy'
], # dependencies
'packages': ['scoring_engine'],
'scripts': [],
'name': 'scoring_engine'
}
setup(**config)
| mit | Python |
7d475a44f2584396890360d1545abfa585dfdda8 | Simplify description and MANIFEST.in suits me fine. | jbronn/django-forge,jbronn/django-forge,ocadotechnology/django-forge,ocadotechnology/django-forge | setup.py | setup.py | from setuptools import setup, find_packages
setup(name='django-forge',
version=__import__('forge').__version__,
author='Justin Bronn',
author_email='jbronn@gmail.com',
description='A Django implementation of the Puppet Forge API.',
url='https://github.com/jbronn/django-forge',
download_url='http://pypi.python.org/pypi/django-forge/',
install_requires=[
'Django>=1.4',
'requests>=2',
'semantic_version>=2.1.2',
],
packages=find_packages(),
include_package_data=True,
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
],
)
| from setuptools import setup, find_packages
setup(name='django-forge',
version=__import__('forge').__version__,
author='Justin Bronn',
author_email='jbronn@gmail.com',
description='A Django implementation of the Puppet Forge web API.',
url='https://github.com/jbronn/django-forge',
download_url='http://pypi.python.org/pypi/django-forge/',
install_requires=[
'Django>=1.4',
'requests>=2',
'semantic_version>=2.1.2',
],
packages=find_packages(),
package_data={'apache': ['forge/apache'],
'templates': ['forge/templates']},
include_package_data=True,
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
],
)
| apache-2.0 | Python |
16a3ed9e2e5cd14a3d139bd43fcfb4bedb8a97d5 | Bump version number. | mindw/grin,cpcloud/grin,while0pass/grin,lecheel/grin,LuizCentenaro/grin | setup.py | setup.py | import os
from setuptools import setup
kwds = {}
# Read the long description from the README.txt
thisdir = os.path.abspath(os.path.dirname(__file__))
f = open(os.path.join(thisdir, 'README.txt'))
kwds['long_description'] = f.read()
f.close()
setup(
name = 'grin',
version = '1.1',
author = 'Robert Kern',
author_email = 'robert.kern@gmail.com',
description = "A grep program configured the way I like it.",
license = "BSD",
classifiers = [
"License :: OSI Approved :: BSD License",
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Utilities",
],
py_modules = ["grin"],
entry_points = dict(
console_scripts = [
"grin = grin:grin_main",
"grind = grin:grind_main",
],
),
install_requires = [
'argparse',
],
tests_require = [
'nose >= 0.10',
],
test_suite = 'nose.collector',
**kwds
)
| import os
from setuptools import setup
kwds = {}
# Read the long description from the README.txt
thisdir = os.path.abspath(os.path.dirname(__file__))
f = open(os.path.join(thisdir, 'README.txt'))
kwds['long_description'] = f.read()
f.close()
setup(
name = 'grin',
version = '1.0',
author = 'Robert Kern',
author_email = 'robert.kern@gmail.com',
description = "A grep program configured the way I like it.",
license = "BSD",
classifiers = [
"License :: OSI Approved :: BSD License",
"Development Status :: 4 - Beta",
"Environment :: Console",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Utilities",
],
py_modules = ["grin"],
entry_points = dict(
console_scripts = [
"grin = grin:grin_main",
"grind = grin:grind_main",
],
),
install_requires = [
'argparse',
],
tests_require = [
'nose >= 0.10',
],
test_suite = 'nose.collector',
**kwds
)
| bsd-3-clause | Python |
793e9e728970f374efc2d3008c2e70db88b89b07 | remove import from setup.py | TimothyHelton/strumenti | setup.py | setup.py | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from codecs import open
import os.path as osp
import re
from setuptools import setup, find_packages
with open('strumenti/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
here = osp.abspath(osp.dirname(__file__))
with open(osp.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='strumenti',
version=version,
description='Common tools universally applicable to Python 3 packages.',
author='Timothy Helton',
author_email='timothy.j.helton@gmail.com',
license='BSD',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development :: Build Tools',
],
keywords='common tools utility',
packages=find_packages(exclude=['docs', 'tests*']),
install_requires=[
'chromalog',
'matplotlib',
'numpy',
'psycopg2',
'pip',
'pytest',
'wrapt',
],
package_dir={'strumenti': 'strumenti'},
include_package_data=True,
)
if __name__ == '__main__':
pass
| #!/usr/bin/env python3
# -*- coding: utf-8 -*-
from codecs import open
import os.path as osp
import re
from setuptools import setup, find_packages
import strumenti
with open('strumenti/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
here = osp.abspath(osp.dirname(__file__))
with open(osp.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='strumenti',
version=version,
description='Common tools universally applicable to Python 3 packages.',
author='Timothy Helton',
author_email='timothy.j.helton@gmail.com',
license='BSD',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development :: Build Tools',
],
keywords='common tools utility',
packages=find_packages(exclude=['docs', 'tests*']),
install_requires=[
'chromalog',
'matplotlib',
'numpy',
'psycopg2',
'pip',
'pytest',
'wrapt',
],
package_dir={'strumenti': 'strumenti'},
include_package_data=True,
)
if __name__ == '__main__':
pass
| bsd-3-clause | Python |
c7e788e843f415b64ba8ae756af2db3f0fde300a | Patch version checking | choderalab/yank,choderalab/yank | Yank/__init__.py | Yank/__init__.py | #!/usr/local/bin/env python
"""
YANK
"""
# Define global version.
try:
from . import version # Needed for yank 3.X.
__version__ = version.version
except ImportError:
__version__ = "0.0.0dev"
# Self module imports
from . import utils
from . import restraints
from . import pipeline
from . import experiment
from .yank import Topography, AlchemicalPhase
| #!/usr/local/bin/env python
"""
YANK
"""
# Define global version.
from . import version # Needed for yank 3.X.
# Self module imports
from . import utils
from . import restraints
from . import pipeline
from . import experiment
from .yank import Topography, AlchemicalPhase
__version__ = version.version
| mit | Python |
cafb76d131a9c1de4238a6df6b5ae0551065662e | fix typo in setup.py, thanks to Christoph Deil | nhmc/Barak | setup.py | setup.py |
from distutils.core import setup
from glob import glob
import os, sys
import warnings
# To create a distribution, use
#
# python setup.py sdist
#
# Register on PyPI
#
# python setup.py register
#
# Upload the distribution to PyPI
#
# python setup.py register sdist upload
def get_data_names(root):
""" Return list of all filenames (not directories) under root.
"""
temp = []
for dirpath, dirnames, filenames in os.walk(root):
temp.extend((os.path.join(dirpath, d, '*') for d in dirnames))
names = []
for path in temp:
if any(os.path.isfile(f) for f in glob(path)):
names.append(path[6:])
return names
if len(sys.argv[1:]) > 0 and sys.argv[1] in ('build', 'install'):
try:
import matplotlib
except ImportError:
warnings.warn("""
matplotlib doesn't look like it's been installed. I'm continuing to
install barak, but be warned that some modules and scripts will not
work. To install matplotlib, follow the instructions at
http://matplotlib.org/users/installing.html.
""")
with open('README.rst') as fh:
readme = fh.read()
readme += '\n'
readme += 'Change Log\n'
readme += '----------\n'
with open('CHANGES') as fh:
readme += fh.read()
description = ("A set of astronomy-related routines for generating Voigt "
"profiles from atomic data, reading and writing data, "
"working with SEDs, passbands and dust extinction laws.")
package_data = {'barak' : get_data_names('barak/data')}
setup(
name = 'Barak',
version = '0.3.2',
author = 'Neil Crighton',
author_email = 'neilcrighton .at. gmail .dot. com',
packages = ['barak', 'barak.tests', 'barak.sphinx', 'barak.sphinx.ext'],
package_dir = {'barak': 'barak'},
package_data = package_data,
include_package_data = True,
scripts = glob('scripts/*'),
license = 'modified BSD',
url = 'http://nhmc.github.com/Barak/',
description = description,
long_description = readme,
requires = ["numpy", "pyfits", "atpy", "astropy"],
install_requires = ["numpy", "pyfits", "atpy", "astropy"]
)
|
from distutils.core import setup
from glob import glob
import os, sys
import warnings
# To create a distribution, use
#
# python setup.py sdist
#
# Register on PyPI
#
# python setup.py register
#
# Upload the distribution to PyPI
#
# python setup.py register sdist upload
def get_data_names(root):
""" Return list of all filenames (not directories) under root.
"""
temp = []
for dirpath, dirnames, filenames in os.walk(root):
temp.extend((os.path.join(dirpath, d, '*') for d in dirnames))
names = []
for path in temp:
if any(os.path.isfile(f) for f in glob(path)):
names.append(path[6:])
return names
if len(sys.argv[1:]) > 0 and sys.argv[1] in ('build', 'install'):
try:
import matplotlib
except ImportError:
warnings.warn("""
matplotlib doesn't look like it's been installed. I'm continuing to
install barak, but be warned that some modules and scripts will not
work. To install matplotlib, follow the instructions at
http://matplotlib.org/users/installing.html.
""")
with open('README') as fh:
readme = fh.read()
readme += '\n'
readme += 'Change Log\n'
readme += '----------\n'
with open('CHANGES') as fh:
readme += fh.read()
description = ("A set of astronomy-related routines for generating Voigt "
"profiles from atomic data, reading and writing data, "
"working with SEDs, passbands and dust extinction laws.")
package_data = {'barak' : get_data_names('barak/data')}
setup(
name = 'Barak',
version = '0.3.2',
author = 'Neil Crighton',
author_email = 'neilcrighton .at. gmail .dot. com',
packages = ['barak', 'barak.tests', 'barak.sphinx', 'barak.sphinx.ext'],
package_dir = {'barak': 'barak'},
package_data = package_data,
include_package_data = True,
scripts = glob('scripts/*'),
license = 'modified BSD',
url = 'http://nhmc.github.com/Barak/',
description = description,
long_description = readme,
requires = ["numpy", "pyfits", "atpy", "astropy"],
install_requires = ["numpy", "pyfits", "atpy", "astropy"]
)
| bsd-3-clause | Python |
d02b88f681b5d467219b56e14b1e2ecc78e49177 | Bump to version 3.0.5-01 | ryankanno/cookiecutter-django,pydanny/cookiecutter-django,trungdong/cookiecutter-django,ryankanno/cookiecutter-django,luzfcb/cookiecutter-django,luzfcb/cookiecutter-django,luzfcb/cookiecutter-django,ryankanno/cookiecutter-django,trungdong/cookiecutter-django,pydanny/cookiecutter-django,trungdong/cookiecutter-django,ryankanno/cookiecutter-django,pydanny/cookiecutter-django,pydanny/cookiecutter-django,luzfcb/cookiecutter-django,trungdong/cookiecutter-django | setup.py | setup.py | #!/usr/bin/env python
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Our version ALWAYS matches the version of Django we support
# If Django has a new release, we branch, tag, then update this setting after the tag.
version = "3.0.5-01"
if sys.argv[-1] == "tag":
os.system(f'git tag -a {version} -m "version {version}"')
os.system("git push --tags")
sys.exit()
with open("README.rst") as readme_file:
long_description = readme_file.read()
setup(
name="cookiecutter-django",
version=version,
description="A Cookiecutter template for creating production-ready Django projects quickly.",
long_description=long_description,
author="Daniel Roy Greenfeld",
author_email="pydanny@gmail.com",
url="https://github.com/pydanny/cookiecutter-django",
packages=[],
license="BSD",
zip_safe=False,
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Framework :: Django :: 3.0",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development",
],
keywords=(
"cookiecutter, Python, projects, project templates, django, "
"skeleton, scaffolding, project directory, setup.py"
),
)
| #!/usr/bin/env python
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
# Our version ALWAYS matches the version of Django we support
# If Django has a new release, we branch, tag, then update this setting after the tag.
version = "3.0.5"
if sys.argv[-1] == "tag":
os.system(f'git tag -a {version} -m "version {version}"')
os.system("git push --tags")
sys.exit()
with open("README.rst") as readme_file:
long_description = readme_file.read()
setup(
name="cookiecutter-django",
version=version,
description="A Cookiecutter template for creating production-ready Django projects quickly.",
long_description=long_description,
author="Daniel Roy Greenfeld",
author_email="pydanny@gmail.com",
url="https://github.com/pydanny/cookiecutter-django",
packages=[],
license="BSD",
zip_safe=False,
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"Framework :: Django :: 3.0",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Software Development",
],
keywords=(
"cookiecutter, Python, projects, project templates, django, "
"skeleton, scaffolding, project directory, setup.py"
),
)
| bsd-3-clause | Python |
f3325ebb237f6a169d5b41ef0866e95f9a0b4028 | Bump version number | gears/gears-less,gears/gears-less | setup.py | setup.py | import os
from setuptools import setup, find_packages
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name='gears-less',
version='0.3.1',
url='https://github.com/gears/gears-less',
license='ISC',
author='Mike Yumatov',
author_email='mike@yumatov.org',
description='LESS compiler for Gears',
long_description=read('README.rst'),
packages=find_packages(),
include_package_data=True,
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: ISC License (ISCL)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
],
)
| import os
from setuptools import setup, find_packages
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
setup(
name='gears-less',
version='0.3',
url='https://github.com/gears/gears-less',
license='ISC',
author='Mike Yumatov',
author_email='mike@yumatov.org',
description='LESS compiler for Gears',
long_description=read('README.rst'),
packages=find_packages(),
include_package_data=True,
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: ISC License (ISCL)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
],
)
| isc | Python |
2a79ce7a32b6f6510561415c33c8f8047cef60c8 | update classifiers in setup | karec/oct,TheGhouls/oct,TheGhouls/oct,TheGhouls/oct,karec/oct | setup.py | setup.py | __author__ = 'manu'
import os
from setuptools import setup, find_packages
from oct import __version__
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
setup(
name='oct',
version=__version__,
author='Emmanuel Valette',
author_email='manu.valette@gmail.com',
packages=['oct', 'oct.core', 'oct.multimechanize', 'oct.testing',
'oct.multimechanize.utilities', 'oct.utilities', 'oct.tools'],
package_data={'oct.utilities': ['templates/css/*']},
description="A library based on multi-mechanize for performances testing, using custom browser for writing tests",
url='https://github.com/karec/oct',
download_url='https://github.com/karec/oct/archive/master.zip',
keywords=['testing', 'multi-mechanize', 'perfs', 'webscrapper', 'browser', 'web', 'performances', 'lxml'],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4'
],
install_requires=[
'argparse',
'requests',
'lxml',
'celery',
'cssselect',
'pygal',
'cairosvg',
'tinycss',
'six'
],
entry_points={'console_scripts': [
'multimech-run = oct.multimechanize.utilities.run:main',
'multimech-newproject = oct.multimechanize.utilities.newproject:main',
'multimech-gridgui = oct.multimechanize.utilities.gridgui:main',
'oct-run = oct.utilities.run:oct_main',
'oct-newproject = oct.utilities.newproject:main',
'octtools-sitemap-to-csv = oct.tools.xmltocsv:sitemap_to_csv',
'octtools-user-generator = oct.tools.email_generator:email_generator'
]},
)
| __author__ = 'manu'
import os
from setuptools import setup, find_packages
from oct import __version__
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
setup(
name='oct',
version=__version__,
author='Emmanuel Valette',
author_email='manu.valette@gmail.com',
packages=['oct', 'oct.core', 'oct.multimechanize', 'oct.testing',
'oct.multimechanize.utilities', 'oct.utilities', 'oct.tools'],
package_data={'oct.utilities': ['templates/css/*']},
description="A library based on multi-mechanize for performances testing, using custom browser for writing tests",
url='https://github.com/karec/oct',
download_url='https://github.com/karec/oct/archive/master.zip',
keywords=['testing', 'multi-mechanize', 'perfs', 'webscrapper', 'browser', 'web', 'performances', 'lxml'],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
],
install_requires=[
'argparse',
'requests',
'lxml',
'celery',
'cssselect',
'pygal',
'cairosvg',
'tinycss',
'six'
],
entry_points={'console_scripts': [
'multimech-run = oct.multimechanize.utilities.run:main',
'multimech-newproject = oct.multimechanize.utilities.newproject:main',
'multimech-gridgui = oct.multimechanize.utilities.gridgui:main',
'oct-run = oct.utilities.run:oct_main',
'oct-newproject = oct.utilities.newproject:main',
'octtools-sitemap-to-csv = oct.tools.xmltocsv:sitemap_to_csv',
'octtools-user-generator = oct.tools.email_generator:email_generator'
]},
)
| mit | Python |
c772bad4533afeec3aeb7d51f2ad5c3663c33ba2 | Bump version | maykinmedia/django-timeline-logger,maykinmedia/django-timeline-logger | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-timeline-logger',
version='0.4',
description='Generic event logger for Django models.',
author='Maykin Media',
author_email='support@maykinmedia.nl',
url='https://github.com/maykinmedia/django-timeline-logger',
install_requires=[
'Django>=1.8',
'django-appconf',
],
packages=find_packages(exclude=['tests*']),
include_package_data=True,
zip_safe=False,
setup_requires=['pytest-runner'],
tests_require=[
'psycopg2',
'pytest',
'pytest-cov',
'pytest-django',
'pytest-pep8',
'pytest-pylint',
'pytest-pythonpath',
],
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: Django :: 1.9',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: Unix',
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development :: Libraries :: Application Frameworks'
]
)
| #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='django-timeline-logger',
version='0.3.1',
description='Generic event logger for Django models.',
author='Maykin Media',
author_email='support@maykinmedia.nl',
url='https://github.com/maykinmedia/django-timeline-logger',
install_requires=[
'Django>=1.8',
'django-appconf',
],
packages=find_packages(exclude=['tests*']),
include_package_data=True,
zip_safe=False,
setup_requires=['pytest-runner'],
tests_require=[
'psycopg2',
'pytest',
'pytest-cov',
'pytest-django',
'pytest-pep8',
'pytest-pylint',
'pytest-pythonpath',
],
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: Django :: 1.9',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: Unix',
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development :: Libraries :: Application Frameworks'
]
)
| mit | Python |
09b7bd11eb8d746c0ec4641aaa1d42358a1dd468 | Update setup.py | jakirkham/primesieve-python,hickford/primesieve-python,anirudhjayaraman/primesieve-python | setup.py | setup.py | from setuptools import setup, Extension
from glob import glob
library = ('primesieve', dict(
sources=glob("lib/primesieve/src/primesieve/*.cpp"),
include_dirs=["lib/primesieve/include"],
language="c++",
))
if glob("primesieve/*.pyx"):
from Cython.Build import cythonize
else:
# fallback to compiled cpp
cythonize = None
extension = Extension(
"primesieve",
["primesieve/primesieve.pyx"] if cythonize else ["primesieve/primesieve.cpp"],
include_dirs = ["lib/primesieve/include"],
language="c++",
)
ext_modules = cythonize(extension) if cythonize else [extension]
setup(
name='primesieve',
version="0.0.1",
url = "https://github.com/hickford/primesieve-python",
description="Fast prime number generator. Python bindings around C++ library primesieve",
license = "MIT",
libraries = [library],
ext_modules = ext_modules,
classifiers=[
'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',
],
)
| from setuptools import setup, Extension
from glob import glob
library = ('primesieve', dict(
sources=glob("lib/primesieve/src/primesieve/*.cpp"),
include_dirs=["lib/primesieve/include"],
language="c++",
))
if glob("primesieve/*.pyx"):
from Cython.Build import cythonize
else:
# fallback to compiled cpp
cythonize = None
extension = Extension(
"primesieve",
["primesieve/primesieve.pyx"] if cythonize else ["primesieve/primesieve.cpp"],
include_dirs = ["lib/primesieve/include"],
language="c++",
)
ext_modules = cythonize(extension) if cythonize else [extension]
setup(
name='primesieve',
version="0.0.1",
url = "https://github.com/hickford/primesieve-python",
license = "MIT",
libraries = [library],
ext_modules = ext_modules,
classifiers=[
'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',
],
)
| mit | Python |
fc30c5764280a171f09cdea5b4573a8809588fbf | Fix download_url in setup() | TangledWeb/tangled.session | setup.py | setup.py | from setuptools import setup
setup(
name='tangled.session',
version='0.1a3.dev0',
description='Tangled session integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.session/tags',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=[
'tangled',
'tangled.session',
'tangled.session.tests',
],
install_requires=[
'tangled>=0.1a5',
'Beaker>=1.6.4',
],
extras_require={
'dev': [
'tangled[dev]>=0.1a5',
],
},
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.session',
version='0.1a3.dev0',
description='Tangled session integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.session',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=[
'tangled',
'tangled.session',
'tangled.session.tests',
],
install_requires=[
'tangled>=0.1a5',
'Beaker>=1.6.4',
],
extras_require={
'dev': [
'tangled[dev]>=0.1a5',
],
},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
)
| mit | Python |
a522c3cbc0c155ad7e2d3b0dcd1c74166bc96808 | bump version | silenius/amnesia,silenius/amnesia,silenius/amnesia | setup.py | setup.py | __version__ = '0.1.12.dev8'
import os
from setuptools import find_packages
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.txt')) as f:
README = f.read()
with open(os.path.join(here, 'CHANGES.txt')) as f:
CHANGES = f.read()
install_requires = [
'plaster_pastedeploy',
'pyramid',
'Chameleon',
'pyramid_chameleon',
'pyramid_beaker',
'alembic',
'pyramid_tm',
'pyramid_mailer',
'SQLAlchemy~=1.4',
'transaction',
'zope.sqlalchemy>=1.6',
'psycopg2',
'pytz',
'rutter',
'marshmallow',
'bcrypt',
'file-magic',
'saexts',
'hashids',
]
extra_requires = {
'production': [
'gunicorn'
],
'development': [
'pyramid_debugtoolbar',
'waitress',
],
'testing': [
'WebTest >= 1.3.1', # py3 compat
'pytest >= 3.7.4',
'pytest-cov',
]
}
setup(
name='amnesiacms',
version=__version__,
description='amnesia CMS',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author='Julien Cigar',
author_email='julien@perdition.city',
url='https://github.com/silenius/amnesia',
keywords='web wsgi pyramid cms sqlalchemy',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
extras_require=extra_requires,
entry_points={
'paste.app_factory': [
'main = amnesia:main'
],
'console_scripts': [
'initialize_amnesia_db = amnesia.scripts.initializedb:main',
'initialize_amnesia_mime = amnesia.scripts.initializemime:main',
'build_statics = amnesia.scripts.build_statics:main',
'fix_files = amnesia.scripts.fix_file_paths:main',
]
}
)
| __version__ = '0.1.12.dev7'
import os
from setuptools import find_packages
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.txt')) as f:
README = f.read()
with open(os.path.join(here, 'CHANGES.txt')) as f:
CHANGES = f.read()
install_requires = [
'plaster_pastedeploy',
'pyramid',
'Chameleon',
'pyramid_chameleon',
'pyramid_beaker',
'alembic',
'pyramid_tm',
'pyramid_mailer',
'SQLAlchemy~=1.4',
'transaction',
'zope.sqlalchemy>=1.6',
'psycopg2',
'pytz',
'rutter',
'marshmallow',
'bcrypt',
'file-magic',
'saexts',
'hashids',
]
extra_requires = {
'production': [
'gunicorn'
],
'development': [
'pyramid_debugtoolbar',
'waitress',
],
'testing': [
'WebTest >= 1.3.1', # py3 compat
'pytest >= 3.7.4',
'pytest-cov',
]
}
setup(
name='amnesiacms',
version=__version__,
description='amnesia CMS',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author='Julien Cigar',
author_email='julien@perdition.city',
url='https://github.com/silenius/amnesia',
keywords='web wsgi pyramid cms sqlalchemy',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
extras_require=extra_requires,
entry_points={
'paste.app_factory': [
'main = amnesia:main'
],
'console_scripts': [
'initialize_amnesia_db = amnesia.scripts.initializedb:main',
'initialize_amnesia_mime = amnesia.scripts.initializemime:main',
'build_statics = amnesia.scripts.build_statics:main',
'fix_files = amnesia.scripts.fix_file_paths:main',
]
}
)
| bsd-2-clause | Python |
6547b8cd81c09783f628ce540ea36ec0dcc4a0d2 | increment version | sk2/autonetkit | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
#from setuptools import setup, find_packages
setup (
name = "autonetkit",
version = "0.2.17",
description = 'Automatic configuration generation for emulated networks',
long_description = 'Automatic configuration generation for emulated networks',
# simple to run
entry_points = {
'console_scripts': [
'autonetkit = autonetkit.console_script:main',
'ank_webserver = autonetkit.webserver:main',
'ank_measure_client = autonetkit.measure_client:main',
],
},
author = 'Simon Knight',
author_email = "simon.knight@gmail.com",
url = "http://www.autonetkit.org",
packages = ['autonetkit', 'autonetkit.deploy',
'autonetkit.load', 'autonetkit.plugins'],
include_package_data = True, # include data from MANIFEST.in
package_data = {'': ['settings.cfg', 'config/configspec.cfg', ]},
download_url = ("http://pypi.python.org/pypi/AutoNetkit"),
install_requires = ['netaddr', 'mako', 'networkx>=1.7',
'configobj', 'tornado',
#'textfsm', 'pika',
# 'exscript==0.0.1'
],
#Note: exscript disabled in default install: requires pycrypto which requires compilation (can cause installation issues)
#dependency_links = [ 'https://github.com/knipknap/exscript/tarball/master#egg=exscript-0.0.1',],
classifiers = [
"Programming Language :: Python",
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"Intended Audience :: Telecommunications Industry",
"License :: OSI Approved :: BSD License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Topic :: System :: Networking",
"Topic :: System :: Software Distribution",
"Topic :: Scientific/Engineering :: Mathematics",
],
)
| #!/usr/bin/env python
from setuptools import setup
#from setuptools import setup, find_packages
setup (
name = "autonetkit",
version = "0.2.12",
description = 'Automatic configuration generation for emulated networks',
long_description = 'Automatic configuration generation for emulated networks',
# simple to run
entry_points = {
'console_scripts': [
'autonetkit = autonetkit.console_script:main',
'ank_webserver = autonetkit.webserver:main',
'ank_measure_client = autonetkit.measure_client:main',
],
},
author = 'Simon Knight',
author_email = "simon.knight@gmail.com",
url = "http://www.autonetkit.org",
packages = ['autonetkit', 'autonetkit.deploy',
'autonetkit.load', 'autonetkit.plugins'],
include_package_data = True, # include data from MANIFEST.in
package_data = {'': ['settings.cfg', 'config/configspec.cfg', ]},
download_url = ("http://pypi.python.org/pypi/AutoNetkit"),
install_requires = ['netaddr', 'mako', 'networkx>=1.7',
'configobj', 'tornado',
#'textfsm', 'pika',
# 'exscript==0.0.1'
],
#Note: exscript disabled in default install: requires pycrypto which requires compilation (can cause installation issues)
#dependency_links = [ 'https://github.com/knipknap/exscript/tarball/master#egg=exscript-0.0.1',],
classifiers = [
"Programming Language :: Python",
"Development Status :: 3 - Alpha",
"Intended Audience :: Science/Research",
"Intended Audience :: System Administrators",
"Intended Audience :: Telecommunications Industry",
"License :: OSI Approved :: BSD License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Topic :: System :: Networking",
"Topic :: System :: Software Distribution",
"Topic :: Scientific/Engineering :: Mathematics",
],
)
| bsd-3-clause | Python |
4ba6fb9f4f0142960f52412f0b333f8163fc2155 | Bump to 0.0.6 | plumdog/django_migration_testcase,percipient/django_migration_testcase,percipient/django_migration_testcase,plumdog/django_migration_test,plumdog/django_migration_test,plumdog/django_migration_testcase | setup.py | setup.py | from setuptools import find_packages, setup
setup(
name='django-migration-testcase',
version='0.0.6',
author='Andrew Plummer',
author_email='plummer574@gmail.com',
url='https://github.com/plumdog/django_migration_testcase',
packages=find_packages(),
install_requires=['Django>=1.4'])
| from setuptools import find_packages, setup
setup(
name='django-migration-testcase',
version='0.0.5',
author='Andrew Plummer',
author_email='plummer574@gmail.com',
url='https://github.com/plumdog/django_migration_testcase',
packages=find_packages(),
install_requires=['Django>=1.4'])
| mit | Python |
a735021adac432a3040e5f80046d9a71c574e137 | Fix version pinning | thelabnyc/django-oscar-wfrs,thelabnyc/django-oscar-wfrs | setup.py | setup.py | #!/usr/bin/env python
import codecs
import os.path
from setuptools import setup
from versiontag import get_version, cache_git_tag
packages = [
'wellsfargo',
'wellsfargo.api',
'wellsfargo.connector',
'wellsfargo.core',
'wellsfargo.dashboard',
'wellsfargo.management',
'wellsfargo.management.commands',
'wellsfargo.migrations',
'wellsfargo.tests',
]
setup_requires = [
'versiontag>=1.0.3',
]
requires = [
'Django>=1.9.6',
'djangorestframework>=3.3.2',
'django-oscar>=1.2.1',
'django-oscar-accounts>=0.4rc1',
'django-oscar-api>=1.0.4',
'django-oscar-api-checkout>=0.1.4',
'django-oscar-bluelight>=0.3.0',
'django-localflavor>=1.3',
'instrumented-soap>=1.1.0',
]
extras_require = {
'celery': ['celery>=3.1.23'],
}
def fpath(name):
return os.path.join(os.path.dirname(__file__), name)
def read(fname):
return codecs.open(fpath(fname), encoding='utf-8').read()
cache_git_tag()
setup(
name='django-oscar-wfrs',
description="An extension on-top of django-oscar-accounts to allow interfacing with Wells Fargo Retail Services.",
version=get_version(pypi=True),
long_description=open('README.rst').read(),
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.8',
'Framework :: Django :: 1.9',
'Intended Audience :: Developers',
'License :: OSI Approved :: ISC License (ISCL)',
'Operating System :: Unix',
'Operating System :: MacOS :: MacOS X',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
author='Craig Weber',
author_email='crgwbr@gmail.com',
url='https://gitlab.com/thelabnyc/django-oscar-wfrs',
license='ISC',
packages=packages,
include_package_data=True,
install_requires=requires,
setup_requires=setup_requires
)
| #!/usr/bin/env python
import codecs
import os.path
from setuptools import setup
from versiontag import get_version, cache_git_tag
packages = [
'wellsfargo',
'wellsfargo.api',
'wellsfargo.connector',
'wellsfargo.core',
'wellsfargo.dashboard',
'wellsfargo.management',
'wellsfargo.management.commands',
'wellsfargo.migrations',
'wellsfargo.tests',
]
setup_requires = [
'versiontag>=1.0.3',
]
requires = [
'Django>=1.9.6',
'djangorestframework>=3.3.2',
'django-oscar>=1.2.1',
'django-oscar-accounts>=0.4rc1',
'django-oscar-api>=1.0.4',
'django-oscar-api-checkout==0.1.4',
'django-oscar-bluelight==0.3.0',
'django-localflavor>=1.3',
'instrumented-soap>=1.1.0',
]
extras_require = {
'celery': ['celery>=3.1.23'],
}
def fpath(name):
return os.path.join(os.path.dirname(__file__), name)
def read(fname):
return codecs.open(fpath(fname), encoding='utf-8').read()
cache_git_tag()
setup(
name='django-oscar-wfrs',
description="An extension on-top of django-oscar-accounts to allow interfacing with Wells Fargo Retail Services.",
version=get_version(pypi=True),
long_description=open('README.rst').read(),
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.8',
'Framework :: Django :: 1.9',
'Intended Audience :: Developers',
'License :: OSI Approved :: ISC License (ISCL)',
'Operating System :: Unix',
'Operating System :: MacOS :: MacOS X',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
author='Craig Weber',
author_email='crgwbr@gmail.com',
url='https://gitlab.com/thelabnyc/django-oscar-wfrs',
license='ISC',
packages=packages,
include_package_data=True,
install_requires=requires,
setup_requires=setup_requires
)
| isc | Python |
7aa57fa51d1d673c792811c19057f2bc338e2530 | Fix in setup.py | machinalis/django-template-previewer,machinalis/django-template-previewer | setup.py | setup.py | from distutils.core import setup
with open('README.md') as readme:
__doc__ = readme.read()
setup(
name='django-template-previewer',
version='0.1',
description=u'A Django app to allow developers preview templates',
long_description=__doc__,
author=u'Daniel F. Moisset',
author_email='dmoisset@machinalis.com',
url='https://github.com/machinalis/django-template-previewer',
packages=['template_previewer'],
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Framework :: Django',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
| from distutils.core import setup
with open('README.md') as readme:
__doc__ = readme.read()
setup(
name='django-template-previewer',
version='0.1',
py_modules=['template_previewer'],
description=u'A Django app to allow developers preview templates',
long_description=__doc__,
author=u'Daniel F. Moisset',
author_email='dmoisset@machinalis.com',
url='https://github.com/machinalis/django-template-previewer',
packages=['template_previewer'],
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Framework :: Django',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
| bsd-3-clause | Python |
5bdb36da6f5ede72efa04e47e97f063582a748cb | change information submitted to pypi | trichter/rf | setup.py | setup.py | #!/usr/bin/env python
from setuptools import find_packages, setup
import os.path
with open(os.path.join('rf', '_version.py')) as f:
VERSION = f.read().split('=')[1].strip().strip("'")
with open('README.rst') as f:
README = f.read()
if not 'dev' in VERSION: # get image for correct version from travis-ci
README = README.replace('branch=master', 'branch=v%s' % VERSION)
DESCRIPTION = README.split('\n')[2]
LONG_DESCRIPTION = '\n'.join(README.split('\n')[5:])
ENTRY_POINTS = {
'console_scripts': ['rf-runtests = rf.tests.suite:main',
'rf = rf.batch:main']}
setup(name='rf',
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
url='https://github.com/trichter/rf',
author='Tom Richter',
author_email='richter@gfz-potsdam.de',
license='MIT',
packages=find_packages(),
package_dir={'rf': 'rf'},
install_requires=['obspy', 'toeplitz', 'geographiclib'],
entry_points=ENTRY_POINTS,
include_package_data=True,
zip_safe=False
)
| #!/usr/bin/env python
from setuptools import find_packages, setup
import os.path
with open(os.path.join('rf', '_version.py')) as f:
VERSION = f.read().split('=')[1].strip().strip("'")
with open('README.rst') as f:
README = f.read()
if not 'dev' in VERSION: # get image for correct version from travis-ci
README = README.replace('branch=master', 'branch=v%s' % VERSION)
ENTRY_POINTS = {
'console_scripts': ['rf-runtests = rf.tests.suite:main',
'rf = rf.batch:main']}
setup(name='rf',
version=VERSION,
description=README.split('\n')[2],
long_description=README,
url='https://github.com/trichter/rf',
author='Tom Richter',
author_email='richter@gfz-potsdam.de',
license='MIT',
packages=find_packages(),
package_dir={'rf': 'rf'},
install_requires=['obspy', 'toeplitz', 'geographiclib'],
entry_points=ENTRY_POINTS,
include_package_data=True,
zip_safe=False
)
| mit | Python |
2b9875d8836a9acb7fa1779c58ae15d598bc4b80 | Remove install_requires for now | gmjosack/clowncar,gmjosack/clowncar | setup.py | setup.py | #!/usr/bin/env python
import setuptools
from distutils.core import setup
execfile('clowncar/version.py')
kwargs = {
"name": "clowncar",
"version": str(__version__),
"packages": ["clowncar"],
"description": "Store and retrieve TOTP secrets/tokens.",
# PyPi, despite not parsing markdown, will prefer the README.md to the
# standard README. Explicitly read it here.
"long_description": open("README").read(),
"author": "Gary M. Josack",
"maintainer": "Gary M. Josack",
"author_email": "gary@byoteki.com",
"maintainer_email": "gary@byoteki.com",
"license": "MIT",
"url": "https://github.com/gmjosack/clowncar",
"download_url": "https://github.com/gmjosack/clowncar/archive/master.tar.gz",
"classifiers": [
"Programming Language :: Python",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
]
}
setup(**kwargs)
| #!/usr/bin/env python
import setuptools
from distutils.core import setup
execfile('clowncar/version.py')
with open('requirements.txt') as requirements:
required = requirements.read().splitlines()
kwargs = {
"name": "clowncar",
"version": str(__version__),
"packages": ["clowncar"],
"description": "Store and retrieve TOTP secrets/tokens.",
# PyPi, despite not parsing markdown, will prefer the README.md to the
# standard README. Explicitly read it here.
"long_description": open("README").read(),
"author": "Gary M. Josack",
"maintainer": "Gary M. Josack",
"author_email": "gary@byoteki.com",
"maintainer_email": "gary@byoteki.com",
"license": "MIT",
"install_requires": required,
"url": "https://github.com/gmjosack/clowncar",
"download_url": "https://github.com/gmjosack/clowncar/archive/master.tar.gz",
"classifiers": [
"Programming Language :: Python",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
]
}
setup(**kwargs)
| mit | Python |
088a55d47232fe0e75b67cb8272e1942a8da54b1 | Fix version path | sunshinekitty/rack-ddnsm | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
rack-ddnsm
~~~~~
Dynamic DNS metadata for Rackspace Cloud DNS,
manages TXT records containing metadata in the format of title,desc,data.
:copyright: (c) 2015 by Alex Edwards.
:license: MIT, see LICENSE for more details.
:repo: <https://github.com/sunshinekitty/rack-ddnsm>
:docs: <https://github.com/sunshinekitty/rack-ddnsm/wiki>
"""
from setuptools import setup
import re
with open("rackddnsm/version.py", "rt") as vfile:
version_text = vfile.read()
vmatch = re.search(r'version ?= ?"(.+)"$', version_text)
version = vmatch.groups()[0]
setup(
name="rack-ddnsm",
version=version,
description="Python language bindings for Encore.",
author="Alex Edwards",
author_email="edwards@linux.com",
url="https://github.com/sunshinekitty/rack-ddnsm>",
keywords="rackspace cloud dns meta ddns dns",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
],
install_requires=[
"requests>=2.2.1",
"dnspython>=1.12.0"
],
packages=[
"rack-ddnsm",
]
)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
rack-ddnsm
~~~~~
Dynamic DNS metadata for Rackspace Cloud DNS,
manages TXT records containing metadata in the format of title,desc,data.
:copyright: (c) 2015 by Alex Edwards.
:license: MIT, see LICENSE for more details.
:repo: <https://github.com/sunshinekitty/rack-ddnsm>
:docs: <https://github.com/sunshinekitty/rack-ddnsm/wiki>
"""
from setuptools import setup
import re
with open("rack-ddnsm/version.py", "rt") as vfile:
version_text = vfile.read()
vmatch = re.search(r'version ?= ?"(.+)"$', version_text)
version = vmatch.groups()[0]
setup(
name="rack-ddnsm",
version=version,
description="Python language bindings for Encore.",
author="Alex Edwards",
author_email="edwards@linux.com",
url="https://github.com/sunshinekitty/rack-ddnsm>",
keywords="rackspace cloud dns meta ddns dns",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
],
install_requires=[
"requests>=2.2.1",
"dnspython>=1.12.0"
],
packages=[
"rack-ddnsm",
]
)
| mit | Python |
8431338b1a692aa321e06caf0d7e898c7f66dae2 | Change version to 0.0.2 | xrloong/Xie | setup.py | setup.py | #!/usr/bin/env python3
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# 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='Xie',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.0.2',
description='試圖以筆劃描述漢字的函式庫',
# long_description=long_description,
long_description='試圖以筆劃描述漢字的函式庫',
# The project's main homepage.
url='https://github.com/xrloong/Xie',
# Author details
author='xrloong',
author_email='xrloong@gmail.com',
# Choose your license
license='Apache',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3 :: Only',
],
# What does your project relate to?
keywords='qiangheng',
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=[],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'xie=xie:xie',
],
},
)
| #!/usr/bin/env python3
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# 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='Xie',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='0.0.1',
description='試圖以筆劃描述漢字的函式庫',
# long_description=long_description,
long_description='試圖以筆劃描述漢字的函式庫',
# The project's main homepage.
url='https://github.com/xrloong/Xie',
# Author details
author='xrloong',
author_email='xrloong@gmail.com',
# Choose your license
license='Apache',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3 :: Only',
],
# What does your project relate to?
keywords='qiangheng',
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=[],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'xie=xie:xie',
],
},
)
| apache-2.0 | Python |
64ed2ec9e09c62237e51c36fff8e04212d4ce81c | Remove unused setup import | ludwigschwardt/scikits.fitting | setup.py | setup.py | #!/usr/bin/env python
import os
from setuptools import dist, find_packages
# Ensure we have numpy before we start as it is needed before we call setup()
# If not installed system-wide it will be downloaded into the local .eggs dir
dist.Distribution(dict(setup_requires='numpy'))
from numpy.distutils.core import setup
from numpy.distutils.misc_util import Configuration
def configuration(parent_package='', top_path=None):
if os.path.exists('MANIFEST'):
os.remove('MANIFEST')
config = Configuration(None, parent_package, top_path,
namespace_packages=['scikits'])
config.set_options(ignore_setup_xxx_py=True,
assume_default_configuration=True,
delegate_options_to_subpackages=True,
quiet=True)
config.add_subpackage('scikits')
config.add_subpackage('scikits.fitting')
config.add_data_files('scikits/__init__.py')
config.add_data_dir('scikits/fitting/tests')
return config
if __name__ == "__main__":
with open('README.rst') as readme:
long_description = readme.read()
setup(name='scikits.fitting',
description='Framework for fitting functions to data with SciPy',
long_description=long_description,
maintainer='Ludwig Schwardt',
maintainer_email='ludwig@ska.ac.za',
url='https://github.com/ska-sa/scikits.fitting',
license='Modified BSD',
version='0.5.1',
classifiers=['Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Topic :: Scientific/Engineering'],
configuration=configuration,
install_requires=['numpy', 'scipy'],
namespace_packages=['scikits'],
packages=find_packages(),
include_package_data=True,
zip_safe=False)
| #!/usr/bin/env python
import os
from setuptools import dist, setup, find_packages
# Ensure we have numpy before we start as it is needed before we call setup()
# If not installed system-wide it will be downloaded into the local .eggs dir
dist.Distribution(dict(setup_requires='numpy'))
from numpy.distutils.core import setup
from numpy.distutils.misc_util import Configuration
def configuration(parent_package='', top_path=None):
if os.path.exists('MANIFEST'):
os.remove('MANIFEST')
config = Configuration(None, parent_package, top_path,
namespace_packages=['scikits'])
config.set_options(ignore_setup_xxx_py=True,
assume_default_configuration=True,
delegate_options_to_subpackages=True,
quiet=True)
config.add_subpackage('scikits')
config.add_subpackage('scikits.fitting')
config.add_data_files('scikits/__init__.py')
config.add_data_dir('scikits/fitting/tests')
return config
if __name__ == "__main__":
with open('README.rst') as readme:
long_description = readme.read()
setup(name='scikits.fitting',
description='Framework for fitting functions to data with SciPy',
long_description=long_description,
maintainer='Ludwig Schwardt',
maintainer_email='ludwig@ska.ac.za',
url='https://github.com/ska-sa/scikits.fitting',
license='Modified BSD',
version='0.5.1',
classifiers=['Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Topic :: Scientific/Engineering'],
configuration=configuration,
install_requires=['numpy', 'scipy'],
namespace_packages=['scikits'],
packages=find_packages(),
include_package_data=True,
zip_safe=False)
| bsd-3-clause | Python |
7cb1d3569fbd92b5697bc10e8a5bd95049679ccc | fix #7: removed 'distribute' dependency | ovh/djehouty,cdumay/djehouty | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2013-2016, OVH SAS.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# * Neither the name of OVH SAS nor the
# names of its contributors may be used to endorse or promote products
# derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY OVH SAS AND CONTRIBUTORS ````AS IS'' AND ANY
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL OVH SAS AND CONTRIBUTORS BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
"""
Djehouty intends to be a set of logging formatters and handlers to easily
send log entries.
"""
from setuptools import setup, find_packages
VERSION = '0.1.4'
setup(
name='djehouty',
version=VERSION,
description="Djehouty intends to be a set of logging formatters and " +
"handlers to easily send log entries.",
long_description="""""",
classifiers=[
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
],
keywords='GELF, LTSV',
author='Cedric DUMAY',
author_email='cedric.dumay@corp.ovh.com',
url='https://github.com/ovh/djehouty',
license='BSD',
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=True,
test_suite="tests",
install_requires=(
'ltsv', 'testfixtures',
),
entry_points="""
""",
)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (c) 2013-2016, OVH SAS.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above copyright
# notice, this list of conditions and the following disclaimer in the
# documentation and/or other materials provided with the distribution.
# * Neither the name of OVH SAS nor the
# names of its contributors may be used to endorse or promote products
# derived from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY OVH SAS AND CONTRIBUTORS ````AS IS'' AND ANY
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
# DISCLAIMED. IN NO EVENT SHALL OVH SAS AND CONTRIBUTORS BE LIABLE FOR ANY
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
"""
Djehouty intends to be a set of logging formatters and handlers to easily
send log entries.
"""
from setuptools import setup, find_packages
VERSION = '0.1.3'
setup(
name='djehouty',
version=VERSION,
description="Djehouty intends to be a set of logging formatters and " +
"handlers to easily send log entries.",
long_description="""""",
classifiers=[
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
],
keywords='GELF, LTSV',
author='Cedric DUMAY',
author_email='cedric.dumay@corp.ovh.com',
url='https://github.com/ovh/djehouty',
license='BSD',
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=True,
test_suite="tests",
install_requires=(
'distribute', 'ltsv', 'testfixtures',
),
entry_points="""
""",
)
| bsd-3-clause | Python |
64fd9720d1f14b7f7b3ce35da323aec2093b7687 | update scout version - add HPO features! 🌟 | Clinical-Genomics/scout,Clinical-Genomics/scout,Clinical-Genomics/scout | setup.py | setup.py | # -*- coding: utf-8 -*-
import codecs
from setuptools import setup, find_packages
def parse_reqs(req_path='./requirements.txt'):
"""Recursively parse requirements from nested pip files."""
install_requires = []
with codecs.open(req_path, 'r') as handle:
# remove comments and empty lines
lines = (line.strip() for line in handle
if line.strip() and not line.startswith('#'))
for line in lines:
# check for nested requirements files
if line.startswith('-r'):
# recursively call this function
install_requires += parse_reqs(req_path=line[3:])
else:
# add the line as a new requirement
install_requires.append(line)
return install_requires
setup(
name='scout-browser',
version='2.1.2',
url='https://github.com/Clinical-Genomics/scout',
description='Clinical DNA variant visualizer and browser.',
author='Robin Andeer',
author_email='robin.andeer@gmail.com',
packages=find_packages(exclude=['tests/', 'scripts/']),
include_package_data=True,
zip_safe=False,
install_requires=parse_reqs(),
entry_points=dict(
console_scripts=[
'scout = scout.commands:cli',
]
),
test_suite='tests',
classifiers=[
'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'
]
)
| # -*- coding: utf-8 -*-
import codecs
from setuptools import setup, find_packages
def parse_reqs(req_path='./requirements.txt'):
"""Recursively parse requirements from nested pip files."""
install_requires = []
with codecs.open(req_path, 'r') as handle:
# remove comments and empty lines
lines = (line.strip() for line in handle
if line.strip() and not line.startswith('#'))
for line in lines:
# check for nested requirements files
if line.startswith('-r'):
# recursively call this function
install_requires += parse_reqs(req_path=line[3:])
else:
# add the line as a new requirement
install_requires.append(line)
return install_requires
setup(
name='scout-browser',
version='2.1.1',
url='https://github.com/Clinical-Genomics/scout',
description='Clinical DNA variant visualizer and browser.',
author='Robin Andeer',
author_email='robin.andeer@gmail.com',
packages=find_packages(exclude=['tests/', 'scripts/']),
include_package_data=True,
zip_safe=False,
install_requires=parse_reqs(),
entry_points=dict(
console_scripts=[
'scout = scout.commands:cli',
]
),
test_suite='tests',
classifiers=[
'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'
]
)
| bsd-3-clause | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.