Esempio n. 1
0
def main(target):
    ver = version.get_project_version("ohmu_common_py/version.py")
    curdir = os.path.dirname(__file__)
    for src_f in FILES:
        with open(os.path.join(curdir, src_f), "r") as fp:
            source = fp.read()
        dst_f = src_f.replace("ohmu_common_py", target)
        dst = os.path.join(curdir, "..", target, dst_f)
        with open(dst, "w") as fp:
            fp.write("# Copied from https://github.com/ohmu/ohmu_common_py {} version {}\n".format(src_f, ver))
            fp.write(source.replace("ohmu_common_py", target))
Esempio n. 2
0
def main(target):
    ver = version.get_project_version("ohmu_common_py/version.py")
    curdir = os.path.dirname(__file__)
    for src_f in FILES:
        with open(os.path.join(curdir, src_f), "r") as fp:
            source = fp.read()
        dst_f = src_f.replace("ohmu_common_py", target)
        dst = os.path.join(curdir, "..", target, dst_f)
        with open(dst, "w") as fp:
            fp.write(
                "# Copied from https://github.com/ohmu/ohmu_common_py {} version {}\n"
                .format(src_f, ver))
            fp.write(source.replace("ohmu_common_py", target))
Esempio n. 3
0
from setuptools import setup, find_packages
import os
import version

readme_path = os.path.join(os.path.dirname(__file__), "README.rst")
with open(readme_path, "r") as fp:
    readme_text = fp.read()

version_for_setup_py = version.get_project_version("pghoard/version.py")
version_for_setup_py = ".dev".join(version_for_setup_py.split("-", 2)[:2])

