-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add the optional compression libs to extras_require #2123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -35,7 +35,12 @@ def run(cls): | |
version=__version__, | ||
|
||
tests_require=test_require, | ||
extras_require={"crc32c": ["crc32c"]}, | ||
extras_require={ | ||
"crc32c": ["crc32c"], | ||
"lz4": ["lz4"], | ||
"snappy": ["python-snappy"], | ||
"zstd": ["python-zstandard"], | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this actually correct? It looks like the PyPI package is just
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Seeing the same error after cloning repository and trying to install with the extra locally.
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You'd be better off opening a new issue, as comments on old PR's tend to get lost. |
||
}, | ||
cmdclass={"test": Tox}, | ||
packages=find_packages(exclude=['test']), | ||
author="Dana Powers", | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't sure if we should take the
"snappy"
namespace or use"python-snappy"
so as to disambiguate between different implementations if we later have support for a pure-python vs c-based lib... this applies to the"zstd"
entry as well...There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dpkp @tvoinarovskyi any opinion?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think dropping the
python-
prefix is fine here.