-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
25 lines (23 loc) · 776 Bytes
/
setup.py
File metadata and controls
25 lines (23 loc) · 776 Bytes
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
#!/usr/bin/env python
from distutils.core import setup
from shutil import copyfile
import os
import sys
setup(
name='pyxbindman',
version='1.0',
description='A command line hotkeys manager running over xbindkeys',
long_description=open('README.md', 'r').read(),
license='BSD',
author='Georgy Vlasov',
author_email='wlasowegor@gmail.com',
url='https://github.com/Suseika/pyxbindman',
packages=[],
py_modules=['xbindkeys'],
scripts=['pyxbindman', 'py-completion-pyxbindman'],
)
#if os.path.isdir('/etc/bash_completion.d'):
# copyfile('completion.sh', '/etc/bash_completion.d/pyxbindman')
#else:
# print '! ATTENTION: bash completion could not be installed'
# sys.exit(1)