You are not logged in.

#1 2010-10-14 16:28:15

trusktr
Banned
From: .earth
Registered: 2010-02-18
Posts: 907
Website

[solved] How can I go about installing a Python module with pacman?

I want to install a module for Python, but if I just do "sudo python setup.py install" in the modules directory i might be installing something I may potentially want to remove later and want it documented by pacman.

Would I have to use ABS to create the installable package?

Last edited by trusktr (2013-08-31 04:41:34)


joe@trusktr.io - joe at true skater dot io.

Offline

#2 2010-10-14 17:20:35

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [solved] How can I go about installing a Python module with pacman?

Have you checked the repos and aur? The module you want may have already been packaged.

If not, do it yourself using /usr/share/pacman/PKGBUILD-python.proto as your starting point.

Offline

#3 2010-10-15 04:38:59

trusktr
Banned
From: .earth
Registered: 2010-02-18
Posts: 907
Website

Re: [solved] How can I go about installing a Python module with pacman?

Yup, nothing showed up. It doesn't exist. I wanna make and manage my fist package on AUR. big_smile


joe@trusktr.io - joe at true skater dot io.

Offline

#4 2010-10-15 07:27:08

trusktr
Banned
From: .earth
Registered: 2010-02-18
Posts: 907
Website

Re: [solved] How can I go about installing a Python module with pacman?

Hmmmmm, i have a question. I want to install two things: a python module, and a gedit plugin. The python module is needed for the gedit plugin to work, and that's about it. Can i make a package for the AUR that will install both things as one package? Or should i do them seperately?

Also, for a python module i'm guessing the only dependancy would be python, and then from there pacman would get all other deps for python, right?
The deps are: Gedit Plugin --> python module --> python --> etc
right?


joe@trusktr.io - joe at true skater dot io.

Offline

#5 2010-10-15 07:29:52

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,358

Re: [solved] How can I go about installing a Python module with pacman?

If there's no other use for the python module then just put them in one package. Having 2 separate packages does make your job easier in the case that you need to update only one.

There may be other deps, namcap can help you find them. You should use namcap in any case, for all your packages.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#6 2010-10-15 21:22:11

Yannick_LM
Member
Registered: 2008-12-22
Posts: 142

Re: [solved] How can I go about installing a Python module with pacman?

trusktr wrote:

Yup, nothing showed up. It doesn't exist

It's in the "abs" package

Last edited by Yannick_LM (2010-10-17 14:11:01)

Offline

#7 2010-10-25 02:32:45

trusktr
Banned
From: .earth
Registered: 2010-02-18
Posts: 907
Website

Re: [solved] How can I go about installing a Python module with pacman?

What do you mean by that Yannick_LM ? What is in the "ABS" package?


joe@trusktr.io - joe at true skater dot io.

Offline

#8 2010-10-25 07:55:21

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [solved] How can I go about installing a Python module with pacman?

He means that PKGBUILD-python.proto, referenced above, is provided by the abs package, which you can install in the usual way with pacman.

Offline

Board footer

Powered by FluxBB