;;; pyvenv-auto.el --- Automatically switch Python venvs -*- lexical-binding: t -*-
;; Copyright (C) 2022-2023 Ryotaro Nakamura <nakamura.ryotaro.kzs@gmail.com>
;; Version: 2.0.0
;; Package-Version: 20230106.415
;; Package-Commit: b4365e60e3ba747a5fec8ca909f64fe8c73d8db2
;; Package-Requires: ((emacs "26.3") (pyvenv "1.21"))
;; URL: https://github.com/nryotaro/pyvenv-auto
;; This file is not part of GNU Emacs.
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License
;; as published by the Free Software Foundation; either version 3
;; of the License, or (at your option) any later version.
;; This program is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program; if not, write to the Free Software
;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
;; 02110-1301, USA.
;;; Commentary:
;; pyvenv-auto automatically activates a Python venv with pyvenv package.
;; When you open a file in python-mode, it searches for the venv
;; directory near the file, and activates it. When you open a Python
;; file, pyvenv-auto searches for a venv directory with a name in
;; `pyvenv-auto-venv-dirnames`. The search behavior is similar to that of
;; `locate-dominating-file`. The directory name with a smaller index
;; has higher priority than that with a greater index.
;;; Code:
;;; pyvenv-auto.el ends here