Compare commits
3 Commits
8bc6e6be7f
...
4dadfaa162
| Author | SHA1 | Date | |
|---|---|---|---|
| 4dadfaa162 | |||
| af82a53450 | |||
| 5c659a673b |
12
Makefile
Normal file
12
Makefile
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
ROOT_DIR:=$(shell dirname $(realpath $(firstword $(MAKEFILE_LIST))))
|
||||||
|
PLUGIN_NAME:=albert-plugin-python-uuid-generator
|
||||||
|
INSTALL_ROOT:=$(HOME)/.local/share/albert/python/plugins
|
||||||
|
INSTALL_DIR:=$(INSTALL_ROOT)/$(PLUGIN_NAME)
|
||||||
|
|
||||||
|
.PHONY: install
|
||||||
|
install: uninstall
|
||||||
|
ln -fs $(ROOT_DIR)/ $(INSTALL_DIR)
|
||||||
|
|
||||||
|
.PHONY: uninstall
|
||||||
|
uninstall:
|
||||||
|
rm -f $(INSTALL_DIR)
|
||||||
10
__init__.py
10
__init__.py
@@ -1,12 +1,4 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
"""
|
|
||||||
UUID generator extension.
|
|
||||||
|
|
||||||
Generates version 4 UUID(s).
|
|
||||||
|
|
||||||
"""
|
|
||||||
|
|
||||||
import os
|
import os
|
||||||
from uuid import uuid4
|
from uuid import uuid4
|
||||||
|
|
||||||
@@ -17,7 +9,7 @@ md_name = "UUID Generator"
|
|||||||
md_description = "Generate version 4 UUID(s)"
|
md_description = "Generate version 4 UUID(s)"
|
||||||
md_version = "0.0.1"
|
md_version = "0.0.1"
|
||||||
md_license = "MIT"
|
md_license = "MIT"
|
||||||
md_url = "https://gitea.felix-boers.de/fboers/albert-uuid-generator"
|
md_url = "https://gitea.felix-boers.de/fboers/albert-plugin-python-uuid-generator"
|
||||||
md_authors = ["@felixboers"]
|
md_authors = ["@felixboers"]
|
||||||
md_maintainers = ["@felixboers"]
|
md_maintainers = ["@felixboers"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user