-
Notifications
You must be signed in to change notification settings - Fork 22
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
How to organize Julia code #96
Comments
That would probably depend on whether you want to make these standard Julia packages or not. As a standard Julia package it certainly couldn't depend on code not in the package, unless that other package is in the REQUIRE file. One has to be a little careful how sharing of code happens. Julia can be installed on virtual machines and clusters. Also, a lot of system admins will install Julia for their users and then install a bunch of packages their users most commonly use, to cut down the number of duplicate versions of those packages there are. But then individual users can have their own packages too. So that means one has to be careful how one goes looking for the code from another package. One simply can't assume it is in the user's local .julia directory. How this all works with pkg3, I'm not too sure. |
Currently I do not see any problems with making this a Julia package, as all of this could be handled as "external" dependency. (I.e., GAP). I was more worried about making |
I think that users of (By the way, we must be able to express, for GAP packages that rely on |
Ok, I misunderstood. I thought you were talking about having a Julia package for loading JuliaInterface, and then loading that from LibGAP.jl. Of course your question makes a lot more sense now. |
This is done in #97 for now |
I have been thinking lately about how to organize the Julia Interface code between
LibGAP.jl
andJuliaInterface
. Currently, most of the code seems to be positioned arbitrary, and whileJuliaInterface
works withoutLibGAP.jl
, the converse is false.What would you think about
JuliaInterface
loading code fromLibGAP.jl
? I would then remove more Julia code fromJuliaInterface
and move it toLibGAP.jl
. Or do you regard it bad practice ifJuliaInterface
loads code that is not in its package folder?The text was updated successfully, but these errors were encountered: