Remove zmq dependency

This commit is contained in:
Nathaniel Nicandro 2020-09-10 14:51:02 -05:00
parent c14977a754
commit 2ee94714cb
3 changed files with 5 additions and 17 deletions

View file

@ -22,25 +22,13 @@ ifeq ($(CASK),)
$(error "Install cask (https://github.com/cask/cask)") $(error "Install cask (https://github.com/cask/cask)")
endif endif
# Build the zmq module.
.PHONY: zmq
ifneq ($(APPVEYOR),)
# There are issues with string quoting in Appveyor which causes the normal
# evaluated command to give a parsing error so we just make this a no-op in
# Appveyor. The pre-built binaries are used when building in Appveyor anyways.
zmq:
else
zmq: cask
$(CASK) emacs -Q -batch --eval "(progn (fset 'read-string (lambda (&rest _) \"y\")) (require 'zmq))"
endif
.PHONY: dev .PHONY: dev
dev: cask dev: cask
$(CASK) install $(CASK) install
$(CASK) update $(CASK) update
.PHONY: test .PHONY: test
test: zmq test:
$(CASK) exec ert-runner --script $(TAGS) $(PATTERN) $(CASK) exec ert-runner --script $(TAGS) $(PATTERN)
.PHONY: clean .PHONY: clean
@ -57,5 +45,5 @@ widgets:
make -C js make -C js
.PHONY: compile .PHONY: compile
compile: zmq compile:
$(CASK) build $(CASK) build

View file

@ -5,8 +5,8 @@
;; Author: Nathaniel Nicandro <nathanielnicandro@gmail.com> ;; Author: Nathaniel Nicandro <nathanielnicandro@gmail.com>
;; Created: 11 Jan 2018 ;; Created: 11 Jan 2018
;; Version: 0.8.2 ;; Version: 0.8.2
;; Package-Requires: ((emacs "26") (zmq "0.10.3") (cl-lib "0.5") (simple-httpd "1.5.0") (websocket "1.9")) ;; Package-Requires: ((emacs "26") (cl-lib "0.5") (simple-httpd "1.5.0") (websocket "1.9"))
;; URL: https://github.com/dzop/emacs-jupyter ;; URL: https://github.com/nnicandro/emacs-jupyter
;; This program is free software; you can redistribute it and/or ;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the GNU General Public License as ;; modify it under the terms of the GNU General Public License as
@ -36,6 +36,7 @@
(require 'jupyter-base) (require 'jupyter-base)
(require 'jupyter-client) (require 'jupyter-client)
(require 'jupyter-kernelspec) (require 'jupyter-kernelspec)
(require 'jupyter-server)
(require 'jupyter-repl) (require 'jupyter-repl)
(provide 'jupyter) (provide 'jupyter)

View file

@ -26,7 +26,6 @@
;;; Code: ;;; Code:
(require 'zmq)
(require 'jupyter-env) (require 'jupyter-env)
(require 'jupyter-client) (require 'jupyter-client)
(require 'jupyter-repl) (require 'jupyter-repl)