Skip to content

Commit ab5ef7b

Browse files
committed
fixed swagger docs bug
1 parent 9164455 commit ab5ef7b

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

jsonparse/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.11.1
1+
0.11.2

setup.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import jsonparse
33

44
# python imports
5-
from setuptools import setup
5+
from setuptools import setup, find_namespace_packages
66
import os
77
from codecs import open
88

@@ -33,7 +33,6 @@
3333
author=AUTHOR,
3434
author_email=EMAIL,
3535
license='MIT',
36-
packages=['jsonparse'],
3736
classifiers=[
3837
'Programming Language :: Python :: 3',
3938
'Programming Language :: Python :: 3.7',
@@ -47,12 +46,14 @@
4746
'gunicorn>=20.1.0,<21.0.0'
4847
]
4948
},
49+
packages=find_namespace_packages(where="."),
50+
package_dir={"": "."},
5051
package_data={
5152
'jsonparse': ['VERSION'],
5253
'jsonparse.static.css': ['*.css'],
5354
'jsonparse.static.img': ['*.png'],
5455
'jsonparse.static.js': ['*.js'],
5556
'jsonparse.static': ['openapi.yaml'],
56-
'jsonparse.templates': ['*.html']
57-
}
57+
'jsonparse.templates': ['*.html'],
58+
},
5859
)

0 commit comments

Comments
 (0)