Skip to content

Commit 2685fc2

Browse files
authored
Merge pull request #12 from reymond-group/publish-action
Added publishing workflow
2 parents bebdae1 + f7b64d6 commit 2685fc2

File tree

2 files changed

+46
-28
lines changed

2 files changed

+46
-28
lines changed

.github/workflows/publish.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Publish
2+
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
8+
jobs:
9+
pypi:
10+
name: Publish to PyPI
11+
runs-on: ubuntu-latest
12+
environment:
13+
name: buildpublish
14+
permissions:
15+
id-token: write
16+
steps:
17+
- uses: actions/checkout@v4
18+
- uses: astral-sh/setup-uv@v3
19+
- run: uv build
20+
- run: uv publish --trusted-publishing always

pyproject.toml

Lines changed: 26 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,43 +2,41 @@
22
name = "drfp"
33
dynamic = ["version"]
44
description = "An NLP-inspired chemical reaction fingerprint based on basic set arithmetic."
5-
authors = [
6-
{name = "Daniel Probst", email = "daniel.probst@hey.com"}
7-
]
8-
license = {text = "MIT"}
5+
authors = [{ name = "Daniel Probst", email = "daniel.probst@hey.com" }]
6+
license = { text = "MIT" }
97
readme = "README.md"
108
requires-python = ">=3.10"
119
classifiers = [
12-
"Development Status :: 5 - Production/Stable",
13-
"Topic :: Scientific/Engineering :: Chemistry",
14-
"Programming Language :: Python",
15-
"Programming Language :: Python :: 3",
16-
"Programming Language :: Python :: 3 :: Only",
17-
"Environment :: Console",
18-
"Intended Audience :: Science/Research",
19-
"License :: OSI Approved :: MIT License",
20-
"Operating System :: POSIX :: Linux",
21-
"Operating System :: Unix",
22-
"Operating System :: MacOS",
23-
"Operating System :: Microsoft :: Windows"
10+
"Development Status :: 5 - Production/Stable",
11+
"Topic :: Scientific/Engineering :: Chemistry",
12+
"Programming Language :: Python",
13+
"Programming Language :: Python :: 3",
14+
"Programming Language :: Python :: 3 :: Only",
15+
"Environment :: Console",
16+
"Intended Audience :: Science/Research",
17+
"License :: OSI Approved :: MIT License",
18+
"Operating System :: POSIX :: Linux",
19+
"Operating System :: Unix",
20+
"Operating System :: MacOS",
21+
"Operating System :: Microsoft :: Windows",
2422
]
2523
dependencies = [
26-
"tqdm",
27-
"click",
28-
"xgboost",
29-
"openpyxl",
30-
"numpy",
31-
"rdkit",
32-
"pre-commit",
24+
"tqdm",
25+
"click",
26+
"xgboost",
27+
"openpyxl",
28+
"numpy>=2.2.2",
29+
"rdkit>=2024.9.4",
30+
"pre-commit>=4.1.0",
3331
]
3432

3533
[dependency-groups]
3634
dev = [
37-
"black>=25.1.0",
38-
"pytest>=8.3.4",
39-
"pytest-cov>=6.0.0",
40-
"tox>=4.24.1",
41-
"ruff>=0.9.4",
35+
"black>=25.1.0",
36+
"pytest>=8.3.4",
37+
"pytest-cov>=6.0.0",
38+
"tox>=4.24.1",
39+
"ruff>=0.9.4",
4240
]
4341

4442

0 commit comments

Comments
 (0)