Skip to content

Commit

Permalink
Add setup.py, use full screenshot URL for pipy.
Browse files Browse the repository at this point in the history
  • Loading branch information
Heinrich Kuttler committed Aug 17, 2020
1 parent d76045e commit 89e46a2
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,17 @@
Original author (early 2000s): [@mkuettler](https://github.com/mkuettler).

![Screenshot](screenshot.png)
![Screenshot](https://github.com/heiner/filesizeview/blob/master/screenshot.png)

Usage:

```sh
$ python filesizeview.py path/to/large/dir
```

Or:

```sh
pip install filesizeview
filesizeview path/to/large/dir
```
File renamed without changes.
22 changes: 22 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import setuptools


def main():
with open("README.md", "r") as fh:
long_description = fh.read()

setuptools.setup(
name="filesizeview",
version="0.0.2",
description="Graphical display of file sizes on terminal",
long_description=long_description,
long_description_content_type="text/markdown",
entry_points={"console_scripts": ["filesizeview = filesizeview.py",]},
packages=[],
url="https://github.com/heiner/filesizeview",
python_requires=">=3.0",
)


if __name__ == "__main__":
main()

0 comments on commit 89e46a2

Please sign in to comment.