Browse Source

fix: packages `demos` were accidentally added during installation

wangweimin 4 years ago
parent
commit
e07fd89d91
1 changed files with 2 additions and 2 deletions
  1. 2 2
      setup.py

+ 2 - 2
setup.py

@@ -1,7 +1,7 @@
 import os
 from functools import reduce
 
-from setuptools import setup, find_packages
+from setuptools import setup
 
 here = os.path.abspath(os.path.dirname(__file__))
 
@@ -33,7 +33,7 @@ setup(
     url=about['__url__'],
     license=about['__license__'],
     python_requires=">=3.5.2",
-    packages=find_packages(),
+    packages=['pywebio', 'pywebio.session', 'pywebio.platform'],
     package_data={
         # data files need to be listed both here (which determines what gets
         # installed) and in MANIFEST.in (which determines what gets included