
Bootswatch provides many out of the box Bootstrap themes. We plan on using this in Horizon to provide a theme that implements Google's Material Design. We plan on using this in Horizon to provide a theme that implements Google's Material Design. The 'material' theme gives an example of how to make use of a 3rd party theme using the theming functionality. In addition to incorporating a theme, loaded as a static asset using requirements.txt, it also gives examples of how to cleanly override styles, variables, icon fonts and Django templates. This theme is replacing 'blue' as the example of how to use a theme other than 'default'. Partially-Implements: blueprint horizon-theme-css-reorg Change-Id: I83753ca7f50d8e6d3051af4a7a929665e0de4d4d
28 lines
746 B
Python
28 lines
746 B
Python
|
|
from xstatic.pkg import bootswatch as xs
|
|
|
|
# The README.txt file should be written in reST so that PyPI can use
|
|
# it to generate your project's PyPI page.
|
|
long_description = open('README.txt').read()
|
|
|
|
from setuptools import setup, find_packages
|
|
|
|
setup(
|
|
name=xs.PACKAGE_NAME,
|
|
version=xs.PACKAGE_VERSION,
|
|
description=xs.DESCRIPTION,
|
|
long_description=long_description,
|
|
classifiers=xs.CLASSIFIERS,
|
|
keywords=xs.KEYWORDS,
|
|
maintainer=xs.MAINTAINER,
|
|
maintainer_email=xs.MAINTAINER_EMAIL,
|
|
license=xs.LICENSE,
|
|
url=xs.HOMEPAGE,
|
|
platforms=xs.PLATFORMS,
|
|
packages=find_packages(),
|
|
namespace_packages=['xstatic', 'xstatic.pkg', ],
|
|
include_package_data=True,
|
|
zip_safe=False,
|
|
install_requires=[],
|
|
)
|