-
Notifications
You must be signed in to change notification settings - Fork 72
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (30 loc) · 996 Bytes
/
setup.py
File metadata and controls
34 lines (30 loc) · 996 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
26
27
28
29
30
31
32
33
34
import setuptools
import os
with open(os.path.join('inotify', 'resources', 'README.md')) as f:
_LONG_DESCRIPTION = f.read()
with open(os.path.join('inotify', '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='0.2.12',
description=_DESCRIPTION,
long_description=_LONG_DESCRIPTION,
long_description_content_type='text/markdown',
keywords='inotify',
author='Dustin Oprea',
author_email='myselfasunder@gmail.com',
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.md',
'resources/requirements.txt',
]
},
)