Skip to content
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

Add platform-specific dependencies to pyproject.toml #4601

Open
1 task done
FeodorFitsner opened this issue Dec 19, 2024 · 0 comments
Open
1 task done

Add platform-specific dependencies to pyproject.toml #4601

FeodorFitsner opened this issue Dec 19, 2024 · 0 comments
Assignees
Labels
enhancement Improvement/Optimization
Milestone

Comments

@FeodorFitsner
Copy link
Contributor

Duplicate Check

Describe the requested feature

A common for all platforms dependencies can be defined in pyproject.toml as:

[project]
dependencies = [
  "plyer==2.1.0"
]

or for Poetry configs:

[tool.poetry.dependencies]
plyer = "2.1.0"

The should be an ability to configure dependencies for each of the supported platforms: ios, android, windows, macos, linux and web, for example:

[tool.flet.ios]
dependencies = [
  "pyobjus"
]

[tool.flet.android]
dependencies = [
  "pyjnius"
]

Suggest a solution

No response

Screenshots

No response

Additional details

No response

@FeodorFitsner FeodorFitsner self-assigned this Dec 19, 2024
@FeodorFitsner FeodorFitsner added this to the Flet v0.25.3 milestone Dec 19, 2024
@ndonkoHenri ndonkoHenri added the enhancement Improvement/Optimization label Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement/Optimization
Projects
Status: 🆕 New
Development

No branches or pull requests

2 participants