Skip to content

Commit

Permalink
Merge pull request #35 from fsspec/refactor_project
Browse files Browse the repository at this point in the history
Refactor project
  • Loading branch information
d70-t authored Sep 19, 2024
2 parents d238640 + b06415b commit 70a7f27
Show file tree
Hide file tree
Showing 10 changed files with 41 additions and 2,464 deletions.
2 changes: 0 additions & 2 deletions MANIFEST.in

This file was deleted.

9 changes: 6 additions & 3 deletions ipfsspec/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
from .async_ipfs import AsyncIPFSFileSystem, AsyncIPNSFileSystem
from importlib.metadata import version, PackageNotFoundError

from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
try:
__version__ = version("package-name")
except PackageNotFoundError:
# package is not installed
pass

__all__ = ["__version__", "AsyncIPFSFileSystem", "AsyncIPNSFileSystem"]
Loading

0 comments on commit 70a7f27

Please sign in to comment.