How to Set Python Apps

When programming an application using the Python scripting language, developers must install the proper code modules required for the Python application to work properly on the user's machine. Using a command line interface, you can set the modules required for the application to work. Even for novice Python developers, setting an app's modules is an easy task to learn.

Instructions

    • 1

      Launch a command line interface to the web server hosting the Python application. Log in using credentials assigned an administrative permission set, to ensure you can make the proper configuration changes.

    • 2

      Type the following into the command line interface, and then press "Enter" on your keyboard:

      python setup.py build

    • 3

      Allow the application's dependent modules to automatically build themselves into your Python code. Let this process complete before moving on to the next step and entering the next command.

    • 4

      Type the following into the command line interface, and then press "Enter" on your keyboard to install the dependent modules into the application:

      python setup.py install

    • 5

      Complete setting up the application by running the following command and then pressing "Enter" -- substituting the file path in the example with the file path of your actual Python coding project:

      python setup.py build --build-base=/tmp/pybuild/foofoo-2.0

Related Searches:

References

Comments

Related Ads

Featured