Prechádzať zdrojové kódy

fix: packages `demos` were accidentally added during installation

wangweimin 4 rokov pred
rodič
commit
e07fd89d91
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      setup.py

+ 2 - 2
setup.py

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