forked from innogames/igcommit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·37 lines (31 loc) · 895 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""igcommit - Setup
Copyright (c) 2017 InnoGames GmbH
"""
from setuptools import setup
from igcommit import VERSION
from igcommit.config import checks
with open('README.rst') as fd:
readme = fd.read()
setup(
name='igcommit',
version='.'.join(str(v) for v in VERSION),
url='https://github.com/innogames/igcommit',
packages=['igcommit'],
author='InnoGames System Administration',
author_email='it@innogames.com',
license='MIT',
platforms='POSIX',
description='Git pre-receive hook to check commits and code style',
long_description=readme,
keywords=(
'syntax-checker git git-hook python ' +
' '.join(c.args[0] for c in checks if hasattr(c, 'args'))
),
entry_points={
'console_scripts': [
'igcommit-receive=igcommit.prereceive:main',
],
},
)