{ "info": { "author": "Mattias.Hedberg", "author_email": "hedberg.a.mattias@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.0", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Build Tools" ], "description": "# DefBuild\nBuilder is built by wrapping adb/idevicebuilder and storing some data locally.\n\n## But why?\n\nDefBuild enables you to easily build, install, uninstall and more for both Android and iOS with a simple unified interface.\nIt also enables you to build with the specific Defold version you want. If you encounter a problem with the Defold version\nyou are on you can easily build with an older one to see if the problem was in that version too, switching between versions\nis done lie this `builder bob --set 1.2.143`.\n\nIt is very handy to uninstall, build and install from the same interface. Using DefBuild you don't need to remember all\npaths, Bundle Identifications and Package names.\n\nInstead of doing this where you have to remember all options, if they take a path or an id, which bob version you have \ndownloaded and so on\n```\nbob java -jar /Users/jerakin/Downloads/bob.jar --archive --platform armv7-android distclean build bundle\nadb uninstall com.example.todo\nadb install \"./build/default/My Game.apk\"\n```\n\nYou can instead do this and builder will figure out the paths and identifiers for you, (if you do repeated build you \ndon't have to specify platform, it remembers last platform used)\n```\nbuilder build . -p android\nbuilder install .\nbuilder uninstall .\n```\n\n\n## Getting started\n\nYou will need some dependencies, if you are on mac they are easiy installed with brew.\nIf you are on windows you will have to download them from their websites, please note\nthat you can't use the iOS installation/build capabilities on a windows machine.\n\n#### Dependencies\n\n[Python 3.2+](https://www.python.org/) `brew install python3`\n\n[adb](https://developer.android.com/studio/command-line/adb) `brew install android-platform-tools`\n\n[ideviceinstaller](http://www.libimobiledevice.org/) `brew install ideviceinstaller`\n\n#### Install\n\nInstall it with pip `pip install defbuild`\n\nIf you prefer you can clone and build the project yourself\n\n\n## Usage\nBuilder installs itself as a command, run it with \"builder command arguments\"\n```\nUsage:\n builder.py [command] [arguments]\n\nAvailable Commands:\n build [project location] Project location, use . for current directory\n -p, --platform [arg] For which platform you want to build ios/android\n -q, --quick Do a quickbuild by skipping distclean\n -o, --options Use a properties file to override or add values to the .project file\n\n install [project location]\n -f, --force Forces the installation by first uninstalling the application\n -p, --platform [arg] For which platform you want to install on ios/android\n\n uninstall [project location]\n -p, --platform [arg] For which platform you want to install on ios/android\n\n start [project location] THIS COMMAND IS ANDROID ONLY\n\n listen [project location] THIS COMMAND IS ANDROID ONLY\n\n bob --update Updates bob to the latest version\n --set [arg] Updates bob to the specified version, takes either a sha1 or \n version in format '1.2.117'\n --force Forces bob to download a new bob version, used with --update or --set\n\n config [key, value] See description below\n\n resolve Updates the dependencies\n```\n \u00a0\n\n#### Example usage\nMake sure you have bob up to date\n\nYou can either update to the latest `builder bob --update`\n\nor you can use a specific version `builder bob --set 1.2.130`\n\nMake sure your dependencies are up to date `builder resolve`\n\nBuild the project `builder build . --platform android`, you only need to specify the project the first time or when \nswitching platform.\n\nInstall the project on your connected android `builder install .` it will install a build for the project correlating to\n the current directory\n\nYou can automatically start the project with `builder start .` as well as get the logs with `builder listen .`\n\nA nifty trick is to chain the commands so it does it all in sequential order for you \n`builder build . && builder install . -f && builder start .`\n\n### Config\nset is used for setting config values, it takes 2 arguments key and value.\n\nIf you want to install and uninstall on iPhone both 'identity' and 'provision' needs to be set.\n\n\n```\nUsage:\n builder config identity 'iPhone Dev: Me'\n builder config provision path/to/provision/game.mobileprovision\n```\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "defbuild builder defold bob game development", "license": "", "maintainer": "", "maintainer_email": "", "name": "defbuild", "package_url": "https://pypi.org/project/defbuild/", "platform": "", "project_url": "https://pypi.org/project/defbuild/", "project_urls": null, "release_url": "https://pypi.org/project/defbuild/1.1.6/", "requires_dist": [ "requests" ], "requires_python": ">=3", "summary": "Commandline tool for building for Defold", "version": "1.1.6" }, "last_serial": 5873621, "releases": { "1.1.6": [ { "comment_text": "", "digests": { "md5": "16d86683efeb1b95a8b13c93ab21e250", "sha256": "9ad15754586358198dd782ff331206800415cfe87fa969b4bc8ccefba40de1b0" }, "downloads": -1, "filename": "defbuild-1.1.6-py3-none-any.whl", "has_sig": false, "md5_digest": "16d86683efeb1b95a8b13c93ab21e250", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 9377, "upload_time": "2019-09-23T13:23:20", "url": "https://files.pythonhosted.org/packages/1f/5e/9a063920da0d3c011caa6f4e442a8d718f2e57e9ae47846ac770264f4cde/defbuild-1.1.6-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "16d86683efeb1b95a8b13c93ab21e250", "sha256": "9ad15754586358198dd782ff331206800415cfe87fa969b4bc8ccefba40de1b0" }, "downloads": -1, "filename": "defbuild-1.1.6-py3-none-any.whl", "has_sig": false, "md5_digest": "16d86683efeb1b95a8b13c93ab21e250", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3", "size": 9377, "upload_time": "2019-09-23T13:23:20", "url": "https://files.pythonhosted.org/packages/1f/5e/9a063920da0d3c011caa6f4e442a8d718f2e57e9ae47846ac770264f4cde/defbuild-1.1.6-py3-none-any.whl" } ] }