BSD Ports

devel/py-whichcraft 0.6.1_1 DragonFly

Cross-platform cross-python shutil.which functionality

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD3CLAUSE
Categories
devel, python
Package size
6.2 KiB, 15.9 KiB installed

Description

This package provides cross-platform cross-python shutil.which functionality.

This is a shim of the shutil.which function that's designed to work across multiple versions of Python and inside of windows. The code for Python 2.x is based on Python 3 code that I extracted from source. I originally did this for Cookiecutter but pulled it out in order to reduce line count for that project.

In the other systems

SystemPortVersion
DragonFlydevel/py-whichcraft0.6.1_1
FreeBSDdevel/py-whichcraft0.6.1_1
HardenedBSDdevel/py-whichcraft0.6.1_1
GhostBSDdevel/py-whichcraft0.6.1_1

Install

Binary package:

pkg install py311-whichcraft

From DPorts:

cd /usr/dports/devel/py-whichcraft && make install clean

Dependencies

Run dependencies 1

No port depends on this one.