I have a project that is set up as a local package using PkgTemplates. I would like to add a private Julia package that is hosted on a git repo outside of Github. I am having trouble getting it to work.
I added the package via the url (note this is not the real URL):
] add my_url.git
(I also tried without .git). After entering my name and password, everything seemed to download and update correctly. When I check the status I get the following:
Project.toml and Manifest.toml look normal as far as I can tell. I see the package in .julia/packages. However, when activate my environment and enter using MyPackage, I receive an error indicating MyPackage is not installed. However, if I try using Distributions it loads (note distributions is not in my global environment, so it can only load from the project environment). Is there something I need to do to get it to work?
Sorry about that. Yeah. I scrubbed some of the info and introduced a typo. I double checked Project.toml and the correct package name is there along with the uuid under deps.
I deleted Project.toml and Manifest.toml, repeated the setup, and now it is working. I have no idea what was causing the problem. I probably did something wrong, but I still have no clue . At least it is working now. Thank you everyone for your help nonetheless.