Go to file
Miro Hrončok 1ea9947b6f Add %python3_platform useful for PYTHONPATH on arched builds
This is mostly used when building Sphinx docs on arched build.

Previously:

  PLATFORM=$(python3 -c "import sysconfig; print(sysconfig.get_platform())")
  export PYTHONPATH=../build/lib.${PLATFORM}-%{python3_version}
  make man

Or:

  PYTHONPATH=`realpath ../build/lib.linux*` make

Or:

  PYTHONPATH=$(echo $PWD/build/lib.linux-*) make html

Now:

  PYTHONPATH=../build/lib.%{python3_platform}-%{python3_version}
2018-07-03 14:21:49 +02:00
.gitignore Initial setup of the repo 2016-01-12 23:33:17 +00:00
macros.pybytecompile Make the pybytecompile version agnostic again 2018-04-10 11:58:45 +02:00
macros.python macros.python*: make LDFLAGS propagated whenever CFLAGS are 2018-03-23 13:33:48 +01:00
macros.python-srpm Add %pypi_source macro. 2018-06-18 12:54:12 -05:00
macros.python2 macros.python*: make LDFLAGS propagated whenever CFLAGS are 2018-03-23 13:33:48 +01:00
macros.python3 Add %python3_platform useful for PYTHONPATH on arched builds 2018-07-03 14:21:49 +02:00
python-rpm-macros.spec Add %python3_platform useful for PYTHONPATH on arched builds 2018-07-03 14:21:49 +02:00
sources Initial setup of the repo 2016-01-12 23:33:17 +00:00