Use flit_core to build the wheel
python3-flit is too old in EPEL 8. It's not necessary in Fedora, either. It just pulls in extra dependencies.
This commit is contained in:
parent
d49fb37ae7
commit
40b6f6a0e4
@ -16,7 +16,7 @@ BuildArch: noarch
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-devel
|
||||
|
||||
BuildRequires: python3-flit
|
||||
BuildRequires: python3-flit-core
|
||||
|
||||
%if %{with docs}
|
||||
BuildRequires: python3-sphinx
|
||||
@ -62,7 +62,7 @@ rm -f %{pypi_name}/*.exe
|
||||
# and upstream does not want one
|
||||
# https://github.com/takluyver/flit/issues/74
|
||||
# we use flit to create a wheel from sources
|
||||
flit build --format wheel
|
||||
%{python3} -m flit_core.wheel
|
||||
|
||||
%if %{with docs}
|
||||
# generate html docs
|
||||
|
Loading…
Reference in New Issue
Block a user