File tree Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Expand file tree Collapse file tree 2 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,15 @@ mkdir SpecUtils
78
78
cp .\R elease\l ibSpecUtils.dll .\S pecUtils\S pecUtils.pyd
79
79
cp ..\b indings\p ython\_ _init__.py .\S pecUtils\
80
80
cp ..\b indings\p ython\s etup.py .
81
- pip install pip setuptools
82
- python.exe -m build --wheel
83
- python.exe -m pip install --user --force .\d ist\S pecUtils-0.0.1-cp310-cp310-win_amd64.whl
81
+ pip install pip setuptools wheel
82
+ # We should be able to run the following command to make a package:
83
+ # python.exe -m build --wheel
84
+ # But I ran into an issue with the "Tag" wasnt compatible with the current
85
+ # Python, so needed to use:
86
+ python.exe setup.py bdist_wheel --plat-name=win_amd64
87
+ # You can list tags compatible with your install `python.exe -m pip debug --verbose`
88
+ # And you may be able.
89
+ # If we ever get around to only using the stable API, we could use the command:
90
+ # python.exe setup.py bdist_wheel --plat-name=win_amd64 --python-tag=cp35 --py-limited-api=cp35
91
+ python.exe -m pip install --user --force .\d ist\S pecUtils-0.0.1-cp312-cp312-win32.whl
84
92
```
Original file line number Diff line number Diff line change 20
20
// For statically linking on Windows, we need this following define
21
21
#define BOOST_PYTHON_STATIC_LIB
22
22
23
+ // TODO: It would be nice to have the compiled results compatible with
24
+ // any python >= 3.5, which would require this next line, but this
25
+ // would require significant changes to use this limited API
26
+ // #define Py_LIMITED_API 0x03050000
27
+
23
28
#include " SpecUtils_config.h"
24
29
25
30
#include " 3rdparty/date/include/date/date.h"
You can’t perform that action at this time.
0 commit comments