Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix various cython related compile errors #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @poke1024! I think dawg shouldn't require cython as install dependency.


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