Commit 393a9508 authored by Ryan Goggin's avatar Ryan Goggin

Merge branch 'fix-install' into 'master'

Fix install

See merge request uw_django/uw_django_templates!2
parents d98a6d23 d707015b
recursive-include uw_django_templates/templates *.html
recursive-include uw_django_templates/static *
\ No newline at end of file
try: try:
from setuptools import setup from setuptools import setup, find_packages
except ImportError: except ImportError:
from distutils.core import setup from distutils.core import setup
setup(name='uw_django_templates', setup(name='uw_django_templates',
...@@ -8,11 +8,10 @@ setup(name='uw_django_templates', ...@@ -8,11 +8,10 @@ setup(name='uw_django_templates',
author='Ryan Goggin', author='Ryan Goggin',
author_email='', author_email='',
url='', url='',
packages=['uw_django_templates'], packages=find_packages(),
package_dir={'uw_django_templates': 'uw_django_templates'}, include_package_data=True,
package_data={'uw_django_templates': ['templates/*.html', 'static/*']},
install_requires=[ install_requires=[
'django-compressor', 'django-compressor>=2.4',
'django-libsass' 'django-libsass>=0.8',
] ]
) )
{% load static compress helpers %} {% load static compress uw_django_template_helpers %}
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
{% load helpers %} {% load uw_django_template_helpers %}
<nav aria-label="Page Navigation"> <nav aria-label="Page Navigation">
<ul class="pagination justify-content-center"> <ul class="pagination justify-content-center">
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment