Python calling D

Russel Winder russel at winder.org.uk
Sun Jan 26 04:11:46 PST 2014


On Sun, 2014-01-26 at 01:33 +0000, Ellery Newcomer wrote:
> On Friday, 24 January 2014 at 10:55:34 UTC, Russel Winder wrote:
> >
> > Probably want to use a virtualenv for this rather than install 
> > into the
> > base installation
> >
> 
> you can also do
> 
> python setup.py build
> python runtests.py -b hello
> 
> >
> > It needs to work for Python 3.3 as well!
> 
> try the latest commit

OK, that works for me, at least as far as installing is concerned. You
probably want to reject my pull request given the boundary conditions
you want to work with.

However with Python 2 the example from:

   https://bitbucket.org/ariovistus/pyd/wiki/QuickStart

leads to:

|> python setup.py build
Traceback (most recent call last):
  File "setup.py", line 11, in <module>
    d_lump=True
  File
"/home/users/russel/PythonEnvironments/Fedora_Python2_PyD/lib/python2.7/site-packages/celerid/support.py", line 53, in __init__
    std_Extension.__init__(self, *args, **kwargs)
TypeError: __init__() takes at least 3 arguments (2 given)

on Fedora 20 using a virtualenv created from the standard Python 2.
 

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder



More information about the Digitalmars-d-learn mailing list