Skip to content

Commit

Permalink
Tweaked some documentation and packaging config.
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Apr 19, 2017
1 parent f9719ee commit 107133f
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
*.egg-info
dist
build
_build
docs/_build
distribute-*
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
include CONTRIBUTING.md
include README.rst
include AUTHORS
include LICENSE
include requirements*.txt
recursive-include briefcase *.py
recursive-include docs *.bat
recursive-include docs *.png
recursive-include docs *.py
recursive-include docs *.rst
recursive-include docs Makefile
Expand Down
8 changes: 4 additions & 4 deletions docs/tutorials/tutorial-0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ Finally, we have to add the setuptools ``setup.py`` script:
.. code-block:: python
#!/usr/bin/env python
from setuptools import setup, find_packages
setup(name='HelloWorld',
version = '0.1.0',
packages = find_packages(),
Expand All @@ -58,7 +58,7 @@ Finally, we have to add the setuptools ``setup.py`` script:
}
)
In the setup script we included the basic information of our application (``name``, ``version`` and ``packages``) needed by setuptools for deploying our application. Additionally, we added in the ``options`` the required configuration for ``briefcase``.
In the setup script we included the basic information of our application (``name``, ``version`` and ``packages``) needed by setuptools for deploying our application. Additionally, we added in the ``options`` the required configuration for ``briefcase``.

Create an iOS project
---------------------
Expand All @@ -74,7 +74,7 @@ to create the iOS app.
Open the iOS project with Xcode
-------------------------------

There is a new folder in your project called 'iOS', which contains the Xcode project (``Hello World.xcodeproj``). Open it with Xcode and check that your application is the ``app`` folder. You can also open the application by running:
There is a new folder in your project called 'iOS', which contains the Xcode project (``Hello World.xcodeproj``). Open it with Xcode and check that your application is the ``app`` folder. You can also open the application by running:

.. code-block:: bash
Expand Down
9 changes: 5 additions & 4 deletions docs/tutorials/tutorial-1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ In this tutorial you will create a simple ios application using toga framework.
Update your ios project
-----------------------

In this step we assume that you followed the previous tutorial :doc:`/intro/tutorial-0.rst`.
First at all, you can clean your previous app in your ``iostutorial`` folder:
In this step we assume that you followed the :doc:`previous tutorial <tutorial-0>`. First at all, you can clean your previous app
in your ``iostutorial`` folder:

.. code-block:: bash
rm -rf iOS/
We are going to use the Toga framework, so we have to include the ``toga-ios`` requirement in the ``ios`` section
of ``setup.py`` script:
We are going to use the Toga framework, so we have to include the
``toga-ios`` requirement in the ``ios`` section of ``setup.py`` script:

.. code-block:: python
Expand Down Expand Up @@ -67,6 +67,7 @@ Create the iOS app
Now you can invoke setuptools again:

.. code-block:: bash
$ python setup.py ios
Notice that the ``app_packages`` is not empty after the update, and it contains toga packages and their requirements.
Expand Down

0 comments on commit 107133f

Please sign in to comment.