From d9edd0d32fe818b40ef2d6fe4daf4ac81309f4fd Mon Sep 17 00:00:00 2001 From: Martijn van de Streek Date: Thu, 22 Oct 2020 16:39:37 +0200 Subject: [PATCH] Make package "pip install"able (#15) By specifying "py_modules" instead of "packages" in setup.py, the single-file module is found and installed in site-packages correctly. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index e935e55..1b9668f 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ setuptools.setup( author='Joshua Tauberer', author_email='jt@occams.info', url='https://github.com/JoshData/convert-outlook-msg-file', - packages=setuptools.find_packages(), + py_modules=['outlookmsgfile'], install_requires=install_requires, long_description=long_description, long_description_content_type="text/markdown",