[Python-apps-team] Bug#470579: cython: python setup.py sdist doesn't include *.pxd
Ondrej Certik
ondrej at certik.cz
Fri Mar 21 23:10:35 UTC 2008
On Wed, Mar 12, 2008 at 2:49 AM, Greg Kochanski <gpk at kochanski.org> wrote:
> Package: cython
> Version: 0.9.6.12-1
> Severity: normal
>
>
>
> I have a project in a directory with
> .../lib/muscle.pyx
> .../lib/muscle.pxd
> et cetera
>
> My setup.py is attached below. When I make a source
> distribution, it is created without the .pxd files:
>
> $ python setup.py sdist
> $ tar tvzf build/.....tar.gz | fgrep pxd
> yields nothing.
>
>
>
> from distutils.core import setup
> from distutils.extension import Extension
> from Cython.Distutils import build_ext
>
> import Num
> Include_dirs = [ '.', Num.get_include() ]
>
> setup(
> name = "newstem2", version='0.12.1',
> description = "Articulatory models using soft targets and effort.",
> author = "Greg Kochanski",
> url = "http://kochanski.org",
> author_email = "gpk at kochanski.org",
> packages = ['newstem2'],
> package_dir = {'newstem2': 'lib'},
> scripts = ["bin/compute_model"],
> ext_modules=[
> Extension("newstem2.muscle", ["lib/muscle.pyx"],
> include_dirs = Include_dirs,
> # extra_compile_args=['-g'],
> # extra_link_args=['-g']
> )
> ],
> include_dirs = [
> Num.get_include()
> ],
> cmdclass = {'build_ext': build_ext},
> license = 'GPL2',
> keywords = "Stem-ML soft target articulatory model effort error optimimal optimize minimize",
> platforms = "All",
> classifiers = [
> ],
> long_description = """Long
> """
> )
Excellent, thanks for the bug report. This seems like an upstream bug,
do you think you could please report it upstream on their mailinglist?
That'd help a lot.
Thanks,
Ondrej
More information about the Python-apps-team
mailing list