O'Reilly Forums: Curious! Page 41 Again! - O'Reilly Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Curious! Page 41 Again! Worked. Little more info needed.

#1 User is offline   dryink 

  • New Member
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 07-December 11

Posted 07 December 2011 - 06:13 PM

Hi and hello,
I just completed chapter2 but when going through this chapter on page 41 my output in the command window is really different . I was only wondering if anyone could give some incite into what the extra output means?

Moving on to page 42+ I just now noticed that it may not in fact be installed correctly. I also did just now notice that folders build, and lib are never made using python setup.py sdist AND python setup.py install
I'm truly sorry for not noticing earlier So i guess i do have a problem and now can't move on with the book crap!


Here is both the commands giving to the command line.

* * * * * * * * * * * * *

Quote

C:\_code\Python\HF Exercises\_modules\nester>setup.py sdist
running sdist
running check
warning: sdist: manifest template 'MANIFEST.in' does not exist (using default fi
le list)

warning: sdist: standard file not found: should have one of README, README.txt

file [.py (for module [) not found
file n.py (for module n) not found
file e.py (for module e) not found
file s.py (for module s) not found
file t.py (for module t) not found
file e.py (for module e) not found
file r.py (for module r) not found
file ].py (for module ]) not found

writing manifest file 'MANIFEST'
creating nester-1.0.0
making hard links in nester-1.0.0...
hard linking setup.py -> nester-1.0.0
creating 'dist\nester-1.0.0.zip' and adding 'nester-1.0.0' to it
adding 'nester-1.0.0\PKG-INFO'
adding 'nester-1.0.0\setup.py'
removing 'nester-1.0.0' (and everything under it)

C:\_code\Python\HF Exercises\_modules\nester>setup.py install
running install
running build
running build_py
file [.py (for module [) not found
file n.py (for module n) not found
file e.py (for module e) not found
file s.py (for module s) not found
file t.py (for module t) not found
file e.py (for module e) not found
file r.py (for module r) not found
file ].py (for module ]) not found
file [.py (for module [) not found
file n.py (for module n) not found
file e.py (for module e) not found
file s.py (for module s) not found
file t.py (for module t) not found
file e.py (for module e) not found
file r.py (for module r) not found
file ].py (for module ]) not found
running install_lib
warning: install_lib: 'build\lib' does not exist -- no Python modules to install


running install_egg_info
Removing C:\Python32\Lib\site-packages\nester-1.0.0-py3.2.egg-info
Writing C:\Python32\Lib\site-packages\nester-1.0.0-py3.2.egg-info

C:\_code\Python\HF Exercises\_modules\nester>


* * * * * * * * * * * * *
The bold lines like file [.py (for module [) not found are the output I'm speaking of.
(code snippet wont show bold letters)

This post has been edited by dryink: 07 December 2011 - 06:51 PM

0

#2 User is offline   dryink 

  • New Member
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 07-December 11

Posted 10 December 2011 - 12:48 PM

I figured it out. It was a stupid typo arhhh!
sorry for wasting time and space here guess we cant edit after a day or something on these forums huh?
0

#3 User is offline   Akash@Oreilly 

  • New Member
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 13-September 12

Posted 13 September 2012 - 07:56 PM

View Postdryink, on 10 December 2011 - 12:48 PM, said:

I figured it out. It was a stupid typo arhhh!
sorry for wasting time and space here guess we cant edit after a day or something on these forums huh?


HI Can you please specify how did you resolve the problem. I am too getting it... :( And I have checked all the Typos too... Here is my setup function:

from distutils.core import setup

setup(
name='nester',
version='1.0.0',
py_modules='[nester]',
author='Akash',
author_email='actiononmail@gmail.com',
url='actiononmail.blogspot.com',
description='A sample module',
)
0

#4 User is offline   ZipStar 

  • New Member
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 06-November 12

Posted 06 November 2012 - 11:34 AM

I received these errors because of a typo:

py_modules = '[nester]',

It looks like the same mistake as yours. Put the single quotes around nester inside the list!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users