forked from mockfs/mockfs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·51 lines (42 loc) · 1.28 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
50
51
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright (C) 2008 John Paulett (john -at- 7oars.com)
# All rights reserved.
#
# This software is licensed as described in the file COPYING, which
# you should have received as part of this distribution.
import sys
import mockfs as _mockfs
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
SETUP_ARGS = dict(
name='jsonpickle',
version=_mockfs.__version__,
description='Mock filesystem implementation for unit tests',
long_description = _mockfs.__doc__,
author='David Aguilar',
author_email='[email protected]',
url='http://github.com/davvid/mockfs',
license='BSD',
platforms=['POSIX', 'Windows'],
keywords=['unittest', 'mockfs', 'filesystem'],
classifiers=[
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Python Modules',
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Programming Language :: Python'
],
options={'clean': {'all': 1}},
packages=['mockfs'],
)
def main():
setup(**SETUP_ARGS)
return 0
if __name__ == '__main__':
sys.exit(main())