From 77c93ac3b4d49032c246799e6af870f6196052ee Mon Sep 17 00:00:00 2001 From: Malcolm White Date: Fri, 28 Apr 2023 10:52:32 -0400 Subject: [PATCH] Update to add to PyPI. --- MANIFEST.in | 2 ++ setup.py | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index c916479..de185dd 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,5 @@ include pykonal/*.pyx include pykonal/*.pxd include pykonal/*.cpp +include pykonal/data +include README.md diff --git a/setup.py b/setup.py index a5fcca8..830ec3a 100644 --- a/setup.py +++ b/setup.py @@ -45,6 +45,7 @@ # Import the README and use it as the long-description. # Note: this will only work if "README.md" is present in your MANIFEST.in file! try: + raise FileNotFoundError with io.open(os.path.join(here, "README.md"), encoding="utf-8") as f: long_description = "\n" + f.read() except FileNotFoundError: @@ -62,7 +63,7 @@ version=about["__version__"], description=description, long_description=long_description, - long_description_content_type="text/markdown", + #long_description_content_type="text/markdown", author=author, author_email=email, python_requires=requires_python,