Skip to content

Commit

Permalink
Merge pull request #47 from reynoldsnlp/46-better-lexers-in-readme
Browse files Browse the repository at this point in the history
markdown codeblock lexers
  • Loading branch information
reynoldsnlp authored May 18, 2023
2 parents 7863f6d + 09f38c8 commit 2fc49b9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

Install packages using `pip` from inside a python script or console:

```python
```pycon
>>> import pipster
>>> pipster.install("some_package")
```
Expand Down Expand Up @@ -46,16 +46,16 @@ To install `pipster`, run the following in your terminal (you may need to
replace `python` with the name of the executable you use to run Python, such as
`python3`, `python3.11`, etc.):

```
$ python -m pip install --user pipster
```bash
$ python -m pip install pipster
```

...and if that's not working, you can run this in a python script or console:

```python
import subprocess
import sys
cmd = [sys.executable, "-m", "pip", "install", "--user", "pipster"]
cmd = [sys.executable, "-m", "pip", "install", "pipster"]
subprocess.check_call(cmd)
```

Expand Down Expand Up @@ -156,7 +156,7 @@ If you re-install, upgrade, or downgrade a package _after_ it has already been
imported, `pipster` will do its best to detect this and issue a warning that
Python should be restarted for changes to be available.

```python
```pycon
>>> import pipster
>>> import requests
>>> requests.__version__
Expand Down
4 changes: 2 additions & 2 deletions src/pipster/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = "0.0.23"
__version_tuple__ = (0, 0, 23)
__version__ = "0.0.24"
__version_tuple__ = (0, 0, 24)

0 comments on commit 2fc49b9

Please sign in to comment.