feat: project scaffolding with pyproject.toml and package structure
Made-with: Cursor
This commit is contained in:
23
pyproject.toml
Normal file
23
pyproject.toml
Normal 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
5
requirements.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
pyobjc-framework-Cocoa
|
||||
pyobjc-framework-Quartz
|
||||
PyYAML
|
||||
pytest
|
||||
pytest-mock
|
||||
11
src/cursor_flasher.egg-info/PKG-INFO
Normal file
11
src/cursor_flasher.egg-info/PKG-INFO
Normal 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"
|
||||
9
src/cursor_flasher.egg-info/SOURCES.txt
Normal file
9
src/cursor_flasher.egg-info/SOURCES.txt
Normal 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
|
||||
1
src/cursor_flasher.egg-info/dependency_links.txt
Normal file
1
src/cursor_flasher.egg-info/dependency_links.txt
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
2
src/cursor_flasher.egg-info/entry_points.txt
Normal file
2
src/cursor_flasher.egg-info/entry_points.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
[console_scripts]
|
||||
cursor-flasher = cursor_flasher.cli:main
|
||||
7
src/cursor_flasher.egg-info/requires.txt
Normal file
7
src/cursor_flasher.egg-info/requires.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
pyobjc-framework-Cocoa
|
||||
pyobjc-framework-Quartz
|
||||
PyYAML
|
||||
|
||||
[dev]
|
||||
pytest
|
||||
pytest-mock
|
||||
1
src/cursor_flasher.egg-info/top_level.txt
Normal file
1
src/cursor_flasher.egg-info/top_level.txt
Normal file
@@ -0,0 +1 @@
|
||||
cursor_flasher
|
||||
3
src/cursor_flasher/__init__.py
Normal file
3
src/cursor_flasher/__init__.py
Normal file
@@ -0,0 +1,3 @@
|
||||
"""Cursor Flasher — flash the Cursor window when the AI agent is waiting for input."""
|
||||
|
||||
__version__ = "0.1.0"
|
||||
4
src/cursor_flasher/__main__.py
Normal file
4
src/cursor_flasher/__main__.py
Normal file
@@ -0,0 +1,4 @@
|
||||
from cursor_flasher.cli import main
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
0
tests/__init__.py
Normal file
0
tests/__init__.py
Normal file
4
tests/conftest.py
Normal file
4
tests/conftest.py
Normal file
@@ -0,0 +1,4 @@
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
||||
sys.path.insert(0, str(Path(__file__).parent.parent / "src"))
|
||||
Reference in New Issue
Block a user