Files
Wez Furlong 6ea4ed8343 refactor python bser module to pywatchman.bser, add pywatchman.client
Summary:
This draws from our hgwatchman client code to provide a simple
watchman client API for python code.

This changes the makefile so that we install our watchman python module
during `make install`.  It also wires up a rudimentary test of the
client that talks to one of the instances set up by
WatchmanIntegrationEngine.

Test Plan: `./configure --with-python ; make integration`

Reviewers: sid0, achao

Reviewed By: sid0

Subscribers: moshez

Differential Revision: https://phabricator.fb.com/D1323720
2014-05-16 13:11:03 -07:00

23 lines
684 B
Python
Executable File

#!/usr/bin/env python
# vim:ts=4:sw=4:et:
from distutils.core import setup, Extension
setup(
name = 'pywatchman',
version = '0.1',
description = 'Watchman client for python',
author = 'Wez Furlong, Siddharth Agarwal',
maintainer = 'Wez Furlong',
maintainer_email = '[email protected]',
url = 'https://github.com/facebook/watchman',
long_description = 'Connect and query Watchman to discover file changes',
keywords = \
'watchman inotify fsevents kevent kqueue portfs filesystem watcher',
license = 'Apache 2.0',
packages = ['pywatchman'],
ext_modules = [
Extension('pywatchman.bser', sources = ['pywatchman/bser.c'])
]
)