-
Notifications
You must be signed in to change notification settings - Fork 18
/
setup.py
executable file
·61 lines (56 loc) · 2.13 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
52
53
54
55
56
57
58
59
60
61
#!/usr/bin/env python
#
# Copyright (C) 2010, 2011 Linaro Limited
# Copyright (C) 2014, Canonical Ltd.
#
# Author: Zygmunt Krynicki <[email protected]>
#
# This file is part of json-schema-validator.
#
# json-schema-validator is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# as published by the Free Software Foundation
#
# json-schema-validator is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with json-schema-validator. If not, see <http://www.gnu.org/licenses/>.
import sys
from setuptools import setup, find_packages
test_dependencies = [
'testscenarios >= 0.1',
'testtools >= 0.9.2'
]
if sys.version_info[0] == 2:
test_dependencies.append('PyYaml')
setup(
name='json-schema-validator',
version=":versiontools:json_schema_validator:__version__",
author="Zygmunt Krynicki",
author_email="[email protected]",
description="JSON Schema Validator",
packages=find_packages(),
url='https://github.com/zyga/json-schema-validator',
test_suite='json_schema_validator.tests.test_suite',
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
("License :: OSI Approved :: GNU Library or Lesser General Public"
" License (LGPL)"),
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.6",
"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 :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
],
setup_requires=[
'versiontools >= 1.3.1'],
tests_require=test_dependencies,
zip_safe=True)