Skip to content

sasha0552/transient-package

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

transient-package

CLI utility for creating transient Python packages.

Installation

pip install transient-package

Usage

Create a transient package

transient-package create \
  --source triton        \
  --target triton-pascal \
  --output-directory .

Result

A triton package with version 0.0.0 will be created, which depends on the triton-pascal package.

Create a transient package with explicit versions

transient-package create \
  --source triton        \
  --source-version 3.0.0 \
  --target triton-pascal \
  --target-version 3.0.0 \
  --output-directory .

Result

A triton package with version 3.0.0 will be created, which depends on the triton-pascal package with version 3.0.0.

Create a transient package and install it

$ transient-package install \
  --source triton         \
  --target triton-pascal

Result

If the source package is not installed

A triton package with version 0.0.0 will be installed, which depends on the triton-pascal package.

If the source package is installed

A triton package with version <source package version> will be installed, which depends on the triton-pascal package with version <source package version>.

The source package will be uninstalled before installing the transient package.

Remove a transient package

transient-package uninstall triton

Result

If the triton package is installed and transient, it will be removed.

About

CLI utility for creating transient Python packages.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages