Skip to content

Commit 8c0ad88

Browse files
authored
improve local build process (#23)
* dont echo the commands from justfile when run * update package version for release * use SPDX expression for license
1 parent 5409af3 commit 8c0ad88

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

justfile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,38 +12,38 @@ IMPORT_PROJECT := "amplitude_data_wrapper"
1212
just --list
1313

1414
# install and run
15-
run:
15+
@run:
1616
uv run
1717

1818
# install dependencies
19-
install:
19+
@install:
2020
uv sync --frozen
2121

2222
# upgrade dependencies
23-
update:
23+
@update:
2424
uv lock --upgrade
2525

2626
# check code with ruff
27-
check:
27+
@check:
2828
ruff check
2929

3030
# format with ruff
31-
format:
31+
@format:
3232
ruff format
3333

3434
# build package
35-
build: check format package-test
35+
@build: check format package-test
3636
rm -rf dist/; \
3737
uv build
3838

3939
# test package can be installed and imported
40-
package-test:
40+
@package-test:
4141
uv run --with {{PYPI_PROJECT}} --no-project -- python -c "import {{IMPORT_PROJECT}}"
4242

4343
# publish on python package index
44-
pypi_publish:
44+
@pypi_publish:
4545
uv publish --token {{PYPI_TOKEN}}
4646

4747
# publish on test python package index
48-
testpypi_publish:
48+
@testpypi_publish:
4949
uv publish --index testpypi --token {{TESTPYPI_TOKEN}}

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[project]
22
name = "amplitude-data-wrapper"
3-
version = "0.5.5"
3+
version = "0.5.6"
44
description = "python wrapper for using the amplitude analytics and taxonomy APIs"
55
authors = [
66
{name = "Tobias McVey", email = "[email protected]"},
77
]
88
readme = "README.md"
99
requires-python = ">=3.10"
1010
keywords = ["amplitude"]
11-
license = {file = "LICENSE"}
11+
license = "MIT"
1212
dependencies = [
1313
"requests>=2.32.3",
1414
"tqdm>=4.67.1",

0 commit comments

Comments
 (0)