Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup.py do not work on Linux #30

Open
petterreinholdtsen opened this issue Jan 9, 2016 · 5 comments
Open

setup.py do not work on Linux #30

petterreinholdtsen opened this issue Jan 9, 2016 · 5 comments

Comments

@petterreinholdtsen
Copy link

Hi. The setup.py script do not work on Linux. There are three problems.

  • The cacerts.txt file is missing from the source tarball. Why is it listed in setup.py, as it isn't needed at least on Linux.
  • The imageformats list is only for Windows, and consist of paths that only work on the developers Windows machine.
  • There is no python module py2exe, and it isn't needed on Linux.

Would it be possibe to rewrite it to work on both Windows and Linux?

Also, perhaps the setup.py implementation can be changed to one that understand entry_point, to make it easier to install a wrapper to start the main program?

We disabled the parts that do not work on Debian, see https://sources.debian.net/patches/patch/creepy/1.4.1-3/06-linux-setup-py.patch/ for the patch we use there. It will break the Windows build, I guess, but I do not have a way to test it on Windows and wonder if you have any idea how to get a setup.py file that work on all the platforms you want it to work on.

@jkakavas
Copy link
Owner

I only use setup.py in order to build the executable for windows. It is not distributed and is not to be run on user systems.
As such, I don't see any need in adjusting this to work for linux. Well, one could argue that this would give yet another way of "setting up" creepy in linux ( non debian based ) distributions ,but I don't really see the point. Can't you just ignore this ?

@petterreinholdtsen
Copy link
Author

[Ioannis Kakavas]

I only use setup.py in order to build the executable for windows. It
is not distributed and is not to be run on user systems.

As such, I don't see any need in adjusting this to work for
linux. Well, one could argue that this would give yet another way of
"setting up" creepy in linux ( non debian based ) distributions ,but
I don't really see the point. Can't you just ignore this ?

The build system for creating a Debian package is using it, so ignoring
it is not an option for me. We build and install the files into the
package using the information in setup.py.

Happy hacking
Petter Reinholdtsen

@jkakavas
Copy link
Owner

Ok, I see your point. I ll check your patch and will find a way to have it working for both.

@AxRealGG
Copy link

@petterreinholdtsen are you stupid? setup.py only for building on windows. For linux you should run CreepyMain.py from creepy folder. See installation guides on http://www.geocreepy.com/

@jkakavas
Copy link
Owner

jkakavas commented Mar 19, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants