Browse Source

p3d: add deprecation notice to all direct.p3d modules

rdb 6 years ago
parent
commit
c02bbe50af

+ 5 - 0
direct/src/p3d/DWBPackageInstaller.py

@@ -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

+ 5 - 0
direct/src/p3d/FileSpec.py

@@ -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

+ 5 - 0
direct/src/p3d/HostInfo.py

@@ -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

+ 5 - 0
direct/src/p3d/InstalledHostData.py

@@ -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

+ 5 - 0
direct/src/p3d/InstalledPackageData.py

@@ -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:

+ 5 - 0
direct/src/p3d/PackageInfo.py

@@ -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

+ 5 - 0
direct/src/p3d/PackageInstaller.py

@@ -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

+ 5 - 0
direct/src/p3d/PackageMerger.py

@@ -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

+ 5 - 0
direct/src/p3d/PatchMaker.py

@@ -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

+ 5 - 0
direct/src/p3d/ScanDirectoryNode.py

@@ -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

+ 5 - 0
direct/src/p3d/SeqValue.py

@@ -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: