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 "Martin Scherer (JIRA)" <ji...@apache.org> on 2014/01/13 17:02:51 UTC

[jira] [Updated] (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:all-tabpanel ]

Martin Scherer updated PYLUCENE-27:
-----------------------------------

    Attachment: createSetupScript.patch

This patch creates a setup.py file in cwd, if the extra-setup-arg 'sdist' is given. An output directory has to exist before invoking this!

The function createSetupScript simply writes out all arguments that are being passed to setuptools setup() function. 

Things to improve:
* Make an option for only creating a source dist (like --build or --install)
* Don't require setuptools (would be nice, because it can automatically install jcc as requirement).

> 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 Scherer
>         Attachments: createSetupScript.patch
>
>
> 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.5#6160)