Skip to content

Commit

Permalink
Merge pull request #1 from JimmXinu/master
Browse files Browse the repository at this point in the history
Package without '_' and add version.
  • Loading branch information
sidney committed Jan 29, 2021
2 parents b510711 + ef7673b commit a69c0b8
Show file tree
Hide file tree
Showing 12 changed files with 8 additions and 4 deletions.
Empty file removed _brotlidecpy/__init__.py
Empty file.
2 changes: 0 additions & 2 deletions brotlidecpy.py

This file was deleted.

6 changes: 6 additions & 0 deletions brotlidecpy/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from __future__ import absolute_import

__version__ = "1.0.0"

# noinspection PyUnresolvedReferences
from .decode import brotli_decompress_buffer as decompress
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion _brotlidecpy/dictionary.py → brotlidecpy/dictionary.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ def __init__(self):
minDictionaryWordLength = 4
maxDictionaryWordLength = 24

dictionary = pkgutil.get_data('_brotlidecpy', 'brotli-dict')
dictionary = pkgutil.get_data('brotlidecpy', 'brotli-dict')
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/_test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@


project_dir = os.path.abspath(os.path.join(__file__, '..', '..'))
src_dir = os.path.join(project_dir, '_brotlidecpy')
src_dir = os.path.join(project_dir, 'brotlidecpy')
test_dir = os.path.join(project_dir, 'test')

python_exe = sys.executable or 'python'
Expand Down

0 comments on commit a69c0b8

Please sign in to comment.