From 8452b7384cb4ee4a50b7887cf0fadbd6e2c9d684 Mon Sep 17 00:00:00 2001 From: Sean Sube Date: Tue, 10 Jan 2023 08:54:58 -0600 Subject: [PATCH] feat(build): upload pip package (fixes #29) --- .gitlab-ci.yml | 4 +++- api/setup.py | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e27fab6e..1e086c93 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -156,7 +156,9 @@ package-api-twine: - tags script: - cd api - - echo make package + - python -m build + - twine check dist/* + - twine upload dist/* package-gui-npm: extends: diff --git a/api/setup.py b/api/setup.py index 49a0b62e..a9e6e515 100644 --- a/api/setup.py +++ b/api/setup.py @@ -1,10 +1,10 @@ import setuptools -with open("../README.md", "r") as fh: +with open("README.md", "r") as fh: long_description = fh.read() setuptools.setup( - name="onnx_web", + name="onnx-web", version="0.2.1", author="ssube", author_email="seansube@gmail.com",