Browse Source

makewheel: add long description to METADATA file

rdb 6 years ago
parent
commit
c41c2219c4
1 changed files with 28 additions and 0 deletions
  1. 28 0
      makepanda/makewheel.py

+ 28 - 0
makepanda/makewheel.py

@@ -144,6 +144,32 @@ METADATA = {
     "classifiers": GetMetadataValue('classifiers'),
     "classifiers": GetMetadataValue('classifiers'),
 }
 }
 
 
+DESCRIPTION = """
+The Panda3D free 3D game engine
+===============================
+
+Panda3D is a powerful 3D engine written in C++, with a complete set of Python
+bindings. Unlike other engines, these bindings are automatically generated,
+meaning that they are always up-to-date and complete: all functions of the
+engine can be controlled from Python. All major Panda3D applications have been
+written in Python, this is the intended way of using the engine.
+
+Panda3D now supports automatic shader generation, which now means you can use
+normal maps, gloss maps, glow maps, HDR, cartoon shading, and the like without
+having to write any shaders.
+
+Panda3D is a modern engine supporting advanced features such as shaders,
+stencil, and render-to-texture. Panda3D is unusual in that it emphasizes a
+short learning curve, rapid development, and extreme stability and robustness.
+Panda3D is free software that runs under Windows, Linux, or macOS.
+
+The Panda3D team is very concerned with making the engine accessible to new
+users. We provide a detailed manual, a complete API reference, and a large
+collection of sample programs to help you get started. We have active forums,
+with many helpful users, and the developers are regularly online to answer
+questions.
+"""
+
 PANDA3D_TOOLS_INIT = """import os, sys
 PANDA3D_TOOLS_INIT = """import os, sys
 import panda3d
 import panda3d
 
 
@@ -544,6 +570,8 @@ def makewheel(version, output_dir, platform=None):
         "Platform: {0}\n".format(platform),
         "Platform: {0}\n".format(platform),
     ] + ["Classifier: {0}\n".format(c) for c in METADATA['classifiers']])
     ] + ["Classifier: {0}\n".format(c) for c in METADATA['classifiers']])
 
 
+    metadata += '\n' + DESCRIPTION.strip() + '\n'
+
     # Zip it up and name it the right thing
     # Zip it up and name it the right thing
     whl = WheelFile('panda3d', version, platform)
     whl = WheelFile('panda3d', version, platform)
     whl.lib_path = [libs_dir]
     whl.lib_path = [libs_dir]