Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Python path setup utility

Module for configuration of sys.path for local imports relative to the directory of the current script entry file.

Import of entrydir_pypath appends directories to the end of sys.path in accordance with files named ‘.pythonpath’. Such files are referred to as pythonpath files below. First, the directory of the script entry file (obtained by sys.argv[0]) and its parents are searched for pythonpath files. For interactive scripts and similar special cases, the current working directory is used as fallback. The pythonpath file in the closest parent directory is used to initiate the processing. If no such file is found, sys.path is left unaltered.

Each line in a pythonpath file is a directory path that may be absolute or relative. Directories that do not exist are ignored. Existing directories are added to sys.path if there is no pythonpath file in the directory. Otherwise, the entries in the found pythonpath file are processed in the same way as above, and recursion continues until no additional pythonpath files are found. To add a directory that contains a pythonpath file, the pythonpath file of that directory must list its own directory.

Setup

To install the package for the current user:

$ pip install --user entrydir_pypath

To import the package automatically from usercustomize during initialization:

$ entrydir-pypath-config -install

For deactivation of automatical import:

$ entrydir-pypath-config -remove

To uninstall the package:

$ pip uninstall entrydir_pypath

Release files for entrydir_pypath 0.1.0.dev3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for entrydir_pypath 0.1.0.dev3
File Size Uploaded
entrydir_pypath-0.1.0.dev3.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for entrydir_pypath 0.1.0.dev3
File Interpreter ABI Platform
entrydir_pypath-0.1.0.dev3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 12.4 kB

Release files / entrydir_pypath-0.1.0.dev3.tar.gz

Download URL entrydir_pypath-0.1.0.dev3.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c4108a270f08805f56961c87a622c5ea34d3997c109727edcb1bf4d74bcc5300
BLAKE2b-256 checksum
How to use checksums
17a27f34cc993c4363821814671b5918b36f0ed699803fc65fcbd5c5491c4e3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / entrydir_pypath-0.1.0.dev3-py2.py3-none-any.whl

Download URL entrydir_pypath-0.1.0.dev3-py2.py3-none-any.whl
Size 7.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
b52cb7e5e00371cb82b7d242a58018acf6361acd048b148be4ed06d5340db081
BLAKE2b-256 checksum
How to use checksums
cb49c507e98996895c5026fe6dbd0d513b7bf5426a920efd40f49fd64b5b1863
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0.dev3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page