blob: 7cb6f3a8dccd4750ecaedce9480b285ea4cfa6a6 [file] [log] [blame]
# Default python distutils configuration
variables:
# When building for python2 distutils, simply
# override this in the element declaration
python: python3
python-build: |
%{python} setup.py build
install-args: |
--prefix "%{prefix}" \
--root "%{install-root}"
python-install: |
%{python} setup.py install %{install-args}
config:
# Commands for configuring the software
#
configure-commands: []
# Commands for building the software
#
build-commands:
- |
%{python-build}
# Commands for installing the software into a
# destination folder
#
install-commands:
- |
%{python-install}
# Commands for stripping debugging information out of
# installed binaries
#
strip-commands:
- |
%{strip-binaries}
- |
%{fix-pyc-timestamps}