Giter VIP home page Giter VIP logo

Comments (6)

jwilk avatar jwilk commented on July 20, 2024

Does d39e277 address your concerns?

from mwic.

polyzen avatar polyzen commented on July 20, 2024

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.

jwilk avatar jwilk commented on July 20, 2024

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.

polyzen avatar polyzen commented on July 20, 2024

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.

polyzen avatar polyzen commented on July 20, 2024

Looks good to me! Thank you very much.

from mwic.

jwilk avatar jwilk commented on July 20, 2024

Fixed in 0.7.8.

from mwic.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.