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 |
|---|---|---|---|---|---|---|---|---|
f0ba6e1e8ac634d6dfd1213390e68529e826c5de | Normalize all setup.py files (#4909) | googleapis/python-dataproc,googleapis/python-dataproc | 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-dataproc'
description = 'Google Cloud Dataproc API client library'
version = '0.1.0'
# Should be one of:
# 'Development Status :: 3 - Alpha'
# 'Development Status :: 4 - Beta'
# 'Development Status :: 5 - Stable'
release_status = 'Development Status :: 3 - Alpha'
dependencies = [
'google-api-core[grpc]<0.2.0dev,>=0.1.0',
]
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.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Operating System :: OS Independent',
'Topic :: Internet',
],
platforms='Posix; MacOS X; Windows',
packages=packages,
namespace_packages=namespaces,
install_requires=dependencies,
extras_require=extras,
include_package_data=True,
zip_safe=False,
)
| # Copyright 2017 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 GAPIC Google Cloud Dataproc API library.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
from setuptools import setup, find_packages
import io
import sys
install_requires = [
'google-api-core >= 0.1.0, < 0.2.0dev',
'google-auth >= 1.0.2, < 2.0dev',
'googleapis-common-protos[grpc] >= 1.5.2, < 2.0dev',
'requests >= 2.18.4, < 3.0dev',
]
with io.open('README.rst', 'r', encoding='utf-8') as readme_file:
long_description = readme_file.read()
setup(
name='google-cloud-dataproc',
version='0.1.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='GAPIC library for the Google Cloud Dataproc API',
include_package_data=True,
long_description=long_description,
install_requires=install_requires,
license='Apache 2.0',
packages=find_packages(exclude=('tests*', )),
namespace_packages=['google', 'google.cloud'],
url='https://github.com/GoogleCloudPlatform/google-cloud-python',
zip_safe=False,
)
| apache-2.0 | Python |
61145b95de38c56ac14528441ab1d279515c43c1 | Mark as a release | scottza/PyTOPKAPI,sahg/PyTOPKAPI | setup.py | setup.py | import os
import subprocess
# BEFORE importing distutils, remove MANIFEST. distutils doesn't
# properly update it when the contents of directories change.
if os.path.exists('MANIFEST'): os.remove('MANIFEST')
from distutils.core import setup
MAJOR = 0
MINOR = 2
MICRO = 0
ISRELEASED = True
VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO)
dev_version_py = 'pytopkapi/__dev_version.py'
def generate_version_py(filename):
try:
if os.path.exists(".git"):
# should be a Git clone, use revision info from Git
s = subprocess.Popen(["git", "rev-parse", "HEAD"],
stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
out = s.communicate()[0]
GIT_REVISION = out.strip()
elif os.path.exists(dev_version_py):
# should be a source distribution, use existing dev
# version file
from pytopkapi.__dev_version import git_revision as GIT_REVISION
else:
GIT_REVISION = "Unknwn"
except:
GIT_REVISION = "Unknwn"
FULL_VERSION = VERSION
if not ISRELEASED:
FULL_VERSION += '.dev'
FULL_VERSION += GIT_REVISION[:6]
cnt = """\
# This file was autogenerated
version = '%s'
git_revision = '%s'
"""
cnt = cnt % (FULL_VERSION, GIT_REVISION)
f = open(filename, "w")
try:
f.write(cnt)
finally:
f.close()
return FULL_VERSION, GIT_REVISION
if __name__ == '__main__':
full_version, git_rev = generate_version_py(dev_version_py)
setup(name='PyTOPKAPI',
version=full_version,
description='SAHG TOPKAPI model implementation',
license='BSD',
author='Theo Vischel & Scott Sinclair',
author_email='theo.vischel@hmg.inpg.fr; sinclaird@ukzn.ac.za',
packages=['pytopkapi',
'pytopkapi.parameter_utils',
'pytopkapi.results_analysis'],
)
| import os
import subprocess
# BEFORE importing distutils, remove MANIFEST. distutils doesn't
# properly update it when the contents of directories change.
if os.path.exists('MANIFEST'): os.remove('MANIFEST')
from distutils.core import setup
MAJOR = 0
MINOR = 2
MICRO = 0
ISRELEASED = False
VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO)
dev_version_py = 'pytopkapi/__dev_version.py'
def generate_version_py(filename):
try:
if os.path.exists(".git"):
# should be a Git clone, use revision info from Git
s = subprocess.Popen(["git", "rev-parse", "HEAD"],
stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
out = s.communicate()[0]
GIT_REVISION = out.strip()
elif os.path.exists(dev_version_py):
# should be a source distribution, use existing dev
# version file
from pytopkapi.__dev_version import git_revision as GIT_REVISION
else:
GIT_REVISION = "Unknwn"
except:
GIT_REVISION = "Unknwn"
FULL_VERSION = VERSION
if not ISRELEASED:
FULL_VERSION += '.dev'
FULL_VERSION += GIT_REVISION[:6]
cnt = """\
# This file was autogenerated
version = '%s'
git_revision = '%s'
"""
cnt = cnt % (FULL_VERSION, GIT_REVISION)
f = open(filename, "w")
try:
f.write(cnt)
finally:
f.close()
return FULL_VERSION, GIT_REVISION
if __name__ == '__main__':
full_version, git_rev = generate_version_py(dev_version_py)
setup(name='PyTOPKAPI',
version=full_version,
description='SAHG TOPKAPI model implementation',
license='BSD',
author='Theo Vischel & Scott Sinclair',
author_email='theo.vischel@hmg.inpg.fr; sinclaird@ukzn.ac.za',
packages=['pytopkapi',
'pytopkapi.parameter_utils',
'pytopkapi.results_analysis'],
)
| bsd-3-clause | Python |
e117478af6c6d96851283cd267f67efb9a98c93d | Include migrations package | sendgridlabs/loaderio-django | setup.py | setup.py | import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).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-loaderio',
version='0.2.1',
packages=['loaderio', 'loaderio.migrations'],
include_package_data=True,
license='MIT License',
description='An app for adding loader.io validation tokens',
long_description=README,
author='Lorin Hochstein',
author_email='lorin.hochstein@sendgrid.com',
url='https://github.com/sendgridlabs/loaderio-django',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
| import os
from setuptools import setup
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).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-loaderio',
version='0.2.0',
packages=['loaderio'],
include_package_data=True,
license='MIT License',
description='An app for adding loader.io validation tokens',
long_description=README,
author='Lorin Hochstein',
author_email='lorin.hochstein@sendgrid.com',
url='https://github.com/sendgridlabs/loaderio-django',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
| mit | Python |
98b71d99c491ed9247d5cdde0ab44d4936d70639 | Bump version to 0.3.1 | kezabelle/django-sniplates,kezabelle/django-sniplates,funkybob/django-sniplates,sergei-maertens/django-sniplates,sergei-maertens/django-sniplates,sergei-maertens/django-sniplates,wengole/django-sniplates,wengole/django-sniplates,kezabelle/django-sniplates,funkybob/django-sniplates | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='django-sniplates',
version='0.3.1',
description='Efficient template macro sets for Django',
author='Curtis Maloney',
author_email='curtis@tinbrain.net',
url='http://github.com/funkybob/django-sniplates',
keywords=['django', 'templates',],
packages = find_packages(exclude=('tests*',)),
zip_safe=False,
classifiers = [
'Environment :: Web Environment',
'Framework :: Django',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: Implementation :: PyPy',
],
requires = [
'Django (>=1.4)',
],
install_requires = [
'Django>=1.4',
],
)
| from setuptools import setup, find_packages
setup(
name='django-sniplates',
version='0.3.0',
description='Efficient template macro sets for Django',
author='Curtis Maloney',
author_email='curtis@tinbrain.net',
url='http://github.com/funkybob/django-sniplates',
keywords=['django', 'templates',],
packages = find_packages(exclude=('tests*',)),
zip_safe=False,
classifiers = [
'Environment :: Web Environment',
'Framework :: Django',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: Implementation :: PyPy',
],
requires = [
'Django (>=1.4)',
],
install_requires = [
'Django>=1.4',
],
)
| mit | Python |
5540c376a691be211f2ca2cb7db6f191157ce938 | Bump version to 0.2.0 | wglass/rotterdam | setup.py | setup.py | from setuptools import setup
setup(
name="rotterdam",
version="0.2.0",
description=(
"Simple distributed job queue via redis."
),
author="William Glass",
author_email="william.glass@gmail.com",
url="http://github.com/wglass/rotterdam",
packages=["rotterdam"],
include_package_data=True,
package_data={
'rotterdam': ['lua/*.lua']
},
scripts=[
"bin/rotterdam",
"bin/rotterdamctl"
],
install_requires=[
"cython==0.19.1",
"setproctitle",
"gevent>=1.0dev",
"redis==2.7.6"
],
dependency_links=[
"http://github.com/surfly/gevent/tarball/1.0rc3#egg=gevent-1.0dev"
],
tests_require=[
"mock==1.0.1",
"nose==1.3.0"
]
)
| from setuptools import setup
setup(
name="rotterdam",
version="0.1.2",
description=(
"Simple distributed job queue via redis."
),
author="William Glass",
author_email="william.glass@gmail.com",
url="http://github.com/wglass/rotterdam",
packages=["rotterdam"],
include_package_data=True,
package_data={
'rotterdam': ['lua/*.lua']
},
scripts=[
"bin/rotterdam",
"bin/rotterdamctl"
],
install_requires=[
"cython==0.19.1",
"setproctitle",
"gevent>=1.0dev",
"redis==2.7.6"
],
dependency_links=[
"http://github.com/surfly/gevent/tarball/1.0rc3#egg=gevent-1.0dev"
],
tests_require=[
"mock==1.0.1",
"nose==1.3.0"
]
)
| mit | Python |
8b17c38e18c650362822e985f0da7f00de0c2e1c | fix installation under Python 3 | phaustin/sphinxcontrib-fulltoc,sphinxcontrib/sphinxcontrib-fulltoc,dreamhost/sphinxcontrib-fulltoc | setup.py | setup.py | # -*- coding: utf-8 -*-
# Bootstrap installation of Distribute
try:
import setuptools
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
try:
long_desc = open('README.rst', 'r').read()
except IOError:
long_desc = ''
requires = ['Sphinx>=0.6',
'docutils>=0.6',
]
NAME = 'sphinxcontrib-fulltoc'
VERSION = '1.0'
setup(
name=NAME,
version=VERSION,
url='http://sphinxcontrib-fulltoc.readthedocs.org',
license='Apache 2',
author='Doug Hellmann',
author_email='doug.hellmann@gmail.com',
description='Include a full table of contents in your Sphinx HTML sidebar',
long_description=long_desc,
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Documentation',
'Topic :: Utilities',
],
platforms='any',
packages=find_packages(),
include_package_data=True,
install_requires=requires,
namespace_packages=['sphinxcontrib'],
py_modules=['distribute_setup'],
)
| # -*- coding: utf-8 -*-
# Bootstrap installation of Distribute
import distribute_setup
distribute_setup.use_setuptools()
from setuptools import setup, find_packages
try:
long_desc = open('README.rst', 'r').read()
except IOError:
long_desc = ''
requires = ['Sphinx>=0.6',
'docutils>=0.6',
]
NAME = 'sphinxcontrib-fulltoc'
VERSION = '1.0'
setup(
name=NAME,
version=VERSION,
url='http://sphinxcontrib-fulltoc.readthedocs.org',
license='Apache 2',
author='Doug Hellmann',
author_email='doug.hellmann@gmail.com',
description='Include a full table of contents in your Sphinx HTML sidebar',
long_description=long_desc,
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Documentation',
'Topic :: Utilities',
],
platforms='any',
packages=find_packages(),
include_package_data=True,
install_requires=requires,
namespace_packages=['sphinxcontrib'],
py_modules=['distribute_setup'],
)
| apache-2.0 | Python |
a7f848d63d8eaa8f8c3b1165be71eb4c6c5ed07e | Bump version to 5.5.0 | hhursev/recipe-scraper | setup.py | setup.py | import os
from setuptools import setup, find_packages
README = open(os.path.join(os.path.dirname(__file__), "README.rst")).read()
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name="recipe_scrapers",
url="https://github.com/hhursev/recipe-scrapers/",
version="5.5.0",
author="Hristo Harsev",
author_email="r+pypi@hharsev.com",
description="Python package, scraping recipes from all over the internet",
keywords="python recipes scraper harvest recipe-scraper recipe-scrapers",
long_description=README,
install_requires=[
"beautifulsoup4>=4.6.0",
"requests>=2.19.1",
],
packages=find_packages(),
package_data={"": ["LICENSE"]},
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
'Topic :: Internet :: WWW/HTTP',
],
python_requires='>=3.4'
)
| import os
from setuptools import setup, find_packages
README = open(os.path.join(os.path.dirname(__file__), "README.rst")).read()
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name="recipe_scrapers",
url="https://github.com/hhursev/recipe-scrapers/",
version="5.4.1",
author="Hristo Harsev",
author_email="r+pypi@hharsev.com",
description="Python package, scraping recipes from all over the internet",
keywords="python recipes scraper harvest recipe-scraper recipe-scrapers",
long_description=README,
install_requires=[
"beautifulsoup4>=4.6.0",
"requests>=2.19.1",
],
packages=find_packages(),
package_data={"": ["LICENSE"]},
include_package_data=True,
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
'Topic :: Internet :: WWW/HTTP',
],
python_requires='>=3.4'
)
| mit | Python |
f4357a4f2585aab3683bdfbf6a234f7fc3d3a211 | Support for CuReSim | karel-brinda/rnftools,karel-brinda/rnftools | setup.py | setup.py | import sys
from setuptools import setup , find_packages
if sys.version_info < (3,2):
print("At least Python 3.2 is required.\n", file=sys.stderr)
exit(1)
setup(
name = 'MIShmash',
packages = ['mishmash'],
package_dir = {"mishmash" : "mishmash"},
package_data = {"mishmash" : ["*.snake"] },
version = '0.0.5',
description = 'Program for simulating NGS read respecting the RNF read-name format',
#long_description = """ \ """,
install_requires=[
'snakemake',
'smbl',
'pysam',
],
zip_safe=False,
author = 'Karel Břinda',
author_email = 'karel.brinda@gmail.com',
url = 'https://github.com/karel-brinda/mishmash',
license = "MIT",
keywords = ['Snakemake', 'bioinformatics', 'read simulator', 'NGS'],
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Bio-Informatics"
],
)
| import sys
from setuptools import setup , find_packages
if sys.version_info < (3,2):
print("At least Python 3.2 is required.\n", file=sys.stderr)
exit(1)
setup(
name = 'MIShmash',
packages = ['mishmash'],
package_dir = {"mishmash" : "mishmash"},
package_data = {"mishmash" : ["*.snake"] },
version = '0.0.4',
description = 'Program for simulating NGS read respecting the RNF read-name format',
#long_description = """ \ """,
install_requires=[
'snakemake',
'smbl',
'pysam',
],
zip_safe=False,
author = 'Karel Břinda',
author_email = 'karel.brinda@gmail.com',
url = 'https://github.com/karel-brinda/mishmash',
license = "MIT",
keywords = ['Snakemake', 'bioinformatics', 'read simulator', 'NGS'],
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Topic :: Scientific/Engineering :: Bio-Informatics"
],
)
| mit | Python |
60a28fbd68b50f6ba28cced38066f5ad916b1575 | Make the setup.py Python 3 compatible | lorenzogil/yith-library-web-client,ablanco/yith-library-web-client,ablanco/yith-library-web-client,ablanco/yith-library-web-client,lorenzogil/yith-library-web-client,lorenzogil/yith-library-web-client,ablanco/yith-library-web-client,lorenzogil/yith-library-web-client | setup.py | setup.py | # Yith Library web client
# Copyright (C) 2012 Yaco Sistemas S.L.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import os
import sys
PY3 = sys.version_info[0] == 3
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
if PY3:
def open_file(path):
return open(path, encoding='utf-8')
else:
def open_file(path):
return open(path)
README = open_file(os.path.join(here, 'README.rst')).read()
CHANGES = open_file(os.path.join(here, 'CHANGES.rst')).read()
requires = [
'pyramid==1.4',
'requests==2.7.0',
'waitress==0.8.2',
]
setup(
name='yith-web-client',
version='1.0.2',
description='yith-web-client',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
],
author='Alejandro Blanco',
author_email='alejandro.b.e@gmail.com',
url='http://yithlibrary.com',
keywords='web pyramid yith security password cyrpto',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=requires,
tests_require=requires,
test_suite="yithwebclient",
entry_points="""\
[paste.app_factory]
main = yithwebclient:main
""",
)
| # Yith Library web client
# Copyright (C) 2012 Yaco Sistemas S.L.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
CHANGES = open(os.path.join(here, 'CHANGES.rst')).read()
requires = [
'pyramid==1.4',
'requests==2.7.0',
'waitress==0.8.2',
]
setup(
name='yith-web-client',
version='1.0.2',
description='yith-web-client',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Framework :: Pyramid",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
],
author='Alejandro Blanco',
author_email='alejandro.b.e@gmail.com',
url='http://yithlibrary.com',
keywords='web pyramid yith security password cyrpto',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=requires,
tests_require=requires,
test_suite="yithwebclient",
entry_points="""\
[paste.app_factory]
main = yithwebclient:main
""",
)
| agpl-3.0 | Python |
e5c09b35ac0b28faf03248298333cc2d8e8d163c | Add elfesteem.macho to setup.py | LRGH/elfesteem,LRGH/elfesteem | setup.py | setup.py | #! /usr/bin/env python
from distutils.core import setup
setup(
name = 'ELF-Esteem',
version = '0.1',
packages = ['elfesteem', 'elfesteem.macho'],
requires = ['python (>= 2.3)'],
scripts = ['examples/readelf.py','examples/otool.py','examples/readpe.py'],
# Metadata
author = 'Philippe BIONDI',
author_email = 'phil(at)secdev.org',
description = 'ELF-Esteem: ELF file manipulation library',
license = 'LGPLv2.1',
url = 'https://github.com/airbus-seclab/elfesteem',
# keywords = '',
)
| #! /usr/bin/env python
from distutils.core import setup
setup(
name = 'ELF-Esteem',
version = '0.1',
packages = ['elfesteem'],
requires = ['python (>= 2.3)'],
scripts = ['examples/readelf.py','examples/otool.py','examples/readpe.py'],
# Metadata
author = 'Philippe BIONDI',
author_email = 'phil(at)secdev.org',
description = 'ELF-Esteem: ELF file manipulation library',
license = 'LGPLv2.1',
url = 'https://github.com/airbus-seclab/elfesteem',
# keywords = '',
)
| lgpl-2.1 | Python |
f24b751e9abf5707d84b5750d94f9b8f59024b83 | Add metadata information about python versions | flasgger/flasgger,flasgger/flasgger,flasgger/flasgger,rochacbruno/flasgger,flasgger/flasgger,rochacbruno/flasgger,rochacbruno/flasgger | setup.py | setup.py | # Fix for older setuptools
import re
import os
from setuptools import setup, find_packages
def fpath(name):
return os.path.join(os.path.dirname(__file__), name)
def read(fname):
return open(fpath(fname)).read()
def desc():
return read('README.md')
# grep flasgger/__init__.py since python 3.x cannot
# import it before using 2to3
file_text = read(fpath('flasgger/__init__.py'))
def grep(attrname):
pattern = r"{0}\W*=\W*'([^']+)'".format(attrname)
strval, = re.findall(pattern, file_text)
return strval
setup(
name='flasgger',
version=grep('__version__'),
url='https://github.com/rochacbruno/flasgger/',
license='MIT',
author=grep('__author__'),
author_email=grep('__email__'),
description='Extract swagger specs from your flask project',
long_description=desc(),
long_description_content_type="text/markdown",
packages=find_packages(
exclude=[
'tests', 'tests.*',
'examples', 'examples.*',
'demo_app', 'demo_app.*',
'etc', 'etc.*'
]
),
include_package_data=True,
zip_safe=False,
platforms='any',
install_requires=[
'Flask>=0.10',
'PyYAML>=3.0',
'jsonschema>=2.5.1',
'jsonschema<3.0.0',
'mistune',
'six>=1.10.0'
],
classifiers=[
'Intended Audience :: Developers',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
]
)
| # Fix for older setuptools
import re
import os
from setuptools import setup, find_packages
def fpath(name):
return os.path.join(os.path.dirname(__file__), name)
def read(fname):
return open(fpath(fname)).read()
def desc():
return read('README.md')
# grep flasgger/__init__.py since python 3.x cannot
# import it before using 2to3
file_text = read(fpath('flasgger/__init__.py'))
def grep(attrname):
pattern = r"{0}\W*=\W*'([^']+)'".format(attrname)
strval, = re.findall(pattern, file_text)
return strval
setup(
name='flasgger',
version=grep('__version__'),
url='https://github.com/rochacbruno/flasgger/',
license='MIT',
author=grep('__author__'),
author_email=grep('__email__'),
description='Extract swagger specs from your flask project',
long_description=desc(),
long_description_content_type="text/markdown",
packages=find_packages(
exclude=[
'tests', 'tests.*',
'examples', 'examples.*',
'demo_app', 'demo_app.*',
'etc', 'etc.*'
]
),
include_package_data=True,
zip_safe=False,
platforms='any',
install_requires=[
'Flask>=0.10',
'PyYAML>=3.0',
'jsonschema>=2.5.1',
'jsonschema<3.0.0',
'mistune',
'six>=1.10.0'
]
)
| mit | Python |
5250e1c9455d48165ae5ca62019d4d80fbc62e3e | Use absolute path to docs dir. Fixes issue #279. | pjdelport/pip,xavfernandez/pip,wkeyword/pip,benesch/pip,esc/pip,mujiansu/pip,patricklaw/pip,jythontools/pip,dstufft/pip,prasaianooz/pip,fiber-space/pip,alquerci/pip,jasonkying/pip,ianw/pip,ChristopherHogan/pip,fiber-space/pip,alex/pip,rouge8/pip,cjerdonek/pip,esc/pip,habnabit/pip,James-Firth/pip,willingc/pip,jythontools/pip,squidsoup/pip,nthall/pip,pfmoore/pip,nthall/pip,jasonkying/pip,caosmo/pip,Ivoz/pip,qwcode/pip,mattrobenolt/pip,msabramo/pip,James-Firth/pip,jasonkying/pip,mindw/pip,esc/pip,xavfernandez/pip,Gabriel439/pip,graingert/pip,caosmo/pip,sbidoul/pip,yati-sagade/pip,jmagnusson/pip,RonnyPfannschmidt/pip,minrk/pip,h4ck3rm1k3/pip,wkeyword/pip,dstufft/pip,pypa/pip,ChristopherHogan/pip,h4ck3rm1k3/pip,James-Firth/pip,zvezdan/pip,ncoghlan/pip,harrisonfeng/pip,mindw/pip,Gabriel439/pip,wkeyword/pip,haridsv/pip,blarghmatey/pip,zenlambda/pip,qwcode/pip,qbdsoft/pip,habnabit/pip,fiber-space/pip,davidovich/pip,supriyantomaftuh/pip,sigmavirus24/pip,blarghmatey/pip,luzfcb/pip,techtonik/pip,rbtcollins/pip,ncoghlan/pip,tdsmith/pip,atdaemon/pip,jamezpolley/pip,zorosteven/pip,prasaianooz/pip,msabramo/pip,willingc/pip,squidsoup/pip,haridsv/pip,rbtcollins/pip,h4ck3rm1k3/pip,atdaemon/pip,patricklaw/pip,minrk/pip,nthall/pip,dstufft/pip,Ivoz/pip,zorosteven/pip,supriyantomaftuh/pip,chaoallsome/pip,mindw/pip,atdaemon/pip,natefoo/pip,KarelJakubec/pip,jythontools/pip,jamezpolley/pip,alex/pip,alquerci/pip,KarelJakubec/pip,haridsv/pip,benesch/pip,yati-sagade/pip,blarghmatey/pip,RonnyPfannschmidt/pip,tdsmith/pip,ChristopherHogan/pip,pradyunsg/pip,harrisonfeng/pip,zvezdan/pip,tdsmith/pip,zorosteven/pip,harrisonfeng/pip,chaoallsome/pip,zenlambda/pip,erikrose/pip,supriyantomaftuh/pip,sigmavirus24/pip,pfmoore/pip,jmagnusson/pip,graingert/pip,sigmavirus24/pip,erikrose/pip,rouge8/pip,yati-sagade/pip,radiosilence/pip,zenlambda/pip,prasaianooz/pip,alex/pip,chaoallsome/pip,domenkozar/pip,ncoghlan/pip,RonnyPfannschmidt/pip,benesch/pip,techtonik/pip,natefoo/pip,qbdsoft/pip,xavfernandez/pip,erikrose/pip,KarelJakubec/pip,pjdelport/pip,davidovich/pip,caosmo/pip,zvezdan/pip,pypa/pip,pradyunsg/pip,rbtcollins/pip,qbdsoft/pip,luzfcb/pip,cjerdonek/pip,techtonik/pip,graingert/pip,ianw/pip,Gabriel439/pip,Carreau/pip,rouge8/pip,Carreau/pip,jmagnusson/pip,natefoo/pip,squidsoup/pip,davidovich/pip,pjdelport/pip,mattrobenolt/pip,mujiansu/pip,habnabit/pip,willingc/pip,mujiansu/pip,sbidoul/pip,luzfcb/pip,jamezpolley/pip | setup.py | setup.py | import sys
import os
from setuptools import setup
# If you change this version, change it also in docs/conf.py
version = "1.0.1"
doc_dir = os.path.join(os.path.abspath(os.path.dirname(__file__)), "docs")
index_filename = os.path.join(doc_dir, "index.txt")
news_filename = os.path.join(doc_dir, "news.txt")
long_description = """
The main website for pip is `www.pip-installer.org
<http://www.pip-installer.org>`_. You can also install
the `in-development version <https://github.com/pypa/pip/tarball/develop#egg=pip-dev>`_
of pip with ``easy_install pip==dev``.
"""
f = open(index_filename)
# remove the toctree from sphinx index, as it breaks long_description
parts = f.read().split("split here", 2)
long_description = parts[0] + long_description + parts[2]
f.close()
f = open(news_filename)
long_description += "\n\n" + f.read()
f.close()
setup(name="pip",
version=version,
description="pip installs packages. Python packages. An easy_install replacement",
long_description=long_description,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Build Tools',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.4',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
],
keywords='easy_install distutils setuptools egg virtualenv',
author='The pip developers',
author_email='python-virtualenv@groups.google.com',
url='http://www.pip-installer.org',
license='MIT',
packages=['pip', 'pip.commands', 'pip.vcs'],
entry_points=dict(console_scripts=['pip=pip:main', 'pip-%s=pip:main' % sys.version[:3]]),
test_suite='nose.collector',
tests_require=['nose', 'virtualenv>=1.6', 'scripttest>=1.1.1', 'mock'],
zip_safe=False)
| import sys
import os
from setuptools import setup
# If you change this version, change it also in docs/conf.py
version = "1.0.1"
doc_dir = os.path.join(os.path.dirname(__file__), "docs")
index_filename = os.path.join(doc_dir, "index.txt")
news_filename = os.path.join(doc_dir, "news.txt")
long_description = """
The main website for pip is `www.pip-installer.org
<http://www.pip-installer.org>`_. You can also install
the `in-development version <https://github.com/pypa/pip/tarball/develop#egg=pip-dev>`_
of pip with ``easy_install pip==dev``.
"""
f = open(index_filename)
# remove the toctree from sphinx index, as it breaks long_description
parts = f.read().split("split here", 2)
long_description = parts[0] + long_description + parts[2]
f.close()
f = open(news_filename)
long_description += "\n\n" + f.read()
f.close()
setup(name="pip",
version=version,
description="pip installs packages. Python packages. An easy_install replacement",
long_description=long_description,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Build Tools',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.4',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
],
keywords='easy_install distutils setuptools egg virtualenv',
author='The pip developers',
author_email='python-virtualenv@groups.google.com',
url='http://www.pip-installer.org',
license='MIT',
packages=['pip', 'pip.commands', 'pip.vcs'],
entry_points=dict(console_scripts=['pip=pip:main', 'pip-%s=pip:main' % sys.version[:3]]),
test_suite='nose.collector',
tests_require=['nose', 'virtualenv>=1.6', 'scripttest>=1.1.1', 'mock'],
zip_safe=False)
| mit | Python |
adf5ffdb97092e91f7a8136083cebe8e3cb57c13 | Fix setup.py | RPi-Distro/python-energenie,rjw57/energenie,bennuttall/energenie | setup.py | setup.py | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "energenie",
version = "0.1.3",
author = "Ben Nuttall",
author_email = "ben@raspberrypi.org",
description = "Python module to control the Energenie add-on board for the Raspberry Pi used for remotely turning power sockets on and off.",
license = "BSD",
keywords = [
"energenie",
"raspberrypi",
],
url = "https://github.com/bennuttall/energenie",
packages = [
"energenie",
],
install_requires = [
"RPi.GPIO",
],
long_description = read('README.md'),
classifiers = [
"Development Status :: 4 - Beta",
"Topic :: Home Automation",
"License :: OSI Approved :: BSD License",
],
)
| import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "energenie",
version = "0.1.3",
author = "Ben Nuttall",
author_email = "ben@raspberrypi.org",
description = "Python module to control the Energenie add-on board for the Raspberry Pi used for remotely turning power sockets on and off.",
license = "BSD",
keywords = [
"energenie",
"raspberrypi",
],
url = "https://github.com/bennuttall/energenie",
packages = [
"energenie",
],
install_requires = [
"RPi.GPIO",
]
long_description = read('README.md'),
classifiers = [
"Development Status :: 4 - Beta",
"Topic :: Home Automation",
"License :: OSI Approved :: BSD License",
],
)
| bsd-3-clause | Python |
98577385c58e127cc1264667f72068af0ede6776 | Update setup.py to import version in a more correct way. | pbs/django-cms,pbs/django-cms,pbs/django-cms,pbs/django-cms | 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',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries :: Application Frameworks',
]
setup(
author="Patrick Lauber",
author_email="digi@treepy.com",
name='django-cms',
version=__import__('cms').__version__,
description='An Advanced Django CMS',
long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(),
url='https://www.django-cms.org/',
license='BSD License',
platforms=['OS Independent'],
classifiers=CLASSIFIERS,
install_requires=[
'Django>=1.4.1,<1.5',
'django-classy-tags>=0.3.4.1',
'south>=0.7.2',
'html5lib',
'django-mptt>=0.5.1,<0.5.3',
'django-sekizai>=0.6.1',
],
tests_require=[
'django-reversion==1.6',
'Pillow==1.7.7',
'Sphinx==1.1.3',
'Jinja2==2.6',
'Pygments==1.5',
],
setup_requires = ['s3sourceuploader',],
packages=find_packages(exclude=["project","project.*"]),
include_package_data=True,
zip_safe = False,
test_suite = 'runtests.main',
)
| from setuptools import setup, find_packages
import os
import cms
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries :: Application Frameworks',
]
setup(
author="Patrick Lauber",
author_email="digi@treepy.com",
name='django-cms',
version=cms.__version__,
description='An Advanced Django CMS',
long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(),
url='https://www.django-cms.org/',
license='BSD License',
platforms=['OS Independent'],
classifiers=CLASSIFIERS,
install_requires=[
'Django>=1.4.1,<1.5',
'django-classy-tags>=0.3.4.1',
'south>=0.7.2',
'html5lib',
'django-mptt>=0.5.1,<0.5.3',
'django-sekizai>=0.6.1',
],
tests_require=[
'django-reversion==1.6',
'Pillow==1.7.7',
'Sphinx==1.1.3',
'Jinja2==2.6',
'Pygments==1.5',
],
setup_requires = ['s3sourceuploader',],
packages=find_packages(exclude=["project","project.*"]),
include_package_data=True,
zip_safe = False,
test_suite = 'runtests.main',
)
| bsd-3-clause | Python |
2e850a22d0fcf8441d47928f5d758e3cb6b6bbaa | Fix homepage url to point to the correct repo | zeekay/flask-uwsgi-websocket | setup.py | setup.py | #!/usr/bin/env python
from setuptools import find_packages, setup
setup(
name='Flask-uWSGI-WebSocket',
version='0.6.1',
url='https://github.com/zeekay/flask-uwsgi-websocket',
license='MIT',
author='Zach Kelling',
author_email='zk@monoid.io',
description='High-performance WebSockets for your Flask apps powered by uWSGI.',
long_description=open('README.rst').read(),
py_modules=['flask_uwsgi_websocket'],
zip_safe=False,
include_package_data=True,
packages=find_packages(),
platforms='any',
install_requires=[
'Flask',
'uwsgi',
],
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
],
keywords='uwsgi flask websockets'
)
| #!/usr/bin/env python
from setuptools import find_packages, setup
setup(
name='Flask-uWSGI-WebSocket',
version='0.6.1',
url='https://github.com/zeekay/flask_uwsgi_websocket',
license='MIT',
author='Zach Kelling',
author_email='zk@monoid.io',
description='High-performance WebSockets for your Flask apps powered by uWSGI.',
long_description=open('README.rst').read(),
py_modules=['flask_uwsgi_websocket'],
zip_safe=False,
include_package_data=True,
packages=find_packages(),
platforms='any',
install_requires=[
'Flask',
'uwsgi',
],
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
],
keywords='uwsgi flask websockets'
)
| mit | Python |
74852c6fa58fa23c96d40a4fbc819ed12e128a25 | upgrade version | vangj/py-bbn,vangj/py-bbn | setup.py | setup.py | from setuptools import setup, find_packages
with open('README.rst', 'r') as fh:
long_desc = fh.read()
setup(
name='pybbn',
version='0.1.3',
author='Jee Vang',
author_email='vangjee@gmail.com',
packages=find_packages(),
description='Learning and Inference in Bayesian Belief Networks',
long_description=long_desc,
url='https://github.com/vangj/py-bbn',
keywords=' '.join(['bayesian', 'belief', 'network', 'exact', 'approximate', 'inference', 'junction', 'tree',
'algorithm', 'pptc', 'dag', 'gibbs', 'sampling', 'multivariate', 'conditional', 'gaussian',
'linear', 'causal', 'causality', 'structure', 'parameter']),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Development Status :: 4 - Beta'
]
)
| from setuptools import setup, find_packages
with open('README.rst', 'r') as fh:
long_desc = fh.read()
setup(
name='pybbn',
version='0.1.2',
author='Jee Vang',
author_email='vangjee@gmail.com',
packages=find_packages(),
description='Learning and Inference in Bayesian Belief Networks',
long_description=long_desc,
url='https://github.com/vangj/py-bbn',
keywords=' '.join(['bayesian', 'belief', 'network', 'exact', 'approximate', 'inference', 'junction', 'tree',
'algorithm', 'pptc', 'dag', 'gibbs', 'sampling', 'multivariate', 'conditional', 'gaussian',
'linear', 'causal', 'causality', 'structure', 'parameter']),
classifiers=[
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Development Status :: 4 - Beta'
]
)
| apache-2.0 | Python |
97f421f2e728cceb35e0515dcd8c1db5ac214996 | add 'import re' in setup.py | elapouya/python-docx-template,rgusmero/python-docx-template | setup.py | setup.py | from setuptools import setup
import os
import re
def read(*names):
values = dict()
for name in names:
filename = name + '.rst'
if os.path.isfile(filename):
fd = open(filename)
value = fd.read()
fd.close()
else:
value = ''
values[name] = value
return values
long_description = """
%(README)s
News
====
%(CHANGES)s
""" % read('README', 'CHANGES')
def get_version(pkg):
path = os.path.join(os.path.dirname(__file__),pkg,'__init__.py')
with open(path) as fh:
m = re.search(r'^__version__\s*=\s*[\'"]([^\'"]+)[\'"]',fh.read(),re.M)
if m:
return m.group(1)
raise RuntimeError("Unable to find __version__ string in %s." % path)
setup(name='docxtpl',
version=get_version('docxtpl'),
description='Python docx template engine',
long_description=long_description,
classifiers=[
"Intended Audience :: Developers",
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
],
keywords='jinja2',
url='https://github.com/elapouya/python-docx-template',
author='Eric Lapouyade',
author_email='elapouya@gmail.com',
license='LGPL 2.1',
packages=['docxtpl'],
install_requires=['six', 'Sphinx<1.3b', 'sphinxcontrib-napoleon', 'python-docx', 'jinja2', 'lxml'],
eager_resources=['docs'],
zip_safe=False)
| from setuptools import setup
import os
def read(*names):
values = dict()
for name in names:
filename = name + '.rst'
if os.path.isfile(filename):
fd = open(filename)
value = fd.read()
fd.close()
else:
value = ''
values[name] = value
return values
long_description = """
%(README)s
News
====
%(CHANGES)s
""" % read('README', 'CHANGES')
def get_version(pkg):
path = os.path.join(os.path.dirname(__file__),pkg,'__init__.py')
with open(path) as fh:
m = re.search(r'^__version__\s*=\s*[\'"]([^\'"]+)[\'"]',fh.read(),re.M)
if m:
return m.group(1)
raise RuntimeError("Unable to find __version__ string in %s." % path)
setup(name='docxtpl',
version=get_version('docxtpl'),
description='Python docx template engine',
long_description=long_description,
classifiers=[
"Intended Audience :: Developers",
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
],
keywords='jinja2',
url='https://github.com/elapouya/python-docx-template',
author='Eric Lapouyade',
author_email='elapouya@gmail.com',
license='LGPL 2.1',
packages=['docxtpl'],
install_requires=['six', 'Sphinx<1.3b', 'sphinxcontrib-napoleon', 'python-docx', 'jinja2', 'lxml'],
eager_resources=['docs'],
zip_safe=False)
| lgpl-2.1 | Python |
45c2a5c2e1d2eb76fe7eaa599cb2269f25bdf553 | Update version for PyPi | OrkoHunter/keep,OrkoHunter/keep,paci4416/keep,paci4416/keep | setup.py | setup.py | #! /usr/bin/env python
#! -*- coding: utf-8 -*-
import sys
from setuptools import setup
if __name__ == "__main__":
setup(
name = 'keep',
version = 1.2,
author = 'Himanshu Mishra',
author_email = 'himanshumishra@iitkgp.ac.in',
description = 'Personal shell command keeper',
packages = ['keep', 'keep.commands'],
include_package_data=True,
install_requires=[
'click',
'request',
'tabulate'
],
entry_points = {
'console_scripts': [
'keep = keep.cli:cli'
],
},
)
| #! /usr/bin/env python
#! -*- coding: utf-8 -*-
import sys
from setuptools import setup
if __name__ == "__main__":
setup(
name = 'keep',
version = 0.1,
author = 'Himanshu Mishra',
author_email = 'himanshumishra@iitkgp.ac.in',
description = 'Personal shell command keeper',
packages = ['keep', 'keep.commands'],
include_package_data=True,
install_requires=[
'click',
'request',
'tabulate'
],
entry_points = {
'console_scripts': [
'keep = keep.cli:cli'
],
},
)
| mit | Python |
780c1fe3b2f537463a46e335186b7741add88a1e | fix license info within classifiers | mweb/appconfig | setup.py | setup.py | import os
import multiprocessing
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.md')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
requires = ['appdirs',
]
tests_requires = ['nose',
]
setup(name='appconfig',
version='0.2dev',
description='An easy to use config file wrapper.',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Topic :: Software Development :: Libraries :: Python Modules",
],
author='Mathias Weber',
author_email='mathew.weber@gmail.com',
license='BSD',
url='http://mweb.github.io/appconfig',
test_suite='nose.collector',
packages=find_packages(),
install_requires=requires,
tests_require=tests_requires)
| import os
import multiprocessing
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.md')).read()
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
requires = ['appdirs',
]
tests_requires = ['nose',
]
setup(name='appconfig',
version='0.2dev',
description='An easy to use config file wrapper.',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: BSD",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Topic :: Software Development :: Libraries :: Python Modules",
],
author='Mathias Weber',
author_email='mathew.weber@gmail.com',
license='BSD',
url='http://mweb.github.io/appconfig',
test_suite='nose.collector',
packages=find_packages(),
install_requires=requires,
tests_require=tests_requires)
| bsd-2-clause | Python |
0af00a7f4cab009fe5c00674a0775a4854577444 | Tweak some stuff in setup() | TangledWeb/tangled | setup.py | setup.py | from setuptools import setup, PEP420PackageFinder
setup(
name='tangled',
version='1.0a13.dev0',
description='Tangled namespace and utilities',
long_description=open('README.rst').read(),
url='https://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled/tags',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=PEP420PackageFinder.find(include=['tangled*']),
extras_require={
'dev': [
'coverage>=4.4.2',
'flake8>=3.5.0',
'Sphinx>=1.6.5',
'sphinx_rtd_theme>=0.2.4',
],
},
entry_points="""
[console_scripts]
tangled = tangled.__main__:main
[tangled.scripts]
release = tangled.scripts:ReleaseCommand
scaffold = tangled.scripts:ScaffoldCommand
python = tangled.scripts:ShellCommand
""",
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
| from setuptools import setup, PEP420PackageFinder
setup(
name='tangled',
version='1.0a13.dev0',
description='Tangled namespace and utilities',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled/tags',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=PEP420PackageFinder.find(include=['tangled*']),
extras_require={
'dev': (
'coverage>=4.4.2',
'flake8>=3.5.0',
'Sphinx>=1.6.5',
'sphinx_rtd_theme>=0.2.4',
)
},
entry_points="""
[console_scripts]
tangled = tangled.__main__:main
[tangled.scripts]
release = tangled.scripts:ReleaseCommand
scaffold = tangled.scripts:ScaffoldCommand
python = tangled.scripts:ShellCommand
""",
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
| mit | Python |
7a5fc22287fcda6497065032967496afea3e49ce | fix travis CI | changsiyao/mousestyles,berkeley-stat222/mousestyles,togawa28/mousestyles | setup.py | setup.py | #! /usr/bin/env python
if __name__ == "__main__":
from setuptools import setup
setup(name="mousestyles",
packages=["mousestyles", "mousestyles.data", "mousestyles.data.tests"],
package_data={'mousestyles.data': ['*.npy', '*/*/*.npy']})
| #! /usr/bin/env python
if __name__ == "__main__":
from setuptools import setup
setup(name="mousestyles",
packages=["mousestyles", "mousestyles.data", "mousestyles.data.tests"])
| bsd-2-clause | Python |
dbbbc3f3b0d80e5f990dee631006e261fa6d09a7 | Bump version | tylerdave/devpi-plumber | setup.py | setup.py | # coding=utf-8
import multiprocessing # avoid crash on teardown
from setuptools import setup, find_packages
with open('README.md') as f:
readme = f.read()
setup(
name='devpi-plumber',
version='0.2.0',
packages=find_packages(exclude=['tests']),
author='Stephan Erb',
author_email='stephan.erb@blue-yonder.com',
url='https://github.com/blue-yonder/devpi-plumber',
description='Mario, the devpi-plumber, helps to automate and test large devpi installations.',
long_description=readme,
license='new BSD',
install_requires=[
'devpi-client',
'devpi-server',
'twitter.common.contextutil',
'six'
],
setup_requires=[
'nose'
],
tests_require=[
'nose',
'nose-progressive',
'mock',
'coverage',
],
test_suite='nose.collector',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: BSD License',
'Topic :: System :: Archiving :: Packaging',
'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',
],
)
| # coding=utf-8
import multiprocessing # avoid crash on teardown
from setuptools import setup, find_packages
with open('README.md') as f:
readme = f.read()
setup(
name='devpi-plumber',
version='0.2.0.dev',
packages=find_packages(exclude=['tests']),
author='Stephan Erb',
author_email='stephan.erb@blue-yonder.com',
url='https://github.com/blue-yonder/devpi-plumber',
description='Mario, the devpi-plumber, helps to automate and test large devpi installations.',
long_description=readme,
license='new BSD',
install_requires=[
'devpi-client',
'devpi-server',
'twitter.common.contextutil',
'six'
],
setup_requires=[
'nose'
],
tests_require=[
'nose',
'nose-progressive',
'mock',
'coverage',
],
test_suite='nose.collector',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: BSD License',
'Topic :: System :: Archiving :: Packaging',
'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',
],
)
| bsd-3-clause | Python |
2a643d79824e0c303b2a1f112c225012f6e54e06 | Fix pkgname in setup.py | ConstellationApps/Forms,ConstellationApps/Forms,ConstellationApps/Forms | setup.py | setup.py | import os
from setuptools import setup
# Allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
setup(
name='Constellation-Forms',
version='0.1.0',
packages=['constellation_forms'],
include_package_data=True,
license='ISC License',
description='Constellation Suite - Forms',
long_description=README,
url='https://github.com/ConstellationApps/',
author='Constellation Developers',
author_email='bugs@constellationapps.org',
install_requires=[
'Constellation-Base>=0.1.3',
'django-guardian',
'psycopg2',
],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: ISC License (ISCL)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Development Status :: 4 - Beta'
]
)
| import os
from setuptools import setup
# Allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
setup(
name='Constellation-Forms',
version='0.1.0',
packages=['constellation_forms'],
include_package_data=True,
license='ISC License',
description='Constellation Suite - Forms',
long_description=README,
url='https://github.com/ConstellationApps/',
author='Constellation Developers',
author_email='bugs@constellationapps.org',
install_requires=[
'constellation_base>=0.1.3',
'django-guardian',
'psycopg2',
],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: ISC License (ISCL)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Development Status :: 4 - Beta'
]
)
| isc | Python |
08bad8b5cefd896520334200a6a8713a60c9a334 | Bump version | BillyBlaze/OctoPrint-TouchUI,BillyBlaze/OctoPrint-TouchUI,BillyBlaze/OctoPrint-TouchUI | setup.py | setup.py | # coding=utf-8
plugin_identifier = "touchui"
plugin_package = "octoprint_touchui"
plugin_name = "TouchUI"
plugin_version = "0.3.17"
plugin_description = """A touch friendly interface for a small TFT modules and or phones"""
plugin_author = "Paul de Vries"
plugin_author_email = "pablo+octoprint+touch+ui@aerosol.me"
plugin_url = "https://github.com/BillyBlaze/OctoPrint-TouchUI"
plugin_license = "AGPLv3"
plugin_requires = ["OctoPrint>=1.2.4"]
plugin_additional_data = []
plugin_addtional_packages = []
plugin_ignored_packages = []
additional_setup_parameters = {}
from setuptools import setup
try:
import octoprint_setuptools
except:
print("Could not import OctoPrint's setuptools, are you sure you are running that under "
"the same python installation that OctoPrint is installed under?")
import sys
sys.exit(-1)
setup_parameters = octoprint_setuptools.create_plugin_setup_parameters(
identifier=plugin_identifier,
package=plugin_package,
name=plugin_name,
version=plugin_version,
description=plugin_description,
author=plugin_author,
mail=plugin_author_email,
url=plugin_url,
license=plugin_license,
requires=plugin_requires,
additional_packages=plugin_addtional_packages,
ignored_packages=plugin_ignored_packages,
additional_data=plugin_additional_data
)
if len(additional_setup_parameters):
from octoprint.util import dict_merge
setup_parameters = dict_merge(setup_parameters, additional_setup_parameters)
setup(**setup_parameters)
try:
import os
fileOut = "./octoprint_touchui/WHATSNEW.md"
fileIn = "./WHATSNEW.md"
if os.path.isfile(fileOut):
os.unlink(fileOut)
with open(fileIn, 'r') as contentFile:
whatsNew = contentFile.read()
with open(fileOut, "w+") as writeFile:
writeFile.write('{WHATSNEW}'.format(WHATSNEW=whatsNew))
except Exception as e:
print("\nCopying the WHATSNEW.md failed, however it shouldn't matter, just read the release notes on github if you like.\nThe error: {message}".format(message=str(e)))
| # coding=utf-8
plugin_identifier = "touchui"
plugin_package = "octoprint_touchui"
plugin_name = "TouchUI"
plugin_version = "0.3.16"
plugin_description = """A touch friendly interface for a small TFT modules and or phones"""
plugin_author = "Paul de Vries"
plugin_author_email = "pablo+octoprint+touch+ui@aerosol.me"
plugin_url = "https://github.com/BillyBlaze/OctoPrint-TouchUI"
plugin_license = "AGPLv3"
plugin_requires = ["OctoPrint>=1.2.4"]
plugin_additional_data = []
plugin_addtional_packages = []
plugin_ignored_packages = []
additional_setup_parameters = {}
from setuptools import setup
try:
import octoprint_setuptools
except:
print("Could not import OctoPrint's setuptools, are you sure you are running that under "
"the same python installation that OctoPrint is installed under?")
import sys
sys.exit(-1)
setup_parameters = octoprint_setuptools.create_plugin_setup_parameters(
identifier=plugin_identifier,
package=plugin_package,
name=plugin_name,
version=plugin_version,
description=plugin_description,
author=plugin_author,
mail=plugin_author_email,
url=plugin_url,
license=plugin_license,
requires=plugin_requires,
additional_packages=plugin_addtional_packages,
ignored_packages=plugin_ignored_packages,
additional_data=plugin_additional_data
)
if len(additional_setup_parameters):
from octoprint.util import dict_merge
setup_parameters = dict_merge(setup_parameters, additional_setup_parameters)
setup(**setup_parameters)
try:
import os
fileOut = "./octoprint_touchui/WHATSNEW.md"
fileIn = "./WHATSNEW.md"
if os.path.isfile(fileOut):
os.unlink(fileOut)
with open(fileIn, 'r') as contentFile:
whatsNew = contentFile.read()
with open(fileOut, "w+") as writeFile:
writeFile.write('{WHATSNEW}'.format(WHATSNEW=whatsNew))
except Exception as e:
print("\nCopying the WHATSNEW.md failed, however it shouldn't matter, just read the release notes on github if you like.\nThe error: {message}".format(message=str(e)))
| agpl-3.0 | Python |
9c41b92ce5036064e0e2490056f15583cbe9bfe6 | Add python version classifiers | kennethreitz/grequests | setup.py | setup.py | # -*- coding: utf-8 -*-
"""
GRequests allows you to use Requests with Gevent to make asynchronous HTTP
Requests easily.
Usage
-----
Usage is simple::
import grequests
urls = [
'http://www.heroku.com',
'http://tablib.org',
'http://httpbin.org',
'http://python-requests.org',
'http://kennethreitz.com'
]
Create a set of unsent Requests::
>>> rs = (grequests.get(u) for u in urls)
Send them all at the same time::
>>> grequests.map(rs)
[<Response [200]>, <Response [200]>, <Response [200]>, <Response [200]>, <Response [200]>]
"""
from setuptools import setup
setup(
name='grequests',
version='0.3.1',
url='https://github.com/kennethreitz/grequests',
license='BSD',
author='Kenneth Reitz',
author_email='me@kennethreitz.com',
description='Requests + Gevent',
long_description=__doc__,
install_requires=[
'gevent',
'requests'
],
tests_require = ['nose'],
test_suite = 'nose.collector',
py_modules=['grequests'],
zip_safe=False,
include_package_data=True,
platforms='any',
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
| # -*- coding: utf-8 -*-
"""
GRequests allows you to use Requests with Gevent to make asynchronous HTTP
Requests easily.
Usage
-----
Usage is simple::
import grequests
urls = [
'http://www.heroku.com',
'http://tablib.org',
'http://httpbin.org',
'http://python-requests.org',
'http://kennethreitz.com'
]
Create a set of unsent Requests::
>>> rs = (grequests.get(u) for u in urls)
Send them all at the same time::
>>> grequests.map(rs)
[<Response [200]>, <Response [200]>, <Response [200]>, <Response [200]>, <Response [200]>]
"""
from setuptools import setup
setup(
name='grequests',
version='0.3.1',
url='https://github.com/kennethreitz/grequests',
license='BSD',
author='Kenneth Reitz',
author_email='me@kennethreitz.com',
description='Requests + Gevent',
long_description=__doc__,
install_requires=[
'gevent',
'requests'
],
tests_require = ['nose'],
test_suite = 'nose.collector',
py_modules=['grequests'],
zip_safe=False,
include_package_data=True,
platforms='any',
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
| bsd-2-clause | Python |
676f33c1a8a2c4b35079468f14785aee8e625026 | Bump to v0.2 | yunojuno/django-appmail,yunojuno/django-appmail | setup.py | setup.py | # -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).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-appmail",
version="0.2",
packages=find_packages(),
install_requires=['Django>=1.10'],
include_package_data=True,
description='Django app for managing localised email templates.',
long_description=README,
url='https://github.com/yunojuno/django-appmail',
author='YunoJuno',
author_email='code@yunojuno.com',
maintainer='YunoJuno',
maintainer_email='code@yunojuno.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
| # -*- coding: utf-8 -*-
import os
from setuptools import setup, find_packages
README = open(os.path.join(os.path.dirname(__file__), 'README.rst')).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-appmail",
version="0.1",
packages=find_packages(),
install_requires=['Django>=1.10'],
include_package_data=True,
description='Django app for managing localised email templates.',
long_description=README,
url='https://github.com/yunojuno/django-appmail',
author='YunoJuno',
author_email='code@yunojuno.com',
maintainer='YunoJuno',
maintainer_email='code@yunojuno.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
| mit | Python |
e738d5cb4bc4a1302ffe252e8fb2adb42c59c8b9 | Bump version: 0.1.6 -> 0.1.7 | polysquare/travis-bump-version | setup.py | setup.py | # /setup.py
#
# Installation and setup script for travis-bump-version
#
# See /LICENCE.md for Copyright information
"""Installation and setup script for travis-bump-version."""
from setuptools import find_packages
from setuptools import setup
setup(name="travis-bump-version",
version="0.1.7",
description="Bump version files on travis builds",
long_description_markdown_filename="README.md",
author="Sam Spilsbury",
author_email="smspillaz@gmail.com",
url="http://github.com/polysquare/travis-runner",
classifiers=["Development Status :: 3 - Alpha",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.1",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: MIT License"],
license="MIT",
keywords="development linters",
packages=find_packages(exclude=["tests"]),
install_requires=["pyaml", "bumpversion"],
extras_require={
"green": ["nose-parameterized",
"testtools",
"six",
"setuptools-green"],
"polysquarelint": ["polysquare-setuptools-lint>=0.0.19"],
"upload": ["setuptools-markdown"]
},
entry_points={
"console_scripts": [
"travis-bump-version=travisbumpversion.main:main"
]
},
test_suite="nose.collector",
zip_safe=True,
include_package_data=True)
| # /setup.py
#
# Installation and setup script for travis-bump-version
#
# See /LICENCE.md for Copyright information
"""Installation and setup script for travis-bump-version."""
from setuptools import find_packages
from setuptools import setup
setup(name="travis-bump-version",
version="0.1.6",
description="Bump version files on travis builds",
long_description_markdown_filename="README.md",
author="Sam Spilsbury",
author_email="smspillaz@gmail.com",
url="http://github.com/polysquare/travis-runner",
classifiers=["Development Status :: 3 - Alpha",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.1",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: MIT License"],
license="MIT",
keywords="development linters",
packages=find_packages(exclude=["tests"]),
install_requires=["pyaml", "bumpversion"],
extras_require={
"green": ["nose-parameterized",
"testtools",
"six",
"setuptools-green"],
"polysquarelint": ["polysquare-setuptools-lint>=0.0.19"],
"upload": ["setuptools-markdown"]
},
entry_points={
"console_scripts": [
"travis-bump-version=travisbumpversion.main:main"
]
},
test_suite="nose.collector",
zip_safe=True,
include_package_data=True)
| mit | Python |
6e5a65f0d8f7cd15375d720d962a1ea624ea9c18 | Update setup.py | ResidentMario/missingno | setup.py | setup.py | from setuptools import setup
setup(
name = 'missingno',
packages = ['missingno'], # this must be the same as the name above
install_requires=['numpy', 'matplotlib', 'scipy', 'seaborn'],
py_modules=['missingno'],
version = '0.2.1',
description = 'Missing data visualization module for Python.',
author = 'Aleksey Bilogur',
author_email = 'aleksey.bilogur@gmail.com',
url = 'https://github.com/ResidentMario/missingno',
download_url = 'https://github.com/ResidentMario/missingno/tarball/0.2.1',
keywords = ['data', 'data visualization', 'data analysis', 'missing data', 'data science', 'pandas', 'python',
'jupyter'],
classifiers = [],
) | from setuptools import setup
setup(
name = 'missingno',
packages = ['missingno'], # this must be the same as the name above
install_requires=['numpy', 'matplotlib', 'scipy', 'seaborn'],
py_modules=['missingno'],
version = '0.2.0',
description = 'Missing data visualization module for Python.',
author = 'Aleksey Bilogur',
author_email = 'aleksey.bilogur@gmail.com',
url = 'https://github.com/ResidentMario/missingno',
download_url = 'https://github.com/ResidentMario/missingno/tarball/0.2.0',
keywords = ['data', 'data visualization', 'data analysis', 'missing data', 'data science', 'pandas', 'python',
'jupyter'],
classifiers = [],
) | mit | Python |
2b931429833ddfcb26c89feb87dce860a5d6cbac | increment hm version | tsuru/rpaas,tsuru/rpaas,vfiebig/rpaas,vfiebig/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.1.6",
"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.1.16",
]
},
)
| # -*- 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.1.5",
"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.1.16",
]
},
)
| bsd-3-clause | Python |
9cfc9d25bc1faae082b12fd7d35cd98a35289b27 | tweak description | rs/petl,thatneat/petl,rs/petl,psnj/petl,rs/petl,alimanfoo/petl,Marketing1by1/petl | setup.py | setup.py | from ast import literal_eval
from distutils.core import setup
def get_version(source='src/petl/__init__.py'):
with open(source) as f:
for line in f:
if line.startswith('__version__'):
return literal_eval(line.split('=')[-1].lstrip())
raise ValueError("__version__ not found")
setup(
name='petl',
version=get_version(),
author='Alistair Miles',
author_email='alimanfoo@googlemail.com',
package_dir={'': 'src'},
packages=['petl'],
scripts=['bin/petl'],
url='https://github.com/alimanfoo/petl',
license='MIT License',
description='A Python module for extracting, transforming and loading tables of data.',
long_description=open('README.txt').read(),
classifiers=['Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
| from ast import literal_eval
from distutils.core import setup
def get_version(source='src/petl/__init__.py'):
with open(source) as f:
for line in f:
if line.startswith('__version__'):
return literal_eval(line.split('=')[-1].lstrip())
raise ValueError("__version__ not found")
setup(
name='petl',
version=get_version(),
author='Alistair Miles',
author_email='alimanfoo@googlemail.com',
package_dir={'': 'src'},
packages=['petl'],
scripts=['bin/petl'],
url='https://github.com/alimanfoo/petl',
license='MIT License',
description='A tentative Python module for extracting, transforming and loading tables of data.',
long_description=open('README.txt').read(),
classifiers=['Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules'
]
) | mit | Python |
ea640001d0ad6e56369102e02b949c865c48726f | Support click-log 0.4.0 | untitaker/vdirsyncer,untitaker/vdirsyncer,untitaker/vdirsyncer | setup.py | setup.py | """
Vdirsyncer synchronizes calendars and contacts.
Please refer to https://vdirsyncer.pimutils.org/en/stable/packaging.html for
how to package vdirsyncer.
"""
from setuptools import Command
from setuptools import find_packages
from setuptools import setup
requirements = [
# https://github.com/mitsuhiko/click/issues/200
"click>=5.0,<9.0",
"click-log>=0.3.0, <0.5.0",
"requests >=2.20.0",
# https://github.com/sigmavirus24/requests-toolbelt/pull/28
# And https://github.com/sigmavirus24/requests-toolbelt/issues/54
"requests_toolbelt >=0.4.0",
# https://github.com/untitaker/python-atomicwrites/commit/4d12f23227b6a944ab1d99c507a69fdbc7c9ed6d # noqa
"atomicwrites>=0.1.7",
"aiohttp>=3.8.0,<4.0.0",
"aiostream>=0.4.3,<0.5.0",
]
class PrintRequirements(Command):
description = "Prints minimal requirements"
user_options: list = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
for requirement in requirements:
print(requirement.replace(">", "=").replace(" ", ""))
with open("README.rst") as f:
long_description = f.read()
setup(
# General metadata
name="vdirsyncer",
author="Markus Unterwaditzer",
author_email="markus@unterwaditzer.net",
url="https://github.com/pimutils/vdirsyncer",
description="Synchronize calendars and contacts",
license="BSD",
long_description=long_description,
# Runtime dependencies
install_requires=requirements,
# Optional dependencies
extras_require={
"google": ["aiohttp-oauthlib"],
},
# Build dependencies
setup_requires=["setuptools_scm != 1.12.0"],
# Other
packages=find_packages(exclude=["tests.*", "tests"]),
include_package_data=True,
cmdclass={"minimal_requirements": PrintRequirements},
use_scm_version={"write_to": "vdirsyncer/version.py"},
entry_points={"console_scripts": ["vdirsyncer = vdirsyncer.cli:main"]},
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Internet",
"Topic :: Utilities",
],
)
| """
Vdirsyncer synchronizes calendars and contacts.
Please refer to https://vdirsyncer.pimutils.org/en/stable/packaging.html for
how to package vdirsyncer.
"""
from setuptools import Command
from setuptools import find_packages
from setuptools import setup
requirements = [
# https://github.com/mitsuhiko/click/issues/200
"click>=5.0,<9.0",
"click-log>=0.3.0, <0.4.0",
"requests >=2.20.0",
# https://github.com/sigmavirus24/requests-toolbelt/pull/28
# And https://github.com/sigmavirus24/requests-toolbelt/issues/54
"requests_toolbelt >=0.4.0",
# https://github.com/untitaker/python-atomicwrites/commit/4d12f23227b6a944ab1d99c507a69fdbc7c9ed6d # noqa
"atomicwrites>=0.1.7",
"aiohttp>=3.8.0,<4.0.0",
"aiostream>=0.4.3,<0.5.0",
]
class PrintRequirements(Command):
description = "Prints minimal requirements"
user_options: list = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
for requirement in requirements:
print(requirement.replace(">", "=").replace(" ", ""))
with open("README.rst") as f:
long_description = f.read()
setup(
# General metadata
name="vdirsyncer",
author="Markus Unterwaditzer",
author_email="markus@unterwaditzer.net",
url="https://github.com/pimutils/vdirsyncer",
description="Synchronize calendars and contacts",
license="BSD",
long_description=long_description,
# Runtime dependencies
install_requires=requirements,
# Optional dependencies
extras_require={
"google": ["aiohttp-oauthlib"],
},
# Build dependencies
setup_requires=["setuptools_scm != 1.12.0"],
# Other
packages=find_packages(exclude=["tests.*", "tests"]),
include_package_data=True,
cmdclass={"minimal_requirements": PrintRequirements},
use_scm_version={"write_to": "vdirsyncer/version.py"},
entry_points={"console_scripts": ["vdirsyncer = vdirsyncer.cli:main"]},
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Console",
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Internet",
"Topic :: Utilities",
],
)
| mit | Python |
3340a2841449e8f51bfccba353f7dc45a8c2d9aa | Add pytest-mock to tests_require | patricksnape/menpo,patricksnape/menpo,menpo/menpo,patricksnape/menpo,menpo/menpo,menpo/menpo | setup.py | setup.py | import sys
from setuptools import setup, find_packages
import versioneer
# Please see conda/meta.yaml for other binary dependencies
install_requires = ['numpy>=1.14',
'scipy>=1.0',
'matplotlib>=3.0',
'pillow>=4.0']
if sys.version_info.major == 2:
install_requires.append('pathlib==1.0')
setup(
name='menpo',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='A Python toolkit for handling annotated data',
author='The Menpo Team',
author_email='hello@menpo.org',
packages=find_packages(),
install_requires=install_requires,
package_data={'menpo': ['data/*']},
tests_require=['pytest>=5.0', 'pytest-mock>=1.0', 'mock>=3.0']
)
| import sys
from setuptools import setup, find_packages
import versioneer
# Please see conda/meta.yaml for other binary dependencies
install_requires = ['numpy>=1.14',
'scipy>=1.0',
'matplotlib>=3.0',
'pillow>=4.0']
if sys.version_info.major == 2:
install_requires.append('pathlib==1.0')
setup(
name='menpo',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description='A Python toolkit for handling annotated data',
author='The Menpo Team',
author_email='hello@menpo.org',
packages=find_packages(),
install_requires=install_requires,
package_data={'menpo': ['data/*']},
tests_require=['pytest>=5.0', 'mock>=3.0']
)
| bsd-3-clause | Python |
f38b6126f931012889707f411d1d89581a12fba6 | bump up package to 0.0.2 | abhishekraok/GraphMap,abhishekraok/GraphMap | setup.py | setup.py | # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
with open('LICENSE') as f:
license = f.read()
setup(
name='graphmap',
version='0.0.2',
description='Images on a quad graph',
author='Abhishek Rao',
author_email='abhishek.rao.comm@gmail.com',
url='https://github.com/abhishekraok/GraphMap',
download_url='https://github.com/abhishekraok/GraphMap/archive/v0.1.tar.gz',
license=license,
packages=find_packages(exclude=('tests', 'docs'))
)
| # -*- coding: utf-8 -*-
from setuptools import setup, find_packages
with open('LICENSE') as f:
license = f.read()
setup(
name='graphmap',
version='0.0.1',
description='Images on a quad graph',
author='Abhishek Rao',
author_email='abhishek.rao.comm@gmail.com',
url='https://github.com/abhishekraok/GraphMap',
download_url='https://github.com/abhishekraok/GraphMap/archive/v0.1.tar.gz',
license=license,
packages=find_packages(exclude=('tests', 'docs'))
)
| apache-2.0 | Python |
937b8c26f6fd05dbac571fb300880053558ed904 | fix up deps | pudo/extractors | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='extractors',
version='0.2.0',
description="Wrapper script for data extractors.",
long_description="",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4'
],
keywords='pdf doc data extractor',
author='Friedrich Lindenberg',
author_email='friedrich@pudo.org',
url='https://github.com/pudo/extractors',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'test']),
namespace_packages=[],
package_data={},
include_package_data=True,
zip_safe=False,
test_suite='nose.collector',
install_requires=[
'pdfminer==20140328',
'chardet>=2.3.0',
'tesserwrap',
'Pillow',
'six'
]
)
| from setuptools import setup, find_packages
setup(
name='extractors',
version='0.2.0',
description="Wrapper script for data extractors.",
long_description="",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4'
],
keywords='pdf doc data extractor',
author='Friedrich Lindenberg',
author_email='friedrich@pudo.org',
url='https://github.com/pudo/extractors',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'test']),
namespace_packages=[],
package_data={},
include_package_data=True,
zip_safe=False,
test_suite='nose.collector',
install_requires=[
'pdfminer==20140328',
'chardet>=2.3.0',
'tesserwrap',
'PIL',
'six'
]
)
| mit | Python |
fd32c9a95c895b2a05dbecb68ca466a123c276e4 | Update Beta classifiers to Alpha for specified services. | googleapis/python-translate,googleapis/python-translate | setup.py | setup.py | # Copyright 2016 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import os
from setuptools import find_packages
from setuptools import setup
PACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(PACKAGE_ROOT, 'README.rst')) as file_obj:
README = file_obj.read()
# NOTE: This is duplicated throughout and we should try to
# consolidate.
SETUP_BASE = {
'author': 'Google Cloud Platform',
'author_email': 'jjg+google-cloud-python@google.com',
'scripts': [],
'url': 'https://github.com/GoogleCloudPlatform/google-cloud-python',
'license': 'Apache 2.0',
'platforms': 'Posix; MacOS X; Windows',
'include_package_data': True,
'zip_safe': False,
'classifiers': [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Internet',
],
}
REQUIREMENTS = [
'google-cloud-core >= 0.22.1, < 0.23dev',
]
setup(
name='google-cloud-translate',
version='0.22.0',
description='Python Client for Google Cloud Translation API',
long_description=README,
namespace_packages=[
'google',
'google.cloud',
],
packages=find_packages(),
install_requires=REQUIREMENTS,
**SETUP_BASE
)
| # Copyright 2016 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import os
from setuptools import find_packages
from setuptools import setup
PACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(PACKAGE_ROOT, 'README.rst')) as file_obj:
README = file_obj.read()
# NOTE: This is duplicated throughout and we should try to
# consolidate.
SETUP_BASE = {
'author': 'Google Cloud Platform',
'author_email': 'jjg+google-cloud-python@google.com',
'scripts': [],
'url': 'https://github.com/GoogleCloudPlatform/google-cloud-python',
'license': 'Apache 2.0',
'platforms': 'Posix; MacOS X; Windows',
'include_package_data': True,
'zip_safe': False,
'classifiers': [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Internet',
],
}
REQUIREMENTS = [
'google-cloud-core >= 0.22.1, < 0.23dev',
]
setup(
name='google-cloud-translate',
version='0.22.0',
description='Python Client for Google Cloud Translation API',
long_description=README,
namespace_packages=[
'google',
'google.cloud',
],
packages=find_packages(),
install_requires=REQUIREMENTS,
**SETUP_BASE
)
| apache-2.0 | Python |
e62a8df4e61a1a3b5850df9b336f68596816e909 | Update setup.py | tariqdaouda/rabaDB | setup.py | setup.py | from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='rabaDB',
version='1.0.4',
description="Store, Search, Modify your objects easily. You're welcome.",
long_description=long_description,
url='https://github.com/tariqdaouda/rabaDB',
author='Tariq Daouda',
author_email='tariq.daouda@umontreal.ca',
license='ApacheV2.0',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Software Development :: Libraries',
'Topic :: Database',
'Topic :: Database :: Database Engines/Servers',
'Topic :: Database :: Front-Ends',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2.7',
],
keywords='NoSQL database ORM sqlite3',
packages=find_packages(exclude=['trash']),
# 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/technical.html#install-requires-vs-requirements-files
#~ install_requires=[],
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
#~ package_data={
#~ 'sample': ['package_data.dat'],
#~ },
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages.
# see http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
#~ data_files=[('my_data', ['data/data_file'])],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'sample=sample:main',
],
},
)
| from setuptools import setup, find_packages
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
with open(path.join(here, 'DESCRIPTION.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='rabaDB',
version='1.0.3',
description="Store, Search, Modify your objects easily. You're welcome.",
long_description=long_description,
url='https://github.com/tariqdaouda/rabaDB',
author='Tariq Daouda',
author_email='tariq.daouda@umontreal.ca',
license='ApacheV2.0',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Topic :: Scientific/Engineering :: Bio-Informatics',
'Topic :: Software Development :: Libraries',
'Topic :: Database',
'Topic :: Database :: Database Engines/Servers',
'Topic :: Database :: Front-Ends',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2.7',
],
keywords='NoSQL database ORM sqlite3',
packages=find_packages(exclude=['trash']),
# 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/technical.html#install-requires-vs-requirements-files
#~ install_requires=[],
# If there are data files included in your packages that need to be
# installed, specify them here. If using Python 2.6 or less, then these
# have to be included in MANIFEST.in as well.
#~ package_data={
#~ 'sample': ['package_data.dat'],
#~ },
# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages.
# see http://docs.python.org/3.4/distutils/setupscript.html#installing-additional-files
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
#~ data_files=[('my_data', ['data/data_file'])],
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'sample=sample:main',
],
},
)
| apache-2.0 | Python |
439ea916662a5ab215a9b0ee5b2a2f664dba7281 | Update dependencies to baseline on Ubuntu 18.04 | XML-Security/signxml,kislyuk/signxml,XML-Security/signxml | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='signxml',
version="2.5.2",
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 >= 4.2.1, < 5',
'defusedxml >= 0.5.0, < 1',
'eight >= 0.4.2, < 1',
'cryptography >= 2.1.4, < 3',
'asn1crypto >= 0.24.0',
'pyOpenSSL >= 17.5.0, < 19',
'certifi >= 2018.1.18'
],
extras_require={
':python_version == "2.7"': [
'enum34 >= 1.1.6, < 2',
'ipaddress >= 1.0.17, < 2'
]
},
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.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
| #!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name='signxml',
version="2.5.2",
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, < 5',
'defusedxml >= 0.4.1, < 1',
'eight >= 0.3.0, < 1',
'cryptography >= 1.8, < 3',
'asn1crypto >= 0.21.0',
'pyOpenSSL >= 0.15.1, < 18',
'certifi >= 2015.11.20.1'
],
extras_require={
':python_version == "2.7"': [
'enum34 >= 1.0.4',
'ipaddress >= 1.0.19, < 2'
]
},
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.4',
'Programming Language :: Python :: 3.5',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)
| apache-2.0 | Python |
c2ea0f05bf4d2f0cd73c020b40edd2d9af8d5a7e | update to 0.2.9 | gamechanger/schemer | setup.py | setup.py | import setuptools
setuptools.setup(
name="Schemer",
version="0.2.9",
author="Tom Leach",
author_email="tom@gc.io",
description="Powerful schema-based validation of Python dicts",
license="BSD",
keywords="validation schema dict list",
url="http://github.com/gamechanger/schemer",
packages=["schemer"],
long_description="Schemer allows users to declare schemas for Python dicts and lists and then validate actual dicts and lists against those schemas.",
tests_require=['mock', 'nose']
)
| import setuptools
setuptools.setup(
name="Schemer",
version="0.2.8",
author="Tom Leach",
author_email="tom@gc.io",
description="Powerful schema-based validation of Python dicts",
license="BSD",
keywords="validation schema dict list",
url="http://github.com/gamechanger/schemer",
packages=["schemer"],
long_description="Schemer allows users to declare schemas for Python dicts and lists and then validate actual dicts and lists against those schemas.",
tests_require=['mock', 'nose']
)
| mit | Python |
4ef4e9e3ea781fddba28454faf2984cf4df77341 | fix cms version requiredment | ZeitOnline/zeit.content.portraitbox | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='zeit.content.portraitbox',
version = '1.22.4dev',
author='gocept',
author_email='mail@gocept.com',
url='https://svn.gocept.com/repos/gocept-int/zeit.cms',
description="ZEIT portraitbox",
packages=find_packages('src'),
package_dir = {'': 'src'},
include_package_data = True,
zip_safe=False,
license='gocept proprietary',
namespace_packages = ['zeit', 'zeit.content'],
install_requires=[
'gocept.form',
'setuptools',
'zeit.cms>1.40.3',
'zeit.wysiwyg',
'zope.app.appsetup',
'zope.app.testing',
'zope.component',
'zope.formlib',
'zope.interface',
'zope.publisher',
'zope.security',
'zope.testing',
],
)
| from setuptools import setup, find_packages
setup(
name='zeit.content.portraitbox',
version = '1.22.4dev',
author='gocept',
author_email='mail@gocept.com',
url='https://svn.gocept.com/repos/gocept-int/zeit.cms',
description="ZEIT portraitbox",
packages=find_packages('src'),
package_dir = {'': 'src'},
include_package_data = True,
zip_safe=False,
license='gocept proprietary',
namespace_packages = ['zeit', 'zeit.content'],
install_requires=[
'gocept.form',
'setuptools',
'zeit.cms>=1.40.4',
'zeit.wysiwyg',
'zope.app.appsetup',
'zope.app.testing',
'zope.component',
'zope.formlib',
'zope.interface',
'zope.publisher',
'zope.security',
'zope.testing',
],
)
| bsd-3-clause | Python |
e3b8b2f0127d4c18e9396f0d0b3164c87b01bd48 | Add homepage to setup.py | ppavlidis/rnaseq-pipeline,ppavlidis/rnaseq-pipeline,ppavlidis/rnaseq-pipeline | setup.py | setup.py | from setuptools import setup, find_packages
setup(name='rnaseq_pipeline',
version='2.1.1',
description='RNA-Seq pipeline for the Pavlidis Lab',
license='Public Domain',
long_description='file: README.md',
url='https://github.com/pavlidisLab/rnaseq-pipeline',
author='Guillaume Poirier-Morency',
author_email='poirigui@msl.ubc.ca',
classifiers=['License :: Public Domain'],
packages=find_packages(),
install_requires=['luigi', 'bioluigi', 'PyYAML', 'requests', 'pandas==1.1.4'],
extras_require={
'gsheet': ['google-api-python-client', 'google-auth-httplib2', 'google-auth-oauthlib', 'pyxdg'],
'webviewer': ['Flask']},
scripts=['scripts/luigi-wrapper', 'scripts/submit-experiments-from-gsheet'])
| from setuptools import setup, find_packages
setup(name='rnaseq_pipeline',
version='2.1.1',
description='RNA-Seq pipeline for the Pavlidis Lab',
license='Public Domain',
long_description='file: README.md',
author='Guillaume Poirier-Morency',
author_email='poirigui@msl.ubc.ca',
classifiers=['License :: Public Domain'],
packages=find_packages(),
install_requires=['luigi', 'bioluigi', 'PyYAML', 'requests', 'pandas==1.1.4'],
extras_require={
'gsheet': ['google-api-python-client', 'google-auth-httplib2', 'google-auth-oauthlib', 'pyxdg'],
'webviewer': ['Flask']},
scripts=['scripts/luigi-wrapper', 'scripts/submit-experiments-from-gsheet'])
| unlicense | Python |
a3d1a266cea46e7a839483c0ae57371a3702dfee | create fixed pip package | nikolasibalic/ARC-Alkali-Rydberg-Calculator,nikolasibalic/ARC-Alkali-Rydberg-Calculator | setup.py | setup.py | #!/usr/bin/env python
# -*- mode: Python; coding: utf-8 -*-
import sys
try:
from setuptools import setup, Extension
except ImportError:
from distutils.core import setup
from distutils.extension import Extension
from numpy.distutils.misc_util import get_numpy_include_dirs
arc_ext = Extension(
'arc.arc_c_extensions',
sources = ['arc/arc_c_extensions.c'],
extra_compile_args = ['-Wall','-O3'],
include_dirs=get_numpy_include_dirs(),
)
setup(
name="ARC-Alkali-Rydberg-Calculator",
version="1.4.3",
description="Alkali Rydberg Calculator",
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
license="BSD3",
keywords=["rydberg", "physics", "stark maps", "atom interactions", "quantum optics", "van der Waals", "scientific"],
url="https://github.com/nikolasibalic/ARC-Alkali-Rydberg-Calculator",
download_url="https://github.com/nikolasibalic/ARC-Alkali-Rydberg-Calculator/archive/1.4.1.tar.gz",
author = 'Nikola Sibalic, Jonathan D. Pritchard, Charles S. Adams, Kevin J. Weatherill',
author_email = 'nikolasibalic@physics.org',
packages=['arc'],
package_data={'arc': ['data/*', 'arc_c_extensions.c']},
zip_safe=False,
ext_modules=[arc_ext],
)
| #!/usr/bin/env python
# -*- mode: Python; coding: utf-8 -*-
import sys
try:
from setuptools import setup, Extension
except ImportError:
from distutils.core import setup
from distutils.extension import Extension
from numpy.distutils.misc_util import get_numpy_include_dirs
arc_ext = Extension(
'arc.arc_c_extensions',
sources = ['arc/arc_c_extensions.c'],
extra_compile_args = ['-Wall','-O3'],
include_dirs=get_numpy_include_dirs(),
)
setup(
name="ARC-Alkali-Rydberg-Calculator",
version="1.4.2",
description="Alkali Rydberg Calculator",
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
license="BSD3",
keywords=["rydberg", "physics", "stark maps", "atom interactions", "quantum optics", "van der Waals", "scientific"],
url="https://github.com/nikolasibalic/ARC-Alkali-Rydberg-Calculator",
download_url="https://github.com/nikolasibalic/ARC-Alkali-Rydberg-Calculator/archive/1.4.1.tar.gz",
author = 'Nikola Sibalic, Jonathan D. Pritchard, Charles S. Adams, Kevin J. Weatherill',
author_email = 'nikolasibalic@physics.org',
packages=['arc'],
package_data={'arc': ['data/*', 'arc_c_extensions.c']},
zip_safe=False,
ext_modules=[arc_ext],
)
| bsd-3-clause | Python |
de31c6fc4cad949a137e4c293b784fc71daa025b | Fix get_natural_key invalid caching | Scholr/scholr-roles | setup.py | setup.py | from setuptools import setup, find_packages
from io import open
setup(
name='ScholrRoles',
version='0.1.01',
author='Jorge Alpedrinha Ramos',
author_email='jalpedrinharamos@gmail.com',
packages=find_packages(),
package_data = { '': ['*.yml']},
#scripts=['bin/stowe-towels.py','bin/wash-towels.py'],
#url='http://pypi.python.org/pypi/TowelStuff/',
license='LICENSE.txt',
description='Django permissions engine.',
long_description=open('README.txt').read(),
install_requires=[
"Django >= 1.5",
],
) | from setuptools import setup, find_packages
from io import open
setup(
name='ScholrRoles',
version='0.0.27',
author='Jorge Alpedrinha Ramos',
author_email='jalpedrinharamos@gmail.com',
packages=find_packages(),
package_data = { '': ['*.yml']},
#scripts=['bin/stowe-towels.py','bin/wash-towels.py'],
#url='http://pypi.python.org/pypi/TowelStuff/',
license='LICENSE.txt',
description='Django permissions engine.',
long_description=open('README.txt').read(),
install_requires=[
"Django >= 1.5",
],
) | bsd-3-clause | Python |
55b7e76b82b08e047b3e0fd0f9847680fd4ef530 | Update Django dependency to 1.4.1+ | sasha0/django-oscar,ka7eh/django-oscar,nickpack/django-oscar,john-parton/django-oscar,monikasulik/django-oscar,okfish/django-oscar,DrOctogon/unwash_ecom,lijoantony/django-oscar,jmt4/django-oscar,kapt/django-oscar,solarissmoke/django-oscar,WadeYuChen/django-oscar,pasqualguerrero/django-oscar,kapari/django-oscar,Jannes123/django-oscar,kapari/django-oscar,binarydud/django-oscar,taedori81/django-oscar,MatthewWilkes/django-oscar,jmt4/django-oscar,bnprk/django-oscar,Bogh/django-oscar,faratro/django-oscar,kapt/django-oscar,eddiep1101/django-oscar,faratro/django-oscar,pdonadeo/django-oscar,john-parton/django-oscar,jlmadurga/django-oscar,vovanbo/django-oscar,jinnykoo/wuyisj,thechampanurag/django-oscar,machtfit/django-oscar,elliotthill/django-oscar,binarydud/django-oscar,sonofatailor/django-oscar,pdonadeo/django-oscar,michaelkuty/django-oscar,jinnykoo/wuyisj,jinnykoo/christmas,bschuon/django-oscar,saadatqadri/django-oscar,elliotthill/django-oscar,marcoantoniooliveira/labweb,adamend/django-oscar,solarissmoke/django-oscar,pasqualguerrero/django-oscar,makielab/django-oscar,bschuon/django-oscar,eddiep1101/django-oscar,Idematica/django-oscar,jinnykoo/wuyisj.com,QLGu/django-oscar,ademuk/django-oscar,eddiep1101/django-oscar,john-parton/django-oscar,nfletton/django-oscar,jinnykoo/wuyisj,monikasulik/django-oscar,MatthewWilkes/django-oscar,MatthewWilkes/django-oscar,binarydud/django-oscar,Idematica/django-oscar,pasqualguerrero/django-oscar,ademuk/django-oscar,binarydud/django-oscar,QLGu/django-oscar,faratro/django-oscar,WadeYuChen/django-oscar,saadatqadri/django-oscar,WillisXChen/django-oscar,itbabu/django-oscar,django-oscar/django-oscar,elliotthill/django-oscar,manevant/django-oscar,Idematica/django-oscar,itbabu/django-oscar,okfish/django-oscar,jmt4/django-oscar,django-oscar/django-oscar,marcoantoniooliveira/labweb,michaelkuty/django-oscar,monikasulik/django-oscar,WadeYuChen/django-oscar,josesanch/django-oscar,sasha0/django-oscar,mexeniz/django-oscar,dongguangming/django-oscar,rocopartners/django-oscar,amirrpp/django-oscar,ademuk/django-oscar,DrOctogon/unwash_ecom,okfish/django-oscar,ahmetdaglarbas/e-commerce,amirrpp/django-oscar,nickpack/django-oscar,nfletton/django-oscar,Jannes123/django-oscar,sonofatailor/django-oscar,kapari/django-oscar,jinnykoo/wuyisj.com,eddiep1101/django-oscar,bschuon/django-oscar,jinnykoo/christmas,lijoantony/django-oscar,sonofatailor/django-oscar,jmt4/django-oscar,ahmetdaglarbas/e-commerce,sasha0/django-oscar,monikasulik/django-oscar,machtfit/django-oscar,michaelkuty/django-oscar,jinnykoo/christmas,john-parton/django-oscar,QLGu/django-oscar,vovanbo/django-oscar,makielab/django-oscar,anentropic/django-oscar,nickpack/django-oscar,taedori81/django-oscar,rocopartners/django-oscar,rocopartners/django-oscar,sonofatailor/django-oscar,anentropic/django-oscar,bnprk/django-oscar,pdonadeo/django-oscar,MatthewWilkes/django-oscar,dongguangming/django-oscar,jlmadurga/django-oscar,amirrpp/django-oscar,solarissmoke/django-oscar,bnprk/django-oscar,ademuk/django-oscar,jinnykoo/wuyisj.com,vovanbo/django-oscar,vovanbo/django-oscar,jinnykoo/wuyisj,ahmetdaglarbas/e-commerce,saadatqadri/django-oscar,faratro/django-oscar,josesanch/django-oscar,mexeniz/django-oscar,Bogh/django-oscar,nickpack/django-oscar,nfletton/django-oscar,makielab/django-oscar,kapt/django-oscar,pasqualguerrero/django-oscar,lijoantony/django-oscar,taedori81/django-oscar,saadatqadri/django-oscar,itbabu/django-oscar,thechampanurag/django-oscar,machtfit/django-oscar,thechampanurag/django-oscar,anentropic/django-oscar,taedori81/django-oscar,WillisXChen/django-oscar,spartonia/django-oscar,QLGu/django-oscar,bnprk/django-oscar,thechampanurag/django-oscar,adamend/django-oscar,jlmadurga/django-oscar,django-oscar/django-oscar,josesanch/django-oscar,spartonia/django-oscar,WillisXChen/django-oscar,kapari/django-oscar,Bogh/django-oscar,DrOctogon/unwash_ecom,ahmetdaglarbas/e-commerce,manevant/django-oscar,adamend/django-oscar,anentropic/django-oscar,makielab/django-oscar,marcoantoniooliveira/labweb,bschuon/django-oscar,ka7eh/django-oscar,ka7eh/django-oscar,manevant/django-oscar,adamend/django-oscar,jlmadurga/django-oscar,Jannes123/django-oscar,nfletton/django-oscar,michaelkuty/django-oscar,mexeniz/django-oscar,amirrpp/django-oscar,WadeYuChen/django-oscar,sasha0/django-oscar,rocopartners/django-oscar,spartonia/django-oscar,lijoantony/django-oscar,spartonia/django-oscar,jinnykoo/wuyisj.com,solarissmoke/django-oscar,ka7eh/django-oscar,marcoantoniooliveira/labweb,dongguangming/django-oscar,okfish/django-oscar,Bogh/django-oscar,WillisXChen/django-oscar,WillisXChen/django-oscar,WillisXChen/django-oscar,manevant/django-oscar,dongguangming/django-oscar,mexeniz/django-oscar,pdonadeo/django-oscar,Jannes123/django-oscar,django-oscar/django-oscar,itbabu/django-oscar | setup.py | setup.py | #!/usr/bin/env python
"""
Installation script:
To release a new version to PyPi:
- Ensure the version is correctly set in oscar.__init__.py
- Run: python setup.py sdist upload
"""
from setuptools import setup, find_packages
from oscar import get_version
setup(name='django-oscar',
version=get_version().replace(' ', '-'),
url='https://github.com/tangentlabs/django-oscar',
author="David Winterbottom",
author_email="david.winterbottom@tangentlabs.co.uk",
description="A domain-driven e-commerce framework for Django 1.3+",
long_description=open('README.rst').read(),
keywords="E-commerce, Django, domain-driven",
license='BSD',
platforms=['linux'],
packages=find_packages(exclude=["sandbox*", "tests*"]),
include_package_data=True,
install_requires=[
'django>=1.4',
'PIL==1.1.7',
'South==0.7.3',
'django-extra-views==0.2.0',
'django-haystack==2.0.0-beta',
'django-treebeard==1.61',
'sorl-thumbnail==11.12',
'python-memcached==1.48',
'django-sorting==0.1',
],
dependency_links=['http://github.com/toastdriven/django-haystack/tarball/master#egg=django-haystack-2.0.0-beta'],
# See http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=['Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: Unix',
'Programming Language :: Python']
)
| #!/usr/bin/env python
"""
Installation script:
To release a new version to PyPi:
- Ensure the version is correctly set in oscar.__init__.py
- Run: python setup.py sdist upload
"""
from setuptools import setup, find_packages
from oscar import get_version
setup(name='django-oscar',
version=get_version().replace(' ', '-'),
url='https://github.com/tangentlabs/django-oscar',
author="David Winterbottom",
author_email="david.winterbottom@tangentlabs.co.uk",
description="A domain-driven e-commerce framework for Django 1.3+",
long_description=open('README.rst').read(),
keywords="E-commerce, Django, domain-driven",
license='BSD',
platforms=['linux'],
packages=find_packages(exclude=["sandbox*", "tests*"]),
include_package_data=True,
install_requires=[
'django==1.4',
'PIL==1.1.7',
'South==0.7.3',
'django-extra-views==0.2.0',
'django-haystack==2.0.0-beta',
'django-treebeard==1.61',
'sorl-thumbnail==11.12',
'python-memcached==1.48',
'django-sorting==0.1',
],
dependency_links=['http://github.com/toastdriven/django-haystack/tarball/master#egg=django-haystack-2.0.0-beta'],
# See http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=['Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: Unix',
'Programming Language :: Python']
)
| bsd-3-clause | Python |
ffe56acf77c3c94670fb1e5654fcfb7377c655a7 | prepare release | exoscale/cs | setup.py | setup.py | # coding: utf-8
"""
A simple yet powerful CloudStack API client for Python and the command-line.
"""
from __future__ import unicode_literals
import sys
from codecs import open
from setuptools import find_packages, setup
with open('README.rst', 'r', encoding='utf-8') as f:
long_description = f.read()
install_requires = ['pytz', 'requests']
extras_require = {
'highlight': ['pygments'],
}
tests_require = [
'pytest',
'pytest-cache',
'pytest-cov',
]
if sys.version_info < (3, 0):
tests_require.append("mock")
elif sys.version_info >= (3, 5):
extras_require["async"] = ["aiohttp"]
tests_require.append("aiohttp")
setup(
name='cs',
version='2.5.6',
url='https://github.com/exoscale/cs',
license='BSD',
author='Bruno Renié',
description=__doc__.strip(),
long_description=long_description,
packages=find_packages(exclude=['tests']),
zip_safe=False,
include_package_data=True,
platforms='any',
classifiers=(
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'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.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
),
setup_requires=['pytest-runner'],
install_requires=install_requires,
extras_require=extras_require,
tests_require=tests_require,
entry_points={
'console_scripts': [
'cs = cs:main',
],
},
)
| # coding: utf-8
"""
A simple yet powerful CloudStack API client for Python and the command-line.
"""
from __future__ import unicode_literals
import sys
from codecs import open
from setuptools import find_packages, setup
with open('README.rst', 'r', encoding='utf-8') as f:
long_description = f.read()
install_requires = ['pytz', 'requests']
extras_require = {
'highlight': ['pygments'],
}
tests_require = [
'pytest',
'pytest-cache',
'pytest-cov',
]
if sys.version_info < (3, 0):
tests_require.append("mock")
elif sys.version_info >= (3, 5):
extras_require["async"] = ["aiohttp"]
tests_require.append("aiohttp")
setup(
name='cs',
version='2.5.5',
url='https://github.com/exoscale/cs',
license='BSD',
author='Bruno Renié',
description=__doc__.strip(),
long_description=long_description,
packages=find_packages(exclude=['tests']),
zip_safe=False,
include_package_data=True,
platforms='any',
classifiers=(
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'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.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
),
setup_requires=['pytest-runner'],
install_requires=install_requires,
extras_require=extras_require,
tests_require=tests_require,
entry_points={
'console_scripts': [
'cs = cs:main',
],
},
)
| bsd-3-clause | Python |
be34ce7cfea735e9dbcca3c641cbe46fd637c2ba | Add Throve classifier for Python 3.7 | founders4schools/django-donations,founders4schools/django-donations | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import codecs
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
version = '1.1.0'
readme = codecs.open('README.rst', 'r', 'utf-8').read()
history = codecs.open('HISTORY.rst', 'r', 'utf-8').read().replace('.. :changelog:', '')
install_requires = [
'django-money',
'djangorestframework',
'requests',
'py-moneyed',
]
setup(
name='django-donations',
version=version,
description="""Reusable django app to receive & track donations on charitable sites""",
long_description=readme + '\n\n' + history,
author='Andrew Miller',
author_email='dev@founders4schools.org.uk',
url='https://github.com/founders4schools/django-donations',
packages=[
'donations',
],
include_package_data=True,
install_requires=install_requires,
license="BSD",
zip_safe=False,
keywords='django-donations',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.0',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
import codecs
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
version = '1.1.0'
readme = codecs.open('README.rst', 'r', 'utf-8').read()
history = codecs.open('HISTORY.rst', 'r', 'utf-8').read().replace('.. :changelog:', '')
install_requires = [
'django-money',
'djangorestframework',
'requests',
'py-moneyed',
]
setup(
name='django-donations',
version=version,
description="""Reusable django app to receive & track donations on charitable sites""",
long_description=readme + '\n\n' + history,
author='Andrew Miller',
author_email='dev@founders4schools.org.uk',
url='https://github.com/founders4schools/django-donations',
packages=[
'donations',
],
include_package_data=True,
install_requires=install_requires,
license="BSD",
zip_safe=False,
keywords='django-donations',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.0',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)
| bsd-3-clause | Python |
828f07e0d102afe7dfa5f4aec957bbf2a9849909 | Bump release number | consbio/tablo | setup.py | setup.py | from setuptools import setup
setup(
name='tablo',
description='A PostGIS table to feature service app for Django',
keywords='feature service, map server, postgis, django',
version='1.0',
packages=['tablo', 'tablo.migrations', 'tablo.interfaces', 'tablo.interfaces.arcgis'],
install_requires=['Django>=1.7.0', 'sqlparse>=0.1.18', 'pyproj', 'six', 'messytables', 'django-tastypie>=0.11.1', 'psycopg2'],
url='http://github.com/consbio/tablo',
license='BSD',
)
| from setuptools import setup
setup(
name='tablo',
description='A PostGIS table to feature service app for Django',
keywords='feature service, map server, postgis, django',
version='0.1.4.3',
packages=['tablo', 'tablo.migrations', 'tablo.interfaces', 'tablo.interfaces.arcgis'],
install_requires=['Django>=1.7.0', 'sqlparse>=0.1.18', 'pyproj', 'six', 'messytables', 'django-tastypie>=0.11.1', 'psycopg2'],
url='http://github.com/consbio/tablo',
license='BSD',
)
| bsd-3-clause | Python |
fbb0708aebf437de8a5d2e8faf6334fc46d89b45 | Add 'Python :: 3 :: Only' classifier | axsemantics/rohrpost,axsemantics/rohrpost | setup.py | setup.py | from setuptools import setup
from rohrpost import __version__
def read(filepath):
with open(filepath, "r", encoding="utf-8") as f:
return f.read()
setup(
name="rohrpost",
version=__version__,
description="rohrpost WebSocket protocol for ASGI",
long_description=read("README.rst"),
url="https://github.com/axsemantics/rohrpost",
author="Tobias Kunze",
author_email="tobias.kunze@ax-semantics.com",
license="MIT",
python_requires=">=3.5",
install_requires=["channels>=2.0"],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Internet :: WWW/HTTP",
],
packages=["rohrpost"],
project_urls={
"Documentation": "https://rohrpost.readthedocs.io/en/stable/",
"Source": "https://github.com/axsemantics/rohrpost",
"Tracker": "https://github.com/axsemantics/rohrpost/issues",
},
)
| from setuptools import setup
from rohrpost import __version__
def read(filepath):
with open(filepath, "r", encoding="utf-8") as f:
return f.read()
setup(
name="rohrpost",
version=__version__,
description="rohrpost WebSocket protocol for ASGI",
long_description=read("README.rst"),
url="https://github.com/axsemantics/rohrpost",
author="Tobias Kunze",
author_email="tobias.kunze@ax-semantics.com",
license="MIT",
python_requires=">=3.5",
install_requires=["channels>=2.0"],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Topic :: Internet :: WWW/HTTP",
],
packages=["rohrpost"],
project_urls={
"Documentation": "https://rohrpost.readthedocs.io/en/stable/",
"Source": "https://github.com/axsemantics/rohrpost",
"Tracker": "https://github.com/axsemantics/rohrpost/issues",
},
)
| mit | Python |
622dbaff38c480b4fbe9525d41af47ab2ad00b6a | Update setup.py | stefanvanwouw/point-of-sales-proof-of-concept | setup.py | setup.py | from distutils.core import setup
setup(
name='pos',
version='1.0',
packages=['pos'],
url='https://github.com/stefanvanwouw/point-of-sales-proof-of-concept/',
license='MIT',
author='Stefan van Wouw',
author_email='stefanvanwouw@gmail.com',
description='Example how to use Luigi + Hive for processing transaction log data.',
requires=['luigi', 'mysql-connector-python', 'mechanize', 'tornado']
)
| from distutils.core import setup
setup(
name='pos',
version='1.0',
packages=['pos'],
url='',
license='MIT',
author='Stefan van Wouw',
author_email='stefanvanwouw@gmail.com',
description='Example how to use Luigi + Hive for processing transaction log data.',
requires=['luigi', 'mysql-connector-python', 'mechanize', 'tornado']
)
| mit | Python |
528796cb2ebb83723f8b12bd4b60bedec4f12678 | Upgrade docker-compose version | lstephen/construi | setup.py | setup.py | from setuptools import setup
import codecs
import os
import re
def read(*parts):
path = os.path.join(os.path.dirname(__file__), *parts)
with codecs.open(path, encoding='utf-8') as fobj:
return fobj.read()
def find_version():
version_match = re.search(
r"^__version__ = ['\"]([^'\"]*)['\"]",
read('construi', '__version__.py'),
re.M)
if version_match:
return version_match.group(1)
raise RuntimeError("Unable to find version string.")
requires = {
'install': [
'PyYAML == 3.11',
'docker-compose == 1.11.2',
'six == 1.10.0'
],
'setup': [
'flake8 == 3.0.4',
'pytest-runner == 2.6.2'
],
'tests': [
'pytest == 2.8.5',
'pytest-cov == 2.2.0'
]
}
summary = 'Use Docker to define your build environment'
setup(
name='construi',
version=find_version(),
url='https://github.com/lstephen/construi',
license='Apache License 2.0',
description=summary,
long_description=summary,
author='Levi Stephen',
author_email='levi.stephen@gmail.com',
zip_safe=True,
packages=['construi'],
install_requires=requires['install'],
setup_requires=requires['setup'],
tests_require=requires['tests'],
entry_points={
'console_scripts': [
'construi=construi.cli:main',
]
},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4'
]
)
| from setuptools import setup
import codecs
import os
import re
def read(*parts):
path = os.path.join(os.path.dirname(__file__), *parts)
with codecs.open(path, encoding='utf-8') as fobj:
return fobj.read()
def find_version():
version_match = re.search(
r"^__version__ = ['\"]([^'\"]*)['\"]",
read('construi', '__version__.py'),
re.M)
if version_match:
return version_match.group(1)
raise RuntimeError("Unable to find version string.")
requires = {
'install': [
'PyYAML == 3.11',
'docker-compose == 1.8.1',
'six == 1.10.0'
],
'setup': [
'flake8 == 3.0.4',
'pytest-runner == 2.6.2'
],
'tests': [
'pytest == 2.8.5',
'pytest-cov == 2.2.0'
]
}
summary = 'Use Docker to define your build environment'
setup(
name='construi',
version=find_version(),
url='https://github.com/lstephen/construi',
license='Apache License 2.0',
description=summary,
long_description=summary,
author='Levi Stephen',
author_email='levi.stephen@gmail.com',
zip_safe=True,
packages=['construi'],
install_requires=requires['install'],
setup_requires=requires['setup'],
tests_require=requires['tests'],
entry_points={
'console_scripts': [
'construi=construi.cli:main',
]
},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4'
]
)
| apache-2.0 | Python |
7bb9ce2b430686518cab9338c072dc9afa205c94 | Bump version | orf/django-debug-toolbar-template-timings,orf/django-debug-toolbar-template-timings | setup.py | setup.py | import os
from setuptools import setup
license = ""
if os.path.isfile("LICENSE"):
with open('LICENSE') as f:
license = f.read()
readme = ""
if os.path.isfile("README.rst"):
with open("README.rst") as f:
readme = f.read()
setup(
zip_safe=False,
name='django-debug-toolbar-template-timings',
version='0.6.6',
packages=['template_timings_panel', 'template_timings_panel.panels'],
package_data={'': ['templates/*']},
url='https://github.com/orf/django-debug-toolbar-template-timings',
license=license,
author='Tom Forbes',
author_email='tom@tomforb.es',
description='A django-debug-toolbar panel that shows you template rendering times for Django',
install_requires=['Django', 'django-debug-toolbar>=1.0'],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development :: Debuggers'],
long_description=readme,
)
| import os
from setuptools import setup
license = ""
if os.path.isfile("LICENSE"):
with open('LICENSE') as f:
license = f.read()
readme = ""
if os.path.isfile("README.rst"):
with open("README.rst") as f:
readme = f.read()
setup(
zip_safe=False,
name='django-debug-toolbar-template-timings',
version='0.6.5',
packages=['template_timings_panel', 'template_timings_panel.panels'],
package_data={'': ['templates/*']},
url='https://github.com/orf/django-debug-toolbar-template-timings',
license=license,
author='Tom Forbes',
author_email='tom@tomforb.es',
description='A django-debug-toolbar panel that shows you template rendering times for Django',
install_requires=['Django', 'django-debug-toolbar>=1.0'],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development :: Debuggers'],
long_description=readme,
)
| mit | Python |
8ec364d123bf36cfa7f6aa7ed61d101641b9353b | bump version | mbelousov/django-erroneous,mbelousov/django-erroneous | setup.py | setup.py | import sys
from setuptools import setup, find_packages
setup(
name = "django-erroneous",
package_data = {
'erroneous': [
'README.rst',
'LICENSE.txt',
'erroneous.templates',
],
},
author = "Mridang Agarwalla",
author_email = "mridang.agarwalla@gmail.com",
download_url='http://github.com/mridang/django-erroneous/downloads',
description = "django-erroneous makes it easy to collect and log Django application errors.",
url = "http://github.org/mridang/django-erroneous",
classifiers = [
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
],
packages = [
'erroneous',
'erroneous.migrations',
],
zip_safe = False,
license = "BSD License",
install_requires = [
'Django>=1.4',
'South>=0.7.2'
],
version = '0.3.0',
) | import sys
from setuptools import setup, find_packages
setup(
name = "django-erroneous",
package_data = {
'erroneous': [
'README.rst',
'LICENSE.txt',
'erroneous.templates',
],
},
author = "Mridang Agarwalla",
author_email = "mridang.agarwalla@gmail.com",
download_url='http://github.com/mridang/django-erroneous/downloads',
description = "django-erroneous makes it easy to collect and log Django application errors.",
url = "http://github.org/mridang/django-erroneous",
classifiers = [
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
],
packages = [
'erroneous',
'erroneous.migrations',
],
zip_safe = False,
license = "BSD License",
install_requires = [
'Django>=1.4',
'South>=0.7.2'
],
version = '0.2.0',
) | mit | Python |
c0c2a3b2af5fa97fd2d4978d7dd81818b0514d1f | Bump version for 5th 1.0 alpha | wylee/django-local-settings,kfarr2/django-local-settings,PSU-OIT-ARC/django-local-settings | setup.py | setup.py | import sys
from setuptools import find_packages, setup
with open('README.md') as fp:
long_description = fp.read()
install_requires = [
'six',
]
if sys.version_info[:2] < (2, 7):
install_requires += [
'argparse',
'configparser',
]
setup(
name='django-local-settings',
version='1.0a5',
author='Wyatt Baldwin',
author_email='wyatt.baldwin@pdx.edu',
url='https://github.com/PSU-OIT-ARC/django-local-settings',
description='A system for dealing with local settings in Django projects',
long_description=long_description,
packages=find_packages(),
install_requires=install_requires,
classifiers=[
'Development Status :: 3 - Alpha',
'Framework :: Django',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
entry_points="""
[console_scripts]
make-local-settings = local_settings:make_local_settings
""",
)
| import sys
from setuptools import find_packages, setup
with open('README.md') as fp:
long_description = fp.read()
install_requires = [
'six',
]
if sys.version_info[:2] < (2, 7):
install_requires += [
'argparse',
'configparser',
]
setup(
name='django-local-settings',
version='1.0a4',
author='Wyatt Baldwin',
author_email='wyatt.baldwin@pdx.edu',
url='https://github.com/PSU-OIT-ARC/django-local-settings',
description='A system for dealing with local settings in Django projects',
long_description=long_description,
packages=find_packages(),
install_requires=install_requires,
classifiers=[
'Development Status :: 3 - Alpha',
'Framework :: Django',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
entry_points="""
[console_scripts]
make-local-settings = local_settings:make_local_settings
""",
)
| mit | Python |
b7c8542e5c85ee9d094e50fb9e3150186da8e8c5 | Update version to like the main expected | stmcli/stmcli,stmcli/stmcli | setup.py | setup.py | # Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='stmcli',
version='1.1.1',
description='The unofficial STM CLI client.',
long_description=long_description,
url='https://github.com/stmcli/stmcli',
author='Pascal Boardman / Philippe Dagenais',
author_email='pascalboardman@gmail.com',
license='MIT',
scripts=['bin/stmcli'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='stm montreal autobus bus schedule horaire',
packages=['stmcli'],
install_requires=['peewee', 'unicodecsv', 'xmltodict'],
)
| # Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='stmcli',
version='1.0.4',
description='The unofficial STM CLI client.',
long_description=long_description,
url='https://github.com/stmcli/stmcli',
author='Pascal Boardman / Philippe Dagenais',
author_email='pascalboardman@gmail.com',
license='MIT',
scripts=['bin/stmcli'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
keywords='stm montreal autobus bus schedule horaire',
packages=['stmcli'],
install_requires=['peewee', 'unicodecsv', 'xmltodict'],
)
| mit | Python |
6dbb1e087d5246b5d5f2e43103433d0c1ea25989 | bump version | hopshadoop/hops-util-py,hopshadoop/hops-util-py | setup.py | setup.py | import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='hopsutil',
version='0.3.1',
author='Robin Andersson',
author_email='robin2@kth.se',
description='A helper library for Hops that facilitates development by hiding the complexity of discovering services and setting up security.',
license='Apache License 2.0',
keywords='HOPS, Hadoop',
url='https://github.com/hopshadoop/hops-util-python',
download_url = 'https://github.com/hopshadoop/hops-util-python/archive/0.3.1.tar.gz',
packages=['hopsutil'],
long_description=read('README.rst'),
classifiers=[
'Development Status :: 3 - Alpha',
'Topic :: Utilities',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
install_requires=[]
)
| import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='hopsutil',
version='0.3.0',
author='Robin Andersson',
author_email='robin2@kth.se',
description='A helper library for Hops that facilitates development by hiding the complexity of discovering services and setting up security.',
license='Apache License 2.0',
keywords='HOPS, Hadoop',
url='https://github.com/hopshadoop/hops-util-python',
download_url = 'https://github.com/hopshadoop/hops-util-python/archive/0.3.0.tar.gz',
packages=['hopsutil'],
long_description=read('README.rst'),
classifiers=[
'Development Status :: 3 - Alpha',
'Topic :: Utilities',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
install_requires=[]
)
| apache-2.0 | Python |
1eaa58b7ef9405ff1162ef321d47d1a748c11225 | Fix flake8 warnings | neutrons/FastGR,neutrons/FastGR,neutrons/FastGR | setup.py | setup.py | from setuptools import setup, find_packages
import versioneer # https://github.com/warner/python-versioneer
setup(name="addie",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="Need a description",
author="Dan, Wenduo, Jean",
author_email="oldsdp@ornl.gov, zhou@ornl.gov, bilheuxjm@ornl.gov",
url="http://github.com/neutrons/addie",
long_description="""Should have a longer description""",
license="The MIT License (MIT)",
scripts=["scripts/addie"],
packages=find_packages(),
package_data={'': ['*.ui', '*.png', '*.qrc', '*.json']},
include_package_data=True,
install_requires=['numpy', 'matplotlib', 'periodictable'],
setup_requires=[],
)
| from setuptools import setup, find_packages
import os
import sys
import versioneer # https://github.com/warner/python-versioneer
setup(name="addie",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="Need a description",
author="Dan, Wenduo, Jean",
author_email="oldsdp@ornl.gov, zhou@ornl.gov, bilheuxjm@ornl.gov",
url="http://github.com/neutrons/addie",
long_description="""Should have a longer description""",
license="The MIT License (MIT)",
scripts=["scripts/addie"],
packages=find_packages(),
package_data={'': ['*.ui', '*.png', '*.qrc', '*.json']},
include_package_data=True,
install_requires=['numpy', 'matplotlib', 'periodictable'],
setup_requires=[],
)
| mit | Python |
66c8a093eca70f9774e6db8b7490d6e44a219d33 | change version | UWKM/uwkm_streamfields,UWKM/uwkm_streamfields,UWKM/uwkm_streamfields | setup.py | setup.py | # Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='uwkm_streamfields',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='1.1.8',
description='Wagtail Bootstrap Streamfields',
long_description=long_description,
# The project's main homepage.
url='https://github.com/UWKM/uwkm_streamfields/',
branch_url='https://github.com/UWKM/uwkm_streamfields/tree/master',
download_url='https://github.com/UWKM/uwkm_streamfields/archive/master.zip',
# Author details
author='UWKM',
author_email='support@uwkm.nl',
# Choose your license
license='MIT',
include_package_data=True,
packages=find_packages(),
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[],
# What does your project relate to?
keywords='wagtail cms streamfields bootstrap uwkm',
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
# 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=[
'wagtail>=1.9',
],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
'dev': ['wagtail'],
'test': ['wagtail'],
},
)
| # Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='uwkm_streamfields',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='1.1.7',
description='Wagtail Bootstrap Streamfields',
long_description=long_description,
# The project's main homepage.
url='https://github.com/UWKM/uwkm_streamfields/',
branch_url='https://github.com/UWKM/uwkm_streamfields/tree/master',
download_url='https://github.com/UWKM/uwkm_streamfields/archive/master.zip',
# Author details
author='UWKM',
author_email='support@uwkm.nl',
# Choose your license
license='MIT',
include_package_data=True,
packages=find_packages(),
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[],
# What does your project relate to?
keywords='wagtail cms streamfields bootstrap uwkm',
# Alternatively, if you want to distribute just a my_module.py, uncomment
# this:
# py_modules=["my_module"],
# 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=[
'wagtail>=1.9',
],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
'dev': ['wagtail'],
'test': ['wagtail'],
},
)
| bsd-3-clause | Python |
bd266d7a60a9e9ea1523ab13fa941012858cfc56 | Set version for 0.1.0 release. | praekelt/vumi-wikipedia,praekelt/vumi-wikipedia | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='vumi-wikipedia',
version='0.1.0',
description='Vumi Wikipedia App',
packages=find_packages(),
include_package_data=True,
install_requires=[
'vumi>=0.5',
'unidecode',
],
url='http://github.com/praekelt/vumi-wikipedia',
license='BSD',
long_description=open('README', 'r').read(),
maintainer='Praekelt Foundation',
maintainer_email='dev@praekelt.com',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Networking',
],
)
| from setuptools import setup, find_packages
setup(
name='vumi-wikipedia',
version='0.1a',
description='Vumi Wikipedia App',
packages=find_packages(),
include_package_data=True,
install_requires=[
'vumi>=0.5',
'unidecode',
],
url='http://github.com/praekelt/vumi-wikipedia',
license='BSD',
long_description=open('README', 'r').read(),
maintainer='Praekelt Foundation',
maintainer_email='dev@praekelt.com',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Networking',
],
)
| bsd-3-clause | Python |
87feb67efe527250a999ea032a5a8f647bea7de1 | remove dateutil requirement from setup.py because it fails | permamodel/permamodel,permamodel/permamodel | setup.py | setup.py | #! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(name='permamodel',
version='0.1.0',
author='Elchin Jafarov and Scott Stewart',
author_email='james.stewart@colorado.edu',
description='Permamodel',
long_description=open('README.md').read(),
packages=find_packages(),
#install_requires=('numpy', 'nose', 'gdal', 'pyproj'),
install_requires=('affine', 'netCDF4', 'scipy', 'numpy', 'nose',
'pyyaml'),
package_data={'': ['examples/*.cfg',
'examples/*.dat',
'data/*']}
)
| #! /usr/bin/env python
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
setup(name='permamodel',
version='0.1.0',
author='Elchin Jafarov and Scott Stewart',
author_email='james.stewart@colorado.edu',
description='Permamodel',
long_description=open('README.md').read(),
packages=find_packages(),
#install_requires=('numpy', 'nose', 'gdal', 'pyproj'),
install_requires=('affine', 'netCDF4', 'scipy', 'numpy', 'nose',
'pyyaml', 'dateutil'),
package_data={'': ['examples/*.cfg',
'examples/*.dat',
'data/*']}
)
| mit | Python |
471ef9a9c9f0a14a0077f3cb6cbedad918c2f166 | Delete obsolete PyPI tags | dargasea/gefion | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read()
requirements = [
# TODO: put package requirements here
]
test_requirements = [
# TODO: put package test requirements here
]
setup(name='gefion',
version='0.0.1',
description="A distributed server monitoring solution.",
long_description=readme + '\n\n' + history,
author="Howard Xiao",
author_email='hxiao+scm@dargasea.com',
url='https://github.com/och/gefion',
packages=[
'gefion',
],
package_dir={'gefion':
'gefion'},
include_package_data=True,
install_requires=requirements,
license="BSD license",
zip_safe=False,
keywords='gefion',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
test_suite='tests',
tests_require=test_requirements)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read()
requirements = [
# TODO: put package requirements here
]
test_requirements = [
# TODO: put package test requirements here
]
setup(name='gefion',
version='0.0.1',
description="A distributed server monitoring solution.",
long_description=readme + '\n\n' + history,
author="Howard Xiao",
author_email='hxiao+scm@dargasea.com',
url='https://github.com/och/gefion',
packages=[
'gefion',
],
package_dir={'gefion':
'gefion'},
include_package_data=True,
install_requires=requirements,
license="BSD license",
zip_safe=False,
keywords='gefion',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
test_suite='tests',
tests_require=test_requirements)
| bsd-3-clause | Python |
d1d820633bb46c59897155df4f1d75396ae66c89 | Bump to 0.1.1 | debianitram/django-modalview,optiflows/django-modalview,debianitram/django-modalview,optiflows/django-modalview,optiflows/django-modalview,debianitram/django-modalview,optiflows/django-modalview | setup.py | setup.py | import os
from setuptools import setup, find_packages
def README():
try:
import pypandoc
return pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
return open('README.md').read()
setup(
name='django-modalview',
version='0.1.1',
packages=find_packages(),
include_package_data=True,
license='Apache License 2.0',
description='Django app to add generic views.',
long_description=README(),
url='https://github.com/optiflows/django-modalview',
author='Valentin Monte',
author_email='valentin.monte@optiflows.com',
install_requires=[
'django>=1.5',
],
setup_requires=[
'setuptools_git>=1.0',
'pypandoc',
],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
| import os
from setuptools import setup, find_packages
def README():
try:
import pypandoc
return pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
return open('README.md').read()
setup(
name='django-modalview',
version='0.1.1-dev',
packages=find_packages(),
include_package_data=True,
license='Apache License 2.0',
description='Django app to add generic views.',
long_description=README(),
url='https://github.com/optiflows/django-modalview',
author='Valentin Monte',
author_email='valentin.monte@optiflows.com',
install_requires=[
'django>=1.5',
],
setup_requires=[
'setuptools_git>=1.0',
'pypandoc',
],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
| apache-2.0 | Python |
138755e72a580d16104b7662a611c0a9f2b65a0d | Update setup.py | MrMinimal64/timezonefinder,MrMinimal64/timezonefinder | setup.py | setup.py | # -*- coding:utf-8 -*-
from setuptools import setup
PACKAGE_NAME = "timezonefinder"
setup(
name=PACKAGE_NAME,
packages=[PACKAGE_NAME],
# NOTE: package_data is not required. all data files should be included via MANIFEST.in
include_package_data=True,
description="fast python package for finding the timezone of any point on earth (coordinates) offline",
# version: in VERSION file https://packaging.python.org/guides/single-sourcing-package-version/
# With this approach you must make sure that the VERSION file is included in all your source
# and binary distributions (e.g. add include VERSION to your MANIFEST.in).
author="Jannik Michelfeit",
author_email="python@michelfe.it",
license="MIT licence",
url=f"https://github.com/jannikmi/{PACKAGE_NAME}", # use the URL to the github repo
project_urls={
"Source Code": f"https://github.com/jannikmi/{PACKAGE_NAME}",
"Documentation": f"https://{PACKAGE_NAME}.readthedocs.io/en/latest/",
"Changelog": f"https://github.com/jannikmi/{PACKAGE_NAME}/blob/master/CHANGELOG.rst",
"License": f"https://github.com/jannikmi/{PACKAGE_NAME}/blob/master/LICENSE",
},
keywords="timezone coordinates latitude longitude location pytzwhere tzwhere",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development :: Localization",
],
install_requires=["numpy>=1.16"],
python_requires=">=3.6",
# TODO http://peak.telecommunity.com/DevCenter/setuptools#setting-the-zip-safe-flag
# safe if the project uses pkg_resources for all its data file access
# http://peak.telecommunity.com/DevCenter/setuptools#accessing-data-files-at-runtime
# not possible, because the location of bin files can be specified! -> path has to be variable!
zip_safe=False,
extras_require={"numba": ["numba>=0.48"]},
entry_points={
"console_scripts": ["timezonefinder=timezonefinder.command_line:main"],
},
)
| # -*- coding:utf-8 -*-
from setuptools import setup
from timezonefinder.global_settings import PACKAGE_DATA_FILES, PACKAGE_NAME
setup(
name=PACKAGE_NAME,
packages=[PACKAGE_NAME],
package_data={PACKAGE_NAME: PACKAGE_DATA_FILES},
include_package_data=True,
description="fast python package for finding the timezone of any point on earth (coordinates) offline",
# version: in VERSION file https://packaging.python.org/guides/single-sourcing-package-version/
# With this approach you must make sure that the VERSION file is included in all your source
# and binary distributions (e.g. add include VERSION to your MANIFEST.in).
author="Jannik Michelfeit",
author_email="python@michelfe.it",
license="MIT licence",
url=f"https://github.com/jannikmi/{PACKAGE_NAME}", # use the URL to the github repo
project_urls={
"Source Code": f"https://github.com/jannikmi/{PACKAGE_NAME}",
"Documentation": f"https://{PACKAGE_NAME}.readthedocs.io/en/latest/",
"Changelog": f"https://github.com/jannikmi/{PACKAGE_NAME}/blob/master/CHANGELOG.rst",
"License": f"https://github.com/jannikmi/{PACKAGE_NAME}/blob/master/LICENSE",
},
keywords="timezone coordinates latitude longitude location pytzwhere tzwhere",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development :: Localization",
],
install_requires=["numpy>=1.16"],
python_requires=">=3.6",
# TODO http://peak.telecommunity.com/DevCenter/setuptools#setting-the-zip-safe-flag
# safe if the project uses pkg_resources for all its data file access
# http://peak.telecommunity.com/DevCenter/setuptools#accessing-data-files-at-runtime
# not possible, because the location of bin files can be specified! -> path has to be variable!
zip_safe=False,
extras_require={"numba": ["numba>=0.48"]},
entry_points={
"console_scripts": ["timezonefinder=timezonefinder.command_line:main"],
},
)
| mit | Python |
bb481940f4116bc3322c5f43802e26d6f76feff7 | Bump version | pokidovea/immobilus | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
with open('README.rst', 'r') as f:
long_description = f.read()
setup(
name='immobilus',
version='1.4.3',
description='Say `Immobilus!` to freeze your tests',
long_description=long_description,
author='Eugene Pokidov',
author_email='pokidovea@gmail.com',
url='https://github.com/pokidovea/immobilus',
packages=['immobilus'],
install_requires=['python-dateutil'],
include_package_data=True,
license='Apache 2.0',
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
)
| #!/usr/bin/env python
from setuptools import setup
with open('README.rst', 'r') as f:
long_description = f.read()
setup(
name='immobilus',
version='1.4.2',
description='Say `Immobilus!` to freeze your tests',
long_description=long_description,
author='Eugene Pokidov',
author_email='pokidovea@gmail.com',
url='https://github.com/pokidovea/immobilus',
packages=['immobilus'],
install_requires=['python-dateutil'],
include_package_data=True,
license='Apache 2.0',
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
)
| apache-2.0 | Python |
fb63c0b3e356f54f333da84ce5097c3c5670969c | bump version to 0.6.8-bw2 | BetterWorks/slacker | setup.py | setup.py | from setuptools import setup
setup(
name='slacker',
version='0.6.8-bw2',
packages=['slacker'],
description='Slack API client',
author='Oktay Sancak',
author_email='oktaysancak@gmail.com',
url='http://github.com/os/slacker/',
install_requires=['requests >= 2.2.1'],
license='http://www.apache.org/licenses/LICENSE-2.0',
test_suite='tests',
classifiers=(
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4'
),
keywords='slack api'
)
| from setuptools import setup
setup(
name='slacker',
version='0.6.8-bw',
packages=['slacker'],
description='Slack API client',
author='Oktay Sancak',
author_email='oktaysancak@gmail.com',
url='http://github.com/os/slacker/',
install_requires=['requests >= 2.2.1'],
license='http://www.apache.org/licenses/LICENSE-2.0',
test_suite='tests',
classifiers=(
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4'
),
keywords='slack api'
)
| apache-2.0 | Python |
b2310258d64d5071302ca251b7653fc0eb3cb3a5 | add progressbar as dependency | tomas789/kitti2bag,tomas789/kitti2bag | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
setup(name='kitti2bag',
version='1.4',
description='Convert KITTI dataset to ROS bag file the easy way!',
author='Tomas Krejci',
author_email='tomas789@gmail.com',
url='https://github.com/tomas789/kitti2bag/',
download_url = 'https://github.com/tomas789/kitti2bag/archive/1.4.zip',
keywords = ['dataset', 'ros', 'rosbag', 'kitti'],
scripts=['bin/kitti2bag'],
install_requires=['pykitti', 'progressbar2']
)
| #!/usr/bin/env python
from setuptools import setup
setup(name='kitti2bag',
version='1.4',
description='Convert KITTI dataset to ROS bag file the easy way!',
author='Tomas Krejci',
author_email='tomas789@gmail.com',
url='https://github.com/tomas789/kitti2bag/',
download_url = 'https://github.com/tomas789/kitti2bag/archive/1.4.zip',
keywords = ['dataset', 'ros', 'rosbag', 'kitti'],
scripts=['bin/kitti2bag'],
install_requires=['pykitti']
)
| mit | Python |
31fe82f95c230dd0acb46f4d3af01b954fb5f080 | Bump to 0.9 | edenhill/trivup,edenhill/trivup | setup.py | setup.py | from distutils.core import setup
from setuptools import find_packages
from glob import glob
data = dict()
app = 'trivup'
data[app] = list()
# Find Apps data
for d in glob('trivup/apps/*App'):
data[app] += [x[x.find('apps/'):] for x in glob('%s/*' % d)
if x[-1:] != '~']
setup(name='trivup',
version='0.9.0',
description='Trivially Up a cluster of programs, such as a Kafka cluster', # noqa: E501
author='Magnus Edenhill',
author_email='magnus@edenhill.se',
url='https://github.com/edenhill/trivup',
packages=find_packages(),
package_data=data)
| from distutils.core import setup
from setuptools import find_packages
from glob import glob
data = dict()
app = 'trivup'
data[app] = list()
# Find Apps data
for d in glob('trivup/apps/*App'):
data[app] += [x[x.find('apps/'):] for x in glob('%s/*' % d)
if x[-1:] != '~']
setup(name='trivup',
version='0.8.3',
description='Trivially Up a cluster of programs, such as a Kafka cluster', # noqa: E501
author='Magnus Edenhill',
author_email='magnus@edenhill.se',
url='https://github.com/edenhill/trivup',
packages=find_packages(),
package_data=data
)
| bsd-2-clause | Python |
6bb8cf11389713b0428a08f3e108618b629e97f1 | Update download url | rentshare/python-googauth | setup.py | setup.py | from distutils.core import setup
setup(name='python-googauth',
version='0.1.0',
description='Python library for Google Authenticator.',
author='RentShare Inc',
url='https://github.com/rentshare/python-googauth',
download_url='https://github.com/downloads/rentshare/' + \
'python-googauth/python-googauth-0.1.0.tar.gz',
keywords='googauth, google authenticator, otp',
packages=['googauth'],
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Other Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python :: 2',
'Topic :: Security',
],
)
| from distutils.core import setup
setup(name='python-googauth',
version='0.1.0',
description='Python library for Google Authenticator.',
author='RentShare Inc',
url='https://github.com/rentshare/python-googauth',
download_url='https://github.com/rentshare/python-googauth/downloads',
keywords='googauth, google authenticator, otp',
packages=['googauth'],
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Other Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python :: 2',
'Topic :: Security',
],
)
| mit | Python |
1eb49850534c91b5e357ced1b6abaaa02ca0a316 | Add mock to test_require list | chimpler/pyhocon | setup.py | setup.py | #!/usr/bin/env python
import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
required_packages = ['pyparsing>=2.0.3']
if sys.version_info[:2] == (2, 6):
required_packages.append('argparse')
required_packages.append('ordereddict')
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.29',
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.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
packages=[
'pyhocon',
],
install_requires=required_packages,
tests_require=['pytest', 'mock'],
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
required_packages = ['pyparsing>=2.0.3']
if sys.version_info[:2] == (2, 6):
required_packages.append('argparse')
required_packages.append('ordereddict')
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.29',
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.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
packages=[
'pyhocon',
],
install_requires=required_packages,
tests_require=['pytest'],
entry_points={
'console_scripts': [
'pyhocon=pyhocon.tool:main'
]
},
test_suite='tests',
cmdclass={
'test': PyTestCommand
}
)
| apache-2.0 | Python |
b2162920e5a50d4eabe592e3326286e13d91252f | Update jax required version | google/neural-tangents | setup.py | setup.py | # Copyright 2019 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.
# ==============================================================================
"""Setup the package with pip."""
import os
import setuptools
# https://packaging.python.org/guides/making-a-pypi-friendly-readme/
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
INSTALL_REQUIRES = [
'jaxlib>=0.1.37',
'jax>=0.1.57',
'frozendict'
]
setuptools.setup(
name='neural-tangents',
version='0.1.5',
license='Apache 2.0',
author='Google',
author_email='neural-tangents-dev@google.com',
install_requires=INSTALL_REQUIRES,
url='https://github.com/google/neural-tangents',
download_url = "https://pypi.org/project/neural-tangents/",
project_urls={
"Source Code": "https://github.com/google/neural-tangents",
"Documentation": "https://arxiv.org/abs/1912.02803",
"Bug Tracker": "https://github.com/google/neural-tangents/issues",
},
packages=setuptools.find_packages(),
long_description=long_description,
long_description_content_type='text/markdown',
description='Fast and Easy Infinite Neural Networks in Python',
python_requires='>=3.5',
classifiers=[
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'License :: OSI Approved :: Apache Software License',
'Operating System :: MacOS',
'Operating System :: POSIX :: Linux',
'Topic :: Software Development',
'Topic :: Scientific/Engineering',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
]
)
| # Copyright 2019 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.
# ==============================================================================
"""Setup the package with pip."""
import os
import setuptools
# https://packaging.python.org/guides/making-a-pypi-friendly-readme/
this_directory = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
INSTALL_REQUIRES = [
'jaxlib>=0.1.37',
'jax>=0.1.55',
'frozendict'
]
setuptools.setup(
name='neural-tangents',
version='0.1.5',
license='Apache 2.0',
author='Google',
author_email='neural-tangents-dev@google.com',
install_requires=INSTALL_REQUIRES,
url='https://github.com/google/neural-tangents',
download_url = "https://pypi.org/project/neural-tangents/",
project_urls={
"Source Code": "https://github.com/google/neural-tangents",
"Documentation": "https://arxiv.org/abs/1912.02803",
"Bug Tracker": "https://github.com/google/neural-tangents/issues",
},
packages=setuptools.find_packages(),
long_description=long_description,
long_description_content_type='text/markdown',
description='Fast and Easy Infinite Neural Networks in Python',
python_requires='>=3.5',
classifiers=[
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'License :: OSI Approved :: Apache Software License',
'Operating System :: MacOS',
'Operating System :: POSIX :: Linux',
'Topic :: Software Development',
'Topic :: Scientific/Engineering',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
]
)
| apache-2.0 | Python |
ae9022385543e03e731b1356121bbe459e3adb67 | Update version number in prep for release | collinstocks/eventlet,collinstocks/eventlet,lindenlab/eventlet,tempbottle/eventlet,lindenlab/eventlet,lindenlab/eventlet,tempbottle/eventlet | setup.py | setup.py | #!/usr/bin/env python
from setuptools import find_packages, setup
setup(
name='eventlet',
version='0.5',
description='Coroutine-based networking library',
author='Linden Lab',
author_email='eventletdev@lists.secondlife.com',
url='http://wiki.secondlife.com/wiki/Eventlet',
packages=find_packages(),
install_requires=['greenlet'],
long_description="""
Eventlet is a networking library written in Python. It achieves
high scalability by using non-blocking io while at the same time
retaining high programmer usability by using coroutines to make
the non-blocking io operations appear blocking at the source code
level.""",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules",
"Intended Audience :: Developers",
"Development Status :: 4 - Beta"]
)
| #!/usr/bin/env python
from setuptools import find_packages, setup
setup(
name='eventlet',
version='0.2',
description='Coroutine-based networking library',
author='Linden Lab',
author_email='eventletdev@lists.secondlife.com',
url='http://wiki.secondlife.com/wiki/Eventlet',
packages=find_packages(),
install_requires=['greenlet'],
long_description="""
Eventlet is a networking library written in Python. It achieves
high scalability by using non-blocking io while at the same time
retaining high programmer usability by using coroutines to make
the non-blocking io operations appear blocking at the source code
level.""",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Topic :: Internet",
"Topic :: Software Development :: Libraries :: Python Modules",
"Intended Audience :: Developers",
"Development Status :: 4 - Beta"]
)
| mit | Python |
94aa8314057afa95ec81188eeca7df61f5c6d472 | bump version to 0.3.0 | oconnor663/duct.py,oconnor663/duct | setup.py | setup.py | import setuptools
setuptools.setup(
name='duct',
version='0.3.0',
py_modules=['duct'],
)
| import setuptools
setuptools.setup(
name='duct',
version='0.2.0',
py_modules=['duct'],
)
| mit | Python |
741333866a0ed776791a4ac11a19259b9e94a208 | Update setup.py description and classifiers. | richardkiss/pycoin,XertroV/pycoin,shivaenigma/pycoin,pycoin/pycoin,tomholub/pycoin,thirdkey-solutions/pycoin,Pan0ram1x/pycoin,Pan0ram1x/pycoin,Tetchain/pycoin,Treefunder/pycoin,zsulocal/pycoin,shayanb/pycoin,tomholub/pycoin,antiface/pycoin,gitonio/pycoin,XertroV/pycoin,moocowmoo/pycoin,Magicking/pycoin,moocowmoo/pycoin,devrandom/pycoin,richardkiss/pycoin,antiface/pycoin,ptcrypto/pycoin,mperklin/pycoin,lekanovic/pycoin,ptcrypto/pycoin,thirdkey-solutions/pycoin,Bluejudy/pycoin,mperklin/pycoin,Bluejudy/pycoin,pycoin/pycoin,Magicking/pycoin,zsulocal/pycoin,lekanovic/pycoin,Treefunder/pycoin,devrandom/pycoin,Kefkius/pycoin,shayanb/pycoin,gitonio/pycoin,shivaenigma/pycoin,Kefkius/pycoin,Tetchain/pycoin | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
version = "0.41"
setup(
name="pycoin",
version=version,
packages = [
"pycoin",
"pycoin.convention",
"pycoin.ecdsa",
"pycoin.key",
"pycoin.tx",
"pycoin.tx.script",
"pycoin.serialize",
"pycoin.services",
"pycoin.scripts"
],
author="Richard Kiss",
entry_points = { 'console_scripts':
[
'block = pycoin.scripts.block:main',
'ku = pycoin.scripts.ku:main',
'tx = pycoin.scripts.tx:main',
'cache_tx = pycoin.scripts.cache_tx:main',
'fetch_unspent = pycoin.scripts.fetch_unspent:main',
## these scripts are obsolete
'genwallet = pycoin.scripts.genwallet:main',
'spend = pycoin.scripts.spend:main',
'bu = pycoin.scripts.bitcoin_utils:main',
]
},
author_email="him@richardkiss.com",
url="https://github.com/richardkiss/pycoin",
license="http://opensource.org/licenses/MIT",
description="Utilities for Bitcoin and altcoin addresses and transaction manipulation."
classifiers=[
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet',
'Topic :: Internet :: Bitcoin',
'Topic :: Internet :: Cryptocurrency',
'Topic :: Software Development :: Libraries :: Python Modules',
],)
| #!/usr/bin/env python
from setuptools import setup
version = "0.41"
setup(
name="pycoin",
version=version,
packages = [
"pycoin",
"pycoin.convention",
"pycoin.ecdsa",
"pycoin.key",
"pycoin.tx",
"pycoin.tx.script",
"pycoin.serialize",
"pycoin.services",
"pycoin.scripts"
],
author="Richard Kiss",
entry_points = { 'console_scripts':
[
'block = pycoin.scripts.block:main',
'ku = pycoin.scripts.ku:main',
'tx = pycoin.scripts.tx:main',
'cache_tx = pycoin.scripts.cache_tx:main',
'fetch_unspent = pycoin.scripts.fetch_unspent:main',
## these scripts are obsolete
'genwallet = pycoin.scripts.genwallet:main',
'spend = pycoin.scripts.spend:main',
'bu = pycoin.scripts.bitcoin_utils:main',
]
},
author_email="him@richardkiss.com",
url="https://github.com/richardkiss/pycoin",
license="http://opensource.org/licenses/MIT",
description="A bunch of utilities that might be helpful when dealing with Bitcoin addresses and transactions."
)
| mit | Python |
02f044dbbf485d2a2990f0fca1e1359537006c25 | Document project as Python 3 only (#146) | adamchainz/flake8-comprehensions | setup.py | setup.py | import re
from setuptools import setup
def get_version(filename):
with open(filename, 'r') as fp:
contents = fp.read()
return re.search(r"__version__ = ['\"]([^'\"]+)['\"]", contents).group(1)
version = get_version('flake8_comprehensions.py')
with open('README.rst', 'r') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst', 'r') as history_file:
history = history_file.read()
setup(
name='flake8-comprehensions',
version=version,
description='A flake8 plugin to help you write better list/set/dict '
'comprehensions.',
long_description=readme + '\n\n' + history,
author="Adam Johnson",
author_email='me@adamj.eu',
url='https://github.com/adamchainz/flake8-comprehensions',
entry_points={
'flake8.extension': [
'C4 = flake8_comprehensions:ComprehensionChecker',
],
},
py_modules=['flake8_comprehensions'],
include_package_data=True,
install_requires=[
'flake8!=3.2.0',
],
python_requires='>=3.4',
license="ISCL",
zip_safe=False,
keywords='flake8, comprehensions, list comprehension, set comprehension, '
'dict comprehension',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Flake8',
'Intended Audience :: Developers',
'License :: OSI Approved :: ISC License (ISCL)',
'Natural Language :: English',
'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 :: Only',
],
)
| import re
from setuptools import setup
def get_version(filename):
with open(filename, 'r') as fp:
contents = fp.read()
return re.search(r"__version__ = ['\"]([^'\"]+)['\"]", contents).group(1)
version = get_version('flake8_comprehensions.py')
with open('README.rst', 'r') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst', 'r') as history_file:
history = history_file.read()
setup(
name='flake8-comprehensions',
version=version,
description='A flake8 plugin to help you write better list/set/dict '
'comprehensions.',
long_description=readme + '\n\n' + history,
author="Adam Johnson",
author_email='me@adamj.eu',
url='https://github.com/adamchainz/flake8-comprehensions',
entry_points={
'flake8.extension': [
'C4 = flake8_comprehensions:ComprehensionChecker',
],
},
py_modules=['flake8_comprehensions'],
include_package_data=True,
install_requires=[
'flake8!=3.2.0',
],
python_requires='>=3.4',
license="ISCL",
zip_safe=False,
keywords='flake8, comprehensions, list comprehension, set comprehension, '
'dict comprehension',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Flake8',
'Intended Audience :: Developers',
'License :: OSI Approved :: ISC License (ISCL)',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],
)
| mit | Python |
512747db8f1593cd4a2eec91a6405ec13fd6fbbe | Revert "mark dependencies, so readthedocs can properly build" | shuxin/androguard,huangtao2003/androguard,androguard/androguard,reox/androguard,androguard/androguard | setup.py | setup.py | #!/usr/bin/env python
import sys
import os
from setuptools import setup, find_packages
# workaround issue on OSX, where sys.prefix is not an installable location
if sys.platform == 'darwin' and sys.prefix.startswith('/System'):
data_prefix = os.path.join('.', 'share', 'androguard')
elif sys.platform == 'win32':
data_prefix = os.path.join(sys.prefix, 'Scripts', 'androguard')
else:
data_prefix = os.path.join(sys.prefix, 'share', 'androguard')
# IPython Issue: For python2.x, a version <6 is required
if sys.version_info >= (3,3):
install_requires = ['pyasn1', 'cryptography>=1.0', 'future', 'ipython>=5.0.0', 'networkx', 'pygments']
else:
install_requires = ['pyasn1', 'cryptography>=1.0', 'future', 'ipython>=5.0.0,<6', 'networkx', 'pygments'],
setup(
name='androguard',
description='Androguard is a full python tool to play with Android files.',
version='2.0',
packages=find_packages(),
data_files = [(data_prefix,
['androguard/gui/annotation.ui',
'androguard/gui/search.ui',
'androguard/gui/androguard.ico'])],
scripts=['androaxml.py',
'androlyze.py',
'androdd.py',
'androgui.py',],
install_requires=install_requires,
extras_require={
'GUI': ["pyperclip", "PyQt5"],
'docs': ['sphinx', 'sphinxcontrib-programoutput'],
# If you are installing on debian, you can use python3-magic instead
'magic': ['filemagic'],
'graphing': ['pydot'],
},
setup_requires=['setuptools'],
)
| #!/usr/bin/env python
import sys
import os
from setuptools import setup, find_packages
# workaround issue on OSX, where sys.prefix is not an installable location
if sys.platform == 'darwin' and sys.prefix.startswith('/System'):
data_prefix = os.path.join('.', 'share', 'androguard')
elif sys.platform == 'win32':
data_prefix = os.path.join(sys.prefix, 'Scripts', 'androguard')
else:
data_prefix = os.path.join(sys.prefix, 'share', 'androguard')
# IPython Issue: For python2.x, a version <6 is required
if sys.version_info >= (3,3):
install_requires = ['pyasn1', 'cryptography>=1.0', 'future', 'ipython>=5.0.0', 'networkx', 'pygments', 'sphinx', 'sphinxcontrib-programoutput']
else:
install_requires = ['pyasn1', 'cryptography>=1.0', 'future', 'ipython>=5.0.0,<6', 'networkx', 'pygments', 'sphinx', 'sphinxcontrib-programoutput'],
setup(
name='androguard',
description='Androguard is a full python tool to play with Android files.',
version='2.0',
packages=find_packages(),
data_files = [(data_prefix,
['androguard/gui/annotation.ui',
'androguard/gui/search.ui',
'androguard/gui/androguard.ico'])],
scripts=['androaxml.py',
'androlyze.py',
'androdd.py',
'androgui.py',],
install_requires=install_requires,
extras_require={
'GUI': ["pyperclip", "PyQt5"],
# If you are installing on debian, you can use python3-magic instead
'magic': ['filemagic'],
'graphing': ['pydot'],
},
setup_requires=['setuptools'],
)
| apache-2.0 | Python |
f6f70f71cfce3ced5ffe7b6431ee12553c8a3b6a | Add development status | lpsinger/flask-twilio | setup.py | setup.py | """
Flask-Twilio
-------------
Make Twilio voice/SMS calls with Flask
"""
from setuptools import setup
exec(open('flask_twilio.py').readline())
setup(
name='Flask-Twilio',
version=__version__,
url='http://example.com/flask-twilio/',
license='BSD',
author='Leo Singer',
author_email='leo.singer@ligo.org',
description='Make Twilio voice/SMS calls with Flask',
long_description=__doc__,
py_modules=['flask_twilio'],
zip_safe=False,
include_package_data=True,
platforms='any',
install_requires=[
'itsdangerous',
'Flask',
'six',
'twilio'
],
setup_requires=[
'pytest-runner',
],
tests_require=[
'pytest',
],
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Development Status :: 2 - Pre-Alpha',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Communications :: Telephony'
]
) | """
Flask-Twilio
-------------
Make Twilio voice/SMS calls with Flask
"""
from setuptools import setup
exec(open('flask_twilio.py').readline())
setup(
name='Flask-Twilio',
version=__version__,
url='http://example.com/flask-twilio/',
license='BSD',
author='Leo Singer',
author_email='leo.singer@ligo.org',
description='Make Twilio voice/SMS calls with Flask',
long_description=__doc__,
py_modules=['flask_twilio'],
zip_safe=False,
include_package_data=True,
platforms='any',
install_requires=[
'itsdangerous',
'Flask',
'six',
'twilio'
],
setup_requires=[
'pytest-runner',
],
tests_require=[
'pytest',
],
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Communications :: Telephony'
]
) | bsd-3-clause | Python |
5f4ed7dd09d6010ae77dbe511fa55f02a8b92e99 | fix dependency version for hedgehog-server | PRIArobotics/HedgehogClient | setup.py | setup.py | """A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='hedgehog-client',
version='0.7.0',
description='Client library for communicating with Hedgehog Robot Controllers',
long_description=long_description,
url="https://github.com/PRIArobotics/HedgehogClient",
author="Clemens Koza",
author_email="koza@pria.at",
license="AGPLv3+",
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Programming Language :: Python :: 3',
],
keywords='hedgehog robotics controller client',
# 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=['concurrent-utils >=0.2, <0.3', 'hedgehog-protocol >=0.7.1, <0.8',
'hedgehog-utils[protobuf,zmq] >=0.6, <0.7', 'pycreate2'],
# You can install these using the following syntax, for example:
# $ pip install -e .[dev,test]
extras_require={
'dev': ['hedgehog-server >= 0.8, <0.9',
'pytest', 'pytest-runner', 'pytest-asyncio', 'pytest-cov', 'pytest-timeout', 'mypy'],
},
# package_data={
# 'proto': ['*.proto'],
# },
entry_points={
'console_scripts': [
],
},
)
| """A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# Always prefer setuptools over distutils
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='hedgehog-client',
version='0.7.0',
description='Client library for communicating with Hedgehog Robot Controllers',
long_description=long_description,
url="https://github.com/PRIArobotics/HedgehogClient",
author="Clemens Koza",
author_email="koza@pria.at",
license="AGPLv3+",
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Topic :: Software Development',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Programming Language :: Python :: 3',
],
keywords='hedgehog robotics controller client',
# 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=['concurrent-utils >=0.2, <0.3', 'hedgehog-protocol >=0.7.1, <0.8',
'hedgehog-utils[protobuf,zmq] >=0.6, <0.7', 'pycreate2'],
# You can install these using the following syntax, for example:
# $ pip install -e .[dev,test]
extras_require={
'dev': ['hedgehog-server',
'pytest', 'pytest-runner', 'pytest-asyncio', 'pytest-cov', 'pytest-timeout', 'mypy'],
},
# package_data={
# 'proto': ['*.proto'],
# },
entry_points={
'console_scripts': [
],
},
)
| agpl-3.0 | Python |
969021b4fba8061db7cd4c3d252d6943c36191b4 | Bump version | renalreg/radar,renalreg/radar,renalreg/radar,renalreg/radar | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='radar',
version='2.3.8',
description='RaDaR - Rare Disease Registry',
author='Rupert Bedford',
author_email='rupert.bedford@renalregistry.nhs.uk',
url='https://www.radar.nhs.uk/',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
entry_points={
'console_scripts': [
'radar-exporter = radar.exporter.__main__:main',
'radar-ukrdc-exporter = radar.ukrdc_exporter.__main__:main',
]
},
install_requires=[
'celery',
'click',
'cornflake',
'enum34',
'flask',
'flask-sqlalchemy',
'itsdangerous',
'jinja2',
'librabbitmq',
'psycopg2',
'python-dateutil',
'pytz',
'requests',
'six',
'sqlalchemy',
'sqlalchemy-enum34',
'termcolor',
'uwsgi',
'werkzeug',
'zxcvbn',
],
)
| from setuptools import setup, find_packages
setup(
name='radar',
version='2.3.7',
description='RaDaR - Rare Disease Registry',
author='Rupert Bedford',
author_email='rupert.bedford@renalregistry.nhs.uk',
url='https://www.radar.nhs.uk/',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
entry_points={
'console_scripts': [
'radar-exporter = radar.exporter.__main__:main',
'radar-ukrdc-exporter = radar.ukrdc_exporter.__main__:main',
]
},
install_requires=[
'celery',
'click',
'cornflake',
'enum34',
'flask',
'flask-sqlalchemy',
'itsdangerous',
'jinja2',
'librabbitmq',
'psycopg2',
'python-dateutil',
'pytz',
'requests',
'six',
'sqlalchemy',
'sqlalchemy-enum34',
'termcolor',
'uwsgi',
'werkzeug',
'zxcvbn',
],
)
| agpl-3.0 | Python |
790e392b6cce5b48003e9a5360d1fe0c791fddb6 | bump uber micro version | SEL-Columbia/bamboo,pld/bamboo,SEL-Columbia/bamboo,pld/bamboo,SEL-Columbia/bamboo,pld/bamboo | setup.py | setup.py | from distutils.core import setup
setup(
name='bamboo-data',
version='0.5.2.2',
author='Modi Research Group',
author_email='info@modilabs.org',
packages=['bamboo',
'bamboo.config',
'bamboo.controllers',
'bamboo.core',
'bamboo.lib',
'bamboo.models',
'bamboo.tests.core',
'bamboo.tests.controllers',
'bamboo.tests.lib',
'bamboo.tests.models',
],
package_data={'bamboo.tests': ['tests/fixtures/*.csv',
'tests/fixtures/*.json',
],
},
scripts=['scripts/bamboo.sh',
'scripts/bamboo_uwsgi.sh',
'scripts/commands.sh',
'scripts/install.sh',
'scripts/run_server.py',
'scripts/test.sh',
'scripts/timeit.sh',
'celeryd/celeryd',
'celeryd/celeryd-centos'],
url='http://bamboo.io',
description='Dynamic data analysis over the web. The logic to your data '
'dashboards.',
long_description=open('README.rst', 'rt').read(),
install_requires=[
# celery requires python-dateutil>=1.5,<2.0
'python-dateutil==1.5',
# for pandas
'numpy',
'pandas',
'scipy',
# for celery
'kombu',
'celery',
'pymongo',
'cherrypy',
'pyparsing',
'simplejson',
'Routes'
],
)
| from distutils.core import setup
setup(
name='bamboo-data',
version='0.5.2.1',
author='Modi Research Group',
author_email='info@modilabs.org',
packages=['bamboo',
'bamboo.config',
'bamboo.controllers',
'bamboo.core',
'bamboo.lib',
'bamboo.models',
'bamboo.tests.core',
'bamboo.tests.controllers',
'bamboo.tests.lib',
'bamboo.tests.models',
],
package_data={'bamboo.tests': ['tests/fixtures/*.csv',
'tests/fixtures/*.json',
],
},
scripts=['scripts/bamboo.sh',
'scripts/bamboo_uwsgi.sh',
'scripts/commands.sh',
'scripts/install.sh',
'scripts/run_server.py',
'scripts/test.sh',
'scripts/timeit.sh',
'celeryd/celeryd',
'celeryd/celeryd-centos'],
url='http://bamboo.io',
description='Dynamic data analysis over the web. The logic to your data '
'dashboards.',
long_description=open('README.rst', 'rt').read(),
install_requires=[
# celery requires python-dateutil>=1.5,<2.0
'python-dateutil==1.5',
# for pandas
'numpy',
'pandas',
'scipy',
# for celery
'kombu',
'celery',
'pymongo',
'cherrypy',
'pyparsing',
'simplejson',
'Routes'
],
)
| bsd-3-clause | Python |
893b68bf497e35d2f1404463338e01fb92a955a9 | Add long_description | kchmck/aiopipe | setup.py | setup.py | from setuptools import setup
with open("Readme.md") as f:
readme = f.read()
setup(
name="aiopipe",
version="0.1.2",
description="Multiprocess communication pipe for asyncio",
author="Mick Koch",
author_email="mick@kochm.co",
license="MIT",
url="https://github.com/kchmck/aiopipe",
packages=["aiopipe"],
extras_require={
"dev": [
"pylint==1.6.5",
"pytest==3.0.6",
],
},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"License :: OSI Approved :: MIT License",
],
keywords="async asyncio pipe os.pipe",
long_description=readme,
long_description_content_type="text/markdown",
)
| from setuptools import setup
setup(
name="aiopipe",
version="0.1.2",
description="Multiprocess communication pipe for asyncio",
author="Mick Koch",
author_email="mick@kochm.co",
license="MIT",
url="https://github.com/kchmck/aiopipe",
packages=["aiopipe"],
extras_require={
"dev": [
"pylint==1.6.5",
"pytest==3.0.6",
],
},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"License :: OSI Approved :: MIT License",
],
keywords="async asyncio pipe os.pipe",
)
| mit | Python |
4b653eeec32b88e4552869a485228cc05ce26b61 | remove pandas, add dateutil | stroy1/localFoodLearner | setup.py | setup.py | from setuptools import setup
setup(
name="localFoodLearner",
version="0.0.1",
author="Stacey Troy",
install_requires=[
"python-dateutil",
]
)
| from setuptools import setup
setup(
name="localFoodLearner",
version="0.0.1",
author="Stacey Troy",
install_requires=[
"pandas",
]
) | mit | Python |
1a8a6fb054623b6167cb9d83f683291fb8dcda33 | Set long_description_content_type for setup.py | a-roomana/django-jalali-date,a-roomana/django-jalali-date,a-roomana/django-jalali-date | setup.py | setup.py | #!/usr/bin/env python
import codecs
from setuptools import setup, find_packages
def read_me(filename):
return codecs.open(filename, encoding='utf-8').read()
setup(
name='django-jalali-date',
version='0.3.0',
packages=find_packages(),
include_package_data=True,
description=(
'Jalali Date support for user interface. Easy conversion of DateTimeFiled to JalaliDateTimeField within the admin site, views, forms and templates.'
),
url='http://github.com/a-roomana/django-jalali-date',
download_url='https://pypi.python.org/pypi/django-jalali-date/',
author='Arman Roomana',
author_email='roomana.arman@gmail.com',
keywords="django jalali date",
license='MIT',
platforms=['any'],
install_requires=[
"django",
"jdatetime"
],
long_description=read_me('README.md'),
long_description_content_type='text/markdown',
use_2to3=True,
zip_safe=False,
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
| #!/usr/bin/env python
import codecs
from setuptools import setup, find_packages
try:
from pypandoc import convert
def read_me(filename):
return convert(filename, 'rst')
except ImportError:
print("warning: pypandoc module not found, could not convert Markdown to RST")
def read_me(filename):
return codecs.open(filename, encoding='utf-8').read()
setup(
name='django-jalali-date',
version='0.3.0',
packages=find_packages(),
include_package_data=True,
description=(
'Jalali Date support for user interface. Easy conversion of DateTimeFiled to JalaliDateTimeField within the admin site, views, forms and templates.'
),
url='http://github.com/a-roomana/django-jalali-date',
download_url='https://pypi.python.org/pypi/django-jalali-date/',
author='Arman Roomana',
author_email='roomana.arman@gmail.com',
keywords="django jalali date",
license='MIT',
platforms=['any'],
install_requires=[
"django",
"jdatetime"
],
long_description=read_me('README.md'),
use_2to3=True,
zip_safe=False,
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
| mit | Python |
f340d2c10f287857bac778bb1b1d053506e9278f | Fix download_url in setup() | TangledWeb/tangled.site | setup.py | setup.py | from setuptools import setup
setup(
name='tangled.site',
version='0.1a3.dev0',
description='Simple site/blog/cms',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.site/tags',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=[
'tangled',
'tangled.site',
'tangled.site.model',
'tangled.site.resources',
'tangled.site.tests',
],
include_package_data=True,
install_requires=[
'tangled.mako>=0.1a2',
'tangled.sqlalchemy>=0.1a2',
'tangled.web>=0.1a5',
'alembic>=0.6.2',
'bcrypt>=1.0.2',
'Markdown>=2.3.1',
'SQLAlchemy>=0.9.2',
],
extras_require={
'dev': [
'tangled.web[dev]>=0.1a5',
],
},
entry_points="""
[tangled.scripts]
site = tangled.site.command
""",
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
)
| from setuptools import setup
setup(
name='tangled.site',
version='0.1a3.dev0',
description='Simple site/blog/cms',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.site',
author='Wyatt Baldwin',
author_email='self@wyattbaldwin.com',
packages=[
'tangled',
'tangled.site',
'tangled.site.model',
'tangled.site.resources',
'tangled.site.tests',
],
include_package_data=True,
install_requires=[
'tangled.mako>=0.1a2',
'tangled.sqlalchemy>=0.1a2',
'tangled.web>=0.1a5',
'alembic>=0.6.2',
'bcrypt>=1.0.2',
'Markdown>=2.3.1',
'SQLAlchemy>=0.9.2',
],
extras_require={
'dev': [
'tangled.web[dev]>=0.1a5',
],
},
entry_points="""
[tangled.scripts]
site = tangled.site.command
""",
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
)
| mit | Python |
68439e7cd6cd429c4aeec58a5b4e38375b95c52b | Bump version number for release. | klmitch/cli_tools | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup
def readreq(filename):
result = []
with open(filename) as f:
for req in f:
req = req.partition('#')[0].strip()
if not req:
continue
result.append(req)
return result
def readfile(filename):
with open(filename) as f:
return f.read()
setup(
name='cli_tools',
version='0.2.4',
author='Kevin L. Mitchell',
author_email='klmitch@mit.edu',
url='https://github.com/klmitch/cli_utils',
description="Command Line Interface Tools",
long_description=readfile('README.rst'),
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 or '
'later (GPLv3+)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development :: User Interfaces',
],
py_modules=['cli_tools'],
requires=readreq('requirements.txt'),
tests_require=readreq('test-requirements.txt'),
)
| #!/usr/bin/env python
from setuptools import setup
def readreq(filename):
result = []
with open(filename) as f:
for req in f:
req = req.partition('#')[0].strip()
if not req:
continue
result.append(req)
return result
def readfile(filename):
with open(filename) as f:
return f.read()
setup(
name='cli_tools',
version='0.2.3',
author='Kevin L. Mitchell',
author_email='klmitch@mit.edu',
url='https://github.com/klmitch/cli_utils',
description="Command Line Interface Tools",
long_description=readfile('README.rst'),
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v3 or '
'later (GPLv3+)',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development :: User Interfaces',
],
py_modules=['cli_tools'],
requires=readreq('requirements.txt'),
tests_require=readreq('test-requirements.txt'),
)
| apache-2.0 | Python |
fab75e9c6c6e4ebfffaeb5594f206022cadd5f31 | Increase flexibility of upload sample | pombredanne/PyMISP,grolinet/PyMISP,iglocska/PyMISP | setup.py | setup.py | #!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='pymisp',
version='1.2',
author='Raphaël Vinot',
author_email='raphael.vinot@circl.lu',
maintainer='Raphaël Vinot',
url='https://github.com/MISP/PyMISP',
description='Python API for MISP.',
packages=['pymisp'],
classifiers=[
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Science/Research',
'Intended Audience :: Telecommunications Industry',
'Programming Language :: Python',
'Topic :: Security',
'Topic :: Internet',
],
install_requires=['requests'],
)
| #!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name='pymisp',
version='1.1.2',
author='Raphaël Vinot',
author_email='raphael.vinot@circl.lu',
maintainer='Raphaël Vinot',
url='https://github.com/MISP/PyMISP',
description='Python API for MISP.',
packages=['pymisp'],
classifiers=[
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Science/Research',
'Intended Audience :: Telecommunications Industry',
'Programming Language :: Python',
'Topic :: Security',
'Topic :: Internet',
],
install_requires=['requests'],
)
| bsd-2-clause | Python |
b1712fde6c6b8bbe8ec753b0f094ce9292e6f75c | correct repository url | google/firmata.py | setup.py | setup.py | import os
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "firmata.py",
version = "0.1",
author = "Silas Snider",
author_email = "swsnider@gmail.com",
description = ("An API wrapper for the firmata wire protocol."),
license = "MIT",
keywords = "firmata arduino serial",
url = "https://github.com/swsnider/firmata.py",
packages=['firmata', 'tests'],
long_description=read('README'),
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"License :: OSI Approved :: MIT License",
],
install_requires=[
"pyserial>=2.6"
]
)
| import os
from setuptools import setup
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "firmata.py",
version = "0.1",
author = "Silas Snider",
author_email = "swsnider@gmail.com",
description = ("An API wrapper for the firmata wire protocol."),
license = "MIT",
keywords = "firmata arduino serial",
url = "https://github.com/swsnider/firmata",
packages=['firmata', 'tests'],
long_description=read('README'),
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"License :: OSI Approved :: MIT License",
],
install_requires=[
"pyserial>=2.6"
]
)
| apache-2.0 | Python |
cf5c35dd8592afd226c1719762086b1370f3e26f | Update setup.py | igor-shevchenko/rutermextract | setup.py | setup.py | from setuptools import setup
import sys
from io import open
VERSION = '0.2'
install_requires = [
'pymorphy2 >=0.8'
]
if sys.version_info < (2, 7):
install_requires.append('backport_collections >=0.1')
if sys.version_info < (3, 4):
install_requires.append('enum34 >=1.0')
setup(
name = 'rutermextract',
packages = ['rutermextract'],
description = 'Term extraction for Russian language',
long_description = open('README.rst', encoding="utf8").read(),
version = VERSION,
author = 'Igor Shevchenko',
author_email = 'mail@igorshevchenko.ru',
license = 'MIT license',
url = 'https://github.com/igor-shevchenko/rutermextract',
download_url = 'https://github.com/igor-shevchenko/rutermextract/tarball/%s' % VERSION,
requires = [
'pymorphy2 (>=0.8)',
'enum34 (>=1.0)',
'backport_collections (>=0.1)'
],
install_requires = install_requires,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: Russian',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing :: Linguistic',
],
)
| from setuptools import setup
import sys
VERSION = '0.2'
install_requires = [
'pymorphy2 >=0.8'
]
if sys.version_info < (2, 7):
install_requires.append('backport_collections >=0.1')
if sys.version_info < (3, 4):
install_requires.append('enum34 >=1.0')
setup(
name = 'rutermextract',
packages = ['rutermextract'],
description = 'Term extraction for Russian language',
long_description = open('README.rst', encoding="utf8").read(),
version = VERSION,
author = 'Igor Shevchenko',
author_email = 'mail@igorshevchenko.ru',
license = 'MIT license',
url = 'https://github.com/igor-shevchenko/rutermextract',
download_url = 'https://github.com/igor-shevchenko/rutermextract/tarball/%s' % VERSION,
requires = [
'pymorphy2 (>=0.8)',
'enum34 (>=1.0)',
'backport_collections (>=0.1)'
],
install_requires = install_requires,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: Russian',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing :: Linguistic',
],
)
| mit | Python |
a9ad3ed489a933ce1dbea58f9a15e59804e6d8d5 | Bump the version number | thread/wide-product,thread/wide-product | setup.py | setup.py | import io
from setuptools import setup, find_packages
with io.open('README.rst', 'r', encoding='utf-8') as f:
long_description = f.read()
setup(
name='wide-product',
version='0.0.2',
url='https://github.com/thread/wide-product',
description="Wide (partial Khatri-Rao) sparse matrix product",
long_description=long_description,
author="Thread Tech",
author_email="tech@thread.com",
keywords=(
'numpy',
'scipy',
'matrix',
'sparse',
'khatri-rao',
'product',
'science',
'feature',
'courgette',
),
license='MIT',
zip_safe=False,
packages=find_packages(),
cffi_modules=['build_wide.py:ffibuilder'],
classifiers=(
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: POSIX',
'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',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Software Development :: Libraries',
),
install_requires=(
'numpy',
'scipy',
),
setup_requires=(
'cffi >=1.10',
),
tests_require=(
'pytest',
'hypothesis',
),
)
| import io
from setuptools import setup, find_packages
with io.open('README.rst', 'r', encoding='utf-8') as f:
long_description = f.read()
setup(
name='wide-product',
version='0.0.1',
url='https://github.com/thread/wide-product',
description="Wide (partial Khatri-Rao) sparse matrix product",
long_description=long_description,
author="Thread Tech",
author_email="tech@thread.com",
keywords=(
'numpy',
'scipy',
'matrix',
'sparse',
'khatri-rao',
'product',
'science',
'feature',
'courgette',
),
license='MIT',
zip_safe=False,
packages=find_packages(),
cffi_modules=['build_wide.py:ffibuilder'],
classifiers=(
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: POSIX',
'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',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Software Development :: Libraries',
),
install_requires=(
'numpy',
'scipy',
),
setup_requires=(
'cffi >=1.10',
),
tests_require=(
'pytest',
'hypothesis',
),
)
| mit | Python |
963171602beced5c46a3c8980cfffea75b27077c | Bump version | SUNET/eduid-common | setup.py | setup.py | from setuptools import setup, find_packages
version = '0.2.1b10'
requires = [
'setuptools >= 2.2',
'eduid-userdb >= 0.0.5',
]
# Flavours
webapp_requires = [
'Flask==0.10.1',
'pysaml2 >= 4.0.3rc1', # version sync with dashboard to avoid pip catastrophes
'redis >= 2.10.5',
'pwgen == 0.4',
'vccs_client >= 0.4.1',
'PyNaCl >= 1.0.1',
'python-etcd >= 0.4.3',
'PyYAML >= 3.11',
'bleach>=1.4.2',
]
webapp_extras = webapp_requires + []
idp_requires = [
'pysaml2 >= 1.2.0beta2',
'redis >= 2.10.5',
'vccs_client >= 0.4.2',
'PyNaCl >= 1.0.1',
]
idp_extras = idp_requires + []
test_requires = [
'mock == 1.0.1',
]
testing_extras = test_requires + webapp_extras + [
'nose',
'coverage',
'nosexcover',
]
long_description = open('README.txt').read()
setup(name='eduid-common',
version=version,
description="Common code for eduID applications",
long_description=long_description,
classifiers=[
"Programming Language :: Python",
],
keywords='',
author='NORDUnet A/S',
author_email='',
url='https://github.com/SUNET/',
license='bsd',
packages=find_packages('src'),
package_dir={'': 'src'},
namespace_packages=['eduid_common'],
include_package_data=True,
zip_safe=False,
install_requires=requires,
tests_require=test_requires,
extras_require={
'testing': testing_extras,
'webapp': webapp_extras,
'idp': idp_extras,
},
entry_points="""
""",
)
| from setuptools import setup, find_packages
version = '0.2.1b9'
requires = [
'setuptools >= 2.2',
'eduid-userdb >= 0.0.5',
]
# Flavours
webapp_requires = [
'Flask==0.10.1',
'pysaml2 >= 4.0.3rc1', # version sync with dashboard to avoid pip catastrophes
'redis >= 2.10.5',
'pwgen == 0.4',
'vccs_client >= 0.4.1',
'PyNaCl >= 1.0.1',
'python-etcd >= 0.4.3',
'PyYAML >= 3.11',
'bleach>=1.4.2',
]
webapp_extras = webapp_requires + []
idp_requires = [
'pysaml2 >= 1.2.0beta2',
'redis >= 2.10.5',
'vccs_client >= 0.4.2',
'PyNaCl >= 1.0.1',
]
idp_extras = idp_requires + []
test_requires = [
'mock == 1.0.1',
]
testing_extras = test_requires + webapp_extras + [
'nose',
'coverage',
'nosexcover',
]
long_description = open('README.txt').read()
setup(name='eduid-common',
version=version,
description="Common code for eduID applications",
long_description=long_description,
classifiers=[
"Programming Language :: Python",
],
keywords='',
author='NORDUnet A/S',
author_email='',
url='https://github.com/SUNET/',
license='bsd',
packages=find_packages('src'),
package_dir={'': 'src'},
namespace_packages=['eduid_common'],
include_package_data=True,
zip_safe=False,
install_requires=requires,
tests_require=test_requires,
extras_require={
'testing': testing_extras,
'webapp': webapp_extras,
'idp': idp_extras,
},
entry_points="""
""",
)
| bsd-3-clause | Python |
c8e1c9f24937565f13828c9a7f1b1bb1171a6afe | add proso_feedback to setup.py | adaptive-learning/proso-apps,adaptive-learning/proso-apps,adaptive-learning/proso-apps | setup.py | setup.py | from setuptools import setup, find_packages
import proso.release
import os
VERSION = proso.release.VERSION
setup(
name='proso-apps',
version=VERSION,
description='General library for applications in PROSO projects',
author='Jan Papousek, Vit Stanislav',
author_email='jan.papousek@gmail.com, slaweet@seznam.cz',
namespace_packages = ['proso', 'proso.django'],
include_package_data = True,
packages=[
'proso',
'proso.django',
'proso.models',
'proso_ab',
'proso_ab.management',
'proso_ab.management.commands',
'proso_ab.migrations',
'proso_common',
'proso_common.management',
'proso_common.management.commands',
'proso_feedback',
'proso_flashcards',
'proso_flashcards.management',
'proso_flashcards.management.commands',
'proso_flashcards.migrations',
'proso_models',
'proso_models.management',
'proso_models.management.commands',
'proso_models.migrations',
'proso_questions',
'proso_questions.management',
'proso_questions.management.commands',
'proso_questions.migrations',
'proso_questions_client',
'proso_questions_client.management',
'proso_questions_client.management.commands',
'proso_user',
'proso_user.migrations'
],
install_requires=[
'Django>=1.6,<1.7',
'Markdown>=2.4.1',
'Pillow>=2.6.0',
'South>=0.8',
'clint>=0.4.1',
'django-debug-toolbar>=1.1',
'django-flatblocks>=0.8',
'django-ipware>=0.0.8',
'django-lazysignup>=0.12.2',
'django-social-auth>=0.7.28',
'jsonschema>=2.4.0',
'numpy>=1.8.2',
'psycopg2>=2.5.4',
'PyYAML==3.11',
'ua-parser==0.3.6',
'user-agents==0.3.1'
],
license='Gnu GPL v3',
)
| from setuptools import setup, find_packages
import proso.release
import os
VERSION = proso.release.VERSION
setup(
name='proso-apps',
version=VERSION,
description='General library for applications in PROSO projects',
author='Jan Papousek, Vit Stanislav',
author_email='jan.papousek@gmail.com, slaweet@seznam.cz',
namespace_packages = ['proso', 'proso.django'],
include_package_data = True,
packages=[
'proso',
'proso.django',
'proso.models',
'proso_ab',
'proso_ab.management',
'proso_ab.management.commands',
'proso_ab.migrations',
'proso_common',
'proso_common.management',
'proso_common.management.commands',
'proso_flashcards',
'proso_flashcards.management',
'proso_flashcards.management.commands',
'proso_flashcards.migrations',
'proso_models',
'proso_models.management',
'proso_models.management.commands',
'proso_models.migrations',
'proso_questions',
'proso_questions.management',
'proso_questions.management.commands',
'proso_questions.migrations',
'proso_questions_client',
'proso_questions_client.management',
'proso_questions_client.management.commands',
'proso_user',
'proso_user.migrations'
],
install_requires=[
'Django>=1.6,<1.7',
'Markdown>=2.4.1',
'Pillow>=2.6.0',
'South>=0.8',
'clint>=0.4.1',
'django-debug-toolbar>=1.1',
'django-flatblocks>=0.8',
'django-ipware>=0.0.8',
'django-lazysignup>=0.12.2',
'django-social-auth>=0.7.28',
'jsonschema>=2.4.0',
'numpy>=1.8.2',
'psycopg2>=2.5.4',
'PyYAML==3.11',
'ua-parser==0.3.6',
'user-agents==0.3.1'
],
license='Gnu GPL v3',
)
| mit | Python |
81bea04d43f93ed0351abcd47924fd9d1c957997 | Include deleted cases for contact sync showing progress bar | dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq,dimagi/commcare-hq | corehq/apps/hqwebapp/management/commands/synch_phone_nums.py | corehq/apps/hqwebapp/management/commands/synch_phone_nums.py | from __future__ import absolute_import
from __future__ import unicode_literals
from django.core.management.base import BaseCommand
from corehq.apps.users.models import CommCareUser
from corehq.apps.sms.tasks import sync_user_phone_numbers as sms_sync_user_phone_numbers
from corehq.form_processor.models import CommCareCaseSQL
from corehq.messaging.tasks import sync_case_for_messaging
from corehq.util.log import with_progress_bar
from corehq.sql_db.util import get_db_aliases_for_partitioned_query
class Command(BaseCommand):
help = "Resync all contacts' phone numbers for given projects"
def add_arguments(self, parser):
parser.add_argument('-p', '--projects', type=str, help='Comma separated project list')
def handle(self, **kwargs):
projects = kwargs['projects'].split(',')
db_aliases = get_db_aliases_for_partitioned_query()
db_aliases.sort()
for domain in projects:
print("Resync all contacts' phone numbers for project %s " % domain)
print("Synching for phone numbers")
commcare_user_ids = (
CommCareUser.ids_by_domain(domain, is_active=True) +
CommCareUser.ids_by_domain(domain, is_active=False)
)
for user_id in with_progress_bar(commcare_user_ids):
sms_sync_user_phone_numbers.delay(user_id)
print("Iterating over databases: %s" % db_aliases)
for db_alias in db_aliases:
print("")
print("Synching for cases in %s ..." % db_alias)
case_ids = list(
CommCareCaseSQL
.objects
.using(db_alias)
.filter(domain=domain)
.values_list('case_id', flat=True)
)
for case_id in with_progress_bar(case_ids):
sync_case_for_messaging.delay(domain, case_id)
| from __future__ import absolute_import
from __future__ import unicode_literals
from django.core.management.base import BaseCommand
from corehq.apps.users.models import CommCareUser
from corehq.apps.sms.tasks import sync_user_phone_numbers as sms_sync_user_phone_numbers
from corehq.form_processor.models import CommCareCaseSQL
from corehq.messaging.tasks import sync_case_for_messaging
from corehq.sql_db.util import get_db_aliases_for_partitioned_query
class Command(BaseCommand):
help = "Resync all contacts' phone numbers for given projects"
def add_arguments(self, parser):
parser.add_argument('-p', '--projects', type=str, help='Comma separated project list')
def handle(self, **kwargs):
projects = kwargs['projects'].split(',')
db_aliases = get_db_aliases_for_partitioned_query()
db_aliases.sort()
for domain in projects:
print("Resync all contacts' phone numbers for project %s " % domain)
print("Synching for phone numbers")
commcare_user_ids = (
CommCareUser.ids_by_domain(domain, is_active=True) +
CommCareUser.ids_by_domain(domain, is_active=False)
)
for user_id in commcare_user_ids:
sms_sync_user_phone_numbers.delay(user_id)
print("Iterating over databases: %s" % db_aliases)
for db_alias in db_aliases:
print("")
print("Synching for cases in %s ..." % db_alias)
case_ids = list(
CommCareCaseSQL
.objects
.using(db_alias)
.filter(domain=domain, deleted=False)
.values_list('case_id', flat=True)
)
for case_id in case_ids:
sync_case_for_messaging.delay(domain, case_id)
| bsd-3-clause | Python |
a02fd3c1616f1c4a1e284d0c0efdefec993579b1 | Bump version 0.3.1 | tkukushkin/asynqp-consumer | setup.py | setup.py | from setuptools import setup, find_packages
setup(
name='asynqp-consumer',
version='0.3.1',
author='Timofey Kukushkin',
author_email='tima@kukushkin.me',
url='https://github.com/tkukushkin/asynqp-consumer',
description='Consumer utility class for AMQP',
packages=find_packages('src'),
package_dir={'': 'src'},
install_requires=[
'asynqp >= 0.5.1',
],
extras_require={
'test': [
'pycodestyle',
'pylint',
'pytest==4.5.0',
'pytest-asyncio==0.10.0',
'pytest-cov==2.7.1',
'pytest-mock==1.10.4',
],
},
classifiers=[
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3.6",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Telecommunications Industry",
"Natural Language :: English",
"Operating System :: OS Independent",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Networking"
]
)
| from setuptools import setup, find_packages
setup(
name='asynqp-consumer',
version='0.3.0',
author='Timofey Kukushkin',
author_email='tima@kukushkin.me',
url='https://github.com/tkukushkin/asynqp-consumer',
description='Consumer utility class for AMQP',
packages=find_packages('src'),
package_dir={'': 'src'},
install_requires=[
'asynqp >= 0.5.1',
],
extras_require={
'test': [
'pycodestyle',
'pylint',
'pytest==4.5.0',
'pytest-asyncio==0.10.0',
'pytest-cov==2.7.1',
'pytest-mock==1.10.4',
],
},
classifiers=[
"Development Status :: 3 - Alpha",
"Programming Language :: Python :: 3.6",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Telecommunications Industry",
"Natural Language :: English",
"Operating System :: OS Independent",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: System :: Networking"
]
)
| mit | Python |
04d0ae953aeda2afc6024acf77df401cc3fd8068 | Fix spacing issues reported by flake8 | ghisvail/nfft-cffi | setup.py | setup.py | # Copyright (c) 2016-2017, Imperial College London
# Copyright (c) 2016-2017, Ghislain Antony Vaillant
# All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the BSD license. See the accompanying LICENSE file
# or read the terms at https://opensource.org/licenses/BSD-3-Clause.
from setuptools import find_packages, setup
from distutils.version import StrictVersion
from sys import version_info
install_requires = ['cffi>=1.0.0', 'numpy']
py_version = StrictVersion('.'.join(str(n) for n in version_info[:3]))
if py_version < StrictVersion('3.4'):
install_requires.append('enum34')
# Utility function to read the README file for the long_description field.
def read(fname):
from os.path import join, dirname
return open(join(dirname(__file__), fname)).read()
setup(
name='nfft-cffi',
version='0.1',
description='Python interface to the NFFT library',
long_description=read('README.rst'),
url='https://github.com/ghisvail/nfft-cffi',
author='Ghislain Antony Vaillant',
author_email='ghisvail@gmail.com',
license='BSD',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Topic :: Software Development',
],
keywords='gridding nfft nufft nusfft',
packages=find_packages(exclude=['builders', 'docs', 'tests']),
setup_requires=['cffi>=1.0.0', 'pkgconfig', 'nose>=1.0'],
install_requires=install_requires,
cffi_modules=['build.py:ffibuilder'],
)
| # Copyright (c) 2016-2017, Imperial College London
# Copyright (c) 2016-2017, Ghislain Antony Vaillant
# All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the BSD license. See the accompanying LICENSE file
# or read the terms at https://opensource.org/licenses/BSD-3-Clause.
from setuptools import find_packages, setup
from distutils.version import StrictVersion
from sys import version_info
install_requires = ['cffi>=1.0.0', 'numpy']
py_version = StrictVersion('.'.join(str(n) for n in version_info[:3]))
if py_version < StrictVersion('3.4'):
install_requires.append('enum34')
# Utility function to read the README file for the long_description field.
def read(fname):
from os.path import join, dirname
return open(join(dirname(__file__), fname)).read()
setup(
name = 'nfft-cffi',
version = '0.1',
description = 'Python interface to the NFFT library',
long_description=read('README.rst'),
url = 'https://github.com/ghisvail/nfft-cffi',
author = 'Ghislain Antony Vaillant',
author_email = 'ghisvail@gmail.com',
license = 'BSD',
classifiers = [
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Topic :: Software Development',
],
keywords = 'gridding nfft nufft nusfft',
packages=find_packages(exclude=['builders', 'docs', 'tests']),
setup_requires=['cffi>=1.0.0', 'pkgconfig', 'nose>=1.0'],
install_requires=install_requires,
cffi_modules=['build.py:ffibuilder'],
)
| bsd-3-clause | Python |
c015c4a4ddcabe4989f80e9ce102ccd61babd73c | add classifiers | gabfl/mysql-batch-update | setup.py | setup.py | from setuptools import setup
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
long_description = open('README.md').read()
setup(
name='mysql_batch',
version='1.0.6',
description='Run large MySQL UPDATE and DELETE queries with small batches to prevent table/row-level locks',
long_description=long_description,
author='Gabriel Bordeaux',
author_email='pypi@gab.lc',
url='https://github.com/gabfl/mysql-batch-update',
license='MIT',
packages=['mysql_batch'],
package_dir={'mysql_batch': 'src'},
install_requires=['pymysql', 'argparse'], # external dependencies
entry_points={
'console_scripts': [
'mysql_batch = mysql_batch.mysql_batch:main',
],
},
classifiers=[ # see https://pypi.python.org/pypi?%3Aaction=list_classifiers
'Topic :: Software Development',
'Topic :: Database',
'Topic :: Database :: Database Engines/Servers',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS',
'Operating System :: POSIX :: Linux',
'Natural Language :: English',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python',
#'Development Status :: 4 - Beta',
'Development Status :: 5 - Production/Stable',
],
)
| from setuptools import setup
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except(IOError, ImportError):
long_description = open('README.md').read()
setup(
name='mysql_batch',
version='1.0.5',
description='Run large MySQL UPDATE and DELETE queries with small batches to prevent table/row-level locks',
long_description=long_description,
author='Gabriel Bordeaux',
author_email='pypi@gab.lc',
url='https://github.com/gabfl/mysql-batch-update',
license='MIT',
packages=['mysql_batch'],
package_dir={'mysql_batch': 'src'},
install_requires=['pymysql', 'argparse'], # external dependencies
entry_points={
'console_scripts': [
'mysql_batch = mysql_batch.mysql_batch:main',
],
},
)
| mit | Python |
20b2df7a855709fdcb94870a5978c1965edf4c6a | Add markdown as a requirement. | chaudum/Cactus,PegasusWang/Cactus,dreadatour/Cactus,dreadatour/Cactus,andyzsf/Cactus-,eudicots/Cactus,Knownly/Cactus,page-io/Cactus,eudicots/Cactus,fjxhkj/Cactus,Knownly/Cactus,andyzsf/Cactus-,andyzsf/Cactus-,ibarria0/Cactus,chaudum/Cactus,page-io/Cactus,koenbok/Cactus,gone/Cactus,koenbok/Cactus,koobs/Cactus,koenbok/Cactus,fjxhkj/Cactus,ibarria0/Cactus,PegasusWang/Cactus,eudicots/Cactus,juvham/Cactus,juvham/Cactus,dreadatour/Cactus,Bluetide/Cactus,page-io/Cactus,danielmorosan/Cactus,Bluetide/Cactus,chaudum/Cactus,gone/Cactus,Bluetide/Cactus,danielmorosan/Cactus,PegasusWang/Cactus,koobs/Cactus,fjxhkj/Cactus,juvham/Cactus,ibarria0/Cactus,Knownly/Cactus,koobs/Cactus,danielmorosan/Cactus,gone/Cactus | setup.py | setup.py | import os
import sys
import subprocess
import shutil
from setuptools import setup
from distutils.sysconfig import get_python_lib
if "uninstall" in sys.argv:
def run(command):
try:
return subprocess.check_output(command, shell=True).strip()
except subprocess.CalledProcessError:
pass
cactusBinPath = run('which cactus')
cactusPackagePath = None
for p in os.listdir(get_python_lib()):
if p.lower().startswith('cactus') and p.lower().endswith('.egg'):
cactusPackagePath = os.path.join(get_python_lib(), p)
if cactusBinPath and os.path.exists(cactusBinPath):
print 'Removing cactus script at %s' % cactusBinPath
os.unlink(cactusBinPath)
if cactusPackagePath and os.path.isdir(cactusPackagePath):
print 'Removing cactus package at %s' % cactusPackagePath
shutil.rmtree(cactusPackagePath)
sys.exit()
if "install" in sys.argv or "bdist_egg" in sys.argv:
# Check if we have an old version of cactus installed
p1 = '/usr/local/bin/cactus.py'
p2 = '/usr/local/bin/cactus.pyc'
if os.path.exists(p1) or os.path.exists(p2):
print "Error: you have an old version of Cactus installed, we need to move it:"
if os.path.exists(p1): print " sudo rm %s" % p1
if os.path.exists(p2): print " sudo rm %s" % p2
sys.exit()
setup(
name='Cactus',
version='2.1.0',
description="Static site generation and deployment.",
long_description=open('README.md').read(),
url='http://github.com/koenbok/Cactus',
download_url='http://github.com/koenbok/Cactus',
author='Koen Bok',
author_email='koen@madebysofa.com',
license='BSD',
packages=['cactus'],
entry_points={
'console_scripts': [
'cactus = cactus.cli:main',
],
},
install_requires=[
'Django',
'boto>=2.4.1',
'markdown'
],
zip_safe=False,
tests_require=['nose'],
test_suite='nose.collector',
classifiers=[],
)
| import os
import sys
import subprocess
import shutil
from setuptools import setup
from distutils.sysconfig import get_python_lib
if "uninstall" in sys.argv:
def run(command):
try:
return subprocess.check_output(command, shell=True).strip()
except subprocess.CalledProcessError:
pass
cactusBinPath = run('which cactus')
cactusPackagePath = None
for p in os.listdir(get_python_lib()):
if p.lower().startswith('cactus') and p.lower().endswith('.egg'):
cactusPackagePath = os.path.join(get_python_lib(), p)
if cactusBinPath and os.path.exists(cactusBinPath):
print 'Removing cactus script at %s' % cactusBinPath
os.unlink(cactusBinPath)
if cactusPackagePath and os.path.isdir(cactusPackagePath):
print 'Removing cactus package at %s' % cactusPackagePath
shutil.rmtree(cactusPackagePath)
sys.exit()
if "install" in sys.argv or "bdist_egg" in sys.argv:
# Check if we have an old version of cactus installed
p1 = '/usr/local/bin/cactus.py'
p2 = '/usr/local/bin/cactus.pyc'
if os.path.exists(p1) or os.path.exists(p2):
print "Error: you have an old version of Cactus installed, we need to move it:"
if os.path.exists(p1): print " sudo rm %s" % p1
if os.path.exists(p2): print " sudo rm %s" % p2
sys.exit()
setup(
name='Cactus',
version='2.1.0',
description="Static site generation and deployment.",
long_description=open('README.md').read(),
url='http://github.com/koenbok/Cactus',
download_url='http://github.com/koenbok/Cactus',
author='Koen Bok',
author_email='koen@madebysofa.com',
license='BSD',
packages=['cactus'],
entry_points={
'console_scripts': [
'cactus = cactus.cli:main',
],
},
install_requires=[
'Django',
'boto>=2.4.1'
],
zip_safe=False,
tests_require=['nose'],
test_suite='nose.collector',
classifiers=[],
)
| bsd-3-clause | Python |
34dfce22bf88f8ba38836f9abc7d6a76c0f89854 | Fix hdf5-io requirement. | Z2PackDev/TBmodels,Z2PackDev/TBmodels | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# (c) 2015-2018, ETH Zurich, Institut fuer Theoretische Physik
# Author: Dominik Gresch <greschd@gmx.ch>
import re
from setuptools import setup, find_packages
import sys
if sys.version_info < (3, 5):
raise 'must use Python version 3.5 or higher'
README = """TBmodels is a tool for reading, creating and modifying tight-binding models."""
with open('./tbmodels/__init__.py', 'r') as f:
MATCH_EXPR = "__version__[^'\"]+(['\"])([^'\"]+)"
VERSION = re.search(MATCH_EXPR, f.read()).group(2).strip()
EXTRAS_REQUIRE = {
'kwant': ['kwant'],
'dev': [
'pytest', 'pytest-cov', 'yapf==0.29', 'pythtb', 'pre-commit', 'sphinx', 'sphinx-rtd-theme==0.2.4',
'ipython>=6.2', 'sphinx-click', 'prospector==1.1.7', 'pylint==2.3.1'
]
}
EXTRAS_REQUIRE['dev'] += EXTRAS_REQUIRE['kwant']
setup(
name='tbmodels',
version=VERSION,
url='http://z2pack.ethz.ch/tbmodels',
author='Dominik Gresch',
author_email='greschd@gmx.ch',
description='Reading, creating and modifying tight-binding models.',
install_requires=[
'numpy', 'scipy>=0.14', 'h5py', 'fsc.export', 'symmetry-representation>=0.2', 'click', 'bands-inspect',
'fsc.hdf5-io>=0.3.0'
],
extras_require=EXTRAS_REQUIRE,
long_description=README,
classifiers=[ # yapf:disable
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: Unix',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Physics'
],
entry_points='''
[console_scripts]
tbmodels=tbmodels._cli:cli
''',
license='Apache 2.0',
packages=find_packages()
)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
# (c) 2015-2018, ETH Zurich, Institut fuer Theoretische Physik
# Author: Dominik Gresch <greschd@gmx.ch>
import re
from setuptools import setup, find_packages
import sys
if sys.version_info < (3, 5):
raise 'must use Python version 3.5 or higher'
README = """TBmodels is a tool for reading, creating and modifying tight-binding models."""
with open('./tbmodels/__init__.py', 'r') as f:
MATCH_EXPR = "__version__[^'\"]+(['\"])([^'\"]+)"
VERSION = re.search(MATCH_EXPR, f.read()).group(2).strip()
EXTRAS_REQUIRE = {
'kwant': ['kwant'],
'dev': [
'pytest', 'pytest-cov', 'yapf==0.29', 'pythtb', 'pre-commit', 'sphinx', 'sphinx-rtd-theme==0.2.4',
'ipython>=6.2', 'sphinx-click', 'prospector==1.1.7', 'pylint==2.3.1'
]
}
EXTRAS_REQUIRE['dev'] += EXTRAS_REQUIRE['kwant']
setup(
name='tbmodels',
version=VERSION,
url='http://z2pack.ethz.ch/tbmodels',
author='Dominik Gresch',
author_email='greschd@gmx.ch',
description='Reading, creating and modifying tight-binding models.',
install_requires=[
'numpy', 'scipy>=0.14', 'h5py', 'fsc.export', 'symmetry-representation>=0.2', 'click', 'bands-inspect',
'fsc.hdf5-io>=0.2.0'
],
extras_require=EXTRAS_REQUIRE,
long_description=README,
classifiers=[ # yapf:disable
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Operating System :: Unix',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Physics'
],
entry_points='''
[console_scripts]
tbmodels=tbmodels._cli:cli
''',
license='Apache 2.0',
packages=find_packages()
)
| apache-2.0 | Python |
e281faf997baef05f997535bf44d6ea3d8e37a4d | bump to v1.1. | thruflo/pyramid_hsts | setup.py | setup.py | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from os.path import dirname, join as join_path
from setuptools import setup, find_packages
def _read(file_name):
sock = open(file_name)
text = sock.read()
sock.close()
return text
setup(
name = 'pyramid_hsts',
version = '1.1',
description = 'HTTP Strict Transport Security for a Pyramid application.',
author = 'James Arthur',
author_email = 'username: thruflo, domain: gmail.com',
url = 'http://github.com/thruflo/pyramid_hsts',
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: Public Domain',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Framework :: Pylons',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: WSGI',
'Topic :: Software Development :: Libraries :: Python Modules',
],
license = _read('UNLICENSE').split('\n')[0],
packages = find_packages('src'),
package_dir = {'': 'src'},
include_package_data = True,
zip_safe = False,
install_requires=[
'pyramid',
],
tests_require = [
'coverage',
'nose',
'mock',
]
)
| #!/usr/bin/env python
# -*- coding: utf-8 -*-
from os.path import dirname, join as join_path
from setuptools import setup, find_packages
def _read(file_name):
sock = open(file_name)
text = sock.read()
sock.close()
return text
setup(
name = 'pyramid_hsts',
version = '1.0',
description = 'HTTP Strict Transport Security for a Pyramid application.',
author = 'James Arthur',
author_email = 'username: thruflo, domain: gmail.com',
url = 'http://github.com/thruflo/pyramid_hsts',
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: Public Domain',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Framework :: Pylons',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: WSGI',
'Topic :: Software Development :: Libraries :: Python Modules',
],
license = _read('UNLICENSE').split('\n')[0],
packages = find_packages('src'),
package_dir = {'': 'src'},
include_package_data = True,
zip_safe = False,
install_requires=[
'pyramid',
],
tests_require = [
'coverage',
'nose',
'mock',
]
)
| unlicense | Python |
10ee833b5303c83a4f3ca807346fbbf1e06197b3 | Bump version to 0.2.2 | hastexo/hastexo-xblock,hastexo/hastexo-xblock,arbrandes/hastexo-xblock,arbrandes/hastexo-xblock,arbrandes/hastexo-xblock,arbrandes/hastexo-xblock,hastexo/hastexo-xblock,arbrandes/hastexo-xblock,hastexo/hastexo-xblock | setup.py | setup.py | """Setup for hastexo XBlock."""
import os
from setuptools import setup
def package_scripts(root_list):
data = []
for root in root_list:
for dirname, _, files in os.walk(root):
for fname in files:
data.append(os.path.join(dirname, fname))
return data
def package_data(pkg, roots):
"""Generic function to find package_data.
All of the files under each of the `roots` will be declared as package
data for package `pkg`.
"""
data = []
for root in roots:
for dirname, _, files in os.walk(os.path.join(pkg, root)):
for fname in files:
data.append(os.path.relpath(os.path.join(dirname, fname), pkg))
return {pkg: data}
setup(
name='hastexo-xblock',
version='0.2.2',
description='hastexo XBlock',
packages=[
'hastexo',
],
install_requires=[
'XBlock',
'xblock-utils',
'markdown2==2.3.0',
'python-keystoneclient==2.0.0',
'python-heatclient==0.8.0',
'python-swiftclient>=2.2.0',
'paramiko>=1.16.0',
],
entry_points={
'xblock.v1': [
'hastexo = hastexo:HastexoXBlock',
]
},
scripts=package_scripts(["bin"]),
package_data=package_data("hastexo", ["static", "public"]),
)
| """Setup for hastexo XBlock."""
import os
from setuptools import setup
def package_scripts(root_list):
data = []
for root in root_list:
for dirname, _, files in os.walk(root):
for fname in files:
data.append(os.path.join(dirname, fname))
return data
def package_data(pkg, roots):
"""Generic function to find package_data.
All of the files under each of the `roots` will be declared as package
data for package `pkg`.
"""
data = []
for root in roots:
for dirname, _, files in os.walk(os.path.join(pkg, root)):
for fname in files:
data.append(os.path.relpath(os.path.join(dirname, fname), pkg))
return {pkg: data}
setup(
name='hastexo-xblock',
version='0.2.1',
description='hastexo XBlock',
packages=[
'hastexo',
],
install_requires=[
'XBlock',
'xblock-utils',
'markdown2==2.3.0',
'python-keystoneclient==2.0.0',
'python-heatclient==0.8.0',
'python-swiftclient>=2.2.0',
'paramiko>=1.16.0',
],
entry_points={
'xblock.v1': [
'hastexo = hastexo:HastexoXBlock',
]
},
scripts=package_scripts(["bin"]),
package_data=package_data("hastexo", ["static", "public"]),
)
| agpl-3.0 | Python |
8c228a79450c49ee1d494ca1e3cf61ea7bcc8177 | Set API key directly in test runner | miedzinski/steamodd,Lagg/steamodd | setup.py | setup.py | """
Copyright (c) 2010-2013, Anthony Garcia <anthony@lagg.me>
Distributed under the ISC License (see LICENSE)
"""
from distutils.core import setup, Command
from distutils.errors import DistutilsOptionError
from unittest import TestLoader, TextTestRunner
import steam
class run_tests(Command):
description = "Run the steamodd unit tests"
user_options = [
("key=", 'k', "Your API key")
]
def initialize_options(self):
self.key = None
def finalize_options(self):
if not self.key:
raise DistutilsOptionError("API key is required")
else:
steam.api.key.set(self.key)
def run(self):
tests = TestLoader().discover("tests")
TextTestRunner(verbosity = 2).run(tests)
setup(name = "steamodd",
version = steam.__version__,
description = "High level Steam API implementation with low level reusable core",
packages = ["steam"],
author = steam.__author__,
author_email = steam.__contact__,
url = "https://github.com/Lagg/steamodd",
classifiers = [
"License :: OSI Approved :: ISC License (ISCL)",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python"
],
license = steam.__license__,
cmdclass = {"run_tests": run_tests})
| """
Copyright (c) 2010-2013, Anthony Garcia <anthony@lagg.me>
Distributed under the ISC License (see LICENSE)
"""
from distutils.core import setup, Command
from distutils.errors import DistutilsOptionError
from unittest import TestLoader, TextTestRunner
import os
import steam
class run_tests(Command):
description = "Run the steamodd unit tests"
user_options = [
("key=", 'k', "Your API key")
]
def initialize_options(self):
self.key = None
def finalize_options(self):
if not self.key:
raise DistutilsOptionError("API key is required")
else:
os.environ["STEAM_API_KEY"] = self.key
def run(self):
tests = TestLoader().discover("tests")
TextTestRunner(verbosity = 2).run(tests)
setup(name = "steamodd",
version = steam.__version__,
description = "High level Steam API implementation with low level reusable core",
packages = ["steam"],
author = steam.__author__,
author_email = steam.__contact__,
url = "https://github.com/Lagg/steamodd",
classifiers = [
"License :: OSI Approved :: ISC License (ISCL)",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python"
],
license = steam.__license__,
cmdclass = {"run_tests": run_tests})
| isc | Python |
8e20ba08517b716b11c097d83f93a1ecaa8bcea7 | Bump version | LedgerHQ/btchip-python,LedgerHQ/btchip-python,LedgerHQ/btchip-python | setup.py | setup.py | #from distribute_setup import use_setuptools
#use_setuptools()
from setuptools import setup, find_packages
from os.path import dirname, join
here = dirname(__file__)
setup(
name='btchip-python',
version='0.1.24',
author='BTChip',
author_email='hello@ledger.fr',
description='Python library to communicate with Ledger Nano dongle',
long_description=open(join(here, 'README.md')).read(),
url='https://github.com/LedgerHQ/btchip-python',
packages=find_packages(),
install_requires=['hidapi>=0.7.99'],
extras_require = {
'smartcard': [ 'python-pyscard>=1.6.12-4build1', 'ecdsa>=0.9' ]
},
include_package_data=True,
zip_safe=False,
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X'
]
)
| #from distribute_setup import use_setuptools
#use_setuptools()
from setuptools import setup, find_packages
from os.path import dirname, join
here = dirname(__file__)
setup(
name='btchip-python',
version='0.1.23',
author='BTChip',
author_email='hello@ledger.fr',
description='Python library to communicate with Ledger Nano dongle',
long_description=open(join(here, 'README.md')).read(),
url='https://github.com/LedgerHQ/btchip-python',
packages=find_packages(),
install_requires=['hidapi>=0.7.99'],
extras_require = {
'smartcard': [ 'python-pyscard>=1.6.12-4build1', 'ecdsa>=0.9' ]
},
include_package_data=True,
zip_safe=False,
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X'
]
)
| apache-2.0 | Python |
a908acf3ef01fcaf71ad5090fce7088191029bea | change version | claudiutopriceanu/django-lightpdf | setup.py | setup.py | import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-lightpdf',
version='0.1.0',
packages=['lightpdf'],
include_package_data=True,
license='BSD License',
description='A simple Django app to help generate pdfs',
long_description=README,
url='https://github.com/claudiutopriceanu/django-lightpdf',
author='Claudiu Topriceanu',
author_email='ctopriceanu@example.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.9',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
| import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-lightpdf',
version='0.1',
packages=['lightpdf'],
include_package_data=True,
license='BSD License',
description='A simple Django app to help generate pdfs',
long_description=README,
url='https://github.com/claudiutopriceanu/django-lightpdf',
author='Claudiu Topriceanu',
author_email='ctopriceanu@example.com',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.9',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)
| mit | Python |
f13d62214d1e9bf9d64cffbeb0b0de74bfbf9e9e | Put raw requirements back into setup file and increment version | jakelever/kindred,jakelever/kindred | setup.py | setup.py | #!/usr/bin/env python
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
VERSION='1.1.2'
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
#with open(path.join(here, 'requirements.txt'), encoding='utf-8') as f:
# requirements = f.readlines()
setup(name='kindred',
version=VERSION,
description='A relation extraction toolkit for biomedical text mining',
long_description=long_description,
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: Unix',
'Operating System :: MacOS :: MacOS X',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Human Machine Interfaces',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Text Processing',
'Topic :: Text Processing :: General',
'Topic :: Text Processing :: Indexing',
'Topic :: Text Processing :: Linguistic',
],
url='http://github.com/jakelever/kindred',
author='Jake Lever',
author_email='jake.lever@gmail.com',
license='MIT',
packages=['kindred'],
install_requires=['scikit-learn','numpy','scipy','intervaltree','networkx','pycorenlp','lxml','future','bioc','pytest_socket','six','sphinx==1.5.5'],
include_package_data=True,
zip_safe=False,
test_suite='nose.collector',
tests_require=['nose'])
| #!/usr/bin/env python
from setuptools import setup, find_packages
# To use a consistent encoding
from codecs import open
from os import path
VERSION='1.1.1'
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
with open(path.join(here, 'requirements.txt'), encoding='utf-8') as f:
requirements = f.readlines()
setup(name='kindred',
version=VERSION,
description='A relation extraction toolkit for biomedical text mining',
long_description=long_description,
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: Unix',
'Operating System :: MacOS :: MacOS X',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Artificial Intelligence',
'Topic :: Scientific/Engineering :: Human Machine Interfaces',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Text Processing',
'Topic :: Text Processing :: General',
'Topic :: Text Processing :: Indexing',
'Topic :: Text Processing :: Linguistic',
],
url='http://github.com/jakelever/kindred',
author='Jake Lever',
author_email='jake.lever@gmail.com',
license='MIT',
packages=['kindred'],
install_requires=requirements,
include_package_data=True,
zip_safe=False,
test_suite='nose.collector',
tests_require=['nose'])
| mit | Python |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.