{ "info": { "author": "Thomas Kluyver", "author_email": "thomas@kluyver.me.uk", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License" ], "description": "`PEP 517 `_ specifies a standard\nAPI for systems which build Python packages.\n\nThis package contains wrappers around the hooks specified by PEP 517. It\nprovides:\n\n- A mechanism to call the hooks in a subprocess, so they are isolated from\n the current process.\n- Fallbacks for the optional hooks, so that frontends can call the hooks without\n checking which are defined.\n- Higher-level functions which install the build dependencies into a\n temporary environment and build a wheel/sdist using them.\n\nRun the tests with ``py.test``.\n\nHigh level usage, with build requirements handled:\n\n.. code-block:: python\n\n import os\n from pep517.envbuild import build_wheel, build_sdist\n\n src = 'path/to/source' # Folder containing 'pyproject.toml'\n destination = 'also/a/folder'\n whl_filename = build_wheel(src, destination)\n assert os.path.isfile(os.path.join(destination, whl_filename))\n\n targz_filename = build_sdist(src, destination)\n assert os.path.isfile(os.path.join(destination, targz_filename))\n\nLower level usage\u2014you are responsible for ensuring build requirements are\navailable:\n\n.. code-block:: python\n\n import os\n import toml\n from pep517.wrappers import Pep517HookCaller\n\n src = 'path/to/source' # Folder containing 'pyproject.toml'\n with open(os.path.join(src, 'pyproject.toml')) as f:\n build_sys = toml.load(f)['build-system']\n\n print(build_sys['requires']) # List of static requirements\n\n hooks = Pep517HookCaller(\n src, \n build_backend=build_sys['build_backend'],\n backend_path=build_sys.get('backend-path'),\n )\n\n config_options = {} # Optional parameters for backend\n # List of dynamic requirements:\n print(hooks.get_requires_for_build_wheel(config_options))\n\n destination = 'also/a/folder'\n whl_filename = hooks.build_wheel(destination, config_options)\n assert os.path.isfile(os.path.join(destination, whl_filename))\n\nTo test the build backend for a project, run in a system shell:\n\n.. code-block:: shell\n\n python3 -m pep517.check path/to/source # source dir containing pyproject.toml\n\nTo build a backend into source and/or binary distributions, run in a shell:\n\n.. code-block:: shell\n\n python -m pep517.build path/to/source # source dir containing pyproject.toml\n\nThis 'build' module should be considered experimental while the PyPA `decides\non the best place for this functionality\n`_.\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/takluyver/pep517", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "pep517", "package_url": "https://pypi.org/project/pep517/", "platform": "", "project_url": "https://pypi.org/project/pep517/", "project_urls": { "Homepage": "https://github.com/takluyver/pep517" }, "release_url": "https://pypi.org/project/pep517/0.7.0/", "requires_dist": [ "toml", "importlib_metadata", "zipp" ], "requires_python": "", "summary": "Wrappers to build Python packages using PEP 517 hooks", "version": "0.7.0" }, "last_serial": 5895620, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "fb924166826a293ff1779d45fb55c42d", "sha256": "8c51de2a76c14ba67674bd6ebf6848047836650d4d0a30b227262a9912d2091f" }, "downloads": -1, "filename": "pep517-0.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "fb924166826a293ff1779d45fb55c42d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 20001, "upload_time": "2017-11-12T18:42:17", "url": "https://files.pythonhosted.org/packages/79/a2/0e86747d66c00790a183af0835e951f3900102c249be1932138a5c0d2aaa/pep517-0.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bafedb7c1e0a84f84c286e6061c0e0b5", "sha256": "42cc693c19a2549f8782cbca45104a5109754682f4df0370524fcadf04ad6f33" }, "downloads": -1, "filename": "pep517-0.1.tar.gz", "has_sig": false, "md5_digest": "bafedb7c1e0a84f84c286e6061c0e0b5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8594, "upload_time": "2017-11-12T18:42:19", "url": "https://files.pythonhosted.org/packages/55/22/ff5f367b32bf7a4afa684a9915deef01f041779579a52336775bd61e8e63/pep517-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "9bea453f148a49fd7305247cd319d4ab", "sha256": "bddca66e4983092cdafdaac1e91a9a8f884fee0844cb1ec62a84386699f29c96" }, "downloads": -1, "filename": "pep517-0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9bea453f148a49fd7305247cd319d4ab", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 31817, "upload_time": "2018-08-01T10:07:00", "url": "https://files.pythonhosted.org/packages/0e/ac/b2745cf5410e2d1b5eb4be31d236ed4cdc683d11e10c4797c555126050d6/pep517-0.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a7b63bad276b52d12b48bd0fb6679892", "sha256": "cf343531584a045bca38090c68d0c4e8efe71cfa2bcba217dc322a927141f75b" }, "downloads": -1, "filename": "pep517-0.2.tar.gz", "has_sig": false, "md5_digest": "a7b63bad276b52d12b48bd0fb6679892", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13217, "upload_time": "2018-08-01T10:07:07", "url": "https://files.pythonhosted.org/packages/59/b7/773007e1da712f763fef0570d53a1d88398ea569f30a4cc9cef25d73f0f4/pep517-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "722bb3dbe093f69017a6db241ac839b3", "sha256": "cc663a438fdfe2e88d8d3c5ef2203ac858de34e31b6609b1fc505d611490a926" }, "downloads": -1, "filename": "pep517-0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "722bb3dbe093f69017a6db241ac839b3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 32946, "upload_time": "2018-10-09T16:35:10", "url": "https://files.pythonhosted.org/packages/24/ec/e506e3bfdde3ef449d8fe6de7c0ff0f3292d6cc071f676d75dc8d5f98375/pep517-0.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "9e0b1497365c7c60104e1930e746af21", "sha256": "f79bb08fb064dfc5b141204bfeb56a4141a6d504677fab4723036a464fc25cc1" }, "downloads": -1, "filename": "pep517-0.3.tar.gz", "has_sig": false, "md5_digest": "9e0b1497365c7c60104e1930e746af21", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13483, "upload_time": "2018-10-09T16:35:21", "url": "https://files.pythonhosted.org/packages/13/42/27c2ed0b88ea95803949f16423f91b7706465c81617f62144e3e234b142f/pep517-0.3.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "3625d9588c1b44a6d701a4e44836a26f", "sha256": "ccf8797a2bf49bb3f91b4a71ae4fa057944765d0f384579ebbf05da8a58a45bf" }, "downloads": -1, "filename": "pep517-0.4.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3625d9588c1b44a6d701a4e44836a26f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 32433, "upload_time": "2018-12-17T16:13:50", "url": "https://files.pythonhosted.org/packages/a9/65/57fb65b6d7f96d62580a3bc4126c46e3a685325eb61e3011803a0f6f24ae/pep517-0.4.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "831d5ab79f4ddf2efc435e6bca04d5c2", "sha256": "18e77995c4b1ceb6daa1efd8dc286e19f35e05828d4ef2b58c313b025f63bee1" }, "downloads": -1, "filename": "pep517-0.4.0.tar.gz", "has_sig": false, "md5_digest": "831d5ab79f4ddf2efc435e6bca04d5c2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15027, "upload_time": "2018-12-17T16:13:51", "url": "https://files.pythonhosted.org/packages/dc/a7/38383848ca33b5dffa126af42f62f4b939e6af08dac40c77131a47ba0e5d/pep517-0.4.0.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "9953446c215afde4d1149275a01c7c11", "sha256": "43a7aa3902efd305a605c1028e4045968cd012831233ecab633a31d3ba4860a5" }, "downloads": -1, "filename": "pep517-0.5.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9953446c215afde4d1149275a01c7c11", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 35397, "upload_time": "2018-12-17T17:23:51", "url": "https://files.pythonhosted.org/packages/7a/c1/11cb5b4add668e63518f2396eae579aabca75d715d74dde5e8f3ddcbaab7/pep517-0.5.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0b583d42709f2b6752b3f59d0f1746d8", "sha256": "cb5ca55450b64e80744cd5c32f7d5b8928004042dfea50fdc3f96ad7f27cba96" }, "downloads": -1, "filename": "pep517-0.5.0.tar.gz", "has_sig": false, "md5_digest": "0b583d42709f2b6752b3f59d0f1746d8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15808, "upload_time": "2018-12-17T17:23:52", "url": "https://files.pythonhosted.org/packages/79/27/1e6a8ba83dab2b243e1020e340552c129b0076fbb5518e0c2a9c44c7d056/pep517-0.5.0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "afdbe97ec34c930c1ea2c20e98483d0a", "sha256": "273345f4538306f6e4056d8bbced566e186ab4defc188cb3be3e413b5d255912" }, "downloads": -1, "filename": "pep517-0.6.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "afdbe97ec34c930c1ea2c20e98483d0a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 45293, "upload_time": "2019-08-06T10:43:34", "url": "https://files.pythonhosted.org/packages/a2/1f/d99c4cb3c46cfe0c356e884ef26a23dd73b5d17d2b4efca201e03e63cc28/pep517-0.6.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "954273e1b7609f4f39a8676d5449fce2", "sha256": "dde535e9a42de94f4cd941dbaa6feb0a4b5143ffd3906efea091c3826cb7d33d" }, "downloads": -1, "filename": "pep517-0.6.0.tar.gz", "has_sig": false, "md5_digest": "954273e1b7609f4f39a8676d5449fce2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20266, "upload_time": "2019-08-06T10:43:38", "url": "https://files.pythonhosted.org/packages/28/c0/50f6c9e99d67eb720bf03c6224e77ff55ca61546f5e92b7d352d0720d032/pep517-0.6.0.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "95e2441230ce026e32a99b05771f5a9d", "sha256": "fac83aa4c3b73adc84cb2a295f1f5bd5b9a13946ebd1339ba3b33ce287165c88" }, "downloads": -1, "filename": "pep517-0.7.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "95e2441230ce026e32a99b05771f5a9d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 46945, "upload_time": "2019-09-27T11:29:53", "url": "https://files.pythonhosted.org/packages/21/44/ead783bf40d0e8242ef16ecd056a28fa177808ac6aece525663571a5c55c/pep517-0.7.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2f8bb2b263385d73131ab163a82ce9e4", "sha256": "d283181fdb83fb698556cd3a4ebde5bb352b59242574e6ca56a95118774da374" }, "downloads": -1, "filename": "pep517-0.7.0.tar.gz", "has_sig": false, "md5_digest": "2f8bb2b263385d73131ab163a82ce9e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20803, "upload_time": "2019-09-27T11:29:56", "url": "https://files.pythonhosted.org/packages/a9/17/0b2944c9e5d2415b78e5aac55aaa2a5aef916ccdd2a085c44f294d6f182c/pep517-0.7.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "95e2441230ce026e32a99b05771f5a9d", "sha256": "fac83aa4c3b73adc84cb2a295f1f5bd5b9a13946ebd1339ba3b33ce287165c88" }, "downloads": -1, "filename": "pep517-0.7.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "95e2441230ce026e32a99b05771f5a9d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 46945, "upload_time": "2019-09-27T11:29:53", "url": "https://files.pythonhosted.org/packages/21/44/ead783bf40d0e8242ef16ecd056a28fa177808ac6aece525663571a5c55c/pep517-0.7.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2f8bb2b263385d73131ab163a82ce9e4", "sha256": "d283181fdb83fb698556cd3a4ebde5bb352b59242574e6ca56a95118774da374" }, "downloads": -1, "filename": "pep517-0.7.0.tar.gz", "has_sig": false, "md5_digest": "2f8bb2b263385d73131ab163a82ce9e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20803, "upload_time": "2019-09-27T11:29:56", "url": "https://files.pythonhosted.org/packages/a9/17/0b2944c9e5d2415b78e5aac55aaa2a5aef916ccdd2a085c44f294d6f182c/pep517-0.7.0.tar.gz" } ] }