-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
28 lines (26 loc) · 909 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
from setuptools import setup, find_packages, Extension
from setuptools.command.build_ext import build_ext
with open('README.rst', encoding='utf8') as f:
long_description = f.read()
setup(
name='xtimeout',
version='0.3.2',
description='Trace a timeout function call and handle with it',
long_description=long_description,
author='amos402',
author_email='[email protected]',
url='https://github.com/amos402/py-xtimeout',
keywords=['timeout', 'inject', 'timeout handler', 'function timetout'],
license='MIT',
packages=find_packages('.'),
ext_modules=[
Extension('_xtimeout', ['xtimeout/_xtimeout.cpp'])
],
#test_suite='xtimeout.tests',
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: C++',
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python',
]
)