diff --git a/README.rst b/README.rst index 70018b7..f664d4f 100644 --- a/README.rst +++ b/README.rst @@ -84,8 +84,9 @@ Usage .. code:: sh git fame # If alias registered with git (see above) + gitfame # Alternative execution as python console script python -m gitfame # Alternative execution as python module - git fame -h # Print help + gitfame -h # Print help For example, to print statistics regarding all source files in a C++/CUDA repository (``*.c/h/t(pp), *.cu(h)``), carefully handling whitespace and line diff --git a/gitfame/_gitfame.py b/gitfame/_gitfame.py index 9e80bc5..5e5ffc0 100755 --- a/gitfame/_gitfame.py +++ b/gitfame/_gitfame.py @@ -36,7 +36,7 @@ __licence__ = "[MPLv2.0](https://mozilla.org/MPL/2.0/)" __all__ = ["main"] __copyright__ = ' '.join(("Copyright (c)", __date__, __author__, __licence__)) -__version__ = "1.0.3" +__version__ = "1.1.0" __license__ = __licence__ # weird foreign language diff --git a/setup.py b/setup.py index 81d91f4..39d6250 100644 --- a/setup.py +++ b/setup.py @@ -30,6 +30,7 @@ def cythonize(*args, **kwargs): platforms=['any'], packages=['gitfame'], provides=['gitfame'], + entry_points={'console_scripts': ['gitfame=gitfame:main'], }, ext_modules=cythonize(["gitfame/_gitfame.py", "gitfame/_utils.py"], nthreads=2), classifiers=[