Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

pypm install vudo.skinsetup

How to install vudo.skinsetup

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install vudo.skinsetup
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.1 Available View build log
Windows (64-bit)
0.1 Available View build log
Mac OS X (10.5+)
0.1 Available View build log
Linux (32-bit)
0.1 Available View build log
Linux (64-bit)
0.1 Available View build log
Depended by
Lastest release
version 0.1 on Jan 5th, 2011


This package provides an light-weight API for vudo packages which provide user-changeable skins. These packages may advertise their skin directory using setuptools entry points.

Additionally, this package provides a script to manage the skin directory of a vudo project in a convenient way.


Developers, which want to make vudo packages which provide skins, need to include their skin resources in the EGG, and include a entry point.

Skin Resources

Depending whether or not a SCM system supported by setuptools (currently SVN) is used or not, developers may need to include their resources manually using package_data:

System Message: WARNING/2 (<string>, line 25)

Literal block expected; none found.

setup(name='vudo.compositepage', ... packages=find_packages('src'), package_dir = {'': 'src'}, package_data = { "vudo.compositepage": [ "skin/.zcml", "skin/compositepage/.zcml", "skin/compositepage/ajax/.pt", "skin/region/.pt", ] }, ... )

Entry Point

Additionally to include the skin resources in the package egg, the skin needs to be advertized using a entry point:

System Message: WARNING/2 (<string>, line 46)

Literal block expected; none found.

setup(name='vudo.compositepage', ... entry_points=""" # -- Entry points: -- [vudo.skin] compositepage=vudo.compositepage:provide_skin [skin] """, extras_require={ "skin": "vudo.skinsetup", }, ... )

The provide_skin mentioned above needs to call the vudo.skinsetup package API to return the skin information:

System Message: WARNING/2 (<string>, line 62)

Literal block expected; none found.

def provide_skin(): import os from vudo.skinsetup import provide_skin return provide_skin( package="vudo.compositepage", name="compositepage", skin_path="skin")

the parameters to the provide_skin method are as follows:

package The package name which provides the skin

name The skin name

skin_path The path to the skin within the package. Note, this is usually a setuptools resource path, and thus always "/" separated. Do not use os.path.

Change history


0.1 (2008-12-08)
  • Script entry point for vudoskin script. [seletz]
  • Very basic API for vudo packages which want to provide a skin [seletz]
  • Initial package setup. [seletz]


Stefan Eletzhofer, Author


Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:3

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.