Skip to content
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

Add (optional) dependencies to setup.py #69

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,37 @@ Terminal emulators and TTYs have their color-schemes updated in real-time with n

[![Packaging status](https://repology.org/badge/vertical-allrepos/pywal16.svg)](https://repology.org/project/pywal16/versions)

### Developement notes

#### Regular install

No dependencies, MUST provided native executables:

pip install "pywal16"

Install colorthief dependency automatically:

pip install "pywal16[colorthief]"

Install all dependencies:

pip install "pywal16[all]"

#### Developement checkout install

No dependencies, MUST provided native executables:

python -m pip install -e .

Install colorthief dependency automatically:

python -m pip install -e ".[colorthief]"

Install all dependencies:

python -m pip install -e ".[all]"


<p align="right">
support me at:
<br>
Expand Down
8 changes: 8 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@
packages=["pywal"],
entry_points={"console_scripts": ["wal=pywal.__main__:main"]},
python_requires=">=3.5",
extras_require={
'colorthief': ['colorthief', ], # known to work with 0.2.1
'colorz': ['colorz', ], # NOTE heavy, scipy dependency
'fast-colorthief': ['fast-colorthief', ],
'haishoku': ['haishoku', ],
'modern_colorthief': ['modern_colorthief', ],
'all': ['colorthief', 'colorz', 'fast-colorthief', 'haishoku', 'modern_colorthief'], # convience, all of the above
},
test_suite="tests",
include_package_data=True,
zip_safe=False)