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

Modify examples to use "local source" installs of toga #1374

Merged
merged 2 commits into from
Dec 5, 2021

Conversation

freakboy3742
Copy link
Member

The examples can't be run unless you clone the repository; and if you're cloning the repository, you almost certainly want to use the checked-out version of Toga, rather than the PyPI released versions.

Therefore, it makes sense for the examples to reference the cloned code, rather than PyPI versions. This also makes testing easier, as there's no need to modify the examples in order to run a test of Toga changes.

Also fixes #1369, since it was easy to audit the examples as I went.

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

@freakboy3742 freakboy3742 merged commit e5a603a into beeware:master Dec 5, 2021
@freakboy3742 freakboy3742 deleted the dev-demos branch December 5, 2021 03:42
@freakboy3742 freakboy3742 restored the dev-demos branch December 13, 2021 22:30
@freakboy3742 freakboy3742 deleted the dev-demos branch December 13, 2021 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

toga/examples w/o end lines: if __name__ == '__main__': [...] DO NOT run from macOS 10.13.6 terminal.app
1 participant