Skip to content

Commit fe24eef

Browse files
authored
Merge pull request #2 from zmx27/change-package-structure
chore: change dpx to src/diffpy in package structure
2 parents 27a7eb2 + 87a316c commit fe24eef

39 files changed

+18
-18
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ classifiers = [
3333
]
3434

3535
[project.scripts]
36-
srxgui = 'dpx.srxplanargui.srxguiapp:main'
36+
srxgui = 'diffpy.srxplanargui.srxguiapp:main'
3737

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

4848
[tool.setuptools.packages.find]
49-
where = ["dpx"] # list of folders that contain the packages (["."] by default)
49+
where = ["src"] # list of folders that contain the packages (["."] by default)
5050
include = ["*"] # package names should match these glob patterns (["*"] by default)
5151
exclude = [] # exclude packages matching these glob patterns (empty by default)
5252
namespaces = false # to disable scanning PEP 420 namespaces (true by default)
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414

1515

1616
# obtain version information
17-
from dpx.srxplanargui.version import __version__
17+
from diffpy.srxplanargui.version import __version__
1818

1919
# End of file
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
from traitsui.menu import ToolBar, OKButton, CancelButton, Menu, MenuBar, OKCancelButtons
3434
from pyface.api import ImageResource, SplashScreen
3535

36-
from dpx.srxplanargui.srxconfig import SrXconfig
36+
from diffpy.srxplanargui.srxconfig import SrXconfig
3737
from diffpy.srxplanar.srxplanar import SrXplanar
3838
from diffpy.srxplanar.selfcalibrate import selfCalibrate
3939
from diffpy.srxplanar.srxplanarconfig import checkMax

0 commit comments

Comments
 (0)