c867490aa7
Since setuptools release (61.0.0) ansible-role-lunasa-hsm's package build command (python3 setup.py sdist bdist_wheel) is finding 'defaults' directory as a python module and including it in the built package. That's not correct as defaults is just providing data files properly managed as data_files and there is no actual python module, setup.py is just used as build/install tooling. Change-Id: I759d63ede6b9d5ebedf3ccc7dcb808055a0d009a
21 lines
712 B
Python
21 lines
712 B
Python
# Copyright Red Hat, Inc. All Rights Reserved.
|
|
#
|
|
# 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'],
|
|
pbr=True,
|
|
py_modules=[])
|