Skip to content

Commit aa18bbe

Browse files
committed
解决 pip install 报错的问题
1 parent f43a58f commit aa18bbe

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

setup.py

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,30 @@
1010
from distutils.core import setup
1111
from Cython.Build import cythonize
1212

13-
import litefs
13+
long_description = '''
14+
使用 Python 从零开始构建一个 Web 服务器框架。 开发 Litefs 的是为了实现一个能快速、\
15+
安全、灵活的构建 Web 项目的服务器框架。 litefs 是一个高性能的 Http 服务器。Litefs 具\
16+
有高稳定性、丰富的功能、系统消耗低的特点。
1417
15-
__author__ = litefs.__author__
16-
__version__ = litefs.__version__
17-
__license__ = litefs.__license__
18+
Name: leozhang
19+
Email: leafcoder@gmail.com
20+
21+
Copyright (c) 2017, Leafcoder.
22+
License: MIT (see LICENSE for details)
23+
'''
24+
25+
version_major = 0
26+
version_minor = 2
27+
version_build = 0
28+
__version__ = '%s.%s.%s' % (version_major, version_minor, version_build)
29+
__author__ = 'Leafcoder'
30+
__license__ = 'MIT'
1831

1932
setup(
2033
name='litefs',
2134
version=__version__,
2235
description='使用 Python 从零开始构建一个 Web 服务器框架。',
23-
long_description=litefs.__doc__,
36+
long_description=__doc__,
2437
author=__author__,
2538
author_email='leafcoder@gmail.com',
2639
url='https://github.com/leafcoder/litefs',

0 commit comments

Comments
 (0)