Skip to content

Commit

Permalink
Python version update of build tool
Browse files Browse the repository at this point in the history
  • Loading branch information
bari12 committed Oct 10, 2023
1 parent 9c5e869 commit e5668e5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/build_sdist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,25 +50,25 @@ fi
/bin/cp MANIFEST.in.rucio MANIFEST.in
/bin/cp setup_rucio.py setup.py
# Pre-build one time to ensure correct vcversion file
python setup.py build sdist
python3 setup.py build sdist

if $rucio; then
/bin/cp MANIFEST.in.rucio MANIFEST.in
/bin/cp setup_rucio.py setup.py
# Push on pypi@org
python -m build --sdist
python3 -m build --sdist
fi

if $clients; then
/bin/cp MANIFEST.in.client MANIFEST.in
/bin/cp setup_rucio_client.py setup.py
# Push on pypi@org
python -m build --sdist
python3 -m build --sdist
fi

if $webui; then
/bin/cp MANIFEST.in.webui MANIFEST.in
/bin/cp setup_webui.py setup.py
# Push on pypi@org
python -m build --sdist
python3 -m build --sdist
fi

0 comments on commit e5668e5

Please sign in to comment.