-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·36 lines (31 loc) · 853 Bytes
/
setup.py
File metadata and controls
executable file
·36 lines (31 loc) · 853 Bytes
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
#!/usr/bin/python
# vim: ts=4 sw=4 expandtab
from distutils.core import setup, Extension
import distutils.command.build
import distutils.command.clean
import os
import subprocess
import sys
from javascriptlint import version
class _BuildError(Exception):
pass
def _main():
cmdclass = {
'build': distutils.command.build.build,
'clean': distutils.command.clean.clean,
}
args = {}
args.update(
name = 'javascriptlint',
version = version.version,
author = 'Matthias Miller',
author_email = 'info@javascriptlint.com',
url = 'http://www.javascriptlint.com/',
cmdclass = cmdclass,
description = 'JavaScript Lint %s' % version.version,
packages = ['javascriptlint'],
scripts = ['jsl']
)
setup(**args)
if __name__ == '__main__':
_main()