wangweimin 5 лет назад
Родитель
Сommit
e632938f24
3 измененных файлов с 3 добавлено и 3 удалено
  1. 1 1
      pywebio/__init__.py
  2. 1 1
      pywebio/__version__.py
  3. 1 1
      setup.py

+ 1 - 1
pywebio/__init__.py

@@ -7,7 +7,7 @@ from .session import (
 from .exceptions import SessionException, SessionClosedException, SessionNotFoundException
 from .utils import STATIC_PATH
 
-from .__version__ import __title__, __description__, __url__, __version__
+from .__version__ import __description__, __url__, __version__
 from .__version__ import __author__, __author_email__, __license__, __copyright__
 
 # Set default logging handler to avoid "No handler found" warnings.

+ 1 - 1
pywebio/__version__.py

@@ -1,4 +1,4 @@
-__title__ = 'PyWebIO'
+__package__ = 'pywebio'
 __description__ = 'Write web app in script way.'
 __url__ = 'https://pywebio.readthedocs.io'
 __version__ = "0.1.0"

+ 1 - 1
setup.py

@@ -12,7 +12,7 @@ with open('README.md') as f:
     readme = f.read()
 
 setup(
-    name=about['__title__'],
+    name=about['__package__'],
     version=about['__version__'],
     description=about['__description__'],
     long_description=readme,