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 = [
|
TEMPLATES = [
|
||||||
{
|
{
|
||||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||||
'DIRS': [BASE_DIR / 'templates'],
|
'DIRS': [BASE_DIR / 'main' / 'templates'],
|
||||||
'APP_DIRS': True,
|
'APP_DIRS': True,
|
||||||
'OPTIONS': {
|
'OPTIONS': {
|
||||||
'context_processors': [
|
'context_processors': [
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from distutils.core import setup
|
from distutils.core import setup, find_packages
|
||||||
from glob import glob
|
from glob import glob
|
||||||
|
|
||||||
setup(name='homemanager',
|
setup(name='homemanager',
|
||||||
|
@ -7,7 +7,5 @@ setup(name='homemanager',
|
||||||
author='Alejandro Diaz',
|
author='Alejandro Diaz',
|
||||||
author_email='al.diaz@estudiantec.cr',
|
author_email='al.diaz@estudiantec.cr',
|
||||||
packages=['homemanager', 'main'],
|
packages=['homemanager', 'main'],
|
||||||
data_files = [
|
zip_safe=False,
|
||||||
('templates', glob('templates/**/*', recursive=True))
|
|
||||||
]
|
|
||||||
)
|
)
|
Loading…
Reference in a new issue