Cannot find setup.py

Asked by Lance Corey

I downloaded sgt-launcher_0.2.4.orig.tar.gz, decompressed it and read the README file, I executed the first command:
sudo apt-get install gir1.2-gdkpixbuf-2.0 gir1.2-glib-2.0 gir1.2-gtk-3.0 python3 python3-gi python3-xcffib sgt-puzzles
There were no errors, but when I executed the second command:
sudo python3 setup.py install
it stated "python3: can't open file 'setup.py': [Errno 2] No such file or directory"
Where is the file located?

I using Ubuntu 18.10 64-bit with Mate 1.20.3

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu sgt-launcher Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Why do you try installing the sgt launcher from the orig.tar.gz file?
There is a pre-compiled version available for easy installation with the Ubuntu package management system

sudo apt-get install sgt-launcher

Revision history for this message
Lance Corey (ld-corey) said :
#2

It has a problem with launching the individual games. The manager opens and I select a game, but then the game flashes repeatedly and the manager remains on the screen (it disappeared in the earlier release). I cannot play any of the games because they never remain running.

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

If you want to install it from the orig.tar.gz file, then you have to unpack that file (probably already done), end then you have to locate the setup.py file in the directory tree that has been created by unpacking that archive.
Probably in the sgt-launcher-0.2.4 directory.
But I have some doubts that this will work better than the pre-built installer which is based on the same source.

Can you help with this problem?

Provide an answer of your own, or ask Lance Corey for more information if necessary.

To post a message you must log in.