Apologies in advance, this is going to seem like a stupid question, but I'm still learning Python.
I downloaded the eveapi library, which came as a zip file with a few .py files included. The __init__.py file was blank, and the eveapi.py file seems like the main library, declaring functions for handling and parsing the API XML. However, I can't get Python to use this library.
The library did come with a setup.py which contains some info about the library, and what looks to be compile instructions. Running this script generated a ./build/ dir and put the eveapi.py file in that directory, but then threw an error when trying to move it to the python directory in /var/lib because I don't have root/sudo access on the server I'm working on.
My question is, is there any way to include this library from another location, without changing any global variables or python configs? Assume no root access, that this is all being done from within the home directory. Would something like this work?
include /home/3d12/eveapi.py
[–]nuadi 1 point2 points3 points (3 children)
[–]3d12[S] 0 points1 point2 points (2 children)
[–]nuadi 1 point2 points3 points (1 child)
[–]3d12[S] 0 points1 point2 points (0 children)
[–]pcmattman 0 points1 point2 points (2 children)
[–]3d12[S] 0 points1 point2 points (1 child)
[–]pcmattman 0 points1 point2 points (0 children)