-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
executable file
·34 lines (31 loc) · 1014 Bytes
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/usr/bin/env python
import re
from setuptools import setup, find_packages, Extension
with open('gevent_inotifyx/__init__.py') as f:
version = re.search(r"^__version__ = '(.*)'", f.read(), re.M).group(1)
with open('README.rst') as f:
README = f.read()
setup(
name='gevent_inotifyx',
version=version,
author='Stanis Trendelenburg',
author_email='[email protected]',
url='https://github.com/trendels/gevent_inotifyx',
license='MIT',
packages=find_packages(),
ext_modules=[
Extension(
'gevent_inotifyx.vendor.inotifyx.binding',
sources=['gevent_inotifyx/vendor/inotifyx/binding.c'],
)
],
install_requires=['gevent'],
description='gevent compatibility for inotifyx',
long_description=README,
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
],
)