File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 - name : Install dependencies
2323 run : |
2424 python -m pip install --upgrade pip
25- pip install build "setuptools-git-versioning>=2,<3" numpy
25+ pip install build "setuptools-git-versioning>=2,<3" numpy numba
2626 pip install torch --index-url https://download.pytorch.org/whl/cpu
2727 - name : Display version
2828 run : |
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ requires = [
44 " setuptools-git-versioning>=2.0,<3" ,
55 " wheel" ,
66 " torch" ,
7+ " numba" ,
78 " numpy" ,
89]
910build-backend = " setuptools.build_meta:__legacy__"
@@ -12,10 +13,9 @@ build-backend = "setuptools.build_meta:__legacy__"
1213enabled = true
1314# change the file path
1415version_file = " torchlpc/VERSION.txt"
15- count_commits_from_version_file = true # <--- enable commits tracking
16- dev_template = " {tag}.{branch}{ccount}" # suffix for versions will be .dev
17- dirty_template = " {tag}.{branch}{ccount}" # same thing here
18- # Temporarily disable branch formatting due to issues with regex in _version.py
16+ count_commits_from_version_file = true # <--- enable commits tracking
17+ dev_template = " {tag}.{branch}{ccount}" # suffix for versions will be .dev
18+ dirty_template = " {tag}.{branch}{ccount}" # same thing here
1919branch_formatter = " torchlpc._version:format_branch_name"
2020
2121[tool .setuptools .package-data ]
You can’t perform that action at this time.
0 commit comments