p3d: add deprecation notice to all direct.p3d modules

This commit is contained in:
rdb 2019-12-31 17:15:34 +01:00
parent afd7fc8a25
commit c02bbe50af
11 changed files with 55 additions and 0 deletions

View File

@ -1,3 +1,8 @@
"""
.. deprecated:: 1.10.0
The p3d packaging system has been replaced with the new setuptools-based
system. See the :ref:`distribution` manual section.
"""
__all__ = ["DWBPackageInstaller"] __all__ = ["DWBPackageInstaller"]
from direct.p3d.PackageInstaller import PackageInstaller from direct.p3d.PackageInstaller import PackageInstaller

View File

@ -1,3 +1,8 @@
"""
.. deprecated:: 1.10.0
The p3d packaging system has been replaced with the new setuptools-based
system. See the :ref:`distribution` manual section.
"""
__all__ = ["FileSpec"] __all__ = ["FileSpec"]
import os import os

View File

@ -1,3 +1,8 @@
"""
.. deprecated:: 1.10.0
The p3d packaging system has been replaced with the new setuptools-based
system. See the :ref:`distribution` manual section.
"""
__all__ = ["HostInfo"] __all__ = ["HostInfo"]
from panda3d.core import HashVal, Filename, PandaSystem, DocumentSpec, Ramfile from panda3d.core import HashVal, Filename, PandaSystem, DocumentSpec, Ramfile

View File

@ -1,3 +1,8 @@
"""
.. deprecated:: 1.10.0
The p3d packaging system has been replaced with the new setuptools-based
system. See the :ref:`distribution` manual section.
"""
__all__ = ["InstalledHostData"] __all__ = ["InstalledHostData"]
from panda3d.core import URLSpec from panda3d.core import URLSpec

View File

@ -1,3 +1,8 @@
"""
.. deprecated:: 1.10.0
The p3d packaging system has been replaced with the new setuptools-based
system. See the :ref:`distribution` manual section.
"""
__all__ = ["InstalledPackageData"] __all__ = ["InstalledPackageData"]
class InstalledPackageData: class InstalledPackageData:

View File

@ -1,3 +1,8 @@
"""
.. deprecated:: 1.10.0
The p3d packaging system has been replaced with the new setuptools-based
system. See the :ref:`distribution` manual section.
"""
__all__ = ["PackageInfo"] __all__ = ["PackageInfo"]
from panda3d.core import Filename, DocumentSpec, Multifile, Decompressor, EUOk, EUSuccess, VirtualFileSystem, Thread, getModelPath, ExecutionEnvironment, PStatCollector, TiXmlDocument, TiXmlDeclaration, TiXmlElement from panda3d.core import Filename, DocumentSpec, Multifile, Decompressor, EUOk, EUSuccess, VirtualFileSystem, Thread, getModelPath, ExecutionEnvironment, PStatCollector, TiXmlDocument, TiXmlDeclaration, TiXmlElement

View File

@ -1,3 +1,8 @@
"""
.. deprecated:: 1.10.0
The p3d packaging system has been replaced with the new setuptools-based
system. See the :ref:`distribution` manual section.
"""
__all__ = ["PackageInstaller"] __all__ = ["PackageInstaller"]
from direct.showbase.DirectObject import DirectObject from direct.showbase.DirectObject import DirectObject

View File

@ -1,3 +1,8 @@
"""
.. deprecated:: 1.10.0
The p3d packaging system has been replaced with the new setuptools-based
system. See the :ref:`distribution` manual section.
"""
__all__ = ["PackageMerger", "PackageMergerError"] __all__ = ["PackageMerger", "PackageMergerError"]
from direct.p3d.FileSpec import FileSpec from direct.p3d.FileSpec import FileSpec

View File

@ -1,3 +1,8 @@
"""
.. deprecated:: 1.10.0
The p3d packaging system has been replaced with the new setuptools-based
system. See the :ref:`distribution` manual section.
"""
__all__ = ["PatchMaker"] __all__ = ["PatchMaker"]
from direct.p3d.FileSpec import FileSpec from direct.p3d.FileSpec import FileSpec

View File

@ -1,3 +1,8 @@
"""
.. deprecated:: 1.10.0
The p3d packaging system has been replaced with the new setuptools-based
system. See the :ref:`distribution` manual section.
"""
__all__ = ["ScanDirectoryNode"] __all__ = ["ScanDirectoryNode"]
from panda3d.core import VirtualFileSystem, VirtualFileMountSystem, Filename, TiXmlDocument from panda3d.core import VirtualFileSystem, VirtualFileMountSystem, Filename, TiXmlDocument

View File

@ -1,3 +1,8 @@
"""
.. deprecated:: 1.10.0
The p3d packaging system has been replaced with the new setuptools-based
system. See the :ref:`distribution` manual section.
"""
__all__ = ["SeqValue"] __all__ = ["SeqValue"]
class SeqValue: class SeqValue: