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 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
Original file line number Diff line number Diff line change 11from setuptools import setup , find_packages
22
3- VERSION = "0.1 .0"
3+ VERSION = "0.2 .0"
44DESCRIPTION = "python package for IRISCAST tools"
55
66LONG_DESCRIPTION = """Python package to get power and CPU/RAM usage statistics"""
You can’t perform that action at this time.
0 commit comments