Minor fixes to PyPI package build procedure. Stubbed out a more pythonic API

This commit is contained in:
Joseph Henry
2018-02-21 18:19:00 -08:00
parent 50cd2499b7
commit 2faacca8c9
7 changed files with 395 additions and 315 deletions

View File

@@ -21,6 +21,9 @@ while True:
## Building
- install SWIG
- `make wrapper`
### macOS, Linux
Binary distribution:
@@ -57,5 +60,8 @@ Cleanup:
clean.bat
## Installing from a locally-built package/wheel
- `pip3 install dist/<package_name>.whl`
*Note: As there appears to be no way to differentiate C and C++ code (and thus pass correct build args to each type) in a setuptools script we must separately build the `lwip` and `http_parser` libraries, copy them here, and then build the binary. See the top-level [README.md](../../README.md) for instructions on how to do that*