From c40f4ad708b0af9f076b7472c05a21da68998ac8 Mon Sep 17 00:00:00 2001 From: Abraham Hernandez Date: Fri, 17 Sep 2021 17:53:55 -0400 Subject: [PATCH] jump -> 2.1.0 --- setup.py | 6 +++--- username/__init__.py | 15 +++++++++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index 6fa0cd7..48ec20c 100644 --- a/setup.py +++ b/setup.py @@ -3,12 +3,12 @@ """The setup.py file for username""" -from setuptools import setup +from setuptools import setup, find_packages DESCRIPTION = 'Get the current username' LONG_DESCRIPTION = open("readme.md").read() -VERSION = '2.0.5' +VERSION = '2.1.0' URL = 'https://projects.abranhe.com/username' GITHUB_URL = 'https://github.com/abranhe/lupe' @@ -42,6 +42,6 @@ ], + packages=find_packages(), keywords='cli command-line-interface python bash-tool username', - include_package_data=True ) diff --git a/username/__init__.py b/username/__init__.py index d73e5d2..290b9f7 100644 --- a/username/__init__.py +++ b/username/__init__.py @@ -1,3 +1,18 @@ +""" +Get the username of the current user. + +Example: + +```python +import username + +username() +# 'abranhe' +``` + +Read more on the [documentation](https://github.com/abranhe/username) +""" + import sys import os import getpass