satnet-project / generic-client

Source code for the generic client of the SATNet network.
Apache License 2.0
4 stars 2 forks source link

setup.sh #8

Closed rtubio closed 8 years ago

rtubio commented 9 years ago

@sgongar : why do you download the packages as .tar.gz files instead of using pip directly over the virtual environment? You should have a requirements.txt file with the PIP packages for the client.

sgongar commented 9 years ago

PyQt and SIP do not use the standard setup.py file for encoding the installation procedures, they can't be install using pip method.

rtubio commented 9 years ago

Take a look at this and use pip so that you do not depend on the written the URLs by hand within setup.sh.

http://movingthelamppost.com/blog/html/2013/07/12/installing_pyqt____because_it_s_too_good_for_pip_or_easy_install_.html

Apart from this, you should include a requirements.txt file at the root of the repository that lists all the dependencies of the package.

sgongar commented 9 years ago

A normal installation using pip, as the website says, fails during the first step. I'm gonna try using external and/or unverified sources.

sgongar@debian8-64bits-dev:~/prueba/.venv/build/PyQt-x11-gpl-4.11.4$ pip install SIP
Downloading/unpacking SIP
  Could not find any downloads that satisfy the requirement SIP
  Some externally hosted files were ignored (use --allow-external SIP to allow).
Cleaning up...
No distributions at all found for SIP
Storing debug log for failure in /home/sgongar/.pip/pip.log
rtubio commented 9 years ago

Yes, with external/unverified I could install SIP and, later on, execute the specific commands to finish that installation. This way, we do not depend on a URL or on a given package version.


Dr. Eng. Ricardo Tubío-Pardavila +1-805-806-5345 Skype: rtpardavila Aerospace Engineering Department California Polytechnic State University San Luis Obispo, California

On Tue, Oct 13, 2015 at 5:43 PM, Samuel Góngora García < notifications@github.com> wrote:

A normal installation using pip, as the website says, fails during the first step. I'm gonna try using external and/or unverified sources.

sgongar@debian8-64bits-dev:~/prueba/.venv/build/PyQt-x11-gpl-4.11.4$ pip install SIP Downloading/unpacking SIP Could not find any downloads that satisfy the requirement SIP Some externally hosted files were ignored (use --allow-external SIP to allow). Cleaning up... No distributions at all found for SIP Storing debug log for failure in /home/sgongar/.pip/pip.log

— Reply to this email directly or view it on GitHub https://github.com/satnet-project/generic-client/issues/8#issuecomment-147892983 .

sgongar commented 9 years ago

In recent commits I have enabled the installation of SIP through pip. I've also updated the list of dependencies required in requirements.txt file.

sgongar commented 9 years ago

According to various issues in GitHub seems that is not possible to download PyQt4 by pip. This issue remains open whether this improvement can be implemented in the future.

Downloading SIP/PyQt4/PyQt5 packages via Pip #2157