[Slackbuilds-users] Python Slackbuilds

Larry Hajali larryhaja at gmail.com
Thu May 13 03:28:48 UTC 2010


There are some options that you can pass to the setup.py file in your
slackbuild.  To find out what options are available w/out installing,
try running:

python setup.py build -h
or
python setup.py install -h

These are only needed if your package needs some special
configuration.  Otherwise, just running 'python setup.py install
--root=$PKG' should do the trick for most python installs.

--Larry

2010/5/12 André Barboza <bmg.andre at gmail.com>:
> Hi Morten,
>
> Packing python application is quite simple in general. As you maybe
> has done, just take a look at a SlackBuild for another python
> application. The command line suggested by Luis is available when the
> application uses the Distutils.
>
> http://docs.python.org/distutils/introduction.html
> http://docs.python.org/install/index.html#install-index
>
> On 12 May 2010 15:55, Luis Henrique F. Cardoso de Mello
> <lmello.009 at gmail.com> wrote:
>> Usually, it's enough to substitute the
>>
>> ./configure \
>>  $(build options)
>> make
>> make install DESTDIR=$PKG
>>
>> bit for
>>
>> python setup.py install --root $PKG
>>
>> isn't it?
>>
>> On 05/12/2010 03:22 PM, Morten Juhl-Johansen Zölde-Fejér wrote:
>>>
>>> Dear all,
>>> Is there a specific Slackbuild documentation for packaging Python apps?
>>>
>>> Yours,
>>> Morten
>>> __
>>> Morten Juhl-Johansen Zölde-Fejér
>>> http://syntaktisk.dk * mjjzf at syntaktisk.dk
>>> _______________________________________________
>>> SlackBuilds-users mailing list
>>> SlackBuilds-users at slackbuilds.org
>>> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>>> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
>>> FAQ - http://slackbuilds.org/faq/
>>>
>>
>> _______________________________________________
>> SlackBuilds-users mailing list
>> SlackBuilds-users at slackbuilds.org
>> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
>> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
>> FAQ - http://slackbuilds.org/faq/
>>
>>
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
>


More information about the SlackBuilds-users mailing list