|
| 1 | +--- |
| 2 | +:og:description: Learn how to make your Python code installable so you can use it across projects. |
| 3 | +:og:title: Make your Python code installable so it can be used across projects |
| 4 | +--- |
| 5 | + |
1 | 6 | # Make your Python code installable |
2 | 7 |
|
3 | 8 | :::{admonition} What we previously covered |
@@ -47,7 +52,11 @@ environment and shell on your computer. |
47 | 52 | You are welcome to use any Python environment manager that you choose. |
48 | 53 | If you are using Windows or are not familiar with Shell, you may want to check out the Carpentries shell lesson[^shell-lesson]. Windows users will likely need to configure a tool for any Shell and git related steps. |
49 | 54 |
|
| 55 | +:::{todo} |
| 56 | +When this lesson is published, unlink |
50 | 57 | * [If you need guidance creating a Python environment, review this lesson](extras/1-create-environment.md) which walks you through creating an environment using both `venv` and `conda`. |
| 58 | +::: |
| 59 | + |
51 | 60 | * If you aren't sure which environment manager to use and |
52 | 61 | you are a scientist, we suggest that you use `conda`, particularly if you are working with spatial data. |
53 | 62 |
|
@@ -287,8 +296,12 @@ For instance, a `build-system` table most often holds two (2) variables: |
287 | 296 | 2. `build-backend = `, which is used to define the specific build-backend name, (in this example we are using `hatchling.build`). |
288 | 297 |
|
289 | 298 | TOML organizes data structures, defining relationships within a configuration |
290 | | -file. You will learn more about the `pyproject.toml` format in the |
| 299 | +file. |
| 300 | + |
| 301 | +:::{todo} |
| 302 | +You will learn more about the `pyproject.toml` format in the |
291 | 303 | [next lesson when you add additional metadata / information to this file.](5-pyproject-toml.md) |
| 304 | +::: |
292 | 305 |
|
293 | 306 | ```toml |
294 | 307 | # An example of the build-system table which contains two variables - requires and build-backend |
|
0 commit comments