comparison setup.py @ 477:9125a6e440c0

install (setup): installation is actually not zip safe: `zip_safe` cause trouble when set and the package is zipped: - Twisted doesn't seem to handle correctly the plugin - `VERSION` can't be loaded
author Goffi <goffi@goffi.org>
date Mon, 03 Jan 2022 16:48:22 +0100
parents 36c9fb677f1d
children fa0d2a4783fa
comparison
equal deleted inserted replaced
476:1092bab8b3f3 477:9125a6e440c0
72 ], 72 ],
73 packages=find_packages() + ["twisted.plugins"], 73 packages=find_packages() + ["twisted.plugins"],
74 data_files=[(os.path.join("share/doc", NAME), 74 data_files=[(os.path.join("share/doc", NAME),
75 ["CHANGELOG", "COPYING", "README"]), 75 ["CHANGELOG", "COPYING", "README"]),
76 ], 76 ],
77 zip_safe=True, 77 zip_safe=False,
78 setup_requires=["setuptools_scm"] if is_dev_version else [], 78 setup_requires=["setuptools_scm"] if is_dev_version else [],
79 use_scm_version=sat_dev_version if is_dev_version else False, 79 use_scm_version=sat_dev_version if is_dev_version else False,
80 install_requires=install_requires, 80 install_requires=install_requires,
81 package_data={"sat_pubsub": ["VERSION"]}, 81 package_data={"sat_pubsub": ["VERSION"]},
82 python_requires=">=3.6", 82 python_requires=">=3.6",