Skip to content

Commit ad8aa1f

Browse files
committed
Update Makefile to use uv build and uv publish
1 parent eca9584 commit ad8aa1f

3 files changed

Lines changed: 8 additions & 35 deletions

File tree

‎Makefile‎

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,15 @@
22
SHELL := /bin/bash
33

44
all: release
5-
.PHONY: all release conda_release pypi clean dict scrub
5+
.PHONY: all release pypi clean scrub
66

77
release: pypi
8-
fastrelease_conda_package --upload_user fastai
9-
fastrelease_bump_version
10-
11-
conda_release:
12-
fastrelease_conda_package --upload_user fastai
138

149
pypi: dist
15-
twine upload --repository pypi dist/*
10+
uv publish
1611

1712
dist: clean
18-
python setup.py sdist bdist_wheel
13+
uv build
1914

2015
clean:
2116
rm -rf dist

‎README.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ To format python files (via `ruff`) and clean notebooks (via `nbdev-clean`) befo
5959
make scrub
6060
```
6161

62+
To build and publish the package to PyPI, run:
63+
```bash
64+
make release
65+
```
66+
6267
## Citation
6368
Please cite the [publication for the Cleo simulator](https://www.biorxiv.org/content/10.1101/2023.01.27.525963v1) if you use this software in your research.
6469
You may also cite the [Zenodo DOI](https://zenodo.org/badge/latestdoi/440986279) for this repository.

‎pypi-template-README.md‎

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)