all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* python general question (setup.py)
@ 2016-03-25 22:02 Nils Gillmann
  2016-03-25 22:31 ` Cyril Roelandt
  2016-03-25 22:39 ` Danny Milosavljevic
  0 siblings, 2 replies; 4+ messages in thread
From: Nils Gillmann @ 2016-03-25 22:02 UTC (permalink / raw)
  To: guix-devel

I have a question on python.
My theory is that this is true:
If I write a setup.py and contribute it to a project because I
want to make an "easier"[1] install in Guix and elsewhere,
I feed the "one packagemanager per language" thing.

Is setup.py the equivalent of a package manager in python or does
it serve more purposes? I would like to know if I want to follow
my current task in either fixing the setup.py I started for the
upcoming bitmessage 0.6 release or if I want to write a Guix
package without using out python-setup-tools which require
setup.py to be present.

[1]: I already figured out how I could be just faster in writing
a Guix package rather than the ~60 lines of setup.py I already
have.

-- 
ng
personal contact: http://krosos.sdf.org
EDN: https://wiki.c3d2.de/EDN

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: python general question (setup.py)
  2016-03-25 22:02 python general question (setup.py) Nils Gillmann
@ 2016-03-25 22:31 ` Cyril Roelandt
  2016-03-26  1:03   ` Nils Gillmann
  2016-03-25 22:39 ` Danny Milosavljevic
  1 sibling, 1 reply; 4+ messages in thread
From: Cyril Roelandt @ 2016-03-25 22:31 UTC (permalink / raw)
  To: guix-devel

On 03/25/2016 11:02 PM, Nils Gillmann wrote:
> I have a question on python.
> My theory is that this is true:
> If I write a setup.py and contribute it to a project because I
> want to make an "easier"[1] install in Guix and elsewhere,
> I feed the "one packagemanager per language" thing.
> 

Not really. You can use setup.py without pip. Think of setup.py as some
kind of Makefile for Python.

> Is setup.py the equivalent of a package manager in python or does
> it serve more purposes? I would like to know if I want to follow
> my current task in either fixing the setup.py I started for the
> upcoming bitmessage 0.6 release or if I want to write a Guix
> package without using out python-setup-tools which require
> setup.py to be present.
> 

No, the equivalent of a package manager is "pip", which uses packages
from pypi.python.org.

If we are talking about
https://bitmessage.org/wiki/Compiling_instructions , I must say the
installation instructions are a bit weird for a Python project.

Cyril.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: python general question (setup.py)
  2016-03-25 22:02 python general question (setup.py) Nils Gillmann
  2016-03-25 22:31 ` Cyril Roelandt
@ 2016-03-25 22:39 ` Danny Milosavljevic
  1 sibling, 0 replies; 4+ messages in thread
From: Danny Milosavljevic @ 2016-03-25 22:39 UTC (permalink / raw)
  To: Nils Gillmann; +Cc: guix-devel

Hi,

On Fri, 25 Mar 2016 23:02:20 +0100
Nils Gillmann <niasterisk@grrlz.net> wrote:

> Is setup.py the equivalent of a package manager in python or does
> it serve more purposes? 

Not at all. AFAIK, it's the equivalent of configure.ac / a Makefile.

pip is the package manager. There's 

  $ guix import pypi xxx

for generating a guix package definition from a pip package (from the package repository "pypi").

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: python general question (setup.py)
  2016-03-25 22:31 ` Cyril Roelandt
@ 2016-03-26  1:03   ` Nils Gillmann
  0 siblings, 0 replies; 4+ messages in thread
From: Nils Gillmann @ 2016-03-26  1:03 UTC (permalink / raw)
  To: guix-devel

Cyril Roelandt <tipecaml@gmail.com> writes:

> On 03/25/2016 11:02 PM, Nils Gillmann wrote:
>> I have a question on python.
>> My theory is that this is true:
>> If I write a setup.py and contribute it to a project because I
>> want to make an "easier"[1] install in Guix and elsewhere,
>> I feed the "one packagemanager per language" thing.
>> 
>
> Not really. You can use setup.py without pip. Think of setup.py as some
> kind of Makefile for Python.
>
>> Is setup.py the equivalent of a package manager in python or does
>> it serve more purposes? I would like to know if I want to follow
>> my current task in either fixing the setup.py I started for the
>> upcoming bitmessage 0.6 release or if I want to write a Guix
>> package without using out python-setup-tools which require
>> setup.py to be present.
>> 
>
> No, the equivalent of a package manager is "pip", which uses packages
> from pypi.python.org.

Ah, interesting. Thanks!

> If we are talking about
> https://bitmessage.org/wiki/Compiling_instructions , I must say the
> installation instructions are a bit weird for a Python project.

Yeah, I'm not focused on bitmessage.org, but I suppose it's the
same.
https://github.com/mailchuck/PyBitmessage will soon be merged
into https://github.com/Bitmessage/PyBitmessage , that's where I
try to work with to get away from using a git checkout.

> Cyril.
>
>

-- 
ng
personal contact: http://krosos.sdf.org
EDN: https://wiki.c3d2.de/EDN

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-26  1:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-25 22:02 python general question (setup.py) Nils Gillmann
2016-03-25 22:31 ` Cyril Roelandt
2016-03-26  1:03   ` Nils Gillmann
2016-03-25 22:39 ` Danny Milosavljevic

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.