File tree Expand file tree Collapse file tree 3 files changed +21
-20
lines changed Expand file tree Collapse file tree 3 files changed +21
-20
lines changed Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env python3
2
2
3
- import sys
4
- import os
5
-
6
3
import alabaster
7
-
4
+ import os
5
+ import re
6
+ import sys
8
7
9
8
sys .path .insert (0 , os .path .abspath ('..' ))
10
9
10
+ with open (os .path .abspath ('../setup.py' ), 'rt' ) as f :
11
+ _m = re .search (r'''version=(?P<q>'|")(?P<ver>[\d\.]+)(?P=q)''' , f .read ())
12
+ if not _m :
13
+ raise RuntimeError ('unable to read the version from setup.py' )
14
+ version = _m .group ('ver' )
15
+
11
16
12
17
# -- General configuration ------------------------------------------------
13
18
19
24
source_suffix = '.rst'
20
25
master_doc = 'index'
21
26
project = 'uvloop'
22
- copyright = '2016, Yury Selivanov '
27
+ copyright = '2016-present, MagicStack, Inc '
23
28
author = 'Yury Selivanov'
24
- version = '0.4.14'
25
- release = '0.4.14'
29
+ release = version
26
30
language = None
27
31
exclude_patterns = ['_build' ]
28
32
pygments_style = 'sphinx'
40
44
html_theme_path = [alabaster .get_path ()]
41
45
html_title = 'uvloop Documentation'
42
46
html_short_title = 'uvloop'
43
- html_static_path = ['_static' ]
47
+ html_static_path = []
44
48
html_sidebars = {
45
49
'**' : [
46
50
'about.html' ,
47
51
'navigation.html' ,
48
- 'searchbox.html' ,
49
52
]
50
53
}
51
54
html_show_sourcelink = False
52
55
html_show_sphinx = False
53
- html_show_copyright = False
56
+ html_show_copyright = True
54
57
htmlhelp_basename = 'uvloopdoc'
55
58
56
59
Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ A goal for the `uvloop` project is to provide a drop in replacement for the
10
10
`asyncio ` event loop is considered a bug.
11
11
12
12
If you have found a bug or have an idea for an enhancement that would
13
- improve the library, use the `bug tracker <https://github.com/MagicStack/uvloop/issues >`_.
13
+ improve the library, use the
14
+ `bug tracker <https://github.com/MagicStack/uvloop/issues >`_.
14
15
15
16
16
17
Get the source
Original file line number Diff line number Diff line change
1
+ .. image :: https://travis-ci.org/MagicStack/uvloop.svg?branch=master
2
+ :target: https://travis-ci.org/MagicStack/uvloop
1
3
2
- .. raw :: html
3
-
4
- <div >
5
- <img src =" https://img.shields.io/pypi/status/uvloop.svg?maxAge=2592000?style=plastic" />
6
- <img src =" https://img.shields.io/travis/MagicStack/uvloop/master.svg" />
7
- <br />
8
- <br />
9
- </div >
4
+ .. image :: https://img.shields.io/pypi/status/uvloop.svg?maxAge=2592000?style=plastic
5
+ :target: https://pypi.python.org/pypi/uvloop
10
6
11
7
uvloop
12
8
======
@@ -21,7 +17,8 @@ makes it easier than ever to write high-performance networking code in Python.
21
17
gevent, as well as any other Python asynchronous framework. The performance of
22
18
uvloop-based asyncio is close to that of Go programs.
23
19
24
- You can read more about uvloop in this `blog post <http://magic.io/blog/uvloop-blazing-fast-python-networking/ >`_.
20
+ You can read more about uvloop in this
21
+ `blog post <http://magic.io/blog/uvloop-blazing-fast-python-networking/ >`_.
25
22
26
23
Architecture
27
24
------------
You can’t perform that action at this time.
0 commit comments