Skip to content

Commit

Permalink
Merge pull request #41 from Xelus22/patch-1
Browse files Browse the repository at this point in the history
Add Windows Notes-on-Packaging.md
  • Loading branch information
craig8 authored Dec 15, 2024
2 parents 60a49bb + c468be9 commit b96c11e
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/Notes-on-Packaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit b96c11e

Please sign in to comment.