Skip to content

Commit 680952b

Browse files
committed
Add badge
1 parent 944ad16 commit 680952b

3 files changed

Lines changed: 14 additions & 5 deletions

File tree

.github/workflows/pypi-release.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build and Publish Python Wheels to PyPI
1+
name: Python Package
22

33
on:
44
push:
@@ -58,11 +58,8 @@ jobs:
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

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
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)

libCacheSim-python/pyproject.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ version = "0.3.1"
99
description="Python bindings for libCacheSim"
1010
readme = "README.md"
1111
requires-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]
1423
test = ["pytest"]

0 commit comments

Comments
 (0)