kopia lustrzana https://github.com/jupyterhub/repo2docker
Handle JuliaProject.toml properly
rodzic
3b3d2c8c84
commit
c892f3fdf6
|
@ -21,6 +21,9 @@ class JuliaProjectTomlBuildPack(PythonBuildPack):
|
|||
@property
|
||||
def julia_version(self):
|
||||
default_julia_version = '1.1.0'
|
||||
if os.path.exists(self.binder_path('JuliaProject.toml'):
|
||||
project_toml = toml.load(self.binder_path('JuliaProject.toml'))
|
||||
else:
|
||||
project_toml = toml.load(self.binder_path('Project.toml'))
|
||||
if 'compat' in project_toml:
|
||||
if 'julia' in project_toml['compat']:
|
||||
|
|
Ładowanie…
Reference in New Issue