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 |
|---|---|---|---|---|---|---|---|---|
130c292393a0954b54d7389d6e92418575620e5c | Add more version | ligyxy/DictMySQL,ligyxy/DictMySQLdb | setup.py | setup.py | #!/usr/bin/python
# -*-coding:UTF-8 -*-
from setuptools import setup
from os import path
here = path.abspath(path.dirname(__file__))
setup(name='dictmysqldb',
version='0.3.5',
description='A mysql package on the top of MySQL-python for more convenient database manipulations with Python dictionary.',
author='Guangyang Li',
author_email='mail@guangyangli.com',
license='MIT',
py_modules=['dictmysqldb'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5'
],
keywords='mysql database',
download_url='https://github.com/ligyxy/DictMySQLdb',
extras_require={
':python_version=="2.7"': ["MySQL-python"],
':python_version=="3.5"': ["PyMySQL"],
':python_version=="3.4"': ["PyMySQL"],
':python_version=="3.3"': ["PyMySQL"]
}
)
| #!/usr/bin/python
# -*-coding:UTF-8 -*-
from setuptools import setup
from os import path
here = path.abspath(path.dirname(__file__))
setup(name='dictmysqldb',
version='0.3.5',
description='A mysql package on the top of MySQL-python for more convenient database manipulations with Python dictionary.',
author='Guangyang Li',
author_email='mail@guangyangli.com',
license='MIT',
py_modules=['dictmysqldb'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5'
],
keywords='mysql database',
download_url='https://github.com/ligyxy/DictMySQLdb',
extras_require={
':python_version<="2.7"': ["MySQL-python"],
':python_version>="3.2"': ["PyMySQL"]
}
)
| mit | Python |
c2820c4e0883f4639ea5974d7447acebb7874a7a | clarify setup.py | gautamk/oauthlib,armersong/oauthlib,Blitzen/oauthlib,mick88/oauthlib,masci/oauthlib,oauthlib/oauthlib,garciasolero/oauthlib,lepture/oauthlib,bjmc/oauthlib,flamusdiu/oauthlib,cyrilchaponeverysens/oauthlib,idan/oauthlib,hirokiky/oauthlib,metatoaster/oauthlib,lepture/oauthlib,singingwolfboy/oauthlib,masci/oauthlib,skion/oauthlib-oidc,flamusdiu/oauthlib,barseghyanartur/oauthlib | setup.py | setup.py | # -*- coding: utf-8 -*-
import os
from os.path import dirname, join
from setuptools import setup, find_packages, Command
# Hack because logging + setuptools sucks.
import multiprocessing
def fread(fn):
with open(join(dirname(__file__), fn), 'r') as f:
return f.read()
tests_require = ['nose', 'unittest2', 'pycrypto']
setup(
name = 'oauthlib',
version = '0.0.1',
description = 'Python implementation of OAuth 1.0a',
long_description = fread('README.rst'),
author = '',
author_email = '',
url = 'https://github.com/idangazit/oauthlib',
license = fread('LICENSE'),
packages = find_packages(exclude=('tests', 'docs')),
test_suite = 'nose.collector',
tests_require=tests_require,
extras_require={'test': tests_require},
)
| # -*- coding: utf-8 -*-
import os
from os.path import dirname, join
from setuptools import setup, find_packages, Command
# Hack because logging in setuptools sucks.
import multiprocessing
def fread(fn):
with open(join(dirname(__file__), fn), 'r') as f:
return f.read()
tests_require = ['nose', 'unittest2', 'pycrypto']
setup(
name = 'oauthlib',
version = '0.0.1',
description = 'Python implementation of OAuth 1.0a',
long_description = fread('README.rst'),
author = '',
author_email = '',
url = 'https://github.com/idangazit/oauthlib',
license = fread('LICENSE'),
packages = find_packages(exclude=('tests', 'docs')),
test_suite = 'nose.collector',
tests_require=tests_require,
extras_require={'test': tests_require},
)
| bsd-3-clause | Python |
2dca8cc33cded83f924191350ea23ba8f8c7f00b | bump version to 0.8.4 | markovianhq/bonspy | setup.py | setup.py | # -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='bonspy',
version='0.8.4',
description='Library that converts bidding trees to the AppNexus Bonsai language.',
author='Alexander Volkmann, Georg Walther',
author_email='contact@markovian.com',
packages=['bonspy'],
package_dir={'bonspy': 'bonspy'},
url='https://github.com/markovianhq/bonspy',
download_url='https://github.com/markovianhq/bonspy/tarball/master',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 2.7'
]
)
| # -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='bonspy',
version='0.8.3',
description='Library that converts bidding trees to the AppNexus Bonsai language.',
author='Alexander Volkmann, Georg Walther',
author_email='contact@markovian.com',
packages=['bonspy'],
package_dir={'bonspy': 'bonspy'},
url='https://github.com/markovianhq/bonspy',
download_url='https://github.com/markovianhq/bonspy/tarball/master',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 2.7'
]
)
| bsd-3-clause | Python |
7afa51f85870a8ef82ab5bbf6a0986f5da8dd3ac | add sqlalchemy-migrate dependency | PolyJIT/benchbuild,PolyJIT/benchbuild,PolyJIT/benchbuild,PolyJIT/benchbuild | setup.py | setup.py | #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(name='pprof',
version='0.9.9',
packages=find_packages(),
install_requires=["SQLAlchemy==1.0.4", "cloud==2.8.5", "plumbum>=1.5.0",
"regex==2015.5.28", "wheel==0.24.0", "parse==1.6.6",
"virtualenv==13.1.0", "sphinxcontrib-napoleon",
"psycopg2", "sqlalchemy-migrate"],
author="Andreas Simbuerger",
author_email="simbuerg@fim.uni-passau.de",
description="This is the experiment driver for the pprof study",
license="MIT",
entry_points={
'console_scripts': ['pprof=pprof.driver:main']
})
| #!/usr/bin/env python3
from setuptools import setup, find_packages
setup(name='pprof',
version='0.9.8',
packages=find_packages(),
install_requires=["SQLAlchemy==1.0.4", "cloud==2.8.5", "plumbum>=1.5.0",
"regex==2015.5.28", "wheel==0.24.0", "parse==1.6.6",
"virtualenv==13.1.0", "sphinxcontrib-napoleon",
"psycopg2"],
author="Andreas Simbuerger",
author_email="simbuerg@fim.uni-passau.de",
description="This is the experiment driver for the pprof study",
license="MIT",
entry_points={
'console_scripts': ['pprof=pprof.driver:main']
})
| mit | Python |
d4630f9694b54029ad77fd6a12538947b10cebb1 | Fix setup.py list | pennlabs/penn-sdk-python,pennlabs/penn-sdk-python | setup.py | setup.py | from setuptools import setup
setup(
name='PennSDK',
description='Python tools for building Penn-related applications',
url='https://github.com/pennlabs/penn-sdk-python',
author='Penn Labs',
author_email='admin@pennlabs.org',
version='1.3.1',
packages=['penn'],
license='MIT',
package_data={
# If any package contains *.txt or *.rst files, include them:
'': ['*.txt', '*.rst'],
},
long_description=open('./README.rst').read(),
install_requires=[
'nameparser==0.4.0',
'requests==2.4.3',
'beautifulsoup4==4.3.2',
'html5lib==0.999'
]
)
| from setuptools import setup
setup(
name='PennSDK',
description='Python tools for building Penn-related applications',
url='https://github.com/pennlabs/penn-sdk-python',
author='Penn Labs',
author_email='admin@pennlabs.org',
version='1.3.1',
packages=['penn'],
license='MIT',
package_data={
# If any package contains *.txt or *.rst files, include them:
'': ['*.txt', '*.rst'],
},
long_description=open('./README.rst').read(),
install_requires=[
'nameparser==0.4.0'
'requests==2.4.3',
'beautifulsoup4==4.3.2',
'html5lib==0.999'
]
)
| mit | Python |
45801657e72eb2191a594b79d4a6dc3d2cd2b9a9 | Bump version | thombashi/pathvalidate | setup.py | setup.py | import sys
import os.path
import setuptools
needs_pytest = set(['pytest', 'test', 'ptr']).intersection(sys.argv)
pytest_runner = ['pytest-runner'] if needs_pytest else []
REQUIREMENT_DIR = "requirements"
with open("README.rst") as fp:
long_description = fp.read()
with open(os.path.join("docs", "pages", "introduction", "summary.txt")) as f:
summary = f.read()
with open(os.path.join(REQUIREMENT_DIR, "requirements.txt")) as f:
install_requires = [line.strip() for line in f if line.strip()]
with open(os.path.join(REQUIREMENT_DIR, "test_requirements.txt")) as f:
tests_require = [line.strip() for line in f if line.strip()]
setuptools.setup(
name="pathvalidate",
version="0.7.1",
author="Tsuyoshi Hombashi",
author_email="gogogo.vm@gmail.com",
url="https://github.com/thombashi/pathvalidate",
keywords=["path", "validation", "validator", "sanitize"],
license="MIT License",
description=summary,
long_description=long_description,
include_package_data=True,
install_requires=install_requires,
packages=setuptools.find_packages(exclude=['test*']),
setup_requires=pytest_runner,
tests_require=tests_require,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)
| import sys
import os.path
import setuptools
needs_pytest = set(['pytest', 'test', 'ptr']).intersection(sys.argv)
pytest_runner = ['pytest-runner'] if needs_pytest else []
REQUIREMENT_DIR = "requirements"
with open("README.rst") as fp:
long_description = fp.read()
with open(os.path.join("docs", "pages", "introduction", "summary.txt")) as f:
summary = f.read()
with open(os.path.join(REQUIREMENT_DIR, "requirements.txt")) as f:
install_requires = [line.strip() for line in f if line.strip()]
with open(os.path.join(REQUIREMENT_DIR, "test_requirements.txt")) as f:
tests_require = [line.strip() for line in f if line.strip()]
setuptools.setup(
name="pathvalidate",
version="0.7.0",
author="Tsuyoshi Hombashi",
author_email="gogogo.vm@gmail.com",
url="https://github.com/thombashi/pathvalidate",
keywords=["path", "validation", "validator", "sanitize"],
license="MIT License",
description=summary,
long_description=long_description,
include_package_data=True,
install_requires=install_requires,
packages=setuptools.find_packages(exclude=['test*']),
setup_requires=pytest_runner,
tests_require=tests_require,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)
| mit | Python |
a02691e334f310d7576b1c27b791df8cdf65c093 | Increase version. | PyBossa/enki | setup.py | setup.py | # -*- encoding: utf8 -*-
from setuptools import setup, find_packages
setup(
name='enki',
version='1.0.2',
packages=find_packages(),
install_requires=['pybossa-client>=1.1.1, <1.1.2', 'pandas'],
# metadata for upload to PyPI
author='SciFabric LTD',
author_email='info@scifabric.com',
description='A Python library to analyze PyBossa application results',
long_description='''PyBossa is a crowdsourcing framework. This tiny library that allows you to analyze the results of a PyBossa aplication.''',
license='AGPLv3',
url='https://github.com/pybossa/enki',
download_url='https://github.com/PyBossa/enki/zipball/master',
include_package_data=True,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Scientific/Engineering'
],
entry_points=''''''
)
| # -*- encoding: utf8 -*-
from setuptools import setup, find_packages
setup(
name='enki',
version='1.0.1',
packages=find_packages(),
install_requires=['pybossa-client>=1.0.4, <1.0.5', 'pandas'],
# metadata for upload to PyPI
author='SciFabric LTD',
author_email='info@scifabric.com',
description='A Python library to analyze PyBossa application results',
long_description='''PyBossa is a crowdsourcing framework. This tiny library that allows you to analyze the results of a PyBossa aplication.''',
license='AGPLv3',
url='https://github.com/pybossa/enki',
download_url='https://github.com/PyBossa/enki/zipball/master',
include_package_data=True,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Scientific/Engineering'
],
entry_points=''''''
)
| agpl-3.0 | Python |
f6c090becb9206420356b115d634416616d9e1d7 | Fix install_requires | gamenet/redis-memory-analyzer | setup.py | setup.py | #!/usr/bin/env python
from rma import __version__
long_description = '''
RMA is a console tool to scan Redis key space in real time and aggregate memory usage statistic by key patterns. You may
use this tools without maintenance on production servers. You can scanning by all or selected Redis types such as "string",
"hash", "list", "set", "zset" and use matching pattern as you like. RMA try to discern key names by patterns, for example
if you have keys like 'user:100' and 'user:101' application would pick out common pattern 'user:*' in output so you can
analyze most memory distressed data in your instance.
'''
sdict = {
'name': 'rma',
'version': __version__,
'description': 'Utilities to profile Redis RAM usage',
'long_description': long_description,
'url': 'https://github.com/gamenet/redis-memory-analyzer',
'author': 'Nikolay Bondarenko',
'author_email': 'misterionkell@gmail.com',
'maintainer': 'Nikolay Bondarenko',
'maintainer_email': 'misterionkell@gmail.com',
'keywords': ['Redis', 'Memory Profiler'],
'license': 'MIT',
'packages': ['rma', 'rma.helpers', 'rma.reporters', 'rma.rule', 'rma.cli'],
'package_data': {'rma.cli': ['*.template']},
'test_suite': 'tests.all_tests',
'entry_points': {
'console_scripts': [
'rma = rma.cli.rma_cli:main',
],
},
'classifiers': [
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python'
],
}
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(**sdict, install_requires=['redis', 'tabulate', 'tqdm', 'msgpack-python'])
| #!/usr/bin/env python
import uuid
from rma import __version__
from pip.req import parse_requirements
long_description = '''
RMA is a console tool to scan Redis key space in real time and aggregate memory usage statistic by key patterns. You may
use this tools without maintenance on production servers. You can scanning by all or selected Redis types such as "string",
"hash", "list", "set", "zset" and use matching pattern as you like. RMA try to discern key names by patterns, for example
if you have keys like 'user:100' and 'user:101' application would pick out common pattern 'user:*' in output so you can
analyze most memory distressed data in your instance.
'''
sdict = {
'name': 'rma',
'version': __version__,
'description': 'Utilities to profile Redis RAM usage',
'long_description': long_description,
'url': 'https://github.com/gamenet/redis-memory-analyzer',
'author': 'Nikolay Bondarenko',
'author_email': 'misterionkell@gmail.com',
'maintainer': 'Nikolay Bondarenko',
'maintainer_email': 'misterionkell@gmail.com',
'keywords': ['Redis', 'Memory Profiler'],
'license': 'MIT',
'packages': ['rma', 'rma.helpers', 'rma.reporters', 'rma.rule', 'rma.cli'],
'package_data': {'rma.cli': ['*.template']},
'test_suite': 'tests.all_tests',
'entry_points': {
'console_scripts': [
'rma = rma.cli.rma_cli:main',
],
},
'classifiers': [
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python'
],
}
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())
reqs = [str(req.req) for req in install_reqs]
setup(**sdict, install_requires=reqs)
| mit | Python |
f0d033f4dc0bd0d786fc5711257d881e2bb88255 | Remove an invalid trove classifier. | dgladkov/django-nose,daineX/django-nose,mzdaniel/django-nose,millerdev/django-nose,aristiden7o/django-nose,Deepomatic/django-nose,franciscoruiz/django-nose,harukaeru/django-nose,Deepomatic/django-nose,360youlun/django-nose,dgladkov/django-nose,sociateru/django-nose,franciscoruiz/django-nose,fabiosantoscode/django-nose-123-fix,360youlun/django-nose,sociateru/django-nose,alexhayes/django-nose,aristiden7o/django-nose,mzdaniel/django-nose,daineX/django-nose,krinart/django-nose,millerdev/django-nose,krinart/django-nose,brilliant-org/django-nose,brilliant-org/django-nose,alexhayes/django-nose,harukaeru/django-nose,fabiosantoscode/django-nose-123-fix | setup.py | setup.py | import os
from setuptools import setup, find_packages
ROOT = os.path.abspath(os.path.dirname(__file__))
setup(
name='django-nose',
version='1.0',
description='Django test runner that uses nose',
long_description=open(os.path.join(ROOT, 'README.rst')).read(),
author='Jeff Balogh',
author_email='me@jeffbalogh.org',
maintainer='Erik Rose',
maintainer_email='erikrose@grinchcentral.com',
url='http://github.com/jbalogh/django-nose',
license='BSD',
packages=find_packages(exclude=['testapp','testapp/*']),
include_package_data=True,
zip_safe=False,
install_requires=['nose>=1.0', 'Django>=1.2'],
tests_require=['south>=0.7'],
# This blows up tox runs that install django-nose into a virtualenv,
# because it causes Nose to import django_nose.runner before the Django
# settings are initialized, leading to a mess of errors. There's no reason
# we need FixtureBundlingPlugin declared as an entrypoint anyway, since you
# need to be using django-nose to find the it useful, and django-nose knows
# about it intrinsically.
#entry_points="""
# [nose.plugins.0.10]
# fixture_bundler = django_nose.fixture_bundling:FixtureBundlingPlugin
# """,
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',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Testing'
]
)
| import os
from setuptools import setup, find_packages
ROOT = os.path.abspath(os.path.dirname(__file__))
setup(
name='django-nose',
version='1.0',
description='Django test runner that uses nose',
long_description=open(os.path.join(ROOT, 'README.rst')).read(),
author='Jeff Balogh',
author_email='me@jeffbalogh.org',
maintainer='Erik Rose',
maintainer_email='erikrose@grinchcentral.com',
url='http://github.com/jbalogh/django-nose',
license='BSD',
packages=find_packages(exclude=['testapp','testapp/*']),
include_package_data=True,
zip_safe=False,
install_requires=['nose>=1.0', 'Django>=1.2'],
tests_require=['south>=0.7'],
# This blows up tox runs that install django-nose into a virtualenv,
# because it causes Nose to import django_nose.runner before the Django
# settings are initialized, leading to a mess of errors. There's no reason
# we need FixtureBundlingPlugin declared as an entrypoint anyway, since you
# need to be using django-nose to find the it useful, and django-nose knows
# about it intrinsically.
#entry_points="""
# [nose.plugins.0.10]
# fixture_bundler = django_nose.fixture_bundling:FixtureBundlingPlugin
# """,
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',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Testing'
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
| bsd-3-clause | Python |
86a35469dd474d09457d31fe6b74a2904e0a8091 | Revert "Updated the boto requirement to 2.8.0" | gtaylor/django-dynamodb-sessions | setup.py | setup.py | from setuptools import setup, find_packages
import dynamodb_sessions
long_description = open('README.rst').read()
major_ver, minor_ver = dynamodb_sessions.__version__
version_str = '%d.%d' % (major_ver, minor_ver)
setup(
name='django-dynamodb-sessions',
version=version_str,
packages=find_packages(),
description="A Django session backend using Amazon's DynamoDB",
long_description=long_description,
author='Gregory Taylor',
author_email='gtaylor@gc-taylor.com',
license='BSD License',
url='https://github.com/gtaylor/django-dynamodb-sessions',
platforms=["any"],
install_requires=['django', "boto>=2.2.2"],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Environment :: Web Environment',
],
)
| from setuptools import setup, find_packages
import dynamodb_sessions
long_description = open('README.rst').read()
major_ver, minor_ver = dynamodb_sessions.__version__
version_str = '%d.%d' % (major_ver, minor_ver)
setup(
name='django-dynamodb-sessions',
version=version_str,
packages=find_packages(),
description="A Django session backend using Amazon's DynamoDB",
long_description=long_description,
author='Gregory Taylor',
author_email='gtaylor@gc-taylor.com',
license='BSD License',
url='https://github.com/gtaylor/django-dynamodb-sessions',
platforms=["any"],
install_requires=['django', "boto>=2.8.0"],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Environment :: Web Environment',
],
)
| bsd-3-clause | Python |
0f0a2cec4d7cbf7843286d34ad8da5f62cdd3a65 | Bump version to 0.8.6 | thombashi/subprocrunner,thombashi/subprocrunner | setup.py | setup.py | # encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
"""
from __future__ import unicode_literals
import os.path
import sys
import setuptools
REQUIREMENT_DIR = "requirements"
with open("README.rst") as fp:
long_description = fp.read()
with open(os.path.join(REQUIREMENT_DIR, "requirements.txt")) as f:
install_requires = [line.strip() for line in f if line.strip()]
with open(os.path.join(REQUIREMENT_DIR, "test_requirements.txt")) as f:
tests_requires = [line.strip() for line in f if line.strip()]
with open(os.path.join(REQUIREMENT_DIR, "docs_requirements.txt")) as f:
docs_requires = [line.strip() for line in f if line.strip()]
MODULE_NAME = "subprocrunner"
needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv)
pytest_runner = ["pytest-runner"] if needs_pytest else []
setuptools.setup(
name=MODULE_NAME,
version="0.8.6",
url="https://github.com/thombashi/{:s}".format(MODULE_NAME),
author="Tsuyoshi Hombashi",
author_email="tsuyoshi.hombashi@gmail.com",
description="A Python wrapper library for subprocess module.",
include_package_data=True,
keywords=["library", "subprocess"],
license="MIT License",
long_description=long_description,
packages=setuptools.find_packages(exclude=['test*']),
install_requires=install_requires,
setup_requires=pytest_runner,
tests_require=tests_requires,
extras_require={
"test": tests_requires,
"docs": docs_requires,
},
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
])
| # encoding: utf-8
"""
.. codeauthor:: Tsuyoshi Hombashi <tsuyoshi.hombashi@gmail.com>
"""
from __future__ import unicode_literals
import os.path
import sys
import setuptools
REQUIREMENT_DIR = "requirements"
with open("README.rst") as fp:
long_description = fp.read()
with open(os.path.join(REQUIREMENT_DIR, "requirements.txt")) as f:
install_requires = [line.strip() for line in f if line.strip()]
with open(os.path.join(REQUIREMENT_DIR, "test_requirements.txt")) as f:
tests_requires = [line.strip() for line in f if line.strip()]
with open(os.path.join(REQUIREMENT_DIR, "docs_requirements.txt")) as f:
docs_requires = [line.strip() for line in f if line.strip()]
MODULE_NAME = "subprocrunner"
needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv)
pytest_runner = ["pytest-runner"] if needs_pytest else []
setuptools.setup(
name=MODULE_NAME,
version="0.8.5",
url="https://github.com/thombashi/{:s}".format(MODULE_NAME),
author="Tsuyoshi Hombashi",
author_email="tsuyoshi.hombashi@gmail.com",
description="A Python wrapper library for subprocess module.",
include_package_data=True,
keywords=["library", "subprocess"],
license="MIT License",
long_description=long_description,
packages=setuptools.find_packages(exclude=['test*']),
install_requires=install_requires,
setup_requires=pytest_runner,
tests_require=tests_requires,
extras_require={
"test": tests_requires,
"docs": docs_requires,
},
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
])
| mit | Python |
58df24a4de8a1ab9924683eada9b10f17229aaea | Bump version to 1.1.1 | mwilliamson/python-mammoth | setup.py | setup.py | #!/usr/bin/env python
import os
import sys
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
_install_requires = [
"parsimonious>=0.5,<0.6",
"cobble>=0.1.1,<0.2",
]
if sys.version_info[:2] <= (2, 6):
_install_requires.append("argparse>=1.1,<2.0")
setup(
name='mammoth',
version='1.1.1',
description='Convert Word documents from docx to simple and clean HTML and Markdown',
long_description=read("README"),
author='Michael Williamson',
author_email='mike@zwobble.org',
url='http://github.com/mwilliamson/python-mammoth',
packages=['mammoth', 'mammoth.docx', 'mammoth.html', 'mammoth.style_reader', 'mammoth.writers'],
entry_points={
"console_scripts": [
"mammoth=mammoth.cli:main"
]
},
keywords="docx word office clean html markdown md",
install_requires=_install_requires,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'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.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
| #!/usr/bin/env python
import os
import sys
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
_install_requires = [
"parsimonious>=0.5,<0.6",
"cobble>=0.1.1,<0.2",
]
if sys.version_info[:2] <= (2, 6):
_install_requires.append("argparse>=1.1,<2.0")
setup(
name='mammoth',
version='1.1.0',
description='Convert Word documents from docx to simple and clean HTML and Markdown',
long_description=read("README"),
author='Michael Williamson',
author_email='mike@zwobble.org',
url='http://github.com/mwilliamson/python-mammoth',
packages=['mammoth', 'mammoth.docx', 'mammoth.html', 'mammoth.style_reader', 'mammoth.writers'],
entry_points={
"console_scripts": [
"mammoth=mammoth.cli:main"
]
},
keywords="docx word office clean html markdown md",
install_requires=_install_requires,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'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.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
| bsd-2-clause | Python |
15a88c418647beff6e061a8e4f2304d6f5725183 | Fix code not working with Python 2.7 | erocarrera/pydot,pydot/pydot | setup.py | setup.py | #!/usr/bin/env python
"""Installation script."""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import ast
import codecs
import os
import re
CURRENT_DIR = os.path.dirname(__file__)
def get_long_description():
readme_path = os.path.join(CURRENT_DIR, "README.md")
with codecs.open(readme_path, encoding="utf8") as ld_file:
return ld_file.read()
def get_version():
pydot_py = os.path.join(CURRENT_DIR, 'pydot.py')
_version_re = re.compile(r'__version__\s+=\s+(?P<version>.*)')
with codecs.open(pydot_py, 'r', encoding='utf8') as f:
match = _version_re.search(f.read())
version = match.group('version') if match is not None else '"unknown"'
return str(ast.literal_eval(version))
setup(
name='pydot',
version=get_version(),
description="Python interface to Graphviz's Dot",
author='Ero Carrera',
author_email='ero@dkbza.org',
maintainer='Sebastian Kalinowski',
maintainer_email='sebastian@kalinowski.eu',
url='https://github.com/pydot/pydot',
license='MIT',
keywords='graphviz dot graphs visualization',
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Software Development :: Libraries :: Python Modules'],
long_description=get_long_description(),
long_description_content_type="text/markdown",
py_modules=['pydot', 'dot_parser'],
install_requires=['pyparsing>=2.1.4'],
tests_require=['chardet'])
| #!/usr/bin/env python
"""Installation script."""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import ast
import codecs
import os
import re
CURRENT_DIR = os.path.dirname(__file__)
def get_long_description() -> str:
readme_path = os.path.join(CURRENT_DIR, "README.md")
with codecs.open(readme_path, encoding="utf8") as ld_file:
return ld_file.read()
def get_version():
pydot_py = os.path.join(CURRENT_DIR, 'pydot.py')
_version_re = re.compile(r'__version__\s+=\s+(?P<version>.*)')
with open(pydot_py, 'r', encoding='utf8') as f:
match = _version_re.search(f.read())
version = match.group('version') if match is not None else '"unknown"'
return str(ast.literal_eval(version))
setup(
name='pydot',
version=get_version(),
description="Python interface to Graphviz's Dot",
author='Ero Carrera',
author_email='ero@dkbza.org',
maintainer='Sebastian Kalinowski',
maintainer_email='sebastian@kalinowski.eu',
url='https://github.com/pydot/pydot',
license='MIT',
keywords='graphviz dot graphs visualization',
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Scientific/Engineering :: Visualization',
'Topic :: Software Development :: Libraries :: Python Modules'],
long_description=get_long_description(),
long_description_content_type="text/markdown",
py_modules=['pydot', 'dot_parser'],
install_requires=['pyparsing>=2.1.4'],
tests_require=['chardet'])
| mit | Python |
98f48e0e19b602415d7d4cab3d71239bbbeb6205 | Bump version | Artanicus/python-cozify,Artanicus/python-cozify | setup.py | setup.py | from distutils.core import setup
with open('README.md') as file:
long_description = file.read()
setup(name='cozify',
version = '0.2.2',
author = 'artanicus',
author_email = 'python-cozify@nocturnal.fi',
url = 'https://github.com/Artanicus/python-cozify',
description = 'Unofficial Python bindings and helpers for the unpublished Cozify API.',
long_description = long_description,
license = 'MIT',
packages = ['cozify'],
classifiers = [
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"License :: OSI Approved :: MIT License",
]
)
| from distutils.core import setup
with open('README.md') as file:
long_description = file.read()
setup(name='cozify',
version = '0.2.1',
author = 'artanicus',
author_email = 'python-cozify@nocturnal.fi',
url = 'https://github.com/Artanicus/python-cozify',
description = 'Unofficial Python bindings and helpers for the unpublished Cozify API.',
long_description = long_description,
license = 'MIT',
packages = ['cozify'],
classifiers = [
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"License :: OSI Approved :: MIT License",
]
)
| mit | Python |
b4e6965be58efc3fb3df1b05bf3e3b689c32ca2d | Bump absl-py version to 0.1.11. | abseil/abseil-py,abseil/abseil-py | setup.py | setup.py | # Copyright 2017 The Abseil Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Abseil setup configuration."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import platform
try:
import setuptools
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
import setuptools
py_version = platform.python_version_tuple()
if py_version < ('2', '7') or py_version[0] == '3' and py_version < ('3', '4'):
raise RuntimeError('Python version 2.7 or 3.4+ is required.')
setuptools.setup(
name='absl-py',
version='0.1.11',
description=(
'Abseil Python Common Libraries, '
'see https://github.com/abseil/abseil-py.'),
author='The Abseil Authors',
url='https://github.com/abseil/abseil-py',
packages=setuptools.find_packages(exclude=[
'*.tests', '*.tests.*', 'tests.*', 'tests',
]),
install_requires=[
'six',
],
license='Apache 2.0',
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
],
)
| # Copyright 2017 The Abseil Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Abseil setup configuration."""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
import platform
try:
import setuptools
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
import setuptools
py_version = platform.python_version_tuple()
if py_version < ('2', '7') or py_version[0] == '3' and py_version < ('3', '4'):
raise RuntimeError('Python version 2.7 or 3.4+ is required.')
setuptools.setup(
name='absl-py',
version='0.1.10',
description=(
'Abseil Python Common Libraries, '
'see https://github.com/abseil/abseil-py.'),
author='The Abseil Authors',
url='https://github.com/abseil/abseil-py',
packages=setuptools.find_packages(exclude=[
'*.tests', '*.tests.*', 'tests.*', 'tests',
]),
install_requires=[
'six',
],
license='Apache 2.0',
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
],
)
| apache-2.0 | Python |
9a340b79d0ecddfcb43336be83406b43169d8650 | bump version | nlsdfnbch/bitex-crawler,nlsdfnbch/bitex | setup.py | setup.py | from distutils.core import setup
setup(name='BitEx', version='1.2.12python', author='Nils Diefenbach',
author_email='23okrs20+pypi@mykolab.com',
url="https://github.com/nlsdfnbch/bitex.git",
packages=['bitex', 'bitex.api', 'bitex.api.WSS', 'bitex.api.REST',
'bitex.interfaces', 'bitex.formatters'],
install_requires=['requests', 'websocket-client', 'autobahn',
'pusherclient'],
description='Python3-based API Framework for Crypto Exchanges',
license='MIT', classifiers=['Development Status :: 4 - Beta',
'Intended Audience :: Developers'],
)
| from distutils.core import setup
setup(name='BitEx', version='1.2.11', author='Nils Diefenbach',
author_email='23okrs20+pypi@mykolab.com',
url="https://github.com/nlsdfnbch/bitex.git",
packages=['bitex', 'bitex.api', 'bitex.api.WSS', 'bitex.api.REST',
'bitex.interfaces', 'bitex.formatters'],
install_requires=['requests', 'websocket-client', 'autobahn',
'pusherclient'],
description='Python3-based API Framework for Crypto Exchanges',
license='MIT', classifiers=['Development Status :: 4 - Beta',
'Intended Audience :: Developers'],
)
| mit | Python |
b2cd3b9543b65af8adad2973c09b709f559b7ffa | Move nose to tests_requires | thedrow/pymemcache,adamchainz/pymemcache,pinterest/pymemcache,bwalks/pymemcache,methane/pymemcache,mbrukman/pymemcache,sontek/pymemcache,dive-tv/pyelasticache_client,ewdurbin/pymemcache,sontek/pymemcache,pinterest/pymemcache,harlowja/pymemcache,duanhongyi/pymemcache | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
from pymemcache import __version__
setup(
name = 'pymemcache',
version = __version__,
author = 'Charles Gordon',
author_email = 'charles@pinterest.com',
packages = find_packages(),
tests_requires = ['nose>=1.0'],
install_requires = ['six'],
description = 'A comprehensive, fast, pure Python memcached client',
long_description = open('README.md').read(),
license = 'Apache License 2.0',
url = 'https://github.com/Pinterest/pymemcache',
classifiers = [
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'License :: OSI Approved :: Apache Software License',
'Topic :: Database',
],
)
| #!/usr/bin/env python
from setuptools import setup, find_packages
from pymemcache import __version__
setup(
name = 'pymemcache',
version = __version__,
author = 'Charles Gordon',
author_email = 'charles@pinterest.com',
packages = find_packages(),
setup_requires = ['nose>=1.0'],
install_requires = ['six'],
description = 'A comprehensive, fast, pure Python memcached client',
long_description = open('README.md').read(),
license = 'Apache License 2.0',
url = 'https://github.com/Pinterest/pymemcache',
classifiers = [
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'License :: OSI Approved :: Apache Software License',
'Topic :: Database',
],
)
| apache-2.0 | Python |
b908cb4ac5523e237f1ffe4e01abe46b3c48fc5c | remove dependency that is specified in django-councilmatic-notifications | datamade/django-councilmatic,datamade/django-councilmatic,datamade/django-councilmatic,datamade/django-councilmatic | setup.py | setup.py | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-councilmatic',
version='0.7.6',
packages=['councilmatic_core'],
include_package_data=True,
license='MIT License', # example license
description='Core functions for councilmatic.org family',
long_description=README,
url='http://councilmatic.org/',
author='DataMade, LLC',
author_email='info@datamade.us',
install_requires=['requests==2.7.0',
'pytz==2015.4',
'django-haystack==2.5.0',
'Django<1.10',
'pysolr==3.3.3',
'python-dateutil==2.4.2',
'SQLAlchemy==1.1.2',
'psycopg2==2.6.2',
'django-password-reset==0.9',
'django-councilmatic-notifications<0.2',
'django-adv-cache-tag'],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License', # example license
'Operating System :: OS Independent',
'Programming Language :: Python',
# Replace these appropriately if you are stuck on Python 2.
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
| import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-councilmatic',
version='0.7.6',
packages=['councilmatic_core'],
include_package_data=True,
license='MIT License', # example license
description='Core functions for councilmatic.org family',
long_description=README,
url='http://councilmatic.org/',
author='DataMade, LLC',
author_email='info@datamade.us',
install_requires=['requests==2.7.0',
'pytz==2015.4',
'django-haystack==2.5.0',
'Django<1.10',
'pysolr==3.3.3',
'python-dateutil==2.4.2',
'SQLAlchemy==1.1.2',
'psycopg2==2.6.2',
'django_rq',
'django-password-reset==0.9',
'django-councilmatic-notifications<0.2',
'django-adv-cache-tag'],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License', # example license
'Operating System :: OS Independent',
'Programming Language :: Python',
# Replace these appropriately if you are stuck on Python 2.
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
| mit | Python |
618a2b1a337841c01bec0ae54d1588873df34fd1 | Add long description | jcrobak/parquet-python | setup.py | setup.py | """setup.py - build script for parquet-python."""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as f:
readme = f.read()
setup(
name='parquet',
version='1.3',
description='Python support for Parquet file format',
long_description_content_type="text/x-rst",
long_description=readme,
author='Joe Crobak',
author_email='joecrow@gmail.com',
url='https://github.com/jcrobak/parquet-python',
license='Apache License 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
packages=['parquet'],
install_requires=[
'thriftpy2',
],
extras_require={
':python_version=="2.7"': [
"backports.csv",
],
'snappy': [
'python-snappy',
],
},
entry_points={
'console_scripts': [
'parquet = parquet.__main__:main',
]
},
package_data={'parquet': ['*.thrift']},
include_package_data=True,
)
| """setup.py - build script for parquet-python."""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='parquet',
version='1.3',
description='Python support for Parquet file format',
author='Joe Crobak',
author_email='joecrow@gmail.com',
url='https://github.com/jcrobak/parquet-python',
license='Apache License 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
packages=['parquet'],
install_requires=[
'thriftpy2',
],
extras_require={
':python_version=="2.7"': [
"backports.csv",
],
'snappy': [
'python-snappy',
],
},
entry_points={
'console_scripts': [
'parquet = parquet.__main__:main',
]
},
package_data={'parquet': ['*.thrift']},
include_package_data=True,
)
| apache-2.0 | Python |
43c2c22f57380e8abbf34d62045304134ac46725 | Fix small mistake in setup file | ExcaliburZero/javalikescanner | setup.py | setup.py | """The script which is used when packaging the library."""
from setuptools import setup
setup( \
name='javalikescanner',
version='0.1',
description='A Python library which includes a class which functions' + \
' simmilarly to the default Scanner class of Java.',
long_description=open('README.rst').read(),
url='https://github.com/ExcaliburZero/javalikescanner',
author='Christopher Randall Wells',
author_email='cwellsny@nycap.rr.com',
license='MIT',
packages=['javalikescanner'],
install_requires=[
'numpy',
],
include_package_data=True,
package_data={
'': 'LICENSE'
},
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Operating System :: OS Independent',
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
| """The script which is used when packaging the library."""
from setuptools import setup
setup( \
name='javalikescanner',
version='0.1',
description='A Python library which includes a class which functions' + \
'simmilarly to the default Scanner class of Java.',
long_description=open('README.rst').read(),
url='https://github.com/ExcaliburZero/javalikescanner',
author='Christopher Randall Wells',
author_email='cwellsny@nycap.rr.com',
license='MIT',
packages=['javalikescanner'],
install_requires=[
'numpy',
],
include_package_data=True,
package_data={
'': 'LICENSE'
},
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Operating System :: OS Independent',
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
| mit | Python |
1e2bf287a5e71281b7a8161881f7df54b1c63aab | Stop supporting python 2 | albertyw/itolapi | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from codecs import open
from os import path
# Get the long description from the README file
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
about = {}
with open(path.join(here, 'itolapi', '__version__.py')) as f:
exec(f.read(), about)
setup(name='itolapi',
version=about['__version__'],
description='API for interacting with itol.embl.de',
long_description=long_description,
url='https://github.com/albertyw/itolapi',
author='Albert Wang',
author_email='git@albertyw.com',
license='MIT',
packages=find_packages(exclude=['tests']),
install_requires=[
'requests>=2.0,<3.0',
],
scripts=['itolapi/itol.py', 'itolapi/itolexport.py'],
test_suite="itolapi.tests",
tests_require=[
'mock>=3.0.0,<4.0.0',
'codecov>=2.0.9,<3.0.0',
'coverage>=4.5.0,<5.0.0',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Scientific/Engineering :: Bio-Informatics',
],
keywords='tree life compbio biology bioinformatics',
)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
from codecs import open
from os import path
# Get the long description from the README file
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
about = {}
with open(path.join(here, 'itolapi', '__version__.py')) as f:
exec(f.read(), about)
setup(name='itolapi',
version=about['__version__'],
description='API for interacting with itol.embl.de',
long_description=long_description,
url='https://github.com/albertyw/itolapi',
author='Albert Wang',
author_email='git@albertyw.com',
license='MIT',
packages=find_packages(exclude=['tests']),
install_requires=[
'requests>=2.0,<3.0',
],
scripts=['itolapi/itol.py', 'itolapi/itolexport.py'],
test_suite="itolapi.tests",
tests_require=[
'mock>=3.0.0,<4.0.0',
'codecov>=2.0.9,<3.0.0',
'coverage>=4.5.0,<5.0.0',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Scientific/Engineering :: Bio-Informatics',
],
keywords='tree life compbio biology bioinformatics',
)
| mit | Python |
c34a27ebd05205007ba38b1bd54d10614a37166f | bump version | innoteq/python-mpns,max-arnold/python-mpns | setup.py | setup.py | #!/usr/bin/env python
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
__author__ = 'Max Arnold <arnold.maxim@gmail.com>'
__version__ = '0.1.1'
setup(
name='python-mpns',
version=__version__,
# Package dependencies.
install_requires=['requests==1.1.0'],
# Metadata for PyPI.
author='Max Arnold',
author_email='arnold.maxim@gmail.com',
license='BSD',
url='http://github.com/max-arnold/python-mpns',
keywords='mobile push notification microsoft mpns windows phone',
description='Python module for Microsoft Push Notification Service (MPNS) for Windows Phone',
long_description=open(os.path.abspath(os.path.join(os.path.dirname(__file__), 'README.md')), 'rb').read(),
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Communications :: Telephony',
'Topic :: Internet'
],
packages=['mpns'],
platforms='any',
)
| #!/usr/bin/env python
import os
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
__author__ = 'Max Arnold <arnold.maxim@gmail.com>'
__version__ = '0.1'
setup(
name='python-mpns',
version=__version__,
# Package dependencies.
install_requires=['requests==1.1.0'],
# Metadata for PyPI.
author='Max Arnold',
author_email='arnold.maxim@gmail.com',
license='BSD',
url='http://github.com/max-arnold/python-mpns',
keywords='mobile push notification microsoft mpns windows phone',
description='Python module for Microsoft Push Notification Service (MPNS) for Windows Phone',
long_description=open(os.path.abspath(os.path.join(os.path.dirname(__file__), 'README.md')), 'rb').read(),
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Communications :: Telephony',
'Topic :: Internet'
],
packages=['mpns'],
platforms='any',
)
| bsd-3-clause | Python |
71030916095da5ea4d652de78a0d383e1400ef2e | Bump version number to 0.4.0 | bdarnell/plop,bdarnell/plop,bdarnell/plop,bdarnell/plop,bdarnell/plop | setup.py | setup.py | from setuptools import setup
setup(
name="plop",
version="0.4.0",
packages=["plop", "plop.test"],
package_data={
"plop": [
"templates/index.html",
"templates/force.html",
"templates/force-flat.html",
"static/force.js",
"static/styles.css",
]
},
author="Ben Darnell",
url="https://github.com/bdarnell/plop",
install_requires=["tornado", "six"],
)
| from setuptools import setup
setup(
name="plop",
version="0.3.0",
packages=["plop", "plop.test"],
package_data={
"plop": [
"templates/index.html",
"templates/force.html",
"templates/force-flat.html",
"static/force.js",
"static/styles.css"
],
},
author="Ben Darnell",
url="https://github.com/bdarnell/plop",
install_requires=[
'tornado',
'six',
],
)
| mit | Python |
063b90ae2a63d659ab942f6c71a23ab3e03e5788 | Add download ulr | MaxNoe/python-ev3,topikachu/python-ev3,evz/python-ev3,evz/python-ev3,topikachu/python-ev3,MaxNoe/python-ev3 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(name='python-ev3',
version='0.0.1',
license='Apache License 2.0',
description='Python library of ev3dev firmware',
author='Gong Yi',
author_email='topikachu@163.com',
url='https://github.com/topikachu/python-ev3',
packages=['ev3'],
download_url="https://github.com/topikachu/python-ev3/releases/download/0.01/python_ev3-0.0.1-py2.7.egg"
) | #!/usr/bin/env python
from setuptools import setup
setup(name='python-ev3',
version='0.0.1',
license='Apache License 2.0',
description='Python library of ev3dev firmware',
author='Gong Yi',
author_email='topikachu@163.com',
url='https://github.com/topikachu/python-ev3',
packages=['ev3'],
) | apache-2.0 | Python |
d0b4737f3895c0d172ad7dc6ef6de12b5c0b2f54 | Bump to version 17.12.2 | whitesource/python-plugin | setup.py | setup.py | from setuptools import setup
setup(
name='wss_plugin',
version='17.12.2',
description='Wss python pluging for creating/updating wss organization inventory',
author='Yossi Weinberg',
author_email='yossi.weinberg@whitesourcesoftware.com',
install_requires=["requests == 2.13.0", "enum34 == 1.1.6", "jsonpickle == 0.9.4"],
packages=['plugin', 'agent', 'agent.client', 'agent.api', 'agent.api.dispatch', 'agent.api.model'],
include_package_data=True,
license="Apache 2.0"
)
| from setuptools import setup
setup(
name='wss_plugin',
version='1.1.4',
description='Wss python pluging for creating/updating wss organization inventory',
author='Yossi Weinberg',
author_email='yossi.weinberg@whitesourcesoftware.com',
install_requires=["requests == 2.13.0", "enum34 == 1.1.6", "jsonpickle == 0.9.4"],
packages=['plugin', 'agent', 'agent.client', 'agent.api', 'agent.api.dispatch', 'agent.api.model'],
include_package_data=True,
license="Apache 2.0"
)
| apache-2.0 | Python |
ec83be31bd20e880a795f25ffc0f6d1b24d9a8d7 | Prepare 0.0.2.8 release | evz/python-ev3,MaxNoe/python-ev3,topikachu/python-ev3,topikachu/python-ev3,evz/python-ev3,MaxNoe/python-ev3 | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(name='python-ev3',
version='0.0.2.8',
license='Apache License 2.0',
description='Python library of ev3dev firmware',
author='Gong Yi',
author_email='topikachu@163.com',
url='https://github.com/topikachu/python-ev3',
packages=['ev3'],
download_url="https://github.com/topikachu/python-ev3/releases/tag/0.0.2.8"
)
| #!/usr/bin/env python
from setuptools import setup
setup(name='python-ev3',
version='0.0.2.7',
license='Apache License 2.0',
description='Python library of ev3dev firmware',
author='Gong Yi',
author_email='topikachu@163.com',
url='https://github.com/topikachu/python-ev3',
packages=['ev3'],
download_url="https://github.com/topikachu/python-ev3/releases/tag/0.0.2.7"
)
| apache-2.0 | Python |
7753d58c28077a14f8ab2e34e8456c4ede81fefb | Add flask-accept 0.0.6 dep | lsst-sqre/ltd-keeper,lsst-sqre/ltd-keeper | setup.py | setup.py | import os
from setuptools import setup, find_packages
def read_file(filename):
"""Read a file in the package."""
full_filename = os.path.join(
os.path.abspath(os.path.dirname(__file__)),
filename)
with open(full_filename) as f:
content = f.read()
return content
name = 'lsst-the-docs-keeper'
description = 'LSST the Docs API server'
long_description = read_file('README.rst')
url = 'https://ltd-keeper.lsst.io'
author = 'Association of Universities for Research in Astronomy, Inc.'
author_email = 'jsick@lsst.org'
license = 'MIT'
classifiers = [
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 3.6',
'License :: OSI Approved :: MIT License',
'Framework :: Flask',
'Intended Audience :: Science/Research',
'Topic :: Documentation',
],
keywords = 'lsst lsst-the-docs'
# Setup-time requirements
setup_requires = [
'setuptools_scm==1.15.6',
'pytest-runner==5.1',
]
# Installation (application runtime) requirements
install_requires = [
'Flask==1.0.3',
'uWSGI==2.0.18',
'Flask-SQLAlchemy==2.4.0',
'SQLAlchemy==1.3.4',
'PyMySQL==0.9.3',
'Flask-HTTPAuth==3.3.0',
'Flask-Migrate==2.5.2',
'flask-accept==0.0.6',
'python-dateutil==2.4.2',
'boto3==1.9.168',
'requests==2.22.0',
'structlog==17.2.0',
'celery[redis]==4.2.0'
]
# Test dependencies
tests_require = [
'pytest==3.6.3',
'pytest-cov==2.7.1',
'pytest-flake8==1.0.4',
'responses==0.10.6',
'pytest-mock==1.10.4',
'mock==3.0.5',
]
# Sphinx documentation requirements
docs_require = [
'Sphinx==1.5.1',
'sphinx-rtd-theme==0.1.9',
'numpydoc==0.5',
'sphinxcontrib-httpdomain==1.4.0',
]
# Optional installation dependencies
extras_require = {
# Recommended extra for development
'dev': ['httpie', 'flower==0.9.2'] + docs_require + tests_require
}
setup(
name=name,
description=description,
long_description=long_description,
url=url,
author=author,
author_email=author_email,
license=license,
classifiers=classifiers,
keywords=keywords,
packages=find_packages(exclude=('tests',)),
use_scm_version=True,
setup_requires=setup_requires,
tests_require=tests_require,
install_requires=install_requires,
extras_require=extras_require
)
| import os
from setuptools import setup, find_packages
def read_file(filename):
"""Read a file in the package."""
full_filename = os.path.join(
os.path.abspath(os.path.dirname(__file__)),
filename)
with open(full_filename) as f:
content = f.read()
return content
name = 'lsst-the-docs-keeper'
description = 'LSST the Docs API server'
long_description = read_file('README.rst')
url = 'https://ltd-keeper.lsst.io'
author = 'Association of Universities for Research in Astronomy, Inc.'
author_email = 'jsick@lsst.org'
license = 'MIT'
classifiers = [
'Development Status :: 5 - Production/Stable',
'Programming Language :: Python :: 3.6',
'License :: OSI Approved :: MIT License',
'Framework :: Flask',
'Intended Audience :: Science/Research',
'Topic :: Documentation',
],
keywords = 'lsst lsst-the-docs'
# Setup-time requirements
setup_requires = [
'setuptools_scm==1.15.6',
'pytest-runner==5.1',
]
# Installation (application runtime) requirements
install_requires = [
'Flask==1.0.3',
'uWSGI==2.0.18',
'Flask-SQLAlchemy==2.4.0',
'SQLAlchemy==1.3.4',
'PyMySQL==0.9.3',
'Flask-HTTPAuth==3.3.0',
'Flask-Migrate==2.5.2',
'python-dateutil==2.4.2',
'boto3==1.9.168',
'requests==2.22.0',
'structlog==17.2.0',
'celery[redis]==4.2.0'
]
# Test dependencies
tests_require = [
'pytest==3.6.3',
'pytest-cov==2.7.1',
'pytest-flake8==1.0.4',
'responses==0.10.6',
'pytest-mock==1.10.4',
'mock==3.0.5',
]
# Sphinx documentation requirements
docs_require = [
'Sphinx==1.5.1',
'sphinx-rtd-theme==0.1.9',
'numpydoc==0.5',
'sphinxcontrib-httpdomain==1.4.0',
]
# Optional installation dependencies
extras_require = {
# Recommended extra for development
'dev': ['httpie', 'flower==0.9.2'] + docs_require + tests_require
}
setup(
name=name,
description=description,
long_description=long_description,
url=url,
author=author,
author_email=author_email,
license=license,
classifiers=classifiers,
keywords=keywords,
packages=find_packages(exclude=('tests',)),
use_scm_version=True,
setup_requires=setup_requires,
tests_require=tests_require,
install_requires=install_requires,
extras_require=extras_require
)
| mit | Python |
e0926963f0951fe39fda7a69efe6e50f7ccd46db | Update setup.py | pathakvaidehi2391/WorkSpace,pathakvaidehi2391/WorkSpace | setup.py | setup.py | ########
# Copyright (c) 2015 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
# Replace the place holders with values for your project
setup(
# Do not use underscores in the plugin name.
name='cloudify-azure-plugin',
author='Gigaspaces',
author_email='cosmo-admin@gigaspaces.com',
version='1.2.1',
description='Cloudify plugin for Azure infrastructure.',
# This must correspond to the actual packages in the plugin.
packages=['azurecloudify'],
license='LICENSE',
install_requires=[
'cloudify-plugins-common>=3.2',
'azure',
'lockfile'
]
)
| ########
# Copyright (c) 2015 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
# Replace the place holders with values for your project
setup(
# Do not use underscores in the plugin name.
name='cloudify-azure-plugin',
author='Gigaspaces',
author_email='cosmo-admin@gigaspaces.com',
version='1.2.1',
description='Cloudify plugin for Azure infrastructure.',
# This must correspond to the actual packages in the plugin.
packages=['azurecloudify'],
license='LICENSE',
install_requires=[
'cloudify-plugins-common>=3.2',
'azure'
]
)
| apache-2.0 | Python |
65d84850351493848d797fe6a7a275382cb73cc2 | Bump version. | cambridgeconsultants/pyvmlib | setup.py | setup.py | """Setup config for pyvmlib."""
from setuptools import setup
setup(name='pyvmlib',
version='2.2.0',
description='A simple library for controlling VMware vSphere servers.',
url='http://github.com/cambridgeconsultants/pyvmlib',
author='Cambridge Consultants',
author_email='jonathan.pallant@cambridgeconsultants.com',
license='Apache-2.0',
install_requires=[
'pyvmomi',
'requests',
'six',
],
packages=['pyvmlib'],
zip_safe=False)
| """Setup config for pyvmlib."""
from setuptools import setup
setup(name='pyvmlib',
version='2.1.0',
description='A simple library for controlling VMware vSphere servers.',
url='http://github.com/cambridgeconsultants/pyvmlib',
author='Cambridge Consultants',
author_email='jonathan.pallant@cambridgeconsultants.com',
license='Apache-2.0',
install_requires=[
'pyvmomi',
'requests',
'six',
],
packages=['pyvmlib'],
zip_safe=False)
| apache-2.0 | Python |
e06c29d8e36f04a7981fce0a13387e54ec05c524 | fix aiohttp | aio-libs/aiobotocore | setup.py | setup.py | import os
import re
import sys
from setuptools import setup, find_packages
install_requires = ['botocore==1.5.0', 'aiohttp>=1.2.0, <2.0.0']
PY_VER = sys.version_info
if not PY_VER >= (3, 4, 1):
raise RuntimeError("aiobotocore doesn't support Python earlier than 3.4")
def read(f):
return open(os.path.join(os.path.dirname(__file__), f)).read().strip()
extras_require = {}
def read_version():
regexp = re.compile(r"^__version__\W*=\W*'([\d.abrc]+)'")
init_py = os.path.join(os.path.dirname(__file__),
'aiobotocore', '__init__.py')
with open(init_py) as f:
for line in f:
match = regexp.match(line)
if match is not None:
return match.group(1)
else:
raise RuntimeError('Cannot find version in '
'aiobotocore/__init__.py')
classifiers = [
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Environment :: Web Environment',
'Development Status :: 3 - Alpha',
]
setup(name='aiobotocore',
version=read_version(),
description='Async client for aws services using botocore and aiohttp',
long_description='\n\n'.join((read('README.rst'), read('CHANGES.txt'))),
classifiers=classifiers,
author="Nikolay Novik",
author_email="nickolainovik@gmail.com",
url='https://github.com/aio-libs/aiobotocore',
download_url='https://pypi.python.org/pypi/aiobotocore',
license='Apache 2',
packages=find_packages(),
install_requires=install_requires,
extras_require=extras_require,
include_package_data=True)
| import os
import re
import sys
from setuptools import setup, find_packages
install_requires = ['botocore==1.5.0', 'aiohttp>=1.2.0']
PY_VER = sys.version_info
if not PY_VER >= (3, 4, 1):
raise RuntimeError("aiobotocore doesn't support Python earlier than 3.4")
def read(f):
return open(os.path.join(os.path.dirname(__file__), f)).read().strip()
extras_require = {}
def read_version():
regexp = re.compile(r"^__version__\W*=\W*'([\d.abrc]+)'")
init_py = os.path.join(os.path.dirname(__file__),
'aiobotocore', '__init__.py')
with open(init_py) as f:
for line in f:
match = regexp.match(line)
if match is not None:
return match.group(1)
else:
raise RuntimeError('Cannot find version in '
'aiobotocore/__init__.py')
classifiers = [
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Environment :: Web Environment',
'Development Status :: 3 - Alpha',
]
setup(name='aiobotocore',
version=read_version(),
description='Async client for aws services using botocore and aiohttp',
long_description='\n\n'.join((read('README.rst'), read('CHANGES.txt'))),
classifiers=classifiers,
author="Nikolay Novik",
author_email="nickolainovik@gmail.com",
url='https://github.com/aio-libs/aiobotocore',
download_url='https://pypi.python.org/pypi/aiobotocore',
license='Apache 2',
packages=find_packages(),
install_requires=install_requires,
extras_require=extras_require,
include_package_data=True)
| apache-2.0 | Python |
0128bb206820ef8cc540cfb3a781133234c80a3d | bump to 0.1.0 | ifduyue/python-xxhash,chipsCode/python-xxhash,ifduyue/python-xxhash,chipsCode/python-xxhash,ifduyue/python-xxhash | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages, Extension
VERSION = "0.1.0"
XXHASH_VERSION = "r35"
setup(
name='xxhash',
version=VERSION,
description="Python binding for xxHash",
long_description=open('README.rst', 'r').read(),
author='Yue Du',
author_email='ifduyue@gmail.com',
url='https://github.com/ifduyue/python-xxhash',
ext_modules=[
Extension('xxhash', [
'python-xxhash.c',
'xxhash/xxhash.c',
], extra_compile_args=[
"-std=c99",
"-O3",
"-Wall",
"-W",
"-Wundef",
"-Wno-error=declaration-after-statement", # ref: http://bugs.python.org/issue21121
"-DVERSION=\"%s\"" % VERSION,
"-DXXHASH_VERSION=\"%s\"" % XXHASH_VERSION,
])
],
setup_requires=["nose>=1.3.0"],
test_suite='nose.collector',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Intended Audience :: Developers',
'Programming Language :: C',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
| #!/usr/bin/env python
from setuptools import setup, find_packages, Extension
VERSION = "0.0.2"
XXHASH_VERSION = "r35"
setup(
name='xxhash',
version=VERSION,
description="Python binding for xxHash",
long_description=open('README.rst', 'r').read(),
author='Yue Du',
author_email='ifduyue@gmail.com',
url='https://github.com/ifduyue/python-xxhash',
ext_modules=[
Extension('xxhash', [
'python-xxhash.c',
'xxhash/xxhash.c',
], extra_compile_args=[
"-std=c99",
"-O3",
"-Wall",
"-W",
"-Wundef",
"-Wno-error=declaration-after-statement", # ref: http://bugs.python.org/issue21121
"-DVERSION=\"%s\"" % VERSION,
"-DXXHASH_VERSION=\"%s\"" % XXHASH_VERSION,
])
],
setup_requires=["nose>=1.3.0"],
test_suite='nose.collector',
classifiers=[
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Intended Audience :: Developers',
'Programming Language :: C',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
| bsd-2-clause | Python |
2e56b66e58394531ea0968c92150d73bf8004711 | Update setup.py | DisruptiveLabs/sqlalchemy_postgresql_json | setup.py | setup.py | """ sqlalchemy_postgresql_json
Adds JSON support to SQLAlchemy, with magic helpers to keep things mutable
And now adds LTREE support as well
"""
from setuptools import setup, find_packages
setup(
name='sqlalchemy-postgresql-json',
author="Franklyn Tackitt",
author_email="franklyn@tackitt.net",
url="https://github.com/DisruptiveLabs/sqlalchemy_postgresql_json",
download_url="https://github.com/DisruptiveLabs/sqlalchemy_postgresql_json/tarball/0.4.4",
version="0.4.4",
description="Postgresql JSON Extension for sqlalchemy",
long_description=__doc__,
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=['psycopg2', 'sqlalchemy'])
| """ sqlalchemy_postgresql_json
Adds JSON support to SQLAlchemy, with magic helpers to keep things mutable
And now adds LTREE support as well
"""
from setuptools import setup, find_packages
setup(
name='sqlalchemy-postgresql-json',
author="Franklyn Tackitt",
author_email="franklyn@tackitt.net",
url="https://github.com/DisruptiveLabs/sqlalchemy_postgresql_json",
download_url="https://github.com/DisruptiveLabs/sqlalchemy_postgresql_json/tarball/0.4.4",
version="0.4.4",
long_description=__doc__,
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=['psycopg2', 'sqlalchemy'])
| mit | Python |
f1982f9f956d31689e518807289fb58b4330cfaf | Fix development status | jblakeman/apt-select,jblakeman/apt-select | setup.py | setup.py | """A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html """
from setuptools import setup, find_packages
from codecs import open
from os import path
from apt_select import __version__
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='apt-select',
version=__version__,
description='Ubuntu Archive Mirror reporting tool for apt sources configuration',
long_description=long_description,
url='https://github.com/jblakeman/apt-select',
author='John Blakeman',
author_email='john@johnblakeman.com',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: System :: Installation/Setup'
'Topic :: System :: Networking',
'Topic :: System :: Software Distribution',
'Topic :: System :: Systems Administration',
'Topic :: Utilities',
],
keywords='latency status rank reporting apt configuration',
packages=find_packages(exclude=['tests']),
install_requires=['beautifulsoup4'],
scripts=['bin/apt-select']
)
| """A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html """
from setuptools import setup, find_packages
from codecs import open
from os import path
from apt_select import __version__
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='apt-select',
version=__version__,
description='Ubuntu Archive Mirror reporting tool for apt sources configuration',
long_description=long_description,
url='https://github.com/jblakeman/apt-select',
author='John Blakeman',
author_email='john@johnblakeman.com',
license='MIT',
classifiers=[
'Development Status :: 2 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: System :: Installation/Setup'
'Topic :: System :: Networking',
'Topic :: System :: Software Distribution',
'Topic :: System :: Systems Administration',
'Topic :: Utilities',
],
keywords='latency status rank reporting apt configuration',
packages=find_packages(exclude=['tests']),
install_requires=['beautifulsoup4'],
scripts=['bin/apt-select']
)
| mit | Python |
dee47a13a907e5f441e2c441f5532600241f2367 | test new comment on tracker ticket | apache/incubator-allura,apache/allura,heiths/allura,Bitergia/allura,lym/allura-git,lym/allura-git,Bitergia/allura,apache/allura,apache/incubator-allura,lym/allura-git,Bitergia/allura,heiths/allura,leotrubach/sourceforge-allura,apache/allura,apache/incubator-allura,heiths/allura,apache/allura,leotrubach/sourceforge-allura,Bitergia/allura,leotrubach/sourceforge-allura,apache/allura,apache/incubator-allura,leotrubach/sourceforge-allura,lym/allura-git,lym/allura-git,heiths/allura,heiths/allura,Bitergia/allura | ForgeTracker/forgetracker/tests/functional/test_root.py | ForgeTracker/forgetracker/tests/functional/test_root.py | from nose.tools import assert_true, assert_false
from forgetracker.tests import TestController
from pyforge import model
class TestFunctionalController(TestController):
def test_new_ticket(self):
response = self.app.get('/bugs/new/')
form = response.form
summary = 'test new ticket'
form['summary'] = summary
response = form.submit().follow()
assert_true(summary in response)
response = self.app.get('/bugs/')
assert_true(summary in response)
def test_two_trackers(self):
response = self.app.get('/doc_bugs/new/')
form = response.form
summary = 'test two trackers'
form['summary'] = summary
response = form.submit().follow()
assert_true(summary in response)
response = self.app.get('/bugs/')
assert_false(summary in response)
def test_new_comment(self):
response = self.app.get('/bugs/new/')
form = response.form
form['summary'] = 'test new comment'
form.submit()
comment = 'comment testing new comment'
self.app.post('/bugs/1/comments/reply', { 'text': comment })
response = self.app.get('/bugs/1/')
assert_true(comment in response)
| from nose.tools import assert_true, assert_false
from forgetracker.tests import TestController
from pyforge import model
class TestFunctionalController(TestController):
def test_new_ticket(self):
response = self.app.get('/bugs/new/')
form = response.form
summary = 'first sample ticket'
form['summary'] = summary
response = form.submit().follow()
assert_true(summary in response)
response = self.app.get('/bugs/')
assert_true(summary in response)
def test_two_trackers(self):
response = self.app.get('/doc_bugs/new/')
form = response.form
summary = 'first sample doc_bug'
form['summary'] = summary
response = form.submit().follow()
assert_true(summary in response)
response = self.app.get('/bugs/')
assert_false(summary in response)
| apache-2.0 | Python |
3c9078eccf2cf470e90425aa334b3b8fa39440bd | Bump minimum version for google-api-core to 1.14.0. (#8709) | googleapis/python-spanner,googleapis/python-spanner | setup.py | setup.py | # Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# 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 io
import os
import setuptools
# Package metadata.
name = "google-cloud-spanner"
description = "Cloud Spanner API client library"
version = "1.9.0"
# Should be one of:
# 'Development Status :: 3 - Alpha'
# 'Development Status :: 4 - Beta'
# 'Development Status :: 5 - Production/Stable'
release_status = "Development Status :: 5 - Production/Stable"
dependencies = [
"google-api-core[grpc, grpcgcp] >= 1.14.0, < 2.0.0dev",
"google-cloud-core >= 1.0.0, < 2.0dev",
"grpc-google-iam-v1 >= 0.12.3, < 0.13dev",
]
extras = {}
# Setup boilerplate below this line.
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()
# Only include packages under the 'google' namespace. Do not include tests,
# benchmarks, etc.
packages = [
package for package in setuptools.find_packages() if package.startswith("google")
]
# Determine which namespaces are needed.
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/GoogleCloudPlatform/google-cloud-python",
classifiers=[
release_status,
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Operating System :: OS Independent",
"Topic :: Internet",
],
platforms="Posix; MacOS X; Windows",
packages=packages,
namespace_packages=namespaces,
install_requires=dependencies,
extras_require=extras,
python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*",
include_package_data=True,
zip_safe=False,
)
| # Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# 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 io
import os
import setuptools
# Package metadata.
name = "google-cloud-spanner"
description = "Cloud Spanner API client library"
version = "1.9.0"
# Should be one of:
# 'Development Status :: 3 - Alpha'
# 'Development Status :: 4 - Beta'
# 'Development Status :: 5 - Production/Stable'
release_status = "Development Status :: 5 - Production/Stable"
dependencies = [
"google-api-core[grpc, grpcgcp] >= 1.4.1, < 2.0.0dev",
"google-cloud-core >= 1.0.0, < 2.0dev",
"grpc-google-iam-v1 >= 0.12.3, < 0.13dev",
]
extras = {}
# Setup boilerplate below this line.
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()
# Only include packages under the 'google' namespace. Do not include tests,
# benchmarks, etc.
packages = [
package for package in setuptools.find_packages() if package.startswith("google")
]
# Determine which namespaces are needed.
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/GoogleCloudPlatform/google-cloud-python",
classifiers=[
release_status,
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Operating System :: OS Independent",
"Topic :: Internet",
],
platforms="Posix; MacOS X; Windows",
packages=packages,
namespace_packages=namespaces,
install_requires=dependencies,
extras_require=extras,
python_requires=">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*",
include_package_data=True,
zip_safe=False,
)
| apache-2.0 | Python |
faa033e02f7dbb0414d365de37a3c07faa40ef0b | add pint dependency | anqxyr/jarvis | setup.py | setup.py | import setuptools
VERSIONFILE = 'jarvis/version.py'
with open(VERSIONFILE) as file:
version = file.readline()
version = version.split('=')[-1].strip().strip("'")
setuptools.setup(
name='jarvis',
version=version,
description='Snarky bot for scp-wiki irc channels.',
long_description='',
url='https://github.com/anqxyr/jarvis/',
author='anqxyr',
author_email='anqxyr@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Other Audience',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.4'],
packages=['jarvis', 'jarvis/modules'],
package_data={'jarvis': ['lexicon.yaml', 'resources/help.template']},
tests_require=[
'pytest>=3.0.2',
'pytest-cov',
'python-coveralls'],
install_requires=[
'arrow',
'dominate',
'google-api-python-client',
'jinja2',
'logbook',
'markovify',
'natural',
'oauth2client==3.0.0',
'pyaml',
'sopel',
'tweepy',
'wikipedia',
'pint',
],
)
| import setuptools
VERSIONFILE = 'jarvis/version.py'
with open(VERSIONFILE) as file:
version = file.readline()
version = version.split('=')[-1].strip().strip("'")
setuptools.setup(
name='jarvis',
version=version,
description='Snarky bot for scp-wiki irc channels.',
long_description='',
url='https://github.com/anqxyr/jarvis/',
author='anqxyr',
author_email='anqxyr@gmail.com',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Other Audience',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.4'],
packages=['jarvis', 'jarvis/modules'],
package_data={'jarvis': ['lexicon.yaml', 'resources/help.template']},
tests_require=[
'pytest>=3.0.2',
'pytest-cov',
'python-coveralls'],
install_requires=[
'arrow',
'dominate',
'google-api-python-client',
'jinja2',
'logbook',
'markovify',
'natural',
'oauth2client==3.0.0',
'pyaml',
'sopel',
'tweepy',
'wikipedia',
],
)
| mit | Python |
07012c5d10d0ee08fe654f114a28fc3ead2c49c1 | Use absolute path to fetch the README file | fusionbox/django-backupdb | setup.py | setup.py | #!/usr/bin/env python
import subprocess
import os
from setuptools import setup, find_packages
version = (0, 5, 5, 'final')
current_path = os.path.dirname(__file__)
def get_version():
number = '.'.join(map(str, version[:3]))
stage = version[3]
if stage == 'final':
return number
elif stage == 'alpha':
process = subprocess.Popen('git rev-parse HEAD'.split(), stdout=subprocess.PIPE)
stdout, stderr = process.communicate()
return number + '-' + stdout.decode('utf-8').strip()[:8]
def get_readme():
with open(os.path.join(current_path, 'README.rst'), 'r') as f:
return f.read()
setup(
name='django-backupdb',
version=get_version(),
description='Management commands for backing up and restoring databases in Django.',
long_description=get_readme(),
author='Fusionbox programmers',
author_email='programmers@fusionbox.com',
keywords='django database backup',
url='https://github.com/fusionbox/django-backupdb',
packages=find_packages(exclude=('unit_tests', 'unit_tests_scratch')),
platforms='any',
license='Fusionbox',
test_suite='nose.collector',
setup_requires=[
'nose>=1.2.1',
],
tests_require=[
'nose>=1.2.1',
'mock>=1.0.1',
'coverage>=3.6',
],
install_requires=[
'django>=1.3',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
],
)
| #!/usr/bin/env python
from setuptools import setup, find_packages
import subprocess
version = (0, 5, 5, 'final')
def get_version():
number = '.'.join(map(str, version[:3]))
stage = version[3]
if stage == 'final':
return number
elif stage == 'alpha':
process = subprocess.Popen('git rev-parse HEAD'.split(), stdout=subprocess.PIPE)
stdout, stderr = process.communicate()
return number + '-' + stdout.decode('utf-8').strip()[:8]
def get_readme():
with open('README.rst') as f:
return f.read()
setup(
name='django-backupdb',
version=get_version(),
description='Management commands for backing up and restoring databases in Django.',
long_description=get_readme(),
author='Fusionbox programmers',
author_email='programmers@fusionbox.com',
keywords='django database backup',
url='https://github.com/fusionbox/django-backupdb',
packages=find_packages(exclude=('unit_tests', 'unit_tests_scratch')),
platforms='any',
license='Fusionbox',
test_suite='nose.collector',
setup_requires=[
'nose>=1.2.1',
],
tests_require=[
'nose>=1.2.1',
'mock>=1.0.1',
'coverage>=3.6',
],
install_requires=[
'django>=1.3',
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
],
)
| bsd-2-clause | Python |
adc4575d7261c3047f88e62695445d2a70de4823 | Add classifier for Python 3 | django-blog-zinnia/zinnia-theme-html5 | setup.py | setup.py | """Setup script of zinnia-theme-html5"""
from setuptools import setup
from setuptools import find_packages
import zinnia_html5
setup(
name='zinnia-theme-html5',
version=zinnia_html5.__version__,
description='HTML5 theme for django-blog-zinnia',
long_description=open('README.rst').read(),
keywords='django, blog, weblog, zinnia, theme, skin, html5',
author=zinnia_html5.__author__,
author_email=zinnia_html5.__email__,
url=zinnia_html5.__url__,
packages=find_packages(exclude=['demo_zinnia_html5']),
classifiers=[
'Framework :: Django',
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Libraries :: Python Modules'],
license=zinnia_html5.__license__,
include_package_data=True,
zip_safe=False
)
| """Setup script of zinnia-theme-html5"""
from setuptools import setup
from setuptools import find_packages
import zinnia_html5
setup(
name='zinnia-theme-html5',
version=zinnia_html5.__version__,
description='HTML5 theme for django-blog-zinnia',
long_description=open('README.rst').read(),
keywords='django, blog, weblog, zinnia, theme, skin, html5',
author=zinnia_html5.__author__,
author_email=zinnia_html5.__email__,
url=zinnia_html5.__url__,
packages=find_packages(exclude=['demo_zinnia_html5']),
classifiers=[
'Framework :: Django',
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Programming Language :: Python',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'License :: OSI Approved :: BSD License',
'Topic :: Software Development :: Libraries :: Python Modules'],
license=zinnia_html5.__license__,
include_package_data=True,
zip_safe=False
)
| bsd-3-clause | Python |
4a96aa1a3e1468fcfe10b063d58297d5f0db49d6 | Set setup.py's test_suite to `nose.collector` | kowito/bluesnap-python,justyoyo/bluesnap-python,justyoyo/bluesnap-python,kowito/bluesnap-python | setup.py | setup.py | from setuptools import setup, find_packages
__version__ = None
with open('bluesnap/version.py') as f:
exec(f.read())
with open('README.md') as f:
long_description = f.read()
setup(
name='bluesnap',
version=__version__,
author='Jian Yuan Lee',
author_email='jian@justyoyo.com',
url='https://github.com/justyoyo/bluesnap-python',
# license='TODO',
description='Python module to interact with Bluesnap API.',
long_description=long_description,
packages=find_packages(),
install_requires=[
'lxml==3.4.0',
'requests==2.4.3'
],
test_suite='nose.collector'
)
| from setuptools import setup, find_packages
__version__ = None
with open('bluesnap/version.py') as f:
exec(f.read())
with open('README.md') as f:
long_description = f.read()
setup(
name='bluesnap',
version=__version__,
author='Jian Yuan Lee',
author_email='jian@justyoyo.com',
url='https://github.com/justyoyo/bluesnap-python',
# license='TODO',
description='Python module to interact with Bluesnap API.',
long_description=long_description,
packages=find_packages(),
install_requires=[
'lxml==3.4.0',
'requests==2.4.3'
],
)
| mit | Python |
796015b9f9267aa5d0246964c4b950027f4f26fa | Update PyPI config | oasis-open/cti-stix-visualization,oasis-open/cti-stix-visualization,oasis-open/cti-stix-visualization | setup.py | setup.py | from codecs import open
from setuptools import setup, find_packages
def get_long_description():
with open('README.Python.rst') as f:
return f.read()
setup(
name="stix2-viz",
description="Visualize STIX content",
long_description=get_long_description(),
long_description_content_type='text/x-rst',
license='BSD',
url='https://oasis-open.github.io/cti-documentation/',
author='OASIS Cyber Threat Intelligence Technical Committee',
author_email='cti-users@lists.oasis-open.org',
version="0.2.0",
packages=find_packages(),
install_requires=["jupyter>=1.0.0"],
package_data={
"stix2viz": [
"d3/*",
"stix2viz/icons/*",
"stix2viz/stix2viz.js",
],
}
)
| from setuptools import setup, find_packages
setup(
name="stix2-viz",
description="Visualize STIX content",
version="0.2.0",
packages=find_packages(),
install_requires=["jupyter>=1.0.0"],
package_data={
"stix2viz": [
"d3/*",
"stix2viz/icons/*",
"stix2viz/stix2viz.js",
],
}
)
| bsd-3-clause | Python |
59c73e916f094a5fd851606daa9f9601ede2c8b4 | remove zookeeper req | dfdeshom/solrcloudpy,relwell/solrcloudpy,relwell/solrcloudpy,dfdeshom/solrcloudpy | setup.py | setup.py | try:
from setuptools import setup, find_packages
except ImportError:
import ez_setup
ez_setup.use_setuptools()
from setuptools import setup, find_packages
setup(
name = "solrcloudpy",
version = "1.0",
description = "SolrCloud client",
author = 'Didier Deshommes',
author_email = 'dfdeshom@gmail.com',
packages=find_packages(exclude=['ez_setup']),
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Indexing/Search'
],
install_requires = ['requests',]
)
| try:
from setuptools import setup, find_packages
except ImportError:
import ez_setup
ez_setup.use_setuptools()
from setuptools import setup, find_packages
setup(
name = "solrcloudpy",
version = "1.0",
description = "Solr4.0 client",
author = 'Didier Deshommes',
author_email = 'dfdeshom@gmail.com',
packages=find_packages(exclude=['ez_setup']),
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Indexing/Search'
],
install_requires = ['requests','kazoo>=1.1']
)
| bsd-3-clause | Python |
c3799230344487a199d75af9df401ab12e2e6cfa | Fix dependency and update version number | openego/data_processing | setup.py | setup.py | from distutils.core import setup
setup(
name='data_processing',
version='0.1-pre',
packages=['data_processing'],
url='https://github.com/openego/data_processing',
license='GNU GENERAL PUBLIC LICENSE Version 3',
author='open_eGo development group',
author_email='',
description='Data processing related to the research project open_eGo',
install_requires=[
'pandas',
'workalendar',
'oemof.db',
'demandlib',
'ego.io >=0.0.1rc3, <= 0.0.1rc3',
'geoalchemy2'
]
)
| from distutils.core import setup
setup(
name='data_processing',
version='0.1-pre',
packages=['data_processing'],
url='https://github.com/openego/data_processing',
license='GNU GENERAL PUBLIC LICENSE Version 3',
author='open_eGo development group',
author_email='',
description='Data processing related to the research project open_eGo',
install_requires=[
'pandas',
'workalendar',
'oemof.db',
'demandlib',
'ego.io'
]
)
| agpl-3.0 | Python |
d67f1b67745fa260b65a65c41c9fe45e60cd892a | Bump version to 2.5.1 | bformet/django-admin-bootstrapped,askinteractive/mezzanine-advanced-admin-new,xrmx/django-admin-bootstrapped,django-admin-bootstrapped/django-admin-bootstrapped,askinteractive/mezzanine-advanced-admin,pombredanne/django-admin-bootstrapped,django-admin-bootstrapped/django-admin-bootstrapped,mynksngh/django-admin-bootstrapped,Corner1024/django-admin-bootstrapped,merlian/django-admin-bootstrapped,squallcs12/django-admin-bootstrapped,kevingu1003/django-admin-bootstrapped,jmagnusson/django-admin-bootstrapped,Corner1024/django-admin-bootstrapped,IMAmuseum/django-admin-bootstrapped,bformet/django-admin-bootstrapped,xrmx/django-admin-bootstrapped,askinteractive/mezzanine-advanced-admin-new,squallcs12/django-admin-bootstrapped,jmagnusson/django-admin-bootstrapped,IMAmuseum/django-admin-bootstrapped,Corner1024/django-admin-bootstrapped,bformet/django-admin-bootstrapped,andrewyager/django-admin-bootstrapped,kevingu1003/django-admin-bootstrapped,xrmx/django-admin-bootstrapped,sn0wolf/django-admin-bootstrapped,merlian/django-admin-bootstrapped,django-admin-bootstrapped/django-admin-bootstrapped,andrewyager/django-admin-bootstrapped,askinteractive/mezzanine-advanced-admin,merlian/django-admin-bootstrapped,mynksngh/django-admin-bootstrapped,askinteractive/mezzanine-advanced-admin,jmagnusson/django-admin-bootstrapped,pombredanne/django-admin-bootstrapped,askinteractive/mezzanine-advanced-admin-new,squallcs12/django-admin-bootstrapped,IMAmuseum/django-admin-bootstrapped,benthomasson/django-admin-bootstrapped,kevingu1003/django-admin-bootstrapped,pombredanne/django-admin-bootstrapped,mynksngh/django-admin-bootstrapped,benthomasson/django-admin-bootstrapped,sn0wolf/django-admin-bootstrapped,benthomasson/django-admin-bootstrapped,andrewyager/django-admin-bootstrapped,sn0wolf/django-admin-bootstrapped | setup.py | setup.py | from setuptools import setup, find_packages
import os
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',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries :: Application Frameworks',
]
setup(
author="Riccardo Forina",
author_email="riccardo@forina.me",
maintainer="Riccardo Magliocchetti",
maintainer_email="riccardo.magliocchetti@gmail.com",
name='django-admin-bootstrapped',
version='2.5.1',
description='A Bootstrap theme for Django Admin',
long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(),
url='https://github.com/django-admin-bootstrapped/django-admin-bootstrapped',
license='BSD License',
platforms=['OS Independent'],
classifiers=CLASSIFIERS,
install_requires=[
'setuptools',
'Django>=1.8',
],
test_suite='django_admin_bootstrapped.runtests.runtests',
packages=find_packages(),
include_package_data=True,
zip_safe=False
)
| from setuptools import setup, find_packages
import os
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',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries :: Application Frameworks',
]
setup(
author="Riccardo Forina",
author_email="riccardo@forina.me",
maintainer="Riccardo Magliocchetti",
maintainer_email="riccardo.magliocchetti@gmail.com",
name='django-admin-bootstrapped',
version='2.5.0',
description='A Bootstrap theme for Django Admin',
long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(),
url='https://github.com/django-admin-bootstrapped/django-admin-bootstrapped',
license='BSD License',
platforms=['OS Independent'],
classifiers=CLASSIFIERS,
install_requires=[
'setuptools',
'Django>=1.8',
],
test_suite='django_admin_bootstrapped.runtests.runtests',
packages=find_packages(),
include_package_data=True,
zip_safe=False
)
| apache-2.0 | Python |
fb91d21b909ad58717a3b3a0e7e9263b27c87b17 | Increase version to expose AsyncCheckpointer. | google/orbax | setup.py | setup.py | # Copyright 2022 The Orbax Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Install Orbax."""
import setuptools
# Get the long description from the README file.
with open('README.md') as fp:
_LONG_DESCRIPTION = fp.read()
setuptools.setup(
name='orbax',
version='0.0.5',
description='Orbax',
long_description=_LONG_DESCRIPTION,
long_description_content_type='text/markdown',
author='Google Inc.',
author_email='no-reply@google.com',
url='http://github.com/google/orbax',
license='Apache 2.0',
packages=setuptools.find_packages(),
package_data={
'': ['**/*.gin'], # not all subdirectories may have __init__.py.
},
scripts=[],
install_requires=[
'absl-py',
'cached_property',
'dataclasses',
'flax',
'jax',
'jaxlib',
'numpy',
'pyyaml',
'tensorflow',
'tensorstore >= 0.1.20',
],
extras_require={
'test': ['pytest'],
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
],
keywords='JAX machine learning',
)
| # Copyright 2022 The Orbax Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Install Orbax."""
import setuptools
# Get the long description from the README file.
with open('README.md') as fp:
_LONG_DESCRIPTION = fp.read()
setuptools.setup(
name='orbax',
version='0.0.4',
description='Orbax',
long_description=_LONG_DESCRIPTION,
long_description_content_type='text/markdown',
author='Google Inc.',
author_email='no-reply@google.com',
url='http://github.com/google/orbax',
license='Apache 2.0',
packages=setuptools.find_packages(),
package_data={
'': ['**/*.gin'], # not all subdirectories may have __init__.py.
},
scripts=[],
install_requires=[
'absl-py',
'cached_property',
'dataclasses',
'flax',
'jax',
'jaxlib',
'numpy',
'pyyaml',
'tensorflow',
'tensorstore >= 0.1.20',
],
extras_require={
'test': ['pytest'],
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
],
keywords='JAX machine learning',
)
| apache-2.0 | Python |
46175bffced1ec20cb571e9c516a1cb2444f7aca | 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,<3.0.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='4.1a1',
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,<3.0.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='4.0.1',
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 |
cd16af87a1b197a620d21af99d30c41d74990724 | Change version in setup.py | deontologician/restnavigator | setup.py | setup.py | """Setuptools entry point."""
from setuptools import setup
from setuptools.command.test import test as TestCommand
import sys
install_requires = [
"requests>=2.5.0",
"uritemplate>=0.6.0",
"Unidecode>=0.04.14",
"six",
]
if sys.version_info < (2, 7, 0):
install_requires.append('ordereddict')
class Tox(TestCommand):
"""Tox test command."""
user_options = [('tox-args=', 'a', "Arguments to pass to tox")]
def initialize_options(self):
TestCommand.initialize_options(self)
self.tox_args = '--recreate'
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
import shlex
errno = tox.cmdline(args=shlex.split(self.tox_args))
sys.exit(errno)
tests_require = [
"httpretty==0.8.4",
"pytest==2.6.4",
"pytest-cov==1.8.1",
"tox",
"pytest-cache",
],
setup(
name="restnavigator",
version="1.0",
author="Josh Kuhn",
author_email="deontologician@gmail.com",
description='A python library for interacting with HAL+JSON APIs',
url='https://github.com/deontologician/rest_navigator',
license="MIT",
packages=['restnavigator'],
keywords=['REST', 'HAL', 'json', 'http'],
classifiers=[
"Development Status :: 6 - Mature",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3"
] + [("Programming Language :: Python :: %s" % x) for x in "2.6 2.7 3.0 3.1 3.2 3.3 3.4".split()],
install_requires=install_requires,
tests_require=tests_require,
extras_require={
'test': tests_require,
},
cmdclass={'test': Tox},
)
| """Setuptools entry point."""
from setuptools import setup
from setuptools.command.test import test as TestCommand
import sys
install_requires = [
"requests>=2.5.0",
"uritemplate>=0.6.0",
"Unidecode>=0.04.14",
"six",
]
if sys.version_info < (2, 7, 0):
install_requires.append('ordereddict')
class Tox(TestCommand):
"""Tox test command."""
user_options = [('tox-args=', 'a', "Arguments to pass to tox")]
def initialize_options(self):
TestCommand.initialize_options(self)
self.tox_args = '--recreate'
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
import shlex
errno = tox.cmdline(args=shlex.split(self.tox_args))
sys.exit(errno)
tests_require = [
"httpretty==0.8.4",
"pytest==2.6.4",
"pytest-cov==1.8.1",
"tox",
"pytest-cache",
],
setup(
name="restnavigator",
version="0.2.1",
author="Josh Kuhn",
author_email="deontologician@gmail.com",
description='A python library for interacting with HAL+JSON APIs',
url='https://github.com/deontologician/rest_navigator',
license="MIT",
packages=['restnavigator'],
keywords=['REST', 'HAL', 'json', 'http'],
classifiers=[
"Development Status :: 6 - Mature",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X",
"Topic :: Software Development :: API",
"Topic :: Software Development :: Libraries",
"Topic :: Utilities",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3"
] + [("Programming Language :: Python :: %s" % x) for x in "2.6 2.7 3.0 3.1 3.2 3.3 3.4".split()],
install_requires=install_requires,
tests_require=tests_require,
extras_require={
'test': tests_require,
},
cmdclass={'test': Tox},
)
| mit | Python |
b7d4ad474fe3b5f29fe6606f12502341ef98a3b8 | Add gevent dependency in setup.py | Kozea/pystil,Kozea/pystil,Kozea/pystil,Kozea/pystil,Kozea/pystil | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2011 by Florian Mounier, Kozea
# This file is part of pystil, licensed under a 3-clause BSD license.
"""
pystil - An elegant site web traffic analyzer
"""
from setuptools import setup, find_packages
# Use a time-based version number with ridiculous precision as pip in tox
# does not reinstall the same version.
import datetime
VERSION = "git-" + datetime.datetime.now().isoformat()
options = dict(
name="pystil",
version=VERSION,
description="An elegant site web traffic analyzer",
long_description=__doc__,
author="Florian Mounier - Kozea",
author_email="florian.mounier@kozea.fr",
license="BSD",
platforms="Any",
packages=find_packages(),
install_requires=['pygeoip', "flask>=0.8", 'flask-sqlalchemy', "CSStyle",
'pika', 'gevent'],
package_data={'pystil': [
'templates/*.jinja2',
'templates/css/*',
'templates/js/*',
'static/*.gif',
'static/js/*',
'static/css/*',
]},
classifiers=[
"Development Status :: WIP",
"Intended Audience :: Public",
"License :: OSI Approved :: BSD License",
"Operating System :: Linux",
"Programming Language :: Python :: 2.7"])
setup(**options)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Copyright (C) 2011 by Florian Mounier, Kozea
# This file is part of pystil, licensed under a 3-clause BSD license.
"""
pystil - An elegant site web traffic analyzer
"""
from setuptools import setup, find_packages
# Use a time-based version number with ridiculous precision as pip in tox
# does not reinstall the same version.
import datetime
VERSION = "git-" + datetime.datetime.now().isoformat()
options = dict(
name="pystil",
version=VERSION,
description="An elegant site web traffic analyzer",
long_description=__doc__,
author="Florian Mounier - Kozea",
author_email="florian.mounier@kozea.fr",
license="BSD",
platforms="Any",
packages=find_packages(),
install_requires=['pygeoip', "flask>=0.8", 'flask-sqlalchemy', "CSStyle",
'pika'],
package_data={'pystil': [
'templates/*.jinja2',
'templates/css/*',
'templates/js/*',
'static/*.gif',
'static/js/*',
'static/css/*',
]},
classifiers=[
"Development Status :: WIP",
"Intended Audience :: Public",
"License :: OSI Approved :: BSD License",
"Operating System :: Linux",
"Programming Language :: Python :: 2.7"])
setup(**options)
| bsd-3-clause | Python |
bcad2daa97d21a383b5ab33697ccafb6d92112e4 | Bump package version | Nextdoor/nose-leak-detector | setup.py | setup.py | import sys
import codecs
# Prevent spurious errors during `python setup.py test`, a la
# http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html:
try:
import multiprocessing
except ImportError:
pass
from setuptools import setup, find_packages
extra_setup = {}
if sys.version_info >= (3,):
extra_setup['use_2to3'] = True
setup(
name='dutch-boy',
version='0.1.6',
description='A library for detecting memory leaks in tests, mainly '
'with mocks',
long_description=codecs.open('README.rst', encoding='utf-8').read(),
keywords=['testing', 'memory', 'nose', 'mocks'],
author='Andrew S. Brown',
author_email='asbrown@nextdoor.com',
license='BSD',
packages=find_packages(exclude=['ez_setup']),
install_requires=[
'future>=0.15.2',
'nose>=1.2.1',
'pympler>=0.3.1',
'termcolor>=1.1.0',
],
tests_require=[
'mock>=1.3.0',
],
test_suite='nose.collector',
url='https://github.com/Nextdoor/dutch-boy',
download_url='https://github.com/Nextdoor/dutch-boy/archive/0.1.6'
'#egg=dutch-boy-0.1.6',
include_package_data=True,
entry_points="""
[nose.plugins.0.10]
dutch_boy = dutch_boy.nose:LeakDetectorPlugin
""",
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'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',
'Topic :: Software Development :: Testing'
],
**extra_setup
)
| import sys
import codecs
# Prevent spurious errors during `python setup.py test`, a la
# http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html:
try:
import multiprocessing
except ImportError:
pass
from setuptools import setup, find_packages
extra_setup = {}
if sys.version_info >= (3,):
extra_setup['use_2to3'] = True
setup(
name='dutch-boy',
version='0.1.5',
description='A Nose plugin that detects leaks between tests, mainly with mocks',
long_description=codecs.open('README.rst', encoding='utf-8').read(),
keywords=['testing', 'memory', 'nose', 'mocks'],
author='Andrew S. Brown',
author_email='asbrown@nextdoor.com',
license='BSD',
packages=find_packages(exclude=['ez_setup']),
install_requires=[
'future>=0.15.2',
'nose>=1.2.1',
'pympler>=0.3.1',
'termcolor>=1.1.0',
],
tests_require=[
'mock>=1.3.0',
],
test_suite='nose.collector',
url='https://github.com/Nextdoor/dutch-boy',
download_url='https://github.com/Nextdoor/dutch-boy/archive/0.1.6'
'#egg=dutch-boy-0.1.6',
include_package_data=True,
entry_points="""
[nose.plugins.0.10]
dutch_boy = dutch_boy.nose:LeakDetectorPlugin
""",
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'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',
'Topic :: Software Development :: Testing'
],
**extra_setup
)
| bsd-2-clause | Python |
d309ad2b61dd0ce2b881c590a92a92529afa1c00 | add requirement gcs-oauth2-boto-plugin | zalora/heavy-sync | setup.py | setup.py | #!/usr/bin/env python
from distutils.core import setup
from os.path import join
setup(name='heavy-sync',
version='0.1',
description='Synchronize huge cloud buckets with ease',
author='Hoang Xuan Phu',
author_email='phu.hoang@zalora.com',
url='https://github.com/zalora/heavy-sync',
packages=['heavy-sync'],
install_requires=['boto', 'gcs-oauth2-boto-plugin'],
scripts=[join('heavy-sync', 'heavy-sync')],
)
| #!/usr/bin/env python
from distutils.core import setup
from os.path import join
setup(name='heavy-sync',
version='0.1',
description='Synchronize huge cloud buckets with ease',
author='Hoang Xuan Phu',
author_email='phu.hoang@zalora.com',
url='https://github.com/zalora/heavy-sync',
packages=['heavy-sync'],
install_requires=['boto'],
scripts=[join('heavy-sync', 'heavy-sync')],
)
| mpl-2.0 | Python |
e63ccaa19aa764fda65abaa85d4c93db2b51fb05 | Add license to setup metadata | evvers/git-pre-commit-hook-utils | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='git-pre-commit-hook-utils',
version='0.0.1',
description='utils for implementing git pre-commit hook',
license='MIT',
author='Evgeny Vereshchagin',
author_email='evvers@ya.ru',
url='https://github.com/evvers/git-pre-commit-hook-utils',
packages=find_packages(),
)
| from setuptools import setup, find_packages
setup(
name='git-pre-commit-hook-utils',
version='0.0.1',
description='utils for implementing git pre-commit hook',
author='Evgeny Vereshchagin',
author_email='evvers@ya.ru',
url='https://github.com/evvers/git-pre-commit-hook-utils',
packages=find_packages(),
)
| mit | Python |
09e2d21fc286443890d72146dd6aff3741ba82d0 | fix Flask-API version in setup | aclef/microservices,aclef/microservices,aclef/microservices,viatoriche/microservices,viatoriche/microservices,aclef/microservices,viatoriche/microservices,viatoriche/microservices | setup.py | setup.py | import os
from distutils.core import setup
from setuptools import find_packages
package = 'microservices'
version = __import__(package).get_version()
packages = find_packages()
def get_package_data(package):
"""
Return all files under the root package, that are not in a
package themselves.
"""
walk = [(dirpath.replace(package + os.sep, '', 1), filenames)
for dirpath, dirnames, filenames in os.walk(package)
if not os.path.exists(os.path.join(dirpath, '__init__.py'))]
filepaths = []
for base, filenames in walk:
filepaths.extend([os.path.join(base, filename)
for filename in filenames])
return {package: filepaths}
setup(
name=package,
version=version,
packages=packages,
package_data=get_package_data(package),
license='MIT',
author='viatoriche',
author_email='maxim@via-net.org',
description='Microservices builder',
url='https://github.com/viatoriche/microservices',
download_url='https://github.com/viatoriche/microservices/tarball/{}'.format(version),
install_requires=['Flask-API==0.6.7', 'Flask==0.10.1', 'xmltodict>=0.10.1', 'addict>=1.0.0', 'requests', 'six', 'Markdown==2.6.6'],
)
| import os
from distutils.core import setup
from setuptools import find_packages
package = 'microservices'
version = __import__(package).get_version()
packages = find_packages()
def get_package_data(package):
"""
Return all files under the root package, that are not in a
package themselves.
"""
walk = [(dirpath.replace(package + os.sep, '', 1), filenames)
for dirpath, dirnames, filenames in os.walk(package)
if not os.path.exists(os.path.join(dirpath, '__init__.py'))]
filepaths = []
for base, filenames in walk:
filepaths.extend([os.path.join(base, filename)
for filename in filenames])
return {package: filepaths}
setup(
name=package,
version=version,
packages=packages,
package_data=get_package_data(package),
license='MIT',
author='viatoriche',
author_email='maxim@via-net.org',
description='Microservices builder',
url='https://github.com/viatoriche/microservices',
download_url='https://github.com/viatoriche/microservices/tarball/{}'.format(version),
install_requires=['Flask-API>=0.6.7', 'Flask==0.10.1', 'xmltodict>=0.10.1', 'addict>=1.0.0', 'requests', 'six', 'Markdown==2.6.6'],
)
| mit | Python |
7837944c2d086e843b60edc188554edbbfb6b3ba | Bump version for 1.2 | gbiggs/pykg-config,gbiggs/pykg-config | setup.py | setup.py | #!/usr/bin/env python
# Copyright (c) 2009-2012, Geoffrey Biggs
# 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 the Geoffrey Biggs 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 THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
__version__ = "$Revision: $"
# $Source$
from distutils.core import setup
import sys
scripts = ['pykg-config.py']
if sys.platform == 'win32':
scripts.append('pkg-config.bat')
setup(name='pykg-config',
version='1.2.0',
description='pkg-config replacement.',
author='Geoffrey Biggs',
author_email='git@killbots.net',
url='http://github.com/gbiggs/pykg-config',
license='BSD',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development',
'Topic :: Utilities'
],
packages=['pykg_config'],
scripts=scripts
)
| #!/usr/bin/env python
# Copyright (c) 2009-2012, Geoffrey Biggs
# 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 the Geoffrey Biggs 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 THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
__version__ = "$Revision: $"
# $Source$
from distutils.core import setup
import sys
scripts = ['pykg-config.py']
if sys.platform == 'win32':
scripts.append('pkg-config.bat')
setup(name='pykg-config',
version='1.1.0',
description='pkg-config replacement.',
author='Geoffrey Biggs',
author_email='git@killbots.net',
url='http://github.com/gbiggs/pykg-config',
license='BSD',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development',
'Topic :: Utilities'
],
packages=['pykg_config'],
scripts=scripts
)
| bsd-3-clause | Python |
46a715545e70e04cd56f97ac8d14f325b4439554 | Add six module as require package | winfieldco/django-dbsettings,DjangoAdminHackers/django-dbsettings,nwaxiomatic/django-dbsettings,zlorf/django-dbsettings,sciyoshi/django-dbsettings,sciyoshi/django-dbsettings,johnpaulett/django-dbsettings,nwaxiomatic/django-dbsettings,johnpaulett/django-dbsettings,winfieldco/django-dbsettings,zlorf/django-dbsettings,helber/django-dbsettings,helber/django-dbsettings,DjangoAdminHackers/django-dbsettings | setup.py | setup.py | from setuptools import setup, find_packages
# Dynamically calculate the version based on dbsettings.VERSION
version_tuple = (0, 7, None)
if version_tuple[2] is not None:
if type(version_tuple[2]) == int:
version = "%d.%d.%s" % version_tuple
else:
version = "%d.%d_%s" % version_tuple
else:
version = "%d.%d" % version_tuple[:2]
setup(
name='django-dbsettings',
version=version,
description='Application settings whose values can be updated while a project is up and running.',
long_description=open('README.rst').read(),
author='Samuel Cormier-Iijima',
author_email='sciyoshi@gmail.com',
maintainer='Jacek Tomaszewski',
maintainer_email='jacek.tomek@gmail.com',
url='http://github.com/zlorf/django-dbsettings',
packages=find_packages(),
include_package_data=True,
license='BSD',
install_requires=(
'six',
),
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities'
],
)
| from setuptools import setup, find_packages
# Dynamically calculate the version based on dbsettings.VERSION
version_tuple = (0, 7, None)
if version_tuple[2] is not None:
if type(version_tuple[2]) == int:
version = "%d.%d.%s" % version_tuple
else:
version = "%d.%d_%s" % version_tuple
else:
version = "%d.%d" % version_tuple[:2]
setup(
name='django-dbsettings',
version=version,
description='Application settings whose values can be updated while a project is up and running.',
long_description=open('README.rst').read(),
author='Samuel Cormier-Iijima',
author_email='sciyoshi@gmail.com',
maintainer='Jacek Tomaszewski',
maintainer_email='jacek.tomek@gmail.com',
url='http://github.com/zlorf/django-dbsettings',
packages=find_packages(),
include_package_data=True,
license='BSD',
install_requires=(
),
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities'
],
)
| bsd-3-clause | Python |
83c557d8109ced5cdf38f968ca7e31adab52ba68 | Support for python < 2.7 | repejota/subcmd,repejota/subcmd,repejota/subcmd | setup.py | setup.py | #
## BEGIN LICENSE BLOCK
#
# Copyright (c) <2012>, Raul Perez <repejota@gmail.com>
# 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 the <organization> 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 THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> 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.
#
## END LICENSE BLOCK
#
from setuptools import setup, find_packages
from sys import version_info
PROJECT = "subcmd"
with open('README.rst') as f:
README = f.read()
with open('LICENSE') as f:
LICENSE = f.read()
with open('VERSION') as f:
VERSION = f.read()
install_requires = []
if version_info < (2, 7) or (3, 0) <= version_info < (3, 2):
install_requires += ['argparse']
setup(
name=PROJECT,
version=VERSION,
description='A Python module that implements subcommands CLI pattern.',
long_description=README,
author='Raul Perez',
author_email='repejota@gmail.com',
url='https://github.com/repejota/subcmd',
license=LICENSE,
packages=find_packages(exclude=('tests', 'docs')),
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
platforms=['Any'],
scripts=[],
provides=['subcmd',],
install_requires=install_requires,
namespace_packages=[],
zip_safe=False,
)
| #
## BEGIN LICENSE BLOCK
#
# Copyright (c) <2012>, Raul Perez <repejota@gmail.com>
# 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 the <organization> 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 THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
# ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> 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.
#
## END LICENSE BLOCK
#
from setuptools import setup, find_packages
PROJECT = "subcmd"
with open('README.rst') as f:
README = f.read()
with open('LICENSE') as f:
LICENSE = f.read()
with open('VERSION') as f:
VERSION = f.read()
setup(
name=PROJECT,
version=VERSION,
description='A Python module that implements subcommands CLI pattern.',
long_description=README,
author='Raul Perez',
author_email='repejota@gmail.com',
url='https://github.com/repejota/subcmd',
license=LICENSE,
packages=find_packages(exclude=('tests', 'docs')),
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
platforms=['Any'],
scripts=[],
provides=['subcmd',],
install_requires=[],
namespace_packages=[],
zip_safe=False,
) | bsd-3-clause | Python |
9568f134c9a3f8ff4ccb6e9f4fd9e1cfc9d48c77 | bump to version 0.3 | beaufour/mtop | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(
name='mtop',
version='0.3',
url='https://github.com/beaufour/mtop',
author='Allan Beaufour',
description='mtop is a top like tool for MongoDB.',
zip_safe=False,
install_requires=[
'pymongo'
],
entry_points = {
'console_scripts': [
'mtop = mtop:main'
],
}
)
| #!/usr/bin/env python
from setuptools import setup
setup(
name='mtop',
version='0.2',
url='https://github.com/beaufour/mtop',
author='Allan Beaufour',
description='mtop is a top like tool for MongoDB.',
zip_safe=False,
install_requires=[
'pymongo'
],
entry_points = {
'console_scripts': [
'mtop = mtop:main'
],
}
)
| apache-2.0 | Python |
438d1faf1d917eb6149497b240b393f482343edd | add pip call to setup | schae234/LocusPocus,LinkageIO/LocusPocus | setup.py | setup.py | #!/usr/bin/env python3
from setuptools import setup, find_packages, Extension
from Cython.Distutils import build_ext
import io
import os
import re
import numpy
from setuptools.command.develop import develop
from setuptools.command.install import install
from subprocess import check_call
class PostDevelopCommand(develop):
"""Post-installation for development mode."""
def run(self):
print('Running post-installation setup')
check_call('''\
pip install -r requirements.txt
'''.split())
develop.run(self)
class PostInstallCommand(install):
"""Post-installation for installation mode."""
def run(self):
print('Running post-installation setup')
check_call('''\
pip install -r requirements.txt
'''.split())
install.run(self)
def read(*names, **kwargs):
with io.open(
os.path.join(os.path.dirname(__file__), *names),
encoding=kwargs.get("encoding", "utf8")
) as fp:
return fp.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.")
locusdist = Extension(
'locuspocus.LocusDist',
sources=['locuspocus/LocusDist.pyx'],
# extra_compile_args=['-ffast-math'],
include_dirs=[numpy.get_include()]
)
setup(
name = 'locuspocus',
version = find_version('locuspocus','__init__.py'),
packages = find_packages(),
scripts = [],
ext_modules = [locusdist],
cmdclass = {
'build_ext' : build_ext,
'develop': PostDevelopCommand,
'install': PostInstallCommand,
},
package_data = {
'':['*.cyx']
},
install_requires = [
'cython>=0.16',
'numpy>=1.9.1'
],
include_package_data=True,
author = 'Rob Schaefer',
author_email = 'rob@linkage.io',
description = 'Genetic coordinates so easy, it seems like MAGIC!',
license = "Copyright Linkage Analytics 2017. MIT License",
url = 'linkage.io',
)
| #!/usr/bin/env python3
from setuptools import setup, find_packages, Extension
from Cython.Distutils import build_ext
import io
import os
import re
import numpy
from setuptools.command.develop import develop
from setuptools.command.install import install
from subprocess import check_call
class PostDevelopCommand(develop):
"""Post-installation for development mode."""
def run(self):
print('Running post-installation setup')
check_call('''\
pip install -r requirements.txt
'''.split())
develop.run(self)
class PostInstallCommand(install):
"""Post-installation for installation mode."""
def run(self):
print('Running post-installation setup')
check_call('''\
pip install -r requirements.txt
'''.split())
install.run(self)
def read(*names, **kwargs):
with io.open(
os.path.join(os.path.dirname(__file__), *names),
encoding=kwargs.get("encoding", "utf8")
) as fp:
return fp.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.")
locusdist = Extension(
'locuspocus.LocusDist',
sources=['locuspocus/LocusDist.pyx'],
# extra_compile_args=['-ffast-math'],
include_dirs=[numpy.get_include()]
)
setup(
name = 'locuspocus',
version = find_version('locuspocus','__init__.py'),
packages = find_packages(),
scripts = [],
ext_modules = [locusdist],
cmdclass = {
'build_ext' : build_ext,
'develop': PostDevelopCommand,
'install': PostInstallCommand,
},
package_data = {
'':['*.cyx']
},
install_requires = [
'cython>=0.16',
'numpy>=1.9.1'
],
include_package_data=True,
author = 'Rob Schaefer',
author_email = 'rob@linkage.io',
description = 'Genetic coordinates so easy, it seems like MAGIC!',
license = "Copyright Linkage Analytics 2017. MIT License",
url = 'linkage.io',
)
| mit | Python |
f9836274ee37598cba203ba543f70e56a5d66f31 | Add comment | reubano/pkutils,reubano/pkutils | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import (
absolute_import, division, print_function, with_statement,
unicode_literals)
import sys
import pkutils
import pkutils as module
from builtins import *
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
sys.dont_write_bytecode = True
py2_requirements = sorted(pkutils.parse_requirements('py2-requirements.txt'))
py3_requirements = sorted(pkutils.parse_requirements('requirements.txt'))
dev_requirements = sorted(pkutils.parse_requirements('dev-requirements.txt'))
readme = pkutils.read('README.rst')
changes = pkutils.read('CHANGES.rst').replace('.. :changelog:', '')
license = module.__license__
version = module.__version__
project = module.__title__
description = module.__description__
user = 'reubano'
# Conditional sdist dependencies:
if 'bdist_wheel' not in sys.argv and sys.version_info.major == 2:
requirements = py2_requirements
else:
requirements = py3_requirements
# Conditional bdist_wheel dependencies:
extras_require = sorted(set(py2_requirements).difference(py3_requirements))
setup(
name=project,
version=version,
description=description,
long_description=readme,
author=module.__author__,
author_email=module.__email__,
url=pkutils.get_url(project, user),
download_url=pkutils.get_dl_url(project, user, version),
py_modules=['pkutils'],
include_package_data=True,
package_data={},
install_requires=requirements,
extras_require={':python_version<"3.0"': extras_require},
test_suite='nose.collector',
tests_require=dev_requirements,
license=license,
zip_safe=False,
keywords=description.split(' '),
classifiers=[
pkutils.LICENSES[license],
pkutils.get_status(version),
'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',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries :: Python Modules',
'Intended Audience :: Developers',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
],
platforms=['MacOS X', 'Windows', 'Linux'],
)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
from __future__ import (
absolute_import, division, print_function, with_statement,
unicode_literals)
import sys
import pkutils
import pkutils as module
from builtins import *
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
sys.dont_write_bytecode = True
py2_requirements = sorted(pkutils.parse_requirements('py2-requirements.txt'))
py3_requirements = sorted(pkutils.parse_requirements('requirements.txt'))
dev_requirements = sorted(pkutils.parse_requirements('dev-requirements.txt'))
readme = pkutils.read('README.rst')
changes = pkutils.read('CHANGES.rst').replace('.. :changelog:', '')
license = module.__license__
version = module.__version__
project = module.__title__
description = module.__description__
user = 'reubano'
# Conditional sdist dependencies:
if 'bdist_wheel' not in sys.argv and sys.version_info.major == 2:
requirements = py2_requirements
else:
requirements = py3_requirements
extras_require = sorted(set(py2_requirements).difference(py3_requirements))
setup(
name=project,
version=version,
description=description,
long_description=readme,
author=module.__author__,
author_email=module.__email__,
url=pkutils.get_url(project, user),
download_url=pkutils.get_dl_url(project, user, version),
py_modules=['pkutils'],
include_package_data=True,
package_data={},
install_requires=requirements,
extras_require={':python_version<"3.0"': extras_require},
test_suite='nose.collector',
tests_require=dev_requirements,
license=license,
zip_safe=False,
keywords=description.split(' '),
classifiers=[
pkutils.LICENSES[license],
pkutils.get_status(version),
'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',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries :: Python Modules',
'Intended Audience :: Developers',
'Operating System :: POSIX :: Linux',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
],
platforms=['MacOS X', 'Windows', 'Linux'],
)
| mit | Python |
cbc626cc25ce15556ae71a754a2b4aec0905cb66 | Add more Classifiers ;) | Alir3z4/django-cuser | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='django-cuser',
version=".".join(map(str, __import__("cuser").__version__)),
description='Middleware to make user information always available.',
long_description=open('README.rst').read(),
author='Alireza Savand',
author_email='alireza.savand@gmail.com',
url='https://github.com/Alir3z4/django-cuser',
packages=find_packages(exclude=["django_cuser"]),
install_requires=['Django>=1.5'],
classifiers=[
"Classifier: Development Status :: 5 - Production/Stable",
"Classifier: Development Status :: 6 - Mature",
"Classifier: Environment :: Web Environment",
"Classifier: Framework :: Django",
"Classifier: Intended Audience :: Developers",
"Classifier: License :: OSI Approved :: BSD License",
"Classifier: Operating System :: OS Independent",
"Classifier: Programming Language :: Python",
"Classifier: Programming Language :: Python :: 2",
"Classifier: Programming Language :: Python :: 2.7",
"Classifier: Programming Language :: Python :: 3",
"Classifier: Programming Language :: Python :: 3.0",
"Classifier: Programming Language :: Python :: 3.1",
"Classifier: Programming Language :: Python :: 3.2",
"Classifier: Programming Language :: Python :: 3.3",
"Classifier: Programming Language :: Python :: 3.4",
"Classifier: Topic :: Software Development",
"Classifier: Topic :: Software Development :: Libraries",
],
)
| from setuptools import setup, find_packages
setup(
name='django-cuser',
version=".".join(map(str, __import__("cuser").__version__)),
description='Middleware to make user information always available.',
long_description=open('README.rst').read(),
author='Alireza Savand',
author_email='alireza.savand@gmail.com',
url='https://github.com/Alir3z4/django-cuser',
packages=find_packages(exclude=["django_cuser"]),
install_requires=['Django>=1.5'],
classifiers=[
"Programming Language :: Python",
"Framework :: Django",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Topic :: Software Development"
],
)
| bsd-3-clause | Python |
f22993b46f7a3d72bdf151209013c470756fdaae | Remove requests from setup.py | mpkato/openliveq | setup.py | setup.py | # -*- coding:utf-8 -*-
from setuptools import setup
setup(
name = "openliveq",
packages = ["openliveq", "openliveq.nlp", "openliveq.features"],
version = "0.0.1",
description = "Package for NTCIR-13 OpenLiveQ",
author = "Makoto P. Kato",
author_email = "kato@dl.kuis.kyoto-u.ac.jp",
license = "MIT License",
url = "https://github.com/mpkato/openliveq",
install_requires = [],
tests_require=['pytest'],
)
| # -*- coding:utf-8 -*-
from setuptools import setup
setup(
name = "openliveq",
packages = ["openliveq", "openliveq.nlp", "openliveq.features"],
version = "0.0.1",
description = "Package for NTCIR-13 OpenLiveQ",
author = "Makoto P. Kato",
author_email = "kato@dl.kuis.kyoto-u.ac.jp",
license = "MIT License",
url = "https://github.com/mpkato/openliveq",
install_requires = [
'requests'
],
tests_require=['pytest'],
)
| mit | Python |
4c3f147c7e1ee240deaed035de0c78ca7505011b | Bump version to 1.0.5 | jwjohns/facepy,buzzfeed/facepy,jgorset/facepy,Spockuto/facepy,jwjohns/facepy,merwok-forks/facepy,liorshahverdi/facepy | setup.py | setup.py | from setuptools import setup
readme = open('README.rst').read()
history = open('CHANGELOG.md').read()
# Loading the version with ``from facepy import __version__`` will
# cause setuptools to attempt to import dependencies that we have no
# guarantee exist on the system yet, so we'll have to use ``execfile`` to
# import the file that contains the version specifically.
setup(
name='facepy',
version='1.0.5', # flake8: noqa
description='Facepy makes it really easy to interact with Facebook\'s Graph API',
long_description=readme + '\n\n' + history,
author='Johannes Gorset',
author_email='jgorset@gmail.com',
url='http://github.com/jgorset/facepy',
packages=['facepy'],
install_requires=['requests >=0.8', 'six >= 1.6'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7'
],
zip_safe=False
)
| from setuptools import setup
readme = open('README.rst').read()
history = open('CHANGELOG.md').read()
# Loading the version with ``from facepy import __version__`` will
# cause setuptools to attempt to import dependencies that we have no
# guarantee exist on the system yet, so we'll have to use ``execfile`` to
# import the file that contains the version specifically.
setup(
name='facepy',
version='1.0.4', # flake8: noqa
description='Facepy makes it really easy to interact with Facebook\'s Graph API',
long_description=readme + '\n\n' + history,
author='Johannes Gorset',
author_email='jgorset@gmail.com',
url='http://github.com/jgorset/facepy',
packages=['facepy'],
install_requires=['requests >=0.8', 'six >= 1.6'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7'
],
zip_safe=False
)
| mit | Python |
e7bc55009cf3b7eb5a7cd6d6c48a6a36d1cbe5e8 | Change author_email | Tijndagamer/MPU-6050-Python,Tijndagamer/mpu6050 | setup.py | setup.py | from setuptools import setup
def readme():
with open('README.rst') as f:
return f.read()
setup(name='mpu6050-raspberrypi',
version='1.0.3.3',
description='A Python module for accessing the MPU-6050 digital accelerometer and gyroscope on a Raspberry Pi.',
classifiers=[
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 2.7',
],
keywords='mpu6050 raspberry',
url='https://github.com/Tijndagamer/mpu6050',
author='MrTijn/Tijndagamer',
author_email='mrtijn@riseup.net',
license='MIT',
packages=['mpu6050'],
install_requires=['smbus-cffi'],
scripts=['bin/mpu6050-example'],
zip_safe=False,
long_description=readme())
| from setuptools import setup
def readme():
with open('README.rst') as f:
return f.read()
setup(name='mpu6050-raspberrypi',
version='1.0.3.3',
description='A Python module for accessing the MPU-6050 digital accelerometer and gyroscope on a Raspberry Pi.',
classifiers=[
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 2.7',
],
keywords='mpu6050 raspberry',
url='https://github.com/Tijndagamer/mpu6050',
author='MrTijn/Tijndagamer',
author_email='tijndagamer25@gmail.com',
license='MIT',
packages=['mpu6050'],
install_requires=['smbus-cffi'],
scripts=['bin/mpu6050-example'],
zip_safe=False,
long_description=readme())
| mit | Python |
85f1a3790c0c230319585f9198be3cf34b120ee7 | Bump version | cosmic-api/cosmic.py | setup.py | setup.py | #!/usr/bin/python
from setuptools import setup
with open("README.rst") as readme:
long_description = readme.read()
setup(
name = 'apio',
version = "0.0.4",
packages = ['apio'],
description = 'Human-friendly APIs',
license = "MIT",
author_email = "alexei.boronine@gmail.com",
long_description = long_description,
install_requires = [
"Flask==0.9",
"jsonpointer==0.3",
"requests==0.14.2",
"mock==1.0.1",
"jsonschema",
],
dependency_links = [
"http://github.com/boronine/jsonschema/tarball\
/391916e71b946db3bf5d92cbb767f620a869fc82#egg=jsonschema"
]
)
| #!/usr/bin/python
from setuptools import setup
with open("README.rst") as readme:
long_description = readme.read()
setup(
name = 'apio',
version = "0.0.3",
packages = ['apio'],
description = 'Human-friendly APIs',
license = "MIT",
author_email = "alexei.boronine@gmail.com",
long_description = long_description,
install_requires = [
"Flask==0.9",
"jsonpointer==0.3",
"requests==0.14.2",
"mock==1.0.1",
"jsonschema",
],
dependency_links = [
"http://github.com/boronine/jsonschema/tarball\
/391916e71b946db3bf5d92cbb767f620a869fc82#egg=jsonschema"
]
)
| mit | Python |
78c545551e7aef95aa4c0f441e8da1c98684445a | Add details to setup.py | Wiston999/python-rubik | setup.py | setup.py | from pip.req import parse_requirements
from setuptools import setup, find_packages
from os import path
from codecs import open
__author__ = 'Victor Cabezas'
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
install_reqs = [str(r.req) for r in parse_requirements('requirements.txt', session='hack')]
setup(
name='rubik_solver',
author='Victor Cabezas',
author_email='wiston666@gmail.com',
version='0.0.2',
description='Rubik solver algorithms',
long_description=long_description,
url='https://github.com/Wiston999/python-rubik',
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
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
],
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
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=install_reqs,
scripts=['rubik.py']
)
| from pip.req import parse_requirements
from setuptools import setup, find_packages
from os import path
from codecs import open
__author__ = 'Victor Cabezas'
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
install_reqs = [str(r.req) for r in parse_requirements('requirements.txt', session='hack')]
setup(
name='rubik_solver',
version='0.0.1',
description='Rubik solver algorithms',
long_description=long_description,
url='',
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
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
],
# You can just specify the packages manually here if your project is
# simple. Or you can use find_packages().
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=install_reqs,
scripts=['rubik.py']
) | mit | Python |
6a7ba2d366424d50b75dd97748c3a94aae96b7dd | Increment version in preperation for release of version 1.3.0 | chrisb2/pi_ina219 | setup.py | setup.py | try:
# Try using ez_setup to install setuptools if not already installed.
from ez_setup import use_setuptools
use_setuptools()
except ImportError:
# Ignore import error and assume Python 3 which already has setuptools.
pass
from setuptools import setup
DESC = ('This Python library for Raspberry Pi makes it easy to leverage the '
'complex functionality of the Texas Instruments INA219 '
'sensor to measure voltage, current and power.')
classifiers = ['Development Status :: 4 - Beta',
'Operating System :: POSIX :: Linux',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Topic :: System :: Hardware :: Hardware Drivers']
# Define required packages.
requires = ['Adafruit_GPIO', 'mock']
def read_long_description():
try:
import pypandoc
return pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
return ""
setup(name='pi-ina219',
version='1.3.0',
author='Chris Borrill',
author_email='chris.borrill@gmail.com',
description=DESC,
long_description=read_long_description(),
license='MIT',
url='https://github.com/chrisb2/pi_ina219/',
classifiers=classifiers,
keywords='ina219 raspberrypi',
install_requires=requires,
test_suite='tests',
py_modules=['ina219'])
| try:
# Try using ez_setup to install setuptools if not already installed.
from ez_setup import use_setuptools
use_setuptools()
except ImportError:
# Ignore import error and assume Python 3 which already has setuptools.
pass
from setuptools import setup
DESC = ('This Python library for Raspberry Pi makes it easy to leverage the '
'complex functionality of the Texas Instruments INA219 '
'sensor to measure voltage, current and power.')
classifiers = ['Development Status :: 4 - Beta',
'Operating System :: POSIX :: Linux',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Topic :: System :: Hardware :: Hardware Drivers']
# Define required packages.
requires = ['Adafruit_GPIO', 'mock']
def read_long_description():
try:
import pypandoc
return pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
return ""
setup(name='pi-ina219',
version='1.2.0',
author='Chris Borrill',
author_email='chris.borrill@gmail.com',
description=DESC,
long_description=read_long_description(),
license='MIT',
url='https://github.com/chrisb2/pi_ina219/',
classifiers=classifiers,
keywords='ina219 raspberrypi',
install_requires=requires,
test_suite='tests',
py_modules=['ina219'])
| mit | Python |
c823fb917b94d02d17c8ddb96758cfa72d69d529 | bump version to 0.6.0 | williballenthin/python-evtx | setup.py | setup.py | #!/usr/bin/env python
import setuptools
long_description = """python-evtx is a pure Python parser for \
Windows Event Log files (those with the file extension ".evtx"). \
The module provides programmatic access to the File and Chunk headers, \
record templates, and event entries. For example, you can use \
python-evtx to review the event logs of Windows 7 systems from \
a Mac or Linux workstation. The structure definitions and parsing \
strategies were heavily inspired by the work of Andreas Schuster \
and his Perl implementation "Parse-Evtx"."""
setuptools.setup(
name="python-evtx",
version="0.6.0",
description="Pure Python parser for recent Windows event log files (.evtx).",
long_description=long_description,
author="Willi Ballenthin",
author_email="willi.ballenthin@gmail.com",
url="https://github.com/williballenthin/python-evtx",
license="Apache 2.0 License",
packages=setuptools.find_packages(),
install_requires=[
'six',
'pytest',
'hexdump',
'pytest-cov',
],
scripts=['scripts/evtx_dump.py',
'scripts/evtx_dump_chunk_slack.py',
'scripts/evtx_eid_record_numbers.py',
'scripts/evtx_extract_record.py',
'scripts/evtx_filter_records.py',
'scripts/evtx_info.py',
'scripts/evtx_record_structure.py',
'scripts/evtx_structure.py',
'scripts/evtx_templates.py',
],
)
| #!/usr/bin/env python
import setuptools
long_description = """python-evtx is a pure Python parser for \
Windows Event Log files (those with the file extension ".evtx"). \
The module provides programmatic access to the File and Chunk headers, \
record templates, and event entries. For example, you can use \
python-evtx to review the event logs of Windows 7 systems from \
a Mac or Linux workstation. The structure definitions and parsing \
strategies were heavily inspired by the work of Andreas Schuster \
and his Perl implementation "Parse-Evtx"."""
setuptools.setup(
name="python-evtx",
version="0.5.3",
description="Pure Python parser for recent Windows event log files (.evtx).",
long_description=long_description,
author="Willi Ballenthin",
author_email="willi.ballenthin@gmail.com",
url="https://github.com/williballenthin/python-evtx",
license="Apache 2.0 License",
packages=setuptools.find_packages(),
install_requires=[
'six',
'pytest',
'hexdump',
'pytest-cov',
],
scripts=['scripts/evtx_dump.py',
'scripts/evtx_dump_chunk_slack.py',
'scripts/evtx_eid_record_numbers.py',
'scripts/evtx_extract_record.py',
'scripts/evtx_filter_records.py',
'scripts/evtx_info.py',
'scripts/evtx_record_structure.py',
'scripts/evtx_structure.py',
'scripts/evtx_templates.py',
],
)
| apache-2.0 | Python |
e3d3a067f31a63dbbd30464497944beba03c7b78 | Declare package classifiers. | google/python-gflags | setup.py | setup.py | #!/usr/bin/env python
# Copyright 2007 Google Inc. 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 Google Inc. 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 THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
"""Setup module for python-gflags."""
from distutils.core import setup
setup(name='python-gflags',
version='3.0.5',
description='Google Commandline Flags Module',
license='BSD',
author='Google Inc. and others',
author_email='google-gflags@googlegroups.com',
url='https://github.com/google/python-gflags',
packages=['gflags', 'gflags.third_party', 'gflags.third_party.pep257'],
data_files=[('bin', ['gflags2man.py'])],
classifiers=[
'Programming Language :: Python :: 2 :: Only',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
]
)
| #!/usr/bin/env python
# Copyright 2007 Google Inc. 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 Google Inc. 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 THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
"""Setup module for python-gflags."""
from distutils.core import setup
setup(name='python-gflags',
version='3.0.5',
description='Google Commandline Flags Module',
license='BSD',
author='Google Inc. and others',
author_email='google-gflags@googlegroups.com',
url='https://github.com/google/python-gflags',
packages=['gflags', 'gflags.third_party', 'gflags.third_party.pep257'],
data_files=[('bin', ['gflags2man.py'])],
)
| bsd-3-clause | Python |
bb59f20890de399971163a4284ed02676dc1c989 | add psutil to setup.py | genome/flow-core,genome/flow-core,genome/flow-core | setup.py | setup.py | from setuptools import setup, find_packages
entry_points = '''
[console_scripts]
flow = flow.main:main
[flow.commands]
set-token = flow.commands.set_token:SetTokenCommand
orchestrator = flow.orchestrator.command:OrchestratorCommand
fork-shell-command-service = flow.shell_command.commands.fork_service:ForkShellCommand
lsf-shell-command-service = flow.shell_command.commands.lsf_service:LSFShellCommand
lsf-post-exec = flow.shell_command.commands.lsf_post_exec:LsfPostExecCommand
shell-command-wrapper = flow.shell_command.commands.wrapper:WrapperCommand
configure_rabbitmq = flow.commands.configurerabbitmq:ConfigureRabbitMQCommand
console = flow.commands.console:ConsoleCommand
graph = flow.commands.graph:GraphCommand
[flow.services]
orchestrator = flow.orchestrator.service_interface:OrchestratorServiceInterface
fork = flow.shell_command.service_interface:ForkShellCommandServiceInterface
lsf = flow.shell_command.service_interface:LSFShellCommandServiceInterface
'''
setup(
name = 'flow',
version = '0.1',
packages = find_packages(exclude=[
'unit_tests',
'integration_tests',
'system_tests',
'test_helpers'
]),
entry_points = entry_points,
install_requires = [
'blist',
'hiredis',
'injector',
'python-magic==0.4.3',
'psutil==0.7.0',
'ipython',
'pika',
'platform-python-lsf-api',
'pygraphviz',
'pyyaml',
'redis',
'statsd-client',
'twisted',
],
setup_requires = [
'nose',
],
tests_require = [
'mock',
'nose',
'coverage',
'fakeredis',
],
test_suite = 'unit_tests',
)
| from setuptools import setup, find_packages
entry_points = '''
[console_scripts]
flow = flow.main:main
[flow.commands]
set-token = flow.commands.set_token:SetTokenCommand
orchestrator = flow.orchestrator.command:OrchestratorCommand
fork-shell-command-service = flow.shell_command.commands.fork_service:ForkShellCommand
lsf-shell-command-service = flow.shell_command.commands.lsf_service:LSFShellCommand
lsf-post-exec = flow.shell_command.commands.lsf_post_exec:LsfPostExecCommand
shell-command-wrapper = flow.shell_command.commands.wrapper:WrapperCommand
configure_rabbitmq = flow.commands.configurerabbitmq:ConfigureRabbitMQCommand
console = flow.commands.console:ConsoleCommand
graph = flow.commands.graph:GraphCommand
[flow.services]
orchestrator = flow.orchestrator.service_interface:OrchestratorServiceInterface
fork = flow.shell_command.service_interface:ForkShellCommandServiceInterface
lsf = flow.shell_command.service_interface:LSFShellCommandServiceInterface
'''
setup(
name = 'flow',
version = '0.1',
packages = find_packages(exclude=[
'unit_tests',
'integration_tests',
'system_tests',
'test_helpers'
]),
entry_points = entry_points,
install_requires = [
'blist',
'hiredis',
'injector',
'python-magic==0.4.3',
'ipython',
'pika',
'platform-python-lsf-api',
'pygraphviz',
'pyyaml',
'redis',
'statsd-client',
'twisted',
],
setup_requires = [
'nose',
],
tests_require = [
'mock',
'nose',
'coverage',
'fakeredis',
],
test_suite = 'unit_tests',
)
| agpl-3.0 | Python |
ac5987190998e27b62b0be3c5c9650a9bb8c92fe | Update setup.py metadata | MichaelAquilina/s3backup,MichaelAquilina/s3backup | setup.py | setup.py | # !/usr/bin/env python
from distutils.core import setup
setup(
name='s3backup',
packages=[],
version='0.1.0',
description='Autosync your folders to s3 between multiple machines',
author='Michael Aquilina',
license='MIT',
author_email='michaelaquilina@gmail.com',
url='https://github.com/MichaelAquilina/s3backup',
keywords=['aws', 's3', 'backup'],
classifiers=[
'Environment :: Console',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
],
)
| # !/usr/bin/env python
from distutils.core import setup
setup(
name='s3backup',
packages=[],
version='0.1.0',
description='Cookiecutter template for a Python package',
author='Michael Aquilina',
license='BSD',
author_email='michaelaquilina@gmail.com',
url='https://github.com/audreyr/cookiecutter-pypackage',
keywords=['aws', 's3', 'backup'],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development',
],
)
| mit | Python |
af3614ec5e78e04bd473bc648806615c7dc026c7 | Fix package list | glidernet/python-ogn-client | setup.py | setup.py | #!/usr/bin/env python3
from os import path
from setuptools import setup, find_packages
from ogn.client.settings import PACKAGE_VERSION
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='ogn-client',
version=PACKAGE_VERSION,
description='A python module for the Open Glider Network',
long_description=long_description,
url='https://github.com/glidernet/python-ogn-client',
author='Konstantin Gründger aka Meisterschueler, Fabian P. Schmidt aka kerel',
author_email='kerel-fs@gmx.de',
license='AGPLv3',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: GIS',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='gliding ogn',
packages=['ogn.{}'.format(package) for package in find_packages(where='ogn')],
install_requires=[],
extras_require={
'dev': [
'nose==1.3.7',
'coveralls==0.4.4',
'flake8==2.5.0'
]
},
zip_safe=False
)
| #!/usr/bin/env python3
from os import path
from setuptools import setup
from ogn.client.settings import PACKAGE_VERSION
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='ogn-client',
version=PACKAGE_VERSION,
description='A python module for the Open Glider Network',
long_description=long_description,
url='https://github.com/glidernet/python-ogn-client',
author='Konstantin Gründger aka Meisterschueler, Fabian P. Schmidt aka kerel',
author_email='kerel-fs@gmx.de',
license='AGPLv3',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: GIS',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='gliding ogn',
packages=['ogn.parser', 'ogn.client'],
install_requires=[],
extras_require={
'dev': [
'nose==1.3.7',
'coveralls==0.4.4',
'flake8==2.5.0'
]
},
zip_safe=False
)
| agpl-3.0 | Python |
4efae27e6f7d134b8b9a763173ffa5db2b99e0d7 | Add explicit dependency on asn1crypto to setup.py (#87) | XML-Security/signxml,XML-Security/signxml,kislyuk/signxml | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='signxml',
version="2.3.0",
url='https://github.com/kislyuk/signxml',
license='Apache Software License',
author='Andrey Kislyuk',
author_email='kislyuk@gmail.com',
description='Python XML Signature library',
long_description=open('README.rst').read(),
install_requires=[
'lxml >= 3.5.0, < 4',
'defusedxml >= 0.4.1, < 0.6',
'eight >= 0.3.0, < 0.5',
'cryptography >= 1.8, < 1.9',
'asn1crypto >= 0.21.0',
'pyOpenSSL >= 0.15.1, < 18',
'certifi >= 2015.11.20.1'
],
extras_require={
':python_version == "2.7"': ['enum34 >= 1.0.4'],
':python_version == "3.3"': ['enum34 >= 1.0.4']
},
packages=find_packages(exclude=['test']),
platforms=['MacOS X', 'Posix'],
package_data={'signxml': ['schemas/*.xsd']},
zip_safe=False,
include_package_data=True,
test_suite='test',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
| #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='signxml',
version="2.3.0",
url='https://github.com/kislyuk/signxml',
license='Apache Software License',
author='Andrey Kislyuk',
author_email='kislyuk@gmail.com',
description='Python XML Signature library',
long_description=open('README.rst').read(),
install_requires=[
'lxml >= 3.5.0, < 4',
'defusedxml >= 0.4.1, < 0.6',
'eight >= 0.3.0, < 0.5',
'cryptography >= 1.8, < 1.9',
'pyOpenSSL >= 0.15.1, < 18',
'certifi >= 2015.11.20.1'
],
extras_require={
':python_version == "2.7"': ['enum34 >= 1.0.4'],
':python_version == "3.3"': ['enum34 >= 1.0.4']
},
packages=find_packages(exclude=['test']),
platforms=['MacOS X', 'Posix'],
package_data={'signxml': ['schemas/*.xsd']},
zip_safe=False,
include_package_data=True,
test_suite='test',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: POSIX',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
| apache-2.0 | Python |
279eb0b534641e01a7bba601346f4d7d495c7865 | Bump version for pypitest | clara-labs/spherecluster | setup.py | setup.py | from __future__ import print_function
import sys
from setuptools import setup, find_packages
with open('requirements.txt') as f:
INSTALL_REQUIRES = [l.strip() for l in f.readlines() if l]
try:
import numpy
except ImportError:
print('numpy is required during installation')
sys.exit(1)
try:
import scipy
except ImportError:
print('scipy is required during installation')
sys.exit(1)
setup(name='spherecluster',
version='0.1.1',
description='Clustering on the unit hypersphere in scikit-learn.',
author='Jason Laska',
author_email='jason@claralabs.com',
packages=find_packages(),
install_requires=INSTALL_REQUIRES,
url='https://github.com/clara-labs/spherecluster',
license='MIT',
) | from __future__ import print_function
import sys
from setuptools import setup, find_packages
with open('requirements.txt') as f:
INSTALL_REQUIRES = [l.strip() for l in f.readlines() if l]
try:
import numpy
except ImportError:
print('numpy is required during installation')
sys.exit(1)
try:
import scipy
except ImportError:
print('scipy is required during installation')
sys.exit(1)
setup(name='spherecluster',
version='0.1.0',
description='Clustering on the unit hypersphere in scikit-learn.',
author='Jason Laska',
packages=find_packages(),
install_requires=INSTALL_REQUIRES,
author_email='jason@claralabs.com',
url='https://github.com/clara-labs/spherecluster',
) | mit | Python |
e8d479b275e490e67b81590b2f875e2cd4b1edb8 | fix url in setup | aioworkers/aioworkers,aamalev/aioworkers | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
version = __import__('aioworkers').__version__
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read()
requirements = [
]
test_requirements = [
'pytest',
]
setup(
name='aioworkers',
version=version,
description="Easy configurable workers based on asyncio",
long_description=readme + '\n\n' + history,
author="Alexander Malev",
author_email='yttrium@somedev.ru',
url='https://github.com/aioworkers/aioworkers',
packages=[i for i in find_packages() if i.startswith('aioworkers')],
include_package_data=True,
install_requires=requirements,
license="Apache Software License 2.0",
keywords='aioworkers',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
test_suite='tests',
tests_require=test_requirements,
entry_points={
'console_scripts': [
'aioworkers=aioworkers.cli:main_with_conf'
]
},
)
| #!/usr/bin/env python
from setuptools import setup, find_packages
version = __import__('aioworkers').__version__
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read()
requirements = [
]
test_requirements = [
'pytest',
]
setup(
name='aioworkers',
version=version,
description="Easy configurable workers based on asyncio",
long_description=readme + '\n\n' + history,
author="Alexander Malev",
author_email='yttrium@somedev.ru',
url='https://github.com/aamalev/aioworkers',
packages=[i for i in find_packages() if i.startswith('aioworkers')],
include_package_data=True,
install_requires=requirements,
license="Apache Software License 2.0",
keywords='aioworkers',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
test_suite='tests',
tests_require=test_requirements,
entry_points={
'console_scripts': [
'aioworkers=aioworkers.cli:main_with_conf'
]
},
)
| apache-2.0 | Python |
ac1d09e7146216f5df08156cf50df54237c0576c | Bump version | lincolnloop/salmon,lincolnloop/salmon | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='salmon',
version='0.3.0-dev',
description="A simple metric collector with alerts.",
long_description=open('README.rst').read(),
author="Peter Baumgarter",
author_email='pete@lincolnloop.com',
url='https://github.com/lincolnloop/salmon',
license='BSD',
install_requires=[
'django==1.6.1',
'djangorestframework==2.3.9',
'South==0.8.3',
'logan==0.5.9.1',
'gunicorn==18.0',
'whisper==0.9.10',
'dj-static==0.0.5',
'pytz',
],
entry_points={
'console_scripts': [
'salmon = salmon.core.runner:main',
],
},
packages=find_packages(),
include_package_data=True,
zip_safe=False,
)
| #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='salmon',
version='0.2.0',
description="A simple metric collector with alerts.",
long_description=open('README.rst').read(),
author="Peter Baumgarter",
author_email='pete@lincolnloop.com',
url='https://github.com/lincolnloop/salmon',
license='BSD',
install_requires=[
'django==1.6.1',
'djangorestframework==2.3.9',
'South==0.8.3',
'logan==0.5.9.1',
'gunicorn==18.0',
'whisper==0.9.10',
'dj-static==0.0.5',
'pytz',
],
entry_points={
'console_scripts': [
'salmon = salmon.core.runner:main',
],
},
packages=find_packages(),
include_package_data=True,
zip_safe=False,
)
| bsd-3-clause | Python |
d905116476fdd12d63b4bde92b5882163786eee0 | Change version to 0.7.2 | sffjunkie/astral,sffjunkie/astral | setup.py | setup.py | # Copyright 2009-2012, Simon Kennedy, code@sffjunkie.co.uk
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from distutils.core import setup
setup(name='astral',
version='0.7.2',
description='Calculations for the position of the sun and moon.',
long_description="""Sun calculations for dawn, sunrise, solar noon,
sunset, dusk, solar elevation, solar azimuth and rahukaalam.
Moon calculation for phase.
""",
author='Simon Kennedy',
author_email='code@sffjunkie.co.uk',
url="http://www.sffjunkie.co.uk/python-astral.html",
license='Apache-2.0',
package_dir={'': 'astral'},
py_modules=['astral'],
requires=['pytz'],
)
| # Copyright 2009-2012, Simon Kennedy, code@sffjunkie.co.uk
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from distutils.core import setup
setup(name='astral',
version='0.7.1',
description='Calculations for the position of the sun and moon.',
long_description="""Sun calculations for dawn, sunrise, solar noon,
sunset, dusk, solar elevation, solar azimuth and rahukaalam.
Moon calculation for phase.
""",
author='Simon Kennedy',
author_email='code@sffjunkie.co.uk',
url="http://www.sffjunkie.co.uk/python-astral.html",
license='Apache-2.0',
package_dir={'': 'astral'},
py_modules=['astral'],
requires=['pytz'],
)
| apache-2.0 | Python |
9ed9d7a73f293cfd2b83ee638b23292e3976c090 | update setup bootstrap to support coverage calls | ThreatResponse/aws_ir_plugins | setup.py | setup.py | from distutils.command.build import build
from setuptools import setup
from setuptools.command.install import install as _install
import unittest
def test_suite():
test_loader = unittest.TestLoader()
test_suite = test_loader.discover('tests', pattern='test_*.py')
return test_suite
class install(_install):
def run(self):
self.run_command('build')
_install.run(self)
setup(name="aws_ir_plugins",
version="0.0.1",
author="Andrew Krug, Alex McCormack, Joel Ferrier",
author_email="andrewkrug@gmail.com,developer@amccormack.net,joel@ferrier.io",
packages=["aws_ir_plugins"],
package_data={'aws_ir_plugins': ['templates/*.j2']},
license="MIT",
description="AWS Incident Response ToolKit Core Supported plugins",
url='https://github.com/ThreatResponse/aws_ir_plugins',
download_url="",
use_2to3=True,
test_suite=('setup.test_suite'),
install_requires=['boto3>=1.3.0',
'requests',
'jinja2'
],
tests_require=['moto',
'mock',
'magicmock'],
)
| from distutils.command.build import build
from setuptools import setup
from setuptools.command.install import install as _install
class install(_install):
def run(self):
self.run_command('build')
_install.run(self)
setup(name="aws_ir_plugins",
version="0.0.1",
author="Andrew Krug, Alex McCormack, Joel Ferrier",
author_email="andrewkrug@gmail.com,developer@amccormack.net,joel@ferrier.io",
packages=["aws_ir_plugins"],
package_data={'aws_ir_plugins': ['templates/*.j2']},
license="MIT",
description="AWS Incident Response ToolKit Core Supported plugins",
url='https://github.com/ThreatResponse/aws_ir_plugins',
download_url="",
use_2to3=True,
install_requires=['boto3>=1.3.0',
'requests',
'jinja2'
],
tests_require=['moto',
'mock',
'magicmock'],
)
| mit | Python |
df7d35c41f30445b85698f245dfdb2fe1bdb3d16 | fix mypy_extension | aodag/WebDispatch | setup.py | setup.py | import os
from setuptools import setup, find_packages
tests_require = [
"pytest",
"pytest-cov",
"testfixtures",
"webtest",
"mock",
"python-coveralls",
"flake8",
"pylint",
"mypy",
]
here = os.path.dirname(__file__)
readme = None
changes = None
def _read(name):
try:
return open(os.path.join(here, name)).read()
except:
return ""
readme = _read("README.rst")
changes = _read("CHANGES.txt")
points = {
"paste.app_factory": [
"url=webdispatch.paster:make_urldispatch_application",
],
}
setup(
name="WebDispatch",
author="Atsushi Odagiri",
author_email="aodagx@gmail.com",
description="dispatch request on wsgi application.",
long_description=readme + "\n" + changes,
test_suite="webdispatch",
license="MIT",
install_requires=[
"mypy_extensions",
],
tests_require=tests_require,
extras_require={
"testing": tests_require,
"dev": tests_require + ["towncrier"],
},
url='http://github.com/aodag/WebDispatch',
packages=find_packages(),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: WSGI',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
entry_points=points,
)
| import os
from setuptools import setup, find_packages
tests_require = [
"pytest",
"pytest-cov",
"testfixtures",
"webtest",
"mock",
"python-coveralls",
"flake8",
"pylint",
"mypy",
"mypy_extensions",
]
here = os.path.dirname(__file__)
readme = None
changes = None
def _read(name):
try:
return open(os.path.join(here, name)).read()
except:
return ""
readme = _read("README.rst")
changes = _read("CHANGES.txt")
points = {
"paste.app_factory": [
"url=webdispatch.paster:make_urldispatch_application",
],
}
setup(
name="WebDispatch",
author="Atsushi Odagiri",
author_email="aodagx@gmail.com",
description="dispatch request on wsgi application.",
long_description=readme + "\n" + changes,
test_suite="webdispatch",
license="MIT",
install_requires=[],
tests_require=tests_require,
extras_require={
"testing": tests_require,
"dev": tests_require + ["towncrier"],
},
url='http://github.com/aodag/WebDispatch',
packages=find_packages(),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: WSGI',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
'Topic :: Software Development :: Libraries',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
entry_points=points,
)
| mit | Python |
0d215f41b883d4a98f70d543485f41a9acd3e50e | Bump version | thombashi/pytablewriter | setup.py | setup.py | import io
import os.path
import setuptools
import sys
REQUIREMENT_DIR = "requirements"
ENCODING = "utf8"
needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv)
pytest_runner = ["pytest-runner"] if needs_pytest else []
with io.open("README.rst", encoding=ENCODING) as f:
long_description = f.read()
with io.open(
os.path.join("docs", "pages", "introduction", "summary.txt"),
encoding=ENCODING) as f:
summary = f.read()
with open(os.path.join(REQUIREMENT_DIR, "requirements.txt")) as f:
install_requires = [line.strip() for line in f if line.strip()]
with open(os.path.join(REQUIREMENT_DIR, "test_requirements.txt")) as f:
tests_require = [line.strip() for line in f if line.strip()]
setuptools.setup(
name="pytablewriter",
version="0.14.1",
author="Tsuyoshi Hombashi",
author_email="gogogo.vm@gmail.com",
url="https://github.com/thombashi/pytablewriter",
license="MIT License",
description=summary,
include_package_data=True,
install_requires=install_requires,
keywords=[
"table", "CSV", "Excel", "JavaScript", "JSON",
"Markdown", "MediaWiki", "HTML", "pandas", "reStructuredText",
],
long_description=long_description,
packages=setuptools.find_packages(exclude=["test*"]),
setup_requires=pytest_runner,
tests_require=tests_require,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)
| import io
import os.path
import setuptools
import sys
REQUIREMENT_DIR = "requirements"
ENCODING = "utf8"
needs_pytest = set(["pytest", "test", "ptr"]).intersection(sys.argv)
pytest_runner = ["pytest-runner"] if needs_pytest else []
with io.open("README.rst", encoding=ENCODING) as f:
long_description = f.read()
with io.open(
os.path.join("docs", "pages", "introduction", "summary.txt"),
encoding=ENCODING) as f:
summary = f.read()
with open(os.path.join(REQUIREMENT_DIR, "requirements.txt")) as f:
install_requires = [line.strip() for line in f if line.strip()]
with open(os.path.join(REQUIREMENT_DIR, "test_requirements.txt")) as f:
tests_require = [line.strip() for line in f if line.strip()]
setuptools.setup(
name="pytablewriter",
version="0.14.0",
author="Tsuyoshi Hombashi",
author_email="gogogo.vm@gmail.com",
url="https://github.com/thombashi/pytablewriter",
license="MIT License",
description=summary,
include_package_data=True,
install_requires=install_requires,
keywords=[
"table", "CSV", "Excel", "JavaScript", "JSON",
"Markdown", "MediaWiki", "HTML", "pandas", "reStructuredText",
],
long_description=long_description,
packages=setuptools.find_packages(exclude=["test*"]),
setup_requires=pytest_runner,
tests_require=tests_require,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)
| mit | Python |
75587b1515ae7c76bfe1ce28c4ce0c971ba00699 | Update troposphere version | jorgebastida/gordon,jorgebastida/gordon,jorgebastida/gordon | setup.py | setup.py | import sys
from setuptools import setup, find_packages
install_requires = [
'boto3>=1.2.3',
'clint',
'PyYAML>=3',
'troposphere>=1.6',
'Jinja2',
]
# as of Python >= 2.7 argparse module is maintained within Python.
if sys.version_info < (2, 7):
install_requires.append('argparse>=1.1.0')
setup(
name='gordon',
version='0.0.1',
url='http://github.com/jorgebastida/gordon',
license='BSD',
author='Jorge Bastida',
author_email='me@jorgebastida.com',
description='Gordon is a tool to create, wire and deploy AWS Lambdas using CloudFormation in an easy way.',
keywords="aws lambda apigateway kinesis dynamodb s3 cloudwatch",
packages=find_packages(),
platforms='any',
install_requires=install_requires,
test_suite='nose.collector',
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 2',
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Topic :: Utilities'
],
entry_points={
'console_scripts': [
'gordon = gordon.bin:main',
]
},
zip_safe=False,
use_2to3=True
)
| import sys
from setuptools import setup, find_packages
install_requires = [
'boto3>=1.2.3',
'clint',
'PyYAML>=3',
'troposphere>=1.3',
'Jinja2',
]
tests_require = [
'coverage'
]
# as of Python >= 2.7 argparse module is maintained within Python.
if sys.version_info < (2, 7):
install_requires.append('argparse>=1.1.0')
# as of Python >= 3.3 unittest.mock module is maintained within Python.
if sys.version_info < (3, 3):
tests_require.append('mock>=1.0.0')
tests_require.append('nose')
tests_require.append('cfn-response')
setup(
name='gordon',
version='0.0.1',
url='http://github.com/jorgebastida/gordon',
license='BSD',
author='Jorge Bastida',
author_email='me@jorgebastida.com',
description='Gordon is a high-level framework to create, wire and deploy AWS Lambdas in an easy way.',
keywords="aws lambda api gateway",
packages=find_packages(),
platforms='any',
install_requires=install_requires,
test_suite='nose.collector',
tests_require=tests_require,
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 2',
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Topic :: Utilities'
],
entry_points={
'console_scripts': [
'gordon = gordon.bin:main',
]
},
zip_safe=False,
use_2to3=True
)
| bsd-3-clause | Python |
946248659cbda5c8dfdc40186cfb067a112dbe70 | Bump version to 2.0.1 | itdaniher/mana,itdaniher/mana,whtsky/maga | setup.py | setup.py | from setuptools import setup
setup(
name='Maga',
version='2.0.1',
description='A DHT crawler framework using asyncio.',
long_description=open('README.rst', 'r').read(),
author='whtsky',
author_email='whtsky@gmail.com',
url='https://github.com/whtsky/maga',
license='BSDv3',
platforms='any',
zip_safe=False,
include_package_data=True,
py_modules=['maga'],
install_requires=open("requirements.txt").readlines(),
keywords=['dht', 'asyncio', 'crawler', 'bt', 'kad'],
classifiers=[
'Environment :: Other Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Cython',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
],
)
| from setuptools import setup
setup(
name='Maga',
version='2.0.0',
description='A DHT crawler framework using asyncio.',
long_description=open('README.rst', 'r').read(),
author='whtsky',
author_email='whtsky@gmail.com',
url='https://github.com/whtsky/maga',
license='BSDv3',
platforms='any',
zip_safe=False,
include_package_data=True,
py_modules=['maga'],
install_requires=open("requirements.txt").readlines(),
keywords=['dht', 'asyncio', 'crawler', 'bt', 'kad'],
classifiers=[
'Environment :: Other Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Cython',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
],
)
| bsd-3-clause | Python |
6778f18a35a7c6c736b79633e28f6cf46f3913be | add description | cyberdelia/ganglia | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='ganglia',
version='0.2.2',
packages=['ganglia',],
license='MIT',
description="A Ganglia client",
long_description=open('README.rst').read(),
author='Timothée Peignier',
author_email='timothee.peignier@tryphon.org',
test_suite='ganglia',
classifiers=[
'Intended Audience :: Developers',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Utilities',
]
)
| # -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='ganglia',
version='0.2.2',
packages=['ganglia',],
license='MIT',
long_description=open('README.rst').read(),
author='Timothée Peignier',
author_email='timothee.peignier@tryphon.org',
test_suite='ganglia',
classifiers=[
'Intended Audience :: Developers',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Utilities',
]
)
| mit | Python |
3a2c0d3a3f7de33cb4b6b7e8e9bc9a616fa14058 | increment tsuru-hm version | vfiebig/rpaas,tsuru/rpaas,vfiebig/rpaas,tsuru/rpaas | setup.py | setup.py | # -*- coding: utf-8 -*-
# Copyright 2014 hm authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
import codecs
from setuptools import setup, find_packages
from rpaas import __version__
README = codecs.open('README.rst', encoding='utf-8').read()
setup(
name="tsuru-rpaas",
version=__version__,
description="Reverse proxy as-a-service API for Tsuru PaaS",
long_description=README,
author="Tsuru",
author_email="tsuru@corp.globo.com",
classifiers=[
"Programming Language :: Python :: 2.7",
],
packages=find_packages(exclude=["docs", "tests"]),
include_package_data=True,
install_requires=[
"Flask==0.9",
"requests==2.4.3",
"gunicorn==0.17.2",
"tsuru-hm==0.2.1",
"celery[redis]",
"flower==0.7.3",
"GloboNetworkAPI==0.2.2",
],
extras_require={
'tests': [
"mock==1.0.1",
"flake8==2.1.0",
"coverage==3.7.1",
"freezegun==0.2.8",
]
},
)
| # -*- coding: utf-8 -*-
# Copyright 2014 hm authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
import codecs
from setuptools import setup, find_packages
from rpaas import __version__
README = codecs.open('README.rst', encoding='utf-8').read()
setup(
name="tsuru-rpaas",
version=__version__,
description="Reverse proxy as-a-service API for Tsuru PaaS",
long_description=README,
author="Tsuru",
author_email="tsuru@corp.globo.com",
classifiers=[
"Programming Language :: Python :: 2.7",
],
packages=find_packages(exclude=["docs", "tests"]),
include_package_data=True,
install_requires=[
"Flask==0.9",
"requests==2.4.3",
"gunicorn==0.17.2",
"tsuru-hm==0.2.0",
"celery[redis]",
"flower==0.7.3",
"GloboNetworkAPI==0.2.2",
],
extras_require={
'tests': [
"mock==1.0.1",
"flake8==2.1.0",
"coverage==3.7.1",
"freezegun==0.2.8",
]
},
)
| bsd-3-clause | Python |
4cfc1391dfbac93c97421ac9cc148c6e2de9bceb | Bump version 0.2.5 to PyPI. | cshields/satnogs-client,cshields/satnogs-client,adamkalis/satnogs-client,adamkalis/satnogs-client | setup.py | setup.py | from setuptools import find_packages, setup
setup(name='satnogsclient',
packages=find_packages(),
version='0.2.5',
author='SatNOGS team',
author_email='client-dev@satnogs.org',
url='https://github.com/satnogs/satnogs-client/',
description='SatNOGS Client',
include_package_data=True,
zip_safe=False,
install_requires=[
'APScheduler',
'SQLAlchemy',
'requests',
'validators',
'python-dateutil',
'ephem',
'pytz',
'flask',
'pyopenssl'
],
scripts=['satnogsclient/bin/satnogs-poller',
'satnogsclient/bin/satnogs-task'])
| from setuptools import find_packages, setup
setup(name='satnogsclient',
packages=find_packages(),
version='0.2.4',
author='SatNOGS team',
author_email='client-dev@satnogs.org',
url='https://github.com/satnogs/satnogs-client/',
description='SatNOGS Client',
include_package_data=True,
zip_safe=False,
install_requires=[
'APScheduler',
'SQLAlchemy',
'requests',
'validators',
'python-dateutil',
'ephem',
'pytz',
'flask',
'pyopenssl'
],
scripts=['satnogsclient/bin/satnogs-poller',
'satnogsclient/bin/satnogs-task'])
| agpl-3.0 | Python |
f82b20212f633fc164cf88e8ce32f6119334920d | create version 2.4.3 | Duke-GCB/DukeDSClient,Duke-GCB/DukeDSClient | setup.py | setup.py | from setuptools import setup
setup(name='DukeDSClient',
version='2.4.3',
description='Command line tool(ddsclient) to upload/manage projects on the duke-data-service.',
url='https://github.com/Duke-GCB/DukeDSClient',
keywords='duke dds dukedataservice',
author='John Bradley',
license='MIT',
packages=['ddsc', 'ddsc.core', 'ddsc.sdk', 'DukeDS'],
install_requires=[
'requests>=2.20.0',
'PyYAML>=5.1',
'pytz',
'future',
'six',
'tenacity==5.0.4',
],
test_suite='nose.collector',
tests_require=['nose', 'mock'],
entry_points={
'console_scripts': [
'ddsclient = ddsc.__main__:main'
]
},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Utilities',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
| from setuptools import setup
setup(name='DukeDSClient',
version='2.4.2',
description='Command line tool(ddsclient) to upload/manage projects on the duke-data-service.',
url='https://github.com/Duke-GCB/DukeDSClient',
keywords='duke dds dukedataservice',
author='John Bradley',
license='MIT',
packages=['ddsc', 'ddsc.core', 'ddsc.sdk', 'DukeDS'],
install_requires=[
'requests>=2.20.0',
'PyYAML>=5.1',
'pytz',
'future',
'six',
'tenacity==5.0.4',
],
test_suite='nose.collector',
tests_require=['nose', 'mock'],
entry_points={
'console_scripts': [
'ddsclient = ddsc.__main__:main'
]
},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Utilities',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
| mit | Python |
091eb367a40466b316d709c95acd7f6ca4252c6b | Add six to dependencies | joeirimpan/shop,joeirimpan/shop,joeirimpan/shop | setup.py | setup.py | from setuptools import find_packages, setup
setup(
name='Fulfil-Shop',
version='0.1dev3',
packages=find_packages(),
license='BSD',
include_package_data=True,
zip_safe=False,
long_description=open('README.rst').read(),
install_requires=[
'Flask',
'Flask-WTF',
'Flask-Assets',
'cssmin',
'jsmin',
'Flask-Login',
'Flask-Cache',
'Flask-DebugToolbar',
'Flask-Themes2',
'Flask-Babel',
'Flask-Redis',
'Flask-Session',
'Flask-Fulfil',
'raven[flask]',
'premailer',
'stripe',
'six',
]
)
| from setuptools import find_packages, setup
setup(
name='Fulfil-Shop',
version='0.1dev3',
packages=find_packages(),
license='BSD',
include_package_data=True,
zip_safe=False,
long_description=open('README.rst').read(),
install_requires=[
'Flask',
'Flask-WTF',
'Flask-Assets',
'cssmin',
'jsmin',
'Flask-Login',
'Flask-Cache',
'Flask-DebugToolbar',
'Flask-Themes2',
'Flask-Babel',
'Flask-Redis',
'Flask-Session',
'Flask-Fulfil',
'raven[flask]',
'premailer',
'stripe',
]
)
| bsd-3-clause | Python |
2efdb40e55515338449804eb13520c6425c5bf96 | Update pyparsing requires lock to be more strict (#275) | chimpler/pyhocon | setup.py | setup.py | #!/usr/bin/env python
import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTestCommand(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
errno = pytest.main(self.pytest_args)
sys.exit(errno)
setup(
name='pyhocon',
version='0.3.58',
description='HOCON parser for Python',
long_description='pyhocon is a HOCON parser for Python. Additionally we provide a tool (pyhocon) to convert any HOCON '
'content into json, yaml and properties format.',
keywords='hocon parser',
license='Apache License 2.0',
author='Francois Dang Ngoc',
author_email='francois.dangngoc@gmail.com',
url='http://github.com/chimpler/pyhocon/',
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
packages=[
'pyhocon',
],
install_requires=['pyparsing~=2.0'],
extras_require={
'Duration': ['python-dateutil>=2.8.0']
},
tests_require=['pytest', 'mock==3.0.5'],
entry_points={
'console_scripts': [
'pyhocon=pyhocon.tool:main'
]
},
test_suite='tests',
cmdclass={
'test': PyTestCommand
}
)
| #!/usr/bin/env python
import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTestCommand(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
errno = pytest.main(self.pytest_args)
sys.exit(errno)
setup(
name='pyhocon',
version='0.3.58',
description='HOCON parser for Python',
long_description='pyhocon is a HOCON parser for Python. Additionally we provide a tool (pyhocon) to convert any HOCON '
'content into json, yaml and properties format.',
keywords='hocon parser',
license='Apache License 2.0',
author='Francois Dang Ngoc',
author_email='francois.dangngoc@gmail.com',
url='http://github.com/chimpler/pyhocon/',
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
packages=[
'pyhocon',
],
install_requires=['pyparsing>=2.0.3'],
extras_require={
'Duration': ['python-dateutil>=2.8.0']
},
tests_require=['pytest', 'mock==3.0.5'],
entry_points={
'console_scripts': [
'pyhocon=pyhocon.tool:main'
]
},
test_suite='tests',
cmdclass={
'test': PyTestCommand
}
)
| apache-2.0 | Python |
99e74d18d32fccbd873f1d6a3a6b805874936218 | remove long_description | minacle/ircclive | setup.py | setup.py | from distutils.core import setup
from os.path import abspath, dirname, join
import re
with open(join(abspath(dirname(__file__)), "ircclive.py")) as f:
version = re.search(r'\n__version__ = \"(.*?)\"\n', f.read()).group(1)
setup(
name="ircclive",
version=version,
author="Mayu Laierlence",
author_email="minacle@live.com",
url="https://github.com/minacle/ircclive",
description="Simple IRCCloud session keeper; written in python3.",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Communications :: Chat :: Internet Relay Chat",
"Topic :: Utilities",
],
py_modules=["ircclive"],
keywords=["irccloud"],
entry_points={
"console_scripts": ["ircclive = ircclive:_main"],
"setuptools.installation": ["eggsecutable = ircclive:_main"],
},
zip_safe=True,
)
| from distutils.core import setup
from os.path import abspath, dirname, join
import re
with open(join(abspath(dirname(__file__)), "ircclive.py")) as f:
version = re.search(r'\n__version__ = \"(.*?)\"\n', f.read()).group(1)
with open(join(abspath(dirname(__file__)), "README.rst")) as f:
long_description = f.read()
setup(
name="ircclive",
version=version,
author="Mayu Laierlence",
author_email="minacle@live.com",
url="https://github.com/minacle/ircclive",
description="Simple IRCCloud session keeper; written in python3.",
long_description=long_description,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Topic :: Communications :: Chat :: Internet Relay Chat",
"Topic :: Utilities",
],
py_modules=["ircclive"],
keywords=["irccloud"],
entry_points={
"console_scripts": ["ircclive = ircclive:_main"],
"setuptools.installation": ["eggsecutable = ircclive:_main"],
},
zip_safe=True,
)
| mit | Python |
010e23fdc9473c425cb6822b1ff63fe2936e5d78 | bump version, again. | mshvartsman/psiTurk,andyh616/psiTurk,suchow/psiTurk,suchow/psiTurk,NYUCCL/psiTurk,rbtrace/psiTurk,michaelpacer/psiTurk,mshvartsman/psiTurk,pfeyz/psiTurk,kachergis/psiTurk,berkeley-cocosci/psiTurk,rbtrace/psiTurk,berkeley-cocosci/psiTurk,berkeley-cocosci/psiTurk,andyh616/psiTurk,NYUCCL/psiTurk,pfeyz/psiTurk,michaelpacer/psiTurk,mshvartsman/psiTurk,johnmcdonnell/psiTurk,johnmcdonnell/psiTurk,kachergis/psiTurk,andyh616/psiTurk,pfeyz/psiTurk,NYUCCL/psiTurk,rbtrace/psiTurk,suchow/psiTurk,johnmcdonnell/psiTurk,michaelpacer/psiTurk,kachergis/psiTurk | setup.py | setup.py | from setuptools import setup
try:
with open("README.md") as readmefile:
long_description = readmefile.read()
except IOError:
long_description = ""
setup(
name = "PsiTurk",
version = "1.0.3",
packages = ["psiturk"],
include_package_data = True,
zip_safe = False,
entry_points = {
'console_scripts': [
'psiturk = psiturk.dashboard_server:launch',
'psiturk-dashboard = psiturk.dashboard_server:launch',
'psiturk-server = psiturk.experiment_server:launch',
'psiturk-setup-example = psiturk.setup_example:setup_example'
]
},
setup_requires = [],
install_requires = ["argparse", "Flask", "SQLAlchemy", "gunicorn", "boto>=2.9"],
author = "NYU Computation and Cognition Lab",
author_email = "http://nyuccl.org",
description = "A web framework for dynamic behavioral experiments",
long_description = long_description,
url = "http://github.com/NYUCCL/psiturk"
)
| from setuptools import setup
try:
with open("README.md") as readmefile:
long_description = readmefile.read()
except IOError:
long_description = ""
setup(
name = "PsiTurk",
version = "1.0.2",
packages = ["psiturk"],
include_package_data = True,
zip_safe = False,
entry_points = {
'console_scripts': [
'psiturk = psiturk.dashboard_server:launch',
'psiturk-dashboard = psiturk.dashboard_server:launch',
'psiturk-server = psiturk.experiment_server:launch',
'psiturk-setup-example = psiturk.setup_example:setup_example'
]
},
setup_requires = [],
install_requires = ["argparse", "Flask", "SQLAlchemy", "gunicorn", "boto>=2.9"],
author = "NYU Computation and Cognition Lab",
author_email = "http://nyuccl.org",
description = "A web framework for dynamic behavioral experiments",
long_description = long_description,
url = "http://github.com/NYUCCL/psiturk"
)
| mit | Python |
f10cd1742e689dd44bac4ad7553bdf6042a06071 | revert to previous setup | dgketchum/Landsat578 | setup.py | setup.py | # ===============================================================================
# Copyright 2017 dgketchum
#
# 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
os.environ['TRAVIS_CI'] = 'True'
try:
from setuptools import setup
setup_kwargs = {'entry_points': {'console_scripts': ['landsat=landsat.landsat:__main__']}}
except ImportError:
from distutils.core import setup
setup_kwargs = {'scripts': ['bin/landsat']}
tag = '0.3.7'
setup(name='Landsat578',
version=tag,
description='Very simple API to download Landsat data from LT5, LE7, and LC8 from USGS',
setup_requires=['nose>=1.0'],
py_modules=['landsat'],
license='Apache', classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: GIS',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2.7'],
keywords='landsat download hydrology remote sensing',
author='David Ketchum',
author_email='dgketchum at gmail dot com',
platforms='Posix; MacOS X; Windows',
packages=['landsat'],
download_url='https://github.com/{}/{}/archive/{}.tar.gz'.format('dgketchum', 'Landsat578', tag),
url='https://github.com/dgketchum/',
test_suite='tests.test_suite.suite', install_requires=['lxml==3.7.3', 'numpy==1.12.1', 'pandas==0.19.2',
'python-dateutil==2.6.0', 'pytz==2017.2',
'requests==2.13.0', 'six==1.10.0'],
entry_points={'console_scripts': ['landsat=landsat:main']}
)
# ============= EOF =============================================
| # ===============================================================================
# Copyright 2017 dgketchum
#
# 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
os.environ['TRAVIS_CI'] = 'True'
tag = '0.0.1'
name = 'satellite_image'
setup(name='Landsat578',
version=tag,
description='Simple API provides a class to process satellite images',
setup_requires=['nose>=1.0'],
py_modules=['landsat'],
license='Apache', classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: GIS',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.5'],
keywords='landsat modis hydrology remote sensing',
author='David Ketchum',
author_email='dgketchum at gmail dot com',
platforms='Posix; MacOS X; Windows',
packages=['landsat'],
download_url='https://github.com/{}/{}/archive/{}.tar.gz'.format('dgketchum', name, tag),
url='https://github.com/dgketchum',
test_suite='tests.test_suite.suite', install_requires=[],
entry_points={'console_scripts': ['landsat=landsat:main']}
)
# ============= EOF ==============================================================
| apache-2.0 | Python |
a4740a0ea0186efd9e520cb19528c947ad511378 | Correct typos in setup.py | google-code-export/django-page-cms,Alwnikrotikz/django-page-cms,pombreda/django-page-cms,Alwnikrotikz/django-page-cms,odyaka341/django-page-cms,pombreda/django-page-cms,odyaka341/django-page-cms,Alwnikrotikz/django-page-cms,odyaka341/django-page-cms,pombreda/django-page-cms,PiRSquared17/django-page-cms,PiRSquared17/django-page-cms,google-code-export/django-page-cms,Alwnikrotikz/django-page-cms,PiRSquared17/django-page-cms,google-code-export/django-page-cms,google-code-export/django-page-cms,PiRSquared17/django-page-cms,odyaka341/django-page-cms,pombreda/django-page-cms | setup.py | setup.py | from distutils.core import setup
import glob
data = [ "locale/" + l.rsplit('/')[-1]+"/LC_MESSAGES/*.*" for l in glob.glob("pages/locale/*")]
data.extend([
'templates/admin/pages/page/*.html',
'templates/pages/*.html',
'fixtures/*.json'
]
)
setup(
name='django-page-cms',
version=__import__('pages').__version__,
description='A tree based Django CMS application',
author='Batiste Bieler',
author_email='batiste.bieler@gmail.com',
url='http://code.google.com/p/django-page-cms/',
requires=(
'html5lib (>=0.10)',
'tagging (>0.2.1)', # please use the trunk version of tagging
'django_mptt (>=0.2.1)',
),
packages=[
'pages',
'pages.admin',
'pages.templatetags',
#'example',
],
package_dir={'pages': 'pages', 'pages.locale': 'locale', 'pages.templates': 'templates'},
package_data={'pages': data},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
'Programming Language :: Python :: 2.3',
'Programming Language :: JavaScript',
'Topic :: Internet :: WWW/HTTP :: Site Management',
]
)
| from distutils.core import setup
import glob
datas = [ "locale/" + l.rsplit('/')[-1]+"/LC_MESSAGES/*.*" for l in glob.glob("pages/locale/*")]
datas.extend([
'templates/admin/pages/page/*.html',
'templates/pages/*.html',
'fixtures/*.json'
]
)
setup(
name='django-page-cms',
version=__import__('pages').__version__,
description='A tree based Django CMS application',
author='Batiste Bieler',
author_email='batiste.bieler@gmail.com',
url='http://code.google.com/p/django-page-cms/',
requires=('html5lib (>=0.10)', 'tagging (>=0.2.1)', 'django_mptt (>=0.2.1)', ),
packages=[
'pages',
'pages.admin',
'pages.templatetags',
#'example',
],
package_dir={'pages': 'pages', 'pages.locale': 'locale', 'pages.templates': 'templates'},
package_data={'pages': datas},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
'Programming Language :: Python :: 2.3',
'Programming Language :: JavaScript',
'Topic :: Internet :: WWW/HTTP :: Site Management',
]
)
| bsd-3-clause | Python |
4d28458eddffdc24210daddd215e304f1a8b512b | add download url for pypi | srounet/Pymem | setup.py | setup.py | import re
import setuptools
def load_dependencies(filename):
install_requires = []
dependency_links = []
for line in open(filename):
line = line.strip()
m = re.match(r'http.+#egg=(?P<pkgname>.+)', line)
if m:
dependency_links.append(line)
install_requires.append(m.groupdict()['pkgname'])
else:
install_requires.append(line)
return install_requires, dependency_links
install_requires, dependency_links = load_dependencies('requirements.txt')
setuptools.setup(
name='Pymem',
version='0.2',
description='pymem: python memory access made easy',
author='Fabien Reboia',
author_email='srounet@gmail.com',
maintainer='Fabien Reboia',
maintainer_email='srounet@gmail.com',
url='http://pymem.readthedocs.org/en/latest/',
download_url = 'https://github.com/srounet/pymem/tarball/0.2',
long_description="A python library for windows, providing the needed functions to start working on your own with memory editing",
license="postcard license",
packages = setuptools.find_packages(),
platforms=["windows"],
keywords='memory win32 windows process',
classifiers=[
'Programming Language :: Python :: 3.4',
'Programming Language :: Assembly',
'Environment :: Win32 (MS Windows)',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
],
install_requires=install_requires,
dependency_links=dependency_links,
) | import re
import setuptools
def load_dependencies(filename):
install_requires = []
dependency_links = []
for line in open(filename):
line = line.strip()
m = re.match(r'http.+#egg=(?P<pkgname>.+)', line)
if m:
dependency_links.append(line)
install_requires.append(m.groupdict()['pkgname'])
else:
install_requires.append(line)
return install_requires, dependency_links
install_requires, dependency_links = load_dependencies('requirements.txt')
setuptools.setup(
name='Pymem',
version='0.2',
description='pymem: python memory access made easy',
author='Fabien Reboia',
author_email='srounet@gmail.com',
maintainer='Fabien Reboia',
maintainer_email='srounet@gmail.com',
url='http://pymem.readthedocs.org/en/latest/',
long_description="A python library for windows, providing the needed functions to start working on your own with memory editing",
license="postcard license",
packages = setuptools.find_packages(),
platforms=["windows"],
keywords='memory win32 windows process',
classifiers=[
'Programming Language :: Python :: 3.4',
'Programming Language :: Assembly',
'Environment :: Win32 (MS Windows)',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
],
install_requires=install_requires,
dependency_links=dependency_links,
) | mit | Python |
d3849131efb07a484bdbd125630f8721d3d1dc71 | Bump Wilson dependency to v1.1 | flav-io/flavio,flav-io/flavio | setup.py | setup.py | from setuptools import setup, find_packages
with open('flavio/_version.py') as f:
exec(f.read())
with open('README.md') as f:
LONG_DESCRIPTION = f.read()
setup(name='flavio',
version=__version__,
author='David M. Straub',
author_email='david.straub@tum.de',
url='https://flav-io.github.io',
description='A Python package for flavour physics phenomenology in the Standard Model and beyond',
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
license='MIT',
packages=find_packages(),
package_data={
'flavio':['data/*.yml',
'data/test/*',
'physics/data/arXiv-0810-4077v3/*',
'physics/data/arXiv-1503-05534v1/*',
'physics/data/arXiv-1503-05534v2/*',
'physics/data/arXiv-1501-00367v2/*',
'physics/data/arXiv-1602-01399v1/*',
'physics/data/pdg/*',
'physics/data/qcdf_interpolate/*',
'physics/data/wcsm/*',
]
},
install_requires=['numpy', 'scipy>=0.18', 'setuptools>=3.3', 'pyyaml',
'wcxf>=1.4.1', 'ckmutil', 'wilson>=1.1'],
extras_require={
'testing': ['nose'],
'plotting': ['matplotlib>=1.4'],
'sampling': ['pypmc>=1.1', 'emcee', 'iminuit',],
},
)
| from setuptools import setup, find_packages
with open('flavio/_version.py') as f:
exec(f.read())
with open('README.md') as f:
LONG_DESCRIPTION = f.read()
setup(name='flavio',
version=__version__,
author='David M. Straub',
author_email='david.straub@tum.de',
url='https://flav-io.github.io',
description='A Python package for flavour physics phenomenology in the Standard Model and beyond',
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
license='MIT',
packages=find_packages(),
package_data={
'flavio':['data/*.yml',
'data/test/*',
'physics/data/arXiv-0810-4077v3/*',
'physics/data/arXiv-1503-05534v1/*',
'physics/data/arXiv-1503-05534v2/*',
'physics/data/arXiv-1501-00367v2/*',
'physics/data/arXiv-1602-01399v1/*',
'physics/data/pdg/*',
'physics/data/qcdf_interpolate/*',
'physics/data/wcsm/*',
]
},
install_requires=['numpy', 'scipy>=0.18', 'setuptools>=3.3', 'pyyaml',
'wcxf>=1.4.1', 'ckmutil', 'wilson>=1.0'],
extras_require={
'testing': ['nose'],
'plotting': ['matplotlib>=1.4'],
'sampling': ['pypmc>=1.1', 'emcee', 'iminuit',],
},
)
| mit | Python |
663685b1414ae0f8189fdb4a7289a5196a25ea0b | update pyyaml to the most recent stable version (#53) | googleads/google-ads-python | setup.py | setup.py | # Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""A setup module for the Google Ads API client library."""
from setuptools import setup, find_packages
import io
install_requires = [
'enum34; python_version < "3.4"',
'google-auth-oauthlib >= 0.0.1, < 1.0.0',
'google-api-core >= 1.7.0, < 2.0.0',
'googleapis-common-protos >= 1.5.8, < 2.0.0',
'grpcio >= 1.18.0, < 2.0.0',
'PyYAML >= 5.1, < 6.0',
]
tests_require = [
'mock >= 2.0.0, < 3.0.0',
'pyfakefs >= 3.4, < 3.5',
]
with io.open('README.rst', 'r', encoding='utf-8') as readme_file:
long_description = readme_file.read()
setup(
name='google-ads',
version='1.2.0',
author='Google LLC',
author_email='googleapis-packages@google.com',
classifiers=[
'Intended Audience :: Developers',
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
description='Client library for the Google Ads API',
include_package_data=True,
long_description=long_description,
install_requires=install_requires,
tests_require=tests_require,
test_suite='tests',
license='Apache 2.0',
packages=find_packages(exclude=['examples', 'examples.*', 'tests', 'tests.*']),
namespace_packages=['google', 'google.ads'],
url='https://github.com/googleads/google-ads-python',
zip_safe=False,
)
| # Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""A setup module for the Google Ads API client library."""
from setuptools import setup, find_packages
import io
install_requires = [
'enum34; python_version < "3.4"',
'google-auth-oauthlib >= 0.0.1, < 1.0.0',
'google-api-core >= 1.7.0, < 2.0.0',
'googleapis-common-protos >= 1.5.8, < 2.0.0',
'grpcio >= 1.18.0, < 2.0.0',
'PyYAML >= 4.2b1, < 5.0',
]
tests_require = [
'mock >= 2.0.0, < 3.0.0',
'pyfakefs >= 3.4, < 3.5',
]
with io.open('README.rst', 'r', encoding='utf-8') as readme_file:
long_description = readme_file.read()
setup(
name='google-ads',
version='1.2.0',
author='Google LLC',
author_email='googleapis-packages@google.com',
classifiers=[
'Intended Audience :: Developers',
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
description='Client library for the Google Ads API',
include_package_data=True,
long_description=long_description,
install_requires=install_requires,
tests_require=tests_require,
test_suite='tests',
license='Apache 2.0',
packages=find_packages(exclude=['examples', 'examples.*', 'tests', 'tests.*']),
namespace_packages=['google', 'google.ads'],
url='https://github.com/googleads/google-ads-python',
zip_safe=False,
)
| apache-2.0 | Python |
d62a0a4c3a834e07b47b0a7cb4e1567b6467338f | Reformat setup.py | jreese/tasky | setup.py | setup.py | from setuptools import setup
import tasky
setup(
name='tasky',
description='asyncio framework for task-based execution',
version=tasky.__version__,
author='John Reese',
author_email='john@noswap.com',
url='https://github.com/jreese/tasky',
classifiers=[
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Utilities',
'Development Status :: 4 - Beta',
],
license='MIT License',
packages=['tasky', 'tasky.tasks'],
)
| from setuptools import setup
import tasky
setup(name='tasky',
description='asyncio framework for task-based execution',
version=tasky.__version__,
author='John Reese',
author_email='john@noswap.com',
url='https://github.com/jreese/tasky',
classifiers=['License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Topic :: Utilities',
'Development Status :: 4 - Beta',
],
license='MIT License',
packages=['tasky', 'tasky.tasks'],
)
| mit | Python |
058ee1f352785a878e410a178699cf4907526d30 | Downgrade Django | taedori81/satchless | setup.py | setup.py | #! /usr/bin/env python
from setuptools import setup, find_packages
# dynamic retrive version number from stachless.VERSION
version = __import__('satchless').__version__
CLASSIFIERS = [
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
]
REQUIREMENTS = [
'Django == 1.4.3',
'django-mptt >= 0.4.2',
'prices >= 2012.11',
'django-prices >= 2012.11.5'
]
EXTRAS = {
'authorize.net payment provider': [
'django-authorizenet >= 1.0',
'unidecode'
],
'django-payments payment provider': [
'django-payments'
],
'mamona payment provider': [
'mamona',
],
'stripe payment provider': [
'stripe',
],
}
setup(name='satchless',
author='Mirumee Software',
author_email='hello@mirumee.com',
description='An e-commerence framework for Django',
license='BSD',
version=version,
url='http://satchless.com/',
packages=find_packages(exclude=['doc*', 'examples*', 'tests*',
'website*']),
include_package_data=True,
classifiers=CLASSIFIERS,
install_requires=REQUIREMENTS,
extras_require=EXTRAS,
platforms=['any'],
zip_safe=False)
| #! /usr/bin/env python
from setuptools import setup, find_packages
# dynamic retrive version number from stachless.VERSION
version = __import__('satchless').__version__
CLASSIFIERS = [
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
]
REQUIREMENTS = [
'Django >= 1.3',
'django-mptt >= 0.4.2',
'prices >= 2012.11',
'django-prices >= 2012.11.5'
]
EXTRAS = {
'authorize.net payment provider': [
'django-authorizenet >= 1.0',
'unidecode'
],
'django-payments payment provider': [
'django-payments'
],
'mamona payment provider': [
'mamona',
],
'stripe payment provider': [
'stripe',
],
}
setup(name='satchless',
author='Mirumee Software',
author_email='hello@mirumee.com',
description='An e-commerence framework for Django',
license='BSD',
version=version,
url='http://satchless.com/',
packages=find_packages(exclude=['doc*', 'examples*', 'tests*',
'website*']),
include_package_data=True,
classifiers=CLASSIFIERS,
install_requires=REQUIREMENTS,
extras_require=EXTRAS,
platforms=['any'],
zip_safe=False)
| bsd-3-clause | Python |
bf0f3efba3fb9996f687e8309e02679a4b4ce98f | Bump version for upload to pypi. | eikonomega/saddlebags | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name="saddlebags",
license="MIT",
packages=find_packages(),
version='1.3.1',
author="Michael Dunn",
author_email="mike@eikonomega.com",
keywords='configuration settings',
url="https://github.com/eikonomega/saddlebags",
description=(
"Saddlebags provides easy loading and access to "
"the data elements of JSON/YAML configuration files."),
install_requires=[
'pytest>=3,<4',
'PyYAML>=3.12,<4'
],
package_data={
'': ['requirements.txt']
},
classifiers=[
'Intended Audience :: Developers',
'Development Status :: 3 - Alpha',
'Topic :: Software Development :: Libraries',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
]
)
| from setuptools import setup, find_packages
setup(
name="saddlebags",
license="MIT",
packages=find_packages(),
version='1.3',
author="Michael Dunn",
author_email="mike@eikonomega.com",
keywords='configuration settings',
url="https://github.com/eikonomega/saddlebags",
description=(
"Saddlebags provides easy loading and access to "
"the data elements of JSON/YAML configuration files."),
install_requires=[
'pytest>=3,<4',
'PyYAML>=3.12,<4'
],
package_data={
'': ['requirements.txt']
},
classifiers=[
'Intended Audience :: Developers',
'Development Status :: 3 - Alpha',
'Topic :: Software Development :: Libraries',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
]
)
| mit | Python |
49a91ecc14dcd0a9eb24971e388ddae581f0cb86 | Bump version | renegelinas/mi-instrument,renegelinas/mi-instrument,vipullakhani/mi-instrument,danmergens/mi-instrument,danmergens/mi-instrument,janeen666/mi-instrument,oceanobservatories/mi-instrument,janeen666/mi-instrument,janeen666/mi-instrument,vipullakhani/mi-instrument,tapanagupta/mi-instrument,oceanobservatories/mi-instrument | setup.py | setup.py | #!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
version = '0.3.84'
setup(name='mi-instrument',
version=version,
description='OOINet Marine Integrations',
url='https://github.com/oceanobservatories/mi-instrument',
license='BSD',
author='Ocean Observatories Initiative',
author_email='contactooici@oceanobservatories.org',
keywords=['ooici'],
packages=find_packages(),
package_data={
'': ['*.yml'],
'mi.platform.rsn': ['node_config_files/*.yml'],
},
dependency_links=[
],
test_suite='pyon',
entry_points={
'console_scripts': [
'run_driver=mi.core.instrument.wrapper:main',
'playback=mi.core.instrument.playback:main',
'analyze=mi.core.instrument.playback_analysis:main',
'oms_extractor=mi.platform.rsn.oms_extractor:main',
'shovel=mi.core.shovel:main',
],
},
)
| #!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
version = '0.3.83'
setup(name='mi-instrument',
version=version,
description='OOINet Marine Integrations',
url='https://github.com/oceanobservatories/mi-instrument',
license='BSD',
author='Ocean Observatories Initiative',
author_email='contactooici@oceanobservatories.org',
keywords=['ooici'],
packages=find_packages(),
package_data={
'': ['*.yml'],
'mi.platform.rsn': ['node_config_files/*.yml'],
},
dependency_links=[
],
test_suite='pyon',
entry_points={
'console_scripts': [
'run_driver=mi.core.instrument.wrapper:main',
'playback=mi.core.instrument.playback:main',
'analyze=mi.core.instrument.playback_analysis:main',
'oms_extractor=mi.platform.rsn.oms_extractor:main',
'shovel=mi.core.shovel:main',
],
},
)
| bsd-2-clause | Python |
13a495ca1593e931c08b409a5d2360ef76409ff3 | define Graph class | yanil3500/data-structures | src/graph.py | src/graph.py |
class Graph():
"""
The graph class will be used o represent the nodes
"""
def __init__(self):
"""
This is the initializer for the Graph class.
"""
self.graph_dict = {}
def nodes(self):
"""
This method returns a list containing all of the nodes
"""
return list(self.graph_dict.keys())
def edges(self):
"""
This method returns a list containing all of the edges
"""
a_list = []
for key in self.graph_dict.items:
a_list.extend(self.graph_dict[key])
return a_list
def add_node(self, val):
"""
This method adds a node to our graph
"""
if val not in self.graph_dict:
self.graph_dict[val] = [val]
def add_edge(self, val1, val2):
"""
this method adds a new edge to the graph connecting
the node containing 'val1' and 'val2'
"""
self.add_node(val1)
self.add_node(val2)
self.graph_dict[val1].append(val2)
def del_node(self, val):
if val not in self.graph_dict:
raise KeyError('The (key) node is not in the graph.')
for key in self.graph_dict[val]:
self.graph_dict[key].remove(val)
del self.graph_dict[val]
def del_edge(self, val1, val2):
"""
This method will delete the edge between the given values, val1 and val2, if such edge exists.
If the connection between val1 and val2 does not exist, then this method will raise an exception
indicating as much.
"""
if val2 not in self.graph_dict[val1]:
raise ValueError("The edge does not exists.")
else:
self.graph_dict[val1].remove(val2)
def has_node(self, val):
"""
This method checks if the given value is an element in the graph.
"""
return val in self.graph_dict
def neighbors(self, val):
"""
This method checks if the given value has any neighbors.
"""
if val not in self.graph_dict:
raise KeyError("The node not present in the graph.")
return self.graph_dict[val]
def adjacent(self, val1, val2):
"""
This method returns True if there is edge an connecting the given values, else it returns False; Raises an exception if either of the
given values are not present in the graph.
"""
if val1 not in self.graph_dict or val2 not in self.graph_dict:
raise KeyError("The nodes are not present in the graph.")
return val2 in self.graph_dict[val1]
| mit | Python | |
2a2230eb014d51e8437b0bbb8f80c4da8eec1b1c | Bump version to 0.12.0 | edx/edx-analytics-data-api-client,Stanford-Online/edx-analytics-data-api-client,edx/edx-analytics-data-api-client,Stanford-Online/edx-analytics-data-api-client | setup.py | setup.py | from distutils.core import setup
setup(
name='edx-analytics-data-api-client',
version='0.12.0',
packages=['analyticsclient', 'analyticsclient.constants'],
url='https://github.com/edx/edx-analytics-data-api-client',
description='Client used to access edX analytics data warehouse',
long_description=open('README.rst').read(),
install_requires=[
"requests==2.12.4",
],
tests_require=[
"coverage==4.3.1",
"nose==1.3.7",
"httpretty==0.8.14",
"pep8==1.7.0",
"pylint==1.6.4",
"pep257==0.7.0"
]
)
| from distutils.core import setup
setup(
name='edx-analytics-data-api-client',
version='0.11.0',
packages=['analyticsclient', 'analyticsclient.constants'],
url='https://github.com/edx/edx-analytics-data-api-client',
description='Client used to access edX analytics data warehouse',
long_description=open('README.rst').read(),
install_requires=[
"requests==2.12.4",
],
tests_require=[
"coverage==4.3.1",
"nose==1.3.7",
"httpretty==0.8.14",
"pep8==1.7.0",
"pylint==1.6.4",
"pep257==0.7.0"
]
)
| apache-2.0 | Python |
840555ba88a660849030bcc910beec7f0a5b01d0 | Add missing long_description in setup.py | linusg/wsinfo | setup.py | setup.py | from setuptools import setup
from wsinfo import __version__
with open("README.rst", "r") as f:
long_description = f.read()
setup(
name = "wsinfo",
packages = ["wsinfo"],
version = __version__,
description = "Python package for simply retrieving information about a specific website.",
long_description = long_description,
author = "Linus Groh",
author_email = "mail@linusgroh.de",
url = "https://github.com/linusg/wsinfo",
download_url = "https://pypi.python.org/pypi/wsinfo",
keywords = ["website", "http"],
classifiers = ["Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules"],
)
| from setuptools import setup
from wsinfo import __version__
setup(
name = "wsinfo",
packages = ["wsinfo"],
version = __version__,
description = "Python package for simply retrieving information about a specific website.",
author = "Linus Groh",
author_email = "mail@linusgroh.de",
url = "https://github.com/linusg/wsinfo",
download_url = "https://pypi.python.org/pypi/wsinfo",
keywords = ["website", "http"],
classifiers = ["Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules"],
)
| mit | Python |
4e831595f0417b4b31902ff33d9e6b5fcfbffb30 | bump jsonschema from 4.3.1 to 4.3.2 | freelawproject/reporters-db | setup.py | setup.py | import codecs
import os
from setuptools import setup, find_packages
VERSION = "3.2.5"
AUTHOR = "Mike Lissner"
EMAIL = "mike@free.law"
HERE = os.path.abspath(os.path.dirname(__file__))
reqs_path = HERE + "/requirements.txt"
with open(reqs_path) as reqs_file:
reqs = reqs_file.read().splitlines()
def read(*parts):
"""
Build an absolute path from *parts* and and return the contents of the
resulting file. Assume UTF-8 encoding.
"""
with codecs.open(os.path.join(HERE, *parts), "rb", "utf-8") as f:
return f.read()
setup(
name="reporters-db",
description="Database of Court Reporters",
license="BSD",
url="https://github.com/freelawproject/reporters-db",
version=VERSION,
author=AUTHOR,
author_email=EMAIL,
maintainer=AUTHOR,
maintainer_email=EMAIL,
keywords=["legal", "reporters"],
long_description=read("README.rst"),
packages=find_packages(exclude=("tests",)),
include_package_data=True,
package_data={"reporters_db": ["data/*"]},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"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.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
],
install_requires=reqs,
tests_require=["jsonschema==4.3.2"],
test_suite="tests",
)
| import codecs
import os
from setuptools import setup, find_packages
VERSION = "3.2.5"
AUTHOR = "Mike Lissner"
EMAIL = "mike@free.law"
HERE = os.path.abspath(os.path.dirname(__file__))
reqs_path = HERE + "/requirements.txt"
with open(reqs_path) as reqs_file:
reqs = reqs_file.read().splitlines()
def read(*parts):
"""
Build an absolute path from *parts* and and return the contents of the
resulting file. Assume UTF-8 encoding.
"""
with codecs.open(os.path.join(HERE, *parts), "rb", "utf-8") as f:
return f.read()
setup(
name="reporters-db",
description="Database of Court Reporters",
license="BSD",
url="https://github.com/freelawproject/reporters-db",
version=VERSION,
author=AUTHOR,
author_email=EMAIL,
maintainer=AUTHOR,
maintainer_email=EMAIL,
keywords=["legal", "reporters"],
long_description=read("README.rst"),
packages=find_packages(exclude=("tests",)),
include_package_data=True,
package_data={"reporters_db": ["data/*"]},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Natural Language :: English",
"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.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
],
install_requires=reqs,
tests_require=["jsonschema==4.3.1"],
test_suite="tests",
)
| bsd-2-clause | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.