Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cf809d6

Browse files
committed
Rename sharedmodules to lib-dynload.
Treat .pyo files like .pyc files.
1 parent 304dd2d commit cf809d6

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Makefile.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ SO= @SO@
114114
LDSHARED= @LDSHARED@
115115
CCSHARED= @CCSHARED@
116116
LINKFORSHARED= @LINKFORSHARED@
117-
DESTSHARED= $(BINLIBDEST)/sharedmodules
117+
DESTSHARED= $(BINLIBDEST)/lib-dynload
118118

119119
# Shell used by make (some versions default to the login shell, which is bad)
120120
SHELL= /bin/sh
@@ -204,7 +204,7 @@ TESTOPTS=
204204
TESTPROG= $(srcdir)/Lib/test/regrtest.py
205205
TESTPYTHON= ./python
206206
test: python
207-
-rm -f $(srcdir)/Lib/test/*.pyc
207+
-rm -f $(srcdir)/Lib/test/*.py[co]
208208
-PYTHONPATH= $(TESTPYTHON) $(TESTPROG) $(TESTOPTS)
209209
PYTHONPATH= $(TESTPYTHON) $(TESTPROG) $(TESTOPTS)
210210

@@ -295,7 +295,7 @@ libinstall: python $(srcdir)/Lib/$(PLATDIR)
295295
do \
296296
case $$i in \
297297
*CVS) ;; \
298-
*.pyc) ;; \
298+
*.py[co]) ;; \
299299
*~) ;; \
300300
*) \
301301
if test -x $$i; then \

0 commit comments

Comments
 (0)