I looked briefly to the proposed setup.py and I think it could be made
to work with setuptools, which is a dependency that I do not want (I am
familiar with setuptools and what it does). I don't think the distutils
only version would build an egg or upload to pypi, but I think it would
build the .pyd/.so files.
On 9/24/12 8:34 AM, Joel B. Mohler wrote:
> So, here are my objectives (all are my opinion and subject to other
> opinions) and given this exchange I'm uncertain how to proceed:
>
> 1) sepbuild.py (on windows) assumes PySide in c:\usr or useage
> --pyside-base in which case Qt includes/libs must be with the
> pyside-base. Both of these alternative are unnecessarily subpar. In
> fact, it's possible with modest modifications to sepbuild to build
> Scintilla PySide bindings with nothing but a PySide binary install and
> an installed Qt opensource package -- no building of PySide is necessary.
We'd be building against our pyside build, which is done via the
--pyside-base option. As long as this still works, allowing builds
against a binary PySide install sounds like a good idea.
> 2) The __init__.py, ScintillaConstants.py, ScintillaEditPy.pyd created
> in the bin subfolder require importing submodules -- I think an "import
> ScintillaPySide" with a full namespace makes more sense. I believe my
> __init__.py makes clear what I have in mind.
Defining a package makes sense to me.
> 4) Peripheral to my primary concerns, but I believe it is feasible and
> of value to the community to have a pypi package with the
> ScintillaPySide bindings pre-built for windows. I believe that windows
> binaries are of much greater relative importance given the relative
> difficulty of building in that environment and market share reasons. I
> believe that this makes Scintilla usage much more approachable for my
> team (as an example) although clearly I can fake it myself for us.
I agree that Windows binaries is something people will want.
Thanks,
John