Browse Source

Add initial structure

Including required files for installing and
packaging the project.

Change-Id: I592784819e78075bfc08b52a17d1b42e511da95c
changes/88/591288/2
abregman 3 years ago
committed by Arie Bregman
parent
commit
4b3a02a3cd
7 changed files with 134 additions and 0 deletions
  1. +6
    -0
      requirements.txt
  2. +46
    -0
      setup.cfg
  3. +30
    -0
      setup.py
  4. +13
    -0
      tobiko/__init__.py
  5. +13
    -0
      tobiko/common/__init__.py
  6. +13
    -0
      tobiko/tests/__init__.py
  7. +13
    -0
      tobiko/tests/scenario/__init__.py

+ 6
- 0
requirements.txt View File

@ -0,0 +1,6 @@
keystoneauth1
oslo.config
oslo.log
python-heatclient
testtools
tempest

+ 46
- 0
setup.cfg View File

@ -0,0 +1,46 @@
[metadata]
name = tobiko
summary = OpenStack Testing Upgrades Library
description-file =
README.rst
author = OpenStack
classifier =
Environment :: OpenStack
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Programming Language :: Python
Programming Language :: Python :: 2
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3
Programming Language :: Python :: 3.5
keywords =
setup
distutils
[files]
packages =
tobiko
[entry_points]
tempest.test_plugins =
tobiko = tobiko.plugin:TobikoTempestPlugin
[global]
setup-hooks =
pbr.hooks.setup_hook
[build_sphinx]
all_files = 1
build-dir = doc/build
source-dir = doc/source
[egg_info]
tag_build =
tag_date = 0
tag_svn_revision = 0
[wheel]
universal = 1

+ 30
- 0
setup.py View File

@ -0,0 +1,30 @@
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# 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.
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
import setuptools
# In python < 2.7.4, a lazy loading of package `pbr` will break
# setuptools if some other modules registered functions in `atexit`.
# solution from: http://bugs.python.org/issue15881#msg170215
try:
import multiprocessing # noqa
except ImportError:
pass
setuptools.setup(
setup_requires=['pbr'],
include_package_data=True,
pbr=True)

+ 13
- 0
tobiko/__init__.py View File

@ -0,0 +1,13 @@
# Copyright 2018 Red Hat
#
# 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.

+ 13
- 0
tobiko/common/__init__.py View File

@ -0,0 +1,13 @@
# Copyright 2018 Red Hat
#
# 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.

+ 13
- 0
tobiko/tests/__init__.py View File

@ -0,0 +1,13 @@
# Copyright 2018 Red Hat
#
# 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.

+ 13
- 0
tobiko/tests/scenario/__init__.py View File

@ -0,0 +1,13 @@
# Copyright 2018 Red Hat
#
# 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.

Loading…
Cancel
Save