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 |
---|---|---|---|---|---|---|---|---|
e72a726ba2fcbfe24fc6777a8905c1b7ed9c7dbf
|
test requirements
|
omtinez/rltools
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core 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 = [
]
test_requirements = [
]
setup(
name='rltools',
version='0.1.0',
description="Collection of domains, learners, strategies, and other tools related to reinforcement learning.",
long_description=readme + '\n\n' + history,
author="Oscar Martinez",
author_email='[email protected]',
url='https://github.com/omtinez/rltools',
packages=[
'rltools',
],
package_dir={'rltools':
'rltools'},
include_package_data=True,
install_requires=requirements,
license="MIT",
zip_safe=False,
keywords='rltools',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.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
)
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core 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 = [
unittest2
]
setup(
name='rltools',
version='0.1.0',
description="Collection of domains, learners, strategies, and other tools related to reinforcement learning.",
long_description=readme + '\n\n' + history,
author="Oscar Martinez",
author_email='[email protected]',
url='https://github.com/omtinez/rltools',
packages=[
'rltools',
],
package_dir={'rltools':
'rltools'},
include_package_data=True,
install_requires=requirements,
license="MIT",
zip_safe=False,
keywords='rltools',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
test_suite='tests',
tests_require=test_requirements
)
|
mit
|
Python
|
04a31c02c8186505e6e211e76903e5f1b62b3f90
|
Change version number (v2.2 -> v2.2.1)
|
montag451/pytun,montag451/pytun
|
setup.py
|
setup.py
|
from distutils.core import setup, Extension
setup(name='python-pytun',
author='montag451',
author_email='montag451 at laposte.net',
maintainer='montag451',
maintainer_email='montag451 at laposte.net',
url='https://github.com/montag451/pytun',
description='Linux TUN/TAP wrapper for Python',
long_description=open('README.rst').read(),
version='2.2.1',
ext_modules=[Extension('pytun', ['pytun.c'])],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: C',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Networking'])
|
from distutils.core import setup, Extension
setup(name='python-pytun',
author='montag451',
author_email='montag451 at laposte.net',
maintainer='montag451',
maintainer_email='montag451 at laposte.net',
url='https://github.com/montag451/pytun',
description='Linux TUN/TAP wrapper for Python',
long_description=open('README.rst').read(),
version='2.2',
ext_modules=[Extension('pytun', ['pytun.c'])],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: C',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Networking'])
|
mit
|
Python
|
d5313af83b8dc95677be16c88072b652743505fd
|
Bump version.
|
pozytywnie/django-facebook-auth,pozytywnie/django-facebook-auth
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup
def read(name):
from os import path
return open(path.join(path.dirname(__file__), name)).read()
setup(
name='django-facebook-auth',
version='3.8.6',
description="Authorisation app for Facebook API.",
long_description=read("README.rst"),
url="https://github.com/pozytywnie/django-facebook-auth",
maintainer="Tomasz Wysocki",
maintainer_email="[email protected]",
install_requires=(
'celery',
'Django',
'facepy>=1.0.6',
'cached_property',
),
packages=[
'facebook_auth',
'facebook_auth.migrations',
'facebook_auth.management',
'facebook_auth.management.commands',
'facebook_auth.south_migrations',
'facebook_auth.facepy_wrapper',
],
)
|
#!/usr/bin/env python
from setuptools import setup
def read(name):
from os import path
return open(path.join(path.dirname(__file__), name)).read()
setup(
name='django-facebook-auth',
version='3.8.5',
description="Authorisation app for Facebook API.",
long_description=read("README.rst"),
url="https://github.com/pozytywnie/django-facebook-auth",
maintainer="Tomasz Wysocki",
maintainer_email="[email protected]",
install_requires=(
'celery',
'Django',
'facepy>=1.0.6',
'cached_property',
),
packages=[
'facebook_auth',
'facebook_auth.migrations',
'facebook_auth.management',
'facebook_auth.management.commands',
'facebook_auth.south_migrations',
'facebook_auth.facepy_wrapper',
],
)
|
mit
|
Python
|
738af339a921a6ceca8c2243f06e026d0b0349c9
|
Change author info.
|
Jarn/jarn.viewdoc
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
version = '1.5'
setup(name='jarn.viewdoc',
version=version,
description='Preview Python package documentation',
long_description=open('README.txt').read() + '\n' +
open('CHANGES.txt').read(),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
],
keywords='view rest docs',
author='Stefan H. Holek',
author_email='[email protected]',
url='http://pypi.python.org/pypi/jarn.viewdoc',
license='BSD',
packages=find_packages(),
namespace_packages=['jarn'],
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
'docutils',
],
entry_points={
'console_scripts': 'viewdoc=jarn.viewdoc.viewdoc:main',
},
)
|
from setuptools import setup, find_packages
version = '1.5'
setup(name='jarn.viewdoc',
version=version,
description='Preview Python package documentation',
long_description=open('README.txt').read() + '\n' +
open('CHANGES.txt').read(),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
],
keywords='view rest docs',
author='Jarn AS',
author_email='[email protected]',
url='http://www.jarn.com/',
license='BSD',
packages=find_packages(),
namespace_packages=['jarn'],
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
'docutils',
],
entry_points={
'console_scripts': 'viewdoc=jarn.viewdoc.viewdoc:main',
},
)
|
bsd-2-clause
|
Python
|
18bc6f7bb71bc454ec69877058f647c9126334c4
|
Bump to version 0.17.0
|
nerevu/prometheus-api,nerevu/prometheus-api,nerevu/prometheus-api
|
setup.py
|
setup.py
|
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
with open('requirements.txt') as file:
requirements = file.read().splitlines()
config = {
'name': 'prometheus-api',
'description': 'RESTful API for prometheus, a global asset allocation tool',
'long_description': open('README.rst', 'rt').read(),
'author': 'Reuben Cummings',
'url': 'https://github.com/reubano/prometheus',
'download_url':
'https://github.com/reubano/prometheus/downloads/prometheus*.tgz',
'author_email': '[email protected]',
'version': '0.17.0',
'install_requires': requirements,
'classifiers': ['Development Status :: 4 - Beta',
'License :: OSI Approved :: The MIT License (MIT)',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Intended Audience :: Financial and Insurance Industry',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Server',
'Topic :: Database',
'Topic :: Office/Business :: Financial :: Investment',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux'],
'packages': find_packages(),
'zip_safe': False,
'license': 'MIT',
'keywords': 'finance, asset-allocation, portfolio, api, postgres, rest'
'platforms' ['MacOS X', 'Windows', 'Linux']
'include_package_data': True}
setup(**config)
|
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
with open('requirements.txt') as file:
requirements = file.read().splitlines()
config = {
'name': 'prometheus-api',
'description': 'RESTful API for prometheus, a global asset allocation tool',
'long_description': open('README.rst', 'rt').read(),
'author': 'Reuben Cummings',
'url': 'https://github.com/reubano/prometheus',
'download_url':
'https://github.com/reubano/prometheus/downloads/prometheus*.tgz',
'author_email': '[email protected]',
'version': '0.16.2',
'install_requires': requirements,
'classifiers': ['Development Status :: 4 - Beta',
'License :: OSI Approved :: The MIT License (MIT)',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Intended Audience :: Financial and Insurance Industry',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Server',
'Topic :: Database',
'Topic :: Office/Business :: Financial :: Investment',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux'],
'packages': find_packages(),
'zip_safe': False,
'license': 'MIT',
'keywords': 'finance, asset-allocation, portfolio, api, postgres, rest'
'platforms' ['MacOS X', 'Windows', 'Linux']
'include_package_data': True}
setup(**config)
|
mit
|
Python
|
1d92fee8c7e848648e423d343e4731a986c786de
|
Bump version to 0.1.1 for pypi
|
roverdotcom/nexus,roverdotcom/nexus,disqus/nexus,roverdotcom/nexus,blueprinthealth/nexus,disqus/nexus,brilliant-org/nexus,Raekkeri/nexus,YPlan/nexus,graingert/nexus,brilliant-org/nexus,blueprinthealth/nexus,brilliant-org/nexus,graingert/nexus,YPlan/nexus,disqus/nexus,Raekkeri/nexus,blueprinthealth/nexus,graingert/nexus,YPlan/nexus
|
setup.py
|
setup.py
|
#!/usr/bin/env python
try:
from setuptools import setup, find_packages
from setuptools.command.test import test
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from setuptools.command.test import test
class mytest(test):
def run(self, *args, **kwargs):
from runtests import runtests
runtests()
setup(
name='nexus',
version='0.1.1',
author='David Cramer',
author_email='[email protected]',
url='http://github.com/dcramer/nexus',
description = 'An extendable admin interface',
packages=find_packages(),
zip_safe=False,
install_requires=[],
test_suite = 'nexus.tests',
include_package_data=True,
cmdclass={"test": mytest},
classifiers=[
'Framework :: Django',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Topic :: Software Development'
],
)
|
#!/usr/bin/env python
try:
from setuptools import setup, find_packages
from setuptools.command.test import test
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from setuptools.command.test import test
class mytest(test):
def run(self, *args, **kwargs):
from runtests import runtests
runtests()
setup(
name='nexus',
version='0.1.0',
author='David Cramer',
author_email='[email protected]',
url='http://github.com/dcramer/nexus',
description = 'An extendable admin interface',
packages=find_packages(),
zip_safe=False,
install_requires=[],
test_suite = 'nexus.tests',
include_package_data=True,
cmdclass={"test": mytest},
classifiers=[
'Framework :: Django',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Topic :: Software Development'
],
)
|
apache-2.0
|
Python
|
4b6808fd5f762dfa38663f72efa62383f5522ec0
|
Add "service" as a keyword to setup.py
|
fedora-infra/fedimg,fedora-infra/fedimg
|
setup.py
|
setup.py
|
#!/bin/env python
# -*- coding: utf8 -*-
from setuptools import setup
setup(
name='fedimg',
version='0.1.0',
description='Service to automatically upload built Fedora images'
' to internal and external cloud providers.',
classifiers=[
"Programming Language :: Python :: 2",
" License :: OSI Approved :: GNU Affero General Public License"
" v3 or later (AGPLv3+)",
],
keywords='python Fedora cloud image uploader service',
author='David Gay',
author_email='[email protected]',
url='https://github.com/fedora-infra/fedimg',
license='AGPLv3+',
include_package_data=True,
zip_safe=False,
install_requires=["fedmsg",
"apache-libcloud",
"paramiko"],
packages=[],
entry_points="""
[moksha.consumer]
kojiconsumer = fedimg.consumers:KojiConsumer
""",
)
|
#!/bin/env python
# -*- coding: utf8 -*-
from setuptools import setup
setup(
name='fedimg',
version='0.1.0',
description='Service to automatically upload built Fedora images'
' to internal and external cloud providers.',
classifiers=[
"Programming Language :: Python :: 2",
" License :: OSI Approved :: GNU Affero General Public License"
" v3 or later (AGPLv3+)",
],
keywords='python Fedora cloud image uploader',
author='David Gay',
author_email='[email protected]',
url='https://github.com/fedora-infra/fedimg',
license='AGPLv3+',
include_package_data=True,
zip_safe=False,
install_requires=["fedmsg",
"apache-libcloud",
"paramiko"],
packages=[],
entry_points="""
[moksha.consumer]
kojiconsumer = fedimg.consumers:KojiConsumer
""",
)
|
agpl-3.0
|
Python
|
0f4ee2c4f1e503bfbc36630be0a4a905ec3777a2
|
Edit pip description.
|
alunegov/AtmelStudioToNinja
|
setup.py
|
setup.py
|
"""setup.py: setuptools control."""
from setuptools import setup
PROJECT_NAME = 'asninja'
setup(
name=PROJECT_NAME,
version="1.2",
packages=[
PROJECT_NAME,
PROJECT_NAME + '.toolchains'
],
entry_points={
"console_scripts": ['{0} = {0}.{0}:main'.format(PROJECT_NAME)]
},
install_requires=[
'ninja_syntax>=1.6.0'
],
author='Alexander Lunegov',
author_email='[email protected]',
url='https://github.com/alunegov/AtmelStudioToNinja',
description='Convert Atmel Studio project file to Ninja build file',
license='MIT'
)
|
"""setup.py: setuptools control."""
from setuptools import setup
PROJECT_NAME = 'asninja'
setup(
name=PROJECT_NAME,
version="1.2",
packages=[
PROJECT_NAME,
PROJECT_NAME + '.toolchains'
],
entry_points={
"console_scripts": ['{0} = {0}.{0}:main'.format(PROJECT_NAME)]
},
install_requires=[
'ninja_syntax>=1.6.0'
],
author='Alexander Lunegov',
author_email='[email protected]',
url='https://github.com/alunegov/AtmelStudioToNinja',
description='Convert Atmel Studio .cproj/.cppproj file to .ninja file',
license='MIT'
)
|
mit
|
Python
|
50d073bd7cf769686efc63e42cb75512952b25ed
|
Fix package description
|
ankostis/smmap,gitpython-developers/smmap
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import os
import codecs
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
import smmap
if os.path.exists("README.md"):
long_description = codecs.open('README.md', "r", "utf-8").read()
else:
long_description = "See http://github.com/gitpython-developers/smmap"
setup(
name="smmap",
version=smmap.__version__,
description="A pure python implementation of a sliding window memory map manager",
author=smmap.__author__,
author_email=smmap.__contact__,
url=smmap.__homepage__,
platforms=["any"],
license="BSD",
packages=find_packages(),
zip_safe=True,
classifiers=[
# Picked from
# http://pypi.python.org/pypi?:action=list_classifiers
#"Development Status :: 1 - Planning",
#"Development Status :: 2 - Pre-Alpha",
#"Development Status :: 3 - Alpha",
# "Development Status :: 4 - Beta",
"Development Status :: 5 - Production/Stable",
#"Development Status :: 6 - Mature",
#"Development Status :: 7 - Inactive",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X",
"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",
],
long_description=long_description,
tests_require=('nose', 'nosexcover'),
test_suite='nose.collector'
)
|
#!/usr/bin/env python
import os
import codecs
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
import smmap
if os.path.exists("README.md"):
long_description = codecs.open('README.md', "r", "utf-8").read()
else:
long_description = "See http://github.com/gitpython-developers/smmap"
setup(
name="smmap",
version=smmap.__version__,
description="A pure git implementation of a sliding window memory map manager",
author=smmap.__author__,
author_email=smmap.__contact__,
url=smmap.__homepage__,
platforms=["any"],
license="BSD",
packages=find_packages(),
zip_safe=True,
classifiers=[
# Picked from
# http://pypi.python.org/pypi?:action=list_classifiers
#"Development Status :: 1 - Planning",
#"Development Status :: 2 - Pre-Alpha",
#"Development Status :: 3 - Alpha",
# "Development Status :: 4 - Beta",
"Development Status :: 5 - Production/Stable",
#"Development Status :: 6 - Mature",
#"Development Status :: 7 - Inactive",
"Environment :: Console",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Operating System :: POSIX",
"Operating System :: Microsoft :: Windows",
"Operating System :: MacOS :: MacOS X",
"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",
],
long_description=long_description,
tests_require=('nose', 'nosexcover'),
test_suite='nose.collector'
)
|
bsd-3-clause
|
Python
|
2564af20cd7058fcb5618c9513e627449ae1a98b
|
Include the .config files under repobuddy/tests/configs.
|
Tuxdude/repobuddy,Tuxdude/repobuddy
|
setup.py
|
setup.py
|
#
# Copyright (C) 2012 Ash (Tuxdude) <[email protected]>
#
# This file is part of repobuddy.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this program. If not, see
# <http://www.gnu.org/licenses/>.
#
import os as _os
from setuptools import setup, find_packages
# Get the version number
execfile(_os.path.join('repobuddy', 'version.py'))
setup(
name='RepoBuddy',
version=__version__,
author='Ash',
author_email='[email protected]',
description='Multi-repository manager for GIT based projects',
license='LGPL v3',
keywords='git repo multi-repo',
url='https://github.com/Tuxdude/repobuddy',
packages=find_packages(),
package_data={
# Include all the test manifest xml files
'repobuddy.tests.manifests': ['*.xml'],
# Include all the test client config files
'repobuddy.tests.configs': ['*.config']},
entry_points={
'console_scripts': [
'repobuddy = repobuddy.main:run_repobuddy',
'test_repobuddy = repobuddy.tests.main:run_tests']}
)
|
#
# Copyright (C) 2012 Ash (Tuxdude) <[email protected]>
#
# This file is part of repobuddy.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as
# published by the Free Software Foundation; either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this program. If not, see
# <http://www.gnu.org/licenses/>.
#
import os as _os
from setuptools import setup, find_packages
# Get the version number
execfile(_os.path.join('repobuddy', 'version.py'))
setup(
name='RepoBuddy',
version=__version__,
author='Ash',
author_email='[email protected]',
description='Multi-repository manager for GIT based projects',
license='LGPL v3',
keywords='git repo multi-repo',
url='https://github.com/Tuxdude/repobuddy',
packages=find_packages(),
package_data={
# Include all the test manifest xml files
'repobuddy.tests.manifests': ['*.xml']},
entry_points={
'console_scripts': [
'repobuddy = repobuddy.main:run_repobuddy',
'test_repobuddy = repobuddy.tests.main:run_tests']}
)
|
apache-2.0
|
Python
|
6b04762430c470693bca9177b28deb75b9b2e974
|
Add package keywords
|
amateja/pytest-flask
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
pytest-flask
~~~~~~~~~~~~
A collection of py.test fixtures to test Flask applications.
:copyright: (c) by Vital Kudzelka
"""
from setuptools import setup
from setuptools import find_packages
version = "0.3.0"
def get_file(filename):
"""Returns file content line by line."""
try:
with open(filename, 'r') as f:
rv = f.readlines()
except IOError:
rv = []
return rv
def get_long_description():
readme = get_file('README')
return ''.join(readme)
setup(
name='pytest-flask',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# http://packaging.python.org/en/latest/tutorial.html#version
version=version,
author='Vital Kudzelka',
author_email='[email protected]',
url='https://github.com/vitalk/pytest-flask',
description='A collection of py.test fixtures to test Flask applications.',
long_description=get_long_description(),
license='MIT',
packages=find_packages(exclude=['docs', 'tests']),
zip_safe=False,
platforms='any',
install_requires=get_file('requirements.txt'),
tests_require=[],
keywords='pytest flask testing',
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
],
# The following makes a plugin available to pytest
entry_points = {
'pytest11': [
'flask = pytest_flask.plugin',
]
},
)
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
pytest-flask
~~~~~~~~~~~~
A collection of py.test fixtures to test Flask applications.
:copyright: (c) by Vital Kudzelka
"""
from setuptools import setup
from setuptools import find_packages
version = "0.3.0"
def get_file(filename):
"""Returns file content line by line."""
try:
with open(filename, 'r') as f:
rv = f.readlines()
except IOError:
rv = []
return rv
def get_long_description():
readme = get_file('README')
return ''.join(readme)
setup(
name='pytest-flask',
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# http://packaging.python.org/en/latest/tutorial.html#version
version=version,
author='Vital Kudzelka',
author_email='[email protected]',
url='https://github.com/vitalk/pytest-flask',
description='A collection of py.test fixtures to test Flask applications.',
long_description=get_long_description(),
license='MIT',
packages=find_packages(exclude=['docs', 'tests']),
zip_safe=False,
platforms='any',
install_requires=get_file('requirements.txt'),
tests_require=[],
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
],
# The following makes a plugin available to pytest
entry_points = {
'pytest11': [
'flask = pytest_flask.plugin',
]
},
)
|
mit
|
Python
|
fc7f94c4e29560621fac248656294f32a198e6af
|
Remove trailing comma
|
vivangkumar/uberpy
|
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="uberpy",
version="1.0",
author="Vivan Kumar",
author_email="[email protected]",
description="A pure python wrapper for the Uber API.",
license="MIT",
keywords="uber api wrapper library",
url="https://github.com/vivangkumar/uberpy",
packages=['uberpy', 'tests'],
long_description=read('README.md'),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: MIT License"
],
)
|
import os
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="uberpy",
version="1.0",
author="Vivan Kumar",
author_email="[email protected]",
description="A pure python wrapper for the Uber API.",
license="MIT",
keywords="uber api wrapper library",
url="https://github.com/vivangkumar/uberpy",
packages=['uberpy', 'tests'],
long_description=read('README.md'),
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: MIT License",
],
)
|
mit
|
Python
|
04ff7f221837c98093cd23eef6bca8461cc3405f
|
disable long description until can make it py3 compatible.
|
CumulusNetworks/NetworkDocopt
|
setup.py
|
setup.py
|
# pylint: disable=c0111
from _gitversion import get_version
try:
from setuptools import setup
except ImportError:
import ez_setup
ez_setup.use_setuptools()
from setuptools import setup
import sys
with open('README.rst') as f:
readme_content = f.read().strip()
def install_requires():
_install_requires = ''
if sys.version_info <= (3, 0):
_install_requires = ['ipaddr']
return _install_requires
setup(
name='network-docopt',
version=get_version(),
description="Network Docopt",
url="https://github.com/CumulusNetworks/NetworkDocopt",
author='Cumulus Networks',
author_email='[email protected]',
license="MIT",
py_modules=['network_docopt'],
install_requires=install_requires(),
scripts=['bin/network-docopt-example'],
data_files=[('usr/share/bash-completion/completions',
['completions/network-docopt-example'])],
classifiers=[
'Development Status :: 4 - Beta',
'Operating System :: POSIX :: Linux',
'Topic :: System :: Networking',
'Topic :: Utilities',
'License :: OSI Approved :: MIT License'
]
)
|
# pylint: disable=c0111
from _gitversion import get_version
try:
from setuptools import setup
except ImportError:
import ez_setup
ez_setup.use_setuptools()
from setuptools import setup
import sys
with open('README.rst') as f:
readme_content = f.read().strip()
def install_requires():
_install_requires = ''
if sys.version_info <= (3, 0):
_install_requires = ['ipaddr']
return _install_requires
setup(
name='network-docopt',
version=get_version(),
description="Network Docopt",
long_description=readme_content,
url="https://github.com/CumulusNetworks/NetworkDocopt",
author='Cumulus Networks',
author_email='[email protected]',
license="MIT",
py_modules=['network_docopt'],
install_requires=install_requires(),
scripts=['bin/network-docopt-example'],
data_files=[('usr/share/bash-completion/completions',
['completions/network-docopt-example'])],
classifiers=[
'Development Status :: 4 - Beta',
'Operating System :: POSIX :: Linux',
'Topic :: System :: Networking',
'Topic :: Utilities',
'License :: OSI Approved :: MIT License'
]
)
|
mit
|
Python
|
a610ff6ac5bb42030fc19ba18ba971cb8a3fb86c
|
bump to 0.1.0
|
csira/wallace,csira/wallace
|
setup.py
|
setup.py
|
from setuptools import find_packages, setup
long_desc = '''\
Wallace is a wrapper for the Postgres, Redis, and Mongo database adapters.
It focuses on connection utilities and table-level abstractions but offers
a mini-ORM built around consistent attribute type declarations across
backends.
'''
if __name__ == '__main__':
setup(
packages=find_packages(),
name='Wallace',
version='0.1.0',
author='Christopher Sira',
author_email='[email protected]',
license='BSD',
url='https://github.com/csira/wallace',
description='Connection utilities, mini-ORM for PostgreSQL, Redis, and MongoDB.',
long_description=long_desc,
install_requires=[
'psycopg2',
'pymongo',
'redis',
'ujson',
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: Freely Distributable',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Topic :: Database',
'Topic :: Database :: Database Engines/Servers',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
from setuptools import find_packages, setup
long_desc = '''\
Wallace is a wrapper for the Postgres, Redis, and Mongo database adapters.
It focuses on connection utilities and table-level abstractions but offers
a mini-ORM built around consistent attribute type declarations across
backends.
'''
if __name__ == '__main__':
setup(
packages=find_packages(),
name='Wallace',
version='0.0.9',
author='Christopher Sira',
author_email='[email protected]',
license='BSD',
url='https://github.com/csira/wallace',
description='Connection utilities, mini-ORM for PostgreSQL, Redis, and MongoDB.',
long_description=long_desc,
install_requires=[
'psycopg2',
'pymongo',
'redis',
'ujson',
],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: Freely Distributable',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Topic :: Database',
'Topic :: Database :: Database Engines/Servers',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
bsd-3-clause
|
Python
|
535c9a80021e6924cabff60f35ac9d8d15d1e6cc
|
Fix email address
|
cocoatomo/pygments-dmdl
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
"""
Copyright 2016 cocoatomo
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import os, sys
version='0.4.0'
long_description = '\n'.join([
open(os.path.join('.', 'README.rst')).read(),
])
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Documentation',
]
setup(
name='pygments-dmdl',
version=version,
description='DMDL lexer and highlighter for Pygments',
long_description=long_description,
classifiers=classifiers,
keywords=[],
author='cocoatomo',
author_email='[email protected]',
url='https://github.com/cocoatomo/pygments-dmdl',
license='Apache License (2.0)',
namespace_packages=['dmdl'],
packages=find_packages('.'),
package_dir={'': '.'},
include_package_data=True,
install_requires=[],
entry_points="""
[pygments.lexers]
dmdl = dmdl.lexer:DmdlLexer
""",
zip_safe=False,
setup_requires=['pytest-runner'],
tests_require=['pytest'],
cmdclass={},
)
|
# -*- coding: utf-8 -*-
"""
Copyright 2016 cocoatomo
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
import os, sys
version='0.4.0'
long_description = '\n'.join([
open(os.path.join('.', 'README.rst')).read(),
])
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Documentation',
]
setup(
name='pygments-dmdl',
version=version,
description='DMDL lexer and highlighter for Pygments',
long_description=long_description,
classifiers=classifiers,
keywords=[],
author='cocoatomo',
author_email='cocoatomo77 at gmail dot com',
url='https://github.com/cocoatomo/pygments-dmdl',
license='Apache License (2.0)',
namespace_packages=['dmdl'],
packages=find_packages('.'),
package_dir={'': '.'},
include_package_data=True,
install_requires=[],
entry_points="""
[pygments.lexers]
dmdl = dmdl.lexer:DmdlLexer
""",
zip_safe=False,
setup_requires=['pytest-runner'],
tests_require=['pytest'],
cmdclass={},
)
|
apache-2.0
|
Python
|
e0850937a787ce77a2aff1d3abd54ee0aa8e9e38
|
Bump version.
|
jarcoal/django-loginas,intellisense/django-loginas,topletal/django-loginas,topletal/django-loginas,stochastic-technologies/django-loginas,skorokithakis/django-loginas,stochastic-technologies/django-loginas,skorokithakis/django-loginas,jarcoal/django-loginas,intellisense/django-loginas
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import sys
assert sys.version >= '2.5', "Requires Python v2.5 or above."
from distutils.core import setup
from setuptools import find_packages
setup(
name="django-loginas",
version="0.1.1",
author="Stochastic Technologies",
author_email="[email protected]",
url="https://github.com/stochastic-technologies/django-loginas/",
description="""An app to add a "Log in as user" button in the Django user admin page.""",
long_description="A short Django app that adds a button in the Django user admin page. "
"When a superuser clicks the button, they are instantly logged in as that "
"user.",
license="BSD",
keywords="django",
zip_safe=False,
include_package_data=True,
packages=find_packages(),
)
|
#!/usr/bin/env python
import sys
assert sys.version >= '2.5', "Requires Python v2.5 or above."
from distutils.core import setup
from setuptools import find_packages
setup(
name="django-loginas",
version="0.1",
author="Stochastic Technologies",
author_email="[email protected]",
url="https://github.com/stochastic-technologies/django-loginas/",
description="""An app to add a "Log in as user" button in the Django user admin page.""",
long_description="A short Django app that adds a button in the Django user admin page. "
"When a superuser clicks the button, they are instantly logged in as that "
"user.",
license="BSD",
keywords="django",
zip_safe=False,
include_package_data=True,
packages=find_packages(),
)
|
bsd-3-clause
|
Python
|
167095e7731e4092b466623c28d4e5f1d8006118
|
Bump version to 2.0
|
wbolster/mysql-latin1-codec
|
setup.py
|
setup.py
|
import os
from setuptools import setup
def here(*paths):
return os.path.join(os.path.dirname(__file__), *paths)
setup(
name='mysql-latin1-codec',
description='Python string codec for MySQL\'s latin1 encoding',
long_description=open(here('README.rst')).read(),
version="2.0",
py_modules=['mysql_latin1_codec'],
author="Wouter Bolsterlee",
author_email="[email protected]",
url="https://github.com/wbolster/mysql-latin1-codec",
license="BSD License",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Topic :: System :: Recovery Tools",
"Topic :: Text Processing",
],
)
|
import os
from setuptools import setup
def here(*paths):
return os.path.join(os.path.dirname(__file__), *paths)
setup(
name='mysql-latin1-codec',
description='Python string codec for MySQL\'s latin1 encoding',
long_description=open(here('README.rst')).read(),
version="1.0",
py_modules=['mysql_latin1_codec'],
author="Wouter Bolsterlee",
author_email="[email protected]",
url="https://github.com/wbolster/mysql-latin1-codec",
license="BSD License",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Topic :: System :: Recovery Tools",
"Topic :: Text Processing",
],
)
|
bsd-3-clause
|
Python
|
5ca43f26c886c0d6e559180e587867d84ea634f4
|
Bump version to 0.2.0
|
wikilinks/sift,wikilinks/sift
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
__version__ = '0.2.0'
__pkg_name__ = 'textsift'
setup(
name = __pkg_name__,
version = __version__,
description = 'Text modelling framework',
author='Andrew Chisholm',
packages = find_packages(),
license = 'MIT',
url = 'https://github.com/wikilinks/sift',
scripts = [
'scripts/sift',
'scripts/download-wikipedia'
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Topic :: Text Processing :: Linguistic'
],
install_requires = [
"ujson",
"numpy",
"pattern",
"gensim",
"msgpack-python"
],
test_suite = __pkg_name__ + '.test'
)
|
from setuptools import setup, find_packages
__version__ = '0.1.0'
__pkg_name__ = 'sift'
setup(
name = __pkg_name__,
version = __version__,
description = 'Text modelling framework',
author='Andrew Chisholm',
packages = find_packages(),
license = 'MIT',
url = 'https://github.com/wikilinks/sift',
scripts = [
'scripts/sift',
'scripts/download-wikipedia'
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Topic :: Text Processing :: Linguistic'
],
install_requires = [
"ujson",
"numpy",
"pattern",
"gensim",
"msgpack-python"
],
test_suite = __pkg_name__ + '.test'
)
|
mit
|
Python
|
242924a8dbe1e227bd2d21cb744cc73670324d32
|
Bump version
|
taynaud/python-louvain
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name="python-louvain",
version="0.7",
author="Thomas Aynaud",
author_email="[email protected]",
description="Louvain algorithm for community detection",
license="BSD",
url="https://github.com/taynaud/python-louvain",
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Development Status :: 4 - Beta",
],
packages=['community'],
install_requires=[
"networkx<2.0.0",
],
scripts=['bin/community']
)
|
from setuptools import setup
setup(
name="python-louvain",
version="0.6",
author="Thomas Aynaud",
author_email="[email protected]",
description="Louvain algorithm for community detection",
license="BSD",
url="https://github.com/taynaud/python-louvain",
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: BSD License",
"Development Status :: 4 - Beta",
],
packages=['community'],
install_requires=[
"networkx<2.0.0",
],
scripts=['bin/community']
)
|
bsd-3-clause
|
Python
|
346eaa0db512fbbbb2357f08ec717fc0717ed7fd
|
update setup.py version number
|
rollbar/rollbar-agent,rollbar/rollbar-agent
|
setup.py
|
setup.py
|
import os.path
from setuptools import Command, find_packages, setup
HERE = os.path.abspath(os.path.dirname(__file__))
README_PATH = os.path.join(HERE, 'README.rst')
try:
README = open(README_PATH).read()
except IOError:
README = ''
setup(
name='rollbar-agent',
data_files=[('', ['rollbar-agent', 'rollbar-agent-init.sh', 'rollbar-agent.conf', 'LICENSE', 'requirements.txt'])],
version='0.3.11',
description='Rollbar server-side agent',
long_description=README,
author='Rollbar, Inc.',
author_email='[email protected]',
url='http://github.com/rollbar/rollbar-agent',
classifiers=[
"Programming Language :: Python",
"License :: OSI Approved :: MIT License",
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware",
"Topic :: Software Development",
"Topic :: Software Development :: Bug Tracking",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Quality Assurance",
],
install_requires=[
'requests',
],
)
|
import os.path
from setuptools import Command, find_packages, setup
HERE = os.path.abspath(os.path.dirname(__file__))
README_PATH = os.path.join(HERE, 'README.rst')
try:
README = open(README_PATH).read()
except IOError:
README = ''
setup(
name='rollbar-agent',
data_files=[('', ['rollbar-agent', 'rollbar-agent-init.sh', 'rollbar-agent.conf', 'LICENSE', 'requirements.txt'])],
version='0.3.10',
description='Rollbar server-side agent',
long_description=README,
author='Rollbar, Inc.',
author_email='[email protected]',
url='http://github.com/rollbar/rollbar-agent',
classifiers=[
"Programming Language :: Python",
"License :: OSI Approved :: MIT License",
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware",
"Topic :: Software Development",
"Topic :: Software Development :: Bug Tracking",
"Topic :: Software Development :: Testing",
"Topic :: Software Development :: Quality Assurance",
],
install_requires=[
'requests',
],
)
|
mit
|
Python
|
d41e0d9aec0c68735b70596f67c31a1effdad999
|
update version
|
Evfro/polara
|
setup.py
|
setup.py
|
import os
from setuptools import setup
_packages = ["polara",
"polara/recommender",
"polara/evaluation",
"polara/datasets",
"polara/lib",
"polara/tools",
"polara/recommender/coldstart",
"polara/recommender/hybrid",
"polara/recommender/contextual",
"polara/recommender/external",
"polara/recommender/external/mymedialite",
"polara/recommender/external/turi",
"polara/recommender/external/implicit",
"polara/recommender/external/lightfm"]
opts = dict(name="polara",
description="Fast and flexible recommender system framework",
keywords = "recommender system",
version = "0.6.4",
license="MIT",
author="Evgeny Frolov",
platforms=["any"],
packages=_packages)
# opts.update(extras)
if __name__ == '__main__':
setup(**opts)
|
import os
from setuptools import setup
_packages = ["polara",
"polara/recommender",
"polara/evaluation",
"polara/datasets",
"polara/lib",
"polara/tools",
"polara/recommender/coldstart",
"polara/recommender/hybrid",
"polara/recommender/contextual",
"polara/recommender/external",
"polara/recommender/external/mymedialite",
"polara/recommender/external/turi",
"polara/recommender/external/implicit",
"polara/recommender/external/lightfm"]
opts = dict(name="polara",
description="Fast and flexible recommender system framework",
keywords = "recommender system",
version = "0.6.3.dev",
license="MIT",
author="Evgeny Frolov",
platforms=["any"],
packages=_packages)
# opts.update(extras)
if __name__ == '__main__':
setup(**opts)
|
mit
|
Python
|
6ab083eede68946f4a87d24732cd82be09734d52
|
Update the long_description with README.rst
|
madmaze/pytesseract
|
setup.py
|
setup.py
|
import os
from setuptools import setup
longDesc = ""
if os.path.exists("README.rst"):
longDesc = open("README.rst").read().strip()
setup(
name = "pytesseract",
version = "0.1.6",
author = "Samuel Hoffstaetter",
author_email="",
maintainer = "Matthias Lee",
maintainer_email = "[email protected]",
description = ("Python-tesseract is a python wrapper for google's Tesseract-OCR"),
long_description = longDesc,
license = "GPLv3",
keywords = "python-tesseract OCR Python",
url = "https://github.com/madmaze/python-tesseract",
packages=['pytesseract'],
package_dir={'pytesseract': 'src'},
package_data = {'pytesseract': ['*.png','*.jpg']},
entry_points = {'console_scripts': ['pytesseract = pytesseract.pytesseract:main']},
classifiers = [
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
]
)
|
import os
from setuptools import setup
longDesc = ""
if os.path.exists("README.md"):
longDesc = open("README.md").read().strip()
setup(
name = "pytesseract",
version = "0.1.6",
author = "Samuel Hoffstaetter",
author_email="",
maintainer = "Matthias Lee",
maintainer_email = "[email protected]",
description = ("Python-tesseract is a python wrapper for google's Tesseract-OCR"),
long_description = longDesc,
license = "GPLv3",
keywords = "python-tesseract OCR Python",
url = "https://github.com/madmaze/python-tesseract",
packages=['pytesseract'],
package_dir={'pytesseract': 'src'},
package_data = {'pytesseract': ['*.png','*.jpg']},
entry_points = {'console_scripts': ['pytesseract = pytesseract.pytesseract:main']},
classifiers = [
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
]
)
|
apache-2.0
|
Python
|
1ba7e00ac7ef7f22aed22833940d3666d7584deb
|
Add generic Python 3 trove classifier
|
TangledWeb/tangled.sqlalchemy
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name='tangled.sqlalchemy',
version='0.1a3.dev0',
description='Tangled SQLAlchemy integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.sqlalchemy/tags',
author='Wyatt Baldwin',
author_email='[email protected]',
packages=[
'tangled',
'tangled.sqlalchemy',
],
install_requires=[
'tangled>=0.1a5',
'SQLAlchemy',
],
extras_require={
'dev': [
'tangled[dev]>=0.1a5',
],
},
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',
],
)
|
from setuptools import setup
setup(
name='tangled.sqlalchemy',
version='0.1a3.dev0',
description='Tangled SQLAlchemy integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
download_url='https://github.com/TangledWeb/tangled.sqlalchemy/tags',
author='Wyatt Baldwin',
author_email='[email protected]',
packages=[
'tangled',
'tangled.sqlalchemy',
],
install_requires=[
'tangled>=0.1a5',
'SQLAlchemy',
],
extras_require={
'dev': [
'tangled[dev]>=0.1a5',
],
},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
)
|
mit
|
Python
|
260ae7806df9f10891b8e59bda9d5e551ea878db
|
change misaka url
|
qingfeng/mikoto
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(name='mikoto',
version='0.0.1',
keywords=('markdown', 'Douban'),
description='better Markdown Render',
license='New BSD',
url='https://github.com/qingfeng/mikoto',
author='qingfeng',
author_email='[email protected]',
packages=find_packages(),
include_package_data=True,
platforms='any',
install_requires=['Pygments',
'chardet',
'pytest',
'misaka-1.0',
],
dependency_links=[
'https://github.com/qingfeng/misaka/tarball/master#egg=misaka-1.0'
]
)
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(name='mikoto',
version='0.0.1',
keywords=('markdown', 'Douban'),
description='better Markdown Render',
license='New BSD',
url='https://github.com/qingfeng/mikoto',
author='qingfeng',
author_email='[email protected]',
packages=find_packages(),
include_package_data=True,
platforms='any',
install_requires=['Pygments',
'chardet',
'pytest',
'misaka',
],
dependency_links=[
'https://github.com/qingfeng/misaka/tarball/master#egg=misaka'
]
)
|
bsd-3-clause
|
Python
|
b076cf29166e2c51577a8ca4015f005379cf9e31
|
Increment version.
|
chevah/pocket-lint,chevah/pocket-lint
|
setup.py
|
setup.py
|
from distutils.core import setup
setup(
name="pocketlint",
description="Pocket-lint a composite linter and style checker.",
version="0.5.13",
maintainer="Curtis C. Hovey",
maintainer_email="[email protected]",
url="https://launchpad.net/pocket-lint",
packages=[
'pocketlint', 'pocketlint/contrib', 'pocketlint/contrib/pyflakes'],
package_dir={
'pocketlint': 'pocketlint',
'pocketlint/contrib': 'pocketlint/contrib'},
package_data={
'pocketlint': ['jsreporter.js'],
'pocketlint/contrib': ['fulljslint.js'],
},
scripts=['scripts/pocketlint'],
)
|
from distutils.core import setup
setup(
name="pocketlint",
description="Pocket-lint a composite linter and style checker.",
version="0.5.12",
maintainer="Curtis C. Hovey",
maintainer_email="[email protected]",
url="https://launchpad.net/pocket-lint",
packages=[
'pocketlint', 'pocketlint/contrib', 'pocketlint/contrib/pyflakes'],
package_dir={
'pocketlint': 'pocketlint',
'pocketlint/contrib': 'pocketlint/contrib'},
package_data={
'pocketlint': ['jsreporter.js'],
'pocketlint/contrib': ['fulljslint.js'],
},
scripts=['scripts/pocketlint'],
)
|
mit
|
Python
|
99c4f1a9922b7ec388178fb7ce57626d18848090
|
bump version
|
markovianhq/bonspy
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='bonspy',
version='1.2.3',
description='Library that converts bidding trees to the AppNexus Bonsai language.',
author='Alexander Volkmann, Georg Walther',
author_email='[email protected]',
packages=['bonspy'],
package_dir={'bonspy': 'bonspy'},
url='https://github.com/markovianhq/bonspy',
download_url='https://github.com/markovianhq/bonspy/tarball/master',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3'
]
)
|
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='bonspy',
version='1.2.2',
description='Library that converts bidding trees to the AppNexus Bonsai language.',
author='Alexander Volkmann, Georg Walther',
author_email='[email protected]',
packages=['bonspy'],
package_dir={'bonspy': 'bonspy'},
url='https://github.com/markovianhq/bonspy',
download_url='https://github.com/markovianhq/bonspy/tarball/master',
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3'
]
)
|
bsd-3-clause
|
Python
|
54c7f6323e4da87eb61b10490c6fc13a5516b936
|
Change version
|
blancltd/django-glitter,blancltd/django-glitter,developersociety/django-glitter,developersociety/django-glitter,developersociety/django-glitter,blancltd/django-glitter
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import find_packages, setup
install_requires = [
'Django>=1.8,<1.9',
'django-mptt>=0.7,<0.8',
'django-mptt-admin>=0.3,<0.4',
'sorl-thumbnail>=12.2',
]
setup(
name='django-glitter',
version='0.1.1',
description='Glitter for Django',
long_description=open('README.rst').read(),
url='https://github.com/blancltd/django-glitter',
maintainer='Blanc LTD',
maintainer_email='[email protected]',
platforms=['any'],
packages=find_packages(),
include_package_data=True,
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'License :: Other/Proprietary License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
license='Proprietary',
install_requires=install_requires,
)
|
#!/usr/bin/env python
from setuptools import find_packages, setup
install_requires = [
'Django>=1.8,<1.9',
'django-mptt>=0.7,<0.8',
'django-mptt-admin>=0.3,<0.4',
'sorl-thumbnail>=12.2',
]
setup(
name='django-glitter',
version='0.1',
description='Glitter for Django',
long_description=open('README.rst').read(),
url='https://github.com/blancltd/django-glitter',
maintainer='Blanc LTD',
maintainer_email='[email protected]',
platforms=['any'],
packages=find_packages(),
include_package_data=True,
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'License :: Other/Proprietary License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
license='Proprietary',
install_requires=install_requires,
)
|
bsd-3-clause
|
Python
|
75cb3c334de96a758a76bcf3902c14d862474454
|
Rename to knxip
|
usul27/pknx,usul27/pknx
|
setup.py
|
setup.py
|
from setuptools import setup
setup(name='knxip',
version='0.2',
description='A native Python KNX/IPNet implementation',
url='http://github.com/usul27/pknx',
author='Daniel Matuschek',
author_email='[email protected]',
license='MIT',
packages=['knxip'],
zip_safe=False)
|
from setuptools import setup
setup(name='knxip',
version='0.2',
description='A native Python KNX/IPNet implementation',
url='http://github.com/usul27/pknx',
author='Daniel Matuschek',
author_email='[email protected]',
license='MIT',
packages=['pknx'],
zip_safe=False)
|
mit
|
Python
|
e205ce4d7f1105dff1e7fdb4e22df0d4aafd3dd1
|
bump version 0.2.2
|
EBI-Metagenomics/emgapi,EBI-Metagenomics/emgapi,EBI-Metagenomics/emgapi,EBI-Metagenomics/emgapi,EBI-Metagenomics/emgapi
|
setup.py
|
setup.py
|
import sys
import os
from setuptools import setup, find_packages
_base = os.path.dirname(os.path.abspath(__file__))
_requirements = os.path.join(_base, 'requirements.txt')
_requirements_test = os.path.join(_base, 'requirements-test.txt')
version = "0.2.2"
install_requirements = []
with open(_requirements) as f:
install_requirements = f.read().splitlines()
test_requirements = []
if "test" in sys.argv:
with open(_requirements_test) as f:
test_requirements = f.read().splitlines()
setup(
name="emgcli",
packages=find_packages(exclude=['ez_setup']),
version=version,
install_requires=install_requirements,
setup_requires=['pytest-runner'],
tests_require=test_requirements,
include_package_data=True,
zip_safe=False,
test_suite="tests",
entry_points={
'console_scripts': [
'emgcli=emgcli.manage:main',
'emgdeploy=gunicorn.app.wsgiapp:run',
],
},
)
|
import sys
import os
from setuptools import setup, find_packages
_base = os.path.dirname(os.path.abspath(__file__))
_requirements = os.path.join(_base, 'requirements.txt')
_requirements_test = os.path.join(_base, 'requirements-test.txt')
version = "0.2.1"
install_requirements = []
with open(_requirements) as f:
install_requirements = f.read().splitlines()
test_requirements = []
if "test" in sys.argv:
with open(_requirements_test) as f:
test_requirements = f.read().splitlines()
setup(
name="emgcli",
packages=find_packages(exclude=['ez_setup']),
version=version,
install_requires=install_requirements,
setup_requires=['pytest-runner'],
tests_require=test_requirements,
include_package_data=True,
zip_safe=False,
test_suite="tests",
entry_points={
'console_scripts': [
'emgcli=emgcli.manage:main',
'emgdeploy=gunicorn.app.wsgiapp:run',
],
},
)
|
apache-2.0
|
Python
|
12d9c9ff1622ce698cc62679acec2b2a23e46127
|
support continue record from mic
|
peitaosu/Diplomatist
|
MicRecord/MicRecord.py
|
MicRecord/MicRecord.py
|
import wave
import pyaudio
def record_sounds(output_file="record.wav", time=0):
_chunk = 1024
_format = pyaudio.paInt16
_channels = 2
_rate = 44100
audio = pyaudio.PyAudio()
stream = audio.open(format=_format,
channels=_channels,
rate=_rate,
input=True,
frames_per_buffer=_chunk)
frames = []
if time is not 0:
for i in range(0, int(_rate / _chunk * time / 1000)):
data = stream.read(_chunk)
frames.append(data)
else:
import os, sys, select
while True:
if sys.stdin in select.select([sys.stdin], [], [], 0)[0]:
try:
line = input()
except:
line = raw_input()
break
data = stream.read(_chunk)
frames.append(data)
stream.stop_stream()
stream.close()
audio.terminate()
out_file = wave.open(output_file, 'wb')
out_file.setnchannels(_channels)
out_file.setsampwidth(audio.get_sample_size(_format))
out_file.setframerate(_rate)
out_file.writeframes(b''.join(frames))
out_file.close()
return 0
|
import wave, pyaudio
def record_sounds(output_file="record.wav", time=0):
CHUNK = 1024
FORMAT = pyaudio.paInt16
CHANNELS = 2
RATE = 44100
if time is not 0:
audio = pyaudio.PyAudio()
stream = audio.open(format=FORMAT,
channels=CHANNELS,
rate=RATE,
input=True,
frames_per_buffer=CHUNK)
frames = []
for i in range(0, int(RATE / CHUNK * time / 1000)):
data = stream.read(CHUNK)
frames.append(data)
stream.stop_stream()
stream.close()
audio.terminate()
out_file = wave.open(output_file, 'wb')
out_file.setnchannels(CHANNELS)
out_file.setsampwidth(audio.get_sample_size(FORMAT))
out_file.setframerate(RATE)
out_file.writeframes(b''.join(frames))
out_file.close()
exit_code = 0
else:
exit_code = 0
return exit_code
|
mit
|
Python
|
5a6038cd2ce76a94ac60963b2697fd3cdaeac7c4
|
adjust versions in setup.py
|
openego/ego.io,openego/ego.io
|
setup.py
|
setup.py
|
#! /usr/bin/env python
# coding: utf-8
from setuptools import find_packages, setup
setup(name='egoio',
author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES',
author_email='',
description='ego input/output repository',
version='0.0.2',
url='https://github.com/openego/ego.io',
packages=find_packages(),
license='GNU GENERAL PUBLIC LICENSE Version 3',
install_requires=[
'geoalchemy2 >= 0.3.0, <=0.4.0',
'sqlalchemy >= 1.0.15, <= 1.1.9',
'numpy >= 1.11.3, <= 1.12.1',
'psycopg2'],
extras_require={
"sqlalchemy": 'postgresql'}
)
|
#! /usr/bin/env python
# coding: utf-8
from setuptools import find_packages, setup
setup(name='egoio',
author='NEXT ENERGY, Reiner Lemoine Institut gGmbH, ZNES',
author_email='',
description='ego input/output repository',
version='0.0.2',
url='https://github.com/openego/ego.io',
packages=find_packages(),
license='GNU GENERAL PUBLIC LICENSE Version 3',
install_requires=[
'geoalchemy2 >= 0.3.0, <=0.3.0',
'sqlalchemy >= 1.0.15, <= 1.1.4',
'numpy >= 1.11.3, <= 1.12.1',
'psycopg2'],
extras_require={
"sqlalchemy": 'postgresql'}
)
|
agpl-3.0
|
Python
|
9c688fa1c5825c35cfbdded44cc77f7d42a97ccb
|
use good english
|
suenkler/PostTLS,suenkler/PostTLS
|
setup.py
|
setup.py
|
import os
from setuptools import find_packages, 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="posttls",
version="1.0",
packages=find_packages(),
include_package_data=True,
license="AGPLv3",
description="Postfix's Transport Encryption under Control of the User",
long_description=README,
url="https://posttls.com/",
author="Hendrik Suenkler",
author_email="[email protected]",
classifiers=[
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 1.8",
"Intended Audience :: Developers",
"License :: OSI Approved :: AGPLv3",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
],
)
|
import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), "README.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="posttls",
version="1.0",
packages=find_packages(),
include_package_data=True,
license="AGPLv3",
description="Postfix' Transport Encryption under Control of the User",
long_description=README,
url="https://posttls.com/",
author="Hendrik Suenkler",
author_email="[email protected]",
classifiers=[
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 1.8",
"Intended Audience :: Developers",
"License :: OSI Approved :: AGPLv3",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
],
)
|
agpl-3.0
|
Python
|
a84159df875f6a07300deb8f98224f92e0578445
|
Increment version number now that 0.1.5 release out.
|
open-forcefield-group/openforcefield,open-forcefield-group/openforcefield,openforcefield/openff-toolkit,open-forcefield-group/openforcefield,openforcefield/openff-toolkit
|
setup.py
|
setup.py
|
import os
from os.path import relpath, join
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def find_package_data(data_root, package_root):
files = []
for root, dirnames, filenames in os.walk(data_root):
for fn in filenames:
files.append(relpath(join(root, fn), package_root))
return files
setup(
name = "smarty",
version = "0.1.6",
author = "John Chodera, David Mobley, and others",
author_email = "[email protected]",
description = ("Automated Bayesian atomtype sampling"),
license = "MIT",
keywords = "Bayesian atomtype sampling forcefield parameterization",
url = "http://github.com/open-forcefield-group/smarty",
packages=['smarty', 'smarty/tests', 'smarty/data'],
long_description=read('README.md'),
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"License :: OSI Approved :: MIT",
],
entry_points={'console_scripts': ['smarty = smarty.cli_smarty:main', 'smirky = smarty.cli_smirky:main']},
package_data={'smarty': find_package_data('smarty/data', 'smarty')},
)
|
import os
from os.path import relpath, join
from setuptools import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
def find_package_data(data_root, package_root):
files = []
for root, dirnames, filenames in os.walk(data_root):
for fn in filenames:
files.append(relpath(join(root, fn), package_root))
return files
setup(
name = "smarty",
version = "0.1.5",
author = "John Chodera, David Mobley, and others",
author_email = "[email protected]",
description = ("Automated Bayesian atomtype sampling"),
license = "MIT",
keywords = "Bayesian atomtype sampling forcefield parameterization",
url = "http://github.com/open-forcefield-group/smarty",
packages=['smarty', 'smarty/tests', 'smarty/data'],
long_description=read('README.md'),
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Utilities",
"License :: OSI Approved :: MIT",
],
entry_points={'console_scripts': ['smarty = smarty.cli_smarty:main', 'smirky = smarty.cli_smirky:main']},
package_data={'smarty': find_package_data('smarty/data', 'smarty')},
)
|
mit
|
Python
|
83f7da532f6d36a5629a45985e1bd7801bcea23d
|
Reformat setup.py with black
|
3YOURMIND/django-migration-linter
|
setup.py
|
setup.py
|
import ast
import re
from os import path
from setuptools import setup, find_packages
PROJECT_DIR = path.abspath(path.dirname(__file__))
def get_version():
constants = path.join(PROJECT_DIR, "django_migration_linter", "constants.py")
_version_re = re.compile(r"__version__\s+=\s+(?P<version>.*)")
with open(constants, "r") as f:
match = _version_re.search(f.read())
version = match.group("version") if match is not None else '"unknown"'
return str(ast.literal_eval(version))
with open(path.join(PROJECT_DIR, "README.md")) as f:
long_description = f.read()
setup(
name="django-migration-linter",
version=get_version(),
description="Detect backward incompatible migrations for your django project",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/3YOURMIND/django-migration-linter",
author="3YOURMIND GmbH",
author_email="[email protected]",
license="Apache License 2.0",
packages=find_packages(exclude=["tests/"]),
install_requires=[
"django>=1.11",
"appdirs==1.4.3",
'enum34==1.1.6;python_version<"3.4"',
],
extras_require={
"test": [
"tox==3.14.0",
"mysqlclient==1.4.6",
"psycopg2-binary==2.8.4",
"django_add_default_value==0.3.2",
]
},
keywords="django migration lint linter database backward compatibility",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 1.11",
"Framework :: Django :: 2.0",
"Framework :: Django :: 2.1",
"Framework :: Django :: 2.2",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
)
|
import ast
import re
from os import path
from setuptools import setup, find_packages
PROJECT_DIR = path.abspath(path.dirname(__file__))
def get_version():
constants = path.join(PROJECT_DIR, "django_migration_linter", "constants.py")
_version_re = re.compile(r"__version__\s+=\s+(?P<version>.*)")
with open(constants, "r") as f:
match = _version_re.search(f.read())
version = match.group("version") if match is not None else '"unknown"'
return str(ast.literal_eval(version))
with open(path.join(PROJECT_DIR, "README.md")) as f:
long_description = f.read()
setup(
name="django-migration-linter",
version=get_version(),
description="Detect backward incompatible migrations for your django project",
long_description=long_description,
long_description_content_type='text/markdown',
url="https://github.com/3YOURMIND/django-migration-linter",
author="3YOURMIND GmbH",
author_email="[email protected]",
license="Apache License 2.0",
packages=find_packages(exclude=["tests/"]),
install_requires=[
"django>=1.11",
"appdirs==1.4.3",
'enum34==1.1.6;python_version<"3.4"',
],
extras_require={
"test": [
"tox==3.14.0",
"mysqlclient==1.4.6",
"psycopg2-binary==2.8.4",
"django_add_default_value==0.3.2",
]
},
keywords="django migration lint linter database backward compatibility",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 1.11",
"Framework :: Django :: 2.0",
"Framework :: Django :: 2.1",
"Framework :: Django :: 2.2",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
)
|
apache-2.0
|
Python
|
84dc430625bbc6549eb7a25cc72a8747dc31b079
|
bump to 0.4
|
opencivicdata/python-opencivicdata,opencivicdata/python-opencivicdata-django,rshorey/python-opencivicdata-django,opencivicdata/python-opencivicdata,rshorey/python-opencivicdata-django,influence-usa/python-opencivicdata-django,mileswwatkins/python-opencivicdata-django,opencivicdata/python-opencivicdata-django,opencivicdata/python-opencivicdata-divisions,influence-usa/python-opencivicdata-django,mileswwatkins/python-opencivicdata-django,opencivicdata/python-opencivicdata-django
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(name="opencivicdata",
version='0.4.0',
py_modules=['opencivicdata'],
author="James Turk",
author_email='[email protected]',
license="BSD",
description="python opencivicdata library",
long_description="",
url="",
packages=find_packages(),
platforms=["any"],
classifiers=["Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
],
)
|
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(name="opencivicdata",
version='0.3.0',
py_modules=['opencivicdata'],
author="James Turk",
author_email='[email protected]',
license="BSD",
description="python opencivicdata library",
long_description="",
url="",
packages=find_packages(),
platforms=["any"],
classifiers=["Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
],
)
|
bsd-3-clause
|
Python
|
06193197afd1cf153b32bb20c8013248c3c2a1c1
|
Add Python 3.7 to supported versions
|
pyparsing/pyparsing,pyparsing/pyparsing
|
setup.py
|
setup.py
|
#!/usr/bin/env python
"""Setup script for the pyparsing module distribution."""
# Setuptools depends on pyparsing (via packaging) as of version 34, so allow
# installing without it to avoid bootstrap problems.
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import sys
import os
from pyparsing import __version__ as pyparsing_version
modules = ["pyparsing",]
setup(# Distribution meta-data
name = "pyparsing",
version = pyparsing_version,
description = "Python parsing module",
author = "Paul McGuire",
author_email = "[email protected]",
url = "https://github.com/pyparsing/pyparsing/",
download_url = "https://pypi.org/project/pyparsing/",
license = "MIT License",
py_modules = modules,
python_requires='>=2.6, !=3.0.*, !=3.1.*, !=3.2.*',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
]
)
|
#!/usr/bin/env python
"""Setup script for the pyparsing module distribution."""
# Setuptools depends on pyparsing (via packaging) as of version 34, so allow
# installing without it to avoid bootstrap problems.
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
import sys
import os
from pyparsing import __version__ as pyparsing_version
modules = ["pyparsing",]
setup(# Distribution meta-data
name = "pyparsing",
version = pyparsing_version,
description = "Python parsing module",
author = "Paul McGuire",
author_email = "[email protected]",
url = "https://github.com/pyparsing/pyparsing/",
download_url = "https://pypi.org/project/pyparsing/",
license = "MIT License",
py_modules = modules,
python_requires='>=2.6, !=3.0.*, !=3.1.*, !=3.2.*',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
]
)
|
mit
|
Python
|
63eb3fbe2370947e2e5e37d84d6c11a695313638
|
Increment to version 1.3.6.
|
getwarped/powershift
|
setup.py
|
setup.py
|
import sys
import os
from setuptools import setup
def _template_files():
result = []
prefix = 'src/powershift/templates'
for root, dirs, files in os.walk(prefix, topdown=False):
for name in files:
if name.endswith('.json'):
if root == prefix:
result.append(os.path.join(root[len(prefix):], name))
else:
result.append(os.path.join(root[len(prefix)+1:], name))
return result
long_description = open('README.rst').read()
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
]
setup_kwargs = dict(
name='powershift',
version='1.3.6',
description='Python library for working with OpenShift.',
long_description=long_description,
url='https://github.com/getwarped/powershift',
author='Graham Dumpleton',
author_email='[email protected]',
license='BSD',
classifiers=classifiers,
keywords='openshift kubernetes',
packages=['powershift', 'powershift.resources', 'powershift.endpoints',
'powershift.cli', 'powershift.composer', 'powershift.templates'],
package_dir={'powershift': 'src/powershift'},
package_data={'powershift.templates': _template_files(),
'powershift.cli': ['completion-bash.sh']},
entry_points = {'console_scripts':['powershift = powershift.cli:main']},
install_requires=['Jinja2', 'requests', 'aiohttp', 'click'],
)
setup(**setup_kwargs)
|
import sys
import os
from setuptools import setup
def _template_files():
result = []
prefix = 'src/powershift/templates'
for root, dirs, files in os.walk(prefix, topdown=False):
for name in files:
if name.endswith('.json'):
if root == prefix:
result.append(os.path.join(root[len(prefix):], name))
else:
result.append(os.path.join(root[len(prefix)+1:], name))
return result
long_description = open('README.rst').read()
classifiers = [
'Development Status :: 4 - Beta',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
]
setup_kwargs = dict(
name='powershift',
version='1.3.5',
description='Python library for working with OpenShift.',
long_description=long_description,
url='https://github.com/getwarped/powershift',
author='Graham Dumpleton',
author_email='[email protected]',
license='BSD',
classifiers=classifiers,
keywords='openshift kubernetes',
packages=['powershift', 'powershift.resources', 'powershift.endpoints',
'powershift.cli', 'powershift.composer', 'powershift.templates'],
package_dir={'powershift': 'src/powershift'},
package_data={'powershift.templates': _template_files(),
'powershift.cli': ['completion-bash.sh']},
entry_points = {'console_scripts':['powershift = powershift.cli:main']},
install_requires=['Jinja2', 'requests', 'aiohttp', 'click'],
)
setup(**setup_kwargs)
|
bsd-2-clause
|
Python
|
29aeb3764cb92521f7ef8ad0e0634468988e77cb
|
Add Trove classifiers and download URL to `setup.py`.
|
dag/genshi,dag/genshi,davidfraser/genshi,dag/genshi,davidfraser/genshi,davidfraser/genshi,dag/genshi,davidfraser/genshi
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2006 Edgewall Software
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at http://markup.edgewall.org/wiki/License.
#
# This software consists of voluntary contributions made by many
# individuals. For the exact contribution history, see the revision
# history and logs, available at http://markup.edgewall.org/log/.
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
setup(
name='Markup', version='0.1',
description='Toolkit for stream-based generation of markup for the web',
author='Edgewall Software', author_email='[email protected]',
license='BSD', url='http://markup.edgewall.org/',
download_url='http://markup.edgewall.org/wiki/MarkupDownload'
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Text Processing :: Markup :: HTML',
'Topic :: Text Processing :: Markup :: XML'
],
packages=['markup'],
test_suite = 'markup.tests.suite',
zip_safe = True,
entry_points = """
[python.templating.engines]
markup = markup.plugin:TemplateEnginePlugin
""",
)
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2006 Edgewall Software
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution. The terms
# are also available at http://markup.edgewall.org/wiki/License.
#
# This software consists of voluntary contributions made by many
# individuals. For the exact contribution history, see the revision
# history and logs, available at http://markup.edgewall.org/log/.
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
setup(
name='Markup', version='0.1',
description='Toolkit for stream-based generation of markup for the web',
author='Edgewall Software', author_email='[email protected]',
license='BSD', url='http://markup.edgewall.org/',
packages=['markup'],
test_suite = 'markup.tests.suite',
zip_safe = True,
entry_points = """
[python.templating.engines]
markup = markup.plugin:TemplateEnginePlugin
""",
)
|
bsd-3-clause
|
Python
|
b8f53a1d961d0e0c79ac7bdbd7108f00a6393bd8
|
Prepare release v2.1.1
|
chhsiao90/gviewer
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
from codecs import open
import os
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name="gviewer",
version="2.1.1",
description="General Viewer",
long_description=long_description,
author="chhsiao90",
author_email="[email protected]",
url="https://github.com/chhsiao90/gviewer",
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Environment :: Console",
"Environment :: Console :: Curses",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Widget Sets"
],
packages=find_packages(include=["gviewer", "gviewer.*"]),
test_suite="gviewer.tests",
install_requires=[
"urwid==1.3.1"
]
)
|
from setuptools import setup, find_packages
from codecs import open
import os
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name="gviewer",
version="2.1.0",
description="General Viewer",
long_description=long_description,
author="chhsiao90",
author_email="[email protected]",
url="https://github.com/chhsiao90/gviewer",
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Environment :: Console",
"Environment :: Console :: Curses",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Software Development :: Widget Sets"
],
packages=find_packages(include=["gviewer", "gviewer.*"]),
test_suite="gviewer.tests",
install_requires=[
"urwid==1.3.1"
]
)
|
mit
|
Python
|
cdd6280d66f81f18262410d8116440a18615b5a7
|
Fix setup.py
|
sammymax/us-geo-helper
|
setup.py
|
setup.py
|
from setuptools import setup
exec(open('us_geo_helper/version.py').read())
setup(
name = 'us-geo-helper',
packages = ['us_geo_helper'],
version = __version__,
description = 'Python wrapper for US Census Data',
author = 'Philip Sun',
author_email = '[email protected]',
license = 'MIT',
url = 'https://github.com/sammymax/us-geo-helper',
download_url = 'https://github.com/sammymax/us-geo-helper/tarball/' + __version__,
install_requires = ['numpy', 'pandas'],
keywords = ['geography'],
classifiers = [
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
],
)
|
from setuptools import setup
exec(open('us-geo-helper/version.py').read())
setup(
name = 'us-geo-helper',
packages = ['us_geo_helper'],
version = __version__,
description = 'Python wrapper for US Census Data',
author = 'Philip Sun',
author_email = '[email protected]',
license = 'MIT',
url = 'https://github.com/sammymax/us-geo-helper',
download_url = 'https://github.com/sammymax/us-geo-helper/tarball/' + __version__,
install_requires = ['numpy', 'pandas'],
keywords = ['geography'],
classifiers = [
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
],
)
|
mit
|
Python
|
2e7ba9b6b5647c4fa451a9158015406a392b99f7
|
Bump version number.
|
ProjetPP/PPP-datamodel-Python,ProjetPP/PPP-datamodel-Python
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_datamodel',
version='0.6.2',
description='Data model for the Projet Pensées Profondes.',
url='https://github.com/ProjetPP/PPP-datamodel-Python',
author='Valentin Lorentz',
author_email='[email protected]',
license='MIT',
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development :: Libraries',
],
install_requires=[
],
packages=[
'ppp_datamodel',
'ppp_datamodel.nodes',
'ppp_datamodel.communication',
],
)
|
#!/usr/bin/env python3
from setuptools import setup, find_packages
setup(
name='ppp_datamodel',
version='0.6.1',
description='Data model for the Projet Pensées Profondes.',
url='https://github.com/ProjetPP/PPP-datamodel-Python',
author='Valentin Lorentz',
author_email='[email protected]',
license='MIT',
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development :: Libraries',
],
install_requires=[
],
packages=[
'ppp_datamodel',
'ppp_datamodel.nodes',
'ppp_datamodel.communication',
],
)
|
agpl-3.0
|
Python
|
213781ac050a069b0d723d4c98ad6c66a806c53e
|
Fix tox integration (see Bitbucket PR 196)
|
nicolaiarocci/eve-swagger
|
setup.py
|
setup.py
|
#!/usr/bin/env python
"""
Setup for Swagger extension for Eve powered RESTful APIs
"""
from os.path import abspath, dirname, join
from shlex import split
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand # noqa N812
def read_file(filename):
"""Read the contents of a file located relative to setup.py"""
with open(join(abspath(dirname(__file__)), filename)) as thefile:
return thefile.read()
class Tox(TestCommand):
"""Integration of tox via the setuptools ``test`` command"""
# pylint: disable=attribute-defined-outside-init
user_options = [('tox-args=', 'a', "Arguments to pass to tox")]
def initialize_options(self):
TestCommand.initialize_options(self)
self.tox_args = None
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
from tox import cmdline # pylint: disable=import-error
args = self.tox_args
if args:
args = split(self.tox_args)
cmdline(args=args)
setup(
name='Eve-Swagger',
version='0.0.5.dev0',
description='Swagger extension for Eve powered RESTful APIs',
long_description=read_file('README.rst'),
author='Nicola Iarocci',
author_email='[email protected]',
url='http://github.com/nicolaiarocci/eve-swagger',
license='BSD',
platforms=["any"],
packages=find_packages(),
install_requires=read_file('requirements.txt'),
keywords=['swagger', 'eve', 'rest', 'api'],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.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',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy'
],
tests_require=['tox'],
cmdclass={
'test': Tox,
},
)
|
#!/usr/bin/env python
"""
Setup for Swagger extension for Eve powered RESTful APIs
"""
from os.path import abspath, dirname, join
from shlex import split
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand # noqa N812
def read_file(filename):
"""Read the contents of a file located relative to setup.py"""
with open(join(abspath(dirname(__file__)), filename)) as thefile:
return thefile.read()
class Tox(TestCommand):
"""Integration of tox via the setuptools ``test`` command"""
# pylint: disable=attribute-defined-outside-init
user_options = [('tox-args=', 'a', "Arguments to pass to tox")]
def initialize_options(self):
TestCommand.initialize_options(self)
self.tox_args = None
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
from tox import cmdline # pylint: disable=import-error
args = self.tox_args
if args:
args = split(self.tox_args)
errno = cmdline(args=args)
exit(errno)
setup(
name='Eve-Swagger',
version='0.0.5.dev0',
description='Swagger extension for Eve powered RESTful APIs',
long_description=read_file('README.rst'),
author='Nicola Iarocci',
author_email='[email protected]',
url='http://github.com/nicolaiarocci/eve-swagger',
license='BSD',
platforms=["any"],
packages=find_packages(),
install_requires=read_file('requirements.txt'),
keywords=['swagger', 'eve', 'rest', 'api'],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Natural Language :: English',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.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',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy'
],
tests_require=['tox'],
cmdclass={
'test': Tox,
},
)
|
bsd-3-clause
|
Python
|
89e647a697b300b409ffe971d86dc242f05cd1b7
|
Bump version to 0.10.0
|
dcramer/kleenex
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup, find_packages
tests_require = [
]
setup(
name='nose-kleenex',
version='0.10.0',
author='David Cramer',
author_email='[email protected]',
description='A discovery plugin for Nose which relies on code coverage.',
url='http://github.com/dcramer/nose-kleenex',
packages=find_packages(exclude=["tests"]),
zip_safe=False,
install_requires=[
'nose>=0.9',
'simplejson',
'SQLAlchemy>=0.7',
],
entry_points={
'nose.plugins.0.10': [
'kleenex = kleenex.plugin:TestCoveragePlugin'
]
},
license='Apache License 2.0',
tests_require=tests_require,
extras_require={'test': tests_require},
test_suite='runtests.runtests',
include_package_data=True,
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Topic :: Software Development'
],
)
|
#!/usr/bin/env python
from setuptools import setup, find_packages
tests_require = [
]
setup(
name='nose-kleenex',
version='0.9.1',
author='David Cramer',
author_email='[email protected]',
description='A discovery plugin for Nose which relies on code coverage.',
url='http://github.com/dcramer/nose-kleenex',
packages=find_packages(exclude=["tests"]),
zip_safe=False,
install_requires=[
'nose>=0.9',
'simplejson',
'SQLAlchemy>=0.7',
],
entry_points={
'nose.plugins.0.10': [
'kleenex = kleenex.plugin:TestCoveragePlugin'
]
},
license='Apache License 2.0',
tests_require=tests_require,
extras_require={'test': tests_require},
test_suite='runtests.runtests',
include_package_data=True,
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Topic :: Software Development'
],
)
|
apache-2.0
|
Python
|
5d6287fb5dd13f13ed6858322fbd34ed3230b170
|
Correct check for upload or register setup command
|
casebeer/factual
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup, find_packages
import sys
import subprocess
required_modules = [
"simplejson",
"httplib2",
"unidecode",
"oauth2"
]
with open("README.md", "rb") as f:
readme = f.read()
try:
# avoid ReST at all costs, but make sure we have it for PyPi
proc = subprocess.Popen(
["pandoc", "-fmarkdown", "-trst", "README.md"],
stdout=subprocess.PIPE
)
readme = proc.stdout.read()
except:
if len(sys.argv) >=2:
for command in ["register", "upload"]:
if command in sys.argv[1:]:
raise Exception("Unable to convert Markdown README to ReST for upload to PyPi. Do you have pandoc installed?")
setup(
name="factual",
version="0.1.2",
description="Wrapper for the Factual HTTP API.",
author="Christopher H. Casebeer",
author_email="",
url="https://github.com/casebeer/factual",
packages=find_packages(exclude='tests'),
install_requires=required_modules,
tests_require=["nose"],
test_suite="nose.collector",
long_description=readme,
classifiers=[
"License :: OSI Approved :: BSD License",
"Intended Audience :: Developers",
]
)
|
#!/usr/bin/env python
from setuptools import setup, find_packages
import sys
import subprocess
required_modules = [
"simplejson",
"httplib2",
"unidecode",
"oauth2"
]
with open("README.md", "rb") as f:
readme = f.read()
try:
# avoid ReST at all costs, but make sure we have it for PyPi
proc = subprocess.Popen(
["pandoc", "-fmarkdown", "-trst", "README.md"],
stdout=subprocess.PIPE
)
readme = proc.stdout.read()
except:
if len(sys.argv) >=2 and sys.argv[1] in ["register", "upload"]:
raise Exception("Unable to convert Markdown README to ReST for upload to PyPi. Do you have pandoc installed?")
setup(
name="factual",
version="0.1.2",
description="Wrapper for the Factual HTTP API.",
author="Christopher H. Casebeer",
author_email="",
url="https://github.com/casebeer/factual",
packages=find_packages(exclude='tests'),
install_requires=required_modules,
tests_require=["nose"],
test_suite="nose.collector",
long_description=readme,
classifiers=[
"License :: OSI Approved :: BSD License",
"Intended Audience :: Developers",
]
)
|
bsd-2-clause
|
Python
|
ade1156fb4b7de09308fe8611d87ba3fc4067ab8
|
Create test mode for theming jumpstart.
|
newsapps/panda,PalmBeachPost/panda,ibrahimcesar/panda,ibrahimcesar/panda,PalmBeachPost/panda,datadesk/panda,ibrahimcesar/panda,pandaproject/panda,pandaproject/panda,newsapps/panda,PalmBeachPost/panda,datadesk/panda,datadesk/panda,PalmBeachPost/panda,newsapps/panda,NUKnightLab/panda,pandaproject/panda,pandaproject/panda,NUKnightLab/panda,NUKnightLab/panda,NUKnightLab/panda,datadesk/panda,pandaproject/panda,datadesk/panda,PalmBeachPost/panda,ibrahimcesar/panda,newsapps/panda,ibrahimcesar/panda
|
jumpstart/application.py
|
jumpstart/application.py
|
#!/usr/bin/env python
import os
import subprocess
import time
from flask import Flask, render_template, request
from pytz import common_timezones
from daemon import Daemon
# Configuration
DEBUG = True
TEST_MODE = False
PANDA_PATH = '/opt/panda'
LOCAL_SETTINGS_PATH = '%s/local_settings.py' % PANDA_PATH
RESTART_SCRIPT_PATH = '%s/jumpstarts/restart-uwsgi.sh' % PANDA_PATH
DAEMON_PID_PATH = '/tmp/jumpstart-restart.pid'
DAEMON_LOG_PATH = '/var/log/jumpstart-restart.log'
# Setup
app = Flask(__name__)
app.debug = DEBUG
class RestartDaemon(Daemon):
"""
Simple daemon so that a uwsgi process can reboot itself
"""
def run(self):
# Sleep for a moment to give uwsgi a chance to return a response
time.sleep(5)
subprocess.call(['sudo', RESTART_SCRIPT_PATH])
if os.path.exists(self.pidfile):
os.remove(self.pidfile)
@app.route('/', methods=['GET', 'POST'])
def index():
if request.method == 'POST':
timezone = request.form['timezone']
if not TEST_MODE:
with open(LOCAL_SETTINGS_PATH, 'w') as f:
f.write("TIME_ZONE = '%s'\n" % timezone)
daemon = RestartDaemon(DAEMON_PID_PATH, stdout=DAEMON_LOG_PATH)
daemon.start()
return render_template('wait.html')
else:
context = {
'timezones': common_timezones
}
return render_template('index.html', **context)
if __name__ == '__main__':
# When using Runserver, enable TEST_MODE
TEST_MODE = True
app.run(host='0.0.0.0', port=8000)
|
#!/usr/bin/env python
import os
import subprocess
import time
from flask import Flask, render_template, request
from pytz import common_timezones
from daemon import Daemon
# Configuration
DEBUG = True
PANDA_PATH = '/opt/panda'
LOCAL_SETTINGS_PATH = '%s/local_settings.py' % PANDA_PATH
# Setup
app = Flask(__name__)
app.debug = DEBUG
class RestartDaemon(Daemon):
"""
Simple daemon so that a uwsgi process can reboot itself
"""
def run(self):
# Sleep for a moment to give uwsgi a chance to return a response
time.sleep(5)
subprocess.call(['sudo', '/opt/panda/jumpstart/restart-uwsgi.sh'])
if os.path.exists(self.pidfile):
os.remove(self.pidfile)
@app.route('/', methods=['GET', 'POST'])
def index():
if request.method == 'POST':
timezone = request.form['timezone']
with open(LOCAL_SETTINGS_PATH, 'w') as f:
f.write("TIME_ZONE = '%s'\n" % timezone)
daemon = RestartDaemon('/tmp/jumpstart-restart.pid', stdout='/var/log/jumpstart-restart.log')
daemon.start()
return render_template('wait.html')
else:
context = {
'timezones': common_timezones
}
return render_template('index.html', **context)
if __name__ == '__main__':
app.run(host='0.0.0.0', port=80)
|
mit
|
Python
|
c8653a0b0760f2aa6cf6f682f045eff26d3db5df
|
Change my email adress to @gmail.com
|
bjoernricks/python-quilt,vadmium/python-quilt
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# vim: fileencoding=utf-8 et sw=4 ts=4 tw=80:
# python-quilt - A Python implementation of the quilt patch system
#
# Copyright (C) 2012 Björn Ricks <[email protected]>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
# This library 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
# Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
from distutils.core import setup
import quilt
f = open('README.rst', 'r')
README = f.read()
setup(name="python-quilt",
version=quilt.__version__,
description="A quilt patchsystem implementation in Python",
author="Björn Ricks",
author_email="[email protected]",
url="http://github.com/bjoernricks/python-quilt",
scripts=["pquilt"],
license="LGPLv2.1+",
packages=["quilt", "quilt.cli"],
classifiers=["Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)",
"Programming Language :: Python",
"Topic :: Software Development :: Build Tools",
"Topic :: System :: Software Distribution",
"Topic :: Utilities",
],
long_description=README,
)
|
#!/usr/bin/env python
# vim: fileencoding=utf-8 et sw=4 ts=4 tw=80:
# python-quilt - A Python implementation of the quilt patch system
#
# Copyright (C) 2012 Björn Ricks <[email protected]>
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
# This library 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
# Lesser General Public License for more details.
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
# 02110-1301 USA
from distutils.core import setup
import quilt
f = open('README.rst', 'r')
README = f.read()
setup(name="python-quilt",
version=quilt.__version__,
description="A quilt patchsystem implementation in Python",
author="Björn Ricks",
author_email="[email protected]",
url="http://github.com/bjoernricks/python-quilt",
scripts=["pquilt"],
license="LGPLv2.1+",
packages=["quilt", "quilt.cli"],
classifiers=["Development Status :: 3 - Alpha",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)",
"Programming Language :: Python",
"Topic :: Software Development :: Build Tools",
"Topic :: System :: Software Distribution",
"Topic :: Utilities",
],
long_description=README,
)
|
mit
|
Python
|
397ab77e15c59eff55771abaab2ca648d2dc9876
|
Bump version
|
ciudadanointeligente/ddah-promises
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
file_dir = os.path.abspath(os.path.dirname(__file__))
def read_file(filename):
filepath = os.path.join(file_dir, filename)
return open(filepath).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='ddah-promises',
version='0.0.4',
packages=['promises'],
include_package_data=True,
license='Affero',
description='Promises app.',
long_description=read_file('README.rst'),
test_suite='runtests.runtests',
url='http://github.com/ciudadanointeligente/ddah-promises',
author=u'Felipe Álvarez / Juan Pablo Pérez Trabucco',
author_email='[email protected]',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content'
],
install_requires=[
'django-popolo',
'django-taggit',
],
dependency_links=[
'http://github.com/openpolis/django-popolo/tarball/master#egg=django-popolo'
],
)
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import setup
file_dir = os.path.abspath(os.path.dirname(__file__))
def read_file(filename):
filepath = os.path.join(file_dir, filename)
return open(filepath).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='ddah-promises',
version='0.0.3',
packages=['promises'],
include_package_data=True,
license='Affero',
description='Promises app.',
long_description=read_file('README.rst'),
test_suite='runtests.runtests',
url='http://github.com/ciudadanointeligente/ddah-promises',
author=u'Felipe Álvarez / Juan Pablo Pérez Trabucco',
author_email='[email protected]',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content'
],
install_requires=[
'django-popolo',
'django-taggit',
],
dependency_links=[
'http://github.com/openpolis/django-popolo/tarball/master#egg=django-popolo'
],
)
|
bsd-3-clause
|
Python
|
12855d86e8f94783879b77a7d7adfe4ba4976a8e
|
Prepare v0.5.0 release
|
enovance/cauth,redhat-cip/cauth,enovance/cauth,enovance/cauth,redhat-cip/cauth,redhat-cip/cauth
|
setup.py
|
setup.py
|
#!/usr/bin/env python
#
# Copyright (C) 2014 eNovance SAS <[email protected]>
#
# 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.
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
try:
import multiprocessing # noqa
except:
pass
VERSION = '0.5.0'
# use requirements.txt for install
INSTALL_REQUIRES = []
setup(
name='cauth',
version=VERSION,
description='Multiprotocol SSO auth frontend for other services',
author='Software Factory',
author_email='[email protected]',
test_suite='nose.collector',
zip_safe=False,
include_package_data=True,
package_data={'cauth': ['template/*', ]},
packages=find_packages(exclude=['ez_setup']),
install_requires=INSTALL_REQUIRES,
url='http://softwarefactory.enovance.com/r/gitweb?p=cauth.git;a=summary',
download_url='https://github.com/redhat-cip/cauth/tarball/%s' % VERSION,
keywords=['software factory', 'SSO', 'Authentication'],
entry_points={
'cauth.authentication': [
('GithubPersonalAccessToken = '
'cauth.auth.github:GithubPersonalAccessTokenAuthPlugin'),
('Github = cauth.auth.github:GithubAuthPlugin'),
('Password = cauth.auth.password:PasswordAuthPlugin'),
('OpenID = cauth.auth.openid:OpenIDAuthPlugin')
],
'cauth.service': [
'gerrit = cauth.service.gerrit:GerritServicePlugin',
'redmine = cauth.service.redmine:RedmineServicePlugin',
]
},
)
|
#!/usr/bin/env python
#
# Copyright (C) 2014 eNovance SAS <[email protected]>
#
# 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.
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
try:
import multiprocessing # noqa
except:
pass
VERSION = '0.4.0'
# use requirements.txt for install
INSTALL_REQUIRES = []
setup(
name='cauth',
version=VERSION,
description='Multiprotocol SSO auth frontend for other services',
author='Software Factory',
author_email='[email protected]',
test_suite='nose.collector',
zip_safe=False,
include_package_data=True,
package_data={'cauth': ['template/*', ]},
packages=find_packages(exclude=['ez_setup']),
install_requires=INSTALL_REQUIRES,
url='http://softwarefactory.enovance.com/r/gitweb?p=cauth.git;a=summary',
download_url='https://github.com/redhat-cip/cauth/tarball/%s' % VERSION,
keywords=['software factory', 'SSO', 'Authentication'],
entry_points={
'cauth.authentication': [
('GithubPersonalAccessToken = '
'cauth.auth.github:GithubPersonalAccessTokenAuthPlugin'),
('Github = cauth.auth.github:GithubAuthPlugin'),
('Password = cauth.auth.password:PasswordAuthPlugin'),
('OpenID = cauth.auth.openid:OpenIDAuthPlugin')
],
'cauth.service': [
'gerrit = cauth.service.gerrit:GerritServicePlugin',
'redmine = cauth.service.redmine:RedmineServicePlugin',
]
},
)
|
apache-2.0
|
Python
|
5518e20feedf4f9cc90d4b7ac8971ac5008ff449
|
update version
|
contextio/Python-ContextIO
|
setup.py
|
setup.py
|
import os
from setuptools import setup, find_packages
requires=['rauth', 'six']
setup(name='contextio',
version='1.8',
description='Library for accessing the Context.IO API v2.0 in Python',
author='Tony Blank, Jesse Dhillon',
author_email='[email protected], [email protected]',
url='http://context.io',
keywords=['contextIO', 'imap', 'oauth'],
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=requires,
download_url='https://github.com/contextio/Python-ContextIO/tarball/1.8',
)
|
import os
from setuptools import setup, find_packages
requires=['rauth', 'six']
setup(name='contextio',
version='1.7',
description='Library for accessing the Context.IO API v2.0 in Python',
author='Tony Blank, Jesse Dhillon',
author_email='[email protected], [email protected]',
url='http://context.io',
keywords=['contextIO', 'imap', 'oauth'],
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=requires,
download_url='https://github.com/contextio/Python-ContextIO/tarball/1.7',
)
|
apache-2.0
|
Python
|
9a5ec77d48ef588629872130c729e9722518dc53
|
Update setup.py
|
hmrc/service-manager,hmrc/service-manager,hmrc/service-manager,hmrc/service-manager
|
setup.py
|
setup.py
|
from setuptools import setup
setup(name='servicemanager',
python_requires='>2.7.13',
version='1.2.0',
description='A python tool to manage developing and testing with lots of microservices',
url='https://github.com/hmrc/service-manager',
author='hmrc-web-operations',
license='Apache Licence 2.0',
packages=['servicemanager', 'servicemanager.actions', 'servicemanager.server', 'servicemanager.service', 'servicemanager.thirdparty'],
install_requires=['requests==2.8.1','pymongo==3.0.1','bottle==0.12.4','pytest==2.5.2','argcomplete==0.8.1'],
scripts=['bin/sm', 'bin/smserver'],
zip_safe=False)
|
from setuptools import setup
setup(name='servicemanager',
version='1.2.0',
description='A python tool to manage developing and testing with lots of microservices',
url='https://github.com/hmrc/service-manager',
author='hmrc-web-operations',
license='Apache Licence 2.0',
packages=['servicemanager', 'servicemanager.actions', 'servicemanager.server', 'servicemanager.service', 'servicemanager.thirdparty'],
install_requires=['requests==2.8.1','pymongo==3.0.1','bottle==0.12.4','pytest==2.5.2','argcomplete==0.8.1'],
scripts=['bin/sm', 'bin/smserver'],
zip_safe=False)
|
apache-2.0
|
Python
|
a9d97814bd5880812e9202c547cadd6bf34227f5
|
Bump pydantic from 1.8.2 to 1.9.0
|
TRI-AMDD/piro,TRI-AMDD/piro,TRI-AMDD/piro,TRI-AMDD/piro,TRI-AMDD/piro
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
DESCRIPTION = "piro is software designed to assist in planning of synthesis pathways for inorganics"
LONG_DESCRIPTION = """
The piro software package enables prediction and planning of synthesis pathways
and determination of pareto-optimal frontiers for synthesis of
specific inorganic materials.
"""
setup(
name="piro",
version="2021.10.6-post0",
packages=find_packages(),
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
install_requires=["matminer==0.7.4",
"scikit-learn==1.0.1",
"plotly==5.4.0",
"pymongo==3.12.0",
"pydantic==1.9.0"
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
extras_require={
"tests": ["pytest",
"pytest-cov",
"coveralls"
]
},
package_data={
"piro": ["*.pickle", "*.json"]
},
include_package_data=True,
author="AMDD - Toyota Research Institute",
author_email="[email protected]",
maintainer="Joseph Montoya",
maintainer_email="[email protected]",
# license="Apache",
keywords=[
"materials", "battery", "chemistry", "science",
"density functional theory", "energy", "AI", "artificial intelligence",
"sequential learning", "active learning"
],
)
|
from setuptools import setup, find_packages
DESCRIPTION = "piro is software designed to assist in planning of synthesis pathways for inorganics"
LONG_DESCRIPTION = """
The piro software package enables prediction and planning of synthesis pathways
and determination of pareto-optimal frontiers for synthesis of
specific inorganic materials.
"""
setup(
name="piro",
version="2021.10.6-post0",
packages=find_packages(),
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
install_requires=["matminer==0.7.4",
"scikit-learn==1.0.1",
"plotly==5.4.0",
"pymongo==3.12.0",
"pydantic==1.8.2"
],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
extras_require={
"tests": ["pytest",
"pytest-cov",
"coveralls"
]
},
package_data={
"piro": ["*.pickle", "*.json"]
},
include_package_data=True,
author="AMDD - Toyota Research Institute",
author_email="[email protected]",
maintainer="Joseph Montoya",
maintainer_email="[email protected]",
# license="Apache",
keywords=[
"materials", "battery", "chemistry", "science",
"density functional theory", "energy", "AI", "artificial intelligence",
"sequential learning", "active learning"
],
)
|
apache-2.0
|
Python
|
5cbc0d0f94b0ddd0c580d0447180e8688cb0e165
|
update dependencies
|
LuminosoInsight/wordfreq
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup
import os
classifiers = [
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering',
'Topic :: Software Development',
'Topic :: Text Processing :: Linguistic',
]
current_dir = os.path.dirname(__file__)
README_contents = open(os.path.join(current_dir, 'README.txt')).read()
doclines = README_contents.split("\n")
dependencies = ['ftfy >= 4', 'msgpack-python', 'langcodes']
if sys.version_info < (3, 4):
dependencies.append('pathlib')
setup(
name="wordfreq",
version='1.0b1',
maintainer='Luminoso Technologies, Inc.',
maintainer_email='[email protected]',
url='http://github.com/LuminosoInsight/wordfreq/',
license = "MIT",
platforms = ["any"],
description = doclines[0],
classifiers = classifiers,
long_description = "\n".join(doclines[2:]),
packages=['wordfreq'],
include_package_data=True,
install_requires=dependencies,
)
|
#!/usr/bin/env python
from setuptools import setup
import os
classifiers = [
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering',
'Topic :: Software Development',
'Topic :: Text Processing :: Linguistic',
]
current_dir = os.path.dirname(__file__)
README_contents = open(os.path.join(current_dir, 'README.txt')).read()
doclines = README_contents.split("\n")
setup(
name="wordfreq",
version='1.0b1',
maintainer='Luminoso Technologies, Inc.',
maintainer_email='[email protected]',
url='http://github.com/LuminosoInsight/wordfreq/',
license = "MIT",
platforms = ["any"],
description = doclines[0],
classifiers = classifiers,
long_description = "\n".join(doclines[2:]),
packages=['wordfreq'],
include_package_data=True,
install_requires=['ftfy >= 4', 'msgpack-python'],
)
|
mit
|
Python
|
6c8bb0ed15bc3ad6cfe237fea94609e951015103
|
Update setup.py.
|
butorov/sentry-telegram
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# coding: utf-8
from setuptools import setup
import sentry_telegram
setup(
name='sentry_telegram',
version=sentry_telegram.__version__,
packages=['sentry_telegram'],
url='https://github.com/butorov/sentry-telegram',
author='Viacheslav Butorov',
author_email='[email protected]',
description='Plugin for Sentry which allows sending notification via Telegram messenger.',
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Software Development :: Bug Tracking',
'Topic :: Software Development :: Quality Assurance',
'Topic :: System :: Monitoring',
],
include_package_data=True,
)
|
#!/usr/bin/env python
# coding: utf-8
from setuptools import setup
import sentry_telegram
setup(
name='sentry_telegram',
version=sentry_telegram.__version__,
packages=['sentry_telegram'],
url='https://github.com/butorov/sentry-telegram',
author='Viacheslav Butorov',
author_email='[email protected]',
description='Plugin for Sentry which allows sending notification via Telegram messenger.',
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: Implementation :: CPython',
],
include_package_data=True,
)
|
mit
|
Python
|
ca75a1d815078f24f41dbaec91f6f863e047097e
|
Set zip_safe=False.
|
coleifer/peewee,coleifer/peewee,coleifer/peewee
|
setup.py
|
setup.py
|
import os
import platform
import sys
import warnings
from setuptools import setup
from setuptools.extension import Extension
f = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
readme = f.read()
f.close()
setup_kwargs = {}
ext_modules = []
try:
from Cython.Build import cythonize
except ImportError:
cython_installed = False
warnings.warn('Cython C extensions for peewee will NOT be built, because '
'Cython does not seem to be installed. To enable Cython C '
'extensions, install Cython >=' + cython_min_version + '.')
else:
if platform.python_implementation() != 'CPython':
cython_installed = False
warnings.warn('Cython C extensions disabled as you are not using '
'CPython.')
else:
cython_installed = True
NO_SQLITE = os.environ.get('NO_SQLITE') or False
speedups_ext_module = Extension(
'playhouse._speedups',
['playhouse/_speedups.pyx'])
sqlite_udf_module = Extension(
'playhouse._sqlite_udf',
['playhouse/_sqlite_udf.pyx'])
sqlite_ext_module = Extension(
'playhouse._sqlite_ext',
['playhouse/_sqlite_ext.pyx'],
libraries=['sqlite3'])
if cython_installed:
ext_modules = [speedups_ext_module]
if not NO_SQLITE:
ext_modules.extend([
sqlite_udf_module,
sqlite_ext_module,
])
else:
warnings.warn('SQLite extensions will not be built at users request.')
if ext_modules:
setup_kwargs.update(ext_modules=cythonize(ext_modules))
setup(
name='peewee',
version=__import__('peewee').__version__,
description='a little orm',
long_description=readme,
author='Charles Leifer',
author_email='[email protected]',
url='http://github.com/coleifer/peewee/',
packages=['playhouse'],
py_modules=['peewee', 'pwiz'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
scripts = ['pwiz.py'],
zip_safe=False,
**setup_kwargs)
|
import os
import platform
import sys
import warnings
from setuptools import setup
from setuptools.extension import Extension
f = open(os.path.join(os.path.dirname(__file__), 'README.rst'))
readme = f.read()
f.close()
setup_kwargs = {}
ext_modules = []
try:
from Cython.Build import cythonize
except ImportError:
cython_installed = False
warnings.warn('Cython C extensions for peewee will NOT be built, because '
'Cython does not seem to be installed. To enable Cython C '
'extensions, install Cython >=' + cython_min_version + '.')
else:
if platform.python_implementation() != 'CPython':
cython_installed = False
warnings.warn('Cython C extensions disabled as you are not using '
'CPython.')
else:
cython_installed = True
NO_SQLITE = os.environ.get('NO_SQLITE') or False
speedups_ext_module = Extension(
'playhouse._speedups',
['playhouse/_speedups.pyx'])
sqlite_udf_module = Extension(
'playhouse._sqlite_udf',
['playhouse/_sqlite_udf.pyx'])
sqlite_ext_module = Extension(
'playhouse._sqlite_ext',
['playhouse/_sqlite_ext.pyx'],
libraries=['sqlite3'])
if cython_installed:
ext_modules = [speedups_ext_module]
if not NO_SQLITE:
ext_modules.extend([
sqlite_udf_module,
sqlite_ext_module,
])
else:
warnings.warn('SQLite extensions will not be built at users request.')
if ext_modules:
setup_kwargs.update(ext_modules=cythonize(ext_modules))
setup(
name='peewee',
version=__import__('peewee').__version__,
description='a little orm',
long_description=readme,
author='Charles Leifer',
author_email='[email protected]',
url='http://github.com/coleifer/peewee/',
packages=['playhouse'],
py_modules=['peewee', 'pwiz'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
scripts = ['pwiz.py'],
**setup_kwargs)
|
mit
|
Python
|
676d0c61193a52cfdde2dad62db0744e6904a3de
|
Add json and md data.
|
materialsvirtuallab/megnet,materialsvirtuallab/megnet,materialsvirtuallab/megnet,materialsvirtuallab/megnet,materialsvirtuallab/megnet
|
setup.py
|
setup.py
|
from setuptools import setup
from setuptools import find_packages
from os.path import dirname, abspath, join
this_dir = abspath(dirname(__file__))
with open(join(this_dir, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='megnet',
version='0.2.0',
decription='MatErials Graph Networks for machine learning of molecules and crystals.',
long_description=long_description,
long_description_content_type='text/markdown',
author='Chi Chen',
author_email='[email protected]',
download_url='https://github.com/materialsvirtuallab/megnet',
license='BSD',
install_requires=['keras', 'numpy', 'tensorflow', "scikit-learn",
'pymatgen', 'monty'],
extras_require={
'model_saving': ['h5py'], },
package=find_packages(),
package_data={
"megnet": ["*.json", "*.md"]
},
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Software Development :: Libraries :: Python Modules"
],
)
|
from setuptools import setup
from setuptools import find_packages
from os.path import dirname, abspath, join
this_dir = abspath(dirname(__file__))
with open(join(this_dir, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='megnet',
version='0.2.0',
decription='MatErials Graph Networks for machine learning of molecules and crystals.',
long_description=long_description,
long_description_content_type='text/markdown',
author='Chi Chen',
author_email='[email protected]',
download_url='https://github.com/materialsvirtuallab/megnet',
license='BSD',
install_requires=['keras', 'numpy', 'tensorflow', "scikit-learn",
'pymatgen', 'monty'],
extras_require={
'model_saving': ['h5py'], },
package=find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Chemistry",
"Topic :: Software Development :: Libraries :: Python Modules"
],
)
|
bsd-3-clause
|
Python
|
d4a80e947a69c42adc1dc2917878c2a822b8426c
|
Update requirements in setup.py
|
patrickspencer/mathdeck,patrickspencer/mathdeck
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
from codecs import open
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst', 'r', 'utf-8') as f:
readme = f.read()
with open('HISTORY.rst', 'r', 'utf-8') as f:
history = f.read()
with open('AUTHORS.rst', 'r', 'utf-8') as f:
authors = f.read()
setup(
name='mathdeck',
version='0.0.2-planning',
author='Patrick Spencer',
license='Apache 2.0',
url='https://github.com/patrickspencer/mathdeck',
author_email='[email protected]',
description="""Mathdeck a program suite for managing the computations
involved in writing displaying, and grading mathematical
based homework problems.
""",
long_description=(readme + '\n\n' +
history + '\n\n' +
authors),
zip_safe=False,
packages=[
'mathdeck',
'tests',
],
classifiers=[
'Development Status :: 1 - Planning',
'Environment :: Console',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Software Development :: Libraries :: Python Modules'
],
install_requires=[
'sympy==1.0.0',
'Jinja2==2.7.3',
'tornado==4.3',
]
)
|
# -*- coding: utf-8 -*-
from codecs import open
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst', 'r', 'utf-8') as f:
readme = f.read()
with open('HISTORY.rst', 'r', 'utf-8') as f:
history = f.read()
with open('AUTHORS.rst', 'r', 'utf-8') as f:
authors = f.read()
setup(
name='mathdeck',
version='0.0.1-planning',
author='Patrick Spencer',
license='Apache 2.0',
url='https://github.com/patrickspencer/mathdeck',
author_email='[email protected]',
description="""Mathdeck a program suite for managing the computations
involved in writing displaying, and grading mathematical
based homework problems.
""",
long_description=(readme + '\n\n' +
history + '\n\n' +
authors),
zip_safe=False,
packages=[
'mathdeck',
'tests',
],
classifiers=[
'Development Status :: 1 - Planning',
'Environment :: Console',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Topic :: Scientific/Engineering',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Software Development :: Libraries :: Python Modules'
],
install_requires=[
'sympy>=0.7.5',
'Jinja2==2.7.3',
]
)
|
apache-2.0
|
Python
|
e71094c40c7bab1328180af8fec38a485753a90d
|
update compatibility in setup.py
|
bamthomas/flac2mp3
|
setup.py
|
setup.py
|
import os
import sys
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
py_version = sys.version_info[:2]
if py_version < (3, 5):
raise Exception("flac2mp3 requires Python >= 3.5.")
with open(os.path.join(here, 'README.rst')) as readme:
README = readme.read()
NAME = 'flac2mp3'
install_requires = [
'argparse==1.4.0'
]
tests_require = [
'nose==1.3.7',
'eyeD3==0.9.5'
]
setup(
name=NAME,
version='0.5',
description='Python flac2mp3 transcoding script',
long_description=README,
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
author='Bruno Thomas',
author_email='[email protected]',
license='MIT',
url='https://github.com/bamthomas/flac2mp3',
keywords='transcoding mp3 lame flac',
packages=['flac2mp3'],
include_package_data=True,
zip_safe=False,
test_suite="nose.collector",
install_requires=install_requires,
extras_require={
'dev': tests_require,
},
entry_points={
'console_scripts': [
'flac2mp3 = flac2mp3.__init__:main'
]
},
)
|
import os
import sys
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
py_version = sys.version_info[:2]
if py_version < (3, 5):
raise Exception("flac2mp3 requires Python >= 3.5.")
with open(os.path.join(here, 'README.rst')) as readme:
README = readme.read()
NAME = 'flac2mp3'
install_requires = [
'argparse==1.4.0'
]
tests_require = [
'nose==1.3.7',
'eyeD3==0.9.5'
]
setup(
name=NAME,
version='0.5',
description='Python flac2mp3 transcoding script',
long_description=README,
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
],
author='Bruno Thomas',
author_email='[email protected]',
license='MIT',
url='https://github.com/bamthomas/flac2mp3',
keywords='transcoding mp3 lame flac',
packages=['flac2mp3'],
include_package_data=True,
zip_safe=False,
test_suite="nose.collector",
install_requires=install_requires,
extras_require={
'dev': tests_require,
},
entry_points={
'console_scripts': [
'flac2mp3 = flac2mp3.__init__:main'
]
},
)
|
mit
|
Python
|
c5b5b9175210174e665d32bda4c8bf621e5cf64d
|
Add django-registration as dependency
|
GauthamGoli/django-organizations,arteria/django-ar-organizations,aptivate/django-organizations,bennylope/django-organizations,DESHRAJ/django-organizations,st8st8/django-organizations,arteria/django-ar-organizations,bennylope/django-organizations,aptivate/django-organizations,st8st8/django-organizations,DESHRAJ/django-organizations,aptivate/django-organizations,GauthamGoli/django-organizations
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
import os
setup(
author="Ben Lopatin",
author_email="[email protected]",
name='django-group-accounts',
version='0.1',
description='Group accounts for Django.',
long_description=open(os.path.join(os.path.dirname(__file__),
'README.rst')).read(),
url='https://github.com/bennylope/django-group-accounts/',
license='BSD License',
platforms=['OS Independent'],
classifiers=[
'Development Status :: 1 - Planning',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
],
install_requires=[
'Django>=1.3',
'django-registration>=0.8',
],
test_suite='tests.runtests.runtests',
include_package_data=True,
packages=find_packages(),
zip_safe=False
)
|
from setuptools import setup, find_packages
import os
setup(
author="Ben Lopatin",
author_email="[email protected]",
name='django-group-accounts',
version='0.1a',
description='Group accounts for Django.',
long_description=open(os.path.join(os.path.dirname(__file__),
'README.rst')).read(),
url='https://github.com/bennylope/django-group-accounts/',
license='BSD License',
platforms=['OS Independent'],
classifiers=[
'Development Status :: 1 - Planning',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
],
install_requires=[
'Django>=1.3',
],
test_suite='tests.runtests.runtests',
include_package_data=True,
packages=find_packages(),
zip_safe=False
)
|
bsd-2-clause
|
Python
|
158c06f4cacea2e01848e8a5b6dbe8bb9c28543f
|
Fix package setup.
|
carlosfunk/djoser,akalipetis/djoser,mjuopperi/djoser,akalipetis/djoser,dokenzy/djoser,sunscrapers/djoser,liyocee/djoser,vandoornik/djoser,yiyocx/djoser,sunscrapers/djoser,unacast/djoser,barseghyanartur/djoser,fladi/djoser,avances123/djoser,apokinsocha/djoser,johnwalker/djoser,PingaxAnalytics/koob_auth,sunscrapers/djoser
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup
setup(
name='djoser',
packages=['djoser'],
install_requires=[
'Django>=1.7',
'djangorestframework>=2.4.3',
],
tests_require=[
'djet>=0.0.9'
],
include_package_data=True,
zip_safe=False,
)
|
#!/usr/bin/env python
from setuptools import setup
setup(
name='djoser',
packages=['djoser'],
install_requires=[
'Django>=1.7',
'djangorestframework>=2.4.3',
],
tests_require=[
'djet>=0.0.9'
],
package_data={
'templates': ['templates/*.html', 'templates/*.txt']
},
)
|
mit
|
Python
|
0489a7d3eb8b29850aedf51d9397a66de85e7e9e
|
Update maintainer
|
LabKey/labkey-api-python
|
setup.py
|
setup.py
|
#
# Copyright (c) 2015-2017 LabKey Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
"""
Setup script for Python client API for LabKey Server.
Also installs included versions of third party libraries, if those libraries
are not already installed.
"""
import re
from setuptools import setup
packages = [
'labkey',
'labkey.unsupported'
]
with open('labkey/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
if not version:
raise RuntimeError('Cannot find version information')
long_desc = "Python client API for LabKey Server. Supports query and experiment APIs."
setup(
name='labkey',
version=version,
description='Python client API for LabKey Server',
long_description=long_desc,
license="Apache License 2.0",
author='LabKey',
author_email='[email protected]',
maintainer='Nick Kerr',
maintainer_email='[email protected]',
url='https://github.com/LabKey/labkey-api-python',
packages=packages,
package_data={},
install_requires=['requests'],
tests_require=['requests', 'mock'],
keywords="labkey api client",
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Science/Research',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Operating System :: MacOS',
'Operating System :: Microsoft',
'Operating System :: POSIX',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering'
]
)
|
#
# Copyright (c) 2015-2017 LabKey Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
"""
Setup script for Python client API for LabKey Server.
Also installs included versions of third party libraries, if those libraries
are not already installed.
"""
import re
from setuptools import setup
packages = [
'labkey',
'labkey.unsupported'
]
with open('labkey/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
if not version:
raise RuntimeError('Cannot find version information')
long_desc = "Python client API for LabKey Server. Supports query and experiment APIs."
setup(
name='labkey',
version=version,
description='Python client API for LabKey Server',
long_description=long_desc,
license="Apache License 2.0",
author='LabKey',
author_email='[email protected]',
maintainer='Nick Arnold',
maintainer_email='[email protected]',
url='https://github.com/LabKey/labkey-api-python',
packages=packages,
package_data={},
install_requires=['requests'],
tests_require=['requests', 'mock'],
keywords="labkey api client",
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Science/Research',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Operating System :: MacOS',
'Operating System :: Microsoft',
'Operating System :: POSIX',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering'
]
)
|
apache-2.0
|
Python
|
587ea4f32bb9c932278d282e362e8278b7d3e1bc
|
Bump version to 1.1
|
incuna/django-txtlocal
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name='django-txtlocal',
packages=find_packages(),
include_package_data=True,
install_requires=['requests>=1.2.3'],
version='1.1',
description='App for sending and receiving SMS messages via http://www.textlocal.com',
long_description=open('README.rst').read(),
author='Incuna Ltd',
author_email='[email protected]',
url='https://github.com/incuna/django-txtlocal/',
)
|
from setuptools import setup, find_packages
setup(
name='django-txtlocal',
packages=find_packages(),
include_package_data=True,
install_requires=['requests>=1.2.3'],
version='1.0',
description='App for sending and receiving SMS messages via http://www.textlocal.com',
long_description=open('README.rst').read(),
author='Incuna Ltd',
author_email='[email protected]',
url='https://github.com/incuna/django-txtlocal/',
)
|
bsd-2-clause
|
Python
|
9639c3fef58948942e769abda23e2703a5fbbbf4
|
make jinja2 a runtime dep rather than a develop dep. (#397)
|
RedHatInsights/insights-core,RedHatInsights/insights-core
|
setup.py
|
setup.py
|
import os
from setuptools import setup, find_packages
__here__ = os.path.dirname(os.path.abspath(__file__))
package_info = dict((k, None) for k in ["RELEASE", "COMMIT", "VERSION", "NAME"])
for name in package_info:
with open(os.path.join(__here__, "insights", name)) as f:
package_info[name] = f.read().strip()
entry_points = {
'console_scripts': [
'insights-run = insights.core:main',
'gen_api = insights.tools.generate_api_config:main',
'insights-perf = insights.tools.perf:main',
'client = insights.client:run'
]
}
runtime = set([
'pyyaml>=3.10,<=3.12',
'six',
'requests',
'pyOpenSSL',
'Jinja2==2.9.6',
])
develop = set([
'flake8==3.3.0',
'coverage==4.3.4',
'pytest==3.0.6',
'pytest-cov==2.4.0',
'Sphinx',
'sphinx_rtd_theme',
'futures==3.0.5',
'requests==2.13.0',
'wheel'
])
if __name__ == "__main__":
# allows for runtime modification of rpm name
name = os.environ.get("INSIGHTS_CORE_NAME", package_info["NAME"])
setup(
name=name,
version=package_info["VERSION"],
description="Insights Application Programming Interface",
author_email="[email protected]",
license="Apache 2",
url="https://access.redhat.com/insights",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 2.7",
"Topic :: System :: Monitoring",
"Intended Audience :: Information Technology"
],
packages=find_packages(),
install_requires=list(runtime),
extras_require={
'develop': list(runtime | develop),
'optional': ['python-cjson', 'python-logstash', 'python-statsd', 'watchdog'],
},
entry_points=entry_points,
include_package_data=True
)
|
import os
from setuptools import setup, find_packages
__here__ = os.path.dirname(os.path.abspath(__file__))
package_info = dict((k, None) for k in ["RELEASE", "COMMIT", "VERSION", "NAME"])
for name in package_info:
with open(os.path.join(__here__, "insights", name)) as f:
package_info[name] = f.read().strip()
entry_points = {
'console_scripts': [
'insights-run = insights.core:main',
'gen_api = insights.tools.generate_api_config:main',
'insights-perf = insights.tools.perf:main',
'client = insights.client:run'
]
}
runtime = set([
'pyyaml>=3.10,<=3.12',
'six',
'requests',
'pyOpenSSL'
])
develop = set([
'flake8==3.3.0',
'coverage==4.3.4',
'pytest==3.0.6',
'pytest-cov==2.4.0',
'Sphinx',
'sphinx_rtd_theme',
'Jinja2==2.9.6',
'futures==3.0.5',
'requests==2.13.0',
'wheel'
])
if __name__ == "__main__":
# allows for runtime modification of rpm name
name = os.environ.get("INSIGHTS_CORE_NAME", package_info["NAME"])
setup(
name=name,
version=package_info["VERSION"],
description="Insights Application Programming Interface",
author_email="[email protected]",
license="Apache 2",
url="https://access.redhat.com/insights",
classifiers=[
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 2.7",
"Topic :: System :: Monitoring",
"Intended Audience :: Information Technology"
],
packages=find_packages(),
install_requires=list(runtime),
extras_require={
'develop': list(runtime | develop),
'optional': ['python-cjson', 'python-logstash', 'python-statsd', 'watchdog'],
},
entry_points=entry_points,
include_package_data=True
)
|
apache-2.0
|
Python
|
a6c3782d6c60f3660b7978d7311335e093c9a179
|
bump version to 0.1.7
|
stitchfix/splits
|
setup.py
|
setup.py
|
from setuptools import setup
with open('README.md') as readme_file:
readme = readme_file.read()
setup(
name='splits',
version='0.1.7',
author='Thomas Millar, Jeff Magnusson',
author_email='[email protected], [email protected]',
license='MIT',
description='A library for dealing with splittable files',
packages=['splits'],
long_description=readme,
url='https://github.com/stitchfix/splits',
keywords=['split', 'multifile', 'splittable'],
classifiers=[
'Intended Audience :: Developers',
],
install_requires=['boto', 'nose'],
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*',
)
|
from setuptools import setup
with open('README.md') as readme_file:
readme = readme_file.read()
setup(
name='splits',
version='0.1.6',
author='Thomas Millar, Jeff Magnusson',
author_email='[email protected], [email protected]',
license='MIT',
description='A library for dealing with splittable files',
packages=['splits'],
long_description=readme,
url='https://github.com/stitchfix/splits',
keywords=['split', 'multifile', 'splittable'],
classifiers=[
'Intended Audience :: Developers',
],
install_requires=['boto', 'nose'],
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*',
)
|
mit
|
Python
|
283f355ab3ad09ddcd016f9c019e1c5a1375ddd1
|
fix setup.py
|
theislab/scvelo
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
from pathlib import Path
import numpy as np
import versioneer
req_path = Path('requirements.txt')
if not req_path.is_file():
req_path = Path('scvelo.egg-info') / req_path
with req_path.open() as requirements:
requires = [l.strip() for l in requirements]
setup(
name="scvelo",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
install_requires=requires,
packages=find_packages(),
include_dirs=[np.get_include()],
author="Volker Bergen",
author_email="[email protected]",
description='Stochastic RNA velocity for inferring single cell dynamics',
license='BSD',
url="https://github.com/VolkerBergen/scvelo",
download_url=f"https://github.com/VolkerBergen/scvelo",
keywords=["RNAseq", "singlecell", "stochastic", "velocity", "transcriptomics"]
)
|
from setuptools import setup, find_packages
from pathlib import Path
import numpy as np
import versioneer
req_path = Path('requirements.txt')
if not req_path.is_file():
req_path = Path('scvelo.egg-info') / req_path
with req_path.open() as requirements:
requires = [l.strip() for l in requirements]
setup(
name="scvelo",
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
install_requires=requires,
packages=find_packages(),
include_dirs=[np.get_include()],
author="Volker Bergen",
author_email="[email protected]",
description='Stochastic RNA velocity for inferring single cell dynamics',
license='BSD',
url="https://github.com/VolkerBergen/scvelo",
download_url=f"https://github.com/VolkerBergen/scvelo",
keywords=["RNAseq", "singlecell", "stochastic", "velocity", "transcriptomics"],
)
|
bsd-3-clause
|
Python
|
7eaf0dff72fff8aa66082998b226b3f02c4b43e1
|
Add a version number to the setup script (only to experiment with easy_install).
|
sugarmanz/ctypeslib
|
setup.py
|
setup.py
|
#!/usr/bin/env python
"""ctypes code generator
"""
import os, sys
from distutils.core import setup, Command
class test(Command):
# Original version of this class posted
# by Berthold Hoellmann to [email protected]
description = "run tests"
user_options = [
('tests=', 't',
"comma-separated list of packages that contain test modules"),
('use-resources=', 'u',
"resources to use - resource names are defined by tests"),
('refcounts', 'r',
"repeat tests to search for refcount leaks (requires 'sys.gettotalrefcount')"),
]
boolean_options = ["refcounts"]
def initialize_options(self):
self.build_base = 'build'
self.use_resources = ""
self.refcounts = False
self.tests = "ctypeslib.test"
# initialize_options()
def finalize_options(self):
if self.refcounts and not hasattr(sys, "gettotalrefcount"):
raise DistutilsOptionError("refcount option requires Python debug build")
self.tests = self.tests.split(",")
self.use_resources = self.use_resources.split(",")
# finalize_options()
def run(self):
self.run_command('build')
import ctypes.test
ctypes.test.use_resources.extend(self.use_resources)
for name in self.tests:
package = __import__(name, globals(), locals(), ['*'])
print "Testing package", name, (sys.version, sys.platform, os.name)
ctypes.test.run_tests(package,
"test_*.py",
self.verbose,
self.refcounts)
# run()
# class test
setup(name="ctypeslib",
packages = ['ctypeslib', 'ctypeslib.codegen'],
scripts = ['scripts/h2xml.py', 'scripts/xml2py.py'],
description="ctypes code generator",
long_description = __doc__,
author="Thomas Heller",
author_email="[email protected]",
license="MIT License",
version = "0.5.0",
## url="http://starship.python.net/crew/theller/ctypes.html",
## platforms=["windows", "Linux", "MacOS X", "Solaris", "FreeBSD"],
cmdclass = {'test': test},
)
|
#!/usr/bin/env python
"""ctypes code generator
"""
import os, sys
from distutils.core import setup, Command
class test(Command):
# Original version of this class posted
# by Berthold Hoellmann to [email protected]
description = "run tests"
user_options = [
('tests=', 't',
"comma-separated list of packages that contain test modules"),
('use-resources=', 'u',
"resources to use - resource names are defined by tests"),
('refcounts', 'r',
"repeat tests to search for refcount leaks (requires 'sys.gettotalrefcount')"),
]
boolean_options = ["refcounts"]
def initialize_options(self):
self.build_base = 'build'
self.use_resources = ""
self.refcounts = False
self.tests = "ctypeslib.test"
# initialize_options()
def finalize_options(self):
if self.refcounts and not hasattr(sys, "gettotalrefcount"):
raise DistutilsOptionError("refcount option requires Python debug build")
self.tests = self.tests.split(",")
self.use_resources = self.use_resources.split(",")
# finalize_options()
def run(self):
self.run_command('build')
import ctypes.test
ctypes.test.use_resources.extend(self.use_resources)
for name in self.tests:
package = __import__(name, globals(), locals(), ['*'])
print "Testing package", name, (sys.version, sys.platform, os.name)
ctypes.test.run_tests(package,
"test_*.py",
self.verbose,
self.refcounts)
# run()
# class test
setup(name="ctypeslib",
packages = ['ctypeslib', 'ctypeslib.codegen'],
scripts = ['scripts/h2xml.py', 'scripts/xml2py.py'],
description="ctypes code generator",
long_description = __doc__,
author="Thomas Heller",
author_email="[email protected]",
license="MIT License",
## url="http://starship.python.net/crew/theller/ctypes.html",
## platforms=["windows", "Linux", "MacOS X", "Solaris", "FreeBSD"],
cmdclass = {'test': test},
)
|
mit
|
Python
|
2db62ba9f60ede1fda1ab6536b8368c01938f0e5
|
Fix django-oauth2-provider dependency link
|
edx/edx-oauth2-provider,nttks/edx-oauth2-provider,edx/edx-oauth2-provider,nttks/edx-oauth2-provider
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup
setup(
name='edx-oauth2-provider',
version='0.2.0',
description='Provide OAuth2 access to edX installations',
author='edX',
url='https://github.com/edx/edx-oauth2-provider',
license='AGPL',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
],
packages=['oauth2_provider'],
dependency_links=[
'git+https://github.com/edx/[email protected]#egg=django-oauth2-provider-0.2.7-fork-edx-1',
],
install_requires=[
'django-oauth2-provider==0.2.7-fork-edx-1',
'PyJWT==0.2.1'
]
)
|
#!/usr/bin/env python
from setuptools import setup
setup(
name='edx-oauth2-provider',
version='0.2.0',
description='Provide OAuth2 access to edX installations',
author='edX',
url='https://github.com/edx/edx-oauth2-provider',
license='AGPL',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
],
packages=['oauth2_provider'],
dependency_links=[
'git+https://github.com/edx/[email protected]#egg=django-oauth2-provider-0.2.7-fork-edx-1',
],
install_requires=[
'django-oauth2-provider==0.2.7-fork-edx-1',
'PyJWT==0.2.1'
]
)
|
agpl-3.0
|
Python
|
2849a167d76a51681dd9621d5659179aaf951f45
|
drop pypi and add py38
|
kmike/psd-tools,kmike/psd-tools,psd-tools/psd-tools
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup, find_packages
from distutils.extension import Extension
import logging
import os
import sys
try:
from Cython.Build import cythonize
extension = cythonize(
[
Extension(
'psd_tools.compression._packbits',
['src/psd_tools/compression/_packbits.pyx']
)
],
language_level=sys.version_info[0],
)
except ImportError:
logging.error('Cython not found, no extension will be built.')
extension = []
def get_version():
"""
Get package version.
"""
curdir = os.path.dirname(__file__)
filename = os.path.join(curdir, 'src', 'psd_tools', 'version.py')
with open(filename, 'r') as fp:
return fp.read().split('=')[1].strip(" \r\n'")
setup(
name='psd-tools',
version=get_version(),
author='Kota Yamaguchi',
author_email='[email protected]',
url='https://github.com/psd-tools/psd-tools',
description='Python package for working with Adobe Photoshop PSD files',
long_description=(
open('README.rst').read() + "\n\n" + open('CHANGES.rst').read()
),
license='MIT License',
install_requires=[
'docopt>=0.5',
'attrs>=19.2.0',
'Pillow>=6.2.0',
'enum34;python_version<"3.4"',
'aggdraw',
'numpy',
'scipy',
'scikit-image',
],
keywords="photoshop psd pil pillow",
package_dir={'': 'src'},
packages=find_packages('src'),
ext_modules=extension,
entry_points={'console_scripts': ['psd-tools=psd_tools.__main__:main']},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Multimedia :: Graphics',
'Topic :: Multimedia :: Graphics :: Viewers',
'Topic :: Multimedia :: Graphics :: Graphics Conversion',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
#!/usr/bin/env python
from setuptools import setup, find_packages
from distutils.extension import Extension
import logging
import os
import sys
try:
from Cython.Build import cythonize
extension = cythonize(
[
Extension(
'psd_tools.compression._packbits',
['src/psd_tools/compression/_packbits.pyx']
)
],
language_level=sys.version_info[0],
)
except ImportError:
logging.error('Cython not found, no extension will be built.')
extension = []
def get_version():
"""
Get package version.
"""
curdir = os.path.dirname(__file__)
filename = os.path.join(curdir, 'src', 'psd_tools', 'version.py')
with open(filename, 'r') as fp:
return fp.read().split('=')[1].strip(" \r\n'")
setup(
name='psd-tools',
version=get_version(),
author='Kota Yamaguchi',
author_email='[email protected]',
url='https://github.com/psd-tools/psd-tools',
description='Python package for working with Adobe Photoshop PSD files',
long_description=(
open('README.rst').read() + "\n\n" + open('CHANGES.rst').read()
),
license='MIT License',
install_requires=[
'docopt>=0.5',
'attrs>=19.2.0',
'Pillow>=6.2.0',
'enum34;python_version<"3.4"',
'aggdraw',
'numpy',
'scipy',
'scikit-image',
],
keywords="photoshop psd pil pillow",
package_dir={'': 'src'},
packages=find_packages('src'),
ext_modules=extension,
entry_points={'console_scripts': ['psd-tools=psd_tools.__main__:main']},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Multimedia :: Graphics',
'Topic :: Multimedia :: Graphics :: Viewers',
'Topic :: Multimedia :: Graphics :: Graphics Conversion',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
mit
|
Python
|
022ae8a30812916538faeab02385c7d80dc9e623
|
Add myself as maintainer
|
squallcs12/django-admin-bootstrapped,avara1986/django-admin-bootstrapped,xrmx/django-admin-bootstrapped,mynksngh/django-admin-bootstrapped,merlian/django-admin-bootstrapped,pombredanne/django-admin-bootstrapped,squallcs12/django-admin-bootstrapped,kevingu1003/django-admin-bootstrapped,andrewyager/django-admin-bootstrapped,benthomasson/django-admin-bootstrapped,django-admin-bootstrapped/django-admin-bootstrapped,sn0wolf/django-admin-bootstrapped,Corner1024/django-admin-bootstrapped,mynksngh/django-admin-bootstrapped,xrmx/django-admin-bootstrapped,jmagnusson/django-admin-bootstrapped,IMAmuseum/django-admin-bootstrapped,sn0wolf/django-admin-bootstrapped,merlian/django-admin-bootstrapped,askinteractive/mezzanine-advanced-admin-new,mynksngh/django-admin-bootstrapped,avara1986/django-admin-bootstrapped,bformet/django-admin-bootstrapped,Corner1024/django-admin-bootstrapped,django-admin-bootstrapped/django-admin-bootstrapped,askinteractive/mezzanine-advanced-admin,pombredanne/django-admin-bootstrapped,andrewyager/django-admin-bootstrapped,merlian/django-admin-bootstrapped,kevingu1003/django-admin-bootstrapped,sn0wolf/django-admin-bootstrapped,jmagnusson/django-admin-bootstrapped,xrmx/django-admin-bootstrapped,IMAmuseum/django-admin-bootstrapped,django-admin-bootstrapped/django-admin-bootstrapped,bformet/django-admin-bootstrapped,askinteractive/mezzanine-advanced-admin-new,squallcs12/django-admin-bootstrapped,askinteractive/mezzanine-advanced-admin,andrewyager/django-admin-bootstrapped,pombredanne/django-admin-bootstrapped,jmagnusson/django-admin-bootstrapped,askinteractive/mezzanine-advanced-admin,askinteractive/mezzanine-advanced-admin-new,benthomasson/django-admin-bootstrapped,Corner1024/django-admin-bootstrapped,bformet/django-admin-bootstrapped,benthomasson/django-admin-bootstrapped,IMAmuseum/django-admin-bootstrapped,kevingu1003/django-admin-bootstrapped,avara1986/django-admin-bootstrapped
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
import os
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries :: Application Frameworks',
]
setup(
author="Riccardo Forina",
author_email="[email protected]",
maintainer="Riccardo Magliocchetti",
maintainer_email="[email protected]",
name='django-admin-bootstrapped',
version='2.0.0',
description='A Bootstrap theme for Django Admin',
long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(),
url='https://github.com/django-admin-bootstrapped/django-admin-bootstrapped',
license='BSD License',
platforms=['OS Independent'],
classifiers=CLASSIFIERS,
install_requires=[
'setuptools',
'Django>=1.6',
],
packages=find_packages(),
include_package_data=True,
zip_safe=False
)
|
from setuptools import setup, find_packages
import os
CLASSIFIERS = [
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries :: Application Frameworks',
]
setup(
author="Riccardo Forina",
author_email="[email protected]",
name='django-admin-bootstrapped',
version='2.0.0',
description='A Bootstrap theme for Django Admin',
long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(),
url='https://github.com/django-admin-bootstrapped/django-admin-bootstrapped',
license='BSD License',
platforms=['OS Independent'],
classifiers=CLASSIFIERS,
install_requires=[
'setuptools',
'Django>=1.6',
],
packages=find_packages(),
include_package_data=True,
zip_safe=False
)
|
apache-2.0
|
Python
|
ed333751b78ee63adee9317d1462b99e8d92fed1
|
Tag v0.9-dev for development
|
ProgramFan/bentoo
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.9-dev",
packages=find_packages(),
scripts=["scripts/generator.py", "scripts/runner.py",
"scripts/collector.py", "scripts/analyser.py"],
package_data={
'': ['*.adoc', '*.rst', '*.md']
},
author="Zhang YANG",
author_email="[email protected]",
license="PSF",
keywords="Benchmark;Performance Analysis",
url="http://github.com/ProgramFan/bentoo"
)
|
#!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
setup(
name="bentoo",
description="Benchmarking tools",
version="0.8",
packages=find_packages(),
scripts=["scripts/generator.py", "scripts/runner.py",
"scripts/collector.py", "scripts/analyser.py"],
package_data={
'': ['*.adoc', '*.rst', '*.md']
},
author="Zhang YANG",
author_email="[email protected]",
license="PSF",
keywords="Benchmark;Performance Analysis",
url="http://github.com/ProgramFan/bentoo"
)
|
mit
|
Python
|
d0d86c658d549c70d4f66241414e6f0a85d632ad
|
Add dep.
|
fusionapp/fusion-index
|
setup.py
|
setup.py
|
import re
from setuptools import setup, find_packages
versionPattern = re.compile(r"""^__version__ = ['"](.*?)['"]$""", re.M)
with open("src/fusion_index/_version.py", "rt") as f:
version = versionPattern.search(f.read()).group(1)
setup(
name='fusion-index',
version=version,
description='Lookup/search index service for Fusion',
url='https://bitbucket.org/fusionapp/fusion-index',
install_requires=[
'Twisted[tls] >= 15.0.0',
'txspinneret >= 0.1.2',
'Axiom >= 0.7.4',
'eliot >= 0.8.0',
'testtools',
'characteristic',
'hypothesis>=3.0.0,<4.0.0',
'eliot',
'fusion_util',
'toolz',
'py2casefold',
'prometheus_client',
],
license='MIT',
packages=find_packages(where='src') + ['twisted.plugins'],
package_dir={'': 'src'},
include_package_data=True)
|
import re
from setuptools import setup, find_packages
versionPattern = re.compile(r"""^__version__ = ['"](.*?)['"]$""", re.M)
with open("src/fusion_index/_version.py", "rt") as f:
version = versionPattern.search(f.read()).group(1)
setup(
name='fusion-index',
version=version,
description='Lookup/search index service for Fusion',
url='https://bitbucket.org/fusionapp/fusion-index',
install_requires=[
'Twisted[tls] >= 15.0.0',
'txspinneret >= 0.1.2',
'Axiom >= 0.7.4',
'eliot >= 0.8.0',
'testtools',
'characteristic',
'hypothesis>=3.0.0,<4.0.0',
'eliot',
'fusion_util',
'toolz',
'py2casefold',
],
license='MIT',
packages=find_packages(where='src') + ['twisted.plugins'],
package_dir={'': 'src'},
include_package_data=True)
|
mit
|
Python
|
55acaf3f70eaf8e8baa59b57d85ce1202c01580f
|
Modify the version number.
|
sighingnow/parsec.py
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = 'parsec.py',
version = '2.0.0',
description = 'parser combinator.',
long_description = 'A univeral Python parser combinator library inspirted by Parsec library of Haskell.',
author = 'He Tao',
author_email = 'sighingnow@gmail',
url = 'https://github.com/sighignow/parsec.py',
license = 'MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
"Topic :: Software Development :: Compilers",
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python',
"License :: OSI Approved :: MIT License",
],
platforms = 'any',
keywords = 'monad parser combinator',
package_dir = {'': 'src'},
packages = find_packages('src'),
test_suite = 'tests.parsec_test',
)
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(
name = 'parsec.py',
version = '1.0.0',
description = 'parser combinator.',
long_description = 'A univeral Python parser combinator library inspirted by Parsec library of Haskell.',
author = 'He Tao',
author_email = 'sighingnow@gmail',
url = 'https://github.com/sighignow/parsec.py',
license = 'MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
"Topic :: Software Development :: Compilers",
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Programming Language :: Python',
"License :: OSI Approved :: MIT License",
],
platforms = 'any',
keywords = 'monad parser combinator',
package_dir = {'': 'src'},
packages = find_packages('src'),
test_suite = 'tests.parsec_test',
)
|
mit
|
Python
|
9041036f52458669215769775c0be4337e0f1352
|
Add clean command to setup.py
|
HazyResearch/metal,HazyResearch/metal
|
setup.py
|
setup.py
|
import os
import re
import setuptools
class CleanCommand(setuptools.Command):
"""Custom clean command to tidy up the project root."""
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
os.system("rm -vrf ./build ./dist ./*.pyc ./*.tgz ./*.egg-info")
directory = os.path.dirname(os.path.abspath(__file__))
# Extract version information
path = os.path.join(directory, "metal", "__init__.py")
with open(path) as read_file:
text = read_file.read()
pattern = re.compile(r"^__version__ = ['\"]([^'\"]*)['\"]", re.MULTILINE)
version = pattern.search(text).group(1)
# Extract long_description
path = os.path.join(directory, "README.md")
with open(path) as read_file:
long_description = read_file.read()
setuptools.setup(
name="snorkel-metal",
version=version,
url="https://github.com/HazyResearch/metal",
description="A system for quickly generating training data with multi-task weak supervision",
long_description_content_type="text/markdown",
long_description=long_description,
license="Apache License 2.0",
packages=setuptools.find_packages(),
include_package_data=True,
keywords="machine-learning ai information-extraction weak-supervision mtl multitask multi-task-learning",
classifiers=[
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Information Analysis",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
],
project_urls={ # Optional
"Homepage": "https://hazyresearch.github.io/snorkel/",
"Source": "https://github.com/HazyResearch/metal/",
"Bug Reports": "https://github.com/HazyResearch/metal/issues",
"Citation": "https://ajratner.github.io/assets/papers/mts-draft.pdf",
},
cmdclass={"clean": CleanCommand},
)
|
import os
import re
import setuptools
directory = os.path.dirname(os.path.abspath(__file__))
# Extract version information
path = os.path.join(directory, "metal", "__init__.py")
with open(path) as read_file:
text = read_file.read()
pattern = re.compile(r"^__version__ = ['\"]([^'\"]*)['\"]", re.MULTILINE)
version = pattern.search(text).group(1)
# Extract long_description
path = os.path.join(directory, "README.md")
with open(path) as read_file:
long_description = read_file.read()
setuptools.setup(
name="snorkel-metal",
version=version,
url="https://github.com/HazyResearch/metal",
description="A system for quickly generating training data with multi-task weak supervision",
long_description_content_type="text/markdown",
long_description=long_description,
license="Apache License 2.0",
packages=setuptools.find_packages(),
include_package_data=True,
keywords="machine-learning ai information-extraction weak-supervision mtl multitask multi-task-learning",
classifiers=[
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Information Analysis",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3",
],
project_urls={ # Optional
"Homepage": "https://hazyresearch.github.io/snorkel/",
"Source": "https://github.com/HazyResearch/metal/",
"Bug Reports": "https://github.com/HazyResearch/metal/issues",
"Citation": "https://ajratner.github.io/assets/papers/mts-draft.pdf",
},
)
|
apache-2.0
|
Python
|
92a9b98b0b17e6322ff4c81511c4186baac3dd2d
|
Add explicit argparse dependency for Python 2.6.
|
STIXProject/stix-validator,pombredanne/stix-validator
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# Copyright (c) 2015 - The MITRE Corporation
# For license information, see the LICENSE.txt file
from os.path import abspath, dirname, join
import sys
from setuptools import setup, find_packages
BASE_DIR = dirname(abspath(__file__))
VERSION_FILE = join(BASE_DIR, 'sdv', 'version.py')
def get_version():
with open(VERSION_FILE) as f:
for line in f.readlines():
if line.startswith("__version__"):
version = line.split()[-1].strip('"')
return version
raise AttributeError("Package does not have a __version__")
py_maj, py_minor = sys.version_info[:2]
if py_maj != 2:
raise Exception('stix-validator required Python 2.6/2.7')
if (py_maj, py_minor) < (2, 6):
raise Exception('stix-validator requires Python 2.6/2.7')
fn_readme = join(BASE_DIR, "README.rst")
with open(fn_readme) as f:
readme = f.read()
install_requires = [
'lxml>=3.3.5',
'xlrd>=0.9.2',
'ordereddict',
'python-dateutil'
]
# Python 2.6 does not come with argparse
try:
import argparse
except ImportError:
install_requires.append('argparse')
extras_require = {
'docs': [
'Sphinx==1.2.1',
'sphinxcontrib-napoleon==0.2.4',
'sphinx_rtd_theme==0.1.7',
],
'test': [
"nose==1.3.0",
"tox==1.6.1"
],
}
setup(
name='stix-validator',
description='APIs and scripts for validating STIX and CybOX documents.',
author='The MITRE Corporation',
author_email='[email protected]',
url='http://stix.mitre.org/',
version=get_version(),
packages=find_packages(),
scripts=['sdv/scripts/stix_validator.py', 'sdv/scripts/cybox_validator.py'],
include_package_data=True,
install_requires=install_requires,
extras_require=extras_require,
long_description=readme,
keywords="stix cybox xml validation validator stix-validator"
)
|
#!/usr/bin/env python
# Copyright (c) 2015 - The MITRE Corporation
# For license information, see the LICENSE.txt file
from os.path import abspath, dirname, join
import sys
from setuptools import setup, find_packages
BASE_DIR = dirname(abspath(__file__))
VERSION_FILE = join(BASE_DIR, 'sdv', 'version.py')
def get_version():
with open(VERSION_FILE) as f:
for line in f.readlines():
if line.startswith("__version__"):
version = line.split()[-1].strip('"')
return version
raise AttributeError("Package does not have a __version__")
py_maj, py_minor = sys.version_info[:2]
if py_maj != 2:
raise Exception('stix-validator required Python 2.6/2.7')
if (py_maj, py_minor) < (2, 6):
raise Exception('stix-validator requires Python 2.6/2.7')
fn_readme = join(BASE_DIR, "README.rst")
with open(fn_readme) as f:
readme = f.read()
install_requires = [
'lxml>=3.3.5',
'xlrd>=0.9.2',
'ordereddict',
'python-dateutil'
]
extras_require = {
'docs': [
'Sphinx==1.2.1',
'sphinxcontrib-napoleon==0.2.4',
'sphinx_rtd_theme==0.1.7',
],
'test': [
"nose==1.3.0",
"tox==1.6.1"
],
}
setup(
name='stix-validator',
description='APIs and scripts for validating STIX and CybOX documents.',
author='The MITRE Corporation',
author_email='[email protected]',
url='http://stix.mitre.org/',
version=get_version(),
packages=find_packages(),
scripts=['sdv/scripts/stix_validator.py', 'sdv/scripts/cybox_validator.py'],
include_package_data=True,
install_requires=install_requires,
extras_require=extras_require,
long_description=readme,
keywords="stix cybox xml validation validator stix-validator"
)
|
bsd-3-clause
|
Python
|
e7d8039e1c42062b1816cec7294135b25e103650
|
Fix up setup.py
|
jgeboski/mctl,jgeboski/mctl
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
# Copyright 2012-2020 James Geboski <[email protected]>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
from setuptools import setup
setup(
name="mctl",
version="2.0.0",
url="https://github.com/jgeboski/mctl",
author="James Geboski",
author_email="[email protected]",
license="MIT",
description="Minecraft server controller and plugin manager",
packages=["mctl"],
install_requires=["aiofiles", "aiohttp", "click", "pyyaml"],
python_requires=">=3.7",
entry_points={"console_scripts": ["mctl = mctl.commands:cli"]},
)
|
#!/usr/bin/env python3
# Copyright 2012-2020 James Geboski <[email protected]>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
from setuptools import setup
setup(
name="mctl",
version="2.0.0",
url="https://github.com/jgeboski/mctl",
author="James Geboski",
author_email="[email protected]",
license="MIT",
description="Minecraft server controller and plugin manager",
packages=["mctl"],
install_requires=["aiofiles", "aiohttp", "Click", "PyYAML"],
python_requires=">=3.7",
entry_points={"console_scripts": ["mctl = mctl.commands:main"]},
)
|
mit
|
Python
|
7be23730a3712eadba620184f62f49c9064bb9a5
|
bump version to b13, no release yet
|
mwcraig/vpython-jupyter,BruceSherwood/vpython-jupyter,mwcraig/vpython-jupyter,BruceSherwood/vpython-jupyter,mwcraig/vpython-jupyter,sspickle/vpython-jupyter,BruceSherwood/vpython-jupyter,sspickle/vpython-jupyter,BruceSherwood/vpython-jupyter,mwcraig/vpython-jupyter
|
setup.py
|
setup.py
|
from __future__ import print_function
try:
from setuptools import setup # try first in case it's already there.
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
setup(
name='vpython',
packages=['vpython'],
version='0.2.0b13',
description='VPython for Jupyter Notebook',
long_description=open('README.md').read(),
author='John Coady / Ruth Chabay / Bruce Sherwood / Steve Spicklemire',
author_email='[email protected]',
url='http://pypi.python.org/pypi/vpython/',
license='LICENSE.txt',
keywords='vpython',
classifiers=[
'Framework :: IPython',
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: End Users/Desktop',
'Natural Language :: English',
'Programming Language :: Python',
'Topic :: Multimedia :: Graphics :: 3D Modeling',
'Topic :: Multimedia :: Graphics :: 3D Rendering',
'Topic :: Scientific/Engineering :: Visualization',
],
install_requires=['jupyter', 'vpnotebook'],
package_data={'vpython': ['data/*']},
)
|
from __future__ import print_function
try:
from setuptools import setup # try first in case it's already there.
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
setup(
name='vpython',
packages=['vpython'],
version='0.2.0b12',
description='VPython for Jupyter Notebook',
long_description=open('README.md').read(),
author='John Coady / Ruth Chabay / Bruce Sherwood / Steve Spicklemire',
author_email='[email protected]',
url='http://pypi.python.org/pypi/vpython/',
license='LICENSE.txt',
keywords='vpython',
classifiers=[
'Framework :: IPython',
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: End Users/Desktop',
'Natural Language :: English',
'Programming Language :: Python',
'Topic :: Multimedia :: Graphics :: 3D Modeling',
'Topic :: Multimedia :: Graphics :: 3D Rendering',
'Topic :: Scientific/Engineering :: Visualization',
],
install_requires=['jupyter', 'vpnotebook'],
package_data={'vpython': ['data/*']},
)
|
mit
|
Python
|
1b2bf239a8357f5de9fcfab2f9f6fe2fd9557db3
|
Make python3 compatible.
|
mujin/mujincontrollerclientpy
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
# Copyright (C) 2012-2014 MUJIN Inc
from distutils.core import setup
try:
from mujincommon.setuptools import Distribution
except ImportError:
from distutils.dist import Distribution
version = {}
exec(open('python/mujincontrollerclient/version.py').read(), version)
setup(
distclass=Distribution,
name='mujincontrollerclient',
version=version['__version__'],
packages=['mujincontrollerclient'],
package_dir={'mujincontrollerclient': 'python/mujincontrollerclient'},
scripts=['bin/mujin_controllerclientpy_registerscene.py'],
locale_dir='locale',
license='Apache License, Version 2.0',
long_description=open('README.rst').read(),
# flake8 compliance configuration
enable_flake8=True, # Enable checks
fail_on_flake=True, # Fail builds when checks fail
install_requires = [],
)
|
# -*- coding: utf-8 -*-
# Copyright (C) 2012-2014 MUJIN Inc
from distutils.core import setup
try:
from mujincommon.setuptools import Distribution
except ImportError:
from distutils.dist import Distribution
version = {}
execfile('python/mujincontrollerclient/version.py', version)
setup(
distclass=Distribution,
name='mujincontrollerclient',
version=version['__version__'],
packages=['mujincontrollerclient'],
package_dir={'mujincontrollerclient': 'python/mujincontrollerclient'},
scripts=['bin/mujin_controllerclientpy_registerscene.py'],
locale_dir='locale',
license='Apache License, Version 2.0',
long_description=open('README.rst').read(),
# flake8 compliance configuration
enable_flake8=True, # Enable checks
fail_on_flake=True, # Fail builds when checks fail
install_requires = [],
)
|
apache-2.0
|
Python
|
8b0dc1ac533c566060020723252c7dfd5551fc8f
|
Update pytest-cov requirement from <2.11.0,>=2.8.1 to >=2.8.1,<2.12.0 (#612)
|
larq/larq
|
setup.py
|
setup.py
|
from setuptools import find_packages, setup
def readme():
with open("README.md", "r") as f:
return f.read()
setup(
name="larq",
version="0.10.2",
python_requires=">=3.6",
author="Plumerai",
author_email="[email protected]",
description="An Open Source Machine Learning Library for Training Binarized Neural Networks",
long_description=readme(),
long_description_content_type="text/markdown",
url="https://larq.dev/",
packages=find_packages(exclude=["larq.snapshots"]),
license="Apache 2.0",
install_requires=[
"numpy >= 1.15.4, < 2.0",
"terminaltables>=3.1.0",
"dataclasses ; python_version<'3.7'",
"importlib-metadata >= 2.0, < 4.0 ; python_version<'3.8'",
],
extras_require={
"tensorflow": ["tensorflow>=1.14.0"],
"tensorflow_gpu": ["tensorflow-gpu>=1.14.0"],
"test": [
"black==20.8b1",
"flake8>=3.7.9,<3.9.0",
"isort==5.7.0",
"packaging>=19.2,<21.0",
"pytest>=5.2.4,<6.3.0",
"pytest-cov>=2.8.1,<2.12.0",
"pytest-xdist>=1.30,<2.3",
"pytest-mock>=2.0,<3.6",
"pytype==2020.10.8",
"snapshottest>=0.5.1,<0.7.0",
],
},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"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 :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)
|
from setuptools import find_packages, setup
def readme():
with open("README.md", "r") as f:
return f.read()
setup(
name="larq",
version="0.10.2",
python_requires=">=3.6",
author="Plumerai",
author_email="[email protected]",
description="An Open Source Machine Learning Library for Training Binarized Neural Networks",
long_description=readme(),
long_description_content_type="text/markdown",
url="https://larq.dev/",
packages=find_packages(exclude=["larq.snapshots"]),
license="Apache 2.0",
install_requires=[
"numpy >= 1.15.4, < 2.0",
"terminaltables>=3.1.0",
"dataclasses ; python_version<'3.7'",
"importlib-metadata >= 2.0, < 4.0 ; python_version<'3.8'",
],
extras_require={
"tensorflow": ["tensorflow>=1.14.0"],
"tensorflow_gpu": ["tensorflow-gpu>=1.14.0"],
"test": [
"black==20.8b1",
"flake8>=3.7.9,<3.9.0",
"isort==5.7.0",
"packaging>=19.2,<21.0",
"pytest>=5.2.4,<6.3.0",
"pytest-cov>=2.8.1,<2.11.0",
"pytest-xdist>=1.30,<2.3",
"pytest-mock>=2.0,<3.6",
"pytype==2020.10.8",
"snapshottest>=0.5.1,<0.7.0",
],
},
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"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 :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)
|
apache-2.0
|
Python
|
3249702ba601377dd21daab2131d851aeb90a6ff
|
update dependency of chilero to >=3.4.2
|
dmonroy/chilero.pg
|
setup.py
|
setup.py
|
import setuptools
setup_params = dict(
name='chilero_pg',
use_scm_version=True,
namespace_packages=['chilero'],
packages=setuptools.find_packages(),
include_package_data=True,
url='https://github.com/dmonroy/chilero.pg',
author='Darwin Monroy',
author_email='[email protected]',
description='PostgreSQL utilities for chilero',
install_requires=[
'aiopg',
'chilero>=0.4.2'
],
setup_requires=[
'setuptools_scm',
],
)
if __name__ == '__main__':
setuptools.setup(**setup_params)
|
import setuptools
setup_params = dict(
name='chilero_pg',
use_scm_version=True,
namespace_packages=['chilero'],
packages=setuptools.find_packages(),
include_package_data=True,
url='https://github.com/dmonroy/chilero.pg',
author='Darwin Monroy',
author_email='[email protected]',
description='PostgreSQL utilities for chilero',
install_requires=[
'aiopg',
'chilero>=0.3.10'
],
setup_requires=[
'setuptools_scm',
],
)
if __name__ == '__main__':
setuptools.setup(**setup_params)
|
mit
|
Python
|
87fd39eafd4a2d8310a9273136a95438b7c36f56
|
fix blessings requirement to allow 1.5, don't require <2
|
sebastinas/curtsies,thomasballinger/curtsies,spthaolt/curtsies
|
setup.py
|
setup.py
|
from setuptools import setup
import ast
import os
def version():
"""Return version string."""
with open(os.path.join('curtsies', '__init__.py')) as input_file:
for line in input_file:
if line.startswith('__version__'):
return ast.parse(line).body[0].value.s
setup(name='curtsies',
version=version(),
description='Curses-like terminal wrapper, with colored strings!',
url='https://github.com/thomasballinger/curtsies',
author='Thomas Ballinger',
author_email='[email protected]',
license='MIT',
packages=['curtsies'],
install_requires = [
'blessings>=1.5'
],
tests_require = [
'mock',
'pyte'
],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Programming Language :: Python',
],
zip_safe=False)
|
from setuptools import setup
import ast
import os
def version():
"""Return version string."""
with open(os.path.join('curtsies', '__init__.py')) as input_file:
for line in input_file:
if line.startswith('__version__'):
return ast.parse(line).body[0].value.s
setup(name='curtsies',
version=version(),
description='Curses-like terminal wrapper, with colored strings!',
url='https://github.com/thomasballinger/curtsies',
author='Thomas Ballinger',
author_email='[email protected]',
license='MIT',
packages=['curtsies'],
install_requires = [
'blessings>1.5, <2.0'
],
tests_require = [
'mock',
'pyte'
],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Programming Language :: Python',
],
zip_safe=False)
|
mit
|
Python
|
d825a89a1d4d19f9979504078f0091493f41677e
|
Bump version.
|
mihneadb/python-execution-trace,mihneadb/python-execution-trace,mihneadb/python-execution-trace
|
setup.py
|
setup.py
|
from setuptools import setup
setup(name='execution-trace',
version='1.0.1',
description='Record the state of Python functions as they execute.',
url='http://github.com/mihneadb/python-execution-trace',
author='Mihnea Dobrescu-Balaur',
author_email='[email protected]',
license='MIT',
packages=['execution_trace',
'execution_trace.viewer'],
include_package_data=True,
install_requires=[
'voluptuous==0.8.10',
'Flask==0.10.1',
],
test_suite='nose.collector',
tests_require=[
'nose==1.3.7',
'mock==1.3.0'
],
scripts=[
'bin/view_trace',
],
zip_safe=False
)
|
from setuptools import setup
setup(name='execution-trace',
version='1.0.0',
description='Record the state of Python functions as they execute.',
url='http://github.com/mihneadb/python-execution-trace',
author='Mihnea Dobrescu-Balaur',
author_email='[email protected]',
license='MIT',
packages=['execution_trace',
'execution_trace.viewer'],
include_package_data=True,
install_requires=[
'voluptuous==0.8.10',
'Flask==0.10.1',
],
test_suite='nose.collector',
tests_require=[
'nose==1.3.7',
'mock==1.3.0'
],
scripts=[
'bin/view_trace',
],
zip_safe=False
)
|
mit
|
Python
|
f1527402bc4ca40e638022d611920e855df1244e
|
use right url and name in setup
|
hharnisc/python-meteor,oliverhuangchao/python-meteor
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup
with open('README.md') as f:
readme = f.read()
setup(name='python-meteor',
version='0.1.0',
description='An event driven meteor client',
long_description=readme,
license='MIT',
author='Harrison Harnisch',
author_email='[email protected]',
url='https://github.com/hharnisc/python-meteor',
keywords = ["meteor", "ddp", "events", "emitter", "node.js", "node", "eventemitter", "event_emitter"],
classifiers = [
"Programming Language :: Python",
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.7", #only one tested
"Topic :: Other/Nonlisted Topic"
],
py_modules=['MeteorClient'],
install_requires=[
'python-ddp'
],
)
|
#!/usr/bin/env python
from setuptools import setup
with open('README.md') as f:
readme = f.read()
setup(name='meteor-ddp',
version='0.1.0',
description='An event driven meteor client',
long_description=readme,
license='MIT',
author='Harrison Harnisch',
author_email='[email protected]',
url='https://github.com/hharnisc/meteor-ddp',
keywords = ["meteor", "ddp", "events", "emitter", "node.js", "node", "eventemitter", "event_emitter"],
classifiers = [
"Programming Language :: Python",
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.7", #only one tested
"Topic :: Other/Nonlisted Topic"
],
py_modules=['MeteorClient'],
install_requires=[
'python-ddp'
],
)
|
mit
|
Python
|
65dcbf1894444208a0a18cf1993da8b5b7844044
|
Fix #14 -- pip not installing full package
|
seatgeek/businesstime
|
setup.py
|
setup.py
|
#!/usr/bin/env python
"""How to release a new version: https://packaging.python.org/en/latest/distributing.html#uploading-your-project-to-pypi"""
from businesstime import __version__
from setuptools import find_packages, setup
setup(
name='businesstime',
version=__version__,
author='SeatGeek',
author_email='[email protected]',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
url='http://github.com/seatgeek/businesstime',
license=open('LICENSE.txt').read(),
classifiers=[
'Programming Language :: Python :: 2.7',
],
description='A simple utility for calculating business time aware timedeltas between two datetimes',
long_description=open('README.rst').read() + '\n\n' +
open('CHANGES.rst').read(),
tests_require=['nose'],
test_suite='nose.collector'
)
|
#!/usr/bin/env python
"""How to release a new version: https://packaging.python.org/en/latest/distributing.html#uploading-your-project-to-pypi"""
from businesstime import __version__
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='businesstime',
version=__version__,
author='SeatGeek',
author_email='[email protected]',
packages=[
'businesstime',
'businesstime.holidays',
],
url='http://github.com/seatgeek/businesstime',
license=open('LICENSE.txt').read(),
classifiers=[
'Programming Language :: Python :: 2.7',
],
description='A simple utility for calculating business time aware timedeltas between two datetimes',
long_description=open('README.rst').read() + '\n\n' +
open('CHANGES.rst').read(),
tests_require=['nose'],
test_suite='nose.collector'
)
|
bsd-2-clause
|
Python
|
4c307de8e4efc3f43218d438c1465c3c60ab91b7
|
Bump version to 0.21.0
|
miLibris/flask-rest-jsonapi
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
__version__ = '0.21.0'
setup(
name="Flask-REST-JSONAPI",
version=__version__,
description='Flask extension to create REST web api according to JSONAPI 1.0 specification with Flask, Marshmallow \
and data provider of your choice (SQLAlchemy, MongoDB, ...)',
url='https://github.com/miLibris/flask-rest-jsonapi',
author='miLibris API Team',
author_email='[email protected]',
license='MIT',
classifiers=[
'Framework :: Flask',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'License :: OSI Approved :: MIT License',
],
keywords='web api rest jsonapi flask sqlalchemy marshmallow',
packages=find_packages(exclude=['tests']),
zip_safe=False,
platforms='any',
install_requires=['six',
'Flask>=0.11',
'marshmallow==2.13.1',
'marshmallow_jsonapi',
'sqlalchemy'],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
extras_require={'tests': 'pytest', 'docs': 'sphinx'}
)
|
from setuptools import setup, find_packages
__version__ = '0.20.0'
setup(
name="Flask-REST-JSONAPI",
version=__version__,
description='Flask extension to create REST web api according to JSONAPI 1.0 specification with Flask, Marshmallow \
and data provider of your choice (SQLAlchemy, MongoDB, ...)',
url='https://github.com/miLibris/flask-rest-jsonapi',
author='miLibris API Team',
author_email='[email protected]',
license='MIT',
classifiers=[
'Framework :: Flask',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'License :: OSI Approved :: MIT License',
],
keywords='web api rest jsonapi flask sqlalchemy marshmallow',
packages=find_packages(exclude=['tests']),
zip_safe=False,
platforms='any',
install_requires=['six',
'Flask>=0.11',
'marshmallow==2.13.1',
'marshmallow_jsonapi',
'sqlalchemy'],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
extras_require={'tests': 'pytest', 'docs': 'sphinx'}
)
|
mit
|
Python
|
2399c500a43ed4b6eec7f79dce51166c98503721
|
update version
|
drgrib/dotmap
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
version = '1.2.16',
name = 'dotmap',
packages = ['dotmap'], # this must be the same as the name above
description = 'ordered, dynamically-expandable dot-access dictionary',
author = 'Chris Redford',
author_email = '[email protected]',
url = 'https://github.com/drgrib/dotmap', # use the URL to the github repo
download_url = 'https://github.com/drgrib/dotmap/tarball/1.0',
keywords = ['dict', 'dot', 'map', 'order', 'ordered', 'ordereddict', 'access', 'dynamic'], # arbitrary keywords
classifiers = [],
)
|
from setuptools import setup
setup(
version = '1.2.15',
name = 'dotmap',
packages = ['dotmap'], # this must be the same as the name above
description = 'ordered, dynamically-expandable dot-access dictionary',
author = 'Chris Redford',
author_email = '[email protected]',
url = 'https://github.com/drgrib/dotmap', # use the URL to the github repo
download_url = 'https://github.com/drgrib/dotmap/tarball/1.0',
keywords = ['dict', 'dot', 'map', 'order', 'ordered', 'ordereddict', 'access', 'dynamic'], # arbitrary keywords
classifiers = [],
)
|
mit
|
Python
|
13de2353047e22390964497b536f4647f44ad89b
|
Bump version to 0.30.1
|
miLibris/flask-rest-jsonapi
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
__version__ = '0.30.1'
setup(
name="Flask-REST-JSONAPI",
version=__version__,
description='Flask extension to create REST web api according to JSONAPI 1.0 specification with Flask, Marshmallow \
and data provider of your choice (SQLAlchemy, MongoDB, ...)',
url='https://github.com/miLibris/flask-rest-jsonapi',
author='miLibris API Team',
author_email='[email protected]',
license='MIT',
classifiers=[
'Framework :: Flask',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'License :: OSI Approved :: MIT License',
],
keywords='web api rest jsonapi flask sqlalchemy marshmallow',
packages=find_packages(exclude=['tests']),
zip_safe=False,
platforms='any',
install_requires=['six',
'Flask>=0.11',
'marshmallow==2.18.0',
'marshmallow_jsonapi',
'sqlalchemy'],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
extras_require={'tests': 'pytest', 'docs': 'sphinx'}
)
|
from setuptools import setup, find_packages
__version__ = '0.30.0'
setup(
name="Flask-REST-JSONAPI",
version=__version__,
description='Flask extension to create REST web api according to JSONAPI 1.0 specification with Flask, Marshmallow \
and data provider of your choice (SQLAlchemy, MongoDB, ...)',
url='https://github.com/miLibris/flask-rest-jsonapi',
author='miLibris API Team',
author_email='[email protected]',
license='MIT',
classifiers=[
'Framework :: Flask',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'License :: OSI Approved :: MIT License',
],
keywords='web api rest jsonapi flask sqlalchemy marshmallow',
packages=find_packages(exclude=['tests']),
zip_safe=False,
platforms='any',
install_requires=['six',
'Flask>=0.11',
'marshmallow==2.18.0',
'marshmallow_jsonapi',
'sqlalchemy'],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
extras_require={'tests': 'pytest', 'docs': 'sphinx'}
)
|
mit
|
Python
|
782733ef64fd16418a48f9bca1b288efcb26d057
|
Add a few more entrypoints for defaults.
|
klmitch/turnstile
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import os
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='turnstile',
version='0.7.0b1',
author='Kevin L. Mitchell',
author_email='[email protected]',
url='https://github.com/klmitch/turnstile',
description="Distributed rate-limiting middleware",
long_description=readfile('README.rst'),
license='Apache License (2.0)',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Paste',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
],
packages=['turnstile'],
install_requires=readreq('.requires'),
tests_require=readreq('.test-requires'),
entry_points={
'paste.filter_factory': [
'turnstile = turnstile.middleware:turnstile_filter',
],
'console_scripts': [
'setup_limits = turnstile.tools:setup_limits.console',
'dump_limits = turnstile.tools:dump_limits.console',
'remote_daemon = turnstile.tools:remote_daemon.console',
'turnstile_command = turnstile.tools:turnstile_command.console',
'compactor_daemon = turnstile.tools:compactor.console',
],
'turnstile.redis_client': [
'redis = redis:StrictRedis',
],
'turnstile.connection_class': [
'redis = redis:Connection',
'unix_domain = redis:UnixDomainSocketConnection',
],
'turnstile.connection_pool': [
'redis = redis:ConnectionPool',
],
'turnstile.limit': [
'limit = turnstile.limits:Limit',
],
'turnstile.middleware': [
'turnstile = turnstile.middleware:TurnstileMiddleware',
],
},
)
|
#!/usr/bin/env python
import os
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='turnstile',
version='0.7.0b1',
author='Kevin L. Mitchell',
author_email='[email protected]',
url='https://github.com/klmitch/turnstile',
description="Distributed rate-limiting middleware",
long_description=readfile('README.rst'),
license='Apache License (2.0)',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Paste',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Middleware',
],
packages=['turnstile'],
install_requires=readreq('.requires'),
tests_require=readreq('.test-requires'),
entry_points={
'paste.filter_factory': [
'turnstile = turnstile.middleware:turnstile_filter',
],
'console_scripts': [
'setup_limits = turnstile.tools:setup_limits.console',
'dump_limits = turnstile.tools:dump_limits.console',
'remote_daemon = turnstile.tools:remote_daemon.console',
'turnstile_command = turnstile.tools:turnstile_command.console',
'compactor_daemon = turnstile.tools:compactor.console',
],
'turnstile.limit': [
'limit = turnstile.limits:Limit',
],
'turnstile.middleware': [
'turnstile = turnstile.middleware:TurnstileMiddleware',
],
},
)
|
apache-2.0
|
Python
|
54b1c8bcfadae586e33cfff7813c8066ca50560d
|
update version number
|
Ichindar/dsts,Ichindar/dsts,Ichindar/dsts
|
setup.py
|
setup.py
|
#from distutils.core import setup
from setuptools import setup, Extension
from os.path import exists
from subprocess import call
sa = Extension('dsts.sa', include_dirs=['dsts/external/dstc/SAIS-SK/src/'],
sources=['dsts/samodule.cpp', 'dsts/external/dstsc/SAIS-SK/src/mmap.cpp',
'dsts/external/dstsc/SAIS-SK/src/fileopen.cpp', 'dsts/external/dstsc/SAIS-SK/src/gt-alloc.cpp',
'dsts/external/dstsc/SAIS-SK/src/sk-sain.cpp'])
lz = Extension('dsts.lz', include_dirs=['dsts/external/dstc/lzOG/src/', 'dsts/external/dstc/SAIS-SK/src/'],
sources=['dsts/lzmodule.cpp', 'dsts/external/dstsc/lzOG/src/lzOG.cpp', 'dsts/external/dstsc/SAIS-SK/src/mmap.cpp',
'dsts/external/dstsc/SAIS-SK/src/fileopen.cpp', 'dsts/external/dstsc/SAIS-SK/src/gt-alloc.cpp',
'dsts/external/dstsc/SAIS-SK/src/sk-sain.cpp'])
# When this script is run, we want to unsure that the distc package is installed
# The distc package has C++ code that is required when building the lz extension
if not exists("dsts/external/dstsc/SAIS-SK/") or not exists("dsts/external/dstsc/lzOG/"):
call(["git", "submodule", "update", "--init"])
setup(name="dsts",
version="0.8",
description="Python data structures.",
author="Angelos Molfetas",
author_email="[email protected]",
packages=['dsts'],
long_description="Python data structures. Suffix array Construction Algorithm, Rabin & Karp fingerprint generator, LZ factorisor.",
ext_modules=[lz, sa],
)
|
#from distutils.core import setup
from setuptools import setup, Extension
from os.path import exists
from subprocess import call
sa = Extension('dsts.sa', include_dirs=['dsts/external/dstc/SAIS-SK/src/'],
sources=['dsts/samodule.cpp', 'dsts/external/dstsc/SAIS-SK/src/mmap.cpp',
'dsts/external/dstsc/SAIS-SK/src/fileopen.cpp', 'dsts/external/dstsc/SAIS-SK/src/gt-alloc.cpp',
'dsts/external/dstsc/SAIS-SK/src/sk-sain.cpp'])
lz = Extension('dsts.lz', include_dirs=['dsts/external/dstc/lzOG/src/', 'dsts/external/dstc/SAIS-SK/src/'],
sources=['dsts/lzmodule.cpp', 'dsts/external/dstsc/lzOG/src/lzOG.cpp', 'dsts/external/dstsc/SAIS-SK/src/mmap.cpp',
'dsts/external/dstsc/SAIS-SK/src/fileopen.cpp', 'dsts/external/dstsc/SAIS-SK/src/gt-alloc.cpp',
'dsts/external/dstsc/SAIS-SK/src/sk-sain.cpp'])
# When this script is run, we want to unsure that the distc package is installed
# The distc package has C++ code that is required when building the lz extension
if not exists("dsts/external/dstsc/SAIS-SK/") or not exists("dsts/external/dstsc/lzOG/"):
call(["git", "submodule", "update", "--init"])
setup(name="dsts",
version="0.7",
description="Python data structures.",
author="Angelos Molfetas",
author_email="[email protected]",
packages=['dsts'],
long_description="Python data structures. Suffix array Construction Algorithm, Rabin & Karp fingerprint generator, LZ factorisor.",
ext_modules=[lz, sa],
)
|
bsd-3-clause
|
Python
|
ff8b2a2584a85d1df49667e87d4c894b644cc02a
|
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.7.3',
author='Robin Andersson',
author_email='[email protected]',
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.7.3.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.7.2',
author='Robin Andersson',
author_email='[email protected]',
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.7.2.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
|
fb166c2afa110b758efbc8aeae9ff177050bfa0c
|
Add correct filename in OnionLauncher ui directory
|
neelchauhan/OnionLauncher
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup
import sys
setup(name="OnionLauncher",
version="0.0.1",
description="Launcher for Tor",
license = "BSD",
author="Neel Chauhan",
author_email="[email protected]",
url="https://www.github.com/neelchauhan/OnionLauncher/",
packages=["OnionLauncher"],
entry_points={'gui_scripts': ['OnionLauncher=OnionLauncher.main:main_loop']},
package_data={"OnionLauncher": ["ui_files/*"]},
install_requires=[
"stem",
],
data_files=[
(sys.prefix + "/share/pixmaps", ["icons/scalable/onionlauncher.svg"]),
(sys.prefix + "/share/applications", ["data/onionlauncher.desktop"]),
],
classifiers=[
"Environment :: X11 Applications :: Qt",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
],
)
|
#!/usr/bin/env python
from setuptools import setup
import sys
setup(name="OnionLauncher",
version="0.0.1",
description="Launcher for Tor",
license = "BSD",
author="Neel Chauhan",
author_email="[email protected]",
url="https://www.github.com/neelchauhan/OnionLauncher/",
packages=["OnionLauncher"],
entry_points={'gui_scripts': ['OnionLauncher=OnionLauncher.main:main_loop']},
package_data={"OnionLauncher": ["data/*"]},
install_requires=[
"stem",
],
data_files=[
(sys.prefix + "/share/pixmaps", ["icons/scalable/onionlauncher.svg"]),
(sys.prefix + "/share/applications", ["data/onionlauncher.desktop"]),
],
classifiers=[
"Environment :: X11 Applications :: Qt",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
],
)
|
bsd-2-clause
|
Python
|
f3c72bae983dd5ed5ead47573120fb48f3bac521
|
Update pypi.python.org URL to pypi.org
|
spookylukey/django-debug-toolbar,django-debug-toolbar/django-debug-toolbar,django-debug-toolbar/django-debug-toolbar,tim-schilling/django-debug-toolbar,tim-schilling/django-debug-toolbar,tim-schilling/django-debug-toolbar,django-debug-toolbar/django-debug-toolbar,jazzband/django-debug-toolbar,jazzband/django-debug-toolbar,jazzband/django-debug-toolbar,spookylukey/django-debug-toolbar,spookylukey/django-debug-toolbar
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from io import open
from setuptools import find_packages, setup
setup(
name='django-debug-toolbar',
version='1.9.1',
description='A configurable set of panels that display various debug '
'information about the current request/response.',
long_description=open('README.rst', encoding='utf-8').read(),
author='Rob Hudson',
author_email='[email protected]',
url='https://github.com/jazzband/django-debug-toolbar',
download_url='https://pypi.org/project/django-debug-toolbar/',
license='BSD',
packages=find_packages(exclude=('tests.*', 'tests', 'example')),
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
install_requires=[
'Django>=1.11',
'sqlparse>=0.2.0',
],
include_package_data=True,
zip_safe=False, # because we're including static files
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.0',
'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.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
#!/usr/bin/env python
from io import open
from setuptools import find_packages, setup
setup(
name='django-debug-toolbar',
version='1.9.1',
description='A configurable set of panels that display various debug '
'information about the current request/response.',
long_description=open('README.rst', encoding='utf-8').read(),
author='Rob Hudson',
author_email='[email protected]',
url='https://github.com/jazzband/django-debug-toolbar',
download_url='https://pypi.python.org/pypi/django-debug-toolbar',
license='BSD',
packages=find_packages(exclude=('tests.*', 'tests', 'example')),
python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*",
install_requires=[
'Django>=1.11',
'sqlparse>=0.2.0',
],
include_package_data=True,
zip_safe=False, # because we're including static files
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.0',
'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.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
bsd-3-clause
|
Python
|
6a0f3af96e331882e620c6d6bffe020979323f26
|
Create a PIP-installable package
|
wmgaca/logcandy
|
setup.py
|
setup.py
|
from distutils.core import setup
setup(
name='logcandy',
version='0.1.0',
author='Wojciech Gaca',
author_email='[email protected]',
packages=['logcandy'],
scripts=[],
url='http://github.com/wmgaca/logcandy',
license='LICENSE',
description='Python logging utils.',
long_description=open('README.md').read(),
install_requires=[]
)
|
from distutils.core import setup
setup(
name='logcandy',
version='0.1.0',
author='Wojciech Gaca',
author_email='[email protected]',
packages=['logcandy'],
scripts=[],
url='http://github.com/wmgaca/logcandy',
license='LICENSE.txt',
description='Python logging utils.',
long_description=open('README.txt').read(),
install_requires=[]
)
|
mit
|
Python
|
a216f8ca01afa17e42079077c03e00313aea8fd0
|
Update github url on pypi
|
rjschwei/azure-sdk-for-python,aarsan/azure-sdk-for-python,ParallaxIT/azure-sdk-for-python,crwilcox/azure-sdk-for-python,Azure/azure-sdk-for-python,v-iam/azure-sdk-for-python,huguesv/azure-sdk-for-python,dominoFire/azure-sdk-for-python,oaastest/azure-sdk-for-python,bonethrown/azure-sdk-for-python,huguesv/azure-sdk-for-python,oaastest/azure-sdk-for-python,lmazuel/azure-sdk-for-python,AutorestCI/azure-sdk-for-python,bonethrown/azure-sdk-for-python,leihu0724/azure-sdk-for-python,mariotristan/azure-sdk-for-python,Azure/azure-sdk-for-python,leihu0724/azure-sdk-for-python,dominoFire/azure-sdk-for-python,crwilcox/azure-sdk-for-python,mariotristan/azure-sdk-for-python,SUSE/azure-sdk-for-python,Azure/azure-sdk-for-python,aarsan/azure-sdk-for-python,ParallaxIT/azure-sdk-for-python,Azure/azure-sdk-for-python
|
setup.py
|
setup.py
|
#!/usr/bin/env python
#-------------------------------------------------------------------------
# Copyright (c) Microsoft. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#--------------------------------------------------------------------------
from distutils.core import setup
# To build:
# python setup.py sdist
#
# To install:
# python setup.py install
#
# To register (only needed once):
# python setup.py register
#
# To upload:
# python setup.py sdist upload
setup(name='azure',
version='0.10.0',
description='Microsoft Azure client APIs',
long_description=open('README.rst', 'r').read(),
license='Apache License 2.0',
author='Microsoft Corporation',
author_email='[email protected]',
url='https://github.com/Azure/azure-sdk-for-python',
classifiers=[
'Development Status :: 5 - Production/Stable',
'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',
'License :: OSI Approved :: Apache Software License'],
packages=['azure',
'azure.http',
'azure.servicebus',
'azure.storage',
'azure.servicemanagement'],
install_requires=['python-dateutil',
'pyopenssl',
'futures']
)
|
#!/usr/bin/env python
#-------------------------------------------------------------------------
# Copyright (c) Microsoft. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#--------------------------------------------------------------------------
from distutils.core import setup
# To build:
# python setup.py sdist
#
# To install:
# python setup.py install
#
# To register (only needed once):
# python setup.py register
#
# To upload:
# python setup.py sdist upload
setup(name='azure',
version='0.10.0',
description='Microsoft Azure client APIs',
long_description=open('README.rst', 'r').read(),
license='Apache License 2.0',
author='Microsoft Corporation',
author_email='[email protected]',
url='https://github.com/WindowsAzure/azure-sdk-for-python',
classifiers=[
'Development Status :: 5 - Production/Stable',
'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',
'License :: OSI Approved :: Apache Software License'],
packages=['azure',
'azure.http',
'azure.servicebus',
'azure.storage',
'azure.servicemanagement'],
install_requires=['python-dateutil',
'pyopenssl',
'futures']
)
|
mit
|
Python
|
a8f36f4cbab4f4740c632cc9f9831c9626f52220
|
Bump version to v0.5.1
|
yunojuno/django-onfido
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
from os import path, chdir, pardir
from setuptools import setup, find_packages
README = open(path.join(path.dirname(__file__), 'README.rst')).read()
# allow setup.py to be run from any path
chdir(path.normpath(path.join(path.abspath(__file__), pardir)))
setup(
name="django-onfido",
version="0.5.1",
packages=find_packages(),
install_requires=[
'django>=1.8',
'requests>=2',
'python-dateutil'
],
include_package_data=True,
description='Django app for integration with Onfido.',
long_description=README,
url='https://github.com/yunojuno/django-onfido',
author='Hugo Rodger-Brown',
author_email='[email protected]',
maintainer='Hugo Rodger-Brown',
maintainer_email='[email protected]',
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 -*-
from os import path, chdir, pardir
from setuptools import setup, find_packages
README = open(path.join(path.dirname(__file__), 'README.rst')).read()
# allow setup.py to be run from any path
chdir(path.normpath(path.join(path.abspath(__file__), pardir)))
setup(
name="django-onfido",
version="0.5.0",
packages=find_packages(),
install_requires=[
'django>=1.8',
'requests>=2',
'python-dateutil'
],
include_package_data=True,
description='Django app for integration with Onfido.',
long_description=README,
url='https://github.com/yunojuno/django-onfido',
author='Hugo Rodger-Brown',
author_email='[email protected]',
maintainer='Hugo Rodger-Brown',
maintainer_email='[email protected]',
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
|
3352920f7e92e2732eb2914313bdee6b5ab7f549
|
Fix bin scripts having python2 or python3 specific path.
|
mujin/mujincontrollerclientpy
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
# Copyright (C) 2012-2014 MUJIN Inc
from distutils.core import setup
try:
from mujincommon.setuptools import Distribution
except ImportError:
from distutils.dist import Distribution
version = {}
exec(open('python/mujincontrollerclient/version.py').read(), version)
setup(
distclass=Distribution,
name='mujincontrollerclient',
version=version['__version__'],
packages=['mujincontrollerclient'],
package_dir={'mujincontrollerclient': 'python/mujincontrollerclient'},
data_files=[
# using scripts= will cause the first line of the script being modified for python2 or python3
# put the scripts in data_files will copy them as-is
('bin', ['bin/mujin_controllerclientpy_registerscene.py', 'bin/mujin_controllerclientpy_applyconfig.py']),
],
locale_dir='locale',
license='Apache License, Version 2.0',
long_description=open('README.rst').read(),
# flake8 compliance configuration
enable_flake8=True, # Enable checks
fail_on_flake=True, # Fail builds when checks fail
install_requires=[],
)
|
# -*- coding: utf-8 -*-
# Copyright (C) 2012-2014 MUJIN Inc
from distutils.core import setup
try:
from mujincommon.setuptools import Distribution
except ImportError:
from distutils.dist import Distribution
version = {}
exec(open('python/mujincontrollerclient/version.py').read(), version)
setup(
distclass=Distribution,
name='mujincontrollerclient',
version=version['__version__'],
packages=['mujincontrollerclient'],
package_dir={'mujincontrollerclient': 'python/mujincontrollerclient'},
scripts=['bin/mujin_controllerclientpy_registerscene.py', 'bin/mujin_controllerclientpy_applyconfig.py'],
locale_dir='locale',
license='Apache License, Version 2.0',
long_description=open('README.rst').read(),
# flake8 compliance configuration
enable_flake8=True, # Enable checks
fail_on_flake=True, # Fail builds when checks fail
install_requires=[],
)
|
apache-2.0
|
Python
|
89901677819f219423e56fc1a19c2942c9d0bdeb
|
Increment version to 0.2.0.
|
larsyencken/anytop
|
setup.py
|
setup.py
|
#-*- coding: utf-8 -*-
#
# setup.py
# anytop
#
# Created by Lars Yencken on 2011-10-09.
# Copyright 2011 Lars Yencken. All rights reserved.
#
from distutils.core import setup
setup(
name='anytop',
version='0.2.0',
description='Streaming frequency distribution viewer.',
long_description=open('README.rst').read(),
author='Lars Yencken',
author_email='[email protected]',
url='http://bitbucket.org/larsyencken/anytop',
scripts=['anytop', 'anyhist'],
packages=['anyutil'],
license='ISC',
)
|
#-*- coding: utf-8 -*-
#
# setup.py
# anytop
#
# Created by Lars Yencken on 2011-10-09.
# Copyright 2011 Lars Yencken. All rights reserved.
#
from distutils.core import setup
setup(
name='anytop',
version='0.1.2',
description='Streaming frequency distribution viewer.',
long_description=open('README.rst').read(),
author='Lars Yencken',
author_email='[email protected]',
url='http://bitbucket.org/larsyencken/anytop',
scripts=['anytop', 'anyhist'],
packages=['anyutil'],
license='ISC',
)
|
isc
|
Python
|
8e94134c4b6d6509cd515508bb2229c647d6867b
|
Bump to version 1.0.0. This project will be using Semantic Versioning.
|
ColtonProvias/sqlalchemy-jsonapi,bladams/sqlalchemy-jsonapi,emilecaron/sqlalchemy-jsonapi,angelosarto/sqlalchemy-jsonapi
|
setup.py
|
setup.py
|
"""
SQLAlchemy-JSONAPI
------------------
JSON API Mixin for SQLAlchemy that aims to meet the full JSON API spec as
published at http://jsonapi.org/format.
Full documentation is available at:
https://github.com/coltonprovias/sqlalchemy-jsonapi
"""
from setuptools import setup
setup(name='SQLAlchemy-JSONAPI',
version='1.0.0',
uri='http://github.com/coltonprovias/sqlalchemy-jsonapi',
license='MIT',
author='Colton J. Provias',
author_email='[email protected]',
description='JSONAPI Mixin for SQLAlchemy',
long_description=__doc__,
py_modules=['sqlalchemy_jsonapi'],
zip_safe=False,
include_package_data=True,
platforms='any',
install_requires=['SQLAlchemy'],
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'])
|
"""
SQLAlchemy-JSONAPI
------------------
JSON API Mixin for SQLAlchemy that aims to meet the full JSON API spec as
published at http://jsonapi.org/format.
Full documentation is available at:
https://github.com/coltonprovias/sqlalchemy-jsonapi
"""
from setuptools import setup
setup(name='SQLAlchemy-JSONAPI',
version='0.3',
uri='http://github.com/coltonprovias/sqlalchemy-jsonapi',
license='MIT',
author='Colton J. Provias',
author_email='[email protected]',
description='JSONAPI Mixin for SQLAlchemy',
long_description=__doc__,
py_modules=['sqlalchemy_jsonapi'],
zip_safe=False,
include_package_data=True,
platforms='any',
install_requires=['SQLAlchemy'],
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'])
|
mit
|
Python
|
028afb2d0cecc90d198994fe8799764588c52dad
|
Set version = 1.2
|
elsid/mosecom-air,elsid/mosecom-air,elsid/mosecom-air
|
setup.py
|
setup.py
|
#!/usr/bin/env python
#coding: utf-8
from setuptools import setup, find_packages
from os.path import join, dirname
setup(
name='mosecom_air',
version='1.2',
description='Web service dedicated to air pollution in Moscow.',
long_description=open('README.md').read(),
author='elsid',
author_email='[email protected]',
packages=find_packages(),
scripts=['manage.py', 'parse_html.py', 'request.py'],
install_requires=[
'django >= 1.6.1',
'djangorestframework >= 2.3.12',
'flup >= 1.0.2',
'johnny-cache >= 1.4',
'psycopg2 >= 2.4.5',
'pyquery >= 1.2.4',
'simplejson >= 3.3.1',
'yaml >= 3.10',
],
)
|
#!/usr/bin/env python
#coding: utf-8
from setuptools import setup, find_packages
from os.path import join, dirname
setup(
name='mosecom_air',
version='1.1',
description='Web service dedicated to air pollution in Moscow.',
long_description=open('README.md').read(),
author='elsid',
author_email='[email protected]',
packages=find_packages(),
scripts=['manage.py', 'parse_html.py', 'request.py'],
install_requires=[
'django >= 1.6.1',
'djangorestframework >= 2.3.12',
'flup >= 1.0.2',
'johnny-cache >= 1.4',
'psycopg2 >= 2.4.5',
'pyquery >= 1.2.4',
'simplejson >= 3.3.1',
'yaml >= 3.10',
],
)
|
mit
|
Python
|
d543286e998f76ebc915efb5366218d23faa195b
|
Bump sql-metadata from 1.5.0 to 1.7.0
|
macbre/index-digest,macbre/index-digest
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
from indexdigest import VERSION
# @see https://packaging.python.org/tutorials/packaging-projects/#creating-setup-py
with open("README.md", "r") as fh:
long_description = fh.read()
# @see https://github.com/pypa/sampleproject/blob/master/setup.py
setup(
name='indexdigest',
version=VERSION,
author='Maciej Brencz',
author_email='[email protected]',
license='MIT',
description='Analyses your database queries and schema and suggests indices and schema improvements',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/macbre/index-digest',
# 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',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Topic :: Database',
# Pick your license as you wish
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
packages=find_packages(),
extras_require={
'dev': [
'coverage==5.2',
'pylint>=2.4.2',
'pytest==5.2.0',
'twine==3.2.0',
]
},
install_requires=[
'docopt==0.6.2',
'PyYAML==5.1.2',
'mysqlclient==2.0.1',
'sql_metadata==1.7.0',
'termcolor==1.1.0',
'yamlordereddictloader==0.4.0'
],
entry_points={
'console_scripts': [
'add_linter=indexdigest.cli.add_linter:main', # creates a new linter from a template
'index_digest=indexdigest.cli.script:main',
],
}
)
|
from setuptools import setup, find_packages
from indexdigest import VERSION
# @see https://packaging.python.org/tutorials/packaging-projects/#creating-setup-py
with open("README.md", "r") as fh:
long_description = fh.read()
# @see https://github.com/pypa/sampleproject/blob/master/setup.py
setup(
name='indexdigest',
version=VERSION,
author='Maciej Brencz',
author_email='[email protected]',
license='MIT',
description='Analyses your database queries and schema and suggests indices and schema improvements',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/macbre/index-digest',
# 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',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Topic :: Database',
# Pick your license as you wish
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
packages=find_packages(),
extras_require={
'dev': [
'coverage==5.2',
'pylint>=2.4.2',
'pytest==5.2.0',
'twine==3.2.0',
]
},
install_requires=[
'docopt==0.6.2',
'PyYAML==5.1.2',
'mysqlclient==2.0.1',
'sql_metadata==1.5.0',
'termcolor==1.1.0',
'yamlordereddictloader==0.4.0'
],
entry_points={
'console_scripts': [
'add_linter=indexdigest.cli.add_linter:main', # creates a new linter from a template
'index_digest=indexdigest.cli.script:main',
],
}
)
|
mit
|
Python
|
ab5c466005f796c8c757e13ed0f3ed64dd5bfbae
|
bump version
|
elcorto/imagecluster
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
# publish on pypi
# ---------------
# $ python3 setup.py sdist
# $ twine upload dist/imagecluster-x.y.z.tar.gz
import os
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as fd:
long_description = fd.read()
setup(
name='imagecluster',
version='0.4.0',
description='cluster images based on image content using a pre-trained ' \
'deep neural network and hierarchical clustering',
long_description=long_description,
url='https://github.com/elcorto/imagecluster',
author='Steve Schmerler',
author_email='[email protected]',
license='BSD 3-Clause',
keywords='image cluster vgg16 deep-learning',
packages=['imagecluster'],
install_requires=open('requirements.txt').read().splitlines(),
)
|
#!/usr/bin/env python3
# publish on pypi
# ---------------
# $ python3 setup.py sdist
# $ twine upload dist/imagecluster-x.y.z.tar.gz
import os
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst'), encoding='utf-8') as fd:
long_description = fd.read()
setup(
name='imagecluster',
version='0.3.0',
description='cluster images based on image content using a pre-trained ' \
'deep neural network and hierarchical clustering',
long_description=long_description,
url='https://github.com/elcorto/imagecluster',
author='Steve Schmerler',
author_email='[email protected]',
license='BSD 3-Clause',
keywords='image cluster vgg16 deep-learning',
packages=['imagecluster'],
install_requires=open('requirements.txt').read().splitlines(),
)
|
bsd-3-clause
|
Python
|
8f0635d41c5da5d844aa5219794134fe1d608896
|
Fix URL in setup.py
|
ulikoehler/cv_algorithms,ulikoehler/cv_algorithms
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import os
import sys
import io
try:
import setuptools
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, Extension
from setuptools import find_packages
extra_compile_args = [] if os.name == 'nt' else ["-g", "-O2", "-march=native"]
extra_link_args = [] if os.name == 'nt' else ["-g"]
platform_src = ["src/windows.cpp"] if os.name == 'nt' else []
mod_cv_algorithms = Extension('cv_algorithms._cv_algorithms',
sources=['src/thinning.cpp',
'src/distance.cpp',
'src/grassfire.cpp',
'src/popcount.cpp',
'src/neighbours.cpp'] + platform_src,
extra_compile_args=extra_compile_args,
extra_link_args=extra_link_args)
setup(
name='cv_algorithms',
license='Apache license 2.0',
packages=find_packages(exclude=['tests*']),
install_requires=['cffi>=0.7'],
ext_modules=[mod_cv_algorithms],
test_suite='nose.collector',
tests_require=['nose', 'coverage', 'mock', 'rednose', 'nose-parameterized'],
setup_requires=['nose>=1.0'],
platforms="any",
zip_safe=False,
version='1.0.0',
long_description=io.open("README.rst", encoding="utf-8").read(),
description='Optimized OpenCV extra algorithms for Python',
url="https://github.com/ulikoehler/cv_algorithms"
)
|
#!/usr/bin/env python
import os
import sys
import io
try:
import setuptools
except ImportError:
from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup, Extension
from setuptools import find_packages
extra_compile_args = [] if os.name == 'nt' else ["-g", "-O2", "-march=native"]
extra_link_args = [] if os.name == 'nt' else ["-g"]
platform_src = ["src/windows.cpp"] if os.name == 'nt' else []
mod_cv_algorithms = Extension('cv_algorithms._cv_algorithms',
sources=['src/thinning.cpp',
'src/distance.cpp',
'src/grassfire.cpp',
'src/popcount.cpp',
'src/neighbours.cpp'] + platform_src,
extra_compile_args=extra_compile_args,
extra_link_args=extra_link_args)
setup(
name='cv_algorithms',
license='Apache license 2.0',
packages=find_packages(exclude=['tests*']),
install_requires=['cffi>=0.7'],
ext_modules=[mod_cv_algorithms],
test_suite='nose.collector',
tests_require=['nose', 'coverage', 'mock', 'rednose', 'nose-parameterized'],
setup_requires=['nose>=1.0'],
platforms="any",
zip_safe=False,
version='1.0.0',
long_description=io.open("README.rst", encoding="utf-8").read(),
description='Optimized OpenCV extra algorithms for Python',
url="https://github.com/ulikoehler/"
)
|
apache-2.0
|
Python
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.