-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathsetup.py
34 lines (31 loc) · 1.81 KB
/
setup.py
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
#!/usr/bin/env python
import glob
import os
import sys
from distutils.core import setup
setup(name='dnsvizwww',
version='0.2.0pre',
author='Casey Deccio',
author_email='[email protected]',
url='https://github.com/dnsviz/dnsvizwww/',
description='DNS analysis and visualization tool suite - Web and database components',
long_description=open('README', 'r').read(),
license='LICENSE',
packages=['dnsvizwww'],
scripts=['bin/dnsget-db', 'bin/dnsviz-db', 'bin/dnsgrok-db'],
data_files=[
('share/doc/dnsvizwww', ['README', 'LICENSE']),
('share/dnsvizwww/static/css', glob.glob(os.path.join('dnsvizwww', 'static', 'css', '*.css'))),
('share/dnsvizwww/static/css/redmond', ['dnsvizwww/static/css/redmond/jquery-ui-1.10.4.custom.min.css']),
('share/dnsvizwww/static/css/redmond/images', glob.glob(os.path.join('dnsvizwww', 'static', 'css', 'redmond', 'images', '*.png')) + glob.glob(os.path.join('dnsvizwww', 'static', 'css', 'redmond', 'images', '*.gif'))),
('share/dnsvizwww/static/images', glob.glob(os.path.join('dnsvizwww', 'static', 'images', '*.png')) + glob.glob(os.path.join('dnsvizwww', 'static', 'images', '*.gif'))),
('share/dnsvizwww/static/images', ['dnsvizwww/static/images/favicon.ico']),
('share/dnsvizwww/static/images/dnssec_legend', glob.glob(os.path.join('dnsvizwww', 'static', 'images', 'dnssec_legend', '*.png'))),
('share/dnsvizwww/static/js', glob.glob(os.path.join('dnsvizwww', 'static', 'js', '*.js'))),
('share/dnsvizwww/templates', glob.glob(os.path.join('dnsvizwww', 'templates', '*.html'))),
],
requires=[
'dnsviz (==0.2.0)',
'django (==1.7.0)',
],
)