-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
53 lines (43 loc) · 1.57 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
#!/usr/bin/env python
#:coding=utf-8:
#:tabSize=2:indentSize=2:noTabs=true:
#:folding=explicit:collapseFolds=1:
import sys
from setuptools import setup, find_packages
if sys.version < '2.3':
sys.exit('Error: Python-2.3 or newer is required. Current version:\n %s' % sys.version)
VERSION = '0.2.3'
DESCRIPTION = "json-schema validator for Python"
LONG_DESCRIPTION = """
jsonschema is a complete, full featured validator for json-schema
adhering to the json-schema proposal second draft.
<http://groups.google.com/group/json-schema/web/json-schema-proposal---second-draft>.
jsonschema is written in pure python and currently has no dependencies.
Validators may be subclassed much like simplejson encoders to provide
special functionality or extensions.
jsonschema currently supports ascii and utf-8 json and schema documents.
"""
CLASSIFIERS = map(str.strip,
"""
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Topic :: Software Development :: Libraries :: Python Modules
Programming Language :: Python
Programming Language :: Python :: 2.6
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3.5
""".splitlines())
setup(name='jsonschema-edgeware',
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
author='Ian Lewis',
author_email='[email protected]',
url='http://hg.monologista.jp/json-schema',
license="MIT License",
platforms=["any"],
install_requires=['six'],
packages=find_packages(),
test_suite="jsonschema.tests",
zip_safe=True
)