Browse Source

no converting module for now

AllGroupDevicesShowHandshake
Volker Birk 6 years ago
parent
commit
93c0dd69a8
4 changed files with 28 additions and 3 deletions
  1. +7
    -3
      setup.py
  2. +9
    -0
      src/converting.cc
  3. +10
    -0
      src/converting.hh
  4. +2
    -0
      src/pEpmodule.hh

+ 7
- 3
setup.py View File

@ -1,15 +1,19 @@
# -*- coding: utf-8 -*-
from distutils.core import setup, Extension
module_pEp = Extension('pEp',
sources = ['src/pEpmodule.cc','src/converting.cc',],
sources = ['src/pEpmodule.cc',],
include_dirs = ['/Users/vb/include',],
library_dirs = ['/Users/vb/lib',],
libraries = ['pEpEngine',],
)
setup(
name='pEp Python adapter',
name='pp Python adapter',
version='1.0',
description='Provides a Python module giving access to pEp engine',
description='Provides a Python module giving access to p≡p engine',
author="Volker Birk",
author_email="vb@pep-project.org",
ext_modules=[module_pEp]
)

+ 9
- 0
src/converting.cc View File

@ -1,2 +1,11 @@
#include "converting.hh"
#include <new>
#include <stdexcept>
namespace pEp {
namespace utility {
using namespace std;
}
}

+ 10
- 0
src/converting.hh View File

@ -1,2 +1,12 @@
#pragma once
#include <Python.h>
#include <pEp/pEpEngine.h>
#include <pEp/message_api.h>
namespace pEp {
namespace utility {
}
}

+ 2
- 0
src/pEpmodule.hh View File

@ -1,3 +1,5 @@
#pragma once
#include <Python.h>
#include <pEp/pEpEngine.h>


Loading…
Cancel
Save