Use $PWD consistently
This commit is contained in:
parent
37d67a0a72
commit
38f1540e90
@ -88,14 +88,14 @@ export FLIT_NO_NETWORK=1
|
||||
# first, build flit_core with self
|
||||
# TODO do it in a less hacky way, this is reconstructed from pyoroject.toml
|
||||
cd flit_core
|
||||
PYTHONPATH=$(pwd) %{python3} -c 'from flit_core.build_thyself import build_wheel; build_wheel(".")'
|
||||
PYTHONPATH=$PWD %{python3} -c 'from flit_core.build_thyself import build_wheel; build_wheel(".")'
|
||||
|
||||
# %%py3_install_wheel unfortunately hardcodes installing from dist/
|
||||
mkdir ../dist
|
||||
mv flit_core-%{version}-py2.py3-none-any.whl ../dist
|
||||
cd -
|
||||
|
||||
PYTHONPATH=$(pwd):$(pwd)/flit_core %{python3} -m flit build --format wheel
|
||||
PYTHONPATH=$PWD:$PWD/flit_core %{python3} -m flit build --format wheel
|
||||
|
||||
|
||||
%install
|
||||
|
Loading…
Reference in New Issue
Block a user