[Python-apps-team] Bug#470579: cython: python setup.py sdist doesn't include *.pxd

Greg Kochanski gpk at kochanski.org
Wed Mar 12 01:49:12 UTC 2008


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
	"""
	)

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages cython depends on:
ii  python                        2.4.4-6    An interactive high-level object-o
ii  python-support                0.7.6      automated rebuilding support for p

cython recommends no packages.

-- no debconf information





More information about the Python-apps-team mailing list