Skip to content

add a readme #4

Open
Open

Description

@Sispheor

Hi!
Thanks for your work! You should add a little readme with a doc on how to build the library.

Do you think that it could be pushed into pypi (pip)?

Activity

  1. Sispheor commented on Aug 2, 2017

    @Sispheor
    Author

    So, what I have done so far (on ubuntu 16.04)

    Installed Rust

    curl -sf -L https://static.rust-lang.org/rustup.sh | sh
    

    Compiled your lib

    cargo build
    

    This gave me a liblibrespot.so. How I'm supposed to use it?
    I tryed to rename it librespot.so and placed it into the examples folder but when I run

    dynamic module does not define init function (initlibrespot)
    

    I tried also to add the module to the path by adding this at the beginning.

    import sys
    sys.path.append('.')
    

    Sorry for being that noob :)

  2. shaunmulligan commented on Aug 2, 2017

    @shaunmulligan

    Did you try the work around mentioned in this issue #3

  3. Sispheor commented on Aug 2, 2017

    @Sispheor
    Author

    Hi, thanks for you answer. Yes I tried a symlink. Same error

    Traceback (most recent call last):
      File "/home/nico/Documents/python-librespot/examples/play.py", line 5, in <module>
        from librespot import Session, SpotifyId
    ImportError: dynamic module does not define init function (initlibrespot)
    
  4. Sispheor commented on Aug 5, 2017

    @Sispheor
    Author

    It' doesn't work with python 2.7.
    And with python 3.5 I have an authentication error...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions