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 |
---|---|---|---|---|---|---|---|---|
2e08fc46892dc7ef257eb27e99356f8ba6b36ad7
|
add dev requirements
|
colinhoglund/piprepo
|
setup.py
|
setup.py
|
import piprepo
from setuptools import find_packages, setup
setup(
name="piprepo",
version=piprepo.__version__,
url="https://github.com/colinhoglund/piprepo",
description=piprepo.__description__,
packages=find_packages(),
entry_points={
'console_scripts': ['piprepo=piprepo.command:main'],
},
install_requires=["pip>=8"],
extras_require={
'dev': ['flake8']
},
license="BSD",
)
|
import piprepo
from setuptools import find_packages, setup
setup(
name="piprepo",
version=piprepo.__version__,
url="https://github.com/colinhoglund/piprepo",
description=piprepo.__description__,
packages=find_packages(),
entry_points={
'console_scripts': ['piprepo=piprepo.command:main'],
},
install_requires=["pip>=8"],
license="BSD",
)
|
mit
|
Python
|
204b9e58a156e4f0faf7a240b5923a7c0f305c09
|
update setup.py to bootstrap numpy installation
|
slundberg/shap,slundberg/shap,slundberg/shap,slundberg/shap
|
setup.py
|
setup.py
|
from setuptools import setup, Extension
from setuptools.command.build_ext import build_ext as _build_ext
# to publish use:
# > python setup.py sdist upload
# which depends on ~/.pypirc
# Extend the default build_ext class to bootstrap numpy installation
# that are needed to build C extensions.
# see https://stackoverflow.com/questions/19919905/how-to-bootstrap-numpy-installation-in-setup-py
class build_ext(_build_ext):
def finialize_options(self):
_build_ext.finalize_options(self)
__builtins__.__NUMPY_SETUP__ = False
import numpy
self.include_dirs.append(numpy.get_include())
def run_setup(with_binary):
ext_modules = []
if with_binary:
ext_modules.append(
Extension('shap._cext', sources=['shap/_cext.cc'], include_dirs=[numpy.get_include()])
)
setup(
name='shap',
version='0.15.0',
description='A unified approach to explain the output of any machine learning model.',
url='http://github.com/slundberg/shap',
author='Scott Lundberg',
author_email='[email protected]',
license='MIT',
packages=['shap', 'shap.explainers'],
cmdclass={'build_ext': build_ext},
setup_requires=['numpy'],
install_requires=['numpy', 'scipy', 'iml>=0.6.0', 'scikit-learn', 'matplotlib', 'pandas', 'tqdm'],
test_suite='nose.collector',
tests_require=['nose', 'xgboost'],
ext_modules = ext_modules,
zip_safe=False
)
try:
run_setup(True)
except:
print("WARNING: The C extension could not be compiled, sklearn tree models not supported.")
run_setup(False)
|
from setuptools import setup, Extension
import numpy
# to publish use:
# > python setup.py sdist upload
# which depends on ~/.pypirc
def run_setup(with_binary):
ext_modules = []
if with_binary:
ext_modules.append(
Extension('shap._cext', sources=['shap/_cext.cc'], include_dirs=[numpy.get_include()])
)
setup(
name='shap',
version='0.15.0',
description='A unified approach to explain the output of any machine learning model.',
url='http://github.com/slundberg/shap',
author='Scott Lundberg',
author_email='[email protected]',
license='MIT',
packages=['shap', 'shap.explainers'],
install_requires=['numpy', 'scipy', 'iml>=0.6.0', 'scikit-learn', 'matplotlib', 'pandas', 'tqdm'],
test_suite='nose.collector',
tests_require=['nose', 'xgboost'],
ext_modules = ext_modules,
zip_safe=False
)
try:
run_setup(True)
except:
print("WARNING: The C extension could not be compiled, sklearn tree models not supported.")
run_setup(False)
|
mit
|
Python
|
85a7e2deeb60de60b04ca282c963157d692f348f
|
remove pyqtgraph library
|
ckaus/EpiPy
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import os
import sys
try:
from setuptools import setup, find_packages
except ImportError:
raise ImportError("Install setup tools")
try:
import PyQt4
except ImportError:
raise ImportError("Install PyQt4")
try:
import numpy as np
except ImportError:
raise ImportError("Install Numpy")
try:
import matplotlib
except ImportError:
raise ImportError("Install matplotlib")
try:
import scipy
except ImportError:
raise ImportError("Install scipy")
if sys.version_info[:2] > (2, 7):
raise RuntimeError("Python version 2.6, 2.7 required.")
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="EpiPy",
version="0.1",
author="ckaus",
description="A Tool for fitting epidemic models.",
license="MIT",
keywords="epidemic models",
url="https://github.com/ckaus/EpiPy",
packages=find_packages(exclude=["tests"]),
package_data={"epipy": ["resources/ui/*", "resources/data/*"]},
long_description=read('README.md'),
classifiers=[
"""\
Development Status :: 3 - Alpha
Environment :: Console
Environment :: GUI
Intended Audience :: Science/Research
Intended Audience :: Developers
License :: MIT
Natural Language :: English
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Topic :: Scientific/Engineering
Topic :: Tool
Operating System :: Unix
Operating System :: MacOS
"""
],
entry_points={'console_scripts': ['epipy = epipy.main', ],},
)
|
#!/usr/bin/env python
import os
import sys
try:
from setuptools import setup, find_packages
except ImportError:
raise ImportError("Install setup tools")
try:
import PyQt4
except ImportError:
raise ImportError("Install PyQt4")
try:
import numpy as np
except ImportError:
raise ImportError("Install Numpy")
try:
import matplotlib
except ImportError:
raise ImportError("Install matplotlib")
try:
import scipy
except ImportError:
raise ImportError("Install scipy")
if sys.version_info[:2] > (2, 7):
raise RuntimeError("Python version 2.6, 2.7 required.")
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name="EpiPy",
version="0.1",
author="ckaus",
description="A Tool for fitting epidemic models.",
license="MIT",
keywords="epidemic models",
url="https://github.com/ckaus/EpiPy",
packages=find_packages(exclude=["tests"]),
package_data={"epipy": ["resources/ui/*", "resources/data/*", "resources/pictures/*"]},
long_description=read('README.md'),
install_requires=['pyqtgraph'],
classifiers=[
"""\
Development Status :: 3 - Alpha
Environment :: Console
Environment :: GUI
Intended Audience :: Science/Research
Intended Audience :: Developers
License :: MIT
Natural Language :: English
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Topic :: Scientific/Engineering
Topic :: Tool
Operating System :: Unix
Operating System :: MacOS
"""
],
entry_points={'console_scripts': ['epipy = epipy.main', ],},
)
|
mit
|
Python
|
16d509f2ff1af0f7588f302323c883edcd4384b4
|
Move schema salad minimum version back to earlier version.
|
common-workflow-language/cwltest,common-workflow-language/cwltest
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import os
import sys
import shutil
import setuptools.command.egg_info as egg_info_cmd
from setuptools import setup, find_packages
SETUP_DIR = os.path.dirname(__file__)
README = os.path.join(SETUP_DIR, 'README.rst')
try:
import gittaggers
tagger = gittaggers.EggInfoFromGit
except ImportError:
tagger = egg_info_cmd.egg_info
setup(name='cwltest',
version='1.0',
description='Common workflow language testing framework',
long_description=open(README).read(),
author='Common workflow language working group',
author_email='[email protected]',
url="https://github.com/common-workflow-language/cwltest",
download_url="https://github.com/common-workflow-language/cwltest",
license='Apache 2.0',
packages=["cwltest"],
install_requires=[
'schema-salad >= 1.14',
'typing >= 3.5.2' ],
tests_require=[],
entry_points={
'console_scripts': [ "cwltest=cwltest:main" ]
},
zip_safe=True,
cmdclass={'egg_info': tagger},
)
|
#!/usr/bin/env python
import os
import sys
import shutil
import setuptools.command.egg_info as egg_info_cmd
from setuptools import setup, find_packages
SETUP_DIR = os.path.dirname(__file__)
README = os.path.join(SETUP_DIR, 'README.rst')
try:
import gittaggers
tagger = gittaggers.EggInfoFromGit
except ImportError:
tagger = egg_info_cmd.egg_info
setup(name='cwltest',
version='1.0',
description='Common workflow language testing framework',
long_description=open(README).read(),
author='Common workflow language working group',
author_email='[email protected]',
url="https://github.com/common-workflow-language/cwltest",
download_url="https://github.com/common-workflow-language/cwltest",
license='Apache 2.0',
packages=["cwltest"],
install_requires=[
'schema-salad >= 1.17',
'typing >= 3.5.2' ],
tests_require=[],
entry_points={
'console_scripts': [ "cwltest=cwltest:main" ]
},
zip_safe=True,
cmdclass={'egg_info': tagger},
)
|
apache-2.0
|
Python
|
da74aa7b9c3b227fb449e0e8016d3511efcf315d
|
Add PyPy to classifiers
|
zoidbergwill/demands,yola/demands
|
setup.py
|
setup.py
|
import re
from setuptools import setup
with open('demands/__init__.py') as init_py:
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", init_py.read()))
with open('README.rst') as readme_file:
readme = readme_file.read()
setup(
name='demands',
version=metadata['version'],
description=metadata['doc'],
long_description=readme,
author='Yola',
author_email='[email protected]',
license='MIT (Expat)',
url=metadata['url'],
packages=['demands'],
install_requires=[
'requests >= 2.4.2, < 3.0.0',
'six',
],
test_suite='nose.collector',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries',
],
)
|
import re
from setuptools import setup
with open('demands/__init__.py') as init_py:
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", init_py.read()))
with open('README.rst') as readme_file:
readme = readme_file.read()
setup(
name='demands',
version=metadata['version'],
description=metadata['doc'],
long_description=readme,
author='Yola',
author_email='[email protected]',
license='MIT (Expat)',
url=metadata['url'],
packages=['demands'],
install_requires=[
'requests >= 2.4.2, < 3.0.0',
'six',
],
test_suite='nose.collector',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries',
],
)
|
mit
|
Python
|
944df739983244aaacb90314d0d0ec3046042959
|
Fix package setup
|
tvmaze/tvmaze
|
setup.py
|
setup.py
|
#!/usr/bin/env python
"""Distutils setup script for packaging and distribution."""
import pathlib
import setuptools
PROJECT_AUTHOR = 'Labrys of Knossos'
PROJECT_AUTHOR_EMAIL = '[email protected]'
PROJECT_ROOT = pathlib.Path(__file__).parent
PROJECT_NAME = 'tvmaze'
PROJECT_VERSION = '0.1.0'
PROJECT_URL = 'https://github.com/tvmaze/tvmaze'
PROJECT_LICENSE = 'MIT License'
PROJECT_DESCRIPTION = 'A Python library for accessing the TVMaze API.'
PROJECT_README = PROJECT_ROOT / 'README.rst'
PROJECT_SOURCE_DIRECTORY = PROJECT_ROOT / 'src'
PROJECT_CLASSIFIERS = [
# complete classifier list:
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Utilities',
]
PROJECT_KEYWORDS = [
'tvmaze',
'video',
'series',
'metadata',
]
setuptools.setup(
name=PROJECT_NAME,
author=PROJECT_AUTHOR,
author_email=PROJECT_AUTHOR_EMAIL,
version=PROJECT_VERSION,
license=PROJECT_LICENSE,
description=PROJECT_DESCRIPTION,
long_description=PROJECT_README.read_text('utf-8'),
url=PROJECT_URL,
packages=setuptools.find_packages(str(PROJECT_SOURCE_DIRECTORY)),
package_dir={
'': str(PROJECT_SOURCE_DIRECTORY.relative_to(PROJECT_ROOT)),
},
py_modules=[
path.name
for path in PROJECT_SOURCE_DIRECTORY.glob('*.py')
],
python_requires='>=3.6',
include_package_data=True,
zip_safe=False,
classifiers=PROJECT_CLASSIFIERS,
keywords=PROJECT_KEYWORDS,
install_requires=[
'pendulum',
'pycountry',
],
tests_require=[
'pytest',
],
)
|
#!/usr/bin/env python
"""Distutils setup script for packaging and distribution."""
import pathlib
import setuptools
PROJECT_ROOT = pathlib.Path(__file__).parent
PROJECT_NAME = 'tvmaze'
PROJECT_VERSION = '0.1.0'
PROJECT_URL = 'https://github.com/tvmaze/tvmaze'
PROJECT_LICENSE = 'MIT License'
PROJECT_DESCRIPTION = 'A Python library for accessing the TVMaze API.'
PROJECT_README = PROJECT_ROOT / 'README.rst'
PROJECT_SOURCE_DIRECTORY = PROJECT_ROOT / 'src'
PROJECT_CLASSIFIERS = [
# complete classifier list:
# http://pypi.python.org/pypi?%3Aaction=list_classifiers
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Utilities',
]
PROJECT_KEYWORDS = [
'tvmaze',
'video',
'series',
'metadata',
]
setuptools.setup(
name=PROJECT_NAME,
version=PROJECT_VERSION,
license=PROJECT_LICENSE,
description=PROJECT_DESCRIPTION,
long_description=PROJECT_README.read_text('utf-8'),
url=PROJECT_URL,
packages=setuptools.find_packages(str(PROJECT_SOURCE_DIRECTORY)),
package_dir={
'': str(PROJECT_SOURCE_DIRECTORY.relative_to(PROJECT_ROOT)),
},
py_modules=[
path.name
for path in PROJECT_SOURCE_DIRECTORY.glob('*.py')
],
python_requires='>=3.6',
include_package_data=True,
zip_safe=False,
classifiers=PROJECT_CLASSIFIERS,
keywords=PROJECT_KEYWORDS,
install_requires=[
'pendulum',
'pycountry',
],
tests_require=[
'pytest',
],
)
|
mit
|
Python
|
dfaf7ec8b2ac6143cbdd0231418df0c7cbf8fb0c
|
add Beaker dependency
|
adeel/pump
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name="pump",
version="0.1.2",
description="A web application library.",
author="Adeel Ahmad Khan",
author_email="[email protected]",
packages=["pump", "pump.util", "pump.middleware"],
install_requires=["Beaker"],
license="MIT",
classifiers=[
'Topic :: Internet :: WWW/HTTP :: WSGI',
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License'])
|
from setuptools import setup
setup(
name="pump",
version="0.1.1",
description="A web application library.",
author="Adeel Ahmad Khan",
author_email="[email protected]",
packages=["pump", "pump.util", "pump.middleware"],
license="MIT",
classifiers=[
'Topic :: Internet :: WWW/HTTP :: WSGI',
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License'])
|
mit
|
Python
|
4d1e7573e52add8ff04d6a9e86862e07a6576d17
|
Increase version in setup.py
|
NEERAJIITKGP/pybbm,zekone/dj_pybb,just-work/pybbm,katsko/pybbm,onecue/pybbm,jonsimington/pybbm,just-work/pybbm,ttyS15/pybbm,concentricsky/pybbm,webu/pybbm,hovel/pybbm,concentricsky/pybbm,webu/pybbm,just-work/pybbm,skolsuper/pybbm,springmerchant/pybbm,skolsuper/pybbm,zekone/dj_pybb,onecue/pybbm,jonsimington/pybbm,katsko/pybbm,NEERAJIITKGP/pybbm,artfinder/pybbm,katsko/pybbm,DylannCordel/pybbm,acamposruiz/quecoins,hovel/pybbm,acamposruiz/quecoins,skolsuper/pybbm,acamposruiz/quecoins,ttyS15/pybbm,concentricsky/pybbm,springmerchant/pybbm,DylannCordel/pybbm,NEERAJIITKGP/pybbm,onecue/pybbm,hovel/pybbm,DylannCordel/pybbm,ttyS15/pybbm,artfinder/pybbm,wengole/pybbm,zekone/dj_pybb,wengole/pybbm,wengole/pybbm,springmerchant/pybbm,jonsimington/pybbm,artfinder/pybbm,webu/pybbm
|
setup.py
|
setup.py
|
import os
from setuptools import setup
# Compile the list of packages available, because distutils doesn't have
# an easy way to do this.
packages, data_files = [], []
root_dir = os.path.dirname(__file__)
if root_dir:
os.chdir(root_dir)
PACKAGE = 'pybb'
for dirpath, dirnames, filenames in os.walk(PACKAGE):
for i, dirname in enumerate(dirnames):
if dirname in ['.', '..']:
del dirnames[i]
if '__init__.py' in filenames:
pkg = dirpath.replace(os.path.sep, '.')
if os.path.altsep:
pkg = pkg.replace(os.path.altsep, '.')
packages.append(pkg)
elif filenames:
prefix = dirpath[len(PACKAGE) + 1:] # Strip package directory + path separator
for f in filenames:
data_files.append(os.path.join(prefix, f))
setup(
version = '0.1.3',
description = 'Django forum application',
author = 'Grigoriy Petukhov',
author_email = '[email protected]',
url = 'http://pybb.org',
name = 'pybb',
packages = packages,
package_data = {'pybb': data_files},
license = "BSD",
keywords = "django application forum board",
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Message Boards',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
import os
from setuptools import setup
# Compile the list of packages available, because distutils doesn't have
# an easy way to do this.
packages, data_files = [], []
root_dir = os.path.dirname(__file__)
if root_dir:
os.chdir(root_dir)
PACKAGE = 'pybb'
for dirpath, dirnames, filenames in os.walk(PACKAGE):
for i, dirname in enumerate(dirnames):
if dirname in ['.', '..']:
del dirnames[i]
if '__init__.py' in filenames:
pkg = dirpath.replace(os.path.sep, '.')
if os.path.altsep:
pkg = pkg.replace(os.path.altsep, '.')
packages.append(pkg)
elif filenames:
prefix = dirpath[len(PACKAGE) + 1:] # Strip package directory + path separator
for f in filenames:
data_files.append(os.path.join(prefix, f))
setup(
version = '0.1.2',
description = 'Django forum application',
author = 'Grigoriy Petukhov',
author_email = '[email protected]',
url = 'http://pybb.org',
name = 'pybb',
packages = packages,
package_data = {'pybb': data_files},
license = "BSD",
keywords = "django application forum board",
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Message Boards',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
bsd-2-clause
|
Python
|
0a834f03114698b75d7c5e2c7a01276781072ff9
|
Bump patch version
|
Turbasen/turbasen.py
|
setup.py
|
setup.py
|
from setuptools import setup
name = 'turbasen'
VERSION = '2.4.5'
setup(
name=name,
packages=[name],
version=VERSION,
description='Client for Nasjonal Turbase REST API',
long_description='See https://github.com/Turbasen/turbasen.py/blob/master/README.md',
author='Ali Kaafarani',
author_email='[email protected]',
url='https://github.com/Turbasen/turbasen.py',
download_url='https://github.com/Turbasen/turbasen.py/tarball/v%s' % (VERSION),
keywords=['turbasen', 'nasjonalturbase', 'turistforening', 'rest-api'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: Norwegian',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
],
install_requires=['requests>=2.9,<2.10'],
extras_require={
'dev': ['pytest>=2.8,<2.9'],
}
)
|
from setuptools import setup
name = 'turbasen'
VERSION = '2.4.3'
setup(
name=name,
packages=[name],
version=VERSION,
description='Client for Nasjonal Turbase REST API',
long_description='See https://github.com/Turbasen/turbasen.py/blob/master/README.md',
author='Ali Kaafarani',
author_email='[email protected]',
url='https://github.com/Turbasen/turbasen.py',
download_url='https://github.com/Turbasen/turbasen.py/tarball/v%s' % (VERSION),
keywords=['turbasen', 'nasjonalturbase', 'turistforening', 'rest-api'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: Norwegian',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
],
install_requires=['requests>=2.9,<2.10'],
extras_require={
'dev': ['pytest>=2.8,<2.9'],
}
)
|
mit
|
Python
|
9e7129d5a3a2c625ab0d97ecb50c030e2a258014
|
Add package
|
ScottWales/ftools
|
setup.py
|
setup.py
|
#!/usr/bin/env python
"""
Copyright 2015 ARC Centre of Excellence for Climate Systems Science
author: Scott Wales <[email protected]>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from distutils.core import setup
setup(name='FTools',
version='0.1.0',
description='Tools for Fortran coding',
url='https://github.com/ScottWales/ftools',
author='Scott Wales',
author_email='[email protected]',
packages=['ftools','ftools.parser'],
install_requires=[
'antlr4-python2-runtime',
],
)
|
#!/usr/bin/env python
"""
Copyright 2015 ARC Centre of Excellence for Climate Systems Science
author: Scott Wales <[email protected]>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
"""
from distutils.core import setup
setup(name='FTools',
version='0.1.0',
description='Tools for Fortran coding',
url='https://github.com/ScottWales/ftools',
author='Scott Wales',
author_email='[email protected]',
packages=['ftools'],
install_requires=[
'antlr4-python2-runtime',
],
)
|
apache-2.0
|
Python
|
de5e68913d268399533a3d70e21497cf5c36d2c1
|
bump version to 1.0.2
|
escattone/txpool
|
setup.py
|
setup.py
|
import os
from setuptools import setup
def read(relpath):
filename = os.path.join(os.path.dirname(__file__), relpath)
with open(filename) as f:
return f.read()
setup(
name='txpool',
version='1.0.2',
description='A persistent process pool in Python for Twisted',
long_description=read('README.rst'),
license='MIT',
author='Ryan Johnson',
author_email='[email protected]',
url='https://github.com/escattone/txpool',
packages=['txpool'],
install_requires=['twisted>=12'],
classifiers=[
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 2 :: Only',
'Development Status :: 4 - Beta',
'Natural Language :: English',
'Framework :: Twisted',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
|
import os
from setuptools import setup
def read(relpath):
filename = os.path.join(os.path.dirname(__file__), relpath)
with open(filename) as f:
return f.read()
setup(
name='txpool',
version='1.0.0',
description='A persistent process pool in Python for Twisted',
long_description=read('README.rst'),
license='MIT',
author='Ryan Johnson',
author_email='[email protected]',
url='https://github.com/escattone/txpool',
packages=['txpool'],
install_requires=['twisted>=12'],
classifiers=[
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 2 :: Only',
'Development Status :: 4 - Beta',
'Natural Language :: English',
'Framework :: Twisted',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Topic :: Software Development :: Libraries :: Python Modules',
]
)
|
mit
|
Python
|
32e91504e6ea6ac4c09b4688eeefd4d3034824ff
|
add cython to setup_requires
|
daleroberts/hdmedians
|
setup.py
|
setup.py
|
"""
hdmedians: High-dimensional medians.
"""
import numpy as np
from setuptools import setup, find_packages, Extension
from Cython.Build import cythonize
extensions = [Extension('hdmedians.geomedian',
['hdmedians/geomedian.pyx'],
include_dirs = [np.get_include()])]
setup(name='hdmedians',
packages=find_packages(),
setup_requires=['nose>=1.0', 'Cython >= 0.16'],
install_requires=['numpy'],
version='0.1',
description='High-dimensional medians',
url='http://github.com/daleroberts/hdmedians',
author='Dale Roberts',
author_email='[email protected]',
license='GPL3',
ext_modules = cythonize(extensions))
|
"""
hdmedians: High-dimensional medians.
"""
import numpy as np
from setuptools import setup, find_packages, Extension
from Cython.Build import cythonize
extensions = [Extension('hdmedians.geomedian',
['hdmedians/geomedian.pyx'],
include_dirs = [np.get_include()])]
setup(name='hdmedians',
packages=find_packages(),
setup_requires=['nose>=1.0'],
install_requires=['six', 'numpy'],
version='0.1',
description='High-dimensional medians',
url='http://github.com/daleroberts/hdmedians',
author='Dale Roberts',
author_email='[email protected]',
license='GPL3',
ext_modules = cythonize(extensions))
|
apache-2.0
|
Python
|
8d3d339d27ef4a61f3447dae5d671b2dfc30a9b7
|
change readme target in setup.py
|
mankyd/htmlmin,BlaXpirit/htmlmin,BlaXpirit/htmlmin,mankyd/htmlmin
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
from htmlmin import __version__
README = open('README.rst').read()
LICENSE = open('LICENSE').read()
setup(
name='htmlmin',
version=__version__,
license='BSD',
description='An HTML Minifier',
long_description=README,
url='https://htmlmin.readthedocs.org/en/latest/',
download_url='https://github.com/mankyd/htmlmin',
author='Dave Mankoff',
author_email='[email protected]',
packages=find_packages(),
include_package_data=True,
zip_safe=True,
test_suite='htmlmin.tests.tests.suite',
install_requires=[],
tests_require=[],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Topic :: Text Processing :: Markup :: HTML",
],
entry_points={
'console_scripts': [
'htmlmin = htmlmin.command:main',
],
},
)
|
from setuptools import setup, find_packages
from htmlmin import __version__
README = open('README.md').read()
LICENSE = open('LICENSE').read()
setup(
name='htmlmin',
version=__version__,
license='BSD',
description='An HTML Minifier',
long_description=README,
url='https://htmlmin.readthedocs.org/en/latest/',
download_url='https://github.com/mankyd/htmlmin',
author='Dave Mankoff',
author_email='[email protected]',
packages=find_packages(),
include_package_data=True,
zip_safe=True,
test_suite='htmlmin.tests.tests.suite',
install_requires=[],
tests_require=[],
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.2",
"Topic :: Text Processing :: Markup :: HTML",
],
entry_points={
'console_scripts': [
'htmlmin = htmlmin.command:main',
],
},
)
|
bsd-3-clause
|
Python
|
07b11f05e3cce7e76d80e115c388087bcb7a633b
|
Change setup.py description of quickplots
|
samirelanduk/quickplots
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name="quickplots",
version="2.1.0",
description="A simple plotting library",
long_description="An object-oriented plotting library for Python, with simplicity as its principal aim.",
url="https://quickplots.readthedocs.io",
author="Sam Ireland",
author_email="[email protected]",
license="MIT",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering :: Visualization",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.0",
"Programming Language :: Python :: 3.1",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
],
keywords="charts graphs data",
packages=["quickplots"],
install_requires=["omnicanvas"]
)
|
from setuptools import setup
setup(
name="quickplots",
version="2.1.0",
description="A simple plotting library",
long_description="A Python plotting library with simplicty and intuition as its primary goals",
url="https://quickplots.readthedocs.io",
author="Sam Ireland",
author_email="[email protected]",
license="MIT",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Topic :: Scientific/Engineering :: Visualization",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.0",
"Programming Language :: Python :: 3.1",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
],
keywords="charts graphs data",
packages=["quickplots"],
install_requires=["omnicanvas"]
)
|
mit
|
Python
|
bb2f5ec13cd452b92a197d14ff7629d01d8b35c7
|
Update Django version used w/ Python 2.7 (1.10 => 1.11)
|
wylee/django-local-settings
|
setup.py
|
setup.py
|
import sys
from setuptools import find_packages, setup
py_version = sys.version_info[:2]
py_version_dotted = '{0.major}.{0.minor}'.format(sys.version_info)
supported_py_versions = ('2.7', '3.3', '3.4', '3.5', '3.6')
if py_version_dotted not in supported_py_versions:
sys.stderr.write('WARNING: django-local-settings does not officially support Python ')
sys.stderr.write(py_version_dotted)
sys.stderr.write('\n')
with open('VERSION') as version_fp:
VERSION = version_fp.read().strip()
with open('README.md') as readme_fp:
long_description = readme_fp.read()
install_requires = [
'six',
]
if py_version < (3, 0):
install_requires.append('configparser')
# NOTE: Keep this Django version up to date with the latest Django
# release that works for the versions of Python we support.
# This is used to get up and running quickly; tox is used to test
# all supported Python/Django version combos.
if py_version == (2, 7):
django_spec = 'django>=1.11,<1.12',
if py_version == (3, 3):
django_spec = 'django>=1.8,<1.9',
else:
django_spec = 'django>=2.0,<2.1',
setup(
name='django-local-settings',
version=VERSION,
author='Wyatt Baldwin',
author_email='[email protected]',
url='https://github.com/wylee/django-local-settings',
description='A system for dealing with local settings in Django projects',
long_description=long_description,
packages=find_packages(),
install_requires=install_requires,
extras_require={
'dev': [
'coverage>=4',
django_spec,
'flake8',
'tox>=2.6.0',
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: Django',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
] + [
'Programming Language :: Python :: {v}'.format(v=v)for v in supported_py_versions
],
entry_points="""
[console_scripts]
make-local-settings = local_settings:make_local_settings
""",
)
|
import sys
from setuptools import find_packages, setup
py_version = sys.version_info[:2]
py_version_dotted = '{0.major}.{0.minor}'.format(sys.version_info)
supported_py_versions = ('2.7', '3.3', '3.4', '3.5', '3.6')
if py_version_dotted not in supported_py_versions:
sys.stderr.write('WARNING: django-local-settings does not officially support Python ')
sys.stderr.write(py_version_dotted)
sys.stderr.write('\n')
with open('VERSION') as version_fp:
VERSION = version_fp.read().strip()
with open('README.md') as readme_fp:
long_description = readme_fp.read()
install_requires = [
'six',
]
if py_version < (3, 0):
install_requires.append('configparser')
# NOTE: Keep this Django version up to date with the latest Django
# release that works for the versions of Python we support.
# This is used to get up and running quickly; tox is used to test
# all supported Python/Django version combos.
if py_version == (2, 7):
django_spec = 'django>=1.10,<1.11',
if py_version == (3, 3):
django_spec = 'django>=1.8,<1.9',
else:
django_spec = 'django>=2.0,<2.1',
setup(
name='django-local-settings',
version=VERSION,
author='Wyatt Baldwin',
author_email='[email protected]',
url='https://github.com/wylee/django-local-settings',
description='A system for dealing with local settings in Django projects',
long_description=long_description,
packages=find_packages(),
install_requires=install_requires,
extras_require={
'dev': [
'coverage>=4',
django_spec,
'flake8',
'tox>=2.6.0',
],
},
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: Django',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
] + [
'Programming Language :: Python :: {v}'.format(v=v)for v in supported_py_versions
],
entry_points="""
[console_scripts]
make-local-settings = local_settings:make_local_settings
""",
)
|
mit
|
Python
|
916f426c93c3d3de8f5412bdf46b832b14fc7978
|
Add support for custom function in setup.py
|
fabiocody/PyNetatmo
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
from setuptools import setup
from os import path
here = path.abspath(path.dirname(__file__))
try:
with open(path.join(here, 'README.md')) as f:
long_description = f.read()
except:
long_description = ''
try:
setup(
name='pynetatmo',
version='0.0.1',
description='Netatmo API wrapper written in Python',
long_description=long_description,
url='https://github.com/fabiocody/PyNetatmo.git',
author='Fabio Codiglioni',
author_email='[email protected]',
license='MIT',
classifiers=[
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Development Status :: 3 - Alpha'
],
keywords='netatmo, thermostat',
py_modules=['netatmo']
)
finally:
# CONFIGURATION
pass
|
#!/usr/bin/env python3
from setuptools import setup
from os import path
here = path.abspath(path.dirname(__file__))
try:
with open(path.join(here, 'README.md')) as f:
long_description = f.read()
except:
long_description = ''
setup(
name='pynetatmo',
version='0.0.1',
description='Netatmo API wrapper written in Python',
long_description=long_description,
url='https://github.com/fabiocody/PyNetatmo.git',
author='Fabio Codiglioni',
author_email='[email protected]',
license='MIT',
classifiers=[
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Development Status :: 3 - Alpha'
],
keywords='netatmo, thermostat',
py_modules=['netatmo']
)
|
mit
|
Python
|
03499b7a1cf7491aa3b9a67ff573442a5c925a2e
|
Bump version number.
|
avakar/crater,avakar/crater
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# coding: utf-8
from setuptools import setup
setup(
name='crater',
version='0.6',
description='A dependency management system',
author='Martin Vejnár',
author_email='[email protected]',
url='https://github.com/avakar/crater',
license='MIT',
packages=['crater'],
install_requires=['cson', 'six', 'requests', 'colorama', 'toposort'],
entry_points = {
'console_scripts': [
'crater = crater.crater:main',
]
}
)
|
#!/usr/bin/env python
# coding: utf-8
from setuptools import setup
setup(
name='crater',
version='0.5',
description='A dependency management system',
author='Martin Vejnár',
author_email='[email protected]',
url='https://github.com/avakar/crater',
license='MIT',
packages=['crater'],
install_requires=['cson', 'six', 'requests', 'colorama', 'toposort'],
entry_points = {
'console_scripts': [
'crater = crater.crater:main',
]
}
)
|
mit
|
Python
|
a6f1ea90cde8282075b3dedda9162da4ad731792
|
update authors
|
culqi/culqi-python
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import find_packages, setup
package_name = "culqi"
package_path = os.path.abspath(os.path.dirname(__file__))
repositorty_url = "https://github.com/culqi/culqi"
long_description_file_path = os.path.join(package_path, "README.md")
long_description = ""
try:
with open(long_description_file_path) as f:
long_description = f.read()
except IOError:
pass
setup(
name=package_name,
packages=find_packages(exclude=[".*", "docs", "scripts", "tests*", "legacy",]),
include_package_data=True,
version=__import__("culqi").__version__,
description="""Biblioteca de Culqi en Python""",
long_description=long_description,
long_description_content_type="text/markdown",
author="Willy Aguirre, Joel Ibaceta, Martin Josemaría",
author_email="[email protected]",
zip_safe=False,
keywords=["Api Client", "Payment Integration", "Culqi", "Python 3", "Python 2",],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development :: Libraries :: Python Modules",
],
url=repositorty_url,
download_url="%(url)s/-/archive/%(version)s/%(package)s-%(version)s.tar.gz"
% {
"url": repositorty_url,
"version": __import__("culqi").__version__,
"package": package_name,
},
requires=["requests",],
install_requires=["requests",],
)
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import find_packages, setup
package_name = "culqi"
package_path = os.path.abspath(os.path.dirname(__file__))
repositorty_url = "https://github.com/culqi/culqi"
long_description_file_path = os.path.join(package_path, "README.md")
long_description = ""
try:
with open(long_description_file_path) as f:
long_description = f.read()
except IOError:
pass
setup(
name=package_name,
packages=find_packages(exclude=[".*", "docs", "scripts", "tests*", "legacy",]),
include_package_data=True,
version=__import__("culqi").__version__,
description="""Biblioteca de Culqi en Python""",
long_description=long_description,
long_description_content_type="text/markdown",
author="Willy Aguirre - Culqi Team",
author_email="[email protected]",
zip_safe=False,
keywords=["Api Client", "Payment Integration", "Culqi", "Python 3", "Python 2",],
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Software Development :: Libraries :: Python Modules",
],
url=repositorty_url,
download_url="%(url)s/-/archive/%(version)s/%(package)s-%(version)s.tar.gz"
% {
"url": repositorty_url,
"version": __import__("culqi").__version__,
"package": package_name,
},
requires=["requests",],
install_requires=["requests",],
)
|
mit
|
Python
|
a53e1a56460f197ae11a078f036d2a2ac9342fc3
|
Bump to v0.11.1
|
gisce/esios
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
PACKAGES_DATA = {'esios': ['data/*.xsd']}
setup(
name='esios',
version='0.11.1',
packages=find_packages(),
url='https://github.com/gisce/esios',
license='MIT',
install_requires=['libsaas'],
author='GISCE-TI, S.L.',
author_email='[email protected]',
description='Interact with e.sios API',
package_data=PACKAGES_DATA,
)
|
from setuptools import setup, find_packages
PACKAGES_DATA = {'esios': ['data/*.xsd']}
setup(
name='esios',
version='0.11.0',
packages=find_packages(),
url='https://github.com/gisce/esios',
license='MIT',
install_requires=['libsaas'],
author='GISCE-TI, S.L.',
author_email='[email protected]',
description='Interact with e.sios API',
package_data=PACKAGES_DATA,
)
|
mit
|
Python
|
8aba69624d0719a9912302c492e05d1988bd1c31
|
Add licensing info to setup.py
|
joh/Flickrsaver
|
setup.py
|
setup.py
|
from distutils.core import setup
setup(
name='flickrsaver',
version='0.1',
description='A screensaver for Flickr enthusiasts',
url='http://github.com/joh/Flickrsaver',
license='BSD',
author='Johannes H. Jensen',
author_email='[email protected]',
requires=[
'clutter (>=1.0.3)',
'flickrapi'
],
# TODO: Absolute system paths like this should be avoided, but
# unfortunately gnome-screensaver seems to only allow screensavers
# which reside in a list of hard-coded system directories...
data_files=[('/usr/lib/xscreensaver', ['flickrsaver.py']),
('share/applications/screensavers', ['flickrsaver.desktop'])]
)
|
from distutils.core import setup
setup(
name='flickrsaver',
version='0.1',
description='A screensaver for Flickr enthusiasts',
author='Johannes H. Jensen',
author_email='[email protected]',
url='http://github.com/joh/Flickrsaver',
requires=[
'clutter (>=1.0.3)',
'flickrapi'
],
# TODO: Absolute system paths like this should be avoided, but
# unfortunately gnome-screensaver seems to only allow screensavers
# which reside in a list of hard-coded system directories...
data_files=[('/usr/lib/xscreensaver', ['flickrsaver.py']),
('share/applications/screensavers', ['flickrsaver.desktop'])]
)
|
bsd-3-clause
|
Python
|
df7e7b7a220dcfefc4d31fc1f01fb1518023c425
|
Bump version
|
ITNG/SurveyGizmo
|
setup.py
|
setup.py
|
import os
import unittest
from setuptools import setup, find_packages
PATH = os.path.join(os.path.dirname(__file__), 'README.md')
try:
import pypandoc
README = pypandoc.convert(PATH, 'rst')
except ImportError:
README = open(PATH).read()
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
def test_suite():
test_loader = unittest.TestLoader()
test_suite = test_loader.discover('tests', pattern='test_*.py')
return test_suite
setup(
name='SurveyGizmo',
version='1.2.1',
description='A Python Wrapper for SurveyGizmo\'s restful API service.',
long_description=README,
author='Ryan P Kilby',
author_email='[email protected]',
keywords="Survey Gizmo SurveyGizmo surveygizmo",
url='https://github.com/ITNG/SurveyGizmo/',
packages=find_packages(),
install_requires=['requests'],
test_suite='setup.test_suite',
license='BSD License',
classifiers=(
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
),
)
|
import os
import unittest
from setuptools import setup, find_packages
PATH = os.path.join(os.path.dirname(__file__), 'README.md')
try:
import pypandoc
README = pypandoc.convert(PATH, 'rst')
except ImportError:
README = open(PATH).read()
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
def test_suite():
test_loader = unittest.TestLoader()
test_suite = test_loader.discover('tests', pattern='test_*.py')
return test_suite
setup(
name='SurveyGizmo',
version='1.2.0',
description='A Python Wrapper for SurveyGizmo\'s restful API service.',
long_description=README,
author='Ryan P Kilby',
author_email='[email protected]',
keywords="Survey Gizmo SurveyGizmo surveygizmo",
url='https://github.com/ITNG/SurveyGizmo/',
packages=find_packages(),
install_requires=['requests'],
test_suite='setup.test_suite',
license='BSD License',
classifiers=(
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
),
)
|
bsd-3-clause
|
Python
|
d8ec6ed2e9100f3e9550fda5078e0a6c0f6d144d
|
bump version to 0.3 + added github url
|
the-gigi/conman
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(name='conman',
version='0.3',
url='https://github.com/the-gigi/conman',
license='MIT',
author='Gigi Sayfan',
author_email='[email protected]',
description='Manage configuration files',
packages=find_packages(exclude=['tests']),
long_description=open('README.md').read(),
zip_safe=False,
setup_requires=['nose>=1.0'],
test_suite='nose.collector')
|
from setuptools import setup, find_packages
setup(name='conman',
version='0.2',
license='MIT',
author='Gigi Sayfan',
author_email='[email protected]',
description='Manage configuration files',
packages=find_packages(exclude=['tests']),
long_description=open('README.md').read(),
zip_safe=False,
setup_requires=['nose>=1.0'],
test_suite='nose.collector')
|
mit
|
Python
|
8f696555df932ef9e87edf108c7ed10904a8b256
|
Add *ini files in migrations to package data
|
apache/cloudstack-gcestack
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
try:
from setuptools import setup
except ImportError:
try:
from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup
except ImportError:
raise RuntimeError(
"python setuptools is required to build gstack")
VERSION = '0.1.0'
import os
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read().strip()
setup(
name='gstack',
version=VERSION,
description='A GCE interface to Apache CloudStack',
author='Ian Duffy, Darren Brogan, Sebastien Goasguen',
author_email='[email protected], [email protected], [email protected]',
long_description='A Google Compute Engine compliant interface to the Apache CloudStack API',
url='https://github.com/NOPping/gstack',
platforms=('Any'),
license='LICENSE.txt',
package_data={'': ['LICENSE.txt', 'data/*'],
'migrations': ['versions/*', '*.mako', '*.ini']},
packages=[
'gstack',
'gstack.controllers',
'gstack.models',
'gstack.services',
'gstack.data',
'pyoauth2',
'migrations'],
include_package_data=True,
install_requires=[
'requests==0.14',
'pycrypto==2.6',
'pyopenssl',
'Flask-SQLAlchemy',
'flask',
'alembic'
],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities',
'Programming Language :: Python :: 2.7',
],
zip_safe=False,
entry_points="""
[console_scripts]
gstack = gstack.__main__:main
gstack-configure = gstack.configure:main
""",
)
|
#!/usr/bin/env python
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
try:
from setuptools import setup
except ImportError:
try:
from distribute_setup import use_setuptools
use_setuptools()
from setuptools import setup
except ImportError:
raise RuntimeError(
"python setuptools is required to build gstack")
VERSION = '0.1.0'
import os
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read().strip()
setup(
name='gstack',
version=VERSION,
description='A GCE interface to Apache CloudStack',
author='Ian Duffy, Darren Brogan, Sebastien Goasguen',
author_email='[email protected], [email protected], [email protected]',
long_description='A Google Compute Engine compliant interface to the Apache CloudStack API',
url='https://github.com/NOPping/gstack',
platforms=('Any'),
license='LICENSE.txt',
package_data={'': ['LICENSE.txt', 'data/*'],
'migrations': ['versions/*', '*.mako']},
packages=[
'gstack',
'gstack.controllers',
'gstack.models',
'gstack.services',
'gstack.data',
'pyoauth2',
'migrations'],
include_package_data=True,
install_requires=[
'requests==0.14',
'pycrypto==2.6',
'pyopenssl',
'Flask-SQLAlchemy',
'flask',
'alembic'
],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities',
'Programming Language :: Python :: 2.7',
],
zip_safe=False,
entry_points="""
[console_scripts]
gstack = gstack.__main__:main
gstack-configure = gstack.configure:main
""",
)
|
apache-2.0
|
Python
|
98efb2ea38539644a1ee1f40d98190a9fb0a5b64
|
Bump version to 0.2
|
lebauce/hashmerge
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='hashmerge',
version='0.2',
url='https://github.com/lebauce/hashmerge',
author='Sylvain Baubeau',
author_email='[email protected]',
description="Merges two arbitrarily deep hashes into a single hash.",
license='MIT',
include_package_data=False,
zip_safe=False,
py_modules=['hashmerge'],
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: Unix',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries'],
)
|
#!/usr/bin/env python
from setuptools import setup
with open("README.md", "r") as fh:
long_description = fh.read()
setup(
name='hashmerge',
version='0.1',
url='https://github.com/lebauce/hashmerge',
author='Sylvain Baubeau',
author_email='[email protected]',
description="Merges two arbitrarily deep hashes into a single hash.",
license='MIT',
include_package_data=False,
zip_safe=False,
py_modules=['hashmerge'],
long_description=long_description,
long_description_content_type='text/markdown',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: Unix',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries'],
)
|
mit
|
Python
|
d67899d0cd62732f27e0e87400192c7b95af5055
|
Bump version
|
mailgun/flanker,nylas/flanker
|
setup.py
|
setup.py
|
# coding:utf-8
from setuptools import setup, find_packages
setup(name='flanker',
version='0.6.12',
description='Mailgun Parsing Tools',
long_description=open('README.rst').read(),
classifiers=[],
keywords='',
author='Mailgun Inc.',
author_email='[email protected]',
url='http://mailgun.net',
license='Apache 2',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=True,
tests_require=[
'nose',
'mock'
],
install_requires=[
'chardet>=1.0.1',
'cchardet>=0.3.5',
'cryptography>=0.5',
'cython>=0.21.1',
'dnsq>=1.1.6',
'expiringdict>=1.1.2',
'idna>=2.5',
'ply>=3.10',
'redis>=2.7.1',
'regex>=0.1.20110315',
'WebOb>=0.9.8'],
)
|
# coding:utf-8
from setuptools import setup, find_packages
setup(name='flanker',
version='0.6.11',
description='Mailgun Parsing Tools',
long_description=open('README.rst').read(),
classifiers=[],
keywords='',
author='Mailgun Inc.',
author_email='[email protected]',
url='http://mailgun.net',
license='Apache 2',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=True,
tests_require=[
'nose',
'mock'
],
install_requires=[
'chardet>=1.0.1',
'cchardet>=0.3.5',
'cryptography>=0.5',
'cython>=0.21.1',
'dnsq>=1.1.6',
'expiringdict>=1.1.2',
'idna>=2.5',
'ply>=3.10',
'redis>=2.7.1',
'regex>=0.1.20110315',
'WebOb>=0.9.8'],
)
|
apache-2.0
|
Python
|
ccd3660f01ec595ee63ecd6ad1332af078277abd
|
add sphinx-intl
|
seisman/HinetPy
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import re
from os import path
from codecs import open
from setuptools import setup
here = path.abspath(path.dirname(__file__))
# get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
# get version number from __init__.py
# https://github.com/kennethreitz/requests/blob/master/setup.py#L52
with open('HinetPy/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
setup(
name='HinetPy',
version=version,
description='A NIED Hi-net web service client '
'and win32 tools for seismologists.',
long_description=long_description,
url='https://github.com/seisman/HinetPy',
author='Dongdong Tian',
author_email='[email protected]',
keywords='NIED Hi-net related tasks',
license='MIT',
packages=['HinetPy'],
install_requires=['requests'],
extras_require={
'dev': [
"guzzle_sphinx_theme",
"codecov",
"coverage",
"pytest-cov",
"twine",
"sphinx-intl",
]
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Scientific/Engineering :: Physics',
'Topic :: Utilities',
],
)
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import re
from os import path
from codecs import open
from setuptools import setup
here = path.abspath(path.dirname(__file__))
# get the long description from the README file
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
# get version number from __init__.py
# https://github.com/kennethreitz/requests/blob/master/setup.py#L52
with open('HinetPy/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
setup(
name='HinetPy',
version=version,
description='A NIED Hi-net web service client '
'and win32 tools for seismologists.',
long_description=long_description,
url='https://github.com/seisman/HinetPy',
author='Dongdong Tian',
author_email='[email protected]',
keywords='NIED Hi-net related tasks',
license='MIT',
packages=['HinetPy'],
install_requires=['requests'],
extras_require={
'dev': [
"guzzle_sphinx_theme",
"codecov",
"coverage",
"pytest-cov",
"twine",
]
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Scientific/Engineering :: Physics',
'Topic :: Utilities',
],
)
|
mit
|
Python
|
31cd04c8805459fb44047c8e61536ddfc123d566
|
update version.
|
bukun/TorCMS,bukun/TorCMS,bukun/TorCMS,bukun/TorCMS,bukun/TorCMS
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
'''
For pypi
'''
from setuptools import setup, find_packages
desc = ('Flexible, extensible Web CMS framework built on Tornado,'
'compatible with Python 3.4 and above.')
setup(
name='torcms',
version='0.6.24',
keywords=('torcms', 'tornado', 'cms',),
description=desc,
long_description=''.join(open('README.rst').readlines()),
license='MIT License',
url='https://github.com/bukun/TorCMS',
author='bukun',
author_email='[email protected]',
packages=find_packages(
# include=('torcms',),
exclude=("tester", "torcms_tester", 'flasky',)),
include_package_data=True,
platforms='any',
zip_safe=True,
install_requires=['beautifulsoup4', 'jieba', 'markdown', 'peewee', 'Pillow',
'tornado', 'Whoosh', 'WTForms', 'wtforms-tornado',
'psycopg2-binary', 'html2text', 'redis', 'pyyaml'],
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
],
)
|
#!/usr/bin/env python3
# -*- coding:utf-8 -*-
'''
For pypi
'''
from setuptools import setup, find_packages
desc = ('Flexible, extensible Web CMS framework built on Tornado,'
'compatible with Python 3.4 and above.')
setup(
name='torcms',
version='0.6.23',
keywords=('torcms', 'tornado', 'cms',),
description=desc,
long_description=''.join(open('README.rst').readlines()),
license='MIT License',
url='https://github.com/bukun/TorCMS',
author='bukun',
author_email='[email protected]',
packages=find_packages(
# include=('torcms',),
exclude=("tester", "torcms_tester", 'flasky',)),
include_package_data=True,
platforms='any',
zip_safe=True,
install_requires=['beautifulsoup4', 'jieba', 'markdown', 'peewee', 'Pillow',
'tornado', 'Whoosh', 'WTForms', 'wtforms-tornado',
'psycopg2-binary', 'html2text', 'redis', 'pyyaml'],
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 3 - Alpha',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries :: Python Modules',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6'
],
)
|
mit
|
Python
|
60236b17c98cd783ac2ab4fd214a6425410195f1
|
add long_description
|
Taywee/makerestapiclient,Taywee/makerestapiclient
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
from setuptools import setup
version = '1.2.1'
setup(name='makerestapiclient',
version=version,
description="Simple python utility to build a python client class for interfacing with a REST API",
long_description="Simple python utility to build a python client class for interfacing with a REST API",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
],
entry_points={
'console_scripts': [
'makerestapiclient = makerestapiclient.__main__:main',
]
},
keywords='python http rest management',
author='Taylor C. Richberger <[email protected]>',
author_email='[email protected]',
url='https://github.com/Taywee/makerestapiclient',
download_url='https://github.com/Taywee/makerestapiclient',
license='MIT',
packages=['makerestapiclient'],
include_package_data=False,
zip_safe=False,
)
|
#!/usr/bin/env python3
from setuptools import setup
version = '1.2.0'
setup(name='makerestapiclient',
version=version,
description="Simple python utility to build a python client class for interfacing with a REST API",
classifiers=[
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
],
entry_points={
'console_scripts': [
'makerestapiclient = makerestapiclient.__main__:main',
]
},
keywords='python http rest management',
author='Taylor C. Richberger <[email protected]>',
author_email='[email protected]',
url='https://github.com/Taywee/makerestapiclient',
download_url='https://github.com/Taywee/makerestapiclient',
license='MIT',
packages=['makerestapiclient'],
include_package_data=False,
zip_safe=False,
)
|
mit
|
Python
|
9266e87c0930e589145ab25609cd8e129a3f487e
|
bump version
|
stephenbm/pastry
|
setup.py
|
setup.py
|
import os
try:
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to pytest")]
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = ''
def run_tests(self):
#import here, cause outside the eggs aren't loaded
import sys
import pytest
errno = pytest.main(self.pytest_args.split(' '))
sys.exit(errno)
install_requires = [
'rsa',
'pyyaml',
'grequests'
]
tests_require = [
'mock',
'pytest-cov',
'coverage',
'pytest'
]
setup(
name='pastry',
version='0.1.25',
description='A simple api wrapper for chef',
long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(),
author='Stephen Breyer-Menke',
author_email='[email protected]',
license='MIT',
url='https://github.com/stephenbm/pastry',
packages=find_packages(),
test_suite='tests',
tests_require=tests_require,
cmdclass={'test': PyTest},
install_requires=install_requires,
include_package_data=True,
zip_safe=False
)
|
import os
try:
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to pytest")]
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = ''
def run_tests(self):
#import here, cause outside the eggs aren't loaded
import sys
import pytest
errno = pytest.main(self.pytest_args.split(' '))
sys.exit(errno)
install_requires = [
'rsa',
'pyyaml',
'grequests'
]
tests_require = [
'mock',
'pytest-cov',
'coverage',
'pytest'
]
setup(
name='pastry',
version='0.1.24',
description='A simple api wrapper for chef',
long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(),
author='Stephen Breyer-Menke',
author_email='[email protected]',
license='MIT',
url='https://github.com/stephenbm/pastry',
packages=find_packages(),
test_suite='tests',
tests_require=tests_require,
cmdclass={'test': PyTest},
install_requires=install_requires,
include_package_data=True,
zip_safe=False
)
|
mit
|
Python
|
098594700b0b8d782b599cb0d74eb0f7de770c7b
|
Bump version.
|
liangsun/simhash,leonsim/simhash,pombredanne/simhash-5
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name = 'simhash',
version = '1.9.0',
keywords = ('simhash'),
description = 'A Python implementation of Simhash Algorithm',
license = 'MIT License',
url = 'http://leons.im/posts/a-python-implementation-of-simhash-algorithm/',
author = '1e0n',
author_email = '[email protected]',
packages = find_packages(),
include_package_data = True,
platforms = 'any',
install_requires = [],
tests_require = [
'nose',
'numpy',
'scipy',
'scikit-learn',
],
test_suite = "nose.collector",
)
|
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name = 'simhash',
version = '1.8.0',
keywords = ('simhash'),
description = 'A Python implementation of Simhash Algorithm',
license = 'MIT License',
url = 'http://leons.im/posts/a-python-implementation-of-simhash-algorithm/',
author = '1e0n',
author_email = '[email protected]',
packages = find_packages(),
include_package_data = True,
platforms = 'any',
install_requires = [],
tests_require = [
'nose',
'numpy',
'scipy',
'scikit-learn',
],
test_suite = "nose.collector",
)
|
mit
|
Python
|
f75ed6add2058f6988b2baaf73d34c382d17adf7
|
add examples and test sub-packages and bump version number for new pypi release
|
mattfenwick/NMRPyStar,mattfenwick/NMRPyStar
|
setup.py
|
setup.py
|
from distutils.core import setup
setup(
name='NMRPyStar',
version='0.0.12',
packages=['nmrpystar',
'nmrpystar.parse',
'nmrpystar.examples',
'nmrpystar.test'],
license='MIT',
author='Matt Fenwick',
author_email='[email protected]',
url='https://github.com/mattfenwick/NMRPyStar',
description='a parser for the NMR-Star data format'
)
|
from distutils.core import setup
setup(
name='NMRPyStar',
version='0.0.11',
packages=['nmrpystar', 'nmrpystar.parse'],
license='MIT',
author='Matt Fenwick',
author_email='[email protected]',
url='https://github.com/mattfenwick/NMRPyStar',
description='a parser for the NMR-Star data format'
)
|
mit
|
Python
|
4bb8acd103131868dfc8bf68cc583c01b4e8481c
|
Bump version to 0.1.1
|
incuna/django-user-deletion
|
setup.py
|
setup.py
|
from setuptools import find_packages, setup
version = '0.1.1'
setup(
name='django-user-deletion',
packages=find_packages(),
include_package_data=True,
version=version,
license='BSD',
description='Management commands to notify and delete inactive django users',
classifiers=[
'Development Status :: 1 - Planning',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
author='Incuna Ltd',
author_email='[email protected]',
url='https://github.com/incuna/django-user-deletion',
)
|
from setuptools import find_packages, setup
version = '0.1.0'
setup(
name='django-user-deletion',
packages=find_packages(),
include_package_data=True,
version=version,
license='BSD',
description='Management commands to notify and delete inactive django users',
classifiers=[
'Development Status :: 1 - Planning',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
],
author='Incuna Ltd',
author_email='[email protected]',
url='https://github.com/incuna/django-user-deletion',
)
|
bsd-2-clause
|
Python
|
bc95f1488b5e573277a1306bf0ecca6d2207f88b
|
Use PEP440-compliant version in setup.py (#277)
|
bugsnag/bugsnag-python,bugsnag/bugsnag-python
|
setup.py
|
setup.py
|
#!/usr/bin/env python
"""
Bugsnag
=======
The official Python notifier for `Bugsnag <https://bugsnag.com/>`_.
Provides support for automatically capturing and sending exceptions
in your Django and other Python apps to Bugsnag, to help you find
and solve your bugs as fast as possible.
"""
from setuptools import setup, find_packages
setup(
name='bugsnag',
version='4.0.3',
description='Automatic error monitoring for django, flask, etc.',
long_description=__doc__,
author='Simon Maynard',
author_email='[email protected]',
url='https://bugsnag.com/',
license='MIT',
python_requires='>=3.5, <4',
packages=find_packages(include=['bugsnag', 'bugsnag.*']),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Software Development'
],
package_data = {
'bugsnag': ['py.typed'],
},
test_suite='tests',
install_requires=['webob'],
extras_require={
'flask': ['flask', 'blinker']
},
)
|
#!/usr/bin/env python
"""
Bugsnag
=======
The official Python notifier for `Bugsnag <https://bugsnag.com/>`_.
Provides support for automatically capturing and sending exceptions
in your Django and other Python apps to Bugsnag, to help you find
and solve your bugs as fast as possible.
"""
from setuptools import setup, find_packages
setup(
name='bugsnag',
version='4.0.3',
description='Automatic error monitoring for django, flask, etc.',
long_description=__doc__,
author='Simon Maynard',
author_email='[email protected]',
url='https://bugsnag.com/',
license='MIT',
python_requires='>=3.5.*, <4',
packages=find_packages(include=['bugsnag', 'bugsnag.*']),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Topic :: Software Development'
],
package_data = {
'bugsnag': ['py.typed'],
},
test_suite='tests',
install_requires=['webob'],
extras_require={
'flask': ['flask', 'blinker']
},
)
|
mit
|
Python
|
d5109b582cdf1f0f356122e71847debd37201636
|
Update version.
|
pmaigutyak/mp-shop,pmaigutyak/mp-shop,pmaigutyak/mp-shop
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
__version__ = '4.0.3'
with open('requirements.txt') as f:
requires = f.read().splitlines()
url = 'https://github.com/pmaigutyak/mp-shop'
setup(
name='django-mp-shop',
version=__version__,
description='Django shop apps',
long_description=open('README.md').read(),
author='Paul Maigutyak',
author_email='[email protected]',
url=url,
download_url='%s/archive/%s.tar.gz' % (url, __version__),
packages=find_packages(),
include_package_data=True,
license='MIT',
install_requires=requires
)
|
from setuptools import setup, find_packages
__version__ = '4.0.2'
with open('requirements.txt') as f:
requires = f.read().splitlines()
url = 'https://github.com/pmaigutyak/mp-shop'
setup(
name='django-mp-shop',
version=__version__,
description='Django shop apps',
long_description=open('README.md').read(),
author='Paul Maigutyak',
author_email='[email protected]',
url=url,
download_url='%s/archive/%s.tar.gz' % (url, __version__),
packages=find_packages(),
include_package_data=True,
license='MIT',
install_requires=requires
)
|
isc
|
Python
|
48420606edc3d2486e0e943d8480fe7f57aa6e0e
|
fix for unneccesary require to argparse
|
briandailey/alembic
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
import sys
import os
import re
extra = {}
if sys.version_info >= (3, 0):
extra.update(
use_2to3=True,
)
v = open(os.path.join(os.path.dirname(__file__), 'alembic', '__init__.py'))
VERSION = re.compile(r".*__version__ = '(.*?)'", re.S).match(v.read()).group(1)
v.close()
readme = os.path.join(os.path.dirname(__file__), 'README.rst')
requires = [
'SQLAlchemy>=0.6.0',
'Mako',
]
try:
import argparse
except ImportError:
requires.append('argparse')
setup(name='alembic',
version=VERSION,
description="A database migration tool for SQLAlchemy.",
long_description=open(readme).read(),
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Database :: Front-Ends',
],
keywords='SQLAlchemy migrations',
author='Mike Bayer',
author_email='[email protected]',
url='http://bitbucket.org/zzzeek/alembic',
license='MIT',
packages=find_packages('.', exclude=['examples*', 'test*']),
include_package_data=True,
tests_require = ['nose >= 0.11'],
test_suite = "nose.collector",
zip_safe=False,
install_requires=requires,
entry_points = {
'console_scripts': [ 'alembic = alembic.config:main' ],
},
**extra
)
|
from setuptools import setup, find_packages
import sys
import os
import re
extra = {}
if sys.version_info >= (3, 0):
extra.update(
use_2to3=True,
)
v = open(os.path.join(os.path.dirname(__file__), 'alembic', '__init__.py'))
VERSION = re.compile(r".*__version__ = '(.*?)'", re.S).match(v.read()).group(1)
v.close()
readme = os.path.join(os.path.dirname(__file__), 'README.rst')
setup(name='alembic',
version=VERSION,
description="A database migration tool for SQLAlchemy.",
long_description=open(readme).read(),
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Topic :: Database :: Front-Ends',
],
keywords='SQLAlchemy migrations',
author='Mike Bayer',
author_email='[email protected]',
url='http://bitbucket.org/zzzeek/alembic',
license='MIT',
packages=find_packages('.', exclude=['examples*', 'test*']),
include_package_data=True,
tests_require = ['nose >= 0.11'],
test_suite = "nose.collector",
zip_safe=False,
install_requires=[
'SQLAlchemy>=0.6.0',
'Mako',
# TODO: should this not be here if the env. is
# Python 2.7/3.2 ? not sure how this is supposed
# to be handled
'argparse'
],
entry_points = {
'console_scripts': [ 'alembic = alembic.config:main' ],
},
**extra
)
|
mit
|
Python
|
a6d5e8e1550f523eb87d0cd4a097136a350dcd28
|
Bump versioBump version
|
airtonix/django-shop,nimbis/django-shop,awesto/django-shop,DavideyLee/django-shop,khchine5/django-shop,creimers/django-shop,rfleschenberg/django-shop,ojii/django-shop,jrief/django-shop,bmihelac/django-shop,rfleschenberg/django-shop,pjdelport/django-shop,fusionbox/django-shop,dwx9/test,awesto/django-shop,divio/django-shop,katomaso/django-shop,khchine5/django-shop,DavideyLee/django-shop,rfleschenberg/django-shop,katomaso/django-shop,jrief/django-shop,nimbis/django-shop,chriscauley/django-shop,jrutila/django-shop,schacki/django-shop,ojii/django-shop,schacki/django-shop,schacki/django-shop,atheiste/django-shop,febsn/django-shop,bmihelac/django-shop,divio/django-shop,awesto/django-shop,pjdelport/django-shop,pjdelport/django-shop,dwx9/test,thenewguy/django-shop,chriscauley/django-shop,fusionbox/django-shop,schacki/django-shop,divio/django-shop,jrief/django-shop,khchine5/django-shop,jrutila/django-shop,nimbis/django-shop,thenewguy/django-shop,febsn/django-shop,atheiste/django-shop,khchine5/django-shop,katomaso/django-shop,airtonix/django-shop,jrutila/django-shop,nimbis/django-shop,jrief/django-shop,dwx9/test,atheiste/django-shop,ojii/django-shop,airtonix/django-shop,chriscauley/django-shop,creimers/django-shop,creimers/django-shop,rfleschenberg/django-shop,febsn/django-shop
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
import os
CLASSIFIERS = []
setup(
author="Christopher Glass",
author_email="[email protected]",
name='django-shop',
version='0.0.2',
description='An Advanced Django Shop',
long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(),
url='http://www.django-shop.org/',
license='BSD License',
platforms=['OS Independent'],
classifiers=CLASSIFIERS,
install_requires=[
'Django>=1.2',
'django-classy-tags>=0.3.3',
'django-polymorphic>=0.2',
'south>=0.7.2'
],
packages=find_packages(exclude=["example", "example.*"]),
zip_safe = False
)
|
from setuptools import setup, find_packages
import os
CLASSIFIERS = []
setup(
author="Christopher Glass",
author_email="[email protected]",
name='django-shop',
version='0.0.1',
description='An Advanced Django Shop',
long_description=open(os.path.join(os.path.dirname(__file__), 'README.rst')).read(),
url='http://www.django-shop.org/',
license='BSD License',
platforms=['OS Independent'],
classifiers=CLASSIFIERS,
install_requires=[
'Django>=1.2',
'django-classy-tags>=0.3.3',
'django-polymorphic>=0.2',
'south>=0.7.2'
],
packages=find_packages(exclude=["example", "example.*"]),
zip_safe = False
)
|
bsd-3-clause
|
Python
|
7dcbfe2db81cef4de082b2ee2f83b1bce823876d
|
increase version number
|
SergejPr/NooLite-F
|
setup.py
|
setup.py
|
from setuptools import setup
import io
with io.open('README.rst', encoding="utf-8") as readme_file:
long_description = readme_file.read()
setup(
name="NooLite_F",
packages=["NooLite_F"],
version="0.0.4",
license="MIT License",
description="Module to work with NooLite_F (MTRF-64-USB)",
long_description=long_description,
author="Sergey Prytkov",
author_email="[email protected]",
url="https://github.com/SergejPr/NooLite-F",
keywords="noolite noolite-f noolitef",
install_requires=["pyserial"],
platforms="any",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Home Automation",
"Topic :: System :: Hardware",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.6",
]
)
|
from setuptools import setup
import io
with io.open('README.rst', encoding="utf-8") as readme_file:
long_description = readme_file.read()
setup(
name="NooLite_F",
packages=["NooLite_F"],
version="0.0.3",
license="MIT License",
description="Module to work with NooLite_F (MTRF-64-USB)",
long_description=long_description,
author="Sergey Prytkov",
author_email="[email protected]",
url="https://github.com/SergejPr/NooLite-F",
keywords="noolite noolite-f noolitef",
install_requires=["pyserial"],
platforms="any",
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Home Automation",
"Topic :: System :: Hardware",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.6",
]
)
|
mit
|
Python
|
901a1e52db9bc960c307e1e6f3fd08f79a7a97bb
|
Upgrade discord.py and remove unused aiodns
|
FallenWarrior2k/cardinal.py,FallenWarrior2k/cardinal.py
|
setup.py
|
setup.py
|
import sys
from pathlib import Path
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class Tox(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
# import here, cause outside the eggs aren't loaded
import tox
errcode = tox.cmdline(self.test_args)
sys.exit(errcode)
# Check if Git is present before enabling setuptools_scm
version_kwargs = {}
git_root = Path(__file__).resolve().parent / '.git'
if git_root.exists():
version_kwargs.update({
'use_scm_version': True,
'setup_requires': ['setuptools_scm']
})
setup(
name='cardinal.py',
**version_kwargs,
description='A growing bot for managing a Discord server',
author='Simon Engmann',
author_email='[email protected]',
url='https://github.com/FallenWarrior2k/cardinal.py',
platforms='any',
packages=find_packages(where='src'),
package_dir={'': 'src'},
package_data={
'cardinal': ['db/migrations/*', 'db/migrations/**/*']
},
install_requires=[
'discord.py>=1.0',
'SQLAlchemy>=1.3',
'alembic'
],
tests_require=['tox'],
extras_require={
'tests': ['tox']
},
cmdclass={'test': Tox}
)
|
import sys
from pathlib import Path
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
class Tox(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
# import here, cause outside the eggs aren't loaded
import tox
errcode = tox.cmdline(self.test_args)
sys.exit(errcode)
# Check if Git is present before enabling setuptools_scm
version_kwargs = {}
git_root = Path(__file__).resolve().parent / '.git'
if git_root.exists():
version_kwargs.update({
'use_scm_version': True,
'setup_requires': ['setuptools_scm']
})
setup(
name='cardinal.py',
**version_kwargs,
description='A growing bot for managing a Discord server',
author='Simon Engmann',
author_email='[email protected]',
url='https://github.com/FallenWarrior2k/cardinal.py',
platforms='any',
packages=find_packages(where='src'),
package_dir={'': 'src'},
package_data={
'cardinal': ['db/migrations/*', 'db/migrations/**/*']
},
install_requires=[
'discord.py@git+https://github.com/Rapptz/discord.py@rewrite',
'aiodns',
'SQLAlchemy>=1.3',
'alembic'
],
tests_require=['tox'],
extras_require={
'tests': ['tox']
},
cmdclass={'test': Tox}
)
|
mit
|
Python
|
83f79ed05f2e53b6156c118ce8d9248c97b80aee
|
fix grammer error.
|
soasme/blackgate
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read()
requirements = [
'futures==3.0.5',
'requests==2.10.0',
'tornado==4.3',
]
test_requirements = [
# TODO: put package test requirements here
]
setup(
name='blackgate',
version='0.1.0',
license='MIT',
description="A set of utilities to build API gateway.",
long_description=readme + '\n\n' + history,
zip_safe=False,
include_package_data=True,
install_requires=requirements,
platforms='any',
author="Ju Lin",
author_email='[email protected]',
url='https://github.com/soasme/blackgate',
packages=find_packages(),
package_dir={'blackgate': 'blackgate'},
keywords='microservices, api, gateway, server, production,',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.7',
],
test_suite='tests',
tests_require=test_requirements
)
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read()
requirements = [
'futures==3.0.5',
'requests==2.10.0',
'tornado==4.3',
]
test_requirements = [
# TODO: put package test requirements here
]
setup(
name='blackgate',
version='0.1.0',
license='MIT',
description="A set of utility to build API gateway.",
long_description=readme + '\n\n' + history,
zip_safe=False,
include_package_data=True,
install_requires=requirements,
platforms='any',
author="Ju Lin",
author_email='[email protected]',
url='https://github.com/soasme/blackgate',
packages=find_packages(),
package_dir={'blackgate': 'blackgate'},
keywords='microservices, api, gateway, server, production,',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.7',
],
test_suite='tests',
tests_require=test_requirements
)
|
mit
|
Python
|
fb3983017da558018fd0de7ef10a4c0e98bbb0ec
|
Send the gecos input from USER through the sanitization as well
|
Heufneutje/txircd,ElementalAlchemist/txircd,DesertBus/txircd
|
txircd/modules/cmd_user.py
|
txircd/modules/cmd_user.py
|
from twisted.words.protocols import irc
from txircd.modbase import Command
import string
class UserCommand(Command):
def onUse(self, user, data):
if not user.username:
user.registered -= 1
user.setUsername(data["ident"])
user.setRealname(data["gecos"])
if user.registered == 0:
user.register()
def processParams(self, user, params):
if user.registered == 0:
user.sendMessage(irc.ERR_ALREADYREGISTRED, ":You may not reregister")
return {}
if params and len(params) < 4:
user.sendMessage(irc.ERR_NEEDMOREPARAMS, "USER", ":Not enough parameters")
return {}
ident = filter(lambda x: x in string.ascii_letters + string.digits + "-_", params[0][:12])
if not ident:
user.sendMessage(irc.ERR_NEEDMOREPARAMS, "USER", ":Your username is not valid")
return {}
return {
"user": user,
"ident": ident,
"gecos": params[3]
}
class Spawner(object):
def __init__(self, ircd):
self.ircd = ircd
def spawn(self):
return {
"commands": {
"USER": UserCommand()
}
}
|
from twisted.words.protocols import irc
from txircd.modbase import Command
import string
class UserCommand(Command):
def onUse(self, user, data):
if not user.username:
user.registered -= 1
user.setUsername(data["ident"])
user.realname = data["gecos"]
if user.registered == 0:
user.register()
def processParams(self, user, params):
if user.registered == 0:
user.sendMessage(irc.ERR_ALREADYREGISTRED, ":You may not reregister")
return {}
if params and len(params) < 4:
user.sendMessage(irc.ERR_NEEDMOREPARAMS, "USER", ":Not enough parameters")
return {}
ident = filter(lambda x: x in string.ascii_letters + string.digits + "-_", params[0][:12])
if not ident:
user.sendMessage(irc.ERR_NEEDMOREPARAMS, "USER", ":Your username is not valid")
return {}
return {
"user": user,
"ident": ident,
"gecos": params[3]
}
class Spawner(object):
def __init__(self, ircd):
self.ircd = ircd
def spawn(self):
return {
"commands": {
"USER": UserCommand()
}
}
|
bsd-3-clause
|
Python
|
a013af88adad469782d2f05a0b882c2f5500b6b8
|
Include README as long package description. Specified license.
|
TheLady/gallerize,TheLady/gallerize
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
from setuptools import setup
def read_readme():
with open('README.rst') as f:
return f.read()
setup(
name='gallerize',
version='0.3.1',
description='Create a static HTML/CSS image gallery from a bunch of images.',
long_description=read_readme(),
license='MIT',
author='Jochen Kupperschmidt',
author_email='[email protected]',
url='http://homework.nwsnet.de/releases/cc0e/#gallerize',
)
|
#!/usr/bin/env python
from setuptools import setup
setup(
name='gallerize',
version='0.3.1',
description='Create a static HTML/CSS image gallery from a bunch of images.',
author='Jochen Kupperschmidt',
author_email='[email protected]',
url='http://homework.nwsnet.de/releases/cc0e/#gallerize',
)
|
mit
|
Python
|
5a5f805e76098ca64187b475c5b4c47e4be5b6be
|
Remove double classifier in setup.py and add Python 2 and Python 3
|
MotherNatureNetwork/django-dynamic-forms,uhuramedia/django-dynamic-forms,wangjiaxi/django-dynamic-forms,wangjiaxi/django-dynamic-forms,uhuramedia/django-dynamic-forms,MotherNatureNetwork/django-dynamic-forms,MotherNatureNetwork/django-dynamic-forms,uhuramedia/django-dynamic-forms,wangjiaxi/django-dynamic-forms
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import os
import codecs
from setuptools import setup
def read(*parts):
filename = os.path.join(os.path.dirname(__file__), *parts)
with codecs.open(filename, encoding='utf-8') as fp:
return fp.read()
from dynamic_forms import get_version
setup(
name='django-dynamic-forms',
version=get_version(),
description='django-dynamic-forms is a reusable Django application to create and configure forms through the admin.',
long_description=read('README.rst'),
author='Markus Holtermann',
author_email='[email protected]',
url='http://github.com/Markush2010/django-dynamic-forms',
license='BSD',
packages=[
'dynamic_forms',
'dynamic_forms.migrations',
],
package_data = {
'dynamic_forms': [
'locale/*/LC_MESSAGES/*',
'templates/dynamic_forms/*',
]
},
install_requires=[
'Django>=1.4',
'django-appconf>=0.6',
'six',
],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Framework :: Django',
],
zip_safe=False
)
|
#!/usr/bin/env python
import os
import codecs
from setuptools import setup
def read(*parts):
filename = os.path.join(os.path.dirname(__file__), *parts)
with codecs.open(filename, encoding='utf-8') as fp:
return fp.read()
from dynamic_forms import get_version
setup(
name='django-dynamic-forms',
version=get_version(),
description='django-dynamic-forms is a reusable Django application to create and configure forms through the admin.',
long_description=read('README.rst'),
author='Markus Holtermann',
author_email='[email protected]',
url='http://github.com/Markush2010/django-dynamic-forms',
license='BSD',
packages=[
'dynamic_forms',
'dynamic_forms.migrations',
],
package_data = {
'dynamic_forms': [
'locale/*/LC_MESSAGES/*',
'templates/dynamic_forms/*',
]
},
install_requires=[
'Django>=1.4',
'django-appconf>=0.6',
'six',
],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Framework :: Django',
],
zip_safe=False
)
|
bsd-3-clause
|
Python
|
71acce577d1fc7d3366e1cc763433f18bbdfdc00
|
Upgrade status to Production/Stable and add specific python version to classifiers
|
gsakkis/valideer,podio/valideer
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="valideer",
version="0.4.1",
description="Lightweight data validation and adaptation library for Python",
long_description=open("README.rst").read(),
url="https://github.com/podio/valideer",
author="George Sakkis",
author_email="[email protected]",
packages=find_packages(),
install_requires=["decorator"],
test_suite="valideer.tests",
platforms=["any"],
keywords="validation adaptation typechecking jsonschema",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"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",
"License :: OSI Approved :: MIT License",
],
)
|
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(
name="valideer",
version="0.4.1",
description="Lightweight data validation and adaptation library for Python",
long_description=open("README.rst").read(),
url="https://github.com/podio/valideer",
author="George Sakkis",
author_email="[email protected]",
packages=find_packages(),
install_requires=["decorator"],
test_suite="valideer.tests",
platforms=["any"],
keywords="validation adaptation typechecking jsonschema",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 3",
"Topic :: Software Development :: Libraries :: Python Modules",
"License :: OSI Approved :: MIT License",
],
)
|
mit
|
Python
|
7768ace5c6dbe939086bd3beb5051a4d4417e3a4
|
Fix typo
|
dizballanze/jinja2-pluralize-filter
|
setup.py
|
setup.py
|
from distutils.core import setup
setup(
name='jinja2-pluralize-filter',
version='0.0.1',
author='Yuri Shikanov',
author_email='[email protected]',
packages=['pluralize'],
# scripts=[],
url='https://github.com/dizballanze/jinja2-pluralize-filter',
license='LICENSE',
description='Simple jinja2 filter to choose correct plural form for Russian language.',
long_description=open('README.rst').read(),
install_requires=[
"pytils == 0.2.3",
],
)
|
from distutils.core import setup
setup(
name='jinja2-pluralize-filter',
version='0.0.1',
author='Yuri Shikanov',
author_email='[email protected]',
packages=['pluralize'],
# scripts=[],
url='https://github.com/dizballanze/jinja2-pluralize-filter',
license='LICENSE',
description='Simple jinja2 filter to choose correct plural form for Russian language.',
long_description=open('README.rest').read(),
install_requires=[
"pytils == 0.2.3",
],
)
|
mit
|
Python
|
13aa2ad682565dc1959d1010fee477b5a1870715
|
Bump version to 0.3.0-pre2
|
mwilliamson/zuice
|
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='zuice',
version='0.3.0-pre2',
description='A dependency injection framework for Python',
long_description=read("README.rst"),
author='Michael Williamson',
author_email='[email protected]',
url='https://github.com/mwilliamson/zuice',
packages=['zuice'],
keywords="dependency injection di",
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Operating System :: OS Independent',
],
)
|
#!/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='zuice',
version='0.3.0-pre1',
description='A dependency injection framework for Python',
long_description=read("README.rst"),
author='Michael Williamson',
author_email='[email protected]',
url='https://github.com/mwilliamson/zuice',
packages=['zuice'],
keywords="dependency injection di",
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Operating System :: OS Independent',
],
)
|
bsd-2-clause
|
Python
|
ee1e6b92b6b853025eff314ed65a4f752177c4b6
|
fix setup.py
|
uralbash/sqlalchemy_mptt,ITCase/sqlalchemy_mptt,uralbash/sqlalchemy_mptt,ITCase/sqlalchemy_mptt
|
setup.py
|
setup.py
|
from sqlalchemy_mptt import __version__
from setuptools import setup
setup(
name='sqlalchemy_mptt',
version=__version__,
url='http://github.com/ITCase/sqlalchemy_mptt/',
author='Svintsov Dmitry',
author_email='[email protected]',
packages=['sqlalchemy_mptt', ],
include_package_data=True,
zip_safe=False,
test_suite="nose.collector",
license="MIT",
description='SQLAlchemy MPTT mixins (Nested Sets)',
package_data={
'': ['*.txt', '*.rst', '*.md'],
},
long_description="http://github.com/ITCase/sqlalchemy_mptt/",
install_requires=[
"sqlalchemy",
],
classifiers=[
'Development Status :: Production/Stable',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Natural Language :: English',
'Natural Language :: Russian',
'Operating System :: OS Independent',
'Programming Language :: Python',
"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",
"Framework :: Pyramid ",
"Framework :: Flask",
"Topic :: Internet",
"Topic :: Database",
'License :: OSI Approved :: MIT License',
],
)
|
from sqlalchemy_mptt import __version__
from setuptools import setup
setup(
name='sqlalchemy_mptt',
version=__version__,
url='http://github.com/ITCase/sqlalchemy_mptt/',
author='Svintsov Dmitry',
author_email='[email protected]',
packages=['sqlalchemy_mptt', ],
include_package_data=True,
zip_safe=False,
test_suite="nose.collector",
license="MIT",
description='SQLAlchemy MPTT mixins (Nested Sets)',
package_data={
'': ['*.txt', '*.rst', '*.md'],
},
long_description="http://github.com/ITCase/sqlalchemy_mptt/",
install_requires=[
"sqlalchemy",
],
classifiers=[
'Development Status :: Production',
'Environment :: Console',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Natural Language :: English',
'Natural Language :: Russian',
'Operating System :: OS Independent',
'Programming Language :: Python',
"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",
"Framework :: Pyramid ",
"Framework :: Flask",
"Topic :: Internet",
"Topic :: Database",
'License :: OSI Approved :: MIT License',
],
)
|
mit
|
Python
|
8835dffe1f33dbf772462e75b1074b2b9a7e7fd6
|
Fix attrs version for backward compatibility
|
ComerciaGP/addonpayments-Python-SDK
|
setup.py
|
setup.py
|
# -*- encoding: utf-8 -*-
import os
import re
import codecs
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
def get_version(package):
"""
Return package version as listed in `__version__` in `init.py`.
"""
init_py = codecs.open(os.path.abspath(os.path.join(package, '__init__.py')), encoding='utf-8').read()
return re.search("^__version__ = ['\"]([^'\"]+)['\"]", init_py, re.MULTILINE).group(1)
def get_author(package):
"""
Return package author as listed in `__author__` in `init.py`.
"""
init_py = codecs.open(os.path.abspath(os.path.join(package, '__init__.py')), encoding='utf-8').read()
return re.search("^__author__ = ['\"]([^'\"]+)['\"]", init_py, re.MULTILINE).group(1)
def get_email(package):
"""
Return package email as listed in `__email__` in `init.py`.
"""
init_py = codecs.open(os.path.abspath(os.path.join(package, '__init__.py')), encoding='utf-8').read()
return re.search("^__email__ = ['\"]([^'\"]+)['\"]", init_py, re.MULTILINE).group(1)
def get_long_description():
"""
return the long description from README.rst file
:return:
"""
return codecs.open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8').read()
setup(
name='addonpayments-sdk-python',
version=get_version('addonpayments'),
author=get_author('addonpayments'),
author_email=get_email('addonpayments'),
url='https://github.com/ComerciaGP/addonpayments-Python-SDK',
packages=find_packages(exclude=['tests*']),
license='BSD',
description='A SDK Addonpayments implemented with Python.',
long_description=get_long_description(),
install_requires=[
'six',
'python-decouple',
'attrs>=16.3.0,<17.3.0',
'xmltodict',
'requests',
'future',
],
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Operating System :: OS Independent',
'Topic :: Software Development'
],
include_package_data=True,
zip_safe=False,
)
|
# -*- encoding: utf-8 -*-
import os
import re
import codecs
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
def get_version(package):
"""
Return package version as listed in `__version__` in `init.py`.
"""
init_py = codecs.open(os.path.abspath(os.path.join(package, '__init__.py')), encoding='utf-8').read()
return re.search("^__version__ = ['\"]([^'\"]+)['\"]", init_py, re.MULTILINE).group(1)
def get_author(package):
"""
Return package author as listed in `__author__` in `init.py`.
"""
init_py = codecs.open(os.path.abspath(os.path.join(package, '__init__.py')), encoding='utf-8').read()
return re.search("^__author__ = ['\"]([^'\"]+)['\"]", init_py, re.MULTILINE).group(1)
def get_email(package):
"""
Return package email as listed in `__email__` in `init.py`.
"""
init_py = codecs.open(os.path.abspath(os.path.join(package, '__init__.py')), encoding='utf-8').read()
return re.search("^__email__ = ['\"]([^'\"]+)['\"]", init_py, re.MULTILINE).group(1)
def get_long_description():
"""
return the long description from README.rst file
:return:
"""
return codecs.open(os.path.join(os.path.dirname(__file__), 'README.rst'), encoding='utf-8').read()
setup(
name='addonpayments-sdk-python',
version=get_version('addonpayments'),
author=get_author('addonpayments'),
author_email=get_email('addonpayments'),
url='https://github.com/ComerciaGP/addonpayments-Python-SDK',
packages=find_packages(exclude=['tests*']),
license='BSD',
description='A SDK Addonpayments implemented with Python.',
long_description=get_long_description(),
install_requires=[
'six',
'python-decouple',
'attrs',
'xmltodict',
'requests',
'future',
],
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Operating System :: OS Independent',
'Topic :: Software Development'
],
include_package_data=True,
zip_safe=False,
)
|
mit
|
Python
|
9dae7ba658f028e1f4de3291c56fb7b81c0e07c6
|
Change version
|
keitaoouchi/seleniumwrapper
|
setup.py
|
setup.py
|
from setuptools import setup
from sys import version
if version < '2.6.0':
raise Exception("This module doesn't support any version less than 2.6")
import sys
sys.path.append("./test")
with open('README.rst', 'r') as f:
long_description = f.read()
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
"Programming Language :: Python",
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Libraries :: Python Modules'
]
setup(
author='Keita Oouchi',
author_email='[email protected]',
url = 'https://github.com/keitaoouchi/seleniumwrapper',
name = 'seleniumwrapper',
version = '0.3.0',
package_dir={"":"src"},
packages = ['seleniumwrapper'],
test_suite = "test_seleniumwrapper.suite",
license='BSD License',
classifiers=classifiers,
description = 'selenium webdriver wrapper to make manipulation easier.',
long_description=long_description,
)
|
from setuptools import setup
from sys import version
if version < '2.6.0':
raise Exception("This module doesn't support any version less than 2.6")
import sys
sys.path.append("./test")
with open('README.rst', 'r') as f:
long_description = f.read()
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
"Programming Language :: Python",
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Topic :: Software Development :: Libraries :: Python Modules'
]
setup(
author='Keita Oouchi',
author_email='[email protected]',
url = 'https://github.com/keitaoouchi/seleniumwrapper',
name = 'seleniumwrapper',
version = '0.2.4',
package_dir={"":"src"},
packages = ['seleniumwrapper'],
test_suite = "test_seleniumwrapper.suite",
license='BSD License',
classifiers=classifiers,
description = 'selenium webdriver wrapper to make manipulation easier.',
long_description=long_description,
)
|
bsd-3-clause
|
Python
|
f9172ef83dfc96a29480e306de2d1219dd020dd6
|
add numpy dependencies
|
menpo/landmarkerio-server,jabooth/landmarkerio-server,jabooth/landmarkerio-server,menpo/landmarkerio-server
|
setup.py
|
setup.py
|
from setuptools import setup
from os.path import join
setup(name='landmarkerio-server',
version='0.0.7',
description='Menpo-based server for www.landmarker.io',
author='James Booth',
author_email='[email protected]',
url='https://github.com/menpo/landmarkerio-server/',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
packages=['landmarkerio'],
install_requires=['menpo>=0.3.0',
'Flask>=0.10.1',
'Flask-RESTful>=0.2.11',
'CherryPy>=3.5.0',
'numpy>=1.8.1',
'pathlib>=1.0',
'joblib>=0.8.2'],
scripts=[join('landmarkerio', 'lmio'),
join('landmarkerio', 'lmioserve'),
join('landmarkerio', 'lmiocache')]
)
|
from setuptools import setup
from os.path import join
setup(name='landmarkerio-server',
version='0.0.7',
description='Menpo-based server for www.landmarker.io',
author='James Booth',
author_email='[email protected]',
url='https://github.com/menpo/landmarkerio-server/',
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
],
packages=['landmarkerio'],
install_requires=['menpo>=0.3.0',
'Flask>=0.10.1',
'Flask-RESTful>=0.2.11',
'CherryPy>=3.5.0',
'pathlib>=1.0',
'joblib>=0.8.2'],
scripts=[join('landmarkerio', 'lmio'),
join('landmarkerio', 'lmioserve'),
join('landmarkerio', 'lmiocache')]
)
|
bsd-3-clause
|
Python
|
48a0c13cf38fd50927dbb110f56954e2567859c6
|
Revert "different pippery"
|
shellphish/driller
|
setup.py
|
setup.py
|
from distutils.core import setup
import subprocess
TRACER_URL = 'git+ssh://[email protected]:/cgc/tracer.git#egg=tracer'
FUZZER_URL = 'git+ssh://[email protected]:/cgc/fuzzer.git#egg=fuzzer'
if subprocess.call(['pip', 'install', TRACER_URL]) != 0:
raise LibError("Unable to install tracer")
if subprocess.call(['pip', 'install', FUZZER_URL]) != 0:
raise LibError("Unable to install fuzzer")
setup(
name='driller',
version='1.0',
packages=['driller'],
data_files=[
('bin/driller', ('bin/driller/listen.py',),),
],
install_requires=[
'cle',
'angr',
'redis',
'celery',
'simuvex',
'archinfo',
'dpkt-fix',
'termcolor',
],
)
|
from distutils.core import setup
import subprocess
import pip
r = pip.req.RequirementSet(pip.locations.build_prefix, pip.locations.src_prefix, download_dir=None)
r.add_requirement(pip.req.InstallRequirement.from_line('git+ssh://[email protected]:/cgc/fuzzer.git#egg=fuzzer'))
r.add_requirement(pip.req.InstallRequirement.from_line('git+ssh://[email protected]:/cgc/tracer.git#egg=tracer'))
r.prepare_files(pip.index.PackageFinder([], None))
r.install([], [])
setup(
name='driller',
version='1.0',
packages=['driller'],
data_files=[
('bin/driller', ('bin/driller/listen.py',),),
],
install_requires=[
'cle',
'angr',
'redis',
'celery',
'simuvex',
'archinfo',
'dpkt-fix',
'termcolor',
],
)
|
bsd-2-clause
|
Python
|
f6ab67e9d1d4974e16392cfadf811e0f2504287f
|
change version to 1.0
|
CartoDB/carto-python,CartoDB/cartodb-python
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
from setuptools import setup
with open('requirements.txt') as f:
required = f.read().splitlines()
with open('test_requirements.txt') as f:
test_required = f.read().splitlines()
setup(name="carto",
author="Daniel Carrión",
author_email="[email protected]",
description="SDK around CARTO's APIs",
version="1.0",
url="https://github.com/CartoDB/carto-python",
install_requires=required,
packages=["carto"])
|
# -*- coding: utf-8 -*-
from setuptools import setup
with open('requirements.txt') as f:
required = f.read().splitlines()
with open('test_requirements.txt') as f:
test_required = f.read().splitlines()
setup(name="carto",
author="Daniel Carrión",
author_email="[email protected]",
description="SDK around CARTO's APIs",
version="1.0.0",
url="https://github.com/CartoDB/carto-python",
install_requires=required,
packages=["carto"])
|
bsd-3-clause
|
Python
|
5c802412e04f4548c81761000501d194a7c951c2
|
bump version
|
benwbooth/quick-clojure
|
setup.py
|
setup.py
|
'''
quick
-------------------
Run clojure scripts and lein commands quickly using a persistent nREPL session.
Links
`````
* `development version <https://github.com/benwbooth/quick-clojure>`_
'''
import os
from setuptools import setup, find_packages
setup(name="quick-clojure",
version='0.8',
packages=find_packages(),
# metadata for upload to PyPI
author="Ben Booth",
author_email="[email protected]",
description="Run clojure scripts and lein commands quickly using a persistent nREPL session.",
long_description=__doc__,
test_suite='test',
license="EPL v1.0",
keywords="clojure repl nrepl leiningen lein",
url="https://github.com/benwbooth/quick-clojure",
zip_safe=True,
platforms='any',
classifiers=['Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Interpreters',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities'],
scripts=['quick','quick-exec','quick-exec-p'],
install_requires=['nrepl-python-client','future'])
|
'''
quick
-------------------
Run clojure scripts and lein commands quickly using a persistent nREPL session.
Links
`````
* `development version <https://github.com/benwbooth/quick-clojure>`_
'''
import os
from setuptools import setup, find_packages
setup(name="quick-clojure",
version='0.7',
packages=find_packages(),
# metadata for upload to PyPI
author="Ben Booth",
author_email="[email protected]",
description="Run clojure scripts and lein commands quickly using a persistent nREPL session.",
long_description=__doc__,
test_suite='test',
license="EPL v1.0",
keywords="clojure repl nrepl leiningen lein",
url="https://github.com/benwbooth/quick-clojure",
zip_safe=True,
platforms='any',
classifiers=['Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Interpreters',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Utilities'],
scripts=['quick','quick-exec','quick-exec-p'],
install_requires=['nrepl-python-client','future'])
|
epl-1.0
|
Python
|
f2196d29208c4f3df0905227025eb36d5ea60ce6
|
Bump version to 2015.12.29
|
bbayles/vod_metadata
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
import sys
long_description = (
"This project contains a library and tools for manipulating and "
"generating metadata files that conform to the CableLabs VOD Metada 1.1 "
"specification"
)
# Install requires configparser for Python 2.x
if sys.version_info[0] < 3:
install_requires = ['configparser']
tests_require = ['mock']
else:
install_requires = []
tests_require = []
setup(
name='vod_metadata',
version='2015.12.29',
license='MIT',
url='https://github.com/bbayles/vod_metadata',
description='CableLabs VOD Metadata 1.1 library and tools',
long_description="Library and tools for CableLabs VOD Metadata 1.1",
author='Bo Bayles',
author_email='[email protected]',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Telecommunications Industry',
'Topic :: Utilities',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
keywords='cablelabs vod metadata',
packages=find_packages(exclude=[]),
test_suite='tests',
install_requires=install_requires,
tests_require=tests_require,
package_data={'vod_metadata': ["*.ini", "*.mp4", "*.pth", "*.xml"]},
)
|
from setuptools import setup, find_packages
import sys
long_description = (
"This project contains a library and tools for manipulating and "
"generating metadata files that conform to the CableLabs VOD Metada 1.1 "
"specification"
)
# Install requires configparser for Python 2.x
if sys.version_info[0] < 3:
install_requires = ['configparser']
tests_require = ['mock']
else:
install_requires = []
tests_require = []
setup(
name='vod_metadata',
version='2015.3.16',
license='MIT',
url='https://github.com/bbayles/vod_metadata',
description='CableLabs VOD Metadata 1.1 library and tools',
long_description="Library and tools for CableLabs VOD Metadata 1.1",
author='Bo Bayles',
author_email='[email protected]',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Telecommunications Industry',
'Topic :: Utilities',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
keywords='cablelabs vod metadata',
packages=find_packages(exclude=[]),
test_suite='tests',
install_requires=install_requires,
tests_require=tests_require,
package_data={'vod_metadata': ["*.ini", "*.mp4", "*.pth", "*.xml"]},
)
|
mit
|
Python
|
f46b364d78ece19752535ec3882158901fe78649
|
prepare next release
|
genouest/biomaj,horkko/biomaj-postgres,horkko/biomaj,markiskander/biomaj,markiskander/biomaj,horkko/biomaj,genouest/biomaj,horkko/biomaj-postgres
|
setup.py
|
setup.py
|
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
config = {
'description': 'BioMAJ',
'author': 'Olivier Sallou',
'url': 'http://biomaj.genouest.org',
'download_url': 'http://biomaj.genouest.org',
'author_email': '[email protected]',
'version': '3.0.7',
'classifiers': [
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
# Indicate who your project is intended for
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Bio-Informatics',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4'
],
'install_requires': ['nose',
'pymongo',
'pycurl',
'ldap3',
'mock',
'py-bcrypt',
'mock',
'drmaa',
'future',
'elasticsearch'],
'packages': find_packages(),
'include_package_data': True,
'scripts': ['bin/biomaj-cli.py'],
'name': 'biomaj'
}
setup(**config)
|
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup
config = {
'description': 'BioMAJ',
'author': 'Olivier Sallou',
'url': 'http://biomaj.genouest.org',
'download_url': 'http://biomaj.genouest.org',
'author_email': '[email protected]',
'version': '3.0.6',
'classifiers': [
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Natural Language :: English',
'Operating System :: POSIX :: Linux',
# Indicate who your project is intended for
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Bio-Informatics',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4'
],
'install_requires': ['nose',
'pymongo',
'pycurl',
'ldap3',
'mock',
'py-bcrypt',
'mock',
'drmaa',
'future',
'elasticsearch'],
'packages': find_packages(),
'include_package_data': True,
'scripts': ['bin/biomaj-cli.py'],
'name': 'biomaj'
}
setup(**config)
|
agpl-3.0
|
Python
|
b417db7cf6f06c74436733590ef15b27f912ed33
|
Add entry point to setup script
|
Commonists/Grokapi
|
setup.py
|
setup.py
|
#!/usr/bin/python
# -*- coding: latin-1 -*-
"""Setup script."""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
try:
import grokapi
version = grokapi.__version__
except ImportError:
version = 'Undefined'
with open('requirements.txt') as requirements_file:
requirements = list(requirements_file.readlines())
entry_points = {
'console_scripts': [
'grokapi = grokapi.cli:main',
]
}
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities'
]
packages = ['grokapi']
setup(
name='MediaCollectionDB',
version=version,
author='Commonists',
author_email='[email protected]',
url='http://github.com/Commonists/Grokapi',
description='A thin client to query Wikimedia traffic statistics from stats.grok.se',
long_description=open('README.md').read(),
license='MIT',
packages=packages,
entry_points=entry_points,
install_requires=requirements,
classifiers=classifiers
)
|
#!/usr/bin/python
# -*- coding: latin-1 -*-
"""Setup script."""
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
try:
import grokapi
version = grokapi.__version__
except ImportError:
version = 'Undefined'
with open('requirements.txt') as requirements_file:
requirements = list(requirements_file.readlines())
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities'
]
packages = ['grokapi']
setup(
name='MediaCollectionDB',
version=version,
author='Commonists',
author_email='[email protected]',
url='http://github.com/Commonists/Grokapi',
description='A thin client to query Wikimedia traffic statistics from stats.grok.se',
long_description=open('README.md').read(),
license='MIT',
packages=packages,
install_requires=requirements,
classifiers=classifiers
)
|
mit
|
Python
|
f9947459c6c7330f02dd1f6c0fb59800289beca6
|
use a pep 440 compatible version number
|
anfema/cleanerversion,anfema/cleanerversion,anfema/cleanerversion
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup, find_packages
"""
Documentation can be found at https://docs.python.org/2/distutils/index.html, but usually you only need to do the
following steps to publish a new package version to PyPI::
# Update the version tag in this file (setup.py)
python setup.py register
python setup.py sdist --formats=gztar,zip upload
That's already it. You should get the following output written to your command line::
Server response (200): OK
If you get errors, check the following things:
- Are you behind a proxy? --> Try not to be behind a proxy (I don't actually know how to configure setup.py to be proxy-aware)
- Is your command correct? --> Double-check using the reference documentation
- Do you have all the necessary libraries to generate the wanted formats? --> Reduce the set of formats or install libs
"""
setup(name='CleanerVersion-anfema',
version='1.5.3.post1',
description='A versioning solution for relational data models using the Django ORM. Please use swisscom/cleanerversion, this is just a temporary release with an additional bugfix.',
long_description='CleanerVersion is a solution that allows you to read and write multiple versions of an entry '
'to and from your relational database. It allows to keep track of modifications on an object '
'over time, as described by the theory of **Slowly Changing Dimensions** (SCD) **- Type 2**. '
''
'CleanerVersion therefore enables a Django-based Datawarehouse, which was the initial idea of '
'this package.'
'Please use swisscom/cleanerversion, this is just a temporary release with an additional bugfix.',
author='Manuel Jeckelmann, Jean-Christophe Zulian, Brian King, Andrea Marcacci',
author_email='[email protected]',
license='Apache License 2.0',
packages=find_packages(exclude=['cleanerversion', 'cleanerversion.*']),
url='https://github.com/anfema/cleanerversion',
install_requires=['django'],
package_data={'versions': ['static/js/*.js','templates/versions/*.html']},
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: Django',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Topic :: Database',
'Topic :: System :: Archiving',
])
|
#!/usr/bin/env python
from setuptools import setup, find_packages
"""
Documentation can be found at https://docs.python.org/2/distutils/index.html, but usually you only need to do the
following steps to publish a new package version to PyPI::
# Update the version tag in this file (setup.py)
python setup.py register
python setup.py sdist --formats=gztar,zip upload
That's already it. You should get the following output written to your command line::
Server response (200): OK
If you get errors, check the following things:
- Are you behind a proxy? --> Try not to be behind a proxy (I don't actually know how to configure setup.py to be proxy-aware)
- Is your command correct? --> Double-check using the reference documentation
- Do you have all the necessary libraries to generate the wanted formats? --> Reduce the set of formats or install libs
"""
setup(name='CleanerVersion-anfema',
version='1.5.3-anfema',
description='A versioning solution for relational data models using the Django ORM. Please use swisscom/cleanerversion, this is just a temporary release with an additional bugfix.',
long_description='CleanerVersion is a solution that allows you to read and write multiple versions of an entry '
'to and from your relational database. It allows to keep track of modifications on an object '
'over time, as described by the theory of **Slowly Changing Dimensions** (SCD) **- Type 2**. '
''
'CleanerVersion therefore enables a Django-based Datawarehouse, which was the initial idea of '
'this package.'
'Please use swisscom/cleanerversion, this is just a temporary release with an additional bugfix.',
author='Manuel Jeckelmann, Jean-Christophe Zulian, Brian King, Andrea Marcacci',
author_email='[email protected]',
license='Apache License 2.0',
packages=find_packages(exclude=['cleanerversion', 'cleanerversion.*']),
url='https://github.com/anfema/cleanerversion',
install_requires=['django'],
package_data={'versions': ['static/js/*.js','templates/versions/*.html']},
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: Django',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.4',
'Topic :: Database',
'Topic :: System :: Archiving',
])
|
apache-2.0
|
Python
|
65ba164f7b2cf3256177dbf5a8e2b3f8796d4920
|
Use the correct name in setup.py
|
thecut/thecut-authorship
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
from version import get_git_version
setup(name='thecut-authorship',
author='The Cut', author_email='[email protected]',
url='http://projects.thecut.net.au/projects/thecut-authorship',
namespace_packages=['thecut'],
version=get_git_version(),
packages=find_packages(),
include_package_data=True,
install_requires=['distribute'],
)
|
from setuptools import setup, find_packages
from version import get_git_version
setup(name='core',
author='The Cut', author_email='[email protected]',
url='http://projects.thecut.net.au/projects/thecut-authorship',
namespace_packages=['thecut'],
version=get_git_version(),
packages=find_packages(),
include_package_data=True,
install_requires=['distribute'],
)
|
apache-2.0
|
Python
|
83a5bf4152da781da2e86b1bc5bda72aeb87bc6d
|
Update list trove classifiers
|
jaap3/django-richtextfield,jaap3/django-richtextfield
|
setup.py
|
setup.py
|
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
version = '1.4.1.dev0'
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist bdist_wheel upload')
print("You probably want to also tag the version now:")
print(" git tag -a %s -m 'version %s'" % (version, version))
print(" git push --tags")
sys.exit()
readme = open('README.rst').read()
history = open('HISTORY.rst').read()
setup(
name='django-richtextfield',
version=version,
description='A Django model field and widget that renders a'
' customizable WYSIWYG/rich text editor',
long_description=readme + '\n\n' + history,
author='Jaap Roes',
author_email='[email protected]',
url='https://github.com/jaap3/django-richtextfield',
packages=[
'djrichtextfield',
],
include_package_data=True,
install_requires=[],
license="MIT",
zip_safe=False,
keywords='django-richtextfield, djrichtextfield django wywiwyg field',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
)
|
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
version = '1.4.1.dev0'
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist bdist_wheel upload')
print("You probably want to also tag the version now:")
print(" git tag -a %s -m 'version %s'" % (version, version))
print(" git push --tags")
sys.exit()
readme = open('README.rst').read()
history = open('HISTORY.rst').read()
setup(
name='django-richtextfield',
version=version,
description='A Django model field and widget that renders a'
' customizable WYSIWYG/rich text editor',
long_description=readme + '\n\n' + history,
author='Jaap Roes',
author_email='[email protected]',
url='https://github.com/jaap3/django-richtextfield',
packages=[
'djrichtextfield',
],
include_package_data=True,
install_requires=[],
license="MIT",
zip_safe=False,
keywords='django-richtextfield, djrichtextfield django wywiwyg field',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
],
)
|
mit
|
Python
|
59c665f27ccbb8fc07d3a2a23b161be5c732562f
|
bump version
|
BrianGallew/bacula_configuration
|
setup.py
|
setup.py
|
#! /usr/bin/env python
import ez_setup
ez_setup.use_setuptools()
import os
import glob
from setuptools import setup, find_packages
NAME = 'bacula_configuration'
VERSION = '0.92'
WEBSITE = 'http://gallew.org/bacula_configuration'
LICENSE = 'GPLv3 or later'
DESCRIPTION = 'Bacula configuration management tool'
AUTHOR = 'Brian Gallew'
EMAIL = '[email protected]'
setup(name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=open('README.md').read(),
author=AUTHOR,
author_email=EMAIL,
url=WEBSITE,
install_requires=['mysql-python'],
extras_require={'parsing': ['pyparsing']},
scripts=glob.glob('bin/*'),
include_package_data=True,
zip_safe=False,
package_data={
'bacula_tools': ['data/*'],
},
packages=['bacula_tools', ],
classifiers=['Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Programming Language :: Python',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Topic :: Utilities'],
entry_points={
'console_scripts': [
'manage_clients = bacula_tools.client:main',
'manage_catalogs = bacula_tools.catalog:main',
'manage_devices = bacula_tools.device:main',
'manage_filesets = bacula_tools.fileset:main',
'manage_pools = bacula_tools.pool:main',
'manage_storage = bacula_tools.storage:main',
'manage_messages = bacula_tools.messages:main',
'manage_schedules = bacula_tools.schedule:main',
'manage_jobs = bacula_tools.job:main',
'manage_directors = bacula_tools.director:main',
'manage_scripts = bacula_tools.scripts:main',
]
},
)
|
#! /usr/bin/env python
import ez_setup
ez_setup.use_setuptools()
import os
import glob
from setuptools import setup, find_packages
NAME = 'bacula_configuration'
VERSION = '0.91'
WEBSITE = 'http://gallew.org/bacula_configuration'
LICENSE = 'GPLv3 or later'
DESCRIPTION = 'Bacula configuration management tool'
AUTHOR = 'Brian Gallew'
EMAIL = '[email protected]'
setup(name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=open('README.md').read(),
author=AUTHOR,
author_email=EMAIL,
url=WEBSITE,
install_requires=['mysql-python'],
extras_require={'parsing': ['pyparsing']},
scripts=glob.glob('bin/*'),
include_package_data=True,
zip_safe=False,
package_data={
'bacula_tools': ['data/*'],
},
packages=['bacula_tools', ],
classifiers=['Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Programming Language :: Python',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Topic :: Utilities'],
entry_points={
'console_scripts': [
'manage_clients = bacula_tools.client:main',
'manage_catalogs = bacula_tools.catalog:main',
'manage_devices = bacula_tools.device:main',
'manage_filesets = bacula_tools.fileset:main',
'manage_pools = bacula_tools.pool:main',
'manage_storage = bacula_tools.storage:main',
'manage_messages = bacula_tools.messages:main',
'manage_schedules = bacula_tools.schedule:main',
'manage_jobs = bacula_tools.job:main',
'manage_directors = bacula_tools.director:main',
'manage_scripts = bacula_tools.scripts:main',
]
},
)
|
bsd-3-clause
|
Python
|
d286ce93d0394e3bd626aa12c4016527c4306a45
|
swap out .rst readme for .md one.
|
gdawg/papaltv
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
import subprocess
with open('README.md') as file:
long_description = file.read()
setup(name='papaltv',
version='0.2.3',
description='Interactive shell Apple Tv controller',
long_description=long_description,
author='Andrew Griffiths',
author_email='[email protected]',
url='http://github.com/gdawg/papaltv',
packages = ['papaltv'],
scripts = ['bin/papaltv'],
install_requires = ['beautifulsoup4']
)
|
from setuptools import setup, find_packages
import subprocess
try:
subprocess.check_call('pandoc --from=markdown README.md --to=rst --output=README.rst',shell=True)
except Exception, e:
print '*** NOTE: this package uses pandoc to generate rst documentation '
print 'from the original markdown and this step just failed! you need pandoc'
print 'installed and in your path locally for this to work.'
print ''
print 'the error returned was',e
print ''
print 'continuing anyway...'
with open('README.rst') as file:
long_description = file.read()
setup(name='papaltv',
version='0.2.2',
description='Interactive shell Apple Tv controller',
long_description=long_description,
author='Andrew Griffiths',
author_email='[email protected]',
url='http://github.com/gdawg/papaltv',
packages = ['papaltv'],
scripts = ['bin/papaltv'],
install_requires = ['beautifulsoup4']
)
|
mit
|
Python
|
93794e7596a11c3e82ae89cf7ae8699bf456495e
|
Fix setup.py packaging
|
alerta/python-alerta-client,alerta/python-alerta-client,alerta/python-alerta
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import setuptools
with open('VERSION') as f:
version = f.read().strip()
with open('README.md') as f:
readme = f.read()
setuptools.setup(
name="alerta",
version=version,
description="Alerta unified command-line tool and SDK",
long_description=readme,
url="http://github.com/alerta/python-alerta",
license="MIT",
author="Nick Satterly",
author_email="[email protected]",
packages=setuptools.find_packages(exclude=['tests']),
install_requires=[
'Click',
'requests',
'tabulate',
'pytz',
'six'
],
include_package_data=True,
zip_safe=False,
entry_points={
'console_scripts': [
'alerta = alertaclient.cli:cli'
]
},
keywords="alerta client unified command line tool sdk",
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Information Technology',
'Intended Audience :: System Administrators',
'Intended Audience :: Telecommunications Industry',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 2.7',
'Topic :: System :: Monitoring',
]
)
|
#!/usr/bin/env python
import setuptools
with open('VERSION') as f:
version = f.read().strip()
with open('README.md') as f:
readme = f.read()
setuptools.setup(
name="alerta",
version=version,
description="Alerta unified command-line tool and SDK",
long_description=readme,
license="MIT",
author="Nick Satterly",
author_email="[email protected]",
url="http://github.com/alerta/python-alerta",
packages=['alertaclient'],
install_requires=[
'Click',
'requests',
'tabulate',
'pytz',
'six'
],
entry_points={
'console_scripts': [
'alerta = alertaclient.cli:cli'
]
},
keywords="alerta client unified command line tool sdk",
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Intended Audience :: System Administrators',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 2.7',
'Topic :: System :: Monitoring',
]
)
|
apache-2.0
|
Python
|
b52ec0805cff336f3c2e132766bf3b54b4ac2471
|
Update setup.py
|
dyer234/pywinsparkle,dyer234/pywinsparkle
|
setup.py
|
setup.py
|
from setuptools import setup, Distribution
from pypandoc import convert_file
class BinaryDistribution(Distribution):
def has_ext_modules(foo):
return True
#: Converts the Markdown README in the RST format that PyPi expects.
long_description = convert_file('README.md', 'rst')
setup(name='pywinsparkle',
description='A python wrapper for the winsparkle project',
long_description=long_description,
version='1.5.0',
url='https://github.com/dyer234/pywinsparkle',
author='Daniel Dyer',
author_email='[email protected]',
license='MIT',
keywords="sparkle winsparkle windows update",
test_suite='nose.collector',
tests_require=['nose'],
packages=["pywinsparkle"],
package_data= { "pywinsparkle" : ["libs/x64/WinSparkle.dll", "libs/x86/WinSparkle.dll"] },
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 5 - Production/Stable',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
include_package_data=True,
distclass=BinaryDistribution,
)
|
from setuptools import setup, Distribution
#from pypandoc import convert_file
class BinaryDistribution(Distribution):
def has_ext_modules(foo):
return True
#: Converts the Markdown README in the RST format that PyPi expects.
#long_description = convert_file('README.md', 'rst')
setup(name='pywinsparkle',
description='A python wrapper for the winsparkle project',
long_description='A python wrapper for the winsparkle project',
version='1.5.0',
url='https://github.com/dyer234/pywinsparkle',
author='Daniel Dyer',
author_email='[email protected]',
license='MIT',
keywords="sparkle winsparkle windows update",
test_suite='nose.collector',
tests_require=['nose'],
packages=["pywinsparkle"],
package_data= { "pywinsparkle" : ["libs/x64/WinSparkle.dll", "libs/x86/WinSparkle.dll"] },
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 5 - Production/Stable',
# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Software Development',
# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
],
include_package_data=True,
distclass=BinaryDistribution,
)
|
mit
|
Python
|
4106a8ae6d9779ae84ec4036cced05ca0f510ace
|
fix setup.py
|
wecatch/app-turbo
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
import sys
import os
version = __import__('turbo').version
install_requires = [
]
for k in ['pymongo', 'requests', 'redis', 'docopt', 'jinja2']:
try:
_m = __import__(k)
except ImportError:
if k == 'pymongo':
k = 'pymongo>=3.2'
install_requires.append(k)
kwargs = {}
readme_path = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(readme_path, 'README.rst')) as f:
kwargs['long_description'] = f.read()
if sys.version_info < (2, 7):
install_requires.append('unittest2')
install_requires.append('tornado<=4.3.0')
install_requires.append('futures')
elif sys.version_info > (2, 7) and sys.version_info < (2, 7, 9):
install_requires.append('tornado<5.0.0')
else:
install_requires.append('tornado')
setup(
name="turbo",
version=version,
author="Wecatch.me",
author_email="[email protected]",
url="http://github.com/wecatch/app-turbo",
license="http://www.apache.org/licenses/LICENSE-2.0",
description="turbo is a web framework for fast web development based in tornado, mongodb, redis",
keywords='web framework tornado mongodb',
packages=find_packages(),
install_requires=install_requires,
scripts=['turbo/bin/turbo-admin'],
classifiers=[
'License :: OSI Approved :: Apache Software License',
'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',
'Programming Language :: Python :: 3.6',
],
**kwargs
)
|
from setuptools import setup, find_packages
import sys
import os
version = __import__('turbo').version
install_requires = [
]
for k in ['pymongo', 'requests', 'redis', 'docopt', 'jinja2']:
try:
_m = __import__(k)
except ImportError:
if k == 'pymongo':
k = 'pymongo>=3.2'
install_requires.append(k)
kwargs = {}
readme_path = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(readme_path, 'README.rst')) as f:
kwargs['long_description'] = f.read()
if sys.version_info < (2, 7):
install_requires.append('unittest2')
install_requires.append('tornado<=4.3.0')
install_requires.append('futures')
elif sys.version_info > (2, 7) and sys.version_info < (2, 7, 9):
install_requires.append('tornado<5.0.0')
else:
install_requires.append('tornado')
setup(
name="turbo",
version=version,
author="Wecatch.me",
author_email="[email protected]",
url="http://github.com/wecatch/app-turbo",
license="http://www.apache.org/licenses/LICENSE-2.0",
description="turbo is a web framework for fast web development based in tornado, mongodb, redis",
keywords='web framework tornado mongodb',
packages=find_packages(),
install_requires=install_requires,
scripts=['turbo/bin/turbo-admin'],
**kwargs
)
|
apache-2.0
|
Python
|
c26019ee038ee90c7cd39e3d19790ecb3fca75a3
|
fix __version__ in setup.py
|
cgarciae/tfinterface,cgarciae/tfinterface
|
setup.py
|
setup.py
|
import os
from setuptools import setup
from pip.req import parse_requirements
from tfinterface import __version__
# parse requirements
reqs = [str(r.req) for r in parse_requirements("requirements.txt", session=False)]
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "tfinterface",
version = __version__,
author = "Cristian Garcia",
author_email = "[email protected]",
description = ("A light wrapper over TensorFlow that enables you to easily create complex deep neural networks using the Builder Pattern through a functional fluent immutable API"),
license = "MIT",
keywords = ["tensorflow", "deep learning", "neural networks"],
url = "https://github.com/cgarciae/tfinterface",
packages = [
'tfinterface',
'tfinterface.supervised',
'tfinterface.tests'
],
package_data={
'': ['LICENCE', 'requirements.txt', 'README.md', 'CHANGELOG.md'],
'tfinterface': ['version.txt', 'README-template.md']
},
download_url = 'https://github.com/cgarciae/tfinterface/tarball/{0}'.format(__version__),
include_package_data = True,
long_description = read('README.md'),
install_requires = reqs
)
|
import os
from setuptools import setup
from pip.req import parse_requirements
from tfinterface import __version__
# parse requirements
reqs = [str(r.req) for r in parse_requirements("requirements.txt", session=False)]
# Utility function to read the README file.
# Used for the long_description. It's nice, because now 1) we have a top level
# README file and 2) it's easier to type in the README file than to put a raw
# string in below ...
def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
name = "tfinterface",
version = __version__,
author = "Cristian Garcia",
author_email = "[email protected]",
description = ("A light wrapper over TensorFlow that enables you to easily create complex deep neural networks using the Builder Pattern through a functional fluent immutable API"),
license = "MIT",
keywords = ["tensorflow", "deep learning", "neural networks"],
url = "https://github.com/cgarciae/tfinterface",
packages = [
'tfinterface',
'tfinterface.supervised',
'tfinterface.tests'
],
package_data={
'': ['LICENCE', 'requirements.txt', 'README.md', 'CHANGELOG.md'],
'tfinterface': ['version.txt', 'README-template.md']
},
download_url = 'https://github.com/cgarciae/tfinterface/tarball/{0}'.format(version),
include_package_data = True,
long_description = read('README.md'),
install_requires = reqs
)
|
mit
|
Python
|
852ea076e7fc04446aa58650b293a48d2a4089ba
|
Bump version to 0.2.0
|
celeryclub/bustime
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name = 'bustime',
version = '0.2.0',
packages = find_packages(),
description = 'SDK for the MTA Bus Time API',
install_requires = ['requests>=2.0'],
author = 'Steve Davis',
author_email = '[email protected]',
url = 'https://github.com/celeryclub/bustime',
download_url = 'https://github.com/celeryclub/bustime/tarball/0.2.0',
keywords = 'mta bustime',
)
|
from setuptools import setup, find_packages
setup(
name = 'bustime',
version = '0.1',
packages = find_packages(),
description = 'SDK for the MTA Bus Time API',
install_requires = ['requests>=2.0'],
author = 'Steve Davis',
author_email = '[email protected]',
url = 'https://github.com/celeryclub/bustime',
download_url = 'https://github.com/celeryclub/bustime/tarball/0.1',
keywords = 'mta bustime',
)
|
bsd-2-clause
|
Python
|
cc860538eef75b527a209cfc85e24754c7468f5d
|
Add setuptools-git for setup.
|
ployground/ploy_ezjail
|
setup.py
|
setup.py
|
from setuptools import setup
version = "0.1"
setup(
version=version,
description="A plugin for mr.awsome providing support for FreeBSD jails using ezjail.",
name="mr.awsome.ezjail",
author='Florian Schulze',
author_email='[email protected]',
url='http://github.com/fschulze/mr.awsome.ezjail',
include_package_data=True,
zip_safe=False,
packages=['mr'],
namespace_packages=['mr'],
install_requires=[
'setuptools',
'mr.awsome',
'lazy'
],
setup_requires=[
'setuptools-git'],
entry_points="""
[mr.awsome.plugins]
ezjail = mr.awsome.ezjail:plugin
""")
|
from setuptools import setup
version = "0.1"
setup(
version=version,
description="A plugin for mr.awsome providing support for FreeBSD jails using ezjail.",
name="mr.awsome.ezjail",
author='Florian Schulze',
author_email='[email protected]',
url='http://github.com/fschulze/mr.awsome.ezjail',
include_package_data=True,
zip_safe=False,
packages=['mr'],
namespace_packages=['mr'],
install_requires=[
'setuptools',
'mr.awsome',
'lazy'
],
entry_points="""
[mr.awsome.plugins]
ezjail = mr.awsome.ezjail:plugin
""")
|
bsd-3-clause
|
Python
|
e588d98f451c3cbfbdd3954b5784e8d8f15a1b9d
|
remove dev in setup.py
|
wakita181009/slack-api-utils
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
"""
A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# To use a consistent encoding
from os import path
from codecs import open
# Always prefer setuptools over distutils
from setuptools import setup
from slack_api_utils import __version__, __license__, __author__, __author_email__
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="slack-api-utils",
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version=__version__,
description="slack api utils for Python",
long_description=long_description,
# The project's main homepage.
url="https://github.com/wakita181009/slack-api-utils",
# Author details
author=__author__,
author_email=__author_email__,
# Choose your license
license=__license__,
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 3 - Alpha",
# Indicate who your project is intended for
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
# Pick your license as you wish (should match "license" above)
"License :: OSI Approved :: MIT License",
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
"Programming Language :: Python :: 2.7",
],
# What does your project relate to?
keywords="slack api",
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=["slacker"],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
"test": ["coverage"],
},
)
|
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
"""
A setuptools based setup module.
See:
https://packaging.python.org/en/latest/distributing.html
https://github.com/pypa/sampleproject
"""
# To use a consistent encoding
from os import path
from codecs import open
# Always prefer setuptools over distutils
from setuptools import setup
from slack_api_utils import __version__, __license__, __author__, __author_email__
here = path.abspath(path.dirname(__file__))
# Get the long description from the README file
with open(path.join(here, "README.md"), encoding="utf-8") as f:
long_description = f.read()
setup(
name="slack-api-utils",
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version=__version__,
description="slack api utils for Python",
long_description=long_description,
# The project's main homepage.
url="https://github.com/wakita181009/slack-api-utils",
# Author details
author=__author__,
author_email=__author_email__,
# Choose your license
license=__license__,
# See https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
# How mature is this project? Common values are
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
"Development Status :: 3 - Alpha",
# Indicate who your project is intended for
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
# Pick your license as you wish (should match "license" above)
"License :: OSI Approved :: MIT License",
# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
"Programming Language :: Python :: 2.7",
],
# What does your project relate to?
keywords="slack api",
# List run-time dependencies here. These will be installed by pip when
# your project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=["slacker"],
# List additional groups of dependencies here (e.g. development
# dependencies). You can install these using the following syntax,
# for example:
# $ pip install -e .[dev,test]
extras_require={
"dev": [],
"test": ["coverage"],
},
)
|
mit
|
Python
|
4f6d177bac356062901d2c699ff6b96b382a3fc5
|
Change command names
|
fkmclane/MCP,fkmclane/MCP,fkmclane/MCP,fkmclane/MCP
|
setup.py
|
setup.py
|
#!/usr/bin/env python3
from distutils.core import setup
from distutils.command.install import install
from distutils import dir_util
from distutils import file_util
import getpass
import os
import shutil
import subprocess
import config
def setupUser():
import armaadmin.users
print()
print('Please set up the administrator account.')
username = input('Username: ')
password = getpass.getpass('Password: ')
armaadmin.users.add(username, password, [], True)
def setupDirs():
print()
print('Making directories...')
dir_util.mkpath(config.prefix)
if config.creation:
dir_util.mkpath(config.sources)
dir_util.copy_tree('config', config.config)
def setupApi():
if config.api:
print()
print('Installing API...')
dir_util.copy_tree('api', config.api)
def setupInit():
print()
response = input('Which init system are you using: [1] SysV (Debian, Ubuntu, CentOS), [2] OpenRC (Gentoo), [3] Systemd (Arch, Fedora), [*] Other/None? ')
if response == "1":
print()
print('Installing SysV init script...')
file_util.copy_file('init/sysv/armaadmin', '/etc/init.d/')
elif response == "2":
print()
print('Installing OpenRC init script...')
file_util.copy_file('init/openrc/armaadmin', '/etc/init.d/')
elif response == "3":
print()
print('Installing Systemd init script...')
file_util.copy_file('init/systemd/armaadmin.service', '/usr/lib/systemd/system/')
subprocess.call(['systemctl', 'daemon-reload'])
class cmd_install(install):
def run(self):
open('armaadmin/users.db', 'w').close()
setupUser()
print()
print('Installing...')
shutil.copy('config.py', 'armaadmin/')
install.run(self)
os.remove('armaadmin/config.py')
os.remove('armaadmin/users.db')
setupDirs()
setupApi()
setupInit()
class cmd_upgrade(install):
def run(self):
print()
print('Upgrading...')
shutil.copy('config.py', 'armaadmin/')
install.run(self)
os.remove('armaadmin/config.py')
setupApi()
setupInit()
setup( name='ArmaAdmin',
version='2.0',
description='A complete Armagetron Advanced multi-server management framework and web interface',
author='Foster McLane',
author_email='[email protected]',
url='http://github.com/fkmclane/ArmaAdmin',
license='MIT',
packages=[ 'armaadmin', 'armaadmin.routes' ],
package_data={ 'armaadmin': [ 'config.py', 'users.db', 'www/*.*', 'www/admin/*.*', 'www/codemirror/*.*' ], 'armaadmin.routes': [ 'html/*.*' ] },
scripts=[ 'bin/armaadmin' ],
cmdclass={ 'install': cmd_install, 'upgrade': cmd_upgrade }
)
|
#!/usr/bin/env python3
from distutils.core import setup
from distutils.command.install import install
from distutils import dir_util
from distutils import file_util
import getpass
import os
import shutil
import subprocess
import config
def setupUser():
import armaadmin.users
print()
print('Please set up the administrator account.')
username = input('Username: ')
password = getpass.getpass('Password: ')
armaadmin.users.add(username, password, [], True)
def setupDirs():
print()
print('Making directories...')
dir_util.mkpath(config.prefix)
if config.creation:
dir_util.mkpath(config.sources)
dir_util.copy_tree('config', config.config)
def setupApi():
if config.api:
print()
print('Installing API...')
dir_util.copy_tree('api', config.api)
def setupInit():
print()
response = input('Which init system are you using: [1] SysV (Debian, Ubuntu, CentOS), [2] OpenRC (Gentoo), [3] Systemd (Arch, Fedora), [*] Other/None? ')
if response == "1":
print()
print('Installing SysV init script...')
file_util.copy_file('init/sysv/armaadmin', '/etc/init.d/')
elif response == "2":
print()
print('Installing OpenRC init script...')
file_util.copy_file('init/openrc/armaadmin', '/etc/init.d/')
elif response == "3":
print()
print('Installing Systemd init script...')
file_util.copy_file('init/systemd/armaadmin.service', '/usr/lib/systemd/system/')
subprocess.call(['systemctl', 'daemon-reload'])
class post_install(install):
def run(self):
open('armaadmin/users.db', 'w').close()
setupUser()
print()
print('Installing...')
shutil.copy('config.py', 'armaadmin/')
install.run(self)
os.remove('armaadmin/config.py')
os.remove('armaadmin/users.db')
setupDirs()
setupApi()
setupInit()
class upgrade(install):
def run(self):
print()
print('Upgrading...')
shutil.copy('config.py', 'armaadmin/')
install.run(self)
os.remove('armaadmin/config.py')
setupApi()
setupInit()
setup( name='ArmaAdmin',
version='2.0',
description='A complete Armagetron Advanced multi-server management framework and web interface',
author='Foster McLane',
author_email='[email protected]',
url='http://github.com/fkmclane/ArmaAdmin',
license='MIT',
packages=[ 'armaadmin', 'armaadmin.routes' ],
package_data={ 'armaadmin': [ 'config.py', 'users.db', 'www/*.*', 'www/admin/*.*', 'www/codemirror/*.*' ], 'armaadmin.routes': [ 'html/*.*' ] },
scripts=[ 'bin/armaadmin' ],
cmdclass={ 'install': post_install, 'upgrade': upgrade }
)
|
mit
|
Python
|
f411e874bcb33cd9f7f23a3abc23830e3728ccf5
|
bump to 0.2.2
|
enricobacis/wos
|
setup.py
|
setup.py
|
from setuptools import setup
from sys import version_info
with open('README.rst') as README:
long_description = README.read()
long_description = long_description[long_description.index('Description'):]
suds_install_requires = ['suds'] if version_info < (3,0) else ['suds-py3']
setup(name='wos',
version='0.2.2',
description='Web of Science client using API v3.',
long_description=long_description,
install_requires=['limit'] + suds_install_requires,
url='http://github.com/enricobacis/wos',
author='Enrico Bacis',
author_email='[email protected]',
license='MIT',
packages=['wos'],
scripts=['scripts/wos'],
keywords='wos isi web of science knowledge api client'
)
|
from setuptools import setup
from sys import version_info
with open('README.rst') as README:
long_description = README.read()
long_description = long_description[long_description.index('Description'):]
suds_install_requires = ['suds'] if version_info < (3,0) else ['suds-py3']
setup(name='wos',
version='0.2.1',
description='Web of Science client using API v3.',
long_description=long_description,
install_requires=['limit'] + suds_install_requires,
url='http://github.com/enricobacis/wos',
author='Enrico Bacis',
author_email='[email protected]',
license='MIT',
packages=['wos'],
scripts=['scripts/wos'],
keywords='wos isi web of science knowledge api client'
)
|
mit
|
Python
|
c609cc937ab91a634b92a38b78ab86e323deaaf1
|
Fix setup.py.
|
TyVik/YaDiskClient
|
setup.py
|
setup.py
|
#-*- coding: utf-8 -*-
from setuptools import setup, find_packages
import YaDiskClient
setup(
name='YaDiskClient',
version=YaDiskClient.__version__,
include_package_data=True,
py_modules=['YaDiskClient'],
url='https://github.com/TyVik/YaDiskClient',
license='MIT',
author='TyVik',
author_email='[email protected]',
description='Clent for Yandex.Disk',
long_description=open('README.rst').read(),
install_requires=['requests'],
packages=find_packages(),
keywords='Yandex.Disk, webdav, client, python, Yandex',
# test_suite='YaDiskClient.TestYaDisk' # this line is commented because tests needs Yandex login and password
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python',
'Topic :: Internet',
'Topic :: Utilities',
'Topic :: System :: Archiving :: Backup',
],
)
|
#-*- coding: utf-8 -*-
from setuptools import setup, find_packages
import YaDiskClient
setup(
name='YaDiskClient',
version=YaDiskClient.__version__,
include_package_data=True,
py_modules=['YaDiskClient'],
url='https://github.com/TyVik/YaDiskClient',
license='MIT',
author='TyVik',
author_email='[email protected]',
description='Clent for Yandex.Disk',
long_description=open('README.rst').read(),
install_requires=['requests'],
packages=find_packages(),
keywords='Yandex.Disk, webdav, client, python, Yandex'
# test_suite='YaDiskClient.TestYaDisk' # this line is commented because tests needs Yandex login and password
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python',
'Topic :: Internet',
'Topic :: Utilities',
'Topic :: System :: Archiving :: Backup',
],
)
|
mit
|
Python
|
39ab58ed009568a3eca0fd168841d5437ee6f7d0
|
Corrige dependencias do setup.py e numero da versao do Python
|
mstuttgart/pysigep,mstuttgart/python-sigep
|
setup.py
|
setup.py
|
#!/usr/bin/env python
import os
from codecs import open
from setuptools import find_packages, setup
version_path = os.path.join(os.path.abspath(os.path.dirname(__file__)),
'pysigep',
'__version__.py')
about = {}
with open(version_path, 'r') as f:
exec(f.read(), about)
with open('README.rst', 'r') as readme_file:
readme = readme_file.read()
with open('docs/history.rst', 'r') as history_file:
history = history_file.read()
requirements = [
'zeep',
]
test_requirements = [
'coveralls',
'flake8',
]
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Natural Language :: Portuguese',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
]
setup(
name=about['__title__'],
version=about['__version__'],
description=about['__description__'],
long_description=readme + '\n\n' + history,
author=about['__author__'],
author_email=about['__author_email__'],
maintainer=about['__maintainer__'],
maintainer_email=about['__maintainer_email__'],
url=about['__url__'],
download_url=about['__download_url__'],
packages=find_packages(include=['pysigep']),
package_dir={'pysigep': 'pysigep'},
include_package_data=True,
install_requires=requirements,
license=about['__license__'],
zip_safe=False,
keywords='correios sigep sigepweb development api',
classifiers=classifiers,
platforms=['any'],
test_suite='tests',
tests_require=test_requirements,
)
|
#!/usr/bin/env python
import os
from codecs import open
from setuptools import find_packages, setup
version_path = os.path.join(os.path.abspath(os.path.dirname(__file__)),
'pysigep',
'__version__.py')
about = {}
with open(version_path, 'r') as f:
exec(f.read(), about)
with open('README.rst', 'r') as readme_file:
readme = readme_file.read()
with open('docs/history.rst', 'r') as history_file:
history = history_file.read()
requirements = [
'lxml==3.7.3',
'requests==2.13.0',
'Pillow==4.1.0',
'Jinja2==2.9.6',
'zeep',
]
test_requirements = [
'coveralls',
'flake8',
]
classifiers = [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Natural Language :: Portuguese',
'License :: OSI Approved :: MIT License',
"Programming Language :: Python :: 2",
'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',
'Programming Language :: Python :: 3.6',
]
setup(
name=about['__title__'],
version=about['__version__'],
description=about['__description__'],
long_description=readme + '\n\n' + history,
author=about['__author__'],
author_email=about['__author_email__'],
maintainer=about['__maintainer__'],
maintainer_email=about['__maintainer_email__'],
url=about['__url__'],
download_url=about['__download_url__'],
packages=find_packages(include=['pysigep']),
package_dir={'pysigep': 'pysigep'},
include_package_data=True,
install_requires=requirements,
license=about['__license__'],
zip_safe=False,
keywords='correios sigep sigepweb development api',
classifiers=classifiers,
platforms=['any'],
test_suite='tests',
tests_require=test_requirements,
)
|
mit
|
Python
|
544754701e0cd7243e7a7cfc5245bdb91b73d2c5
|
Fix a bug in setup.py
|
cartoonist/pystream-protobuf
|
setup.py
|
setup.py
|
"""
setup.py
"""
import sys
import subprocess
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
PYPI_DISTNAME = "pystream-protobuf"
PROC = subprocess.run(["git", "log", "-n1", "--pretty=%h"],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if PROC.returncode == 0:
COMMIT = PROC.stdout.decode("utf-8").strip()
PROC = subprocess.run(["git", "describe", "--exact-match", "--tags", COMMIT],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if PROC.returncode != 0:
print("ERROR: there's no tag associated with the current commit",
file=sys.stderr)
print("> %s" % PROC.stderr.decode("utf-8").strip(), file=sys.stderr)
exit(1)
TAG = PROC.stdout.decode("utf-8").strip()
else:
import pkg_resources
dist = pkg_resources.get_distribution(PYPI_DISTNAME)
TAG = dist.version
setup(
name=PYPI_DISTNAME,
packages=['stream'],
version=TAG,
description='Python implementation of stream library',
author='Ali Ghaffaari',
author_email='[email protected]',
url='https://github.com/cartoonist/pystream-protobuf',
download_url='https://github.com/cartoonist/pystream-protobuf/tarball/'+TAG,
keywords=['protobuf', 'stream', 'protocol buffer'],
classifiers=[],
install_requires=['protobuf==3.0.0b4'],
)
|
"""
setup.py
"""
import sys
import subprocess
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
PROC = subprocess.run(["git", "log", "-n1", "--pretty=%h"],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if PROC.returncode != 0:
print("ERROR: while retreiving current git commit hash...", file=sys.stderr)
print("The error message is:\n> %s" % PROC.stderr.decode("utf-8").strip(),
file=sys.stderr)
exit(1)
COMMIT = PROC.stdout.decode("utf-8").strip()
PROC = subprocess.run(["git", "describe", "--exact-match", "--tags", COMMIT],
stdout=subprocess.PIPE, stderr=subprocess.PIPE)
if PROC.returncode != 0:
print("ERROR: there's no tag associated with the current commit",
file=sys.stderr)
print("> %s" % PROC.stderr.decode("utf-8").strip(), file=sys.stderr)
exit(1)
TAG = PROC.stdout.decode("utf-8").strip()
setup(
name='pystream-protobuf',
packages=['stream'],
version=TAG,
description='Python implementation of stream library',
author='Ali Ghaffaari',
author_email='[email protected]',
url='https://github.com/cartoonist/pystream-protobuf',
download_url='https://github.com/cartoonist/pystream-protobuf/tarball/'+TAG,
keywords=['protobuf', 'stream', 'protocol buffer'],
classifiers=[],
install_requires=['protobuf==3.0.0b4'],
)
|
mit
|
Python
|
87831602727e71f1969499e84aca50385eb9b9ed
|
Fix bad syntax
|
firegrass/ravendb-py
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import setup, find_packages
import os
import platform
# Conditional include unittest2 for versions of python < 2.7
tests_require = ['nose', 'pyyaml']
platform_version = list(platform.python_version_tuple())[0:2]
if platform_version[0] != '3' and platform_version != ['2', '7']:
tests_require.append('unittest2')
long_description = ('RavenPy is a pure-Python implementation of for talking to RavenDB')
setup(
name='RavenPy',
version='0.1',
description='Python RavenDB client',
long_description=long_description,
author='Mark Woodhall',
author_email='[email protected]',
url='https://github.com/firegrass/RavenPy',
platforms='any',
packages=['RavenPy'],
install_requires = [
'requests>=2.2.1',
'bunch>=1.0.1'
],
test_suite='nose.collector',
keywords = "ravendb raven database",
zip_safe=True
)
|
#!/usr/bin/env python
from setuptools import setup, find_packages
import os
import platform
# Conditional include unittest2 for versions of python < 2.7
tests_require = ['nose', 'pyyaml']
platform_version = list(platform.python_version_tuple())[0:2]
if platform_version[0] != '3' and platform_version != ['2', '7']:
tests_require.append('unittest2')
long_description = ('RavenPy is a pure-Python implementation of for talking to RavenDB')
setup(
name='RavenPy',
version='0.1',
description='Python RavenDB client',
long_description=long_description,
author='Mark Woodhall',
author_email='[email protected]',
url='https://github.com/firegrass/RavenPy',
platforms='any'
packages=['RavenPy'],
install_requires = [
'requests>=2.2.1',
'bunch>=1.0.1'
],
test_suite='nose.collector',
keywords = "ravendb raven database",
zip_safe=True
)
|
mit
|
Python
|
93dc1eaa750e6dec8eedad2353fdabba19c829b1
|
Bump version (2.0.1).
|
renstrom/python-jump-consistent-hash,renstrom/python-jump-consistent-hash,renstrom/python-jump-consistent-hash
|
setup.py
|
setup.py
|
# -*- coding: utf-8 -*-
"""
Jump Consistent Hash
--------------------
Python implementation of the jump consistent hash algorithm by John Lamping and
Eric Veach[1]. Requires Python 2.6-2.7 or 3.2+.
Usage
`````
.. code:: python
>>> import jump
>>> jump.hash(256, 1024)
520
Or if you want to use the C++ extension:
.. code:: python
>>> jump.fasthash(256, 1024)
520
Links
`````
[1] http://arxiv.org/pdf/1406.2294v1.pdf
"""
from setuptools import setup, find_packages, Extension
setup(name='jump_consistent_hash',
version='2.0.1',
description='Implementation of the Jump Consistent Hash algorithm',
long_description=__doc__,
author='Peter Renström',
license='MIT',
url='https://github.com/renstrom/python-jump-consistent-hash',
packages=find_packages(),
ext_modules=[
Extension('_jump', sources=[
'jump/jump.cpp',
'jump/jumpmodule.c'
])
],
test_suite='jump.tests',
keywords=[
'jump hash',
'jumphash',
'jump consistent hash',
'consistent hash',
'hash algorithm',
'hash'
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4'
])
|
# -*- coding: utf-8 -*-
"""
Jump Consistent Hash
--------------------
Python implementation of the jump consistent hash algorithm by John Lamping and
Eric Veach[1]. Requires Python 2.6-2.7 or 3.2+.
Usage
`````
.. code:: python
>>> import jump
>>> jump.hash(256, 1024)
520
Or if you want to use the C++ extension:
.. code:: python
>>> jump.fasthash(256, 1024)
520
Links
`````
[1] http://arxiv.org/pdf/1406.2294v1.pdf
"""
from setuptools import setup, find_packages, Extension
setup(name='jump_consistent_hash',
version='2.0.0',
description='Implementation of the Jump Consistent Hash algorithm',
long_description=__doc__,
author='Peter Renström',
license='MIT',
url='https://github.com/renstrom/python-jump-consistent-hash',
packages=find_packages(),
ext_modules=[
Extension('_jump', sources=[
'jump/jump.cpp',
'jump/jumpmodule.c'
])
],
test_suite='jump.tests',
keywords=[
'jump hash',
'jumphash',
'jump consistent hash',
'consistent hash',
'hash algorithm',
'hash'
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4'
])
|
mit
|
Python
|
026a7d5649388e4d57eeabed8f36ecdf6f5bf0d3
|
fix aircv dep version
|
NetEase/airtest,NetEase/airtest,NetEase/airtest,NetEase/airtest,NetEase/airtest
|
setup.py
|
setup.py
|
# coding: utf-8
#
import sys
sys.path.insert(0,'/usr/lib/pyshared/python2.7')
from setuptools import setup, find_packages
from airtest import __version__
long_description = ''
try:
with open('README.md') as f:
long_description = f.read()
except:
pass
setup(
name='airtest',
version=__version__,
description='mobile test(black air) python lib',
long_description=long_description,
author='codeskyblue',
author_email='[email protected]',
packages = find_packages(),
include_package_data=True,
package_data={},
install_requires=[
#'Appium-Python-Client >= 0.10',
'click >= 3.3',
'fuckit >= 4.8.0',
'humanize >= 0.5',
'pystache >= 0.5.4',
'aircv == 1.2',
'Flask >= 0.10.1',
# 'paramiko',
#'androidviewclient >= 7.1.1',
# 'requests >= 2.4.3',
],
entry_points='''
[console_scripts]
air.test = airtest.console:main
''')
|
# coding: utf-8
#
import sys
sys.path.insert(0,'/usr/lib/pyshared/python2.7')
from setuptools import setup, find_packages
from airtest import __version__
long_description = ''
try:
with open('README.md') as f:
long_description = f.read()
except:
pass
setup(
name='airtest',
version=__version__,
description='mobile test(black air) python lib',
long_description=long_description,
author='codeskyblue',
author_email='[email protected]',
packages = find_packages(),
include_package_data=True,
package_data={},
install_requires=[
#'Appium-Python-Client >= 0.10',
'click >= 3.3',
'fuckit >= 4.8.0',
'humanize >= 0.5',
'pystache >= 0.5.4',
'aircv >= 1.02',
'Flask >= 0.10.1',
# 'paramiko',
#'androidviewclient >= 7.1.1',
# 'requests >= 2.4.3',
],
entry_points='''
[console_scripts]
air.test = airtest.console:main
''')
|
bsd-3-clause
|
Python
|
d84d84c583db53759129216747da7b2e81d59582
|
Bump version to 0.0.2
|
freshlimestudio/djlime
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
try:
from setuptools import setup
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
def fullsplit(path, result=None):
"""
Split a pathname into components (the opposite of os.path.join) in a
platform-neutral way.
"""
if result is None:
result = []
head, tail = os.path.split(path)
if head == '':
return [tail] + result
if head == path:
return result
return fullsplit(head, [tail] + result)
# Compile the list of packages available, because distutils doesn't have
# an easy way to do this.
packages, data_files = [], []
root_dir = os.path.dirname(__file__)
if root_dir != '':
os.chdir(root_dir)
djlime_dir = 'djlime'
for dirpath, dirnames, filenames in os.walk(djlime_dir):
# Ignore dirnames that start with '.'
for i, dirname in enumerate(dirnames):
if dirname.startswith('.'): del dirnames[i]
if '__init__.py' in filenames:
packages.append('.'.join(fullsplit(dirpath)))
elif filenames:
data_files.append([dirpath, [os.path.join(dirpath, f) for f in filenames]])
setup(
name='djlime',
version='0.0.2',
description='Django goodies.',
author='Andrey Voronov',
author_email='[email protected]',
url='http://github.com/freshlimestudio/djlime/',
long_description="Django goodies.",
packages=packages,
data_files=data_files,
requires=[
'django(>=1.3)',
],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
try:
from setuptools import setup
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
def fullsplit(path, result=None):
"""
Split a pathname into components (the opposite of os.path.join) in a
platform-neutral way.
"""
if result is None:
result = []
head, tail = os.path.split(path)
if head == '':
return [tail] + result
if head == path:
return result
return fullsplit(head, [tail] + result)
# Compile the list of packages available, because distutils doesn't have
# an easy way to do this.
packages, data_files = [], []
root_dir = os.path.dirname(__file__)
if root_dir != '':
os.chdir(root_dir)
djlime_dir = 'djlime'
for dirpath, dirnames, filenames in os.walk(djlime_dir):
# Ignore dirnames that start with '.'
for i, dirname in enumerate(dirnames):
if dirname.startswith('.'): del dirnames[i]
if '__init__.py' in filenames:
packages.append('.'.join(fullsplit(dirpath)))
elif filenames:
data_files.append([dirpath, [os.path.join(dirpath, f) for f in filenames]])
setup(
name='djlime',
version='0.0.1',
description='Django goodies.',
author='Andrey Voronov',
author_email='[email protected]',
url='http://github.com/freshlimestudio/djlime/',
long_description="Django goodies.",
packages=packages,
data_files=data_files,
requires=[
'django(>=1.3)',
],
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Utilities',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)
|
bsd-3-clause
|
Python
|
8291758ff2fc5266e28450c29b80d509a785641c
|
Update setup.py.
|
deconst/preparer-sphinx,ktbartholomew/preparer-sphinx,ktbartholomew/preparer-sphinx,deconst/preparer-sphinx
|
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:', '')
with open('requirements.txt') as requirements_file:
requirements = requirements_file.read().split("\n")
test_requirements = [
# TODO: put package test requirements here
]
setup(
name='deconstrst',
version='0.1.0',
description="Build sphinx documentation to JSON and jam it in the cloud",
long_description=readme + '\n\n' + history,
author="Ash Wilson",
author_email='[email protected]',
url='https://github.com/deconst/preparer-rst',
packages=[
'deconstrst',
],
package_dir={'deconstrst':
'deconstrst'},
include_package_data=True,
install_requires=requirements,
license="Apache 2",
zip_safe=False,
keywords='deconstrst',
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',
],
entry_points={
'console_scripts': [
'deconst-prepare-rst = deconstrst:main'
],
},
test_suite='tests',
tests_require=test_requirements
)
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('HISTORY.rst') as history_file:
history = history_file.read().replace('.. :changelog:', '')
with open('requirements.txt') as requirements_file:
requirements = requirements_file.read().split("\n")
test_requirements = [
# TODO: put package test requirements here
]
setup(
name='deconstrst',
version='0.1.0',
description="Build sphinx documentation to JSON and jam it in the cloud",
long_description=readme + '\n\n' + history,
author="Ash Wilson",
author_email='[email protected]',
url='https://github.com/deconst/renderer-rst',
packages=[
'deconstrst',
],
package_dir={'deconstrst':
'deconstrst'},
include_package_data=True,
install_requires=requirements,
license="Apache 2",
zip_safe=False,
keywords='deconstrst',
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',
],
entry_points={
'console_scripts': [
'deconst-render-rst = deconstrst:main'
],
},
test_suite='tests',
tests_require=test_requirements
)
|
apache-2.0
|
Python
|
46182e3646f9932a6a39e95fe4f289dd0c62325b
|
remove unnecessary requirements list
|
michalwiacek/simplegenerator
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
requirements = [i.strip() for i in open("requirements.txt").readlines()]
config = {
'name': 'SimpleGenerator',
'description': 'Simple string (password) generator script',
'author': 'Michal Wiacek',
'author_email': '[email protected]',
'version': '0.1',
'install_requires': requirements,
'packages': ['simplegenerator'],
'entry_points': {
"console_scripts": [
"pgen = simplegenerator.__main__:cli",
]
},
'classifiers': [
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
}
setup(**config)
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
requirements = ['click==6.2',
'pyparsing==2.0.7',
'ecdsa==0.13',
'PyYAML==3.11',
'pycrypto==2.6.1',
]
requirements = [i.strip() for i in open("requirements.txt").readlines()]
config = {
'name': 'SimpleGenerator',
'description': 'Simple string (password) generator script',
'author': 'Michal Wiacek',
'author_email': '[email protected]',
'version': '0.1',
'install_requires': requirements,
'packages': ['simplegenerator'],
'entry_points': {
"console_scripts": [
"pgen = simplegenerator.__main__:cli",
]
},
'classifiers': [
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
}
setup(**config)
|
mit
|
Python
|
268fa37807fed07739d4e81eab7d1fbcc5842db9
|
Remove long_description from setup.py
|
nimbis/cmsplugin-newsplus,nimbis/cmsplugin-newsplus
|
setup.py
|
setup.py
|
#!/usr/bin/env python
from setuptools import find_packages, setup
# setup the project
setup(
name='cmsplugin-newsplus',
version='1.0.0',
description='Simple news plugin for django-cms 3.x',
author='Nimbis Services, Inc.',
author_email='[email protected]',
url='https://github.com/nimbis/cmsplugin-newsplus/',
packages=find_packages(exclude=["tests", ]),
license='BSD',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
],
include_package_data=True,
install_requires=[
'Django',
'django-cms >= 2.4',
'djangocms-text-ckeditor >= 2.0',
'Pillow',
],
zip_safe=False
)
|
#!/usr/bin/env python
from setuptools import find_packages, setup
# setup the project
setup(
name='cmsplugin-newsplus',
version='1.0.0',
description='Simple news plugin for django-cms 3.x',
long_description=open('README.rst').read(),
author='Nimbis Services, Inc.',
author_email='[email protected]',
url='https://github.com/nimbis/cmsplugin-newsplus/',
packages=find_packages(exclude=["tests", ]),
license='BSD',
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
],
include_package_data=True,
install_requires=[
'Django',
'django-cms >= 2.4',
'djangocms-text-ckeditor >= 2.0',
'Pillow',
],
zip_safe=False
)
|
bsd-2-clause
|
Python
|
66785400dee22d97202413d23812c897266ce990
|
remove marge marks
|
fiduswriter/fiduswriter-books,fiduswriter/fiduswriter-books
|
setup.py
|
setup.py
|
import os
from glob import glob
from setuptools import find_namespace_packages, setup
from setuptools.command.build_py import build_py as _build_py
# From https://github.com/pypa/setuptools/pull/1574
class build_py(_build_py):
def find_package_modules(self, package, package_dir):
modules = super().find_package_modules(package, package_dir)
patterns = self._get_platform_patterns(
self.exclude_package_data,
package,
package_dir,
)
excluded_module_files = []
for pattern in patterns:
excluded_module_files.extend(glob(pattern))
for f in excluded_module_files:
for module in modules:
if module[2] == f:
modules.remove(module)
return modules
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='fiduswriter-books',
version='3.10.dev1',
packages=find_namespace_packages(),
exclude_package_data={
"": ["configuration.py", "django-admin.py", "build/*"]
},
include_package_data=True,
license='AGPL License',
description=(
'A Fidus Writer plugin to allow creation of books '
'and article collections'
),
long_description=README,
url='https://www.github.org/fiduswriter/fiduswriter-books',
author='Johannes Wilm',
author_email='[email protected]',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 3.1',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
cmdclass={'build_py': build_py}
)
|
import os
from glob import glob
from setuptools import find_namespace_packages, setup
from setuptools.command.build_py import build_py as _build_py
# From https://github.com/pypa/setuptools/pull/1574
class build_py(_build_py):
def find_package_modules(self, package, package_dir):
modules = super().find_package_modules(package, package_dir)
patterns = self._get_platform_patterns(
self.exclude_package_data,
package,
package_dir,
)
excluded_module_files = []
for pattern in patterns:
excluded_module_files.extend(glob(pattern))
for f in excluded_module_files:
for module in modules:
if module[2] == f:
modules.remove(module)
return modules
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='fiduswriter-books',
<<<<<<< HEAD
version='3.10.dev1',
=======
version='3.9.5',
>>>>>>> 4eaa2b917a3241f1f30098b48a2360bb1615af8f
packages=find_namespace_packages(),
exclude_package_data={
"": ["configuration.py", "django-admin.py", "build/*"]
},
include_package_data=True,
license='AGPL License',
description=(
'A Fidus Writer plugin to allow creation of books '
'and article collections'
),
long_description=README,
url='https://www.github.org/fiduswriter/fiduswriter-books',
author='Johannes Wilm',
author_email='[email protected]',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Framework :: Django :: 3.1',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU Affero General Public License v3',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
cmdclass={'build_py': build_py}
)
|
agpl-3.0
|
Python
|
efa88a14e21455bbe2aa4d0dd4944472cfab1261
|
fix python3 'pip install' bug
|
nficano/gendo
|
setup.py
|
setup.py
|
#!/usr/bin/python
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from setuptools import setup, find_packages
try:
from itertools import ifilter
except:
ifilter = filter
from os import path
from ast import parse
import pip
requirements = pip.req.parse_requirements("requirements.txt",
session=pip.download.PipSession())
pip_requirements = [str(r.req) for r in requirements]
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('LICENSE.txt') as readme_file:
license = readme_file.read()
with open(path.join('gendo', '__init__.py')) as f:
__version__ = parse(next(ifilter(
lambda line: line.startswith('__version__'), f))).body[0].value.s
setup(
name='gendobot',
author='Nick Ficano',
author_email='[email protected]',
version=__version__,
packages=find_packages(exclude=['tests*']),
url='http://nickficano.com',
description="a lightweight Slackbot framework for Python",
zip_safe=False,
install_requires=pip_requirements,
long_description=readme,
license=license,
classifiers=[
"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",
"Programming Language :: Python",
"Topic :: Internet",
]
)
|
#!/usr/bin/python
# -*- coding: utf-8 -*-
from __future__ import absolute_import
from setuptools import setup, find_packages
from itertools import ifilter
from os import path
from ast import parse
import pip
requirements = pip.req.parse_requirements("requirements.txt",
session=pip.download.PipSession())
pip_requirements = [str(r.req) for r in requirements]
with open('README.rst') as readme_file:
readme = readme_file.read()
with open('LICENSE.txt') as readme_file:
license = readme_file.read()
with open(path.join('gendo', '__init__.py')) as f:
__version__ = parse(next(ifilter(
lambda line: line.startswith('__version__'), f))).body[0].value.s
setup(
name='gendobot',
author='Nick Ficano',
author_email='[email protected]',
version=__version__,
packages=find_packages(exclude=['tests*']),
url='http://nickficano.com',
description="a lightweight Slackbot framework for Python",
zip_safe=False,
install_requires=pip_requirements,
long_description=readme,
license=license,
classifiers=[
"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",
"Programming Language :: Python",
"Topic :: Internet",
]
)
|
mit
|
Python
|
decfd45d96ef3ed83acfa7d357de72e3e9931ee2
|
Fix ECPy dependency version
|
LedgerHQ/blue-loader-python
|
setup.py
|
setup.py
|
#from distribute_setup import use_setuptools
#use_setuptools()
from setuptools import setup, find_packages
from os.path import dirname, join
import os
here = dirname(__file__)
setup(
name='ledgerblue',
version='0.1.19',
author='Ledger',
author_email='[email protected]',
description='Python library to communicate with Ledger Blue/Nano S',
long_description=open(join(here, 'README.md')).read(),
url='https://github.com/LedgerHQ/blue-loader-python',
packages=find_packages(),
install_requires=['hidapi>=0.7.99', 'protobuf>=2.6.1', 'pycryptodomex>=3.6.1', 'future', 'ecpy>=0.9.0', 'pillow>=3.4.0', 'python-u2flib-host>=3.0.2'],
extras_require = {
'smartcard': [ 'python-pyscard>=1.6.12-4build1' ]
},
include_package_data=True,
zip_safe=False,
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X'
]
)
|
#from distribute_setup import use_setuptools
#use_setuptools()
from setuptools import setup, find_packages
from os.path import dirname, join
import os
here = dirname(__file__)
setup(
name='ledgerblue',
version='0.1.18',
author='Ledger',
author_email='[email protected]',
description='Python library to communicate with Ledger Blue/Nano S',
long_description=open(join(here, 'README.md')).read(),
url='https://github.com/LedgerHQ/blue-loader-python',
packages=find_packages(),
install_requires=['hidapi>=0.7.99', 'protobuf>=2.6.1', 'pycryptodomex>=3.6.1', 'future', 'ecpy>=0.8.1', 'pillow>=3.4.0', 'python-u2flib-host>=3.0.2'],
extras_require = {
'smartcard': [ 'python-pyscard>=1.6.12-4build1' ]
},
include_package_data=True,
zip_safe=False,
classifiers=[
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX :: Linux',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X'
]
)
|
apache-2.0
|
Python
|
84c9bdcb388f6fd77cf58ccdcd6b9d298017389a
|
order setup
|
pryvkin10x/tsne,pryvkin10x/tsne,pryvkin10x/tsne
|
setup.py
|
setup.py
|
# encoding: utf-8
import numpy
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import sys
DESCRIPTION = 'TSNE implementations for python'
if sys.platform == 'darwin':
ext_modules = [Extension(
name='bh_sne',
sources=['tsne/bh_sne_src/quadtree.cpp', 'tsne/bh_sne_src/tsne.cpp', 'tsne/bh_sne.pyx'],
include_dirs=[numpy.get_include(), 'tsne/bh_sne_src/'],
extra_compile_args=['-I/System/Library/Frameworks/vecLib.framework/Headers'],
extra_link_args=['-Wl,-framework', '-Wl,Accelerate', '-lcblas'],
language='c++')]
else:
ext_modules = [Extension(
name='bh_sne',
sources=['tsne/bh_sne_src/quadtree.cpp', 'tsne/bh_sne_src/tsne.cpp', 'tsne/bh_sne.pyx'],
include_dirs=[numpy.get_include(), '/usr/local/include', 'tsne/bh_sne_src/'],
library_dirs=['/usr/local/lib'],
extra_compile_args=['-msse2', '-O3', '-fPIC', '-w'],
extra_link_args=['-lopenblas'],
language='c++')]
setup(
name='tsne',
version='0.0.1',
maintainer='Daniel Rodriguez',
maintainer_email='[email protected]',
url='https://github.com/danielfrg/py_tsne',
packages=['tsne'],
ext_modules=ext_modules,
description=DESCRIPTION,
license='see LICENCE.txt',
cmdclass={'build_ext': build_ext},
long_description=open('README.txt').read(),
install_requires=[
'Cython==0.19.1',
'numpy==1.7.1',
'scipy==0.12.0'
],
)
|
# encoding: utf-8
import numpy
from distutils.core import setup
from distutils.extension import Extension
from Cython.Distutils import build_ext
import sys
DESCRIPTION = 'TSNE implementations for python'
if sys.platform == 'darwin':
ext_modules = [Extension(
name='bh_sne',
sources=['tsne/bh_sne_src/quadtree.cpp', 'tsne/bh_sne_src/tsne.cpp', 'tsne/bh_sne.pyx'],
include_dirs=[numpy.get_include(), 'tsne/bh_sne_src/'],
extra_compile_args=['-I/System/Library/Frameworks/vecLib.framework/Headers'],
extra_link_args=['-Wl,-framework', '-Wl,Accelerate', '-lcblas'],
language='c++')]
else:
ext_modules = [Extension(
name='bh_sne',
sources=['tsne/bh_sne_src/quadtree.cpp', 'tsne/bh_sne_src/tsne.cpp', 'tsne/bh_sne.pyx'],
include_dirs=[numpy.get_include(), '/usr/local/include', 'tsne/bh_sne_src/'],
library_dirs=['/usr/local/lib'],
extra_compile_args=['-msse2', '-O3', '-fPIC', '-w'],
extra_link_args=['-lopenblas'],
language='c++')]
setup(
name='tsne',
version='0.0.1',
maintainer='Daniel Rodriguez',
maintainer_email='[email protected]',
packages=['tsne'],
ext_modules=ext_modules,
description=DESCRIPTION,
license='see LICENCE.txt',
cmdclass={'build_ext': build_ext},
long_description=open('README.txt').read(),
url='https://github.com/danielfrg/py_tsne',
install_requires=[
'Cython==0.19.1',
'numpy==1.7.1',
'scipy==0.12.0'
],
)
|
bsd-3-clause
|
Python
|
2d18428d1774e4a15840462ad512e15e2a199c3d
|
add setuptools
|
louiejtaylor/pyViKO,louiejtaylor/pyViKO
|
setup.py
|
setup.py
|
import setuptools
from distutils.core import setup
#with open("README.md", "r") as fh:
# long_description = fh.read()
setup(name='pyviko',
version='1.1.0.6',
description='Design knockout viruses in Python',
author='LJ Taylor',
author_email='l'+'taylor'+str(3+4)+'@'+'tu'+'lane.edu',
url='https://github.com/louiejtaylor/pyViKO',
packages=['pyviko'],
#install_requires=['future'],
license='MIT License',
classifiers = ['Intended Audience :: Science/Research',
'Environment :: Console',
'Environment :: Web Environment',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Bio-Informatics',],
py_modules = ['pyviko.core', 'pyviko.mutation', 'pyviko.restriction']
)
|
from distutils.core import setup
#with open("README.md", "r") as fh:
# long_description = fh.read()
setup(name='pyviko',
version='1.1.0.6',
description='Design knockout viruses in Python',
author='LJ Taylor',
author_email='l'+'taylor'+str(3+4)+'@'+'tu'+'lane.edu',
url='https://github.com/louiejtaylor/pyViKO',
packages=['pyviko'],
#install_requires=['future'],
license='MIT License',
classifiers = ['Intended Audience :: Science/Research',
'Environment :: Console',
'Environment :: Web Environment',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: Bio-Informatics',],
py_modules = ['pyviko.core', 'pyviko.mutation', 'pyviko.restriction']
)
|
mit
|
Python
|
01f33d9760d68e79913b8eee0174e8dfc46fbae7
|
remove the msl-loadlib version number in the dependency
|
MSLNZ/msl-equipment
|
setup.py
|
setup.py
|
import os
import re
import sys
from setuptools import setup, find_packages
sys.path.insert(0, os.path.join(os.path.abspath(os.path.dirname(__file__)), 'docs'))
import docs_commands
def read(filename):
with open(filename) as fp:
text = fp.read()
return text
def fetch_init(key):
# open the __init__.py file to determine the value instead of importing the package to get the value
init_text = read('msl/equipment/__init__.py')
return re.compile(r'{}\s*=\s*(.*)'.format(key)).search(init_text).group(1)[1:-1]
testing = {'test', 'tests', 'pytest'}.intersection(sys.argv)
pytest_runner = ['pytest-runner'] if testing else []
needs_sphinx = {'doc', 'docs', 'apidoc', 'apidocs', 'build_sphinx'}.intersection(sys.argv)
sphinx = ['sphinx', 'sphinx_rtd_theme'] if needs_sphinx else []
requirements = [pkg for pkg in read('requirements.txt').splitlines() if not pkg.startswith('http')]
setup(
name='msl-equipment',
version=fetch_init('__version__'),
author=fetch_init('__author__'),
author_email='[email protected]',
url='https://github.com/MSLNZ/msl-equipment',
description='Manage and communicate with equipment in the laboratory.',
long_description=read('README.rst'),
license='MIT',
platforms='any',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering :: Physics',
],
setup_requires=sphinx + pytest_runner,
tests_require=['pytest-cov', 'pytest'],
install_requires=['msl-loadlib'] + requirements if not testing else [],
dependency_links=['https://github.com/MSLNZ/msl-loadlib/tarball/master#egg=msl-loadlib-0'],
cmdclass={
'docs': docs_commands.BuildDocs,
'apidocs': docs_commands.ApiDocs,
},
packages=find_packages(include=('msl*',)),
include_package_data=True,
)
|
import os
import re
import sys
from setuptools import setup, find_packages
sys.path.insert(0, os.path.join(os.path.abspath(os.path.dirname(__file__)), 'docs'))
import docs_commands
def read(filename):
with open(filename) as fp:
text = fp.read()
return text
def fetch_init(key):
# open the __init__.py file to determine the value instead of importing the package to get the value
init_text = read('msl/equipment/__init__.py')
return re.compile(r'{}\s*=\s*(.*)'.format(key)).search(init_text).group(1)[1:-1]
testing = {'test', 'tests', 'pytest'}.intersection(sys.argv)
pytest_runner = ['pytest-runner'] if testing else []
needs_sphinx = {'doc', 'docs', 'apidoc', 'apidocs', 'build_sphinx'}.intersection(sys.argv)
sphinx = ['sphinx', 'sphinx_rtd_theme'] if needs_sphinx else []
requirements = [pkg for pkg in read('requirements.txt').splitlines() if not pkg.startswith('http')]
setup(
name='msl-equipment',
version=fetch_init('__version__'),
author=fetch_init('__author__'),
author_email='[email protected]',
url='https://github.com/MSLNZ/msl-equipment',
description='Manage and communicate with equipment in the laboratory.',
long_description=read('README.rst'),
license='MIT',
platforms='any',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Console',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Scientific/Engineering :: Physics',
],
setup_requires=sphinx + pytest_runner,
tests_require=['pytest-cov', 'pytest'],
install_requires=['msl-loadlib==0.3.1'] + requirements if not testing else [],
dependency_links=['https://github.com/MSLNZ/msl-loadlib/tarball/master#egg=msl-loadlib-0.3.1'],
cmdclass={
'docs': docs_commands.BuildDocs,
'apidocs': docs_commands.ApiDocs,
},
packages=find_packages(include=('msl*',)),
include_package_data=True,
)
|
mit
|
Python
|
879915958ed8be4b57e2d53ca744a97b3429dd5e
|
Update setup.py
|
cadop/pyCGM
|
setup.py
|
setup.py
|
import sys
sys.path.append('./pyCGM_Single') # TODO update to pycgm when fixed
from _about import __version__
import setuptools
with open("README.md", "r",encoding="utf8") as fh:
long_description = fh.read()
setuptools.setup(
name="pyCGM",
version= __version__,
author="", # Many
author_email="[email protected]",
description="A Python Implementation of the Conventional Gait Model",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/cadop/pycgm",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT",
"Operating System :: OS Independent",
],
python_requires='>=3',
install_requires=['numpy>=1.15','scipy'],
package_data={
"": ["SampleData/ROM/*.c3d","SampleData/ROM/*.vsk"], # TODO Need to fix
},
include_package_data=True,
)
|
import sys
sys.path.append('./pyCGM_Single') # TODO update to pycgm when fixed
from _about import __version__
import setuptools
with open("README.md", "r",encoding="utf8") as fh:
long_description = fh.read()
setuptools.setup(
name="pyCGM",
version= __version__,
author="", # Many
author_email="[email protected]",
description="A Python Implementation of the Conventional Gait Model",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/cadop/pycgm",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT",
"Operating System :: OS Independent",
],
python_requires='>=3',
install_requires=['numpy>=1.15'],
package_data={
"": ["SampleData/ROM/*.c3d","SampleData/ROM/*.vsk"], # TODO Need to fix
},
include_package_data=True,
)
|
mit
|
Python
|
c96dfa0387380da023f72b77b2d159e400d2f491
|
Update to the latest version of wptrunner.
|
ypwalter/fxos-certsuite,mozilla-b2g/fxos-certsuite,ShakoHo/fxos-certsuite,Conjuror/fxos-certsuite,ShakoHo/fxos-certsuite,ypwalter/fxos-certsuite,oouyang/fxos-certsuite,ypwalter/fxos-certsuite,mozilla-b2g/fxos-certsuite,cr/fxos-certsuite,ypwalter/fxos-certsuite,oouyang/fxos-certsuite,askeing/fxos-certsuite,mozilla-b2g/fxos-certsuite,oouyang/fxos-certsuite,cr/fxos-certsuite,askeing/fxos-certsuite,askeing/fxos-certsuite,cr/fxos-certsuite,Conjuror/fxos-certsuite,mozilla-b2g/fxos-certsuite,ypwalter/fxos-certsuite,cr/fxos-certsuite,ypwalter/fxos-certsuite,Conjuror/fxos-certsuite,Conjuror/fxos-certsuite,ShakoHo/fxos-certsuite,mozilla-b2g/fxos-certsuite,mozilla-b2g/fxos-certsuite,ypwalter/fxos-certsuite,ShakoHo/fxos-certsuite,ShakoHo/fxos-certsuite,askeing/fxos-certsuite,cr/fxos-certsuite,cr/fxos-certsuite,oouyang/fxos-certsuite,ShakoHo/fxos-certsuite,askeing/fxos-certsuite,oouyang/fxos-certsuite,oouyang/fxos-certsuite,askeing/fxos-certsuite,oouyang/fxos-certsuite,askeing/fxos-certsuite,ShakoHo/fxos-certsuite,Conjuror/fxos-certsuite,mozilla-b2g/fxos-certsuite,Conjuror/fxos-certsuite,cr/fxos-certsuite,Conjuror/fxos-certsuite
|
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 setuptools import setup
PACKAGE_VERSION = '0.1'
deps = ['fxos-appgen>=0.2.7',
'marionette_client>=0.7.1.1',
'marionette_extension >= 0.1',
'mozdevice >= 0.33',
'mozlog >= 1.8',
'moznetwork >= 0.24',
'mozprocess >= 0.18',
'wptserve >= 1.0.1',
'wptrunner >= 0.3']
setup(name='fxos-certsuite',
version=PACKAGE_VERSION,
description='Certification suite for FirefoxOS',
classifiers=[],
keywords='mozilla',
author='Mozilla Automation and Testing Team',
author_email='[email protected]',
url='https://github.com/mozilla-b2g/fxos-certsuite',
license='MPL',
packages=['certsuite'],
include_package_data=True,
zip_safe=False,
install_requires=deps,
entry_points="""
# -*- Entry points: -*-
[console_scripts]
runcertsuite = certsuite:harness_main
cert = certsuite:certcli
""")
|
# 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 setuptools import setup
PACKAGE_VERSION = '0.1'
deps = ['fxos-appgen>=0.2.7',
'marionette_client>=0.7.1.1',
'marionette_extension >= 0.1',
'mozdevice >= 0.33',
'mozlog >= 1.8',
'moznetwork >= 0.24',
'mozprocess >= 0.18',
'wptserve >= 1.0.1',
'wptrunner >= 0.2.8, < 0.3']
setup(name='fxos-certsuite',
version=PACKAGE_VERSION,
description='Certification suite for FirefoxOS',
classifiers=[],
keywords='mozilla',
author='Mozilla Automation and Testing Team',
author_email='[email protected]',
url='https://github.com/mozilla-b2g/fxos-certsuite',
license='MPL',
packages=['certsuite'],
include_package_data=True,
zip_safe=False,
install_requires=deps,
entry_points="""
# -*- Entry points: -*-
[console_scripts]
runcertsuite = certsuite:harness_main
cert = certsuite:certcli
""")
|
mpl-2.0
|
Python
|
23301d890239db74ebd754175c11314c4d8a91ec
|
Remove the pbr version requirements in setup.py
|
vmthunder/volt
|
setup.py
|
setup.py
|
#!/usr/bin/env python
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# 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.
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
setuptools.setup(
setup_requires=['pbr'],
pbr=True)
|
#!/usr/bin/env python
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# 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.
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
setuptools.setup(
setup_requires=['pbr>=0.5.21,<1.0'],
pbr=True)
|
apache-2.0
|
Python
|
50a89b33201e1ceec8207b705b3829a72bca51c4
|
Bump to version 10
|
krieghan/kobold_python,krieghan/kobold_python
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name='kobold',
version='10',
packages=find_packages(),
install_requires=['python-dateutil==2.2'],
tests_require=['nosetests'],
)
|
from setuptools import setup, find_packages
setup(
name='kobold',
version='9',
packages=find_packages(),
install_requires=['python-dateutil==2.2'],
tests_require=['nosetests'],
)
|
mit
|
Python
|
974f8211b20020c29ed893b0541a50ec1d3ba79a
|
Add secret key to test
|
discolabs/django-shopify-auth,discolabs/django-shopify-auth
|
test.py
|
test.py
|
import sys
import django
from django.conf import settings
if django.VERSION >= (2, 0, 0):
middleware_settings_key = "MIDDLEWARE"
else:
middleware_settings_key = 'MIDDLEWARE_CLASSES'
configuration = {
'DEBUG': True,
'DATABASES': {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
}
},
'INSTALLED_APPS': [
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'shopify_auth',
],
'AUTHENTICATION_BACKENDS': ['shopify_auth.backends.ShopUserBackend'],
'TEMPLATES': [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'APP_DIRS': True
}
],
'ROOT_URLCONF': 'shopify_auth.tests.urls',
'SHOPIFY_APP_NAME': 'Test App',
'SHOPIFY_APP_API_KEY': 'test-api-key',
'SHOPIFY_APP_API_SECRET': 'test-api-secret',
'SHOPIFY_APP_API_VERSION': 'unstable',
'SHOPIFY_APP_API_SCOPE': ['read_products'],
'SHOPIFY_APP_IS_EMBEDDED': True,
'SHOPIFY_APP_DEV_MODE': False,
'SHOPIFY_APP_THIRD_PARTY_COOKIE_CHECK': True,
'SECRET_KEY': 'uq8e140t1rm3^kk&blqxi*y9h_j5yd9ghjv+fd1p%08g4%t6%i',
middleware_settings_key: [
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
]
}
settings.configure(**configuration)
django.setup()
from django.test.runner import DiscoverRunner
test_runner = DiscoverRunner()
failures = test_runner.run_tests(['shopify_auth'])
if failures:
sys.exit(failures)
|
import sys
import django
from django.conf import settings
if django.VERSION >= (2, 0, 0):
middleware_settings_key = "MIDDLEWARE"
else:
middleware_settings_key = 'MIDDLEWARE_CLASSES'
configuration = {
'DEBUG': True,
'DATABASES': {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
}
},
'INSTALLED_APPS': [
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'shopify_auth',
],
'AUTHENTICATION_BACKENDS': ['shopify_auth.backends.ShopUserBackend'],
'TEMPLATES': [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'APP_DIRS': True
}
],
'ROOT_URLCONF': 'shopify_auth.tests.urls',
'SHOPIFY_APP_NAME': 'Test App',
'SHOPIFY_APP_API_KEY': 'test-api-key',
'SHOPIFY_APP_API_SECRET': 'test-api-secret',
'SHOPIFY_APP_API_VERSION': 'unstable',
'SHOPIFY_APP_API_SCOPE': ['read_products'],
'SHOPIFY_APP_IS_EMBEDDED': True,
'SHOPIFY_APP_DEV_MODE': False,
'SHOPIFY_APP_THIRD_PARTY_COOKIE_CHECK': True,
middleware_settings_key: [
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
]
}
settings.configure(**configuration)
django.setup()
from django.test.runner import DiscoverRunner
test_runner = DiscoverRunner()
failures = test_runner.run_tests(['shopify_auth'])
if failures:
sys.exit(failures)
|
mit
|
Python
|
64a069447b81cbfd6deb8cc753226fb8462ee4a2
|
test 5
|
Niharika29/database-reports
|
test.py
|
test.py
|
import mwclient
import MySQLdb
from config import *
# Test stuff
# site = mwclient.Site('en.wikipedia.org')
# page = site.Pages['Battle of Trenton']
# text = page.text()
# print 'Trenton thingy: ', text.encode('utf-8')
db = MySQLdb.connect( host = credentials['host'], user = credentials['user'], passwd = credentials['pass'], db = credentials['db'] )
cur = db.cursor()
cur.execute( "SELECT p.page_title, p.page_touched FROM page p ORDER BY p.page_touched DESC LIMIT 20" )
site = mwclient.Site('test.wikipedia.org')
site.login( testbot['user'], testbot['pass'] )
page = site.Pages['DBR test']
text = page.text()
print 'Page default text was: ', text
newtext = ''
for row in cur.fetchall() :
newtext = newtext + cur[0] + '\n'
page.save(newtext, summary = 'bot test edit')
|
import mwclient
import MySQLdb
from config import *
# Test stuff
# site = mwclient.Site('en.wikipedia.org')
# page = site.Pages['Battle of Trenton']
# text = page.text()
# print 'Trenton thingy: ', text.encode('utf-8')
db = MySQLdb.connect( host = credentials['host'], user = credentials['user'], passwd = credentials['pass'], db = credentials['db'] )
cur = db.cursor()
cur.execute( "SELECT p.page_title, p.page_touched FROM page p ORDER BY p.page_touched DESC LIMIT 20" )
site = mwclient.Site('test.wikipedia.org')
page = site.Pages['DBR test']
text = page.text()
print 'Page default text was: ', text
newtext = ''
for row in cur.fetchall() :
newtext = newtext + cur[0] + '\n'
page.save(newtext, summary = 'bot test edit')
|
lgpl-2.1
|
Python
|
7f18350b161c03e95afe9064d79236afc82f26b2
|
Update trove classifiers
|
TangledWeb/tangled.sqlalchemy
|
setup.py
|
setup.py
|
from setuptools import setup
setup(
name='tangled.sqlalchemy',
version='0.1a2.dev0',
description='Tangled SQLAlchemy integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
author='Wyatt Baldwin',
author_email='[email protected]',
packages=[
'tangled',
'tangled.sqlalchemy',
],
install_requires=[
'tangled>=0.1.dev0',
'SQLAlchemy',
],
extras_require={
'dev': [
'tangled[dev]',
],
},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
)
|
from setuptools import setup
setup(
name='tangled.sqlalchemy',
version='0.1a2.dev0',
description='Tangled SQLAlchemy integration',
long_description=open('README.rst').read(),
url='http://tangledframework.org/',
author='Wyatt Baldwin',
author_email='[email protected]',
packages=[
'tangled',
'tangled.sqlalchemy',
],
install_requires=[
'tangled>=0.1.dev0',
'SQLAlchemy',
],
extras_require={
'dev': [
'tangled[dev]',
],
},
classifiers=[
'Development Status :: 1 - Planning',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
],
)
|
mit
|
Python
|
90e144154f4b29ef0bd81c54546325fc62c7b649
|
set the version to 2.1.0
|
xgfone/xutils,xgfone/pycom
|
setup.py
|
setup.py
|
import os.path
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
README_FILE = os.path.join(ROOT_DIR, "README.rst")
with open(README_FILE) as f:
long_description = f.read()
setup(
name="xutils",
version="2.1.0",
description="A Fragmentary Python Library, no any third-part dependencies.",
long_description=long_description,
author="xgfone",
author_email="[email protected]",
maintainer="xgfone",
maintainer_email="[email protected]",
url="https://github.com/xgfone/xutils",
packages=["xutils"],
classifiers=[
"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",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
],
)
|
import os.path
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
ROOT_DIR = os.path.dirname(os.path.abspath(__file__))
README_FILE = os.path.join(ROOT_DIR, "README.rst")
with open(README_FILE) as f:
long_description = f.read()
setup(
name="xutils",
version="2.0.4",
description="A Fragmentary Python Library, no any third-part dependencies.",
long_description=long_description,
author="xgfone",
author_email="[email protected]",
maintainer="xgfone",
maintainer_email="[email protected]",
url="https://github.com/xgfone/xutils",
packages=["xutils"],
classifiers=[
"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",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
],
)
|
mit
|
Python
|
27655d233b8d45e97a713fd6035fd946aa142e1f
|
Change the version number
|
praekeltfoundation/seed-xylem,praekeltfoundation/seed-xylem
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name="seed.xylem",
version='0.0.3',
url='http://github.com/praekeltfoundation/seed-xylem',
license='MIT',
description="A distributed service for managing container databases and shared storage",
author='Colin Alston',
author_email='[email protected]',
packages=find_packages(),
include_package_data=True,
install_requires=[
'Twisted',
'rhumba',
'psycopg2',
'pycrypto'
],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Programming Language :: Python',
'Topic :: System :: Distributed Computing',
],
)
|
from setuptools import setup, find_packages
setup(
name="seed.xylem",
version='0.0.2',
url='http://github.com/praekeltfoundation/seed-xylem',
license='MIT',
description="A distributed service for managing container databases and shared storage",
author='Colin Alston',
author_email='[email protected]',
packages=find_packages(),
include_package_data=True,
install_requires=[
'Twisted',
'rhumba',
'psycopg2',
'pycrypto'
],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: MIT License',
'Operating System :: POSIX',
'Programming Language :: Python',
'Topic :: System :: Distributed Computing',
],
)
|
mit
|
Python
|
effa51d6752775b5dcd1b7c3afd7423414484b2d
|
bump version number
|
ping13/heospy
|
setup.py
|
setup.py
|
from setuptools import setup, find_packages
setup(
name='heospy',
version='0.1.5',
author='Stephan Heuel',
author_email='[email protected]',
packages=find_packages(),
entry_points = {
'console_scripts': ['heos_player=heospy.heos_player:main'],
},
url='http://pypi.python.org/pypi/heospy/',
license='LICENSE.txt',
description='Control Denon\'s HEOS speakers with Python.',
install_requires=[
'six',
'future'
],
long_description=open('Readme.md').read(),
long_description_content_type='text/markdown'
)
|
from setuptools import setup, find_packages
setup(
name='heospy',
version='0.1.4',
author='Stephan Heuel',
author_email='[email protected]',
packages=find_packages(),
entry_points = {
'console_scripts': ['heos_player=heospy.heos_player:main'],
},
url='http://pypi.python.org/pypi/heospy/',
license='LICENSE.txt',
description='Control Denon\'s HEOS speakers with Python.',
install_requires=[
'six',
'future'
],
long_description=open('Readme.md').read(),
long_description_content_type='text/markdown'
)
|
apache-2.0
|
Python
|
bfb0416df3547a7d2aa3dd4e0fc791ff5f7fd97e
|
Fix setup.py information
|
K-Phoen/python-fitparse
|
setup.py
|
setup.py
|
from distutils.core import setup
import sys
import fitparse
requires = None
if sys.version_info < (2, 7):
requires = ['argparse']
setup(
name='fitparse',
version=fitparse.__version__,
description='Python library to parse ANT/Garmin .FIT files',
author='David Cooper, Kévin Gomez',
author_email='[email protected], [email protected]',
url='https://github.com/K-Phoen/python-fitparse',
license=open('LICENSE').read(),
packages=['fitparse'],
scripts=['scripts/fitdump'], # Don't include generate_profile.py
install_requires=requires,
)
|
from distutils.core import setup
import sys
import fitparse
requires = None
if sys.version_info < (2, 7):
requires = ['argparse']
setup(
name='fitparse',
version=fitparse.__version__,
description='Python library to parse ANT/Garmin .FIT files',
author='David Cooper',
author_email='[email protected]',
url='https://www.github.com/dtcooper/python-fitparse',
license=open('LICENSE').read(),
packages=['fitparse'],
scripts=['scripts/fitdump'], # Don't include generate_profile.py
install_requires=requires,
)
|
isc
|
Python
|
2fdce95486934464f1b4bb4e102492af206e8942
|
Bump version number. Semi-important bugfix.
|
startling/cytoplasm
|
setup.py
|
setup.py
|
from distutils.core import setup
setup(
name = "Cytoplasm",
version = "0.06.2",
author = "startling",
author_email = "[email protected]",
url = "http://cytoplasm.somethingsido.com",
keywords = ["blogging", "site compiler", "blog compiler"],
description = "A static, blog-aware website generator written in python.",
packages = ['cytoplasm'],
scripts = ['scripts/cytoplasm'],
install_requires = ['Mako'],
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Internet :: WWW/HTTP :: Site Management",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary",
]
)
|
from distutils.core import setup
setup(
name = "Cytoplasm",
version = "0.06.1",
author = "startling",
author_email = "[email protected]",
url = "http://cytoplasm.somethingsido.com",
keywords = ["blogging", "site compiler", "blog compiler"],
description = "A static, blog-aware website generator written in python.",
packages = ['cytoplasm'],
scripts = ['scripts/cytoplasm'],
install_requires = ['Mako'],
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Internet :: WWW/HTTP :: Site Management",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content :: News/Diary",
]
)
|
mit
|
Python
|
2fcde65de436ace5424ff2eb5893c6eb5cd07002
|
update setup.py to conform better to PyPi standards
|
chrander/pygameday
|
setup.py
|
setup.py
|
# from distutils.core import setup
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name = 'pygameday',
version = '0.3.4',
author = 'Chris Anderson',
author_email = '[email protected]',
packages = setuptools.find_packages(),
url = 'https://github.com/chrander/pygameday',
license='LICENSE.txt',
description = 'Module for scraping, parsing, and ingesting MLB GameDay data into a database',
long_description=long_description,
long_description_content_type='text/markdown',
install_requires=[
'tqdm',
'sqlalchemy',
'python-dateutil',
'requests',
'lxml'
],
download_url = 'https://github.com/chrander/pygameday/tarball/0.3.4',
keywords = ['baseball', 'gameday', 'database', 'scraping'],
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
)
|
from distutils.core import setup
setup(
name = 'pygameday',
version = '0.3',
author = 'Chris Anderson',
author_email = '[email protected]',
packages = ['pygameday'],
url = 'https://github.com/chrander/pygameday',
license='LICENSE.txt',
description = 'Module for scraping, parsing, and ingesting MLB GameDay data into a database',
long_description=open('README.md').read(),
install_requires=[
'python-dateutil',
'sqlalchemy',
'tqdm'
],
download_url = 'https://github.com/chrander/pygameday/tarball/0.3',
keywords = ['baseball', 'gameday', 'database', 'scraping'],
classifiers = [],
)
|
mit
|
Python
|
faf475d93c8d357840959820627aedaaacfe29c8
|
fix for readthedocs
|
Juanlu001/xlwings,alekz112/xlwings,Juanlu001/xlwings,gdementen/xlwings,ston380/xlwings,gdementen/xlwings
|
setup.py
|
setup.py
|
import os
import sys
import re
from distutils.core import setup
# long_description: Take from README file
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
readme = f.read()
# Version Number
with open(os.path.join(os.path.dirname(__file__), 'xlwings', '__init__.py')) as f:
version = re.compile(r".*__version__ = '(.*?)'", re.S).match(f.read()).group(1)
# Dependencies
if sys.platform.startswith('win'):
install_requires = ['comtypes'] # pywin32 can't be installed (yet) with pip
# This places dlls next to python.exe for standard setup and in the parent folder for virtualenv
data_files = [('', ['xlwings32.dll', 'xlwings64.dll'])]
elif sys.platform.startswith('darwin'):
install_requires = ['psutil >= 2.0.0', 'appscript >= 1.0.1']
data_files =[]
else:
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if on_rtd:
data_files = []
else:
raise OSError("currently only Windows and OSX are supported.")
setup(
name='xlwings',
version=version,
url='http://xlwings.org',
license='BSD 3-clause',
author='Zoomer Analytics LLC',
author_email='[email protected]',
description='Make Excel fly: Interact with Excel from Python and vice versa.',
long_description=readme,
data_files=data_files,
packages=['xlwings', 'xlwings.tests'],
package_data={'xlwings': ['*.bas', 'tests/*.xlsx', 'xlwings_template.xltm']},
keywords=['xls', 'excel', 'spreadsheet', 'workbook', 'vba', 'macro'],
install_requires=install_requires,
classifiers=[
'Development Status :: 4 - Beta',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Office/Business :: Financial :: Spreadsheet',
'License :: OSI Approved :: BSD License'],
platforms=['Windows', 'Mac OS X'],
)
|
import os
import sys
import re
from distutils.core import setup
# long_description: Take from README file
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as f:
readme = f.read()
# Version Number
with open(os.path.join(os.path.dirname(__file__), 'xlwings', '__init__.py')) as f:
version = re.compile(r".*__version__ = '(.*?)'", re.S).match(f.read()).group(1)
# Dependencies
if sys.platform.startswith('win'):
install_requires = ['comtypes'] # pywin32 can't be installed (yet) with pip
# This places dlls next to python.exe for standard setup and in the parent folder for virtualenv
data_files = [('', ['xlwings32.dll', 'xlwings64.dll'])]
elif sys.platform.startswith('darwin'):
install_requires = ['psutil >= 2.0.0', 'appscript >= 1.0.1']
data_files =[]
else:
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
data_files = []
if not on_rtd:
raise OSError("currently only Windows and OSX are supported.")
setup(
name='xlwings',
version=version,
url='http://xlwings.org',
license='BSD 3-clause',
author='Zoomer Analytics LLC',
author_email='[email protected]',
description='Make Excel fly: Interact with Excel from Python and vice versa.',
long_description=readme,
data_files=data_files,
packages=['xlwings', 'xlwings.tests'],
package_data={'xlwings': ['*.bas', 'tests/*.xlsx', 'xlwings_template.xltm']},
keywords=['xls', 'excel', 'spreadsheet', 'workbook', 'vba', 'macro'],
install_requires=install_requires,
classifiers=[
'Development Status :: 4 - Beta',
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.1',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Office/Business :: Financial :: Spreadsheet',
'License :: OSI Approved :: BSD License'],
platforms=['Windows', 'Mac OS X'],
)
|
apache-2.0
|
Python
|
aa96f3254241c03f244bdc3ce064b11078400918
|
disable yapf for setup.py
|
hellock/icrawler
|
setup.py
|
setup.py
|
from setuptools import find_packages, setup
def readme():
with open('README.rst') as f:
return f.read()
setup(
name='icrawler',
version='0.3.0',
description='A mini framework of image crawlers',
long_description=readme(),
keywords='image crawler spider',
packages=find_packages(),
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Utilities',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
],
url='https://github.com/hellock/icrawler',
author='Kai Chen',
author_email='[email protected]',
license='MIT',
install_requires=[
'beautifulsoup4>=4.4.1',
'lxml',
'Pillow',
'requests>=2.9.1',
'six>=1.10.0'
],
zip_safe=False
) # yapf: disable
|
from setuptools import find_packages, setup
def readme():
with open('README.rst') as f:
return f.read()
setup(
name='icrawler',
version='0.3.0',
description='A mini framework of image crawlers',
long_description=readme(),
keywords='image crawler spider',
packages=find_packages(),
classifiers=[
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Utilities',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
],
url='https://github.com/hellock/icrawler',
author='Kai Chen',
author_email='[email protected]',
license='MIT',
install_requires=[
'beautifulsoup4>=4.4.1', 'lxml', 'Pillow', 'requests>=2.9.1',
'six>=1.10.0'
],
zip_safe=False)
|
mit
|
Python
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.