Skip to content

Commit

Permalink
bug fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
guofei9987 committed Nov 20, 2024
1 parent 1fbb399 commit 81795ed
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions examples/example.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
from text_blind_watermark import TextBlindWatermark
import os

os.chdir(os.path.dirname(__file__))

password = b"p@ssw0rd"
watermark = b"This is a watermark"
Expand Down
3 changes: 3 additions & 0 deletions examples/example_old.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
from text_blind_watermark import TextBlindWatermarkDeprecated
import os

os.chdir(os.path.dirname(__file__))

password = "p@ssw0rd"
watermark = "This is a watermark"
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
setuptools
crypt_tool==0.1.3
crypt_tool>=0.1.3
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import os
import text_blind_watermark

this_directory = os.path.abspath(os.path.dirname(__file__))

Expand All @@ -20,7 +19,7 @@ def read_requirements(filename):

setup(
name='text_blind_watermark',
version=text_blind_watermark.__version__,
version="0.4.2",
python_requires='>=3.5',
description='Text Blind Watermark in Python',
long_description=read_file('README.md'),
Expand Down

0 comments on commit 81795ed

Please sign in to comment.