fix: flatten React Router structure — no nested Routes, each page is a top-level route
This commit is contained in:
@@ -0,0 +1 @@
|
||||
pip
|
||||
@@ -0,0 +1,48 @@
|
||||
Metadata-Version: 2.4
|
||||
Name: detect-installer
|
||||
Version: 0.1.0
|
||||
Summary: Detect how a Python package was installed and get the correct upgrade command
|
||||
Author: Patrick Arminio
|
||||
Author-email: Patrick Arminio <patrick.arminio@gmail.com>
|
||||
License-Expression: 0BSD
|
||||
Requires-Python: >=3.10
|
||||
Description-Content-Type: text/markdown
|
||||
|
||||
# detect-installer
|
||||
|
||||
Detect how a Python package was installed and get the correct upgrade command.
|
||||
|
||||
Supports pip, uv (project and pip modes), uv tool, pipx, Homebrew, Conda, and
|
||||
Mamba.
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
pip install detect-installer
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
```python
|
||||
from detect_installer import detect_installer
|
||||
|
||||
info = detect_installer("rich")
|
||||
|
||||
if info is None:
|
||||
print("Package is not installed")
|
||||
else:
|
||||
print(info.installer) # e.g. Installer.PIP
|
||||
print(info.upgrade_cmd) # e.g. "pip install -U rich"
|
||||
```
|
||||
|
||||
## Vendoring
|
||||
|
||||
This library has zero dependencies and is published under the
|
||||
[0BSD license](LICENSE), so you can copy
|
||||
`src/detect_installer/_detect.py` directly into your project if you'd
|
||||
prefer to avoid adding a dependency.
|
||||
|
||||
## License
|
||||
|
||||
[0BSD](LICENSE) - free to use, copy, modify, and distribute with or without
|
||||
fee.
|
||||
@@ -0,0 +1,13 @@
|
||||
../../../bin/detect-installer-test,sha256=Dg2m6xeAiv9axfrWdLVz8xbtTycoSXh3Lo3SLRC77jI,265
|
||||
detect_installer-0.1.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
|
||||
detect_installer-0.1.0.dist-info/METADATA,sha256=075VFkcy356BC0HVsD2woLtHJ_HORR080MPgkJpIMis,1156
|
||||
detect_installer-0.1.0.dist-info/RECORD,,
|
||||
detect_installer-0.1.0.dist-info/WHEEL,sha256=iHtWm8nRfs0VRdCYVXocAWFW8ppjHL-uTJkAdZJKOBM,80
|
||||
detect_installer-0.1.0.dist-info/entry_points.txt,sha256=xRBlwxw0rIQLfSNI3ycY79Fc92BlXuMvgoKU8h3Bhzc,71
|
||||
detect_installer/__init__.py,sha256=0OLWtBn-CcEc1WA3K7aaBBIa67kQuQ4dKn2tCgNSMVo,166
|
||||
detect_installer/__pycache__/__init__.cpython-312.pyc,,
|
||||
detect_installer/__pycache__/_detect.cpython-312.pyc,,
|
||||
detect_installer/__pycache__/_test.cpython-312.pyc,,
|
||||
detect_installer/_detect.py,sha256=nnQiqXH5EFRL6YIVMHzQQYl4qZHb6EQVT2zxPZtWKPg,5125
|
||||
detect_installer/_test.py,sha256=-VeH-fzD8zCTp_R0ZxuwfyJ39Dj8dKFXuP83V2xKpAY,478
|
||||
detect_installer/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
||||
@@ -0,0 +1,4 @@
|
||||
Wheel-Version: 1.0
|
||||
Generator: uv 0.9.30
|
||||
Root-Is-Purelib: true
|
||||
Tag: py3-none-any
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
[console_scripts]
|
||||
detect-installer-test = detect_installer._test:main
|
||||
|
||||
Reference in New Issue
Block a user