You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+16-9
Original file line number
Diff line number
Diff line change
@@ -7,22 +7,29 @@ A [Cookiecutter](https://cookiecutter.readthedocs.io/en/stable/) template for pr
7
7
The following are required and recommended tools for using this cookiecutter and the LinkML project that it generates. This is all one-time setup, so if you have already done it skip to the [next section](#creating-a-new-project)!
8
8
9
9
***Python >= 3.9**
10
-
11
-
LinkML tools are mainly written in Python, so you will need a recent Python interpreter to run this generator and to use the generated project.
12
10
11
+
LinkML tools are mainly written in Python, so you will need a recent Python interpreter to run this generator and to use the generated project.
13
12
14
13
***pipx**
15
-
16
-
pipx is a tool for managing isolated Python-based applications. It is the recommended way to install Poetry and cruft. To install pipx follow the instructions here: https://pypa.github.io/pipx/installation/
17
14
15
+
pipx is a tool for managing isolated Python-based applications. It is the recommended way to install Poetry and cruft. To install pipx follow the instructions here: https://pypa.github.io/pipx/installation/
18
16
19
17
***Poetry**
20
-
21
-
Poetry is a Python project management tool. You will use it in your generated project to manage dependencies and build distribution files. If you have pipx installed ([alternative installation methods](https://python-poetry.org/docs/#installation) are available) you can install Poetry by running:
18
+
19
+
Poetry is a Python project management tool. The template requires poetry version 2.0 or newer.
20
+
If you have pipx installed ([alternative installation methods](https://python-poetry.org/docs/#installation) are available) you can install Poetry by running:
22
21
```shell
23
22
pipx install poetry
24
23
```
25
-
24
+
25
+
- For having both Poetry 2.x and Poetry 1.x installed at the same time,
26
+
pipx has the option to install another version with a suffix-modified name,
27
+
here "poetry1",
28
+
29
+
```bash
30
+
`pipx install --suffix=1 "poetry<2.0"`.
31
+
```
32
+
26
33
This project manages project-level configuration. User-level [configuration](https://python-poetry.org/docs/configuration/), if needed, is your responsibility.
27
34
28
35
***Poetry private repository**
@@ -34,7 +41,7 @@ The following are required and recommended tools for using this cookiecutter and
This plugin automatically updates certain version strings in your generated project when you publish it. Your generated project will automatically be set up to use it. Install it by running:
40
47
```shell
@@ -48,7 +55,7 @@ The following are required and recommended tools for using this cookiecutter and
48
55
```shell
49
56
pipx install cruft
50
57
```
51
-
You may also choose to not have a persistent installation of cruft, in which case you would replace any calls to the `cruft`command below with `pipx run cruft`.
58
+
You may also choose to not have a persistent installation of cruft, in which case you would replace any calls to the `cruft`command below with `pipx run cruft`.
0 commit comments