]> crepu.dev Git - config.git/blame - djavu-asus/elpa/pyvenv-20211014.707/pyvenv.elc
Actualizado el Readme
[config.git] / djavu-asus / elpa / pyvenv-20211014.707 / pyvenv.elc
CommitLineData
53e6db90
DC
1;ELC\1c\0\0\0
2;;; Compiled
3;;; in Emacs version 28.2
4;;; with all optimizations.
5
6
7
8(byte-code "\300\301!\210\300\302!\210\300\303!\210\304\305\306\307\310\311\312\313&\a\210\314\315\316\317\320DD\321\322\315\323\324\312\305& \210\314\325\316\317\326DD\327\322\330\323\324\312\305& \210\314\331\316\317\332DD\333\322\334\312\305&\a\210\314\335\316\317\336DD\337\322\340\323\341\312\305& \210\314\342\316\317\343DD\344\322\345\312\305&\a\210\314\346\316\317\347DD\350\322\351\312\305&\a\207" [require eshell json subr-x custom-declare-group pyvenv nil "Python Virtual Environment Interface." :prefix "pyvenv-" :group languages custom-declare-variable pyvenv-workon funcall function #[0 "\300\207" [nil] 1 #1=""] "The intended virtualenv in the virtualenvwrapper directory.\n\nThis is rarely useful to set globally. Rather, set this in file-\nor directory-local variables using \\[add-file-local-variable] or\n\\[add-dir-local-variable].\n\nWhen `pyvenv-mode' is enabled, pyvenv will switch to this\nvirtualenv. If a virtualenv is already enabled, it will ask first." :type :safe stringp pyvenv-activate #[0 "\300\207" [nil] 1 #1#] "The intended virtualenv directory.\n\nThis is rarely useful to set globally. Rather, set this in file-\nor directory-local variables using \\[add-file-local-variable] or\n\\[add-dir-local-variable].\n\nWhen `pyvenv-mode' is enabled, pyvenv will switch to this\nvirtualenv. If a virtualenv is already enabled, it will ask first." directory pyvenv-tracking-ask-before-change #[0 "\300\207" [nil] 1 #1#] "Non-nil means pyvenv will ask before automatically changing a virtualenv.\n\nThis can happen when a new file is opened with a buffer-local\nvalue (from file-local or directory-local variables) for\n`pyvenv-workon' or `pyvenv-workon', or if `pyvenv-tracking-mode'\nis active, after every command." boolean pyvenv-virtualenvwrapper-python #[0 "\300\301!\206\1f\0\302\303!\206\1f\0\302\304!\206\1f\0\302\305!\206\1f\0\302\306!\206\1f\0\304\207" [getenv "VIRTUALENVWRAPPER_PYTHON" executable-find "python3" "python" "py" "pythonw"] 2 #1#] "The python process which has access to the virtualenvwrapper module.\n\nThis should be $VIRTUALENVWRAPPER_PYTHON outside of Emacs, but\nvirtualenvwrapper.sh does not export that variable. We make an\neducated guess, but that can be off." (file :must-match t) file-directory-p pyvenv-exec-shell #[0 "\301\302!\206\r\0\301\303!\206\r\0\b\207" [shell-file-name executable-find "bash" "sh"] 2 #1#] "The path to a POSIX compliant shell to use for running\n virtualenv hooks. Useful if you use a non-POSIX shell (e.g.\n fish)." (file :must-match t) pyvenv-default-virtual-env-name #[0 "\300\207" [nil] 1 #1#] "Default directory to use when prompting for a virtualenv directory\nin `pyvenv-activate'." string] 10)
9#@112 The current virtual environment.
10
11Do not set this variable directly; use `pyvenv-activate' or
12`pyvenv-workon'.\1f
13(defvar pyvenv-virtual-env nil (#$ . 2755))
14#@141 Directories added to PATH by the current virtual environment.
15
16Do not set this variable directly; use `pyvenv-activate' or
17`pyvenv-workon'.\1f
18(defvar pyvenv-virtual-env-path-directories nil (#$ . 2917))
19#@102 The name of the current virtual environment.
20
21This is usually the base name of `pyvenv-virtual-env'.\1f
22(defvar pyvenv-virtual-env-name nil (#$ . 3125))
23#@52 Hooks run before a virtual environment is created.\1f
24(defvar pyvenv-pre-create-hooks nil (#$ . 3281))
25#@51 Hooks run after a virtual environment is created.\1f
26(defvar pyvenv-post-create-hooks nil (#$ . 3387))
27#@92 Hooks run before a virtual environment is activated.
28
29`pyvenv-virtual-env' is already set.\1f
30(defvar pyvenv-pre-activate-hooks nil (#$ . 3493))
31#@83 Hooks run after a virtual environment is activated.
32
33`pyvenv-virtual-env' is set.\1f
34(defvar pyvenv-post-activate-hooks nil (#$ . 3641))
35#@86 Hooks run before a virtual environment is deactivated.
36
37`pyvenv-virtual-env' is set.\1f
38(defvar pyvenv-pre-deactivate-hooks nil (#$ . 3781))
39#@91 Hooks run after a virtual environment is deactivated.
40
41`pyvenv-virtual-env' is still set.\1f
42(defvar pyvenv-post-deactivate-hooks nil (#$ . 3925))
43#@75 How `pyvenv-mode' will indicate the current environment in the mode line.\1f
44(defvar pyvenv-mode-line-indicator '(pyvenv-virtual-env-name ("[" pyvenv-virtual-env-name "] ")) (#$ . 4075))
45#@99 The old process environment that needs to be restored after deactivating the current environment.\1f
46(defvar pyvenv-old-process-environment nil (#$ . 4265))
47#@85 Create virtualenv. VENV-NAME PYTHON-EXECUTABLE.
48
49(fn VENV-NAME PYTHON-EXECUTABLE)\1f
50(defalias 'pyvenv-create #[514 "\300\301 !\ 2P\302\ 1!\204b\0\303\304!\210\305\306!\2031\0r\307\310!q\210\311\306\312\313\211\314\ 6\a\ 6\a&\a\210\315p!\210)\202^\0\311\ 2\312\211\211\316\317\320&\a\321U\203Z\0r\307\322!q\210\311\ 2\312\313\211\316\317\ 6\a&\a\210\315p!\210)\202^\0\323\324!\210\303\325!\210\326\ 1!\207" [file-name-as-directory pyvenv-workon-home file-exists-p run-hooks pyvenv-pre-create-hooks executable-find "virtualenv" generate-new-buffer "*virtualenv*" call-process nil t "-p" display-buffer "-m" "venv" "-h" 0 "*venv*" error "Pyvenv necessitates the 'virtualenv' python package" pyvenv-post-create-hooks pyvenv-activate] 11 (#$ . 4425) (byte-code "\301\302!\b\205\n\0\303\b!\b\205\11\0\304\b!\305\306\ 3\307\211\ 5%\266\202D\207" [pyvenv-virtualenvwrapper-python read-from-minibuffer "Name of virtual environment: " file-name-directory file-name-base read-file-name "Python interpreter to use: " nil] 9)])
51#@64 Activate the virtual environment in DIRECTORY.
52
53(fn DIRECTORY)\1f
54(defalias 'pyvenv-activate #[257 "\306\ 1!\262\ 1\307 \210\310\ 1!\10\311\312\ 2!!\11\211\12\211\13 \313\235\204&\0\f\2030\0\f \230\2030\0\311\312\314\312\ 4!!!!\11\315\316\317\b#\210\320\321!\210\322\ 1!\15\323\324\323!B\325CD\16\e\326\325\ 2\"\210\326\323\317\"\210\327\r!\210\315\330\331\"\210\320\332!\207" [pyvenv-virtual-env pyvenv-virtual-env-name python-shell-virtualenv-path python-shell-virtualenv-root pyvenv-default-virtual-env-name pyvenv-virtual-env-path-directories expand-file-name pyvenv-deactivate file-name-as-directory file-name-nondirectory directory-file-name ("venv" ".venv" "env" ".env") file-name-directory pyvenv-run-virtualenvwrapper-hook "pre_activate" nil run-hooks pyvenv-pre-activate-hooks pyvenv--virtual-env-bin-dirs "PYTHONHOME" getenv "VIRTUAL_ENV" setenv pyvenv--add-dirs-to-PATH "post_activate" propagate-env pyvenv-post-activate-hooks pyvenv-old-process-environment] 6 (#$ . 5407) (byte-code "\301\302\303\211\211\b%C\207" [pyvenv-default-virtual-env-name read-directory-name "Activate venv: " nil] 6)])
55#@45 Deactivate any current virtual environment.\1f
56(defalias 'pyvenv-deactivate #[0 "\b\2033\0\306\307\310\"\210\311\312!\210\313\314\b!!\210 \211\203(\0\211@\315\ 1@\ 2A\"\210\ 1A\266\202\202\14\0\210\306\316\317\b#\210\311\320!\210\317\211\10\12\317\211\13\14\317\211\15\207" [pyvenv-virtual-env pyvenv-old-process-environment pyvenv-virtual-env-path-directories pyvenv-virtual-env-name python-shell-virtualenv-root python-shell-virtualenv-path pyvenv-run-virtualenvwrapper-hook "pre_deactivate" propagate-env run-hooks pyvenv-pre-deactivate-hooks pyvenv--remove-dirs-from-PATH pyvenv--virtual-env-bin-dirs setenv "post_deactivate" nil pyvenv-post-deactivate-hooks] 6 (#$ . 6483) nil])
57#@37 Prompt history for `pyvenv-workon'.\1f
58(defvar pyvenv-workon-history nil (#$ . 7146))
59#@172 Activate a virtual environment from $WORKON_HOME.
60
61If the virtual environment NAME is already active, this function
62does not try to reactivate the environment.
63
64(fn NAME)\1f
65(defalias 'pyvenv-workon #[257 "\211\301\302\bE\235?\205\12\0\303\304\305\306 \ 4#!\207" [pyvenv-virtual-env-name "" nil pyvenv-activate format "%s/%s" pyvenv-workon-home] 6 (#$ . 7236) (byte-code "\300\301\302 \303\304\303\305\303\211&\bC\207" [completing-read "Work on: " pyvenv-virtualenv-list nil t pyvenv-workon-history] 9)])
66#@145 Prompt the user for a name in $WORKON_HOME.
67
68If NOERROR is set, do not raise an error if WORKON_HOME is not
69configured.
70
71(fn &optional NOERROR)\1f
72(defalias 'pyvenv-virtualenv-list #[256 "\300 \301\302\ 2!\204\12\0\ 2?\205X\0\303\304!\207\305\ 2!\211\203S\0\211@\306\307\310\ 6\ 6\ 4#!\204G\0\306\307\311\ 6\ 6\ 4#!\204G\0\306\307\312\ 6\ 6\ 4#!\204G\0\306\307\313\ 6\ 6\ 4#!\203L\0\211\ 3B\262\ 3\ 1A\266\202\202\15\0\210\314\ 1\315\"\207" [pyvenv-workon-home nil file-directory-p error "Can't find a workon home directory, set $WORKON_HOME" directory-files file-exists-p format "%s/%s/bin/activate" "%s/%s/bin/python" "%s/%s/Scripts/activate.bat" "%s/%s/python.exe" sort #[514 "\ 1\227\ 1\227\231\207" [] 4 "\n\n(fn A B)"]] 10 (#$ . 7738)])
73(define-widget 'pyvenv-workon 'choice "Select an available virtualenv from virtualenvwrapper." :convert-widget #[257 "\300\ 1!\262\ 1\301\ 1\302\303\304\305\306\307!\"B#\210\310\ 1!\207" [widget-copy widget-put :args (const :tag "None" nil) mapcar #[257 "\300\ 1D\207" [const] 3 "\n\n(fn ENV)"] pyvenv-virtualenv-list t widget-types-convert-widget] 9 "\n\n(fn WIDGET)"] :prompt-value #[1028 "\300\ 3\301\302\303!B\304\303$\211\301\232?\205\12\0\211\207" [completing-read "None" pyvenv-virtualenv-list t nil] 9 "\n\n(fn WIDGET PROMPT VALUE UNBOUND)"])
74#@36 The mode keymap for `pyvenv-mode'.\1f
75(defvar pyvenv-mode-map (make-sparse-keymap) (#$ . 8966))
76#@13 Pyvenv Menu\1f
77(defvar pyvenv-menu nil (#$ . 9065))
78(byte-code "\301\302\b\303\304$\210\305\306\307\310\311DD\312\313\314\315\316\317\320& \207" [pyvenv-mode-map easy-menu-do-define pyvenv-menu "Pyvenv Menu" ("Virtual Envs" :visible pyvenv-mode ("Workon" :help "Activate a virtualenvwrapper environment" :filter (lambda (&optional ignored) (mapcar (lambda (venv) (vector venv `(pyvenv-workon ,venv) :style 'radio :selected `(equal pyvenv-virtual-env-name ,venv))) (pyvenv-virtualenv-list t)))) ["Activate" pyvenv-activate :help "Activate a virtual environment by directory"] ["Deactivate" pyvenv-deactivate :help "Deactivate the current virtual environment" :active pyvenv-virtual-env :suffix pyvenv-virtual-env-name] ["Restart Python Processes" pyvenv-restart-python :help "Restart all Python processes to use the current environment"]) custom-declare-variable pyvenv-mode funcall function #[0 "\300\207" [nil] 1 ""] "Non-nil if Pyvenv mode is enabled.\nSee the `pyvenv-mode' command\nfor a description of this minor mode.\nSetting this variable directly does not take effect;\neither customize it (see the info node `Easy Customization')\nor call the function `pyvenv-mode'." :set custom-set-minor-mode :initialize custom-initialize-default :type boolean] 10)
79#@696 Global minor mode for pyvenv.
80
81This is a minor mode. If called interactively, toggle the
82`Pyvenv mode' mode. If the prefix argument is positive, enable
83the mode, and if it is zero or negative, disable the mode.
84
85If called from Lisp, toggle the mode if ARG is `toggle'. Enable
86the mode if ARG is nil, omitted, or is a positive number.
87Disable the mode if ARG is a negative number.
88
89To check whether the minor mode is enabled in the current buffer,
90evaluate `(default-value \='pyvenv-mode)'.
91
92The mode's hook is called both when the mode is enabled and when
93it is disabled.
94
95Will show the current virtualenv in the mode line, and respect a
96`pyvenv-workon' setting in files.
97
98(fn &optional ARG)\1f
99(defalias 'pyvenv-mode #[256 "\303 \304\301\ 3\305=\203\11\0\306\301!?\202!\0\ 3\247\203 \0\ 3\307W\203 \0\310\202!\0\311\"\210\312\300!\2038\0\313\301\b\"\10\306\301!\2038\0\301\bB\10 \203I\0\314\302\315\"\210\316\317\320\"\210\202W\0 \204W\0\321\322\n\"\12\323\317\320\"\210\324\325\306\301!\203c\0\326\202d\0\327\"\210\330\331!\203\214\0\332\301!\210\303 \203|\0\211\303 \232\203\214\0\333\334\306\301!\203\210\0\335\202\211\0\336\337#\210\210\340 \210\306\301!\207" [global-minor-modes pyvenv-mode mode-line-misc-info current-message set-default toggle default-value 1 nil t boundp delq add-to-list (pyvenv-mode pyvenv-mode-line-indicator) add-hook hack-local-variables-hook pyvenv-track-virtualenv delete (pyvenv-mode pyvenv-mode-line-indicator) remove-hook run-hooks pyvenv-mode-hook pyvenv-mode-on-hook pyvenv-mode-off-hook called-interactively-p any customize-mark-as-set message "Pyvenv mode %sabled%s" "en" "dis" "" force-mode-line-update] 6 (#$ . 10330) (byte-code "\b\203\n\0\301\b!\202\v\0\302C\207" [current-prefix-arg prefix-numeric-value toggle] 2)])
100(defvar pyvenv-mode-hook nil)
101(byte-code "\301\302N\204\f\0\303\301\302\304#\210\303\301\305\306#\210\303\301\307\310C#\210\311\312\310\313\300!\205#\0\b\310\211%\210\314\315\316\317\320DD\321\322\323\324\325\326\327& \207" [pyvenv-mode-map pyvenv-mode-hook variable-documentation put "Hook run after entering or leaving `pyvenv-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" custom-type hook standard-value nil add-minor-mode pyvenv-mode boundp custom-declare-variable pyvenv-tracking-mode funcall function #[0 "\300\207" [nil] 1 ""] "Non-nil if Pyvenv-Tracking mode is enabled.\nSee the `pyvenv-tracking-mode' command\nfor a description of this minor mode.\nSetting this variable directly does not take effect;\neither customize it (see the info node `Easy Customization')\nor call the function `pyvenv-tracking-mode'." :set custom-set-minor-mode :initialize custom-initialize-default :type boolean] 10)
102#@818 Global minor mode to track the current virtualenv.
103
104This is a minor mode. If called interactively, toggle the
105`Pyvenv-Tracking mode' mode. If the prefix argument is positive,
106enable the mode, and if it is zero or negative, disable the mode.
107
108If called from Lisp, toggle the mode if ARG is `toggle'. Enable
109the mode if ARG is nil, omitted, or is a positive number.
110Disable the mode if ARG is a negative number.
111
112To check whether the minor mode is enabled in the current buffer,
113evaluate `(default-value \='pyvenv-tracking-mode)'.
114
115The mode's hook is called both when the mode is enabled and when
116it is disabled.
117
118When this mode is active, pyvenv will activate a buffer-specific
119virtualenv whenever the user switches to a buffer with a
120buffer-local `pyvenv-workon' or `pyvenv-activate' variable.
121
122(fn &optional ARG)\1f
123(defalias 'pyvenv-tracking-mode #[256 "\302 \303\301\ 3\304=\203\11\0\305\301!?\202!\0\ 3\247\203 \0\ 3\306W\203 \0\307\202!\0\310\"\210\311\300!\2038\0\312\301\b\"\10\305\301!\2038\0\301\bB\10 \203D\0\313\314\315\"\210\202I\0\316\314\315\"\210\317\320\305\301!\203U\0\321\202V\0\322\"\210\323\324!\203~\0\325\301!\210\302 \203n\0\211\302 \232\203~\0\326\327\305\301!\203z\0\330\202{\0\331\332#\210\210\333 \210\305\301!\207" [global-minor-modes pyvenv-tracking-mode current-message set-default toggle default-value 1 nil t boundp delq add-hook post-command-hook pyvenv-track-virtualenv remove-hook run-hooks pyvenv-tracking-mode-hook pyvenv-tracking-mode-on-hook pyvenv-tracking-mode-off-hook called-interactively-p any customize-mark-as-set message "Pyvenv-Tracking mode %sabled%s" "en" "dis" "" force-mode-line-update] 6 (#$ . 13052) (byte-code "\b\203\n\0\301\b!\202\v\0\302C\207" [current-prefix-arg prefix-numeric-value toggle] 2)])
124(defvar pyvenv-tracking-mode-hook nil)
125(byte-code "\301\302N\204\f\0\303\301\302\304#\210\303\301\305\306#\210\303\301\307\310C#\210\311\312\310\313\300!\205#\0\b\310\211%\207" [pyvenv-tracking-mode-map pyvenv-tracking-mode-hook variable-documentation put "Hook run after entering or leaving `pyvenv-tracking-mode'.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" custom-type hook standard-value nil add-minor-mode pyvenv-tracking-mode boundp] 6)
126#@207 Set a virtualenv as specified for the current buffer.
127
128If either `pyvenv-activate' or `pyvenv-workon' are specified, and
129they specify a virtualenv different from the current one, switch
130to that virtualenv.\1f
131(defalias 'pyvenv-track-virtualenv #[0 "\b\203\1f\0\305\b! \232?\205\1e\0\n\203\e\0\306\307\310\b #!\205;\0\300\b!\207\v\205;\0\v\f\232?\205;\0\n\2038\0\306\307\310\v\f#!\205;\0\303\v!\207" [pyvenv-activate pyvenv-virtual-env pyvenv-tracking-ask-before-change pyvenv-workon pyvenv-virtual-env-name file-name-as-directory y-or-n-p format "Switch to virtualenv %s (currently %s)"] 5 (#$ . 15304)])
132#@291 Run a virtualenvwrapper hook, and update the environment.
133
134This will run a virtualenvwrapper hook and update the local
135environment accordingly.
136
137CAREFUL! If PROPAGATE-ENV is non-nil, this will modify your
138`process-environment' and `exec-path'.
139
140(fn HOOK &optional PROPAGATE-ENV &rest ARGS)\1f
141(defalias 'pyvenv-run-virtualenvwrapper-hook #[641 "\306 \205\1d\ 1\307\310\311\"r\211q\210\312\313\ 2\"\216\314\315!\b\19\312\316\ 2\"\216\317 \1a\320\321\v\322\311\322\323\324\325\ 6 \326\327!\203<\0\326\327!\ 6\ f\ 6\ eBB\202A\0\ 6\ e\ 6\rB&\n\210\330\331\332\333\334\v\"\333\335\ 6\ 6\"\333\336\v\"E\337#\322\311\322$\210+\210eb\210\340\341\322\311#?\205\1a\ 1\342\1c\343 `\340\344\322\311#\205y\0\345\224\211\205\7f\0\343 \ 1\205\17\ 1\346\ 3\ 3{!\211G\345V\203\333\0\r\322\211\223\210\347\ e:B\350\ e;B\1e;\1e:\351 \16<\352\353!\211\1e=\322\211r\353q\210\311\1e>\354 \210\333\355\ 6\r\"\ 4\261\ 2*\262\ 1r\ 2q\210\356\ 3\322\"\262\ 2)\357\360!\203\327\0\360\ 2\ 2\"\210)\266\ 3*\210\ 6\ 6\205\17\ 1\361\362\ 5\363\"\362\ 3\364\"\"\211\205\15\ 1\211@\365\ 1@\ 2A\"\210\211@\366=\203\ e\ 1\367\ 1A\ e?\"\211\16@\370\371\ 2\"\266\ 2\ 1A\266\202\202\353\0\262\ 1)\266\204*\262\ 1\207" [pyvenv-exec-shell shell-file-name default-directory pyvenv-virtualenvwrapper-python json-key-type help-window-point-marker pyvenv-virtualenvwrapper-supported generate-new-buffer " *temp*" t make-closure #[0 "\301\300!\205 \0\302\300!\207" [V0 buffer-name kill-buffer] 2] make-temp-file "pyvenv-virtualenvwrapper-" #[0 "\301\300!\207" [V0 delete-file] 2] pyvenv-workon-home apply call-process nil "-m" "virtualenvwrapper.hook_loader" "--script" getenv "HOOK_VERBOSE_OPTION" call-process-shell-command mapconcat identity format "%s -c 'import os, json; print(json.dumps(dict(os.environ)))'" ". '%s'" "%s -c 'import os, json; print(\"\\n=-=-=\"); print(json.dumps(dict(os.environ)))'" "; " re-search-forward "No module named '?virtualenvwrapper'?" string json-read "\n=-=-=\n" 0 string-trim help-mode-setup help-mode-finish selected-frame temp-buffer-window-setup "*Virtualenvwrapper Hook Output*" erase-buffer "Output from the virtualenvwrapper hook %s:\n\n" temp-buffer-window-show functionp help-window-setup pyvenv--env-diff sort #[514 "\ 1@\ 1@\231\207" #1=[] 4 "\n\n(fn X Y)"] #[514 "\ 1@\ 1@\231\207" #1# 4 "\n\n(fn X Y)"] setenv PATH split-string set-default eshell-path-env temp-buffer-window-setup-hook temp-buffer-window-show-hook help-window-old-frame standard-output inhibit-read-only path-separator exec-path] 18 (#$ . 15892)])
142#@158 Calculate diff between ENV-BEFORE alist and ENV-AFTER alist.
143
144Both ENV-BEFORE and ENV-AFTER must be sorted alists of (STR . STR).
145
146(fn ENV-BEFORE ENV-AFTER)\1f
147(defalias 'pyvenv--env-diff #[514 "\300\ 2\204 \0\ 1\203X\0\ 2\242\ 2\242\232\203\1c\0\ 2A\262\ 3\ 1A\262\ 2\202\ 1\0\ 2\203=\0\ 1\203.\0\ 2@@\ 2@@\231\203=\0\ 2@@C\ 1B\262\ 1\ 2A\262\ 3\202\ 1\0\ 1@\ 1B\262\ 1\ 1@@\ 3@@\232\203Q\0\ 2A\262\ 3\ 1A\262\ 2\202\ 1\0\211\237\207" [nil] 5 (#$ . 18269)])
148#@36 Restart Python inferior processes.\1f
149(defalias 'pyvenv-restart-python #[0 "\303 \211\205P\0\211@r\211q\210\b\304=\203H\0\305\ 1!\203H\0\306\307\305\ 3!!!\310\311\312\ 4!\"\205)\0\313\314\305\ 4!!\210db\210\315\316\317\320 \n#\316\315\261\ 5\210\321\ 2\ 2\322#\210db\266\ 3)\ 1A\266\202\202\ 2\0\207" [major-mode pyvenv-virtual-env-name pyvenv-virtual-env buffer-list inferior-python-mode get-buffer-process combine-and-quote-strings process-command string-match "\\[.*\\]$" buffer-name t delete-process "\n\n" "###\n" format "### Restarting in virtualenv %s (%s)\n" run-python nil] 10 (#$ . 18661) nil])
150#@229 Return the current hook directory.
151
152This is usually the value of $VIRTUALENVWRAPPER_HOOK_DIR, but
153virtualenvwrapper has stopped exporting that variable, so we go
154back to the default of $WORKON_HOME or even just ~/.virtualenvs/.\1f
155(defalias 'pyvenv-hook-dir #[0 "\300\301!\206\b\0\302 \207" [getenv "VIRTUALENVWRAPPER_HOOK_DIR" pyvenv-workon-home] 2 (#$ . 19244)])
156#@87 Return the current workon home.
157
158This is the value of $WORKON_HOME or ~/.virtualenvs.\1f
159(defalias 'pyvenv-workon-home #[0 "\300\301!\206 \0\302\303!\207" [getenv "WORKON_HOME" expand-file-name "~/.virtualenvs"] 2 (#$ . 19610)])
160#@101 Return true iff virtualenvwrapper is supported.
161
162Right now, this just checks if WORKON_HOME is set.\1f
163(defalias 'pyvenv-virtualenvwrapper-supported #[0 "\300\301!\207" [getenv "WORKON_HOME"] 2 (#$ . 19842)])
164#@20
165
166(fn VIRTUAL-ENV)\1f
167(defalias 'pyvenv--virtual-env-bin-dirs #[257 "\300\ 1!\301\230\203\f\0\302\202\ f\0\300\ 1!\303\304\305\306\ 4\"!\205\1e\0\305\306\ 3\"C\304\305\307\ 5\"!\205-\0\305\307\ 4\"\ 3D\"\207" [directory-file-name "/" "" append file-exists-p format "%s/bin" "%s/Scripts"] 8 (#$ . 20054)])
168#@98 Replace one element equal to OLDVALUE with NEWVALUE values in LIST.
169
170(fn LIST OLDVALUE NEWVALUE)\1f
171(defalias 'pyvenv--replace-once-destructive #[771 "\ 2\211\203\13\0\ 2\ 1@\232\204\13\0\211A\262\ 1\202\ 1\0\211\205\1a\0\211\ 2\240\207" [] 6 (#$ . 20340)])
172#@105 Return a copy of LIST with each element from VALUES-TO-REMOVE removed once.
173
174(fn VALUES-TO-REMOVE LIST)\1f
175(defalias 'pyvenv--remove-many-once #[514 "\300\ 2!\301\302!\303\ 1\304\305\306\ 6\ 6\ 6\ 6#\ 6\ 6\"\"\207" [copy-sequence make-symbol "sentinel" delq mapcar make-closure #[257 "\302\300\ 2\301#\203\n\0\301\207\207" [V0 V1 pyvenv--replace-once-destructive] 5 "\n\n(fn X)"]] 11 (#$ . 20580)])
176#@95 Prepend values from VALUES-TO-PREPEND list to path-delimited STR.
177
178(fn VALUES-TO-PREPEND STR)\1f
179(defalias 'pyvenv--prepend-to-pathsep-string #[514 "\301\302\303\ 4\304\ 5\b\"\"\b#\207" [path-separator mapconcat identity append split-string] 9 (#$ . 20963)])
180#@98 Remove all values from VALUES-TO-REMOVE list from path-delimited STR.
181
182(fn VALUES-TO-REMOVE STR)\1f
183(defalias 'pyvenv--remove-from-pathsep-string #[514 "\301\302\303\ 4\304\ 5\b\"\"\b#\207" [path-separator mapconcat identity pyvenv--remove-many-once split-string] 9 (#$ . 21219)])
184#@86 Add DIRS-TO-ADD to different variables related to execution paths.
185
186(fn DIRS-TO-ADD)\1f
187(defalias 'pyvenv--add-dirs-to-PATH #[257 "\301\ 1\302\303!\"\301\ 2\304\305!\"\306\ 3\b\"\10\307\303\ 3\"\210\310\305\ 2\"\207" [exec-path pyvenv--prepend-to-pathsep-string default-value eshell-path-env getenv "PATH" append set-default setenv] 6 (#$ . 21497)])
188#@97 Remove DIRS-TO-REMOVE from different variables related to execution paths.
189
190(fn DIRS-TO-REMOVE)\1f
191(defalias 'pyvenv--remove-dirs-from-PATH #[257 "\301\ 1\302\303!\"\301\ 2\304\305!\"\306\ 3\b\"\10\307\303\ 3\"\210\310\305\ 2\"\207" [exec-path pyvenv--remove-from-pathsep-string default-value eshell-path-env getenv "PATH" pyvenv--remove-many-once set-default setenv] 6 (#$ . 21837)])
192(byte-code "\301\302!\204\v\0\303\302\304\"\210\305\306!\2046\0\307\310!\210\b\211\2035\0\211A\242\242\311=\203.\0\211\312\ 2AB\241\210\211A\262\ 1\211A\262\ 1\202\16\0\210\313\314!\207" [mode-line-format fboundp file-name-base defalias #[256 "\300\301\ 2\206\b\0\302 !!\207" [file-name-sans-extension file-name-nondirectory buffer-file-name] 4 "Return the base name of the FILENAME: no directory, no extension.\nFILENAME defaults to `buffer-file-name'.\n\n(fn &optional FILENAME)"] boundp mode-line-misc-info (lambda (#1=#:def-tmp-var) (defvar mode-line-misc-info #1# "Compatibility variable for 24.3+")) nil which-func-mode mode-line-misc-format provide pyvenv] 4)