New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #18673 (closed defect: invalid)

Opened 4 years ago

Last modified 4 years ago

py26ObjCTools directory lacks __init__.py

Reported by: signalvsnoise+macports@… Owned by: jmr@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: py26-pyobjc2-cocoa

Description (last modified by blb@…) (diff)

When installed, there is no __init__.py, which makes this module not useful.

Change History

comment:1 Changed 4 years ago by macsforever2000@…

Which port do you mean precisely? There is no such port:

$ port info py26ObjCTools
Error: Port py26ObjCTools not found
$ port info py26-ObjCTools
Error: Port py26-ObjCTools not found

comment:2 follow-up: ↓ 3 Changed 4 years ago by blb@…

  • Description modified (diff)

comment:3 in reply to: ↑ 2 Changed 4 years ago by signalvsnoise+macports@…

Replying to blb@…:

py26-altgraph @0.6.7_0 (active)

py26-bdist_mpkg @0.4.3_0 (active) py26-macholib @1.1_0 (active) py26-modulegraph-devel @0.7.2_0 (active) py26-py2app-devel @0.4.2_0 (active) py26-pyobjc2 @2.0_0 (active) py26-pyobjc2-cocoa @2.0_0 (active) py26-setuptools @0.6c9_0 (active)

The directory to which I'm referring contains NibClassBuilder, which is necessary for following the pyObjC tutorial. The tutorial implies that PyObjCTools should be PyObjCScripts file:///opt/local/var/macports/software/py26-pyobjc2-cocoa/2.0_0/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/PyObjCTools/

comment:4 Changed 4 years ago by blb@…

  • Owner changed from macports-tickets@… to jmr@…
  • Port set to py26-pyobjc2-cocoa

comment:5 Changed 4 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to invalid

Looks intentional. Setup.py has

namespace_packages = ['PyObjCTools'],

and according to the setuptools docs, it's normal for __init__.py to not be installed for namespace packages.

comment:6 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.