diff --git a/changes.rst b/changes.rst index 166d19d..f36f6d4 100644 --- a/changes.rst +++ b/changes.rst @@ -1,11 +1,11 @@ .. currentmodule:: bitproto -.. _version-0.4.3: +.. _version-0.4.4: -Version 0.4.3 +Version 0.4.4 ------------- -- Minor fix compiler setup.py path for windows +- Minor fix compiler setup.py path issue. .. _version-0.4.2: diff --git a/compiler/bitproto/__init__.py b/compiler/bitproto/__init__.py index 1f444b7..f9dfa7a 100644 --- a/compiler/bitproto/__init__.py +++ b/compiler/bitproto/__init__.py @@ -8,5 +8,5 @@ """ -__version__ = "0.4.3" +__version__ = "0.4.4" __description__ = "bit level data interchange format." diff --git a/compiler/setup.py b/compiler/setup.py index dece864..eb4316c 100644 --- a/compiler/setup.py +++ b/compiler/setup.py @@ -8,6 +8,45 @@ version = about["__version__"] description = about["__description__"] +long_docs = """ +bitproto +======== + +Bitproto is a fast, lightweight and easy-to-use bit level data +interchange format for serializing data structures. + +Features +--------- + +- Supports bit level data serialization. +- Supports protocol extensiblity, for backward-compatibility. +- Very easy to start + + - Protocol syntax is similar to the well-known protobuf. + - Generating code with very simple serialization api. + +- Supports the following languages + + - C - No dynamic memory allocation. + - Go - No reflection or type assertions. + - Python - No magic :) + +- Blazing fast encoding/decoding. + + +Links +----- + +Website: https://bitproto.readthedocs.io + +中文文档: https://bitproto.readthedocs.io/zh/latest + +License +------- + +BSD3. +""" + setup( name="bitproto", version=version, @@ -17,7 +56,7 @@ description=description, packages=["bitproto"], include_package_data=True, - long_description=open(join("..", "README.rst")).read(), + long_description=long_docs, zip_safe=False, entry_points={"console_scripts": ["bitproto=bitproto._main:run_bitproto"]}, python_requires=">=3.7", diff --git a/docs/conf.py b/docs/conf.py index 095b5b0..4ac0895 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -8,7 +8,7 @@ project = "bitproto" copyright = "2021, Chao Wang" author = "Chao Wang" -version = "0.4.2" +version = "0.4.4" exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] html_theme = "alabaster" html_static_path = ["_static"]