Commit b61df02 1 parent c503420 commit b61df02 Copy full SHA for b61df02
File tree 3 files changed +28
-6
lines changed
3 files changed +28
-6
lines changed Original file line number Diff line number Diff line change
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 ]
Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ jobs:
14
14
- name : Checkout code
15
15
uses : actions/checkout@v4
16
16
17
- - name : Install build dependencies
18
- run : pip install build
19
-
17
+ - name : Install Hatch
18
+ run : pip install hatch
19
+
20
20
- name : Build the wheel
21
- run : python -m build --wheel
21
+ run : hatch build
22
22
23
23
- name : Upload the wheel as an artifact
24
24
uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 2
2
Module for creating well-documented datasets, with types and annotations.
3
3
"""
4
4
5
- __version__ = "0.2.0"
6
-
7
5
import numpy as np
8
6
import pandas as pd
9
7
from importlib import import_module
You can’t perform that action at this time.
0 commit comments