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: 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 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 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