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-08-19 15:25:47 -04:00
|
|
|
(package! cython-mode :pin "fcfd16c7467c31f255287a73f36cf66b32bc096c")
|
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")
|
2020-08-19 15:25:47 -04:00
|
|
|
:pin "9603dda12afaae9c82608c7d3762f98b24b8563f")
|
|
|
|
(package! lsp-python-ms :pin "a884a9a4eb1a3acd3d70c776aec5e968bbdc1731"))))
|
2020-07-25 10:15:00 -07:00
|
|
|
|
2019-04-22 03:10:25 -04:00
|
|
|
;; Programming environment
|
2020-08-07 19:10:06 -04:00
|
|
|
(package! anaconda-mode :pin "73266a48fa964d44268c3f3478597e553b9843f1")
|
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-08-19 15:25:47 -04:00
|
|
|
(package! conda :pin "9f7eea16e9ad3eb34fe3d1cbd9d6162b8046c2f8"))
|
2020-04-22 20:48:00 +03:00
|
|
|
(when (featurep! +poetry)
|
2020-08-07 19:10:06 -04:00
|
|
|
(package! poetry :pin "22a76cdcba180b4689a6b45c97669e3c76cd36ed"))
|
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-08-19 15:25:47 -04:00
|
|
|
(package! python-pytest :pin "fc056faf2757c42641ed94d36a090e56eb13572f")
|
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")
|