Skip to main content

Smartly install Python source packages

Project description

About

installdist is used to ease the installation of local Python packages. It will probably be most useful to developers who are working with Python packages. With a single command, it will look for the nearest dist/ directory, identify the package with the highest version (or most recent timestamp), uninstall any pre-existing package with the same name, then install the package to the local installation. It doesn’t do anything that pip fundamentally can’t, it just simplifies the workflow greatly.

Installation

pip3 install --user installdist

The installdist package is known to be compatible with Python 3.

Usage

usage: installdist [OPTIONS] FILES/FOLDERS

Smartly install local Python source packages.

optional arguments:
  -2, --pip2            install package with pip2
  -a, --auto            skip prompts for user input
  -d, --dry-run         indicate the commands to be run but do not execute
                        them
  -n, --new             install package possessing the most recent timestamp
  -p PACKAGE, --package PACKAGE
                        install package by parent directory
  -s, --system          install to system directory
  -v, --verbose         set logging level to verbose
  --version             show program's version number and exit
  -w, --wheel           install wheel package

NOTE: By default, installdist will uninstall any pre-existing installation
before using `pip3 install --user` to install the highest version tarball
available.

Please note that by default, installdist will use pip3 install --user to install the highest version tarball available. If you’d like to use pip2, wheel packages, the package with the most recent timestamp, or install to the system installation, use the appropriate flag.

installdist will not make changes without prompting you for confirmation, so don’t fear mistakes. To test a command, you may use the dry run flag (-d or --dry-run). It will simulate the command exactly, including any prompts.

To install a Python source package from the package’s root directory, installdist will look for a dist/ directory (in the current and parent directories) and identify the package with the highest version number.

installdist

To install a Python source package from the package’s root directory, installdist will look for a dist/ directory (in the current and parent directories) and identify the package possessing the most recent timestamp.

installdist --new

To install a Python source package:

installdist package.tar.gz

To install a Python source package by indicating the package’s parent directory:

installdist -p ~/Development/project

If you are working in a virtualenv or wish to install to your root installation, remember to use the --system flag:

installdist -s

License

Copyright (c) 2015 Six (brbsix@gmail.com).

Licensed under the GPLv3 license.

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

installdist-0.1.8.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

installdist-0.1.8-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file installdist-0.1.8.tar.gz.

File metadata

  • Download URL: installdist-0.1.8.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for installdist-0.1.8.tar.gz
Algorithm Hash digest
SHA256 fee1c1e673ce7a79102239cbcbe54dc6164bd7d77931a32c5a194b1e01528920
MD5 15c43279ff2a767e4932e719252f85c2
BLAKE2b-256 6c3f1f291d51ab8ff6452aa8efec84a612a4c5bead6e9a3aa6bf2d8d9b07f0e4

See more details on using hashes here.

File details

Details for the file installdist-0.1.8-py3-none-any.whl.

File metadata

File hashes

Hashes for installdist-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 ab5e58336582ce11a58508f43dceaf52d497f8a945754a9c661e76b99a116eb0
MD5 99c4759ec2566b02f524e0665282c0c5
BLAKE2b-256 efd8eb44db15e45b97ab38d0f506bb1f5b8b36c675df48897562aaf57f2cf012

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