#!/usr/bin/env python

# check Python's version
import sys
if sys.version < '2.4':
    sys.stderr.write('This module requires at least Python 2.4\n')
    sys.exit(1)

# import statements
from distutils.core import setup, Extension
from distutils.util import get_platform

# debug
DISTUTILS_DEBUG = False

# get platform
platform = get_platform()

# check linux platform
if not platform.startswith('linux'):
    sys.stderr.write("inotify is not available under %s\n" % platform)
    sys.exit(1)

classif = [
    'Environment :: Console',
    'Intended Audience :: Developers',
    'License :: OSI Approved :: MIT License',
    'Natural Language :: English',
    'Operating System :: POSIX :: Linux',
    'Programming Language :: Python',
    'Topic :: Software Development :: Libraries',
    'Topic :: System :: Monitoring'
    ]

if sys.version_info[0] >= 3:
    package_dir = {'': 'python3'}
else:
    package_dir = {'': 'python2'}

setup(
    name='pyinotify',
    version='0.9.0',
    description='Linux filesystem events monitoring',
    author='Sebastien Martini',
    author_email='sebastien.martini@gmail.com',
    license='MIT License',
    platforms='Linux',
    classifiers=classif,
    url='http://trac.dbzteam.org/pyinotify',
    download_url='http://seb.dbzteam.org/pub/pyinotify/releases/pyinotify-0.9.0.tar.gz',
    py_modules=['pyinotify'],
    package_dir=package_dir,
    packages=[''],
    )

ecfc716d2f668b1524ae24162e297603fff5227f
<mask token>

<mask token>
if sys.version < '2.4':
    sys.stderr.write('This module requires at least Python 2.4\n')
    sys.exit(1)
<mask token>
if not platform.startswith('linux'):
    sys.stderr.write('inotify is not available under %s\n' % platform)
    sys.exit(1)
<mask token>
if sys.version_info[0] >= 3:
    package_dir = {'': 'python3'}
else:
    package_dir = {'': 'python2'}
setup(name='pyinotify', version='0.9.0', description=
    'Linux filesystem events monitoring', author='Sebastien Martini',
    author_email='sebastien.martini@gmail.com', license='MIT License',
    platforms='Linux', classifiers=classif, url=
    'http://trac.dbzteam.org/pyinotify', download_url=
    'http://seb.dbzteam.org/pub/pyinotify/releases/pyinotify-0.9.0.tar.gz',
    py_modules=['pyinotify'], package_dir=package_dir, packages=[''])

<mask token>
if sys.version < '2.4':
    sys.stderr.write('This module requires at least Python 2.4\n')
    sys.exit(1)
<mask token>
DISTUTILS_DEBUG = False
platform = get_platform()
if not platform.startswith('linux'):
    sys.stderr.write('inotify is not available under %s\n' % platform)
    sys.exit(1)
classif = ['Environment :: Console', 'Intended Audience :: Developers',
    'License :: OSI Approved :: MIT License', 'Natural Language :: English',
    'Operating System :: POSIX :: Linux', 'Programming Language :: Python',
    'Topic :: Software Development :: Libraries',
    'Topic :: System :: Monitoring']
if sys.version_info[0] >= 3:
    package_dir = {'': 'python3'}
else:
    package_dir = {'': 'python2'}
setup(name='pyinotify', version='0.9.0', description=
    'Linux filesystem events monitoring', author='Sebastien Martini',
    author_email='sebastien.martini@gmail.com', license='MIT License',
    platforms='Linux', classifiers=classif, url=
    'http://trac.dbzteam.org/pyinotify', download_url=
    'http://seb.dbzteam.org/pub/pyinotify/releases/pyinotify-0.9.0.tar.gz',
    py_modules=['pyinotify'], package_dir=package_dir, packages=[''])

import sys
if sys.version < '2.4':
    sys.stderr.write('This module requires at least Python 2.4\n')
    sys.exit(1)
from distutils.core import setup, Extension
from distutils.util import get_platform
DISTUTILS_DEBUG = False
platform = get_platform()
if not platform.startswith('linux'):
    sys.stderr.write('inotify is not available under %s\n' % platform)
    sys.exit(1)
classif = ['Environment :: Console', 'Intended Audience :: Developers',
    'License :: OSI Approved :: MIT License', 'Natural Language :: English',
    'Operating System :: POSIX :: Linux', 'Programming Language :: Python',
    'Topic :: Software Development :: Libraries',
    'Topic :: System :: Monitoring']
if sys.version_info[0] >= 3:
    package_dir = {'': 'python3'}
else:
    package_dir = {'': 'python2'}
setup(name='pyinotify', version='0.9.0', description=
    'Linux filesystem events monitoring', author='Sebastien Martini',
    author_email='sebastien.martini@gmail.com', license='MIT License',
    platforms='Linux', classifiers=classif, url=
    'http://trac.dbzteam.org/pyinotify', download_url=
    'http://seb.dbzteam.org/pub/pyinotify/releases/pyinotify-0.9.0.tar.gz',
    py_modules=['pyinotify'], package_dir=package_dir, packages=[''])

#!/usr/bin/env python

# check Python's version
import sys
if sys.version < '2.4':
    sys.stderr.write('This module requires at least Python 2.4\n')
    sys.exit(1)

# import statements
from distutils.core import setup, Extension
from distutils.util import get_platform

# debug
DISTUTILS_DEBUG = False

# get platform
platform = get_platform()

# check linux platform
if not platform.startswith('linux'):
    sys.stderr.write("inotify is not available under %s\n" % platform)
    sys.exit(1)

classif = [
    'Environment :: Console',
    'Intended Audience :: Developers',
    'License :: OSI Approved :: MIT License',
    'Natural Language :: English',
    'Operating System :: POSIX :: Linux',
    'Programming Language :: Python',
    'Topic :: Software Development :: Libraries',
    'Topic :: System :: Monitoring'
    ]

if sys.version_info[0] >= 3:
    package_dir = {'': 'python3'}
else:
    package_dir = {'': 'python2'}

setup(
    name='pyinotify',
    version='0.9.0',
    description='Linux filesystem events monitoring',
    author='Sebastien Martini',
    author_email='sebastien.martini@gmail.com',
    license='MIT License',
    platforms='Linux',
    classifiers=classif,
    url='http://trac.dbzteam.org/pyinotify',
    download_url='http://seb.dbzteam.org/pub/pyinotify/releases/pyinotify-0.9.0.tar.gz',
    py_modules=['pyinotify'],
    package_dir=package_dir,
    packages=[''],
    )
