question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add a developer mode

See original GitHub issue

Briefcase installs the platform requirements defined in the setup.py file.

For someone using briefcase-template, for example, this means that it will pip install into the $PLATFORM/app_packages directory the packages defined in the setup.py.

It would be nice to have a “platform developer mode”, which would use a local version of those packages (specially useful for someone working on Toga).

One idea to implement this would be to provide a way of configuring alternative local versions for the requirements there, e.g.:

python setup.py TARGET --overrides package-overrides.json

And then, package-overrides.json could have something like:

{
    "toga": "/home/elias/src/toga/src/core/",
    "toga-android": "/home/elias/src/toga/src/android/"
}

This information would then be used by the install_platform_requirements function to feed pip the package names with the overrides applied.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:15 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
freakboy3742commented, Sep 20, 2017

Or… even better… don’t symlink - pass in the local directory to the pip install process.

0reactions
freakboy3742commented, Dec 21, 2019

The 0.3 branch now includes a developer mode.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configure on-device developer options - Android Developers
Enable developer options and USB debugging ... On Android 4.1 and lower, the Developer options screen is available by default. On Android 4.2...
Read more >
How to turn on ChromeOS developer mode on your ...
How to enable Developer Mode in ChromeOS Developer mode screenshot on Chrome OS · Turn on your Chromebook. · Press and hold the...
Read more >
How to Turn on Chrome OS Developer Mode - Business Insider
To enable Developer Mode, restart your laptop pressing the Esc, Refresh, and Power keys, then Ctrl+D. Developer Mode may void your warranty and ......
Read more >
Enable developer mode | Sideloading Apps on Oculus Quest
Enable Developer Mode on Quest · Tap Settings (bottom-right) · Select your connected Quest from the device list and connect to it ·...
Read more >
How do I turn on the Developer Options menu on ... - Samsung
How do I turn on the Developer Options menu on my Samsung Galaxy device? · 1 Go to "Settings" · 2 Tap "About...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found