Skip to content

Commit

Permalink
fix to point to /usr/lib/python3.6 instead of /usr/lib/3.6.8
Browse files Browse the repository at this point in the history
hotfix: point to python3.6/site-packages instead of 3.6.8/site-packages
  • Loading branch information
anish-mudaraddi authored and DavidFair committed May 18, 2023
1 parent dd9a1a3 commit c95af54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/iriscast_package_build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ jobs:
- name: Build RPM
run: |
cd iriscasttools
echo -e "[install]\ninstall-lib=/usr/lib/${{ matrix.python-version }}/site-packages" > setup.cfg
python_version=$(python -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')")
echo -e "[install]\ninstall-lib=/usr/lib/python${python-version}/site-packages" > setup.cfg
python setup.py bdist_rpm
cd dist
mv iriscasttools-${{ env.version }}-1.noarch.rpm iriscasttools-${{ env.version }}-py${{ matrix.python-version }}.noarch.rpm
Expand Down
2 changes: 1 addition & 1 deletion iriscasttools/setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup, find_packages

VERSION = "0.1.0"
VERSION = "0.2.0"
DESCRIPTION = "python package for IRISCAST tools"

LONG_DESCRIPTION = """Python package to get power and CPU/RAM usage statistics"""
Expand Down

0 comments on commit c95af54

Please sign in to comment.