Changeset 8823:c8a722c36b7b in orange


Ignore:
Timestamp:
08/29/11 11:09:13 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
76b690770467e3e748061d43911600cb20271483
Message:

Added setupegg.py script (can build .egg files as well as .mpkg installers on Mac OSX (using bdist_mpkg package).

Location:
orange
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • orange/setup.py

    r8735 r8823  
    1 from distutils.core import setup, Extension 
     1import distutils.core 
     2from distutils.core import setup 
     3from distutils.core import Extension 
    24from distutils.command.build_ext import build_ext 
    35from distutils.command.install_lib import install_lib 
     
    418420packages = [os.path.dirname(pkg).replace(os.path.sep, '.') for pkg in matches] 
    419421 
     422have_setuptools = getattr(distutils.core, "have_setuptools", False) 
     423 
     424if have_setuptools: 
     425    setuptools_args = {"zip_safe": False, 
     426                       "install_requires": ["numpy"], 
     427                       "extra_requires": ["networkx", "PyQt4", "PyQwt"] 
     428                       } 
     429else: 
     430    setuptools_args = {} 
     431 
    420432setup(cmdclass={"build_ext": pyxtract_build_ext, "install_lib": my_install_lib}, 
    421433      name ="Orange", 
    422       version = "2.0.0b", 
     434      version = "2.5a1.dev-r", 
    423435      description = "Orange data mining library for python.", 
    424436      author = "Bioinformatics Laboratory, FRI UL", 
     
    484496library and Orange modules. Through visual programming, widgets can be assembled 
    485497together into an application by a visual programming tool called Orange Canvas. 
    486 """ 
    487       ) 
     498""", 
     499      **setuptools_args) 
    488500       
    489501 
Note: See TracChangeset for help on using the changeset viewer.