Skip to content

Commit

Permalink
fix some bugs of bild dist
Browse files Browse the repository at this point in the history
  • Loading branch information
tsbxmw committed Apr 9, 2019
1 parent 1e492e6 commit ff12b4b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hafweb/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@

MAIN_VERSION = 0
SUB_VERSION = 0
FIX_VERSION = 6
FIX_VERSION = 7

VERSION = f"{MAIN_VERSION}.{SUB_VERSION}.{FIX_VERSION}"
11 changes: 11 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@ def package_files(directory):
paths.append(os.path.join('..', path, filename))
return paths

package_extras = []


package_extras.extend(package_files('{}/controller'.format(PACKAGE_NAME)))
package_extras.extend(package_files('{}/model'.format(PACKAGE_NAME)))
package_extras.extend(package_files('{}/resource'.format(PACKAGE_NAME)))
package_extras.extend(package_files('{}/resource/css'.format(PACKAGE_NAME)))
package_extras.extend(package_files('{}/resource/js'.format(PACKAGE_NAME)))
package_extras.extend(package_files('{}/route'.format(PACKAGE_NAME)))


setup(
name = PACKAGE_NAME,
Expand All @@ -38,6 +48,7 @@ def package_files(directory):
long_description_content_type='text/markdown',
url='http://github.com/hautof/haf-plugin-webserver',
packages=setuptools.find_packages(),
package_data = {"": package_extras},
python_requires='>=3.6',
install_requires=requires,
platforms='Posix; MacOS X; Windows',
Expand Down

0 comments on commit ff12b4b

Please sign in to comment.