Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #7866

Re: Any suggested procedure if upstream does not provide any build helper like setup.py

From Thomas Goirand <zigo@debian.org>
Newsgroups linux.debian.maint.python
Subject Re: Any suggested procedure if upstream does not provide any build helper like setup.py
Date 2015-11-21 19:10 +0100
Message-ID <qxkLM-sC-7@gated-at.bofh.it> (permalink)
References <qwVDH-uA-15@gated-at.bofh.it>
Organization Debian

Show all headers | View raw


On 11/20/2015 04:12 PM, Andreas Tille wrote:
> Hi,
> 
> I'd like to package something that has a source.py in the main directory
> of the download tarball and a bunch of Python files ins src/<subdirs>.
> There is no makefile of setup.py.  Is there any suggested procedure how
> to build a package from this?
> 
> Kind regards
> 
>        Andreas.

If the project is hosted on something like github, I'd suggest a
setup.py to upstream. And in fact, I'd suggest one using PBR, which is a
wonderful tool, if you didn't know it. Basically, everything lives in
the setup.cfg in a declarative way, and there's no code to write, PBR
does everything for you. There's more than 100 examples of use (and
abuse) of PBR in the OpenStack world (github.com/openstack).

Cheers,

Thomas Goirand (zigo)

Back to linux.debian.maint.python | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Any suggested procedure if upstream does not provide any build  helper like setup.py Andreas Tille <andreas@an3as.eu> - 2015-11-20 16:20 +0100
  Re: Any suggested procedure if upstream does not provide any build  helper like setup.py Piotr Ożarowski <piotr@debian.org> - 2015-11-20 16:30 +0100
    Re: Any suggested procedure if upstream does not provide any build  helper like setup.py Mrudula Chougule <chougulemrudula@gmail.com> - 2015-11-20 16:50 +0100
      Re: rtai Brian May <bam@debian.org> - 2015-11-21 01:20 +0100
  Re: Any suggested procedure if upstream does not provide any build helper like setup.py Brian May <bam@debian.org> - 2015-11-21 01:10 +0100
  Re: Any suggested procedure if upstream does not provide any build  helper like setup.py Thomas Goirand <zigo@debian.org> - 2015-11-21 19:10 +0100

csiph-web