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)
|
2021-01-23 18:45:32 -05:00
|
|
|
(package! cython-mode :pin "17e03b8658a07b6d6da49300b39b57ed9c59ddb1")
|
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)
|
2021-01-23 18:45:32 -05:00
|
|
|
(package! lsp-pyright :pin "71ff088ac4c93b0edd012f305a3dfd1602c5d21e")
|
|
|
|
(package! lsp-python-ms :pin "5470ada6cde6e68fe6ce13ff1146c89c3bae0cc8"))))
|
2020-07-25 10:15:00 -07:00
|
|
|
|
2019-04-22 03:10:25 -04:00
|
|
|
;; Programming environment
|
2021-01-23 18:45:32 -05:00
|
|
|
(package! anaconda-mode :pin "b1875a5d0ec9885c1c42558c126b93ee6bcedaa6")
|
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
|
2021-01-23 18:45:32 -05:00
|
|
|
(package! pipenv :pin "f516a1a8677a6a1ce9683056e9f77b1e785e8431")
|
|
|
|
(package! pyvenv :pin "9b3678bc29192d2dba64df90fbdb17393ef8d877")
|
2018-07-31 14:02:34 +02:00
|
|
|
(when (featurep! +pyenv)
|
2020-10-11 23:20:06 -04:00
|
|
|
(package! pyenv-mode :pin "b818901b8eac0e260ced66a6a5acabdbf6f5ba99"))
|
2018-07-31 14:02:34 +02:00
|
|
|
(when (featurep! +conda)
|
2021-01-23 18:45:32 -05:00
|
|
|
(package! conda :pin "dce431b25f5a13af58cc7cacfa7968b5a888609c"))
|
2020-04-22 20:48:00 +03:00
|
|
|
(when (featurep! +poetry)
|
2020-12-05 16:37:59 -05:00
|
|
|
(package! poetry :pin "d5163fe065239bb7b46ed8b3ff3b85b1f3229af3"))
|
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")
|
2021-01-23 18:45:32 -05:00
|
|
|
(package! python-pytest :pin "3fadf1f8bc363d57c54eedd1bf98e6d9db9f0a62")
|
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")
|