NumPy Trial Install
How to configure NES for NumPy Trial
Prerequisites
- Make sure your project meets the Minimum Requirements to ensure a smooth installation.
- The instructions below assume you are using Pip to install your packages. If your project isn't using Pip, you will need to incorporate Pip into your project.
Detailed Instructions
Update pip.conf
/pip.ini
Finding the Pip Configuration File
The file that will need to be updated is different depending on what operating system is being used. Please see the official Pip documentation for how to find and use the configuration file based on the operating system you are using.
Once you have either located or created the configuration file, add the following to the file:
[global]
extra-index-url = https://<NES_ACCESS_TOKEN>@registry.dev.nes.herodevs.com/python/
Note
Replace NES_ACCESS_TOKEN
with herodevs
While this step can be done in different ways, such as using a .env
file or directly in the requirements.txt
, this is the recommended way to avoid accidentally exposing your token.
Update requirements.txt
Change the version for numpy
in the requirements.txt
to exactly match the NES version.
numpy==<NES_VERSION>
Note
The current trial version is 1.26.4
Install packages
pip install -r requirements.txt
And just like that, you can run your integration tests against NES for NumPy!