Skip to content

Commit ef5962f

Browse files
committed
Fix: cleanup paths throughout
1 parent d2b64d5 commit ef5962f

File tree

4 files changed

+16
-19
lines changed

4 files changed

+16
-19
lines changed

.gitignore

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1+
**/.pdm.toml
12
# Byte-compiled / optimized / DLL files
23
__pycache__/
3-
.DS_Store
4+
**/.DS_Store
45

56

67
# Distribution / packaging
@@ -11,8 +12,6 @@ dist/
1112
downloads/
1213
eggs/
1314
.eggs/
14-
lib/
15-
lib64/
1615
parts/
1716
sdist/
1817
var/
@@ -39,10 +38,8 @@ coverage.xml
3938
.hypothesis/
4039
.pytest_cache/
4140

42-
4341
# Sphinx documentation
4442
docs/_build/
4543
docs/built_examples/
4644

47-
# Jupyter Notebook
48-
.ipynb_checkpoints
45+

example2_flit/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,16 @@ The install for flit is light weight and fast.
4242
```bash
4343
Collecting flit
4444
Using cached flit-3.8.0-py3-none-any.whl (49 kB)
45-
Requirement already satisfied: requests in /Users/leahawasser/opt/miniconda3/lib/python3.9/site-packages (from flit) (2.27.1)
45+
Requirement already satisfied: requests in ../miniconda3/lib/python3.9/site-packages (from flit) (2.27.1)
4646
Collecting tomli-w
4747
Using cached tomli_w-1.0.0-py3-none-any.whl (6.0 kB)
4848
Collecting flit_core>=3.8.0
4949
Using cached flit_core-3.8.0-py3-none-any.whl (62 kB)
50-
Requirement already satisfied: docutils in /Users/leahawasser/opt/miniconda3/lib/python3.9/site-packages (from flit) (0.17.1)
51-
Requirement already satisfied: idna<4,>=2.5 in /Users/leahawasser/opt/miniconda3/lib/python3.9/site-packages (from requests->flit) (3.3)
52-
Requirement already satisfied: charset-normalizer~=2.0.0 in /Users/leahawasser/opt/miniconda3/lib/python3.9/site-packages (from requests->flit) (2.0.4)
53-
Requirement already satisfied: certifi>=2017.4.17 in /Users/leahawasser/opt/miniconda3/lib/python3.9/site-packages (from requests->flit) (2022.12.7)
54-
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Users/leahawasser/opt/miniconda3/lib/python3.9/site-packages (from requests->flit) (1.26.9)
50+
Requirement already satisfied: docutils in ../miniconda3/lib/python3.9/site-packages (from flit) (0.17.1)
51+
Requirement already satisfied: idna<4,>=2.5 in ../miniconda3/lib/python3.9/site-packages (from requests->flit) (3.3)
52+
Requirement already satisfied: charset-normalizer~=2.0.0 in ../miniconda3/lib/python3.9/site-packages (from requests->flit) (2.0.4)
53+
Requirement already satisfied: certifi>=2017.4.17 in ../miniconda3/lib/python3.9/site-packages (from requests->flit) (2022.12.7)
54+
Requirement already satisfied: urllib3<1.27,>=1.21.1 in ../miniconda3/lib/python3.9/site-packages (from requests->flit) (1.26.9)
5555
Installing collected packages: tomli-w, flit-core, flit
5656
Successfully installed flit-3.8.0 flit-core-3.8.0 tomli-w-1.0.0
5757
```

example4_pdm/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Collecting pdm
7777
Using cached pdm-2.4.0-py3-none-any.whl (205 kB)
7878
Collecting unearth>=0.7
7979
Using cached unearth-0.7.2-py3-none-any.whl (39 kB)
80-
Requirement already satisfied: certifi in /Users/leahawasser/opt/miniconda3/envs/pdm/lib/python3.9/site-packages (from pdm) (2022.12.7)
80+
Requirement already satisfied: certifi in ../miniconda3/envs/pdm/lib/python3.9/site-packages (from pdm) (2022.12.7)
8181
Collecting pyproject-hooks
8282
Using cached pyproject_hooks-1.0.0-py3-none-any.whl (9.3 kB)
8383
Collecting shellingham>=1.3.2
@@ -153,13 +153,13 @@ PDM did ask me what envt I wanted to use which was nice! it found my pdm conda e
153153
> pdm init
154154
Creating a pyproject.toml for PDM...
155155
Please enter the Python interpreter to use
156-
0. /Users/leahawasser/opt/miniconda3/envs/pdm/bin/python (3.9)
156+
0. ../miniconda3/envs/pdm/bin/python (3.9)
157157
1. /opt/homebrew/bin/python3.11 (3.11)
158158
2. /opt/homebrew/bin/python3.10 (3.10)
159-
3. /Users/leahawasser/opt/miniconda3/envs/pdm/bin/python3.9 (3.9)
159+
3. ../miniconda3/envs/pdm/bin/python3.9 (3.9)
160160
4. /usr/bin/python3 (3.8)
161161
Please select (0): 3
162-
Using Python interpreter: /Users/leahawasser/opt/miniconda3/envs/pdm/bin/python3.9 (3.9)
162+
Using Python interpreter: ../miniconda3/envs/pdm/bin/python3.9 (3.9)
163163
Is the project a library that will be uploaded to PyPI [y/n] (n): y
164164
Project name (example4_pdm): examplePy
165165
Project version (0.1.0): 0.1.00
@@ -232,15 +232,15 @@ venv.with_pip = False
232232
Home configuration (/Users/leahawasser/Library/Preferences/pdm/config.toml):
233233
234234
Project configuration (/Users/leahawasser/Documents/GitHub/pyos/examplePy/example4_pdm/.pdm.toml):
235-
python.path = /Users/leahawasser/opt/miniconda3/envs/pdm/bin/python3.9
235+
python.path = ../miniconda3/envs/pdm/bin/python3.9
236236
```
237237

238238
```
239239
➜ pdm info
240240
PDM version:
241241
2.4.0
242242
Python Interpreter:
243-
/Users/leahawasser/opt/miniconda3/envs/pdm/bin/python3.9 (3.9)
243+
../miniconda3/envs/pdm/bin/python3.9 (3.9)
244244
Project Root:
245245
/Users/leahawasser/Documents/GitHub/pyos/examplePy/example4_pdm
246246
Project Packages: # this is the __pypackages__ dir if you have one

example6_pdm_meson/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Project Packages:
7777
../miniconda3/envs/pdm_meson/bin/python
7878
7979
➜ pdm use ../miniconda3/envs/pdm_meson/bin/python
80-
Using Python interpreter: /Users/leahawasser/opt/miniconda3/envs/pdm_meson/bin/python (3.9)
80+
Using Python interpreter: ../miniconda3/envs/pdm_meson/bin/python (3.9)
8181
(pdm_meson)
8282
8383
➜ pdm info

0 commit comments

Comments
 (0)