Changeset c8843be in sasview
- Timestamp:
- Mar 24, 2016 1:20:08 PM (9 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 8e7044c
- Parents:
- e81f6dd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
setup.py
r9274711 rc8843be 5 5 import sys 6 6 import os 7 import shutil 7 8 from setuptools import setup, Extension 8 9 from distutils.command.build_ext import build_ext 9 10 from distutils.core import Command 11 from shutil import rmtree 10 12 11 13 try: … … 42 44 # 'sum_Ap1_1_Ap2.pyc', 'sum_p1_p2.pyc', 43 45 # 'testmodel_2.pyc', 'testmodel.pyc', 'plugins.log'] 46 47 CURRENT_SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) 48 SASVIEW_BUILD = os.path.join(CURRENT_SCRIPT_DIR, "build") 49 44 50 sas_dir = os.path.join(os.path.expanduser("~"),'.sasview') 45 51 if os.path.isdir(sas_dir): … … 59 65 # file_path = os.path.join(f_path, f) 60 66 # os.remove(file_path) 67 if os.path.exists(SASVIEW_BUILD): 68 print "Removing existing build directory", SASVIEW_BUILD, "for a clean build" 69 shutil.rmtree(SASVIEW_BUILD) 61 70 62 71 # 'sys.maxsize' and 64bit: Not supported for python2.5
Note: See TracChangeset
for help on using the changeset viewer.