-
Notifications
You must be signed in to change notification settings - Fork 8
/
setup.py
26 lines (22 loc) · 801 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
# rwatch - read watches
from setuptools import setup, find_packages, Extension
from os.path import join, dirname
from sys import version_info, exit
if version_info.major < 3 or version_info.minor < 5:
exit("Sorry, Python 3.5 or above only")
rwatch = Extension('rwatch',
sources=['src/rwatch.c',
'src/hook.c',
'src/ceval.c',],
include_dirs=['src'], )
setup(
name='dutc-rwatch',
version='0.1.0',
description='Read Watches',
long_description=''.join(open(join(dirname(__file__),'README.md'))),
author='James Powell',
author_email='james@dontusethiscode.com',
url='https://github.com/dutc/rwatch',
packages=find_packages(exclude=['*demos*']),
ext_modules=[rwatch],
)