diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 03a72f8..93f07e2 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -17,3 +17,5 @@ python: sphinx: builder: dirhtml + configuration: docs/conf.py + diff --git a/docs/conf.py b/docs/conf.py index d2cad31..2cb28fa 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -2,7 +2,7 @@ from pkg_resources import get_distribution, DistributionNotFound try: - __version__ = get_distribution("daft").version + __version__ = get_distribution("daft-pgm").version except DistributionNotFound: pass diff --git a/docs/index.rst b/docs/index.rst index 8b8ae47..837e9eb 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -36,7 +36,7 @@ if you use `pip `_: .. code-block:: bash - python -m pip install daft + python -m pip install 'daft-pgm' Otherwise, you can download the source and run: diff --git a/pyproject.toml b/pyproject.toml index b62981a..1bf9813 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ requires = ["setuptools>=30.3.0", "wheel", "setuptools_scm[toml]>=6.2"] build-backend = "setuptools.build_meta" [project] -name = "daft" +name = "daft-pgm" authors = [ {name = "Daft Developers", email = "danfm@nyu.edu"}, ] diff --git a/src/daft/__init__.py b/src/daft/__init__.py index 0ae9017..e16598a 100644 --- a/src/daft/__init__.py +++ b/src/daft/__init__.py @@ -7,7 +7,7 @@ from ._exceptions import SameLocationError from ._utils import _rendering_context, _pop_multiple -__version__ = get_distribution("daft") +__version__ = get_distribution("daft-pgm") __all__ = [] __all__ += _core.__all__ __all__ += _exceptions.__all__