os-vif/setup.py
Takashi Kajinami 5c41f9f700 Fix missing or unnecessary dependencies
This fixes the following problems with current requirements and test
requirements.

- netaddr is not used

- oslo.serialization and oslo.utils are imported but are not listed in
  requirements.

This also fixes the workaround for python 2 from setup.py because
python 2 support was removed some time ago.

In addition, the described behavior of pip was already fixed in
recent versions.

Change-Id: I63a56adf73c221c8f5f725c2689ddf953f90c654
2024-02-19 10:40:44 +09:00

22 lines
698 B
Python

# 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.
import setuptools
setuptools.setup(
setup_requires=['pbr>=2.0.0'],
pbr=True)