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]
|
||||
name = "tampy"
|
||||
version = "0.1.0"
|
||||
description = "Tamil code compiler"
|
||||
dynamic = ["version"]
|
||||
description = "Tamil code compiler - converts Tamil code to Python"
|
||||
readme = "README.md"
|
||||
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 = []
|
||||
|
||||
[project.gui-scripts]
|
||||
[project.scripts]
|
||||
tampy = "tampy.cli:main"
|
||||
|
||||
[build-system]
|
||||
requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
[project.optional-dependencies]
|
||||
dev = [
|
||||
"pytest>=8.0",
|
||||
"pytest-cov>=4.0",
|
||||
"ruff>=0.1.0",
|
||||
"mypy>=1.0.0",
|
||||
]
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/tampy"]
|
||||
|
||||
[tool.hatch.build.targets.sdist]
|
||||
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