Skip to content

Commit 37bbe46

Browse files
committed
Update packaging metadata and enable automated PyPI publishing
1 parent 589d8ea commit 37bbe46

File tree

2 files changed

+56
-18
lines changed

2 files changed

+56
-18
lines changed

.github/workflows/ci.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,29 @@ jobs:
5959
# env:
6060
# TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
6161
# TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
62+
publish:
63+
name: Build and Publish to PyPI
64+
needs: build-test
65+
runs-on: ubuntu-latest
66+
if: startsWith(github.ref, 'refs/tags/v')
67+
68+
steps:
69+
- uses: actions/checkout@v4
70+
71+
- name: Set up Python
72+
uses: actions/setup-python@v5
73+
with:
74+
python-version: "3.10"
75+
76+
- name: Install build tools
77+
run: |
78+
pip install --upgrade pip build twine
79+
80+
- name: Build package
81+
run: python -m build
82+
83+
- name: Publish to PyPI
84+
env:
85+
TWINE_USERNAME: __token__
86+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
87+
run: twine upload dist/*

setup.py

Lines changed: 30 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,44 @@
33
setup(
44
name="tasknow",
55
version="1.0.0",
6-
description="Minimalist terminal task manager with single-task focus",
7-
long_description="""# TaskNow - Product Context
6+
description="A super simple terminal to-do app that helps you focus on one task at a time.",
7+
long_description="""# TaskNow
88
9-
## Vision
9+
A super simple terminal to-do app that helps you focus on one task at a time.
1010
11-
A minimalist terminal task manager that helps users focus on one task at a time while still providing full task management capabilities.
11+
## Why use TaskNow?
1212
13-
## Core Features
13+
- Stay focused by seeing just your current task
14+
- Add, complete, and manage tasks easily from the terminal
15+
- No accounts, no clutter — just your tasks
1416
15-
- Single-task focus by default
16-
- Simple command-based interface
17-
- Full task list visibility when needed
18-
- Completion tracking
17+
## Quick start
1918
20-
## Technical Foundation
19+
Add a task:
20+
```bash
21+
tasknow add "Write report"
22+
```
2123
22-
- Python implementation
23-
- JSON data storage
24-
- Ubuntu/Linux compatible
24+
See your current task:
25+
```bash
26+
tasknow
27+
```
2528
26-
## User Workflow
29+
Mark it done:
30+
```bash
31+
tasknow done
32+
```
2733
28-
1. User adds tasks with `tasknow add`
29-
2. Views current task with `tasknow`
30-
3. Marks completion with `tasknow done`
31-
4. Manages full list with `tasknow list`/`tasknow remove` when needed
34+
List all tasks:
35+
```bash
36+
tasknow list
37+
```
38+
39+
For more commands and details, see the full documentation.
40+
41+
---
42+
43+
MIT License
3244
""",
3345
long_description_content_type="text/markdown",
3446
author="Decoding Chris",

0 commit comments

Comments
 (0)