Skip to content

Commit

Permalink
Merge pull request #4 from jacobm001/master
Browse files Browse the repository at this point in the history
Add Console Entry point to package for command line usage
  • Loading branch information
olinox14 committed Sep 2, 2020
2 parents 537613f + 68e40b0 commit 90d25ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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',

)
2 changes: 1 addition & 1 deletion xdice.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import random
import re

__VERSION__ = "1.2.1"
__VERSION__ = "1.2.2"

def compile(pattern_string): # @ReservedAssignment
"""
Expand Down

0 comments on commit 90d25ca

Please sign in to comment.