forked from chrisjbillington/inotify_simple
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
30 lines (24 loc) · 889 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
#!/usr/bin/env python
# To upload a version to PyPI, run:
# python setup.py sdist upload
# If the package is not registered with PyPI yet, do so with:
# python setup.py register
import os
from distutils.core import setup
__version__ = '1.1.1'
DESCRIPTION = \
"""A simple wrapper around inotify. No fancy bells and whistles, just a
literal wrapper with ctypes. Only 95 lines of code!
"""
# Auto generate a __version__ package for the package to import
with open(os.path.join('inotify_simple', '__version__.py'), 'w') as f:
f.write("__version__ = '%s'\n" % __version__)
setup(name='inotify_simple',
version=__version__,
description=DESCRIPTION,
author='Chris Billington',
author_email='chrisjbillington@gmail.com',
url='https://github.com/chrisjbillington/inotify_simple',
license="BSD",
packages=["inotify_simple"]
)