Remove unneccessary __init__.py files to avoid file conflicts
This commit is contained in:
parent
5408fe3e4f
commit
8c008b5e90
1 changed files with 11 additions and 3 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
Name: python-%{srcname}
|
||||
Version: 0.1.0
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Microsoft Azure Log Analytics Client Library for Python
|
||||
License: MIT
|
||||
URL: https://pypi.org/project/%{srcname}/
|
||||
|
|
@ -47,14 +47,22 @@ rm -f azure_bdist_wheel.py
|
|||
|
||||
%install
|
||||
%pyproject_install
|
||||
%pyproject_save_files azure
|
||||
|
||||
# PEP 420 allows implicit namespace packaging without additional __init__.py
|
||||
# files. Remove unneccessary __init__.py that conflicts with other packages.
|
||||
rm -rf %{buildroot}%{python3_sitelib}/azure/{__init__.py,__pycache__}
|
||||
|
||||
|
||||
%files -n python3-%{srcname} -f %{pyproject_files}
|
||||
%files -n python3-%{srcname}
|
||||
%doc README.rst
|
||||
%{python3_sitelib}/azure/loganalytics
|
||||
%{python3_sitelib}/azure_loganalytics-%{version}.dist-info
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jul 14 2021 Major Hayden <major@mhtx.net> - 0.1.0-3
|
||||
- Remove unneccessary __init__.py files to avoid file conflicts.
|
||||
|
||||
* Wed Jul 07 2021 Major Hayden <major@mhtx.net> - 0.1.0-2
|
||||
- Remove custom wheel builder that adds the azure-nspkg requirement.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue