Skip to content

cherry-pick: Add required deps to pyproject.toml #3117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions install_requirements.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ EXIR_REQUIREMENTS=(
# pip packages needed for development.
DEVEL_REQUIREMENTS=(
cmake # For building binary targets.
pyyaml # Imported by the kernel codegen tools.
setuptools # For building the pip package.
tomli # Imported by extract_sources.py when using python < 3.11.
wheel # For building the pip package archive.
Expand Down
14 changes: 12 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
[build-system]
requires = ["setuptools", "wheel"]
requires = [
"cmake", # For building binary targets in the wheel.
"pyyaml", # Imported by the kernel codegen tools.
"setuptools", # For building the pip package contents.
"tomli", # Imported by extract_sources.py when using python < 3.11.
"wheel", # For building the pip package archive.
"zstd", # Imported by resolve_buck.py.
]
build-backend = "setuptools.build_meta"

[project]
name = "executorch"
version = "0.1.0"
# TODO(dbort): Use setuptools-git-versioning or setuptools-scm to get the
# version from the git branch state. For now, use a version that doesn't look
# like a real release.
version = "0.2.1.dev0+unknown"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I modified the cherry-pick to make this 0.2.1 since it's after the 0.2.0 release.

# Python dependencies required for development
dependencies=[
"expecttest",
Expand Down