Skip to content

Installation

kronenthaler edited this page Mar 8, 2020 · 1 revision

Using pip

You can install this project directly without cloning it by executing:

sudo pip install pbxproj

Using setup.py

You need to clone this repository, open a terminal and go to the folder and execute:

git clone https://github.com/kronenthaler/mod-pbxproj.git
cd mod-pbxproj
sudo python setup.py install

What's installed

The pbxproj module has 2 dependencies installed, openstep_parser and docopt

Additionally, 4 commands are installed on the system: pbxproj, pbxproj-file, pbxproj-flag, pbxproj-folder. These commands allow you to use the python module as a CLI for the most commonly used tasks: add/remove files/flags/folders. Still, if your needs are more sophisticated, you can always write your own python script and use pbxproj module to achieve your goal.

Paths

If you install the package globally (with sudo) the commands are installed in a directory that typically is on the PATH and therefore can be used right away.

However if you install the package in the user space (using the --user flag), these commands will be installed on a directory that typically is not in the PATH. Depending on your host OS, this path varies. Please refer to python docs for more details about installation paths, and be sure you add this path in your environment variable PATH to make it accessible.