Changeset 10344:e12d883dc490 in orange


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.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • MANIFEST.in

    r10338 r10344  
    1 recursive-include Orange * 
     1recursive-include Orange/testing * 
     2recursive-include Orange/doc * 
     3 
     4recursive-include Orange/OrangeWidgets *.png *.gs *.vs *.obj *.html 
     5recursive-include Orange/OrangeCanvas *.png *.pyw *.txt 
     6recursive-include Orange/orng *.cfg *.c 
     7 
    28recursive-include source *.bat *.c *.cpp *.h *.hpp *.mak COPYRIGHT *.py *.txt *.sip *.defs *.cmake 
    3 recursive-include docs *.rst *.py *.png *.css 
     9recursive-include docs *.rst *.py *.png *.css *.txt Makefile 
     10 
    411graft docs/sphinx-ext 
    512graft distribute 
     13 
    614include COPYING 
    715include LICENSES 
  • 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.