Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix module not found #172

Merged
merged 5 commits into from
Jul 12, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Next Next commit
Convert to src style package from flat
  • Loading branch information
Michael Catanzaro committed Jul 12, 2024
commit 503ea22522a5863fcf70efaa468468d81aed1e67
6 changes: 3 additions & 3 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
include *.txt
include *.md
include ripser/pyRips.pxd
include ripser/ripser.cpp
include ripser/pyRipser.pyx
include src/ripser/pyRips.pxd
include src/ripser/ripser.cpp
include src/ripser/pyRipser.pyx
3 changes: 0 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ docs = ["sktda_docs_config"]

examples = ["tadasets", "jupyter", "pillow"]

[tool.setuptools.packages.find]
where = ["ripser"]

[project.urls]
Homepage = "https://ripser.scikit-tda.org"
Documentation = "https://ripser.scikit-tda.org"
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@


def get_version():
VERSIONFILE = "ripser/_version.py"
VERSIONFILE = "src/ripser/_version.py"
verstrline = open(VERSIONFILE, "rt").read()
VSRE = r"^__version__ = ['\"]([^'\"]*)['\"]"
mo = re.search(VSRE, verstrline, re.M)
Expand Down Expand Up @@ -81,7 +81,7 @@ def run(self):

ext_modules = Extension(
"pyRipser",
sources=["ripser/pyRipser.pyx"],
sources=["src/ripser/pyRipser.pyx"],
define_macros=macros,
extra_compile_args=extra_compile_args,
extra_link_args=extra_link_args,
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.