Skip to content

Commit

Permalink
Merge pull request intel#508 from xuechendi/v1.2.0-recdp-setup-1
Browse files Browse the repository at this point in the history
release with prefix
  • Loading branch information
xuechendi authored Dec 22, 2023
2 parents b742fd8 + c473e6a commit 60f548d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/e2eaiok_recdp_release_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
release_version=$(cat e2eAIOK/version | head -1)
cd RecDP
echo $release_version > version
python3 setup.py sdist
python3 setup.py sdist --with_prefix
- name: Upload Package
uses: pypa/gh-action-pypi-publish@master
Expand Down
2 changes: 2 additions & 0 deletions RecDP/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ def get_packages(self):


if __name__ == '__main__':

if "--with_prefix" in sys.argv:
name = 'e2eAIOK-recdp'
sys.argv.remove("--with_prefix")
else:
name = 'pyrecdp'

Expand Down

0 comments on commit 60f548d

Please sign in to comment.