Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit fa7abd3

Browse files
committedFeb 7, 2024
build: moved package and dependency management to pdm
Refs: #155
1 parent 0f46a04 commit fa7abd3

File tree

6 files changed

+2216
-82
lines changed

6 files changed

+2216
-82
lines changed
 

‎.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ ipython_config.py
108108
# in version control.
109109
# https://pdm.fming.dev/#use-with-ide
110110
.pdm.toml
111+
.pdm-python
111112

112113
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
113114
__pypackages__/

‎pdm.lock

Lines changed: 2174 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎pyproject.toml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
[project]
2+
name = "self-operating-computer"
3+
version = "1.2.9"
4+
description = "Default template for PDM package"
5+
authors = [{ name = "Josh Bickett", email = "josh@bickett.net" }]
6+
dependencies = [
7+
"openai>=1.11.1",
8+
"setuptools>=69.0.3",
9+
"pillow>=10.2.0",
10+
"easyocr>=1.7.1",
11+
"ultralytics>=8.1.10",
12+
"pyautogui>=0.9.54",
13+
"python-dotenv>=1.0.1",
14+
"google-generativeai>=0.3.2",
15+
"prompt-toolkit>=3.0.43",
16+
"python3-xlib>=0.15",
17+
]
18+
requires-python = ">=3.12"
19+
readme = "README.md"
20+
license = { text = "MIT" }
21+
22+
[project.scripts]
23+
operate = "operate.main:main_entry"
24+
25+
[project.optional-dependencies]
26+
audio = [
27+
"whisper-mic>=1.4.0",
28+
]
29+
[tool.setuptools.packages.find]
30+
where = ["."]
31+
32+
[tool.setuptools.package-data]
33+
"operate.models.weights" = ["best.pt"]
34+
35+
[build-system]
36+
requires = ["setuptools", "wheel"]
37+
build-backend = "setuptools.build_meta"
38+
39+
40+
[tool.pdm]
41+
distribution = true

‎requirements-audio.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎requirements.txt

Lines changed: 0 additions & 53 deletions
This file was deleted.

‎setup.py

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.