-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
41 lines (34 loc) · 1 KB
/
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
38
39
40
41
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
def here(*a):
return os.path.join(os.path.dirname(__file__), *a)
readme = open(here('README.md')).read()
requirements = [x.strip() for x in open(here('requirements.txt')).readlines()]
setup(
name='inotifyexec',
version='0.0.1',
description='Uses inotify to watch a directory and execute a command on file change.',
long_description=readme,
author='Werner Beroux, Bennett Kanuka',
author_email='[email protected], [email protected]',
url='https://github.com/bkanuka/inotifyexec',
packages=[
'inotifyexec',
],
package_dir={'inotifyexec': 'inotifyexec'},
include_package_data=True,
install_requires=requirements,
license="BSD",
keywords=['inotifyexec', 'inotify'],
entry_points={
'console_scripts': [
'inotifyexec = inotifyexec.inotifyexec:main'
]
},
)