1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-04 02:09:17 +02:00

Merge pull request #414 from flub/pybuild

Improve building of extension a little
This commit is contained in:
holger krekel 2018-11-01 21:12:48 +01:00 committed by GitHub
commit e907577c11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 25 additions and 22 deletions

View file

@ -9,7 +9,7 @@ def main():
name='deltachat',
version=version,
description='Python bindings for deltachat-core using CFFI',
long_description = long_description,
long_description=long_description,
author='holger krekel, bjoern petersen and contributors',
setup_requires=['cffi>=1.0.0'],
install_requires=['cffi>=1.0.0', 'requests', 'attrs', 'six'],
@ -28,8 +28,6 @@ def main():
def read_meta():
with open('README.rst') as fd:
long_description = fd.read()
with open(os.path.join("src", "deltachat", "__init__.py")) as f:
for line in f:
m = re.match('__version__ = "(\S*).*"', line)
@ -43,4 +41,3 @@ def read_meta():
if __name__ == "__main__":
main()