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


Groups > linux.debian.maint.python > #10352 > unrolled thread

Pass arguments to setup.py with dh_python2

Started byScott Talbert <swt@techie.net>
First post2018-03-28 15:10 +0200
Last post2018-03-28 16:20 +0200
Articles 4 — 2 participants

Back to article view | Back to linux.debian.maint.python


Contents

  Pass arguments to setup.py with dh_python2 Scott Talbert <swt@techie.net> - 2018-03-28 15:10 +0200
    Re: Pass arguments to setup.py with dh_python2 Andrey Rahmatullin <wrar@debian.org> - 2018-03-28 15:20 +0200
      Re: Pass arguments to setup.py with dh_python2 Scott Talbert <swt@techie.net> - 2018-03-28 15:30 +0200
        Re: Pass arguments to setup.py with dh_python2 Andrey Rahmatullin <wrar@debian.org> - 2018-03-28 16:20 +0200

#10352 — Pass arguments to setup.py with dh_python2

FromScott Talbert <swt@techie.net>
Date2018-03-28 15:10 +0200
SubjectPass arguments to setup.py with dh_python2
Message-ID<vyiZY-3x6-1@gated-at.bofh.it>
Hi,

I've got a package where I need to pass an argument to setup.py as part of 
the build process.  Is there a way to do this with dh_python2, ie, without 
using overrides?

Scott

[toc] | [next] | [standalone]


#10353

FromAndrey Rahmatullin <wrar@debian.org>
Date2018-03-28 15:20 +0200
Message-ID<vyj9D-3A3-7@gated-at.bofh.it>
In reply to#10352

[Multipart message — attachments visible in raw view] — view raw

On Wed, Mar 28, 2018 at 09:00:13AM -0400, Scott Talbert wrote:
> I've got a package where I need to pass an argument to setup.py as part of
> the build process.  Is there a way to do this with dh_python2, ie, without
> using overrides?
dh_python2 doesn't call setup.py, the build system (python_distutils or
pybuild) does, which one are you using?

-- 
WBR, wRAR

[toc] | [prev] | [next] | [standalone]


#10354

FromScott Talbert <swt@techie.net>
Date2018-03-28 15:30 +0200
Message-ID<vyjjj-3Em-5@gated-at.bofh.it>
In reply to#10353
On Wed, 28 Mar 2018, Andrey Rahmatullin wrote:

>> I've got a package where I need to pass an argument to setup.py as part of
>> the build process.  Is there a way to do this with dh_python2, ie, without
>> using overrides?
> dh_python2 doesn't call setup.py, the build system (python_distutils or
> pybuild) does, which one are you using?

I'm not specifying one, so I suppose it is python_distutils?

Scott

[toc] | [prev] | [next] | [standalone]


#10355

FromAndrey Rahmatullin <wrar@debian.org>
Date2018-03-28 16:20 +0200
Message-ID<vyk5H-49S-5@gated-at.bofh.it>
In reply to#10354

[Multipart message — attachments visible in raw view] — view raw

On Wed, Mar 28, 2018 at 09:21:16AM -0400, Scott Talbert wrote:
> > > I've got a package where I need to pass an argument to setup.py as part of
> > > the build process.  Is there a way to do this with dh_python2, ie, without
> > > using overrides?
> > dh_python2 doesn't call setup.py, the build system (python_distutils or
> > pybuild) does, which one are you using?
> 
> I'm not specifying one, so I suppose it is python_distutils?
Then you'll need to pass args to dh_auto_*

-- 
WBR, wRAR

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.maint.python


csiph-web