Example #1
0
def read(fname):
    path = os.path.join(os.path.dirname(__file__), fname)
    f = open(path)
    return f.read()

install_requires = []
pyversion = sys.version_info[:2]
if pyversion < (2, 7) or (3, 0) <= pyversion <= (3, 1):
    install_requires.append('argparse')

#
# Add libraries that are not part of install_requires
#
vendorize([
    ('remoto', '0.0.15'),
])


setup(
    name='ceph-deploy',
    version=ceph_deploy.__version__,
    packages=find_packages(),

    author='Inktank',
    author_email='*****@*****.**',
    description='Deploy Ceph with minimal infrastructure',
    long_description=read('README.rst'),
    license='MIT',
    keywords='ceph deploy',
    url="https://github.com/ceph/ceph-deploy",
Example #2
0
install_requires = []
pyversion = sys.version_info[:2]
if pyversion < (2, 7) or (3, 0) <= pyversion <= (3, 1):
    install_requires.append('argparse')

#
# Add libraries that are not part of install_requires but only if we really
# want to, specified by the environment flag
#

if os.environ.get('CEPH_DEPLOY_NO_VENDOR'):
    clean_vendor('remoto')
else:
    vendorize([
        ('remoto', '0.0.29', ['python', 'vendor.py']),
    ])

setup(
    name='ceph-deploy',
    version=ceph_deploy.__version__,
    packages=find_packages(),
    author='Inktank',
    author_email='*****@*****.**',
    description='Deploy Ceph with minimal infrastructure',
    long_description=read('README.rst'),
    license='MIT',
    keywords='ceph deploy',
    url="https://github.com/ceph/ceph-deploy",
    install_requires=[
        'setuptools',
Example #3
0
def read(fname):
    path = os.path.join(os.path.dirname(__file__), fname)
    f = open(path)
    return f.read()


install_requires = []
pyversion = sys.version_info[:2]
if pyversion < (2, 7) or (3, 0) <= pyversion <= (3, 1):
    install_requires.append('argparse')

#
# Add libraries that are not part of install_requires
#
vendorize([
    ('remoto', '0.0.11'),
])

setup(
    name='ceph-deploy',
    version=ceph_deploy.__version__,
    packages=find_packages(),
    author='Inktank',
    author_email='*****@*****.**',
    description='Deploy Ceph with minimal infrastructure',
    long_description=read('README.rst'),
    license='MIT',
    keywords='ceph deploy',
    url="https://github.com/ceph/ceph-deploy",
    install_requires=[
        'setuptools',
Example #4
0
install_requires = []
pyversion = sys.version_info[:2]
if pyversion < (2, 7) or (3, 0) <= pyversion <= (3, 1):
    install_requires.append('argparse')

#
# Add libraries that are not part of install_requires but only if we really
# want to, specified by the environment flag
#

if os.environ.get('CEPH_DEPLOY_NO_VENDOR'):
    clean_vendor('remoto')
else:
    vendorize([
        ('remoto', '0.0.29', ['python', 'vendor.py']),
    ])


setup(
    name='ceph-deploy',
    version=ceph_deploy.__version__,
    packages=find_packages(),

    author='Inktank',
    author_email='*****@*****.**',
    description='Deploy Ceph with minimal infrastructure',
    long_description=read('README.rst'),
    license='MIT',
    keywords='ceph deploy',
    url="https://github.com/ceph/ceph-deploy",
Example #5
0
if pyversion < (2, 7) or (3, 0) <= pyversion <= (3, 1):
    install_requires.append('argparse')

#
# Add libraries that are not part of install_requires but only if we really
# want to, specified by the environment flag
#

if os.environ.get('CEPH_DEPLOY_NO_VENDOR'):
    clean_vendor('remoto')
else:
    # XXX this should *not* point to master, but a tag. Since remoto 0.0.17 lacks
    # the feature to call `vendor.py` and a release for a non-package feature was not
    # ideal then the temporary fix is to point to master until a new remoto release
    vendorize([
        ('remoto', 'master', ['python', 'vendor.py']),
    ])


setup(
    name='ceph-deploy',
    version=ceph_deploy.__version__,
    packages=find_packages(),

    author='Inktank',
    author_email='*****@*****.**',
    description='Deploy Ceph with minimal infrastructure',
    long_description=read('README.rst'),
    license='MIT',
    keywords='ceph deploy',
    url="https://github.com/ceph/ceph-deploy",
Example #6
0
if pyversion < (2, 7) or (3, 0) <= pyversion <= (3, 1):
    install_requires.append('argparse')

#
# Add libraries that are not part of install_requires but only if we really
# want to, specified by the environment flag
#

if os.environ.get('CEPH_DEPLOY_NO_VENDOR'):
    clean_vendor('remoto')
else:
    # XXX this should *not* point to master, but a tag. Since remoto 0.0.17 lacks
    # the feature to call `vendor.py` and a release for a non-package feature was not
    # ideal then the temporary fix is to point to master until a new remoto release
    vendorize([
        ('remoto', 'master', ['python', 'vendor.py']),
    ])

setup(
    name='ceph-deploy',
    version=ceph_deploy.__version__,
    packages=find_packages(),
    author='Inktank',
    author_email='*****@*****.**',
    description='Deploy Ceph with minimal infrastructure',
    long_description=read('README.rst'),
    license='MIT',
    keywords='ceph deploy',
    url="https://github.com/ceph/ceph-deploy",
    install_requires=[
        'setuptools',
Example #7
0
module_file = open("remoto/__init__.py").read()
metadata = dict(re.findall(r"__([a-z]+)__\s*=\s*['\"]([^'\"]*)['\"]", module_file))
long_description = open('README.rst').read()

from setuptools import setup, find_packages

#
# Add libraries that are not part of install_requires but only if we really
# want to, specified by the environment flag
#

if os.environ.get('REMOTO_NO_VENDOR'):
    clean_vendor('execnet')
else:
    vendorize([
        ('execnet', '1.2post2', 'https://github.com/alfredodeza/execnet'),
    ])


setup(
    name = 'remoto',
    description = 'Execute remote commands or processes.',
    packages = find_packages(),
    author = 'Alfredo Deza',
    author_email = 'contact [at] deza.pe',
    version = metadata['version'],
    url = 'http://github.com/alfredodeza/remoto',
    license = "MIT",
    zip_safe = False,
    keywords = "remote, commands, unix, ssh, socket, execute, terminal",
    long_description = long_description,