Git Product home page Git Product logo

Comments (9)

kennychowdhary avatar kennychowdhary commented on May 28, 2024

So when you run cd build; pytest you get an error that pytest cannot find the pressio4py module. It works after you run setup install, but we probably should fix this. One option is to use the command python -m pytest dir_to_so_file/ which automatically addds dir_to_so_file to the python path.

from pressio4py.

fnrizzi avatar fnrizzi commented on May 28, 2024

that solution python -m ... is fine for me :)

from pressio4py.

kennychowdhary avatar kennychowdhary commented on May 28, 2024

I'll try the python -m.

from pressio4py.

fnrizzi avatar fnrizzi commented on May 28, 2024

Coolbeans!

from pressio4py.

kennychowdhary avatar kennychowdhary commented on May 28, 2024

So I tried python -m pytest in the build/ directory and no luck. This is because the .so file is not in the build directory. On my local machine, if I go into lib/ directory and run it from there it works. I made this fix to the git hub action so now unit testing works without installing.

from pressio4py.

kennychowdhary avatar kennychowdhary commented on May 28, 2024

Ok check it out now. Everything is in and working.

from pressio4py.

fnrizzi avatar fnrizzi commented on May 28, 2024

@kennychowdhary thanks!!!
what are these warnings?

image

from pressio4py.

fnrizzi avatar fnrizzi commented on May 28, 2024

@kennychowdhary

from pressio4py.

kennychowdhary avatar kennychowdhary commented on May 28, 2024

Fixed the warning issues!

from pressio4py.

Related Issues (20)

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.