Include templates in install.

fix_request_path_info
Ben Konrath 2012-12-10 18:02:12 +01:00
parent eee5dda5ba
commit e5eaaa987c
2 changed files with 15 additions and 7 deletions

View File

@ -2,4 +2,4 @@ include README.rst
include LICENSE include LICENSE
include DOCS.rst include DOCS.rst
include CHANGES.rst include CHANGES.rst
recursive-include polymorphic/templates/ *.html recursive-include polymorphic/templates *

View File

@ -1,18 +1,26 @@
from distutils.core import setup from setuptools import setup, find_packages
setup( setup(
name = 'django_polymorphic', name = 'django_polymorphic',
version = '0.2', version = '0.2',
description = 'Seamless Polymorphic Inheritance for Django Models', description = 'Seamless Polymorphic Inheritance for Django Models',
url = 'https://github.com/chrisglass/django_polymorphic',
author = 'Bert Constantin', author = 'Bert Constantin',
author_email = 'bert.constantin@gmx.de', author_email = 'bert.constantin@gmx.de',
maintainer = 'Christopher Glass', maintainer = 'Christopher Glass',
maintainer_email = 'tribaal@gmail.com', maintainer_email = 'tribaal@gmail.com',
url = 'https://github.com/chrisglass/django_polymorphic',
packages = [ packages = find_packages(),
'polymorphic', package_data = {
'polymorphic.templatetags', 'polymorphic': [
], 'templates/admin/polymorphic/*.html',
],
},
install_requires=['setuptools'],
classifiers=[ classifiers=[
'Framework :: Django', 'Framework :: Django',
'Intended Audience :: Developers', 'Intended Audience :: Developers',