Skip to main content

Forcibly fix .pth files made by setuptools

Project description

If you install things with setuptools, you might have found yourself cursing the damn pth files it creates that reorder sys.path.

damnpth finds the .pth files and removes the crazy path-reordering parts from them. If it can, it then patches the setuptools code to stop adding this path-reordering stuff.

Usage:

pip install damnpth
damnpth

In principle, this shouldn’t break your environment, but all the same, it’s probably not something to run on your production systems.

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

damnpth-0.1-py2.py3-none-any.whl (3.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file damnpth-0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for damnpth-0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 2a6ab5c94628bd1f03a976218f084eeb6bdbcc03679c0cc52daf8b4d8fd1e63f
MD5 81e03149d96d88e5c0ddea29ed2feb6c
BLAKE2b-256 6c6a8eaf331abf16c9253c53ed087ac12f3d5c2b7d5f0e2606a4e4741dc505b1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page