mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Import version datasette.version to avoid dependency error
Running `from datasette import __version__` in `setup.py` was throwing an error `ModuleNotFoundError: No module named 'pluggy'` See https://packaging.python.org/guides/single-sourcing-package-version/ Refs #14
This commit is contained in:
parent
f2720b0c6b
commit
db02933f1e
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
|
@ -1,5 +1,5 @@
|
|||
from setuptools import setup, find_packages
|
||||
from datasette import __version__
|
||||
from datasette.version import __version__
|
||||
import os
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue