omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Sphinx on Pythonista?

    Pythonista
    4
    8
    4421
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • upwart
      upwart last edited by

      I would to run the excellent documentation tool Sphinx on Pythonista. Is there any chance to do that?

      Phuket2 1 Reply Last reply Reply Quote 0
      • Phuket2
        Phuket2 @upwart last edited by

        @upwart , I cant help but still want to comment. Sphinx looks nice, just had a quick look. I tried to install it with StaSh, but seems to fail on the setup.py. But the import sphinx statement works afterwards. But I have no idea what state its left in.

        The reason, I wanted to comment was to ask the community if they know of tools that can look at a github repo/pypi entry and determine if project and its dependencies are pure Python? Or i guess more ideally give a list of dependencies that are not pure Python. As Pythonista may already have some of the non pure Libs.

        This would give us a way to be able to answer these questions ourselves.

        1 Reply Last reply Reply Quote 0
        • zrzka
          zrzka last edited by

          I think that Ole already mentioned it somewhere in this forum, can't find it. But I can imagine that there will be community driven PyPI Server which can act as a proxy for real PyPI with one simple goal - whitelist (or blacklist) packages for Pythonista. I think it has no sense to run another PyPI server with ability to store packages. We only need to tell the user - hey, this one is unsupported / untested in Pythonista. So the StaSh pip can use this server, which can add some attribute(s) to JSON in responses and StaSh can abort installation. -f can be added to pip to install this package anyway. In this way, we can whitelist / blacklist packages and all other traffic will still be routed via PyPI.

          Phuket2 mikael 2 Replies Last reply Reply Quote 0
          • Phuket2
            Phuket2 @zrzka last edited by

            @zrzka, ok sounds great. But as much as I like to be helpful, my technical ability limits me. Example, the whitelist/blacklist sounds like a great idea. Also if you could view it independently from StaSh. But I would not feel comfortable making an entry (well other than a few simple ones I know about). So again the work falls on to the few that have the expertise to make these determinations.
            So its all well and good for me to say this great. But I am still standing on the sidelines not contributing. Again, which is not my intent, but thats the nett result.

            1 Reply Last reply Reply Quote 0
            • mikael
              mikael @zrzka last edited by

              Maybe have the white/blacklist on the Pythonista-Tools repo, which already has a community of moderators and can take updates as issues or PRs from everyone.

              1 Reply Last reply Reply Quote 0
              • zrzka
                zrzka last edited by

                I think that some kind of PyPI repo (or whatever) needs to be managed by Ole with community help. IOW, must be officially supported by Ole. I don't think people will read Pythonista Tools repo to find compatible packages. If we have pip in StaSh, it must be done via pip.

                mikael 1 Reply Last reply Reply Quote 0
                • mikael
                  mikael @zrzka last edited by

                  @zrzka, sorry, what I meant was that if there is a pip proxy, the black/white lists could be managed via Pythonista-Tools. And I am not sure why it would need more than stash in terms of Ole's support.

                  1 Reply Last reply Reply Quote 0
                  • zrzka
                    zrzka last edited by

                    Basically it doesn't need more than StaSh from Ole. But if Ole provides something like PyPI in the future, it will be kind of time wasting activity. Maybe better wording - some coordination from Ole would be welcomed :)

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Powered by NodeBB Forums | Contributors