Following command installs dependencies, builds the binary and runs unittests
- PyInstaller has been used for build purpose.
bin/setup
After running above command a executable binary file is created which can be found as dist/main
dist/main
Building your own binary
pyinstaller src/main.py --onefile
bin/run_functional_tests
Following commands runs the application in 2 modes
- File Mode
bin/parking_lot file_input.txt
- Interactive Mode
bin/parking_lot
Following commands runs the application in 2 modes
- File Mode
python3 src/main.py file_input.txt
- Interactive Mode
python3 src/main.py
python3 tests_parking_lot.py
Submitted By : Bhavesh Anand