Opened 8 years ago

Closed 8 years ago

#556 closed defect (fixed)

4.0 Windows local build is broken

Reported by: smk78 Owned by:
Priority: blocker Milestone: SasView 4.0.0
Component: SasView Keywords:
Cc: Work Package: SasView Bug Fixing

Description

Since the last few days of Code Camp I have been unable to locally build !Sasview using setup.py

I am compiling with disable_openmp build -cmingw32 on W7

Eclipse console returns:

running disable_openmp
running build
running build_py
package init file 'src\sas\sascalc\dataloader\readers\schema\init.py' not found (or not a regular file)
running build_ext
Compiling with mingw32 (64bit=False)

and then terminates.

Putting in a trap show the problem occurs when the build branches into

build_ext.build_extensions(self)

Change History (3)

comment:1 Changed 8 years ago by krzywon

I just ran setup.py without deleting the old build directory and saw the exact behavior you saw. Try cleaning out the existing one and rerun.

This suggests we might want to do this during setup, or have a clean option for this. We didn't before because of the amount of c compiling that was required.

comment:2 Changed 8 years ago by smk78

Nice one Jeff. Your right!

Have committed a change to setup.py to force removal of the build directory before sasview builds.

Am closing this ticket.

comment:3 Changed 8 years ago by smk78

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.