Skip to content

Commit

Permalink
fix various cython related errors
Browse files Browse the repository at this point in the history
tested with python 3.7.3 and python 2.7.10
  • Loading branch information
poke1024 committed Apr 22, 2019
1 parent f8d1961 commit 1c33d61
Show file tree
Hide file tree
Showing 17 changed files with 26 additions and 39,588 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
language: python
python:
- "3.6"
- "3.5"
- "3.4"
- "3.3"
- "3.2"
- "2.7"
- "2.6"

install:
- pip install -q cython
- python setup.py install

# command to run tests, e.g. python setup.py test
Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#! /usr/bin/env python
import glob
from setuptools import setup, Extension
from Cython.Build import cythonize

setup(
name="DAWG",
Expand All @@ -11,14 +12,14 @@
author_email='kmike84@gmail.com',
url='https://github.com/pytries/DAWG/',

ext_modules = [
ext_modules = cythonize(
Extension(
"dawg",
sources = glob.glob('src/*.cpp') + glob.glob('lib/b64/*.c'),
glob.glob('src/dawg.pyx') + glob.glob('lib/b64/*.c'),
include_dirs=['lib'],
language = "c++",
)
],
),

classifiers=[
'Development Status :: 4 - Beta',
Expand Down
Empty file added src/__init__.pxd
Empty file.
Loading

0 comments on commit 1c33d61

Please sign in to comment.