1
1
#!/usr/bin/env python
3
# Author: Forest Bond <forest@alittletooquiet.net>
3
# Author: Forest Bond <forest.bond@outpostembedded.com>
4
4
# This file is in the public domain.
7
from distutils.core import (
14
################################################################################
18
description = 'run tests'
21
def initialize_options(self):
24
def finalize_options(self):
28
from tests import main
32
################################################################################
6
import os, sys, commands
7
from distutils.core import Extension
10
sys.path.insert(0, os.path.join(os.path.dirname(__file__), 'modules'))
11
sys.path.insert(0, os.path.join(os.path.dirname(__file__)))
14
from setuplib import setup
17
def get_version(release_file):
19
f = open(release_file, 'r')
21
return f.read().strip()
24
except (IOError, OSError):
25
status, output = commands.getstatusoutput('bzr revno')
27
return 'bzr%s' % output.strip()
36
cmdclass = {'test': test},
33
version = get_version('release'),
39
34
description = 'Simple Linux inotify bindings',
40
35
author = 'Forest Bond',
41
36
author_email = 'forest@alittletooquiet.net',