Skip to content

Commit

Permalink
Merge pull request #103 from dbeatty10/dbeatty/python-m-pip-install
Browse files Browse the repository at this point in the history
Use `python -m pip` everywhere
  • Loading branch information
dbeatty10 authored Jul 31, 2022
2 parents f65be33 + 04fdc18 commit cc8a2f2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ Ready to contribute? `Here's <https://jarv.is/notes/how-to-pull-request-fork-git

$ python3 -m venv env
$ source env/bin/activate
$ pip install -r requirements.txt -r requirements-dev.txt -r requirements-editable.txt
$ python3 -m pip install --upgrade pip
$ python3 -m pip install -r requirements.txt -r requirements-dev.txt -r requirements-editable.txt

4. Create a branch for local development::

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ Table of Contents
### Installation
This plugin can be installed via pip:

```bash
$ pip install dbt-mysql
```shell
$ python -m pip install dbt-mysql
```

### Supported features
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
except ImportError:
# the user has a downlevel version of setuptools.
print('Error: dbt requires setuptools v40.1.0 or higher.')
print('Please upgrade setuptools with "pip install --upgrade setuptools" '
print('Please upgrade setuptools with "python -m pip install --upgrade setuptools" '
'and try again')
sys.exit(1)

Expand Down

0 comments on commit cc8a2f2

Please sign in to comment.