[K12OSN] Re: pykota problem
Vern Ceder
vceder at canterburyschool.org
Tue Sep 6 17:40:46 UTC 2005
Uh... are you using a 64-bit version of Python? The python that is is
used to execute the setup.py script will influence the build/install, as
I recall.
Try specifying the path to your 32-bit python when you run setup.py.
I haven't tried it with 32 vs 64 bit stuff, so that may not be the
problem, but it's worth a try.
Cheers,
Vern
Peter Hartmann wrote:
> Man, I'm SO close. After doing this :
>
> python setup.py build --build-lib /usr/lib/python2.3/site-packages
> python setup.py install --install-lib /usr/lib/python2.3/site-packages
>
> It's just copying the 64bit version into the 32bit library. Any
> Python gurus out there?
>
> Thanks,
> Peter
>
>
>
> On 9/6/05, Peter Hartmann <ascensiontech at gmail.com> wrote:
>
>>Also, here's the help options. I've experimented a bit but no luck.
>>Any Ideas? Also What's sthe standard procedure for uninstallation for
>>python packages?
>>
>>Peter
>>
>>Options for 'build' command:
>> --build-base (-b) base directory for build library
>> --build-purelib build directory for platform-neutral distributions
>> --build-platlib build directory for platform-specific distributions
>> --build-lib build directory for all distribution (defaults to either
>> build-purelib or build-platlib
>> --build-scripts build directory for scripts
>> --build-temp (-t) temporary build directory
>> --compiler (-c) specify the compiler type
>> --debug (-g) compile extensions and libraries with debugging
>> information
>> --force (-f) forcibly build everything (ignore file timestamps)
>> --help-compiler list available compilers
>>
>>Options for 'install' command:
>> --prefix installation prefix
>> --exec-prefix (Unix only) prefix for platform-specific files
>> --home (Unix only) home directory to install under
>> --install-base base installation directory (instead of --prefix or --
>> home)
>> --install-platbase base installation directory for platform-specific files
>> (instead of --exec-prefix or --home)
>> --root install everything relative to this alternate root
>> directory
>> --install-purelib installation directory for pure Python module
>> distributions
>> --install-platlib installation directory for non-pure module distributions
>> --install-lib installation directory for all module distributions
>> (overrides --install-purelib and --install-platlib)
>> --install-headers installation directory for C/C++ headers
>> --install-scripts installation directory for Python scripts
>> --install-data installation directory for data files
>> --compile (-c) compile .py to .pyc [default]
>> --no-compile don't compile .py files
>> --optimize (-O) also compile with optimization: -O1 for "python -O", -O2
>> for "python -OO", and -O0 to disable [default: -O0]
>> --force (-f) force installation (overwrite any existing files)
>> --skip-build skip rebuilding everything (for testing/debugging)
>> --record filename in which to record list of installed files
>>
>>
>>
>>On 9/6/05, Peter Hartmann <ascensiontech at gmail.com> wrote:
>>
>>>Hey List,
>>>For Pykota to have a "graphical print quota reminder" it needs pyosd.
>>>However when I installed it, it ended up in lib64 not lib. How can I
>>>tell the setup.py to use 32bit? I'm not getting the idea from 'python
>>>setup.py --help".
>>>
>>>Thanks,
>>>Peter
>>>
>>
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
--
This time for sure!
-Bullwinkle J. Moose
-----------------------------
Vern Ceder, Director of Technology
Canterbury School, 3210 Smith Road, Ft Wayne, IN 46804
vceder at canterburyschool.org; 260-436-0746; FAX: 260-436-5137
More information about the K12OSN
mailing list