diff options
Diffstat (limited to 'setup.py')
| -rw-r--r-- | setup.py | 22 |
1 files changed, 13 insertions, 9 deletions
@@ -9,6 +9,17 @@ URL = 'https://projects.metalgamer.eu/patternutils' EMAIL = 'dennis.fink@c3l.lu' AUTHOR = 'Dennis Fink' +VERSION = '0.0.1' +ENTRY_POINTS = { + 'console_scripts': [ + 'pmatch=patternutils.commands.pmatch:pmatch', + 'targs=patternutils.commands.targs:targs', + 'tmv=patternutils.commands.tmv:tmv', + 'patterncfg=patternutils.commands.patterncfg:patterncfg', + ], +} + + REQUIRED = [ 'click==7.0', ] @@ -19,20 +30,13 @@ OPTIONAL = { setup( name=NAME, - version='0.0.1', + version=VERSION, description=DESCRIPTION, author=AUTHOR, author_email=EMAIL, url=URL, packages=find_packages(exclude=('tests',)), - entry_points={ - 'console_scripts': [ - 'pmatch=patternutils.commands.pmatch:pmatch', - 'targs=patternutils.commands.targs:targs', - 'tmv=patternutils.commands.tmv:tmv', - 'patterncfg=patternutils.commands.patterncfg:patterncfg', - ], - }, + entry_points=ENTRY_POINTS, install_requires=REQUIRED, extras_requires=OPTIONAL, include_package_data=True, |
