Metadata-Version: 2.0
Name: easycython
Version: 1.0.3
Summary: Convert .pyx to (.pyd|.so) very easily.
Home-page: https://github.com/cjrh/easycython
Author: Caleb Hattingh
Author-email: caleb.hattingh@gmail.com
License: MIT
Keywords: cython
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Build Tools
Classifier: Programming Language :: Cython
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Requires-Dist: cython
Requires-Dist: numpy

==========
easycython
==========

Because writing a `setup.py` each time is painful.

`easycython.py` is a script that will attempt to
automatically convert one or more `.pyx` files into
the corresponding compiled `.pyd|.so` binary modules
files. Example::

    $ python easycython.py myext.pyx

`pip install easycython` will automatically create an
executable script in your `Scripts/` folder, so you
should be able to simply::

    $ easycython myext.pyx

or even::

    $ easycython *.pyx

Note that:

- Cython annotation (`-a`) is always-on. I find it easier to 
  just always have the annotation available, and clean up unwanted
  files by other means.
- `numpy` is required, because all the work I do requires 
  `numpy` support inside my cython extensions.
- Compiler flags `-O2 -march=native` are automatically passed to
  the compiler. I have not yet had to step through the generated
  C code with a debugger.

These things above could all be made optional. I'm considering 
using the `click` library for the CLI interface (hint: pull requests
welcome).

