diff --git a/docs/Notes-on-Packaging.md b/docs/Notes-on-Packaging.md index c7dce19..517279c 100644 --- a/docs/Notes-on-Packaging.md +++ b/docs/Notes-on-Packaging.md @@ -287,6 +287,23 @@ adding 'dnp3_python-0.2.3b2.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel ``` +### Building on windows systems +To get started install the following programs: +* Latest Visual Studio (2022 at the time of writing) + * Desktop development with C++ - Workload + * Git for Windows - Individual components +* Local python install + * install python package `wheel` with `py -m pip install wheel` + +#### Compiling +* Open up powershell from within VS2022 - Tools -> Command Line -> Developer Powershell +* run a `git clone --recurse-submodules https://github.com/VOLTTRON/dnp3-python.git` to obtain the latest version +* `cd dnp3-python` +* `python setup.py install` +* `python setup.py bdist_wheel` +* the `whl` file should now be in the `dist` folder + + More information about [building wheels](https://wheel.readthedocs.io/en/stable/user_guide.html?highlight=bdist_wheel#building-wheels), [The Story of Wheel](https://wheel.readthedocs.io/en/stable/story.html?highlight=bdist_wheel#the-story-of-wheel),