Skip to content

Commit

Permalink
console script
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Apr 3, 2016
1 parent ad968b6 commit 8ff43b0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion gitfame/_gitfame.py
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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=[
Expand Down

0 comments on commit 8ff43b0

Please sign in to comment.