@@ -75,7 +75,7 @@ in the DOCS
7575- [ Example Use] ( #example-use )
7676 - [Help](#help)
7777- [ Developer Notes] ( #developer-notes )
78- - [Generate semgrep_sec .yaml](#generate-semgrep_secyaml)
78+ - [Generate semgrep\_sec .yaml](#generate-semgrep_secyaml)
7979- [ Documentation] ( #documentation )
8080- [ Install With PIP] ( #install-with-pip )
8181- [ Language information] ( #language-information )
@@ -92,6 +92,8 @@ in the DOCS
9292- [ How to run] ( #how-to-run )
9393 - [Windows](#windows)
9494 - [Linux/ MacOS](#linux-macos)
95+ - [ Building] ( #building )
96+ - [ Testing] ( #testing )
9597- [ Download Project] ( #download-project )
9698 - [Clone](#clone)
9799 - [Using The Command Line](#using-the-command-line)
@@ -160,8 +162,8 @@ Head to https://pypi.org/project/SimpleSecurity/ for more info
160162
161163### Built for
162164
163- This program has been written for Python versions 3.7 - 3.10 and has been tested with both 3.7 and
164- 3.10
165+ This program has been written for Python versions 3.8 - 3.11 and has been tested with both 3.8 and
166+ 3.11
165167
166168## Install Python on Windows
167169
@@ -221,6 +223,36 @@ version.
221223- File
222224 `python3.x [file]` or `./[file]`
223225
226+ ## Building
227+
228+ This project uses https://github.com/FHPythonUtils/FHMake to automate most of the building. This
229+ command generates the documentation, updates the requirements.txt and builds the library artefacts
230+
231+ Note the functionality provided by fhmake can be approximated by the following
232+
233+ ``` sh
234+ handsdown --cleanup -o documentation/reference
235+ poetry export -f requirements.txt --output requirements.txt
236+ poetry export -f requirements.txt --with dev --output requirements_optional.txt
237+ poetry build
238+ ```
239+
240+ ` fhmake audit ` can be run to perform additional checks
241+
242+ ## Testing
243+
244+ For testing with the version of python used by poetry use
245+
246+ ``` sh
247+ poetry run pytest
248+ ```
249+
250+ Alternatively use ` tox ` to run tests over python 3.8 - 3.11
251+
252+ ``` sh
253+ tox
254+ ```
255+
224256## Download Project
225257
226258### Clone
0 commit comments