Skip to content

Commit

Permalink
Use --no-use-pep517 flag for editable mode with pyproject.toml (#455)
Browse files Browse the repository at this point in the history
* Use --no-use-pep517 flag for editable mode during installation and update docs to reflect this
   - pypa/pip#6434
   - pypa/pip#6442
* Add .eggs to Black exclude list
  • Loading branch information
matthewfeickert authored Apr 25, 2019
1 parent 44e0701 commit 0574d87
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ before_install:
- export LD_PRELOAD="/usr/lib/libtcmalloc_minimal.so.4"
- pip install --upgrade pip setuptools wheel
install:
- pip install --ignore-installed -U -q -e .[complete]
- pip install --ignore-installed -U -q --no-use-pep517 -e .[complete]
- pip freeze
script:
- pyflakes pyhf
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
- export LD_PRELOAD="/usr/lib/libtcmalloc_minimal.so.4"
- pip install --upgrade pip setuptools wheel
install:
- pip install --ignore-installed -U -q -e .[complete]
- pip install --ignore-installed -U -q --no-use-pep517 -e .[complete]
- pip freeze
script: python -m pytest -r sx --benchmark-sort=mean tests/benchmarks/
after_success: skip
Expand All @@ -82,7 +82,7 @@ jobs:
- export LD_PRELOAD="/usr/lib/libtcmalloc_minimal.so.4"
- pip install --upgrade pip setuptools wheel
install:
- pip install --ignore-installed -U -q -e .[complete]
- pip install --ignore-installed -U -q --no-use-pep517 -e .[complete]
- pip freeze
script:
- python -m doctest README.md
Expand Down
2 changes: 1 addition & 1 deletion docs/development.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ and install all necessary packages for development

.. code-block:: console
pip install --ignore-installed -U -e .[complete]
pip install --ignore-installed -U --no-use-pep517 -e .[complete]
Then setup the Git pre-commit hook for `Black <https://github.com/ambv/black>`__ by running

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ include = '\.pyi?$'
exclude = '''
/(
\.git
| .eggs
| build
)/
'''

0 comments on commit 0574d87

Please sign in to comment.