From 5bca2e56fe4c411f4380efacd67496735eb0d043 Mon Sep 17 00:00:00 2001 From: Matěj Cepl Date: Mon, 30 May 2022 15:10:52 +0200 Subject: First three slides added. --- main.pdf | Bin 30477 -> 50895 bytes main.tex | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 56 insertions(+), 1 deletion(-) diff --git a/main.pdf b/main.pdf index fb1be1d..a32009b 100644 Binary files a/main.pdf and b/main.pdf differ diff --git a/main.tex b/main.tex index 1987d79..2c806a8 100644 --- a/main.tex +++ b/main.tex @@ -27,13 +27,68 @@ % \end{frame} \begin{frame} +\frametitle{Problems in the Python non-specific packaging} \begin{itemize} - \item First item + \item Multiple interpreters + \item Complicated commands + \item Not enough checking \end{itemize} \end{frame} +\begin{frame}[fragile] +\frametitle{Multiple interpreters} + +\begin{minipage}[t]{.35\textwidth} +\begin{verbatim} +%build +%if %{with python3} +%py3_build +%else +%py2_build +%endif +\end{verbatim} +\end{minipage} % +\hfill % +\pause % +\begin{minipage}[t]{.35\textwidth} +\begin{verbatim} +%build +%python_build +\end{verbatim} +\end{minipage} + +\end{frame} + +\begin{frame}[fragile] +\frametitle{Complicated commands} + +\begin{verbatim} +%check +export PYTHONPATH=%{buildroot}%{python_sitelib} PYTHONDONTWRITEBYTECODE=1 +pytest --ignore=build.* -v +\end{verbatim} + +And this is still not correct, because it must be done for all +Python versions separately (and those \texttt{--ignore=build*} +must be arranged accordingly). + +\pause +\begin{verbatim} +%check +%pytest +\end{verbatim} + +\end{frame} + +\begin{frame} + \frametitle{Thank you!} + +\end{frame} + + + \begin{frame} \frametitle{Thank you!} My email is mcepl@cepl.eu.\vspace{1em} -- cgit