Commits

Bob Ippolito committed 03f534e

Small correction to tutorial

Comments (0)

Files changed (3)

Doc/tutorial/step5-setup.py

 
 setup(
     app=['CurrencyConverter.py'],
-    data_files=['English.lproj'],
+    data_files=['MainMenu.nib'],
 )

Doc/tutorial/tutorial.html

 <li>Create the skeleton Python script by running the <code><span>nibclassbuilder</span></code> script.
 <code><span>nibclassbuilder</span></code> will parse the NIB file and create a skeleton module for you.
 Invoke it as follows (from the <code><span>src</span></code> directory):<pre>
-$ python -c &quot;import PyObjCScripts.nibclassbuilder&quot; English.lproj/MainMenu.nib &gt; CurrencyConverter.py
+$ python -c &quot;import PyObjCScripts.nibclassbuilder&quot; MainMenu.nib &gt; CurrencyConverter.py
 </pre>
 <p>Depending on your installation, the <code><span>nibclassbuilder</span></code> script may be on your <code><span>$PATH</span></code>.
 If so, it can be invoked as such:</p>
 <pre>
-$ nibclassbuilder English.lproj/MainMenu.nib &gt; CurrencyConverter.py
+$ nibclassbuilder MainMenu.nib &gt; CurrencyConverter.py
 </pre>
 <p>The result of this can be seen in <a href="step4-CurrencyConverter.py">step4-CurrencyConverter.py</a>.</p>
 </li>
 
 setup(
     app=['CurrencyConverter.py'],
-    data_files=['English.lproj'],
+    data_files=['MainMenu.nib'],
 )
 </pre>
 <p>The result of this can be seen in <a href="step5-setup.py">step5-setup.py</a>.</p>
 <p>Note that we use the <code><span>-A</span></code> argument to create an alias bundle at 
 <code><span>dist/CurrencyConverter.app</span></code>.  Alias bundles contain an alias to the
 main script (<code><span>CurrencyConverter.py</span></code>) and symlinks to the data files
-(<code><span>English.lproj</span></code>), rather than including them and their dependencies
+(<code><span>MainMenu.nib</span></code>), rather than including them and their dependencies
 into a standalone application bundle.  This allows us to keep working on
 the source files without having to rebuild the application.  This alias
 bundle is similar to a ZeroLink executable for Xcode - it is for

Doc/tutorial/tutorial.txt

    ``nibclassbuilder`` will parse the NIB file and create a skeleton module for you.
    Invoke it as follows (from the ``src`` directory)::
    
-       $ python -c "import PyObjCScripts.nibclassbuilder" English.lproj/MainMenu.nib > CurrencyConverter.py
+       $ python -c "import PyObjCScripts.nibclassbuilder" MainMenu.nib > CurrencyConverter.py
                
    Depending on your installation, the ``nibclassbuilder`` script may be on your ``$PATH``.
    If so, it can be invoked as such::
 
-       $ nibclassbuilder English.lproj/MainMenu.nib > CurrencyConverter.py
+       $ nibclassbuilder MainMenu.nib > CurrencyConverter.py
    
    The result of this can be seen in step4-CurrencyConverter.py_.
 
 
         setup(
             app=['CurrencyConverter.py'],
-            data_files=['English.lproj'],
+            data_files=['MainMenu.nib'],
         )
 
    The result of this can be seen in step5-setup.py_.
    Note that we use the ``-A`` argument to create an alias bundle at 
    ``dist/CurrencyConverter.app``.  Alias bundles contain an alias to the
    main script (``CurrencyConverter.py``) and symlinks to the data files
-   (``English.lproj``), rather than including them and their dependencies
+   (``MainMenu.nib``), rather than including them and their dependencies
    into a standalone application bundle.  This allows us to keep working on
    the source files without having to rebuild the application.  This alias
    bundle is similar to a ZeroLink executable for Xcode - it is for
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.