Metadata-Version: 2.1
Name: pathology
Version: 0.2
Summary: Add static script_dir() method to pathlib.Path
Home-page: https://github.com/the-gigi/pathology
Author: Gigi Sayfan
Author-email: the.gigi@gmail.com
License: MIT
Platform: UNKNOWN

# pathology

Provide a a subclass of pathlib's Path that adds a static script_dir() method to Path, which returns the Path to the
directory of the calling script. It could have been just a standalone function, but for discoverability reasons it
seems better to stick it on top of pathlib's Path.

# Usage

It's a drop-in replacement to pathlib's Path:

```
from pathology import Path

print('The script dir is:', Path.script_dir())

```

# TutsPlus

This package was developed as sample code for a TutsPlus article. Check it out:
[How to Write, Package and Distribute a Library in Python](http://code.tutsplus.com/tutorials/how-to-write-package-and-distribute-a-library-in-python--cms-28693)


