Skip to content

Commit b96c11e

Browse files
authored
Merge pull request #41 from Xelus22/patch-1
Add Windows Notes-on-Packaging.md
2 parents 60a49bb + c468be9 commit b96c11e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/Notes-on-Packaging.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,23 @@ adding 'dnp3_python-0.2.3b2.dist-info/RECORD'
287287
removing build/bdist.linux-x86_64/wheel
288288
```
289289
290+
### Building on windows systems
291+
To get started install the following programs:
292+
* Latest Visual Studio (2022 at the time of writing)
293+
* Desktop development with C++ - Workload
294+
* Git for Windows - Individual components
295+
* Local python install
296+
* install python package `wheel` with `py -m pip install wheel`
297+
298+
#### Compiling
299+
* Open up powershell from within VS2022 - Tools -> Command Line -> Developer Powershell
300+
* run a `git clone --recurse-submodules https://github.com/VOLTTRON/dnp3-python.git` to obtain the latest version
301+
* `cd dnp3-python`
302+
* `python setup.py install`
303+
* `python setup.py bdist_wheel`
304+
* the `whl` file should now be in the `dist` folder
305+
306+
290307
More information
291308
about [building wheels](https://wheel.readthedocs.io/en/stable/user_guide.html?highlight=bdist_wheel#building-wheels),
292309
[The Story of Wheel](https://wheel.readthedocs.io/en/stable/story.html?highlight=bdist_wheel#the-story-of-wheel),

0 commit comments

Comments
 (0)