Skip to content

Commit

Permalink
Merge pull request #8562 from chrahunt/extract-direct-from-zip-refact…
Browse files Browse the repository at this point in the history
…oring

Install directly from wheels, without unpacking into an intermediate directory
  • Loading branch information
chrahunt authored Jul 11, 2020
2 parents 8307847 + d13ec25 commit 8bf5731
Show file tree
Hide file tree
Showing 6 changed files with 240 additions and 121 deletions.
1 change: 1 addition & 0 deletions news/6030.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Install wheel files directly instead of extracting them to a temp directory.
5 changes: 4 additions & 1 deletion src/pip/_internal/models/scheme.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,15 @@
"""


SCHEME_KEYS = ['platlib', 'purelib', 'headers', 'scripts', 'data']


class Scheme(object):
"""A Scheme holds paths which are used as the base directories for
artifacts associated with a Python package.
"""

__slots__ = ['platlib', 'purelib', 'headers', 'scripts', 'data']
__slots__ = SCHEME_KEYS

def __init__(
self,
Expand Down
Loading

0 comments on commit 8bf5731

Please sign in to comment.