dirname(@__FILE__ 
<http://docs.julialang.org/en/latest/stdlib/file/?highlight=__file__#Base.@__FILE__>
)

kl. 13:55:37 UTC+2 torsdag 14. august 2014 skrev Júlio Hoffimann følgende:
>
> Anyone?
>
> The problem is that I have some resource files (i.e. *.jpg) and they live 
> under the src/ directory of the package. Whenever I run 
> ImageQuilting.example(), the paths to the images aren't correct.
>
> Is there any variable that stores the root directory for a package?
>
> Júlio.
>
>
> 2014-08-13 11:11 GMT-03:00 Júlio Hoffimann <[email protected] 
> <javascript:>>:
>
>> Hi all,
>>
>> I've just adapted my code to respect Julia package management standards: 
>> https://github.com/juliohm/ImageQuilting.jl
>>
>> The package is working well, but I would like to give the user the 
>> possibility of running example code as explained in the README.md. What is 
>> the best way of doing it?
>>
>> Any other general tip you would like to share about package development?
>>
>> Best,
>> Júlio.
>>
>
>

Reply via email to