- Go to
.github/workflows
and update documents depending on the projects name, the branching structures, PRs, etc.
First, follow these instructions to set up your environment to prepare the Flatland environment on your local machine.
Download and install Python 3.7.8, if not installed yet.
https://www.python.org/downloads/release/python-378/
- Go to
setup.py
and change the configuration to reflect the new repository's information. - Change the
Makefile
settings dependent on the configurations that are required.
- ensure that the venv ->
<env_name>
is added to.gitignore
. - currently --
<env_name>
->venv
- Add dependencies in
requirements.txt
.
- Recommended:
Make venv-<os>
-- this should create the virtual environment -- seevenv-windows
andvenv-unix
inMakefile
for more information,
- (Every time) Activate the virtual environment to use it in command line:
- Note, if you used
Make venv-<os>
, then,<env_name>
is namedvenv
. - Windows:
cd <yourdir>
, then<env_name>\Scripts\activate
- Unix-like:
cd <yourdir>
, thensource ./<env_name>/bin/activate
- Note, if you used
- In your IDE such as Eclipse PyDev or PyCharm, select the Python interpreter in the
<env_name>/bin
or<env_name>/Scripts
directory for your assignment project.- Note, the virtual environment shouldn't be pushed onto GitHub -- add to
.gitignore
if haven't already.
- Note, the virtual environment shouldn't be pushed onto GitHub -- add to
- Run the
Make init
command that will initiate thesetup.py
file -- install dependencies and set's up the entire project.
- Add information into
Make run
to ensure that you can run application with make.
pip install <your-package>
and add torequirements.txt
if needed.
init
run
test
lint
venv-unix
venv-windows
version
clean
- Virtual Environment -- venv
- GitHub Actions
- Python 3.7.8
- Makefile -- for fast installation
- PyLint -- Linting
- Bandit -- AST-based Static Analysis
- CodeCoverage