From 11f0945ad589e28bc0843405b51acd21e196d978 Mon Sep 17 00:00:00 2001 From: Jacob Mastel Date: Wed, 26 Aug 2020 15:01:53 -0700 Subject: [PATCH 1/2] incremented version number and added console entry point --- setup.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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', ) From 68e40b06c75005c923500006a5f91255b69cdb77 Mon Sep 17 00:00:00 2001 From: Jacob Mastel Date: Wed, 26 Aug 2020 15:02:00 -0700 Subject: [PATCH 2/2] incremented version number --- xdice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 """