mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Moving over PYTHON_SITEPACKAGES definition from makepanda.py to installpanda.py
This commit is contained in:
parent
c11c46a6b1
commit
76ca80dcd5
@ -17,6 +17,11 @@ from distutils.sysconfig import get_python_lib
|
||||
from optparse import OptionParser
|
||||
from makepandacore import *
|
||||
|
||||
def python_sitepackages_path():
|
||||
from distutils.sysconfig import get_python_lib
|
||||
return get_python_lib(1)
|
||||
PYTHON_SITEPACKAGES=python_sitepackages_path()
|
||||
|
||||
MIME_INFO = (
|
||||
("egg", "model/x-egg", "EGG model file", "pview"),
|
||||
("bam", "model/x-bam", "Panda3D binary model file", "pview"),
|
||||
|
@ -6184,10 +6184,6 @@ Description: Runtime binary and browser plugin for the Panda3D Game Engine
|
||||
|
||||
"""
|
||||
|
||||
def python_sitepackages_path():
|
||||
from distutils.sysconfig import get_python_lib
|
||||
return get_python_lib(1)
|
||||
PYTHON_SITEPACKAGES=python_sitepackages_path()
|
||||
|
||||
# We're not putting "python" in the "Requires" field,
|
||||
# since the rpm-based distros don't have a common
|
||||
|
Loading…
x
Reference in New Issue
Block a user