!40 Make sure *.pyc files are not included in the tarball
From: @zhang-liang-pengkun Reviewed-by: @Charlie_li Signed-off-by: @Charlie_li
This commit is contained in:
commit
daaa6dbb36
@ -0,0 +1,21 @@
|
|||||||
|
From a47f231502a5522578e8399f068c05a99399f4b1 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Dmitry Shachnev <mitya57@gmail.com>
|
||||||
|
Date: Tue, 4 Sep 2018 13:10:53 +0300
|
||||||
|
Subject: [PATCH] Make sure *.pyc files are not included in the tarball
|
||||||
|
|
||||||
|
---
|
||||||
|
MANIFEST.in | 3 ++-
|
||||||
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/MANIFEST.in b/MANIFEST.in
|
||||||
|
index afe1754..3b6b34c 100644
|
||||||
|
--- a/MANIFEST.in
|
||||||
|
+++ b/MANIFEST.in
|
||||||
|
@@ -1,2 +1,3 @@
|
||||||
|
include LICENSE.rst
|
||||||
|
-graft test
|
||||||
|
+include test/*.py
|
||||||
|
+include test/images/*
|
||||||
|
--
|
||||||
|
2.39.0.windows.2
|
||||||
|
|
||||||
@ -1,6 +1,6 @@
|
|||||||
Name: python-imagesize
|
Name: python-imagesize
|
||||||
Version: 1.1.0
|
Version: 1.1.0
|
||||||
Release: 4
|
Release: 5
|
||||||
Summary: This module analyzes image headers and returns image size.
|
Summary: This module analyzes image headers and returns image size.
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/shibukawa/imagesize_py
|
URL: https://github.com/shibukawa/imagesize_py
|
||||||
@ -8,6 +8,7 @@ Source0: https://files.pythonhosted.org/packages/source/i/imagesize/image
|
|||||||
Patch01: 0001-Added-return-types-to-docstrings-and-fixed-descripti.patch
|
Patch01: 0001-Added-return-types-to-docstrings-and-fixed-descripti.patch
|
||||||
Patch02: 0002-Support-SVG-Image.patch
|
Patch02: 0002-Support-SVG-Image.patch
|
||||||
Patch03: 0003-Pass-python_requires-argument-to-setuptools.patch
|
Patch03: 0003-Pass-python_requires-argument-to-setuptools.patch
|
||||||
|
Patch04: 0004-Make-sure-.pyc-files-are-not-included-in-the-tarball.patch
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: python2-setuptools python2-devel python2-pytest python3-setuptools
|
BuildRequires: python2-setuptools python2-devel python2-pytest python3-setuptools
|
||||||
BuildRequires: python3-devel python3-pytest
|
BuildRequires: python3-devel python3-pytest
|
||||||
@ -51,6 +52,9 @@ py.test-3
|
|||||||
%{python3_sitelib}/*
|
%{python3_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Dec 28 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 1.1.0-5
|
||||||
|
- Make sure *.pyc files are not included in the tarball
|
||||||
|
|
||||||
* Thu Oct 23 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 1.1.0-4
|
* Thu Oct 23 2023 zhangliangpengkun<zhangliangpengkun@xfusion.com> - 1.1.0-4
|
||||||
- Pass python_requires argument to setuptools
|
- Pass python_requires argument to setuptools
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user