mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
setup.py: restore compatibility with setup.py sdist command
Otherwise source package with version 0.0.0 is created.
This commit is contained in:
@@ -12,6 +12,7 @@ def main():
|
|||||||
long_description=long_description,
|
long_description=long_description,
|
||||||
author='holger krekel, Floris Bruynooghe, Bjoern Petersen and contributors',
|
author='holger krekel, Floris Bruynooghe, Bjoern Petersen and contributors',
|
||||||
install_requires=['cffi>=1.0.0', 'pluggy', 'imapclient', 'requests'],
|
install_requires=['cffi>=1.0.0', 'pluggy', 'imapclient', 'requests'],
|
||||||
|
setup_requires=['setuptools_scm'], # required for compatibility with `python3 setup.py sdist`
|
||||||
packages=setuptools.find_packages('src'),
|
packages=setuptools.find_packages('src'),
|
||||||
package_dir={'': 'src'},
|
package_dir={'': 'src'},
|
||||||
cffi_modules=['src/deltachat/_build.py:ffibuilder'],
|
cffi_modules=['src/deltachat/_build.py:ffibuilder'],
|
||||||
|
|||||||
Reference in New Issue
Block a user