kopia lustrzana https://github.com/jupyterhub/repo2docker
8 wiersze
299 B
Python
Executable File
8 wiersze
299 B
Python
Executable File
#!/usr/bin/env python
|
|
# Verify that ~/.local/bin & REPO_DIR/.local/bin is on the PATH
|
|
import os
|
|
|
|
assert os.path.expanduser('~/.local/bin') in os.getenv("PATH"), os.getenv("PATH")
|
|
assert os.getcwd() == os.environ['REPO_DIR']
|
|
assert '{}/.local/bin'.format(os.environ['REPO_DIR']) in os.getenv('PATH')
|