Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.apo.nmsu.edu/35m_operations/TUI/Installation.html
Дата изменения: Wed Sep 17 02:15:56 2014
Дата индексирования: Sat Apr 9 22:59:29 2016
Кодировка:
TUI:Installation

TUI:Installation

Contents

Introduction

TUI is the user interface for the APO 3.5m telescope. It is written in Python (a free cross-platform language) and runs on unix, MacOS X and Windows. This document describes how to install TUI on your computer.

Installing on MacOS X

That's it; you are done. However, if you want to build from source then read on...

Building From Source for MacOS X

If you prefer, you may install TUI from source and even build your own double-clickable version. See Building TUI from Source On MacOS X for details.

Installing on Unix

If you have a fairly uniform set of unix machines to support (i.e. most users running the same flavor of unix), I recommend installing everything (tcl/tk, python, etc.) on a network mountable disk and have people run tui from there. This saves you the trouble of individually installing extra packages to each machine's existing installation of tcl/tk and python. It also gives you the chance of running current versions of tcl/tk and python (preinstalled versions tend to be quite out of date). This is not very difficult; the installers for tcl/tk and python are both trivial to use and include excellent documentation.

Requirements:

Installation instructions:

If you are in doubt as to which python packages you already have installed, try the following test. If any step fails, the corresponding package is not installed (or is mis-installed):

% python
Python ???   # must be at least 2.4; the current 2.x release is recommended
...
>>> import Tkinter
>>> root = Tkinter.Tk()
>>> import numpy
>>> import astropy # or pyfits
>>> import Image
>>> import pygame.mixer
>>> pygame.mixer.init()

Installing on Windows

Notes:

Building From Source for Windows X

If you prefer, you may install TUI from source and even build your own double-clickable version. See Building TUI from Source On Windows for details.

Git Repository

TUI is kept in a git repository at github. Feel free to clone that if you want to work on the code.

History