-
Notifications
You must be signed in to change notification settings - Fork 79
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
Windows setup.py: Symlinking requires Admin Privileges #925
Comments
Reply from @nmearl -- It is used to specify custom theming for Voila apps. I did not write it, but I did use it when I wrote the custom JDAViz theme. You can see it being used in other theming templates; from https://voila.readthedocs.io/en/stable/customize.html#creating-your-own-template, you can see it being used in the material ui theme (https://github.com/voila-dashboards/voila-material/blob/master/setup.py), and the vuetify theme (https://github.com/voila-dashboards/voila-vuetify/blob/master/setup.py). So maybe @maartenbreddels or @mariobuikhuizen can clarify on how to fix this properly? |
This is required for a dev install (i.e. pip install -e .). Is this something you need? Otherwise we can skip that step for windows. |
Ideally, a developer on Windows would be able to also |
Or does copy also need admin priv? |
No it doesn't need that. You could fallback to a copy, but then the template would not be editable in the source tree (you'd need to run pip install each time you edit, or copy manually). |
Hmm, what a dilemma. @duytnguyendtn , what do you think? |
#1218 reverted because of 🍎 |
Reporter: Duy Nguyen
In testing jdaviz on Windows 11, it almost worked flawlessly on Python 3.9.7 (latest py39), up until running the setup.py for jdaviz:
I found this discussion which I think points to the possible problem: AcademySoftwareFoundation/rez#594
and as it would suggest, when I reran the install as my System Administrator, the install worked. The problem would therein lie here:
jdaviz/setup.py
Line 141 in 0712a8c
This part of our setup.py is so opaque I can't understand what's going on here :/ But as our Windows Dev Advocate, I'd strongly recommend trying to resolve this!
🐱
DISCLAIMER: This issue was autocreated by the Jdaviz Issue Creation Bot on behalf of the reporter. If any information is incorrect, please contact Duy Nguyen
The text was updated successfully, but these errors were encountered: