Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import os, pkg_resources, sys, time
import os, sys, time
from importlib import metadata

sys.path.insert(0, os.path.abspath('../../'))
sys.path.insert(0, os.path.abspath('../../usb_protocol'))

Expand All @@ -14,7 +16,7 @@
copyright = time.strftime('2021-%Y, Great Scott Gadgets')
author = 'Great Scott Gadgets'

version = pkg_resources.get_distribution('usb_protocol').version
version = metadata.version("usb_protocol")
release = ''


Expand Down