forked from snudler6/time-travel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
49 lines (41 loc) · 1.6 KB
/
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
from setuptools import setup
import select
version = '1.1.0'
patchers = [
'datetime_patcher = src.time_travel.patchers.datetime_patcher:DatetimePatcher',
'select_patcher = src.time_travel.patchers.select_patcher:SelectPatcher',
'time_patcher = src.time_travel.patchers.time_patcher:TimePatcher',
]
if hasattr(select, 'poll'):
patchers.append('poll_patcher = src.time_travel.patchers.poll_patcher:PollPatcher')
setup(
name='time_travel',
version=version,
description='Python time mocking',
long_description=open('README.rst').read(),
license='MIT',
author='Shachar Nudler',
author_email='[email protected]',
url='https://github.com/snudler6/time-travel',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Testing',
],
packages=('time_travel',),
package_dir={'': 'src'},
entry_points={
'time_travel.patchers': patchers,
}
)