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-01-25 03:49:42 -05:00
|
|
|
(package! pip-requirements :pin "216cd1690f")
|
2019-10-15 09:09:24 +02:00
|
|
|
(when (featurep! +cython)
|
2020-03-27 16:57:56 -04:00
|
|
|
(package! cython-mode :pin "48dc1f0169")
|
2020-01-14 03:04:26 -05:00
|
|
|
(when (featurep! :checkers syntax)
|
2020-01-25 03:49:42 -05:00
|
|
|
(package! flycheck-cython :pin "ecc4454d35")))
|
2018-07-31 14:02:34 +02:00
|
|
|
|
2019-07-26 22:32:17 -04:00
|
|
|
;; LSP
|
2020-05-01 11:01:11 +02:00
|
|
|
(when (and (featurep! +lsp) (not (featurep! :tools lsp +eglot)))
|
2020-02-29 12:38:09 -05:00
|
|
|
(package! lsp-python-ms :pin "5d0c799099"))
|
2019-07-26 22:32:17 -04:00
|
|
|
|
2019-04-22 03:10:25 -04:00
|
|
|
;; Programming environment
|
2020-02-29 12:38:09 -05:00
|
|
|
(package! anaconda-mode :pin "10299bd9ff")
|
2019-04-22 03:10:25 -04:00
|
|
|
(when (featurep! :completion company)
|
2020-02-29 12:38:09 -05:00
|
|
|
(package! company-anaconda :pin "a31354ca8e"))
|
2019-04-22 03:10:25 -04:00
|
|
|
|
|
|
|
;; Environment management
|
2020-01-25 03:49:42 -05:00
|
|
|
(package! pipenv :pin "b730bb509e")
|
|
|
|
(package! pyvenv :pin "861998b6d1")
|
2018-07-31 14:02:34 +02:00
|
|
|
(when (featurep! +pyenv)
|
2020-01-25 03:49:42 -05:00
|
|
|
(package! pyenv-mode :pin "aec6f2aa28"))
|
2018-07-31 14:02:34 +02:00
|
|
|
(when (featurep! +conda)
|
2020-03-27 16:57:56 -04:00
|
|
|
(package! conda :pin "335474e409"))
|
2020-04-22 20:48:00 +03:00
|
|
|
(when (featurep! +poetry)
|
|
|
|
(package! poetry :pin "6dcc9d22ca"))
|
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")
|
|
|
|
(package! python-pytest :pin "09ad688df207ee9b02c990d3897a9e2841931d97")
|
2019-05-15 12:58:48 +02:00
|
|
|
|
|
|
|
;; Import managements
|
2020-01-25 03:49:42 -05:00
|
|
|
(package! pyimport :pin "a6f63cf7ed")
|
|
|
|
(package! py-isort :pin "e67306f459")
|