Skip to content

Commit 397984b

Browse files
committed
Bump v0.4.4: fix setup.py readme.rst path issue
1 parent de691af commit 397984b

File tree

4 files changed

+45
-6
lines changed

4 files changed

+45
-6
lines changed

changes.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
.. currentmodule:: bitproto
22

3-
.. _version-0.4.3:
3+
.. _version-0.4.4:
44

5-
Version 0.4.3
5+
Version 0.4.4
66
-------------
77

8-
- Minor fix compiler setup.py path for windows
8+
- Minor fix compiler setup.py path issue.
99

1010
.. _version-0.4.2:
1111

compiler/bitproto/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@
88
99
"""
1010

11-
__version__ = "0.4.3"
11+
__version__ = "0.4.4"
1212
__description__ = "bit level data interchange format."

compiler/setup.py

Lines changed: 40 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,45 @@
88
version = about["__version__"]
99
description = about["__description__"]
1010

11+
long_docs = """
12+
bitproto
13+
========
14+
15+
Bitproto is a fast, lightweight and easy-to-use bit level data
16+
interchange format for serializing data structures.
17+
18+
Features
19+
---------
20+
21+
- Supports bit level data serialization.
22+
- Supports protocol extensiblity, for backward-compatibility.
23+
- Very easy to start
24+
25+
- Protocol syntax is similar to the well-known protobuf.
26+
- Generating code with very simple serialization api.
27+
28+
- Supports the following languages
29+
30+
- C - No dynamic memory allocation.
31+
- Go - No reflection or type assertions.
32+
- Python - No magic :)
33+
34+
- Blazing fast encoding/decoding.
35+
36+
37+
Links
38+
-----
39+
40+
Website: https://bitproto.readthedocs.io
41+
42+
中文文档: https://bitproto.readthedocs.io/zh/latest
43+
44+
License
45+
-------
46+
47+
BSD3.
48+
"""
49+
1150
setup(
1251
name="bitproto",
1352
version=version,
@@ -17,7 +56,7 @@
1756
description=description,
1857
packages=["bitproto"],
1958
include_package_data=True,
20-
long_description=open(join("..", "README.rst")).read(),
59+
long_description=long_docs,
2160
zip_safe=False,
2261
entry_points={"console_scripts": ["bitproto=bitproto._main:run_bitproto"]},
2362
python_requires=">=3.7",

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
project = "bitproto"
99
copyright = "2021, Chao Wang"
1010
author = "Chao Wang"
11-
version = "0.4.2"
11+
version = "0.4.4"
1212
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
1313
html_theme = "alabaster"
1414
html_static_path = ["_static"]

0 commit comments

Comments
 (0)