Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Console Entry point to package for command line usage #4

Merged
merged 2 commits into from
Sep 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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