root / setup.py

Revision 46a7343c64fa1614dcef1e5044cd6c5caea4599e, 1.2 kB (checked in by Sebastien Martini <seb@…>, 2 months ago)

Removed annoying psyco message (suggested by Henri Tuhola).

  • Property mode set to 100755
Line 
1#!/usr/bin/env python
2
3# check Python's version
4import sys
5if sys.version < '2.4':
6    sys.stderr.write('This module requires Python 2.4 or later.\n')
7    sys.exit(1)
8
9# import statements
10from distutils.core import setup, Extension
11from distutils.util import get_platform
12
13# debug
14DISTUTILS_DEBUG = True
15
16# get platform
17platform = get_platform()
18
19# check linux platform
20if not platform.startswith('linux'):
21    raise Exception, "inotify not available under %s" % platform
22
23classif=[
24    'Environment :: Console',
25    'Intended Audience :: Developers',
26    'License :: OSI Approved :: GNU General Public License (GPL)',
27    'Natural Language :: English',
28    'Operating System :: POSIX :: Linux',
29    'Programming Language :: Python',
30    'Topic :: Software Development :: Libraries',
31    'Topic :: System :: Monitoring'
32    ]
33
34setup(
35    name='pyinotify',
36    version='0.8.1',
37    description='Filesystem monitoring, use inotify',
38    author='Sebastien Martini',
39    author_email='sebastien.martini@gmail.com',
40    license='GPL 2',
41    platforms='Linux',
42    classifiers=classif,
43    url='http://trac.dbzteam.org/pyinotify',
44    download_url='http://git.dbzteam.org/?p=pyinotify.git;a=snapshot;h=HEAD;sf=tgz',
45    py_modules=['pyinotify'],
46    )
Note: See TracBrowser for help on using the browser.