Path: csiph.com!eternal-september.org!feeder.eternal-september.org!weretis.net!feeder4.news.weretis.net!feeder1.news.weretis.net!newsfeed.CARNet.hr!news.spin.it!bofh.it!news.nic.it!robomod From: Titon Barua Newsgroups: linux.debian.maint.python Subject: Suggestion for recommended build tools a python application Date: Tue, 29 Sep 2015 20:40:01 +0200 Message-ID: X-Original-To: debian-python@lists.debian.org X-Mailbox-Line: From debian-python-request@lists.debian.org Tue Sep 29 18:33:12 2015 Old-Return-Path: X-Amavis-Spam-Status: No, score=-0.12 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, SARE_ADLTOBFU=0.68] autolearn=no autolearn_force=no X-Policyd-Weight: DYN_NJABL=SKIP(0) NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .vimmaniac. - helo: .mail-vk0-x243.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7 Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vimmaniac.com; s=dkim; h=mime-version:date:message-id:subject:from:to:content-type; bh=s11BvtX8myImVez9hvP0ezxx3GnvLOitv3VFMK5LYA0=; b=O/K7yigKo2mO4VnNjZfX/8+wH85oxSN/p5t5q1dArw7YZ1q4jcea9LDxLNU6KDp+dU 53sy642rhZ5rW5HMrP6ZcObaFPIEtkCIcJ6ZuhxWSMenJ2up5Vc2dV3L9x4SFEYsOK2g OGPTNvELFlvYHCoFNAReOAEcP9tazG0pJSgoE= X-Google-Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=s11BvtX8myImVez9hvP0ezxx3GnvLOitv3VFMK5LYA0=; b=Gn2YbxYkvLfe+4aZep8KwQrTHLs7BoJ/DePupke/mWxpo4+S6LkvpShDdL+S3t58BF Anut2etauNiPh19+dN/Bm6zRzUnQ09aDyuIDioqcFcHBSArmplF6Vi5Zc/fH+ux8M3k2 moJBZ7Z7Q5VWTFPYU+Offik7r9yjNdmIwyV6tMXhya16IJUJe92CBdfc57PNv7jfhex2 YBLO3YNbR9QMj9Q93XN0JbrHT9DDWJlglFRqllyBMi9NSEoImBT4Xt4RVhybC9CLeaG2 fzyoLwoNffEGFspaVOiQA6koohwrx3OdWd0sajwBROkofIyet36P0pI0uXXvpwo3JPO2 KQhw== X-Gm-Message-State: ALoCoQk7lQwAbcpuHB9czbXiGH4FX63q6tV9RHmyaPEScsLLF2YOEPHQSn2+lw3TsJTbe+LYDPGO MIME-Version: 1.0 X-Received: by 10.31.150.5 with SMTP id y5mr17725769vkd.53.1443550652175; Tue, 29 Sep 2015 11:17:32 -0700 (PDT) X-Originating-IP: [123.200.30.173] Content-Type: multipart/alternative; boundary=001a114265bcd6b7ad0520e6d334 X-Mailing-List: archive/latest/12654 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/CAOuJHps1z5suX7biOuaEPjvsGVSfM+ST=grgVw6N+SJpfejYYg@mail.gmail.com Approved: robomod@news.nic.it Lines: 69 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Wed, 30 Sep 2015 00:17:32 +0600 X-Original-Message-ID: Xref: csiph.com linux.debian.maint.python:7343 --001a114265bcd6b7ad0520e6d334 Content-Type: text/plain; charset=UTF-8 Hi, I am developing a plugin for IBus, written in python3. The project depends on some other python modules and system packages, like python3-gi, gir1.2-ibus-1.0 etc. Also, it needs to install data files to the system ( inside /usr/lib/ibus/component/) to make itself available to IBus. I am a debian user and the project being debian packaging friendly is an important goal. As far as my project requirements go, I can't use any of the distutils/setuptools/distribute since they can't handle dependency checks not satiable through PyPI ( ridiculous isn't it? ). I can't also dive into the absurdity of making a `wheel` and installing it with `pip` since wheels don't allow file deployment in absolute system path. I found some online resource where someone suggested using autotools for building GTK+python applications. I can definitely go that route, but how would it affect packaging for debian? How am I supposed to specify the python module dependencies? I've done some research on 'dh' with 'pybuild', but it seems to be concerned with packaging python projects using in distutils family tools. Right now, my project has a custom installer script that asks the users to install necessary packages and copies the files to the appropriate location. I would gladly appreciate if anyone can guide to a saner alternative. - Titon [ Sorry for overwhelming you guys with questions. I love python, but I absolutely despise being a back-end server side application developer who writes in python; every bit of productivity gained by the language is usually lost in pulling out hairs in times of deployment and system integration. ] --001a114265bcd6b7ad0520e6d334 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,
I am developing a plugin for IBus, written in = python3. The project depends on some other python modules and system packag= es, like python3-gi, gir1.2-ibus-1.0 etc. Also, it needs to install data fi= les to the system ( inside /usr/lib/ibus/component/) to make itself availab= le to IBus. I am a debian user and the project being debian packaging frien= dly is an important goal.

As far as my project requiremen= ts go, I can't use any of the distutils/setuptools/distribute since the= y can't handle dependency checks not satiable through PyPI ( ridiculous= isn't it? ). I can't also dive into the absurdity of making a `whe= el` and installing it with `pip` since wheels don't allow file deployme= nt in absolute system path.

I found some online resource = where someone suggested using autotools for building GTK+python application= s. I can definitely go that route, but how would it affect packaging for de= bian? How am I supposed to specify the python module dependencies?

<= /div>
I've done some research on 'dh' with 'pybuild'= ;, but it seems to be concerned with packaging python projects using in dis= tutils family tools.

Right now, my project has a custom i= nstaller script that asks the users to install necessary packages and copie= s the files to the appropriate location. I would gladly appreciate if anyon= e can guide to a saner alternative.

- Titon

[ Sor= ry for overwhelming you guys with questions. I love python, but I absolutel= y despise being a back-end server side application developer who writes in = python; every bit of productivity gained by the language is usually lost in= pulling out hairs in times of deployment and system integration. ]
--001a114265bcd6b7ad0520e6d334--