Giter VIP home page Giter VIP logo

align's People

Contributors

fredrikappelros avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

align's Issues

Compilation error on OS X

Hello, it seems that setup.py is missing NumPy includes, which results in the following compilation error:

building 'align' extension

creating build

creating build/temp.macosx-10.8-intel-2.7

clang -fno-strict-aliasing -fno-common -dynamic -g -Os -pipe -fno-common -fno-strict-aliasing -fwrapv -mno-fused-madd -DENABLE_DTRACE -DMACOSX -DNDEBUG -Wall -Wstrict-prototypes -Wshorten-64-to-32 -DNDEBUG -g -Os -Wall -Wstrict-prototypes -DENABLE_DTRACE -arch i386 -arch x86_64 -pipe -I/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 -c align.c -o build/temp.macosx-10.8-intel-2.7/align.o

clang: error: no such file or directory: 'align.c'

clang: error: no input files

error: command 'clang' failed with exit status 1

Here's a working version of setup.py:

from setuptools import setup
from setuptools.extension import Extension
from Cython.Distutils import build_ext
import numpy as np

setup(name="calign",
      version='0.1',
      description='Global and local sequence alignment implemented in C for speed.',
      author='Fredrik Appelros, Carl Ekerot',
      author_email='[email protected], [email protected]',
      url='https://github.com/FredrikAppelros/align',
      install_requires=['numpy', 'cython'],
      cmdclass = {'build_ext': build_ext},
      include_dirs = [np.get_include()],
      ext_modules = [Extension('align', ['src/align.pyx', 'src/calign.c'])],
)

PyPI package

Can you please upload align to PyPI, so that anyone can easily install it via pip?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.