Giter Site home page Giter Site logo

zope.browserresource's Introduction

zope.browserresource

Latest release Supported Python versions https://coveralls.io/repos/github/zopefoundation/zope.browserresource/badge.svg?branch=master Documentation Status

Note

This package is at present not reusable without depending on a large chunk of the Zope Toolkit and its assumptions. It is maintained by the Zope Toolkit project.

This package provides an implementation of browser resources. It also provides directives for defining those resources using ZCML.

Resources are static files and directories that are served to the browser directly from the filesystem. The most common example are images, CSS style sheets, or JavaScript files.

Resources are be registered under a symbolic name and can later be referred to by that name, so their usage is independent from their physical location. Resources can also easily be internationalized.

Documentation is hosted at https://zopebrowserresource.readthedocs.io

zope.browserresource's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zope.browserresource's Issues

import errors in zope.browserresource.tests.test_i18nfile

I run tests by python setup.py test -v
and faced an error:

...
runTest (zope.testrunner.find.StartUpFailure)
StartUpFailure: import errors in zope.browserresource.tests.test_i18nfile. ... ERROR
test (zope.browserresource.tests.test_icondirective.Test) ... ok
...
======================================================================
ERROR: runTest (zope.testrunner.find.StartUpFailure)
StartUpFailure: import errors in zope.browserresource.tests.test_i18nfile.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/zope/testrunner/find.py", line 149, in runTest
    six.reraise(*self.exc_info)
  File "/usr/src/RPM/BUILD/python-module-zope.browserresource-4.2.1/src/zope/browserresource/tests/test_i18nfile.py", line 40, in <module>
    from zope.i18n.tests.testii18naware import TestII18nAware
ImportError: No module named testii18naware
----------------------------------------------------------------------
Ran 47 tests in 0.202s

FAILED (errors=1)
Test failed: <unittest.runner.TextTestResult run=47 errors=1 failures=0>
error: Test failed: <unittest.runner.TextTestResult run=47 errors=1 failures=0>

After ac16be8fed6cc840ad0f3244c883c8b7a672f643 there is no more
testiii18naware.py within i18n.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.