3
# Copyright 2009 Mark Lee <python-jsutils@lazymalevolence.com>
5
# Licensed under the Apache License, Version 2.0 (the "License");
6
# you may not use this file except in compliance with the License.
7
# You may obtain a copy of the License at
9
# http://www.apache.org/licenses/LICENSE-2.0
11
# Unless required by applicable law or agreed to in writing, software
12
# distributed under the License is distributed on an "AS IS" BASIS,
13
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
# See the License for the specific language governing permissions and
15
# limitations under the License.
17
from distutils.core import setup
19
from sphinx.setup_command import BuildDoc
20
cmdclass = {'build_sphinx': BuildDoc}
25
A Python interface to JavaScript-related utilities, which are also
26
written in JavaScript. This includes Douglas Crockford's `JSLint`_ and Dean
29
.. _JSLint: http://www.jslint.com/
30
.. _Packer: http://dean.edwards.name/packer/
32
This depends on `python-spidermonkey`_ (> 0.0.5), found on PyPI.
34
.. _python-spidermonkey: http://pypi.python.org/pypi/python-spidermonkey
37
setup(name='JavaScript Utilities for Python',
40
author_email='python-jsutils@lazymalevolence.com',
41
license='Apache License, Version 2.0',
42
url='https://launchpad.net/python-jsutils',
43
description='A Python interface to JavaScript-related utilities.',
44
long_description=longdesc,
46
'Development Status :: 4 - Beta',
47
'Intended Audience :: Developers',
48
'License :: OSI Approved :: Apache Software License',
49
'Programming Language :: JavaScript',
50
'Programming Language :: Python',
51
'Topic :: Software Development'],
52
packages=['javascript'],
53
scripts=['scripts/jslint', 'scripts/packer'],