1HATCH-PYPATH(1)                  User Commands                 HATCH-PYPATH(1)
2
3
4

NAME

6       hatch pypath – Manages named Python paths
7

SYNOPSIS

9       hatch pypath [OPTIONS] NAME PATH
10

DESCRIPTION

12       Names  an  absolute  path  to a Python executable.  You can also modify
13       these in the config file entry pypaths.  Hatch can then use these paths
14       by name when creating virtual envs, building packages, etc.
15

OPTIONS

17       -l, --list
18              Shows available Python paths.
19
20       -h, --help
21              Show a help message and exit.
22

EXAMPLES

24              $ hatch pypath -l
25              There are no saved Python paths. Add one via `hatch pypath NAME PATH`.
26              $ hatch pypath py2 /usr/bin/python
27              Successfully saved Python `py2` located at `/usr/bin/python`.
28              $ hatch pypath py3 /usr/bin/python3
29              Successfully saved Python `py3` located at `/usr/bin/python3`.
30              $ hatch pypath -l
31              py2 -> /usr/bin/python
32              py3 -> /usr/bin/python3
33

SEE ALSO

35       hatch(1)
36
37       hatch-build(1),    hatch-clean(1),   hatch-conda(1),   hatch-config(1),
38       hatch-env(1),    hatch-grow(1),    hatch-init(1),     hatch-install(1),
39       hatch-new(1),    hatch-python(1),    hatch-release(1),   hatch-shed(1),
40       hatch-shell(1), hatch-test(1), hatch-uninstall(1), hatch-update(1)
41
42
43
44                                 Feburary 2022                 HATCH-PYPATH(1)
Impressum