Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Python
(view source)
Revision as of 07:23, 1 June 2018
88 bytes added
,
07:23, 1 June 2018
→Change PyPi
Line 788:
Line 788:
</nowiki>
</nowiki>
== Change PyPi ==
== Change PyPi ==
−
=== Using PyPi Local Repository ===
+
=== Using PyPi Local Repository ===
nano ~/.pip/pip.conf
nano ~/.pip/pip.conf
<nowiki>[global]
<nowiki>[global]
index-url= http://10.255.0.21/pypi/simple
index-url= http://10.255.0.21/pypi/simple
trusted-host= 10.255.0.21</nowiki>
trusted-host= 10.255.0.21</nowiki>
+
+
== Using pip behind proxy ==
+
sudo pip --proxy http://proxy.hell:3128 install requests
+
== Publish to PyPi ==
== Publish to PyPi ==
Create the file ~/.pypirc
Create the file ~/.pypirc
Rafahsolis
Bureaucrats
,
Administrators
2,306
edits
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version