from traits.etsconfig.api import ETSConfig ETSConfig.toolkit = "qt4" #============= standard library imports ======================== import os #============= local library imports ========================== version_id = '_view' from helpers import build_version ''' set_path=True inserts the pychron source directory into the PYTHONPATH necessary if you are launching from commandline or eclipse(?). Use false (default) if your are launching from a standalone bundle. ''' DEBUG = False build_version(version_id, debug=DEBUG) def main(): ''' entry point ''' from pychron.envisage.pychron_run import launch from pychron.core.helpers.logger_setup import logging_setup from pychron.paths import build_directories, paths # import application # from pychron.applications.pyexperiment import PyExperiment as app from pychron.applications.pyview import PyView as app # build directories
# distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. #=============================================================================== #============= enthought library imports ======================= from traits.etsconfig.api import ETSConfig ETSConfig.toolkit = "qt4" #============= standard library imports ======================== #============= local library imports ========================== setup_version_id = '_dev' from helpers import build_version build_version('', setup_version_id, debug=True) def main(): """ entry point """ from pychron.envisage.pychron_run import launch from pychron.core.helpers.logger_setup import logging_setup from pychron.paths import build_directories, paths # import application from pychron.applications.pyexperiment import PyExperiment as app # from pychron.applications.pyvalve import PyValve as app # build directories
from traits.etsconfig.api import ETSConfig ETSConfig.toolkit = "qt4" #============= standard library imports ======================== import os #============= local library imports ========================== setup_version_id = '_diode' from helpers import build_version ''' set_path=True inserts the pychron source directory into the PYTHONPATH necessary if you are launching from commandline or eclipse(?). Use false (default) if your are launching from a standalone bundle. ''' DEBUG = True build_version('', setup_version_id, debug=DEBUG) def main(): ''' entry point ''' from pychron.envisage.pychron_run import launch from pychron.core.helpers.logger_setup import logging_setup from pychron.paths import build_directories, paths # import application # from pychron.applications.pyexperiment import PyExperiment as app from pychron.applications.pydiode import PyDiode as app
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # =============================================================================== # ============= enthought library imports ======================= from traits.etsconfig.api import ETSConfig ETSConfig.toolkit = "qt4" # ============= standard library imports ======================== # ============= local library imports ========================== version_id = '_experiment-2.0.0' from helpers import build_version build_version(version_id, debug=True) # PYC = os.path.join(merc, 'pychron_source.zip') # sys.path.insert(0, PYC) def main(): ''' entry point ''' # from pychron.envisage.pychron_run import launch from pychron.core.helpers.logger_setup import logging_setup from pychron.paths import build_directories, paths # build directories build_directories(paths)
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # =============================================================================== from traits.etsconfig.etsconfig import ETSConfig ETSConfig.toolkit = 'qt4' if __name__ == '__main__': import os from helpers import build_version build_version(setup_ver='_uv', debug=True) from pychron.core.helpers.logger_setup import logging_setup from pychron.managers.remote_hardware_server_manager import RemoteHardwareServerManager # from pychron.managers.manager import ManagerHandler # class AppHandler(ManagerHandler): # def closed(self, info, isok): # info.object.kill() # info.object.close_displays() # return True logging_setup('server') s = RemoteHardwareServerManager() # handler_klass=AppHandler) s.load() s.configure_traits()
#=============================================================================== #============= enthought library imports ======================= from traits.etsconfig.api import ETSConfig ETSConfig.toolkit = "qt4" # import gc # print gc.get_threshold() # gc.set_debug(gc.DEBUG_LEAK| gc.DEBUG_STATS) #============= standard library imports ======================== #============= local library imports ========================== source_version_id = '' setup_version_id = '_dev' from helpers import build_version build_version(source_version_id, setup_version_id, debug=True) def setup(): """ entry point """ from pychron.core.helpers.logger_setup import logging_setup from pychron.paths import build_directories, paths # import application # from pychron.applications.pydiode import PyDiode as app from pychron.applications.pyexperiment import PyExperiment as app # build directories
from traits.etsconfig.api import ETSConfig ETSConfig.toolkit = "qt4" #============= standard library imports ======================== import os #============= local library imports ========================== version_id = '_view' from helpers import build_version ''' set_path=True inserts the pychron source directory into the PYTHONPATH necessary if you are launching from commandline or eclipse(?). Use false (default) if your are launching from a standalone bundle. ''' DEBUG = False build_version(version_id, debug=DEBUG) def main(): ''' entry point ''' from pychron.envisage.pychron_run import launch from pychron.core.helpers.logger_setup import logging_setup from pychron.paths import build_directories, paths # import application # from pychron.applications.pyexperiment import PyExperiment as app from pychron.applications.pyview import PyView as app
# distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. #=============================================================================== #============= enthought library imports ======================= from traits.etsconfig.api import ETSConfig ETSConfig.toolkit = "qt4" #============= standard library imports ======================== import os #============= local library imports ========================== from helpers import build_version build_version(setup_ver='_diode') def main(): """ entry point """ from pychron.envisage.pychron_run import launch from pychron.core.helpers.logger_setup import logging_setup from pychron.paths import build_directories, paths # import application # from pychron.applications.pyexperiment import PyExperiment as app from pychron.applications.pydiode import PyDiode as app # build directories
# # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. #=============================================================================== from traits.etsconfig.etsconfig import ETSConfig ETSConfig.toolkit = 'qt4' if __name__ == '__main__': import os from helpers import build_version build_version('_dev', debug=True) from pychron.core.helpers.logger_setup import logging_setup from pychron.managers.remote_hardware_server_manager import RemoteHardwareServerManager # from pychron.managers.manager import ManagerHandler # class AppHandler(ManagerHandler): # def closed(self, info, isok): # info.object.kill() # info.object.close_displays() # return True logging_setup('server') s = RemoteHardwareServerManager() # handler_klass=AppHandler) s.load() s.configure_traits()
# # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. #=============================================================================== if __name__ == '__main__': import os from helpers import build_version build_version('_uv', set_path=True) from src.helpers.logger_setup import logging_setup from src.managers.remote_hardware_server_manager import RemoteHardwareServerManager # from src.managers.manager import ManagerHandler # class AppHandler(ManagerHandler): # def closed(self, info, isok): # info.object.kill() # info.object.close_displays() # return True logging_setup('server') s = RemoteHardwareServerManager() # handler_klass=AppHandler) s.load() s.configure_traits()
# distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # =============================================================================== from traits.etsconfig.etsconfig import ETSConfig ETSConfig.toolkit = 'qt4' if __name__ == '__main__': import os from helpers import build_version build_version(setup_ver='_uv', debug=True) from pychron.core.helpers.logger_setup import logging_setup from pychron.managers.remote_hardware_server_manager import RemoteHardwareServerManager # from pychron.managers.manager import ManagerHandler # class AppHandler(ManagerHandler): # def closed(self, info, isok): # info.object.kill() # info.object.close_displays() # return True logging_setup('server') s = RemoteHardwareServerManager() # handler_klass=AppHandler) s.load() s.configure_traits()
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. #=============================================================================== from traits.etsconfig.etsconfig import ETSConfig ETSConfig.toolkit = 'qt4' if __name__ == '__main__': import os from helpers import build_version build_version(setup_ver='_dev') from pychron.core.helpers.logger_setup import logging_setup from pychron.managers.remote_hardware_server_manager import RemoteHardwareServerManager logging_setup('server') s = RemoteHardwareServerManager() # handler_klass=AppHandler) s.load() s.configure_traits() os._exit(0) # launch() # ============= EOF ==================================== # # def read_configuration():
#=============================================================================== # Copyright 2011 Jake Ross # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. #=============================================================================== from traits.etsconfig.api import ETSConfig ETSConfig.toolkit = "qt4" if __name__ == '__main__': from helpers import build_version build_version('_bakeout', set_path=False) from src.envisage.bakedpy_run import launch from src.helpers.logger_setup import logging_setup logging_setup('bakeout', level='DEBUG') launch() # ============= EOF ====================================
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. #=============================================================================== version_id = '_test' from helpers import build_version build_version(version_id) #============= enthought library imports ======================= from traits.api import Int, Bool, Event, Property from traitsui.api import View, Item, ButtonEditor #============= standard library imports ======================== import SocketServer import shlex import socket from threading import Thread #============= local library imports ========================== cnt = 0 gErrorSet = False from pychron.loggable import Loggable
# distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. #=============================================================================== #============= enthought library imports ======================= from traits.etsconfig.api import ETSConfig ETSConfig.toolkit = "qt4" #============= standard library imports ======================== #============= local library imports ========================== setup_version_id = '_dev' from helpers import build_version build_version('', setup_version_id, debug=True) def main(): """ entry point """ from pychron.envisage.pychron_run import launch from pychron.core.helpers.logger_setup import logging_setup from pychron.paths import build_directories, paths # import application from pychron.applications.pyexperiment import PyExperiment as app # from pychron.applications.pyvalve import PyValve as app
from traits.etsconfig.api import ETSConfig ETSConfig.toolkit = "qt4" #============= standard library imports ======================== import os #============= local library imports ========================== version_id = '' from helpers import build_version ''' set_path=True inserts the pychron source directory into the PYTHONPATH necessary if you are launching from commandline or eclipse(?). Use false (default) if your are launching from a standalone bundle. ''' DEBUG = True build_version(version_id, setup_ver='_view',debug=DEBUG) def main(): ''' entry point ''' from pychron.envisage.pychron_run import launch from pychron.core.helpers.logger_setup import logging_setup from pychron.paths import build_directories, paths # import application # from pychron.applications.pyexperiment import PyExperiment as app from pychron.applications.pydiode import PyDiode as app # build directories
# http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # =============================================================================== if __name__ == "__main__": import os from helpers import build_version build_version("_experiment") from pychron.core.helpers.logger_setup import logging_setup from pychron.managers.remote_hardware_server_manager import RemoteHardwareServerManager # from pychron.managers.manager import ManagerHandler # class AppHandler(ManagerHandler): # def closed(self, info, isok): # info.object.kill() # info.object.close_displays() # return True logging_setup("server") s = RemoteHardwareServerManager() # handler_klass=AppHandler) s.load() s.configure_traits()
# # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. #=============================================================================== #============= enthought library imports ======================= from traits.etsconfig.api import ETSConfig ETSConfig.toolkit = "qt4" #============= standard library imports ======================== #============= local library imports ========================== from helpers import build_version build_version() def main(): """ entry point """ from pychron.envisage.pychron_run import launch from pychron.core.helpers.logger_setup import logging_setup from pychron.paths import build_directories, paths # build directories build_directories(paths) # from pychron.core.helpers.paths import hidden_dir # path = os.path.join(hidden_dir, 'version_info')
# =============================================================================== # ============= enthought library imports ======================= import argparse import getpass # ============= standard library imports ======================== # ============= local library imports ========================== version_id = '_experiment' from helpers import build_version ''' set_path=True inserts the pychron source directory into the PYTHONPATH necessary if you are launching from commandline or eclipse(?). Use false (default) if your are launching from a standalone bundle. ''' build_version(version_id, set_path=True) from pychron.envisage.credentials import Credentials if __name__ == '__main__': parser = argparse.ArgumentParser(description='Generate a password') parser.add_argument('-p', '--password', action='store' ) args = parser.parse_args() pwd = args.password cancel = False if not pwd: pwd1 = '' pwd2 = None
from traits.etsconfig.api import ETSConfig ETSConfig.toolkit = "qt4" #============= standard library imports ======================== import os #============= local library imports ========================== setup_version_id = '_diode' from helpers import build_version ''' set_path=True inserts the pychron source directory into the PYTHONPATH necessary if you are launching from commandline or eclipse(?). Use false (default) if your are launching from a standalone bundle. ''' DEBUG = True build_version('', setup_version_id, debug=DEBUG) def main(): ''' entry point ''' from pychron.envisage.pychron_run import launch from pychron.core.helpers.logger_setup import logging_setup from pychron.paths import build_directories, paths # import application # from pychron.applications.pyexperiment import PyExperiment as app from pychron.applications.pydiode import PyDiode as app # build directories
# Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. #=============================================================================== if __name__ == '__main__': from helpers import build_version build_version('_bakeout', set_path=True) from src.envisage.bakedpy_run import launch from src.helpers.logger_setup import logging_setup logging_setup('bakeout', level='DEBUG') launch() # ============= EOF ==================================== # #!/usr/bin/python ##=============================================================================== # # Copyright 2011 Jake Ross # # # # Licensed under the Apache License, Version 2.0 (the "License"); # # you may not use this file except in compliance with the License. # # You may obtain a copy of the License at
# # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. #=============================================================================== if __name__ == '__main__': import os from helpers import build_version build_version('_experiment') from pychron.core.helpers.logger_setup import logging_setup from pychron.managers.remote_hardware_server_manager import RemoteHardwareServerManager # from pychron.managers.manager import ManagerHandler # class AppHandler(ManagerHandler): # def closed(self, info, isok): # info.object.kill() # info.object.close_displays() # return True logging_setup('server') s = RemoteHardwareServerManager() # handler_klass=AppHandler) s.load() s.configure_traits()
# Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. #=============================================================================== #============= enthought library imports ======================= from traits.etsconfig.api import ETSConfig ETSConfig.toolkit = "qt4" #============= standard library imports ======================== #============= local library imports ========================== from helpers import build_version build_version() def main(): """ entry point """ from pychron.envisage.pychron_run import launch from pychron.core.helpers.logger_setup import logging_setup from pychron.paths import build_directories, paths # build directories build_directories(paths) # from pychron.core.helpers.paths import hidden_dir # path = os.path.join(hidden_dir, 'version_info')
# # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. #=============================================================================== if __name__ == '__main__': import os from helpers import build_version build_version('_experiment') from src.helpers.logger_setup import logging_setup from src.managers.remote_hardware_server_manager import RemoteHardwareServerManager # from src.managers.manager import ManagerHandler # class AppHandler(ManagerHandler): # def closed(self, info, isok): # info.object.kill() # info.object.close_displays() # return True logging_setup('server') s = RemoteHardwareServerManager() # handler_klass=AppHandler) s.load() s.configure_traits()