From 34d38d7fb5d2953b7fac49e4d7c1de8819a76fa2 Mon Sep 17 00:00:00 2001 From: KeshavAnandCode Date: Fri, 15 May 2026 18:43:26 -0500 Subject: [PATCH] pyporject --- packages/foreignthon/pyproject.toml | 55 +++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/packages/foreignthon/pyproject.toml b/packages/foreignthon/pyproject.toml index e69de29..8705b67 100644 --- a/packages/foreignthon/pyproject.toml +++ b/packages/foreignthon/pyproject.toml @@ -0,0 +1,55 @@ +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[project] +name = "foreignthon" +version = "0.1.0" +description = "Write Python in any language. Transpiles foreign-language .xx.py files to standard Python." +readme = "README.md" +license = { text = "MIT" } +requires-python = ">=3.9" +authors = [ + { name = "Your Name", email = "you@example.com" } +] +keywords = ["python", "transpiler", "i18n", "localization", "language"] +classifiers = [ + "Development Status :: 3 - Alpha", + "Intended Audience :: Developers", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.9", + "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", + "Topic :: Software Development :: Pre-processors", +] +dependencies = [ + "click>=8.0", +] + +[project.scripts] +fpy = "foreignthon.cli:main" + +[project.entry-points."foreignthon.langs"] +# Language packs register themselves here. +# e.g. foreignthon-es adds: es = "foreignthon_es" + +[project.optional-dependencies] +dev = [ + "pytest>=7.0", + "ruff>=0.4", +] + +[tool.hatch.build.targets.wheel] +packages = ["src/foreignthon"] + +[tool.pytest.ini_options] +testpaths = ["tests"] + +[tool.ruff] +line-length = 88 +src = ["src"] + +[tool.ruff.lint] +select = ["E", "F", "I"]