Package management :: ActiveState Platform Documentation (original) (raw)

At ActiveState, package management includes not only dependency management but also language and environment management. Use the Platform and State Tool to take the tedious, manual work out of installing, configuring, updating, and otherwise managing your runtime.

You can use the ActiveState Platform UI and the State Tool to

Package management with the Platform

You can install, uninstall, and edit specific packages from your project using the Platform.

To install and delete packages from your runtime

  1. Go to your Projects tab.
  2. Select the project with the packages you wish to configure.
  3. In the Configuration tab of the project:
  1. After your newly configured runtime has been built, you can update your project by running the state pull command in the State Tool.

You can also import packages by uploading them from a requirements file. Details on installing packages from requirements files can be found here.

As you manage the packages in your runtime, the addition of new packages or changing the version of existing packages may present new security issues. These changes will be captured in the updated security report. To find out how to view these changes, see the documentation explaining our security reports here.

Managing your packages can be done using only the State Tool. Additional help with the State Tool can be found on the State Tool Cheat Sheet, reviewing the State Tool Command Reference, or by entering state learn into the command line.

Search for a package

state search <name of package>

For example state search pandas. This will search our Platform catalog for packages that match the search term (text within the angle brackets). The search is case-insensitive.

Install a package

While the search function is case insensitive, the install function is not, so be sure to enter the name of your package exactly as it appears in the search response. Installing a new package may require some dependencies to be rebuilt.

Remove a package

state uninstall <package>

Removing a package may require some dependencies to be restored and/or rebuilt. After removal, the package will no longer be present in your local project, and running state push will sync your settings with the Platform.