GithubHelp home page GithubHelp logo

Hash bang syntax not portable about fuct HOT 7 OPEN

fredcooke avatar fredcooke commented on August 30, 2024
Hash bang syntax not portable

from fuct.

Comments (7)

MrOnion avatar MrOnion commented on August 30, 2024

Forgot to answer this but the env has been used already and I think it's the distutils that strips it out from the final package when doing the build. This might need some tweaking to get it right if it's actually causing trouble.

from fuct.

fredcooke avatar fredcooke commented on August 30, 2024

Doh. Should have known that you'd be doing it properly and it was a gotcha. Yes, I think it does/did cause issues. Haven't tried it on Ubunut Bionic, but might do shortly just because. I have my "fuct-dev" package installed so it should just work, aside from possibly this.

from fuct.

fredcooke avatar fredcooke commented on August 30, 2024

BUILD FAILED - Missing plugin dependency 'pypandoc~=1.3.0': Installing collected packages: pypandoc

sudo pip install --upgrade pypandoc

pycollada 0.4 has requirement python-dateutil==1.5, but you'll have python-dateutil 2.6.1 which is incompatible.

[INFO] Installing plugin dependency pypandoc
[ERROR] Failed to install 'pypandoc':
Uninstalling pypandoc-1.4:

fred@karma:~/fuct/target/dist/fuct-0.9.1$ fuctloader
bash: /usr/local/bin/fuctloader: python: bad interpreter: No such file or directory

Yeah, still an issue.

from fuct.

MrOnion avatar MrOnion commented on August 30, 2024

Ok, i'll look into this. The build script might also need some work to finish the python3 changes.

from fuct.

fredcooke avatar fredcooke commented on August 30, 2024

from fuct.

MrOnion avatar MrOnion commented on August 30, 2024

The pybuilder distutils plugin creates the broken shebang scripts and when you run 'python setup.py install' they are copied as-is. Although it's not mandatory to have them ready as the setup.py can produce them as well. For example if you clean the current build dir before installing by running 'python setup.py clean install', then the correct (your env) interpreter path is used. That could be added to the readme...

One way to generate working script files from the start could be to force the pybuilder distutils plugin to use overridden interpreter path that is the env one. Not clean, but you will end up with scripts with either the env path or the current system path which should both work.

from fuct.

MrOnion avatar MrOnion commented on August 30, 2024

There is a workaround now in dev branch. Feel free to test it out.

from fuct.

Related Issues (1)

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.