1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-03 17:59:19 +02:00
deltachat-core/python/setup.py
holger krekel 75f8169072 address #273 -- introduce attr for contact/chat/message/EventHandler
also refine the GC-handling of contact and message pointers.
free-ing dc_context pointers currently does not work because
the threads are keeping a reference and not shutting down.
help on this shutdown issue from @r10s or @flub welcome.
I think fixing the context GC/shutdown issue should not hold
up merging this branch.
2018-09-13 12:17:31 +02:00

30 lines
982 B
Python

import setuptools
def main():
with open('README.rst') as fd:
long_description = fd.read()
setuptools.setup(
name='deltachat',
version='0.1',
description='Python bindings for deltachat-core using CFFI',
long_description = long_description,
author='Delta Chat contributors',
setup_requires=['cffi>=1.0.0'],
install_requires=['cffi>=1.0.0', 'requests', 'attr'],
packages=setuptools.find_packages('src'),
package_dir={'': 'src'},
cffi_modules=['src/deltachat/_build.py:ffibuilder'],
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License (GPL)',
'Programming Language :: Python :: 3',
'Topic :: Communications :: Email',
'Topic :: Software Development :: Libraries',
],
)
if __name__ == "__main__":
main()