File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 84
84
- name : Build RPM
85
85
run : |
86
86
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
88
89
python setup.py bdist_rpm
89
90
cd dist
90
91
mv iriscasttools-${{ env.version }}-1.noarch.rpm iriscasttools-${{ env.version }}-py${{ matrix.python-version }}.noarch.rpm
Original file line number Diff line number Diff line change 1
1
from setuptools import setup , find_packages
2
2
3
- VERSION = "0.1 .0"
3
+ VERSION = "0.2 .0"
4
4
DESCRIPTION = "python package for IRISCAST tools"
5
5
6
6
LONG_DESCRIPTION = """Python package to get power and CPU/RAM usage statistics"""
You can’t perform that action at this time.
0 commit comments