fix: use versioned python3 instead of python
This commit is contained in:
parent
95d8ab5dd4
commit
efbdc027ab
26 changed files with 122 additions and 122 deletions
|
|
@ -41,7 +41,7 @@ RUN set -eux; \
|
|||
python3-dev
|
||||
|
||||
# create virtual env for next stage
|
||||
RUN python -m venv --system-site-packages /venv
|
||||
RUN python3 -m venv --system-site-packages /venv
|
||||
# emulate activation by prefixing PATH
|
||||
ENV PATH="/venv/bin:/root/.local/bin:$PATH" VIRTUAL_ENV=/venv
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ class Command(BaseCommand):
|
|||
script = available_scripts[name]
|
||||
except KeyError:
|
||||
raise CommandError(
|
||||
"{} is not a valid script. Run python manage.py script for a "
|
||||
"{} is not a valid script. Run python3 manage.py script for a "
|
||||
"list of available scripts".format(name)
|
||||
)
|
||||
|
||||
|
|
@ -43,7 +43,7 @@ class Command(BaseCommand):
|
|||
def show_help(self):
|
||||
self.stdout.write("")
|
||||
self.stdout.write("Available scripts:")
|
||||
self.stdout.write("Launch with: python manage.py <script_name>")
|
||||
self.stdout.write("Launch with: python3 manage.py <script_name>")
|
||||
available_scripts = self.get_scripts()
|
||||
for name, script in sorted(available_scripts.items()):
|
||||
self.stdout.write("")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue