You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pylucene-dev@lucene.apache.org by "Andi Vajda (JIRA)" <ji...@apache.org> on 2013/11/01 00:10:18 UTC

[jira] [Commented] (PYLUCENE-27) JCC should be able to create sdist archives

    [ https://issues.apache.org/jira/browse/PYLUCENE-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13810843#comment-13810843 ] 

Andi Vajda commented on PYLUCENE-27:
------------------------------------

I have no idea how to do this or if this is even possible (I assume so).
A patch implementing this would be more than welcome.

> JCC should be able to create sdist archives
> -------------------------------------------
>
>                 Key: PYLUCENE-27
>                 URL: https://issues.apache.org/jira/browse/PYLUCENE-27
>             Project: PyLucene
>          Issue Type: Wish
>         Environment: jcc-svn-head
>            Reporter: Martin
>
> I was not able to create a complete (in terms one is able to compile and install the desired wrapper) source distribution.
> I've tried following calls:
>   python -m jcc --jar foo  --egg-info --extra-setup-arg sdist
> and
>  python -m jcc --jar foo --extra-setup-arg sdist
> Both create archives only containing the egg-info and setup.py but no source code at all.
> I really need this feature for my testing environment with tox, since this heavily depends on the sdist feature.
> thanks,
> best,
> Martin



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Re: [jira] [Commented] (PYLUCENE-27) JCC should be able to create sdist archives

Posted by Martin Scherer <m....@fu-berlin.de>.
So it is not documentated, but according to this bug
http://bugs.python.org/issue6884
it is prohibited to include files relative to 'build' directory.

So if one renames the output directory via --output parameter to
something else, everything works as expected.

So feel free to close this report.

But nevertheless I would recommend using a output directory which is by
default not 'build' to avoid such situations in the future.

Best,
Martin

Am 01.11.2013 15:48, schrieb Martin Scherer:
> It is not clear to me, why the source code is missing, because the
> Extension is defined properly (couldn't be built if thats not the case).
> 
> IMO it should be sufficient to provide the sdist keyword, which can
> already be passed by the '--extra-setup-arg' parameter.
> 
> Somebody have any hints about that?
> 
> Unfortunately I'am no expert of distutils/setuptools.
> 
> Am 01.11.2013 00:10, schrieb Andi Vajda (JIRA):
>>
>>     [ https://issues.apache.org/jira/browse/PYLUCENE-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13810843#comment-13810843 ] 
>>
>> Andi Vajda commented on PYLUCENE-27:
>> ------------------------------------
>>
>> I have no idea how to do this or if this is even possible (I assume so).
>> A patch implementing this would be more than welcome.
>>
>>> JCC should be able to create sdist archives
>>> -------------------------------------------
>>>
>>>                 Key: PYLUCENE-27
>>>                 URL: https://issues.apache.org/jira/browse/PYLUCENE-27
>>>             Project: PyLucene
>>>          Issue Type: Wish
>>>         Environment: jcc-svn-head
>>>            Reporter: Martin
>>>
>>> I was not able to create a complete (in terms one is able to compile and install the desired wrapper) source distribution.
>>> I've tried following calls:
>>>   python -m jcc --jar foo  --egg-info --extra-setup-arg sdist
>>> and
>>>  python -m jcc --jar foo --extra-setup-arg sdist
>>> Both create archives only containing the egg-info and setup.py but no source code at all.
>>> I really need this feature for my testing environment with tox, since this heavily depends on the sdist feature.
>>> thanks,
>>> best,
>>> Martin
>>
>>
>>
>> --
>> This message was sent by Atlassian JIRA
>> (v6.1#6144)
>>


Re: [jira] [Commented] (PYLUCENE-27) JCC should be able to create sdist archives

Posted by Martin Scherer <m....@fu-berlin.de>.
It is not clear to me, why the source code is missing, because the
Extension is defined properly (couldn't be built if thats not the case).

IMO it should be sufficient to provide the sdist keyword, which can
already be passed by the '--extra-setup-arg' parameter.

Somebody have any hints about that?

Unfortunately I'am no expert of distutils/setuptools.

Am 01.11.2013 00:10, schrieb Andi Vajda (JIRA):
> 
>     [ https://issues.apache.org/jira/browse/PYLUCENE-27?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13810843#comment-13810843 ] 
> 
> Andi Vajda commented on PYLUCENE-27:
> ------------------------------------
> 
> I have no idea how to do this or if this is even possible (I assume so).
> A patch implementing this would be more than welcome.
> 
>> JCC should be able to create sdist archives
>> -------------------------------------------
>>
>>                 Key: PYLUCENE-27
>>                 URL: https://issues.apache.org/jira/browse/PYLUCENE-27
>>             Project: PyLucene
>>          Issue Type: Wish
>>         Environment: jcc-svn-head
>>            Reporter: Martin
>>
>> I was not able to create a complete (in terms one is able to compile and install the desired wrapper) source distribution.
>> I've tried following calls:
>>   python -m jcc --jar foo  --egg-info --extra-setup-arg sdist
>> and
>>  python -m jcc --jar foo --extra-setup-arg sdist
>> Both create archives only containing the egg-info and setup.py but no source code at all.
>> I really need this feature for my testing environment with tox, since this heavily depends on the sdist feature.
>> thanks,
>> best,
>> Martin
> 
> 
> 
> --
> This message was sent by Atlassian JIRA
> (v6.1#6144)
>