Skip to content

Commit e3a61c2

Browse files
committed
修改版本等信息
1 parent 3e718f2 commit e3a61c2

File tree

3 files changed

+32
-24
lines changed

3 files changed

+32
-24
lines changed

litefs.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
安全、灵活的构建 Web 项目的服务器框架。 litefs 是一个高性能的 Http 服务器。Litefs 具\
66
有高稳定性、丰富的功能、系统消耗低的特点。
77
8-
Copyright (c) 2017, Leo Zhang.
8+
Copyright (c) 2017, Leafcoder.
99
License: MIT (see LICENSE for details)
1010
'''
1111

1212
version_major = 0
1313
version_minor = 0
14-
version_build = 1
15-
__version__ = '%s.%s.%s-dev' % (version_major, version_minor, version_build)
16-
__author__ = 'Leo Zhang'
14+
version_build = 2
15+
__version__ = '%s.%s.%s' % (version_major, version_minor, version_build)
16+
__author__ = 'Leafcoder'
1717
__license__ = 'MIT'
1818

1919
import logging

setup.py

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,32 @@
33

44
import sys
55
sys.dont_write_bytecode = True
6+
67
try:
78
from setuptools import setup
89
except ImportError:
910
from distutils.core import setup
1011
from Cython.Build import cythonize
1112

12-
__author__ = 'Leo Zhang'
13-
__version__ = '0.0.1-dev'
14-
__license__ = 'MIT'
13+
import litefs
14+
15+
__author__ = litefs.__author__
16+
__version__ = litefs.__version__
17+
__license__ = litefs.__license__
1518

16-
setup(name='litefs',
17-
version=__version__,
18-
description='使用 Python 从零开始构建一个 Web 服务器框架。',
19-
long_description=(
20-
'使用 Python 从零开始构建一个 Web 服务器框架。 开发 Litefs 的是为了实现一个能'
21-
'快速、安全、灵活的构建 Web 项目的服务器框架。 litefs 是一个高性能的 Http 服务'
22-
'器。Litefs 具有高稳定性、丰富的功能、系统消耗低的特点。'),
23-
author=__author__,
24-
author_email='leafcoder@gmail.com',
25-
url='https://coding.net/u/leafcoder/p/litefs',
26-
py_modules=['litefs'],
27-
ext_modules=cythonize('litefs.py'),
28-
scripts=['litefs.py'],
29-
license='MIT',
30-
platforms='any',
31-
install_requires = open("requirements.pip").read().splitlines()
19+
print litefs.__doc__
20+
setup(
21+
name='litefs',
22+
version=__version__,
23+
description='使用 Python 从零开始构建一个 Web 服务器框架。',
24+
long_description=litefs.__doc__,
25+
author=__author__,
26+
author_email='leafcoder@gmail.com',
27+
url='https://coding.net/u/leafcoder/p/litefs',
28+
py_modules=['litefs'],
29+
ext_modules=cythonize('litefs.py'),
30+
scripts=['litefs.py'],
31+
license=__license__,
32+
platforms='any',
33+
install_requires=open("requirements.pip").read().splitlines()
3234
)

site/form.html

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@
55
<title>表单提交、支持jQuery提交格式</title>
66
</head>
77
<body>
8-
<h1>表单提交</h1>
8+
<h1>表单提交一</h1>
9+
<form action="./form" method="post">
10+
<div><input type="text" name="name"></div>
11+
<br>
12+
<div><input type="submit" value="提交" /></div>
13+
</form>
14+
<h1>表单提交二</h1>
915
<form action="./form" method="post">
1016
<div><input type="text" name="name"></div>
1117
<br>

0 commit comments

Comments
 (0)