Learn how to distribute your private Python packages.
When configuring distribution you will need to provide the package name as defined in your setup.py or pyproject.toml.
When you create a release on GitHub, Anystack expects one or more artifacts to be attached to the release, for example:
Your customers can use pip to install your package with the following command:
python3 -m pip install -i https://your-product-identifier.pypi.pub package-nameLooking in indexes: https://your-product-identifier.pypi.pubUser for your-product-identifier.pypi.pub: [licensee-email]Password: [license-key]
The user will be prompted to provide their username and password. The username will be their email address and the password will be equal to their license key. If your license policy requires a fingerprint the user will need to append his/her fingerprint to their license key. For example, let's say we have the following licensee and license activation:
This will require your licensee to enter the following information when prompted for their credentials:
Looking in indexes: https://your-product-identifier.pypi.pubUser for your-product-identifier.pypi.pub: [email protected]Password: a4e39744-20f1-418f-93e7-b3db16d44855:anystack.sh
To clarify, the license key and fingerprint should be separated by a colon (
:). If your license policy does not require a fingerprint both the fingerprint and the colon can be omitted.