2015-03-15 16:45:34 +01:00
|
|
|
import os
|
2015-03-04 21:57:31 +01:00
|
|
|
import sys
|
2011-12-30 20:03:11 +01:00
|
|
|
|
2015-03-15 16:45:34 +01:00
|
|
|
from setuptools import setup
|
|
|
|
|
2011-12-30 20:03:11 +01:00
|
|
|
|
2015-03-15 16:45:34 +01:00
|
|
|
with open(os.path.join(os.path.dirname(__file__), "README.rst")) as readme:
|
2012-01-16 21:10:50 +01:00
|
|
|
long_description = readme.read()
|
|
|
|
|
|
|
|
classifiers = [
|
2013-02-24 19:31:06 +01:00
|
|
|
"Development Status :: 5 - Production/Stable",
|
2012-01-16 21:10:50 +01:00
|
|
|
"Intended Audience :: Developers",
|
|
|
|
"License :: OSI Approved :: MIT License",
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
"Programming Language :: Python",
|
|
|
|
"Programming Language :: Python :: 2",
|
|
|
|
"Programming Language :: Python :: 2.6",
|
|
|
|
"Programming Language :: Python :: 2.7",
|
2012-04-30 03:47:58 +02:00
|
|
|
"Programming Language :: Python :: 3",
|
2014-05-04 23:49:35 +02:00
|
|
|
"Programming Language :: Python :: 3.4",
|
2012-01-16 21:10:50 +01:00
|
|
|
"Programming Language :: Python :: Implementation :: CPython",
|
|
|
|
"Programming Language :: Python :: Implementation :: PyPy",
|
|
|
|
]
|
|
|
|
|
2015-03-04 21:57:31 +01:00
|
|
|
|
2015-06-08 11:04:36 +02:00
|
|
|
extras_require = {"format" : ["rfc3987", "strict-rfc3339", "webcolors"],
|
|
|
|
":python_version=='2.6'": ["argparse", "repoze.lru"],
|
|
|
|
":python_version=='2.7'": ["functools32"]}
|
2015-03-04 21:57:31 +01:00
|
|
|
|
2011-12-30 20:03:11 +01:00
|
|
|
setup(
|
|
|
|
name="jsonschema",
|
2013-05-21 03:14:54 +02:00
|
|
|
packages=["jsonschema", "jsonschema.tests"],
|
2013-12-08 20:36:41 +01:00
|
|
|
package_data={"jsonschema": ["schemas/*.json"]},
|
2015-03-15 16:45:34 +01:00
|
|
|
setup_requires=["vcversioner"],
|
|
|
|
extras_require=extras_require,
|
2012-01-02 03:42:40 +01:00
|
|
|
author="Julian Berman",
|
|
|
|
author_email="Julian@GrayVines.com",
|
2012-01-16 21:10:50 +01:00
|
|
|
classifiers=classifiers,
|
2012-11-30 16:42:24 +01:00
|
|
|
description="An implementation of JSON Schema validation for Python",
|
2013-02-17 20:40:49 +01:00
|
|
|
license="MIT",
|
2012-01-16 21:10:50 +01:00
|
|
|
long_description=long_description,
|
2012-01-02 03:42:40 +01:00
|
|
|
url="http://github.com/Julian/jsonschema",
|
2014-05-09 01:20:56 +02:00
|
|
|
entry_points={"console_scripts": ["jsonschema = jsonschema.cli:main"]},
|
2015-03-15 16:45:34 +01:00
|
|
|
vcversioner={"version_module_paths" : ["jsonschema/_version.py"]},
|
2011-12-30 20:03:11 +01:00
|
|
|
)
|