Skip to content

Commit 4c56fe7

Browse files
committed
fix assets in wheel
1 parent 1c80cd0 commit 4c56fe7

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

bootstrapform_jinja/meta.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
from distutils.version import StrictVersion
22

33
# start from a fresh number 4 to identify jinja verison
4-
VERSION = StrictVersion('4.2.0')
4+
VERSION = StrictVersion('4.2.1')

setup.py

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from setuptools import setup, find_packages
1+
from setuptools import setup
22
from bootstrapform_jinja.meta import VERSION
33

44
description = """
@@ -17,6 +17,13 @@
1717
pip install django-jinja-bootstrap-form
1818
"""
1919

20+
template_files = [
21+
'templates/bootstrapform/field.jinja',
22+
'templates/bootstrapform/field_macros.jinja',
23+
'templates/bootstrapform/form.jinja',
24+
'templates/bootstrapform/formset.jinja',
25+
]
26+
2027
setup(
2128
name='django-jinja-bootstrap-form',
2229
version=str(VERSION),
@@ -28,8 +35,9 @@
2835
'Framework :: Django',
2936
'Environment :: Web Environment',
3037
'Programming Language :: Python :: 3',
31-
'Programming Language :: Python :: 3.4',
38+
'Programming Language :: Python :: 3 :: Only',
3239
'Programming Language :: Python :: 3.5',
40+
'Programming Language :: Python :: 3.6',
3341
],
3442
keywords='bootstrap,django,jinja2',
3543
author='Samuel Colvin',
@@ -40,7 +48,8 @@
4048
'django>=1.9',
4149
'django-jinja>=2.3.1',
4250
],
43-
packages=find_packages(),
44-
include_package_data=True,
45-
zip_safe=False,
51+
packages=['bootstrapform_jinja'],
52+
package_data={'bootstrapform_jinja': template_files},
53+
python_requires='>=3.6',
54+
zip_safe=True,
4655
)

0 commit comments

Comments
 (0)