Commit graph

15 commits

Author SHA1 Message Date
Ian Abbott
99958da64f swig/python: Removed test_comedi.py
It was untested, and never worked.  It would be better to replace it
with some small demo programs, similar to the C language demo programs.
2017-04-10 14:14:29 +01:00
W. Trevor King
db4fd99309 Suggest people use PYTHONPATH rather than adjusting sys.path internally.
The old method only worked out of the box if you were running Python
2.1 on a 586.  I imagine that is too small a slice of current users to
be worth hard coding ;).
2012-03-13 09:30:45 -04:00
Ian Abbott
cdb3a84f86 Updated procedures for building with Python's distutils. Also reduced
line-lengths for 80-character wide terminals.  Most of the updated text
supplied by W. Trevor King.  Ian Abbott added a note that it only applies
when building the wrappers separately from Comedilib without 'make'.
2010-12-20 15:49:59 +00:00
Ian Abbott
8800748314 Adjust setup.py to link against libtool's lib/.libs/.
Patch from W. Trevor King.
2010-12-17 13:56:26 +00:00
Ian Abbott
d5e7c2a116 Revert previous commit, renaming comedi_wrap.c back to comedi_python_wrap.c.
Add "comedi_python.i" swig interface file which merely %includes the
"comedi.i" in the parent directory.  Fix paths in "setup.py" and set it up
to run swig directly (using "comedi_python.i" as the source).  Change
"_comedi.py" to "comedi.py" (but keep the underscore prefix on the .so
and .la files).
Based on a patch by W. Trevor King.
2010-12-16 16:03:35 +00:00
Ian Abbott
6c6a5d5b4f Renamed comedi_python_wrap.c to the swig default comedi_wrap.c. 2010-12-16 11:34:07 +00:00
Ian Abbott
003b9ec501 Add chanlist_len parameter to comedi_get_cmd_generic_timed. 2010-11-08 11:01:42 +00:00
Ian Abbott
24147c08a4 Allow swig to include comedi.h and comedilib.h from comedi.i to avoid
duplication.
2009-01-30 14:51:38 +00:00
Frank Mori Hess
366b8b5da0 fix handling of swig so it is run at compile time instead of when
building tarball (due to possible dependence on swig library).
2004-09-27 03:27:43 +00:00
Frank Mori Hess
d20c5e18c9 fix compilation when builddir != srcdir 2004-06-19 15:06:00 +00:00
Frank Mori Hess
37cc8552e8 add some comments on obsolete sections 2004-01-11 23:16:02 +00:00
Frank Mori Hess
711679b1e2 restore README.txt that got lost when I moved the python directory 2004-01-11 23:14:44 +00:00
Frank Mori Hess
a64c59b46d make cvs checkout compilable by people without swig 2004-01-08 03:10:32 +00:00
Frank Mori Hess
76c73a0956 fix typo 2004-01-04 17:07:04 +00:00
Frank Mori Hess
bc7a0262b2 moved SWIG code from python directory to new swig directory. Added
beginnings of support for ruby swig binding
2004-01-04 16:56:35 +00:00