Skip to content

Commit

Permalink
Fix versioni to be PEP 440 compliant
Browse files Browse the repository at this point in the history
* Updates version
* More documentation on how to build
  • Loading branch information
quantumfusion committed Apr 8, 2024
1 parent 4847f16 commit a67d30a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
A modified version of min-tf-client where it is in its own isolated namespace, allowing for use alongside a Tensorflow install.
Introduces a new setup comand: `python setup.py restructure`, which mangles the imports and moves the tensorflow and tensorflow_serving protobufs inside the min_tfs_client namespace.

Tarball created in virtual env using `build` package
```bash
pip install -U build
python -m build --wheel
```
NOTE: Need to make sure to install all dependencies like `protoc` and `tensorflow-serving-client` since these are needed in the build process. Setup.py doesn't actually set up everything correctly, so we need to specifically run the `build --wheel` so that it inherits the working env instead of trying to create a new one.

# Minimal Tensor Serving Python Client
A lightweight python client to communicate with Tensor Serving.

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def run(self):

setup(
name="min_tfs_client",
version="1.0.2-abacus",
version="1.0.2.post1",
description="A minified Tensor Serving Client for Python",
long_description=long_description,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit a67d30a

Please sign in to comment.