EPICS Home

Experimental Physics and Industrial Control System


 
1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: epicscorelibs on pypi.org
From: Michael Davidsaver <[email protected]>
To: EPICS Tech-Talk <[email protected]>
Date: Mon, 5 Nov 2018 20:07:50 -0800
This is not an end user library, and does not directly do anything useful.

https://pypi.org/project/epicscorelibs/

see README.md

https://github.com/mdavidsaver/epicscorelibs

With this out of the way, 'epicscorelibs' is the name I'm giving to a
python package which exists to contain the EPICS core libraries
(Base libs + some of the PVA modules) which I'm publishing to
pypi.org.  This makes it accessible to the 'pip' management tool.

> pip install epicscorelibs

The motivation of this work was firstly to support my P4P
(PVAccess for Python) library, which is also available
in beta on pypi.org.

I'm making epicscorelibs available as a separate package on the
theory that it may be useful as a dependency for other epics
related python modules.  And in the hope that no one else will
have to figure out how to make this work.  eg. it can be used
with cothread.catools or pyepics (in place of its bundled libca).

I provide pre-built binaries (as .whl) for Linux, WIN32, and OSX *.
Also a source build, which doesn't require make or perl.  Just run
"pip install --no-binary :all: epicscorelibs" and go get a coffee.
I've done a successful test build with pypy, but no more.

Prospective users interested in dynamic binding (aka ctypes) can run eg.:

> import ctypes
> from epicscorelibs.path import get_lib
> libca = ctypes.cdll.LoadLibrary(get_lib('ca'))

and go to town.

It is also possible to link directly with these libraries as normal
shared libraries.  This is more involved, and anyone interested
should contact me.


* OSX binaries are build on travis-ci, and seem to work there, but I
  have reports of runtime misbehavior in other environments.

Navigate by Date:
Prev: Re: record that processes at a given time of day? Johnson, Andrew N. via Tech-talk
Next: Re: record that processes at a given time of day? Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: record that processes at a given time of day? Michael Westfall via Tech-talk
Next: Epics 7.0.2 java release Shroff, Kunal via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024