Skip to content

Commit c95af54

Browse files
anish-mudaraddiDavidFair
authored andcommitted
fix to point to /usr/lib/python3.6 instead of /usr/lib/3.6.8
hotfix: point to python3.6/site-packages instead of 3.6.8/site-packages
1 parent dd9a1a3 commit c95af54

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/iriscast_package_build.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ jobs:
8484
- name: Build RPM
8585
run: |
8686
cd iriscasttools
87-
echo -e "[install]\ninstall-lib=/usr/lib/${{ matrix.python-version }}/site-packages" > setup.cfg
87+
python_version=$(python -c "import sys; print(f'{sys.version_info.major}.{sys.version_info.minor}')")
88+
echo -e "[install]\ninstall-lib=/usr/lib/python${python-version}/site-packages" > setup.cfg
8889
python setup.py bdist_rpm
8990
cd dist
9091
mv iriscasttools-${{ env.version }}-1.noarch.rpm iriscasttools-${{ env.version }}-py${{ matrix.python-version }}.noarch.rpm

iriscasttools/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from setuptools import setup, find_packages
22

3-
VERSION = "0.1.0"
3+
VERSION = "0.2.0"
44
DESCRIPTION = "python package for IRISCAST tools"
55

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

0 commit comments

Comments
 (0)