summaryrefslogtreecommitdiff
path: root/dev-python/pygraphviz/files/pygraphviz-1.0-setup.py.patch
blob: 13eb0f213ce1de41a5812c574af7d1f340b23b76 (plain)
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
--- setup_egg.py
+++ setup_egg.py
@@ -46,7 +46,6 @@
         download_url     = release.download_url,
         classifiers      = release.classifiers,
         packages         = packages,
-        data_files       = data,
         ext_modules      = extension,
         package_data     = package_data,
         install_requires=['setuptools'],
--- setup.py
+++ setup.py
@@ -98,12 +98,6 @@
 sys.path.pop(0)
 
 packages = ["pygraphviz","pygraphviz.tests"]
-docdirbase  = 'share/doc/pygraphviz-%s' % release.version
-data = [(docdirbase, glob("*.txt")),
-        (os.path.join(docdirbase, 'examples'),glob("examples/*.py")),
-        (os.path.join(docdirbase, 'examples'),glob("examples/*.dat")),
-        (os.path.join(docdirbase, 'examples'),glob("examples/*.dat.gz")),
-        ]
 extension = [Extension("pygraphviz._graphviz",
                       ["pygraphviz/graphviz_wrap.c"],
                       include_dirs=include_dirs,
@@ -130,7 +124,6 @@
         download_url     = release.download_url,
         classifiers      = release.classifiers,
         packages         = packages,
-        data_files       = data,
         ext_modules      = extension,
         package_data     = package_data
       )