aboutsummaryrefslogtreecommitdiff
path: root/www/linkchecker/files/patch-setup.py
blob: 4e662e3bc76f1574227392b18d4e29e899f160d0 (plain) (blame)
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
--- setup.py.orig
+++ setup.py
@@ -326,15 +326,6 @@
 class MyInstallLib (install_lib, object):
     """Custom library installation."""
 
-    def install (self):
-        """Install the generated config file."""
-        outs = super(MyInstallLib, self).install()
-        infile = self.create_conf_file()
-        outfile = os.path.join(self.install_dir, os.path.basename(infile))
-        self.copy_file(infile, outfile)
-        outs.append(outfile)
-        return outs
-
     def create_conf_file (self):
         """Create configuration file."""
         cmd_obj = self.distribution.get_command_obj("install")
@@ -385,7 +376,6 @@
 
     def run (self):
         """Adjust permissions on POSIX systems."""
-        self.add_message_files()
         super(MyInstallData, self).run()
         self.fix_permissions()
 
@@ -583,7 +573,6 @@
     def run (self):
         """Check MANIFEST and build message files before building."""
         check_manifest()
-        self.build_message_files()
         build.run(self)
 
 
@@ -627,8 +616,6 @@
 if os.name == 'nt':
     # windows does not have unistd.h
     define_macros.append(('YY_NO_UNISTD_H', None))
-else:
-    extra_compile_args.append("-pedantic")
 
 myname = "Bastian Kleineidam"
 myemail = "bastian.kleineidam@web.de"
@@ -898,9 +885,6 @@
         'py2app': MyPy2app,
         'register': MyRegister,
     },
-    package_dir = {
-        'linkcheck_dns.dns': 'third_party/dnspython/dns',
-    },
     packages = [
         'linkcheck',
         'linkcheck.bookmarks',
@@ -913,10 +897,6 @@
         'linkcheck.HtmlParser',
         'linkcheck.logger',
         'linkcheck.network',
-        'linkcheck_dns.dns',
-        'linkcheck_dns.dns.rdtypes',
-        'linkcheck_dns.dns.rdtypes.ANY',
-        'linkcheck_dns.dns.rdtypes.IN',
     ],
     ext_modules = [
         Extension('linkcheck.HtmlParser.htmlsax',
@@ -941,7 +921,6 @@
         ),
     ],
     scripts = scripts,
-    data_files = data_files,
     classifiers = [
         'Topic :: Internet :: WWW/HTTP :: Site Management :: Link Checking',
         'Development Status :: 5 - Production/Stable',