Git Product home page Git Product logo

Comments (3)

bulletmark avatar bulletmark commented on July 19, 2024

Note I changed that line to long_description="something" and the setup.py install worked,so that pwd directory issue is the only problem.

Note, subsequent to my second comment above I discovered that pifacecommon is a low level module not really relevant to me as a user, e.g. it does not even initialise the piface board, e.g. does not set the input pullups. I don't see why you publish it as (yet another) github repo. Wouldn't be less confusing to users to make this an internal private module to pifacedigitalio?

FYI, I just apt installed python-pifacedigitalio, changed my import line, and my old piface repo based code worked fine.

from pifacecommon.

tompreston avatar tompreston commented on July 19, 2024

Hi, I should probably get around to removing the PyPi packages since we managed to get Debian packages sorted. Fragmentation is a problem for the user, sorry for the confusion.

Just to confirm:

sudo apt-get install python3-pifacecommon python3-pifacedigitalio

should be all you need to get everything up and running.

You're right about pifacecommon not being relevant to the user. The documentation is sparse since it's mainly a dev tool. In fact, it's due for a pretty large update (which I'm intending to push later today) which changes a lot of the functions. So I'd advice against using it until v4.0.0 is released.

The reason it's separate from pifacedigitalio is because is because pifacedigitalio isn't the only module using these common functions...

from pifacecommon.

bulletmark avatar bulletmark commented on July 19, 2024

Actually, to confirm back to you, an

sudo apt-get install python-pifacedigitalio

was all that was required as pifacecommon automatically gets pulled in as a dependency. I am using python 2 because some of the other modules I am using do not have python 3 compatibility. FYI, my code has been running solidly scanning inputs and writing outputs every few millisecs for many months using your old piface module. Changing that one import line from "import piface.pfio as pf" to "import pifacedigitalio as pf" is all I needed to upgrade to your latest module. Thanks for maintaining the old api!

from pifacecommon.

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.