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

Better support for VSC #71

Open
poesel opened this issue Mar 28, 2020 · 6 comments
Open

Better support for VSC #71

poesel opened this issue Mar 28, 2020 · 6 comments

Comments

@poesel
Copy link
Collaborator

poesel commented Mar 28, 2020

Now that all code is in /src there is only one step missing to be able to seamlessly use VSC: either move dist-packages into src (there is probaly some thelogical reason not to do this ;) ) or just link the directory into src (that is what I do).

@amotl
Copy link
Member

amotl commented Mar 28, 2020

Dear @poesel,

we can well move dist-packages into the src folder and finally add a pymakr.conf (#32).

With kind regards,
Andreas.

@poesel
Copy link
Collaborator Author

poesel commented Mar 29, 2020

If dist-packages is in /src there is no need for a pymakr.conf because everything in /src will have to be synced to the MCU. Well except if you want to exclude syncing the pycache directories that are created through 'make test'. But since its only the directories and not their contents its a mere nuisance.

@poesel
Copy link
Collaborator Author

poesel commented May 5, 2020

so are we going to move /dist-packages into /src or not?

@poesel
Copy link
Collaborator Author

poesel commented May 28, 2020

?

@amotl
Copy link
Member

amotl commented May 28, 2020

Dear @poesel,

we might well consider that in the future. Currently, due to other obligations elsewhere but also within Terkin, I don't think I will able to dedicate myself to that.

But in case I would touch that, should we call the directory src/dist-packages or src/site-packages, see [1]?

Apart from that, shall we also put lib-mpy into src/site-packages-mpy then?

With kind regards,
Andreas.

[1] https://stackoverflow.com/questions/9387928/whats-the-difference-between-dist-packages-and-site-packages

@poesel
Copy link
Collaborator Author

poesel commented May 29, 2020

I don't think it makes a difference here. So don't change anything. Only creates confusion.

Putting the mpys there, too, makes sense (although mpy are not strictly source files :) ). If everything is under one root directory you can sync it with pymakr.

No rush. I just wanted to know if we do it or not.

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

No branches or pull requests

2 participants