diff options
author | Sebastien Martini <seb@dbzteam.org> | 2009-12-26 15:48:44 +0100 |
---|---|---|
committer | Sebastien Martini <seb@dbzteam.org> | 2009-12-26 15:48:44 +0100 |
commit | 68596454008d6bf26f960bdc930ff5044214058a (patch) | |
tree | 3595b54ceb63005a9e341af842513b248a42b1af /python3 | |
parent | ff3cbf1b405fcf3d8559c82821b1dc4ca1225c1d (diff) | |
download | pyinotify-68596454008d6bf26f960bdc930ff5044214058a.tar.gz |
Unified setup.py install for python2 and python3.
Diffstat (limited to 'python3')
-rwxr-xr-x | python3/setup.py | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/python3/setup.py b/python3/setup.py deleted file mode 100755 index 6566583..0000000 --- a/python3/setup.py +++ /dev/null @@ -1,47 +0,0 @@ -#!/usr/bin/env python - -# check Python's version -import sys -if sys.version < '3.0': - sys.stderr.write('This module requires Python 3.0 or later.\n') - sys.exit(1) - -# import statements -from distutils.core import setup, Extension -from distutils.util import get_platform - -# debug -DISTUTILS_DEBUG = True - -# get platform -platform = get_platform() - -# check linux platform -if not platform.startswith('linux'): - raise Exception, "inotify is not available under %s" % platform - -classif=[ - 'Environment :: Console', - 'Intended Audience :: Developers', - 'License :: OSI Approved :: GNU General Public License (GPL)', - 'Natural Language :: English', - 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Topic :: Software Development :: Libraries', - 'Topic :: System :: Monitoring', - ] - -setup( - name='pyinotify', - version='0.8.8', - description='Linux filesystem events monitoring', - author='Sebastien Martini', - author_email='sebastien.martini@gmail.com', - license='GPLv2+', - platforms='Linux', - classifiers=classif, - url='http://trac.dbzteam.org/pyinotify', - download_url='http://seb.dbzteam.org/pub/pyinotify/releases/pyinotify-0.8.8.tar.gz', - py_modules=['pyinotify'], - ) |