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

make sure package can be installed using the package manager #2

Closed
frederikgeth opened this issue Apr 16, 2020 · 5 comments
Closed

Comments

@frederikgeth
Copy link
Owner

frederikgeth commented Apr 16, 2020

In principle, you can install this code through
(v1.3) pkg> add https://github.com/frederikgeth/PowerModelsPrivacyPreserving.git

However, at least on my computer, I don't manage to log in, as it keeps repeatedly asking for authentification. It may have something to do with JuliaLang/Pkg.jl#1733

@afeutrill @davidsmith2020 , can you install the package with
(v1.3) pkg> add https://github.com/frederikgeth/PowerModelsPrivacyPreserving.git?
if that works, you should be able to do this next:
(v1.3) pkg> develop PowerModelsPrivacyPreserving

and then you can go in github desktop, 'add local repository' and point to ˜/.julia/dev/PowerModelsPrivactyPreserving.

@frederikgeth
Copy link
Owner Author

apparently develop --local "/path?to/PowerModelsPrivacyPreserving" works as well if you have checked out the repository first through git

@afeutrill
Copy link
Collaborator

I did git clone https://github.com/frederikgeth/PowerModelsPrivacyPreserving.git and it worked fine for me

@frederikgeth
Copy link
Owner Author

frederikgeth commented Apr 19, 2020

(v1.3) pkg> add https://github.com/frederikgeth/PowerModelsPrivacyPreserving.git just installs the package as an unregistered package. From there on you can do using PowerModelsPrivacyPreserving and use it like any other package.

If you check it out through git first, you need to to (v1.3) pkg> develop --local "/path/to/PowerModelsPrivacyPreserving" for the module to be available to Julia

@afeutrill
Copy link
Collaborator

afeutrill commented Apr 19, 2020

No problems, will do that now!

EDIT: Worked fine using develop --local ....

@frederikgeth
Copy link
Owner Author

Closing the issue, added installation notes to README.MD

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