Skip to content

Instantly share code, notes, and snippets.

@luisdelatorre012
Created July 22, 2024 23:20
Show Gist options
  • Save luisdelatorre012/097de7bfbd8768e5ab28ea5cc6cf2e50 to your computer and use it in GitHub Desktop.
Save luisdelatorre012/097de7bfbd8768e5ab28ea5cc6cf2e50 to your computer and use it in GitHub Desktop.
Example pyproject.toml
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "your_package_name" # Replace with the actual package name
version = "0.1.9"
description = "Package description"
authors = [
{ name = "author name", email = "[email protected]" },
]
dependencies = [
"ibm-db-sa",
"SQLAlchemy<2",
]
requires-python = ">=3.6"
readme = "README.md"
homepage = "https://gitlab.url.for.package"
[project.urls]
homepage = "https://gitlab.url.for.package"
[tool.hatch.metadata]
allow-direct-references = true
[tool.hatch.build.targets.sdist]
include = ["src/**"]
[tool.hatch.build.targets.wheel]
include = ["src/**"]
[tool.hatch]
packages = [{include = "your_package_name"}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment