Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Commit

Permalink
Use fanstatic instead of hurry.resource.
Browse files Browse the repository at this point in the history
  • Loading branch information
janjaapdriessen committed Dec 3, 2010
1 parent e3b3450 commit b24b672
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions grokproject/template/setup.py_tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ ${long_description|nothing}""",
'grok',
'grokui.admin',
'z3c.testsetup',
'hurry.resource[wsgi,publisher]',
'hurry.zoperesource',
'fanstatic',
'zope.fanstatic',
'grokcore.startup',
# Add extra requirements here
],
entry_points={
'hurry.resource.libraries': [
'foo = ${project}.resource:foo',
'fanstatic.libraries': [
'foo = ${project}.resource:library',
]
})
8 changes: 4 additions & 4 deletions grokproject/template/src/+package+/resource.py_tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from hurry.resource import Library, ResourceInclusion
from fanstatic import Library, ResourceInclusion

foo = Library('foo', 'browser/resources/foo')
library = Library('foo', 'browser/resources/foo')

style = ResourceInclusion(foo, 'style.css')
style = ResourceInclusion(library, 'style.css')

hello = ResourceInclusion(foo, 'hello.js')
hello = ResourceInclusion(library, 'hello.js')

0 comments on commit b24b672

Please sign in to comment.