setup.py: extended data file extensions to include all data files the source depends on (prepare to get rid of resources).

Thu, 24 Sep 2020 19:47:55 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 24 Sep 2020 19:47:55 +0200
changeset 7715
ae49e290890d
parent 7714
79bde78e3e16
child 7716
313e09453306

setup.py: extended data file extensions to include all data files the source depends on (prepare to get rid of resources).

setup.py file | annotate | diff | comparison | revisions
--- a/setup.py	Thu Sep 24 19:13:41 2020 +0200
+++ b/setup.py	Thu Sep 24 19:47:55 2020 +0200
@@ -53,6 +53,7 @@
     @return list of package data files
     @rtype list of str
     """
+    print(extensions)
     filesList = []
     for dirpath, _dirnames, filenames in os.walk(package):
         for fname in filenames:
@@ -324,7 +325,7 @@
             "eric6",
             [".png", ".svg", ".svgz", ".xpm", ".ico", ".gif", ".icns", ".txt",
              ".tmpl", ".html", ".qch", ".css", ".qss", ".e4h", ".e6h", ".api",
-             ".bas" ".dat"]
+             ".bas", ".dat", ".xbel", ".xml", ".js"]
         ) + ["i18n/eric6_de.qm", "i18n/eric6_en.qm", "i18n/eric6_es.qm",
              "i18n/eric6_ru.qm",
              ]

eric ide

mercurial