-
Notifications
You must be signed in to change notification settings - Fork 0
Technical Details
Amos Chua edited this page Nov 12, 2020
·
8 revisions
Target Minimum | Target Maximum | |
---|---|---|
Python | 3.6.12 | 3.9.0 |
To be tested:
- Python 3.6.12
- Tested by: KOOKIIE on 11th Nov 2020 (e6bb67d)
- Python 3.8.6
- Tested by: KOOKIIE on 11th Nov 2020 (e6bb67d)
- Python 3.9.0
- Tested by: KOOKIIE on 11th Nov 2020 (e6bb67d)
- Python 3.10.0
- Awaiting stable release
- In the root of the repository, create a virtual environment using
Python -m venv venv
- Substitute "Python" with whichever command you have assigned to Python 3.6 - 3.8
- Activate the virtual environment using
call venv\scripts\activate.bat
in Command Prompt- The command is
venv/scripts/activate
in Power Shell - Note: PowerShell can take both backslash and forward slashes, but CMD only accepts backslashes
- Note: You can deactivate the venv by using the command deactivate
- The command is
- Use the command
venv/scripts/pip install -r requirements.txt
to install the required modules- Use
venv\scripts\pip install wheel
, if the above commands throw errors
- Use
- In the root of the repository,activate the virtual environment (see above)
- Start the Python REPL:
venv/scripts/python
- Import the module:
from swordie_db.database import SwordieDB
- Proceed with testing. (See examples)
- Sister project to produce independent test results: ProjectShieldieDB Repository
- Sister project to produce independent API Docs: ProjectShieldieDB API Docs for SwordieDB
A TEAM SPIRIT Project • SwordieDB • SpiritMS • SpiritSuite • MaplestoryDiscBot