Skip to content

Commit

Permalink
Bump v0.4.4: fix setup.py readme.rst path issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hit9 committed Aug 2, 2021
1 parent de691af commit 397984b
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 6 deletions.
6 changes: 3 additions & 3 deletions changes.rst
Original file line number Diff line number Diff line change
@@ -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:

Expand Down
2 changes: 1 addition & 1 deletion compiler/bitproto/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
"""

__version__ = "0.4.3"
__version__ = "0.4.4"
__description__ = "bit level data interchange format."
41 changes: 40 additions & 1 deletion compiler/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 397984b

Please sign in to comment.