mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-04 02:09:17 +02:00
(flub,hpk) introduce automated building of deltachat python bindings (as wheels) and upload them m.devpi.net/dc/BRANCHNAME
This commit is contained in:
parent
9f56b6e789
commit
3154f64fb5
8 changed files with 61 additions and 45 deletions
|
@ -76,8 +76,7 @@ harm is running it again::
|
|||
|
||||
$ pwd # Make sure the current working directory is the
|
||||
.../deltachat-core # top of the deltachat-core project checkout.
|
||||
$ docker build -t deltachat-wheel python/wheelbuilder/
|
||||
|
||||
$ docker build -t deltachat/wheel python/wheelbuilder/
|
||||
|
||||
Now you should have an image called `dcwhl` listed if you run `docker
|
||||
images`. This image can now be used to build both libdeltachat.so and
|
||||
|
|
|
@ -2,5 +2,3 @@
|
|||
formats = sdist.tgz
|
||||
no-vcs = 1
|
||||
|
||||
[bdist_wheel]
|
||||
universal = 1
|
||||
|
|
|
@ -10,7 +10,7 @@ def main():
|
|||
version=version,
|
||||
description='Python bindings for deltachat-core using CFFI',
|
||||
long_description=long_description,
|
||||
author='holger krekel, bjoern petersen and contributors',
|
||||
author='holger krekel, Floris Bruynooghe, Bjoern Petersen and contributors',
|
||||
setup_requires=['cffi>=1.0.0'],
|
||||
install_requires=['cffi>=1.0.0', 'requests', 'attrs', 'six'],
|
||||
packages=setuptools.find_packages('src'),
|
||||
|
|
|
@ -2,7 +2,7 @@ from deltachat import capi, const
|
|||
from deltachat.capi import ffi
|
||||
from deltachat.account import Account # noqa
|
||||
|
||||
__version__ = "0.8.2.dev1"
|
||||
__version__ = "0.9.0dev1"
|
||||
|
||||
|
||||
_DC_CALLBACK_MAP = {}
|
||||
|
|
|
@ -62,6 +62,7 @@ DC_EVENT_MSG_FAILED = 2012
|
|||
DC_EVENT_MSG_READ = 2015
|
||||
DC_EVENT_CHAT_MODIFIED = 2020
|
||||
DC_EVENT_CONTACTS_CHANGED = 2030
|
||||
DC_EVENT_LOCATION_CHANGED = 2035
|
||||
DC_EVENT_CONFIGURE_PROGRESS = 2041
|
||||
DC_EVENT_IMEX_PROGRESS = 2051
|
||||
DC_EVENT_IMEX_FILE_WRITTEN = 2052
|
||||
|
|
|
@ -56,7 +56,7 @@ RUN ldconfig -v
|
|||
# Install cyrus-sasl
|
||||
ENV SASL_VERSION 2.1.27
|
||||
ENV SASL_SHA256 26866b1549b00ffd020f188a43c258017fa1c382b3ddadd8201536f72efb05d5
|
||||
RUN curl -O ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-${SASL_VERSION}.tar.gz
|
||||
RUN curl -O https://www.cyrusimap.org/releases/cyrus-sasl-${SASL_VERSION}.tar.gz
|
||||
RUN echo "${SASL_SHA256} cyrus-sasl-${SASL_VERSION}.tar.gz" | sha256sum -c -
|
||||
RUN tar zxf cyrus-sasl-${SASL_VERSION}.tar.gz
|
||||
RUN cd cyrus-sasl-${SASL_VERSION} && \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue