-
Notifications
You must be signed in to change notification settings - Fork 956
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
Testing enhancement: Test pip install
#39
Comments
Every Python environment created by Tox gets
If I'm not completely mistaken Any doubt about this? |
What is missing indeed is that tests are run on Windows and macOS. We've done this with PythonTurtle already, it's tedious but it's feasible, it's not magic. And more tests, e.g. integration tests, are always a good idea. Sure! |
Are you sure tox does |
You may want to take a look at the Tox System Overview and the related explanations in the Tox documentation. |
Okay, thanks. I'd still welcome a direct test of |
pip install
pip install
On Ubuntu/Raspbian, pip install pysnooper shoots the following: pi@raspberrypi:~ $ pip3 install pysnooper Storing debug log for failure in /home/pi/.pip/pip.logAll this on a Rasbberry Pi |
@enadol :
|
@enadol: This behavior is normal on any GNU/Linux system.
The error says, you - user On Windows you may be used to work with an administrator-level user. This allows you to install programs anywhere, which makes your system insecure by default. TL;DR - How install a Python package?You have two options to install Python packages on GNU/Linux. As a super-user or in your userspace. $ sudo pip3 install pysnooper This will prompt you for your user password (and requires the user to be in the $ su -c "pip3 install pysnooper" Installing in your userspace requires no special privileges: $ pip3 install --user pysnooper It makes packages available in |
Great! Thanks a lot! Cheers! |
Does anyone mind if I pick this one up? It seems like a good first issue to tackle for new contributors. |
It's a difficult one. But go ahead.
…On Mon, Apr 29, 2019, 07:00 Brian Thompson ***@***.***> wrote:
Does anyone mind if I pick this one up? It seems like a good first issue
to tackle for new contributors.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#39 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAN3SSVW6VOQCAOF6BUXGDPSZXE5ANCNFSM4HICWKLQ>
.
|
With the existing automation that's already in place with tox and travis, I think the solution was easier to implement than originally thought--unless I'm missing something? |
@bittner , this is right up your alley so if you'll feel like doing it, it'll be cool.
It'll be nice if after every release, or after every push to master, there will be separate tests that do
pip install pysnooper
on all platforms and run the tests. This is to rule out any errors in the installation.The text was updated successfully, but these errors were encountered: