File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- name : Build and Publish Python Wheels to PyPI
1+ name : Python Package
22
33on :
44 push :
5858 env :
5959 CIBW_SKIP : " *-musllinux* *-manylinux_i686"
6060 CIBW_ARCHS_LINUX : " x86_64"
61- CIBW_ARCHS_MACOS : " x86_64 arm64"
6261 CIBW_BEFORE_ALL_LINUX : |
6362 yum install -y yum-utils && yum-config-manager --set-enabled crb && yum install -y ninja-build cmake libzstd-devel glib2-devel
64- CIBW_BEFORE_ALL_MACOS : |
65- brew install glib cmake ninja
6663 CIBW_TEST_COMMAND : " python -c 'import libcachesim; print(\" Import successful\" )'"
6764 run : python -m cibuildwheel libCacheSim-python --output-dir wheelhouse
6865
@@ -136,7 +133,6 @@ jobs:
136133 name : Publish to TestPyPI
137134 needs : [build-wheels, build-sdist]
138135 runs-on : ubuntu-latest
139- if : github.event_name == 'workflow_dispatch' || github.event_name == 'push'
140136 environment :
141137 name : testpypi
142138 url : https://test.pypi.org/p/libcachesim
Original file line number Diff line number Diff line change 11# libCacheSim - building and running cache simulations
22
33[ ![ build] ( https://github.com/1a1a11a/libCacheSim/actions/workflows/build.yml/badge.svg )] ( https://github.com/1a1a11a/libCacheSim/actions/workflows/build.yml )
4+ [ ![ Python-package GitHub Actions Build Status] ( https://github.com/1a1a11a/libCacheSim/actions/workflows/pypi-release.yml/badge.svg?branch=master )] ( https://github.com/1a1a11a/libCacheSim/actions/workflows/pypi-release.yml )
5+ [ ![ Python Versions] ( https://img.shields.io/pypi/pyversions/libcachesim.svg?logo=python&logoColor=white )] ( https://pypi.org/project/libcachesim )
6+ [ ![ PyPI Version] ( https://img.shields.io/pypi/v/libcachesim.svg?logo=pypi&logoColor=white )] ( https://pypi.org/project/libcachesim )
47[ ![ OpenSSF Scorecard] ( https://api.scorecard.dev/projects/github.com/1a1a11a/libCacheSim/badge )] ( https://scorecard.dev/viewer/?uri=github.com/1a1a11a/libCacheSim )
58
9+
610<!-- TOC start (generated with https://github.com/derlin/bitdowntoc) -->
711- [ libCacheSim - building and running cache simulations] ( #libcachesim---building-and-running-cache-simulations )
812 - [ News] ( #news )
Original file line number Diff line number Diff line change @@ -9,6 +9,15 @@ version = "0.3.1"
99description =" Python bindings for libCacheSim"
1010readme = " README.md"
1111requires-python = " >=3.9"
12+ keywords = [" performance" , " cache" , " simulator" ]
13+ classifiers = [
14+ " Intended Audience :: Developers" ,
15+ " License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)" ,
16+ " Programming Language :: Python :: 3.9" ,
17+ " Programming Language :: Python :: 3.10" ,
18+ " Programming Language :: Python :: 3.11" ,
19+ " Programming Language :: Python :: 3.12" ,
20+ ]
1221
1322[project .optional-dependencies ]
1423test = [" pytest" ]
You can’t perform that action at this time.
0 commit comments