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 |
---|---|---|---|---|---|---|---|---|
c0301ec4efcf84ec6e644aa48f716edfc570c092
|
remove redundant cythoning
|
adrn/gary,adrn/gala,adrn/gary,adrn/gary,adrn/gala,adrn/gala
|
setup.py
|
setup.py
|
# coding: utf-8
from __future__ import division, print_function
__author__ = "adrn <[email protected]>"
# Standard library
import os, sys
from distutils.core import setup
from distutils.extension import Extension
# Third-party
import numpy as np
from Cython.Distutils import build_ext
from Cython.Build import cythonize
# Get numpy path
numpy_base_path = os.path.split(np.__file__)[0]
numpy_incl_path = os.path.join(numpy_base_path, "core", "include")
extensions = []
potential = Extension("gary.potential.*",
["gary/potential/*.pyx",
"gary/potential/_cbuiltin.c"],
include_dirs=[numpy_incl_path])
extensions.append(potential)
integrate = Extension("gary.integrate.*",
["gary/integrate/*.pyx",
"gary/integrate/dopri/dop853.h",
"gary/integrate/dopri/dop853.c"],
include_dirs=[numpy_incl_path])
extensions.append(integrate)
# dynamics = Extension("gary.dynamics.*",
# ["gary/dynamics/*.pyx"],
# include_dirs=[numpy_incl_path])
# extensions.append(dynamics)
setup(
name="gary",
version="0.1",
author="Adrian M. Price-Whelan",
author_email="[email protected]",
license="MIT",
cmdclass={'build_ext': build_ext},
ext_modules=cythonize(extensions),
packages=["gary", "gary.coordinates", "gary.io",
"gary.observation", "gary.integrate",
"gary.dynamics", "gary.inference",
"gary.potential"],
scripts=['bin/plotsnap', 'bin/moviesnap', 'bin/snap2gal'],
package_data={'gary.potential': ['*.pxd','*.c','*.h'],
'gary.integrate': ['*.pxd','*.c','*.h']
},
)
|
# coding: utf-8
from __future__ import division, print_function
__author__ = "adrn <[email protected]>"
# Standard library
import os, sys
from distutils.core import setup
from distutils.extension import Extension
# Third-party
import numpy as np
from Cython.Distutils import build_ext
from Cython.Build import cythonize
# Get numpy path
numpy_base_path = os.path.split(np.__file__)[0]
numpy_incl_path = os.path.join(numpy_base_path, "core", "include")
extensions = []
potential = Extension("gary.potential.*",
["gary/potential/*.pyx",
"gary/potential/_cbuiltin.c"],
include_dirs=[numpy_incl_path])
extensions.append(potential)
integrate = Extension("gary.integrate.*",
["gary/integrate/*.pyx"],
include_dirs=[numpy_incl_path])
extensions.append(integrate)
dopri = Extension("gary.integrate.*",
["gary/integrate/*.pyx",
"gary/integrate/dopri/dop853.h",
"gary/integrate/dopri/dop853.c"],
include_dirs=[numpy_incl_path])
extensions.append(dopri)
# dynamics = Extension("gary.dynamics.*",
# ["gary/dynamics/*.pyx"],
# include_dirs=[numpy_incl_path])
# extensions.append(dynamics)
setup(
name="gary",
version="0.1",
author="Adrian M. Price-Whelan",
author_email="[email protected]",
license="MIT",
cmdclass={'build_ext': build_ext},
ext_modules=cythonize(extensions),
packages=["gary", "gary.coordinates", "gary.io",
"gary.observation", "gary.integrate",
"gary.dynamics", "gary.inference",
"gary.potential"],
scripts=['bin/plotsnap', 'bin/moviesnap', 'bin/snap2gal'],
package_data={'gary.potential': ['*.pxd','*.c','*.h'],
'gary.integrate': ['*.pxd','*.c','*.h']
},
)
|
mit
|
Python
|
9ebb25310f99b4a129c8efdfbd87d121051d66a6
|
Prepare for more development.
|
pstray/udiskie,pstray/udiskie,coldfix/udiskie,coldfix/udiskie,khardix/udiskie,mathstuf/udiskie
|
setup.py
|
setup.py
|
from distutils.core import setup
setup(
name='udiskie',
version='0.3.8',
description='Removable disk automounter for udisks',
author='Byron Clark',
author_email='[email protected]',
url='http://bitbucket.org/byronclark/udiskie',
license='MIT',
packages=[
'udiskie',
],
scripts=[
'bin/udiskie',
'bin/udiskie-umount',
],
)
|
from distutils.core import setup
setup(
name='udiskie',
version='0.3.7',
description='Removable disk automounter for udisks',
author='Byron Clark',
author_email='[email protected]',
url='http://bitbucket.org/byronclark/udiskie',
license='MIT',
packages=[
'udiskie',
],
scripts=[
'bin/udiskie',
'bin/udiskie-umount',
],
)
|
mit
|
Python
|
35dbaef6d834cd34b3cfb9923fe73440a465b340
|
Fix bug in setup.py
|
j0057/setuptools-version-command
|
setup.py
|
setup.py
|
#!/usr/bin/env python2.7
from setuptools import setup
description = '''Adds a command to dynamically get the version from the VCS of choice'''
with open('README.txt', 'r') as f:
long_description = f.read()
setup(
author='Joost Molenaar',
author_email='[email protected]',
url='https://github.com/j0057/setuptools-version-command',
name='setuptools-version-command',
version='1.0',
description=description,
long_description=long_description,
packages=['setuptools_version_command'],
entry_points={
'distutils.setup_keywords': [
'version_command = setuptools_version_command:execute_version_command'
]
})
|
#!/usr/bin/env python2.7
from setuptools import setup
description = '''Adds a command to dynamically get the version from the VCS of choice'''
with open('README.txt', 'r') as f:
long_description = f.read()
setup(
author='Joost Molenaar',
author_email='[email protected]',
url='https://github.com/j0057/setuptools-version-command',
name='setuptools-version-command',
version='1.0',
description=description,
long_description=long_description,
packages=['setuptools_version_command'],
entry_points={
'distutils.setup_keywords': [
'version_command = setuptools_metadata:execute_version_command'
]
})
|
mit
|
Python
|
5263f87283a8890aacb2e1d7aaa9266635836723
|
fix pip install failure on mac os mojav with anaconda
|
shunsukeaihara/pydtw
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import sys
try:
from Cython.Distutils import build_ext
except ImportError:
def build_ext(*args, **kwargs):
from Cython.Distutils import build_ext
return build_ext(*args, **kwargs)
class lazy_extlist(list):
def __init__(self, callback):
self._list, self.callback = None, callback
def c_list(self):
if self._list is None:
self._list = self.callback()
return self._list
def __iter__(self):
for e in self.c_list():
yield e
def __getitem__(self, ii):
return self.c_list()[ii]
def __len__(self):
return len(self.c_list())
def extensions():
__builtins__.__NUMPY_SETUP__ = False
from Cython.Distutils import Extension
import numpy as np
extra_compile_args = ["-O3"]
extra_link_args = []
if sys.platform == "darwin":
extra_compile_args.append("-mmacosx-version-min=10.9")
extra_compile_args.append('-stdlib=libc++')
extra_link_args.append('-stdlib=libc++')
return [Extension(
'pydtw.dtw',
["pydtw/dtw.pyx"],
cython_directives={'language_level': sys.version_info[0]},
extra_compile_args=extra_compile_args,
extra_link_args=extra_link_args,
include_dirs=[np.get_include()],
language="c++")
]
setup(
name="pydtw",
description='Fast Imprementation of the Dynamic Wime Warping',
version="2.0.2",
long_description=open('README.rst').read(),
packages=find_packages(),
setup_requires=["numpy", 'cython'],
ext_modules=lazy_extlist(extensions),
cmdclass={'build_ext': build_ext},
author='Shunsuke Aihara',
author_email="[email protected]",
url='https://github.com/shunsukeaihara/pydtw',
license="MIT License",
include_package_data=True,
test_suite='nose.collector',
tests_require=['nose', 'numpy', 'cython'],
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 2",
]
)
|
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
import sys
try:
from Cython.Distutils import build_ext
except ImportError:
def build_ext(*args, **kwargs):
from Cython.Distutils import build_ext
return build_ext(*args, **kwargs)
class lazy_extlist(list):
def __init__(self, callback):
self._list, self.callback = None, callback
def c_list(self):
if self._list is None:
self._list = self.callback()
return self._list
def __iter__(self):
for e in self.c_list():
yield e
def __getitem__(self, ii):
return self.c_list()[ii]
def __len__(self):
return len(self.c_list())
def extensions():
__builtins__.__NUMPY_SETUP__ = False
from Cython.Distutils import Extension
import numpy as np
return [Extension(
'pydtw.dtw',
["pydtw/dtw.pyx"],
cython_directives={'language_level': sys.version_info[0]},
extra_compile_args=["-O3"],
include_dirs=[np.get_include()],
language="c++")
]
setup(
name="pydtw",
description='Fast Imprementation of the Dynamic Wime Warping',
version="2.0.0",
long_description=open('README.rst').read(),
packages=find_packages(),
setup_requires=["numpy", 'cython'],
ext_modules=lazy_extlist(extensions),
cmdclass={'build_ext': build_ext},
author='Shunsuke Aihara',
author_email="[email protected]",
url='https://github.com/shunsukeaihara/pydtw',
license="MIT License",
include_package_data=True,
test_suite='nose.collector',
tests_require=['nose', 'numpy', 'cython'],
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 2",
]
)
|
mit
|
Python
|
2022d618fd68894c92df7968d5e3ae4a8436ca88
|
add sqlalchemy and keyring to the requirement list of the setup file
|
oemof/oemof.db
|
setup.py
|
setup.py
|
#! /usr/bin/env python
from distutils.core import setup
setup(name='oemof-pg',
version='0.0.1dev',
description='The oemof postgis extension',
package_dir={'oemof_pg': 'oemof_pg'},
install_requires=['sqlalchemy >= 1.0',
'keyring >= 4.0'])
|
#! /usr/bin/env python
from distutils.core import setup
setup( name='oemof-pg'
, version='0.0.1dev'
, description='The oemof postgis extension'
, package_dir = {'oemof_pg': 'oemof_pg'}
)
|
mit
|
Python
|
6da15fd8f95638d919e47fe1150acce5a9401745
|
Add six to the requirements
|
crateio/carrier
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup, find_packages
import conveyor
install_requires = [
"APScheduler",
"forklift",
"redis",
"six",
"xmlrpc2",
]
setup(
name="conveyor",
version=conveyor.__version__,
description="Warehouse and PyPI Synchronization",
long_description=open("README.rst").read(),
url="https://github.com/crateio/conveyor/",
license=open("LICENSE").read(),
author="Donald Stufft",
author_email="[email protected]",
install_requires=install_requires,
packages=find_packages(exclude=["tests"]),
zip_safe=False,
)
|
#!/usr/bin/env python
from setuptools import setup, find_packages
import conveyor
install_requires = [
"APScheduler",
"forklift",
"redis",
"xmlrpc2",
]
setup(
name="conveyor",
version=conveyor.__version__,
description="Warehouse and PyPI Synchronization",
long_description=open("README.rst").read(),
url="https://github.com/crateio/conveyor/",
license=open("LICENSE").read(),
author="Donald Stufft",
author_email="[email protected]",
install_requires=install_requires,
packages=find_packages(exclude=["tests"]),
zip_safe=False,
)
|
bsd-2-clause
|
Python
|
f42904aee050b522b320c32d67c20afeb7021efd
|
Include the openquake-minimal.jar in the dist folder (DOH)
|
gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine,gem/oq-engine
|
setup.py
|
setup.py
|
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import glob
import os
import sys
from distutils.core import setup
from setuptools import find_packages
scripts = ["bin/%s" % x for x in os.listdir('bin')]
scripts.extend(
["openquake/utils/%s" % x for x in os.listdir('openquake/utils')])
scripts.append('celeryconfig.py')
libs = []
for x in os.listdir('lib'):
if x[-4:] == '.jar':
libs.append("lib/%s" % x)
dist = []
for x in os.listdir('dist'):
if x[-4:] == '.jar':
libs.append("dist/%s" % x)
with os.popen("which gfortran") as gf:
if not gf:
raise EnvironmentError("You need to install gfortran")
setup(name='openquake',
version='0.11',
description='OpenQuake Platform',
author='gem-core',
author_email='[email protected]',
url='http://www.openquake.org/',
packages=['openquake','openquake.hazard',
'openquake.job','openquake.kvs',
'openquake.output','openquake.parser',
'openquake.risk', 'openquake.risk.job',
'openquake.seismicsources'],
data_files=[('/etc/openquake', ['celeryconfig.py']),
('lib', libs),('dist', dist)],
scripts=scripts,
install_requires=["pyyaml", "shapely", "python-gflags", "pylibmc==0.9.2",
"lxml", "sphinx", "eventlet", "guppy", "libLAS",
"numpy", "scipy", "celery", "nose", "django",
"ordereddict"])
|
# vim: tabstop=4 shiftwidth=4 softtabstop=4
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
import glob
import os
import sys
from distutils.core import setup
from setuptools import find_packages
scripts = ["bin/%s" % x for x in os.listdir('bin')]
scripts.extend(
["openquake/utils/%s" % x for x in os.listdir('openquake/utils')])
scripts.append('celeryconfig.py')
libs = []
for x in os.listdir('lib'):
if x[-4:] == '.jar':
libs.append("lib/%s" % x))
dist = []
for x in os.listdir('dist'):
if x[-4:] == '.jar':
libs.append("dist/%s" % x))
with os.popen("which gfortran") as gf:
if not gf:
raise EnvironmentError("You need to install gfortran")
setup(name='openquake',
version='0.11',
description='OpenQuake Platform',
author='gem-core',
author_email='[email protected]',
url='http://www.openquake.org/',
packages=['openquake','openquake.hazard',
'openquake.job','openquake.kvs',
'openquake.output','openquake.parser',
'openquake.risk', 'openquake.risk.job',
'openquake.seismicsources'],
data_files=[('/etc/openquake', ['celeryconfig.py']),
('lib', libs),('dist', dist)],
scripts=scripts,
install_requires=["pyyaml", "shapely", "python-gflags", "pylibmc==0.9.2",
"lxml", "sphinx", "eventlet", "guppy", "libLAS",
"numpy", "scipy", "celery", "nose", "django",
"ordereddict"])
|
agpl-3.0
|
Python
|
a2af58c583397e978f841535580ba4a2bfd6cc0a
|
Upgrade black in hopes of fixing CI error running black
|
googlefonts/emojicompat,googlefonts/emojicompat
|
setup.py
|
setup.py
|
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from setuptools import setup, find_packages
setup_args = dict(
name="emojicompat",
use_scm_version={"write_to": "src/emojicompat/_version.py"},
package_dir={'': 'src'},
packages=find_packages(where='src'),
entry_points={
'console_scripts': [
'emojicompat=emojicompat.emojicompat:main',
],
},
setup_requires=["setuptools_scm"],
include_package_data=True,
install_requires=[
"absl-py>=0.9.0",
"fonttools>=4.31.2",
"flatbuffers>=2.0",
],
extras_require={
"dev": [
"pytest",
"pytest-clarity",
"black==22.3.0",
"pytype==2020.11.23; python_version < '3.9'",
],
},
# this is so we can use the built-in dataclasses module
python_requires=">=3.7",
# this is for type checker to use our inline type hints:
# https://www.python.org/dev/peps/pep-0561/#id18
package_data={
"emojicompat": [
"py.typed",
],
},
# metadata to display on PyPI
author="Rod S",
author_email="[email protected]",
description=("Utility to insert emojicompat metadata into an emoji font"),
)
if __name__ == "__main__":
setup(**setup_args)
|
# Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from setuptools import setup, find_packages
setup_args = dict(
name="emojicompat",
use_scm_version={"write_to": "src/emojicompat/_version.py"},
package_dir={'': 'src'},
packages=find_packages(where='src'),
entry_points={
'console_scripts': [
'emojicompat=emojicompat.emojicompat:main',
],
},
setup_requires=["setuptools_scm"],
include_package_data=True,
install_requires=[
"absl-py>=0.9.0",
"fonttools>=4.31.2",
"flatbuffers>=2.0",
],
extras_require={
"dev": [
"pytest",
"pytest-clarity",
"black==21.12b0",
"pytype==2020.11.23; python_version < '3.9'",
],
},
# this is so we can use the built-in dataclasses module
python_requires=">=3.7",
# this is for type checker to use our inline type hints:
# https://www.python.org/dev/peps/pep-0561/#id18
package_data={
"emojicompat": [
"py.typed",
],
},
# metadata to display on PyPI
author="Rod S",
author_email="[email protected]",
description=("Utility to insert emojicompat metadata into an emoji font"),
)
if __name__ == "__main__":
setup(**setup_args)
|
apache-2.0
|
Python
|
fa667269f789a3bfe64d2da772823ce99116c578
|
Fix RTD by making pytables optional in setup.py
|
calliope-project/calliope,brynpickering/calliope,brynpickering/calliope
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup, find_packages
# Sets the __version__ variable
exec(open('calliope/_version.py').read())
setup(
name='calliope',
version=__version__,
author='Stefan Pfenninger',
author_email='[email protected]',
description='A multi-scale energy systems (MUSES) modeling framework',
license='Apache 2.0',
url='http://www.callio.pe/',
download_url='https://github.com/calliope-project/calliope/releases',
packages=find_packages(),
package_data={'calliope': ['config/*.yaml',
'example_model/*.yaml',
'example_model/model_config/*.yaml',
'example_model/model_config/data/*.csv',
'test/common/*.yaml',
'test/common/t_1h/*.csv',
'test/common/t_6h/*.csv',
'test/common/t_erroneous/*.csv']},
install_requires=[
"pyomo >= 4.0",
"numpy >= 1.9.0",
"numexpr >= 2.3.1",
"pandas >= 0.16.0",
"pyyaml >= 3.11",
# Removed tables from required dependencies here because it causes
# readthedocs builds to fail
# "tables >= 3.2.0", # Requires cython to build
"click >= 3.3"
],
entry_points={
'console_scripts': [
'calliope = calliope.cli:cli'
]
},
classifiers=[
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3 :: Only'
],
keywords=['energy systems', 'optimization', 'mathematical programming']
)
|
#!/usr/bin/env python
from setuptools import setup, find_packages
# Sets the __version__ variable
exec(open('calliope/_version.py').read())
setup(
name='calliope',
version=__version__,
author='Stefan Pfenninger',
author_email='[email protected]',
description='A multi-scale energy systems (MUSES) modeling framework',
license='Apache 2.0',
url='http://www.callio.pe/',
download_url='https://github.com/calliope-project/calliope/releases',
packages=find_packages(),
package_data={'calliope': ['config/*.yaml',
'example_model/*.yaml',
'example_model/model_config/*.yaml',
'example_model/model_config/data/*.csv',
'test/common/*.yaml',
'test/common/t_1h/*.csv',
'test/common/t_6h/*.csv',
'test/common/t_erroneous/*.csv']},
install_requires=[
"pyomo >= 4.0",
"numpy >= 1.9.0",
"numexpr >= 2.3.1",
"pandas >= 0.16.0",
"pyyaml >= 3.11",
"tables >= 3.2.0", # Requires cython to build
"click >= 3.3"
],
entry_points={
'console_scripts': [
'calliope = calliope.cli:cli'
]
},
classifiers=[
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3 :: Only'
],
keywords=['energy systems', 'optimization', 'mathematical programming']
)
|
apache-2.0
|
Python
|
07e04b0bb699389eeb04b6c12f54a907c50b1f1c
|
Update setup.py(change version number, etc)
|
tsurubee/banpei
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name='anomaly_detector',
version='0.0.1',
description='Anomaly detection library with Python',
author='Hirofumi Tsuruta',
packages=find_packages(exclude=('tests', 'docs')),
include_package_data=True,
test_suite='tests',
install_requires=[
]
)
|
from setuptools import setup, find_packages
setup(
name='anomaly_detector',
version='1.0.0',
packages=find_packages(exclude=('tests', 'docs')),
include_package_data=True,
test_suite='tests',
install_requires=[
]
)
|
mit
|
Python
|
f6f750e2ba83dd6b19b9bd701de467fcc44bdd02
|
Update version number to 0.1.6
|
google/identity-toolkit-python-client,vmenezes/identity-toolkit-python-client
|
setup.py
|
setup.py
|
from setuptools import setup
install_requires = [
'oauth2client>=1.3.2',
'pyOpenSSL==0.14',
'simplejson>=2.3.2',
]
packages = ['identitytoolkit',]
setup(
name = 'identity-toolkit-python-client',
packages = packages,
install_requires = install_requires,
license="Apache 2.0",
version = '0.1.6',
description = 'Google Identity Toolkit python client library',
author = 'Jin Liu',
url = 'https://github.com/google/identity-toolkit-python-client',
download_url = 'https://github.com/google/identity-toolkit-python-client/archive/master.zip',
keywords = ['identity', 'google', 'login', 'toolkit'], # arbitrary keywords
classifiers = [],
)
|
from setuptools import setup
install_requires = [
'oauth2client>=1.3.2',
'pyOpenSSL==0.14',
'simplejson>=2.3.2',
]
packages = ['identitytoolkit',]
setup(
name = 'identity-toolkit-python-client',
packages = packages,
install_requires = install_requires,
license="Apache 2.0",
version = '0.1.5',
description = 'Google Identity Toolkit python client library',
author = 'Jin Liu',
url = 'https://github.com/google/identity-toolkit-python-client',
download_url = 'https://github.com/google/identity-toolkit-python-client/archive/master.zip',
keywords = ['identity', 'google', 'login', 'toolkit'], # arbitrary keywords
classifiers = [],
)
|
apache-2.0
|
Python
|
c209ec1d98a85917c629c0dc259884da30d03f00
|
Bump version number
|
SunDwarf/curious
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name='discord-curious',
version='0.1.1',
packages=['curious', 'curious.http', 'curious.commands', 'curious.dataclasses', 'curious.ext'],
url='https://github.com/SunDwarf/curious',
license='MIT',
author='Laura Dickinson',
author_email='[email protected]',
description='A curio library for the Discord API',
install_requires=[
"cuiows>=0.1.10",
"curio==0.4.0",
"h11==0.7.0",
"multidict==2.1.4",
"pylru==1.0.9",
"yarl==0.8.1",
]
)
|
from setuptools import setup
setup(
name='discord-curious',
version='0.1.0',
packages=['curious', 'curious.http', 'curious.commands', 'curious.dataclasses', 'curious.ext'],
url='https://github.com/SunDwarf/curious',
license='MIT',
author='Laura Dickinson',
author_email='[email protected]',
description='A curio library for the Discord API',
install_requires=[
"cuiows>=0.1.10",
"curio==0.4.0",
"h11==0.7.0",
"multidict==2.1.4",
"pylru==1.0.9",
"yarl==0.8.1",
]
)
|
mit
|
Python
|
6242ea8a44e34d5c7dadf6d5c667c1d8170952ef
|
Update sphinx_rtd_theme
|
ymyzk/python-gyazo
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from codecs import open
from os import path
from setuptools import setup
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
with open(path.join(here, 'gyazo/__about__.py')) as f:
exec(f.read())
package_data = {
'gyazo': ['*.pyi'],
}
install_requires = [
'python-dateutil>=2.4.2',
'requests>=2.7.0',
]
extras_require = {
':python_version < "3.5"': [
'typing',
],
'docs': [
'Sphinx>=1.7,<1.8',
'sphinx_rtd_theme>=0.3.0,<0.4',
],
'mypy:python_version >= "3.4"': [
'mypy',
],
'test': [
'coverage>=4.3.4,<5.0.0',
'coveralls>=1.1,<2.0',
'flake8>=3.3.0,<4.0.0',
],
'test:python_version < "3.3"': [
'mock>=2.0.0,<3.0.0',
],
}
classifiers = [
'Development Status :: 5 - Production/Stable',
'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.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Internet',
]
setup(
name='python-gyazo',
version=__version__,
description='A Python wrapper for Gyazo API',
long_description=long_description,
author='Yusuke Miyazaki',
author_email='[email protected]',
url='https://github.com/ymyzk/python-gyazo',
license='MIT',
packages=['gyazo'],
package_data=package_data,
test_suite='tests',
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4',
install_requires=install_requires,
extras_require=extras_require,
classifiers=classifiers,
)
|
#!/usr/bin/env python
from codecs import open
from os import path
from setuptools import setup
here = path.abspath(path.dirname(__file__))
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
with open(path.join(here, 'gyazo/__about__.py')) as f:
exec(f.read())
package_data = {
'gyazo': ['*.pyi'],
}
install_requires = [
'python-dateutil>=2.4.2',
'requests>=2.7.0',
]
extras_require = {
':python_version < "3.5"': [
'typing',
],
'docs': [
'Sphinx>=1.7,<1.8',
'sphinx_rtd_theme>=0.2.4,<0.3',
],
'mypy:python_version >= "3.4"': [
'mypy',
],
'test': [
'coverage>=4.3.4,<5.0.0',
'coveralls>=1.1,<2.0',
'flake8>=3.3.0,<4.0.0',
],
'test:python_version < "3.3"': [
'mock>=2.0.0,<3.0.0',
],
}
classifiers = [
'Development Status :: 5 - Production/Stable',
'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.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Internet',
]
setup(
name='python-gyazo',
version=__version__,
description='A Python wrapper for Gyazo API',
long_description=long_description,
author='Yusuke Miyazaki',
author_email='[email protected]',
url='https://github.com/ymyzk/python-gyazo',
license='MIT',
packages=['gyazo'],
package_data=package_data,
test_suite='tests',
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4',
install_requires=install_requires,
extras_require=extras_require,
classifiers=classifiers,
)
|
mit
|
Python
|
f09eddcc04ebcf74daf968a973d3275feaee3b66
|
correct email address
|
dougmet/yamlmd
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(name='yamlmd',
version='0.1.4',
description='Read and write to Markdown files with yaml headers',
url='https://github.com/dougmet/yamlmd',
author='Doug Ashton',
author_email='[email protected]',
license='MIT',
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
zip_safe=False,
install_requires=['ruamel.yaml>0.15'])
|
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
setup(name='yamlmd',
version='0.1.4',
description='Read and write to Markdown files with yaml headers',
url='https://github.com/dougmet/yamlmd',
author='Doug Ashton',
author_email='[email protected]',
license='MIT',
packages=find_packages(exclude=['contrib', 'docs', 'tests*']),
zip_safe=False,
install_requires=['ruamel.yaml>0.15'])
|
mit
|
Python
|
d3edf99aafd2233a13cd3b86bae3628803eb64ff
|
update pyyaml (#29)
|
blturner/django-stardate,blturner/django-stardate
|
setup.py
|
setup.py
|
from setuptools import find_packages, setup
setup(
name="django-stardate",
version="0.1.0.a5",
author=u"Benjamin Turner",
author_email="[email protected]",
packages=find_packages(),
url="https://github.com/blturner/django-stardate",
download_url="https://github.com/blturner/django-stardate/archive/v0.1.0.a5.tar.gz",
license="BSD",
description="Another django blog app.",
zip_safe=False,
install_requires=[
"Django>=1.4,<1.12",
"django-markupfield==1.4.0",
"dropbox==8.8.1",
"Markdown==2.6.5",
"PyYaml==5.1",
"python-dateutil==2.4.2",
"pytz<2015.7",
"social-auth-app-django==2.1.0",
"watchdog==0.8.3",
],
test_requires=["mock==1.3.0"],
)
|
from setuptools import find_packages, setup
setup(
name='django-stardate',
version='0.1.0.a5',
author=u'Benjamin Turner',
author_email='[email protected]',
packages=find_packages(),
url='https://github.com/blturner/django-stardate',
download_url='https://github.com/blturner/django-stardate/archive/v0.1.0.a5.tar.gz',
license='BSD',
description='Another django blog app.',
zip_safe=False,
install_requires=[
'Django>=1.4,<1.12',
'django-markupfield==1.4.0',
'dropbox==8.8.1',
'Markdown==2.6.5',
'PyYAML==3.11',
'python-dateutil==2.4.2',
'pytz<2015.7',
'social-auth-app-django==2.1.0',
'watchdog==0.8.3',
],
test_requires=['mock==1.3.0',]
)
|
bsd-3-clause
|
Python
|
d10bf29735da04789b4710519a2d4cc006d9d95e
|
Bump up version number to 0.7.
|
cwant/tessagon
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
long_description = '''
===========================================
tessagon: tessellation / tiling with python
===========================================
Tessellate your favorite 3D surfaces (technically, 2D manifolds) with
triangles, hexagons, or a number of other curated tiling types!
Please visit the Github repository for documentation:
`<https://github.com/cwant/tessagon>`_
Either checkout the code from the Github project, or install via pip::
python3 -m pip install tessagon
or::
pip3 install tessagon
'''[1:-1]
setup(
name='tessagon',
version='0.7',
description='Tessellate your favorite 2D manifolds with triangles, ' +
'hexagons, and other interesting patterns.',
long_description=long_description,
url='https://github.com/cwant/tessagon',
author='Chris Want',
classifiers=['Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Manufacturing',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Artistic Software',
'Topic :: Multimedia :: Graphics :: 3D Modeling',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Scientific/Engineering :: Visualization'],
keywords='tesselation tiling modeling blender vtk',
packages=find_packages(exclude=['tests', 'demo', 'wire_skin.py']),
python_requires='>=3.5'
)
|
from setuptools import setup, find_packages
long_description = '''
===========================================
tessagon: tessellation / tiling with python
===========================================
Tessellate your favorite 3D surfaces (technically, 2D manifolds) with
triangles, hexagons, or a number of other curated tiling types!
Please visit the Github repository for documentation:
`<https://github.com/cwant/tessagon>`_
Either checkout the code from the Github project, or install via pip::
python3 -m pip install tessagon
or::
pip3 install tessagon
'''[1:-1]
setup(
name='tessagon',
version='0.6',
description='Tessellate your favorite 2D manifolds with triangles, ' +
'hexagons, and other interesting patterns.',
long_description=long_description,
url='https://github.com/cwant/tessagon',
author='Chris Want',
classifiers=['Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Manufacturing',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Artistic Software',
'Topic :: Multimedia :: Graphics :: 3D Modeling',
'Topic :: Scientific/Engineering :: Mathematics',
'Topic :: Scientific/Engineering :: Visualization'],
keywords='tesselation tiling modeling blender vtk',
packages=find_packages(exclude=['tests', 'demo', 'wire_skin.py']),
python_requires='~=3.5'
)
|
apache-2.0
|
Python
|
62388517c5b3c3ff37ebc65d097c76761ca07120
|
Remove pytest-runner from install_requires
|
mirumee/django-prices-openexchangerates
|
setup.py
|
setup.py
|
#! /usr/bin/env python
import os
from setuptools import setup
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'test_settings')
CLASSIFIERS = [
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules']
setup(
name='django-prices-openexchangerates',
author='Mirumee Software',
author_email='[email protected]',
description='openexchangerates.org support for django-prices',
license='BSD',
version='0.1.15',
url='https://github.com/mirumee/django-prices-openexchangerates',
packages=[
'django_prices_openexchangerates',
'django_prices_openexchangerates.management',
'django_prices_openexchangerates.management.commands',
'django_prices_openexchangerates.migrations',
'django_prices_openexchangerates.templatetags'],
include_package_data=True,
classifiers=CLASSIFIERS,
install_requires=['Django>=1.4', 'django-prices>=0.6.1', 'prices>=1.0.0-beta'],
platforms=['any'],
setup_requires=['pytest-runner'],
tests_require=['mock==1.0.1', 'pytest'],
test_suite='django_prices_openexchangerates.tests',
zip_safe=False)
|
#! /usr/bin/env python
import os
from setuptools import setup
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'test_settings')
CLASSIFIERS = [
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules']
setup(
name='django-prices-openexchangerates',
author='Mirumee Software',
author_email='[email protected]',
description='openexchangerates.org support for django-prices',
license='BSD',
version='0.1.15',
url='https://github.com/mirumee/django-prices-openexchangerates',
packages=[
'django_prices_openexchangerates',
'django_prices_openexchangerates.management',
'django_prices_openexchangerates.management.commands',
'django_prices_openexchangerates.migrations',
'django_prices_openexchangerates.templatetags'],
include_package_data=True,
classifiers=CLASSIFIERS,
install_requires=['Django>=1.4', 'pytest-runner', 'django-prices>=0.6.1', 'prices>=1.0.0-beta'],
platforms=['any'],
setup_requires=['pytest-runner'],
tests_require=['mock==1.0.1', 'pytest'],
test_suite='django_prices_openexchangerates.tests',
zip_safe=False)
|
bsd-3-clause
|
Python
|
39974144af20ed4c4e2f110e345e75745e38bbc6
|
FIX #10
|
alex/django-templatetag-sugar,IRI-Research/django-templatetag-sugar
|
setup.py
|
setup.py
|
from distutils.core import setup
setup(
name = "django-templatetag-sugar",
version = __import__("templatetag_sugar").__version__,
author = "Alex Gaynor",
author_email = "[email protected]",
description = "A library to make Django's template tags sweet.",
long_description = open("README.rst").read(),
license = "BSD",
url = "http://github.com/alex/django-templatetag-sugar/",
packages = [
"templatetag_sugar",
],
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Framework :: Django",
]
)
|
from distutils.core import setup
setup(
name = "django-templatetag-sugar",
version = __import__("templatetag_sugar").__version__,
author = "Alex Gaynor",
author_email = "[email protected]",
description = "A library to make Django's template tags sweet.",
long_description = open("README").read(),
license = "BSD",
url = "http://github.com/alex/django-templatetag-sugar/",
packages = [
"templatetag_sugar",
],
classifiers = [
"Development Status :: 3 - Alpha",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Framework :: Django",
]
)
|
bsd-3-clause
|
Python
|
196f58111987bb42e8bbaf5d3d99d92366d298a2
|
fix broken homepage url
|
pengutronix/aiohttp-json-rpc,pengutronix/aiohttp-json-rpc,pengutronix/aiohttp-json-rpc
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(name='aiohttp-json-rpc',
version='0.2.1',
author='Florian Scherf',
url='https://github.com/pengutronix/aiohttp-json-rpc/',
author_email='[email protected]',
license='Apache 2.0',
install_requires=['aiohttp>=0.17.0'],
packages=['aiohttp_json_rpc'],
zip_safe=False)
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(name='aiohttp-json-rpc',
version='0.2.0',
author='Florian Scherf',
url='https://github.com/pengutronix/aiohttp-json-rpc/tree/doc',
author_email='[email protected]',
license='Apache 2.0',
install_requires=['aiohttp>=0.17.0'],
packages=['aiohttp_json_rpc'],
zip_safe=False)
|
apache-2.0
|
Python
|
3aabf183a84aeb8201f210fe3ee5e8cac7804297
|
update description for setup
|
karec/oct,karec/oct,TheGhouls/oct,TheGhouls/oct,TheGhouls/oct
|
setup.py
|
setup.py
|
__author__ = 'manu'
import os
from setuptools import setup, find_packages
from oct import __version__
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
setup(
name='oct',
version=__version__,
author='Emmanuel Valette',
author_email='[email protected]',
packages=['oct', 'oct.core', 'oct.multimechanize', 'oct.testing',
'oct.multimechanize.utilities', 'oct.utilities', 'oct.tools'],
package_data={'oct.utilities': ['templates/css/*']},
description="A library based on multi-mechanize for performances testing, using custom browser for writing tests",
url='https://github.com/karec/oct',
download_url='https://github.com/karec/oct/archive/master.zip',
keywords=['testing', 'multi-mechanize', 'perfs', 'webscrapper', 'browser', 'web', 'performances', 'lxml'],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
],
install_requires=[
'argparse',
'requests',
'lxml',
'celery',
'cssselect',
'pygal',
'cairosvg',
'tinycss'
],
entry_points={'console_scripts': [
'multimech-run = oct.multimechanize.utilities.run:main',
'multimech-newproject = oct.multimechanize.utilities.newproject:main',
'multimech-gridgui = oct.multimechanize.utilities.gridgui:main',
'oct-run = oct.utilities.run:oct_main',
'oct-newproject = oct.utilities.newproject:main',
'octtools-sitemap-to-csv = oct.tools.xmltocsv:sitemap_to_csv',
'octtools-user-generator = oct.tools.email_generator:email_generator'
]},
)
|
__author__ = 'manu'
import os
from setuptools import setup, find_packages
from oct import __version__
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
setup(
name='oct',
version=__version__,
author='Emmanuel Valette',
author_email='[email protected]',
packages=['oct', 'oct.core', 'oct.multimechanize', 'oct.testing',
'oct.multimechanize.utilities', 'oct.utilities', 'oct.tools'],
package_data={'oct.utilities': ['templates/css/*']},
description='A library based on multi-mechanize for performances testing',
url='https://github.com/karec/oct',
download_url='https://github.com/karec/oct/archive/master.zip',
keywords=['testing', 'multi-mechanize', 'perfs', 'webscrapper', 'browser', 'web', 'performances'],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
],
install_requires=[
'argparse',
'requests',
'lxml',
'celery',
'cssselect',
'pygal',
'cairosvg',
'tinycss'
],
entry_points={'console_scripts': [
'multimech-run = oct.multimechanize.utilities.run:main',
'multimech-newproject = oct.multimechanize.utilities.newproject:main',
'multimech-gridgui = oct.multimechanize.utilities.gridgui:main',
'oct-run = oct.utilities.run:oct_main',
'oct-newproject = oct.utilities.newproject:main',
'octtools-sitemap-to-csv = oct.tools.xmltocsv:sitemap_to_csv',
'octtools-user-generator = oct.tools.email_generator:email_generator'
]},
)
|
mit
|
Python
|
ad4a51f79ab51bb64e91bc716758295dd071072d
|
Upgrade scramp to latest version
|
tlocke/pg8000
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import versioneer
from setuptools import setup
long_description = """\
pg8000
------
pg8000 is a Pure-Python interface to the PostgreSQL database engine. It is \
one of many PostgreSQL interfaces for the Python programming language. pg8000 \
is somewhat distinctive in that it is written entirely in Python and does not \
rely on any external libraries (such as a compiled python module, or \
PostgreSQL's libpq library). pg8000 supports the standard Python DB-API \
version 2.0.
pg8000's name comes from the belief that it is probably about the 8000th \
PostgreSQL interface for Python."""
cmdclass = dict(versioneer.get_cmdclass())
version = versioneer.get_version()
setup(
name="pg8000",
version=version,
cmdclass=cmdclass,
description="PostgreSQL interface library",
long_description=long_description,
author="Mathieu Fenniak",
author_email="[email protected]",
url="https://github.com/tlocke/pg8000",
license="BSD",
python_requires='>=3.5',
install_requires=['scramp==1.1.1'],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: Implementation",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: Jython",
"Programming Language :: Python :: Implementation :: PyPy",
"Operating System :: OS Independent",
"Topic :: Database :: Front-Ends",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords="postgresql dbapi",
packages=("pg8000",)
)
|
#!/usr/bin/env python
import versioneer
from setuptools import setup
long_description = """\
pg8000
------
pg8000 is a Pure-Python interface to the PostgreSQL database engine. It is \
one of many PostgreSQL interfaces for the Python programming language. pg8000 \
is somewhat distinctive in that it is written entirely in Python and does not \
rely on any external libraries (such as a compiled python module, or \
PostgreSQL's libpq library). pg8000 supports the standard Python DB-API \
version 2.0.
pg8000's name comes from the belief that it is probably about the 8000th \
PostgreSQL interface for Python."""
cmdclass = dict(versioneer.get_cmdclass())
version = versioneer.get_version()
setup(
name="pg8000",
version=version,
cmdclass=cmdclass,
description="PostgreSQL interface library",
long_description=long_description,
author="Mathieu Fenniak",
author_email="[email protected]",
url="https://github.com/tlocke/pg8000",
license="BSD",
python_requires='>=3.5',
install_requires=['scramp==1.1.0'],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: Implementation",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: Jython",
"Programming Language :: Python :: Implementation :: PyPy",
"Operating System :: OS Independent",
"Topic :: Database :: Front-Ends",
"Topic :: Software Development :: Libraries :: Python Modules",
],
keywords="postgresql dbapi",
packages=("pg8000",)
)
|
bsd-3-clause
|
Python
|
943ea720f49c3b15d7fa08c39af3db4697550022
|
Update authors
|
swappsco/django-qa,swappsco/django-qa
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import find_packages, setup
with open('README.md') as file:
long_description = file.read()
setup(
name='django-qa',
version='0.0.1',
description='Pluggable django app for Q&A',
long_description=long_description,
author='arjunkomath, cdvv7788, sebastian-code',
author_email='[email protected]',
url='https://github.com/swappsco/django-qa',
license='MIT',
packages=find_packages(),
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
],
install_requires=[
'django-annoying',
'django_bootstrap3',
'django_markdown',
'pillow',
],
extras_require={
'i18n': [
'django-modeltranslation>=0.5b1',
],
},
include_package_data=True,
zip_safe=False,
)
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import find_packages, setup
with open('README.md') as file:
long_description = file.read()
setup(
name='django-qa',
version='0.0.1',
description='Pluggable django app for Q&A',
long_description=long_description,
author='arjunkomath, cdvv7788',
author_email='[email protected]',
url='https://github.com/swappsco/django-qa',
license='MIT',
packages=find_packages(),
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
],
install_requires=[
'django-annoying',
'django_bootstrap3',
'django_markdown',
'pillow',
],
extras_require={
'i18n': [
'django-modeltranslation>=0.5b1',
],
},
include_package_data=True,
zip_safe=False,
)
|
mit
|
Python
|
a26e023272b3b99cfa7578dcaa8570b8e451e03b
|
switch to pyannote.algorithms 0.8
|
pyannote/pyannote-video
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# encoding: utf-8
# The MIT License (MIT)
# Copyright (c) 2015-2018 CNRS
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# AUTHORS
# Herve BREDIN - http://herve.niderb.fr
from setuptools import setup, find_packages
import versioneer
setup(
# package
namespace_packages=['pyannote'],
packages=find_packages(),
scripts=[
"scripts/pyannote-structure.py",
"scripts/pyannote-face.py"
],
install_requires=[
'pyannote.core >= 1.3.1',
'pyannote.algorithms >= 0.8',
'numpy >= 1.8',
'docopt >= 0.6.2',
'tqdm >= 4.23.2',
'dlib == 19.12',
'opencv-python == 3.4.1.15',
'munkres >= 1.0.7',
'moviepy == 0.2.3.4',
'pandas >= 0.20.3',
],
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
# PyPI
name='pyannote.video',
description=('Video processing (including face detection, tracking, and clustering)'),
author='Herve Bredin',
author_email='[email protected]',
url='http://herve.niderb.fr/',
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Topic :: Scientific/Engineering"
],
)
|
#!/usr/bin/env python
# encoding: utf-8
# The MIT License (MIT)
# Copyright (c) 2015-2018 CNRS
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# AUTHORS
# Herve BREDIN - http://herve.niderb.fr
from setuptools import setup, find_packages
import versioneer
setup(
# package
namespace_packages=['pyannote'],
packages=find_packages(),
scripts=[
"scripts/pyannote-structure.py",
"scripts/pyannote-face.py"
],
install_requires=[
'pyannote.core >= 1.3.1',
'pyannote.algorithms >= 0.7.3',
'numpy >= 1.8',
'docopt >= 0.6.2',
'tqdm >= 4.23.2',
'dlib == 19.12',
'opencv-python == 3.4.1.15',
'munkres >= 1.0.7',
'moviepy == 0.2.3.4',
'pandas >= 0.20.3',
],
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
# PyPI
name='pyannote.video',
description=('Video processing (including face detection, tracking, and clustering)'),
author='Herve Bredin',
author_email='[email protected]',
url='http://herve.niderb.fr/',
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Topic :: Scientific/Engineering"
],
)
|
mit
|
Python
|
5ffa6281781215a165256b6bd57aea25e63b9902
|
bump version
|
kmike/port-for
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from distutils.core import setup
for cmd in ('egg_info', 'develop'):
import sys
if cmd in sys.argv:
from setuptools import setup
version='0.3.1'
setup(
name='port-for',
version=version,
author='Mikhail Korobov',
author_email='[email protected]',
packages=['port_for'],
scripts=['scripts/port-for'],
url='https://github.com/kmike/port-for/',
license = 'MIT license',
description = """Utility that helps with local TCP ports managment. It can find an unused TCP localhost port and remember the association.""",
long_description = open('README.rst').read(),
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Operating System :: POSIX',
'Topic :: System :: Installation/Setup',
'Topic :: System :: Systems Administration',
'Topic :: Internet :: WWW/HTTP :: Site Management',
],
)
|
#!/usr/bin/env python
from distutils.core import setup
for cmd in ('egg_info', 'develop'):
import sys
if cmd in sys.argv:
from setuptools import setup
version='0.3'
setup(
name='port-for',
version=version,
author='Mikhail Korobov',
author_email='[email protected]',
packages=['port_for'],
scripts=['scripts/port-for'],
url='https://github.com/kmike/port-for/',
license = 'MIT license',
description = """Utility that helps with local TCP ports managment. It can find an unused TCP localhost port and remember the association.""",
long_description = open('README.rst').read(),
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Operating System :: POSIX',
'Topic :: System :: Installation/Setup',
'Topic :: System :: Systems Administration',
'Topic :: Internet :: WWW/HTTP :: Site Management',
],
)
|
mit
|
Python
|
16364ea9a1e7f0c0a79b2c6dbef71733dad89285
|
Bump version
|
PointyShinyBurning/cpgintegrate
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name="cpgintegrate",
version="0.1.0",
packages=find_packages(),
include_package_data=True,
install_requires=[
'requests>=2.10',
'lxml>=3',
'pandas>=0.18.1',
'xlrd',
'walrus',
]
)
|
from setuptools import setup, find_packages
setup(
name="cpgintegrate",
version="0.0.1",
packages=find_packages(),
include_package_data=True,
install_requires=[
'requests>=2.10',
'lxml>=3',
'pandas>=0.18.1',
'xlrd',
'walrus',
]
)
|
agpl-3.0
|
Python
|
ebdaac2211b3fff048b421b07ddfd20a0b162683
|
add description
|
djedproject/djed.formatter
|
setup.py
|
setup.py
|
import os
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
with open(os.path.join(here, 'CHANGES.txt')) as f:
CHANGES = f.read()
install_requires = [
'babel',
'pyramid',
'pytz',
]
tests_require = install_requires + [
'nose',
'webtest',
]
setup(
name='djed.formatter',
version='0.1.dev0',
description='Formatting helpers for pyramid',
long_description='\n\n'.join([README, CHANGES]),
classifiers=[
"Framework :: Pyramid",
"Intended Audience :: Developers",
"License :: OSI Approved :: ISC License (ISCL)",
"Programming Language :: Python",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Topic :: Internet :: WWW/HTTP",
],
author='Djed developers',
author_email='[email protected]',
url='https://github.com/djedproject/djed.formatter',
license='ISC License (ISCL)',
keywords='web pyramid pylons',
packages=['djed.formatter'],
include_package_data=True,
install_requires=install_requires,
extras_require={
'testing': tests_require,
},
test_suite='nose.collector',
)
|
import os
from setuptools import setup
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as f:
README = f.read()
with open(os.path.join(here, 'CHANGES.txt')) as f:
CHANGES = f.read()
install_requires = [
'babel',
'pyramid',
'pytz',
]
tests_require = install_requires + [
'nose',
'webtest',
]
setup(
name='djed.formatter',
version='0.1.dev0',
description='djed.formatter',
long_description='\n\n'.join([README, CHANGES]),
classifiers=[
"Framework :: Pyramid",
"Intended Audience :: Developers",
"License :: OSI Approved :: ISC License (ISCL)",
"Programming Language :: Python",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Topic :: Internet :: WWW/HTTP",
],
author='Djed developers',
author_email='[email protected]',
url='https://github.com/djedproject/djed.formatter',
license='ISC License (ISCL)',
keywords='web pyramid pylons',
packages=['djed.formatter'],
include_package_data=True,
install_requires=install_requires,
extras_require={
'testing': tests_require,
},
test_suite='nose.collector',
)
|
isc
|
Python
|
71a8ba9fef93a9918f71852d2dbb7a023583d017
|
Fix setup.py
|
ensonic/ev3dev-lang-python,ensonic/ev3dev-lang-python-1,rhempel/ev3dev-lang-python,dwalton76/ev3dev-lang-python,dwalton76/ev3dev-lang-python,ddemidov/ev3dev-lang-python-1
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name='python-ev3dev',
version='0.0.1',
description='Python language bindings for ev3dev',
author='Ralph Hempel',
license='MIT',
url='https://github.com/rhempel/ev3dev-lang-python',
include_package_data=True,
py_modules=['ev3dev']
)
|
from setuptools import setup
setup(
name='python-ev3dev',
version='0.0.1',
description='Python language bindings for ev3dev',
author='Ralph Hempel',
license='MIT',
url='https://github.com/rhempel/ev3dev-lang-python',
include_package_data=True,
packages=['ev3dev']
)
|
mit
|
Python
|
14adcaa2f7b01695ca7a975cc4c0de8602f25cc6
|
Bump version
|
lauft/timew-report
|
setup.py
|
setup.py
|
from setuptools import setup
with open("README.md", "r") as fh:
long_description = fh.read()
config = {
'name': 'timew-report',
'version': '1.3.1',
'description': 'An interface for TimeWarrior report data',
'long_description': long_description,
'long_description_content_type': 'text/markdown',
'url': 'https://github.com/lauft/timew-report.git',
'author': 'Thomas Lauf',
'author_email': '[email protected]',
'license': 'MIT License',
'classifiers': [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Utilities',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.4',
],
'keywords': 'timewarrior taskwarrior time-tracking',
'packages': ['timewreport'],
'install_requires': ['python-dateutil'],
}
setup(**config)
|
from setuptools import setup
with open("README.md", "r") as fh:
long_description = fh.read()
config = {
'name': 'timew-report',
'version': '1.3.0',
'description': 'An interface for TimeWarrior report data',
'long_description': long_description,
'long_description_content_type': 'text/markdown',
'url': 'https://github.com/lauft/timew-report.git',
'author': 'Thomas Lauf',
'author_email': '[email protected]',
'license': 'MIT License',
'classifiers': [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Utilities',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.4',
],
'keywords': 'timewarrior taskwarrior time-tracking',
'packages': ['timewreport'],
'install_requires': ['python-dateutil'],
}
setup(**config)
|
mit
|
Python
|
aaa094dd48e99d36a9dd9db513063b11cb86f92a
|
Bump version to 1.4
|
SectorLabs/django-postgres-extra
|
setup.py
|
setup.py
|
import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
setup(
name='django-postgres-extra',
version='1.4',
packages=find_packages(),
include_package_data=True,
license='MIT License',
description='Bringing all of PostgreSQL\'s awesomeness to Django.',
long_description=README,
url='https://github.com/SectorLabs/django-postgres-extra',
author='Sector Labs',
author_email='[email protected]',
keywords=['django', 'postgres', 'extra', 'hstore', 'ltree'],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
]
)
|
import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
setup(
name='django-postgres-extra',
version='1.3',
packages=find_packages(),
include_package_data=True,
license='MIT License',
description='Bringing all of PostgreSQL\'s awesomeness to Django.',
long_description=README,
url='https://github.com/SectorLabs/django-postgres-extra',
author='Sector Labs',
author_email='[email protected]',
keywords=['django', 'postgres', 'extra', 'hstore', 'ltree'],
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
]
)
|
mit
|
Python
|
3c411b1bf016ce1b216ab7ad547c85862ab2519b
|
Add brackets around print() for python 3 compatibility
|
pombredanne/rest_condition,justanr/rest_condition,caxap/rest_condition,barseghyanartur/rest_condition
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import re
import os
import sys
name = 'rest_condition'
package = 'rest_condition'
description = 'Complex permissions flow for django-rest-framework'
url = 'https://github.com/caxap/rest_condition'
author = 'Maxim Kamenkov'
author_email = '[email protected]'
license = 'MIT'
keywords = 'django, rest, restframework, permissions'
classifiers = [
'Development Status :: 3 - Alpha',
'Framework :: Django',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries',
]
install_requires = [
'django >= 1.3',
'djangorestframework',
]
def get_version(package):
"""
Return package version as listed in `__version__` in `init.py`.
"""
init_py = open(os.path.join(package, '__init__.py')).read()
return re.search("^__version__ = ['\"]([^'\"]+)['\"]", init_py, re.MULTILINE).group(1)
def get_packages(package):
"""
Return root package and all sub-packages.
"""
return [dirpath
for dirpath, dirnames, filenames in os.walk(package)
if os.path.exists(os.path.join(dirpath, '__init__.py'))]
def get_package_data(package):
"""
Return all files under the root package, that are not in a
package themselves.
"""
walk = [(dirpath.replace(package + os.sep, '', 1), filenames)
for dirpath, dirnames, filenames in os.walk(package)
if not os.path.exists(os.path.join(dirpath, '__init__.py'))]
filepaths = []
for base, filenames in walk:
filepaths.extend([os.path.join(base, filename)
for filename in filenames])
return {package: filepaths}
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
args = {'version': get_version(package)}
print("You probably want to also tag the version now:")
print(" git tag -a %(version)s -m 'version %(version)s'" % args)
print(" git push --tags")
sys.exit()
setup(
name=name,
version=get_version(package),
url=url,
license=license,
description=description,
author=author,
author_email=author_email,
packages=get_packages(package),
package_data=get_package_data(package),
install_requires=install_requires,
classifiers=classifiers
)
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup
import re
import os
import sys
name = 'rest_condition'
package = 'rest_condition'
description = 'Complex permissions flow for django-rest-framework'
url = 'https://github.com/caxap/rest_condition'
author = 'Maxim Kamenkov'
author_email = '[email protected]'
license = 'MIT'
keywords = 'django, rest, restframework, permissions'
classifiers = [
'Development Status :: 3 - Alpha',
'Framework :: Django',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries',
]
install_requires = [
'django >= 1.3',
'djangorestframework',
]
def get_version(package):
"""
Return package version as listed in `__version__` in `init.py`.
"""
init_py = open(os.path.join(package, '__init__.py')).read()
return re.search("^__version__ = ['\"]([^'\"]+)['\"]", init_py, re.MULTILINE).group(1)
def get_packages(package):
"""
Return root package and all sub-packages.
"""
return [dirpath
for dirpath, dirnames, filenames in os.walk(package)
if os.path.exists(os.path.join(dirpath, '__init__.py'))]
def get_package_data(package):
"""
Return all files under the root package, that are not in a
package themselves.
"""
walk = [(dirpath.replace(package + os.sep, '', 1), filenames)
for dirpath, dirnames, filenames in os.walk(package)
if not os.path.exists(os.path.join(dirpath, '__init__.py'))]
filepaths = []
for base, filenames in walk:
filepaths.extend([os.path.join(base, filename)
for filename in filenames])
return {package: filepaths}
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
args = {'version': get_version(package)}
print "You probably want to also tag the version now:"
print " git tag -a %(version)s -m 'version %(version)s'" % args
print " git push --tags"
sys.exit()
setup(
name=name,
version=get_version(package),
url=url,
license=license,
description=description,
author=author,
author_email=author_email,
packages=get_packages(package),
package_data=get_package_data(package),
install_requires=install_requires,
classifiers=classifiers
)
|
mit
|
Python
|
f7060d983022438008a1de7f865d478bf266651c
|
add version classifiers
|
FunTimeCoding/jenkins-job-manager,FunTimeCoding/jenkins-job-manager
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
from setuptools import setup
setup(
name='jenkins-job-manager',
version='0.1.0',
description='Generate job configuration files for Jenkins.',
url='https://github.com/FunTimeCoding/jenkins-job-manager',
author='Alexander Reitzel',
author_email='[email protected]',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
install_requires=['lxml'],
scripts=['bin/jjm'],
packages=['jenkins_job_manager'],
download_url='http://funtimecoding.org/jenkins-job-manager.tar.gz',
)
|
#!/usr/bin/env python3
from setuptools import setup
setup(
name='jenkins-job-manager',
version='0.1.0',
description='Generate job configuration files for Jenkins.',
url='https://github.com/FunTimeCoding/jenkins-job-manager',
author='Alexander Reitzel',
author_email='[email protected]',
license='MIT',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Software Development :: Build Tools',
'License :: OSI Approved :: MIT License',
],
install_requires=['lxml'],
scripts=['bin/jjm'],
packages=['jenkins_job_manager'],
download_url='http://funtimecoding.org/jenkins-job-manager.tar.gz',
)
|
mit
|
Python
|
7bab32ef89d760a8cf4aeb2700725ea88e3fc31c
|
Add further tests for class defining __hash__.
|
martinribelotta/micropython,puuu/micropython,ganshun666/micropython,suda/micropython,EcmaXp/micropython,ChuckM/micropython,mgyenik/micropython,pramasoul/micropython,infinnovation/micropython,bvernoux/micropython,xyb/micropython,lbattraw/micropython,adafruit/circuitpython,blazewicz/micropython,tobbad/micropython,kostyll/micropython,toolmacher/micropython,kostyll/micropython,chrisdearman/micropython,cwyark/micropython,dhylands/micropython,orionrobots/micropython,omtinez/micropython,trezor/micropython,lowRISC/micropython,ernesto-g/micropython,blmorris/micropython,kerneltask/micropython,lowRISC/micropython,stonegithubs/micropython,tralamazza/micropython,mpalomer/micropython,skybird6672/micropython,trezor/micropython,PappaPeppar/micropython,blmorris/micropython,cloudformdesign/micropython,mianos/micropython,ruffy91/micropython,mpalomer/micropython,dhylands/micropython,dinau/micropython,ericsnowcurrently/micropython,toolmacher/micropython,noahchense/micropython,galenhz/micropython,ceramos/micropython,ChuckM/micropython,adafruit/circuitpython,oopy/micropython,supergis/micropython,pramasoul/micropython,xhat/micropython,henriknelson/micropython,jimkmc/micropython,misterdanb/micropython,dxxb/micropython,ganshun666/micropython,martinribelotta/micropython,hiway/micropython,rubencabrera/micropython,jmarcelino/pycom-micropython,MrSurly/micropython-esp32,deshipu/micropython,orionrobots/micropython,bvernoux/micropython,mgyenik/micropython,deshipu/micropython,chrisdearman/micropython,orionrobots/micropython,pramasoul/micropython,skybird6672/micropython,tdautc19841202/micropython,ernesto-g/micropython,pramasoul/micropython,slzatz/micropython,ganshun666/micropython,pfalcon/micropython,vitiral/micropython,swegener/micropython,dinau/micropython,praemdonck/micropython,vitiral/micropython,TDAbboud/micropython,firstval/micropython,tuc-osg/micropython,tdautc19841202/micropython,omtinez/micropython,puuu/micropython,emfcamp/micropython,neilh10/micropython,cloudformdesign/micropython,orionrobots/micropython,drrk/micropython,Peetz0r/micropython-esp32,swegener/micropython,HenrikSolver/micropython,torwag/micropython,cnoviello/micropython,feilongfl/micropython,turbinenreiter/micropython,lowRISC/micropython,chrisdearman/micropython,pfalcon/micropython,neilh10/micropython,SHA2017-badge/micropython-esp32,ahotam/micropython,feilongfl/micropython,chrisdearman/micropython,adamkh/micropython,MrSurly/micropython,micropython/micropython-esp32,cwyark/micropython,adamkh/micropython,ruffy91/micropython,tralamazza/micropython,rubencabrera/micropython,henriknelson/micropython,selste/micropython,danicampora/micropython,blmorris/micropython,adafruit/circuitpython,suda/micropython,rubencabrera/micropython,jlillest/micropython,puuu/micropython,TDAbboud/micropython,hiway/micropython,suda/micropython,tdautc19841202/micropython,matthewelse/micropython,feilongfl/micropython,heisewangluo/micropython,matthewelse/micropython,stonegithubs/micropython,mianos/micropython,alex-march/micropython,Peetz0r/micropython-esp32,xyb/micropython,slzatz/micropython,hosaka/micropython,TDAbboud/micropython,selste/micropython,ceramos/micropython,MrSurly/micropython,HenrikSolver/micropython,misterdanb/micropython,skybird6672/micropython,adamkh/micropython,adamkh/micropython,henriknelson/micropython,ernesto-g/micropython,MrSurly/micropython,MrSurly/micropython-esp32,xyb/micropython,adafruit/circuitpython,neilh10/micropython,oopy/micropython,stonegithubs/micropython,MrSurly/micropython,martinribelotta/micropython,firstval/micropython,EcmaXp/micropython,ruffy91/micropython,TDAbboud/micropython,alex-robbins/micropython,neilh10/micropython,AriZuu/micropython,heisewangluo/micropython,bvernoux/micropython,xyb/micropython,TDAbboud/micropython,utopiaprince/micropython,noahchense/micropython,ahotam/micropython,hiway/micropython,tralamazza/micropython,jlillest/micropython,vriera/micropython,dinau/micropython,tuc-osg/micropython,slzatz/micropython,danicampora/micropython,adafruit/micropython,MrSurly/micropython,utopiaprince/micropython,drrk/micropython,skybird6672/micropython,dxxb/micropython,adafruit/circuitpython,pfalcon/micropython,kerneltask/micropython,infinnovation/micropython,Timmenem/micropython,dhylands/micropython,xuxiaoxin/micropython,stonegithubs/micropython,Peetz0r/micropython-esp32,pozetroninc/micropython,suda/micropython,galenhz/micropython,xuxiaoxin/micropython,mhoffma/micropython,deshipu/micropython,bvernoux/micropython,hosaka/micropython,danicampora/micropython,dmazzella/micropython,jlillest/micropython,ernesto-g/micropython,orionrobots/micropython,galenhz/micropython,noahwilliamsson/micropython,jmarcelino/pycom-micropython,ahotam/micropython,pozetroninc/micropython,toolmacher/micropython,galenhz/micropython,supergis/micropython,turbinenreiter/micropython,noahchense/micropython,martinribelotta/micropython,AriZuu/micropython,redbear/micropython,xhat/micropython,pfalcon/micropython,oopy/micropython,mpalomer/micropython,matthewelse/micropython,AriZuu/micropython,alex-robbins/micropython,tobbad/micropython,ryannathans/micropython,blazewicz/micropython,blmorris/micropython,supergis/micropython,mhoffma/micropython,tobbad/micropython,omtinez/micropython,tdautc19841202/micropython,suda/micropython,toolmacher/micropython,ceramos/micropython,dinau/micropython,feilongfl/micropython,ruffy91/micropython,xuxiaoxin/micropython,noahwilliamsson/micropython,stonegithubs/micropython,Timmenem/micropython,emfcamp/micropython,slzatz/micropython,vitiral/micropython,xhat/micropython,Peetz0r/micropython-esp32,ahotam/micropython,selste/micropython,infinnovation/micropython,heisewangluo/micropython,trezor/micropython,micropython/micropython-esp32,hosaka/micropython,torwag/micropython,heisewangluo/micropython,PappaPeppar/micropython,praemdonck/micropython,micropython/micropython-esp32,kostyll/micropython,kerneltask/micropython,HenrikSolver/micropython,ChuckM/micropython,noahwilliamsson/micropython,cloudformdesign/micropython,jlillest/micropython,noahchense/micropython,tuc-osg/micropython,tuc-osg/micropython,lowRISC/micropython,lbattraw/micropython,pozetroninc/micropython,feilongfl/micropython,blmorris/micropython,vriera/micropython,dmazzella/micropython,tobbad/micropython,deshipu/micropython,vitiral/micropython,mgyenik/micropython,alex-march/micropython,ryannathans/micropython,vriera/micropython,hosaka/micropython,cwyark/micropython,ericsnowcurrently/micropython,pozetroninc/micropython,dhylands/micropython,mhoffma/micropython,danicampora/micropython,adafruit/circuitpython,lbattraw/micropython,hosaka/micropython,kostyll/micropython,HenrikSolver/micropython,mianos/micropython,lbattraw/micropython,lbattraw/micropython,adafruit/micropython,hiway/micropython,vriera/micropython,blazewicz/micropython,pramasoul/micropython,turbinenreiter/micropython,cwyark/micropython,MrSurly/micropython-esp32,alex-march/micropython,cwyark/micropython,alex-robbins/micropython,trezor/micropython,tdautc19841202/micropython,micropython/micropython-esp32,praemdonck/micropython,SHA2017-badge/micropython-esp32,tuc-osg/micropython,ruffy91/micropython,Timmenem/micropython,dxxb/micropython,dmazzella/micropython,noahwilliamsson/micropython,SHA2017-badge/micropython-esp32,PappaPeppar/micropython,turbinenreiter/micropython,torwag/micropython,alex-march/micropython,kerneltask/micropython,misterdanb/micropython,ericsnowcurrently/micropython,cnoviello/micropython,swegener/micropython,puuu/micropython,ChuckM/micropython,ahotam/micropython,PappaPeppar/micropython,firstval/micropython,emfcamp/micropython,torwag/micropython,turbinenreiter/micropython,PappaPeppar/micropython,MrSurly/micropython-esp32,mianos/micropython,toolmacher/micropython,noahchense/micropython,alex-robbins/micropython,chrisdearman/micropython,jmarcelino/pycom-micropython,MrSurly/micropython-esp32,adafruit/micropython,alex-robbins/micropython,ceramos/micropython,henriknelson/micropython,jmarcelino/pycom-micropython,ernesto-g/micropython,SHA2017-badge/micropython-esp32,jlillest/micropython,EcmaXp/micropython,kerneltask/micropython,dhylands/micropython,redbear/micropython,ganshun666/micropython,torwag/micropython,ChuckM/micropython,adafruit/micropython,mgyenik/micropython,drrk/micropython,jimkmc/micropython,blazewicz/micropython,redbear/micropython,oopy/micropython,dxxb/micropython,ryannathans/micropython,cnoviello/micropython,dmazzella/micropython,kostyll/micropython,AriZuu/micropython,cloudformdesign/micropython,mpalomer/micropython,puuu/micropython,redbear/micropython,rubencabrera/micropython,omtinez/micropython,matthewelse/micropython,vitiral/micropython,matthewelse/micropython,SHA2017-badge/micropython-esp32,mpalomer/micropython,praemdonck/micropython,xuxiaoxin/micropython,ryannathans/micropython,praemdonck/micropython,dxxb/micropython,micropython/micropython-esp32,Timmenem/micropython,mgyenik/micropython,Peetz0r/micropython-esp32,vriera/micropython,pfalcon/micropython,jmarcelino/pycom-micropython,xyb/micropython,selste/micropython,infinnovation/micropython,matthewelse/micropython,danicampora/micropython,ryannathans/micropython,pozetroninc/micropython,tralamazza/micropython,jimkmc/micropython,slzatz/micropython,cnoviello/micropython,xhat/micropython,heisewangluo/micropython,dinau/micropython,martinribelotta/micropython,utopiaprince/micropython,HenrikSolver/micropython,henriknelson/micropython,adamkh/micropython,hiway/micropython,jimkmc/micropython,skybird6672/micropython,trezor/micropython,cloudformdesign/micropython,neilh10/micropython,alex-march/micropython,emfcamp/micropython,AriZuu/micropython,adafruit/micropython,firstval/micropython,lowRISC/micropython,drrk/micropython,mhoffma/micropython,deshipu/micropython,ericsnowcurrently/micropython,xuxiaoxin/micropython,infinnovation/micropython,ceramos/micropython,selste/micropython,galenhz/micropython,drrk/micropython,utopiaprince/micropython,ericsnowcurrently/micropython,noahwilliamsson/micropython,cnoviello/micropython,mianos/micropython,bvernoux/micropython,swegener/micropython,EcmaXp/micropython,omtinez/micropython,emfcamp/micropython,ganshun666/micropython,misterdanb/micropython,utopiaprince/micropython,firstval/micropython,mhoffma/micropython,xhat/micropython,blazewicz/micropython,oopy/micropython,swegener/micropython,supergis/micropython,tobbad/micropython,redbear/micropython,EcmaXp/micropython,Timmenem/micropython,rubencabrera/micropython,supergis/micropython,jimkmc/micropython,misterdanb/micropython
|
tests/basics/builtin_hash.py
|
tests/basics/builtin_hash.py
|
# test builtin hash function
print(hash(False))
print(hash(True))
print({():1}) # hash tuple
print({1 << 66:1}) # hash big int
print(hash in {hash:1}) # hash function
try:
hash([])
except TypeError:
print("TypeError")
class A:
def __hash__(self):
return 123
def __repr__(self):
return "a instance"
print(hash(A()))
print({A():1})
# all user-classes have default __hash__
class B:
pass
hash(B())
# if __eq__ is defined then default __hash__ is not used
class C:
def __eq__(self, another):
return True
try:
hash(C())
except TypeError:
print("TypeError")
# __hash__ must return an int
class D:
def __hash__(self):
return None
try:
hash(D())
except TypeError:
print("TypeError")
# __hash__ returning a bool should be converted to an int
class E:
def __hash__(self):
return True
print(hash(E()))
# __hash__ returning a large number should be truncated
class F:
def __hash__(self):
return 1 << 70 | 1
print(hash(F()) != 0)
|
# test builtin hash function
print(hash(False))
print(hash(True))
print({():1}) # hash tuple
print({1 << 66:1}) # hash big int
print(hash in {hash:1}) # hash function
try:
hash([])
except TypeError:
print("TypeError")
class A:
def __hash__(self):
return 123
def __repr__(self):
return "a instance"
print(hash(A()))
print({A():1})
# all user-classes have default __hash__
class B:
pass
hash(B())
# if __eq__ is defined then default __hash__ is not used
class C:
def __eq__(self, another):
return True
try:
hash(C())
except TypeError:
print("TypeError")
# __hash__ must return an int
class D:
def __hash__(self):
return None
try:
hash(D())
except TypeError:
print("TypeError")
|
mit
|
Python
|
fab3072a32a2ee5f8317f7fc8301c470525ec6d8
|
update setup.py info
|
silverlogic/itunes-iap
|
setup.py
|
setup.py
|
from __future__ import with_statement
from setuptools import setup
def get_version():
with open('itunesiap/version.txt') as f:
return f.read().strip()
def get_readme():
try:
with open('README.rst') as f:
return f.read().strip()
except IOError:
return ''
setup(
name='tsl-itunes-iap',
version=get_version(),
description='Itunes In-app purchase verification api.',
long_description=get_readme(),
author='Ryan Pineo',
author_email='[email protected]',
url='https://github.com/silverlogic/itunes-iap',
packages=(
'itunesiap',
),
package_data={
'itunesiap': ['version.txt']
},
install_requires=[
'requests', 'tsl-prettyexc>=0.5.2', 'six'
],
classifiers=[
'Intended Audience :: Developers',
'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',
],
)
|
from __future__ import with_statement
from setuptools import setup
def get_version():
with open('itunesiap/version.txt') as f:
return f.read().strip()
def get_readme():
try:
with open('README.rst') as f:
return f.read().strip()
except IOError:
return ''
setup(
name='itunes-iap',
version=get_version(),
description='Itunes In-app purchase verification api.',
long_description=get_readme(),
author='Jeong YunWon',
author_email='[email protected]',
url='https://github.com/youknowone/itunes-iap',
packages=(
'itunesiap',
),
package_data={
'itunesiap': ['version.txt']
},
install_requires=[
'requests', 'prettyexc>=0.5.1', 'six'
],
classifiers=[
'Intended Audience :: Developers',
'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.2',
'Programming Language :: Python :: 3.3',
],
)
|
bsd-2-clause
|
Python
|
1ae4aa4dd7fd77f323792fa6c7941dc525f93a15
|
Update core dependency to google-cloud-core >= 0.23.0, < 0.24dev. (#3028)
|
googleapis/python-dns,googleapis/python-dns
|
setup.py
|
setup.py
|
# Copyright 2016 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import os
from setuptools import find_packages
from setuptools import setup
PACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(PACKAGE_ROOT, 'README.rst')) as file_obj:
README = file_obj.read()
# NOTE: This is duplicated throughout and we should try to
# consolidate.
SETUP_BASE = {
'author': 'Google Cloud Platform',
'author_email': '[email protected]',
'scripts': [],
'url': 'https://github.com/GoogleCloudPlatform/google-cloud-python',
'license': 'Apache 2.0',
'platforms': 'Posix; MacOS X; Windows',
'include_package_data': True,
'zip_safe': False,
'classifiers': [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Internet',
],
}
REQUIREMENTS = [
'google-cloud-core >= 0.23.0, < 0.24dev',
]
setup(
name='google-cloud-dns',
version='0.22.0',
description='Python Client for Google Cloud DNS',
long_description=README,
namespace_packages=[
'google',
'google.cloud',
],
packages=find_packages(),
install_requires=REQUIREMENTS,
**SETUP_BASE
)
|
# Copyright 2016 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import os
from setuptools import find_packages
from setuptools import setup
PACKAGE_ROOT = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(PACKAGE_ROOT, 'README.rst')) as file_obj:
README = file_obj.read()
# NOTE: This is duplicated throughout and we should try to
# consolidate.
SETUP_BASE = {
'author': 'Google Cloud Platform',
'author_email': '[email protected]',
'scripts': [],
'url': 'https://github.com/GoogleCloudPlatform/google-cloud-python',
'license': 'Apache 2.0',
'platforms': 'Posix; MacOS X; Windows',
'include_package_data': True,
'zip_safe': False,
'classifiers': [
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Internet',
],
}
REQUIREMENTS = [
'google-cloud-core >= 0.22.1, < 0.23dev',
]
setup(
name='google-cloud-dns',
version='0.22.0',
description='Python Client for Google Cloud DNS',
long_description=README,
namespace_packages=[
'google',
'google.cloud',
],
packages=find_packages(),
install_requires=REQUIREMENTS,
**SETUP_BASE
)
|
apache-2.0
|
Python
|
108554d8366611658870e038b05049f4eb273d88
|
Bump version to 3.3m1
|
codilime/cloudify-rest-client,aria-tosca/cloudify-rest-client,cloudify-cosmo/cloudify-rest-client
|
setup.py
|
setup.py
|
########
# Copyright (c) 2013 GigaSpaces Technologies Ltd. All rights reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# * See the License for the specific language governing permissions and
# * limitations under the License.
from setuptools import setup
setup(
name='cloudify-rest-client',
version='3.3a1',
author='cosmo-admin',
author_email='[email protected]',
packages=['cloudify_rest_client'],
license='LICENSE',
description='Cloudify REST client',
install_requires=[
'requests<=2.5.1',
]
)
|
########
# Copyright (c) 2013 GigaSpaces Technologies Ltd. All rights reserved
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# * See the License for the specific language governing permissions and
# * limitations under the License.
from setuptools import setup
setup(
name='cloudify-rest-client',
version='3.2',
author='cosmo-admin',
author_email='[email protected]',
packages=['cloudify_rest_client'],
license='LICENSE',
description='Cloudify REST client',
install_requires=[
'requests<=2.5.1',
]
)
|
apache-2.0
|
Python
|
d4b8a64dabe31d09b9e53bb42bae3fcd737d2984
|
Set license to 'MIT'
|
guykisel/robotframework-faker,guykisel/robotframework-faker
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup
short_description = 'Robot Framework wrapper for faker, a fake test data generator'
try:
description = open('README.md').read()
except IOError:
description = short_description
try:
license = open('LICENSE').read()
except IOError:
license = 'MIT License'
classifiers = """
Development Status :: 5 - Production/Stable
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
Topic :: Software Development :: Testing
Topic :: Software Development :: Quality Assurance
Framework :: Robot Framework
""".strip().splitlines()
setup(
name='robotframework-faker',
package_dir={'': 'robotframework-faker'},
packages=['FakerLibrary'], # this must be the same as the name above
version='1.1',
description=short_description,
author='Guy Kisel',
author_email='[email protected]',
url='https://github.com/guykisel/robotframework-faker',
download_url='https://pypi.python.org/pypi/robotframework-faker',
keywords='robotframework testing test automation testautomation atdd bdd faker', # arbitrary keywords
install_requires=['fake-factory', 'robotframework'],
long_description=description,
license='MIT',
classifiers=classifiers,
platforms='any'
)
|
#!/usr/bin/env python
from setuptools import setup
short_description = 'Robot Framework wrapper for faker, a fake test data generator'
try:
description = open('README.md').read()
except IOError:
description = short_description
try:
license = open('LICENSE').read()
except IOError:
license = 'MIT License'
classifiers = """
Development Status :: 5 - Production/Stable
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
Topic :: Software Development :: Testing
Topic :: Software Development :: Quality Assurance
Framework :: Robot Framework
""".strip().splitlines()
setup(
name='robotframework-faker',
package_dir={'': 'robotframework-faker'},
packages=['FakerLibrary'], # this must be the same as the name above
version='1.1',
description=short_description,
author='Guy Kisel',
author_email='[email protected]',
url='https://github.com/guykisel/robotframework-faker',
download_url='https://pypi.python.org/pypi/robotframework-faker',
keywords='robotframework testing test automation testautomation atdd bdd faker', # arbitrary keywords
install_requires=['fake-factory', 'robotframework'],
long_description=description,
license=license,
classifiers=classifiers,
platforms='any'
)
|
mit
|
Python
|
05c767e689002dd79e306b9deacad42aeb9c436e
|
Allow setup.py to be used anywhere
|
OEP/volpy,OEP/volpy
|
setup.py
|
setup.py
|
from setuptools import setup
from Cython.Build import cythonize
import numpy as np
import os
os.chdir(os.path.dirname(__file__))
__version__ = None
exec(open('volpy/version.py').read())
setup(
name='volpy',
version=__version__,
ext_modules=cythonize('volpy/*.pyx'),
include_dirs=[np.get_include()],
packages=['volpy'],
include_package_data=True,
description='A volume renderer for python',
author='Paul Kilgo',
author_email='[email protected]',
classifiers=[
'Operating System :: POSIX',
'Programming Language :: Python :: 3',
],
)
|
from setuptools import setup
from Cython.Build import cythonize
import numpy as np
__version__ = None
exec(open('volpy/version.py').read())
setup(
name='volpy',
version=__version__,
ext_modules=cythonize('volpy/*.pyx'),
include_dirs=[np.get_include()],
packages=['volpy'],
include_package_data=True,
description='A volume renderer for python',
author='Paul Kilgo',
author_email='[email protected]',
classifiers=[
'Operating System :: POSIX',
'Programming Language :: Python :: 3',
],
)
|
mit
|
Python
|
e34b9a4d2ba732563c150985f1a6a2e70285b24e
|
Add entry point pysswords script to setup
|
scorphus/passpie,eiginn/passpie,marcwebbie/passpie,scorphus/passpie,marcwebbie/passpie,marcwebbie/pysswords,eiginn/passpie
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup
__version__ = "0.0.7"
requirements = [pkg.strip() for pkg in open('requirements.txt').readlines()]
with open("README.rst") as f:
long_description = f.read() + '\n'
setup(
name='pysswords',
version=__version__,
license='License :: OSI Approved :: MIT License',
description="Manage your login credentials from the terminal painlessly.",
long_description=long_description,
author='Marcwebbie',
author_email='[email protected]',
url='https://github.com/marcwebbie/pysswords',
download_url='https://pypi.python.org/pypi/pysswords',
packages=['pysswords'],
entry_points={
'console_scripts': [
'pysswords = pysswords.__main__:main',
]
},
install_requires=requirements,
test_suite='tests.test',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: Security :: Cryptography',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
)
|
#!/usr/bin/env python
from setuptools import setup
__version__ = "0.0.7"
requirements = [pkg.strip() for pkg in open('requirements.txt').readlines()]
with open("README.rst") as f:
long_description = f.read() + '\n'
setup(
name='pysswords',
version=__version__,
license='License :: OSI Approved :: MIT License',
description="Manage your login credentials from the terminal painlessly.",
long_description=long_description,
author='Marcwebbie',
author_email='[email protected]',
url='https://github.com/marcwebbie/pysswords',
scripts=["bin/pysswords"],
download_url='https://pypi.python.org/pypi/pysswords',
packages=['pysswords'],
install_requires=requirements,
test_suite='tests.test',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: End Users/Desktop',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: Security :: Cryptography',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
)
|
mit
|
Python
|
957a8d4a1cecc1be1a804f3ef284d4c8eca4e18a
|
Bump version to 1.0
|
zooniverse/panoptes-python-client
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name='panoptes_client',
url='https://github.com/zooniverse/panoptes-python-client',
author='Adam McMaster',
author_email='[email protected]',
version='1.0',
packages=find_packages(),
include_package_data=True,
install_requires=[
'requests>=2.4.2,<2.19',
'future>=0.16,<0.17',
'python-magic>=0.4,<0.5',
],
extras_require={
'testing': [
'mock>=2.0,<2.1',
],
'docs': [
'sphinx',
]
}
)
|
from setuptools import setup, find_packages
setup(
name='panoptes_client',
url='https://github.com/zooniverse/panoptes-python-client',
author='Adam McMaster',
author_email='[email protected]',
version='0.10',
packages=find_packages(),
include_package_data=True,
install_requires=[
'requests>=2.4.2,<2.19',
'future>=0.16,<0.17',
'python-magic>=0.4,<0.5',
],
extras_require={
'testing': [
'mock>=2.0,<2.1',
],
'docs': [
'sphinx',
]
}
)
|
apache-2.0
|
Python
|
98c6d3c3b53f3409677fab5e234c096790386a1c
|
Prepare openprocurement.auth 1.0.0.dev8.
|
Leits/openprocurement.auth,Leits/openprocurement.auth,openprocurement/openprocurement.auth,openprocurement/openprocurement.auth
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
import os
version = '1.0.0.dev8'
setup(name='openprocurement.auth',
version=version,
description="",
long_description=open("README.txt").read() + "\n" +
open(os.path.join("docs", "HISTORY.txt")).read(),
# Get more strings from
# http://pypi.python.org/pypi?:action=list_classifiers
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
],
keywords='',
author='Quintagroup, Ltd.',
author_email='[email protected]',
license='Apache License 2.0',
url='https://github.com/openprocurement/openprocurement.auth',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['openprocurement'],
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
'Flask',
'Flask-SQLAlchemy',
'werkzeug',
'Flask-OAuthlib'
],
entry_points={
'paste.app_factory': [
'oauth_provider = openprocurement.auth.provider:make_oath_provider_app'
]
},
)
|
from setuptools import setup, find_packages
import os
version = '1.0.0.dev7'
setup(name='openprocurement.auth',
version=version,
description="",
long_description=open("README.txt").read() + "\n" +
open(os.path.join("docs", "HISTORY.txt")).read(),
# Get more strings from
# http://pypi.python.org/pypi?:action=list_classifiers
classifiers=[
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python",
],
keywords='',
author='Quintagroup, Ltd.',
author_email='[email protected]',
license='Apache License 2.0',
url='https://github.com/openprocurement/openprocurement.auth',
packages=find_packages(exclude=['ez_setup']),
namespace_packages=['openprocurement'],
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
'Flask',
'Flask-SQLAlchemy',
'werkzeug',
'Flask-OAuthlib'
],
entry_points={
'paste.app_factory': [
'oauth_provider = openprocurement.auth.provider:make_oath_provider_app'
]
},
)
|
apache-2.0
|
Python
|
5709801ddb760480a5643064af49f723f2f38898
|
Fix for easy_install
|
kmike/django-generic-images,kmike/django-generic-images,kmike/django-generic-images
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from distutils.core import setup
setup(
name='django-generic-images',
version='0.12',
author='Mikhail Korobov',
author_email='[email protected]',
url='http://bitbucket.org/kmike/django-generic-images/',
description = 'Generic images pluggable django app',
long_description = "This app provides image model (with useful managers etc) that can be attached to any other Django model using generic relations. ",
license = 'MIT license',
packages=['generic_images', 'generic_utils'],
package_data={'generic_images': ['locale/en/LC_MESSAGES/*','locale/ru/LC_MESSAGES/*']},
classifiers=(
'Development Status :: 3 - Alpha',
'Environment :: Plugins',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Natural Language :: Russian',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules'
),
)
|
#!/usr/bin/env python
from distutils.core import setup
setup(
name='django-generic-images',
version='0.11b',
author='Mikhail Korobov',
author_email='[email protected]',
url='http://bitbucket.org/kmike/django-generic-images/',
description = 'Generic images pluggable django app',
long_description = "This app provides image model (with useful managers etc) that can be attached to any other Django model using generic relations. ",
license = 'MIT license',
packages=['generic_images', 'generic_utils'],
package_data={'generic_images': ['locale/en/LC_MESSAGES/*','locale/ru/LC_MESSAGES/*']},
classifiers=(
'Development Status :: 3 - Alpha',
'Environment :: Plugins',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Natural Language :: Russian',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules'
),
)
|
mit
|
Python
|
425a384436ff4c9d3521755aadc2b37f583729c6
|
fix link
|
swilly22/redisgraph-py
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
import io
def read_all(f):
with io.open(f, encoding="utf-8") as I:
return I.read()
requirements = list(map(str.strip, open("requirements.txt").readlines()))
setup(
name='redisgraph',
version='2.1.2',
description='RedisGraph Python Client',
long_description=read_all("README.md"),
long_description_content_type='text/markdown',
url='https://github.com/RedisGraph/redisgraph-py',
packages=find_packages(),
install_requires=requirements,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2.7',
'Topic :: Database'
],
keywords='Redis Graph Extension',
author='RedisLabs',
author_email='[email protected]'
)
|
from setuptools import setup, find_packages
import io
def read_all(f):
with io.open(f, encoding="utf-8") as I:
return I.read()
requirements = list(map(str.strip, open("requirements.txt").readlines()))
setup(
name='redisgraph',
version='2.1.2',
description='RedisGraph Python Client',
long_description=read_all("README.md"),
long_description_content_type='text/markdown',
url='https://github.com/redislabs/redisgraph-py',
packages=find_packages(),
install_requires=requirements,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 2.7',
'Topic :: Database'
],
keywords='Redis Graph Extension',
author='RedisLabs',
author_email='[email protected]'
)
|
bsd-2-clause
|
Python
|
4d6fdc98fd681a78eeeff6041efdfe7107a9743c
|
Set new minimum pytz version
|
GeoNode/geonode-user-accounts,ntucker/django-user-accounts,nderituedwin/django-user-accounts,mysociety/django-user-accounts,pinax/django-user-accounts,jawed123/django-user-accounts,pinax/django-user-accounts,ntucker/django-user-accounts,jpotterm/django-user-accounts,nderituedwin/django-user-accounts,jawed123/django-user-accounts,GeoNode/geonode-user-accounts,mysociety/django-user-accounts,jpotterm/django-user-accounts
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
import account
setup(
name="django-user-accounts",
version=account.__version__,
author="Brian Rosner",
author_email="[email protected]",
description="a Django user account app",
long_description=open("README.rst").read(),
license="MIT",
url="http://github.com/pinax/django-user-accounts",
packages=find_packages(),
install_requires=[
"django-appconf>=0.6",
"pytz>=2015.6"
],
zip_safe=False,
package_data={
"account": [
"locale/*/LC_MESSAGES/*",
],
},
test_suite="runtests.runtests",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Framework :: Django",
]
)
|
from setuptools import setup, find_packages
import account
setup(
name="django-user-accounts",
version=account.__version__,
author="Brian Rosner",
author_email="[email protected]",
description="a Django user account app",
long_description=open("README.rst").read(),
license="MIT",
url="http://github.com/pinax/django-user-accounts",
packages=find_packages(),
install_requires=[
"django-appconf>=0.6",
"pytz>=2013.9"
],
zip_safe=False,
package_data={
"account": [
"locale/*/LC_MESSAGES/*",
],
},
test_suite="runtests.runtests",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Framework :: Django",
]
)
|
mit
|
Python
|
2f09db445fae93c7db51493ca34e53cc9ce1b51f
|
Bump version: 0.0.21 → 0.0.22
|
polysquare/travis-bump-version
|
setup.py
|
setup.py
|
# /setup.py
#
# Installation and setup script for travis-bump-version
#
# See /LICENCE.md for Copyright information
"""Installation and setup script for travis-bump-version."""
from setuptools import find_packages
from setuptools import setup
setup(name="travis-bump-version",
version="0.0.22",
description="Bump version files on travis builds",
long_description_markdown_filename="README.md",
author="Sam Spilsbury",
author_email="[email protected]",
url="http://github.com/polysquare/travis-runner",
classifiers=["Development Status :: 3 - Alpha",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.1",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: MIT License"],
license="MIT",
keywords="development linters",
packages=find_packages(exclude=["tests"]),
install_requires=["pyaml", "bumpversion"],
extras_require={
"green": ["nose-parameterized",
"testtools",
"six",
"setuptools-green"],
"polysquarelint": ["polysquare-setuptools-lint>=0.0.22"],
"upload": ["setuptools-markdown"]
},
entry_points={
"console_scripts": [
"travis-bump-version=travisbumpversion.main:main"
]
},
test_suite="nose.collector",
zip_safe=True,
include_package_data=True)
|
# /setup.py
#
# Installation and setup script for travis-bump-version
#
# See /LICENCE.md for Copyright information
"""Installation and setup script for travis-bump-version."""
from setuptools import find_packages
from setuptools import setup
setup(name="travis-bump-version",
version="0.0.21",
description="Bump version files on travis builds",
long_description_markdown_filename="README.md",
author="Sam Spilsbury",
author_email="[email protected]",
url="http://github.com/polysquare/travis-runner",
classifiers=["Development Status :: 3 - Alpha",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.1",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: MIT License"],
license="MIT",
keywords="development linters",
packages=find_packages(exclude=["tests"]),
install_requires=["pyaml", "bumpversion"],
extras_require={
"green": ["nose-parameterized",
"testtools",
"six",
"setuptools-green"],
"polysquarelint": ["polysquare-setuptools-lint>=0.0.21"],
"upload": ["setuptools-markdown"]
},
entry_points={
"console_scripts": [
"travis-bump-version=travisbumpversion.main:main"
]
},
test_suite="nose.collector",
zip_safe=True,
include_package_data=True)
|
mit
|
Python
|
0936621b0a4162589560cc112f4f8e4425fed652
|
Change to semantic version number
|
vikingco/django-ajax-utilities,vikingco/django-ajax-utilities,vikingco/django-ajax-utilities
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name = "django-ajax-utilities",
version = '1.2.0',
url = 'https://github.com/citylive/django-ajax-utilities',
license = 'BSD',
description = "Pagination, xhr and tabbing utilities for the Django framework.",
long_description = open('README','r').read(),
author = 'Jonathan Slenders, City Live nv',
packages = find_packages('src'),
package_data = {'django_ajax': [
'static/*.js', 'static/*/*.js', 'static/*/*/*.js',
'static/*.css', 'static/*/*.css', 'static/*/*/*.css',
'static/*.png', 'static/*/*.png', 'static/*/*/*.png', 'static/*/*/*/*.png',
'static/*.gif', 'static/*/*.gif', 'static/*/*/*.gif', 'static/*/*/*/*.gif',
'templates/*.html', 'templates/*/*.html', 'templates/*/*/*.html'
],},
zip_safe=False, # Don't create egg files, Django cannot find templates in egg files.
include_package_data=True,
package_dir = {'': 'src'},
classifiers = [
'Intended Audience :: Developers',
'Programming Language :: Python',
'Operating System :: OS Independent',
'Environment :: Web Environment',
'Framework :: Django',
],
)
|
from setuptools import setup, find_packages
setup(
name = "django-ajax-utilities",
url = 'https://github.com/citylive/django-ajax-utilities',
license = 'BSD',
description = "Pagination, xhr and tabbing utilities for the Django framework.",
long_description = open('README','r').read(),
author = 'Jonathan Slenders, City Live nv',
packages = find_packages('src'),
package_data = {'django_ajax': [
'static/*.js', 'static/*/*.js', 'static/*/*/*.js',
'static/*.css', 'static/*/*.css', 'static/*/*/*.css',
'static/*.png', 'static/*/*.png', 'static/*/*/*.png', 'static/*/*/*/*.png',
'static/*.gif', 'static/*/*.gif', 'static/*/*/*.gif', 'static/*/*/*/*.gif',
'templates/*.html', 'templates/*/*.html', 'templates/*/*/*.html'
],},
zip_safe=False, # Don't create egg files, Django cannot find templates in egg files.
include_package_data=True,
package_dir = {'': 'src'},
classifiers = [
'Intended Audience :: Developers',
'Programming Language :: Python',
'Operating System :: OS Independent',
'Environment :: Web Environment',
'Framework :: Django',
],
)
|
bsd-3-clause
|
Python
|
356a5264ac62408289703eaf46598a9d5bc8a34d
|
add some more paths
|
etienne-gauvin/music-player-core,albertz/music-player-core,etienne-gauvin/music-player-core,albertz/music-player-core,albertz/music-player-core,etienne-gauvin/music-player-core
|
setup.py
|
setup.py
|
from distutils.core import setup, Extension
from glob import glob
import time, sys
mod = Extension(
'musicplayer',
sources = glob("*.cpp"),
depends = glob("*.h") + glob("*.hpp"),
extra_compile_args = ["--std=c++11"],
undef_macros = ['NDEBUG'],
libraries = [
'avutil',
'avformat',
'avcodec',
'swresample',
'portaudio',
'chromaprint'
]
)
# Add some more include/lib paths.
# Note: This should probably cover already a lot of cases.
# However, if this is not enough, get some more inspiration from here:
# https://github.com/python-imaging/Pillow/blob/master/setup.py
def addPrefix(prefix):
mod.include_dirs += [prefix + "/include"]
mod.library_dirs += [prefix + "/lib"]
addPrefix("/usr/local")
addPrefix("/opt/local") # e.g. MacPorts
if sys.platform == "darwin": addPrefix("/sw") # fink dir
setup(
name = 'musicplayer',
version = time.strftime("1.%Y%m%d.%H%M%S", time.gmtime()),
description = 'Music player core Python module',
author = 'Albert Zeyer',
author_email = '[email protected]',
url = 'https://github.com/albertz/music-player-core',
license = '2-clause BSD license',
long_description = open('README.rst').read(),
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Environment :: MacOS X',
'Environment :: Win32 (MS Windows)',
'Environment :: X11 Applications',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: BSD License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Programming Language :: C++',
'Programming Language :: Python',
'Topic :: Multimedia :: Sound/Audio',
'Topic :: Multimedia :: Sound/Audio :: Analysis',
'Topic :: Multimedia :: Sound/Audio :: Players',
'Topic :: Multimedia :: Sound/Audio :: Players :: MP3',
'Topic :: Software Development :: Libraries :: Python Modules',
],
ext_modules = [mod]
)
|
from distutils.core import setup, Extension
from glob import glob
import time
mod = Extension(
'musicplayer',
sources = glob("*.cpp"),
depends = glob("*.h") + glob("*.hpp"),
extra_compile_args = ["--std=c++11"],
undef_macros = ['NDEBUG'],
libraries = [
'avutil',
'avformat',
'avcodec',
'swresample',
'portaudio',
'chromaprint'
]
)
setup(
name = 'musicplayer',
version = time.strftime("1.%Y%m%d.%H%M%S", time.gmtime()),
description = 'Music player core Python module',
author = 'Albert Zeyer',
author_email = '[email protected]',
url = 'https://github.com/albertz/music-player-core',
license = '2-clause BSD license',
long_description = open('README.rst').read(),
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Environment :: MacOS X',
'Environment :: Win32 (MS Windows)',
'Environment :: X11 Applications',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: BSD License',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX',
'Operating System :: Unix',
'Programming Language :: C++',
'Programming Language :: Python',
'Topic :: Multimedia :: Sound/Audio',
'Topic :: Multimedia :: Sound/Audio :: Analysis',
'Topic :: Multimedia :: Sound/Audio :: Players',
'Topic :: Multimedia :: Sound/Audio :: Players :: MP3',
'Topic :: Software Development :: Libraries :: Python Modules',
],
ext_modules = [mod]
)
|
bsd-2-clause
|
Python
|
426d7d622306d4f6b0ca2805b4abe63b0fac66df
|
Fix setup info
|
facelessuser/wcmatch
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Setup package."""
from setuptools import setup, find_packages
import os
import imp
import traceback
def get_version():
"""Get version and version_info without importing the entire module."""
devstatus = {
'alpha': '3 - Alpha',
'beta': '4 - Beta',
'candidate': '4 - Beta',
'final': '5 - Production/Stable'
}
path = os.path.join(os.path.dirname(__file__), 'wcmatch')
fp, pathname, desc = imp.find_module('__version__', [path])
try:
v = imp.load_module('__version__', fp, pathname, desc)
return v.version, devstatus[v.version_info[3]]
except Exception:
print(traceback.format_exc())
finally:
fp.close()
def get_requirements(req):
"""Load list of dependencies."""
install_requires = []
with open(req) as f:
for line in f:
if not line.startswith("#"):
install_requires.append(line.strip())
return install_requires
def get_description():
"""Get long description."""
with open("README.md", 'r') as f:
desc = f.read()
return desc
VER, DEVSTATUS = get_version()
setup(
name='wcmatch',
python_requires=">=3.4",
version=VER,
keywords='glob fnmatch search wildcard',
description='Wildcard/glob file name matcher.',
long_description=get_description(),
long_description_content_type='text/markdown',
author='Isaac Muse',
author_email='[email protected]',
url='https://github.com/facelessuser/wcmatch',
packages=find_packages(exclude=['tests', 'tools']),
setup_requires=get_requirements("requirements/setup.txt"),
license='MIT License',
classifiers=[
'Development Status :: %s' % DEVSTATUS,
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'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
# -*- coding: utf-8 -*-
"""Setup package."""
from setuptools import setup, find_packages
import os
import imp
import traceback
def get_version():
"""Get version and version_info without importing the entire module."""
devstatus = {
'alpha': '3 - Alpha',
'beta': '4 - Beta',
'candidate': '4 - Beta',
'final': '5 - Production/Stable'
}
path = os.path.join(os.path.dirname(__file__), 'wcmatch')
fp, pathname, desc = imp.find_module('__version__', [path])
try:
v = imp.load_module('__version__', fp, pathname, desc)
return v.version, devstatus[v.version_info[3]]
except Exception:
print(traceback.format_exc())
finally:
fp.close()
def get_requirements(req):
"""Load list of dependencies."""
install_requires = []
with open(req) as f:
for line in f:
if not line.startswith("#"):
install_requires.append(line.strip())
return install_requires
def get_description():
"""Get long description."""
with open("README.md", 'r') as f:
desc = f.read()
return desc
VER, DEVSTATUS = get_version()
setup(
name='wcmatch',
python_requires=">=3.4",
version=VER,
keywords='grep search find',
description='Wildcard file name matcher.',
long_description=get_description(),
long_description_content_type='text/markdown',
author='Isaac Muse',
author_email='[email protected]',
url='https://github.com/facelessuser/wcmatch',
packages=find_packages(exclude=['tests', 'tools']),
setup_requires=get_requirements("requirements/setup.txt"),
zip_safe=False,
license='MIT License',
classifiers=[
'Development Status :: %s' % DEVSTATUS,
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'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'
]
)
|
mit
|
Python
|
e241ddd88bfe861eec4f995ae142fd68b646e89b
|
Update for newer version
|
theherk/django-theherk-updates
|
setup.py
|
setup.py
|
import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='django-theherk-updates',
version='1.3.0',
packages=find_packages(),
include_package_data=True,
license='see file LICENSE',
description='Django app for tracking and displaying updates.',
long_description=read('README.md'),
url='https://github.com/theherk/django-theherk-updates/archive/1.3.0.zip',
author='Adam Sherwood',
author_email='[email protected]',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'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',
],
)
|
import os
from setuptools import setup, find_packages
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='django-theherk-updates',
version='1.2',
packages=find_packages(),
include_package_data=True,
license='see file LICENSE',
description='Django app for tracking and displaying updates.',
long_description=read('README.md'),
url='https://github.com/theherk/django-theherk-updates',
author='Adam Sherwood',
author_email='[email protected]',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'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',
],
)
|
bsd-3-clause
|
Python
|
680311f8663abe4f496850296e1ee434679a8135
|
Bump version to 0.2.2
|
mwilliamson/mayo
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import os
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='mayo',
version='0.2.2',
description='Thin wrapper around source control systems',
long_description=read("README"),
author='Michael Williamson',
author_email='[email protected]',
url='http://github.com/mwilliamson/mayo',
scripts=["scripts/mayo"],
packages=['mayo'],
install_requires=["argparse==1.2.1", "catchy>=0.2,<0.3"],
keywords="source control vcs scm git mercurial hg",
)
|
#!/usr/bin/env python
import os
from distutils.core import setup
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name='mayo',
version='0.2.1',
description='Thin wrapper around source control systems',
long_description=read("README"),
author='Michael Williamson',
author_email='[email protected]',
url='http://github.com/mwilliamson/mayo',
scripts=["scripts/mayo"],
packages=['mayo'],
install_requires=["argparse==1.2.1", "catchy>=0.2,<0.3"],
keywords="source control vcs scm git mercurial hg",
)
|
bsd-2-clause
|
Python
|
70e8526e82c904cfda932f1c4b0b300243bb843f
|
Expand packages for pypi installation.
|
ethanrowe/python-mandrel
|
setup.py
|
setup.py
|
from setuptools import setup
import os
setup(
name = "mandrel",
version = "0.0.3",
author = "Ethan Rowe",
author_email = "[email protected]",
description = ("Provides bootstrapping for sane configuration management"),
license = "MIT",
keywords = "bootstrap configuration setup",
url = "https://github.com/ethanrowe/python-mandrel",
packages=['mandrel',
'mandrel.config',
'mandrel.test',
'mandrel.test.bootstrap',
'mandrel.test.config',
'mandrel.test.util',
],
long_description="""
# Mandrel (python-mandrel) #
Mandrel provides bootstrapping and configuration tools for consistent,
straightforward project config management.
Use Mandrel to:
* bootstrap your python project configuration
* manage configuration file location/access
* manage logging configuration and Logger retrieval
Separate projects can rely on Mandrel for these purposes, and when they're
brought together (as eggs, for instance) to a single application, their
configuration can be managed simply in an easily-configurable way.
# License #
Copyright (c) 2012 Ethan Rowe <ethan at the-rowes dot com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
""",
test_suite='mandrel.test',
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Topic :: Utilities",
],
install_requires=[
'mock',
'PyYAML',
],
entry_points={
'console_scripts': [
'mandrel-runner = mandrel.runner:launch_callable',
'mandrel-script = mandrel.runner:launch_script',
],
},
)
|
from setuptools import setup
import os
setup(
name = "mandrel",
version = "0.0.3",
author = "Ethan Rowe",
author_email = "[email protected]",
description = ("Provides bootstrapping for sane configuration management"),
license = "MIT",
keywords = "bootstrap configuration setup",
url = "https://github.com/ethanrowe/python-mandrel",
packages=['mandrel'],
long_description="""
# Mandrel (python-mandrel) #
Mandrel provides bootstrapping and configuration tools for consistent,
straightforward project config management.
Use Mandrel to:
* bootstrap your python project configuration
* manage configuration file location/access
* manage logging configuration and Logger retrieval
Separate projects can rely on Mandrel for these purposes, and when they're
brought together (as eggs, for instance) to a single application, their
configuration can be managed simply in an easily-configurable way.
# License #
Copyright (c) 2012 Ethan Rowe <ethan at the-rowes dot com>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
""",
test_suite='mandrel.test',
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Topic :: Utilities",
],
install_requires=[
'mock',
'PyYAML',
],
entry_points={
'console_scripts': [
'mandrel-runner = mandrel.runner:launch_callable',
'mandrel-script = mandrel.runner:launch_script',
],
},
)
|
mit
|
Python
|
9712dd202f4fe5ee3938dbea987ced267a5199e5
|
Change version to v0.3.2. Release Notes: fix the incorrect attribute accessing in class Option.
|
imjoey/pyhaproxy
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name='pyhaproxy',
version='0.3.2',
keywords=('haproxy', 'parse'),
description='A Python library to parse haproxy configuration file',
license='MIT License',
install_requires=[],
include_package_data=True,
package_data={
'pyhaproxy': ['*.peg'],
},
author='Joey',
author_email='[email protected]',
url='https://github.com/imjoey/pyhaproxy',
packages=find_packages(),
platforms='any',
)
|
from setuptools import setup, find_packages
setup(
name='pyhaproxy',
version='0.3.0',
keywords=('haproxy', 'parse'),
description='A Python library to parse haproxy configuration file',
license='MIT License',
install_requires=[],
include_package_data=True,
package_data={
'pyhaproxy': ['*.peg'],
},
author='Joey',
author_email='[email protected]',
url='https://github.com/imjoey/pyhaproxy',
packages=find_packages(),
platforms='any',
)
|
mit
|
Python
|
a3d35fbbb6650a467f7ffe0abb651c51c2781c98
|
update setup version for 0.7.19
|
release-engineering/koji-containerbuild,release-engineering/koji-containerbuild
|
setup.py
|
setup.py
|
from setuptools import setup
from setuptools.command.sdist import sdist
import subprocess
class TitoDist(sdist):
def run(self):
subprocess.call(["tito", "build", "--tgz", "-o", "."])
def get_requirements(requirements_file='requirements.txt'):
with open(requirements_file) as f:
return [
line.split('#')[0].rstrip()
for line in f.readlines()
if not line.startswith('#')
]
setup(
name="koji-containerbuild",
version="0.7.19",
author="Pavol Babincak",
author_email="[email protected]",
description="Container build support for Koji buildsystem",
license="LGPLv2+",
url="https://github.com/containerbuildsystem/koji-containerbuild",
packages=[
'koji_containerbuild',
'koji_containerbuild.plugins',
],
install_requires=get_requirements(),
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Internet",
"License :: OSI Approved :: GNU Lesser General Public License v2"
" or later (LGPLv2+)",
],
cmdclass={
'sdist': TitoDist,
}
)
|
from setuptools import setup
from setuptools.command.sdist import sdist
import subprocess
class TitoDist(sdist):
def run(self):
subprocess.call(["tito", "build", "--tgz", "-o", "."])
def get_requirements(requirements_file='requirements.txt'):
with open(requirements_file) as f:
return [
line.split('#')[0].rstrip()
for line in f.readlines()
if not line.startswith('#')
]
setup(
name="koji-containerbuild",
version="0.7.5",
author="Pavol Babincak",
author_email="[email protected]",
description="Container build support for Koji buildsystem",
license="LGPLv2+",
url="https://github.com/containerbuildsystem/koji-containerbuild",
packages=[
'koji_containerbuild',
'koji_containerbuild.plugins',
],
install_requires=get_requirements(),
classifiers=[
"Development Status :: 3 - Alpha",
"Topic :: Internet",
"License :: OSI Approved :: GNU Lesser General Public License v2"
" or later (LGPLv2+)",
],
cmdclass={
'sdist': TitoDist,
}
)
|
lgpl-2.1
|
Python
|
0112ec2ec3698834c36d56ab4d8b08628808e348
|
Bump version
|
thombashi/pathvalidate
|
setup.py
|
setup.py
|
import sys
import os.path
import setuptools
needs_pytest = set(['pytest', 'test', 'ptr']).intersection(sys.argv)
pytest_runner = ['pytest-runner'] if needs_pytest else []
REQUIREMENT_DIR = "requirements"
with open("README.rst") as fp:
long_description = fp.read()
with open(os.path.join("docs", "pages", "introduction", "summary.txt")) as f:
summary = f.read()
with open(os.path.join(REQUIREMENT_DIR, "requirements.txt")) as f:
install_requires = [line.strip() for line in f if line.strip()]
with open(os.path.join(REQUIREMENT_DIR, "test_requirements.txt")) as f:
tests_require = [line.strip() for line in f if line.strip()]
setuptools.setup(
name="pathvalidate",
version="0.6.0",
author="Tsuyoshi Hombashi",
author_email="[email protected]",
url="https://github.com/thombashi/pathvalidate",
keywords=["path", "validation", "validator", "sanitize"],
license="MIT License",
description=summary,
long_description=long_description,
include_package_data=True,
install_requires=install_requires,
packages=setuptools.find_packages(exclude=['test*']),
setup_requires=pytest_runner,
tests_require=tests_require,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)
|
import sys
import os.path
import setuptools
needs_pytest = set(['pytest', 'test', 'ptr']).intersection(sys.argv)
pytest_runner = ['pytest-runner'] if needs_pytest else []
REQUIREMENT_DIR = "requirements"
with open("README.rst") as fp:
long_description = fp.read()
with open(os.path.join("docs", "pages", "introduction", "summary.txt")) as f:
summary = f.read()
with open(os.path.join(REQUIREMENT_DIR, "requirements.txt")) as f:
install_requires = [line.strip() for line in f if line.strip()]
with open(os.path.join(REQUIREMENT_DIR, "test_requirements.txt")) as f:
tests_require = [line.strip() for line in f if line.strip()]
setuptools.setup(
name="pathvalidate",
version="0.5.2",
author="Tsuyoshi Hombashi",
author_email="[email protected]",
url="https://github.com/thombashi/pathvalidate",
keywords=["path", "validation", "validator", "sanitize"],
license="MIT License",
description=summary,
long_description=long_description,
include_package_data=True,
install_requires=install_requires,
packages=setuptools.find_packages(exclude=['test*']),
setup_requires=pytest_runner,
tests_require=tests_require,
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)
|
mit
|
Python
|
3232f9c1a0cb864033e1fd62b3b8edffc1eca5ff
|
disable WIP sparse tests with multihreading
|
yuanming-hu/taichi,yuanming-hu/taichi,yuanming-hu/taichi,yuanming-hu/taichi
|
tests/python/test_dynamic.py
|
tests/python/test_dynamic.py
|
import taichi as ti
@ti.all_archs
def test_dynamic():
x = ti.var(ti.f32)
n = 128
@ti.layout
def place():
ti.root.dynamic(ti.i, n, 32).place(x)
@ti.kernel
def func():
pass
for i in range(n):
x[i] = i
for i in range(n):
assert x[i] == i
@ti.all_archs
def test_dynamic2():
if ti.cfg.arch == ti.cuda:
return
x = ti.var(ti.f32)
n = 128
@ti.layout
def place():
ti.root.dynamic(ti.i, n, 32).place(x)
@ti.kernel
def func():
ti.serialize()
for i in range(n):
x[i] = i
func()
for i in range(n):
assert x[i] == i
@ti.all_archs
def test_dynamic_matrix():
return
if ti.cfg.arch == ti.cuda:
return
x = ti.Matrix(3, 2, dt=ti.f32)
n = 8192
@ti.layout
def place():
ti.root.dynamic(ti.i, n, chunk_size=128).place(x)
@ti.kernel
def func():
ti.serialize()
for i in range(n // 4):
x[i * 4][1, 0] = i
func()
for i in range(n // 4):
assert x[i * 4][1, 0] == i
assert x[i * 4 + 1][1, 0] == 0
|
import taichi as ti
@ti.all_archs
def test_dynamic():
x = ti.var(ti.f32)
n = 128
@ti.layout
def place():
ti.root.dynamic(ti.i, n, 32).place(x)
@ti.kernel
def func():
pass
for i in range(n):
x[i] = i
for i in range(n):
assert x[i] == i
@ti.all_archs
def test_dynamic2():
if ti.cfg.arch == ti.cuda:
return
x = ti.var(ti.f32)
n = 128
@ti.layout
def place():
ti.root.dynamic(ti.i, n, 32).place(x)
@ti.kernel
def func():
ti.serialize()
for i in range(n):
x[i] = i
func()
for i in range(n):
assert x[i] == i
@ti.all_archs
def test_dynamic_matrix():
if ti.cfg.arch == ti.cuda:
return
x = ti.Matrix(3, 2, dt=ti.f32)
n = 8192
@ti.layout
def place():
ti.root.dynamic(ti.i, n, chunk_size=128).place(x)
@ti.kernel
def func():
ti.serialize()
for i in range(n // 4):
x[i * 4][1, 0] = i
func()
for i in range(n // 4):
assert x[i * 4][1, 0] == i
assert x[i * 4 + 1][1, 0] == 0
|
apache-2.0
|
Python
|
4625bc72cb942d9022928b2a4444fee769aef013
|
update version number
|
Kaggle/kaggle-api
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name = 'kaggle',
version = '1.0.5',
description = 'Kaggle API',
long_description = 'Official API for https://www.kaggle.com, accessible using a command line tool implemented in Python. Beta release - Kaggle reserves the right to modify the API functionality currently offered.',
author = 'Kaggle',
author_email = '[email protected]',
url = 'https://github.com/Kaggle/kaggle-api',
keywords = ['Kaggle', 'API'],
entry_points = {
'console_scripts': [
'kaggle = kaggle.cli:main'
]
},
install_requires = ['urllib3 >= 1.15', 'six >= 1.10', 'certifi', 'python-dateutil'],
packages = find_packages(),
license = 'Apache 2.0'
)
|
from setuptools import setup, find_packages
setup(
name = 'kaggle',
version = '1.0.4',
description = 'Kaggle API',
long_description = 'Official API for https://www.kaggle.com, accessible using a command line tool implemented in Python. Beta release - Kaggle reserves the right to modify the API functionality currently offered.',
author = 'Kaggle',
author_email = '[email protected]',
url = 'https://github.com/Kaggle/kaggle-api',
keywords = ['Kaggle', 'API'],
entry_points = {
'console_scripts': [
'kaggle = kaggle.cli:main'
]
},
install_requires = ['urllib3 >= 1.15', 'six >= 1.10', 'certifi', 'python-dateutil'],
packages = find_packages(),
license = 'Apache 2.0'
)
|
apache-2.0
|
Python
|
8e9c2ec76bdcd1711c525ef34c09413626a7ee95
|
remove python-daemon dependency
|
sh0ked/vmmaster,2gis/vmmaster,sh0ked/vmmaster,2gis/vmmaster,2gis/vmmaster
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
import os
home = []
for path, subdirs, files in os.walk('vmmaster/home'):
path = path.replace('vmmaster/', '')
for name in files:
home.append(os.path.join(path, name))
setup(
name='vmmaster',
version='0.1',
description='Python KVM-based virtual machine environment system for selenium testing',
url='https://github.com/nwlunatic/vmmaster',
packages=find_packages(),
install_requires=[
"netifaces>=0.8",
"graypy==0.2.9",
"docopt==0.6.1",
],
scripts=['bin/vmmaster'],
package_data={
'vmmaster': home,
},
include_package_data=True,
data_files=[
('/etc/init.d', ['etc/init.d/vmmaster'])
]
)
|
from setuptools import setup, find_packages
import os
home = []
for path, subdirs, files in os.walk('vmmaster/home'):
path = path.replace('vmmaster/', '')
for name in files:
home.append(os.path.join(path, name))
setup(
name='vmmaster',
version='0.1',
description='Python KVM-based virtual machine environment system for selenium testing',
url='https://github.com/nwlunatic/vmmaster',
packages=find_packages(),
install_requires=[
"netifaces>=0.8",
"graypy==0.2.9",
"docopt==0.6.1",
"python-daemon==1.6"
],
scripts=['bin/vmmaster'],
package_data={
'vmmaster': home,
},
include_package_data=True,
data_files=[
# ('/etc/init', ['etc/init/vmmaster.conf']),
('/etc/init.d', ['etc/init.d/vmmaster'])
]
)
|
mit
|
Python
|
06e95f36d335a2d3912fb288fff7d376bba5078f
|
Enforce double quotes for English sentences
|
christophercrouzet/nani
|
setup.py
|
setup.py
|
import codecs
import os
import re
import setuptools
def find_version(*file_paths):
# Credits: https://packaging.python.org/single_source_version.
here = os.path.abspath(os.path.dirname(__file__))
with codecs.open(os.path.join(here, *file_paths), 'r', 'utf8') as f:
version_file = f.read()
version_match = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]',
version_file, re.M)
if version_match:
return version_match.group(1)
raise RuntimeError("Unable to find the version string.")
setuptools.setup(
name='nani',
version=find_version('nani.py'),
description="An alternative approach to defining and viewing NumPy's "
"arrays",
keywords='nani numpy dtype view wrap',
license='MIT',
url='https://github.com/christophercrouzet/nani',
author="Christopher Crouzet",
author_email='[email protected]',
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.3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities'
],
install_requires=['numpy'],
packages=[],
py_modules=['nani'],
include_package_data=True
)
|
import codecs
import os
import re
import setuptools
def find_version(*file_paths):
# Credits: https://packaging.python.org/single_source_version.
here = os.path.abspath(os.path.dirname(__file__))
with codecs.open(os.path.join(here, *file_paths), 'r', 'utf8') as f:
version_file = f.read()
version_match = re.search(r'^__version__ = [\'"]([^\'"]*)[\'"]',
version_file, re.M)
if version_match:
return version_match.group(1)
raise RuntimeError("Unable to find the version string.")
setuptools.setup(
name='nani',
version=find_version('nani.py'),
description="An alternative approach to defining and viewing NumPy's "
"arrays",
keywords='nani numpy dtype view wrap',
license='MIT',
url='https://github.com/christophercrouzet/nani',
author='Christopher Crouzet',
author_email='[email protected]',
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.3',
'Programming Language :: Python :: 3.4',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities'
],
install_requires=['numpy'],
packages=[],
py_modules=['nani'],
include_package_data=True
)
|
mit
|
Python
|
860cdbf4cbfa36d668ccc58c777dcc7f33ca494b
|
change version!
|
a-roomana/django-jalali-date,a-roomana/django-jalali-date,a-roomana/django-jalali-date
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import codecs
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
def read_file(filename):
"""Open a related file and return its content."""
with codecs.open(os.path.join(here, filename), encoding='utf-8') as f:
content = f.read()
return content
README = read_file('README.md')
setup(
name='django-jalali-date',
version='0.2.2',
packages=find_packages(),
include_package_data=True,
description=(
'Jalali Date support for user interface. Easy conversion of DateTimeFiled to JalaliDateTimeField within the admin site.'),
url='http://github.com/a-roomana/django-jalali-date',
download_url='https://pypi.python.org/pypi/django-jalali-date/',
author='Arman Roomana',
author_email='[email protected]',
keywords="django jalali date",
license='Python Software Foundation License',
platforms=['any'],
install_requires=[
"pytz",
"django",
"jdatetime"
],
long_description=README,
use_2to3 = True,
zip_safe=False,
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
#!/usr/bin/env python
import codecs
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
def read_file(filename):
"""Open a related file and return its content."""
with codecs.open(os.path.join(here, filename), encoding='utf-8') as f:
content = f.read()
return content
README = read_file('README.md')
setup(
name='django-jalali-date',
version='0.2.1',
packages=find_packages(),
include_package_data=True,
description=(
'Jalali Date support for user interface. Easy conversion of DateTimeFiled to JalaliDateTimeField within the admin site.'),
url='http://github.com/a-roomana/django-jalali-date',
download_url='https://pypi.python.org/pypi/django-jalali-date/',
author='Arman Roomana',
author_email='[email protected]',
keywords="django jalali date",
license='Python Software Foundation License',
platforms=['any'],
install_requires=[
"pytz",
"django",
"jdatetime"
],
long_description=README,
use_2to3 = True,
zip_safe=False,
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
mit
|
Python
|
a6495e0ecdb0187c3ec0bed038b01a2fe55227d2
|
Update library tests to include backend
|
jodal/mopidy,ZenithDK/mopidy,jodal/mopidy,vrs01/mopidy,adamcik/mopidy,ZenithDK/mopidy,mopidy/mopidy,vrs01/mopidy,ZenithDK/mopidy,kingosticks/mopidy,adamcik/mopidy,jcass77/mopidy,ZenithDK/mopidy,kingosticks/mopidy,mopidy/mopidy,vrs01/mopidy,adamcik/mopidy,mopidy/mopidy,jcass77/mopidy,kingosticks/mopidy,jcass77/mopidy,vrs01/mopidy,jodal/mopidy
|
tests/stream/test_library.py
|
tests/stream/test_library.py
|
from __future__ import absolute_import, unicode_literals
import mock
import pytest
from mopidy.internal import path
from mopidy.models import Track
from mopidy.stream import actor
from tests import path_to_data_dir
@pytest.fixture
def config():
return {
'proxy': {},
'stream': {
'timeout': 1000,
'metadata_blacklist': [],
'protocols': ['file'],
},
'file': {
'enabled': False
},
}
@pytest.fixture
def audio():
return mock.Mock()
@pytest.fixture
def track_uri():
return path.path_to_uri(path_to_data_dir('song1.wav'))
def test_lookup_ignores_unknown_scheme(audio, config):
backend = actor.StreamBackend(audio=audio, config=config)
backend.library.lookup('http://example.com') == []
def test_lookup_respects_blacklist(audio, config, track_uri):
config['stream']['metadata_blacklist'].append(track_uri)
backend = actor.StreamBackend(audio=audio, config=config)
assert backend.library.lookup(track_uri) == [Track(uri=track_uri)]
def test_lookup_respects_blacklist_globbing(audio, config, track_uri):
blacklist_glob = path.path_to_uri(path_to_data_dir('')) + '*'
config['stream']['metadata_blacklist'].append(blacklist_glob)
backend = actor.StreamBackend(audio=audio, config=config)
assert backend.library.lookup(track_uri) == [Track(uri=track_uri)]
def test_lookup_converts_uri_metadata_to_track(audio, config, track_uri):
backend = actor.StreamBackend(audio=audio, config=config)
result = backend.library.lookup(track_uri)
assert result == [Track(length=4406, uri=track_uri)]
|
from __future__ import absolute_import, unicode_literals
import mock
import pytest
from mopidy.audio import scan
from mopidy.internal import path
from mopidy.models import Track
from mopidy.stream import actor
from tests import path_to_data_dir
@pytest.fixture
def scanner():
return scan.Scanner(timeout=100, proxy_config={})
@pytest.fixture
def backend(scanner):
backend = mock.Mock()
backend.uri_schemes = ['file']
backend._scanner = scanner
return backend
@pytest.fixture
def track_uri():
return path.path_to_uri(path_to_data_dir('song1.wav'))
def test_lookup_ignores_unknown_scheme(backend):
library = actor.StreamLibraryProvider(backend, [])
assert library.lookup('http://example.com') == []
def test_lookup_respects_blacklist(backend, track_uri):
library = actor.StreamLibraryProvider(backend, [track_uri])
assert library.lookup(track_uri) == [Track(uri=track_uri)]
def test_lookup_respects_blacklist_globbing(backend, track_uri):
blacklist = [path.path_to_uri(path_to_data_dir('')) + '*']
library = actor.StreamLibraryProvider(backend, blacklist)
assert library.lookup(track_uri) == [Track(uri=track_uri)]
def test_lookup_converts_uri_metadata_to_track(backend, track_uri):
library = actor.StreamLibraryProvider(backend, [])
assert library.lookup(track_uri) == [Track(length=4406, uri=track_uri)]
|
apache-2.0
|
Python
|
4ed7e3dba1214d2b30d4149fe510054ff46ce721
|
Fix screw-up in last commit: entry point is main, not setup_main
|
quantopian/coal-mine
|
setup.py
|
setup.py
|
import sys
from setuptools import setup, find_packages
if sys.version_info[0] < 3:
sys.exit("This package does not work with Python 2.")
# You can't just put `from pypandoc import convert` at the top of your
# setup.py and then put `description=convert("README.md", "rst")` in
# your `setup()` invocation, because even if you list list `pypandoc`
# in `setup_requires`, it won't be interpreted and installed until
# after the keyword argument values of the `setup()` invocation have
# been evaluated. Therefore, we define a `lazy_convert` class which
# impersonates a string but doesn't actually import or use `pypandoc`
# until the value of the string is needed. This defers the use of
# `pypandoc` until after setuptools has figured out that it is needed
# and made it available.
class lazy_convert(object):
def __init__(self, *args, **kwargs):
self.args = args
self.kwargs = kwargs
def __str__(self):
from pypandoc import convert
return str(convert(*self.args, **self.kwargs))
def __repr__(self):
return repr(str(self))
def split(self, *args, **kwargs):
return str(self).split(*args, **kwargs)
def replace(self, *args, **kwargs):
return str(self).replace(*args, **kwargs)
setup(
name="coal_mine",
version='0.4.3',
author='Quantopian Inc.',
author_email='[email protected]',
description="Coal Mine - Periodic task execution monitor",
url='https://github.com/quantopian/coal-mine',
long_description=lazy_convert('README.md', 'rst'),
license='Apache 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Server',
'Topic :: System :: Monitoring',
'Topic :: System :: Systems Administration',
],
packages=find_packages(),
setup_requires=['pypandoc'],
install_requires=open('requirements.txt').read(),
entry_points={
'console_scripts': [
"coal-mine = coal_mine.server:main",
"cmcli = coal_mine.cli:main"
]
},
zip_safe=True,
)
|
import sys
from setuptools import setup, find_packages
if sys.version_info[0] < 3:
sys.exit("This package does not work with Python 2.")
# You can't just put `from pypandoc import convert` at the top of your
# setup.py and then put `description=convert("README.md", "rst")` in
# your `setup()` invocation, because even if you list list `pypandoc`
# in `setup_requires`, it won't be interpreted and installed until
# after the keyword argument values of the `setup()` invocation have
# been evaluated. Therefore, we define a `lazy_convert` class which
# impersonates a string but doesn't actually import or use `pypandoc`
# until the value of the string is needed. This defers the use of
# `pypandoc` until after setuptools has figured out that it is needed
# and made it available.
class lazy_convert(object):
def __init__(self, *args, **kwargs):
self.args = args
self.kwargs = kwargs
def __str__(self):
from pypandoc import convert
return str(convert(*self.args, **self.kwargs))
def __repr__(self):
return repr(str(self))
def split(self, *args, **kwargs):
return str(self).split(*args, **kwargs)
def replace(self, *args, **kwargs):
return str(self).replace(*args, **kwargs)
setup(
name="coal_mine",
version='0.4.3',
author='Quantopian Inc.',
author_email='[email protected]',
description="Coal Mine - Periodic task execution monitor",
url='https://github.com/quantopian/coal-mine',
long_description=lazy_convert('README.md', 'rst'),
license='Apache 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Server',
'Topic :: System :: Monitoring',
'Topic :: System :: Systems Administration',
],
packages=find_packages(),
setup_requires=['pypandoc'],
install_requires=open('requirements.txt').read(),
entry_points={
'console_scripts': [
"coal-mine = coal_mine.server:main",
"cmcli = coal_mine.cli:setup_main"
]
},
zip_safe=True,
)
|
apache-2.0
|
Python
|
e2e56c9965d0781fc427b28f984c05a00dc2be68
|
Bump version to 0.3.93
|
danmergens/mi-instrument,renegelinas/mi-instrument,janeen666/mi-instrument,janeen666/mi-instrument,vipullakhani/mi-instrument,renegelinas/mi-instrument,janeen666/mi-instrument,vipullakhani/mi-instrument,oceanobservatories/mi-instrument,danmergens/mi-instrument,oceanobservatories/mi-instrument
|
setup.py
|
setup.py
|
#!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
version = '0.3.93'
setup(name='mi-instrument',
version=version,
description='OOINet Marine Integrations',
url='https://github.com/oceanobservatories/mi-instrument',
license='BSD',
author='Ocean Observatories Initiative',
author_email='[email protected]',
keywords=['ooici'],
packages=find_packages(),
package_data={
'': ['*.yml'],
'mi.platform.rsn': ['node_config_files/*.yml'],
},
dependency_links=[
],
test_suite='pyon',
entry_points={
'console_scripts': [
'run_driver=mi.core.instrument.wrapper:main',
'playback=mi.core.instrument.playback:main',
'analyze=mi.core.instrument.playback_analysis:main',
'oms_extractor=mi.platform.rsn.oms_extractor:main',
'shovel=mi.core.shovel:main',
'oms_aa_server=mi.platform.rsn.oms_alert_alarm_server:main',
],
},
)
|
#!/usr/bin/env python
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
version = '0.3.92'
setup(name='mi-instrument',
version=version,
description='OOINet Marine Integrations',
url='https://github.com/oceanobservatories/mi-instrument',
license='BSD',
author='Ocean Observatories Initiative',
author_email='[email protected]',
keywords=['ooici'],
packages=find_packages(),
package_data={
'': ['*.yml'],
'mi.platform.rsn': ['node_config_files/*.yml'],
},
dependency_links=[
],
test_suite='pyon',
entry_points={
'console_scripts': [
'run_driver=mi.core.instrument.wrapper:main',
'playback=mi.core.instrument.playback:main',
'analyze=mi.core.instrument.playback_analysis:main',
'oms_extractor=mi.platform.rsn.oms_extractor:main',
'shovel=mi.core.shovel:main',
'oms_aa_server=mi.platform.rsn.oms_alert_alarm_server:main',
],
},
)
|
bsd-2-clause
|
Python
|
a3a1a2ad17bc856ccb83bb2098f11d1dfdc91a44
|
Fix name of bs4
|
sebastinas/debian-devel-changes-bot
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='debian-devel-changes-bot',
packages=find_packages(),
install_requires=['beautifulsoup4', 'python-debian', 'requests', 'pydbus'])
|
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='debian-devel-changes-bot',
packages=find_packages(),
install_requires=['bs4', 'python-debian', 'requests', 'pydbus'])
|
agpl-3.0
|
Python
|
fb4512783a81474fa5d5aa1641561ec337a8989e
|
Remove Python 2.6 classifier from setup.py
|
pudo/dataset,saimn/dataset
|
setup.py
|
setup.py
|
import sys
from setuptools import setup, find_packages
py26_dependency = []
if sys.version_info[:2] <= (2, 6):
py26_dependency = ["argparse >= 1.1", "ordereddict >= 1.1"]
setup(
name='dataset',
version='0.7.1',
description="Toolkit for Python-based data processing.",
long_description="",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5'
],
keywords='sql sqlalchemy etl loading utility',
author='Friedrich Lindenberg, Gregor Aisch, Stefan Wehrmeyer',
author_email='[email protected]',
url='http://github.com/pudo/dataset',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'test']),
namespace_packages=[],
include_package_data=False,
zip_safe=False,
install_requires=[
'sqlalchemy >= 0.9.1',
'alembic >= 0.6.2',
'normality >= 0.2.2',
"PyYAML >= 3.10",
"six >= 1.7.3"
] + py26_dependency,
tests_require=[],
test_suite='test',
entry_points={
'console_scripts': [
'datafreeze = dataset.freeze.app:main',
]
}
)
|
import sys
from setuptools import setup, find_packages
py26_dependency = []
if sys.version_info[:2] <= (2, 6):
py26_dependency = ["argparse >= 1.1", "ordereddict >= 1.1"]
setup(
name='dataset',
version='0.7.1',
description="Toolkit for Python-based data processing.",
long_description="",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5'
],
keywords='sql sqlalchemy etl loading utility',
author='Friedrich Lindenberg, Gregor Aisch, Stefan Wehrmeyer',
author_email='[email protected]',
url='http://github.com/pudo/dataset',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'test']),
namespace_packages=[],
include_package_data=False,
zip_safe=False,
install_requires=[
'sqlalchemy >= 0.9.1',
'alembic >= 0.6.2',
'normality >= 0.2.2',
"PyYAML >= 3.10",
"six >= 1.7.3"
] + py26_dependency,
tests_require=[],
test_suite='test',
entry_points={
'console_scripts': [
'datafreeze = dataset.freeze.app:main',
]
}
)
|
mit
|
Python
|
4bea05c2105fcc85ad87dac2fe6583e7da09e58f
|
update test_single_day_simulation() to use keyword arguments; add abandon dist
|
m-deck/stimulus
|
tests/test_day_simulation.py
|
tests/test_day_simulation.py
|
from .. import stimulus
import random
def test_single_day_simulation():
agent1_schedule = stimulus.AgentSchedule()
agent2_schedule = stimulus.AgentSchedule(regular_start=30600, regular_end=(3600*16.5 + 1800), regular_lunch=(3600*12 + 1800))
agent1 = stimulus.Agent(agent1_schedule)
agent2 = stimulus.Agent(agent2_schedule)
agent3 = stimulus.Agent(agent1_schedule)
call_durations = random.sample(range(100,500), 200)
arrival_times = random.sample(range(28800,32000), 200)
calls_list = []
for arr, dur in zip(arrival_times, call_durations):
calls_list.append(stimulus.Call(arr,dur))
day1 = stimulus.Day(agents=[agent1, agent2, agent3], calls=calls_list)
aban_dist = [1800, .999]
simulated_day = stimulus.simulate_day(day=day1, abandon_dist=aban_dist)
assert simulated_day['SL'] >= 0 and simulated_day['SL'] <= 1 and simulated_day['AHT'] >= 0 and isinstance(simulated_day['simulated_day_object'], stimulus.Day)
|
from .. import stimulus
import random
def test_single_day_simulation():
agent1_schedule = stimulus.AgentSchedule()
agent2_schedule = stimulus.AgentSchedule(regular_start=30600, regular_end=(3600*16.5 + 1800), regular_lunch=(3600*12 + 1800))
agent1 = stimulus.Agent(agent1_schedule)
agent2 = stimulus.Agent(agent2_schedule)
agent3 = stimulus.Agent(agent1_schedule)
call_durations = random.sample(range(100,500), 200)
arrival_times = random.sample(range(28800,32000), 200)
calls_list = []
for arr, dur in zip(arrival_times, call_durations):
calls_list.append(stimulus.Call(arr,dur))
day1 = stimulus.Day([agent1, agent2, agent3], calls_list)
simulated_day = stimulus.simulate_day(day1)
assert simulated_day['SL'] >= 0 and simulated_day['SL'] <= 1 and simulated_day['AHT'] >= 0 and isinstance(simulated_day['simulated_day_object'], stimulus.Day)
|
mit
|
Python
|
24cf02b76ca99abb0ae09284b312ca6b250d773f
|
add comma after readme
|
BrianHicks/emit,BrianHicks/emit,BrianHicks/emit
|
setup.py
|
setup.py
|
import os
from setuptools import setup, find_packages
import emit
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except IOError: # for tox
return ''
setup(
# System information
name='emit',
version=emit.__version__,
packages=find_packages(exclude=('test',)),
scripts=['emit/bin/emit_digraph'],
zip_safe=True,
extras_require = {
'celery-routing': ['celery>=3.0.13'],
'rq-routing': ['rq>=0.3.4', 'redis>=2.7.2'],
},
# Human information
author='Brian Hicks',
author_email='[email protected]',
url='https://github.com/brianhicks/emit',
description='Build a graph to process streams',
keywords='stream processing',
long_description=read('README.rst'),
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
import distribute_setup
distribute_setup.use_setuptools()
import os
from setuptools import setup, find_packages
import emit
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except IOError: # for tox
return ''
setup(
# System information
name='emit',
version=emit.__version__,
packages=find_packages(exclude=('test',)),
scripts=['emit/bin/emit_digraph'],
zip_safe=True,
extras_require = {
'celery-routing': ['celery>=3.0.13'],
'rq-routing': ['rq>=0.3.4', 'redis>=2.7.2'],
},
# Human information
author='Brian Hicks',
author_email='[email protected]',
url='https://github.com/brianhicks/emit',
description='Build a graph to process streams',
keywords='stream processing',
long_description=read('README.rst')
license='MIT',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
mit
|
Python
|
e5013d3ea76434f9b457b9ffa2d81e5f49aa2b7b
|
change python version info and language
|
jeroyang/approx
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import versioneer
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().replace('.. :changelog:', '')
requirements = [
# TODO: put package requirements here
]
test_requirements = [
# TODO: put package test requirements here
]
setup(
name='approx',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="A game for mental mathematicsin approximate numbers",
long_description=readme + '\n\n' + history,
author="Chia-Jung, Yang",
author_email='[email protected]',
url='https://github.com/jeroyang/approx',
packages=[
'approx',
],
package_dir={'approx':
'approx'},
include_package_data=True,
install_requires=requirements,
license="BSD",
zip_safe=False,
keywords='approx',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: Traditional Chinese',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
test_suite='tests',
tests_require=test_requirements
)
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import versioneer
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().replace('.. :changelog:', '')
requirements = [
# TODO: put package requirements here
]
test_requirements = [
# TODO: put package test requirements here
]
setup(
name='approx',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
description="A game for mental mathematicsin approximate numbers",
long_description=readme + '\n\n' + history,
author="Chia-Jung, Yang",
author_email='[email protected]',
url='https://github.com/jeroyang/approx',
packages=[
'approx',
],
package_dir={'approx':
'approx'},
include_package_data=True,
install_requires=requirements,
license="BSD",
zip_safe=False,
keywords='approx',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
test_suite='tests',
tests_require=test_requirements
)
|
bsd-3-clause
|
Python
|
19c04409975a9102ef008963ad312b00ef4e96c6
|
Update Python classifiers in setup module
|
ellmetha/django-machina,ellmetha/django-machina,ellmetha/django-machina
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
import codecs
from os.path import abspath
from os.path import dirname
from os.path import join
from setuptools import find_packages
from setuptools import setup
import machina
def read_relative_file(filename):
""" Returns contents of the given file, whose path is supposed relative to this module. """
with codecs.open(join(dirname(abspath(__file__)), filename), encoding='utf-8') as f:
return f.read()
setup(
name='django-machina',
version=machina.__version__,
author='Morgan Aubert',
author_email='[email protected]',
packages=find_packages(),
include_package_data=True,
url='https://github.com/ellmetha/django-machina',
license='BSD',
description='A Django forum engine for building powerful community driven websites.',
long_description=read_relative_file('README.rst'),
keywords='django forum board messages',
zip_safe=False,
install_requires=[
'django>=2.1',
# Django-mptt is required to handle the tree hierarchy of nested forums
'django-mptt>=0.8',
# Machina uses Django-haystack to provide search support
'django-haystack>=2.1',
# Pillow is required for image fields
'pillow>=2.2',
# Machina uses Markdown by default as a syntax for forum messages ; but you can change this
'markdown2>=2.3',
# Machina's default templates use django-widget-tweaks to render form fields ; but you can
# override this
'django-widget-tweaks>=1.4',
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python',
'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 :: Internet :: WWW/HTTP :: Dynamic Content :: Message Boards',
],
)
|
# -*- coding: utf-8 -*-
import codecs
from os.path import abspath
from os.path import dirname
from os.path import join
from setuptools import find_packages
from setuptools import setup
import machina
def read_relative_file(filename):
""" Returns contents of the given file, whose path is supposed relative to this module. """
with codecs.open(join(dirname(abspath(__file__)), filename), encoding='utf-8') as f:
return f.read()
setup(
name='django-machina',
version=machina.__version__,
author='Morgan Aubert',
author_email='[email protected]',
packages=find_packages(),
include_package_data=True,
url='https://github.com/ellmetha/django-machina',
license='BSD',
description='A Django forum engine for building powerful community driven websites.',
long_description=read_relative_file('README.rst'),
keywords='django forum board messages',
zip_safe=False,
install_requires=[
'django>=2.1',
# Django-mptt is required to handle the tree hierarchy of nested forums
'django-mptt>=0.8',
# Machina uses Django-haystack to provide search support
'django-haystack>=2.1',
# Pillow is required for image fields
'pillow>=2.2',
# Machina uses Markdown by default as a syntax for forum messages ; but you can change this
'markdown2>=2.3',
# Machina's default templates use django-widget-tweaks to render form fields ; but you can
# override this
'django-widget-tweaks>=1.4',
],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Message Boards',
],
)
|
bsd-3-clause
|
Python
|
a03dc7b23b219097f2dd16450f4e54b0469ffab1
|
Bump version to 0.2.2
|
ZeroCater/zc_common,ZeroCater/zc_common
|
setup.py
|
setup.py
|
import os
from setuptools import setup
def get_packages(package):
"""
Return root package and all sub-packages.
"""
return [dirpath
for dirpath, dirnames, filenames in os.walk(package)
if os.path.exists(os.path.join(dirpath, '__init__.py'))]
setup(
name='zc_common',
version='0.2.2',
description="Shared code for ZeroCater microservices",
long_description='',
keywords='zerocater python util',
author='ZeroCater',
author_email='[email protected]',
url='https://github.com/ZeroCater/zc_common',
download_url='https://github.com/ZeroCater/zc_common/tarball/0.2.2',
license='MIT',
packages=get_packages('zc_common'),
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Internet :: WWW/HTTP",
]
)
|
import os
from setuptools import setup
def get_packages(package):
"""
Return root package and all sub-packages.
"""
return [dirpath
for dirpath, dirnames, filenames in os.walk(package)
if os.path.exists(os.path.join(dirpath, '__init__.py'))]
setup(
name='zc_common',
version='0.2.1',
description="Shared code for ZeroCater microservices",
long_description='',
keywords='zerocater python util',
author='ZeroCater',
author_email='[email protected]',
url='https://github.com/ZeroCater/zc_common',
download_url='https://github.com/ZeroCater/zc_common/tarball/0.2.1',
license='MIT',
packages=get_packages('zc_common'),
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Internet :: WWW/HTTP",
]
)
|
mit
|
Python
|
6ede9a1e6dc82de7a269abbfe8b57ee8e6548394
|
Switch to using subprocess as a base rather interface directly interface with Unix system calls. This lets subprocess deal with various issues dealing with the Python interpreter environment.
|
diekhans/pipettor,diekhans/pipettor
|
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().replace('.. :changelog:', '')
requirements = [
]
test_requirements = [
]
setup(
name = 'pipettor',
version = '0.4.0',
description = "pipettor - robust, easy to use Unix process pipelines",
long_description = readme + '\n\n' + history,
author = "Mark Diekhans",
author_email = '[email protected]',
url = 'https://github.com/diekhans/pipettor',
packages = [
'pipettor',
],
package_dir = {'': 'lib'},
include_package_data = True,
install_requires = requirements,
license = "MIT",
zip_safe = True,
keywords = ['process', 'pipe'],
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Operating System :: POSIX',
'Operating System :: MacOS :: MacOS X',
'Topic :: Software Development :: Libraries :: Python Modules'
],
)
|
#!/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().replace('.. :changelog:', '')
requirements = [
]
test_requirements = [
]
setup(
name = 'pipettor',
version = '0.4.0',
description = "pipettor - robust, easy to use Unix process pipelines",
long_description = readme + '\n\n' + history,
author = "Mark Diekhans",
author_email = '[email protected]',
url = 'https://github.com/diekhans/pipettor',
packages = [
'pipettor',
],
package_dir = {'': 'lib'},
include_package_data = True,
install_requires = requirements,
license = "MIT",
zip_safe = True,
keywords = ['process', 'pipe'],
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Operating System :: POSIX',
'Operating System :: MacOS :: MacOS X',
'Topic :: Software Development :: Libraries :: Python Modules'
],
)
|
mit
|
Python
|
dae923853e0218fc77923f4512f72d0109e8f4bb
|
Add boto as requirement for funsize deployment.
|
petemoore/build-funsize,petemoore/build-funsize
|
setup.py
|
setup.py
|
from setuptools import setup
PACKAGE_NAME = 'funsize'
PACKAGE_VERSION = '0.1'
setup(name=PACKAGE_NAME,
version=PACKAGE_VERSION,
description='partial mar webservice prototype',
long_description='https://wiki.mozilla.org/User:Ffledgling/Senbonzakura',
classifiers=[],
author='Anhad Jai Singh',
author_email='[email protected]',
url='https://wiki.mozilla.org/User:Ffledgling/Senbonzakura',
license='MPL',
install_requires=[
'Flask==0.10.1',
'celery==3.1.11',
'nose==1.3.3',
'requests==2.2.1',
'boto==2.33.0',
],
packages=[
'funsize',
'funsize.backend',
'funsize.cache',
'funsize.frontend',
'funsize.utils',
],
tests_require=[
'nose',
'mock'
],
)
|
from setuptools import setup
PACKAGE_NAME = 'funsize'
PACKAGE_VERSION = '0.1'
setup(name=PACKAGE_NAME,
version=PACKAGE_VERSION,
description='partial mar webservice prototype',
long_description='https://wiki.mozilla.org/User:Ffledgling/Senbonzakura',
classifiers=[],
author='Anhad Jai Singh',
author_email='[email protected]',
url='https://wiki.mozilla.org/User:Ffledgling/Senbonzakura',
license='MPL',
install_requires=[
'Flask==0.10.1',
'celery==3.1.11',
'nose==1.3.3',
'requests==2.2.1',
],
packages=[
'funsize',
'funsize.backend',
'funsize.cache',
'funsize.frontend',
'funsize.utils',
],
tests_require=[
'nose',
'mock'
],
)
|
mpl-2.0
|
Python
|
75b68c414b0fc9c0231011f2f70935abfa63089c
|
Package test data again.
|
praekelt/vumi-wikipedia,praekelt/vumi-wikipedia
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name='vumi-wikipedia',
version='0.1a',
description='Vumi Wikipedia App',
packages=find_packages(),
include_package_data=True,
install_requires=[
'vumi > 0.3.1',
],
url='http://github.com/praekelt/vumi-wikipedia',
license='BSD',
long_description=open('README', 'r').read(),
maintainer='Praekelt Foundation',
maintainer_email='[email protected]',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Networking',
],
)
|
from setuptools import setup, find_packages
setup(
name='vumi-wikipedia',
version='0.1a',
description='Vumi Wikipedia App',
packages=find_packages(),
install_requires=[
'vumi > 0.3.1',
],
url='http://github.com/praekelt/vumi-wikipedia',
license='BSD',
long_description=open('README', 'r').read(),
maintainer='Praekelt Foundation',
maintainer_email='[email protected]',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: POSIX',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: System :: Networking',
],
)
|
bsd-3-clause
|
Python
|
242ba5a29f61267abc06f819886c4a40bee5c28e
|
make version 0.3.19
|
Duke-GCB/DukeDSClient,Duke-GCB/DukeDSClient
|
setup.py
|
setup.py
|
from setuptools import setup
setup(name='DukeDSClient',
version='0.3.19',
description='Command line tool(ddsclient) to upload/manage projects on the duke-data-service.',
url='https://github.com/Duke-GCB/DukeDSClient',
keywords='duke dds dukedataservice',
author='John Bradley',
license='MIT',
packages=['ddsc','ddsc.core'],
install_requires=[
'requests',
'PyYAML',
'pytz',
'future',
'six',
],
test_suite='nose.collector',
tests_require=['nose', 'mock'],
entry_points={
'console_scripts': [
'ddsclient = ddsc.__main__:main'
]
},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Utilities',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
|
from setuptools import setup
setup(name='DukeDSClient',
version='0.3.18',
description='Command line tool(ddsclient) to upload/manage projects on the duke-data-service.',
url='https://github.com/Duke-GCB/DukeDSClient',
keywords='duke dds dukedataservice',
author='John Bradley',
license='MIT',
packages=['ddsc','ddsc.core'],
install_requires=[
'requests',
'PyYAML',
'pytz',
'future',
'six',
],
test_suite='nose.collector',
tests_require=['nose', 'mock'],
entry_points={
'console_scripts': [
'ddsclient = ddsc.__main__:main'
]
},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Topic :: Utilities',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
)
|
mit
|
Python
|
0eb5e0008d54f48f7643ca1dfbefc861c082aa63
|
Remove multi-line license entry
|
kevinconway/daemons
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
with open("README.rst") as f:
readme = f.read()
setup(
name="daemons",
version="1.3.1",
url="https://github.com/kevinconway/daemons",
license="'Apache License 2.0",
description="Well behaved unix daemons for every occasion.",
author="Kevin Conway",
author_email="[email protected]",
long_description=readme,
classifiers=[],
packages=find_packages(exclude=["tests", "build", "dist", "docs"]),
install_requires=[],
)
|
from setuptools import setup, find_packages
with open("README.rst") as f:
readme = f.read()
with open("LICENSE") as f:
license = f.read()
setup(
name="daemons",
version="1.3.1",
url="https://github.com/kevinconway/daemons",
license=license,
description="Well behaved unix daemons for every occasion.",
author="Kevin Conway",
author_email="[email protected]",
long_description=readme,
classifiers=[],
packages=find_packages(exclude=["tests", "build", "dist", "docs"]),
requires=[],
)
|
apache-2.0
|
Python
|
dd5a4516993599f05cc8291e772de182cdc3c874
|
Update setup for PyIi
|
HIIT/hybra-core,HIIT/hybra-core,HIIT/hybra-core,HIIT/hybra-core,HIIT/hybra-core
|
setup.py
|
setup.py
|
#!/usr/bin/python
# -*- coding: utf-8 -*-
from setuptools import setup
setup(
name = 'hybra-core',
version = '0.1.0a1',
description = 'Toolkit for data management and analysis.',
keywords = ['data management', 'data analysis'],
url = 'https://github.com/HIIT/hybra-core',
download_url = 'https://github.com/HIIT/hybra-core/archive/0.1.0.tar.gz',
author = 'Matti Nelimarkka, Juho Pääkkönen, Arto Kekkonen',
author_email = '[email protected], [email protected], [email protected]',
packages = ['hybra'],
licence = 'MIT',
install_requires=[
'dateparser>=0.5.1',
'GitPython>=2.0.6',
'jupyter>=1.0.0',
'jupyter-client>=4.3.0',
'jupyter-console>=4.1.1',
'jupyter-core>=4.1.0',
'matplotlib>=1.5.3',
'nbstripout>=0.2.9',
'networkx>=1.11',
'numpy>=1.11.0',
'requests>=2.9.1',
'scikit-learn>=0.17.1',
'scipy>=0.17.1',
'XlsxWriter>=0.9.6',
'wordcloud>=1.2.1',
'tldextract>=2.1.0'
],
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: JavaScript'
]
)
|
#!/usr/bin/python
# -*- coding: utf-8 -*-
from distutils.core import setup
setup(
name = 'hybra',
packages = ['hybra'],
version = '0.1',
description = 'Toolkit for data management and analysis',
author = 'Matti Nelimarkka, Juho Pääkkönen, Arto Kekkonen',
author_email = '[email protected], [email protected], [email protected]',
url = 'https://github.com/HIIT/hybra-core',
download_url = 'https://github.com/HIIT/hybra-core/archive/0.1.tar.gz',
keywords = ['data management', 'data analysis'],
classifiers = [],
)
|
mit
|
Python
|
c8fc68eb0913cd550311c601d8552b0bddf6a9a6
|
Change description
|
Ch00k/mailhole
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup
from mailhole import __version__
setup(
name = 'mailhole',
version=__version__,
description = 'A simple application to test email sending functionality',
author = 'Andriy Yurchuk',
author_email = '[email protected]',
url = 'https://github.com/Ch00k/mailhole',
license = 'LICENSE.txt',
long_description = open('README.rst').read(),
entry_points = {
'console_scripts': [
'mailhole = mailhole.mailhole:main'
]
},
packages = ['mailhole'],
)
|
#!/usr/bin/env python
from setuptools import setup
from mailhole import __version__
setup(
name = 'mailhole',
version=__version__,
description = 'Fake SMTP server, used for testing',
author = 'Andriy Yurchuk',
author_email = '[email protected]',
url = 'https://github.com/Ch00k/mailhole',
license = 'LICENSE.txt',
long_description = open('README.rst').read(),
entry_points = {
'console_scripts': [
'mailhole = mailhole.mailhole:main'
]
},
packages = ['mailhole'],
)
|
mit
|
Python
|
986d55734ebf91f5262284cc9d6006f029f437c7
|
refactor extra python packages as we will have a few of these
|
datascopeanalytics/scrubadub,deanmalmgren/scrubadub,datascopeanalytics/scrubadub,deanmalmgren/scrubadub
|
setup.py
|
setup.py
|
import glob
import os
from setuptools import setup
# read in the description from README
with open("README.rst") as stream:
long_description = stream.read()
github_url = 'https://github.com/LeapBeyond/scrubadub'
def read_packages_from_file(filename):
with open(filename, 'r') as stream:
for line in stream:
package = line.strip().split('#')[0]
if package:
yield package
def get_package_list(location):
location = os.path.join('requirements', location)
return list(read_packages_from_file(location))
# get the version
version = None
with open(os.path.join('scrubadub', '__init__.py')) as stream:
for line in stream:
if 'version' in line.lower():
version = line.split()[-1].replace('"', '').replace("'", '')
setup(
name='scrubadub',
version=version,
description=(
"Clean personally identifiable information from dirty dirty text."
),
long_description=long_description,
url=github_url,
download_url="%s/archives/master" % github_url,
author='Dean Malmgren',
author_email='[email protected]',
license='MIT',
packages=[
'scrubadub',
'scrubadub.filth',
'scrubadub.detectors',
'scrubadub.post_processors',
'scrubadub.post_processors.text_replacers',
],
classifiers=[
'Intended Audience :: Developers',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python',
'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 :: Software Development :: Libraries',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Text Processing',
'Topic :: Utilities',
],
install_requires=get_package_list('python'),
extras_require={
"spacy": get_package_list('python-extras-spacy'),
},
zip_safe=False,
)
|
import glob
import os
from setuptools import setup
# read in the description from README
with open("README.rst") as stream:
long_description = stream.read()
github_url = 'https://github.com/LeapBeyond/scrubadub'
def read_packages_from_file(filename):
with open(filename, 'r') as stream:
for line in stream:
package = line.strip().split('#')[0]
if package:
yield package
# read in the dependencies from the virtualenv requirements file
filename = os.path.join("requirements", "python")
dependencies = list(read_packages_from_file(filename))
# read extra spacy dependencies from python-extras requirements file
filename = os.path.join("requirements", "python-extras")
extras = list(read_packages_from_file(filename))
# get the version
version = None
with open(os.path.join('scrubadub', '__init__.py')) as stream:
for line in stream:
if 'version' in line.lower():
version = line.split()[-1].replace('"', '').replace("'", '')
setup(
name='scrubadub',
version=version,
description=(
"Clean personally identifiable information from dirty dirty text."
),
long_description=long_description,
url=github_url,
download_url="%s/archives/master" % github_url,
author='Dean Malmgren',
author_email='[email protected]',
license='MIT',
packages=[
'scrubadub',
'scrubadub.filth',
'scrubadub.detectors',
'scrubadub.post_processors',
'scrubadub.post_processors.text_replacers',
],
classifiers=[
'Intended Audience :: Developers',
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',
'Programming Language :: Python',
'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 :: Software Development :: Libraries',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Text Processing',
'Topic :: Utilities',
],
install_requires=dependencies,
extras_require={"spacy": extras},
zip_safe=False,
)
|
mit
|
Python
|
241cb3a2ee4393b7ddad80b4b98031cfd7224f61
|
make sure we are py2 compatible
|
UCBerkeleySETI/blimpy,UCBerkeleySETI/blimpy
|
setup.py
|
setup.py
|
"""
setup.py -- setup script for use of packages.
"""
from setuptools import setup, find_packages
__version__ = '1.3.4'
# create entry points
# see http://astropy.readthedocs.org/en/latest/development/scripts.html
entry_points = {
'console_scripts' : [
'filutil = blimpy.filterbank:cmd_tool',
'watutil = blimpy.waterfall:cmd_tool',
'rawutil = blimpy.guppi:cmd_tool',
'fil2h5 = blimpy.fil2h5:cmd_tool',
'h52fil = blimpy.h52fil:cmd_tool',
'matchfils = blimpy.match_fils:cmd_tool',
'bldice = blimpy.dice:cmd_tool'
]
}
install_requires = [
'astropy<3.0', # 3 is not compatible with py2
'numpy',
'cython',
'h5py',
'scipy',
'matplotlib<3.0', # 3 is not compatible with py2
]
extras_require = {
'full': [
'bitshuffle',
'pyslalib',
]
}
setup(name='blimpy',
version=__version__,
description='Python utilities for Breakthrough Listen SETI observations',
long_description="Python utilities for Breakthrough Listen SETI observations. It includes data handling, formating, dicing and plotting.",
platform=['*nix'],
license='MIT',
install_requires=install_requires,
extras_require=extras_require,
url='https://github.com/ucberkeleyseti/blimpy',
author='Danny Price, Emilio Enriquez, Griffin Foster, Greg Hellbourg',
author_email='[email protected]',
entry_points=entry_points,
packages=find_packages(),
zip_safe=False,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Topic :: Scientific/Engineering :: Astronomy',
],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
test_suite="tests",
)
|
"""
setup.py -- setup script for use of packages.
"""
from setuptools import setup, find_packages
__version__ = '1.3.4'
# create entry points
# see http://astropy.readthedocs.org/en/latest/development/scripts.html
entry_points = {
'console_scripts' : [
'filutil = blimpy.filterbank:cmd_tool',
'watutil = blimpy.waterfall:cmd_tool',
'rawutil = blimpy.guppi:cmd_tool',
'fil2h5 = blimpy.fil2h5:cmd_tool',
'h52fil = blimpy.h52fil:cmd_tool',
'matchfils = blimpy.match_fils:cmd_tool',
'bldice = blimpy.dice:cmd_tool'
]
}
install_requires = [
'astropy',
'numpy',
'cython',
'h5py',
'scipy',
'matplotlib',
]
extras_require = {
'full': [
'bitshuffle',
'pyslalib',
]
}
setup(name='blimpy',
version=__version__,
description='Python utilities for Breakthrough Listen SETI observations',
long_description="Python utilities for Breakthrough Listen SETI observations. It includes data handling, formating, dicing and plotting.",
platform=['*nix'],
license='MIT',
install_requires=install_requires,
extras_require=extras_require,
url='https://github.com/ucberkeleyseti/blimpy',
author='Danny Price, Emilio Enriquez, Griffin Foster, Greg Hellbourg',
author_email='[email protected]',
entry_points=entry_points,
packages=find_packages(),
zip_safe=False,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 2.7',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Topic :: Scientific/Engineering :: Astronomy',
],
setup_requires=['pytest-runner'],
tests_require=['pytest'],
test_suite="tests",
)
|
bsd-3-clause
|
Python
|
26f40f91f5832543bb7c57a238ff4189b262a740
|
Bump version
|
hamperbot/hamper
|
setup.py
|
setup.py
|
#!/usr/bin/env python2
from setuptools import setup, find_packages
requires = open('requirements.txt').read().split('\n')
setup(
name='hamper',
version='1.11.1',
description='Yet another IRC bot',
install_requires=requires,
author='Mike Cooper',
author_email='[email protected]',
url='https://www.github.com/hamperbot/hamper',
packages=find_packages(),
entry_points={
'console_scripts': [
'hamper = hamper.commander:main',
],
'hamperbot.plugins': [
'bitly = hamper.plugins.bitly:Bitly',
'botsnack = hamper.plugins.friendly:BotSnack',
'channel_utils = hamper.plugins.channel_utils:ChannelUtils',
'choices = hamper.plugins.questions:ChoicesPlugin',
'dice = hamper.plugins.commands:Dice',
'factoids = hamper.plugins.factoids:Factoids',
'flip = hamper.plugins.flip:Flip',
'friendly = hamper.plugins.friendly:Friendly',
'goodbye = hamper.plugins.goodbye:GoodBye',
'help = hamper.plugins.help:Help',
'karma = hamper.plugins.karma:Karma',
'karma_adv = hamper.plugins.karma_adv:KarmAdv',
'lmgtfy = hamper.plugins.commands:LetMeGoogleThatForYou',
'lookup = hamper.plugins.dictionary:Lookup',
'ponies = hamper.plugins.friendly:OmgPonies',
'quit = hamper.plugins.commands:Quit',
'quotes = hamper.plugins.quotes:Quotes',
'remindme = hamper.plugins.remindme:Reminder',
'rot13 = hamper.plugins.commands:Rot13',
'roulette = hamper.plugins.roulette:Roulette',
'sed = hamper.plugins.commands:Sed',
'seen = hamper.plugins.seen:Seen',
'suggest = hamper.plugins.suggest:Suggest',
'timez = hamper.plugins.timez:Timez',
'tinyurl = hamper.plugins.tinyurl:Tinyurl',
'whatwasthat = hamper.plugins.whatwasthat:WhatWasThat',
'yesno = hamper.plugins.questions:YesNoPlugin',
],
},
)
|
#!/usr/bin/env python2
from setuptools import setup, find_packages
requires = open('requirements.txt').read().split('\n')
setup(
name='hamper',
version='1.11.0',
description='Yet another IRC bot',
install_requires=requires,
author='Mike Cooper',
author_email='[email protected]',
url='https://www.github.com/hamperbot/hamper',
packages=find_packages(),
entry_points={
'console_scripts': [
'hamper = hamper.commander:main',
],
'hamperbot.plugins': [
'bitly = hamper.plugins.bitly:Bitly',
'botsnack = hamper.plugins.friendly:BotSnack',
'channel_utils = hamper.plugins.channel_utils:ChannelUtils',
'choices = hamper.plugins.questions:ChoicesPlugin',
'dice = hamper.plugins.commands:Dice',
'factoids = hamper.plugins.factoids:Factoids',
'flip = hamper.plugins.flip:Flip',
'friendly = hamper.plugins.friendly:Friendly',
'goodbye = hamper.plugins.goodbye:GoodBye',
'help = hamper.plugins.help:Help',
'karma = hamper.plugins.karma:Karma',
'karma_adv = hamper.plugins.karma_adv:KarmAdv',
'lmgtfy = hamper.plugins.commands:LetMeGoogleThatForYou',
'lookup = hamper.plugins.dictionary:Lookup',
'ponies = hamper.plugins.friendly:OmgPonies',
'quit = hamper.plugins.commands:Quit',
'quotes = hamper.plugins.quotes:Quotes',
'remindme = hamper.plugins.remindme:Reminder',
'rot13 = hamper.plugins.commands:Rot13',
'roulette = hamper.plugins.roulette:Roulette',
'sed = hamper.plugins.commands:Sed',
'seen = hamper.plugins.seen:Seen',
'suggest = hamper.plugins.suggest:Suggest',
'timez = hamper.plugins.timez:Timez',
'tinyurl = hamper.plugins.tinyurl:Tinyurl',
'whatwasthat = hamper.plugins.whatwasthat:WhatWasThat',
'yesno = hamper.plugins.questions:YesNoPlugin',
],
},
)
|
mit
|
Python
|
8c09013994291312068cabc463dc996c06312737
|
fix python 2.6 support.
|
enthought/machotools,enthought/machotools,pombredanne/machotools,pombredanne/machotools
|
setup.py
|
setup.py
|
import os.path as op
from setuptools import setup
VERSION = "0.1.0.dev1"
if __name__ == "__main__":
with open(op.join("machotools", "__version.py"), "wt") as fp:
fp.write("__version__ = '{0}'".format(VERSION))
setup(name="machotools",
version=VERSION,
author="David Cournapeau",
author_email="[email protected]",
license="BSD",
packages=["machotools", "machotools.tests"],
install_requires=["macholib"])
|
import os.path as op
from setuptools import setup
VERSION = "0.1.0.dev1"
if __name__ == "__main__":
with open(op.join("machotools", "__version.py"), "wt") as fp:
fp.write("__version__ = '{}'".format(VERSION))
setup(name="machotools",
version=VERSION,
author="David Cournapeau",
author_email="[email protected]",
license="BSD",
packages=["machotools", "machotools.tests"],
install_requires=["macholib"])
|
bsd-3-clause
|
Python
|
786433154a419d41d03fb025aa49e379b9058f72
|
Bump flake8 from 3.9.1 to 3.9.2
|
sloria/environs,sloria/environs
|
setup.py
|
setup.py
|
import re
from setuptools import setup
INSTALL_REQUIRES = ["marshmallow>=2.7.0", "python-dotenv"]
DJANGO_REQUIRES = ["dj-database-url", "dj-email-url", "django-cache-url"]
EXTRAS_REQUIRE = {
"django": DJANGO_REQUIRES,
"tests": ["pytest"] + DJANGO_REQUIRES,
"lint": ["flake8==3.9.2", "flake8-bugbear==21.4.3", "mypy==0.812", "pre-commit~=2.4"],
}
EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_REQUIRE["lint"] + ["tox"]
PYTHON_REQUIRES = ">=3.6"
def find_version(fname):
version = ""
with open(fname) as fp:
reg = re.compile(r'__version__ = [\'"]([^\'"]*)[\'"]')
for line in fp:
m = reg.match(line)
if m:
version = m.group(1)
break
if not version:
raise RuntimeError("Cannot find version information")
return version
def read(fname):
with open(fname) as fp:
content = fp.read()
return content
setup(
name="environs",
packages=["environs"],
package_data={"environs": ["py.typed"]},
version=find_version("environs/__init__.py"),
description="simplified environment variable parsing",
long_description=read("README.md"),
long_description_content_type="text/markdown",
author="Steven Loria",
author_email="[email protected]",
url="https://github.com/sloria/environs",
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS_REQUIRE,
license="MIT",
zip_safe=False,
python_requires=PYTHON_REQUIRES,
keywords="environment variables parsing config configuration 12factor envvars",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Typing :: Typed",
],
project_urls={
"Issues": "https://github.com/sloria/environs/issues",
"Changelog": "https://github.com/sloria/environs/blob/master/CHANGELOG.md",
},
)
|
import re
from setuptools import setup
INSTALL_REQUIRES = ["marshmallow>=2.7.0", "python-dotenv"]
DJANGO_REQUIRES = ["dj-database-url", "dj-email-url", "django-cache-url"]
EXTRAS_REQUIRE = {
"django": DJANGO_REQUIRES,
"tests": ["pytest"] + DJANGO_REQUIRES,
"lint": ["flake8==3.9.1", "flake8-bugbear==21.4.3", "mypy==0.812", "pre-commit~=2.4"],
}
EXTRAS_REQUIRE["dev"] = EXTRAS_REQUIRE["tests"] + EXTRAS_REQUIRE["lint"] + ["tox"]
PYTHON_REQUIRES = ">=3.6"
def find_version(fname):
version = ""
with open(fname) as fp:
reg = re.compile(r'__version__ = [\'"]([^\'"]*)[\'"]')
for line in fp:
m = reg.match(line)
if m:
version = m.group(1)
break
if not version:
raise RuntimeError("Cannot find version information")
return version
def read(fname):
with open(fname) as fp:
content = fp.read()
return content
setup(
name="environs",
packages=["environs"],
package_data={"environs": ["py.typed"]},
version=find_version("environs/__init__.py"),
description="simplified environment variable parsing",
long_description=read("README.md"),
long_description_content_type="text/markdown",
author="Steven Loria",
author_email="[email protected]",
url="https://github.com/sloria/environs",
install_requires=INSTALL_REQUIRES,
extras_require=EXTRAS_REQUIRE,
license="MIT",
zip_safe=False,
python_requires=PYTHON_REQUIRES,
keywords="environment variables parsing config configuration 12factor envvars",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Typing :: Typed",
],
project_urls={
"Issues": "https://github.com/sloria/environs/issues",
"Changelog": "https://github.com/sloria/environs/blob/master/CHANGELOG.md",
},
)
|
mit
|
Python
|
09654ba589b25d9680f0858bb0432b5b3881ca51
|
Update setup.py
|
halcy/Mastodon.py
|
setup.py
|
setup.py
|
from setuptools import setup
test_deps = ['pytest', 'pytest-cov', 'vcrpy', 'pytest-vcr', 'pytest-mock']
extras = {
"test": test_deps
}
setup(name='Mastodon.py',
version='1.2.2',
description='Python wrapper for the Mastodon API',
packages=['mastodon'],
setup_requires=['pytest-runner'],
install_requires=['requests', 'python-dateutil', 'six', 'pytz', 'decorator>=4.0.0'],
tests_require=test_deps,
extras_require=extras,
url='https://github.com/halcy/Mastodon.py',
author='Lorenz Diener',
author_email='[email protected]',
license='MIT',
keywords='mastodon api microblogging',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Communications',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
])
|
from setuptools import setup
test_deps = ['pytest', 'pytest-cov', 'vcrpy', 'pytest-vcr', 'pytest-mock']
extras = {
"test": test_deps
}
setup(name='Mastodon.py',
version='1.2.2',
description='Python wrapper for the Mastodon API',
packages=['mastodon'],
setup_requires=['pytest-runner'],
install_requires=['requests', 'python-dateutil', 'six', 'pytz', 'decorator'],
tests_require=test_deps,
extras_require=extras,
url='https://github.com/halcy/Mastodon.py',
author='Lorenz Diener',
author_email='[email protected]',
license='MIT',
keywords='mastodon api microblogging',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Topic :: Communications',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
])
|
mit
|
Python
|
ab4f0a5bdd640f31ddd03969d1cc6ea38bb79ce0
|
Update version
|
maccesch/cmsplugin-contact,maccesch/cmsplugin-contact
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name='cmsplugin-contact',
version='1.1.3',
description='Extendable contact form plugin for Django CMS with spam protection and i18n',
long_description=open('README.rst').read(),
author='Maccesch',
author_email='[email protected]',
url='http://github.com/maccesch/cmsplugin-contact',
packages=find_packages(),
keywords='contact form django cms django-cms spam protection email',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
],
include_package_data=True,
zip_safe=False,
install_requires=[],
)
|
from setuptools import setup, find_packages
setup(
name='cmsplugin-contact',
version='1.1.2',
description='Extendable contact form plugin for Django CMS with spam protection and i18n',
long_description=open('README.rst').read(),
author='Maccesch',
author_email='[email protected]',
url='http://github.com/maccesch/cmsplugin-contact',
packages=find_packages(),
keywords='contact form django cms django-cms spam protection email',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
],
include_package_data=True,
zip_safe=False,
install_requires=[],
)
|
bsd-2-clause
|
Python
|
4f2ed94d507bbd041aedd49aadb78a16c4c2f5d9
|
Update dependency range for api-core to include v1.0.0 releases (#4944)
|
googleapis/python-translate,googleapis/python-translate
|
setup.py
|
setup.py
|
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import io
import os
import setuptools
# Package metadata.
name = 'google-cloud-translate'
description = 'Google Cloud Translation API client library'
version = '1.3.1.dev1'
# Should be one of:
# 'Development Status :: 3 - Alpha'
# 'Development Status :: 4 - Beta'
# 'Development Status :: 5 - Stable'
release_status = 'Development Status :: 5 - Production/Stable'
dependencies = [
'google-cloud-core<0.29dev,>=0.28.0',
'google-api-core<2.0.0dev,>=0.1.1',
]
extras = {
}
# Setup boilerplate below this line.
package_root = os.path.abspath(os.path.dirname(__file__))
readme_filename = os.path.join(package_root, 'README.rst')
with io.open(readme_filename, encoding='utf-8') as readme_file:
readme = readme_file.read()
# Only include packages under the 'google' namespace. Do not include tests,
# benchmarks, etc.
packages = [
package for package in setuptools.find_packages()
if package.startswith('google')]
# Determine which namespaces are needed.
namespaces = ['google']
if 'google.cloud' in packages:
namespaces.append('google.cloud')
setuptools.setup(
name=name,
version=version,
description=description,
long_description=readme,
author='Google LLC',
author_email='[email protected]',
license='Apache 2.0',
url='https://github.com/GoogleCloudPlatform/google-cloud-python',
classifiers=[
release_status,
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Operating System :: OS Independent',
'Topic :: Internet',
],
platforms='Posix; MacOS X; Windows',
packages=packages,
namespace_packages=namespaces,
install_requires=dependencies,
extras_require=extras,
include_package_data=True,
zip_safe=False,
)
|
# Copyright 2018 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import io
import os
import setuptools
# Package metadata.
name = 'google-cloud-translate'
description = 'Google Cloud Translation API client library'
version = '1.3.1.dev1'
# Should be one of:
# 'Development Status :: 3 - Alpha'
# 'Development Status :: 4 - Beta'
# 'Development Status :: 5 - Stable'
release_status = 'Development Status :: 5 - Production/Stable'
dependencies = [
'google-cloud-core<0.29dev,>=0.28.0',
'google-api-core<0.2.0dev,>=0.1.1',
]
extras = {
}
# Setup boilerplate below this line.
package_root = os.path.abspath(os.path.dirname(__file__))
readme_filename = os.path.join(package_root, 'README.rst')
with io.open(readme_filename, encoding='utf-8') as readme_file:
readme = readme_file.read()
# Only include packages under the 'google' namespace. Do not include tests,
# benchmarks, etc.
packages = [
package for package in setuptools.find_packages()
if package.startswith('google')]
# Determine which namespaces are needed.
namespaces = ['google']
if 'google.cloud' in packages:
namespaces.append('google.cloud')
setuptools.setup(
name=name,
version=version,
description=description,
long_description=readme,
author='Google LLC',
author_email='[email protected]',
license='Apache 2.0',
url='https://github.com/GoogleCloudPlatform/google-cloud-python',
classifiers=[
release_status,
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Operating System :: OS Independent',
'Topic :: Internet',
],
platforms='Posix; MacOS X; Windows',
packages=packages,
namespace_packages=namespaces,
install_requires=dependencies,
extras_require=extras,
include_package_data=True,
zip_safe=False,
)
|
apache-2.0
|
Python
|
bfc85ac3d2b29e5287fa556e0e2215bc39668db5
|
Replace thriftpy dependency with thriftpy2
|
jcrobak/parquet-python
|
setup.py
|
setup.py
|
"""setup.py - build script for parquet-python."""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='parquet',
version='1.2',
description='Python support for Parquet file format',
author='Joe Crobak',
author_email='[email protected]',
url='https://github.com/jcrobak/parquet-python',
license='Apache License 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
packages=['parquet'],
install_requires=[
'python-snappy',
'thriftpy2',
],
extras_require={
':python_version=="2.7"': [
"backports.csv",
],
},
entry_points={
'console_scripts': [
'parquet = parquet.__main__:main',
]
},
package_data={'parquet': ['*.thrift']},
include_package_data=True,
)
|
"""setup.py - build script for parquet-python."""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
setup(
name='parquet',
version='1.2',
description='Python support for Parquet file format',
author='Joe Crobak',
author_email='[email protected]',
url='https://github.com/jcrobak/parquet-python',
license='Apache License 2.0',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
],
packages=['parquet'],
install_requires=[
'python-snappy',
'thriftpy>=0.3.6',
],
extras_require={
':python_version=="2.7"': [
"backports.csv",
],
},
entry_points={
'console_scripts': [
'parquet = parquet.__main__:main',
]
},
package_data={'parquet': ['*.thrift']},
include_package_data=True,
)
|
apache-2.0
|
Python
|
de051cd25e1f4f5dacb6a3d50cf2d3bf569f712d
|
Remove unused import
|
gadventures/django-gapi-hooked
|
setup.py
|
setup.py
|
from setuptools import setup
_version_file = 'hooked/version.py'
with open(_version_file) as vf:
exec(vf.read())
setup(
name='django-gapi-hooked',
version=__version__,
author='G Adventures',
author_email='[email protected]',
description='A tiny library to add a G Adventures API Web Hook receiver view to your code base.',
download_url='https://github.com/gadventures/django-gapi-hooked/tarball/%s' % __version__,
url='https://github.com/gadventures/django-gapi-hooked',
packages=[
'hooked',
],
install_requires=[
'Django>=1.6',
],
keywords=[
'gapi',
'g adventures',
'g api',
'gapipy'
],
setup_requires=[
'pytest-runner',
],
tests_require=[
'pytest',
'pytest-django',
],
)
|
import sys
from setuptools import setup
_version_file = 'hooked/version.py'
with open(_version_file) as vf:
exec(vf.read())
setup(
name='django-gapi-hooked',
version=__version__,
author='G Adventures',
author_email='[email protected]',
description='A tiny library to add a G Adventures API Web Hook receiver view to your code base.',
download_url='https://github.com/gadventures/django-gapi-hooked/tarball/%s' % __version__,
url='https://github.com/gadventures/django-gapi-hooked',
packages=[
'hooked',
],
install_requires=[
'Django>=1.6',
],
keywords=[
'gapi',
'g adventures',
'g api',
'gapipy'
],
setup_requires=[
'pytest-runner',
],
tests_require=[
'pytest',
'pytest-django',
],
)
|
mit
|
Python
|
c4e1059b387269b6098d05d2227c085e7931b140
|
Update module description for clarity
|
natelust/least_asymmetry,natelust/least_asymmetry,natelust/least_asymmetry
|
setup.py
|
setup.py
|
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from distutils.core import setup, Extension
cpp_args = ['-std=c++11', '-stdlib=libc++', '-mmacosx-version-min=10.7']
ext_modules = [
Extension(
'make_asym',
['make_asym.cc'],
include_dirs=['include'],
language='c++',
extra_compile_args=cpp_args,
),
]
setup(
name='make_asym',
version='0.1',
author='Nate Lust',
author_email='[email protected]',
description='A module for calculating centers though least asymmetry',
ext_modules=ext_modules,
)
|
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
from distutils.core import setup, Extension
cpp_args = ['-std=c++11', '-stdlib=libc++', '-mmacosx-version-min=10.7']
ext_modules = [
Extension(
'make_asym',
['make_asym.cc'],
include_dirs=['include'],
language='c++',
extra_compile_args=cpp_args,
),
]
setup(
name='make_asym',
version='0.1',
author='Nate Lust',
author_email='[email protected]',
description='A python extension module for calculating asymmetry values',
ext_modules=ext_modules,
)
|
mpl-2.0
|
Python
|
c233359e79288812beb45978fa53f764a280f29a
|
Add tests for Terrain3D
|
jackromo/RandTerrainPy
|
tests/test_terraindisplay.py
|
tests/test_terraindisplay.py
|
import unittest
from randterrainpy import *
class Terrain2DTester(unittest.TestCase):
def setUp(self):
self.ter1 = Terrain(100, 100) # all black
self.ter2 = Terrain(200, 200) # all white
for x in range(self.ter2.width):
for y in range(self.ter2.length):
self.ter2[x, y] = 1
self.ter3 = Terrain(100, 100) # main diagonal is increasing brightness downwards
for x in range(self.ter3.width):
for y in range(self.ter3.length):
if x == y:
self.ter3[x, y] = float(y) / self.ter3.length
self.ter4 = Terrain(200, 100) # checkerboard pattern
for x in range(self.ter4.width):
for y in range(self.ter4.length):
self.ter4[x, y] = 1 if (x + y) % 2 == 0 else 0
def test_display(self):
self.ter1.display_2d()
self.assertEqual(input("Was the display all black? (y/n): "), "y")
self.ter2.display_2d()
self.assertEqual(input("Was the display all white? (y/n): "), "y")
self.ter3.display_2d()
self.assertEqual(input("Did the display have a whitening diagonal downwards? (y/n): "), "y")
self.ter4.display_2d()
self.assertEqual(input("Was the display a checkerboard? (y/n): "), "y")
class Terrain3DTester(unittest.TestCase):
def setUp(self):
self.ter1 = Terrain(100, 100) # all low
self.ter2 = Terrain(200, 200) # all high
for x in range(self.ter2.width):
for y in range(self.ter2.length):
self.ter2[x, y] = 1
self.ter3 = Terrain(100, 100) # diagonal on one edge is a ramp
for x in range(min(self.ter3.width, self.ter3.length)):
self.ter3[x, 0] = float(x) / self.ter3.length
self.ter4 = Terrain(200, 100) # ramp increasing down y axis
for x in range(self.ter4.width):
for y in range(self.ter4.length):
self.ter4[x, y] = float(y) / self.ter4.length
def test_display(self):
self.ter1.display_3d()
self.assertEqual(input("Was the terrain all low? (y/n): "), "y")
self.ter2.display_3d()
self.assertEqual(input("Was the terrain all high? (y/n): "), "y")
self.ter3.display_3d()
self.assertEqual(input("Was the terrain a thin ramp on one edge of the plot? (y/n): "), "y")
self.ter4.display_3d()
self.assertEqual(input("Was the terrain a ramp upwards? (y/n): "), "y")
if __name__ == "__main__":
unittest.main()
|
import unittest
from randterrainpy import *
class Terrain2DTester(unittest.TestCase):
def setUp(self):
self.ter1 = Terrain(100, 100) # all black
self.ter2 = Terrain(200, 200) # all white
for x in range(self.ter2.width):
for y in range(self.ter2.length):
self.ter2[x, y] = 1
self.ter3 = Terrain(100, 100) # main diagonal is increasing brightness downwards
for x in range(self.ter3.width):
for y in range(self.ter3.length):
if x == y:
self.ter3[x, y] = float(y) / self.ter1.length
self.ter4 = Terrain(200, 100) # checkerboard pattern
for x in range(self.ter4.width):
for y in range(self.ter4.length):
self.ter4[x, y] = 1 if (x + y) % 2 == 0 else 0
def test_display(self):
self.ter1.display_2d()
self.assertEqual(input("Was the display all black? (y/n): "), "y")
self.ter2.display_2d()
self.assertEqual(input("Was the display all white? (y/n): "), "y")
self.ter3.display_2d()
self.assertEqual(input("Did the display have a whitening diagonal downwards? (y/n): "), "y")
self.ter4.display_2d()
self.assertEqual(input("Was the display a checkerboard? (y/n): "), "y")
class Terrain3DTester(unittest.TestCase):
pass
if __name__ == "__main__":
unittest.main()
|
mit
|
Python
|
bc8bd227c3d15cde8b2a46c40f7188c34026046d
|
Make assertion about status code
|
adamtheturtle/vws-python,adamtheturtle/vws-python
|
tests/test_unknown_target.py
|
tests/test_unknown_target.py
|
"""
Tests for passing invalid target IDs to helpers which require a target ID to
be given.
"""
from typing import Any, Callable, Dict, Union
import pytest
from _pytest.fixtures import SubRequest
from requests import codes
from vws import VWS
from vws.exceptions import UnknownTarget
@pytest.fixture()
def _delete_target(client: VWS) -> Callable[[str], None]:
return client.delete_target
@pytest.fixture()
def _get_target_record(client: VWS,
) -> Callable[[str], Dict[str, Union[str, int]]]:
return client.get_target_record
@pytest.fixture()
def _wait_for_target_processed(client: VWS) -> Any:
return client.wait_for_target_processed
@pytest.fixture()
def _get_target_summary_report(
client: VWS,
) -> Callable[[str], Dict[str, Union[str, int]]]:
return client.get_target_summary_report
@pytest.mark.parametrize(
'fixture',
[
'_delete_target',
'_get_target_record',
'_wait_for_target_processed',
'_get_target_summary_report',
],
)
def test_invalid_given_id(
fixture: Callable[[str], None],
request: SubRequest,
) -> None:
"""
Giving an invalid ID to a helper which requires a target ID to be given
causes an ``UnknownTarget`` exception to be raised.
"""
func = request.getfixturevalue(fixture)
with pytest.raises(UnknownTarget) as exc:
func(target_id='x')
assert exc.value.response.status_code == codes.NOT_FOUND
|
"""
Tests for passing invalid target IDs to helpers which require a target ID to
be given.
"""
from typing import Any, Callable, Dict, Union
import pytest
from _pytest.fixtures import SubRequest
from vws import VWS
from vws.exceptions import UnknownTarget
@pytest.fixture()
def _delete_target(client: VWS) -> Callable[[str], None]:
return client.delete_target
@pytest.fixture()
def _get_target_record(client: VWS,
) -> Callable[[str], Dict[str, Union[str, int]]]:
return client.get_target_record
@pytest.fixture()
def _wait_for_target_processed(client: VWS) -> Any:
return client.wait_for_target_processed
@pytest.fixture()
def _get_target_summary_report(
client: VWS,
) -> Callable[[str], Dict[str, Union[str, int]]]:
return client.get_target_summary_report
@pytest.mark.parametrize(
'fixture',
[
'_delete_target',
'_get_target_record',
'_wait_for_target_processed',
'_get_target_summary_report',
],
)
def test_invalid_given_id(
fixture: Callable[[str], None],
request: SubRequest,
) -> None:
"""
Giving an invalid ID to a helper which requires a target ID to be given
causes an ``UnknownTarget`` exception to be raised.
"""
func = request.getfixturevalue(fixture)
with pytest.raises(UnknownTarget):
func(target_id='x')
|
mit
|
Python
|
c3834af13fb14d0961e7e8ce29c3bbbe91ebb5ce
|
Update mbutil to 0.2.0
|
lukasmartinelli/mbtoolbox
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
import sys
import mbtoolbox
with open('mbtoolbox/__init__.py') as f:
for line in f:
if line.find("__version__") >= 0:
version = line.split("=")[1].strip()
version = version.strip('"')
version = version.strip("'")
continue
open_kwds = {}
if sys.version_info > (3,):
open_kwds['encoding'] = 'utf-8'
with open('README.md', **open_kwds) as f:
readme = f.read()
setup(
name='mbtoolbox',
version=mbtoolbox.__version__,
description="MBTiles toolbox tool for optimizing and verifying MBTiles files",
long_description=readme,
classifiers=[],
keywords='',
author='Lukas Martinelli',
author_email='[email protected]',
url='https://github.com/lukasmartinelli/mbtoolbox',
license='BSD',
packages=find_packages(exclude=[]),
include_package_data=True,
install_requires=['docopt==0.6.2', 'mercantile==0.8.3',
'humanize==0.5.1', 'mbutil==0.2.0'],
dependency_links=['https://github.com/mapbox/mbutil/tarball/master#egg=mbutil-0.2.0beta'],
scripts = ['bin/mbverify', 'bin/mboptimize']
)
|
from setuptools import setup, find_packages
import sys
import mbtoolbox
with open('mbtoolbox/__init__.py') as f:
for line in f:
if line.find("__version__") >= 0:
version = line.split("=")[1].strip()
version = version.strip('"')
version = version.strip("'")
continue
open_kwds = {}
if sys.version_info > (3,):
open_kwds['encoding'] = 'utf-8'
with open('README.md', **open_kwds) as f:
readme = f.read()
setup(
name='mbtoolbox',
version=mbtoolbox.__version__,
description="MBTiles toolbox tool for optimizing and verifying MBTiles files",
long_description=readme,
classifiers=[],
keywords='',
author='Lukas Martinelli',
author_email='[email protected]',
url='https://github.com/lukasmartinelli/mbtoolbox',
license='BSD',
packages=find_packages(exclude=[]),
include_package_data=True,
install_requires=['docopt==0.6.2', 'mercantile==0.8.3',
'humanize==0.5.1', 'mbutil==0.2.0beta'],
dependency_links=['https://github.com/mapbox/mbutil/tarball/master#egg=mbutil-0.2.0beta'],
scripts = ['bin/mbverify', 'bin/mboptimize']
)
|
mit
|
Python
|
d388dc6c620b0e7164a4f97d6876a99d5e8fade3
|
Add nbformat to setup.py requirements
|
ericdill/depfinder
|
setup.py
|
setup.py
|
from setuptools import setup
VERSION = 'v0.0.1'
setup(name='depfinder',
version=VERSION,
author='Eric Dill',
author_email='[email protected]',
py_modules=['depfinder'],
description='Find all the imports in your library',
url='http://github.com/ericdill/depfinder',
platforms='Cross platform (Linux, Mac OSX, Windows)',
install_requires=['stdlib_list', 'setuptools', 'nbformat'],
)
|
from setuptools import setup
VERSION = 'v0.0.1'
setup(name='depfinder',
version=VERSION,
author='Eric Dill',
author_email='[email protected]',
py_modules=['depfinder'],
description='Find all the imports in your library',
url='http://github.com/ericdill/depfinder',
platforms='Cross platform (Linux, Mac OSX, Windows)',
install_requires=['stdlib_list', 'setuptools'],
)
|
bsd-3-clause
|
Python
|
a52c84f092d89f89130c2696c98779e955f083dc
|
Add tests for version splitting
|
bmwant21/leak
|
tests/test_version_parser.py
|
tests/test_version_parser.py
|
import pytest
from leak.version_parser import versions_split
def test_versions_split():
assert versions_split('1.8.1') == [1, 8, 1]
assert versions_split('1.4') == [1, 4, 0]
assert versions_split('2') == [2, 0, 0]
def test_versions_split_str_mapping():
assert versions_split('1.11rc1', type_applyer=str) == ['1', '11rc1', '0']
assert versions_split('1.10b1', type_applyer=str) == ['1', '10b1', '0']
assert versions_split('text', type_applyer=str) == ['text', '0', '0']
def test_wrong_versions_split():
# too many dots
assert versions_split('1.2.3.4') == [0, 0, 0]
# test missing numeric version
with pytest.raises(ValueError):
versions_split('not.numeric')
# test not string provided
with pytest.raises(AttributeError):
versions_split(12345)
|
import pytest
from leak.version_parser import versions_split
def test_versions_split():
pass
def test_wrong_versions_split():
# too many dots
assert versions_split('1.2.3.4') == [0, 0, 0]
# test missing numeric version
with pytest.raises(ValueError):
versions_split('not.numeric')
# test not string provided
with pytest.raises(AttributeError):
versions_split(12345)
|
mit
|
Python
|
1a9a4ea4c097724ec25e8d20104f3e384c37647d
|
Bump to 0.1.2
|
idan/consonance
|
setup.py
|
setup.py
|
# Copyright (c) 2008, Idan Gazit
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of the author nor the names of other
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import ez_setup
ez_setup.use_setuptools()
from setuptools import setup, find_packages
setup(
name = "consonance",
version = "0.1.2",
packages = find_packages(),
author = "Idan Gazit",
author_email = "[email protected]",
description = "A django app for consuming public FriendFeed streams.",
url = "http://github.com/idangazit/consonance/",
license = "BSD",
classifiers = [
"Framework :: Django",
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
],
#package_data = {"": ["*.rst", "*.html", "*.txt", "ez_setup.py"]},
scripts = ["consonance_fetch.py"],
include_package_data = True,
)
|
# Copyright (c) 2008, Idan Gazit
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
#
# * Redistributions of source code must retain the above copyright
# notice, this list of conditions and the following disclaimer.
# * Redistributions in binary form must reproduce the above
# copyright notice, this list of conditions and the following
# disclaimer in the documentation and/or other materials provided
# with the distribution.
# * Neither the name of the author nor the names of other
# contributors may be used to endorse or promote products derived
# from this software without specific prior written permission.
#
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
import ez_setup
ez_setup.use_setuptools()
from setuptools import setup, find_packages
setup(
name = "consonance",
version = "0.1.1",
packages = find_packages(),
author = "Idan Gazit",
author_email = "[email protected]",
description = "A django app for consuming public FriendFeed streams.",
url = "http://github.com/idangazit/consonance/",
license = "BSD",
classifiers = [
"Framework :: Django",
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
],
#package_data = {"": ["*.rst", "*.html", "*.txt", "ez_setup.py"]},
scripts = ["consonance_fetch.py"],
include_package_data = True,
)
|
bsd-3-clause
|
Python
|
b1701c7e56c4ee44d9420f2209d10664348f0d0c
|
Remove client from global setup for now
|
gonicus/gosa,gonicus/gosa,gonicus/gosa,gonicus/gosa
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import os
import sys
modules = [
'common',
'backend',
'shell',
'utils',
]
return_code = 0
for module in modules:
return_code = max(return_code, os.system("cd %s && ./setup.py %s" % (module, " ".join(sys.argv[1:]))) >> 8)
for root, dirs, files in os.walk("plugins"):
if "setup.py" in files:
os.system("cd %s && ./setup.py %s" % (root, " ".join(sys.argv[1:])))
#TODO: the untested utils module is breaking the build as the test return status code 1
# reactivate the exiting with return code when utils has tests
#sys.exit(return_code)
|
#!/usr/bin/env python
import os
import sys
modules = [
'common',
'backend',
'client',
'shell',
'utils',
]
return_code = 0
for module in modules:
return_code = max(return_code, os.system("cd %s && ./setup.py %s" % (module, " ".join(sys.argv[1:]))) >> 8)
for root, dirs, files in os.walk("plugins"):
if "setup.py" in files:
os.system("cd %s && ./setup.py %s" % (root, " ".join(sys.argv[1:])))
#TODO: the untested utils module is breaking the build as the test return status code 1
# reactivate the exiting with return code when utils has tests
#sys.exit(return_code)
|
lgpl-2.1
|
Python
|
0b71b279064a4fa45825e0d34bee651a1295071e
|
Use 2to3 for installing on Python 3
|
jaraco/hgtools
|
setup.py
|
setup.py
|
# -*- coding: UTF-8 -*-
"""
Setup script for building hgtools distribution
Copyright © 2010-2011 Jason R. Coombs
"""
import setuptools
long_description = open('README').read()
# HGTools uses a special technique for getting the version from
# mercurial, because it can't require itself to install itself.
# Don't use this technique in your project. Instead, follow the
# directions in the README or see jaraco.util for an example.
from hgtools.plugins import calculate_version, patch_egg_info
patch_egg_info(force_hg_version=True)
setup_params = dict(
name="hgtools",
version=calculate_version(options=dict(increment='0.0.1')),
author="Jannis Leidel/Jason R. Coombs",
author_email="[email protected]",
url="http://bitbucket.org/jaraco/hgtools/",
download_url="http://bitbucket.org/jaraco/hgtools/downloads/",
description="Classes and setuptools plugin for Mercurial repositories",
long_description=long_description,
license="GPL2",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Topic :: Software Development :: Version Control",
"Framework :: Setuptools Plugin",
],
packages=setuptools.find_packages(),
entry_points = {
"setuptools.file_finders": [
"hg = hgtools.plugins:file_finder"
],
"distutils.setup_keywords": [
"use_hg_version = hgtools.plugins:version_calc",
],
},
use_2to3=True,
)
if __name__ == '__main__':
setuptools.setup(**setup_params)
|
# -*- coding: UTF-8 -*-
"""
Setup script for building hgtools distribution
Copyright © 2010-2011 Jason R. Coombs
"""
import setuptools
long_description = open('README').read()
# HGTools uses a special technique for getting the version from
# mercurial, because it can't require itself to install itself.
# Don't use this technique in your project. Instead, follow the
# directions in the README or see jaraco.util for an example.
from hgtools.plugins import calculate_version, patch_egg_info
patch_egg_info(force_hg_version=True)
# set up distutils/setuptools to convert to Python 3 when
# appropriate
try:
from distutils.command.build_py import build_py_2to3 as build_py
# exclude some fixers that break already compatible code
from lib2to3.refactor import get_fixers_from_package
fixers = get_fixers_from_package('lib2to3.fixes')
for skip_fixer in []:
fixers.remove('lib2to3.fixes.fix_' + skip_fixer)
build_py.fixer_names = fixers
except ImportError:
from distutils.command.build_py import build_py
setup_params = dict(
name="hgtools",
version=calculate_version(options=dict(increment='0.0.1')),
author="Jannis Leidel/Jason R. Coombs",
author_email="[email protected]",
url="http://bitbucket.org/jaraco/hgtools/",
download_url="http://bitbucket.org/jaraco/hgtools/downloads/",
description="Classes and setuptools plugin for Mercurial repositories",
long_description=long_description,
license="GPL2",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"License :: OSI Approved :: GNU General Public License (GPL)",
"Topic :: Software Development :: Version Control",
"Framework :: Setuptools Plugin",
],
packages=setuptools.find_packages(),
entry_points = {
"setuptools.file_finders": [
"hg = hgtools.plugins:file_finder"
],
"distutils.setup_keywords": [
"use_hg_version = hgtools.plugins:version_calc",
],
},
cmdclass=dict(build_py=build_py),
)
if __name__ == '__main__':
setuptools.setup(**setup_params)
|
mit
|
Python
|
dc1c377a5b6011b587413c586b33000e867ab5bc
|
Declare dependency
|
ZeitOnline/zeit.securitypolicy
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name='zeit.securitypolicy',
version='2.2.10.dev0',
author='gocept, Zeit Online',
author_email='[email protected]',
url='http://www.zeit.de/',
description="vivi roles and permissions",
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
license='BSD',
namespace_packages=['zeit'],
install_requires=[
'plone.testing',
'setuptools',
'xlrd',
'zeit.brightcove',
'zeit.calendar',
'zeit.cms>=3.19.0.dev0',
'zeit.content.article',
'zeit.content.cp >= 2.10.0.dev0',
'zeit.content.image>=2.6.0.dev0',
'zeit.content.link',
'zeit.content.quiz',
'zeit.content.rawxml',
'zeit.content.text',
'zeit.content.video',
'zeit.invalidate',
'zeit.push',
'zeit.retresco>=1.19.0.dev0',
'zeit.seo>=1.6.0.dev0',
'zeit.vgwort>=2.4.0.dev0',
'zope.app.zcmlfiles',
],
)
|
from setuptools import setup, find_packages
setup(
name='zeit.securitypolicy',
version='2.2.10.dev0',
author='gocept, Zeit Online',
author_email='[email protected]',
url='http://www.zeit.de/',
description="vivi roles and permissions",
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
zip_safe=False,
license='BSD',
namespace_packages=['zeit'],
install_requires=[
'plone.testing',
'setuptools',
'xlrd',
'zeit.brightcove',
'zeit.calendar',
'zeit.cms>=3.9.0.dev0',
'zeit.content.article',
'zeit.content.cp >= 2.10.0.dev0',
'zeit.content.image>=2.6.0.dev0',
'zeit.content.link',
'zeit.content.quiz',
'zeit.content.rawxml',
'zeit.content.text',
'zeit.content.video',
'zeit.invalidate',
'zeit.push',
'zeit.retresco>=1.19.0.dev0',
'zeit.seo>=1.6.0.dev0',
'zeit.vgwort>=2.4.0.dev0',
'zope.app.zcmlfiles',
],
)
|
bsd-3-clause
|
Python
|
a0ff5a8b6817be12aae5184a4a33af89c05ec552
|
Bump 0.7
|
srounet/Pymem
|
setup.py
|
setup.py
|
import pathlib
import setuptools
ROOT = str(pathlib.Path(__file__).parent)
extras = {}
with open(ROOT + '/requirements-doc.txt', encoding='utf-8') as fp:
extras['doc'] = fp.read().splitlines()
with open(ROOT + '/requirements-test.txt', encoding='utf-8') as fp:
extras['test'] = fp.read().splitlines()
with open(ROOT + '/PYPI-README.md', encoding="utf-8") as fp:
long_description = fp.read()
setuptools.setup(
name='Pymem',
version='1.7',
long_description=long_description,
long_description_content_type="text/markdown",
description='pymem: python memory access made easy',
author='Fabien Reboia',
author_email='[email protected]',
maintainer='Fabien Reboia',
maintainer_email='[email protected]',
url='http://pymem.readthedocs.org/en/latest/',
license="mit",
packages=["pymem", "pymem.ressources"],
platforms=["windows"],
keywords='memory win32 windows process',
classifiers=[
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Environment :: Win32 (MS Windows)',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
],
extras_require=extras,
)
|
import pathlib
import setuptools
ROOT = str(pathlib.Path(__file__).parent)
extras = {}
with open(ROOT + '/requirements-doc.txt', encoding='utf-8') as fp:
extras['doc'] = fp.read().splitlines()
with open(ROOT + '/requirements-test.txt', encoding='utf-8') as fp:
extras['test'] = fp.read().splitlines()
with open(ROOT + '/PYPI-README.md', encoding="utf-8") as fp:
long_description = fp.read()
setuptools.setup(
name='Pymem',
version='1.6',
long_description=long_description,
long_description_content_type="text/markdown",
description='pymem: python memory access made easy',
author='Fabien Reboia',
author_email='[email protected]',
maintainer='Fabien Reboia',
maintainer_email='[email protected]',
url='http://pymem.readthedocs.org/en/latest/',
license="mit",
packages=["pymem", "pymem.ressources"],
platforms=["windows"],
keywords='memory win32 windows process',
classifiers=[
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Environment :: Win32 (MS Windows)',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
],
extras_require=extras,
)
|
mit
|
Python
|
680e64eb7bf37ff303d50310aef91eca0770bef7
|
Update unit tests: words_counter_tests.py.
|
sergeymironov0001/twitch-chat-bot
|
tests/words_counter_tests.py
|
tests/words_counter_tests.py
|
import unittest
from twitchchatbot import WordsCounter
class WordsCounterTests(unittest.TestCase):
def setUp(self):
self.words_counter = WordsCounter()
def test_count_words_counts_words_correct(self):
self.words_counter.count_words("word2 word1")
self.assertEqual(self.words_counter.get_top_words(), [("word1", 1), ("word2", 1)])
self.words_counter.count_words("word3 word3 word2 word3")
self.assertEqual(self.words_counter.get_top_words(), [("word3", 3), ("word2", 2), ("word1", 1)])
def test_count_words_does_not_count_non_words_characters(self):
self.words_counter.count_words(",word2..,word1-+=")
self.assertEqual(self.words_counter.get_top_words(), [("word1", 1), ("word2", 1)])
self.words_counter.count_words("word3,word3.word2;word3!")
self.assertEqual(self.words_counter.get_top_words(), [("word3", 3), ("word2", 2), ("word1", 1)])
def test_get_top_words_returns_exact_words_number(self):
self.words_counter.count_words("word2 word1")
self.assertEqual(self.words_counter.get_top_words(1), [("word1", 1)])
self.assertEqual(self.words_counter.get_top_words(2), [("word1", 1), ("word2", 1)])
self.words_counter.count_words("word2")
self.assertEqual(self.words_counter.get_top_words(1), [("word2", 2)])
self.assertEqual(self.words_counter.get_top_words(2), [("word2", 2), ("word1", 1)])
self.words_counter.count_words("word3 word3 word2 word3 word3")
self.assertEqual(self.words_counter.get_top_words(1), [("word3", 4)])
self.assertEqual(self.words_counter.get_top_words(2), [("word3", 4), ("word2", 3)])
self.assertEqual(self.words_counter.get_top_words(3), [("word3", 4), ("word2", 3), ("word1", 1)])
self.assertEqual(self.words_counter.get_top_words(4), [("word3", 4), ("word2", 3), ("word1", 1)])
if __name__ == '__main__':
unittest.main()
|
import unittest
from twitchbot import WordsCounter
class WordsCounterTests(unittest.TestCase):
def setUp(self):
self.words_counter = WordsCounter()
def test_count_words_counts_words_correct(self):
self.words_counter.count_words("word2 word1")
self.assertEqual(self.words_counter.get_top_words(), [("word1", 1), ("word2", 1)])
self.words_counter.count_words("word3 word3 word2 word3")
self.assertEqual(self.words_counter.get_top_words(), [("word3", 3), ("word2", 2), ("word1", 1)])
def test_count_words_does_not_count_non_words_characters(self):
self.words_counter.count_words(",word2..,word1-+=")
self.assertEqual(self.words_counter.get_top_words(), [("word1", 1), ("word2", 1)])
self.words_counter.count_words("word3,word3.word2;word3!")
self.assertEqual(self.words_counter.get_top_words(), [("word3", 3), ("word2", 2), ("word1", 1)])
def test_get_top_words_returns_exact_words_number(self):
self.words_counter.count_words("word2 word1")
self.assertEqual(self.words_counter.get_top_words(1), [("word1", 1)])
self.assertEqual(self.words_counter.get_top_words(2), [("word1", 1), ("word2", 1)])
self.words_counter.count_words("word2")
self.assertEqual(self.words_counter.get_top_words(1), [("word2", 2)])
self.assertEqual(self.words_counter.get_top_words(2), [("word2", 2), ("word1", 1)])
self.words_counter.count_words("word3 word3 word2 word3 word3")
self.assertEqual(self.words_counter.get_top_words(1), [("word3", 4)])
self.assertEqual(self.words_counter.get_top_words(2), [("word3", 4), ("word2", 3)])
self.assertEqual(self.words_counter.get_top_words(3), [("word3", 4), ("word2", 3), ("word1", 1)])
self.assertEqual(self.words_counter.get_top_words(4), [("word3", 4), ("word2", 3), ("word1", 1)])
if __name__ == '__main__':
unittest.main()
|
mit
|
Python
|
9002df839fc092db0c656174fa9cf57a3bfecdaa
|
Bump to 0.2.0
|
justanr/datestuff
|
setup.py
|
setup.py
|
from setuptools import setup
from setuptools.command.test import test as TestCommand
import sys
def read(filename):
with open(filename, 'r') as fh:
return fh.read()
class ToxTest(TestCommand):
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):
import tox
import shlex
args = []
if self.tox_args:
args = shlex.split(self.tox_args)
errno = tox.cmdline(args=args)
sys.exit(errno)
if __name__ == "__main__":
setup(
name='datestuff',
version='0.2.0',
author='Alec Nikolas Reiter',
author_email='[email protected]',
description='Stuff for dates',
long_description=read('README.rst'),
license='MIT',
packages=['datestuff'],
zip_safe=False,
url="https://github.com/justanr/datestuff",
keywords=['dates'],
classifiers=[
'Development Status :: 3 - Alpha',
'Topic :: Utilities',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
],
test_suite='test',
tests_require=['tox'],
cmdclass={'tox': ToxTest},
)
|
from setuptools import setup
from setuptools.command.test import test as TestCommand
import sys
def read(filename):
with open(filename, 'r') as fh:
return fh.read()
class ToxTest(TestCommand):
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):
import tox
import shlex
args = []
if self.tox_args:
args = shlex.split(self.tox_args)
errno = tox.cmdline(args=args)
sys.exit(errno)
if __name__ == "__main__":
setup(
name='datestuff',
version='0.1.0',
author='Alec Nikolas Reiter',
author_email='[email protected]',
description='Stuff for dates',
long_description=read('README.rst'),
license='MIT',
packages=['datestuff'],
zip_safe=False,
url="https://github.com/justanr/datestuff",
keywords=['dates'],
classifiers=[
'Development Status :: 3 - Alpha',
'Topic :: Utilities',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
],
test_suite='test',
tests_require=['tox'],
cmdclass={'tox': ToxTest},
)
|
mit
|
Python
|
aba0a2f8457a3012260e94512d092abfba62c44a
|
Bump version to 0.4.3.
|
storecast/barrel-reaktor
|
setup.py
|
setup.py
|
"""Reaktor models that use barrel for encapsulation."""
from setuptools import setup, find_packages
setup(
name='barrel-reaktor',
version='0.4.3',
description='Python interface to reaktor API',
long_description=__doc__,
license='BSD',
author='txtr web team',
author_email='[email protected]',
url='https://github.com/txtr/barrel-reaktor/',
packages=find_packages(),
platforms='any',
install_requires=['barrel', 'python-money', ],
dependency_links=[
'https://github.com/txtr/barrel/zipball/master#egg=barrel',
'https://github.com/txtr/python-money/zipball/master#egg=python-money',
]
)
|
"""Reaktor models that use barrel for encapsulation."""
from setuptools import setup, find_packages
setup(
name='barrel-reaktor',
version='0.4.2',
description='Python interface to reaktor API',
long_description=__doc__,
license='BSD',
author='txtr web team',
author_email='[email protected]',
url='https://github.com/txtr/barrel-reaktor/',
packages=find_packages(),
platforms='any',
install_requires=['barrel', 'python-money', ],
dependency_links=[
'https://github.com/txtr/barrel/zipball/master#egg=barrel',
'https://github.com/txtr/python-money/zipball/master#egg=python-money',
]
)
|
bsd-2-clause
|
Python
|
fd49e2b4f18106b5faf23148633fec59211771dc
|
Add optional support for setuptools.
|
saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt
|
setup.py
|
setup.py
|
#!/usr/bin/env python
'''
The setup script for saltapi
'''
import os
# Use setuptools only if the user opts-in by setting the USE_SETUPTOOLS env var
# This ensures consistent behavior but allows for advanced usage with
# virtualenv, buildout, and others.
USE_SETUPTOOLS = False
if 'USE_SETUPTOOLS' in os.environ:
try:
from setuptools import setup
USE_SETUPTOOLS = True
except:
USE_SETUPTOOLS = False
if USE_SETUPTOOLS is False:
from distutils.core import setup
# pylint: disable-msg=W0122,E0602
exec(compile(open('saltapi/version.py').read(), 'saltapi/version.py', 'exec'))
VERSION = __version__
# pylint: enable-msg=W0122,E0602
NAME = 'salt-api'
DESC = ("Generic interface for providing external access APIs to Salt")
# Specify the test suite for < 2.7
try:
import unittest2
except ImportError:
pass
setup(
name=NAME,
version=VERSION,
description=DESC,
author='Thomas S Hatch',
author_email='[email protected]',
url='http://saltstack.org',
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Topic :: System :: Distributed Computing'],
packages=['saltapi',
'saltapi.netapi',
'saltapi.netapi.rest_cherrypy',
],
package_data={
'saltapi.netapi.rest_cherrypy': ['tmpl/*']},
data_files=[('share/man/man1',
['doc/man/salt-api.1']),
('share/man/man7',
['doc/man/salt-api.7'])],
scripts=['scripts/salt-api'],
test_suite='unittest2.collector' if 'unittest2' in locals() else None)
|
#!/usr/bin/env python
'''
The setup script for saltapi
'''
from distutils.core import setup
# pylint: disable-msg=W0122,E0602
exec(compile(open('saltapi/version.py').read(), 'saltapi/version.py', 'exec'))
VERSION = __version__
# pylint: enable-msg=W0122,E0602
NAME = 'salt-api'
DESC = ("Generic interface for providing external access APIs to Salt")
# Specify the test suite for < 2.7
try:
import unittest2
except ImportError:
pass
setup(
name=NAME,
version=VERSION,
description=DESC,
author='Thomas S Hatch',
author_email='[email protected]',
url='http://saltstack.org',
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Topic :: System :: Distributed Computing'],
packages=['saltapi',
'saltapi.netapi',
'saltapi.netapi.rest_cherrypy',
],
package_data={
'saltapi.netapi.rest_cherrypy': ['tmpl/*']},
data_files=[('share/man/man1',
['doc/man/salt-api.1']),
('share/man/man7',
['doc/man/salt-api.7'])],
scripts=['scripts/salt-api'],
test_suite='unittest2.collector' if 'unittest2' in locals() else None)
|
apache-2.0
|
Python
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.