403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/math/py-networkx/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/math/py-networkx/files/patch-setup.py
--- setup.py.orig	2021-02-15 16:30:03 UTC
+++ setup.py
@@ -64,36 +64,6 @@ packages = [
     "networkx.utils",
 ]
 
-docdirbase = "share/doc/networkx-%s" % version
-# add basic documentation
-data = [(docdirbase, glob("*.txt"))]
-# add examples
-for d in [
-    ".",
-    "advanced",
-    "algorithms",
-    "basic",
-    "3d_drawing",
-    "drawing",
-    "graph",
-    "javascript",
-    "jit",
-    "pygraphviz",
-    "subclass",
-]:
-    dd = os.path.join(docdirbase, "examples", d)
-    pp = os.path.join("examples", d)
-    data.append((dd, glob(os.path.join(pp, "*.txt"))))
-    data.append((dd, glob(os.path.join(pp, "*.py"))))
-    data.append((dd, glob(os.path.join(pp, "*.bz2"))))
-    data.append((dd, glob(os.path.join(pp, "*.gz"))))
-    data.append((dd, glob(os.path.join(pp, "*.mbox"))))
-    data.append((dd, glob(os.path.join(pp, "*.edgelist"))))
-# add js force examples
-dd = os.path.join(docdirbase, "examples", "javascript/force")
-pp = os.path.join("examples", "javascript/force")
-data.append((dd, glob(os.path.join(pp, "*"))))
-
 # add the tests
 package_data = {
     "networkx": ["tests/*.py"],
@@ -169,7 +139,6 @@ if __name__ == "__main__":
         project_urls=release.project_urls,
         classifiers=release.classifiers,
         packages=packages,
-        data_files=data,
         package_data=package_data,
         install_requires=install_requires,
         extras_require=extras_require,

Youez - 2016 - github.com/yon3zu
LinuXploit