github.com/getgauge/gauge@v1.6.9/build/pip/README.md (about)

     1  # PIP Installer for getgauge-cli tool
     2  
     3  This `setup.py` file is used for installing the getgauge-cli tool. The Python package can be installed multiple ways:
     4  
     5  ## using pip
     6  
     7  - pre-requisite: pip should be installed and available on machine
     8  - run the command `pip install getgauge-cli`
     9  
    10  ## using setup.py
    11  
    12  - Navigate to the current directory `gauge\build\pip\`
    13  - Run `python build.py --install` on command prompt (it will install the latest released version)
    14  - To install a specific version set `GAUGE_VERSION` environment variable.
    15  
    16  ## Check to ensure getgauge-cli is installed
    17  
    18  - Once the package has been setup. please exit the current terminal and relaunch terminal again
    19  - run the command `gauge` , you should be able to see similar output
    20  ```
    21  Usage:
    22    gauge <command> [flags] [args]
    23  
    24  # ...etc
    25  ```
    26  
    27  ## Using setup.py
    28  - Install required dep by running `python/python3 -m pip install requirements.txt`.
    29  - Check through and obtain a valid tag/build number from [releases](https://github.com/getgauge/gauge/releases)
    30  - Run the command `python build.py --install` (set GAUGE_VERSION env to install specific version)
    31  - This would install the version as specified along with latest release of Gauge-CLI Version
    32  
    33  - Run the command `python build.py --dist` to generate the PyPi distributable (set GAUGE_VERSION env to install specific version)
    34  
    35  ## Uninstalling Gauge CLI
    36  
    37  Gauge CLI uninstall should be done manually for now.
    38  Run the following command on your prompt
    39  ```
    40  $ pip uninstall gauge-cli
    41  ```