{ "info": { "author": "Tyler Gubala", "author_email": "gubalatyler@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Win32 (MS Windows)", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Natural Language :: English", "Operating System :: Microsoft :: Windows :: Windows 10", "Programming Language :: C", "Programming Language :: C++", "Programming Language :: Python", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Artistic Software", "Topic :: Education", "Topic :: Games/Entertainment", "Topic :: Multimedia", "Topic :: Multimedia :: Graphics", "Topic :: Multimedia :: Graphics :: 3D Modeling", "Topic :: Multimedia :: Graphics :: 3D Rendering" ], "description": "# bpy-build\nPython build script for Blender as a python module\n\nIt needs to be its own repository to satisfy the ```setup_requires``` of blenderpy\n\n## Option 1 - Get prebuilt bdist_wheel from pypi\n\n### Prerequisites\n\n1. A supported python installation with pip installed\n\n### Installation\n\n`py -m pip install bpy`\n\n## Option 2 - Build from sources using pypi\n\n### Prerequisites\n\n1. Windows users must have Visual Studio 2013 or later and C++ build tools installed to build from sources\n2. Windows users must have an SVN command-line provider to build from sources (see https://stackoverflow.com/questions/1625406/using-tortoisesvn-via-the-command-line)\n3. All users must `py -m pip install cmake` in their python environment to build from sources (currently adding it as a `setup_requires` does not install it properly); after build it may be uninstalled with `py -m pip uninstall cmake`\n4. Users of Python versions below 3.6 must have `future-fstrings` installed `pip install -U future-fstrings`\n5. Users of Python versions 3.4 and below will probably need to update `setuptools` `pip install -U setuptools`\n6. Up-to-date `wheel`\n\n### Installation\n\n`py -m pip install bpy --no-binary`\n\n### How it works\n\n0. Create overriding classes CMakeExtension & BuildCMake, which inheirit from the setuptools classes; bpy is a python extension (.pyd) and an instance of CMakeExtension, BuildCMake is the command that is run when installing the extension from pip (or running setup.py)\n1. Using GitPython, clone Blender sources from https://git.blender.org/\n2. If on Windows, detect the installed version of Visual Studio and 64bit vs 32bit, and download the appropriate svn library based on that\n3. Using cmake, configure blender as a python module per the Ideasman42 wiki page (now defunct) https://wiki.blender.org/wiki//User:Ideasman42/BlenderAsPyModule; configure this build solution in the build_temp directory of the bpy package\n4. Using cmake, build the configured solution\n5. Place the built binaries in the built extension parent directory (important!)\n6. Relocate the / directory (i.e: /2.79) into the directory containing the executable from which this installation was spawned (where 'python.exe' is)\n7. Clean up using the remaining functionality from the superclasses `build_ext` and `Extension`\n8. bpy.pyd/ .so should now be installed into the site-packages", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/TylerGubala/bpy-build", "keywords": "Blender,3D,Animation,Renderer,Rendering", "license": "GPL-3.0", "maintainer": "", "maintainer_email": "", "name": "bpy-build", "package_url": "https://pypi.org/project/bpy-build/", "platform": "", "project_url": "https://pypi.org/project/bpy-build/", "project_urls": { "Homepage": "https://github.com/TylerGubala/bpy-build" }, "release_url": "https://pypi.org/project/bpy-build/1.0.2a0/", "requires_dist": null, "requires_python": ">=3.4.0", "summary": "A package that builds blender", "version": "1.0.2a0" }, "last_serial": 4235255, "releases": { "1.0.2a0": [ { "comment_text": "", "digests": { "md5": "541c11b42851d2e53ab60d8224ccbade", "sha256": "f2adf444596e4d2a2fa4ee56dfe90526cd00757cd3bff28f204a0bf9cad9d6b5" }, "downloads": -1, "filename": "bpy-build-1.0.2a0.tar.gz", "has_sig": false, "md5_digest": "541c11b42851d2e53ab60d8224ccbade", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4.0", "size": 5982, "upload_time": "2018-09-03T19:04:01", "url": "https://files.pythonhosted.org/packages/ce/1f/c0febe6196e0c1bc244ad30a614396d1518e768d8d919d87eb5a3db026b2/bpy-build-1.0.2a0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "541c11b42851d2e53ab60d8224ccbade", "sha256": "f2adf444596e4d2a2fa4ee56dfe90526cd00757cd3bff28f204a0bf9cad9d6b5" }, "downloads": -1, "filename": "bpy-build-1.0.2a0.tar.gz", "has_sig": false, "md5_digest": "541c11b42851d2e53ab60d8224ccbade", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4.0", "size": 5982, "upload_time": "2018-09-03T19:04:01", "url": "https://files.pythonhosted.org/packages/ce/1f/c0febe6196e0c1bc244ad30a614396d1518e768d8d919d87eb5a3db026b2/bpy-build-1.0.2a0.tar.gz" } ] }