Skip to content

Commit e958635

Browse files
Add PIPY and update README (#115)
* Add Pipy and update README * use poetry publis --------- Co-authored-by: Benjamin Ye <[email protected]>
1 parent 85f7f7b commit e958635

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
build-release:
2+
rm -rf dist
3+
rm -rf build
4+
poetry build
5+
poetry publis

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -262,3 +262,16 @@ NOTE: Be sure to merge the latest from "upstream" before making a pull request!
262262
2. Use `ruff format` to apply formatting
263263

264264
NOTE: Ruff linting and formatting checks are done when PR is raised via Git Action. Before raising a PR, it is a good practice to check and fix lint errors, as well as apply formatting.
265+
266+
267+
### Releasing
268+
269+
270+
To manually release a PyPI package, please run:
271+
272+
```shell
273+
make build-release
274+
```
275+
276+
Note: Make sure you have pypi token for this [PyPI repo](https://pypi.org/project/llm-toolkit/).
277+

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[tool.poetry]
2-
name = "llm-finetuning-hub"
2+
name = "llm-toolkit"
33
version = "0.1.0"
44
description = "LLM Finetuning resource hub + toolkit"
55
authors = ["Benjamin Ye <[email protected]>"]
66
license = "Apache 2.0"
77
readme = "README.md"
8-
packages = [{include = "llm_finetuning_hub"}]
8+
packages = [{include = "llmtune"}]
99

1010
[tool.poetry.dependencies]
1111
python = ">=3.9, <=3.12"
@@ -43,6 +43,7 @@ shellingham = "^1.5.4"
4343

4444

4545
[tool.poetry.group.dev.dependencies]
46+
twine = "^5.0.0"
4647
ruff = "~0.3.5"
4748

4849
[build-system]

0 commit comments

Comments
 (0)