Nп/п : 58 из 100
 От   : Loris Bennett                       2:5075/128        28 сен 23 09:31:31
 К    : All                                                   28 сен 23 10:34:01
 Тема : Installing package as root to a system directory
----------------------------------------------------------------------------------
                                                                                 
@MSGID: <87msx6lpnw.fsf@zedat.fu-berlin.de>
1dc663ad
@REPLYADDR Loris Bennett
<loris.bennett@fu-berlin.de>
@REPLYTO 2:5075/128 Loris Bennett
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID:
<87msx6lpnw.fsf@zedat.fu-berlin.de>
@TZUTC: 0200
@PID: Gnus/5.13 (Gnus v5.13) Emacs/28.2
(gnu/linux)
@TID: FIDOGATE-5.12-ge4e8b94
Hi,

I use poetry to develop system software packages as a normal user.  To
install the packages I use, again as a normal user

  export PYTHONUSERBASE=/some/path
  pip3 install --user  somepackage.whl

and add /some/path to

  /usr/lib64/python3.6/site-packages/zedat.pth 

This works well enough, but seems to me to be a little clunky, mainly
because the files don`t then belong to root.  The most correct way, in
my case, would probably be to create an RPM out of the Python package,
but that seems like it would be too much overhead.

What other approaches to people use?

Cheers,

Loris

-- 
This signature is currently under constuction.
--- Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
 * Origin: ZEDAT, Freie Universit?t Berlin (2:5075/128)
SEEN-BY: 50/109 301/1 467/888 4500/1 5000/111
5001/100 5005/49 5020/715 830
SEEN-BY: 5020/848 1042 4441 12000 5030/49 1081
5054/8 5061/133 5075/128
SEEN-BY: 5080/102 5083/1 444
@PATH: 5075/128 5020/1042 4441



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх