pyufunc.add_dir_to_env#

pyufunc.add_dir_to_env(path_dir='/home/docs/checkouts/readthedocs.org/user_builds/pyufunc/checkouts/latest/docs/source')#

Add a directory to the PATH environment variable.

Parameters:

path_dir (str | Path) – The directory to add to the PATH. Defaults to the current working directory.

Returns:

None

Example

>>> from pyufunc import add_dir_to_env
>>> add_dir_to_env("/path/to/directory")