
Up to now, we were using a consolidated openstack-puppet-modules repository. Since we are moving to individual packages, that repo will no longer be maintained, and we will switch to cloning the puppet modules themselves. The code to install Puppet modules has been adapted from https://github.com/openstack/puppet-openstack-integration/blob/master/functions, to also benefit from the Zuul cache for OpenStack puppet modules. In the current patch, all Puppet modules are taken from their master branches. This is consistent with the way they are handled in RDO Trunk packaging. Change-Id: I7cc6f5ec138dd7e8d9ef06fc7e59ad8e3d5d58e8
55 lines
1.8 KiB
Python
55 lines
1.8 KiB
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
# implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
import os
|
|
|
|
from setuptools import setup
|
|
from setuptools import find_packages
|
|
|
|
from packstack import version
|
|
|
|
|
|
# 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="packstack",
|
|
version=version.version_string(),
|
|
author="Derek Higgins",
|
|
author_email="derekh@redhat.com",
|
|
description=("A utility to install OpenStack"),
|
|
license="ASL 2.0",
|
|
keywords="openstack",
|
|
url="https://github.com/openstack/packstack",
|
|
packages=find_packages('.') + ['docs'],
|
|
package_data={'docs': ['docs/packstack.rst']},
|
|
include_package_data=True,
|
|
long_description=read('README.md'),
|
|
zip_safe=False,
|
|
install_requires=['netaddr>=0.7.6', 'pyOpenSSL<15.0.0', 'PyYAML>=3.10',
|
|
'docutils>=0.11', 'cryptography<=1.2.2,>=1.0'],
|
|
classifiers=[
|
|
"Development Status :: 3 - Alpha",
|
|
"Topic :: Utilities",
|
|
"License :: OSI Approved :: Apache Software License",
|
|
],
|
|
scripts=["bin/packstack"]
|
|
)
|