fix setup.py to include the actual python in the package

master
Richard van der Hoff 5 years ago
parent 67541a2139
commit 091ca2bcff

@ -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"]

@ -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",)),

Loading…
Cancel
Save