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]
distanceprinter = 'DistancePrinter.distanceprinter:main'
distanceprinter = 'diffpy.distanceprinter.distanceprinter:main'

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

[tool.setuptools.packages.find]
where = ["DistancePrinter"] # 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
15 changes: 15 additions & 0 deletions src/diffpy/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#!/usr/bin/env python
##############################################################################
#
# DistancePrinter by Simon J. L. Billinge group
# (c) 2013 Trustees of the Columbia University
# in the City of New York. All rights reserved.
#
# File coded by: Xiaohao Yang
#
# See AUTHORS.txt for a list of people who contributed.
# See LICENSENOTICE.txt for license information.
#
##############################################################################

# Placeholder until this gets scikit-packaged later
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/test_distanceprinter.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
from io import open

from DistancePrinter.distanceprinter import main
from diffpy.distanceprinter.distanceprinter import main


def test_distanceprinter(monkeypatch):
Expand Down