Line 0
Link Here
|
|
|
1 |
--- setup.py.orig 2015-11-15 23:06:39 UTC |
2 |
+++ setup.py |
3 |
@@ -59,27 +59,6 @@ packages=["networkx", |
4 |
"networkx.testing", |
5 |
"networkx.utils"] |
6 |
|
7 |
-docdirbase = 'share/doc/networkx-%s' % version |
8 |
-# add basic documentation |
9 |
-data = [(docdirbase, glob("*.txt"))] |
10 |
-# add examples |
11 |
-for d in ['advanced', |
12 |
- 'algorithms', |
13 |
- 'basic', |
14 |
- '3d_drawing', |
15 |
- 'drawing', |
16 |
- 'graph', |
17 |
- 'multigraph', |
18 |
- 'pygraphviz', |
19 |
- 'readwrite']: |
20 |
- dd = os.path.join(docdirbase,'examples', d) |
21 |
- pp = os.path.join('examples', d) |
22 |
- data.append((dd, glob(os.path.join(pp ,"*.py")))) |
23 |
- data.append((dd, glob(os.path.join(pp ,"*.bz2")))) |
24 |
- data.append((dd, glob(os.path.join(pp ,"*.gz")))) |
25 |
- data.append((dd, glob(os.path.join(pp ,"*.mbox")))) |
26 |
- data.append((dd, glob(os.path.join(pp ,"*.edgelist")))) |
27 |
- |
28 |
# add the tests |
29 |
package_data = { |
30 |
'networkx': ['tests/*.py'], |
31 |
@@ -131,7 +110,6 @@ if __name__ == "__main__": |
32 |
download_url = release.download_url, |
33 |
classifiers = release.classifiers, |
34 |
packages = packages, |
35 |
- data_files = data, |
36 |
package_data = package_data, |
37 |
install_requires = install_requires, |
38 |
test_suite = 'nose.collector', |