This is an automated email from the ASF dual-hosted git repository. skrawcz pushed a commit to branch stefan/update-package-names in repository https://gitbox.apache.org/repos/asf/hamilton.git
commit 8b05621e805751e8c66319cb0aa3f58a630e4369 Author: Stefan Krawczyk <[email protected]> AuthorDate: Sat Feb 21 13:14:35 2026 -0800 Update main package pyproject.toml for flit compatibility - Add license-files field - Change license from table format to string - Remove deprecated license classifier - Expand sdist includes to add scripts/** - Add comprehensive sdist excludes for VCS, build artifacts, etc. - Tested: flit build --no-use-vcs succeeds --- pyproject.toml | 54 +++++++++++++++++++++++++++++++++--------------------- 1 file changed, 33 insertions(+), 21 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index aebe93de..ee752622 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,26 +24,11 @@ name = "apache-hamilton" version = "1.89.0" # NOTE: keep this in sync with hamilton/version.py # TODO: flip back to dynamic once hamilton version is a string. Flit doesn't handle tuples. # dynamic = ["version"] -description = """Apache Hamilton (incubating) is a lightweight Python library for directed acyclic graphs (DAGs) -of transformations. Your DAG is **portable**; it runs anywhere Python runs, whether it's a script, -notebook, Airflow pipeline, FastAPI server, etc. Your DAG is **expressive**; Apache Hamilton has extensive -features to define and modify the execution of a DAG (e.g., data validation, experiment tracking, remote -execution). - -Apache Hamilton (incubating) is an effort undergoing incubation at the Apache -Software Foundation (ASF), sponsored by the Apache Incubator PMC. - -Incubation is required of all newly accepted projects until a further review -indicates that the infrastructure, communications, and decision making process -have stabilized in a manner consistent with other successful ASF projects. - -While incubation status is not necessarily a reflection of the completeness -or stability of the code, it does indicate that the project has yet to be -fully endorsed by the ASF. -""" +description = "Apache Hamilton (incubating) is a lightweight Python library for directed acyclic graphs (DAGs) of transformations. Your DAG is **portable**; it runs anywhere Python runs, whether it's a script, notebook, Airflow pipeline, FastAPI server, etc. Your DAG is **expressive**; Apache Hamilton has extensive features to define and modify the execution of a DAG (e.g., data validation, experiment tracking, remote execution)." readme = "README.md" requires-python = ">=3.10.1, <4" -license = {text = "Apache-2.0"} +license = "Apache-2.0" +license-files = ["LICENSE", "NOTICE", "DISCLAIMER"] keywords = ["hamilton"] authors = [ { name = "Stefan Krawczyk", email = "[email protected]" }, @@ -53,7 +38,6 @@ classifiers = [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Natural Language :: English", - "License :: OSI Approved :: Apache Software License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", @@ -297,5 +281,33 @@ hamilton = ["*.json", "*.md", "*.txt"] name = "hamilton" [tool.flit.sdist] -include = ["LICENSE", "NOTICE", "DISCLAIMER"] -exclude = [] +include = [ + "LICENSE", + "NOTICE", + "DISCLAIMER", + "scripts/**", +] +exclude = [ + ".git/**", + ".github/**", + ".gitignore", + "**/.gitignore", + "**/.DS_Store", + "docs/**", + "**/__pycache__/**", + "**/*.pyc", + "dist/**", + "build/**", + "*.egg-info/**", + ".venv/**", + "venv/**", + ".idea/**", + ".vscode/**", + ".coverage", + "htmlcov/**", + ".tox/**", + ".pytest_cache/**", + "ui/**", + "contrib/**", + "dev_tools/**", +]
