Commits

Aleš Erjavec committed e12d883

Fixes to MANIFEST.in and setup.py to include required files in source distribution and maintaining compatibility with Python2.6.

  • Participants
  • Parent commits 528f672

Comments (0)

Files changed (2)

-recursive-include Orange *
+recursive-include Orange/testing *
+recursive-include Orange/doc *
+
+recursive-include Orange/OrangeWidgets *.png *.gs *.vs *.obj *.html
+recursive-include Orange/OrangeCanvas *.png *.pyw *.txt
+recursive-include Orange/orng *.cfg *.c
+
 recursive-include source *.bat *.c *.cpp *.h *.hpp *.mak COPYRIGHT *.py *.txt *.sip *.defs *.cmake
-recursive-include docs *.rst *.py *.png *.css
+recursive-include docs *.rst *.py *.png *.css *.txt Makefile
+
 graft docs/sphinx-ext
 graft distribute
+
 include COPYING
 include LICENSES
 include setup-site.cfg
                              "Orange.doc",
                              ],
       
+      # Python 2.6 does not include files from package_data into
+      # the manifest so also add all these files in MANIFEST.in
+      # manually 
       package_data = {"Orange": [
           "OrangeCanvas/icons/*.png",
           "OrangeCanvas/orngCanvas.pyw",
           "OrangeWidgets/Regression/icons/*.png",
           "OrangeWidgets/Unsupervised/icons/*.png",
           "OrangeWidgets/Visualize/icons/*.png",
-          "OrangeWidgets/Visualize/icons/*.png",
-          "OrangeWidgets/Visualize/icons/*.png",
+          "OrangeWidgets/Visualize Qt/icons/*.png",
           "OrangeWidgets/plot/*.gs",
           "OrangeWidgets/plot/*.vs",
           "OrangeWidgets/plot/primitives/*.obj",
+          # TODO: Doc datasets and files should be installed using data_files.
           "doc/datasets/*.tab",
-          "orangerc.cfg"]
+          "doc/networks/*.net",
+          "doc/networks/*.tab",
+          "doc/style.css",
+          "doc/widgets/*/*.*",
+          "orng/orangerc.cfg"
+          ]
                       },
+      
       ext_modules = [include_ext, orange_ext, orangeom_ext,
                      orangene_ext, corn_ext, statc_ext],
       scripts = ["bin/orange-canvas"],