Project

General

Profile

Actions

Bug #42

closed

Pyappion lib folder and import commands

Added by Neil Voss almost 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
-
Target version:
-
Start date:
01/20/2010
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Affected Version:
Show in known bugs:
Workaround:

Description

It is necessary for releasing other products, e.g. TiltPicker, pyappion libraries be imported differently.

current implementation:

 import appionScript
 import appiondata

ideal implementation:

 from appion import appionScript
 from appion import appiondata

In the ideal implementation, the library files can be located in a separation location. Under the current implementation, all the files must be located in the root directory.

The SVN repo move would be the ideal opportunity to implement this change. Since the PYTHONPATH variables for individual users needs to change anyway.


Related issues 1 (1 open0 closed)

Related to Leginon - Bug #67: Python imports, absolute vs. relativeAssignedAnchi Cheng01/28/2010

Actions
Actions

Also available in: Atom PDF