Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.081 X-Spam-Evidence: '*H*': 0.84; '*S*': 0.00; 'setup.py': 0.07; 'subject:build': 0.07; '$path': 0.16; 'bdist_rpm': 0.16; 'python- based': 0.16; 'python3.': 0.16; 'typing': 0.18; 'install': 0.25; 'installed': 0.26; 'e.g.': 0.31; 'generally': 0.32; 'ubuntu': 0.33; 'to:addr:python-list': 0.35; 'done': 0.35; 'asking': 0.35; 'but': 0.36; 'possible.': 0.36; 'possible': 0.36; 'charset:us- ascii': 0.37; 'application': 0.39; 'to:addr:python.org': 0.39; 'subject:-': 0.39; 'sure': 0.40; 'where': 0.40; 'received:de': 0.40; 'from:no real name:2**0': 0.61; 'header:Message-Id:1': 0.62; 'details': 0.63; 'received:89': 0.80; 'received:89.146': 0.84 Date: Thu, 4 Jun 2015 03:08:51 +0200 From: To: python-list@python.org Subject: build a deb-package X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.23; i686-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 04 Jun 2015 09:06:58 +0200 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 17 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1433401619 news.xs4all.nl 2942 [2001:888:2000:d::a6]:52489 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:92034 I am not sure where I am or where to go. ;) So before asking about technical details I first want to know if it is generally possible. On Ubuntu when I install python-based applications (from a repository) as deb-packages I can start them by just typing its name because the py-file or a link to it are installed in bin-directory that is in the $PATH. I read a lot of wikis/howtows and couldn't get this done with my own (simple hello world) application working with Python3. E.g. I used setup.py bdist_rpm and alien to create a deb. But the py-file is in dist-package and not in a bin-directory. So is it possible to create a deb-file with a Python3-based application in it that can be started over the $PATH variable?