【问题标题】:What's the use of setuptools in Google App Engine with Python 2.7使用 Python 2.7 在 Google App Engine 中使用 setuptools 有什么用
【发布时间】:2015-04-30 15:28:16
【问题描述】:

谁能解释我如何在谷歌应用引擎中使用 python 中的 setuptools。它在文档中被列为第三方库。如果我无法访问文件系统,我该如何使用它?

https://developers.google.com/appengine/docs/python/tools/libraries27

【问题讨论】:

    标签: python google-app-engine setuptools


    【解决方案1】:

    setuptools 提供了pkg_resources module,让您可以从 python Eggs 加载资源并查找元数据。

    您可以使用它从部署中包含的鸡蛋中加载资源。

    【讨论】:

      猜你喜欢
      • 2011-07-09
      • 2012-05-30
      • 1970-01-01
      • 2012-09-26
      • 2013-01-16
      • 1970-01-01
      • 2011-12-28
      • 2012-11-17
      • 2010-12-28
      相关资源
      最近更新 更多