diff --git a/README.md b/README.md index 5607b2e..4b30e47 100644 --- a/README.md +++ b/README.md @@ -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 +``` diff --git a/filesizeview b/filesizeview.py similarity index 100% rename from filesizeview rename to filesizeview.py diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..401fb68 --- /dev/null +++ b/setup.py @@ -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()