forked from dsoprea/PyInotify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (33 loc) · 1.02 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
import setuptools
import os
import inotify
APP_PATH = os.path.dirname(inotify.__file__)
with open(os.path.join(APP_PATH, 'resources', 'README.rst')) as f:
_LONG_DESCRIPTION = f.read()
with open(os.path.join(APP_PATH, 'resources', 'requirements.txt')) as f:
_INSTALL_REQUIRES = list(map(lambda s: s.strip(), f.readlines()))
_DESCRIPTION = \
"An adapter to Linux kernel support for inotify directory-watching."
setuptools.setup(
name='inotify',
version=inotify.__version__,
description=_DESCRIPTION,
long_description=_LONG_DESCRIPTION,
classifiers=[
],
keywords='inotify',
author='Dustin Oprea',
author_email='[email protected]',
url='https://github.com/dsoprea/PyInotify',
license='GPL 2',
packages=setuptools.find_packages(exclude=['tests']),
include_package_data=True,
zip_safe=False,
install_requires=_INSTALL_REQUIRES,
package_data={
'inotify': [
'resources/README.rst',
'resources/requirements.txt',
]
}
)