Skip to content

Commit

Permalink
Nest zmi.styles into the Zope package.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Howitz committed Aug 22, 2018
1 parent 1050d97 commit 977a422
Show file tree
Hide file tree
Showing 14 changed files with 4 additions and 396 deletions.
1 change: 0 additions & 1 deletion buildout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ parts =
requirements
sources-dir = develop
auto-checkout =
zmi.styles
Persistence
AccessControl
Products.BTreeFolder2
Expand Down
4 changes: 2 additions & 2 deletions docs/ZMI.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Bootstrap ZMI

Since Zope 4.0b6 the ZMI is styled using Bootstrap. The previously used
GIF icons were replaced by font glyphs which are stored in the package
`zmi.styles`_ together with the CSS and JavaScript needed by Bootstrap.
`zmi.styles`_ (part of Zope) together with the CSS and JavaScript needed by Bootstrap.

The free Font Awesome glyphs are used as icons, see the table of
`available icons`_.
Expand All @@ -29,7 +29,7 @@ Example to use the info icon (i in a circle)::

zmi_icon = 'fas fa-info-circle'

.. _`zmi.styles` : https://github.com/zopefoundation/zmi.styles
.. _`zmi.styles` : https://github.com/zopefoundation/Zope/tree/master/src/zmi/styles
.. _`available icons` : https://fontawesome.com/icons?d=gallery&m=free
Use custom icons and resources
Expand Down
1 change: 1 addition & 0 deletions requirements-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Zope2==4.0b1
five.globalrequest==99.1
five.localsitemanager==3.1
funcsigs==1.0.2
future==0.16.0
ipaddress==1.0.22
mock==2.0.0
pbr==4.0.3
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def _read_file(filename):
"Topic :: Software Development :: Libraries :: Application Frameworks",
],
packages=find_packages('src'),
namespace_packages=['Products', 'Shared', 'Shared.DC'],
namespace_packages=['Products', 'Shared', 'Shared.DC', 'zmi'],
package_dir={'': 'src'},
install_requires=[
'AccessControl >= 4.0b4',
Expand All @@ -77,7 +77,6 @@ def _read_file(filename):
'waitress',
'zExceptions >= 3.4',
'z3c.pt',
'zmi.styles',
'zope.browser',
'zope.browsermenu',
'zope.browserpage >= 4.0',
Expand Down
1 change: 0 additions & 1 deletion sources.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Persistence = git ${remotes:github}/Persistence pushurl=${remotes:github_push}/P
RestrictedPython = git ${remotes:github}/RestrictedPython pushurl=${remotes:github_push}/RestrictedPython
zExceptions = git ${remotes:github}/zExceptions pushurl=${remotes:github_push}/zExceptions
zope.globalrequest = git ${remotes:github}/zope.globalrequest pushurl=${remotes:github_push}/zope.globalrequest
zmi.styles = git ${remotes:github}/zmi.styles pushurl=${remotes:github_push}/zmi.styles

# Optional dependencies
five.localsitemanager = git ${remotes:github}/five.localsitemanager pushurl=${remotes:github_push}/five.localsitemanager
Expand Down
7 changes: 0 additions & 7 deletions src/CHANGES.rst

This file was deleted.

44 changes: 0 additions & 44 deletions src/LICENSE.txt

This file was deleted.

14 changes: 0 additions & 14 deletions src/MANIFEST.in

This file was deleted.

210 changes: 0 additions & 210 deletions src/bootstrap.py

This file was deleted.

29 changes: 0 additions & 29 deletions src/buildout.cfg

This file was deleted.

14 changes: 0 additions & 14 deletions src/setup.cfg

This file was deleted.

0 comments on commit 977a422

Please sign in to comment.