Skip to main content

A Python library for creating "editable wheels"

This library supports the building of wheels which, when installed, will expose packages in a local directory on sys.path in "editable mode". In other words, changes to the package source will be reflected in the package visible to Python, without needing a reinstall.

Usage

Suppose you want to build a wheel that exposes the directory dirname as an editable package when installed, equivalent to pip install -e dirname. Build your wheel as follows:

from editables import build_editable

for filename, content in build_editable(dirname):
    # Add content to your wheel, under the name filename

By default, this will expose every package in the given directory. You can control what gets exposed using the expose and hide arguments of build_editable (see the docstring for details).

This project doesn't build wheels directly. That's the responsibility of the calling code.

Download files

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

Source Distribution

editables-0.1.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

editables-0.1-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file editables-0.1.tar.gz.

File metadata

  • Download URL: editables-0.1.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for editables-0.1.tar.gz
Algorithm Hash digest
SHA256 051572ae7df3dad303d85df2bc5839c34471870459c773fe9cb14a0f6c190fcf
MD5 65bbfb74213a1e08277e4837c563fb25
BLAKE2b-256 e37378ee7b06f6242694c9237b0fc9a12d9bb4d1185c98c4adedbeb281cdef5e

See more details on using hashes here.

File details

Details for the file editables-0.1-py3-none-any.whl.

File metadata

  • Download URL: editables-0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for editables-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 442b601c4353fb939162e43aa4481c3704eb2ee584081fabfb3445d5fded3883
MD5 5f3d1079e6c01b77877b5fbcc35e6fbd
BLAKE2b-256 e7effb999a82ed5737f9249ca36574be673fc929e28c7d76158df799d0aee57f

See more details on using hashes here.

Release history Release notifications | RSS feed

0.6

2 files

0.5

2 files

0.4

2 files

0.3

2 files

0.2

2 files

This release

0.1 This release

2 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