Skip to content

Commit 2ad0a9a

Browse files
committed
Modification of pyproject and workflow for building wheels
1 parent cabc92a commit 2ad0a9a

File tree

2 files changed

+14
-15
lines changed

2 files changed

+14
-15
lines changed

.github/workflows/build_wheels.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,8 @@ name: Build and upload to PyPI
33
on:
44
workflow_dispatch:
55
push:
6-
branches:
7-
- main
8-
paths:
9-
- "src/radius_clustering/**"
10-
- "tests/**"
11-
- "pyproject.toml"
12-
release:
13-
types:
14-
- published
6+
tags:
7+
- "v*"
158

169
jobs:
1710
run_pytest:
@@ -93,7 +86,7 @@ jobs:
9386
attestations: write
9487
#if: github.event_name == 'release' && github.event.action == 'published'
9588
# or, alternatively, upload to PyPI on every tag starting with 'v' (remove on: release above to use this)
96-
#if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
89+
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
9790
steps:
9891
- name: Download all dists
9992
uses: actions/download-artifact@v4

pyproject.toml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,21 @@ authors = [
1111
{name = "Quentin Haenn"},
1212
{name = "Lias Laboratory"}
1313
]
14+
maintainers = [
15+
{name = "Quentin Haenn", email = "[email protected]"}
16+
]
1417

1518
dependencies = [
1619
"matplotlib>=3.6.2",
17-
"numpy>=1.23",
20+
"numpy>=2.0",
1821
"scikit-learn>=1.2.2",
1922
"scipy>=1.12.0",
2023
]
2124

2225
requires-python = ">=3.9"
2326
license = {file = "LICENSE"}
2427
classifiers=[
28+
"Development Status :: 5 - Production/Stable",
2529
"Intended Audience :: Science/Research",
2630
"Intended Audience :: Developers",
2731
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
@@ -30,6 +34,8 @@ classifiers=[
3034
"Programming Language :: Python",
3135
"Topic :: Software Development",
3236
"Topic :: Scientific/Engineering",
37+
"Topic :: Scientific/Engineering :: Machine Learning",
38+
"Topic :: Scientific/Engineering :: Mathematics",
3339
"Operating System :: Microsoft :: Windows",
3440
"Operating System :: POSIX",
3541
"Operating System :: Unix",
@@ -42,12 +48,12 @@ classifiers=[
4248
"Programming Language :: Python :: 3.13",
4349
"Programming Language :: Python :: Implementation :: CPython",
4450
]
45-
keywords = ["Unsupervised learning","clustering", "minimum dominating sets","clustering under radius constraint"]
51+
keywords = ["Unsupervised learning", "clustering", "minimum dominating sets","clustering under radius constraint"]
4652

4753
[project.urls]
48-
source = "https://github.com/lias-laboratory/radius_clustering"
49-
tracker = "https://github.com/lias-laboratory/radius_clustering/issues"
50-
documentation = "https://lias-laboratory.github.io/radius_clustering/"
54+
source = "https://github.com/scikit-learn-contrib/radius_clustering"
55+
tracker = "https://github.com/scikit-learn-contrib/radius_clustering/issues"
56+
documentation = "https://contrib.scikit-learn.org/radius_clustering/"
5157

5258
[project.optional-dependencies]
5359
dev = [

0 commit comments

Comments
 (0)