Update README.md - Fix Base46 input example#12
Open
oviliz wants to merge 1 commit intosspreitzer:masterfrom
Open
Update README.md - Fix Base46 input example#12oviliz wants to merge 1 commit intosspreitzer:masterfrom
oviliz wants to merge 1 commit intosspreitzer:masterfrom
Conversation
Author
|
@sspreitzer do you mind reviewing this? |
sspreitzer
reviewed
Sep 5, 2023
Owner
sspreitzer
left a comment
There was a problem hiding this comment.
Can you please also increase the version of the package in the setup file?
Thank you
Author
|
@sspreitzer happy with a minor version change? |
Owner
Sure, if it is working. 👍 |
c5d8d23 to
785dd2a
Compare
785dd2a to
14a1507
Compare
Author
|
@sspreitzer I have ended up doing ❯ python3 setup.py install
running install
/usr/local/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
/usr/local/lib/python3.11/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running bdist_egg
running egg_info
writing src/sid.egg-info/PKG-INFO
writing dependency_links to src/sid.egg-info/dependency_links.txt
writing top-level names to src/sid.egg-info/top_level.txt
reading manifest file 'src/sid.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'src/sid.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-11-x86_64/egg
running install_lib
running build_py
creating build/bdist.macosx-11-x86_64/egg
creating build/bdist.macosx-11-x86_64/egg/sid
copying build/lib/sid/lib.py -> build/bdist.macosx-11-x86_64/egg/sid
copying build/lib/sid/__init__.py -> build/bdist.macosx-11-x86_64/egg/sid
copying build/lib/sid/test_lib.py -> build/bdist.macosx-11-x86_64/egg/sid
byte-compiling build/bdist.macosx-11-x86_64/egg/sid/lib.py to lib.cpython-311.pyc
byte-compiling build/bdist.macosx-11-x86_64/egg/sid/__init__.py to __init__.cpython-311.pyc
byte-compiling build/bdist.macosx-11-x86_64/egg/sid/test_lib.py to test_lib.cpython-311.pyc
creating build/bdist.macosx-11-x86_64/egg/EGG-INFO
copying src/sid.egg-info/PKG-INFO -> build/bdist.macosx-11-x86_64/egg/EGG-INFO
copying src/sid.egg-info/SOURCES.txt -> build/bdist.macosx-11-x86_64/egg/EGG-INFO
copying src/sid.egg-info/dependency_links.txt -> build/bdist.macosx-11-x86_64/egg/EGG-INFO
copying src/sid.egg-info/top_level.txt -> build/bdist.macosx-11-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating 'dist/sid-0.3-py3.11.egg' and adding 'build/bdist.macosx-11-x86_64/egg' to it
removing 'build/bdist.macosx-11-x86_64/egg' (and everything under it)
Processing sid-0.3-py3.11.egg
Copying sid-0.3-py3.11.egg to /usr/local/lib/python3.11/site-packages
Removing sid 0.2.1 from easy-install.pth file
Adding sid 0.3 to easy-install.pth file
Installed /usr/local/lib/python3.11/site-packages/sid-0.3-py3.11.egg
Processing dependencies for sid==0.3
Finished processing dependencies for sid==0.3Tests: ❯ cd src/sid/
❯ python3 -m unittest
......
----------------------------------------------------------------------
Ran 6 tests in 0.000s
OKUsage: ❯ cd ../../
❯ cat > convert.py << EOF
import sid
mysid = sid.sid('AQUAAAAAAAUVAAAAoGXPfnhLm1/nfIdwCRwBAA==', sid.SID_BASE64)
print(mysid)
EOF
❯ python3 convert.py
S-1-5-21-2127521184-1604012920-1887927527-72713 |
Author
|
@sspreitzer just a heads up reminder about this PR. Thanks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixing Base46 input example when the following error occurs: