mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-29 08:15:18 -04:00
dist: move "import pip" from module level to download_wheels
The aim of this is that pip is no longer a dependency to be able to run test_imports.
This commit is contained in:
parent
201f9a48be
commit
1c4773a8e4
3
direct/src/dist/commands.py
vendored
3
direct/src/dist/commands.py
vendored
@ -8,7 +8,6 @@ from __future__ import print_function
|
|||||||
|
|
||||||
import collections
|
import collections
|
||||||
import os
|
import os
|
||||||
import pip
|
|
||||||
import plistlib
|
import plistlib
|
||||||
import sys
|
import sys
|
||||||
import subprocess
|
import subprocess
|
||||||
@ -396,6 +395,8 @@ class build_apps(setuptools.Command):
|
|||||||
directory containing the Python runtime libraries, which will be added
|
directory containing the Python runtime libraries, which will be added
|
||||||
to sys.path."""
|
to sys.path."""
|
||||||
|
|
||||||
|
import pip
|
||||||
|
|
||||||
self.announce('Gathering wheels for platform: {}'.format(platform), distutils.log.INFO)
|
self.announce('Gathering wheels for platform: {}'.format(platform), distutils.log.INFO)
|
||||||
|
|
||||||
whldir = os.path.join(self.build_base, '__whl_cache__')
|
whldir = os.path.join(self.build_base, '__whl_cache__')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user