feat: project scaffolding with pyproject.toml and package structure

Made-with: Cursor
This commit is contained in:
cottongin
2026-03-10 02:23:24 -04:00
parent 25a775ff4e
commit 0c48edb5f7
12 changed files with 70 additions and 0 deletions

23
pyproject.toml Normal file
View File

@@ -0,0 +1,23 @@
[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "cursor-flasher"
version = "0.1.0"
description = "Flash Cursor's window when the AI agent is waiting for input"
requires-python = ">=3.10"
dependencies = [
"pyobjc-framework-Cocoa",
"pyobjc-framework-Quartz",
"PyYAML",
]
[project.optional-dependencies]
dev = ["pytest", "pytest-mock"]
[project.scripts]
cursor-flasher = "cursor_flasher.cli:main"
[tool.setuptools.packages.find]
where = ["src"]

5
requirements.txt Normal file
View File

@@ -0,0 +1,5 @@
pyobjc-framework-Cocoa
pyobjc-framework-Quartz
PyYAML
pytest
pytest-mock

View File

@@ -0,0 +1,11 @@
Metadata-Version: 2.4
Name: cursor-flasher
Version: 0.1.0
Summary: Flash Cursor's window when the AI agent is waiting for input
Requires-Python: >=3.10
Requires-Dist: pyobjc-framework-Cocoa
Requires-Dist: pyobjc-framework-Quartz
Requires-Dist: PyYAML
Provides-Extra: dev
Requires-Dist: pytest; extra == "dev"
Requires-Dist: pytest-mock; extra == "dev"

View File

@@ -0,0 +1,9 @@
pyproject.toml
src/cursor_flasher/__init__.py
src/cursor_flasher/__main__.py
src/cursor_flasher.egg-info/PKG-INFO
src/cursor_flasher.egg-info/SOURCES.txt
src/cursor_flasher.egg-info/dependency_links.txt
src/cursor_flasher.egg-info/entry_points.txt
src/cursor_flasher.egg-info/requires.txt
src/cursor_flasher.egg-info/top_level.txt

View File

@@ -0,0 +1 @@

View File

@@ -0,0 +1,2 @@
[console_scripts]
cursor-flasher = cursor_flasher.cli:main

View File

@@ -0,0 +1,7 @@
pyobjc-framework-Cocoa
pyobjc-framework-Quartz
PyYAML
[dev]
pytest
pytest-mock

View File

@@ -0,0 +1 @@
cursor_flasher

View File

@@ -0,0 +1,3 @@
"""Cursor Flasher — flash the Cursor window when the AI agent is waiting for input."""
__version__ = "0.1.0"

View File

@@ -0,0 +1,4 @@
from cursor_flasher.cli import main
if __name__ == "__main__":
main()

0
tests/__init__.py Normal file
View File

4
tests/conftest.py Normal file
View File

@@ -0,0 +1,4 @@
import sys
from pathlib import Path
sys.path.insert(0, str(Path(__file__).parent.parent / "src"))