import os

from setuptools import setup, find_packages

from dist_utils import check_pip_version
from dist_utils import fetch_requirements
from dist_utils import parse_version_string

check_pip_version()

BASE_DIR = os.path.dirname(os.path.abspath(__file__))
REQUIREMENTS_FILE = os.path.join(BASE_DIR, 'requirements.txt')
INIT_FILE = os.path.join(BASE_DIR, 'st2auth_keystone_backend', '__init__.py')

version = parse_version_string(INIT_FILE)
install_reqs, dep_links = fetch_requirements(REQUIREMENTS_FILE)

setup(
    name='st2-auth-backend-keystone',
    version=version,
    description='StackStorm authentication backend which reads credentials from an OpenStack Keystone instance.',
    author='StackStorm, Inc.',
    author_email='*****@*****.**',
    url='https://github.com/StackStorm/st2-auth-backend-keystone',
    license='Apache License (2.0)',
    download_url='https://github.com/StackStorm/st2-auth-backend-keystone/tarball/master',
    classifiers=[
        'Development Status :: 3 - Alpha',
        'License :: OSI Approved :: Apache Software License',
        'Programming Language :: Python',
示例#2
0
import os

from setuptools import setup, find_packages

from dist_utils import check_pip_version
from dist_utils import fetch_requirements
from dist_utils import parse_version_string

check_pip_version()

BASE_DIR = os.path.dirname(os.path.abspath(__file__))
REQUIREMENTS_FILE = os.path.join(BASE_DIR, "requirements.txt")
INIT_FILE = os.path.join(BASE_DIR, "st2rbac_backend", "__init__.py")

version = parse_version_string(INIT_FILE)
install_reqs, dep_links = fetch_requirements(REQUIREMENTS_FILE)

setup(
    name="st2-rbac-backend",
    version=version,
    description="RBAC backend for StackStorm.",
    author="StackStorm, Inc.",
    author_email="*****@*****.**",
    url="https://stackstorm.com/",
    license="Apache License (2.0)",
    download_url="https://stackstorm.com/",
    classifiers=[
        "License :: OSI Approved :: Apache Software License",
        "Programming Language :: Python",
        "Programming Language :: Python :: 2",