From eefbd3f322f6d388056d33063a8475bc0d159e65 Mon Sep 17 00:00:00 2001
From: Colm Talbot <colm.talbot@ligo.org>
Date: Wed, 18 Jan 2023 16:54:07 +0000
Subject: [PATCH] PACKAGE: upload wheel to pypi

---
 .gitlab-ci.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a5e0eadf0..901b3d8d4 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -304,8 +304,8 @@ pypi-release:
     TWINE_USERNAME: $PYPI_USERNAME
     TWINE_PASSWORD: $PYPI_PASSWORD
   before_script:
-    - pip install twine setuptools_scm
-    - python setup.py sdist
+    - python -m pip install twine setuptools_scm build
+    - python -m build --sdist --wheel --outdir dist/ .
   script:
     - twine upload dist/*
   only:
-- 
GitLab