{ "info": { "author": "Pawe\u0142 Tomulik", "author_email": "ptomulik@meil.pw.edu.pl", "bugtrack_url": null, "classifiers": [], "description": "scons-tool-archives\n===================\n\n.. image:: https://badge.fury.io/py/scons-tool-archives.svg\n :target: https://badge.fury.io/py/scons-tool-archives\n :alt: PyPi package version\n\n.. image:: https://travis-ci.org/ptomulik/scons-tool-archives.svg?branch=master\n :target: https://travis-ci.org/ptomulik/scons-tool-archives\n :alt: Travis CI build status\n\n.. image:: https://ci.appveyor.com/api/projects/status/github/ptomulik/scons-tool-archives?svg=true\n :target: https://ci.appveyor.com/project/ptomulik/scons-tool-archives\n\nSCons_ tool to create archives.\n\nInstallation\n------------\n\nThere are few ways to install this tool for your project.\n\nFrom pypi_\n^^^^^^^^^^\n\nThis method may be preferable if you build your project under a virtualenv. To\nadd archives tool from pypi_, type (within your wirtualenv):\n\n.. code-block:: shell\n\n pip install scons-tool-loader scons-tool-archives\n\nor, if your project uses pipenv_:\n\n.. code-block:: shell\n\n pipenv install --dev scons-tool-loader scons-tool-archives\n\nAlternatively, you may add this to your ``Pipfile``\n\n.. code-block::\n\n [dev-packages]\n scons-tool-loader = \"*\"\n scons-tool-archives = \"*\"\n\n\nThe tool will be installed as a namespaced package ``sconstool.archives``\nin project's virtual environment. You may further use scons-tool-loader_\nto load the tool.\n\nAs a git submodule\n^^^^^^^^^^^^^^^^^^\n\n#. Create new git repository:\n\n .. code-block:: shell\n\n mkdir /tmp/prj && cd /tmp/prj\n touch README.rst\n git init\n\n#. Add the `scons-tool-archives`_ as a submodule:\n\n .. code-block:: shell\n\n git submodule add git://github.com/ptomulik/scons-tool-archives.git site_scons/site_tools/archives\n\n#. For python 2.x create ``__init__.py`` in ``site_tools`` directory:\n\n .. code-block:: shell\n\n touch site_scons/site_tools/__init__.py\n\n this will allow to directly import ``site_tools.archives`` (this may be required by other tools).\n\nUsage example\n-------------\n\nA simple ``SConstruct`` which creates tar archive named ``foo.tar`` containning\ntwo files: ``foo.c`` and ``foo.h``.\n\n.. code-block:: python\n\n # TODO: uncomment following lines if the tool is installed via pip/pipenv\n # import sconstool.loader\n # sconstool.loader.extend_toolpath(transparent=True)\n env = Environment(tools=['archives'])\n env.TarFile('foo.tar', ['foo.c', 'foo.h'])\n\nDetails\n-------\n\nModule description\n^^^^^^^^^^^^^^^^^^\n\nThe scons-tool-archives_ tool provides builders to create archives, such as tar\nor zip files. Currently two builders are implemented\n\n- ``TarFile`` - uses `Python tarfile`_ library to create tar archives,\n- ``ZipFile`` - uses `Python zipfile`_ library to create zip archives.\n\nConstruction variables\n^^^^^^^^^^^^^^^^^^^^^^\n\nThere are several construction variables used by the builders. Variables\nwith names starting with ``TARFILE`` are used by the ``TarFile`` builder,\nvariables starting with ``ZIPFILE`` are used by the ``ZipFile`` builder.\n\n========================= =============================================\nVariable Default\n========================= =============================================\n TARFILESUFFIX ``.tar``\n TARFILETRANSFORM\n TARFILEMAPPINGS\n TARFILEMODE\n TARFILEBUFSIZE\n TARFILECOMPRESSLEVEL\n TARFILEFORMAT\n TARFILEDEREFERENCE\n TARFILEDEBUG\n TARFILEENCODING\n TARFILEERRORS\n ZIPFILESUFFIX ``.zip``\n ZIPFILETRANSFORM\n ZIPFILEMAPPINGS\n ZIPFILEMODE\n ZIPFILECOMPRESSION\n ZIPFILEALLOW64\n ZIPFILECOMPRESSLEVEL\n========================= =============================================\n\n\nLICENSE\n-------\n\nCopyright (c) 2018 by Pawel Tomulik \n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE\n\n.. _SCons: http://scons.org\n.. _Swig: http://swig.org\n.. _pipenv: https://pipenv.readthedocs.io/\n.. _pypi: https://pypi.org/\n.. _scons-tool-archives: https://github.com/ptomulik/scons-tool-archives\n.. _scons-tool-loader: https://github.com/ptomulik/scons-tool-loader\n.. _Python tarfile: https://docs.python.org/3/library/tarfile.html\n.. _Python zipfile: https://docs.python.org/3/library/zipfile.html\n\n.. \n\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/ptomulik/scons-tool-archives", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "scons-tool-archives", "package_url": "https://pypi.org/project/scons-tool-archives/", "platform": "", "project_url": "https://pypi.org/project/scons-tool-archives/", "project_urls": { "Homepage": "https://github.com/ptomulik/scons-tool-archives" }, "release_url": "https://pypi.org/project/scons-tool-archives/0.1.2/", "requires_dist": null, "requires_python": ">=2.7", "summary": "SCons tool to create archives", "version": "0.1.2" }, "last_serial": 5177054, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "9caec66e84ed303aa041610ac32e7add", "sha256": "1f5f71c346f600568e4b4538f8cd5ebcc0c63017538e2128c9a205f7ae980eed" }, "downloads": -1, "filename": "scons_tool_archives-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9caec66e84ed303aa041610ac32e7add", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7", "size": 6758, "upload_time": "2018-11-27T19:09:48", "url": "https://files.pythonhosted.org/packages/46/40/7ed5d46e55fa913aaaac2fe242e0a02022aa17363885db66bd548b58adcd/scons_tool_archives-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7061d5f5938fd02185bb3314c8993259", "sha256": "e2ed073936eaa36dd011f63951d5aa15f3ca77e4721140ab09447c35e5debb80" }, "downloads": -1, "filename": "scons-tool-archives-0.1.0.tar.gz", "has_sig": false, "md5_digest": "7061d5f5938fd02185bb3314c8993259", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 5816, "upload_time": "2018-11-27T19:09:50", "url": "https://files.pythonhosted.org/packages/5b/77/34414e14ed2976955d2285a142cb96bb5c20dbb8c0699576e92db879a505/scons-tool-archives-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "ed602ef4da2a5095cb026da1150f3db2", "sha256": "503581700889a6484a237eeff3b4342ffd1de9c499a56d1e12e80852af265755" }, "downloads": -1, "filename": "scons_tool_archives-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "ed602ef4da2a5095cb026da1150f3db2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7", "size": 6809, "upload_time": "2018-11-27T21:42:02", "url": "https://files.pythonhosted.org/packages/ef/ed/b3d0a53068572e5c42c8fd1c0a7912dda10087b39dfbb2a50a6f75e2f54c/scons_tool_archives-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3213442ce269e7230a444c7b87cebd6e", "sha256": "bbbce127a4316e9398b0a80c47ac75d68549279478ebf0368f2527d9e1805f4a" }, "downloads": -1, "filename": "scons-tool-archives-0.1.1.tar.gz", "has_sig": false, "md5_digest": "3213442ce269e7230a444c7b87cebd6e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 5865, "upload_time": "2018-11-27T21:42:04", "url": "https://files.pythonhosted.org/packages/91/f9/77be14d9f90ce70bf276ee5fa0d0c31ea2b84409eba812288db163dba79d/scons-tool-archives-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "bf7cf6aa6e24c100ceda26ac82370a57", "sha256": "b5c5d8fdaf2d3a0d87c84caa88d1882748930fe6707d1dd824a05298c61159c8" }, "downloads": -1, "filename": "scons_tool_archives-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "bf7cf6aa6e24c100ceda26ac82370a57", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7", "size": 6807, "upload_time": "2019-04-23T12:14:35", "url": "https://files.pythonhosted.org/packages/5b/5e/3a9966b44d3851d1003411248e1cb4a9a228238294b4f3643e0a1bb309b4/scons_tool_archives-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c5ad9b315eddf4f8a1d2032ae584d3e4", "sha256": "6320885971a235d57b0fe1000d61be13de5dc6aa9fbf789f1338950c3df924e6" }, "downloads": -1, "filename": "scons-tool-archives-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c5ad9b315eddf4f8a1d2032ae584d3e4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 5825, "upload_time": "2019-04-23T12:14:37", "url": "https://files.pythonhosted.org/packages/a3/5f/0dfcbdbf36e559e68374209449762028a63261934c1c0a1c2785c91d397c/scons-tool-archives-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bf7cf6aa6e24c100ceda26ac82370a57", "sha256": "b5c5d8fdaf2d3a0d87c84caa88d1882748930fe6707d1dd824a05298c61159c8" }, "downloads": -1, "filename": "scons_tool_archives-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "bf7cf6aa6e24c100ceda26ac82370a57", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=2.7", "size": 6807, "upload_time": "2019-04-23T12:14:35", "url": "https://files.pythonhosted.org/packages/5b/5e/3a9966b44d3851d1003411248e1cb4a9a228238294b4f3643e0a1bb309b4/scons_tool_archives-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c5ad9b315eddf4f8a1d2032ae584d3e4", "sha256": "6320885971a235d57b0fe1000d61be13de5dc6aa9fbf789f1338950c3df924e6" }, "downloads": -1, "filename": "scons-tool-archives-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c5ad9b315eddf4f8a1d2032ae584d3e4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=2.7", "size": 5825, "upload_time": "2019-04-23T12:14:37", "url": "https://files.pythonhosted.org/packages/a3/5f/0dfcbdbf36e559e68374209449762028a63261934c1c0a1c2785c91d397c/scons-tool-archives-0.1.2.tar.gz" } ] }