Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 65 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,66 @@
# vim
[._]*.s[a-w][a-z]
[._]s[a-w][a-z]
*.un~
Session.vim
.netrwhist
*~
*.py[cdo]


# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover

# Translations
*.mo
*.pot

# Django stuff:
*.log

# Sphinx documentation
docs/_build/

# PyBuilder
target/
69 changes: 40 additions & 29 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,39 +1,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'
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 = ''
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,
)
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",
],
)
Loading