2017-02-19 18:57:16 -05:00
|
|
|
;; -*- no-byte-compile: t; -*-
|
|
|
|
;;; lang/python/packages.el
|
|
|
|
|
2019-04-22 03:10:25 -04:00
|
|
|
;; Major modes
|
2020-06-02 19:48:15 -04:00
|
|
|
(package! pip-requirements :pin "216cd1690f80cc965d4ae47b8753fc185f778ff6")
|
2019-10-15 09:09:24 +02:00
|
|
|
(when (featurep! +cython)
|
2020-07-27 01:19:13 -04:00
|
|
|
(package! cython-mode :pin "5d8527d196c2ffd45b345ae31cac856f0c8fdc07")
|
2020-01-14 03:04:26 -05:00
|
|
|
(when (featurep! :checkers syntax)
|
2020-06-02 19:48:15 -04:00
|
|
|
(package! flycheck-cython :pin "ecc4454d35ab5317ab66a04406f36f0c1dbc0b76")))
|
2018-07-31 14:02:34 +02:00
|
|
|
|
2019-07-26 22:32:17 -04:00
|
|
|
;; LSP
|
2020-07-27 01:20:12 -04:00
|
|
|
(when (featurep! +lsp)
|
|
|
|
(unless (featurep! :tools lsp +eglot)
|
|
|
|
(if (featurep! +pyright)
|
|
|
|
(package! lsp-pyright
|
|
|
|
;; REVIEW Remove this when added to melpa
|
|
|
|
:recipe (:host github :repo "emacs-lsp/lsp-pyright")
|
|
|
|
:pin "f85ad03477db5cd948a82fb7c6a75ac2bc5f0220")
|
|
|
|
(package! lsp-python-ms :pin "d42ffc2cc27ce36b5a7646ea922441f4c93b2678"))))
|
2020-07-25 10:15:00 -07:00
|
|
|
|
2019-04-22 03:10:25 -04:00
|
|
|
;; Programming environment
|
2020-07-27 01:19:13 -04:00
|
|
|
(package! anaconda-mode :pin "6094dedf77810a47e213738f7e39a077de575ce1")
|
2019-04-22 03:10:25 -04:00
|
|
|
(when (featurep! :completion company)
|
2020-06-02 19:48:15 -04:00
|
|
|
(package! company-anaconda :pin "da1566db41a68809ef7f91ebf2de28118067c89b"))
|
2019-04-22 03:10:25 -04:00
|
|
|
|
|
|
|
;; Environment management
|
2020-06-02 19:48:15 -04:00
|
|
|
(package! pipenv :pin "b730bb509e8b60af9f5ab1f1e6c3458d1d95d789")
|
|
|
|
(package! pyvenv :pin "861998b6d157ae73b829f02a5a6c8a9118310831")
|
2018-07-31 14:02:34 +02:00
|
|
|
(when (featurep! +pyenv)
|
2020-06-02 19:48:15 -04:00
|
|
|
(package! pyenv-mode :pin "d191037fe62ed8d4fee5888845da3e2c386d8e89"))
|
2018-07-31 14:02:34 +02:00
|
|
|
(when (featurep! +conda)
|
2020-06-02 19:48:15 -04:00
|
|
|
(package! conda :pin "9d0213020ff170b17e11b35cad40ac9a8bf30f4c"))
|
2020-04-22 20:48:00 +03:00
|
|
|
(when (featurep! +poetry)
|
2020-06-02 19:48:15 -04:00
|
|
|
(package! poetry :pin "d876522e5af576d53c62b2838f85c9441fe62258"))
|
2018-07-31 14:02:34 +02:00
|
|
|
|
2019-04-22 03:10:25 -04:00
|
|
|
;; Testing frameworks
|
2020-06-02 15:03:04 -04:00
|
|
|
(package! nose
|
|
|
|
;; REVIEW Remove this when emacsmirror/epkgs updates its emacsattic index
|
|
|
|
:recipe (:host github :repo "emacsattic/nose")
|
|
|
|
:pin "f8528297519eba911696c4e68fa88892de9a7b72")
|
2020-07-27 01:19:13 -04:00
|
|
|
(package! python-pytest :pin "dd059590d87569f2745452a69a7fa11f480864ee")
|
2019-05-15 12:58:48 +02:00
|
|
|
|
|
|
|
;; Import managements
|
2020-06-02 19:48:15 -04:00
|
|
|
(package! pyimport :pin "a6f63cf7ed93f0c0f7c207e6595813966f8852b9")
|
|
|
|
(package! py-isort :pin "e67306f459c47c53a65604e4eea88a3914596560")
|