Commit 8786f1de by Arun Babu Neelicattu Committed by Bjorn Neergaard

installer: replace with install.python-poetry.org

parent 315f9e4d
...@@ -19,8 +19,7 @@ test_task: ...@@ -19,8 +19,7 @@ test_task:
env_script: env_script:
- echo "PATH=/.local/bin:${PATH}" >> $CIRRUS_ENV - echo "PATH=/.local/bin:${PATH}" >> $CIRRUS_ENV
poetry_script: poetry_script:
- curl -sL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py \ - curl -sL https://install.python-poetry.org | $PYTHON - -y
| $PYTHON - -y
- poetry config virtualenvs.in-project true - poetry config virtualenvs.in-project true
test_script: test_script:
- poetry install - poetry install
......
...@@ -48,8 +48,7 @@ jobs: ...@@ -48,8 +48,7 @@ jobs:
- name: Bootstrap poetry - name: Bootstrap poetry
shell: bash shell: bash
run: | run: |
curl -sL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py \ curl -sL https://install.python-poetry.org | python - -y ${{ matrix.bootstrap-args }}
| python - -y ${{ matrix.bootstrap-args }}
- name: Update PATH - name: Update PATH
if: ${{ matrix.os != 'Windows' }} if: ${{ matrix.os != 'Windows' }}
......
...@@ -19,11 +19,11 @@ from the rest of your system. ...@@ -19,11 +19,11 @@ from the rest of your system.
### osx / linux / bashonwindows install instructions ### osx / linux / bashonwindows install instructions
```bash ```bash
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python - curl -sSL https://install.python-poetry.org | python -
``` ```
### windows powershell install instructions ### windows powershell install instructions
```powershell ```powershell
(Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py -UseBasicParsing).Content | python - (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | python -
``` ```
**Warning**: The previous `get-poetry.py` installer is now deprecated, if you are currently using it **Warning**: The previous `get-poetry.py` installer is now deprecated, if you are currently using it
......
...@@ -28,11 +28,11 @@ from the rest of your system. ...@@ -28,11 +28,11 @@ from the rest of your system.
### osx / linux / bashonwindows install instructions ### osx / linux / bashonwindows install instructions
```bash ```bash
curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py | python - curl -sSL https://install.python-poetry.org | python -
``` ```
### windows powershell install instructions ### windows powershell install instructions
```powershell ```powershell
(Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py -UseBasicParsing).Content | python - (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | python -
``` ```
{{% warning %}} {{% warning %}}
......
...@@ -890,4 +890,11 @@ def main(): ...@@ -890,4 +890,11 @@ def main():
if __name__ == "__main__": if __name__ == "__main__":
sys.stdout.write(
colorize(
"warning",
"The canonical source for Poetry's installation script is now https://install.python-poetry.org. "
"Please update your usage to reflect this.\n",
)
)
sys.exit(main()) sys.exit(main())
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment