LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-04-2015, 10:42 AM   #1
Jeff91
Bodhi Developer
 
Registered: Jan 2009
Location: Bloomington, IL
Distribution: Bodhi
Posts: 379

Rep: Reputation: 68
Packaging Python Libraries for Python3


Apologies if this is the wrong forum category for this type of question.

Does anyone know of a good resource (ideally with a simple example) on how to package a python library for python3 as opposed to python2 on Debian? I've been through this wiki page -> https://wiki.debian.org/Python/Packaging

But it doesn't have a clear cut example on it and I haven't been able to decipher what exactly I need to do differently to get a debian package to build for Python3 as opposed for python2. If I was just installing on a local system I could just do:

Code:
python3 setup.py install
But I want to be able to distribute the software via dpkg to my users. The source I am looking to build a python3 package for can be found here -> https://build.enlightenment.org/job/...artifact/dist/

Thanks for any suggestion!
 
  


Reply

Tags
debian, packaging, python3



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Packaging in Python kiranpulsar2007 Linux - Newbie 1 12-06-2010 03:57 AM
packaging Python apps BlackFedora Programming 0 05-04-2009 12:15 AM
Packaging and distributing Python programs Saketh Linux - General 4 08-08-2006 02:47 PM
LXer: Move to python 2.4 / Changing the packaging style for python packages LXer Syndicated Linux News 0 06-13-2006 07:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 03:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration