mirror of
https://github.com/arsenetar/send2trash.git
synced 2026-01-22 14:41:40 +00:00
Merge pull request #102 from gunSlaveUnit/fix/102-install-source-via-pip
This commit is contained in:
18
README.rst
18
README.rst
@@ -30,9 +30,23 @@ To install with pywin32 or pyobjc required specify the extra `nativeLib`:
|
|||||||
|
|
||||||
python -m pip install -U send2trash[nativeLib]
|
python -m pip install -U send2trash[nativeLib]
|
||||||
|
|
||||||
or you can download the source from http://github.com/arsenetar/send2trash and install it with::
|
or download the source from https://github.com/arsenetar/send2trash and install it with:
|
||||||
|
|
||||||
>>> python setup.py install
|
python -m pip install -e .
|
||||||
|
|
||||||
|
On systems where Python enforces PEP 668 (e.g., recent Linux distributions),
|
||||||
|
installing packages into the system Python may be restricted.
|
||||||
|
Use a virtual environment:
|
||||||
|
|
||||||
|
python -m venv .venv
|
||||||
|
|
||||||
|
GNU/Linux / macOS:
|
||||||
|
|
||||||
|
source .venv/bin/activate
|
||||||
|
|
||||||
|
Windows:
|
||||||
|
|
||||||
|
.venv\Scripts\activate
|
||||||
|
|
||||||
Usage
|
Usage
|
||||||
-----
|
-----
|
||||||
|
|||||||
Reference in New Issue
Block a user