# Path: confduino/liblist.py
# def libraries_dir():
#     """return library root path.
# 
#     $ARDUINO/libraries
# 
#     """
#     x = arduino_path() / 'libraries'
#     assert x.exists(), x
#     return x


from confduino.liblist import libraries_dir
from entrypoint2 import entrypoint
import logging

log = logging.getLogger(__name__)


@entrypoint
def remove_lib(lib_name):
    """remove library.

    :param lib_name: library name (e.g. 'PS2Keyboard')
    :rtype: None

    """

# Path: confduino/liblist.py
# def libraries_dir():
#     """return library root path.
# 
#     $ARDUINO/libraries
# 
#     """
#     x = arduino_path() / 'libraries'
#     assert x.exists(), x
#     return x


# Path: confduino/libremove.py
from confduino.liblist import libraries_dir
from entrypoint2 import entrypoint
import logging


log = logging.getLogger(__name__)


@entrypoint
def remove_lib(lib_name):
    """remove library.

    :param lib_name: library name (e.g. 'PS2Keyboard')
    :rtype: None

    """

    targ_dlib = libraries_dir() / lib_name