瀏覽代碼

fix: package name in setup.py

wangweimin 5 年之前
父節點
當前提交
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 .exceptions import SessionException, SessionClosedException, SessionNotFoundException
 from .utils import STATIC_PATH
 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__
 from .__version__ import __author__, __author_email__, __license__, __copyright__
 
 
 # Set default logging handler to avoid "No handler found" warnings.
 # 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.'
 __description__ = 'Write web app in script way.'
 __url__ = 'https://pywebio.readthedocs.io'
 __url__ = 'https://pywebio.readthedocs.io'
 __version__ = "0.1.0"
 __version__ = "0.1.0"

+ 1 - 1
setup.py

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