Changeset 10344:e12d883dc490 in orange for setup.py


Ignore:
Timestamp:
02/23/12 17:27:48 (2 years ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
rebase_source:
a2ef65a5b123ddd023bef245e30a9132922e5f03
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r10333 r10344  
    566566                             ], 
    567567       
     568      # Python 2.6 does not include files from package_data into 
     569      # the manifest so also add all these files in MANIFEST.in 
     570      # manually  
    568571      package_data = {"Orange": [ 
    569572          "OrangeCanvas/icons/*.png", 
     
    581584          "OrangeWidgets/Unsupervised/icons/*.png", 
    582585          "OrangeWidgets/Visualize/icons/*.png", 
    583           "OrangeWidgets/Visualize/icons/*.png", 
    584           "OrangeWidgets/Visualize/icons/*.png", 
     586          "OrangeWidgets/Visualize Qt/icons/*.png", 
    585587          "OrangeWidgets/plot/*.gs", 
    586588          "OrangeWidgets/plot/*.vs", 
    587589          "OrangeWidgets/plot/primitives/*.obj", 
     590          # TODO: Doc datasets and files should be installed using data_files. 
    588591          "doc/datasets/*.tab", 
    589           "orangerc.cfg"] 
     592          "doc/networks/*.net", 
     593          "doc/networks/*.tab", 
     594          "doc/style.css", 
     595          "doc/widgets/*/*.*", 
     596          "orng/orangerc.cfg" 
     597          ] 
    590598                      }, 
     599       
    591600      ext_modules = [include_ext, orange_ext, orangeom_ext, 
    592601                     orangene_ext, corn_ext, statc_ext], 
Note: See TracChangeset for help on using the changeset viewer.