diff --git a/justfile b/justfile index 56bf2f3..f30b265 100644 --- a/justfile +++ b/justfile @@ -12,38 +12,38 @@ IMPORT_PROJECT := "amplitude_data_wrapper" just --list # install and run -run: +@run: uv run # install dependencies -install: +@install: uv sync --frozen # upgrade dependencies -update: +@update: uv lock --upgrade # check code with ruff -check: +@check: ruff check # format with ruff -format: +@format: ruff format # build package -build: check format package-test +@build: check format package-test rm -rf dist/; \ uv build # test package can be installed and imported -package-test: +@package-test: uv run --with {{PYPI_PROJECT}} --no-project -- python -c "import {{IMPORT_PROJECT}}" # publish on python package index -pypi_publish: +@pypi_publish: uv publish --token {{PYPI_TOKEN}} # publish on test python package index -testpypi_publish: +@testpypi_publish: uv publish --index testpypi --token {{TESTPYPI_TOKEN}} diff --git a/pyproject.toml b/pyproject.toml index c9ed54f..7d495cd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "amplitude-data-wrapper" -version = "0.5.5" +version = "0.5.6" description = "python wrapper for using the amplitude analytics and taxonomy APIs" authors = [ {name = "Tobias McVey", email = "tobias.mcvey@nav.no"}, @@ -8,7 +8,7 @@ authors = [ readme = "README.md" requires-python = ">=3.10" keywords = ["amplitude"] -license = {file = "LICENSE"} +license = "MIT" dependencies = [ "requests>=2.32.3", "tqdm>=4.67.1",