提交 10237f98 编写于 作者: S shenyuhan

modify setup.py

...@@ -52,11 +52,18 @@ setup( ...@@ -52,11 +52,18 @@ setup(
author_email='paddle-dev@baidu.com', author_email='paddle-dev@baidu.com',
install_requires=REQUIRED_PACKAGES, install_requires=REQUIRED_PACKAGES,
packages=find_packages(), packages=find_packages(),
package_data={'paddlehub/serving/templates':[ package_data={
'paddlehub/serving/templates': [
'paddlehub/serving/templates/serving_config.json',
'paddlehub/serving/templates/main.html'
]
},
include_package_data=True,
data_files=[('paddlehub/serving/templates', [
'paddlehub/serving/templates/serving_config.json', 'paddlehub/serving/templates/serving_config.json',
'paddlehub/serving/templates/main.html' 'paddlehub/serving/templates/main.html'
]}, ])],
include_package_data=True, include_data_files=True,
# PyPI package information. # PyPI package information.
classifiers=[ classifiers=[
'Development Status :: 4 - Beta', 'Development Status :: 4 - Beta',
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册