Coder Social home page Coder Social logo

Maintainer proposal about python HOT 11 CLOSED

lighttable avatar lighttable commented on September 28, 2024 2
Maintainer proposal

from python.

Comments (11)

carocad avatar carocad commented on September 28, 2024 1

hi @stemd,
maybe you already know this but I will write it anyway. Some time ago I wrote an answer about python3 usage on LT in Stackoverflow. You can check the answer here: http://stackoverflow.com/questions/28327779/running-python-3-from-light-table

I hope it helps and kudos for volunteering to maintaining it :)

from python.

kenny-evitt avatar kenny-evitt commented on September 28, 2024 1

@stemd Oh, and welcome to the team by-the-way 🎉

from python.

rundis avatar rundis commented on September 28, 2024 1

Regarding lnter, you could check out the pluggable plugin ! https://github.com/bbbates/lt-lint

from python.

cldwalker avatar cldwalker commented on September 28, 2024 1

@stemd Welcome aboard! As you're learning more Clojure(Script) and this plugin, feel free to ping us with questions and open pull requests for discussion. Thanks for taking this on!

update Python external dependencies (that's only CodeMirror, I tried its python.js from 20.4.2016, it's working fine), as for this = LightTable/Python you have following:

When updating python's codemirror, keep in mind LT is running an older version of CodeMirror (LightTable/LightTable#1797) in case you see some features not working. Also, please mention in the commit or in a For Commiters section like in the Clojure plugin the exact commit used to update codemirror/python.js

from python.

slick666 avatar slick666 commented on September 28, 2024

I like it.

from python.

stemd avatar stemd commented on September 28, 2024

That's under "better documentation for this plugin".

I saw both python-exe and python strings in python_compiled.js file in Python plugin directory, but it's smarter to change something when you know what it should do, than to change and see what happens, and scratch your head when (seemingly) nothing happen. Every approach is valid, but experienced programmer sometimes choose to read the code, not always using beginner programmer loops: try-fail and try-success.
https://s-media-cache-ak0.pinimg.com/236x/53/6d/fc/536dfc6bfc75b29874ea99d67611ca44.jpg :)

from python.

kenny-evitt avatar kenny-evitt commented on September 28, 2024

@stemd Mind if I make an announcement on the mailing list (Google Groups group)? If you want to do it yourself, that's more than fine with me too!

from python.

stemd avatar stemd commented on September 28, 2024

@kenny-evitt Please write an announcement, I'm still reading all the docs I can find, so I can start fixing issues which pain me ASAP (Ctrl+d does nothing for Python, linter in 21st century editor is must-have).

from python.

kenny-evitt avatar kenny-evitt commented on September 28, 2024

@stemd Here's the plugin (ClojureScript) code that runs the Python executable:

(defn run-py [{:keys [path project-path name client venv] :as info}]
  (let [n (notifos/working "Connecting..")
        obj (object/create ::connecting-notifier client)
        env (if venv
              {"VIRTUAL_ENV" venv}
              {})
        env (if (:ipython-exe @python)
              (assoc env "LT_IPYTHON_PATH" (:ipython-exe @python))
              env)]
    (proc/exec {:command (or (:python-exe @python) (:venv-py info) "python")
                :args [py-path tcp/port (clients/->id client)]
                :cwd (or venv project-path)
                :env env
                :obj obj})))

That's (one set of code) that you'd need to change to support multiple Python versions.

from python.

kenny-evitt avatar kenny-evitt commented on September 28, 2024

@stemd My Google Groups post announcing your maintainership!

from python.

apscomp avatar apscomp commented on September 28, 2024

Thanks a lot @stemd & congratulations !!

from python.

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.