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: _posts/2024-06-25-create-your-first-python-package-scipy-2024.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,8 +18,8 @@ comments: true
18
18
## Create Your First Python Package: Make Your Python Code Easier to Share and Use
19
19
20
20
***What:** A hands-on workshop, titled: [Create Your First Python Package: Make Your Python Code Easier to Share and Use](https://cfp.scipy.org/2024/talk/QT9GBY/)
***When:** Tuesday, July 9th, 2024, from 13:30--17:30 Pacific
23
23
24
24
## Event overview
25
25
@@ -35,22 +35,22 @@ You will leave this tutorial understanding how to:
35
35
* How to write functions in Python
36
36
* How to use a Python environment manager of your choosing
37
37
38
-
## What you need installed
38
+
## What you need installed
39
39
* Python
40
40
* An environment manager
41
41
* Hatch
42
42
43
43
### Install Python using `conda` and the `conda-forge` channel
44
44
*These instructions were adapted from the [Install Python Using Conda & Conda-forge - Mambaforge post](https://datascienceskills.org/install-python-science-conda/) from Leah Wasser and Jenny Palomino, originally posted on [datascienceskills.org](http://datascienceskills.org).*
45
45
46
-
#### For Mac users
46
+
#### For Mac users
47
47
*For homebrew users*
48
48
* Find directions for installing homebrew here.
49
49
* If you have homebrew installed, then the easiest way to install mambaforge is to use: `brew install mambaforge`
50
50
51
51
*If you don’t have homebrew*
52
52
* Download a mamba installer and use bash to install mambaforge:
53
-
* Download the installer: [Mambaforge installer for Mac](https://github.com/conda-forge/miniforge#mambaforge).
53
+
* Download the installer: [Mambaforge installer for Mac](https://github.com/conda-forge/miniforge#mambaforge).
54
54
* Note that if you have a newer mac with an M1 or M2 chip, then you will want to install the Apple Silicon version: OS X arm64 (Apple Silicon) Mambaforge-MacOSX-arm64. If you have an older mac use: OS X x86_64 Mambaforge-MacOSX-x86_64
55
55
* In your Terminal window, cd to the location of the download file. Run: `bash Mambaforge3-latest-MacOSX-modify-filename-here.sh`
56
56
* Follow the prompts on the installer screens.
@@ -110,7 +110,7 @@ Once you have installed Hatch, you will want to customize the configuration. Hat
110
110
While you can update the `config.toml` file through the command line, it might be easier to look at it and update it in a text editor if you are using it for the first time.
111
111
112
112
1. Open and edit your `config.toml` file by either:
113
-
* Running `hatch config explore` in your shell, which will open up a directory window that will allow you to double click on the file and open it in your favorite text editor.
113
+
* Running `hatch config explore` in your shell, which will open up a directory window that will allow you to double click on the file and open it in your favorite text editor.
114
114
* Alternatively, you can retrieve the location of the Hatch config file by running `hatch config find` in your shell.
115
115
2. Update your email and name
116
116
* Once the file is open, update the \[template\] table of the `config.toml` file with your name and email. This information will be used in any `pyproject.toml` metadata files that you create using Hatch.
0 commit comments