Comments (6)
Does d39e277 address your concerns?
from mwic.
I saw those lines but forget I was looking at master.. Also, my build script does use DESTDIR
:
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=mwic
from mwic.
I neglected the case when DESTDIR
is set on the assumption that distros have their own tools for byte-compliation. Perhaps I was being overly optimistic.
Anyway, this should be fixed in a71847f.
Note that this only takes cares care of non-optimized bytecode. If you want “optimized” bytecode too, run make install
again with PYTHONOPTIMIZE
set, i.e. something like this:
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -24,2 +24,3 @@ package() {
make PREFIX=/usr DESTDIR="$pkgdir" install
+ make PREFIX=/usr DESTDIR="$pkgdir" install PYTHONOPTIMIZE=1
install -Dm644 -t "$pkgdir"/usr/share/licenses/mwic doc/LICENSE
from mwic.
Tried adding a compileall
line directly to the build script, and things definitely didn't go as planned. A bunch of lines like:
*** Error compiling '/usr/lib/python3.7/pyclbr.py'...
PermissionError: [Errno 13] Permission denied: '/usr/lib/python3.7/__pycache__/pyclbr.cpython-37.pyc.140693525927080'
Will tailor one to build from master
tomorrow.
from mwic.
Looks good to me! Thank you very much.
from mwic.
Fixed in 0.7.8.
from mwic.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mwic.