Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel

Table of Contents
maxLevel3

Prerequisites

...

The following products should be installed:

  • VSCode Plugin 2.0.0
  • uip-cli

...

  • 2.0.0

...

...

  • Universal Controller

...

  • 7.4.0.0

...

  • Universal Agent 7.

...

  • 4.0.0

...

All work will be done in a Python 3.7.16 virtual environment. Make sure the uip-cli is installed in the virtual environment.

...

Initialize the ue-task extension by clicking:

For this tutorial, all parameters are suitable so, just pressing 'Enter' to select the default for each parameter is sufficient. 

Once initialized, you should now have a file called requirements.txt in your working folder:

Image Modified

Open the file and add requests==2.28.2 (version is optional) as follows:

Code Block
titlerequirements.txt
linenumberstrue
#
# Specify any third-party Python modules that should be bundled with the
# extension. uip-cli will automatically download and bundle the modules
# upon running `uip build` or `uip push`. 
#
# Refer to https://pip.pypa.io/en/stable/reference/requirements-file-format/
# for the expected format.
#

requests==2.28.2

...

Running the Push All command internally runs the Build All command followed by the Upload All command. The Build All command will download all dependencies specified in requirements.txt to a folder called 3pp and package the folder in the final package archive.

< Previous     Next >