setup.py
setup.cfg
package/
__init__.py
routing.py
model.py
controll.py
config.py
templates/
base.html
index.html
login.html
logout.html
package/
templates/
base.html
index.html
login.html
logout.html
__init__.py
routing.py
model.py
controll.py
config.py
setup.cfg
[install]
install-purelib=/usr/lib
install-platlib=/usr/lib
install-data=/usr/lib/myproject
from distutils.core import setup
from glob import glob
setup(
package_dir = {'myproject': 'package'},
packages = ['myproject'],
data_files = [('templates', glob('templates/*.*')),],
)