Skip to content

Commit 2f0bc66

Browse files
committed
Simplifies Makefile and updates project metadata
Cleans up the Makefile by removing build, install, publish, and Redis management targets, focusing exclusively on cleaning and testing for a leaner developer workflow. Updates copyright and project URLs to reflect new project ownership and repository location, clarifying development stewardship and improving documentation accuracy.
1 parent 1993723 commit 2f0bc66

3 files changed

Lines changed: 5 additions & 30 deletions

File tree

LICENSE.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
The MIT License (MIT)
22

33
Copyright (c) 2014 Plivo Inc
4+
Copyright (c) 2025 Flowdacity Development Team
45

56
Permission is hereby granted, free of charge, to any person obtaining a copy
67
of this software and associated documentation files (the "Software"), to deal

Makefile

Lines changed: 3 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,16 @@
1-
.PHONY: all clean build install uninstall test publish redis redis-down
1+
.PHONY: all clean test
22

33
# Default target
4-
all: clean build
4+
all: clean test
55

66
# Remove Python + build artifacts
77
clean:
88
find . -name "*.pyc" -delete
99
find . -name "*.pyo" -delete
1010
find . -name "*~" -delete
11+
find . -name "__pycache__" -type d -exec rm -rf {} +
1112
rm -rf dist build *.egg-info
1213

13-
# Build package (requires: pip install build)
14-
build:
15-
python -m build
16-
17-
# Install locally built package
18-
install:
19-
pip install --force-reinstall dist/*.whl
20-
21-
# Uninstall FQ completely
22-
uninstall:
23-
pip uninstall -y flowdacity-queue
24-
2514
# Run tests — prefers pytest, falls back to python modules
2615
test:
2716
@if python -c "import pytest" 2>/dev/null; then \
@@ -30,18 +19,3 @@ test:
3019
echo 'pytest not installed — running direct test modules'; \
3120
python -m tests.test_routes; \
3221
fi
33-
34-
publish: clean
35-
uv sync --group dev
36-
uv run python -m build
37-
# @if [ -z "$$PYPI_API_TOKEN" ]; then echo "PYPI_API_TOKEN must be set"; exit 1; fi
38-
# uv run python -m twine upload dist/* -u __token__ -p "$$PYPI_API_TOKEN"
39-
uv run python -m twine upload dist/*
40-
41-
# Start Redis container
42-
redis:
43-
docker compose up -d redis
44-
45-
# Stop Redis container
46-
redis-down:
47-
docker compose down

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Flowdacity Queue Server
44
=======================
55

6-
An async HTTP API for the [Flowdacity Queue (FQ)](https://github.com/plivo/fq) core, built with Starlette and Uvicorn. It keeps the original SHARQ behavior (leaky-bucket rate limiting and dynamic queues) while modernizing the stack.
6+
An async HTTP API for the [Flowdacity Queue (FQ)](https://github.com/flowdacity/flowdacity-queue-server) core, built with Starlette and Uvicorn. It keeps the original SHARQ behavior (leaky-bucket rate limiting and dynamic queues) while modernizing the stack.
77

88
## Prerequisites
99

0 commit comments

Comments
 (0)