add packaging config for ui
This commit is contained in:
parent
6ebf7c56a7
commit
3b77c17496
2
ui/MANIFEST.in
Normal file
2
ui/MANIFEST.in
Normal file
|
@ -0,0 +1,2 @@
|
|||
recursive-include homemanager *
|
||||
recursive-include templates *
|
|
@ -55,7 +55,7 @@ ROOT_URLCONF = 'homemanager.urls'
|
|||
TEMPLATES = [
|
||||
{
|
||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
'DIRS': [BASE_DIR / 'templates'],
|
||||
'DIRS': [BASE_DIR / 'main' / 'templates'],
|
||||
'APP_DIRS': True,
|
||||
'OPTIONS': {
|
||||
'context_processors': [
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
from distutils.core import setup
|
||||
from distutils.core import setup, find_packages
|
||||
from glob import glob
|
||||
|
||||
setup(name='homemanager',
|
||||
|
@ -7,7 +7,5 @@ setup(name='homemanager',
|
|||
author='Alejandro Diaz',
|
||||
author_email='al.diaz@estudiantec.cr',
|
||||
packages=['homemanager', 'main'],
|
||||
data_files = [
|
||||
('templates', glob('templates/**/*', recursive=True))
|
||||
]
|
||||
zip_safe=False,
|
||||
)
|
Loading…
Reference in a new issue