Skip to main content

Make environments portable

Project description

port-env

What problem does this software solve

Python virtual environments are not portable because paths are hard-coded in all the scripts at /bin. Also, the third party libraries aren't found if you change versions even if they are compatible. This command line utility wraps a few of the main GNU coreutils (awk, sed) to fix these things.

Requirements

  1. sed, awk
  2. python3 (no third party dependencies are needed for now)

Install

From pipy

pip install port_env

From source

python setup.py bdist_wheel
pip install dist/*

Quick Guide

port_env [ENV]

You can use the --third_party=1 flag to also move lib/python3.* and rename it to the current python version. It's optional because this might not be what you want if you have several versions of python installed.

Project details


Download files

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

Source Distribution

port_env-0.0.3.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

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

port_env-0.0.3-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file port_env-0.0.3.tar.gz.

File metadata

  • Download URL: port_env-0.0.3.tar.gz
  • Upload date:
  • Size: 4.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for port_env-0.0.3.tar.gz
Algorithm Hash digest
SHA256 1d062c8d80e826fbe5832a73fe0fb219f6c0b7508e97cb94559716c08ad42a09
MD5 4c086826b6e9328e89c7f0d8c507e000
BLAKE2b-256 967204d965bc1dac74c9a615ebbc29901e70b7513f538094a687aad13c1e0941

See more details on using hashes here.

File details

Details for the file port_env-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: port_env-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for port_env-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2d2cfe7078cc19c6c1f0b9456f0daefe354fcc15ef4beb527532a623a2b5bfa3
MD5 c1ca0b1878def2f921bb5f2fa7cea0b5
BLAKE2b-256 d1b120324157d337d93935f138722735001eb17258c7cffe3473c3398d6f29d3

See more details on using hashes here.

Supported by

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