summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--setup.py22
1 files changed, 13 insertions, 9 deletions
diff --git a/setup.py b/setup.py
index f5919d1..91e6062 100644
--- a/setup.py
+++ b/setup.py
@@ -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,