diff --git a/setup.py b/setup.py index 65cc47a..f26cd57 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ setup( name='xdice', - version='1.2.1', + version='1.2.2', description='The swiss knife for Dice roll : Command line, API (documented!), advanced dice notation parser, compilable patterns...etc.', long_description=long_description, @@ -50,7 +50,11 @@ 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', ], - + entry_points = { + 'console_scripts': [ + 'roll=roll:main' + ] + }, keywords='xdice roll d20 game random parser dices role board', ) diff --git a/xdice.py b/xdice.py index f221430..7cbf4c7 100644 --- a/xdice.py +++ b/xdice.py @@ -8,7 +8,7 @@ import random import re -__VERSION__ = "1.2.1" +__VERSION__ = "1.2.2" def compile(pattern_string): # @ReservedAssignment """