We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6e66c8 commit 4f3f192Copy full SHA for 4f3f192
repo2docker/buildpacks/pipfile/__init__.py
@@ -65,7 +65,16 @@ def python_version(self):
65
self._python_version = self.major_pythons["3"]
66
return self._python_version
67
68
- def get_assemble_scripts(self):
+ def get_preassemble_script_files(self):
69
+ """Return files needed for preassembly"""
70
+ files = super().get_preassemble_script_files()
71
+ for name in ("requirements3.txt", "Pipfile", "Pipfile.lock"):
72
+ path = self.binder_path(name)
73
+ if os.path.exists(path):
74
+ files[path] = path
75
+ return files
76
+
77
+ def get_preassemble_scripts(self):
78
"""Return series of build-steps specific to this repository.
79
"""
80
# If we have either Pipfile.lock, Pipfile, or runtime.txt declare the
0 commit comments