You are not logged in.

#1 2011-03-01 23:43:29

zach
Member
Registered: 2011-03-01
Posts: 3

Python

Let me start by saying I FREAKING LOVE ARCH!!!!!!!!!!!!! I just installed it yesterday, and it has caused me to basically re-catch Linux fever!

Now for the question. I am developing a text editor in Python. When it's done, I would like to upload it to the AUR, but given that the AUR says "NO BINARIES" very specifically, I'm not sure how to package it. I read the Wiki page on creating packages, but I'm not sure how to write a makefile for a python program, and google was unhelpful in that regard. Help?

Offline

#2 2011-03-02 00:01:48

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,487
Website

Re: Python

Host the source files somewhere and then you can package it like any other package.

Offline

#3 2011-03-02 00:06:34

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: Python

Check out an existing python PKGBUILD from the AUR as a guide.

Scott

Offline

#4 2011-03-02 00:12:49

zach
Member
Registered: 2011-03-01
Posts: 3

Re: Python

Sorry, I should have mentioned how much of a noob I am. Allan, assuming I host my project on github, what would I put in the PKGBUILD file? What about the install file?

Offline

#5 2011-03-02 00:13:23

zach
Member
Registered: 2011-03-01
Posts: 3

Re: Python

Scratch that I think I understand what to put in the PKGBUILD file. Still not sure how the install file would work though.

Offline

#6 2011-03-02 01:28:08

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

Re: Python

Have you read the wiki and all the pages dedicated to building packages? In particular:

https://wiki.archlinux.org/index.php/Ar … _Standards

Last edited by jdarnold (2011-03-02 01:28:21)

Offline

#7 2011-03-06 14:41:20

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,094

Re: Python

example of PKGBUILD building from github

And a sidenote, you should use distutils/distribute. It will make it easer for you to maintain, and easier for the user to install your application.

Edit: You should change the topic title btw, just "python" is quite a bad title.

Last edited by Mr.Elendig (2011-03-06 14:43:24)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB