fuel-web/fuel_upgrade_system/fuel_package_updates/setup.py
Matthew Mosesohn df1cfd821a Add fuel_package_updates package
New utility packages from a specified repo and
optionally configures it for a specified
Fuel environment.

Added fuel_package_updates to flake8 tests

blueprint package-fuel-components

Change-Id: I2d6d1f0d3823fe53b995d710ebce190ac1dab0b5
2015-04-13 10:29:00 +02:00

50 lines
1.8 KiB
Python

# Copyright 2014 Mirantis, Inc.
#
# 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
import os.path
from setuptools import find_packages
from setuptools import setup
def find_requires():
dir_path = os.path.dirname(os.path.realpath(__file__))
requirements = []
with open(u'{0}/requirements.txt'.format(dir_path), 'r') as reqs:
requirements = reqs.readlines()
return requirements
if __name__ == "__main__":
setup(name='fuel_package_updates',
version='6.0.0',
description='Package update downloader for Fuel Master node',
long_description='Package Update downloader for Fuel Master node',
classifiers=[
"Programming Language :: Python",
"Topic :: System :: Software Distribution"],
author='Mirantis Inc.',
author_email='product@mirantis.com',
url='http://mirantis.com',
keywords='fuel update mirantis',
packages=find_packages(),
zip_safe=False,
install_requires=find_requires(),
include_package_data=True,
entry_points={
'console_scripts': [
'fuel-package-updates = fuel_package_updates.fuel_package_'
'updates:main']})