Skip to content

Commit b61df02

Browse files
authored
test release hatch
1 parent c503420 commit b61df02

File tree

3 files changed

+28
-6
lines changed

3 files changed

+28
-6
lines changed

.github/workflows/pyproject.toml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[build-system]
2+
requires = ["hatchling"]
3+
build-backend = "hatchling.build"
4+
5+
[project]
6+
name = "affinity"
7+
version = "0.2.0"
8+
description = "Module for creating well-documented datasets, with types and annotations."
9+
authors = [
10+
{ name = "Alex Kislukhin" }
11+
]
12+
readme = "README.md"
13+
requires-python = ">=3.11"
14+
15+
dependencies = [
16+
"pandas"
17+
]
18+
19+
[tool.hatch.build]
20+
include = [
21+
"affinity.py",
22+
]
23+
24+
[tool.hatch.build.targets.wheel]

.github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
- name: Checkout code
1515
uses: actions/checkout@v4
1616

17-
- name: Install build dependencies
18-
run: pip install build
19-
17+
- name: Install Hatch
18+
run: pip install hatch
19+
2020
- name: Build the wheel
21-
run: python -m build --wheel
21+
run: hatch build
2222

2323
- name: Upload the wheel as an artifact
2424
uses: actions/upload-artifact@v4

affinity.py

-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
Module for creating well-documented datasets, with types and annotations.
33
"""
44

5-
__version__ = "0.2.0"
6-
75
import numpy as np
86
import pandas as pd
97
from importlib import import_module

0 commit comments

Comments
 (0)