Changeset 8941:40cb4fa9bf0a in orange


Ignore:
Timestamp:
09/09/11 19:39:44 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
8e6c18a4f1b58f614603807ec79b2d7f353c2c57
Message:

Fixes #942. This is a workaround. setuptools seem to not handle empty package names well (distutils had the same problem in the past but is was fixed).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/setup.py

    r8823 r8941  
    3838    extra_compile_args = [] 
    3939    extra_link_args = [] 
    40      
    41 define_macros=[('NDEBUG', '1'), 
    42                ('HAVE_STRFTIME', None)] 
    4340         
    4441class LibStatic(Extension): 
     
    432429setup(cmdclass={"build_ext": pyxtract_build_ext, "install_lib": my_install_lib}, 
    433430      name ="Orange", 
    434       version = "2.5a1.dev-r", 
     431      version = "2.5a1", 
    435432      description = "Orange data mining library for python.", 
    436433      author = "Bioinformatics Laboratory, FRI UL", 
     
    440437      url = "http://orange.biolab.si", 
    441438      download_url = "http://orange.biolab.si/svn/orange/trunk", 
    442       packages = packages + [".", 
     439      packages = packages + ["", 
    443440                             "OrangeCanvas",  
    444441                             "OrangeWidgets",  
     
    454451                             "doc", 
    455452                             ], 
     453      package_dir = {"": "."}, 
    456454      package_data = {"OrangeCanvas": ["icons/*.png", "orngCanvas.pyw", "WidgetTabs.txt"], 
    457455                      "OrangeWidgets": ["icons/*.png", "icons/backgrounds/*.png", "report/index.html"], 
     
    465463                      "OrangeWidgets.Visualize": ["icons/*.png"], 
    466464                      "doc": ["datasets/*.tab", ], 
    467                       ".": ["orangerc.cfg"]  
     465                      "": ["orangerc.cfg"]  
    468466                      }, 
    469467      ext_modules = [include_ext, orange_ext, orangeom_ext, orangene_ext, corn_ext, statc_ext], 
Note: See TracChangeset for help on using the changeset viewer.