-
Notifications
You must be signed in to change notification settings - Fork 243
/
setup.py
51 lines (47 loc) · 1.83 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/usr/bin/env python
# -*- coding: utf-8 -*-"
# vim: set expandtab tabstop=4 shiftwidth=4:
"""
This file is part of the XSSer project, https://xsser.03c8.net
Copyright (c) 2010/2021 | psy <[email protected]>
xsser is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation version 3 of the License.
xsser is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details.
You should have received a copy of the GNU General Public License along
with xsser; if not, write to the Free Software Foundation, Inc., 51
Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
"""
from setuptools import setup
import os
data_files = []
image_files = []
doc_files = []
gtk_doc_files = []
for afile in os.listdir('doc'):
if afile != '.svn':
doc_files.append('doc/' + afile)
for afile in os.listdir('gtk/docs'):
if afile != '.svn':
gtk_doc_files.append('gtk/docs/' + afile)
data_files = ['gtk/images/world.png', 'gtk/images/xsser.jpg',
'gtk/images/xssericon_16x16.png',
'gtk/images/xssericon_24x24.png',
'gtk/map/GeoIP.dat']
gtk_files = ['gtk/xsser.ui']
gtk_app_files = ['gtk/xsser.desktop']
setup(
name = "xsser",
version = "1.8.4",
packages = ['core', 'core.fuzzing', 'core.post', 'core.driver'],
data_files = [('/usr/share/doc/xsser/', doc_files),
('/usr/share/xsser/gtk/images/', data_files),
('/usr/share/xsser/gtk/docs/', gtk_doc_files),
('/usr/share/applications/', gtk_app_files),
('/usr/share/xsser/gtk/', gtk_files)],
scripts = ['xsser'],
test_suite = "tests"
)