Skip to content

Commit b9442f3

Browse files
committed
chore: add uv package manager support for project setup
1 parent 0ff68dd commit b9442f3

File tree

4 files changed

+396
-3
lines changed

4 files changed

+396
-3
lines changed

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.13

README.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,34 @@ Platform Support
4141
* macOS
4242
* Windows (dengan WSL untuk network simulation)
4343

44-
### Setup
44+
### Setup
4545

4646
1. Clone repository:
47+
48+
```bash
49+
git clone https://github.com/username/Tubes3_hrdtulis.git
50+
cd Tubes3_hrdtulis
51+
```
52+
### For WSL Ubuntu Users:
53+
54+
2. **Install uv**:
55+
56+
```bash
57+
curl -LsSf https://astral.sh/uv/install.sh | sh
58+
source ~/.bashrc
59+
```
60+
3. Install system dependencies:
61+
62+
```bash
63+
sudo apt update && sudo apt install -y libxcb-cursor0 libxcb-cursor-dev qt6-base-dev
64+
```
65+
4. Run the application (in project root folder)
66+
4767
```bash
48-
git clone https://github.com/username/Tubes3_NamaKelompok.git
49-
cd Tubes3_NamaKelompok
68+
uv sync
69+
uv run python src/main.py
5070
```
71+
5172
## Project Structure
5273

5374
## Feature

pyproject.toml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[project]
2+
name = "tubes3-hrdtulis"
3+
version = "0.1.0"
4+
description = "CV ATS System using Pattern Matching"
5+
requires-python = ">=3.8"
6+
dependencies = [
7+
"PyQt6>=6.0.0",
8+
"qasync>=0.23.0",
9+
"pyqtdarktheme>=2.0.0",
10+
"aiosqlite>=0.19.0",
11+
"faker>=19.0.0",
12+
"pymupdf>=1.23.0",
13+
]
14+
15+
[build-system]
16+
requires = ["hatchling"]
17+
build-backend = "hatchling.build"
18+
19+
[tool.hatch.build.targets.wheel]
20+
packages = ["src"]

0 commit comments

Comments
 (0)