Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[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"},
]
readme = "README.md"
requires-python = ">=3.10"
keywords = ["amplitude"]
license = {file = "LICENSE"}
license = "MIT"
dependencies = [
"requests>=2.32.3",
"tqdm>=4.67.1",
Expand Down