forked from biesnecker/hachiko
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
28 lines (23 loc) · 734 Bytes
/
setup.py
File metadata and controls
28 lines (23 loc) · 734 Bytes
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
import os
import sys
from distutils.core import setup
def read(filename):
return open(os.path.join(os.path.dirname(__file__), filename)).read()
if sys.version_info >= (3, 5):
install_requires = []
else:
install_requires = ['asyncio']
install_requires.append('watchdog')
exec(open('hachiko/version.py').read())
setup(name='hachiko',
version=__version__,
author='John Biesnecker',
author_email='jbiesnecker@gmail.com',
url='https://github.com/biesnecker/hachiko',
packages=['hachiko'],
package_dir={'hachiko': './hachiko'},
install_requires=install_requires,
description='Asyncio wrapper around watchdog.',
license='mit',
long_description=read('README.txt')
)