Re: Build Error on Fedora 25

2017-07-11 Thread Joshua Campbell
Yeah you have to do this on debian/ubuntu as well On Mon, Jul 10, 2017 at 2:43 PM, Michael Alcorn wrote: > Hi all, > > When trying to follow the PyLucene installation instructions on Fedora 25, > I was getting the following error: > > /opt/gcc-4.9.3/bin/g++ -pthread -shared > -L/home/rdu/malcorn

Building a class with JCC from setup.py

2017-07-11 Thread Joshua Campbell
Does anyone know how to do this? I don't want to install the java stuff as its own thing like python -m jcc --install... I just want to include it as a submodule of a package I already have. -- Joshua Charles Campbell Ph.D. Student and Research Assistant Department of Computing Science University

Re: Building a class with JCC from setup.py

2017-07-11 Thread Andi Vajda
> On Jul 11, 2017, at 08:30, Joshua Campbell wrote: > > Does anyone know how to do this? I don't want to install the java > stuff as its own thing like python -m jcc --install... I just want to > include it as a submodule of a package I already have. I think you add python files on the jcc comm

Re: Building a class with JCC from setup.py

2017-07-11 Thread Joshua Campbell
I thought of it but I have other, swig-based modules that are also built by my setup.py... So I gave up on that but then how do I specify the things that aren't package name or version to setup(), such as description, long_description, author, author_email, url, license? On Tue, Jul 11, 2017 at 1

Re: Building a class with JCC from setup.py

2017-07-11 Thread Joshua Campbell
Would it be possible to abstract about parts of the compile routine from python.py so that I could have a setup.py that does like: from setuptools import setup from jcc import jcc_extension my_extension = jcc_extension( name='py_lex_java' clases=['ca.ualberta.cs.ScannerWrapper'], incl

Re: Building a class with JCC from setup.py

2017-07-11 Thread Andi Vajda
On Tue, 11 Jul 2017, Joshua Campbell wrote: Would it be possible to abstract about parts of the compile routine from python.py so that I could have a setup.py that does like: from setuptools import setup from jcc import jcc_extension my_extension = jcc_extension( name='py_lex_java' clas

Re: Build Error on Fedora 25

2017-07-11 Thread Andi Vajda
On Tue, 11 Jul 2017, Joshua Campbell wrote: Yeah you have to do this on debian/ubuntu as well I just now added a conditional 'm' suffix with using python 3 on linux Andi.. On Mon, Jul 10, 2017 at 2:43 PM, Michael Alcorn wrote: Hi all, When trying to follow the PyLucene installation in