Files
gentoo/app-emacs/elpy/files/elpy-elpy-rpc.el-elpy-rpc-pythonpath.patch
Maciej Barć bab7113a68 app-emacs/elpy: new package; add version 1.35.0_p20220321
2022.03.21 snapshot

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
2022-04-08 16:00:13 +02:00

13 lines
453 B
Diff

index b228597..aa5fd12 100644
--- a/elpy-rpc.el
+++ b/elpy-rpc.el
@@ -100,7 +100,7 @@ for example), set this to the full interpreter path."
(elpy-rpc-restart)))
:group 'elpy)
-(defcustom elpy-rpc-pythonpath (file-name-directory load-file-name)
+(defcustom elpy-rpc-pythonpath "@PYTHONLIB@/site-packages/"
"A directory to add to the PYTHONPATH for the RPC process.
This should be a directory where the elpy module can be found. If