fix: configure proper package build for cross-platform distribution
This commit is contained in:
@@ -1,19 +1,53 @@
|
|||||||
|
[build-system]
|
||||||
|
requires = ["hatchling", "hatch-vcs"]
|
||||||
|
build-backend = "hatchling.build"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "tampy"
|
name = "tampy"
|
||||||
version = "0.1.0"
|
dynamic = ["version"]
|
||||||
description = "Tamil code compiler"
|
description = "Tamil code compiler - converts Tamil code to Python"
|
||||||
|
readme = "README.md"
|
||||||
requires-python = ">=3.9"
|
requires-python = ">=3.9"
|
||||||
|
license = {text = "MIT"}
|
||||||
|
authors = [
|
||||||
|
{name = "Keshav Anand", email = "keshavanand.dev@gmail.com"}
|
||||||
|
]
|
||||||
|
keywords = ["tamil", "python", "compiler", "transpiler"]
|
||||||
|
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",
|
||||||
|
"Programming Language :: Python :: 3.13",
|
||||||
|
"Programming Language :: Python :: 3.14",
|
||||||
|
"Topic :: Software Development",
|
||||||
|
"Topic :: Software Development :: Compilers",
|
||||||
|
]
|
||||||
dependencies = []
|
dependencies = []
|
||||||
|
|
||||||
[project.gui-scripts]
|
[project.scripts]
|
||||||
tampy = "tampy.cli:main"
|
tampy = "tampy.cli:main"
|
||||||
|
|
||||||
[build-system]
|
[project.optional-dependencies]
|
||||||
requires = ["hatchling"]
|
dev = [
|
||||||
build-backend = "hatchling.build"
|
"pytest>=8.0",
|
||||||
|
"pytest-cov>=4.0",
|
||||||
|
"ruff>=0.1.0",
|
||||||
|
"mypy>=1.0.0",
|
||||||
|
]
|
||||||
|
|
||||||
[tool.hatch.build.targets.wheel]
|
[tool.hatch.build.targets.wheel]
|
||||||
packages = ["src/tampy"]
|
packages = ["src/tampy"]
|
||||||
|
|
||||||
[tool.hatch.build.targets.sdist]
|
[tool.hatch.build.targets.sdist]
|
||||||
include = ["/src"]
|
include = ["/src"]
|
||||||
|
|
||||||
|
[tool.hatch.version]
|
||||||
|
source = "vcs"
|
||||||
|
|
||||||
|
[tool.hatch.build.hooks.vcs]
|
||||||
|
version-file = "src/tampy/_version.py"
|
||||||
|
|||||||
Reference in New Issue
Block a user