-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathactivestate.yaml
21 lines (19 loc) · 1.02 KB
/
activestate.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
project: https://platform.activestate.com/Pizza-Team/COVID-Simulation?branch=main&commitID=5850c200-9710-4851-9a8f-c63bb304610c
scripts:
- name: activationMessage
language: python3
value: |
# -*- coding: utf-8 -*-
import textwrap
print(textwrap.dedent("""
You are now in an activated state, which is like a virtual environment to work
in that doesn't affect the rest of your system. To leave, run `exit`.
What's next?
- To learn more about what you can do, run → `state --help`
- To modify this runtime like adding packages or platforms, visit https://platform.activestate.com/Pizza-Team/COVID-Simulation
"""))
events:
# This is the ACTIVATE event, it will run whenever a new virtual environment is created (eg. by running `state activate`)
# On Linux and macOS this will be ran as part of your shell's rc file, so you can use it to set up aliases, functions, environment variables, etc.
- name: ACTIVATE
value: python3.exe $scripts.activationMessage.path()