Automata Project for 3rd Year
- Create a virtual environment
python -m venv .env
- Activate environment For CMD
.\venv\scripts\activate
For bashsource ./.env/Scripts/activate
- Install dependencies using pip
python -m pip install -r requirements.txt
- For unit testing, we'll be using
pytest
- To create a test file, simply follow these file formats:
test_*.py
or*_test.py
- For more information, please refer to the official Pytest documentation
-
Install the UwU Console Script Package
python -m pip install ./packages/uwu
-
To install | uninstall packages from
requirements.txt
uwu install
uwu uninstall
- To install | uninstall individual packages
uwu install < package name >
uwu uninstall < package name >
- To run all tests
uwu test
- To run a specific test
uwu test test_*
uwu test *_test
-
To run lexer package
uwu lexer
-
To build UwU IDE
uwu build