An ActiveState Artifact Repository (AAR) is a software storage system that acts as a source for the code artifacts required by your software teams and systems. It may contain third-party source code components imported from a public repository, as well as the packages built from those components.
At this time the ActiveState Artifact Repository is only available to Enterprise tier members.
Important features of your AAR are:
The initial build process for your first AAR must be started by ActiveState. Contact Us for more info.
After you have contacted ActiveState to begin the AAR generation process, do the following:
Projects that build an AAR will have significantly longer build times.
AARs do not update automatically when the project is edited. To update an AAR while maintaining the same URL:
Go to the project Open Project Settings tab On the left side, click “ActiveState Artifactory Repository” Copy the URL
To configure pip to use the AAR for all package installations on your machine, set the repository URL globally. Once configured, pip commands will automatically use this repository without requiring additional flags.
Create or edit your pip.ini file and add a global index-url variable.
File location on Windows
%HOMEPATH%\pip\pip.ini
File location on Linux/macOS
~/.pip/pip.conf
Add the following:
[global]
index-url = https://aar.activestate.com/<org-name>/<project-name>/latest
Once configured, packages can be installed normally via:
pip3 install <package-name>
If you do not wish to configure the AAR to be used globally, you can install packages with the following command:
pip install --index-url https://aar.activestate.com/<org-name>/<project-name>/latest <package-name>