Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ classifiers = [
]

[project.scripts]
srxgui = 'dpx.srxplanargui.srxguiapp:main'
srxgui = 'diffpy.srxplanargui.srxguiapp:main'

[project.urls]
Homepage = "https://github.com/diffpy/diffpy.srxplanargui/"
Expand All @@ -46,7 +46,7 @@ dev_template = "{tag}"
dirty_template = "{tag}"

[tool.setuptools.packages.find]
where = ["dpx"] # list of folders that contain the packages (["."] by default)
where = ["src"] # list of folders that contain the packages (["."] by default)
include = ["*"] # package names should match these glob patterns (["*"] by default)
exclude = [] # exclude packages matching these glob patterns (empty by default)
namespaces = false # to disable scanning PEP 420 namespaces (true by default)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@


# obtain version information
from dpx.srxplanargui.version import __version__
from diffpy.srxplanargui.version import __version__

# End of file
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
from traitsui.menu import ToolBar, OKButton, CancelButton, Menu, MenuBar, OKCancelButtons
from pyface.api import ImageResource, SplashScreen

from dpx.srxplanargui.srxconfig import SrXconfig
from diffpy.srxplanargui.srxconfig import SrXconfig
from diffpy.srxplanar.srxplanar import SrXplanar
from diffpy.srxplanar.selfcalibrate import selfCalibrate
from diffpy.srxplanar.srxplanarconfig import checkMax
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
10 changes: 5 additions & 5 deletions dpx/srxplanargui/live.py → src/diffpy/srxplanargui/live.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@
from traitsui.menu import ToolBar, OKButton, CancelButton, Menu, MenuBar, OKCancelButtons
from pyface.api import ImageResource, GUI, SplashScreen

from dpx.srxplanargui.selectfiles import AddFiles
from dpx.srxplanargui.srxconfig import SrXconfig
from dpx.srxplanargui.srxgui import SrXgui, SrXguiHandler, SaveHandler, LoadHandler
from diffpy.srxplanargui.selectfiles import AddFiles
from diffpy.srxplanargui.srxconfig import SrXconfig
from diffpy.srxplanargui.srxgui import SrXgui, SrXguiHandler, SaveHandler, LoadHandler
from diffpy.srxplanar.srxplanar import SrXplanar
from dpx.srxplanargui.help import SrXguiHelp
from dpx.srxplanargui.calibration import Calibration
from diffpy.srxplanargui.help import SrXguiHelp
from diffpy.srxplanargui.calibration import Calibration

from diffpy.srxconfutils.tools import checkFileVal

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
from diffpy.pdfgetx.functs import sortKeyNumericString
except:
from diffpy.pdfgete.functs import sortKeyNumericString
from dpx.srxplanargui.datacontainer import DataContainer
from dpx.srxplanargui.srxconfig import SrXconfig
from dpx.srxplanargui.imageplot import ImagePlot
from diffpy.srxplanargui.datacontainer import DataContainer
from diffpy.srxplanargui.srxconfig import SrXconfig
from diffpy.srxplanargui.imageplot import ImagePlot
from diffpy.srxplanar.loadimage import openImage, saveImage

#-- The Live Search table editor definition ------------------------------
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@
from traitsui.menu import ToolBar, OKButton, CancelButton, Menu, MenuBar, OKCancelButtons
from pyface.api import ImageResource, SplashScreen

from dpx.srxplanargui.selectfiles import AddFiles
from dpx.srxplanargui.srxconfig import SrXconfig
from diffpy.srxplanargui.selectfiles import AddFiles
from diffpy.srxplanargui.srxconfig import SrXconfig
from diffpy.srxplanar.srxplanar import SrXplanar
from dpx.srxplanargui.help import SrXguiHelp
from dpx.srxplanargui.calibration import Calibration
from diffpy.srxplanargui.help import SrXguiHelp
from diffpy.srxplanargui.calibration import Calibration

class SrXguiHandler(Handler):

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# break if help passed to the args
sysargv = sys.argv[1:]
if ('--help' in sysargv) or('-h' in sysargv):
from dpx.srxplanargui.srxconfig import SrXconfig
from diffpy.srxplanargui.srxconfig import SrXconfig
SrXconfig(args=sysargv)

from traits.etsconfig.api import ETSConfig
Expand All @@ -41,7 +41,7 @@
if not any([aa == '-h' or aa == '--help' for aa in sysargv]):
splash.open()

from dpx.srxplanargui.srxgui import SrXgui
from diffpy.srxplanargui.srxgui import SrXgui

def main():
gui = SrXgui(splash=splash)
Expand Down
File renamed without changes.