setup(
    name="pghoard",
    version=version_for_setup_py,
    zip_safe=False,
    packages=find_packages(exclude=["test"]),
    install_requires=[
        "cryptography",
        "psycopg2 >= 2.0.0",
        "python-dateutil",
        "python-snappy >= 0.5",
        "requests >= 1.2.0",
    ],
    extras_require={},
    dependency_links=[],
    package_data={},
    entry_points={
        "console_scripts": [
            "pghoard = pghoard.pghoard:main",
            "pghoard_archive_cleanup = pghoard.archive_cleanup:main",
            "pghoard_archive_sync = pghoard.archive_sync:main",
Esempio n. 4
0
"""
karapace - setup

Copyright (c) 2019 Aiven Ltd
See LICENSE for details
"""
from setuptools import find_packages, setup

import os
import version

readme_path = os.path.join(os.path.dirname(__file__), "README.rst")
with open(readme_path, "r") as fp:
    readme_text = fp.read()

version_for_setup_py = version.get_project_version("karapace/version.py")
version_for_setup_py = ".dev".join(version_for_setup_py.split("-", 2)[:2])

setup(
    name="karapace",
    version=version_for_setup_py,
    zip_safe=False,
    packages=find_packages(exclude=["test"]),
    install_requires=["aiohttp"],
    extras_require={},
    dependency_links=[],
    package_data={},
    entry_points={
        "console_scripts": [
            "karapace = karapace.karapace_all:main",
            "karapace_schema_backup = karapace.schema_backup:main",
Esempio n. 5
0
    REQUIRES = LATEST

setup(
    author="Aiven",
    author_email="*****@*****.**",
    entry_points={
        "console_scripts": [
            "avn = aiven.client.__main__:main",
        ],
    },
    install_requires=REQUIRES,
    license="Apache 2.0",
    name="aiven-client",
    packages=find_packages(exclude=["tests"]),
    platforms=["POSIX", "MacOS", "Windows"],
    description="Aiven.io client library / command-line client",
    long_description=open("README.rst").read(),
    url="https://aiven.io/",
    version=version.get_project_version("aiven/client/version.py"),
    classifiers=[
        "Development Status :: 5 - Production/Stable",
        "Intended Audience :: Developers",
        "Topic :: Software Development :: Libraries",
        "License :: OSI Approved :: Apache Software License",
        "Programming Language :: Python :: 3.6",
        "Programming Language :: Python :: 3.7",
        "Programming Language :: Python :: 3.8",
        "Programming Language :: Python :: 3.9",
    ],
)
Esempio n. 6
0
from setuptools import setup, find_packages
import os
import sys
import version

readme_path = os.path.join(os.path.dirname(__file__), "README.rst")
with open(readme_path, "r") as fp:
    readme_text = fp.read()

version_for_setup_py = version.get_project_version("pglookout/version.py")
version_for_setup_py = ".dev".join(version_for_setup_py.split("-", 2)[:2])

requires = [
    "psycopg2 >= 2.0.0",
    "requests >= 1.2.0",
]

if sys.version_info[0] == 2:
    requires.append("futures")

setup(
    name="pglookout",
    version=version_for_setup_py,
    zip_safe=False,
    packages=find_packages(exclude=["test"]),
    install_requires=requires,
    extras_require={},
    dependency_links=[],
    package_data={},
    data_files=[],
    entry_points={
Esempio n. 7
0
File: setup.py Progetto: stisti/poni
    "GitPython>=0.3.1",
    "argh>=0.13",
]

try:
    import json
except ImportError:
    depends.append("simplejson")

try:
    import argparse
except ImportError:
    depends.append("argparse")

setup(name='poni',
      version=version.get_project_version("poni/version.py"),
      description='system configuration software',
      long_description=long_desc,
      author="Mika Eloranta",
      author_email="*****@*****.**",
      url="http://github.com/melor/poni",
      classifiers=[
          "Programming Language :: Python",
          "Development Status :: 4 - Beta",
          "License :: OSI Approved :: Apache Software License",
          "Intended Audience :: Developers",
          "Intended Audience :: System Administrators",
          "Operating System :: OS Independent",
          "Topic :: System :: Installation/Setup",
          "Topic :: System :: Software Distribution",
          "Topic :: Software Development :: Libraries :: Python Modules",
Esempio n. 8
0
    ]

try:
    import json
except ImportError:
    depends.append("simplejson")

try:
    import argparse
except ImportError:
    depends.append("argparse")


setup(
    name = 'poni',
    version = version.get_project_version("poni/version.py"),
    description = 'system configuration software',
    long_description = long_desc,
    author = "Mika Eloranta",
    author_email = "*****@*****.**",
    url = "http://github.com/melor/poni",
    classifiers = [
        "Programming Language :: Python",
        "Development Status :: 4 - Beta",
        "License :: OSI Approved :: Apache Software License",
        "Intended Audience :: Developers",
        "Intended Audience :: System Administrators",
        "Operating System :: OS Independent",
        "Topic :: System :: Installation/Setup",
        "Topic :: System :: Software Distribution",
        "Topic :: Software Development :: Libraries :: Python Modules",
Esempio n. 9
0
from setuptools import setup, find_packages
import os
import version


readme_path = os.path.join(os.path.dirname(__file__), "README.rst")
with open(readme_path, "r") as fp:
    readme_text = fp.read()


version_for_setup_py = version.get_project_version("pghoard/version.py")
version_for_setup_py = ".dev".join(version_for_setup_py.split("-", 2)[:2])


setup(
    name="pghoard",
    version=version_for_setup_py,
    zip_safe=False,
    packages=find_packages(exclude=["test"]),
    install_requires=[
        "cryptography",
        "psycopg2 >= 2.0.0",
        "python-dateutil",
        "python-snappy >= 0.5",
        "requests >= 1.2.0",
    ],
    extras_require={},
    dependency_links=[],
    package_data={},
    entry_points={
        "console_scripts": [
Esempio n. 10
0
# Copyright (c) 2020 Aiven, Helsinki, Finland. https://aiven.io/

from setuptools import setup
import version

version = version.get_project_version("rpm_s3_mirror/version.py")

setup(
    name="rpm_s3_mirror",
    packages=["rpm_s3_mirror"],
    version=version,
    description="Tool for syncing RPM repositories with S3",
    license="Apache 2.0",
    author="Aiven",
    author_email="*****@*****.**",
    url="https://github.com/aiven/rpm-s3-mirror",
    install_requires=[
        "defusedxml",
        "requests",
        "python-dateutil",
        "boto3",
        "lxml",
    ],
    entry_points={
        "console_scripts": [
            "rpm_s3_mirror = rpm_s3_mirror.__main__:main",
        ],
    },
    classifiers=[
        "Intended Audience :: Developers",
        "Intended Audience :: Information Technology",
Esempio n. 11
0
from setuptools import setup, find_packages
import os
import sys
import version


readme_path = os.path.join(os.path.dirname(__file__), "README.rst")
with open(readme_path, "r") as fp:
    readme_text = fp.read()


version_for_setup_py = version.get_project_version("pglookout/version.py")
version_for_setup_py = ".dev".join(version_for_setup_py.split("-", 2)[:2])


requires = [
    "psycopg2 >= 2.0.0",
    "requests >= 1.2.0",
]

if sys.version_info[0] == 2:
    requires.append("futures")


setup(
    name="pglookout",
    version=version_for_setup_py,
    zip_safe=False,
    packages=find_packages(exclude=["test"]),
    install_requires=requires,
    extras_require={},
Esempio n. 12
0
    REQUIRES = LATEST


setup(
    author="Aiven",
    author_email="*****@*****.**",
    entry_points={
        "console_scripts": [
            "avn = aiven.client.__main__:main",
        ],
    },
    install_requires=REQUIRES,
    license="Apache 2.0",
    name="aiven-client",
    packages=find_packages(exclude=["tests"]),
    platforms=["POSIX", "MacOS", "Windows"],
    description="Aiven.io client library / command-line client",
    long_description=open("README.rst").read(),
    url="https://aiven.io/",
    version=version.get_project_version("aiven/client/version.py"),
    classifiers=[
        'Development Status :: 5 - Production/Stable',
        'Intended Audience :: Developers',
        'Topic :: Software Development :: Libraries',
        'License :: OSI Approved :: Apache Software License',
        'Programming Language :: Python :: 2.7',
        'Programming Language :: Python :: 3.4',
        'Programming Language :: Python :: 3.5',
    ],
)