From 091ca2bcff3b57f62fecbed1fbbb73bafe5bde82 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Mon, 13 Jan 2020 16:56:07 +0000 Subject: [PATCH] fix setup.py to include the actual python in the package --- matrix_synapse_saml_mozilla/__init__.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/matrix_synapse_saml_mozilla/__init__.py b/matrix_synapse_saml_mozilla/__init__.py index 678eeb3..117d664 100644 --- a/matrix_synapse_saml_mozilla/__init__.py +++ b/matrix_synapse_saml_mozilla/__init__.py @@ -16,6 +16,6 @@ from matrix_synapse_saml_mozilla.mapping_provider import SamlMappingProvider from matrix_synapse_saml_mozilla.username_picker import pick_username_resource -__version__ = "0.1.dev1" +__version__ = "0.1.dev2" __all__ = ["SamlMappingProvider", "pick_username_resource"] diff --git a/setup.py b/setup.py index e15a6c4..1200ea5 100755 --- a/setup.py +++ b/setup.py @@ -42,7 +42,7 @@ def exec_file(path_segments, name): setup( name="matrix-synapse-saml-mozilla", version=exec_file(("matrix_synapse_saml_mozilla/__init__.py",), "__version__"), - py_modules=["matrix-synapse-saml-mozilla"], + packages=["matrix_synapse_saml_mozilla"], description="An Mozilla-flavoured SAML MXID mapper for Synapse", install_requires=["attr>=0.3.1", "pysaml2>=4.5.0"], long_description=read_file(("README.md",)),