Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(430)

Side by Side Diff: tools/telemetry/third_party/pyfakefs/pyfakefs/setup.py

Issue 1310343005: [Telemetry] Add pyfakefs to telemetry/third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add license header to setup.py Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 #! /usr/bin/env python
2 #
3 # Copyright 2009 Google Inc. All Rights Reserved.
4 #
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 # http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16
17 #! /usr/bin/env python
18
19 from fake_filesystem import __version__
20
21 import os
22
23
24 NAME = 'pyfakefs'
25 MODULES = ['fake_filesystem',
26 'fake_filesystem_glob',
27 'fake_filesystem_shutil',
28 'fake_tempfile',
29 'fake_filesystem_unittest']
30 REQUIRES = ['mock']
31 DESCRIPTION = 'Fakes file system modules for automated developer testing.'
32
33 URL = "https://code.google.com/p/pyfakefs"
34
35 readme = os.path.join(os.path.dirname(__file__), 'README.md')
36 LONG_DESCRIPTION = open(readme).read()
37
38 CLASSIFIERS = [
39 'Development Status :: 5 - Production/Stable',
40 'Environment :: Console',
41 'Intended Audience :: Developers',
42 'License :: OSI Approved :: Apache Software License',
43 'Programming Language :: Python',
44 'Programming Language :: Python :: 2.6',
45 'Programming Language :: Python :: 2.7',
46 'Programming Language :: Python :: 3',
47 'Operating System :: POSIX',
48 'Operating System :: MacOS',
49 'Operating System :: Microsoft :: Windows',
50 'Topic :: Software Development :: Libraries',
51 'Topic :: Software Development :: Libraries :: Python Modules',
52 'Topic :: Software Development :: Testing',
53 'Topic :: System :: Filesystems',
54 ]
55
56 AUTHOR = 'Google'
57 AUTHOR_EMAIL = 'google-pyfakefs@google.com'
58 KEYWORDS = ("testing test file os shutil glob mocking unittest "
59 "fakes filesystem unit").split(' ')
60
61 params = dict(
62 name=NAME,
63 version=__version__,
64 py_modules=MODULES,
65 install_requires=REQUIRES,
66
67 # metadata for upload to PyPI
68 author=AUTHOR,
69 author_email=AUTHOR_EMAIL,
70 description=DESCRIPTION,
71 long_description=LONG_DESCRIPTION,
72 keywords=KEYWORDS,
73 url=URL,
74 classifiers=CLASSIFIERS,
75 )
76
77 try:
78 from setuptools import setup
79 except ImportError:
80 from distutils.core import setup
81 else:
82 params['tests_require'] = ['unittest2']
83 params['test_suite'] = 'unittest2.collector'
84
85 setup(**params) # pylint: disable = W0142
OLDNEW
« no previous file with comments | « tools/telemetry/third_party/pyfakefs/pyfakefs/requirements.txt ('k') | tools/telemetry/third_party/pyfakefs/pyfakefs/tox.ini » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698