diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2024-09-03 23:58:04 +0200 |
---|---|---|
committer | Matěj Cepl <mcepl@cepl.eu> | 2024-09-04 00:27:45 +0200 |
commit | 8f9c132fadc2836f8c56b50972df732236bf493c (patch) | |
tree | ebafe1cd70d1d70568ef9fc705bf5b96f43ff886 /src | |
parent | 13bac75a24e98c7b8a8c88bbd9050b9be573ad42 (diff) | |
download | wikipediafs-8f9c132fadc2836f8c56b50972df732236bf493c.tar.gz |
fix: convert from setup.py to setup.cfg
And empty setup.py (python3 -mbuild . doesn't work without it)
Diffstat (limited to 'src')
-rwxr-xr-x | src/mount.wikipediafs | 6 | ||||
-rw-r--r-- | src/wikipediafs/__init__.py | 2 |
2 files changed, 2 insertions, 6 deletions
diff --git a/src/mount.wikipediafs b/src/mount.wikipediafs index d31b31d..b6c2d77 100755 --- a/src/mount.wikipediafs +++ b/src/mount.wikipediafs @@ -54,11 +54,7 @@ if "HOME" not in os.environ: os.environ["HOME"] = "/home/%s/" % os.environ["USER"] from wikipediafs.fs import WikipediaFS - -try: - from wikipediafs.version import VERSION -except: - VERSION = 'development version' +from wikipediafs import __version__ as VERSION try: server = WikipediaFS(version="%prog " + VERSION, diff --git a/src/wikipediafs/__init__.py b/src/wikipediafs/__init__.py index 8b13789..2b8877c 100644 --- a/src/wikipediafs/__init__.py +++ b/src/wikipediafs/__init__.py @@ -1 +1 @@ - +__version__ = '0.5.0' |