SerialScope icon indicating copy to clipboard operation
SerialScope copied to clipboard

Question - How to download and run from GitHub?

Open MikeTheWatchGuy opened this issue 6 years ago • 1 comments

I'm having difficulty following the instructions in the readme. I downloaded the code from GitHub. I assumed there would be a file serialscope.py somewhere since it's launched by running python 3 -m serialscope. I know it's the package, but that often means it's the same as the launch filename.

Anyway, what are the instructions for downloading your project and running the python code from an IDE or directly?

MikeTheWatchGuy avatar Jun 29 '19 14:06 MikeTheWatchGuy

Sorry for very late reply. This fell into cracks at my end.

python3 -m serialscope called SerialScope/__main__.py file.

To launch it from IDE directory, you can do the following.

  • Update pip to the latest version.
  • python3 setup.py develop (this will make the current development directory as if serialscope is installed here).

Now you can update any file the cloned repo and execute python3 -m SerialScope without changing PYTHONPATH.

dilawar avatar Aug 12 '20 06:08 dilawar