Appy has no setup.py

Bug #1048963 reported by Mathieu Leplatre on 2012-09-11
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Appy
Undecided
Unassigned

Bug Description

The package has no setup.py file, which prevents automatic installation (using pip, buildout, ...)

Changed in appy:
status: New → Fix Released
Luc Saffre (luc-saffre) wrote :

When I do the following:

  $ bzr branch lp:appy``

then I still don't see any file `setup.py`, and thus cannot install a dev version of appy using pip:

  $ pip install -e appy/
  Directory 'appy/' is not installable. File 'setup.py' not found.

Am I going to add a silly overstructure to my beautiful and minimalistic code because of the distutils implementors's choices?

No :)

In my automated publishing process (appy/bin/publish.py) I produce such a "distutilized" package to publish it on Pypi, for sure. But not in my code sorry.

ln -s /usr/lib/pythonX.X/dist-packages/appy /where/you/have/copied/appy

I guess you mean:

ln -s /where/you/have/copied/appy /usr/lib/pythonX.X/dist-packages

But unfortunately that doesn't work either.

Beautiful and minimalistic, but not easy to install! This problem makes
it impossible for me to run my test suites on a development version of Appy.

Luc

On 23/06/14 16:41, Gaëtan Delannay wrote:
> Am I going to add a silly overstructure to my beautiful and minimalistic
> code because of the distutils implementors's choices?
>
> No :)
>
> In my automated publishing process (appy/bin/publish.py) I produce such
> a "distutilized" package to publish it on Pypi, for sure. But not in my
> code sorry.
>
> ln -s /usr/lib/pythonX.X/dist-packages/appy /where/you/have/copied/appy
>

Indeed, sorry. Appy is a simple standard Python package. Or use PYTHONPATH or... This is what happens when hiding simple things behind distutils, eggs or buildout: it becomes difficult to understand how the Python intepreter works and simply copy or simlink a folder to the right place. I will publish soon Appy 0.9.0. Cheers Gaetan

Luc Saffre (luc-saffre) wrote :

Yes, that's the pragmatic solution.
Luc

On 23/06/14 18:00, Gaëtan Delannay wrote:
> Indeed, sorry. Appy is a simple standard Python package. Or use
> PYTHONPATH or... This is what happens when hiding simple things behind
> distutils, eggs or buildout: it becomes difficult to understand how the
> Python intepreter works and simply copy or simlink a folder to the right
> place. I will publish soon Appy 0.9.0. Cheers Gaetan
>

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers