forked from zbyte64/wtforms-jsonschema
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·50 lines (47 loc) · 1.4 KB
/
setup.py
File metadata and controls
executable file
·50 lines (47 loc) · 1.4 KB
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
#!/usr/bin/env python
import os
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
VERSION = "0.0.7"
PATH = os.path.dirname(os.path.abspath(__file__))
try:
LONG_DESC = (
"\n===="
+ open(os.path.join(PATH, "README.rst"), "r").read().split("====", 1)[-1]
)
except IOError: # happens when using tox
LONG_DESC = ""
setup(
name="wtforms-jsonschema",
version=VERSION,
description=(
"wtforms-jsonschema converts WTForms into JSON Schema "
"compatibile representations"
),
long_description=LONG_DESC,
classifiers=[
"Programming Language :: Python",
"Environment :: Web Environment",
"Operating System :: OS Independent",
"Natural Language :: English",
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
],
keywords="wtforms json schema",
author="Jason Kraus",
author_email="zbyte64@gmail.com",
maintainer="Jason Kraus",
maintainer_email="zbyte64@gmail.com",
url="http://github.com/zbyte64/wtforms-jsonschema",
license="New BSD License",
packages=find_packages(exclude=["tests"]),
include_package_data=True,
zip_safe=False,
install_requires=[
"wtforms>=3",
],
)