Spaces:
Sleeping
Sleeping
File size: 2,180 Bytes
b304834 5cf54dc b304834 5cf54dc b304834 5cf54dc b304834 5cf54dc | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 | # pyproject.toml
[build-system]
# Specifies the build backend (standard for many projects)
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
# --- Core Project Metadata ---
name = "ask_paul_graham"
version = "0.1.0"
description = "A web app to generate Paul Graham style essays using an LLM, with response storage."
readme = "README.md" # Assumes you have or will create a README file
requires-python = ">=3.9" # Based on the Python version used in Dockerfile/dev environment
license = "MIT" # Use SPDX identifier string
authors = [
{ name = "Jason Gross", email = "jasongross9@gmail.com" }, # Optional: Add your details
]
keywords = ["fastapi", "llm", "paul graham", "anthropic", "supabase", "web app"] # Optional
# --- Dependencies ---
# List runtime dependencies required for the application to run.
# Versions are based on previous requirements.txt/imports. Adjust as needed.
dependencies = [
"fastapi>=0.100.0",
"uvicorn[standard]>=0.20.0", # Explicitly included for direct usage if needed
"python-dotenv>=1.0.0", # Often used for local development environment variables
"jinja2>=3.0.0", # Anthropic client library
"python-multipart>=0.0.20",
"anthropic>=0.49.0",
"httpx>=0.28.1",
"supabase>=2.15.0",
"pyyaml>=6.0.2",
"requests>=2.32.3",
]
# --- Optional: Project URLs ---
# [project.urls]
# "Homepage" = "https://github.com/yourusername/ask_paul_graham" # Example
# "Bug Tracker" = "https://github.com/yourusername/ask_paul_graham/issues" # Example
# --- Optional: Entry Points / Scripts ---
# If you wanted to define command-line scripts:
# [project.scripts]
# ask-pg = "app.main:app" # Example, depends on how you structure/run
# --- Optional: Development Dependencies ---
# Add linters, formatters, testing tools here
[project.optional-dependencies]
dev = [
"types-PyYAML", # Stubs for PyYAML
# "pytest",
# "ruff",
# "mypy",
]
# --- Setuptools Configuration ---
[tool.setuptools.packages.find]
where = ["app"] # Look for packages in the app directory
# exclude = [] # Optional: exclude specific modules/packages
# include = ["app*"] # Optional: Be more specific if needed
|