Skip to content

Commit

Permalink
v0.1.0.post2
Browse files Browse the repository at this point in the history
Fixed py.typed resource in setup.py.
  • Loading branch information
sg495 committed Oct 23, 2021
1 parent 593dbb9 commit 2a12520
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
3 changes: 2 additions & 1 deletion bases/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@

# re-export all encodings and functions.
__all__ = [
*(name for name, _ in encoding.table()),
"base2", "base16", "base8", "base10", "base36", "base58btc", "base58flickr", "base58ripple",
"base32", "base32hex", "base32z", "base64", "base64url", "base45",
"get", "has", "make", "register", "unregister", "table"
]

Expand Down
2 changes: 0 additions & 2 deletions docs/bases/encoding/block.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ <h1 class="title">Module <code>bases.encoding.block</code></h1>
else:
alphabet = encoding
encoding = SimpleBaseEncoding(alphabet)
print(alphabet, encoding)
super().__init__(alphabet, case_sensitive=case_sensitive)
self._block_encoding = encoding
self._sep_char = sep_char
Expand Down Expand Up @@ -527,7 +526,6 @@ <h2 class="section-title" id="header-classes">Classes</h2>
else:
alphabet = encoding
encoding = SimpleBaseEncoding(alphabet)
print(alphabet, encoding)
super().__init__(alphabet, case_sensitive=case_sensitive)
self._block_encoding = encoding
self._sep_char = sep_char
Expand Down
2 changes: 1 addition & 1 deletion docs/bases/encoding/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ <h1 class="title">Module <code>bases.encoding</code></h1>
base45 = BlockBaseEncoding(alphabet.base45, block_size={1: 2, 2: 3}, reverse_blocks=True)
&#34;&#34;&#34;
Uppercase case-insensitive base-45 encoding from https://datatracker.ietf.org/doc/draft-faltstrom-base45/

Note that this is (slightly) different from the [ISO/IEC 18004:2015 standard](https://www.iso.org/standard/62021.html)
&#34;&#34;&#34;

Expand Down
3 changes: 2 additions & 1 deletion docs/bases/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ <h1 class="title">Package <code>bases</code></h1>

# re-export all encodings and functions.
__all__ = [
*(name for name, _ in encoding.table()),
&#34;base2&#34;, &#34;base16&#34;, &#34;base8&#34;, &#34;base10&#34;, &#34;base36&#34;, &#34;base58btc&#34;, &#34;base58flickr&#34;, &#34;base58ripple&#34;,
&#34;base32&#34;, &#34;base32hex&#34;, &#34;base32z&#34;, &#34;base64&#34;, &#34;base64url&#34;, &#34;base45&#34;,
&#34;get&#34;, &#34;has&#34;, &#34;make&#34;, &#34;register&#34;, &#34;unregister&#34;, &#34;table&#34;
]

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setuptools.setup(
name="bases",
version="0.1.0.post1",
version="0.1.0.post2",
author="hashberg",
author_email="[email protected]",
url="https://github.com/hashberg-io/bases",
Expand All @@ -27,7 +27,7 @@
"Typing :: Typed",
],
package_data={"": [],
"bases": ["bases/py.typed"],
"bases": ["py.typed"],
},
install_requires=[
"typing_extensions"
Expand Down

0 comments on commit 2a12520

Please sign in to comment.