Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #67576 > unrolled thread
| Started by | "Mark H. Harris" <harrismh777@gmail.com> |
|---|---|
| First post | 2014-03-03 12:10 -0800 |
| Last post | 2014-03-03 17:22 -0800 |
| Articles | 8 — 4 participants |
Back to article view | Back to comp.lang.python
pip and distutils2-1.0a4 "Mark H. Harris" <harrismh777@gmail.com> - 2014-03-03 12:10 -0800
Re: pip and distutils2-1.0a4 Mark Lawrence <breamoreboy@yahoo.co.uk> - 2014-03-03 20:53 +0000
Re: pip and distutils2-1.0a4 "Mark H. Harris" <harrismh777@gmail.com> - 2014-03-03 13:20 -0800
Re: pip and distutils2-1.0a4 Robert Kern <robert.kern@gmail.com> - 2014-03-03 21:32 +0000
Re: pip and distutils2-1.0a4 "Mark H. Harris" <harrismh777@gmail.com> - 2014-03-03 13:37 -0800
Re: pip and distutils2-1.0a4 Roy Smith <roy@panix.com> - 2014-03-03 16:44 -0500
Re: pip and distutils2-1.0a4 Robert Kern <robert.kern@gmail.com> - 2014-03-03 22:11 +0000
Re: pip and distutils2-1.0a4 "Mark H. Harris" <harrismh777@gmail.com> - 2014-03-03 17:22 -0800
| From | "Mark H. Harris" <harrismh777@gmail.com> |
|---|---|
| Date | 2014-03-03 12:10 -0800 |
| Subject | pip and distutils2-1.0a4 |
| Message-ID | <248fe774-aed4-4a59-afac-e746e2110dd7@googlegroups.com> |
hi folks, I am having a fit with pip this afternoon. I finally got pip installed on this system from a binary blob (what nightmare, talk about 1987). Anyway, pip is installed, but when I go to PyPI to pull down distutils is gives a message that no such package exists. I feel like Obeewan; "if the archive computer says your planet is not there, it simply does not exist". Can somebody tell me what is the best way to get distutils downloaded to this system? Thanks in advance. Somewhere I heard a rumor that distutils is preloaded with Py3.3.x / is this True? like, I might already have it?? thanks again marcus
[toc] | [next] | [standalone]
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Date | 2014-03-03 20:53 +0000 |
| Message-ID | <mailman.7656.1393880003.18130.python-list@python.org> |
| In reply to | #67576 |
On 03/03/2014 20:10, Mark H. Harris wrote: > hi folks, > > I am having a fit with pip this afternoon. I finally > got pip installed on this system from a binary > blob (what nightmare, talk about 1987). Anyway, > pip is installed, but when I go to PyPI to pull > down distutils is gives a message that no such > package exists. I feel like Obeewan; "if the archive > computer says your planet is not there, it simply > does not exist". > Can somebody tell me what is the best way to get > distutils downloaded to this system? > Thanks in advance. > Somewhere I heard a rumor that distutils is preloaded > with Py3.3.x / is this True? like, I might already have > it?? > thanks again > marcus > distutils has been part of the standard library for years. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence --- This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
[toc] | [prev] | [next] | [standalone]
| From | "Mark H. Harris" <harrismh777@gmail.com> |
|---|---|
| Date | 2014-03-03 13:20 -0800 |
| Message-ID | <acf1abdd-b0e7-4d4f-ab76-18c2998b8742@googlegroups.com> |
| In reply to | #67578 |
On Monday, March 3, 2014 2:53:00 PM UTC-6, Mark Lawrence wrote: > distutils has been part of the standard library for years. hi Mark, that's fabulous, why can't I import it? Because I'm doing something wrong of course. :) marcus
[toc] | [prev] | [next] | [standalone]
| From | Robert Kern <robert.kern@gmail.com> |
|---|---|
| Date | 2014-03-03 21:32 +0000 |
| Message-ID | <mailman.7662.1393882380.18130.python-list@python.org> |
| In reply to | #67583 |
On 2014-03-03 21:20, Mark H. Harris wrote: > On Monday, March 3, 2014 2:53:00 PM UTC-6, Mark Lawrence wrote: > >> distutils has been part of the standard library for years. > > hi Mark, that's fabulous, why can't I import it? Because I'm doing > something wrong of course. :) Probably. If you want us to help, you need to show us what you tried, tell us what results you expected, and copy-paste the output that you got. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco
[toc] | [prev] | [next] | [standalone]
| From | "Mark H. Harris" <harrismh777@gmail.com> |
|---|---|
| Date | 2014-03-03 13:37 -0800 |
| Message-ID | <31feb451-7fb6-48a6-9986-bddce69c4991@googlegroups.com> |
| In reply to | #67586 |
On Monday, March 3, 2014 3:32:43 PM UTC-6, Robert Kern wrote: > Probably. If you want us to help, you need to show us what you tried, tell us > what results you expected, and copy-paste the output that you got. > Robert Kern hi Robert, well, I finally came up with trying to find setup(). Its a part of distutils.core. So, I tried: from distutils.core import setup from distutils import * Then I tried to run setup() --help-commands and python3 crashed. What did I do wrong? running Py3.3.4 Thanks, marcus
[toc] | [prev] | [next] | [standalone]
| From | Roy Smith <roy@panix.com> |
|---|---|
| Date | 2014-03-03 16:44 -0500 |
| Message-ID | <roy-A6DF0A.16443103032014@news.panix.com> |
| In reply to | #67588 |
In article <31feb451-7fb6-48a6-9986-bddce69c4991@googlegroups.com>, "Mark H. Harris" <harrismh777@gmail.com> wrote: > On Monday, March 3, 2014 3:32:43 PM UTC-6, Robert Kern wrote: > > > Probably. If you want us to help, you need to show us what you tried, tell > > us > > what results you expected, and copy-paste the output that you got. > > > Robert Kern > > hi Robert, well, I finally came up with trying to find setup(). Its a part > of > distutils.core. So, I tried: > > from distutils.core import setup > from distutils import * > > Then I tried to run setup() --help-commands and python3 crashed. > > What did I do wrong? running Py3.3.4 > > Thanks, marcus General advice to everybody who asks questions. Please don't *describe* what you did. *Show* us what you did. Run your commands in a terminal window and then copy-and-paste everything that you typed and everything that got printed.
[toc] | [prev] | [next] | [standalone]
| From | Robert Kern <robert.kern@gmail.com> |
|---|---|
| Date | 2014-03-03 22:11 +0000 |
| Message-ID | <mailman.7667.1393884714.18130.python-list@python.org> |
| In reply to | #67588 |
On 2014-03-03 21:37, Mark H. Harris wrote: > On Monday, March 3, 2014 3:32:43 PM UTC-6, Robert Kern wrote: > >> Probably. If you want us to help, you need to show us what you tried, tell us >> what results you expected, and copy-paste the output that you got. > >> Robert Kern > > hi Robert, well, I finally came up with trying to find setup(). Its a part of > distutils.core. So, I tried: > > from distutils.core import setup > from distutils import * > > Then I tried to run setup() --help-commands and python3 crashed. > > What did I do wrong? running Py3.3.4 You don't run `setup() --help-commands` in the Python interpreter. `--help-commands` is a command-line argument to the setup.py script that you will write. It is not Python syntax. Please read the documentation. http://docs.python.org/3/distutils/index.html -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco
[toc] | [prev] | [next] | [standalone]
| From | "Mark H. Harris" <harrismh777@gmail.com> |
|---|---|
| Date | 2014-03-03 17:22 -0800 |
| Message-ID | <1279b5f0-aff5-429d-a8d0-a9d93cc48242@googlegroups.com> |
| In reply to | #67597 |
On Monday, March 3, 2014 4:11:44 PM UTC-6, Robert Kern wrote: > http://docs.python.org/3/distutils/index.html > Robert Kern hi Robert, I'm not whining --really-- but there is so dang much doc out there on how to upload a package to PyPI with every tool under the sun and all of them fancier than they need to be. So, that you! That doc file led me to another doc file that showed me how to build the setup.py file line by line. The real trick is building the src tree (and there are more than several ways to do that) and then matching the setup.py script to the src tree: then, python3 setup.py register python3 setup.py sdist upload python3 setup.py upload whew... I never worked so hard to get one silly tarball on a repository in my life ever... very rewarding; but, and I genuinely mean this, thank you for pointing me in the correct direction, sir. marcus
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web