preassembly for pipfiles

pull/743/head
Min RK 2019-07-16 09:11:38 +02:00
rodzic d6e66c886d
commit 4f3f192d2f
1 zmienionych plików z 10 dodań i 1 usunięć

Wyświetl plik

@ -65,7 +65,16 @@ class PipfileBuildPack(CondaBuildPack):
self._python_version = self.major_pythons["3"]
return self._python_version
def get_assemble_scripts(self):
def get_preassemble_script_files(self):
"""Return files needed for preassembly"""
files = super().get_preassemble_script_files()
for name in ("requirements3.txt", "Pipfile", "Pipfile.lock"):
path = self.binder_path(name)
if os.path.exists(path):
files[path] = path
return files
def get_preassemble_scripts(self):
"""Return series of build-steps specific to this repository.
"""
# If we have either Pipfile.lock, Pipfile, or runtime.txt declare the