Skip to content

Commit 94bbe17

Browse files
author
Matthias Koeppe
committed
pkgs/sagemath*/MANIFEST.in: Exclude all__*.py files of other distributions
1 parent 26f5a09 commit 94bbe17

File tree

10 files changed

+36
-19
lines changed

10 files changed

+36
-19
lines changed

pkgs/sagemath-bliss/MANIFEST.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
global-include all__sagemath_bliss.py
2-
31
include VERSION.txt
42

53
graft sage/graphs/bliss_cpp
64

75
global-exclude *.c
86
global-exclude *.cpp
97

8+
global-exclude all__sagemath_*.*
9+
global-include all__sagemath_bliss.py
10+
1011
global-exclude __pycache__
1112
global-exclude *.py[co]
1213
global-exclude *.bak

pkgs/sagemath-categories/MANIFEST.in.m4

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ prune sage
33

44
include VERSION.txt
55

6-
global-include all__sagemath_categories.py
76
graft sage/categories
87
# Exclude what is already shipped in sagemath-objects
98
exclude sage/categories/action.*
@@ -42,6 +41,9 @@ graft sage/typeset # dep of sage.categories.tensor
4241
global-exclude *.c
4342
global-exclude *.cpp
4443

44+
global-exclude all__sagemath_*.*
45+
global-include all__sagemath_categories.py
46+
4547
global-exclude __pycache__
4648
global-exclude *.py[co]
4749
global-exclude *.bak

pkgs/sagemath-coxeter3/MANIFEST.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
prune sage
22

3-
global-include all__sagemath_coxeter3.py
4-
53
include VERSION.txt
64

75
graft sage/libs/coxeter3
86

97
global-exclude *.c
108
global-exclude *.cpp
119

10+
global-exclude all__sagemath_*.*
11+
global-include all__sagemath_coxeter3.py
12+
1213
global-exclude __pycache__
1314
global-exclude *.py[co]
1415
global-exclude *.bak

pkgs/sagemath-environment/MANIFEST.in

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
prune sage
22

3-
global-include all__sagemath_environment.py
4-
53
include sage/env.py
64
include sage/version.py
75
include sage/misc/package.py
@@ -12,4 +10,14 @@ graft sage/features
1210

1311
include VERSION.txt
1412

13+
global-exclude all__*.py
14+
global-include all__sagemath_environment.py
15+
16+
global-exclude __pycache__
1517
global-exclude *.py[co]
18+
global-exclude *.bak
19+
global-exclude *.so
20+
global-exclude *~
21+
prune .tox
22+
prune build
23+
prune dist

pkgs/sagemath-mcqd/MANIFEST.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
prune sage
22

3-
global-include all__sagemath_mcqd.py
4-
53
include VERSION.txt
64

75
include sage/graphs/mcqd.p*
86

97
global-exclude *.c
108
global-exclude *.cpp
119

10+
global-exclude all__sagemath_*.*
11+
global-include all__sagemath_mcqd.py
12+
1213
global-exclude __pycache__
1314
global-exclude *.py[co]
1415
global-exclude *.bak

pkgs/sagemath-meataxe/MANIFEST.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
prune sage
22

3-
global-include all__sagemath_meataxe.py
4-
53
include VERSION.txt
64

75
include sage/libs/meataxe.p*
@@ -10,6 +8,9 @@ include sage/matrix/matrix_gfpn_dense.p*
108
global-exclude *.c
119
global-exclude *.cpp
1210

11+
global-exclude all__sagemath_*.*
12+
global-include all__sagemath_meataxe.py
13+
1314
global-exclude __pycache__
1415
global-exclude *.py[co]
1516
global-exclude *.bak

pkgs/sagemath-objects/MANIFEST.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ graft sage/cpython
33

44
include VERSION.txt
55

6-
global-include all__sagemath_objects.py
7-
86
graft sage/structure
97
include sage/categories/action.*
108
include sage/categories/algebra_functor.*
@@ -85,6 +83,8 @@ graft sage/libs/gmp
8583
include sage/misc/misc.* # some_tuples used in sage.misc.sage_unittest
8684
include sage/misc/timing.p* # walltime, cputime used in sage.doctest
8785

86+
global-exclude all__*.py
87+
global-include all__sagemath_objects.py
8888

8989
global-exclude *.c
9090
global-exclude *.cpp

pkgs/sagemath-repl/MANIFEST.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
prune sage
22

3-
global-include all__sagemath_repl.py
4-
53
graft sage/doctest
64
graft sage/repl
75
include sage/misc/banner.py
@@ -11,6 +9,9 @@ include sage/misc/sage_eval.py
119

1210
include VERSION.txt
1311

12+
global-exclude all__*.py
13+
global-include all__sagemath_repl.py
14+
1415
global-exclude __pycache__
1516
global-exclude *.py[co]
1617
global-exclude *.bak

pkgs/sagemath-sirocco/MANIFEST.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
global-include all__sagemath_sirocco.py
2-
31
include VERSION.txt
42

53
global-exclude *.c
64
global-exclude *.cpp
75

6+
global-exclude all__sagemath_*.*
7+
global-include all__sagemath_sirocco.py
8+
89
global-exclude __pycache__
910
global-exclude *.py[co]
1011
global-exclude *.bak

pkgs/sagemath-tdlib/MANIFEST.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
global-include all__sagemath_tdlib.py
2-
31
include VERSION.txt
42

53
global-exclude *.c
64
global-exclude *.cpp
75

86
include sage/graphs/graph_decompositions/sage_tdlib.cpp
97

8+
global-exclude all__sagemath_*.*
9+
global-include all__sagemath_tdlib.py
10+
1011
global-exclude __pycache__
1112
global-exclude *.py[co]
1213
global-exclude *.bak

0 commit comments

Comments
 (0)