diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2017-06-10 12:03:26 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2017-06-10 12:03:26 +0300 |
commit | 6f54d4e263339d21e13b026e53cd395d63119e0f (patch) | |
tree | dfd12f6e1048bbe50f92a503d52e418a63cf3b68 | |
parent | 4cf22894e28a8b7261ef3564a65e73d4ef5c242d (diff) |
BAM: Don't bundle the dist-info directory.
8 files changed, 4 insertions, 57 deletions
diff --git a/io_blend_utils/blender_bam-unpacked.whl/blender_bam-1.1.7.dist-info/DESCRIPTION.rst b/io_blend_utils/blender_bam-unpacked.whl/blender_bam-1.1.7.dist-info/DESCRIPTION.rst deleted file mode 100644 index f6839507..00000000 --- a/io_blend_utils/blender_bam-unpacked.whl/blender_bam-1.1.7.dist-info/DESCRIPTION.rst +++ /dev/null @@ -1,3 +0,0 @@ -Bam Asset Manager is a tool to manage assets in Blender. - - diff --git a/io_blend_utils/blender_bam-unpacked.whl/blender_bam-1.1.7.dist-info/METADATA b/io_blend_utils/blender_bam-unpacked.whl/blender_bam-1.1.7.dist-info/METADATA deleted file mode 100644 index 84bfb16d..00000000 --- a/io_blend_utils/blender_bam-unpacked.whl/blender_bam-1.1.7.dist-info/METADATA +++ /dev/null @@ -1,24 +0,0 @@ -Metadata-Version: 2.0 -Name: blender-bam -Version: 1.1.7 -Summary: Bam Asset Manager -Home-page: http://developer.blender.org/project/view/55 -Author: Campbell Barton, Francesco Siddi -Author-email: ideasman42@gmail.com -License: GPLv2+ -Download-URL: https://pypi.python.org/pypi/blender-bam -Platform: any -Classifier: Development Status :: 3 - Alpha -Classifier: Environment :: Console -Classifier: Environment :: Web Environment -Classifier: Intended Audience :: Developers -Classifier: License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+) -Classifier: Operating System :: OS Independent -Classifier: Programming Language :: Python -Classifier: Programming Language :: Python :: 3 -Classifier: Topic :: Utilities -Requires-Dist: requests (>=2.4) - -Bam Asset Manager is a tool to manage assets in Blender. - - diff --git a/io_blend_utils/blender_bam-unpacked.whl/blender_bam-1.1.7.dist-info/RECORD b/io_blend_utils/blender_bam-unpacked.whl/blender_bam-1.1.7.dist-info/RECORD deleted file mode 100644 index 5fc033af..00000000 --- a/io_blend_utils/blender_bam-unpacked.whl/blender_bam-1.1.7.dist-info/RECORD +++ /dev/null @@ -1,20 +0,0 @@ -bam/__init__.py,sha256=8dY6Im7e-qr6P60wCCOd2eipbQT3rfZ8De66BoEzmlA,113
-bam/__main__.py,sha256=wHUbMNeJKFAT6tvd6-EiuT6gVpbHrXOFo0SypFjo3hk,237
-bam/cli.py,sha256=jUZ30j4e2RHb6CKJjn3y6sj-2fTR70XliphQMAaETTc,71067
-bam/pack.py,sha256=tAmpW_o1-m5TLXeNY4_FbZCdtqnIcg_bE2Uv_twABlE,166
-bam/blend/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-bam/blend/blendfile.py,sha256=AoufnaY7u9S7TIYPOz4IShu-goVdyafzoq-s5Kzifwo,31207
-bam/blend/blendfile_copy.py,sha256=1Dm2xBZ6_49usDHI0xW6iR2tJ6c-UrfCuqO-mjCuhL4,3733
-bam/blend/blendfile_pack.py,sha256=vJb_3bQdJ4jkG7R44TJm_WNqmt9-o_oW-n2w8WUTBYo,26053
-bam/blend/blendfile_pack_restore.py,sha256=WRRbzq6iZj_nGPU1wqmiJl3rYNiXEEfF8F82m34iYDY,4531
-bam/blend/blendfile_path_remap.py,sha256=KtluKRf8rfjYv8Lgd1ZTjcTBgtMw_iJmE-fpjxBN8xI,8102
-bam/blend/blendfile_path_walker.py,sha256=tFDm4XQbir8lBipJmT-T_UF-Pct4sdx-3ir7CBt-m_Y,34344
-bam/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
-bam/utils/system.py,sha256=FdKBEpO6it1lg9u5QK9j1VN-sK9MZVTzvGLA1GW1xEk,4107
-blender_bam-1.1.7.dist-info/DESCRIPTION.rst,sha256=gxRn9duvXLzZWddzDz36dsnzAkNwg1eMAbfz7KAMV9s,59
-blender_bam-1.1.7.dist-info/METADATA,sha256=X0NTEUrOeWvEz-vJmDvprtKuKiByuVXM3q0OpfSnZPE,813
-blender_bam-1.1.7.dist-info/RECORD,,
-blender_bam-1.1.7.dist-info/WHEEL,sha256=dXGL5yz26tu5uNsUy9EBoBYhrvMYqmFH9Vm82OQUT-8,95
-blender_bam-1.1.7.dist-info/entry_points.txt,sha256=yGjZcACWl4EQuQbVwuGgtURy1yYE2YvkH7c6Is6ADgQ,38
-blender_bam-1.1.7.dist-info/metadata.json,sha256=g6R9wHmwtz2QQntiWKsPTy_Uqn2z6A9txtSr03a-gHA,1069
-blender_bam-1.1.7.dist-info/top_level.txt,sha256=3Jh27QbVRbZ8nvfhcKPiJaOO3iyjKw8SSS5dabqINcw,4
diff --git a/io_blend_utils/blender_bam-unpacked.whl/blender_bam-1.1.7.dist-info/WHEEL b/io_blend_utils/blender_bam-unpacked.whl/blender_bam-1.1.7.dist-info/WHEEL deleted file mode 100644 index a68f0882..00000000 --- a/io_blend_utils/blender_bam-unpacked.whl/blender_bam-1.1.7.dist-info/WHEEL +++ /dev/null @@ -1,5 +0,0 @@ -Wheel-Version: 1.0 -Generator: bdist_wheel (0.30.0.a0) -Root-Is-Purelib: true -Tag: py3-none-any - diff --git a/io_blend_utils/blender_bam-unpacked.whl/blender_bam-1.1.7.dist-info/entry_points.txt b/io_blend_utils/blender_bam-unpacked.whl/blender_bam-1.1.7.dist-info/entry_points.txt deleted file mode 100644 index cff8d5d5..00000000 --- a/io_blend_utils/blender_bam-unpacked.whl/blender_bam-1.1.7.dist-info/entry_points.txt +++ /dev/null @@ -1,3 +0,0 @@ -[console_scripts] -bam = bam.cli:main - diff --git a/io_blend_utils/blender_bam-unpacked.whl/blender_bam-1.1.7.dist-info/metadata.json b/io_blend_utils/blender_bam-unpacked.whl/blender_bam-1.1.7.dist-info/metadata.json deleted file mode 100644 index 2d2cfe9d..00000000 --- a/io_blend_utils/blender_bam-unpacked.whl/blender_bam-1.1.7.dist-info/metadata.json +++ /dev/null @@ -1 +0,0 @@ -{"classifiers": ["Development Status :: 3 - Alpha", "Environment :: Console", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Topic :: Utilities"], "download_url": "https://pypi.python.org/pypi/blender-bam", "extensions": {"python.commands": {"wrap_console": {"bam": "bam.cli:main"}}, "python.details": {"contacts": [{"email": "ideasman42@gmail.com", "name": "Campbell Barton, Francesco Siddi", "role": "author"}], "document_names": {"description": "DESCRIPTION.rst"}, "project_urls": {"Home": "http://developer.blender.org/project/view/55"}}, "python.exports": {"console_scripts": {"bam": "bam.cli:main"}}}, "extras": [], "generator": "bdist_wheel (0.30.0.a0)", "license": "GPLv2+", "metadata_version": "2.0", "name": "blender-bam", "platform": "any", "run_requires": [{"requires": ["requests (>=2.4)"]}], "summary": "Bam Asset Manager", "version": "1.1.7"}
\ No newline at end of file diff --git a/io_blend_utils/blender_bam-unpacked.whl/blender_bam-1.1.7.dist-info/top_level.txt b/io_blend_utils/blender_bam-unpacked.whl/blender_bam-1.1.7.dist-info/top_level.txt deleted file mode 100644 index 974e5b15..00000000 --- a/io_blend_utils/blender_bam-unpacked.whl/blender_bam-1.1.7.dist-info/top_level.txt +++ /dev/null @@ -1 +0,0 @@ -bam diff --git a/io_blend_utils/install_whl.py b/io_blend_utils/install_whl.py index 86a8aa5d..e1af5a48 100755 --- a/io_blend_utils/install_whl.py +++ b/io_blend_utils/install_whl.py @@ -90,6 +90,7 @@ def copy_files(target: pathlib.Path): def find_version(target: pathlib.Path): import json + import shutil print('Obtaining version number from wheel.') @@ -97,6 +98,9 @@ def find_version(target: pathlib.Path): with (distinfo / 'metadata.json').open() as infofile: metadata = json.load(infofile) + print('Wiping dist-info directory.') + shutil.rmtree(str(distinfo)) + # "1.2.3" -> (1, 2, 3) str_ver = metadata['version'] return tuple(int(x) for x in str_ver.split('.')) |