View previous topic :: View next topic |
Author |
Message |
mlybarger Guru
Joined: 04 Sep 2002 Posts: 475
|
Posted: Wed Mar 04, 2015 1:20 pm Post subject: onedrive-d installation |
|
|
i haven't found an ebuild, but am looking to try out onedrive-d on my system. it's on github as:
git clone https://github.com/xybu/onedrive-d.git
it's python, so i thought it should be a natural fit for the gentoo system, but the defailt install.sh doesn't support gentoo and i try to install it manually and it's missing packages probably. it doesn't work. my output is:
Code: |
mark@lightning ~/Downloads/onedrive-d $ sudo python3.4 ./setup.py install
Traceback (most recent call last):
File "./setup.py", line 4, in <module>
from setuptools import setup, find_packages
ImportError: No module named 'setuptools'
|
help . their docs say they require python-gi for the gui element, but the install.sh seems to want a pip3. |
|
Back to top |
|
|
steveL Watchman
Joined: 13 Sep 2006 Posts: 5153 Location: The Peanut Gallery
|
Posted: Wed Mar 04, 2015 2:58 pm Post subject: |
|
|
It's better just to write an ebuild, since you get all the support for w/e build-system, and portage can ensure the dependencies are met, as well as track installed files for removal.
Code: | echo /usr/portage/eclass/*python* |
I think you want python-r1.eclass as well as distutils-r1.eclass, but I don't do python myself.
For more/live help: /join #gentoo-python on IRC: chat.freenode.net as well as #gentoo-dev-help
Ebuilds are all #bash scriptlets, so that's an essential channel as well.
This was my first one (see posts 2 and 3 for more general info.) I wrote that without knowing about /usr/portage/skel.ebuild so it's perfectly feasible to write ebuilds from just the manual.
If you have more specific questions, feel free to ask here ofc, as well as IRC.
Normally I'd say "just get it building outside, first" before approaching ebuild, but python has its own setup within portage/Gentoo, so you'll likely get on better via the eclasses.
Good luck :-) |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|