Debian Codegraph @

envisage/examples/_etsdemo_info.py

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 # (C) Copyright 2007-2025 Enthought, Inc., Austin, TX
2 # All rights reserved.
3 #
4 # This software is provided without warranty under the terms of the BSD
5 # license included in LICENSE.txt and may be redistributed only under
6 # the conditions described in the aforementioned license. The license
7 # is also available online at http://www.enthought.com/licenses/BSD.txt
8 #
9 # Thanks for using Enthought open source!
10
11 """ This module provides functions to be advertised in the distribution
12 entry points.
13 """
14
15 import pkg_resources
16
17
18 def info(request):
19 """Return a configuration for contributing examples to the
20 Demo application.
21 Parameters
22 ----------
23 request : dict
24 Information provided by the demo application.
25 Currently this is a placeholder.
26 Returns
27 -------
28 response : dict
29 """
30 return dict(
31 version=1,
32 name="Envisage Examples",
33 root=(pkg_resources.resource_filename("envisage.examples", "demo")),
34 )