
    Q?ha                     :    S r SrSqSrSSKrSSKrS rS rSS jrg)	z3.3.0as  Helper for the test suite - determines where to write output.

When our test suite runs as source, a script "test_foo.py" will typically
create "test_foo.pdf" alongside it.  But if you are testing a package of
compiled code inside a zip archive, this won't work.  This determines
where to write test suite output, creating a subdirectory of /tmp/ or
whatever if needed.

N)get_rl_tempdirr       c                  X    [        [        S5      (       a  [        R                  " 5       $ g)Ngetuid )hasattrosr        J/var/www/html/env/lib/python3.13/site-packages/reportlab/lib/rltempfile.py
_rl_getuidr      s    r(yy{r
   c                  <   [         cG  [        R                  R                  [        R
                  " 5       S[        [        5       5      -  5      q [         nU (       a!  [        R                  R                  " U4U -   6 n [        R                  " U5        U$ !    U$ = f)NzReportLab_tmp%s)	_rl_tempdirr   pathjointempfile
gettempdirstrr   makedirs)subdirsds     r   r   r      sy    ggll8#6#6#89JSQ[Q]M^9^_ABGGLLA4<1
A HHs   >B Bc                     U (       d  [         R                  " 5       n [        R                  R	                  [        5       U 5      $ N)r   mktempr   r   r   r   )fns    r   get_rl_tempfiler   #   s)    __77<<(,,r
   r   )	__version____doc__r   __all__r   r   r   r   r   r	   r
   r   <module>r      s1    	 
. 
-r
   