Mercurial > hgrepos > Python > libs > ConfigMix
comparison setup.py @ 569:1bdf88437555
FIX: zip_safe: make zip_safe False if extensions are to be built
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 08 Jan 2022 17:10:33 +0100 |
| parents | ed1f0fdcda65 |
| children | 9ce13f753c04 |
comparison
equal
deleted
inserted
replaced
| 568:ed1f0fdcda65 | 569:1bdf88437555 |
|---|---|
| 102 | 102 |
| 103 cmdclass = {'bdist_wheel': BDistWheel} | 103 cmdclass = {'bdist_wheel': BDistWheel} |
| 104 | 104 |
| 105 if ext_modules: | 105 if ext_modules: |
| 106 setup_extra_kwds["ext_modules"] = ext_modules | 106 setup_extra_kwds["ext_modules"] = ext_modules |
| 107 setup_extra_kwds["zip_safe"] = False | |
| 108 else: | |
| 109 setup_extra_kwds["zip_safe"] = True | |
| 107 if cmdclass: | 110 if cmdclass: |
| 108 setup_extra_kwds["cmdclass"] = cmdclass | 111 setup_extra_kwds["cmdclass"] = cmdclass |
| 109 | 112 |
| 110 setup( | 113 setup( |
| 111 name="ConfigMix", | 114 name="ConfigMix", |
| 117 long_description=long_description, | 120 long_description=long_description, |
| 118 long_description_content_type="text/x-rst", | 121 long_description_content_type="text/x-rst", |
| 119 packages=["configmix", | 122 packages=["configmix", |
| 120 "configmix.extras"], | 123 "configmix.extras"], |
| 121 include_package_data=False, | 124 include_package_data=False, |
| 122 zip_safe=True, | |
| 123 platforms="any", | 125 platforms="any", |
| 124 classifiers=[ | 126 classifiers=[ |
| 125 "Development Status :: 5 - Production/Stable", | 127 "Development Status :: 5 - Production/Stable", |
| 126 "Environment :: Console", | 128 "Environment :: Console", |
| 127 "Intended Audience :: Developers", | 129 "Intended Audience :: Developers", |
