Merge "Implements PBR for packaging"

This commit is contained in:
Zuul 2019-05-14 15:29:17 +00:00 committed by Gerrit Code Review
commit 94f4a6f289
7 changed files with 45 additions and 41 deletions

View File

@ -1,6 +0,0 @@
[style]
based_on_style = pep8
allow_split_before_dict_value = false
blank_line_before_nested_class_or_def = true
blank_line_before_module_docstring = true
split_before_logical_operator = false

View File

@ -1,7 +1,8 @@
click==7.0
jinja2==2.10
jsonschema
netaddr
jsonschema==3.0.1
openpyxl==2.5.4
netaddr==0.7.19
pyyaml==3.12
requests
click
requests==2.21.0
six==1.12.0

38
setup.cfg Normal file
View File

@ -0,0 +1,38 @@
[metadata]
name = spyglass
version = 0.0.1
summary = Airship Manifest Generation
description = Tool to generate Airship documents from data sources
description-file = README.rst
author = The Airship Authors
author-email = airship-discuss@lists.airshipit.org
home-page = https://opendev.org/airship/spyglass
license = Apache-2
requires-python = >=3.5
classifier =
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
[files]
packages =
spyglass
[entry_points]
console_scripts =
spyglass = spyglass.cli:main
data_extractor_plugins =
tugboat = spyglass.data_extractor.plugins.tugboat.tugboat:TugboatPlugin
formation = spyglass.data_extractor.plugins.formation.formation:FormationPlugin
[yapf]
based_on_style = pep8
allow_split_before_dict_value = false
blank_line_before_nested_class_or_def = true
blank_line_before_module_docstring = true
split_before_logical_operator = false

View File

@ -12,35 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from setuptools import find_packages
from setuptools import setup
import setuptools
setup(
name='spyglass',
version='0.0.1',
description='Generate Airship specific yaml manifests from data sources',
url='https://opendev.org/airship/spyglass.git',
python_requires='>=3.5.0',
license='Apache 2.0',
packages=find_packages(),
install_requires=[
'jsonschema',
'Click',
'openpyxl',
'netaddr',
'pyyaml',
'jinja2',
],
entry_points={
'console_scripts': [
'spyglass=spyglass.cli:main',
],
'data_extractor_plugins': [
'formation='
'spyglass.data_extractor.plugins.formation:FormationPlugin',
'tugboat='
'spyglass.data_extractor.plugins.tugboat.tugboat:TugboatPlugin',
]
},
include_package_data=True,
)
setuptools.setup(setup_requires=['pbr>=2.0.0'], pbr=True)